1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for octave audio package 2.0.4. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME='octave audio package' 578PACKAGE_TARNAME='octave-audio-package' 579PACKAGE_VERSION='2.0.4' 580PACKAGE_STRING='octave audio package 2.0.4' 581PACKAGE_BUGREPORT='' 582PACKAGE_URL='' 583 584ac_subst_vars='LTLIBOBJS 585LIBOBJS 586RTMIDI_LIBS 587RTMIDI_CFLAGS 588PKG_CONFIG_LIBDIR 589PKG_CONFIG_PATH 590PKG_CONFIG 591MKOCTFILE 592OBJEXT 593EXEEXT 594ac_ct_CXX 595CPPFLAGS 596LDFLAGS 597CXXFLAGS 598CXX 599target_alias 600host_alias 601build_alias 602LIBS 603ECHO_T 604ECHO_N 605ECHO_C 606DEFS 607mandir 608localedir 609libdir 610psdir 611pdfdir 612dvidir 613htmldir 614infodir 615docdir 616oldincludedir 617includedir 618runstatedir 619localstatedir 620sharedstatedir 621sysconfdir 622datadir 623datarootdir 624libexecdir 625sbindir 626bindir 627program_transform_name 628prefix 629exec_prefix 630PACKAGE_URL 631PACKAGE_BUGREPORT 632PACKAGE_STRING 633PACKAGE_VERSION 634PACKAGE_TARNAME 635PACKAGE_NAME 636PATH_SEPARATOR 637SHELL' 638ac_subst_files='' 639ac_user_opts=' 640enable_option_checking 641' 642 ac_precious_vars='build_alias 643host_alias 644target_alias 645CXX 646CXXFLAGS 647LDFLAGS 648LIBS 649CPPFLAGS 650CCC 651PKG_CONFIG 652PKG_CONFIG_PATH 653PKG_CONFIG_LIBDIR 654RTMIDI_CFLAGS 655RTMIDI_LIBS' 656 657 658# Initialize some variables set by options. 659ac_init_help= 660ac_init_version=false 661ac_unrecognized_opts= 662ac_unrecognized_sep= 663# The variables have the same names as the options, with 664# dashes changed to underlines. 665cache_file=/dev/null 666exec_prefix=NONE 667no_create= 668no_recursion= 669prefix=NONE 670program_prefix=NONE 671program_suffix=NONE 672program_transform_name=s,x,x, 673silent= 674site= 675srcdir= 676verbose= 677x_includes=NONE 678x_libraries=NONE 679 680# Installation directory options. 681# These are left unexpanded so users can "make install exec_prefix=/foo" 682# and all the variables that are supposed to be based on exec_prefix 683# by default will actually change. 684# Use braces instead of parens because sh, perl, etc. also accept them. 685# (The list follows the same order as the GNU Coding Standards.) 686bindir='${exec_prefix}/bin' 687sbindir='${exec_prefix}/sbin' 688libexecdir='${exec_prefix}/libexec' 689datarootdir='${prefix}/share' 690datadir='${datarootdir}' 691sysconfdir='${prefix}/etc' 692sharedstatedir='${prefix}/com' 693localstatedir='${prefix}/var' 694runstatedir='${localstatedir}/run' 695includedir='${prefix}/include' 696oldincludedir='/usr/include' 697docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 698infodir='${datarootdir}/info' 699htmldir='${docdir}' 700dvidir='${docdir}' 701pdfdir='${docdir}' 702psdir='${docdir}' 703libdir='${exec_prefix}/lib' 704localedir='${datarootdir}/locale' 705mandir='${datarootdir}/man' 706 707ac_prev= 708ac_dashdash= 709for ac_option 710do 711 # If the previous option needs an argument, assign it. 712 if test -n "$ac_prev"; then 713 eval $ac_prev=\$ac_option 714 ac_prev= 715 continue 716 fi 717 718 case $ac_option in 719 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 720 *=) ac_optarg= ;; 721 *) ac_optarg=yes ;; 722 esac 723 724 # Accept the important Cygnus configure options, so we can diagnose typos. 725 726 case $ac_dashdash$ac_option in 727 --) 728 ac_dashdash=yes ;; 729 730 -bindir | --bindir | --bindi | --bind | --bin | --bi) 731 ac_prev=bindir ;; 732 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 733 bindir=$ac_optarg ;; 734 735 -build | --build | --buil | --bui | --bu) 736 ac_prev=build_alias ;; 737 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 738 build_alias=$ac_optarg ;; 739 740 -cache-file | --cache-file | --cache-fil | --cache-fi \ 741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 742 ac_prev=cache_file ;; 743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 745 cache_file=$ac_optarg ;; 746 747 --config-cache | -C) 748 cache_file=config.cache ;; 749 750 -datadir | --datadir | --datadi | --datad) 751 ac_prev=datadir ;; 752 -datadir=* | --datadir=* | --datadi=* | --datad=*) 753 datadir=$ac_optarg ;; 754 755 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 756 | --dataroo | --dataro | --datar) 757 ac_prev=datarootdir ;; 758 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 759 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 760 datarootdir=$ac_optarg ;; 761 762 -disable-* | --disable-*) 763 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 764 # Reject names that are not valid shell variable names. 765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 766 as_fn_error $? "invalid feature name: $ac_useropt" 767 ac_useropt_orig=$ac_useropt 768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 769 case $ac_user_opts in 770 *" 771"enable_$ac_useropt" 772"*) ;; 773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 774 ac_unrecognized_sep=', ';; 775 esac 776 eval enable_$ac_useropt=no ;; 777 778 -docdir | --docdir | --docdi | --doc | --do) 779 ac_prev=docdir ;; 780 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 781 docdir=$ac_optarg ;; 782 783 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 784 ac_prev=dvidir ;; 785 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 786 dvidir=$ac_optarg ;; 787 788 -enable-* | --enable-*) 789 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 790 # Reject names that are not valid shell variable names. 791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 792 as_fn_error $? "invalid feature name: $ac_useropt" 793 ac_useropt_orig=$ac_useropt 794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 795 case $ac_user_opts in 796 *" 797"enable_$ac_useropt" 798"*) ;; 799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 800 ac_unrecognized_sep=', ';; 801 esac 802 eval enable_$ac_useropt=\$ac_optarg ;; 803 804 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 805 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 806 | --exec | --exe | --ex) 807 ac_prev=exec_prefix ;; 808 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 809 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 810 | --exec=* | --exe=* | --ex=*) 811 exec_prefix=$ac_optarg ;; 812 813 -gas | --gas | --ga | --g) 814 # Obsolete; use --with-gas. 815 with_gas=yes ;; 816 817 -help | --help | --hel | --he | -h) 818 ac_init_help=long ;; 819 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 820 ac_init_help=recursive ;; 821 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 822 ac_init_help=short ;; 823 824 -host | --host | --hos | --ho) 825 ac_prev=host_alias ;; 826 -host=* | --host=* | --hos=* | --ho=*) 827 host_alias=$ac_optarg ;; 828 829 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 830 ac_prev=htmldir ;; 831 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 832 | --ht=*) 833 htmldir=$ac_optarg ;; 834 835 -includedir | --includedir | --includedi | --included | --include \ 836 | --includ | --inclu | --incl | --inc) 837 ac_prev=includedir ;; 838 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 839 | --includ=* | --inclu=* | --incl=* | --inc=*) 840 includedir=$ac_optarg ;; 841 842 -infodir | --infodir | --infodi | --infod | --info | --inf) 843 ac_prev=infodir ;; 844 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 845 infodir=$ac_optarg ;; 846 847 -libdir | --libdir | --libdi | --libd) 848 ac_prev=libdir ;; 849 -libdir=* | --libdir=* | --libdi=* | --libd=*) 850 libdir=$ac_optarg ;; 851 852 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 853 | --libexe | --libex | --libe) 854 ac_prev=libexecdir ;; 855 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 856 | --libexe=* | --libex=* | --libe=*) 857 libexecdir=$ac_optarg ;; 858 859 -localedir | --localedir | --localedi | --localed | --locale) 860 ac_prev=localedir ;; 861 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 862 localedir=$ac_optarg ;; 863 864 -localstatedir | --localstatedir | --localstatedi | --localstated \ 865 | --localstate | --localstat | --localsta | --localst | --locals) 866 ac_prev=localstatedir ;; 867 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 868 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 869 localstatedir=$ac_optarg ;; 870 871 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 872 ac_prev=mandir ;; 873 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 874 mandir=$ac_optarg ;; 875 876 -nfp | --nfp | --nf) 877 # Obsolete; use --without-fp. 878 with_fp=no ;; 879 880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 881 | --no-cr | --no-c | -n) 882 no_create=yes ;; 883 884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 886 no_recursion=yes ;; 887 888 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 889 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 890 | --oldin | --oldi | --old | --ol | --o) 891 ac_prev=oldincludedir ;; 892 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 893 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 894 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 895 oldincludedir=$ac_optarg ;; 896 897 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 898 ac_prev=prefix ;; 899 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 900 prefix=$ac_optarg ;; 901 902 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 903 | --program-pre | --program-pr | --program-p) 904 ac_prev=program_prefix ;; 905 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 906 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 907 program_prefix=$ac_optarg ;; 908 909 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 910 | --program-suf | --program-su | --program-s) 911 ac_prev=program_suffix ;; 912 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 913 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 914 program_suffix=$ac_optarg ;; 915 916 -program-transform-name | --program-transform-name \ 917 | --program-transform-nam | --program-transform-na \ 918 | --program-transform-n | --program-transform- \ 919 | --program-transform | --program-transfor \ 920 | --program-transfo | --program-transf \ 921 | --program-trans | --program-tran \ 922 | --progr-tra | --program-tr | --program-t) 923 ac_prev=program_transform_name ;; 924 -program-transform-name=* | --program-transform-name=* \ 925 | --program-transform-nam=* | --program-transform-na=* \ 926 | --program-transform-n=* | --program-transform-=* \ 927 | --program-transform=* | --program-transfor=* \ 928 | --program-transfo=* | --program-transf=* \ 929 | --program-trans=* | --program-tran=* \ 930 | --progr-tra=* | --program-tr=* | --program-t=*) 931 program_transform_name=$ac_optarg ;; 932 933 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 934 ac_prev=pdfdir ;; 935 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 936 pdfdir=$ac_optarg ;; 937 938 -psdir | --psdir | --psdi | --psd | --ps) 939 ac_prev=psdir ;; 940 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 941 psdir=$ac_optarg ;; 942 943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 944 | -silent | --silent | --silen | --sile | --sil) 945 silent=yes ;; 946 947 -runstatedir | --runstatedir | --runstatedi | --runstated \ 948 | --runstate | --runstat | --runsta | --runst | --runs \ 949 | --run | --ru | --r) 950 ac_prev=runstatedir ;; 951 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 952 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 953 | --run=* | --ru=* | --r=*) 954 runstatedir=$ac_optarg ;; 955 956 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 957 ac_prev=sbindir ;; 958 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 959 | --sbi=* | --sb=*) 960 sbindir=$ac_optarg ;; 961 962 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 963 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 964 | --sharedst | --shareds | --shared | --share | --shar \ 965 | --sha | --sh) 966 ac_prev=sharedstatedir ;; 967 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 968 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 969 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 970 | --sha=* | --sh=*) 971 sharedstatedir=$ac_optarg ;; 972 973 -site | --site | --sit) 974 ac_prev=site ;; 975 -site=* | --site=* | --sit=*) 976 site=$ac_optarg ;; 977 978 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 979 ac_prev=srcdir ;; 980 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 981 srcdir=$ac_optarg ;; 982 983 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 984 | --syscon | --sysco | --sysc | --sys | --sy) 985 ac_prev=sysconfdir ;; 986 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 987 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 988 sysconfdir=$ac_optarg ;; 989 990 -target | --target | --targe | --targ | --tar | --ta | --t) 991 ac_prev=target_alias ;; 992 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 993 target_alias=$ac_optarg ;; 994 995 -v | -verbose | --verbose | --verbos | --verbo | --verb) 996 verbose=yes ;; 997 998 -version | --version | --versio | --versi | --vers | -V) 999 ac_init_version=: ;; 1000 1001 -with-* | --with-*) 1002 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1003 # Reject names that are not valid shell variable names. 1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1005 as_fn_error $? "invalid package name: $ac_useropt" 1006 ac_useropt_orig=$ac_useropt 1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1008 case $ac_user_opts in 1009 *" 1010"with_$ac_useropt" 1011"*) ;; 1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1013 ac_unrecognized_sep=', ';; 1014 esac 1015 eval with_$ac_useropt=\$ac_optarg ;; 1016 1017 -without-* | --without-*) 1018 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1019 # Reject names that are not valid shell variable names. 1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1021 as_fn_error $? "invalid package name: $ac_useropt" 1022 ac_useropt_orig=$ac_useropt 1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1024 case $ac_user_opts in 1025 *" 1026"with_$ac_useropt" 1027"*) ;; 1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1029 ac_unrecognized_sep=', ';; 1030 esac 1031 eval with_$ac_useropt=no ;; 1032 1033 --x) 1034 # Obsolete; use --with-x. 1035 with_x=yes ;; 1036 1037 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1038 | --x-incl | --x-inc | --x-in | --x-i) 1039 ac_prev=x_includes ;; 1040 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1041 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1042 x_includes=$ac_optarg ;; 1043 1044 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1045 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1046 ac_prev=x_libraries ;; 1047 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1048 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1049 x_libraries=$ac_optarg ;; 1050 1051 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1052Try \`$0 --help' for more information" 1053 ;; 1054 1055 *=*) 1056 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1057 # Reject names that are not valid shell variable names. 1058 case $ac_envvar in #( 1059 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1060 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1061 esac 1062 eval $ac_envvar=\$ac_optarg 1063 export $ac_envvar ;; 1064 1065 *) 1066 # FIXME: should be removed in autoconf 3.0. 1067 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1068 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1069 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1070 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1071 ;; 1072 1073 esac 1074done 1075 1076if test -n "$ac_prev"; then 1077 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1078 as_fn_error $? "missing argument to $ac_option" 1079fi 1080 1081if test -n "$ac_unrecognized_opts"; then 1082 case $enable_option_checking in 1083 no) ;; 1084 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1085 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1086 esac 1087fi 1088 1089# Check all directory arguments for consistency. 1090for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1091 datadir sysconfdir sharedstatedir localstatedir includedir \ 1092 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1093 libdir localedir mandir runstatedir 1094do 1095 eval ac_val=\$$ac_var 1096 # Remove trailing slashes. 1097 case $ac_val in 1098 */ ) 1099 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1100 eval $ac_var=\$ac_val;; 1101 esac 1102 # Be sure to have absolute directory names. 1103 case $ac_val in 1104 [\\/$]* | ?:[\\/]* ) continue;; 1105 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1106 esac 1107 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1108done 1109 1110# There might be people who depend on the old broken behavior: `$host' 1111# used to hold the argument of --host etc. 1112# FIXME: To remove some day. 1113build=$build_alias 1114host=$host_alias 1115target=$target_alias 1116 1117# FIXME: To remove some day. 1118if test "x$host_alias" != x; then 1119 if test "x$build_alias" = x; then 1120 cross_compiling=maybe 1121 elif test "x$build_alias" != "x$host_alias"; then 1122 cross_compiling=yes 1123 fi 1124fi 1125 1126ac_tool_prefix= 1127test -n "$host_alias" && ac_tool_prefix=$host_alias- 1128 1129test "$silent" = yes && exec 6>/dev/null 1130 1131 1132ac_pwd=`pwd` && test -n "$ac_pwd" && 1133ac_ls_di=`ls -di .` && 1134ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1135 as_fn_error $? "working directory cannot be determined" 1136test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1137 as_fn_error $? "pwd does not report name of working directory" 1138 1139 1140# Find the source files, if location was not specified. 1141if test -z "$srcdir"; then 1142 ac_srcdir_defaulted=yes 1143 # Try the directory containing this script, then the parent directory. 1144 ac_confdir=`$as_dirname -- "$as_myself" || 1145$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1146 X"$as_myself" : 'X\(//\)[^/]' \| \ 1147 X"$as_myself" : 'X\(//\)$' \| \ 1148 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1149$as_echo X"$as_myself" | 1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1151 s//\1/ 1152 q 1153 } 1154 /^X\(\/\/\)[^/].*/{ 1155 s//\1/ 1156 q 1157 } 1158 /^X\(\/\/\)$/{ 1159 s//\1/ 1160 q 1161 } 1162 /^X\(\/\).*/{ 1163 s//\1/ 1164 q 1165 } 1166 s/.*/./; q'` 1167 srcdir=$ac_confdir 1168 if test ! -r "$srcdir/$ac_unique_file"; then 1169 srcdir=.. 1170 fi 1171else 1172 ac_srcdir_defaulted=no 1173fi 1174if test ! -r "$srcdir/$ac_unique_file"; then 1175 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1176 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1177fi 1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1179ac_abs_confdir=`( 1180 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1181 pwd)` 1182# When building in place, set srcdir=. 1183if test "$ac_abs_confdir" = "$ac_pwd"; then 1184 srcdir=. 1185fi 1186# Remove unnecessary trailing slashes from srcdir. 1187# Double slashes in file names in object file debugging info 1188# mess up M-x gdb in Emacs. 1189case $srcdir in 1190*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1191esac 1192for ac_var in $ac_precious_vars; do 1193 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1194 eval ac_env_${ac_var}_value=\$${ac_var} 1195 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1196 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1197done 1198 1199# 1200# Report the --help message. 1201# 1202if test "$ac_init_help" = "long"; then 1203 # Omit some internal or obsolete options to make the list less imposing. 1204 # This message is too long to be a string in the A/UX 3.1 sh. 1205 cat <<_ACEOF 1206\`configure' configures octave audio package 2.0.4 to adapt to many kinds of systems. 1207 1208Usage: $0 [OPTION]... [VAR=VALUE]... 1209 1210To assign environment variables (e.g., CC, CFLAGS...), specify them as 1211VAR=VALUE. See below for descriptions of some of the useful variables. 1212 1213Defaults for the options are specified in brackets. 1214 1215Configuration: 1216 -h, --help display this help and exit 1217 --help=short display options specific to this package 1218 --help=recursive display the short help of all the included packages 1219 -V, --version display version information and exit 1220 -q, --quiet, --silent do not print \`checking ...' messages 1221 --cache-file=FILE cache test results in FILE [disabled] 1222 -C, --config-cache alias for \`--cache-file=config.cache' 1223 -n, --no-create do not create output files 1224 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1225 1226Installation directories: 1227 --prefix=PREFIX install architecture-independent files in PREFIX 1228 [$ac_default_prefix] 1229 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1230 [PREFIX] 1231 1232By default, \`make install' will install all the files in 1233\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1234an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1235for instance \`--prefix=\$HOME'. 1236 1237For better control, use the options below. 1238 1239Fine tuning of the installation directories: 1240 --bindir=DIR user executables [EPREFIX/bin] 1241 --sbindir=DIR system admin executables [EPREFIX/sbin] 1242 --libexecdir=DIR program executables [EPREFIX/libexec] 1243 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1244 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1245 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1246 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1247 --libdir=DIR object code libraries [EPREFIX/lib] 1248 --includedir=DIR C header files [PREFIX/include] 1249 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1250 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1251 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1252 --infodir=DIR info documentation [DATAROOTDIR/info] 1253 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1254 --mandir=DIR man documentation [DATAROOTDIR/man] 1255 --docdir=DIR documentation root 1256 [DATAROOTDIR/doc/octave-audio-package] 1257 --htmldir=DIR html documentation [DOCDIR] 1258 --dvidir=DIR dvi documentation [DOCDIR] 1259 --pdfdir=DIR pdf documentation [DOCDIR] 1260 --psdir=DIR ps documentation [DOCDIR] 1261_ACEOF 1262 1263 cat <<\_ACEOF 1264_ACEOF 1265fi 1266 1267if test -n "$ac_init_help"; then 1268 case $ac_init_help in 1269 short | recursive ) echo "Configuration of octave audio package 2.0.4:";; 1270 esac 1271 cat <<\_ACEOF 1272 1273Some influential environment variables: 1274 CXX C++ compiler command 1275 CXXFLAGS C++ compiler flags 1276 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1277 nonstandard directory <lib dir> 1278 LIBS libraries to pass to the linker, e.g. -l<library> 1279 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1280 you have headers in a nonstandard directory <include dir> 1281 PKG_CONFIG path to pkg-config utility 1282 PKG_CONFIG_PATH 1283 directories to add to pkg-config's search path 1284 PKG_CONFIG_LIBDIR 1285 path overriding pkg-config's built-in search path 1286 RTMIDI_CFLAGS 1287 C compiler flags for RTMIDI, overriding pkg-config 1288 RTMIDI_LIBS linker flags for RTMIDI, overriding pkg-config 1289 1290Use these variables to override the choices made by `configure' or to help 1291it to find libraries and programs with nonstandard names/locations. 1292 1293Report bugs to the package provider. 1294_ACEOF 1295ac_status=$? 1296fi 1297 1298if test "$ac_init_help" = "recursive"; then 1299 # If there are subdirs, report their specific --help. 1300 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1301 test -d "$ac_dir" || 1302 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1303 continue 1304 ac_builddir=. 1305 1306case "$ac_dir" in 1307.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1308*) 1309 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1310 # A ".." for each directory in $ac_dir_suffix. 1311 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1312 case $ac_top_builddir_sub in 1313 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1314 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1315 esac ;; 1316esac 1317ac_abs_top_builddir=$ac_pwd 1318ac_abs_builddir=$ac_pwd$ac_dir_suffix 1319# for backward compatibility: 1320ac_top_builddir=$ac_top_build_prefix 1321 1322case $srcdir in 1323 .) # We are building in place. 1324 ac_srcdir=. 1325 ac_top_srcdir=$ac_top_builddir_sub 1326 ac_abs_top_srcdir=$ac_pwd ;; 1327 [\\/]* | ?:[\\/]* ) # Absolute name. 1328 ac_srcdir=$srcdir$ac_dir_suffix; 1329 ac_top_srcdir=$srcdir 1330 ac_abs_top_srcdir=$srcdir ;; 1331 *) # Relative name. 1332 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1333 ac_top_srcdir=$ac_top_build_prefix$srcdir 1334 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1335esac 1336ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1337 1338 cd "$ac_dir" || { ac_status=$?; continue; } 1339 # Check for guested configure. 1340 if test -f "$ac_srcdir/configure.gnu"; then 1341 echo && 1342 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1343 elif test -f "$ac_srcdir/configure"; then 1344 echo && 1345 $SHELL "$ac_srcdir/configure" --help=recursive 1346 else 1347 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1348 fi || ac_status=$? 1349 cd "$ac_pwd" || { ac_status=$?; break; } 1350 done 1351fi 1352 1353test -n "$ac_init_help" && exit $ac_status 1354if $ac_init_version; then 1355 cat <<\_ACEOF 1356octave audio package configure 2.0.4 1357generated by GNU Autoconf 2.69 1358 1359Copyright (C) 2012 Free Software Foundation, Inc. 1360This configure script is free software; the Free Software Foundation 1361gives unlimited permission to copy, distribute and modify it. 1362_ACEOF 1363 exit 1364fi 1365 1366## ------------------------ ## 1367## Autoconf initialization. ## 1368## ------------------------ ## 1369 1370# ac_fn_cxx_try_compile LINENO 1371# ---------------------------- 1372# Try to compile conftest.$ac_ext, and return whether this succeeded. 1373ac_fn_cxx_try_compile () 1374{ 1375 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1376 rm -f conftest.$ac_objext 1377 if { { ac_try="$ac_compile" 1378case "(($ac_try" in 1379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1380 *) ac_try_echo=$ac_try;; 1381esac 1382eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1383$as_echo "$ac_try_echo"; } >&5 1384 (eval "$ac_compile") 2>conftest.err 1385 ac_status=$? 1386 if test -s conftest.err; then 1387 grep -v '^ *+' conftest.err >conftest.er1 1388 cat conftest.er1 >&5 1389 mv -f conftest.er1 conftest.err 1390 fi 1391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1392 test $ac_status = 0; } && { 1393 test -z "$ac_cxx_werror_flag" || 1394 test ! -s conftest.err 1395 } && test -s conftest.$ac_objext; then : 1396 ac_retval=0 1397else 1398 $as_echo "$as_me: failed program was:" >&5 1399sed 's/^/| /' conftest.$ac_ext >&5 1400 1401 ac_retval=1 1402fi 1403 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1404 as_fn_set_status $ac_retval 1405 1406} # ac_fn_cxx_try_compile 1407cat >config.log <<_ACEOF 1408This file contains any messages produced by compilers while 1409running configure, to aid debugging if configure makes a mistake. 1410 1411It was created by octave audio package $as_me 2.0.4, which was 1412generated by GNU Autoconf 2.69. Invocation command line was 1413 1414 $ $0 $@ 1415 1416_ACEOF 1417exec 5>>config.log 1418{ 1419cat <<_ASUNAME 1420## --------- ## 1421## Platform. ## 1422## --------- ## 1423 1424hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1425uname -m = `(uname -m) 2>/dev/null || echo unknown` 1426uname -r = `(uname -r) 2>/dev/null || echo unknown` 1427uname -s = `(uname -s) 2>/dev/null || echo unknown` 1428uname -v = `(uname -v) 2>/dev/null || echo unknown` 1429 1430/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1431/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1432 1433/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1434/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1435/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1436/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1437/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1438/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1439/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1440 1441_ASUNAME 1442 1443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1444for as_dir in $PATH 1445do 1446 IFS=$as_save_IFS 1447 test -z "$as_dir" && as_dir=. 1448 $as_echo "PATH: $as_dir" 1449 done 1450IFS=$as_save_IFS 1451 1452} >&5 1453 1454cat >&5 <<_ACEOF 1455 1456 1457## ----------- ## 1458## Core tests. ## 1459## ----------- ## 1460 1461_ACEOF 1462 1463 1464# Keep a trace of the command line. 1465# Strip out --no-create and --no-recursion so they do not pile up. 1466# Strip out --silent because we don't want to record it for future runs. 1467# Also quote any args containing shell meta-characters. 1468# Make two passes to allow for proper duplicate-argument suppression. 1469ac_configure_args= 1470ac_configure_args0= 1471ac_configure_args1= 1472ac_must_keep_next=false 1473for ac_pass in 1 2 1474do 1475 for ac_arg 1476 do 1477 case $ac_arg in 1478 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1480 | -silent | --silent | --silen | --sile | --sil) 1481 continue ;; 1482 *\'*) 1483 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1484 esac 1485 case $ac_pass in 1486 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1487 2) 1488 as_fn_append ac_configure_args1 " '$ac_arg'" 1489 if test $ac_must_keep_next = true; then 1490 ac_must_keep_next=false # Got value, back to normal. 1491 else 1492 case $ac_arg in 1493 *=* | --config-cache | -C | -disable-* | --disable-* \ 1494 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1495 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1496 | -with-* | --with-* | -without-* | --without-* | --x) 1497 case "$ac_configure_args0 " in 1498 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1499 esac 1500 ;; 1501 -* ) ac_must_keep_next=true ;; 1502 esac 1503 fi 1504 as_fn_append ac_configure_args " '$ac_arg'" 1505 ;; 1506 esac 1507 done 1508done 1509{ ac_configure_args0=; unset ac_configure_args0;} 1510{ ac_configure_args1=; unset ac_configure_args1;} 1511 1512# When interrupted or exit'd, cleanup temporary files, and complete 1513# config.log. We remove comments because anyway the quotes in there 1514# would cause problems or look ugly. 1515# WARNING: Use '\'' to represent an apostrophe within the trap. 1516# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1517trap 'exit_status=$? 1518 # Save into config.log some information that might help in debugging. 1519 { 1520 echo 1521 1522 $as_echo "## ---------------- ## 1523## Cache variables. ## 1524## ---------------- ##" 1525 echo 1526 # The following way of writing the cache mishandles newlines in values, 1527( 1528 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1529 eval ac_val=\$$ac_var 1530 case $ac_val in #( 1531 *${as_nl}*) 1532 case $ac_var in #( 1533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1534$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1535 esac 1536 case $ac_var in #( 1537 _ | IFS | as_nl) ;; #( 1538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1539 *) { eval $ac_var=; unset $ac_var;} ;; 1540 esac ;; 1541 esac 1542 done 1543 (set) 2>&1 | 1544 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1545 *${as_nl}ac_space=\ *) 1546 sed -n \ 1547 "s/'\''/'\''\\\\'\'''\''/g; 1548 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1549 ;; #( 1550 *) 1551 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1552 ;; 1553 esac | 1554 sort 1555) 1556 echo 1557 1558 $as_echo "## ----------------- ## 1559## Output variables. ## 1560## ----------------- ##" 1561 echo 1562 for ac_var in $ac_subst_vars 1563 do 1564 eval ac_val=\$$ac_var 1565 case $ac_val in 1566 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1567 esac 1568 $as_echo "$ac_var='\''$ac_val'\''" 1569 done | sort 1570 echo 1571 1572 if test -n "$ac_subst_files"; then 1573 $as_echo "## ------------------- ## 1574## File substitutions. ## 1575## ------------------- ##" 1576 echo 1577 for ac_var in $ac_subst_files 1578 do 1579 eval ac_val=\$$ac_var 1580 case $ac_val in 1581 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1582 esac 1583 $as_echo "$ac_var='\''$ac_val'\''" 1584 done | sort 1585 echo 1586 fi 1587 1588 if test -s confdefs.h; then 1589 $as_echo "## ----------- ## 1590## confdefs.h. ## 1591## ----------- ##" 1592 echo 1593 cat confdefs.h 1594 echo 1595 fi 1596 test "$ac_signal" != 0 && 1597 $as_echo "$as_me: caught signal $ac_signal" 1598 $as_echo "$as_me: exit $exit_status" 1599 } >&5 1600 rm -f core *.core core.conftest.* && 1601 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1602 exit $exit_status 1603' 0 1604for ac_signal in 1 2 13 15; do 1605 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1606done 1607ac_signal=0 1608 1609# confdefs.h avoids OS command line length limits that DEFS can exceed. 1610rm -f -r conftest* confdefs.h 1611 1612$as_echo "/* confdefs.h */" > confdefs.h 1613 1614# Predefined preprocessor variables. 1615 1616cat >>confdefs.h <<_ACEOF 1617#define PACKAGE_NAME "$PACKAGE_NAME" 1618_ACEOF 1619 1620cat >>confdefs.h <<_ACEOF 1621#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1622_ACEOF 1623 1624cat >>confdefs.h <<_ACEOF 1625#define PACKAGE_VERSION "$PACKAGE_VERSION" 1626_ACEOF 1627 1628cat >>confdefs.h <<_ACEOF 1629#define PACKAGE_STRING "$PACKAGE_STRING" 1630_ACEOF 1631 1632cat >>confdefs.h <<_ACEOF 1633#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1634_ACEOF 1635 1636cat >>confdefs.h <<_ACEOF 1637#define PACKAGE_URL "$PACKAGE_URL" 1638_ACEOF 1639 1640 1641# Let the site file select an alternate cache file if it wants to. 1642# Prefer an explicitly selected file to automatically selected ones. 1643ac_site_file1=NONE 1644ac_site_file2=NONE 1645if test -n "$CONFIG_SITE"; then 1646 # We do not want a PATH search for config.site. 1647 case $CONFIG_SITE in #(( 1648 -*) ac_site_file1=./$CONFIG_SITE;; 1649 */*) ac_site_file1=$CONFIG_SITE;; 1650 *) ac_site_file1=./$CONFIG_SITE;; 1651 esac 1652elif test "x$prefix" != xNONE; then 1653 ac_site_file1=$prefix/share/config.site 1654 ac_site_file2=$prefix/etc/config.site 1655else 1656 ac_site_file1=$ac_default_prefix/share/config.site 1657 ac_site_file2=$ac_default_prefix/etc/config.site 1658fi 1659for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1660do 1661 test "x$ac_site_file" = xNONE && continue 1662 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1664$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1665 sed 's/^/| /' "$ac_site_file" >&5 1666 . "$ac_site_file" \ 1667 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1669as_fn_error $? "failed to load site script $ac_site_file 1670See \`config.log' for more details" "$LINENO" 5; } 1671 fi 1672done 1673 1674if test -r "$cache_file"; then 1675 # Some versions of bash will fail to source /dev/null (special files 1676 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1677 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1679$as_echo "$as_me: loading cache $cache_file" >&6;} 1680 case $cache_file in 1681 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1682 *) . "./$cache_file";; 1683 esac 1684 fi 1685else 1686 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1687$as_echo "$as_me: creating cache $cache_file" >&6;} 1688 >$cache_file 1689fi 1690 1691# Check that the precious variables saved in the cache have kept the same 1692# value. 1693ac_cache_corrupted=false 1694for ac_var in $ac_precious_vars; do 1695 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1696 eval ac_new_set=\$ac_env_${ac_var}_set 1697 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1698 eval ac_new_val=\$ac_env_${ac_var}_value 1699 case $ac_old_set,$ac_new_set in 1700 set,) 1701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1702$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1703 ac_cache_corrupted=: ;; 1704 ,set) 1705 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1706$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1707 ac_cache_corrupted=: ;; 1708 ,);; 1709 *) 1710 if test "x$ac_old_val" != "x$ac_new_val"; then 1711 # differences in whitespace do not lead to failure. 1712 ac_old_val_w=`echo x $ac_old_val` 1713 ac_new_val_w=`echo x $ac_new_val` 1714 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1715 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1716$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1717 ac_cache_corrupted=: 1718 else 1719 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1720$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1721 eval $ac_var=\$ac_old_val 1722 fi 1723 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1724$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1725 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1726$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1727 fi;; 1728 esac 1729 # Pass precious variables to config.status. 1730 if test "$ac_new_set" = set; then 1731 case $ac_new_val in 1732 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1733 *) ac_arg=$ac_var=$ac_new_val ;; 1734 esac 1735 case " $ac_configure_args " in 1736 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1737 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1738 esac 1739 fi 1740done 1741if $ac_cache_corrupted; then 1742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1743$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1745$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1746 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1747fi 1748## -------------------- ## 1749## Main body of script. ## 1750## -------------------- ## 1751 1752ac_ext=c 1753ac_cpp='$CPP $CPPFLAGS' 1754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1756ac_compiler_gnu=$ac_cv_c_compiler_gnu 1757 1758 1759ac_config_headers="$ac_config_headers config.h" 1760 1761 1762# Avoid warnings for redefining AH-generated preprocessor symbols of 1763# Octave. 1764 1765 1766 1767 1768# Checks for programs. 1769ac_ext=cpp 1770ac_cpp='$CXXCPP $CPPFLAGS' 1771ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1772ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1773ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1774if test -z "$CXX"; then 1775 if test -n "$CCC"; then 1776 CXX=$CCC 1777 else 1778 if test -n "$ac_tool_prefix"; then 1779 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1780 do 1781 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1782set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1784$as_echo_n "checking for $ac_word... " >&6; } 1785if ${ac_cv_prog_CXX+:} false; then : 1786 $as_echo_n "(cached) " >&6 1787else 1788 if test -n "$CXX"; then 1789 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1790else 1791as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1792for as_dir in $PATH 1793do 1794 IFS=$as_save_IFS 1795 test -z "$as_dir" && as_dir=. 1796 for ac_exec_ext in '' $ac_executable_extensions; do 1797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1798 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1800 break 2 1801 fi 1802done 1803 done 1804IFS=$as_save_IFS 1805 1806fi 1807fi 1808CXX=$ac_cv_prog_CXX 1809if test -n "$CXX"; then 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 1811$as_echo "$CXX" >&6; } 1812else 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1814$as_echo "no" >&6; } 1815fi 1816 1817 1818 test -n "$CXX" && break 1819 done 1820fi 1821if test -z "$CXX"; then 1822 ac_ct_CXX=$CXX 1823 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 1824do 1825 # Extract the first word of "$ac_prog", so it can be a program name with args. 1826set dummy $ac_prog; ac_word=$2 1827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1828$as_echo_n "checking for $ac_word... " >&6; } 1829if ${ac_cv_prog_ac_ct_CXX+:} false; then : 1830 $as_echo_n "(cached) " >&6 1831else 1832 if test -n "$ac_ct_CXX"; then 1833 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1834else 1835as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1836for as_dir in $PATH 1837do 1838 IFS=$as_save_IFS 1839 test -z "$as_dir" && as_dir=. 1840 for ac_exec_ext in '' $ac_executable_extensions; do 1841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1842 ac_cv_prog_ac_ct_CXX="$ac_prog" 1843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1844 break 2 1845 fi 1846done 1847 done 1848IFS=$as_save_IFS 1849 1850fi 1851fi 1852ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1853if test -n "$ac_ct_CXX"; then 1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 1855$as_echo "$ac_ct_CXX" >&6; } 1856else 1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1858$as_echo "no" >&6; } 1859fi 1860 1861 1862 test -n "$ac_ct_CXX" && break 1863done 1864 1865 if test "x$ac_ct_CXX" = x; then 1866 CXX="g++" 1867 else 1868 case $cross_compiling:$ac_tool_warned in 1869yes:) 1870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1872ac_tool_warned=yes ;; 1873esac 1874 CXX=$ac_ct_CXX 1875 fi 1876fi 1877 1878 fi 1879fi 1880# Provide some information about the compiler. 1881$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 1882set X $ac_compile 1883ac_compiler=$2 1884for ac_option in --version -v -V -qversion; do 1885 { { ac_try="$ac_compiler $ac_option >&5" 1886case "(($ac_try" in 1887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1888 *) ac_try_echo=$ac_try;; 1889esac 1890eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1891$as_echo "$ac_try_echo"; } >&5 1892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 1893 ac_status=$? 1894 if test -s conftest.err; then 1895 sed '10a\ 1896... rest of stderr output deleted ... 1897 10q' conftest.err >conftest.er1 1898 cat conftest.er1 >&5 1899 fi 1900 rm -f conftest.er1 conftest.err 1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1902 test $ac_status = 0; } 1903done 1904 1905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1906/* end confdefs.h. */ 1907 1908int 1909main () 1910{ 1911 1912 ; 1913 return 0; 1914} 1915_ACEOF 1916ac_clean_files_save=$ac_clean_files 1917ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 1918# Try to create an executable without -o first, disregard a.out. 1919# It will help us diagnose broken compilers, and finding out an intuition 1920# of exeext. 1921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 1922$as_echo_n "checking whether the C++ compiler works... " >&6; } 1923ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1924 1925# The possible output files: 1926ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 1927 1928ac_rmfiles= 1929for ac_file in $ac_files 1930do 1931 case $ac_file in 1932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 1933 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 1934 esac 1935done 1936rm -f $ac_rmfiles 1937 1938if { { ac_try="$ac_link_default" 1939case "(($ac_try" in 1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1941 *) ac_try_echo=$ac_try;; 1942esac 1943eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1944$as_echo "$ac_try_echo"; } >&5 1945 (eval "$ac_link_default") 2>&5 1946 ac_status=$? 1947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1948 test $ac_status = 0; }; then : 1949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 1950# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 1951# in a Makefile. We should not override ac_cv_exeext if it was cached, 1952# so that the user can short-circuit this test for compilers unknown to 1953# Autoconf. 1954for ac_file in $ac_files '' 1955do 1956 test -f "$ac_file" || continue 1957 case $ac_file in 1958 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 1959 ;; 1960 [ab].out ) 1961 # We found the default executable, but exeext='' is most 1962 # certainly right. 1963 break;; 1964 *.* ) 1965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 1966 then :; else 1967 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1968 fi 1969 # We set ac_cv_exeext here because the later test for it is not 1970 # safe: cross compilers may not add the suffix if given an `-o' 1971 # argument, so we may need to know it at that point already. 1972 # Even if this section looks crufty: it has the advantage of 1973 # actually working. 1974 break;; 1975 * ) 1976 break;; 1977 esac 1978done 1979test "$ac_cv_exeext" = no && ac_cv_exeext= 1980 1981else 1982 ac_file='' 1983fi 1984if test -z "$ac_file"; then : 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1986$as_echo "no" >&6; } 1987$as_echo "$as_me: failed program was:" >&5 1988sed 's/^/| /' conftest.$ac_ext >&5 1989 1990{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1991$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1992as_fn_error 77 "C++ compiler cannot create executables 1993See \`config.log' for more details" "$LINENO" 5; } 1994else 1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 1996$as_echo "yes" >&6; } 1997fi 1998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 1999$as_echo_n "checking for C++ compiler default output file name... " >&6; } 2000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2001$as_echo "$ac_file" >&6; } 2002ac_exeext=$ac_cv_exeext 2003 2004rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2005ac_clean_files=$ac_clean_files_save 2006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2007$as_echo_n "checking for suffix of executables... " >&6; } 2008if { { ac_try="$ac_link" 2009case "(($ac_try" in 2010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2011 *) ac_try_echo=$ac_try;; 2012esac 2013eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2014$as_echo "$ac_try_echo"; } >&5 2015 (eval "$ac_link") 2>&5 2016 ac_status=$? 2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2018 test $ac_status = 0; }; then : 2019 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2020# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2021# work properly (i.e., refer to `conftest.exe'), while it won't with 2022# `rm'. 2023for ac_file in conftest.exe conftest conftest.*; do 2024 test -f "$ac_file" || continue 2025 case $ac_file in 2026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2027 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2028 break;; 2029 * ) break;; 2030 esac 2031done 2032else 2033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2034$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2035as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2036See \`config.log' for more details" "$LINENO" 5; } 2037fi 2038rm -f conftest conftest$ac_cv_exeext 2039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2040$as_echo "$ac_cv_exeext" >&6; } 2041 2042rm -f conftest.$ac_ext 2043EXEEXT=$ac_cv_exeext 2044ac_exeext=$EXEEXT 2045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2046/* end confdefs.h. */ 2047#include <stdio.h> 2048int 2049main () 2050{ 2051FILE *f = fopen ("conftest.out", "w"); 2052 return ferror (f) || fclose (f) != 0; 2053 2054 ; 2055 return 0; 2056} 2057_ACEOF 2058ac_clean_files="$ac_clean_files conftest.out" 2059# Check that the compiler produces executables we can run. If not, either 2060# the compiler is broken, or we cross compile. 2061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2062$as_echo_n "checking whether we are cross compiling... " >&6; } 2063if test "$cross_compiling" != yes; then 2064 { { ac_try="$ac_link" 2065case "(($ac_try" in 2066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2067 *) ac_try_echo=$ac_try;; 2068esac 2069eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2070$as_echo "$ac_try_echo"; } >&5 2071 (eval "$ac_link") 2>&5 2072 ac_status=$? 2073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2074 test $ac_status = 0; } 2075 if { ac_try='./conftest$ac_cv_exeext' 2076 { { case "(($ac_try" in 2077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2078 *) ac_try_echo=$ac_try;; 2079esac 2080eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2081$as_echo "$ac_try_echo"; } >&5 2082 (eval "$ac_try") 2>&5 2083 ac_status=$? 2084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2085 test $ac_status = 0; }; }; then 2086 cross_compiling=no 2087 else 2088 if test "$cross_compiling" = maybe; then 2089 cross_compiling=yes 2090 else 2091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2093as_fn_error $? "cannot run C++ compiled programs. 2094If you meant to cross compile, use \`--host'. 2095See \`config.log' for more details" "$LINENO" 5; } 2096 fi 2097 fi 2098fi 2099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2100$as_echo "$cross_compiling" >&6; } 2101 2102rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2103ac_clean_files=$ac_clean_files_save 2104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2105$as_echo_n "checking for suffix of object files... " >&6; } 2106if ${ac_cv_objext+:} false; then : 2107 $as_echo_n "(cached) " >&6 2108else 2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2110/* end confdefs.h. */ 2111 2112int 2113main () 2114{ 2115 2116 ; 2117 return 0; 2118} 2119_ACEOF 2120rm -f conftest.o conftest.obj 2121if { { ac_try="$ac_compile" 2122case "(($ac_try" in 2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2124 *) ac_try_echo=$ac_try;; 2125esac 2126eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2127$as_echo "$ac_try_echo"; } >&5 2128 (eval "$ac_compile") 2>&5 2129 ac_status=$? 2130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2131 test $ac_status = 0; }; then : 2132 for ac_file in conftest.o conftest.obj conftest.*; do 2133 test -f "$ac_file" || continue; 2134 case $ac_file in 2135 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2136 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2137 break;; 2138 esac 2139done 2140else 2141 $as_echo "$as_me: failed program was:" >&5 2142sed 's/^/| /' conftest.$ac_ext >&5 2143 2144{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2145$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2146as_fn_error $? "cannot compute suffix of object files: cannot compile 2147See \`config.log' for more details" "$LINENO" 5; } 2148fi 2149rm -f conftest.$ac_cv_objext conftest.$ac_ext 2150fi 2151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2152$as_echo "$ac_cv_objext" >&6; } 2153OBJEXT=$ac_cv_objext 2154ac_objext=$OBJEXT 2155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 2156$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 2157if ${ac_cv_cxx_compiler_gnu+:} false; then : 2158 $as_echo_n "(cached) " >&6 2159else 2160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2161/* end confdefs.h. */ 2162 2163int 2164main () 2165{ 2166#ifndef __GNUC__ 2167 choke me 2168#endif 2169 2170 ; 2171 return 0; 2172} 2173_ACEOF 2174if ac_fn_cxx_try_compile "$LINENO"; then : 2175 ac_compiler_gnu=yes 2176else 2177 ac_compiler_gnu=no 2178fi 2179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2180ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2181 2182fi 2183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 2184$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 2185if test $ac_compiler_gnu = yes; then 2186 GXX=yes 2187else 2188 GXX= 2189fi 2190ac_test_CXXFLAGS=${CXXFLAGS+set} 2191ac_save_CXXFLAGS=$CXXFLAGS 2192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 2193$as_echo_n "checking whether $CXX accepts -g... " >&6; } 2194if ${ac_cv_prog_cxx_g+:} false; then : 2195 $as_echo_n "(cached) " >&6 2196else 2197 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 2198 ac_cxx_werror_flag=yes 2199 ac_cv_prog_cxx_g=no 2200 CXXFLAGS="-g" 2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2202/* end confdefs.h. */ 2203 2204int 2205main () 2206{ 2207 2208 ; 2209 return 0; 2210} 2211_ACEOF 2212if ac_fn_cxx_try_compile "$LINENO"; then : 2213 ac_cv_prog_cxx_g=yes 2214else 2215 CXXFLAGS="" 2216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2217/* end confdefs.h. */ 2218 2219int 2220main () 2221{ 2222 2223 ; 2224 return 0; 2225} 2226_ACEOF 2227if ac_fn_cxx_try_compile "$LINENO"; then : 2228 2229else 2230 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2231 CXXFLAGS="-g" 2232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2233/* end confdefs.h. */ 2234 2235int 2236main () 2237{ 2238 2239 ; 2240 return 0; 2241} 2242_ACEOF 2243if ac_fn_cxx_try_compile "$LINENO"; then : 2244 ac_cv_prog_cxx_g=yes 2245fi 2246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2247fi 2248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2249fi 2250rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 2252fi 2253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 2254$as_echo "$ac_cv_prog_cxx_g" >&6; } 2255if test "$ac_test_CXXFLAGS" = set; then 2256 CXXFLAGS=$ac_save_CXXFLAGS 2257elif test $ac_cv_prog_cxx_g = yes; then 2258 if test "$GXX" = yes; then 2259 CXXFLAGS="-g -O2" 2260 else 2261 CXXFLAGS="-g" 2262 fi 2263else 2264 if test "$GXX" = yes; then 2265 CXXFLAGS="-O2" 2266 else 2267 CXXFLAGS= 2268 fi 2269fi 2270ac_ext=c 2271ac_cpp='$CPP $CPPFLAGS' 2272ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2273ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2274ac_compiler_gnu=$ac_cv_c_compiler_gnu 2275 2276ac_ext=cpp 2277ac_cpp='$CXXCPP $CPPFLAGS' 2278ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2279ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2280ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2281 2282 2283if test -n "$ac_tool_prefix"; then 2284 # Extract the first word of "${ac_tool_prefix}mkoctfile", so it can be a program name with args. 2285set dummy ${ac_tool_prefix}mkoctfile; ac_word=$2 2286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2287$as_echo_n "checking for $ac_word... " >&6; } 2288if ${ac_cv_prog_MKOCTFILE+:} false; then : 2289 $as_echo_n "(cached) " >&6 2290else 2291 if test -n "$MKOCTFILE"; then 2292 ac_cv_prog_MKOCTFILE="$MKOCTFILE" # Let the user override the test. 2293else 2294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2295for as_dir in $PATH 2296do 2297 IFS=$as_save_IFS 2298 test -z "$as_dir" && as_dir=. 2299 for ac_exec_ext in '' $ac_executable_extensions; do 2300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2301 ac_cv_prog_MKOCTFILE="${ac_tool_prefix}mkoctfile" 2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2303 break 2 2304 fi 2305done 2306 done 2307IFS=$as_save_IFS 2308 2309fi 2310fi 2311MKOCTFILE=$ac_cv_prog_MKOCTFILE 2312if test -n "$MKOCTFILE"; then 2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKOCTFILE" >&5 2314$as_echo "$MKOCTFILE" >&6; } 2315else 2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2317$as_echo "no" >&6; } 2318fi 2319 2320 2321fi 2322if test -z "$ac_cv_prog_MKOCTFILE"; then 2323 ac_ct_MKOCTFILE=$MKOCTFILE 2324 # Extract the first word of "mkoctfile", so it can be a program name with args. 2325set dummy mkoctfile; ac_word=$2 2326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2327$as_echo_n "checking for $ac_word... " >&6; } 2328if ${ac_cv_prog_ac_ct_MKOCTFILE+:} false; then : 2329 $as_echo_n "(cached) " >&6 2330else 2331 if test -n "$ac_ct_MKOCTFILE"; then 2332 ac_cv_prog_ac_ct_MKOCTFILE="$ac_ct_MKOCTFILE" # Let the user override the test. 2333else 2334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2335for as_dir in $PATH 2336do 2337 IFS=$as_save_IFS 2338 test -z "$as_dir" && as_dir=. 2339 for ac_exec_ext in '' $ac_executable_extensions; do 2340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2341 ac_cv_prog_ac_ct_MKOCTFILE="mkoctfile" 2342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2343 break 2 2344 fi 2345done 2346 done 2347IFS=$as_save_IFS 2348 2349fi 2350fi 2351ac_ct_MKOCTFILE=$ac_cv_prog_ac_ct_MKOCTFILE 2352if test -n "$ac_ct_MKOCTFILE"; then 2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MKOCTFILE" >&5 2354$as_echo "$ac_ct_MKOCTFILE" >&6; } 2355else 2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2357$as_echo "no" >&6; } 2358fi 2359 2360 if test "x$ac_ct_MKOCTFILE" = x; then 2361 MKOCTFILE="none" 2362 else 2363 case $cross_compiling:$ac_tool_warned in 2364yes:) 2365{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2366$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2367ac_tool_warned=yes ;; 2368esac 2369 MKOCTFILE=$ac_ct_MKOCTFILE 2370 fi 2371else 2372 MKOCTFILE="$ac_cv_prog_MKOCTFILE" 2373fi 2374 2375if test "$MKOCTFILE" = "none" ; then 2376 as_fn_error $? "mkoctfile required to install $PACKAGE_NAME" "$LINENO" 5 2377fi 2378 2379 2380 2381 2382 2383 2384 2385 2386if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 2387 if test -n "$ac_tool_prefix"; then 2388 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 2389set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2391$as_echo_n "checking for $ac_word... " >&6; } 2392if ${ac_cv_path_PKG_CONFIG+:} false; then : 2393 $as_echo_n "(cached) " >&6 2394else 2395 case $PKG_CONFIG in 2396 [\\/]* | ?:[\\/]*) 2397 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 2398 ;; 2399 *) 2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2401for as_dir in $PATH 2402do 2403 IFS=$as_save_IFS 2404 test -z "$as_dir" && as_dir=. 2405 for ac_exec_ext in '' $ac_executable_extensions; do 2406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2407 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2409 break 2 2410 fi 2411done 2412 done 2413IFS=$as_save_IFS 2414 2415 ;; 2416esac 2417fi 2418PKG_CONFIG=$ac_cv_path_PKG_CONFIG 2419if test -n "$PKG_CONFIG"; then 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 2421$as_echo "$PKG_CONFIG" >&6; } 2422else 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2424$as_echo "no" >&6; } 2425fi 2426 2427 2428fi 2429if test -z "$ac_cv_path_PKG_CONFIG"; then 2430 ac_pt_PKG_CONFIG=$PKG_CONFIG 2431 # Extract the first word of "pkg-config", so it can be a program name with args. 2432set dummy pkg-config; ac_word=$2 2433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2434$as_echo_n "checking for $ac_word... " >&6; } 2435if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 2436 $as_echo_n "(cached) " >&6 2437else 2438 case $ac_pt_PKG_CONFIG in 2439 [\\/]* | ?:[\\/]*) 2440 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 2441 ;; 2442 *) 2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2444for as_dir in $PATH 2445do 2446 IFS=$as_save_IFS 2447 test -z "$as_dir" && as_dir=. 2448 for ac_exec_ext in '' $ac_executable_extensions; do 2449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2450 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 2451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2452 break 2 2453 fi 2454done 2455 done 2456IFS=$as_save_IFS 2457 2458 ;; 2459esac 2460fi 2461ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 2462if test -n "$ac_pt_PKG_CONFIG"; then 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 2464$as_echo "$ac_pt_PKG_CONFIG" >&6; } 2465else 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2467$as_echo "no" >&6; } 2468fi 2469 2470 if test "x$ac_pt_PKG_CONFIG" = x; then 2471 PKG_CONFIG="" 2472 else 2473 case $cross_compiling:$ac_tool_warned in 2474yes:) 2475{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2476$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2477ac_tool_warned=yes ;; 2478esac 2479 PKG_CONFIG=$ac_pt_PKG_CONFIG 2480 fi 2481else 2482 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 2483fi 2484 2485fi 2486if test -n "$PKG_CONFIG"; then 2487 _pkg_min_version=0.9.0 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 2489$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 2490 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2492$as_echo "yes" >&6; } 2493 else 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2495$as_echo "no" >&6; } 2496 PKG_CONFIG="" 2497 fi 2498fi 2499 2500pkg_failed=no 2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMIDI" >&5 2502$as_echo_n "checking for RTMIDI... " >&6; } 2503 2504if test -n "$RTMIDI_CFLAGS"; then 2505 pkg_cv_RTMIDI_CFLAGS="$RTMIDI_CFLAGS" 2506 elif test -n "$PKG_CONFIG"; then 2507 if test -n "$PKG_CONFIG" && \ 2508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rtmidi\""; } >&5 2509 ($PKG_CONFIG --exists --print-errors "rtmidi") 2>&5 2510 ac_status=$? 2511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2512 test $ac_status = 0; }; then 2513 pkg_cv_RTMIDI_CFLAGS=`$PKG_CONFIG --cflags "rtmidi" 2>/dev/null` 2514 test "x$?" != "x0" && pkg_failed=yes 2515else 2516 pkg_failed=yes 2517fi 2518 else 2519 pkg_failed=untried 2520fi 2521if test -n "$RTMIDI_LIBS"; then 2522 pkg_cv_RTMIDI_LIBS="$RTMIDI_LIBS" 2523 elif test -n "$PKG_CONFIG"; then 2524 if test -n "$PKG_CONFIG" && \ 2525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"rtmidi\""; } >&5 2526 ($PKG_CONFIG --exists --print-errors "rtmidi") 2>&5 2527 ac_status=$? 2528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2529 test $ac_status = 0; }; then 2530 pkg_cv_RTMIDI_LIBS=`$PKG_CONFIG --libs "rtmidi" 2>/dev/null` 2531 test "x$?" != "x0" && pkg_failed=yes 2532else 2533 pkg_failed=yes 2534fi 2535 else 2536 pkg_failed=untried 2537fi 2538 2539 2540 2541if test $pkg_failed = yes; then 2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2543$as_echo "no" >&6; } 2544 2545if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 2546 _pkg_short_errors_supported=yes 2547else 2548 _pkg_short_errors_supported=no 2549fi 2550 if test $_pkg_short_errors_supported = yes; then 2551 RTMIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "rtmidi" 2>&1` 2552 else 2553 RTMIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "rtmidi" 2>&1` 2554 fi 2555 # Put the nasty error message in config.log where it belongs 2556 echo "$RTMIDI_PKG_ERRORS" >&5 2557 2558 have_rtmidi=no 2559elif test $pkg_failed = untried; then 2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2561$as_echo "no" >&6; } 2562 have_rtmidi=no 2563else 2564 RTMIDI_CFLAGS=$pkg_cv_RTMIDI_CFLAGS 2565 RTMIDI_LIBS=$pkg_cv_RTMIDI_LIBS 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2567$as_echo "yes" >&6; } 2568 have_rtmidi=yes 2569fi 2570if test "$have_rtmidi" = "yes"; then 2571 2572$as_echo "#define HAVE_RTMIDI 1" >>confdefs.h 2573 2574 CXXFLAGS="$CXXFLAGS $RTMIDI_CFLAGS" 2575 LIBS="$LIBS $RTMIDI_LIBS" 2576else 2577 as_fn_error $? "RTMIDI required to install $PACKAGE_NAME" "$LINENO" 5 2578fi 2579 2580# Check for RtMidi::getApiName 2581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking RtMidi::getApiName" >&5 2582$as_echo_n "checking RtMidi::getApiName... " >&6; } 2583have_get_api_name=no 2584 2585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2586/* end confdefs.h. */ 2587 2588 #include <RtMidi.h> 2589 #include <string> 2590 2591int 2592main () 2593{ 2594 2595 std::string n = RtMidi::getApiName(RtMidi::LINUX_ALSA); 2596 2597 ; 2598 return 0; 2599} 2600_ACEOF 2601if ac_fn_cxx_try_compile "$LINENO"; then : 2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2603$as_echo "yes" >&6; } 2604 have_api_name=yes 2605else 2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2607$as_echo "no" >&6; } 2608 2609fi 2610rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2611 2612if test $have_get_api_name = yes; then 2613 2614$as_echo "#define HAVE_RTMIDI_GETAPINAME 1" >>confdefs.h 2615 2616fi 2617 2618# Checks for octave depreciated symbols 2619## Simple symbol alternatives of different Octave versions. 2620save_altsyms_CXX="$CXX" 2621save_altsyms_CXXFLAGS="$CXXFLAGS" 2622save_altsyms_LDFLAGS="$LDFLAGS" 2623save_altsyms_LIBS="$LIBS" 2624OCTINCLUDEDIR=${OCTINCLUDEDIR:-`$MKOCTFILE -p INCFLAGS`} 2625OCTLIBDIR=${OCTLIBDIR:-`$MKOCTFILE -p OCTLIBDIR`} 2626CXX=`${MKOCTFILE} -p CXX` 2627CXXFLAGS="$OCTINCLUDEDIR $CXXFLAGS" 2628LDFLAGS="-L$OCTLIBDIR $LDFLAGS" 2629LIBS="-loctinterp $LIBS" 2630 2631 2632 2633echo '/* generated by configure */' > oct-alt-includes.h 2634 2635 2636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking feval or octave::feval" >&5 2637$as_echo_n "checking feval or octave::feval... " >&6; } 2638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2639/* end confdefs.h. */ 2640#include <octave/oct.h> 2641 #include <octave/parse.h> 2642 2643int 2644main () 2645{ 2646octave::feval ("date"); 2647 ; 2648 return 0; 2649} 2650_ACEOF 2651if ac_fn_cxx_try_compile "$LINENO"; then : 2652 2653$as_echo "#define OCTAVE__FEVAL octave::feval" >>confdefs.h 2654 2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: octave::feval" >&5 2656$as_echo "octave::feval" >&6; } 2657 echo '#include <octave/parse.h> 2658' >> oct-alt-includes.h 2659else 2660 2661$as_echo "#define OCTAVE__FEVAL feval" >>confdefs.h 2662 2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: feval" >&5 2664$as_echo " feval" >&6; } 2665 echo '#include <octave/parse.h>' >> oct-alt-includes.h 2666 2667fi 2668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2669 2670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking is_float_type or isfloat" >&5 2671$as_echo_n "checking is_float_type or isfloat... " >&6; } 2672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2673/* end confdefs.h. */ 2674#include <octave/oct.h> 2675 2676 2677int 2678main () 2679{ 2680octave_value ().isfloat (); 2681 ; 2682 return 0; 2683} 2684_ACEOF 2685if ac_fn_cxx_try_compile "$LINENO"; then : 2686 2687$as_echo "#define OV_ISFLOAT isfloat" >>confdefs.h 2688 2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: isfloat" >&5 2690$as_echo "isfloat" >&6; } 2691 echo ' 2692' >> oct-alt-includes.h 2693else 2694 2695$as_echo "#define OV_ISFLOAT is_float_type" >>confdefs.h 2696 2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: is_float_type" >&5 2698$as_echo " is_float_type" >&6; } 2699 echo '' >> oct-alt-includes.h 2700 2701fi 2702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2703 2704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking is_integer_type or isinteger" >&5 2705$as_echo_n "checking is_integer_type or isinteger... " >&6; } 2706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2707/* end confdefs.h. */ 2708#include <octave/oct.h> 2709 2710 2711int 2712main () 2713{ 2714octave_value ().isinteger (); 2715 ; 2716 return 0; 2717} 2718_ACEOF 2719if ac_fn_cxx_try_compile "$LINENO"; then : 2720 2721$as_echo "#define OV_ISINTEGER isinteger" >>confdefs.h 2722 2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: isinteger" >&5 2724$as_echo "isinteger" >&6; } 2725 echo ' 2726' >> oct-alt-includes.h 2727else 2728 2729$as_echo "#define OV_ISINTEGER is_integer_type" >>confdefs.h 2730 2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: is_integer_type" >&5 2732$as_echo " is_integer_type" >&6; } 2733 echo '' >> oct-alt-includes.h 2734 2735fi 2736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2737 2738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking is_cell or iscell" >&5 2739$as_echo_n "checking is_cell or iscell... " >&6; } 2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2741/* end confdefs.h. */ 2742#include <octave/oct.h> 2743 2744 2745 2746 2747int 2748main () 2749{ 2750octave_value ().iscell (); 2751 ; 2752 return 0; 2753} 2754_ACEOF 2755if ac_fn_cxx_try_compile "$LINENO"; then : 2756 2757$as_echo "#define OV_ISCELL iscell" >>confdefs.h 2758 2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: iscell" >&5 2760$as_echo "iscell" >&6; } 2761 echo ' 2762 2763 2764' >> oct-alt-includes.h 2765else 2766 2767$as_echo "#define OV_ISCELL is_cell" >>confdefs.h 2768 2769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: is_cell" >&5 2770$as_echo " is_cell" >&6; } 2771 echo '' >> oct-alt-includes.h 2772 2773fi 2774rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2775 2776 2777 2778 2779 2780 2781CXX=$save_altsyms_CXX 2782CXXFLAGS=$save_altsyms_CXXFLAGS 2783LDFLAGS=$save_altsyms_LDFLAGS 2784LIBS=$save_altsyms_LIBS 2785 2786ac_config_files="$ac_config_files Makefile" 2787 2788cat >confcache <<\_ACEOF 2789# This file is a shell script that caches the results of configure 2790# tests run on this system so they can be shared between configure 2791# scripts and configure runs, see configure's option --config-cache. 2792# It is not useful on other systems. If it contains results you don't 2793# want to keep, you may remove or edit it. 2794# 2795# config.status only pays attention to the cache file if you give it 2796# the --recheck option to rerun configure. 2797# 2798# `ac_cv_env_foo' variables (set or unset) will be overridden when 2799# loading this file, other *unset* `ac_cv_foo' will be assigned the 2800# following values. 2801 2802_ACEOF 2803 2804# The following way of writing the cache mishandles newlines in values, 2805# but we know of no workaround that is simple, portable, and efficient. 2806# So, we kill variables containing newlines. 2807# Ultrix sh set writes to stderr and can't be redirected directly, 2808# and sets the high bit in the cache file unless we assign to the vars. 2809( 2810 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2811 eval ac_val=\$$ac_var 2812 case $ac_val in #( 2813 *${as_nl}*) 2814 case $ac_var in #( 2815 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2816$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2817 esac 2818 case $ac_var in #( 2819 _ | IFS | as_nl) ;; #( 2820 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2821 *) { eval $ac_var=; unset $ac_var;} ;; 2822 esac ;; 2823 esac 2824 done 2825 2826 (set) 2>&1 | 2827 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2828 *${as_nl}ac_space=\ *) 2829 # `set' does not quote correctly, so add quotes: double-quote 2830 # substitution turns \\\\ into \\, and sed turns \\ into \. 2831 sed -n \ 2832 "s/'/'\\\\''/g; 2833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2834 ;; #( 2835 *) 2836 # `set' quotes correctly as required by POSIX, so do not add quotes. 2837 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2838 ;; 2839 esac | 2840 sort 2841) | 2842 sed ' 2843 /^ac_cv_env_/b end 2844 t clear 2845 :clear 2846 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2847 t end 2848 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2849 :end' >>confcache 2850if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2851 if test -w "$cache_file"; then 2852 if test "x$cache_file" != "x/dev/null"; then 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 2854$as_echo "$as_me: updating cache $cache_file" >&6;} 2855 if test ! -f "$cache_file" || test -h "$cache_file"; then 2856 cat confcache >"$cache_file" 2857 else 2858 case $cache_file in #( 2859 */* | ?:*) 2860 mv -f confcache "$cache_file"$$ && 2861 mv -f "$cache_file"$$ "$cache_file" ;; #( 2862 *) 2863 mv -f confcache "$cache_file" ;; 2864 esac 2865 fi 2866 fi 2867 else 2868 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 2869$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2870 fi 2871fi 2872rm -f confcache 2873 2874test "x$prefix" = xNONE && prefix=$ac_default_prefix 2875# Let make expand exec_prefix. 2876test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2877 2878DEFS=-DHAVE_CONFIG_H 2879 2880ac_libobjs= 2881ac_ltlibobjs= 2882U= 2883for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2884 # 1. Remove the extension, and $U if already installed. 2885 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2886 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 2887 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2888 # will be set to the directory where LIBOBJS objects are built. 2889 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2890 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 2891done 2892LIBOBJS=$ac_libobjs 2893 2894LTLIBOBJS=$ac_ltlibobjs 2895 2896 2897 2898: "${CONFIG_STATUS=./config.status}" 2899ac_write_fail=0 2900ac_clean_files_save=$ac_clean_files 2901ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2902{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 2903$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 2904as_write_fail=0 2905cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 2906#! $SHELL 2907# Generated by $as_me. 2908# Run this file to recreate the current configuration. 2909# Compiler output produced by configure, useful for debugging 2910# configure, is in config.log if it exists. 2911 2912debug=false 2913ac_cs_recheck=false 2914ac_cs_silent=false 2915 2916SHELL=\${CONFIG_SHELL-$SHELL} 2917export SHELL 2918_ASEOF 2919cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 2920## -------------------- ## 2921## M4sh Initialization. ## 2922## -------------------- ## 2923 2924# Be more Bourne compatible 2925DUALCASE=1; export DUALCASE # for MKS sh 2926if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 2927 emulate sh 2928 NULLCMD=: 2929 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 2930 # is contrary to our usage. Disable this feature. 2931 alias -g '${1+"$@"}'='"$@"' 2932 setopt NO_GLOB_SUBST 2933else 2934 case `(set -o) 2>/dev/null` in #( 2935 *posix*) : 2936 set -o posix ;; #( 2937 *) : 2938 ;; 2939esac 2940fi 2941 2942 2943as_nl=' 2944' 2945export as_nl 2946# Printing a long string crashes Solaris 7 /usr/bin/printf. 2947as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2948as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 2949as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 2950# Prefer a ksh shell builtin over an external printf program on Solaris, 2951# but without wasting forks for bash or zsh. 2952if test -z "$BASH_VERSION$ZSH_VERSION" \ 2953 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 2954 as_echo='print -r --' 2955 as_echo_n='print -rn --' 2956elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2957 as_echo='printf %s\n' 2958 as_echo_n='printf %s' 2959else 2960 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 2961 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 2962 as_echo_n='/usr/ucb/echo -n' 2963 else 2964 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 2965 as_echo_n_body='eval 2966 arg=$1; 2967 case $arg in #( 2968 *"$as_nl"*) 2969 expr "X$arg" : "X\\(.*\\)$as_nl"; 2970 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 2971 esac; 2972 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 2973 ' 2974 export as_echo_n_body 2975 as_echo_n='sh -c $as_echo_n_body as_echo' 2976 fi 2977 export as_echo_body 2978 as_echo='sh -c $as_echo_body as_echo' 2979fi 2980 2981# The user is always right. 2982if test "${PATH_SEPARATOR+set}" != set; then 2983 PATH_SEPARATOR=: 2984 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 2985 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 2986 PATH_SEPARATOR=';' 2987 } 2988fi 2989 2990 2991# IFS 2992# We need space, tab and new line, in precisely that order. Quoting is 2993# there to prevent editors from complaining about space-tab. 2994# (If _AS_PATH_WALK were called with IFS unset, it would disable word 2995# splitting by setting IFS to empty value.) 2996IFS=" "" $as_nl" 2997 2998# Find who we are. Look in the path if we contain no directory separator. 2999as_myself= 3000case $0 in #(( 3001 *[\\/]* ) as_myself=$0 ;; 3002 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3003for as_dir in $PATH 3004do 3005 IFS=$as_save_IFS 3006 test -z "$as_dir" && as_dir=. 3007 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3008 done 3009IFS=$as_save_IFS 3010 3011 ;; 3012esac 3013# We did not find ourselves, most probably we were run as `sh COMMAND' 3014# in which case we are not to be found in the path. 3015if test "x$as_myself" = x; then 3016 as_myself=$0 3017fi 3018if test ! -f "$as_myself"; then 3019 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3020 exit 1 3021fi 3022 3023# Unset variables that we do not need and which cause bugs (e.g. in 3024# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3025# suppresses any "Segmentation fault" message there. '((' could 3026# trigger a bug in pdksh 5.2.14. 3027for as_var in BASH_ENV ENV MAIL MAILPATH 3028do eval test x\${$as_var+set} = xset \ 3029 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3030done 3031PS1='$ ' 3032PS2='> ' 3033PS4='+ ' 3034 3035# NLS nuisances. 3036LC_ALL=C 3037export LC_ALL 3038LANGUAGE=C 3039export LANGUAGE 3040 3041# CDPATH. 3042(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3043 3044 3045# as_fn_error STATUS ERROR [LINENO LOG_FD] 3046# ---------------------------------------- 3047# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3048# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3049# script with STATUS, using 1 if that was 0. 3050as_fn_error () 3051{ 3052 as_status=$1; test $as_status -eq 0 && as_status=1 3053 if test "$4"; then 3054 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3055 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3056 fi 3057 $as_echo "$as_me: error: $2" >&2 3058 as_fn_exit $as_status 3059} # as_fn_error 3060 3061 3062# as_fn_set_status STATUS 3063# ----------------------- 3064# Set $? to STATUS, without forking. 3065as_fn_set_status () 3066{ 3067 return $1 3068} # as_fn_set_status 3069 3070# as_fn_exit STATUS 3071# ----------------- 3072# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3073as_fn_exit () 3074{ 3075 set +e 3076 as_fn_set_status $1 3077 exit $1 3078} # as_fn_exit 3079 3080# as_fn_unset VAR 3081# --------------- 3082# Portably unset VAR. 3083as_fn_unset () 3084{ 3085 { eval $1=; unset $1;} 3086} 3087as_unset=as_fn_unset 3088# as_fn_append VAR VALUE 3089# ---------------------- 3090# Append the text in VALUE to the end of the definition contained in VAR. Take 3091# advantage of any shell optimizations that allow amortized linear growth over 3092# repeated appends, instead of the typical quadratic growth present in naive 3093# implementations. 3094if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3095 eval 'as_fn_append () 3096 { 3097 eval $1+=\$2 3098 }' 3099else 3100 as_fn_append () 3101 { 3102 eval $1=\$$1\$2 3103 } 3104fi # as_fn_append 3105 3106# as_fn_arith ARG... 3107# ------------------ 3108# Perform arithmetic evaluation on the ARGs, and store the result in the 3109# global $as_val. Take advantage of shells that can avoid forks. The arguments 3110# must be portable across $(()) and expr. 3111if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3112 eval 'as_fn_arith () 3113 { 3114 as_val=$(( $* )) 3115 }' 3116else 3117 as_fn_arith () 3118 { 3119 as_val=`expr "$@" || test $? -eq 1` 3120 } 3121fi # as_fn_arith 3122 3123 3124if expr a : '\(a\)' >/dev/null 2>&1 && 3125 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3126 as_expr=expr 3127else 3128 as_expr=false 3129fi 3130 3131if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3132 as_basename=basename 3133else 3134 as_basename=false 3135fi 3136 3137if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3138 as_dirname=dirname 3139else 3140 as_dirname=false 3141fi 3142 3143as_me=`$as_basename -- "$0" || 3144$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3145 X"$0" : 'X\(//\)$' \| \ 3146 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3147$as_echo X/"$0" | 3148 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3149 s//\1/ 3150 q 3151 } 3152 /^X\/\(\/\/\)$/{ 3153 s//\1/ 3154 q 3155 } 3156 /^X\/\(\/\).*/{ 3157 s//\1/ 3158 q 3159 } 3160 s/.*/./; q'` 3161 3162# Avoid depending upon Character Ranges. 3163as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3164as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3165as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3166as_cr_digits='0123456789' 3167as_cr_alnum=$as_cr_Letters$as_cr_digits 3168 3169ECHO_C= ECHO_N= ECHO_T= 3170case `echo -n x` in #((((( 3171-n*) 3172 case `echo 'xy\c'` in 3173 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3174 xy) ECHO_C='\c';; 3175 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3176 ECHO_T=' ';; 3177 esac;; 3178*) 3179 ECHO_N='-n';; 3180esac 3181 3182rm -f conf$$ conf$$.exe conf$$.file 3183if test -d conf$$.dir; then 3184 rm -f conf$$.dir/conf$$.file 3185else 3186 rm -f conf$$.dir 3187 mkdir conf$$.dir 2>/dev/null 3188fi 3189if (echo >conf$$.file) 2>/dev/null; then 3190 if ln -s conf$$.file conf$$ 2>/dev/null; then 3191 as_ln_s='ln -s' 3192 # ... but there are two gotchas: 3193 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3194 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3195 # In both cases, we have to default to `cp -pR'. 3196 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3197 as_ln_s='cp -pR' 3198 elif ln conf$$.file conf$$ 2>/dev/null; then 3199 as_ln_s=ln 3200 else 3201 as_ln_s='cp -pR' 3202 fi 3203else 3204 as_ln_s='cp -pR' 3205fi 3206rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3207rmdir conf$$.dir 2>/dev/null 3208 3209 3210# as_fn_mkdir_p 3211# ------------- 3212# Create "$as_dir" as a directory, including parents if necessary. 3213as_fn_mkdir_p () 3214{ 3215 3216 case $as_dir in #( 3217 -*) as_dir=./$as_dir;; 3218 esac 3219 test -d "$as_dir" || eval $as_mkdir_p || { 3220 as_dirs= 3221 while :; do 3222 case $as_dir in #( 3223 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3224 *) as_qdir=$as_dir;; 3225 esac 3226 as_dirs="'$as_qdir' $as_dirs" 3227 as_dir=`$as_dirname -- "$as_dir" || 3228$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3229 X"$as_dir" : 'X\(//\)[^/]' \| \ 3230 X"$as_dir" : 'X\(//\)$' \| \ 3231 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3232$as_echo X"$as_dir" | 3233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3234 s//\1/ 3235 q 3236 } 3237 /^X\(\/\/\)[^/].*/{ 3238 s//\1/ 3239 q 3240 } 3241 /^X\(\/\/\)$/{ 3242 s//\1/ 3243 q 3244 } 3245 /^X\(\/\).*/{ 3246 s//\1/ 3247 q 3248 } 3249 s/.*/./; q'` 3250 test -d "$as_dir" && break 3251 done 3252 test -z "$as_dirs" || eval "mkdir $as_dirs" 3253 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3254 3255 3256} # as_fn_mkdir_p 3257if mkdir -p . 2>/dev/null; then 3258 as_mkdir_p='mkdir -p "$as_dir"' 3259else 3260 test -d ./-p && rmdir ./-p 3261 as_mkdir_p=false 3262fi 3263 3264 3265# as_fn_executable_p FILE 3266# ----------------------- 3267# Test if FILE is an executable regular file. 3268as_fn_executable_p () 3269{ 3270 test -f "$1" && test -x "$1" 3271} # as_fn_executable_p 3272as_test_x='test -x' 3273as_executable_p=as_fn_executable_p 3274 3275# Sed expression to map a string onto a valid CPP name. 3276as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3277 3278# Sed expression to map a string onto a valid variable name. 3279as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3280 3281 3282exec 6>&1 3283## ----------------------------------- ## 3284## Main body of $CONFIG_STATUS script. ## 3285## ----------------------------------- ## 3286_ASEOF 3287test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3288 3289cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3290# Save the log message, to keep $0 and so on meaningful, and to 3291# report actual input values of CONFIG_FILES etc. instead of their 3292# values after options handling. 3293ac_log=" 3294This file was extended by octave audio package $as_me 2.0.4, which was 3295generated by GNU Autoconf 2.69. Invocation command line was 3296 3297 CONFIG_FILES = $CONFIG_FILES 3298 CONFIG_HEADERS = $CONFIG_HEADERS 3299 CONFIG_LINKS = $CONFIG_LINKS 3300 CONFIG_COMMANDS = $CONFIG_COMMANDS 3301 $ $0 $@ 3302 3303on `(hostname || uname -n) 2>/dev/null | sed 1q` 3304" 3305 3306_ACEOF 3307 3308case $ac_config_files in *" 3309"*) set x $ac_config_files; shift; ac_config_files=$*;; 3310esac 3311 3312case $ac_config_headers in *" 3313"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 3314esac 3315 3316 3317cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3318# Files that config.status was made for. 3319config_files="$ac_config_files" 3320config_headers="$ac_config_headers" 3321 3322_ACEOF 3323 3324cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3325ac_cs_usage="\ 3326\`$as_me' instantiates files and other configuration actions 3327from templates according to the current configuration. Unless the files 3328and actions are specified as TAGs, all are instantiated by default. 3329 3330Usage: $0 [OPTION]... [TAG]... 3331 3332 -h, --help print this help, then exit 3333 -V, --version print version number and configuration settings, then exit 3334 --config print configuration, then exit 3335 -q, --quiet, --silent 3336 do not print progress messages 3337 -d, --debug don't remove temporary files 3338 --recheck update $as_me by reconfiguring in the same conditions 3339 --file=FILE[:TEMPLATE] 3340 instantiate the configuration file FILE 3341 --header=FILE[:TEMPLATE] 3342 instantiate the configuration header FILE 3343 3344Configuration files: 3345$config_files 3346 3347Configuration headers: 3348$config_headers 3349 3350Report bugs to the package provider." 3351 3352_ACEOF 3353cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3354ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3355ac_cs_version="\\ 3356octave audio package config.status 2.0.4 3357configured by $0, generated by GNU Autoconf 2.69, 3358 with options \\"\$ac_cs_config\\" 3359 3360Copyright (C) 2012 Free Software Foundation, Inc. 3361This config.status script is free software; the Free Software Foundation 3362gives unlimited permission to copy, distribute and modify it." 3363 3364ac_pwd='$ac_pwd' 3365srcdir='$srcdir' 3366test -n "\$AWK" || AWK=awk 3367_ACEOF 3368 3369cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3370# The default lists apply if the user does not specify any file. 3371ac_need_defaults=: 3372while test $# != 0 3373do 3374 case $1 in 3375 --*=?*) 3376 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3377 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3378 ac_shift=: 3379 ;; 3380 --*=) 3381 ac_option=`expr "X$1" : 'X\([^=]*\)='` 3382 ac_optarg= 3383 ac_shift=: 3384 ;; 3385 *) 3386 ac_option=$1 3387 ac_optarg=$2 3388 ac_shift=shift 3389 ;; 3390 esac 3391 3392 case $ac_option in 3393 # Handling of the options. 3394 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3395 ac_cs_recheck=: ;; 3396 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3397 $as_echo "$ac_cs_version"; exit ;; 3398 --config | --confi | --conf | --con | --co | --c ) 3399 $as_echo "$ac_cs_config"; exit ;; 3400 --debug | --debu | --deb | --de | --d | -d ) 3401 debug=: ;; 3402 --file | --fil | --fi | --f ) 3403 $ac_shift 3404 case $ac_optarg in 3405 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3406 '') as_fn_error $? "missing file argument" ;; 3407 esac 3408 as_fn_append CONFIG_FILES " '$ac_optarg'" 3409 ac_need_defaults=false;; 3410 --header | --heade | --head | --hea ) 3411 $ac_shift 3412 case $ac_optarg in 3413 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3414 esac 3415 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 3416 ac_need_defaults=false;; 3417 --he | --h) 3418 # Conflict between --help and --header 3419 as_fn_error $? "ambiguous option: \`$1' 3420Try \`$0 --help' for more information.";; 3421 --help | --hel | -h ) 3422 $as_echo "$ac_cs_usage"; exit ;; 3423 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3424 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3425 ac_cs_silent=: ;; 3426 3427 # This is an error. 3428 -*) as_fn_error $? "unrecognized option: \`$1' 3429Try \`$0 --help' for more information." ;; 3430 3431 *) as_fn_append ac_config_targets " $1" 3432 ac_need_defaults=false ;; 3433 3434 esac 3435 shift 3436done 3437 3438ac_configure_extra_args= 3439 3440if $ac_cs_silent; then 3441 exec 6>/dev/null 3442 ac_configure_extra_args="$ac_configure_extra_args --silent" 3443fi 3444 3445_ACEOF 3446cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3447if \$ac_cs_recheck; then 3448 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3449 shift 3450 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3451 CONFIG_SHELL='$SHELL' 3452 export CONFIG_SHELL 3453 exec "\$@" 3454fi 3455 3456_ACEOF 3457cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3458exec 5>>config.log 3459{ 3460 echo 3461 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3462## Running $as_me. ## 3463_ASBOX 3464 $as_echo "$ac_log" 3465} >&5 3466 3467_ACEOF 3468cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3469_ACEOF 3470 3471cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3472 3473# Handling of arguments. 3474for ac_config_target in $ac_config_targets 3475do 3476 case $ac_config_target in 3477 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3478 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3479 3480 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3481 esac 3482done 3483 3484 3485# If the user did not use the arguments to specify the items to instantiate, 3486# then the envvar interface is used. Set only those that are not. 3487# We use the long form for the default assignment because of an extremely 3488# bizarre bug on SunOS 4.1.3. 3489if $ac_need_defaults; then 3490 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3491 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3492fi 3493 3494# Have a temporary directory for convenience. Make it in the build tree 3495# simply because there is no reason against having it here, and in addition, 3496# creating and moving files from /tmp can sometimes cause problems. 3497# Hook for its removal unless debugging. 3498# Note that there is a small window in which the directory will not be cleaned: 3499# after its creation but before its name has been assigned to `$tmp'. 3500$debug || 3501{ 3502 tmp= ac_tmp= 3503 trap 'exit_status=$? 3504 : "${ac_tmp:=$tmp}" 3505 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3506' 0 3507 trap 'as_fn_exit 1' 1 2 13 15 3508} 3509# Create a (secure) tmp directory for tmp files. 3510 3511{ 3512 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3513 test -d "$tmp" 3514} || 3515{ 3516 tmp=./conf$$-$RANDOM 3517 (umask 077 && mkdir "$tmp") 3518} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3519ac_tmp=$tmp 3520 3521# Set up the scripts for CONFIG_FILES section. 3522# No need to generate them if there are no CONFIG_FILES. 3523# This happens for instance with `./config.status config.h'. 3524if test -n "$CONFIG_FILES"; then 3525 3526 3527ac_cr=`echo X | tr X '\015'` 3528# On cygwin, bash can eat \r inside `` if the user requested igncr. 3529# But we know of no other shell where ac_cr would be empty at this 3530# point, so we can use a bashism as a fallback. 3531if test "x$ac_cr" = x; then 3532 eval ac_cr=\$\'\\r\' 3533fi 3534ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3535if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3536 ac_cs_awk_cr='\\r' 3537else 3538 ac_cs_awk_cr=$ac_cr 3539fi 3540 3541echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3542_ACEOF 3543 3544 3545{ 3546 echo "cat >conf$$subs.awk <<_ACEOF" && 3547 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3548 echo "_ACEOF" 3549} >conf$$subs.sh || 3550 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3551ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3552ac_delim='%!_!# ' 3553for ac_last_try in false false false false false :; do 3554 . ./conf$$subs.sh || 3555 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3556 3557 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3558 if test $ac_delim_n = $ac_delim_num; then 3559 break 3560 elif $ac_last_try; then 3561 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3562 else 3563 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3564 fi 3565done 3566rm -f conf$$subs.sh 3567 3568cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3569cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3570_ACEOF 3571sed -n ' 3572h 3573s/^/S["/; s/!.*/"]=/ 3574p 3575g 3576s/^[^!]*!// 3577:repl 3578t repl 3579s/'"$ac_delim"'$// 3580t delim 3581:nl 3582h 3583s/\(.\{148\}\)..*/\1/ 3584t more1 3585s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3586p 3587n 3588b repl 3589:more1 3590s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3591p 3592g 3593s/.\{148\}// 3594t nl 3595:delim 3596h 3597s/\(.\{148\}\)..*/\1/ 3598t more2 3599s/["\\]/\\&/g; s/^/"/; s/$/"/ 3600p 3601b 3602:more2 3603s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3604p 3605g 3606s/.\{148\}// 3607t delim 3608' <conf$$subs.awk | sed ' 3609/^[^""]/{ 3610 N 3611 s/\n// 3612} 3613' >>$CONFIG_STATUS || ac_write_fail=1 3614rm -f conf$$subs.awk 3615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3616_ACAWK 3617cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3618 for (key in S) S_is_set[key] = 1 3619 FS = "" 3620 3621} 3622{ 3623 line = $ 0 3624 nfields = split(line, field, "@") 3625 substed = 0 3626 len = length(field[1]) 3627 for (i = 2; i < nfields; i++) { 3628 key = field[i] 3629 keylen = length(key) 3630 if (S_is_set[key]) { 3631 value = S[key] 3632 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3633 len += length(value) + length(field[++i]) 3634 substed = 1 3635 } else 3636 len += 1 + keylen 3637 } 3638 3639 print line 3640} 3641 3642_ACAWK 3643_ACEOF 3644cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3645if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3646 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3647else 3648 cat 3649fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3650 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3651_ACEOF 3652 3653# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3654# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3655# trailing colons and then remove the whole line if VPATH becomes empty 3656# (actually we leave an empty line to preserve line numbers). 3657if test "x$srcdir" = x.; then 3658 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3659h 3660s/// 3661s/^/:/ 3662s/[ ]*$/:/ 3663s/:\$(srcdir):/:/g 3664s/:\${srcdir}:/:/g 3665s/:@srcdir@:/:/g 3666s/^:*// 3667s/:*$// 3668x 3669s/\(=[ ]*\).*/\1/ 3670G 3671s/\n// 3672s/^[^=]*=[ ]*$// 3673}' 3674fi 3675 3676cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3677fi # test -n "$CONFIG_FILES" 3678 3679# Set up the scripts for CONFIG_HEADERS section. 3680# No need to generate them if there are no CONFIG_HEADERS. 3681# This happens for instance with `./config.status Makefile'. 3682if test -n "$CONFIG_HEADERS"; then 3683cat >"$ac_tmp/defines.awk" <<\_ACAWK || 3684BEGIN { 3685_ACEOF 3686 3687# Transform confdefs.h into an awk script `defines.awk', embedded as 3688# here-document in config.status, that substitutes the proper values into 3689# config.h.in to produce config.h. 3690 3691# Create a delimiter string that does not exist in confdefs.h, to ease 3692# handling of long lines. 3693ac_delim='%!_!# ' 3694for ac_last_try in false false :; do 3695 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 3696 if test -z "$ac_tt"; then 3697 break 3698 elif $ac_last_try; then 3699 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 3700 else 3701 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3702 fi 3703done 3704 3705# For the awk script, D is an array of macro values keyed by name, 3706# likewise P contains macro parameters if any. Preserve backslash 3707# newline sequences. 3708 3709ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 3710sed -n ' 3711s/.\{148\}/&'"$ac_delim"'/g 3712t rset 3713:rset 3714s/^[ ]*#[ ]*define[ ][ ]*/ / 3715t def 3716d 3717:def 3718s/\\$// 3719t bsnl 3720s/["\\]/\\&/g 3721s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3722D["\1"]=" \3"/p 3723s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 3724d 3725:bsnl 3726s/["\\]/\\&/g 3727s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 3728D["\1"]=" \3\\\\\\n"\\/p 3729t cont 3730s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 3731t cont 3732d 3733:cont 3734n 3735s/.\{148\}/&'"$ac_delim"'/g 3736t clear 3737:clear 3738s/\\$// 3739t bsnlc 3740s/["\\]/\\&/g; s/^/"/; s/$/"/p 3741d 3742:bsnlc 3743s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 3744b cont 3745' <confdefs.h | sed ' 3746s/'"$ac_delim"'/"\\\ 3747"/g' >>$CONFIG_STATUS || ac_write_fail=1 3748 3749cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3750 for (key in D) D_is_set[key] = 1 3751 FS = "" 3752} 3753/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 3754 line = \$ 0 3755 split(line, arg, " ") 3756 if (arg[1] == "#") { 3757 defundef = arg[2] 3758 mac1 = arg[3] 3759 } else { 3760 defundef = substr(arg[1], 2) 3761 mac1 = arg[2] 3762 } 3763 split(mac1, mac2, "(") #) 3764 macro = mac2[1] 3765 prefix = substr(line, 1, index(line, defundef) - 1) 3766 if (D_is_set[macro]) { 3767 # Preserve the white space surrounding the "#". 3768 print prefix "define", macro P[macro] D[macro] 3769 next 3770 } else { 3771 # Replace #undef with comments. This is necessary, for example, 3772 # in the case of _POSIX_SOURCE, which is predefined and required 3773 # on some systems where configure will not decide to define it. 3774 if (defundef == "undef") { 3775 print "/*", prefix defundef, macro, "*/" 3776 next 3777 } 3778 } 3779} 3780{ print } 3781_ACAWK 3782_ACEOF 3783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3784 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 3785fi # test -n "$CONFIG_HEADERS" 3786 3787 3788eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " 3789shift 3790for ac_tag 3791do 3792 case $ac_tag in 3793 :[FHLC]) ac_mode=$ac_tag; continue;; 3794 esac 3795 case $ac_mode$ac_tag in 3796 :[FHL]*:*);; 3797 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3798 :[FH]-) ac_tag=-:-;; 3799 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3800 esac 3801 ac_save_IFS=$IFS 3802 IFS=: 3803 set x $ac_tag 3804 IFS=$ac_save_IFS 3805 shift 3806 ac_file=$1 3807 shift 3808 3809 case $ac_mode in 3810 :L) ac_source=$1;; 3811 :[FH]) 3812 ac_file_inputs= 3813 for ac_f 3814 do 3815 case $ac_f in 3816 -) ac_f="$ac_tmp/stdin";; 3817 *) # Look for the file first in the build tree, then in the source tree 3818 # (if the path is not absolute). The absolute path cannot be DOS-style, 3819 # because $ac_f cannot contain `:'. 3820 test -f "$ac_f" || 3821 case $ac_f in 3822 [\\/$]*) false;; 3823 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 3824 esac || 3825 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 3826 esac 3827 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 3828 as_fn_append ac_file_inputs " '$ac_f'" 3829 done 3830 3831 # Let's still pretend it is `configure' which instantiates (i.e., don't 3832 # use $as_me), people would be surprised to read: 3833 # /* config.h. Generated by config.status. */ 3834 configure_input='Generated from '` 3835 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 3836 `' by configure.' 3837 if test x"$ac_file" != x-; then 3838 configure_input="$ac_file. $configure_input" 3839 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 3840$as_echo "$as_me: creating $ac_file" >&6;} 3841 fi 3842 # Neutralize special characters interpreted by sed in replacement strings. 3843 case $configure_input in #( 3844 *\&* | *\|* | *\\* ) 3845 ac_sed_conf_input=`$as_echo "$configure_input" | 3846 sed 's/[\\\\&|]/\\\\&/g'`;; #( 3847 *) ac_sed_conf_input=$configure_input;; 3848 esac 3849 3850 case $ac_tag in 3851 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 3852 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 3853 esac 3854 ;; 3855 esac 3856 3857 ac_dir=`$as_dirname -- "$ac_file" || 3858$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3859 X"$ac_file" : 'X\(//\)[^/]' \| \ 3860 X"$ac_file" : 'X\(//\)$' \| \ 3861 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 3862$as_echo X"$ac_file" | 3863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3864 s//\1/ 3865 q 3866 } 3867 /^X\(\/\/\)[^/].*/{ 3868 s//\1/ 3869 q 3870 } 3871 /^X\(\/\/\)$/{ 3872 s//\1/ 3873 q 3874 } 3875 /^X\(\/\).*/{ 3876 s//\1/ 3877 q 3878 } 3879 s/.*/./; q'` 3880 as_dir="$ac_dir"; as_fn_mkdir_p 3881 ac_builddir=. 3882 3883case "$ac_dir" in 3884.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3885*) 3886 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 3887 # A ".." for each directory in $ac_dir_suffix. 3888 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 3889 case $ac_top_builddir_sub in 3890 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3891 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3892 esac ;; 3893esac 3894ac_abs_top_builddir=$ac_pwd 3895ac_abs_builddir=$ac_pwd$ac_dir_suffix 3896# for backward compatibility: 3897ac_top_builddir=$ac_top_build_prefix 3898 3899case $srcdir in 3900 .) # We are building in place. 3901 ac_srcdir=. 3902 ac_top_srcdir=$ac_top_builddir_sub 3903 ac_abs_top_srcdir=$ac_pwd ;; 3904 [\\/]* | ?:[\\/]* ) # Absolute name. 3905 ac_srcdir=$srcdir$ac_dir_suffix; 3906 ac_top_srcdir=$srcdir 3907 ac_abs_top_srcdir=$srcdir ;; 3908 *) # Relative name. 3909 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 3910 ac_top_srcdir=$ac_top_build_prefix$srcdir 3911 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 3912esac 3913ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 3914 3915 3916 case $ac_mode in 3917 :F) 3918 # 3919 # CONFIG_FILE 3920 # 3921 3922_ACEOF 3923 3924cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3925# If the template does not know about datarootdir, expand it. 3926# FIXME: This hack should be removed a few years after 2.60. 3927ac_datarootdir_hack=; ac_datarootdir_seen= 3928ac_sed_dataroot=' 3929/datarootdir/ { 3930 p 3931 q 3932} 3933/@datadir@/p 3934/@docdir@/p 3935/@infodir@/p 3936/@localedir@/p 3937/@mandir@/p' 3938case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 3939*datarootdir*) ac_datarootdir_seen=yes;; 3940*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 3942$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 3943_ACEOF 3944cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3945 ac_datarootdir_hack=' 3946 s&@datadir@&$datadir&g 3947 s&@docdir@&$docdir&g 3948 s&@infodir@&$infodir&g 3949 s&@localedir@&$localedir&g 3950 s&@mandir@&$mandir&g 3951 s&\\\${datarootdir}&$datarootdir&g' ;; 3952esac 3953_ACEOF 3954 3955# Neutralize VPATH when `$srcdir' = `.'. 3956# Shell code in configure.ac might set extrasub. 3957# FIXME: do we really want to maintain this feature? 3958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3959ac_sed_extra="$ac_vpsub 3960$extrasub 3961_ACEOF 3962cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3963:t 3964/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3965s|@configure_input@|$ac_sed_conf_input|;t t 3966s&@top_builddir@&$ac_top_builddir_sub&;t t 3967s&@top_build_prefix@&$ac_top_build_prefix&;t t 3968s&@srcdir@&$ac_srcdir&;t t 3969s&@abs_srcdir@&$ac_abs_srcdir&;t t 3970s&@top_srcdir@&$ac_top_srcdir&;t t 3971s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 3972s&@builddir@&$ac_builddir&;t t 3973s&@abs_builddir@&$ac_abs_builddir&;t t 3974s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 3975$ac_datarootdir_hack 3976" 3977eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 3978 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3979 3980test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 3981 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 3982 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 3983 "$ac_tmp/out"`; test -z "$ac_out"; } && 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3985which seems to be undefined. Please make sure it is defined" >&5 3986$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 3987which seems to be undefined. Please make sure it is defined" >&2;} 3988 3989 rm -f "$ac_tmp/stdin" 3990 case $ac_file in 3991 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 3992 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 3993 esac \ 3994 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 3995 ;; 3996 :H) 3997 # 3998 # CONFIG_HEADER 3999 # 4000 if test x"$ac_file" != x-; then 4001 { 4002 $as_echo "/* $configure_input */" \ 4003 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 4004 } >"$ac_tmp/config.h" \ 4005 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4006 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 4007 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 4008$as_echo "$as_me: $ac_file is unchanged" >&6;} 4009 else 4010 rm -f "$ac_file" 4011 mv "$ac_tmp/config.h" "$ac_file" \ 4012 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4013 fi 4014 else 4015 $as_echo "/* $configure_input */" \ 4016 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 4017 || as_fn_error $? "could not create -" "$LINENO" 5 4018 fi 4019 ;; 4020 4021 4022 esac 4023 4024done # for ac_tag 4025 4026 4027as_fn_exit 0 4028_ACEOF 4029ac_clean_files=$ac_clean_files_save 4030 4031test $ac_write_fail = 0 || 4032 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4033 4034 4035# configure is writing to config.log, and then calls config.status. 4036# config.status does its own redirection, appending to config.log. 4037# Unfortunately, on DOS this fails, as config.log is still kept open 4038# by configure, so config.status won't be able to write to it; its 4039# output is simply discarded. So we exec the FD to /dev/null, 4040# effectively closing config.log, so it can be properly (re)opened and 4041# appended to by config.status. When coming back to configure, we 4042# need to make the FD available again. 4043if test "$no_create" != yes; then 4044 ac_cs_success=: 4045 ac_config_status_args= 4046 test "$silent" = yes && 4047 ac_config_status_args="$ac_config_status_args --quiet" 4048 exec 5>/dev/null 4049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4050 exec 5>>config.log 4051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4052 # would make configure fail if this is the last instruction. 4053 $ac_cs_success || as_fn_exit 1 4054fi 4055if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4057$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4058fi 4059 4060 4061{ $as_echo "$as_me:${as_lineno-$LINENO}: 4062 4063$PACKAGE_NAME is configured with: 4064 LIBS: $LIBS 4065 CXXFLAGS: $CXXFLAGS $DEFS 4066" >&5 4067$as_echo "$as_me: 4068 4069$PACKAGE_NAME is configured with: 4070 LIBS: $LIBS 4071 CXXFLAGS: $CXXFLAGS $DEFS 4072" >&6;} 4073 4074