Mercurial > hg > sv-dependency-builds
comparison src/vamp-plugin-sdk-2.5/configure @ 108:1813f30f2f15
Update Vamp plugin SDK to 2.5
| author | Chris Cannam <cannam@all-day-breakfast.com> |
|---|---|
| date | Thu, 09 May 2013 10:52:46 +0100 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 107:71c914cf6201 | 108:1813f30f2f15 |
|---|---|
| 1 #! /bin/sh | |
| 2 # Guess values for system-dependent variables and create Makefiles. | |
| 3 # Generated by GNU Autoconf 2.69 for vamp-plugin-sdk 2.5. | |
| 4 # | |
| 5 # Report bugs to <cannam@all-day-breakfast.com>. | |
| 6 # | |
| 7 # | |
| 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | |
| 9 # | |
| 10 # | |
| 11 # This configure script is free software; the Free Software Foundation | |
| 12 # gives unlimited permission to copy, distribute and modify it. | |
| 13 ## -------------------- ## | |
| 14 ## M4sh Initialization. ## | |
| 15 ## -------------------- ## | |
| 16 | |
| 17 # Be more Bourne compatible | |
| 18 DUALCASE=1; export DUALCASE # for MKS sh | |
| 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 20 emulate sh | |
| 21 NULLCMD=: | |
| 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 23 # is contrary to our usage. Disable this feature. | |
| 24 alias -g '${1+"$@"}'='"$@"' | |
| 25 setopt NO_GLOB_SUBST | |
| 26 else | |
| 27 case `(set -o) 2>/dev/null` in #( | |
| 28 *posix*) : | |
| 29 set -o posix ;; #( | |
| 30 *) : | |
| 31 ;; | |
| 32 esac | |
| 33 fi | |
| 34 | |
| 35 | |
| 36 as_nl=' | |
| 37 ' | |
| 38 export as_nl | |
| 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 43 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 44 # but without wasting forks for bash or zsh. | |
| 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 47 as_echo='print -r --' | |
| 48 as_echo_n='print -rn --' | |
| 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 50 as_echo='printf %s\n' | |
| 51 as_echo_n='printf %s' | |
| 52 else | |
| 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 55 as_echo_n='/usr/ucb/echo -n' | |
| 56 else | |
| 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 58 as_echo_n_body='eval | |
| 59 arg=$1; | |
| 60 case $arg in #( | |
| 61 *"$as_nl"*) | |
| 62 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 64 esac; | |
| 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 66 ' | |
| 67 export as_echo_n_body | |
| 68 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 69 fi | |
| 70 export as_echo_body | |
| 71 as_echo='sh -c $as_echo_body as_echo' | |
| 72 fi | |
| 73 | |
| 74 # The user is always right. | |
| 75 if test "${PATH_SEPARATOR+set}" != set; then | |
| 76 PATH_SEPARATOR=: | |
| 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 79 PATH_SEPARATOR=';' | |
| 80 } | |
| 81 fi | |
| 82 | |
| 83 | |
| 84 # IFS | |
| 85 # We need space, tab and new line, in precisely that order. Quoting is | |
| 86 # there to prevent editors from complaining about space-tab. | |
| 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 88 # splitting by setting IFS to empty value.) | |
| 89 IFS=" "" $as_nl" | |
| 90 | |
| 91 # Find who we are. Look in the path if we contain no directory separator. | |
| 92 as_myself= | |
| 93 case $0 in #(( | |
| 94 *[\\/]* ) as_myself=$0 ;; | |
| 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 96 for as_dir in $PATH | |
| 97 do | |
| 98 IFS=$as_save_IFS | |
| 99 test -z "$as_dir" && as_dir=. | |
| 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 101 done | |
| 102 IFS=$as_save_IFS | |
| 103 | |
| 104 ;; | |
| 105 esac | |
| 106 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 107 # in which case we are not to be found in the path. | |
| 108 if test "x$as_myself" = x; then | |
| 109 as_myself=$0 | |
| 110 fi | |
| 111 if test ! -f "$as_myself"; then | |
| 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 113 exit 1 | |
| 114 fi | |
| 115 | |
| 116 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 118 # suppresses any "Segmentation fault" message there. '((' could | |
| 119 # trigger a bug in pdksh 5.2.14. | |
| 120 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 121 do eval test x\${$as_var+set} = xset \ | |
| 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 123 done | |
| 124 PS1='$ ' | |
| 125 PS2='> ' | |
| 126 PS4='+ ' | |
| 127 | |
| 128 # NLS nuisances. | |
| 129 LC_ALL=C | |
| 130 export LC_ALL | |
| 131 LANGUAGE=C | |
| 132 export LANGUAGE | |
| 133 | |
| 134 # CDPATH. | |
| 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 136 | |
| 137 # Use a proper internal environment variable to ensure we don't fall | |
| 138 # into an infinite loop, continuously re-executing ourselves. | |
| 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then | |
| 140 _as_can_reexec=no; export _as_can_reexec; | |
| 141 # We cannot yet assume a decent shell, so we have to provide a | |
| 142 # neutralization value for shells without unset; and this also | |
| 143 # works around shells that cannot unset nonexistent variables. | |
| 144 # Preserve -v and -x to the replacement shell. | |
| 145 BASH_ENV=/dev/null | |
| 146 ENV=/dev/null | |
| 147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 148 case $- in # (((( | |
| 149 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 150 *v* ) as_opts=-v ;; | |
| 151 *x* ) as_opts=-x ;; | |
| 152 * ) as_opts= ;; | |
| 153 esac | |
| 154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 155 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 156 # out after a failed `exec'. | |
| 157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 158 as_fn_exit 255 | |
| 159 fi | |
| 160 # We don't want this to propagate to other subprocesses. | |
| 161 { _as_can_reexec=; unset _as_can_reexec;} | |
| 162 if test "x$CONFIG_SHELL" = x; then | |
| 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | |
| 164 emulate sh | |
| 165 NULLCMD=: | |
| 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | |
| 167 # is contrary to our usage. Disable this feature. | |
| 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' | |
| 169 setopt NO_GLOB_SUBST | |
| 170 else | |
| 171 case \`(set -o) 2>/dev/null\` in #( | |
| 172 *posix*) : | |
| 173 set -o posix ;; #( | |
| 174 *) : | |
| 175 ;; | |
| 176 esac | |
| 177 fi | |
| 178 " | |
| 179 as_required="as_fn_return () { (exit \$1); } | |
| 180 as_fn_success () { as_fn_return 0; } | |
| 181 as_fn_failure () { as_fn_return 1; } | |
| 182 as_fn_ret_success () { return 0; } | |
| 183 as_fn_ret_failure () { return 1; } | |
| 184 | |
| 185 exitcode=0 | |
| 186 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | |
| 187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | |
| 188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | |
| 189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | |
| 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | |
| 191 | |
| 192 else | |
| 193 exitcode=1; echo positional parameters were not saved. | |
| 194 fi | |
| 195 test x\$exitcode = x0 || exit 1 | |
| 196 test -x / || exit 1" | |
| 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | |
| 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | |
| 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | |
| 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | |
| 201 test \$(( 1 + 1 )) = 2 || exit 1" | |
| 202 if (eval "$as_required") 2>/dev/null; then : | |
| 203 as_have_required=yes | |
| 204 else | |
| 205 as_have_required=no | |
| 206 fi | |
| 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | |
| 208 | |
| 209 else | |
| 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 211 as_found=false | |
| 212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | |
| 213 do | |
| 214 IFS=$as_save_IFS | |
| 215 test -z "$as_dir" && as_dir=. | |
| 216 as_found=: | |
| 217 case $as_dir in #( | |
| 218 /*) | |
| 219 for as_base in sh bash ksh sh5; do | |
| 220 # Try only shells that exist, to save several forks. | |
| 221 as_shell=$as_dir/$as_base | |
| 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | |
| 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 224 CONFIG_SHELL=$as_shell as_have_required=yes | |
| 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | |
| 226 break 2 | |
| 227 fi | |
| 228 fi | |
| 229 done;; | |
| 230 esac | |
| 231 as_found=false | |
| 232 done | |
| 233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | |
| 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | |
| 235 CONFIG_SHELL=$SHELL as_have_required=yes | |
| 236 fi; } | |
| 237 IFS=$as_save_IFS | |
| 238 | |
| 239 | |
| 240 if test "x$CONFIG_SHELL" != x; then : | |
| 241 export CONFIG_SHELL | |
| 242 # We cannot yet assume a decent shell, so we have to provide a | |
| 243 # neutralization value for shells without unset; and this also | |
| 244 # works around shells that cannot unset nonexistent variables. | |
| 245 # Preserve -v and -x to the replacement shell. | |
| 246 BASH_ENV=/dev/null | |
| 247 ENV=/dev/null | |
| 248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | |
| 249 case $- in # (((( | |
| 250 *v*x* | *x*v* ) as_opts=-vx ;; | |
| 251 *v* ) as_opts=-v ;; | |
| 252 *x* ) as_opts=-x ;; | |
| 253 * ) as_opts= ;; | |
| 254 esac | |
| 255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} | |
| 256 # Admittedly, this is quite paranoid, since all the known shells bail | |
| 257 # out after a failed `exec'. | |
| 258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 | |
| 259 exit 255 | |
| 260 fi | |
| 261 | |
| 262 if test x$as_have_required = xno; then : | |
| 263 $as_echo "$0: This script requires a shell more modern than all" | |
| 264 $as_echo "$0: the shells that I found on your system." | |
| 265 if test x${ZSH_VERSION+set} = xset ; then | |
| 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | |
| 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." | |
| 268 else | |
| 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and | |
| 270 $0: cannam@all-day-breakfast.com about your system, | |
| 271 $0: including any error possibly output before this | |
| 272 $0: message. Then install a modern shell, or manually run | |
| 273 $0: the script under such a shell if you do have one." | |
| 274 fi | |
| 275 exit 1 | |
| 276 fi | |
| 277 fi | |
| 278 fi | |
| 279 SHELL=${CONFIG_SHELL-/bin/sh} | |
| 280 export SHELL | |
| 281 # Unset more variables known to interfere with behavior of common tools. | |
| 282 CLICOLOR_FORCE= GREP_OPTIONS= | |
| 283 unset CLICOLOR_FORCE GREP_OPTIONS | |
| 284 | |
| 285 ## --------------------- ## | |
| 286 ## M4sh Shell Functions. ## | |
| 287 ## --------------------- ## | |
| 288 # as_fn_unset VAR | |
| 289 # --------------- | |
| 290 # Portably unset VAR. | |
| 291 as_fn_unset () | |
| 292 { | |
| 293 { eval $1=; unset $1;} | |
| 294 } | |
| 295 as_unset=as_fn_unset | |
| 296 | |
| 297 # as_fn_set_status STATUS | |
| 298 # ----------------------- | |
| 299 # Set $? to STATUS, without forking. | |
| 300 as_fn_set_status () | |
| 301 { | |
| 302 return $1 | |
| 303 } # as_fn_set_status | |
| 304 | |
| 305 # as_fn_exit STATUS | |
| 306 # ----------------- | |
| 307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 308 as_fn_exit () | |
| 309 { | |
| 310 set +e | |
| 311 as_fn_set_status $1 | |
| 312 exit $1 | |
| 313 } # as_fn_exit | |
| 314 | |
| 315 # as_fn_mkdir_p | |
| 316 # ------------- | |
| 317 # Create "$as_dir" as a directory, including parents if necessary. | |
| 318 as_fn_mkdir_p () | |
| 319 { | |
| 320 | |
| 321 case $as_dir in #( | |
| 322 -*) as_dir=./$as_dir;; | |
| 323 esac | |
| 324 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 325 as_dirs= | |
| 326 while :; do | |
| 327 case $as_dir in #( | |
| 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 329 *) as_qdir=$as_dir;; | |
| 330 esac | |
| 331 as_dirs="'$as_qdir' $as_dirs" | |
| 332 as_dir=`$as_dirname -- "$as_dir" || | |
| 333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 334 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 335 X"$as_dir" : 'X\(//\)$' \| \ | |
| 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 337 $as_echo X"$as_dir" | | |
| 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 339 s//\1/ | |
| 340 q | |
| 341 } | |
| 342 /^X\(\/\/\)[^/].*/{ | |
| 343 s//\1/ | |
| 344 q | |
| 345 } | |
| 346 /^X\(\/\/\)$/{ | |
| 347 s//\1/ | |
| 348 q | |
| 349 } | |
| 350 /^X\(\/\).*/{ | |
| 351 s//\1/ | |
| 352 q | |
| 353 } | |
| 354 s/.*/./; q'` | |
| 355 test -d "$as_dir" && break | |
| 356 done | |
| 357 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 359 | |
| 360 | |
| 361 } # as_fn_mkdir_p | |
| 362 | |
| 363 # as_fn_executable_p FILE | |
| 364 # ----------------------- | |
| 365 # Test if FILE is an executable regular file. | |
| 366 as_fn_executable_p () | |
| 367 { | |
| 368 test -f "$1" && test -x "$1" | |
| 369 } # as_fn_executable_p | |
| 370 # as_fn_append VAR VALUE | |
| 371 # ---------------------- | |
| 372 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 373 # advantage of any shell optimizations that allow amortized linear growth over | |
| 374 # repeated appends, instead of the typical quadratic growth present in naive | |
| 375 # implementations. | |
| 376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 377 eval 'as_fn_append () | |
| 378 { | |
| 379 eval $1+=\$2 | |
| 380 }' | |
| 381 else | |
| 382 as_fn_append () | |
| 383 { | |
| 384 eval $1=\$$1\$2 | |
| 385 } | |
| 386 fi # as_fn_append | |
| 387 | |
| 388 # as_fn_arith ARG... | |
| 389 # ------------------ | |
| 390 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 391 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 392 # must be portable across $(()) and expr. | |
| 393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 394 eval 'as_fn_arith () | |
| 395 { | |
| 396 as_val=$(( $* )) | |
| 397 }' | |
| 398 else | |
| 399 as_fn_arith () | |
| 400 { | |
| 401 as_val=`expr "$@" || test $? -eq 1` | |
| 402 } | |
| 403 fi # as_fn_arith | |
| 404 | |
| 405 | |
| 406 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 407 # ---------------------------------------- | |
| 408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 410 # script with STATUS, using 1 if that was 0. | |
| 411 as_fn_error () | |
| 412 { | |
| 413 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 414 if test "$4"; then | |
| 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 417 fi | |
| 418 $as_echo "$as_me: error: $2" >&2 | |
| 419 as_fn_exit $as_status | |
| 420 } # as_fn_error | |
| 421 | |
| 422 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 424 as_expr=expr | |
| 425 else | |
| 426 as_expr=false | |
| 427 fi | |
| 428 | |
| 429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 430 as_basename=basename | |
| 431 else | |
| 432 as_basename=false | |
| 433 fi | |
| 434 | |
| 435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 436 as_dirname=dirname | |
| 437 else | |
| 438 as_dirname=false | |
| 439 fi | |
| 440 | |
| 441 as_me=`$as_basename -- "$0" || | |
| 442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 443 X"$0" : 'X\(//\)$' \| \ | |
| 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 445 $as_echo X/"$0" | | |
| 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 447 s//\1/ | |
| 448 q | |
| 449 } | |
| 450 /^X\/\(\/\/\)$/{ | |
| 451 s//\1/ | |
| 452 q | |
| 453 } | |
| 454 /^X\/\(\/\).*/{ | |
| 455 s//\1/ | |
| 456 q | |
| 457 } | |
| 458 s/.*/./; q'` | |
| 459 | |
| 460 # Avoid depending upon Character Ranges. | |
| 461 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 464 as_cr_digits='0123456789' | |
| 465 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 466 | |
| 467 | |
| 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO | |
| 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO | |
| 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | |
| 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | |
| 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | |
| 473 sed -n ' | |
| 474 p | |
| 475 /[$]LINENO/= | |
| 476 ' <$as_myself | | |
| 477 sed ' | |
| 478 s/[$]LINENO.*/&-/ | |
| 479 t lineno | |
| 480 b | |
| 481 :lineno | |
| 482 N | |
| 483 :loop | |
| 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | |
| 485 t loop | |
| 486 s/-\n.*// | |
| 487 ' >$as_me.lineno && | |
| 488 chmod +x "$as_me.lineno" || | |
| 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | |
| 490 | |
| 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have | |
| 492 # already done that, so ensure we don't try to do so again and fall | |
| 493 # in an infinite loop. This has already happened in practice. | |
| 494 _as_can_reexec=no; export _as_can_reexec | |
| 495 # Don't try to exec as it changes $[0], causing all sort of problems | |
| 496 # (the dirname of $[0] is not the place where we might find the | |
| 497 # original and so on. Autoconf is especially sensitive to this). | |
| 498 . "./$as_me.lineno" | |
| 499 # Exit status is that of the last command. | |
| 500 exit | |
| 501 } | |
| 502 | |
| 503 ECHO_C= ECHO_N= ECHO_T= | |
| 504 case `echo -n x` in #((((( | |
| 505 -n*) | |
| 506 case `echo 'xy\c'` in | |
| 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 508 xy) ECHO_C='\c';; | |
| 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 510 ECHO_T=' ';; | |
| 511 esac;; | |
| 512 *) | |
| 513 ECHO_N='-n';; | |
| 514 esac | |
| 515 | |
| 516 rm -f conf$$ conf$$.exe conf$$.file | |
| 517 if test -d conf$$.dir; then | |
| 518 rm -f conf$$.dir/conf$$.file | |
| 519 else | |
| 520 rm -f conf$$.dir | |
| 521 mkdir conf$$.dir 2>/dev/null | |
| 522 fi | |
| 523 if (echo >conf$$.file) 2>/dev/null; then | |
| 524 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 525 as_ln_s='ln -s' | |
| 526 # ... but there are two gotchas: | |
| 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 529 # In both cases, we have to default to `cp -pR'. | |
| 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 531 as_ln_s='cp -pR' | |
| 532 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 533 as_ln_s=ln | |
| 534 else | |
| 535 as_ln_s='cp -pR' | |
| 536 fi | |
| 537 else | |
| 538 as_ln_s='cp -pR' | |
| 539 fi | |
| 540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 541 rmdir conf$$.dir 2>/dev/null | |
| 542 | |
| 543 if mkdir -p . 2>/dev/null; then | |
| 544 as_mkdir_p='mkdir -p "$as_dir"' | |
| 545 else | |
| 546 test -d ./-p && rmdir ./-p | |
| 547 as_mkdir_p=false | |
| 548 fi | |
| 549 | |
| 550 as_test_x='test -x' | |
| 551 as_executable_p=as_fn_executable_p | |
| 552 | |
| 553 # Sed expression to map a string onto a valid CPP name. | |
| 554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 555 | |
| 556 # Sed expression to map a string onto a valid variable name. | |
| 557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 558 | |
| 559 | |
| 560 test -n "$DJDIR" || exec 7<&0 </dev/null | |
| 561 exec 6>&1 | |
| 562 | |
| 563 # Name of the host. | |
| 564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | |
| 565 # so uname gets run too. | |
| 566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 567 | |
| 568 # | |
| 569 # Initializations. | |
| 570 # | |
| 571 ac_default_prefix=/usr/local | |
| 572 ac_clean_files= | |
| 573 ac_config_libobj_dir=. | |
| 574 LIBOBJS= | |
| 575 cross_compiling=no | |
| 576 subdirs= | |
| 577 MFLAGS= | |
| 578 MAKEFLAGS= | |
| 579 | |
| 580 # Identity of this package. | |
| 581 PACKAGE_NAME='vamp-plugin-sdk' | |
| 582 PACKAGE_TARNAME='vamp-plugin-sdk' | |
| 583 PACKAGE_VERSION='2.5' | |
| 584 PACKAGE_STRING='vamp-plugin-sdk 2.5' | |
| 585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' | |
| 586 PACKAGE_URL='' | |
| 587 | |
| 588 ac_unique_file="vamp/vamp.h" | |
| 589 # Factoring default headers for most tests. | |
| 590 ac_includes_default="\ | |
| 591 #include <stdio.h> | |
| 592 #ifdef HAVE_SYS_TYPES_H | |
| 593 # include <sys/types.h> | |
| 594 #endif | |
| 595 #ifdef HAVE_SYS_STAT_H | |
| 596 # include <sys/stat.h> | |
| 597 #endif | |
| 598 #ifdef STDC_HEADERS | |
| 599 # include <stdlib.h> | |
| 600 # include <stddef.h> | |
| 601 #else | |
| 602 # ifdef HAVE_STDLIB_H | |
| 603 # include <stdlib.h> | |
| 604 # endif | |
| 605 #endif | |
| 606 #ifdef HAVE_STRING_H | |
| 607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | |
| 608 # include <memory.h> | |
| 609 # endif | |
| 610 # include <string.h> | |
| 611 #endif | |
| 612 #ifdef HAVE_STRINGS_H | |
| 613 # include <strings.h> | |
| 614 #endif | |
| 615 #ifdef HAVE_INTTYPES_H | |
| 616 # include <inttypes.h> | |
| 617 #endif | |
| 618 #ifdef HAVE_STDINT_H | |
| 619 # include <stdint.h> | |
| 620 #endif | |
| 621 #ifdef HAVE_UNISTD_H | |
| 622 # include <unistd.h> | |
| 623 #endif" | |
| 624 | |
| 625 ac_subst_vars='LTLIBOBJS | |
| 626 LIBOBJS | |
| 627 TARGETS | |
| 628 SNDFILE_LIBS | |
| 629 SNDFILE_CFLAGS | |
| 630 PKG_CONFIG_LIBDIR | |
| 631 PKG_CONFIG_PATH | |
| 632 PKG_CONFIG | |
| 633 EGREP | |
| 634 GREP | |
| 635 CPP | |
| 636 ac_ct_CC | |
| 637 CFLAGS | |
| 638 CC | |
| 639 OBJEXT | |
| 640 EXEEXT | |
| 641 ac_ct_CXX | |
| 642 CPPFLAGS | |
| 643 LDFLAGS | |
| 644 CXXFLAGS | |
| 645 CXX | |
| 646 target_alias | |
| 647 host_alias | |
| 648 build_alias | |
| 649 LIBS | |
| 650 ECHO_T | |
| 651 ECHO_N | |
| 652 ECHO_C | |
| 653 DEFS | |
| 654 mandir | |
| 655 localedir | |
| 656 libdir | |
| 657 psdir | |
| 658 pdfdir | |
| 659 dvidir | |
| 660 htmldir | |
| 661 infodir | |
| 662 docdir | |
| 663 oldincludedir | |
| 664 includedir | |
| 665 localstatedir | |
| 666 sharedstatedir | |
| 667 sysconfdir | |
| 668 datadir | |
| 669 datarootdir | |
| 670 libexecdir | |
| 671 sbindir | |
| 672 bindir | |
| 673 program_transform_name | |
| 674 prefix | |
| 675 exec_prefix | |
| 676 PACKAGE_URL | |
| 677 PACKAGE_BUGREPORT | |
| 678 PACKAGE_STRING | |
| 679 PACKAGE_VERSION | |
| 680 PACKAGE_TARNAME | |
| 681 PACKAGE_NAME | |
| 682 PATH_SEPARATOR | |
| 683 SHELL' | |
| 684 ac_subst_files='' | |
| 685 ac_user_opts=' | |
| 686 enable_option_checking | |
| 687 enable_programs | |
| 688 ' | |
| 689 ac_precious_vars='build_alias | |
| 690 host_alias | |
| 691 target_alias | |
| 692 CXX | |
| 693 CXXFLAGS | |
| 694 LDFLAGS | |
| 695 LIBS | |
| 696 CPPFLAGS | |
| 697 CCC | |
| 698 CC | |
| 699 CFLAGS | |
| 700 CPP | |
| 701 PKG_CONFIG | |
| 702 PKG_CONFIG_PATH | |
| 703 PKG_CONFIG_LIBDIR | |
| 704 SNDFILE_CFLAGS | |
| 705 SNDFILE_LIBS' | |
| 706 | |
| 707 | |
| 708 # Initialize some variables set by options. | |
| 709 ac_init_help= | |
| 710 ac_init_version=false | |
| 711 ac_unrecognized_opts= | |
| 712 ac_unrecognized_sep= | |
| 713 # The variables have the same names as the options, with | |
| 714 # dashes changed to underlines. | |
| 715 cache_file=/dev/null | |
| 716 exec_prefix=NONE | |
| 717 no_create= | |
| 718 no_recursion= | |
| 719 prefix=NONE | |
| 720 program_prefix=NONE | |
| 721 program_suffix=NONE | |
| 722 program_transform_name=s,x,x, | |
| 723 silent= | |
| 724 site= | |
| 725 srcdir= | |
| 726 verbose= | |
| 727 x_includes=NONE | |
| 728 x_libraries=NONE | |
| 729 | |
| 730 # Installation directory options. | |
| 731 # These are left unexpanded so users can "make install exec_prefix=/foo" | |
| 732 # and all the variables that are supposed to be based on exec_prefix | |
| 733 # by default will actually change. | |
| 734 # Use braces instead of parens because sh, perl, etc. also accept them. | |
| 735 # (The list follows the same order as the GNU Coding Standards.) | |
| 736 bindir='${exec_prefix}/bin' | |
| 737 sbindir='${exec_prefix}/sbin' | |
| 738 libexecdir='${exec_prefix}/libexec' | |
| 739 datarootdir='${prefix}/share' | |
| 740 datadir='${datarootdir}' | |
| 741 sysconfdir='${prefix}/etc' | |
| 742 sharedstatedir='${prefix}/com' | |
| 743 localstatedir='${prefix}/var' | |
| 744 includedir='${prefix}/include' | |
| 745 oldincludedir='/usr/include' | |
| 746 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | |
| 747 infodir='${datarootdir}/info' | |
| 748 htmldir='${docdir}' | |
| 749 dvidir='${docdir}' | |
| 750 pdfdir='${docdir}' | |
| 751 psdir='${docdir}' | |
| 752 libdir='${exec_prefix}/lib' | |
| 753 localedir='${datarootdir}/locale' | |
| 754 mandir='${datarootdir}/man' | |
| 755 | |
| 756 ac_prev= | |
| 757 ac_dashdash= | |
| 758 for ac_option | |
| 759 do | |
| 760 # If the previous option needs an argument, assign it. | |
| 761 if test -n "$ac_prev"; then | |
| 762 eval $ac_prev=\$ac_option | |
| 763 ac_prev= | |
| 764 continue | |
| 765 fi | |
| 766 | |
| 767 case $ac_option in | |
| 768 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | |
| 769 *=) ac_optarg= ;; | |
| 770 *) ac_optarg=yes ;; | |
| 771 esac | |
| 772 | |
| 773 # Accept the important Cygnus configure options, so we can diagnose typos. | |
| 774 | |
| 775 case $ac_dashdash$ac_option in | |
| 776 --) | |
| 777 ac_dashdash=yes ;; | |
| 778 | |
| 779 -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
| 780 ac_prev=bindir ;; | |
| 781 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
| 782 bindir=$ac_optarg ;; | |
| 783 | |
| 784 -build | --build | --buil | --bui | --bu) | |
| 785 ac_prev=build_alias ;; | |
| 786 -build=* | --build=* | --buil=* | --bui=* | --bu=*) | |
| 787 build_alias=$ac_optarg ;; | |
| 788 | |
| 789 -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
| 790 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
| 791 ac_prev=cache_file ;; | |
| 792 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
| 793 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
| 794 cache_file=$ac_optarg ;; | |
| 795 | |
| 796 --config-cache | -C) | |
| 797 cache_file=config.cache ;; | |
| 798 | |
| 799 -datadir | --datadir | --datadi | --datad) | |
| 800 ac_prev=datadir ;; | |
| 801 -datadir=* | --datadir=* | --datadi=* | --datad=*) | |
| 802 datadir=$ac_optarg ;; | |
| 803 | |
| 804 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | |
| 805 | --dataroo | --dataro | --datar) | |
| 806 ac_prev=datarootdir ;; | |
| 807 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | |
| 808 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | |
| 809 datarootdir=$ac_optarg ;; | |
| 810 | |
| 811 -disable-* | --disable-*) | |
| 812 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | |
| 813 # Reject names that are not valid shell variable names. | |
| 814 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 815 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 816 ac_useropt_orig=$ac_useropt | |
| 817 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 818 case $ac_user_opts in | |
| 819 *" | |
| 820 "enable_$ac_useropt" | |
| 821 "*) ;; | |
| 822 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | |
| 823 ac_unrecognized_sep=', ';; | |
| 824 esac | |
| 825 eval enable_$ac_useropt=no ;; | |
| 826 | |
| 827 -docdir | --docdir | --docdi | --doc | --do) | |
| 828 ac_prev=docdir ;; | |
| 829 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | |
| 830 docdir=$ac_optarg ;; | |
| 831 | |
| 832 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | |
| 833 ac_prev=dvidir ;; | |
| 834 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | |
| 835 dvidir=$ac_optarg ;; | |
| 836 | |
| 837 -enable-* | --enable-*) | |
| 838 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | |
| 839 # Reject names that are not valid shell variable names. | |
| 840 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 841 as_fn_error $? "invalid feature name: $ac_useropt" | |
| 842 ac_useropt_orig=$ac_useropt | |
| 843 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 844 case $ac_user_opts in | |
| 845 *" | |
| 846 "enable_$ac_useropt" | |
| 847 "*) ;; | |
| 848 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | |
| 849 ac_unrecognized_sep=', ';; | |
| 850 esac | |
| 851 eval enable_$ac_useropt=\$ac_optarg ;; | |
| 852 | |
| 853 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
| 854 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
| 855 | --exec | --exe | --ex) | |
| 856 ac_prev=exec_prefix ;; | |
| 857 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
| 858 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
| 859 | --exec=* | --exe=* | --ex=*) | |
| 860 exec_prefix=$ac_optarg ;; | |
| 861 | |
| 862 -gas | --gas | --ga | --g) | |
| 863 # Obsolete; use --with-gas. | |
| 864 with_gas=yes ;; | |
| 865 | |
| 866 -help | --help | --hel | --he | -h) | |
| 867 ac_init_help=long ;; | |
| 868 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
| 869 ac_init_help=recursive ;; | |
| 870 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
| 871 ac_init_help=short ;; | |
| 872 | |
| 873 -host | --host | --hos | --ho) | |
| 874 ac_prev=host_alias ;; | |
| 875 -host=* | --host=* | --hos=* | --ho=*) | |
| 876 host_alias=$ac_optarg ;; | |
| 877 | |
| 878 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | |
| 879 ac_prev=htmldir ;; | |
| 880 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | |
| 881 | --ht=*) | |
| 882 htmldir=$ac_optarg ;; | |
| 883 | |
| 884 -includedir | --includedir | --includedi | --included | --include \ | |
| 885 | --includ | --inclu | --incl | --inc) | |
| 886 ac_prev=includedir ;; | |
| 887 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
| 888 | --includ=* | --inclu=* | --incl=* | --inc=*) | |
| 889 includedir=$ac_optarg ;; | |
| 890 | |
| 891 -infodir | --infodir | --infodi | --infod | --info | --inf) | |
| 892 ac_prev=infodir ;; | |
| 893 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
| 894 infodir=$ac_optarg ;; | |
| 895 | |
| 896 -libdir | --libdir | --libdi | --libd) | |
| 897 ac_prev=libdir ;; | |
| 898 -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
| 899 libdir=$ac_optarg ;; | |
| 900 | |
| 901 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
| 902 | --libexe | --libex | --libe) | |
| 903 ac_prev=libexecdir ;; | |
| 904 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
| 905 | --libexe=* | --libex=* | --libe=*) | |
| 906 libexecdir=$ac_optarg ;; | |
| 907 | |
| 908 -localedir | --localedir | --localedi | --localed | --locale) | |
| 909 ac_prev=localedir ;; | |
| 910 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | |
| 911 localedir=$ac_optarg ;; | |
| 912 | |
| 913 -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
| 914 | --localstate | --localstat | --localsta | --localst | --locals) | |
| 915 ac_prev=localstatedir ;; | |
| 916 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
| 917 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | |
| 918 localstatedir=$ac_optarg ;; | |
| 919 | |
| 920 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
| 921 ac_prev=mandir ;; | |
| 922 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
| 923 mandir=$ac_optarg ;; | |
| 924 | |
| 925 -nfp | --nfp | --nf) | |
| 926 # Obsolete; use --without-fp. | |
| 927 with_fp=no ;; | |
| 928 | |
| 929 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
| 930 | --no-cr | --no-c | -n) | |
| 931 no_create=yes ;; | |
| 932 | |
| 933 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
| 934 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
| 935 no_recursion=yes ;; | |
| 936 | |
| 937 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
| 938 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
| 939 | --oldin | --oldi | --old | --ol | --o) | |
| 940 ac_prev=oldincludedir ;; | |
| 941 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
| 942 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
| 943 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
| 944 oldincludedir=$ac_optarg ;; | |
| 945 | |
| 946 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
| 947 ac_prev=prefix ;; | |
| 948 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
| 949 prefix=$ac_optarg ;; | |
| 950 | |
| 951 -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
| 952 | --program-pre | --program-pr | --program-p) | |
| 953 ac_prev=program_prefix ;; | |
| 954 -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
| 955 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
| 956 program_prefix=$ac_optarg ;; | |
| 957 | |
| 958 -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
| 959 | --program-suf | --program-su | --program-s) | |
| 960 ac_prev=program_suffix ;; | |
| 961 -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
| 962 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
| 963 program_suffix=$ac_optarg ;; | |
| 964 | |
| 965 -program-transform-name | --program-transform-name \ | |
| 966 | --program-transform-nam | --program-transform-na \ | |
| 967 | --program-transform-n | --program-transform- \ | |
| 968 | --program-transform | --program-transfor \ | |
| 969 | --program-transfo | --program-transf \ | |
| 970 | --program-trans | --program-tran \ | |
| 971 | --progr-tra | --program-tr | --program-t) | |
| 972 ac_prev=program_transform_name ;; | |
| 973 -program-transform-name=* | --program-transform-name=* \ | |
| 974 | --program-transform-nam=* | --program-transform-na=* \ | |
| 975 | --program-transform-n=* | --program-transform-=* \ | |
| 976 | --program-transform=* | --program-transfor=* \ | |
| 977 | --program-transfo=* | --program-transf=* \ | |
| 978 | --program-trans=* | --program-tran=* \ | |
| 979 | --progr-tra=* | --program-tr=* | --program-t=*) | |
| 980 program_transform_name=$ac_optarg ;; | |
| 981 | |
| 982 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | |
| 983 ac_prev=pdfdir ;; | |
| 984 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | |
| 985 pdfdir=$ac_optarg ;; | |
| 986 | |
| 987 -psdir | --psdir | --psdi | --psd | --ps) | |
| 988 ac_prev=psdir ;; | |
| 989 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | |
| 990 psdir=$ac_optarg ;; | |
| 991 | |
| 992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 993 | -silent | --silent | --silen | --sile | --sil) | |
| 994 silent=yes ;; | |
| 995 | |
| 996 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
| 997 ac_prev=sbindir ;; | |
| 998 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
| 999 | --sbi=* | --sb=*) | |
| 1000 sbindir=$ac_optarg ;; | |
| 1001 | |
| 1002 -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
| 1003 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
| 1004 | --sharedst | --shareds | --shared | --share | --shar \ | |
| 1005 | --sha | --sh) | |
| 1006 ac_prev=sharedstatedir ;; | |
| 1007 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
| 1008 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
| 1009 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
| 1010 | --sha=* | --sh=*) | |
| 1011 sharedstatedir=$ac_optarg ;; | |
| 1012 | |
| 1013 -site | --site | --sit) | |
| 1014 ac_prev=site ;; | |
| 1015 -site=* | --site=* | --sit=*) | |
| 1016 site=$ac_optarg ;; | |
| 1017 | |
| 1018 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
| 1019 ac_prev=srcdir ;; | |
| 1020 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
| 1021 srcdir=$ac_optarg ;; | |
| 1022 | |
| 1023 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
| 1024 | --syscon | --sysco | --sysc | --sys | --sy) | |
| 1025 ac_prev=sysconfdir ;; | |
| 1026 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
| 1027 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
| 1028 sysconfdir=$ac_optarg ;; | |
| 1029 | |
| 1030 -target | --target | --targe | --targ | --tar | --ta | --t) | |
| 1031 ac_prev=target_alias ;; | |
| 1032 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | |
| 1033 target_alias=$ac_optarg ;; | |
| 1034 | |
| 1035 -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
| 1036 verbose=yes ;; | |
| 1037 | |
| 1038 -version | --version | --versio | --versi | --vers | -V) | |
| 1039 ac_init_version=: ;; | |
| 1040 | |
| 1041 -with-* | --with-*) | |
| 1042 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | |
| 1043 # Reject names that are not valid shell variable names. | |
| 1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1045 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1046 ac_useropt_orig=$ac_useropt | |
| 1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1048 case $ac_user_opts in | |
| 1049 *" | |
| 1050 "with_$ac_useropt" | |
| 1051 "*) ;; | |
| 1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | |
| 1053 ac_unrecognized_sep=', ';; | |
| 1054 esac | |
| 1055 eval with_$ac_useropt=\$ac_optarg ;; | |
| 1056 | |
| 1057 -without-* | --without-*) | |
| 1058 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | |
| 1059 # Reject names that are not valid shell variable names. | |
| 1060 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | |
| 1061 as_fn_error $? "invalid package name: $ac_useropt" | |
| 1062 ac_useropt_orig=$ac_useropt | |
| 1063 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | |
| 1064 case $ac_user_opts in | |
| 1065 *" | |
| 1066 "with_$ac_useropt" | |
| 1067 "*) ;; | |
| 1068 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | |
| 1069 ac_unrecognized_sep=', ';; | |
| 1070 esac | |
| 1071 eval with_$ac_useropt=no ;; | |
| 1072 | |
| 1073 --x) | |
| 1074 # Obsolete; use --with-x. | |
| 1075 with_x=yes ;; | |
| 1076 | |
| 1077 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
| 1078 | --x-incl | --x-inc | --x-in | --x-i) | |
| 1079 ac_prev=x_includes ;; | |
| 1080 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
| 1081 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
| 1082 x_includes=$ac_optarg ;; | |
| 1083 | |
| 1084 -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
| 1085 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
| 1086 ac_prev=x_libraries ;; | |
| 1087 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
| 1088 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
| 1089 x_libraries=$ac_optarg ;; | |
| 1090 | |
| 1091 -*) as_fn_error $? "unrecognized option: \`$ac_option' | |
| 1092 Try \`$0 --help' for more information" | |
| 1093 ;; | |
| 1094 | |
| 1095 *=*) | |
| 1096 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
| 1097 # Reject names that are not valid shell variable names. | |
| 1098 case $ac_envvar in #( | |
| 1099 '' | [0-9]* | *[!_$as_cr_alnum]* ) | |
| 1100 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | |
| 1101 esac | |
| 1102 eval $ac_envvar=\$ac_optarg | |
| 1103 export $ac_envvar ;; | |
| 1104 | |
| 1105 *) | |
| 1106 # FIXME: should be removed in autoconf 3.0. | |
| 1107 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
| 1108 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
| 1109 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
| 1110 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | |
| 1111 ;; | |
| 1112 | |
| 1113 esac | |
| 1114 done | |
| 1115 | |
| 1116 if test -n "$ac_prev"; then | |
| 1117 ac_option=--`echo $ac_prev | sed 's/_/-/g'` | |
| 1118 as_fn_error $? "missing argument to $ac_option" | |
| 1119 fi | |
| 1120 | |
| 1121 if test -n "$ac_unrecognized_opts"; then | |
| 1122 case $enable_option_checking in | |
| 1123 no) ;; | |
| 1124 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | |
| 1125 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | |
| 1126 esac | |
| 1127 fi | |
| 1128 | |
| 1129 # Check all directory arguments for consistency. | |
| 1130 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | |
| 1131 datadir sysconfdir sharedstatedir localstatedir includedir \ | |
| 1132 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | |
| 1133 libdir localedir mandir | |
| 1134 do | |
| 1135 eval ac_val=\$$ac_var | |
| 1136 # Remove trailing slashes. | |
| 1137 case $ac_val in | |
| 1138 */ ) | |
| 1139 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | |
| 1140 eval $ac_var=\$ac_val;; | |
| 1141 esac | |
| 1142 # Be sure to have absolute directory names. | |
| 1143 case $ac_val in | |
| 1144 [\\/$]* | ?:[\\/]* ) continue;; | |
| 1145 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | |
| 1146 esac | |
| 1147 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | |
| 1148 done | |
| 1149 | |
| 1150 # There might be people who depend on the old broken behavior: `$host' | |
| 1151 # used to hold the argument of --host etc. | |
| 1152 # FIXME: To remove some day. | |
| 1153 build=$build_alias | |
| 1154 host=$host_alias | |
| 1155 target=$target_alias | |
| 1156 | |
| 1157 # FIXME: To remove some day. | |
| 1158 if test "x$host_alias" != x; then | |
| 1159 if test "x$build_alias" = x; then | |
| 1160 cross_compiling=maybe | |
| 1161 elif test "x$build_alias" != "x$host_alias"; then | |
| 1162 cross_compiling=yes | |
| 1163 fi | |
| 1164 fi | |
| 1165 | |
| 1166 ac_tool_prefix= | |
| 1167 test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
| 1168 | |
| 1169 test "$silent" = yes && exec 6>/dev/null | |
| 1170 | |
| 1171 | |
| 1172 ac_pwd=`pwd` && test -n "$ac_pwd" && | |
| 1173 ac_ls_di=`ls -di .` && | |
| 1174 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | |
| 1175 as_fn_error $? "working directory cannot be determined" | |
| 1176 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | |
| 1177 as_fn_error $? "pwd does not report name of working directory" | |
| 1178 | |
| 1179 | |
| 1180 # Find the source files, if location was not specified. | |
| 1181 if test -z "$srcdir"; then | |
| 1182 ac_srcdir_defaulted=yes | |
| 1183 # Try the directory containing this script, then the parent directory. | |
| 1184 ac_confdir=`$as_dirname -- "$as_myself" || | |
| 1185 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 1186 X"$as_myself" : 'X\(//\)[^/]' \| \ | |
| 1187 X"$as_myself" : 'X\(//\)$' \| \ | |
| 1188 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | |
| 1189 $as_echo X"$as_myself" | | |
| 1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 1191 s//\1/ | |
| 1192 q | |
| 1193 } | |
| 1194 /^X\(\/\/\)[^/].*/{ | |
| 1195 s//\1/ | |
| 1196 q | |
| 1197 } | |
| 1198 /^X\(\/\/\)$/{ | |
| 1199 s//\1/ | |
| 1200 q | |
| 1201 } | |
| 1202 /^X\(\/\).*/{ | |
| 1203 s//\1/ | |
| 1204 q | |
| 1205 } | |
| 1206 s/.*/./; q'` | |
| 1207 srcdir=$ac_confdir | |
| 1208 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1209 srcdir=.. | |
| 1210 fi | |
| 1211 else | |
| 1212 ac_srcdir_defaulted=no | |
| 1213 fi | |
| 1214 if test ! -r "$srcdir/$ac_unique_file"; then | |
| 1215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | |
| 1216 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | |
| 1217 fi | |
| 1218 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | |
| 1219 ac_abs_confdir=`( | |
| 1220 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | |
| 1221 pwd)` | |
| 1222 # When building in place, set srcdir=. | |
| 1223 if test "$ac_abs_confdir" = "$ac_pwd"; then | |
| 1224 srcdir=. | |
| 1225 fi | |
| 1226 # Remove unnecessary trailing slashes from srcdir. | |
| 1227 # Double slashes in file names in object file debugging info | |
| 1228 # mess up M-x gdb in Emacs. | |
| 1229 case $srcdir in | |
| 1230 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | |
| 1231 esac | |
| 1232 for ac_var in $ac_precious_vars; do | |
| 1233 eval ac_env_${ac_var}_set=\${${ac_var}+set} | |
| 1234 eval ac_env_${ac_var}_value=\$${ac_var} | |
| 1235 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | |
| 1236 eval ac_cv_env_${ac_var}_value=\$${ac_var} | |
| 1237 done | |
| 1238 | |
| 1239 # | |
| 1240 # Report the --help message. | |
| 1241 # | |
| 1242 if test "$ac_init_help" = "long"; then | |
| 1243 # Omit some internal or obsolete options to make the list less imposing. | |
| 1244 # This message is too long to be a string in the A/UX 3.1 sh. | |
| 1245 cat <<_ACEOF | |
| 1246 \`configure' configures vamp-plugin-sdk 2.5 to adapt to many kinds of systems. | |
| 1247 | |
| 1248 Usage: $0 [OPTION]... [VAR=VALUE]... | |
| 1249 | |
| 1250 To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
| 1251 VAR=VALUE. See below for descriptions of some of the useful variables. | |
| 1252 | |
| 1253 Defaults for the options are specified in brackets. | |
| 1254 | |
| 1255 Configuration: | |
| 1256 -h, --help display this help and exit | |
| 1257 --help=short display options specific to this package | |
| 1258 --help=recursive display the short help of all the included packages | |
| 1259 -V, --version display version information and exit | |
| 1260 -q, --quiet, --silent do not print \`checking ...' messages | |
| 1261 --cache-file=FILE cache test results in FILE [disabled] | |
| 1262 -C, --config-cache alias for \`--cache-file=config.cache' | |
| 1263 -n, --no-create do not create output files | |
| 1264 --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
| 1265 | |
| 1266 Installation directories: | |
| 1267 --prefix=PREFIX install architecture-independent files in PREFIX | |
| 1268 [$ac_default_prefix] | |
| 1269 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
| 1270 [PREFIX] | |
| 1271 | |
| 1272 By default, \`make install' will install all the files in | |
| 1273 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
| 1274 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
| 1275 for instance \`--prefix=\$HOME'. | |
| 1276 | |
| 1277 For better control, use the options below. | |
| 1278 | |
| 1279 Fine tuning of the installation directories: | |
| 1280 --bindir=DIR user executables [EPREFIX/bin] | |
| 1281 --sbindir=DIR system admin executables [EPREFIX/sbin] | |
| 1282 --libexecdir=DIR program executables [EPREFIX/libexec] | |
| 1283 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
| 1284 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
| 1285 --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
| 1286 --libdir=DIR object code libraries [EPREFIX/lib] | |
| 1287 --includedir=DIR C header files [PREFIX/include] | |
| 1288 --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
| 1289 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | |
| 1290 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | |
| 1291 --infodir=DIR info documentation [DATAROOTDIR/info] | |
| 1292 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | |
| 1293 --mandir=DIR man documentation [DATAROOTDIR/man] | |
| 1294 --docdir=DIR documentation root [DATAROOTDIR/doc/vamp-plugin-sdk] | |
| 1295 --htmldir=DIR html documentation [DOCDIR] | |
| 1296 --dvidir=DIR dvi documentation [DOCDIR] | |
| 1297 --pdfdir=DIR pdf documentation [DOCDIR] | |
| 1298 --psdir=DIR ps documentation [DOCDIR] | |
| 1299 _ACEOF | |
| 1300 | |
| 1301 cat <<\_ACEOF | |
| 1302 _ACEOF | |
| 1303 fi | |
| 1304 | |
| 1305 if test -n "$ac_init_help"; then | |
| 1306 case $ac_init_help in | |
| 1307 short | recursive ) echo "Configuration of vamp-plugin-sdk 2.5:";; | |
| 1308 esac | |
| 1309 cat <<\_ACEOF | |
| 1310 | |
| 1311 Optional Features: | |
| 1312 --disable-option-checking ignore unrecognized --enable/--with options | |
| 1313 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | |
| 1314 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | |
| 1315 --enable-programs enable building of example host and RDF generator | |
| 1316 [default=yes] | |
| 1317 | |
| 1318 Some influential environment variables: | |
| 1319 CXX C++ compiler command | |
| 1320 CXXFLAGS C++ compiler flags | |
| 1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
| 1322 nonstandard directory <lib dir> | |
| 1323 LIBS libraries to pass to the linker, e.g. -l<library> | |
| 1324 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | |
| 1325 you have headers in a nonstandard directory <include dir> | |
| 1326 CC C compiler command | |
| 1327 CFLAGS C compiler flags | |
| 1328 CPP C preprocessor | |
| 1329 PKG_CONFIG path to pkg-config utility | |
| 1330 PKG_CONFIG_PATH | |
| 1331 directories to add to pkg-config's search path | |
| 1332 PKG_CONFIG_LIBDIR | |
| 1333 path overriding pkg-config's built-in search path | |
| 1334 SNDFILE_CFLAGS | |
| 1335 C compiler flags for SNDFILE, overriding pkg-config | |
| 1336 SNDFILE_LIBS | |
| 1337 linker flags for SNDFILE, overriding pkg-config | |
| 1338 | |
| 1339 Use these variables to override the choices made by `configure' or to help | |
| 1340 it to find libraries and programs with nonstandard names/locations. | |
| 1341 | |
| 1342 Report bugs to <cannam@all-day-breakfast.com>. | |
| 1343 _ACEOF | |
| 1344 ac_status=$? | |
| 1345 fi | |
| 1346 | |
| 1347 if test "$ac_init_help" = "recursive"; then | |
| 1348 # If there are subdirs, report their specific --help. | |
| 1349 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | |
| 1350 test -d "$ac_dir" || | |
| 1351 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | |
| 1352 continue | |
| 1353 ac_builddir=. | |
| 1354 | |
| 1355 case "$ac_dir" in | |
| 1356 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1357 *) | |
| 1358 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 1359 # A ".." for each directory in $ac_dir_suffix. | |
| 1360 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 1361 case $ac_top_builddir_sub in | |
| 1362 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 1363 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 1364 esac ;; | |
| 1365 esac | |
| 1366 ac_abs_top_builddir=$ac_pwd | |
| 1367 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 1368 # for backward compatibility: | |
| 1369 ac_top_builddir=$ac_top_build_prefix | |
| 1370 | |
| 1371 case $srcdir in | |
| 1372 .) # We are building in place. | |
| 1373 ac_srcdir=. | |
| 1374 ac_top_srcdir=$ac_top_builddir_sub | |
| 1375 ac_abs_top_srcdir=$ac_pwd ;; | |
| 1376 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 1377 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 1378 ac_top_srcdir=$srcdir | |
| 1379 ac_abs_top_srcdir=$srcdir ;; | |
| 1380 *) # Relative name. | |
| 1381 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 1382 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 1383 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 1384 esac | |
| 1385 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 1386 | |
| 1387 cd "$ac_dir" || { ac_status=$?; continue; } | |
| 1388 # Check for guested configure. | |
| 1389 if test -f "$ac_srcdir/configure.gnu"; then | |
| 1390 echo && | |
| 1391 $SHELL "$ac_srcdir/configure.gnu" --help=recursive | |
| 1392 elif test -f "$ac_srcdir/configure"; then | |
| 1393 echo && | |
| 1394 $SHELL "$ac_srcdir/configure" --help=recursive | |
| 1395 else | |
| 1396 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | |
| 1397 fi || ac_status=$? | |
| 1398 cd "$ac_pwd" || { ac_status=$?; break; } | |
| 1399 done | |
| 1400 fi | |
| 1401 | |
| 1402 test -n "$ac_init_help" && exit $ac_status | |
| 1403 if $ac_init_version; then | |
| 1404 cat <<\_ACEOF | |
| 1405 vamp-plugin-sdk configure 2.5 | |
| 1406 generated by GNU Autoconf 2.69 | |
| 1407 | |
| 1408 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 1409 This configure script is free software; the Free Software Foundation | |
| 1410 gives unlimited permission to copy, distribute and modify it. | |
| 1411 _ACEOF | |
| 1412 exit | |
| 1413 fi | |
| 1414 | |
| 1415 ## ------------------------ ## | |
| 1416 ## Autoconf initialization. ## | |
| 1417 ## ------------------------ ## | |
| 1418 | |
| 1419 # ac_fn_cxx_try_compile LINENO | |
| 1420 # ---------------------------- | |
| 1421 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1422 ac_fn_cxx_try_compile () | |
| 1423 { | |
| 1424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1425 rm -f conftest.$ac_objext | |
| 1426 if { { ac_try="$ac_compile" | |
| 1427 case "(($ac_try" in | |
| 1428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1429 *) ac_try_echo=$ac_try;; | |
| 1430 esac | |
| 1431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1432 $as_echo "$ac_try_echo"; } >&5 | |
| 1433 (eval "$ac_compile") 2>conftest.err | |
| 1434 ac_status=$? | |
| 1435 if test -s conftest.err; then | |
| 1436 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1437 cat conftest.er1 >&5 | |
| 1438 mv -f conftest.er1 conftest.err | |
| 1439 fi | |
| 1440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1441 test $ac_status = 0; } && { | |
| 1442 test -z "$ac_cxx_werror_flag" || | |
| 1443 test ! -s conftest.err | |
| 1444 } && test -s conftest.$ac_objext; then : | |
| 1445 ac_retval=0 | |
| 1446 else | |
| 1447 $as_echo "$as_me: failed program was:" >&5 | |
| 1448 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1449 | |
| 1450 ac_retval=1 | |
| 1451 fi | |
| 1452 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1453 as_fn_set_status $ac_retval | |
| 1454 | |
| 1455 } # ac_fn_cxx_try_compile | |
| 1456 | |
| 1457 # ac_fn_c_try_compile LINENO | |
| 1458 # -------------------------- | |
| 1459 # Try to compile conftest.$ac_ext, and return whether this succeeded. | |
| 1460 ac_fn_c_try_compile () | |
| 1461 { | |
| 1462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1463 rm -f conftest.$ac_objext | |
| 1464 if { { ac_try="$ac_compile" | |
| 1465 case "(($ac_try" in | |
| 1466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1467 *) ac_try_echo=$ac_try;; | |
| 1468 esac | |
| 1469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1470 $as_echo "$ac_try_echo"; } >&5 | |
| 1471 (eval "$ac_compile") 2>conftest.err | |
| 1472 ac_status=$? | |
| 1473 if test -s conftest.err; then | |
| 1474 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1475 cat conftest.er1 >&5 | |
| 1476 mv -f conftest.er1 conftest.err | |
| 1477 fi | |
| 1478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1479 test $ac_status = 0; } && { | |
| 1480 test -z "$ac_c_werror_flag" || | |
| 1481 test ! -s conftest.err | |
| 1482 } && test -s conftest.$ac_objext; then : | |
| 1483 ac_retval=0 | |
| 1484 else | |
| 1485 $as_echo "$as_me: failed program was:" >&5 | |
| 1486 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1487 | |
| 1488 ac_retval=1 | |
| 1489 fi | |
| 1490 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1491 as_fn_set_status $ac_retval | |
| 1492 | |
| 1493 } # ac_fn_c_try_compile | |
| 1494 | |
| 1495 # ac_fn_c_try_cpp LINENO | |
| 1496 # ---------------------- | |
| 1497 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | |
| 1498 ac_fn_c_try_cpp () | |
| 1499 { | |
| 1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1501 if { { ac_try="$ac_cpp conftest.$ac_ext" | |
| 1502 case "(($ac_try" in | |
| 1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1504 *) ac_try_echo=$ac_try;; | |
| 1505 esac | |
| 1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1507 $as_echo "$ac_try_echo"; } >&5 | |
| 1508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | |
| 1509 ac_status=$? | |
| 1510 if test -s conftest.err; then | |
| 1511 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1512 cat conftest.er1 >&5 | |
| 1513 mv -f conftest.er1 conftest.err | |
| 1514 fi | |
| 1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1516 test $ac_status = 0; } > conftest.i && { | |
| 1517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |
| 1518 test ! -s conftest.err | |
| 1519 }; then : | |
| 1520 ac_retval=0 | |
| 1521 else | |
| 1522 $as_echo "$as_me: failed program was:" >&5 | |
| 1523 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1524 | |
| 1525 ac_retval=1 | |
| 1526 fi | |
| 1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1528 as_fn_set_status $ac_retval | |
| 1529 | |
| 1530 } # ac_fn_c_try_cpp | |
| 1531 | |
| 1532 # ac_fn_c_try_run LINENO | |
| 1533 # ---------------------- | |
| 1534 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | |
| 1535 # that executables *can* be run. | |
| 1536 ac_fn_c_try_run () | |
| 1537 { | |
| 1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1539 if { { ac_try="$ac_link" | |
| 1540 case "(($ac_try" in | |
| 1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1542 *) ac_try_echo=$ac_try;; | |
| 1543 esac | |
| 1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1545 $as_echo "$ac_try_echo"; } >&5 | |
| 1546 (eval "$ac_link") 2>&5 | |
| 1547 ac_status=$? | |
| 1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1549 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | |
| 1550 { { case "(($ac_try" in | |
| 1551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1552 *) ac_try_echo=$ac_try;; | |
| 1553 esac | |
| 1554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1555 $as_echo "$ac_try_echo"; } >&5 | |
| 1556 (eval "$ac_try") 2>&5 | |
| 1557 ac_status=$? | |
| 1558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1559 test $ac_status = 0; }; }; then : | |
| 1560 ac_retval=0 | |
| 1561 else | |
| 1562 $as_echo "$as_me: program exited with status $ac_status" >&5 | |
| 1563 $as_echo "$as_me: failed program was:" >&5 | |
| 1564 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1565 | |
| 1566 ac_retval=$ac_status | |
| 1567 fi | |
| 1568 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1569 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1570 as_fn_set_status $ac_retval | |
| 1571 | |
| 1572 } # ac_fn_c_try_run | |
| 1573 | |
| 1574 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | |
| 1575 # ------------------------------------------------------- | |
| 1576 # Tests whether HEADER exists and can be compiled using the include files in | |
| 1577 # INCLUDES, setting the cache variable VAR accordingly. | |
| 1578 ac_fn_c_check_header_compile () | |
| 1579 { | |
| 1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | |
| 1582 $as_echo_n "checking for $2... " >&6; } | |
| 1583 if eval \${$3+:} false; then : | |
| 1584 $as_echo_n "(cached) " >&6 | |
| 1585 else | |
| 1586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 1587 /* end confdefs.h. */ | |
| 1588 $4 | |
| 1589 #include <$2> | |
| 1590 _ACEOF | |
| 1591 if ac_fn_c_try_compile "$LINENO"; then : | |
| 1592 eval "$3=yes" | |
| 1593 else | |
| 1594 eval "$3=no" | |
| 1595 fi | |
| 1596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 1597 fi | |
| 1598 eval ac_res=\$$3 | |
| 1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
| 1600 $as_echo "$ac_res" >&6; } | |
| 1601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1602 | |
| 1603 } # ac_fn_c_check_header_compile | |
| 1604 | |
| 1605 # ac_fn_c_try_link LINENO | |
| 1606 # ----------------------- | |
| 1607 # Try to link conftest.$ac_ext, and return whether this succeeded. | |
| 1608 ac_fn_c_try_link () | |
| 1609 { | |
| 1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 1611 rm -f conftest.$ac_objext conftest$ac_exeext | |
| 1612 if { { ac_try="$ac_link" | |
| 1613 case "(($ac_try" in | |
| 1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 1615 *) ac_try_echo=$ac_try;; | |
| 1616 esac | |
| 1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 1618 $as_echo "$ac_try_echo"; } >&5 | |
| 1619 (eval "$ac_link") 2>conftest.err | |
| 1620 ac_status=$? | |
| 1621 if test -s conftest.err; then | |
| 1622 grep -v '^ *+' conftest.err >conftest.er1 | |
| 1623 cat conftest.er1 >&5 | |
| 1624 mv -f conftest.er1 conftest.err | |
| 1625 fi | |
| 1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 1627 test $ac_status = 0; } && { | |
| 1628 test -z "$ac_c_werror_flag" || | |
| 1629 test ! -s conftest.err | |
| 1630 } && test -s conftest$ac_exeext && { | |
| 1631 test "$cross_compiling" = yes || | |
| 1632 test -x conftest$ac_exeext | |
| 1633 }; then : | |
| 1634 ac_retval=0 | |
| 1635 else | |
| 1636 $as_echo "$as_me: failed program was:" >&5 | |
| 1637 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 1638 | |
| 1639 ac_retval=1 | |
| 1640 fi | |
| 1641 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | |
| 1642 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | |
| 1643 # interfere with the next link command; also delete a directory that is | |
| 1644 # left behind by Apple's compiler. We do this before executing the actions. | |
| 1645 rm -rf conftest.dSYM conftest_ipa8_conftest.oo | |
| 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | |
| 1647 as_fn_set_status $ac_retval | |
| 1648 | |
| 1649 } # ac_fn_c_try_link | |
| 1650 cat >config.log <<_ACEOF | |
| 1651 This file contains any messages produced by compilers while | |
| 1652 running configure, to aid debugging if configure makes a mistake. | |
| 1653 | |
| 1654 It was created by vamp-plugin-sdk $as_me 2.5, which was | |
| 1655 generated by GNU Autoconf 2.69. Invocation command line was | |
| 1656 | |
| 1657 $ $0 $@ | |
| 1658 | |
| 1659 _ACEOF | |
| 1660 exec 5>>config.log | |
| 1661 { | |
| 1662 cat <<_ASUNAME | |
| 1663 ## --------- ## | |
| 1664 ## Platform. ## | |
| 1665 ## --------- ## | |
| 1666 | |
| 1667 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 1668 uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
| 1669 uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
| 1670 uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
| 1671 uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
| 1672 | |
| 1673 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
| 1674 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
| 1675 | |
| 1676 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
| 1677 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
| 1678 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
| 1679 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | |
| 1680 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
| 1681 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
| 1682 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
| 1683 | |
| 1684 _ASUNAME | |
| 1685 | |
| 1686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 1687 for as_dir in $PATH | |
| 1688 do | |
| 1689 IFS=$as_save_IFS | |
| 1690 test -z "$as_dir" && as_dir=. | |
| 1691 $as_echo "PATH: $as_dir" | |
| 1692 done | |
| 1693 IFS=$as_save_IFS | |
| 1694 | |
| 1695 } >&5 | |
| 1696 | |
| 1697 cat >&5 <<_ACEOF | |
| 1698 | |
| 1699 | |
| 1700 ## ----------- ## | |
| 1701 ## Core tests. ## | |
| 1702 ## ----------- ## | |
| 1703 | |
| 1704 _ACEOF | |
| 1705 | |
| 1706 | |
| 1707 # Keep a trace of the command line. | |
| 1708 # Strip out --no-create and --no-recursion so they do not pile up. | |
| 1709 # Strip out --silent because we don't want to record it for future runs. | |
| 1710 # Also quote any args containing shell meta-characters. | |
| 1711 # Make two passes to allow for proper duplicate-argument suppression. | |
| 1712 ac_configure_args= | |
| 1713 ac_configure_args0= | |
| 1714 ac_configure_args1= | |
| 1715 ac_must_keep_next=false | |
| 1716 for ac_pass in 1 2 | |
| 1717 do | |
| 1718 for ac_arg | |
| 1719 do | |
| 1720 case $ac_arg in | |
| 1721 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | |
| 1722 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 1723 | -silent | --silent | --silen | --sile | --sil) | |
| 1724 continue ;; | |
| 1725 *\'*) | |
| 1726 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1727 esac | |
| 1728 case $ac_pass in | |
| 1729 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | |
| 1730 2) | |
| 1731 as_fn_append ac_configure_args1 " '$ac_arg'" | |
| 1732 if test $ac_must_keep_next = true; then | |
| 1733 ac_must_keep_next=false # Got value, back to normal. | |
| 1734 else | |
| 1735 case $ac_arg in | |
| 1736 *=* | --config-cache | -C | -disable-* | --disable-* \ | |
| 1737 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | |
| 1738 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | |
| 1739 | -with-* | --with-* | -without-* | --without-* | --x) | |
| 1740 case "$ac_configure_args0 " in | |
| 1741 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | |
| 1742 esac | |
| 1743 ;; | |
| 1744 -* ) ac_must_keep_next=true ;; | |
| 1745 esac | |
| 1746 fi | |
| 1747 as_fn_append ac_configure_args " '$ac_arg'" | |
| 1748 ;; | |
| 1749 esac | |
| 1750 done | |
| 1751 done | |
| 1752 { ac_configure_args0=; unset ac_configure_args0;} | |
| 1753 { ac_configure_args1=; unset ac_configure_args1;} | |
| 1754 | |
| 1755 # When interrupted or exit'd, cleanup temporary files, and complete | |
| 1756 # config.log. We remove comments because anyway the quotes in there | |
| 1757 # would cause problems or look ugly. | |
| 1758 # WARNING: Use '\'' to represent an apostrophe within the trap. | |
| 1759 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | |
| 1760 trap 'exit_status=$? | |
| 1761 # Save into config.log some information that might help in debugging. | |
| 1762 { | |
| 1763 echo | |
| 1764 | |
| 1765 $as_echo "## ---------------- ## | |
| 1766 ## Cache variables. ## | |
| 1767 ## ---------------- ##" | |
| 1768 echo | |
| 1769 # The following way of writing the cache mishandles newlines in values, | |
| 1770 ( | |
| 1771 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | |
| 1772 eval ac_val=\$$ac_var | |
| 1773 case $ac_val in #( | |
| 1774 *${as_nl}*) | |
| 1775 case $ac_var in #( | |
| 1776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 1777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 1778 esac | |
| 1779 case $ac_var in #( | |
| 1780 _ | IFS | as_nl) ;; #( | |
| 1781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 1782 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 1783 esac ;; | |
| 1784 esac | |
| 1785 done | |
| 1786 (set) 2>&1 | | |
| 1787 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | |
| 1788 *${as_nl}ac_space=\ *) | |
| 1789 sed -n \ | |
| 1790 "s/'\''/'\''\\\\'\'''\''/g; | |
| 1791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | |
| 1792 ;; #( | |
| 1793 *) | |
| 1794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 1795 ;; | |
| 1796 esac | | |
| 1797 sort | |
| 1798 ) | |
| 1799 echo | |
| 1800 | |
| 1801 $as_echo "## ----------------- ## | |
| 1802 ## Output variables. ## | |
| 1803 ## ----------------- ##" | |
| 1804 echo | |
| 1805 for ac_var in $ac_subst_vars | |
| 1806 do | |
| 1807 eval ac_val=\$$ac_var | |
| 1808 case $ac_val in | |
| 1809 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1810 esac | |
| 1811 $as_echo "$ac_var='\''$ac_val'\''" | |
| 1812 done | sort | |
| 1813 echo | |
| 1814 | |
| 1815 if test -n "$ac_subst_files"; then | |
| 1816 $as_echo "## ------------------- ## | |
| 1817 ## File substitutions. ## | |
| 1818 ## ------------------- ##" | |
| 1819 echo | |
| 1820 for ac_var in $ac_subst_files | |
| 1821 do | |
| 1822 eval ac_val=\$$ac_var | |
| 1823 case $ac_val in | |
| 1824 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | |
| 1825 esac | |
| 1826 $as_echo "$ac_var='\''$ac_val'\''" | |
| 1827 done | sort | |
| 1828 echo | |
| 1829 fi | |
| 1830 | |
| 1831 if test -s confdefs.h; then | |
| 1832 $as_echo "## ----------- ## | |
| 1833 ## confdefs.h. ## | |
| 1834 ## ----------- ##" | |
| 1835 echo | |
| 1836 cat confdefs.h | |
| 1837 echo | |
| 1838 fi | |
| 1839 test "$ac_signal" != 0 && | |
| 1840 $as_echo "$as_me: caught signal $ac_signal" | |
| 1841 $as_echo "$as_me: exit $exit_status" | |
| 1842 } >&5 | |
| 1843 rm -f core *.core core.conftest.* && | |
| 1844 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | |
| 1845 exit $exit_status | |
| 1846 ' 0 | |
| 1847 for ac_signal in 1 2 13 15; do | |
| 1848 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | |
| 1849 done | |
| 1850 ac_signal=0 | |
| 1851 | |
| 1852 # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
| 1853 rm -f -r conftest* confdefs.h | |
| 1854 | |
| 1855 $as_echo "/* confdefs.h */" > confdefs.h | |
| 1856 | |
| 1857 # Predefined preprocessor variables. | |
| 1858 | |
| 1859 cat >>confdefs.h <<_ACEOF | |
| 1860 #define PACKAGE_NAME "$PACKAGE_NAME" | |
| 1861 _ACEOF | |
| 1862 | |
| 1863 cat >>confdefs.h <<_ACEOF | |
| 1864 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | |
| 1865 _ACEOF | |
| 1866 | |
| 1867 cat >>confdefs.h <<_ACEOF | |
| 1868 #define PACKAGE_VERSION "$PACKAGE_VERSION" | |
| 1869 _ACEOF | |
| 1870 | |
| 1871 cat >>confdefs.h <<_ACEOF | |
| 1872 #define PACKAGE_STRING "$PACKAGE_STRING" | |
| 1873 _ACEOF | |
| 1874 | |
| 1875 cat >>confdefs.h <<_ACEOF | |
| 1876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | |
| 1877 _ACEOF | |
| 1878 | |
| 1879 cat >>confdefs.h <<_ACEOF | |
| 1880 #define PACKAGE_URL "$PACKAGE_URL" | |
| 1881 _ACEOF | |
| 1882 | |
| 1883 | |
| 1884 # Let the site file select an alternate cache file if it wants to. | |
| 1885 # Prefer an explicitly selected file to automatically selected ones. | |
| 1886 ac_site_file1=NONE | |
| 1887 ac_site_file2=NONE | |
| 1888 if test -n "$CONFIG_SITE"; then | |
| 1889 # We do not want a PATH search for config.site. | |
| 1890 case $CONFIG_SITE in #(( | |
| 1891 -*) ac_site_file1=./$CONFIG_SITE;; | |
| 1892 */*) ac_site_file1=$CONFIG_SITE;; | |
| 1893 *) ac_site_file1=./$CONFIG_SITE;; | |
| 1894 esac | |
| 1895 elif test "x$prefix" != xNONE; then | |
| 1896 ac_site_file1=$prefix/share/config.site | |
| 1897 ac_site_file2=$prefix/etc/config.site | |
| 1898 else | |
| 1899 ac_site_file1=$ac_default_prefix/share/config.site | |
| 1900 ac_site_file2=$ac_default_prefix/etc/config.site | |
| 1901 fi | |
| 1902 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | |
| 1903 do | |
| 1904 test "x$ac_site_file" = xNONE && continue | |
| 1905 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | |
| 1906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | |
| 1907 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | |
| 1908 sed 's/^/| /' "$ac_site_file" >&5 | |
| 1909 . "$ac_site_file" \ | |
| 1910 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 1911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 1912 as_fn_error $? "failed to load site script $ac_site_file | |
| 1913 See \`config.log' for more details" "$LINENO" 5; } | |
| 1914 fi | |
| 1915 done | |
| 1916 | |
| 1917 if test -r "$cache_file"; then | |
| 1918 # Some versions of bash will fail to source /dev/null (special files | |
| 1919 # actually), so we avoid doing that. DJGPP emulates it as a regular file. | |
| 1920 if test /dev/null != "$cache_file" && test -f "$cache_file"; then | |
| 1921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | |
| 1922 $as_echo "$as_me: loading cache $cache_file" >&6;} | |
| 1923 case $cache_file in | |
| 1924 [\\/]* | ?:[\\/]* ) . "$cache_file";; | |
| 1925 *) . "./$cache_file";; | |
| 1926 esac | |
| 1927 fi | |
| 1928 else | |
| 1929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | |
| 1930 $as_echo "$as_me: creating cache $cache_file" >&6;} | |
| 1931 >$cache_file | |
| 1932 fi | |
| 1933 | |
| 1934 # Check that the precious variables saved in the cache have kept the same | |
| 1935 # value. | |
| 1936 ac_cache_corrupted=false | |
| 1937 for ac_var in $ac_precious_vars; do | |
| 1938 eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
| 1939 eval ac_new_set=\$ac_env_${ac_var}_set | |
| 1940 eval ac_old_val=\$ac_cv_env_${ac_var}_value | |
| 1941 eval ac_new_val=\$ac_env_${ac_var}_value | |
| 1942 case $ac_old_set,$ac_new_set in | |
| 1943 set,) | |
| 1944 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | |
| 1945 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | |
| 1946 ac_cache_corrupted=: ;; | |
| 1947 ,set) | |
| 1948 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | |
| 1949 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | |
| 1950 ac_cache_corrupted=: ;; | |
| 1951 ,);; | |
| 1952 *) | |
| 1953 if test "x$ac_old_val" != "x$ac_new_val"; then | |
| 1954 # differences in whitespace do not lead to failure. | |
| 1955 ac_old_val_w=`echo x $ac_old_val` | |
| 1956 ac_new_val_w=`echo x $ac_new_val` | |
| 1957 if test "$ac_old_val_w" != "$ac_new_val_w"; then | |
| 1958 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | |
| 1959 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | |
| 1960 ac_cache_corrupted=: | |
| 1961 else | |
| 1962 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | |
| 1963 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | |
| 1964 eval $ac_var=\$ac_old_val | |
| 1965 fi | |
| 1966 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | |
| 1967 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | |
| 1968 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | |
| 1969 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | |
| 1970 fi;; | |
| 1971 esac | |
| 1972 # Pass precious variables to config.status. | |
| 1973 if test "$ac_new_set" = set; then | |
| 1974 case $ac_new_val in | |
| 1975 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 1976 *) ac_arg=$ac_var=$ac_new_val ;; | |
| 1977 esac | |
| 1978 case " $ac_configure_args " in | |
| 1979 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | |
| 1980 *) as_fn_append ac_configure_args " '$ac_arg'" ;; | |
| 1981 esac | |
| 1982 fi | |
| 1983 done | |
| 1984 if $ac_cache_corrupted; then | |
| 1985 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 1986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 1987 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | |
| 1988 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | |
| 1989 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | |
| 1990 fi | |
| 1991 ## -------------------- ## | |
| 1992 ## Main body of script. ## | |
| 1993 ## -------------------- ## | |
| 1994 | |
| 1995 ac_ext=c | |
| 1996 ac_cpp='$CPP $CPPFLAGS' | |
| 1997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 1998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 1999 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2000 | |
| 2001 | |
| 2002 | |
| 2003 | |
| 2004 ac_ext=cpp | |
| 2005 ac_cpp='$CXXCPP $CPPFLAGS' | |
| 2006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | |
| 2009 if test -z "$CXX"; then | |
| 2010 if test -n "$CCC"; then | |
| 2011 CXX=$CCC | |
| 2012 else | |
| 2013 if test -n "$ac_tool_prefix"; then | |
| 2014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 2015 do | |
| 2016 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 2017 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2019 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2020 if ${ac_cv_prog_CXX+:} false; then : | |
| 2021 $as_echo_n "(cached) " >&6 | |
| 2022 else | |
| 2023 if test -n "$CXX"; then | |
| 2024 ac_cv_prog_CXX="$CXX" # Let the user override the test. | |
| 2025 else | |
| 2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2027 for as_dir in $PATH | |
| 2028 do | |
| 2029 IFS=$as_save_IFS | |
| 2030 test -z "$as_dir" && as_dir=. | |
| 2031 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2033 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | |
| 2034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2035 break 2 | |
| 2036 fi | |
| 2037 done | |
| 2038 done | |
| 2039 IFS=$as_save_IFS | |
| 2040 | |
| 2041 fi | |
| 2042 fi | |
| 2043 CXX=$ac_cv_prog_CXX | |
| 2044 if test -n "$CXX"; then | |
| 2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | |
| 2046 $as_echo "$CXX" >&6; } | |
| 2047 else | |
| 2048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2049 $as_echo "no" >&6; } | |
| 2050 fi | |
| 2051 | |
| 2052 | |
| 2053 test -n "$CXX" && break | |
| 2054 done | |
| 2055 fi | |
| 2056 if test -z "$CXX"; then | |
| 2057 ac_ct_CXX=$CXX | |
| 2058 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | |
| 2059 do | |
| 2060 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2061 set dummy $ac_prog; ac_word=$2 | |
| 2062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2063 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2064 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | |
| 2065 $as_echo_n "(cached) " >&6 | |
| 2066 else | |
| 2067 if test -n "$ac_ct_CXX"; then | |
| 2068 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | |
| 2069 else | |
| 2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2071 for as_dir in $PATH | |
| 2072 do | |
| 2073 IFS=$as_save_IFS | |
| 2074 test -z "$as_dir" && as_dir=. | |
| 2075 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2077 ac_cv_prog_ac_ct_CXX="$ac_prog" | |
| 2078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2079 break 2 | |
| 2080 fi | |
| 2081 done | |
| 2082 done | |
| 2083 IFS=$as_save_IFS | |
| 2084 | |
| 2085 fi | |
| 2086 fi | |
| 2087 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | |
| 2088 if test -n "$ac_ct_CXX"; then | |
| 2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | |
| 2090 $as_echo "$ac_ct_CXX" >&6; } | |
| 2091 else | |
| 2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2093 $as_echo "no" >&6; } | |
| 2094 fi | |
| 2095 | |
| 2096 | |
| 2097 test -n "$ac_ct_CXX" && break | |
| 2098 done | |
| 2099 | |
| 2100 if test "x$ac_ct_CXX" = x; then | |
| 2101 CXX="g++" | |
| 2102 else | |
| 2103 case $cross_compiling:$ac_tool_warned in | |
| 2104 yes:) | |
| 2105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2107 ac_tool_warned=yes ;; | |
| 2108 esac | |
| 2109 CXX=$ac_ct_CXX | |
| 2110 fi | |
| 2111 fi | |
| 2112 | |
| 2113 fi | |
| 2114 fi | |
| 2115 # Provide some information about the compiler. | |
| 2116 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | |
| 2117 set X $ac_compile | |
| 2118 ac_compiler=$2 | |
| 2119 for ac_option in --version -v -V -qversion; do | |
| 2120 { { ac_try="$ac_compiler $ac_option >&5" | |
| 2121 case "(($ac_try" in | |
| 2122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2123 *) ac_try_echo=$ac_try;; | |
| 2124 esac | |
| 2125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2126 $as_echo "$ac_try_echo"; } >&5 | |
| 2127 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 2128 ac_status=$? | |
| 2129 if test -s conftest.err; then | |
| 2130 sed '10a\ | |
| 2131 ... rest of stderr output deleted ... | |
| 2132 10q' conftest.err >conftest.er1 | |
| 2133 cat conftest.er1 >&5 | |
| 2134 fi | |
| 2135 rm -f conftest.er1 conftest.err | |
| 2136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2137 test $ac_status = 0; } | |
| 2138 done | |
| 2139 | |
| 2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2141 /* end confdefs.h. */ | |
| 2142 | |
| 2143 int | |
| 2144 main () | |
| 2145 { | |
| 2146 | |
| 2147 ; | |
| 2148 return 0; | |
| 2149 } | |
| 2150 _ACEOF | |
| 2151 ac_clean_files_save=$ac_clean_files | |
| 2152 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | |
| 2153 # Try to create an executable without -o first, disregard a.out. | |
| 2154 # It will help us diagnose broken compilers, and finding out an intuition | |
| 2155 # of exeext. | |
| 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 | |
| 2157 $as_echo_n "checking whether the C++ compiler works... " >&6; } | |
| 2158 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
| 2159 | |
| 2160 # The possible output files: | |
| 2161 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | |
| 2162 | |
| 2163 ac_rmfiles= | |
| 2164 for ac_file in $ac_files | |
| 2165 do | |
| 2166 case $ac_file in | |
| 2167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2168 * ) ac_rmfiles="$ac_rmfiles $ac_file";; | |
| 2169 esac | |
| 2170 done | |
| 2171 rm -f $ac_rmfiles | |
| 2172 | |
| 2173 if { { ac_try="$ac_link_default" | |
| 2174 case "(($ac_try" in | |
| 2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2176 *) ac_try_echo=$ac_try;; | |
| 2177 esac | |
| 2178 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2179 $as_echo "$ac_try_echo"; } >&5 | |
| 2180 (eval "$ac_link_default") 2>&5 | |
| 2181 ac_status=$? | |
| 2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2183 test $ac_status = 0; }; then : | |
| 2184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | |
| 2185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | |
| 2186 # in a Makefile. We should not override ac_cv_exeext if it was cached, | |
| 2187 # so that the user can short-circuit this test for compilers unknown to | |
| 2188 # Autoconf. | |
| 2189 for ac_file in $ac_files '' | |
| 2190 do | |
| 2191 test -f "$ac_file" || continue | |
| 2192 case $ac_file in | |
| 2193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | |
| 2194 ;; | |
| 2195 [ab].out ) | |
| 2196 # We found the default executable, but exeext='' is most | |
| 2197 # certainly right. | |
| 2198 break;; | |
| 2199 *.* ) | |
| 2200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | |
| 2201 then :; else | |
| 2202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2203 fi | |
| 2204 # We set ac_cv_exeext here because the later test for it is not | |
| 2205 # safe: cross compilers may not add the suffix if given an `-o' | |
| 2206 # argument, so we may need to know it at that point already. | |
| 2207 # Even if this section looks crufty: it has the advantage of | |
| 2208 # actually working. | |
| 2209 break;; | |
| 2210 * ) | |
| 2211 break;; | |
| 2212 esac | |
| 2213 done | |
| 2214 test "$ac_cv_exeext" = no && ac_cv_exeext= | |
| 2215 | |
| 2216 else | |
| 2217 ac_file='' | |
| 2218 fi | |
| 2219 if test -z "$ac_file"; then : | |
| 2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2221 $as_echo "no" >&6; } | |
| 2222 $as_echo "$as_me: failed program was:" >&5 | |
| 2223 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2224 | |
| 2225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2227 as_fn_error 77 "C++ compiler cannot create executables | |
| 2228 See \`config.log' for more details" "$LINENO" 5; } | |
| 2229 else | |
| 2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 2231 $as_echo "yes" >&6; } | |
| 2232 fi | |
| 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 | |
| 2234 $as_echo_n "checking for C++ compiler default output file name... " >&6; } | |
| 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | |
| 2236 $as_echo "$ac_file" >&6; } | |
| 2237 ac_exeext=$ac_cv_exeext | |
| 2238 | |
| 2239 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | |
| 2240 ac_clean_files=$ac_clean_files_save | |
| 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | |
| 2242 $as_echo_n "checking for suffix of executables... " >&6; } | |
| 2243 if { { ac_try="$ac_link" | |
| 2244 case "(($ac_try" in | |
| 2245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2246 *) ac_try_echo=$ac_try;; | |
| 2247 esac | |
| 2248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2249 $as_echo "$ac_try_echo"; } >&5 | |
| 2250 (eval "$ac_link") 2>&5 | |
| 2251 ac_status=$? | |
| 2252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2253 test $ac_status = 0; }; then : | |
| 2254 # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
| 2255 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
| 2256 # work properly (i.e., refer to `conftest.exe'), while it won't with | |
| 2257 # `rm'. | |
| 2258 for ac_file in conftest.exe conftest conftest.*; do | |
| 2259 test -f "$ac_file" || continue | |
| 2260 case $ac_file in | |
| 2261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | |
| 2262 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
| 2263 break;; | |
| 2264 * ) break;; | |
| 2265 esac | |
| 2266 done | |
| 2267 else | |
| 2268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2270 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | |
| 2271 See \`config.log' for more details" "$LINENO" 5; } | |
| 2272 fi | |
| 2273 rm -f conftest conftest$ac_cv_exeext | |
| 2274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | |
| 2275 $as_echo "$ac_cv_exeext" >&6; } | |
| 2276 | |
| 2277 rm -f conftest.$ac_ext | |
| 2278 EXEEXT=$ac_cv_exeext | |
| 2279 ac_exeext=$EXEEXT | |
| 2280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2281 /* end confdefs.h. */ | |
| 2282 #include <stdio.h> | |
| 2283 int | |
| 2284 main () | |
| 2285 { | |
| 2286 FILE *f = fopen ("conftest.out", "w"); | |
| 2287 return ferror (f) || fclose (f) != 0; | |
| 2288 | |
| 2289 ; | |
| 2290 return 0; | |
| 2291 } | |
| 2292 _ACEOF | |
| 2293 ac_clean_files="$ac_clean_files conftest.out" | |
| 2294 # Check that the compiler produces executables we can run. If not, either | |
| 2295 # the compiler is broken, or we cross compile. | |
| 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | |
| 2297 $as_echo_n "checking whether we are cross compiling... " >&6; } | |
| 2298 if test "$cross_compiling" != yes; then | |
| 2299 { { ac_try="$ac_link" | |
| 2300 case "(($ac_try" in | |
| 2301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2302 *) ac_try_echo=$ac_try;; | |
| 2303 esac | |
| 2304 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2305 $as_echo "$ac_try_echo"; } >&5 | |
| 2306 (eval "$ac_link") 2>&5 | |
| 2307 ac_status=$? | |
| 2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2309 test $ac_status = 0; } | |
| 2310 if { ac_try='./conftest$ac_cv_exeext' | |
| 2311 { { case "(($ac_try" in | |
| 2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2313 *) ac_try_echo=$ac_try;; | |
| 2314 esac | |
| 2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2316 $as_echo "$ac_try_echo"; } >&5 | |
| 2317 (eval "$ac_try") 2>&5 | |
| 2318 ac_status=$? | |
| 2319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2320 test $ac_status = 0; }; }; then | |
| 2321 cross_compiling=no | |
| 2322 else | |
| 2323 if test "$cross_compiling" = maybe; then | |
| 2324 cross_compiling=yes | |
| 2325 else | |
| 2326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2328 as_fn_error $? "cannot run C++ compiled programs. | |
| 2329 If you meant to cross compile, use \`--host'. | |
| 2330 See \`config.log' for more details" "$LINENO" 5; } | |
| 2331 fi | |
| 2332 fi | |
| 2333 fi | |
| 2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | |
| 2335 $as_echo "$cross_compiling" >&6; } | |
| 2336 | |
| 2337 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | |
| 2338 ac_clean_files=$ac_clean_files_save | |
| 2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | |
| 2340 $as_echo_n "checking for suffix of object files... " >&6; } | |
| 2341 if ${ac_cv_objext+:} false; then : | |
| 2342 $as_echo_n "(cached) " >&6 | |
| 2343 else | |
| 2344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2345 /* end confdefs.h. */ | |
| 2346 | |
| 2347 int | |
| 2348 main () | |
| 2349 { | |
| 2350 | |
| 2351 ; | |
| 2352 return 0; | |
| 2353 } | |
| 2354 _ACEOF | |
| 2355 rm -f conftest.o conftest.obj | |
| 2356 if { { ac_try="$ac_compile" | |
| 2357 case "(($ac_try" in | |
| 2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2359 *) ac_try_echo=$ac_try;; | |
| 2360 esac | |
| 2361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2362 $as_echo "$ac_try_echo"; } >&5 | |
| 2363 (eval "$ac_compile") 2>&5 | |
| 2364 ac_status=$? | |
| 2365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2366 test $ac_status = 0; }; then : | |
| 2367 for ac_file in conftest.o conftest.obj conftest.*; do | |
| 2368 test -f "$ac_file" || continue; | |
| 2369 case $ac_file in | |
| 2370 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | |
| 2371 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
| 2372 break;; | |
| 2373 esac | |
| 2374 done | |
| 2375 else | |
| 2376 $as_echo "$as_me: failed program was:" >&5 | |
| 2377 sed 's/^/| /' conftest.$ac_ext >&5 | |
| 2378 | |
| 2379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2381 as_fn_error $? "cannot compute suffix of object files: cannot compile | |
| 2382 See \`config.log' for more details" "$LINENO" 5; } | |
| 2383 fi | |
| 2384 rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
| 2385 fi | |
| 2386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | |
| 2387 $as_echo "$ac_cv_objext" >&6; } | |
| 2388 OBJEXT=$ac_cv_objext | |
| 2389 ac_objext=$OBJEXT | |
| 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | |
| 2391 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | |
| 2392 if ${ac_cv_cxx_compiler_gnu+:} false; then : | |
| 2393 $as_echo_n "(cached) " >&6 | |
| 2394 else | |
| 2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2396 /* end confdefs.h. */ | |
| 2397 | |
| 2398 int | |
| 2399 main () | |
| 2400 { | |
| 2401 #ifndef __GNUC__ | |
| 2402 choke me | |
| 2403 #endif | |
| 2404 | |
| 2405 ; | |
| 2406 return 0; | |
| 2407 } | |
| 2408 _ACEOF | |
| 2409 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 2410 ac_compiler_gnu=yes | |
| 2411 else | |
| 2412 ac_compiler_gnu=no | |
| 2413 fi | |
| 2414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2415 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | |
| 2416 | |
| 2417 fi | |
| 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | |
| 2419 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | |
| 2420 if test $ac_compiler_gnu = yes; then | |
| 2421 GXX=yes | |
| 2422 else | |
| 2423 GXX= | |
| 2424 fi | |
| 2425 ac_test_CXXFLAGS=${CXXFLAGS+set} | |
| 2426 ac_save_CXXFLAGS=$CXXFLAGS | |
| 2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | |
| 2428 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | |
| 2429 if ${ac_cv_prog_cxx_g+:} false; then : | |
| 2430 $as_echo_n "(cached) " >&6 | |
| 2431 else | |
| 2432 ac_save_cxx_werror_flag=$ac_cxx_werror_flag | |
| 2433 ac_cxx_werror_flag=yes | |
| 2434 ac_cv_prog_cxx_g=no | |
| 2435 CXXFLAGS="-g" | |
| 2436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2437 /* end confdefs.h. */ | |
| 2438 | |
| 2439 int | |
| 2440 main () | |
| 2441 { | |
| 2442 | |
| 2443 ; | |
| 2444 return 0; | |
| 2445 } | |
| 2446 _ACEOF | |
| 2447 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 2448 ac_cv_prog_cxx_g=yes | |
| 2449 else | |
| 2450 CXXFLAGS="" | |
| 2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2452 /* end confdefs.h. */ | |
| 2453 | |
| 2454 int | |
| 2455 main () | |
| 2456 { | |
| 2457 | |
| 2458 ; | |
| 2459 return 0; | |
| 2460 } | |
| 2461 _ACEOF | |
| 2462 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 2463 | |
| 2464 else | |
| 2465 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 2466 CXXFLAGS="-g" | |
| 2467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2468 /* end confdefs.h. */ | |
| 2469 | |
| 2470 int | |
| 2471 main () | |
| 2472 { | |
| 2473 | |
| 2474 ; | |
| 2475 return 0; | |
| 2476 } | |
| 2477 _ACEOF | |
| 2478 if ac_fn_cxx_try_compile "$LINENO"; then : | |
| 2479 ac_cv_prog_cxx_g=yes | |
| 2480 fi | |
| 2481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2482 fi | |
| 2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2484 fi | |
| 2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2486 ac_cxx_werror_flag=$ac_save_cxx_werror_flag | |
| 2487 fi | |
| 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | |
| 2489 $as_echo "$ac_cv_prog_cxx_g" >&6; } | |
| 2490 if test "$ac_test_CXXFLAGS" = set; then | |
| 2491 CXXFLAGS=$ac_save_CXXFLAGS | |
| 2492 elif test $ac_cv_prog_cxx_g = yes; then | |
| 2493 if test "$GXX" = yes; then | |
| 2494 CXXFLAGS="-g -O2" | |
| 2495 else | |
| 2496 CXXFLAGS="-g" | |
| 2497 fi | |
| 2498 else | |
| 2499 if test "$GXX" = yes; then | |
| 2500 CXXFLAGS="-O2" | |
| 2501 else | |
| 2502 CXXFLAGS= | |
| 2503 fi | |
| 2504 fi | |
| 2505 ac_ext=c | |
| 2506 ac_cpp='$CPP $CPPFLAGS' | |
| 2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2510 | |
| 2511 ac_ext=c | |
| 2512 ac_cpp='$CPP $CPPFLAGS' | |
| 2513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 2514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 2515 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 2516 if test -n "$ac_tool_prefix"; then | |
| 2517 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
| 2518 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
| 2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2520 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2521 if ${ac_cv_prog_CC+:} false; then : | |
| 2522 $as_echo_n "(cached) " >&6 | |
| 2523 else | |
| 2524 if test -n "$CC"; then | |
| 2525 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2526 else | |
| 2527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2528 for as_dir in $PATH | |
| 2529 do | |
| 2530 IFS=$as_save_IFS | |
| 2531 test -z "$as_dir" && as_dir=. | |
| 2532 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2533 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2534 ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
| 2535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2536 break 2 | |
| 2537 fi | |
| 2538 done | |
| 2539 done | |
| 2540 IFS=$as_save_IFS | |
| 2541 | |
| 2542 fi | |
| 2543 fi | |
| 2544 CC=$ac_cv_prog_CC | |
| 2545 if test -n "$CC"; then | |
| 2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2547 $as_echo "$CC" >&6; } | |
| 2548 else | |
| 2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2550 $as_echo "no" >&6; } | |
| 2551 fi | |
| 2552 | |
| 2553 | |
| 2554 fi | |
| 2555 if test -z "$ac_cv_prog_CC"; then | |
| 2556 ac_ct_CC=$CC | |
| 2557 # Extract the first word of "gcc", so it can be a program name with args. | |
| 2558 set dummy gcc; ac_word=$2 | |
| 2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2560 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2561 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2562 $as_echo_n "(cached) " >&6 | |
| 2563 else | |
| 2564 if test -n "$ac_ct_CC"; then | |
| 2565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2566 else | |
| 2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2568 for as_dir in $PATH | |
| 2569 do | |
| 2570 IFS=$as_save_IFS | |
| 2571 test -z "$as_dir" && as_dir=. | |
| 2572 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2574 ac_cv_prog_ac_ct_CC="gcc" | |
| 2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2576 break 2 | |
| 2577 fi | |
| 2578 done | |
| 2579 done | |
| 2580 IFS=$as_save_IFS | |
| 2581 | |
| 2582 fi | |
| 2583 fi | |
| 2584 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2585 if test -n "$ac_ct_CC"; then | |
| 2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2587 $as_echo "$ac_ct_CC" >&6; } | |
| 2588 else | |
| 2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2590 $as_echo "no" >&6; } | |
| 2591 fi | |
| 2592 | |
| 2593 if test "x$ac_ct_CC" = x; then | |
| 2594 CC="" | |
| 2595 else | |
| 2596 case $cross_compiling:$ac_tool_warned in | |
| 2597 yes:) | |
| 2598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2599 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2600 ac_tool_warned=yes ;; | |
| 2601 esac | |
| 2602 CC=$ac_ct_CC | |
| 2603 fi | |
| 2604 else | |
| 2605 CC="$ac_cv_prog_CC" | |
| 2606 fi | |
| 2607 | |
| 2608 if test -z "$CC"; then | |
| 2609 if test -n "$ac_tool_prefix"; then | |
| 2610 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
| 2611 set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
| 2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2613 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2614 if ${ac_cv_prog_CC+:} false; then : | |
| 2615 $as_echo_n "(cached) " >&6 | |
| 2616 else | |
| 2617 if test -n "$CC"; then | |
| 2618 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2619 else | |
| 2620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2621 for as_dir in $PATH | |
| 2622 do | |
| 2623 IFS=$as_save_IFS | |
| 2624 test -z "$as_dir" && as_dir=. | |
| 2625 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2627 ac_cv_prog_CC="${ac_tool_prefix}cc" | |
| 2628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2629 break 2 | |
| 2630 fi | |
| 2631 done | |
| 2632 done | |
| 2633 IFS=$as_save_IFS | |
| 2634 | |
| 2635 fi | |
| 2636 fi | |
| 2637 CC=$ac_cv_prog_CC | |
| 2638 if test -n "$CC"; then | |
| 2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2640 $as_echo "$CC" >&6; } | |
| 2641 else | |
| 2642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2643 $as_echo "no" >&6; } | |
| 2644 fi | |
| 2645 | |
| 2646 | |
| 2647 fi | |
| 2648 fi | |
| 2649 if test -z "$CC"; then | |
| 2650 # Extract the first word of "cc", so it can be a program name with args. | |
| 2651 set dummy cc; ac_word=$2 | |
| 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2653 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2654 if ${ac_cv_prog_CC+:} false; then : | |
| 2655 $as_echo_n "(cached) " >&6 | |
| 2656 else | |
| 2657 if test -n "$CC"; then | |
| 2658 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2659 else | |
| 2660 ac_prog_rejected=no | |
| 2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2662 for as_dir in $PATH | |
| 2663 do | |
| 2664 IFS=$as_save_IFS | |
| 2665 test -z "$as_dir" && as_dir=. | |
| 2666 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2668 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | |
| 2669 ac_prog_rejected=yes | |
| 2670 continue | |
| 2671 fi | |
| 2672 ac_cv_prog_CC="cc" | |
| 2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2674 break 2 | |
| 2675 fi | |
| 2676 done | |
| 2677 done | |
| 2678 IFS=$as_save_IFS | |
| 2679 | |
| 2680 if test $ac_prog_rejected = yes; then | |
| 2681 # We found a bogon in the path, so make sure we never use it. | |
| 2682 set dummy $ac_cv_prog_CC | |
| 2683 shift | |
| 2684 if test $# != 0; then | |
| 2685 # We chose a different compiler from the bogus one. | |
| 2686 # However, it has the same basename, so the bogon will be chosen | |
| 2687 # first if we set CC to just the basename; use the full file name. | |
| 2688 shift | |
| 2689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | |
| 2690 fi | |
| 2691 fi | |
| 2692 fi | |
| 2693 fi | |
| 2694 CC=$ac_cv_prog_CC | |
| 2695 if test -n "$CC"; then | |
| 2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2697 $as_echo "$CC" >&6; } | |
| 2698 else | |
| 2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2700 $as_echo "no" >&6; } | |
| 2701 fi | |
| 2702 | |
| 2703 | |
| 2704 fi | |
| 2705 if test -z "$CC"; then | |
| 2706 if test -n "$ac_tool_prefix"; then | |
| 2707 for ac_prog in cl.exe | |
| 2708 do | |
| 2709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
| 2710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
| 2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2712 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2713 if ${ac_cv_prog_CC+:} false; then : | |
| 2714 $as_echo_n "(cached) " >&6 | |
| 2715 else | |
| 2716 if test -n "$CC"; then | |
| 2717 ac_cv_prog_CC="$CC" # Let the user override the test. | |
| 2718 else | |
| 2719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2720 for as_dir in $PATH | |
| 2721 do | |
| 2722 IFS=$as_save_IFS | |
| 2723 test -z "$as_dir" && as_dir=. | |
| 2724 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2726 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
| 2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2728 break 2 | |
| 2729 fi | |
| 2730 done | |
| 2731 done | |
| 2732 IFS=$as_save_IFS | |
| 2733 | |
| 2734 fi | |
| 2735 fi | |
| 2736 CC=$ac_cv_prog_CC | |
| 2737 if test -n "$CC"; then | |
| 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | |
| 2739 $as_echo "$CC" >&6; } | |
| 2740 else | |
| 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2742 $as_echo "no" >&6; } | |
| 2743 fi | |
| 2744 | |
| 2745 | |
| 2746 test -n "$CC" && break | |
| 2747 done | |
| 2748 fi | |
| 2749 if test -z "$CC"; then | |
| 2750 ac_ct_CC=$CC | |
| 2751 for ac_prog in cl.exe | |
| 2752 do | |
| 2753 # Extract the first word of "$ac_prog", so it can be a program name with args. | |
| 2754 set dummy $ac_prog; ac_word=$2 | |
| 2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 2756 $as_echo_n "checking for $ac_word... " >&6; } | |
| 2757 if ${ac_cv_prog_ac_ct_CC+:} false; then : | |
| 2758 $as_echo_n "(cached) " >&6 | |
| 2759 else | |
| 2760 if test -n "$ac_ct_CC"; then | |
| 2761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
| 2762 else | |
| 2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 2764 for as_dir in $PATH | |
| 2765 do | |
| 2766 IFS=$as_save_IFS | |
| 2767 test -z "$as_dir" && as_dir=. | |
| 2768 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 2769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 2770 ac_cv_prog_ac_ct_CC="$ac_prog" | |
| 2771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 2772 break 2 | |
| 2773 fi | |
| 2774 done | |
| 2775 done | |
| 2776 IFS=$as_save_IFS | |
| 2777 | |
| 2778 fi | |
| 2779 fi | |
| 2780 ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
| 2781 if test -n "$ac_ct_CC"; then | |
| 2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | |
| 2783 $as_echo "$ac_ct_CC" >&6; } | |
| 2784 else | |
| 2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 2786 $as_echo "no" >&6; } | |
| 2787 fi | |
| 2788 | |
| 2789 | |
| 2790 test -n "$ac_ct_CC" && break | |
| 2791 done | |
| 2792 | |
| 2793 if test "x$ac_ct_CC" = x; then | |
| 2794 CC="" | |
| 2795 else | |
| 2796 case $cross_compiling:$ac_tool_warned in | |
| 2797 yes:) | |
| 2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 2799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 2800 ac_tool_warned=yes ;; | |
| 2801 esac | |
| 2802 CC=$ac_ct_CC | |
| 2803 fi | |
| 2804 fi | |
| 2805 | |
| 2806 fi | |
| 2807 | |
| 2808 | |
| 2809 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 2810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 2811 as_fn_error $? "no acceptable C compiler found in \$PATH | |
| 2812 See \`config.log' for more details" "$LINENO" 5; } | |
| 2813 | |
| 2814 # Provide some information about the compiler. | |
| 2815 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | |
| 2816 set X $ac_compile | |
| 2817 ac_compiler=$2 | |
| 2818 for ac_option in --version -v -V -qversion; do | |
| 2819 { { ac_try="$ac_compiler $ac_option >&5" | |
| 2820 case "(($ac_try" in | |
| 2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |
| 2822 *) ac_try_echo=$ac_try;; | |
| 2823 esac | |
| 2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | |
| 2825 $as_echo "$ac_try_echo"; } >&5 | |
| 2826 (eval "$ac_compiler $ac_option >&5") 2>conftest.err | |
| 2827 ac_status=$? | |
| 2828 if test -s conftest.err; then | |
| 2829 sed '10a\ | |
| 2830 ... rest of stderr output deleted ... | |
| 2831 10q' conftest.err >conftest.er1 | |
| 2832 cat conftest.er1 >&5 | |
| 2833 fi | |
| 2834 rm -f conftest.er1 conftest.err | |
| 2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 2836 test $ac_status = 0; } | |
| 2837 done | |
| 2838 | |
| 2839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | |
| 2840 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | |
| 2841 if ${ac_cv_c_compiler_gnu+:} false; then : | |
| 2842 $as_echo_n "(cached) " >&6 | |
| 2843 else | |
| 2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2845 /* end confdefs.h. */ | |
| 2846 | |
| 2847 int | |
| 2848 main () | |
| 2849 { | |
| 2850 #ifndef __GNUC__ | |
| 2851 choke me | |
| 2852 #endif | |
| 2853 | |
| 2854 ; | |
| 2855 return 0; | |
| 2856 } | |
| 2857 _ACEOF | |
| 2858 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2859 ac_compiler_gnu=yes | |
| 2860 else | |
| 2861 ac_compiler_gnu=no | |
| 2862 fi | |
| 2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2864 ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
| 2865 | |
| 2866 fi | |
| 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | |
| 2868 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | |
| 2869 if test $ac_compiler_gnu = yes; then | |
| 2870 GCC=yes | |
| 2871 else | |
| 2872 GCC= | |
| 2873 fi | |
| 2874 ac_test_CFLAGS=${CFLAGS+set} | |
| 2875 ac_save_CFLAGS=$CFLAGS | |
| 2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | |
| 2877 $as_echo_n "checking whether $CC accepts -g... " >&6; } | |
| 2878 if ${ac_cv_prog_cc_g+:} false; then : | |
| 2879 $as_echo_n "(cached) " >&6 | |
| 2880 else | |
| 2881 ac_save_c_werror_flag=$ac_c_werror_flag | |
| 2882 ac_c_werror_flag=yes | |
| 2883 ac_cv_prog_cc_g=no | |
| 2884 CFLAGS="-g" | |
| 2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2886 /* end confdefs.h. */ | |
| 2887 | |
| 2888 int | |
| 2889 main () | |
| 2890 { | |
| 2891 | |
| 2892 ; | |
| 2893 return 0; | |
| 2894 } | |
| 2895 _ACEOF | |
| 2896 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2897 ac_cv_prog_cc_g=yes | |
| 2898 else | |
| 2899 CFLAGS="" | |
| 2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2901 /* end confdefs.h. */ | |
| 2902 | |
| 2903 int | |
| 2904 main () | |
| 2905 { | |
| 2906 | |
| 2907 ; | |
| 2908 return 0; | |
| 2909 } | |
| 2910 _ACEOF | |
| 2911 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2912 | |
| 2913 else | |
| 2914 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 2915 CFLAGS="-g" | |
| 2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2917 /* end confdefs.h. */ | |
| 2918 | |
| 2919 int | |
| 2920 main () | |
| 2921 { | |
| 2922 | |
| 2923 ; | |
| 2924 return 0; | |
| 2925 } | |
| 2926 _ACEOF | |
| 2927 if ac_fn_c_try_compile "$LINENO"; then : | |
| 2928 ac_cv_prog_cc_g=yes | |
| 2929 fi | |
| 2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2931 fi | |
| 2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2933 fi | |
| 2934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 2935 ac_c_werror_flag=$ac_save_c_werror_flag | |
| 2936 fi | |
| 2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | |
| 2938 $as_echo "$ac_cv_prog_cc_g" >&6; } | |
| 2939 if test "$ac_test_CFLAGS" = set; then | |
| 2940 CFLAGS=$ac_save_CFLAGS | |
| 2941 elif test $ac_cv_prog_cc_g = yes; then | |
| 2942 if test "$GCC" = yes; then | |
| 2943 CFLAGS="-g -O2" | |
| 2944 else | |
| 2945 CFLAGS="-g" | |
| 2946 fi | |
| 2947 else | |
| 2948 if test "$GCC" = yes; then | |
| 2949 CFLAGS="-O2" | |
| 2950 else | |
| 2951 CFLAGS= | |
| 2952 fi | |
| 2953 fi | |
| 2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | |
| 2955 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | |
| 2956 if ${ac_cv_prog_cc_c89+:} false; then : | |
| 2957 $as_echo_n "(cached) " >&6 | |
| 2958 else | |
| 2959 ac_cv_prog_cc_c89=no | |
| 2960 ac_save_CC=$CC | |
| 2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 2962 /* end confdefs.h. */ | |
| 2963 #include <stdarg.h> | |
| 2964 #include <stdio.h> | |
| 2965 struct stat; | |
| 2966 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
| 2967 struct buf { int x; }; | |
| 2968 FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
| 2969 static char *e (p, i) | |
| 2970 char **p; | |
| 2971 int i; | |
| 2972 { | |
| 2973 return p[i]; | |
| 2974 } | |
| 2975 static char *f (char * (*g) (char **, int), char **p, ...) | |
| 2976 { | |
| 2977 char *s; | |
| 2978 va_list v; | |
| 2979 va_start (v,p); | |
| 2980 s = g (p, va_arg (v,int)); | |
| 2981 va_end (v); | |
| 2982 return s; | |
| 2983 } | |
| 2984 | |
| 2985 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | |
| 2986 function prototypes and stuff, but not '\xHH' hex character constants. | |
| 2987 These don't provoke an error unfortunately, instead are silently treated | |
| 2988 as 'x'. The following induces an error, until -std is added to get | |
| 2989 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | |
| 2990 array size at least. It's necessary to write '\x00'==0 to get something | |
| 2991 that's true only with -std. */ | |
| 2992 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | |
| 2993 | |
| 2994 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | |
| 2995 inside strings and character constants. */ | |
| 2996 #define FOO(x) 'x' | |
| 2997 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | |
| 2998 | |
| 2999 int test (int i, double x); | |
| 3000 struct s1 {int (*f) (int a);}; | |
| 3001 struct s2 {int (*f) (double a);}; | |
| 3002 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
| 3003 int argc; | |
| 3004 char **argv; | |
| 3005 int | |
| 3006 main () | |
| 3007 { | |
| 3008 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
| 3009 ; | |
| 3010 return 0; | |
| 3011 } | |
| 3012 _ACEOF | |
| 3013 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | |
| 3014 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
| 3015 do | |
| 3016 CC="$ac_save_CC $ac_arg" | |
| 3017 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3018 ac_cv_prog_cc_c89=$ac_arg | |
| 3019 fi | |
| 3020 rm -f core conftest.err conftest.$ac_objext | |
| 3021 test "x$ac_cv_prog_cc_c89" != "xno" && break | |
| 3022 done | |
| 3023 rm -f conftest.$ac_ext | |
| 3024 CC=$ac_save_CC | |
| 3025 | |
| 3026 fi | |
| 3027 # AC_CACHE_VAL | |
| 3028 case "x$ac_cv_prog_cc_c89" in | |
| 3029 x) | |
| 3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | |
| 3031 $as_echo "none needed" >&6; } ;; | |
| 3032 xno) | |
| 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | |
| 3034 $as_echo "unsupported" >&6; } ;; | |
| 3035 *) | |
| 3036 CC="$CC $ac_cv_prog_cc_c89" | |
| 3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | |
| 3038 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | |
| 3039 esac | |
| 3040 if test "x$ac_cv_prog_cc_c89" != xno; then : | |
| 3041 | |
| 3042 fi | |
| 3043 | |
| 3044 ac_ext=c | |
| 3045 ac_cpp='$CPP $CPPFLAGS' | |
| 3046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3048 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3049 | |
| 3050 | |
| 3051 ac_ext=c | |
| 3052 ac_cpp='$CPP $CPPFLAGS' | |
| 3053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3055 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | |
| 3057 $as_echo_n "checking how to run the C preprocessor... " >&6; } | |
| 3058 # On Suns, sometimes $CPP names a directory. | |
| 3059 if test -n "$CPP" && test -d "$CPP"; then | |
| 3060 CPP= | |
| 3061 fi | |
| 3062 if test -z "$CPP"; then | |
| 3063 if ${ac_cv_prog_CPP+:} false; then : | |
| 3064 $as_echo_n "(cached) " >&6 | |
| 3065 else | |
| 3066 # Double quotes because CPP needs to be expanded | |
| 3067 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
| 3068 do | |
| 3069 ac_preproc_ok=false | |
| 3070 for ac_c_preproc_warn_flag in '' yes | |
| 3071 do | |
| 3072 # Use a header file that comes with gcc, so configuring glibc | |
| 3073 # with a fresh cross-compiler works. | |
| 3074 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3075 # <limits.h> exists even on freestanding compilers. | |
| 3076 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3077 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3079 /* end confdefs.h. */ | |
| 3080 #ifdef __STDC__ | |
| 3081 # include <limits.h> | |
| 3082 #else | |
| 3083 # include <assert.h> | |
| 3084 #endif | |
| 3085 Syntax error | |
| 3086 _ACEOF | |
| 3087 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3088 | |
| 3089 else | |
| 3090 # Broken: fails on valid input. | |
| 3091 continue | |
| 3092 fi | |
| 3093 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3094 | |
| 3095 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3096 # can be detected and how. | |
| 3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3098 /* end confdefs.h. */ | |
| 3099 #include <ac_nonexistent.h> | |
| 3100 _ACEOF | |
| 3101 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3102 # Broken: success on invalid input. | |
| 3103 continue | |
| 3104 else | |
| 3105 # Passes both tests. | |
| 3106 ac_preproc_ok=: | |
| 3107 break | |
| 3108 fi | |
| 3109 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3110 | |
| 3111 done | |
| 3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3113 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3114 if $ac_preproc_ok; then : | |
| 3115 break | |
| 3116 fi | |
| 3117 | |
| 3118 done | |
| 3119 ac_cv_prog_CPP=$CPP | |
| 3120 | |
| 3121 fi | |
| 3122 CPP=$ac_cv_prog_CPP | |
| 3123 else | |
| 3124 ac_cv_prog_CPP=$CPP | |
| 3125 fi | |
| 3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | |
| 3127 $as_echo "$CPP" >&6; } | |
| 3128 ac_preproc_ok=false | |
| 3129 for ac_c_preproc_warn_flag in '' yes | |
| 3130 do | |
| 3131 # Use a header file that comes with gcc, so configuring glibc | |
| 3132 # with a fresh cross-compiler works. | |
| 3133 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | |
| 3134 # <limits.h> exists even on freestanding compilers. | |
| 3135 # On the NeXT, cc -E runs the code through the compiler's parser, | |
| 3136 # not just through cpp. "Syntax error" is here to catch this case. | |
| 3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3138 /* end confdefs.h. */ | |
| 3139 #ifdef __STDC__ | |
| 3140 # include <limits.h> | |
| 3141 #else | |
| 3142 # include <assert.h> | |
| 3143 #endif | |
| 3144 Syntax error | |
| 3145 _ACEOF | |
| 3146 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3147 | |
| 3148 else | |
| 3149 # Broken: fails on valid input. | |
| 3150 continue | |
| 3151 fi | |
| 3152 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3153 | |
| 3154 # OK, works on sane cases. Now check whether nonexistent headers | |
| 3155 # can be detected and how. | |
| 3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3157 /* end confdefs.h. */ | |
| 3158 #include <ac_nonexistent.h> | |
| 3159 _ACEOF | |
| 3160 if ac_fn_c_try_cpp "$LINENO"; then : | |
| 3161 # Broken: success on invalid input. | |
| 3162 continue | |
| 3163 else | |
| 3164 # Passes both tests. | |
| 3165 ac_preproc_ok=: | |
| 3166 break | |
| 3167 fi | |
| 3168 rm -f conftest.err conftest.i conftest.$ac_ext | |
| 3169 | |
| 3170 done | |
| 3171 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
| 3172 rm -f conftest.i conftest.err conftest.$ac_ext | |
| 3173 if $ac_preproc_ok; then : | |
| 3174 | |
| 3175 else | |
| 3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | |
| 3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | |
| 3178 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | |
| 3179 See \`config.log' for more details" "$LINENO" 5; } | |
| 3180 fi | |
| 3181 | |
| 3182 ac_ext=c | |
| 3183 ac_cpp='$CPP $CPPFLAGS' | |
| 3184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
| 3185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
| 3186 ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
| 3187 | |
| 3188 | |
| 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | |
| 3190 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | |
| 3191 if ${ac_cv_path_GREP+:} false; then : | |
| 3192 $as_echo_n "(cached) " >&6 | |
| 3193 else | |
| 3194 if test -z "$GREP"; then | |
| 3195 ac_path_GREP_found=false | |
| 3196 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3198 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3199 do | |
| 3200 IFS=$as_save_IFS | |
| 3201 test -z "$as_dir" && as_dir=. | |
| 3202 for ac_prog in grep ggrep; do | |
| 3203 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3204 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3205 as_fn_executable_p "$ac_path_GREP" || continue | |
| 3206 # Check for GNU ac_path_GREP and select it if it is found. | |
| 3207 # Check for GNU $ac_path_GREP | |
| 3208 case `"$ac_path_GREP" --version 2>&1` in | |
| 3209 *GNU*) | |
| 3210 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | |
| 3211 *) | |
| 3212 ac_count=0 | |
| 3213 $as_echo_n 0123456789 >"conftest.in" | |
| 3214 while : | |
| 3215 do | |
| 3216 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3217 mv "conftest.tmp" "conftest.in" | |
| 3218 cp "conftest.in" "conftest.nl" | |
| 3219 $as_echo 'GREP' >> "conftest.nl" | |
| 3220 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3221 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3222 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3223 if test $ac_count -gt ${ac_path_GREP_max-0}; then | |
| 3224 # Best one so far, save it but keep looking for a better one | |
| 3225 ac_cv_path_GREP="$ac_path_GREP" | |
| 3226 ac_path_GREP_max=$ac_count | |
| 3227 fi | |
| 3228 # 10*(2^10) chars as input seems more than enough | |
| 3229 test $ac_count -gt 10 && break | |
| 3230 done | |
| 3231 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3232 esac | |
| 3233 | |
| 3234 $ac_path_GREP_found && break 3 | |
| 3235 done | |
| 3236 done | |
| 3237 done | |
| 3238 IFS=$as_save_IFS | |
| 3239 if test -z "$ac_cv_path_GREP"; then | |
| 3240 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 3241 fi | |
| 3242 else | |
| 3243 ac_cv_path_GREP=$GREP | |
| 3244 fi | |
| 3245 | |
| 3246 fi | |
| 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | |
| 3248 $as_echo "$ac_cv_path_GREP" >&6; } | |
| 3249 GREP="$ac_cv_path_GREP" | |
| 3250 | |
| 3251 | |
| 3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | |
| 3253 $as_echo_n "checking for egrep... " >&6; } | |
| 3254 if ${ac_cv_path_EGREP+:} false; then : | |
| 3255 $as_echo_n "(cached) " >&6 | |
| 3256 else | |
| 3257 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | |
| 3258 then ac_cv_path_EGREP="$GREP -E" | |
| 3259 else | |
| 3260 if test -z "$EGREP"; then | |
| 3261 ac_path_EGREP_found=false | |
| 3262 # Loop through the user's path and test for each of PROGNAME-LIST | |
| 3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3264 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | |
| 3265 do | |
| 3266 IFS=$as_save_IFS | |
| 3267 test -z "$as_dir" && as_dir=. | |
| 3268 for ac_prog in egrep; do | |
| 3269 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3270 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | |
| 3271 as_fn_executable_p "$ac_path_EGREP" || continue | |
| 3272 # Check for GNU ac_path_EGREP and select it if it is found. | |
| 3273 # Check for GNU $ac_path_EGREP | |
| 3274 case `"$ac_path_EGREP" --version 2>&1` in | |
| 3275 *GNU*) | |
| 3276 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | |
| 3277 *) | |
| 3278 ac_count=0 | |
| 3279 $as_echo_n 0123456789 >"conftest.in" | |
| 3280 while : | |
| 3281 do | |
| 3282 cat "conftest.in" "conftest.in" >"conftest.tmp" | |
| 3283 mv "conftest.tmp" "conftest.in" | |
| 3284 cp "conftest.in" "conftest.nl" | |
| 3285 $as_echo 'EGREP' >> "conftest.nl" | |
| 3286 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | |
| 3287 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | |
| 3288 as_fn_arith $ac_count + 1 && ac_count=$as_val | |
| 3289 if test $ac_count -gt ${ac_path_EGREP_max-0}; then | |
| 3290 # Best one so far, save it but keep looking for a better one | |
| 3291 ac_cv_path_EGREP="$ac_path_EGREP" | |
| 3292 ac_path_EGREP_max=$ac_count | |
| 3293 fi | |
| 3294 # 10*(2^10) chars as input seems more than enough | |
| 3295 test $ac_count -gt 10 && break | |
| 3296 done | |
| 3297 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | |
| 3298 esac | |
| 3299 | |
| 3300 $ac_path_EGREP_found && break 3 | |
| 3301 done | |
| 3302 done | |
| 3303 done | |
| 3304 IFS=$as_save_IFS | |
| 3305 if test -z "$ac_cv_path_EGREP"; then | |
| 3306 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | |
| 3307 fi | |
| 3308 else | |
| 3309 ac_cv_path_EGREP=$EGREP | |
| 3310 fi | |
| 3311 | |
| 3312 fi | |
| 3313 fi | |
| 3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | |
| 3315 $as_echo "$ac_cv_path_EGREP" >&6; } | |
| 3316 EGREP="$ac_cv_path_EGREP" | |
| 3317 | |
| 3318 | |
| 3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | |
| 3320 $as_echo_n "checking for ANSI C header files... " >&6; } | |
| 3321 if ${ac_cv_header_stdc+:} false; then : | |
| 3322 $as_echo_n "(cached) " >&6 | |
| 3323 else | |
| 3324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3325 /* end confdefs.h. */ | |
| 3326 #include <stdlib.h> | |
| 3327 #include <stdarg.h> | |
| 3328 #include <string.h> | |
| 3329 #include <float.h> | |
| 3330 | |
| 3331 int | |
| 3332 main () | |
| 3333 { | |
| 3334 | |
| 3335 ; | |
| 3336 return 0; | |
| 3337 } | |
| 3338 _ACEOF | |
| 3339 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3340 ac_cv_header_stdc=yes | |
| 3341 else | |
| 3342 ac_cv_header_stdc=no | |
| 3343 fi | |
| 3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3345 | |
| 3346 if test $ac_cv_header_stdc = yes; then | |
| 3347 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
| 3348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3349 /* end confdefs.h. */ | |
| 3350 #include <string.h> | |
| 3351 | |
| 3352 _ACEOF | |
| 3353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3354 $EGREP "memchr" >/dev/null 2>&1; then : | |
| 3355 | |
| 3356 else | |
| 3357 ac_cv_header_stdc=no | |
| 3358 fi | |
| 3359 rm -f conftest* | |
| 3360 | |
| 3361 fi | |
| 3362 | |
| 3363 if test $ac_cv_header_stdc = yes; then | |
| 3364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
| 3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3366 /* end confdefs.h. */ | |
| 3367 #include <stdlib.h> | |
| 3368 | |
| 3369 _ACEOF | |
| 3370 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | |
| 3371 $EGREP "free" >/dev/null 2>&1; then : | |
| 3372 | |
| 3373 else | |
| 3374 ac_cv_header_stdc=no | |
| 3375 fi | |
| 3376 rm -f conftest* | |
| 3377 | |
| 3378 fi | |
| 3379 | |
| 3380 if test $ac_cv_header_stdc = yes; then | |
| 3381 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
| 3382 if test "$cross_compiling" = yes; then : | |
| 3383 : | |
| 3384 else | |
| 3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3386 /* end confdefs.h. */ | |
| 3387 #include <ctype.h> | |
| 3388 #include <stdlib.h> | |
| 3389 #if ((' ' & 0x0FF) == 0x020) | |
| 3390 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
| 3391 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
| 3392 #else | |
| 3393 # define ISLOWER(c) \ | |
| 3394 (('a' <= (c) && (c) <= 'i') \ | |
| 3395 || ('j' <= (c) && (c) <= 'r') \ | |
| 3396 || ('s' <= (c) && (c) <= 'z')) | |
| 3397 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
| 3398 #endif | |
| 3399 | |
| 3400 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | |
| 3401 int | |
| 3402 main () | |
| 3403 { | |
| 3404 int i; | |
| 3405 for (i = 0; i < 256; i++) | |
| 3406 if (XOR (islower (i), ISLOWER (i)) | |
| 3407 || toupper (i) != TOUPPER (i)) | |
| 3408 return 2; | |
| 3409 return 0; | |
| 3410 } | |
| 3411 _ACEOF | |
| 3412 if ac_fn_c_try_run "$LINENO"; then : | |
| 3413 | |
| 3414 else | |
| 3415 ac_cv_header_stdc=no | |
| 3416 fi | |
| 3417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 3418 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 3419 fi | |
| 3420 | |
| 3421 fi | |
| 3422 fi | |
| 3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | |
| 3424 $as_echo "$ac_cv_header_stdc" >&6; } | |
| 3425 if test $ac_cv_header_stdc = yes; then | |
| 3426 | |
| 3427 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | |
| 3428 | |
| 3429 fi | |
| 3430 | |
| 3431 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
| 3432 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
| 3433 inttypes.h stdint.h unistd.h | |
| 3434 do : | |
| 3435 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
| 3436 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | |
| 3437 " | |
| 3438 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
| 3439 cat >>confdefs.h <<_ACEOF | |
| 3440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
| 3441 _ACEOF | |
| 3442 | |
| 3443 fi | |
| 3444 | |
| 3445 done | |
| 3446 | |
| 3447 | |
| 3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | |
| 3449 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | |
| 3450 if ${ac_cv_c_bigendian+:} false; then : | |
| 3451 $as_echo_n "(cached) " >&6 | |
| 3452 else | |
| 3453 ac_cv_c_bigendian=unknown | |
| 3454 # See if we're dealing with a universal compiler. | |
| 3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3456 /* end confdefs.h. */ | |
| 3457 #ifndef __APPLE_CC__ | |
| 3458 not a universal capable compiler | |
| 3459 #endif | |
| 3460 typedef int dummy; | |
| 3461 | |
| 3462 _ACEOF | |
| 3463 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3464 | |
| 3465 # Check for potential -arch flags. It is not universal unless | |
| 3466 # there are at least two -arch flags with different values. | |
| 3467 ac_arch= | |
| 3468 ac_prev= | |
| 3469 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | |
| 3470 if test -n "$ac_prev"; then | |
| 3471 case $ac_word in | |
| 3472 i?86 | x86_64 | ppc | ppc64) | |
| 3473 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | |
| 3474 ac_arch=$ac_word | |
| 3475 else | |
| 3476 ac_cv_c_bigendian=universal | |
| 3477 break | |
| 3478 fi | |
| 3479 ;; | |
| 3480 esac | |
| 3481 ac_prev= | |
| 3482 elif test "x$ac_word" = "x-arch"; then | |
| 3483 ac_prev=arch | |
| 3484 fi | |
| 3485 done | |
| 3486 fi | |
| 3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3488 if test $ac_cv_c_bigendian = unknown; then | |
| 3489 # See if sys/param.h defines the BYTE_ORDER macro. | |
| 3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3491 /* end confdefs.h. */ | |
| 3492 #include <sys/types.h> | |
| 3493 #include <sys/param.h> | |
| 3494 | |
| 3495 int | |
| 3496 main () | |
| 3497 { | |
| 3498 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | |
| 3499 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | |
| 3500 && LITTLE_ENDIAN) | |
| 3501 bogus endian macros | |
| 3502 #endif | |
| 3503 | |
| 3504 ; | |
| 3505 return 0; | |
| 3506 } | |
| 3507 _ACEOF | |
| 3508 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3509 # It does; now see whether it defined to BIG_ENDIAN or not. | |
| 3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3511 /* end confdefs.h. */ | |
| 3512 #include <sys/types.h> | |
| 3513 #include <sys/param.h> | |
| 3514 | |
| 3515 int | |
| 3516 main () | |
| 3517 { | |
| 3518 #if BYTE_ORDER != BIG_ENDIAN | |
| 3519 not big endian | |
| 3520 #endif | |
| 3521 | |
| 3522 ; | |
| 3523 return 0; | |
| 3524 } | |
| 3525 _ACEOF | |
| 3526 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3527 ac_cv_c_bigendian=yes | |
| 3528 else | |
| 3529 ac_cv_c_bigendian=no | |
| 3530 fi | |
| 3531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3532 fi | |
| 3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3534 fi | |
| 3535 if test $ac_cv_c_bigendian = unknown; then | |
| 3536 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | |
| 3537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3538 /* end confdefs.h. */ | |
| 3539 #include <limits.h> | |
| 3540 | |
| 3541 int | |
| 3542 main () | |
| 3543 { | |
| 3544 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | |
| 3545 bogus endian macros | |
| 3546 #endif | |
| 3547 | |
| 3548 ; | |
| 3549 return 0; | |
| 3550 } | |
| 3551 _ACEOF | |
| 3552 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3553 # It does; now see whether it defined to _BIG_ENDIAN or not. | |
| 3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3555 /* end confdefs.h. */ | |
| 3556 #include <limits.h> | |
| 3557 | |
| 3558 int | |
| 3559 main () | |
| 3560 { | |
| 3561 #ifndef _BIG_ENDIAN | |
| 3562 not big endian | |
| 3563 #endif | |
| 3564 | |
| 3565 ; | |
| 3566 return 0; | |
| 3567 } | |
| 3568 _ACEOF | |
| 3569 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3570 ac_cv_c_bigendian=yes | |
| 3571 else | |
| 3572 ac_cv_c_bigendian=no | |
| 3573 fi | |
| 3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3575 fi | |
| 3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3577 fi | |
| 3578 if test $ac_cv_c_bigendian = unknown; then | |
| 3579 # Compile a test program. | |
| 3580 if test "$cross_compiling" = yes; then : | |
| 3581 # Try to guess by grepping values from an object file. | |
| 3582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3583 /* end confdefs.h. */ | |
| 3584 short int ascii_mm[] = | |
| 3585 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | |
| 3586 short int ascii_ii[] = | |
| 3587 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | |
| 3588 int use_ascii (int i) { | |
| 3589 return ascii_mm[i] + ascii_ii[i]; | |
| 3590 } | |
| 3591 short int ebcdic_ii[] = | |
| 3592 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | |
| 3593 short int ebcdic_mm[] = | |
| 3594 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | |
| 3595 int use_ebcdic (int i) { | |
| 3596 return ebcdic_mm[i] + ebcdic_ii[i]; | |
| 3597 } | |
| 3598 extern int foo; | |
| 3599 | |
| 3600 int | |
| 3601 main () | |
| 3602 { | |
| 3603 return use_ascii (foo) == use_ebcdic (foo); | |
| 3604 ; | |
| 3605 return 0; | |
| 3606 } | |
| 3607 _ACEOF | |
| 3608 if ac_fn_c_try_compile "$LINENO"; then : | |
| 3609 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | |
| 3610 ac_cv_c_bigendian=yes | |
| 3611 fi | |
| 3612 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | |
| 3613 if test "$ac_cv_c_bigendian" = unknown; then | |
| 3614 ac_cv_c_bigendian=no | |
| 3615 else | |
| 3616 # finding both strings is unlikely to happen, but who knows? | |
| 3617 ac_cv_c_bigendian=unknown | |
| 3618 fi | |
| 3619 fi | |
| 3620 fi | |
| 3621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |
| 3622 else | |
| 3623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3624 /* end confdefs.h. */ | |
| 3625 $ac_includes_default | |
| 3626 int | |
| 3627 main () | |
| 3628 { | |
| 3629 | |
| 3630 /* Are we little or big endian? From Harbison&Steele. */ | |
| 3631 union | |
| 3632 { | |
| 3633 long int l; | |
| 3634 char c[sizeof (long int)]; | |
| 3635 } u; | |
| 3636 u.l = 1; | |
| 3637 return u.c[sizeof (long int) - 1] == 1; | |
| 3638 | |
| 3639 ; | |
| 3640 return 0; | |
| 3641 } | |
| 3642 _ACEOF | |
| 3643 if ac_fn_c_try_run "$LINENO"; then : | |
| 3644 ac_cv_c_bigendian=no | |
| 3645 else | |
| 3646 ac_cv_c_bigendian=yes | |
| 3647 fi | |
| 3648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | |
| 3649 conftest.$ac_objext conftest.beam conftest.$ac_ext | |
| 3650 fi | |
| 3651 | |
| 3652 fi | |
| 3653 fi | |
| 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | |
| 3655 $as_echo "$ac_cv_c_bigendian" >&6; } | |
| 3656 case $ac_cv_c_bigendian in #( | |
| 3657 yes) | |
| 3658 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | |
| 3659 ;; #( | |
| 3660 no) | |
| 3661 ;; #( | |
| 3662 universal) | |
| 3663 | |
| 3664 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | |
| 3665 | |
| 3666 ;; #( | |
| 3667 *) | |
| 3668 as_fn_error $? "unknown endianness | |
| 3669 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | |
| 3670 esac | |
| 3671 | |
| 3672 | |
| 3673 if pkg-config --modversion vamp-sdk >/dev/null 2>&1; then | |
| 3674 echo "WARNING: A version of the Vamp plugin SDK is already installed." | |
| 3675 echo " Expect worries and sorrows if you install a new version" | |
| 3676 echo " without removing the old one first. (Continuing)" | |
| 3677 fi | |
| 3678 | |
| 3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 | |
| 3680 $as_echo_n "checking for library containing dlopen... " >&6; } | |
| 3681 if ${ac_cv_search_dlopen+:} false; then : | |
| 3682 $as_echo_n "(cached) " >&6 | |
| 3683 else | |
| 3684 ac_func_search_save_LIBS=$LIBS | |
| 3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
| 3686 /* end confdefs.h. */ | |
| 3687 | |
| 3688 /* Override any GCC internal prototype to avoid an error. | |
| 3689 Use char because int might match the return type of a GCC | |
| 3690 builtin and then its argument prototype would still apply. */ | |
| 3691 #ifdef __cplusplus | |
| 3692 extern "C" | |
| 3693 #endif | |
| 3694 char dlopen (); | |
| 3695 int | |
| 3696 main () | |
| 3697 { | |
| 3698 return dlopen (); | |
| 3699 ; | |
| 3700 return 0; | |
| 3701 } | |
| 3702 _ACEOF | |
| 3703 for ac_lib in '' dl; do | |
| 3704 if test -z "$ac_lib"; then | |
| 3705 ac_res="none required" | |
| 3706 else | |
| 3707 ac_res=-l$ac_lib | |
| 3708 LIBS="-l$ac_lib $ac_func_search_save_LIBS" | |
| 3709 fi | |
| 3710 if ac_fn_c_try_link "$LINENO"; then : | |
| 3711 ac_cv_search_dlopen=$ac_res | |
| 3712 fi | |
| 3713 rm -f core conftest.err conftest.$ac_objext \ | |
| 3714 conftest$ac_exeext | |
| 3715 if ${ac_cv_search_dlopen+:} false; then : | |
| 3716 break | |
| 3717 fi | |
| 3718 done | |
| 3719 if ${ac_cv_search_dlopen+:} false; then : | |
| 3720 | |
| 3721 else | |
| 3722 ac_cv_search_dlopen=no | |
| 3723 fi | |
| 3724 rm conftest.$ac_ext | |
| 3725 LIBS=$ac_func_search_save_LIBS | |
| 3726 fi | |
| 3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 | |
| 3728 $as_echo "$ac_cv_search_dlopen" >&6; } | |
| 3729 ac_res=$ac_cv_search_dlopen | |
| 3730 if test "$ac_res" != no; then : | |
| 3731 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" | |
| 3732 | |
| 3733 fi | |
| 3734 | |
| 3735 | |
| 3736 # Check whether --enable-programs was given. | |
| 3737 if test "${enable_programs+set}" = set; then : | |
| 3738 enableval=$enable_programs; PROGS_ARGUMENT=$enableval | |
| 3739 else | |
| 3740 PROGS_ARGUMENT="yes" | |
| 3741 fi | |
| 3742 | |
| 3743 | |
| 3744 if test "x$PROGS_ARGUMENT" = "xyes" ; then | |
| 3745 | |
| 3746 | |
| 3747 | |
| 3748 | |
| 3749 | |
| 3750 | |
| 3751 | |
| 3752 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | |
| 3753 if test -n "$ac_tool_prefix"; then | |
| 3754 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | |
| 3755 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | |
| 3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3757 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3758 if ${ac_cv_path_PKG_CONFIG+:} false; then : | |
| 3759 $as_echo_n "(cached) " >&6 | |
| 3760 else | |
| 3761 case $PKG_CONFIG in | |
| 3762 [\\/]* | ?:[\\/]*) | |
| 3763 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | |
| 3764 ;; | |
| 3765 *) | |
| 3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3767 for as_dir in $PATH | |
| 3768 do | |
| 3769 IFS=$as_save_IFS | |
| 3770 test -z "$as_dir" && as_dir=. | |
| 3771 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 3773 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3775 break 2 | |
| 3776 fi | |
| 3777 done | |
| 3778 done | |
| 3779 IFS=$as_save_IFS | |
| 3780 | |
| 3781 ;; | |
| 3782 esac | |
| 3783 fi | |
| 3784 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | |
| 3785 if test -n "$PKG_CONFIG"; then | |
| 3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | |
| 3787 $as_echo "$PKG_CONFIG" >&6; } | |
| 3788 else | |
| 3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3790 $as_echo "no" >&6; } | |
| 3791 fi | |
| 3792 | |
| 3793 | |
| 3794 fi | |
| 3795 if test -z "$ac_cv_path_PKG_CONFIG"; then | |
| 3796 ac_pt_PKG_CONFIG=$PKG_CONFIG | |
| 3797 # Extract the first word of "pkg-config", so it can be a program name with args. | |
| 3798 set dummy pkg-config; ac_word=$2 | |
| 3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | |
| 3800 $as_echo_n "checking for $ac_word... " >&6; } | |
| 3801 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | |
| 3802 $as_echo_n "(cached) " >&6 | |
| 3803 else | |
| 3804 case $ac_pt_PKG_CONFIG in | |
| 3805 [\\/]* | ?:[\\/]*) | |
| 3806 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | |
| 3807 ;; | |
| 3808 *) | |
| 3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 3810 for as_dir in $PATH | |
| 3811 do | |
| 3812 IFS=$as_save_IFS | |
| 3813 test -z "$as_dir" && as_dir=. | |
| 3814 for ac_exec_ext in '' $ac_executable_extensions; do | |
| 3815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | |
| 3816 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | |
| 3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | |
| 3818 break 2 | |
| 3819 fi | |
| 3820 done | |
| 3821 done | |
| 3822 IFS=$as_save_IFS | |
| 3823 | |
| 3824 ;; | |
| 3825 esac | |
| 3826 fi | |
| 3827 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | |
| 3828 if test -n "$ac_pt_PKG_CONFIG"; then | |
| 3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | |
| 3830 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | |
| 3831 else | |
| 3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3833 $as_echo "no" >&6; } | |
| 3834 fi | |
| 3835 | |
| 3836 if test "x$ac_pt_PKG_CONFIG" = x; then | |
| 3837 PKG_CONFIG="" | |
| 3838 else | |
| 3839 case $cross_compiling:$ac_tool_warned in | |
| 3840 yes:) | |
| 3841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | |
| 3842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | |
| 3843 ac_tool_warned=yes ;; | |
| 3844 esac | |
| 3845 PKG_CONFIG=$ac_pt_PKG_CONFIG | |
| 3846 fi | |
| 3847 else | |
| 3848 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | |
| 3849 fi | |
| 3850 | |
| 3851 fi | |
| 3852 if test -n "$PKG_CONFIG"; then | |
| 3853 _pkg_min_version=0.9.0 | |
| 3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 | |
| 3855 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | |
| 3856 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | |
| 3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 3858 $as_echo "yes" >&6; } | |
| 3859 else | |
| 3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3861 $as_echo "no" >&6; } | |
| 3862 PKG_CONFIG="" | |
| 3863 fi | |
| 3864 fi | |
| 3865 | |
| 3866 pkg_failed=no | |
| 3867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5 | |
| 3868 $as_echo_n "checking for SNDFILE... " >&6; } | |
| 3869 | |
| 3870 if test -n "$SNDFILE_CFLAGS"; then | |
| 3871 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS" | |
| 3872 elif test -n "$PKG_CONFIG"; then | |
| 3873 if test -n "$PKG_CONFIG" && \ | |
| 3874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 | |
| 3875 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
| 3876 ac_status=$? | |
| 3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3878 test $ac_status = 0; }; then | |
| 3879 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null` | |
| 3880 test "x$?" != "x0" && pkg_failed=yes | |
| 3881 else | |
| 3882 pkg_failed=yes | |
| 3883 fi | |
| 3884 else | |
| 3885 pkg_failed=untried | |
| 3886 fi | |
| 3887 if test -n "$SNDFILE_LIBS"; then | |
| 3888 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS" | |
| 3889 elif test -n "$PKG_CONFIG"; then | |
| 3890 if test -n "$PKG_CONFIG" && \ | |
| 3891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5 | |
| 3892 ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5 | |
| 3893 ac_status=$? | |
| 3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
| 3895 test $ac_status = 0; }; then | |
| 3896 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null` | |
| 3897 test "x$?" != "x0" && pkg_failed=yes | |
| 3898 else | |
| 3899 pkg_failed=yes | |
| 3900 fi | |
| 3901 else | |
| 3902 pkg_failed=untried | |
| 3903 fi | |
| 3904 | |
| 3905 | |
| 3906 | |
| 3907 if test $pkg_failed = yes; then | |
| 3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3909 $as_echo "no" >&6; } | |
| 3910 | |
| 3911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
| 3912 _pkg_short_errors_supported=yes | |
| 3913 else | |
| 3914 _pkg_short_errors_supported=no | |
| 3915 fi | |
| 3916 if test $_pkg_short_errors_supported = yes; then | |
| 3917 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1` | |
| 3918 else | |
| 3919 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1` | |
| 3920 fi | |
| 3921 # Put the nasty error message in config.log where it belongs | |
| 3922 echo "$SNDFILE_PKG_ERRORS" >&5 | |
| 3923 | |
| 3924 have_sndfile="no" | |
| 3925 elif test $pkg_failed = untried; then | |
| 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
| 3927 $as_echo "no" >&6; } | |
| 3928 have_sndfile="no" | |
| 3929 else | |
| 3930 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS | |
| 3931 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS | |
| 3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
| 3933 $as_echo "yes" >&6; } | |
| 3934 have_sndfile="yes" | |
| 3935 fi | |
| 3936 if test "x$have_sndfile" = "xyes" ; then | |
| 3937 TARGETS="sdk plugins host rdfgen test" | |
| 3938 else | |
| 3939 as_fn_error $? "libsndfile not found - cannot build example Vamp host! | |
| 3940 If you don't want to build the host, configure with --disable-programs." "$LINENO" 5 | |
| 3941 fi | |
| 3942 else | |
| 3943 TARGETS="sdk plugins" | |
| 3944 fi | |
| 3945 | |
| 3946 | |
| 3947 | |
| 3948 | |
| 3949 | |
| 3950 if test "x$GCC" = "xyes"; then | |
| 3951 case " $CXXFLAGS " in | |
| 3952 *[\ \ ]-fPIC\ -Wall[\ \ ]*) ;; | |
| 3953 *) CXXFLAGS="$CXXFLAGS -fPIC -Wall" ;; | |
| 3954 esac | |
| 3955 fi | |
| 3956 | |
| 3957 | |
| 3958 ac_config_files="$ac_config_files Makefile" | |
| 3959 | |
| 3960 cat >confcache <<\_ACEOF | |
| 3961 # This file is a shell script that caches the results of configure | |
| 3962 # tests run on this system so they can be shared between configure | |
| 3963 # scripts and configure runs, see configure's option --config-cache. | |
| 3964 # It is not useful on other systems. If it contains results you don't | |
| 3965 # want to keep, you may remove or edit it. | |
| 3966 # | |
| 3967 # config.status only pays attention to the cache file if you give it | |
| 3968 # the --recheck option to rerun configure. | |
| 3969 # | |
| 3970 # `ac_cv_env_foo' variables (set or unset) will be overridden when | |
| 3971 # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
| 3972 # following values. | |
| 3973 | |
| 3974 _ACEOF | |
| 3975 | |
| 3976 # The following way of writing the cache mishandles newlines in values, | |
| 3977 # but we know of no workaround that is simple, portable, and efficient. | |
| 3978 # So, we kill variables containing newlines. | |
| 3979 # Ultrix sh set writes to stderr and can't be redirected directly, | |
| 3980 # and sets the high bit in the cache file unless we assign to the vars. | |
| 3981 ( | |
| 3982 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | |
| 3983 eval ac_val=\$$ac_var | |
| 3984 case $ac_val in #( | |
| 3985 *${as_nl}*) | |
| 3986 case $ac_var in #( | |
| 3987 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | |
| 3988 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | |
| 3989 esac | |
| 3990 case $ac_var in #( | |
| 3991 _ | IFS | as_nl) ;; #( | |
| 3992 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | |
| 3993 *) { eval $ac_var=; unset $ac_var;} ;; | |
| 3994 esac ;; | |
| 3995 esac | |
| 3996 done | |
| 3997 | |
| 3998 (set) 2>&1 | | |
| 3999 case $as_nl`(ac_space=' '; set) 2>&1` in #( | |
| 4000 *${as_nl}ac_space=\ *) | |
| 4001 # `set' does not quote correctly, so add quotes: double-quote | |
| 4002 # substitution turns \\\\ into \\, and sed turns \\ into \. | |
| 4003 sed -n \ | |
| 4004 "s/'/'\\\\''/g; | |
| 4005 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
| 4006 ;; #( | |
| 4007 *) | |
| 4008 # `set' quotes correctly as required by POSIX, so do not add quotes. | |
| 4009 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | |
| 4010 ;; | |
| 4011 esac | | |
| 4012 sort | |
| 4013 ) | | |
| 4014 sed ' | |
| 4015 /^ac_cv_env_/b end | |
| 4016 t clear | |
| 4017 :clear | |
| 4018 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
| 4019 t end | |
| 4020 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
| 4021 :end' >>confcache | |
| 4022 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | |
| 4023 if test -w "$cache_file"; then | |
| 4024 if test "x$cache_file" != "x/dev/null"; then | |
| 4025 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | |
| 4026 $as_echo "$as_me: updating cache $cache_file" >&6;} | |
| 4027 if test ! -f "$cache_file" || test -h "$cache_file"; then | |
| 4028 cat confcache >"$cache_file" | |
| 4029 else | |
| 4030 case $cache_file in #( | |
| 4031 */* | ?:*) | |
| 4032 mv -f confcache "$cache_file"$$ && | |
| 4033 mv -f "$cache_file"$$ "$cache_file" ;; #( | |
| 4034 *) | |
| 4035 mv -f confcache "$cache_file" ;; | |
| 4036 esac | |
| 4037 fi | |
| 4038 fi | |
| 4039 else | |
| 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | |
| 4041 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | |
| 4042 fi | |
| 4043 fi | |
| 4044 rm -f confcache | |
| 4045 | |
| 4046 test "x$prefix" = xNONE && prefix=$ac_default_prefix | |
| 4047 # Let make expand exec_prefix. | |
| 4048 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
| 4049 | |
| 4050 # Transform confdefs.h into DEFS. | |
| 4051 # Protect against shell expansion while executing Makefile rules. | |
| 4052 # Protect against Makefile macro expansion. | |
| 4053 # | |
| 4054 # If the first sed substitution is executed (which looks for macros that | |
| 4055 # take arguments), then branch to the quote section. Otherwise, | |
| 4056 # look for a macro that doesn't take arguments. | |
| 4057 ac_script=' | |
| 4058 :mline | |
| 4059 /\\$/{ | |
| 4060 N | |
| 4061 s,\\\n,, | |
| 4062 b mline | |
| 4063 } | |
| 4064 t clear | |
| 4065 :clear | |
| 4066 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g | |
| 4067 t quote | |
| 4068 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g | |
| 4069 t quote | |
| 4070 b any | |
| 4071 :quote | |
| 4072 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g | |
| 4073 s/\[/\\&/g | |
| 4074 s/\]/\\&/g | |
| 4075 s/\$/$$/g | |
| 4076 H | |
| 4077 :any | |
| 4078 ${ | |
| 4079 g | |
| 4080 s/^\n// | |
| 4081 s/\n/ /g | |
| 4082 p | |
| 4083 } | |
| 4084 ' | |
| 4085 DEFS=`sed -n "$ac_script" confdefs.h` | |
| 4086 | |
| 4087 | |
| 4088 ac_libobjs= | |
| 4089 ac_ltlibobjs= | |
| 4090 U= | |
| 4091 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | |
| 4092 # 1. Remove the extension, and $U if already installed. | |
| 4093 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | |
| 4094 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | |
| 4095 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | |
| 4096 # will be set to the directory where LIBOBJS objects are built. | |
| 4097 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | |
| 4098 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | |
| 4099 done | |
| 4100 LIBOBJS=$ac_libobjs | |
| 4101 | |
| 4102 LTLIBOBJS=$ac_ltlibobjs | |
| 4103 | |
| 4104 | |
| 4105 | |
| 4106 | |
| 4107 : "${CONFIG_STATUS=./config.status}" | |
| 4108 ac_write_fail=0 | |
| 4109 ac_clean_files_save=$ac_clean_files | |
| 4110 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
| 4111 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | |
| 4112 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | |
| 4113 as_write_fail=0 | |
| 4114 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | |
| 4115 #! $SHELL | |
| 4116 # Generated by $as_me. | |
| 4117 # Run this file to recreate the current configuration. | |
| 4118 # Compiler output produced by configure, useful for debugging | |
| 4119 # configure, is in config.log if it exists. | |
| 4120 | |
| 4121 debug=false | |
| 4122 ac_cs_recheck=false | |
| 4123 ac_cs_silent=false | |
| 4124 | |
| 4125 SHELL=\${CONFIG_SHELL-$SHELL} | |
| 4126 export SHELL | |
| 4127 _ASEOF | |
| 4128 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | |
| 4129 ## -------------------- ## | |
| 4130 ## M4sh Initialization. ## | |
| 4131 ## -------------------- ## | |
| 4132 | |
| 4133 # Be more Bourne compatible | |
| 4134 DUALCASE=1; export DUALCASE # for MKS sh | |
| 4135 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | |
| 4136 emulate sh | |
| 4137 NULLCMD=: | |
| 4138 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | |
| 4139 # is contrary to our usage. Disable this feature. | |
| 4140 alias -g '${1+"$@"}'='"$@"' | |
| 4141 setopt NO_GLOB_SUBST | |
| 4142 else | |
| 4143 case `(set -o) 2>/dev/null` in #( | |
| 4144 *posix*) : | |
| 4145 set -o posix ;; #( | |
| 4146 *) : | |
| 4147 ;; | |
| 4148 esac | |
| 4149 fi | |
| 4150 | |
| 4151 | |
| 4152 as_nl=' | |
| 4153 ' | |
| 4154 export as_nl | |
| 4155 # Printing a long string crashes Solaris 7 /usr/bin/printf. | |
| 4156 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | |
| 4157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 4158 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | |
| 4159 # Prefer a ksh shell builtin over an external printf program on Solaris, | |
| 4160 # but without wasting forks for bash or zsh. | |
| 4161 if test -z "$BASH_VERSION$ZSH_VERSION" \ | |
| 4162 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 4163 as_echo='print -r --' | |
| 4164 as_echo_n='print -rn --' | |
| 4165 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | |
| 4166 as_echo='printf %s\n' | |
| 4167 as_echo_n='printf %s' | |
| 4168 else | |
| 4169 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | |
| 4170 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | |
| 4171 as_echo_n='/usr/ucb/echo -n' | |
| 4172 else | |
| 4173 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | |
| 4174 as_echo_n_body='eval | |
| 4175 arg=$1; | |
| 4176 case $arg in #( | |
| 4177 *"$as_nl"*) | |
| 4178 expr "X$arg" : "X\\(.*\\)$as_nl"; | |
| 4179 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | |
| 4180 esac; | |
| 4181 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | |
| 4182 ' | |
| 4183 export as_echo_n_body | |
| 4184 as_echo_n='sh -c $as_echo_n_body as_echo' | |
| 4185 fi | |
| 4186 export as_echo_body | |
| 4187 as_echo='sh -c $as_echo_body as_echo' | |
| 4188 fi | |
| 4189 | |
| 4190 # The user is always right. | |
| 4191 if test "${PATH_SEPARATOR+set}" != set; then | |
| 4192 PATH_SEPARATOR=: | |
| 4193 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | |
| 4194 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | |
| 4195 PATH_SEPARATOR=';' | |
| 4196 } | |
| 4197 fi | |
| 4198 | |
| 4199 | |
| 4200 # IFS | |
| 4201 # We need space, tab and new line, in precisely that order. Quoting is | |
| 4202 # there to prevent editors from complaining about space-tab. | |
| 4203 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | |
| 4204 # splitting by setting IFS to empty value.) | |
| 4205 IFS=" "" $as_nl" | |
| 4206 | |
| 4207 # Find who we are. Look in the path if we contain no directory separator. | |
| 4208 as_myself= | |
| 4209 case $0 in #(( | |
| 4210 *[\\/]* ) as_myself=$0 ;; | |
| 4211 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | |
| 4212 for as_dir in $PATH | |
| 4213 do | |
| 4214 IFS=$as_save_IFS | |
| 4215 test -z "$as_dir" && as_dir=. | |
| 4216 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | |
| 4217 done | |
| 4218 IFS=$as_save_IFS | |
| 4219 | |
| 4220 ;; | |
| 4221 esac | |
| 4222 # We did not find ourselves, most probably we were run as `sh COMMAND' | |
| 4223 # in which case we are not to be found in the path. | |
| 4224 if test "x$as_myself" = x; then | |
| 4225 as_myself=$0 | |
| 4226 fi | |
| 4227 if test ! -f "$as_myself"; then | |
| 4228 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | |
| 4229 exit 1 | |
| 4230 fi | |
| 4231 | |
| 4232 # Unset variables that we do not need and which cause bugs (e.g. in | |
| 4233 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | |
| 4234 # suppresses any "Segmentation fault" message there. '((' could | |
| 4235 # trigger a bug in pdksh 5.2.14. | |
| 4236 for as_var in BASH_ENV ENV MAIL MAILPATH | |
| 4237 do eval test x\${$as_var+set} = xset \ | |
| 4238 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | |
| 4239 done | |
| 4240 PS1='$ ' | |
| 4241 PS2='> ' | |
| 4242 PS4='+ ' | |
| 4243 | |
| 4244 # NLS nuisances. | |
| 4245 LC_ALL=C | |
| 4246 export LC_ALL | |
| 4247 LANGUAGE=C | |
| 4248 export LANGUAGE | |
| 4249 | |
| 4250 # CDPATH. | |
| 4251 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | |
| 4252 | |
| 4253 | |
| 4254 # as_fn_error STATUS ERROR [LINENO LOG_FD] | |
| 4255 # ---------------------------------------- | |
| 4256 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | |
| 4257 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | |
| 4258 # script with STATUS, using 1 if that was 0. | |
| 4259 as_fn_error () | |
| 4260 { | |
| 4261 as_status=$1; test $as_status -eq 0 && as_status=1 | |
| 4262 if test "$4"; then | |
| 4263 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | |
| 4264 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | |
| 4265 fi | |
| 4266 $as_echo "$as_me: error: $2" >&2 | |
| 4267 as_fn_exit $as_status | |
| 4268 } # as_fn_error | |
| 4269 | |
| 4270 | |
| 4271 # as_fn_set_status STATUS | |
| 4272 # ----------------------- | |
| 4273 # Set $? to STATUS, without forking. | |
| 4274 as_fn_set_status () | |
| 4275 { | |
| 4276 return $1 | |
| 4277 } # as_fn_set_status | |
| 4278 | |
| 4279 # as_fn_exit STATUS | |
| 4280 # ----------------- | |
| 4281 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | |
| 4282 as_fn_exit () | |
| 4283 { | |
| 4284 set +e | |
| 4285 as_fn_set_status $1 | |
| 4286 exit $1 | |
| 4287 } # as_fn_exit | |
| 4288 | |
| 4289 # as_fn_unset VAR | |
| 4290 # --------------- | |
| 4291 # Portably unset VAR. | |
| 4292 as_fn_unset () | |
| 4293 { | |
| 4294 { eval $1=; unset $1;} | |
| 4295 } | |
| 4296 as_unset=as_fn_unset | |
| 4297 # as_fn_append VAR VALUE | |
| 4298 # ---------------------- | |
| 4299 # Append the text in VALUE to the end of the definition contained in VAR. Take | |
| 4300 # advantage of any shell optimizations that allow amortized linear growth over | |
| 4301 # repeated appends, instead of the typical quadratic growth present in naive | |
| 4302 # implementations. | |
| 4303 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | |
| 4304 eval 'as_fn_append () | |
| 4305 { | |
| 4306 eval $1+=\$2 | |
| 4307 }' | |
| 4308 else | |
| 4309 as_fn_append () | |
| 4310 { | |
| 4311 eval $1=\$$1\$2 | |
| 4312 } | |
| 4313 fi # as_fn_append | |
| 4314 | |
| 4315 # as_fn_arith ARG... | |
| 4316 # ------------------ | |
| 4317 # Perform arithmetic evaluation on the ARGs, and store the result in the | |
| 4318 # global $as_val. Take advantage of shells that can avoid forks. The arguments | |
| 4319 # must be portable across $(()) and expr. | |
| 4320 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | |
| 4321 eval 'as_fn_arith () | |
| 4322 { | |
| 4323 as_val=$(( $* )) | |
| 4324 }' | |
| 4325 else | |
| 4326 as_fn_arith () | |
| 4327 { | |
| 4328 as_val=`expr "$@" || test $? -eq 1` | |
| 4329 } | |
| 4330 fi # as_fn_arith | |
| 4331 | |
| 4332 | |
| 4333 if expr a : '\(a\)' >/dev/null 2>&1 && | |
| 4334 test "X`expr 00001 : '.*\(...\)'`" = X001; then | |
| 4335 as_expr=expr | |
| 4336 else | |
| 4337 as_expr=false | |
| 4338 fi | |
| 4339 | |
| 4340 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | |
| 4341 as_basename=basename | |
| 4342 else | |
| 4343 as_basename=false | |
| 4344 fi | |
| 4345 | |
| 4346 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | |
| 4347 as_dirname=dirname | |
| 4348 else | |
| 4349 as_dirname=false | |
| 4350 fi | |
| 4351 | |
| 4352 as_me=`$as_basename -- "$0" || | |
| 4353 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | |
| 4354 X"$0" : 'X\(//\)$' \| \ | |
| 4355 X"$0" : 'X\(/\)' \| . 2>/dev/null || | |
| 4356 $as_echo X/"$0" | | |
| 4357 sed '/^.*\/\([^/][^/]*\)\/*$/{ | |
| 4358 s//\1/ | |
| 4359 q | |
| 4360 } | |
| 4361 /^X\/\(\/\/\)$/{ | |
| 4362 s//\1/ | |
| 4363 q | |
| 4364 } | |
| 4365 /^X\/\(\/\).*/{ | |
| 4366 s//\1/ | |
| 4367 q | |
| 4368 } | |
| 4369 s/.*/./; q'` | |
| 4370 | |
| 4371 # Avoid depending upon Character Ranges. | |
| 4372 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
| 4373 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
| 4374 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
| 4375 as_cr_digits='0123456789' | |
| 4376 as_cr_alnum=$as_cr_Letters$as_cr_digits | |
| 4377 | |
| 4378 ECHO_C= ECHO_N= ECHO_T= | |
| 4379 case `echo -n x` in #((((( | |
| 4380 -n*) | |
| 4381 case `echo 'xy\c'` in | |
| 4382 *c*) ECHO_T=' ';; # ECHO_T is single tab character. | |
| 4383 xy) ECHO_C='\c';; | |
| 4384 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | |
| 4385 ECHO_T=' ';; | |
| 4386 esac;; | |
| 4387 *) | |
| 4388 ECHO_N='-n';; | |
| 4389 esac | |
| 4390 | |
| 4391 rm -f conf$$ conf$$.exe conf$$.file | |
| 4392 if test -d conf$$.dir; then | |
| 4393 rm -f conf$$.dir/conf$$.file | |
| 4394 else | |
| 4395 rm -f conf$$.dir | |
| 4396 mkdir conf$$.dir 2>/dev/null | |
| 4397 fi | |
| 4398 if (echo >conf$$.file) 2>/dev/null; then | |
| 4399 if ln -s conf$$.file conf$$ 2>/dev/null; then | |
| 4400 as_ln_s='ln -s' | |
| 4401 # ... but there are two gotchas: | |
| 4402 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | |
| 4403 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | |
| 4404 # In both cases, we have to default to `cp -pR'. | |
| 4405 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | |
| 4406 as_ln_s='cp -pR' | |
| 4407 elif ln conf$$.file conf$$ 2>/dev/null; then | |
| 4408 as_ln_s=ln | |
| 4409 else | |
| 4410 as_ln_s='cp -pR' | |
| 4411 fi | |
| 4412 else | |
| 4413 as_ln_s='cp -pR' | |
| 4414 fi | |
| 4415 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | |
| 4416 rmdir conf$$.dir 2>/dev/null | |
| 4417 | |
| 4418 | |
| 4419 # as_fn_mkdir_p | |
| 4420 # ------------- | |
| 4421 # Create "$as_dir" as a directory, including parents if necessary. | |
| 4422 as_fn_mkdir_p () | |
| 4423 { | |
| 4424 | |
| 4425 case $as_dir in #( | |
| 4426 -*) as_dir=./$as_dir;; | |
| 4427 esac | |
| 4428 test -d "$as_dir" || eval $as_mkdir_p || { | |
| 4429 as_dirs= | |
| 4430 while :; do | |
| 4431 case $as_dir in #( | |
| 4432 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | |
| 4433 *) as_qdir=$as_dir;; | |
| 4434 esac | |
| 4435 as_dirs="'$as_qdir' $as_dirs" | |
| 4436 as_dir=`$as_dirname -- "$as_dir" || | |
| 4437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 4438 X"$as_dir" : 'X\(//\)[^/]' \| \ | |
| 4439 X"$as_dir" : 'X\(//\)$' \| \ | |
| 4440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | |
| 4441 $as_echo X"$as_dir" | | |
| 4442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 4443 s//\1/ | |
| 4444 q | |
| 4445 } | |
| 4446 /^X\(\/\/\)[^/].*/{ | |
| 4447 s//\1/ | |
| 4448 q | |
| 4449 } | |
| 4450 /^X\(\/\/\)$/{ | |
| 4451 s//\1/ | |
| 4452 q | |
| 4453 } | |
| 4454 /^X\(\/\).*/{ | |
| 4455 s//\1/ | |
| 4456 q | |
| 4457 } | |
| 4458 s/.*/./; q'` | |
| 4459 test -d "$as_dir" && break | |
| 4460 done | |
| 4461 test -z "$as_dirs" || eval "mkdir $as_dirs" | |
| 4462 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | |
| 4463 | |
| 4464 | |
| 4465 } # as_fn_mkdir_p | |
| 4466 if mkdir -p . 2>/dev/null; then | |
| 4467 as_mkdir_p='mkdir -p "$as_dir"' | |
| 4468 else | |
| 4469 test -d ./-p && rmdir ./-p | |
| 4470 as_mkdir_p=false | |
| 4471 fi | |
| 4472 | |
| 4473 | |
| 4474 # as_fn_executable_p FILE | |
| 4475 # ----------------------- | |
| 4476 # Test if FILE is an executable regular file. | |
| 4477 as_fn_executable_p () | |
| 4478 { | |
| 4479 test -f "$1" && test -x "$1" | |
| 4480 } # as_fn_executable_p | |
| 4481 as_test_x='test -x' | |
| 4482 as_executable_p=as_fn_executable_p | |
| 4483 | |
| 4484 # Sed expression to map a string onto a valid CPP name. | |
| 4485 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | |
| 4486 | |
| 4487 # Sed expression to map a string onto a valid variable name. | |
| 4488 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | |
| 4489 | |
| 4490 | |
| 4491 exec 6>&1 | |
| 4492 ## ----------------------------------- ## | |
| 4493 ## Main body of $CONFIG_STATUS script. ## | |
| 4494 ## ----------------------------------- ## | |
| 4495 _ASEOF | |
| 4496 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | |
| 4497 | |
| 4498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4499 # Save the log message, to keep $0 and so on meaningful, and to | |
| 4500 # report actual input values of CONFIG_FILES etc. instead of their | |
| 4501 # values after options handling. | |
| 4502 ac_log=" | |
| 4503 This file was extended by vamp-plugin-sdk $as_me 2.5, which was | |
| 4504 generated by GNU Autoconf 2.69. Invocation command line was | |
| 4505 | |
| 4506 CONFIG_FILES = $CONFIG_FILES | |
| 4507 CONFIG_HEADERS = $CONFIG_HEADERS | |
| 4508 CONFIG_LINKS = $CONFIG_LINKS | |
| 4509 CONFIG_COMMANDS = $CONFIG_COMMANDS | |
| 4510 $ $0 $@ | |
| 4511 | |
| 4512 on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
| 4513 " | |
| 4514 | |
| 4515 _ACEOF | |
| 4516 | |
| 4517 case $ac_config_files in *" | |
| 4518 "*) set x $ac_config_files; shift; ac_config_files=$*;; | |
| 4519 esac | |
| 4520 | |
| 4521 | |
| 4522 | |
| 4523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4524 # Files that config.status was made for. | |
| 4525 config_files="$ac_config_files" | |
| 4526 | |
| 4527 _ACEOF | |
| 4528 | |
| 4529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4530 ac_cs_usage="\ | |
| 4531 \`$as_me' instantiates files and other configuration actions | |
| 4532 from templates according to the current configuration. Unless the files | |
| 4533 and actions are specified as TAGs, all are instantiated by default. | |
| 4534 | |
| 4535 Usage: $0 [OPTION]... [TAG]... | |
| 4536 | |
| 4537 -h, --help print this help, then exit | |
| 4538 -V, --version print version number and configuration settings, then exit | |
| 4539 --config print configuration, then exit | |
| 4540 -q, --quiet, --silent | |
| 4541 do not print progress messages | |
| 4542 -d, --debug don't remove temporary files | |
| 4543 --recheck update $as_me by reconfiguring in the same conditions | |
| 4544 --file=FILE[:TEMPLATE] | |
| 4545 instantiate the configuration file FILE | |
| 4546 | |
| 4547 Configuration files: | |
| 4548 $config_files | |
| 4549 | |
| 4550 Report bugs to <cannam@all-day-breakfast.com>." | |
| 4551 | |
| 4552 _ACEOF | |
| 4553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4554 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | |
| 4555 ac_cs_version="\\ | |
| 4556 vamp-plugin-sdk config.status 2.5 | |
| 4557 configured by $0, generated by GNU Autoconf 2.69, | |
| 4558 with options \\"\$ac_cs_config\\" | |
| 4559 | |
| 4560 Copyright (C) 2012 Free Software Foundation, Inc. | |
| 4561 This config.status script is free software; the Free Software Foundation | |
| 4562 gives unlimited permission to copy, distribute and modify it." | |
| 4563 | |
| 4564 ac_pwd='$ac_pwd' | |
| 4565 srcdir='$srcdir' | |
| 4566 test -n "\$AWK" || AWK=awk | |
| 4567 _ACEOF | |
| 4568 | |
| 4569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4570 # The default lists apply if the user does not specify any file. | |
| 4571 ac_need_defaults=: | |
| 4572 while test $# != 0 | |
| 4573 do | |
| 4574 case $1 in | |
| 4575 --*=?*) | |
| 4576 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 4577 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | |
| 4578 ac_shift=: | |
| 4579 ;; | |
| 4580 --*=) | |
| 4581 ac_option=`expr "X$1" : 'X\([^=]*\)='` | |
| 4582 ac_optarg= | |
| 4583 ac_shift=: | |
| 4584 ;; | |
| 4585 *) | |
| 4586 ac_option=$1 | |
| 4587 ac_optarg=$2 | |
| 4588 ac_shift=shift | |
| 4589 ;; | |
| 4590 esac | |
| 4591 | |
| 4592 case $ac_option in | |
| 4593 # Handling of the options. | |
| 4594 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | |
| 4595 ac_cs_recheck=: ;; | |
| 4596 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | |
| 4597 $as_echo "$ac_cs_version"; exit ;; | |
| 4598 --config | --confi | --conf | --con | --co | --c ) | |
| 4599 $as_echo "$ac_cs_config"; exit ;; | |
| 4600 --debug | --debu | --deb | --de | --d | -d ) | |
| 4601 debug=: ;; | |
| 4602 --file | --fil | --fi | --f ) | |
| 4603 $ac_shift | |
| 4604 case $ac_optarg in | |
| 4605 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | |
| 4606 '') as_fn_error $? "missing file argument" ;; | |
| 4607 esac | |
| 4608 as_fn_append CONFIG_FILES " '$ac_optarg'" | |
| 4609 ac_need_defaults=false;; | |
| 4610 --he | --h | --help | --hel | -h ) | |
| 4611 $as_echo "$ac_cs_usage"; exit ;; | |
| 4612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
| 4613 | -silent | --silent | --silen | --sile | --sil | --si | --s) | |
| 4614 ac_cs_silent=: ;; | |
| 4615 | |
| 4616 # This is an error. | |
| 4617 -*) as_fn_error $? "unrecognized option: \`$1' | |
| 4618 Try \`$0 --help' for more information." ;; | |
| 4619 | |
| 4620 *) as_fn_append ac_config_targets " $1" | |
| 4621 ac_need_defaults=false ;; | |
| 4622 | |
| 4623 esac | |
| 4624 shift | |
| 4625 done | |
| 4626 | |
| 4627 ac_configure_extra_args= | |
| 4628 | |
| 4629 if $ac_cs_silent; then | |
| 4630 exec 6>/dev/null | |
| 4631 ac_configure_extra_args="$ac_configure_extra_args --silent" | |
| 4632 fi | |
| 4633 | |
| 4634 _ACEOF | |
| 4635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4636 if \$ac_cs_recheck; then | |
| 4637 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | |
| 4638 shift | |
| 4639 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | |
| 4640 CONFIG_SHELL='$SHELL' | |
| 4641 export CONFIG_SHELL | |
| 4642 exec "\$@" | |
| 4643 fi | |
| 4644 | |
| 4645 _ACEOF | |
| 4646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4647 exec 5>>config.log | |
| 4648 { | |
| 4649 echo | |
| 4650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | |
| 4651 ## Running $as_me. ## | |
| 4652 _ASBOX | |
| 4653 $as_echo "$ac_log" | |
| 4654 } >&5 | |
| 4655 | |
| 4656 _ACEOF | |
| 4657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4658 _ACEOF | |
| 4659 | |
| 4660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4661 | |
| 4662 # Handling of arguments. | |
| 4663 for ac_config_target in $ac_config_targets | |
| 4664 do | |
| 4665 case $ac_config_target in | |
| 4666 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
| 4667 | |
| 4668 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | |
| 4669 esac | |
| 4670 done | |
| 4671 | |
| 4672 | |
| 4673 # If the user did not use the arguments to specify the items to instantiate, | |
| 4674 # then the envvar interface is used. Set only those that are not. | |
| 4675 # We use the long form for the default assignment because of an extremely | |
| 4676 # bizarre bug on SunOS 4.1.3. | |
| 4677 if $ac_need_defaults; then | |
| 4678 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
| 4679 fi | |
| 4680 | |
| 4681 # Have a temporary directory for convenience. Make it in the build tree | |
| 4682 # simply because there is no reason against having it here, and in addition, | |
| 4683 # creating and moving files from /tmp can sometimes cause problems. | |
| 4684 # Hook for its removal unless debugging. | |
| 4685 # Note that there is a small window in which the directory will not be cleaned: | |
| 4686 # after its creation but before its name has been assigned to `$tmp'. | |
| 4687 $debug || | |
| 4688 { | |
| 4689 tmp= ac_tmp= | |
| 4690 trap 'exit_status=$? | |
| 4691 : "${ac_tmp:=$tmp}" | |
| 4692 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | |
| 4693 ' 0 | |
| 4694 trap 'as_fn_exit 1' 1 2 13 15 | |
| 4695 } | |
| 4696 # Create a (secure) tmp directory for tmp files. | |
| 4697 | |
| 4698 { | |
| 4699 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | |
| 4700 test -d "$tmp" | |
| 4701 } || | |
| 4702 { | |
| 4703 tmp=./conf$$-$RANDOM | |
| 4704 (umask 077 && mkdir "$tmp") | |
| 4705 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | |
| 4706 ac_tmp=$tmp | |
| 4707 | |
| 4708 # Set up the scripts for CONFIG_FILES section. | |
| 4709 # No need to generate them if there are no CONFIG_FILES. | |
| 4710 # This happens for instance with `./config.status config.h'. | |
| 4711 if test -n "$CONFIG_FILES"; then | |
| 4712 | |
| 4713 | |
| 4714 ac_cr=`echo X | tr X '\015'` | |
| 4715 # On cygwin, bash can eat \r inside `` if the user requested igncr. | |
| 4716 # But we know of no other shell where ac_cr would be empty at this | |
| 4717 # point, so we can use a bashism as a fallback. | |
| 4718 if test "x$ac_cr" = x; then | |
| 4719 eval ac_cr=\$\'\\r\' | |
| 4720 fi | |
| 4721 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | |
| 4722 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | |
| 4723 ac_cs_awk_cr='\\r' | |
| 4724 else | |
| 4725 ac_cs_awk_cr=$ac_cr | |
| 4726 fi | |
| 4727 | |
| 4728 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | |
| 4729 _ACEOF | |
| 4730 | |
| 4731 | |
| 4732 { | |
| 4733 echo "cat >conf$$subs.awk <<_ACEOF" && | |
| 4734 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | |
| 4735 echo "_ACEOF" | |
| 4736 } >conf$$subs.sh || | |
| 4737 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4738 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | |
| 4739 ac_delim='%!_!# ' | |
| 4740 for ac_last_try in false false false false false :; do | |
| 4741 . ./conf$$subs.sh || | |
| 4742 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4743 | |
| 4744 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | |
| 4745 if test $ac_delim_n = $ac_delim_num; then | |
| 4746 break | |
| 4747 elif $ac_last_try; then | |
| 4748 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | |
| 4749 else | |
| 4750 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | |
| 4751 fi | |
| 4752 done | |
| 4753 rm -f conf$$subs.sh | |
| 4754 | |
| 4755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4756 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | |
| 4757 _ACEOF | |
| 4758 sed -n ' | |
| 4759 h | |
| 4760 s/^/S["/; s/!.*/"]=/ | |
| 4761 p | |
| 4762 g | |
| 4763 s/^[^!]*!// | |
| 4764 :repl | |
| 4765 t repl | |
| 4766 s/'"$ac_delim"'$// | |
| 4767 t delim | |
| 4768 :nl | |
| 4769 h | |
| 4770 s/\(.\{148\}\)..*/\1/ | |
| 4771 t more1 | |
| 4772 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | |
| 4773 p | |
| 4774 n | |
| 4775 b repl | |
| 4776 :more1 | |
| 4777 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 4778 p | |
| 4779 g | |
| 4780 s/.\{148\}// | |
| 4781 t nl | |
| 4782 :delim | |
| 4783 h | |
| 4784 s/\(.\{148\}\)..*/\1/ | |
| 4785 t more2 | |
| 4786 s/["\\]/\\&/g; s/^/"/; s/$/"/ | |
| 4787 p | |
| 4788 b | |
| 4789 :more2 | |
| 4790 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | |
| 4791 p | |
| 4792 g | |
| 4793 s/.\{148\}// | |
| 4794 t delim | |
| 4795 ' <conf$$subs.awk | sed ' | |
| 4796 /^[^""]/{ | |
| 4797 N | |
| 4798 s/\n// | |
| 4799 } | |
| 4800 ' >>$CONFIG_STATUS || ac_write_fail=1 | |
| 4801 rm -f conf$$subs.awk | |
| 4802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 4803 _ACAWK | |
| 4804 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | |
| 4805 for (key in S) S_is_set[key] = 1 | |
| 4806 FS = "" | |
| 4807 | |
| 4808 } | |
| 4809 { | |
| 4810 line = $ 0 | |
| 4811 nfields = split(line, field, "@") | |
| 4812 substed = 0 | |
| 4813 len = length(field[1]) | |
| 4814 for (i = 2; i < nfields; i++) { | |
| 4815 key = field[i] | |
| 4816 keylen = length(key) | |
| 4817 if (S_is_set[key]) { | |
| 4818 value = S[key] | |
| 4819 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | |
| 4820 len += length(value) + length(field[++i]) | |
| 4821 substed = 1 | |
| 4822 } else | |
| 4823 len += 1 + keylen | |
| 4824 } | |
| 4825 | |
| 4826 print line | |
| 4827 } | |
| 4828 | |
| 4829 _ACAWK | |
| 4830 _ACEOF | |
| 4831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4832 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | |
| 4833 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | |
| 4834 else | |
| 4835 cat | |
| 4836 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | |
| 4837 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | |
| 4838 _ACEOF | |
| 4839 | |
| 4840 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | |
| 4841 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | |
| 4842 # trailing colons and then remove the whole line if VPATH becomes empty | |
| 4843 # (actually we leave an empty line to preserve line numbers). | |
| 4844 if test "x$srcdir" = x.; then | |
| 4845 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | |
| 4846 h | |
| 4847 s/// | |
| 4848 s/^/:/ | |
| 4849 s/[ ]*$/:/ | |
| 4850 s/:\$(srcdir):/:/g | |
| 4851 s/:\${srcdir}:/:/g | |
| 4852 s/:@srcdir@:/:/g | |
| 4853 s/^:*// | |
| 4854 s/:*$// | |
| 4855 x | |
| 4856 s/\(=[ ]*\).*/\1/ | |
| 4857 G | |
| 4858 s/\n// | |
| 4859 s/^[^=]*=[ ]*$// | |
| 4860 }' | |
| 4861 fi | |
| 4862 | |
| 4863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 4864 fi # test -n "$CONFIG_FILES" | |
| 4865 | |
| 4866 | |
| 4867 eval set X " :F $CONFIG_FILES " | |
| 4868 shift | |
| 4869 for ac_tag | |
| 4870 do | |
| 4871 case $ac_tag in | |
| 4872 :[FHLC]) ac_mode=$ac_tag; continue;; | |
| 4873 esac | |
| 4874 case $ac_mode$ac_tag in | |
| 4875 :[FHL]*:*);; | |
| 4876 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | |
| 4877 :[FH]-) ac_tag=-:-;; | |
| 4878 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | |
| 4879 esac | |
| 4880 ac_save_IFS=$IFS | |
| 4881 IFS=: | |
| 4882 set x $ac_tag | |
| 4883 IFS=$ac_save_IFS | |
| 4884 shift | |
| 4885 ac_file=$1 | |
| 4886 shift | |
| 4887 | |
| 4888 case $ac_mode in | |
| 4889 :L) ac_source=$1;; | |
| 4890 :[FH]) | |
| 4891 ac_file_inputs= | |
| 4892 for ac_f | |
| 4893 do | |
| 4894 case $ac_f in | |
| 4895 -) ac_f="$ac_tmp/stdin";; | |
| 4896 *) # Look for the file first in the build tree, then in the source tree | |
| 4897 # (if the path is not absolute). The absolute path cannot be DOS-style, | |
| 4898 # because $ac_f cannot contain `:'. | |
| 4899 test -f "$ac_f" || | |
| 4900 case $ac_f in | |
| 4901 [\\/$]*) false;; | |
| 4902 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | |
| 4903 esac || | |
| 4904 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | |
| 4905 esac | |
| 4906 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | |
| 4907 as_fn_append ac_file_inputs " '$ac_f'" | |
| 4908 done | |
| 4909 | |
| 4910 # Let's still pretend it is `configure' which instantiates (i.e., don't | |
| 4911 # use $as_me), people would be surprised to read: | |
| 4912 # /* config.h. Generated by config.status. */ | |
| 4913 configure_input='Generated from '` | |
| 4914 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | |
| 4915 `' by configure.' | |
| 4916 if test x"$ac_file" != x-; then | |
| 4917 configure_input="$ac_file. $configure_input" | |
| 4918 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | |
| 4919 $as_echo "$as_me: creating $ac_file" >&6;} | |
| 4920 fi | |
| 4921 # Neutralize special characters interpreted by sed in replacement strings. | |
| 4922 case $configure_input in #( | |
| 4923 *\&* | *\|* | *\\* ) | |
| 4924 ac_sed_conf_input=`$as_echo "$configure_input" | | |
| 4925 sed 's/[\\\\&|]/\\\\&/g'`;; #( | |
| 4926 *) ac_sed_conf_input=$configure_input;; | |
| 4927 esac | |
| 4928 | |
| 4929 case $ac_tag in | |
| 4930 *:-:* | *:-) cat >"$ac_tmp/stdin" \ | |
| 4931 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | |
| 4932 esac | |
| 4933 ;; | |
| 4934 esac | |
| 4935 | |
| 4936 ac_dir=`$as_dirname -- "$ac_file" || | |
| 4937 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
| 4938 X"$ac_file" : 'X\(//\)[^/]' \| \ | |
| 4939 X"$ac_file" : 'X\(//\)$' \| \ | |
| 4940 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | |
| 4941 $as_echo X"$ac_file" | | |
| 4942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
| 4943 s//\1/ | |
| 4944 q | |
| 4945 } | |
| 4946 /^X\(\/\/\)[^/].*/{ | |
| 4947 s//\1/ | |
| 4948 q | |
| 4949 } | |
| 4950 /^X\(\/\/\)$/{ | |
| 4951 s//\1/ | |
| 4952 q | |
| 4953 } | |
| 4954 /^X\(\/\).*/{ | |
| 4955 s//\1/ | |
| 4956 q | |
| 4957 } | |
| 4958 s/.*/./; q'` | |
| 4959 as_dir="$ac_dir"; as_fn_mkdir_p | |
| 4960 ac_builddir=. | |
| 4961 | |
| 4962 case "$ac_dir" in | |
| 4963 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 4964 *) | |
| 4965 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | |
| 4966 # A ".." for each directory in $ac_dir_suffix. | |
| 4967 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | |
| 4968 case $ac_top_builddir_sub in | |
| 4969 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | |
| 4970 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | |
| 4971 esac ;; | |
| 4972 esac | |
| 4973 ac_abs_top_builddir=$ac_pwd | |
| 4974 ac_abs_builddir=$ac_pwd$ac_dir_suffix | |
| 4975 # for backward compatibility: | |
| 4976 ac_top_builddir=$ac_top_build_prefix | |
| 4977 | |
| 4978 case $srcdir in | |
| 4979 .) # We are building in place. | |
| 4980 ac_srcdir=. | |
| 4981 ac_top_srcdir=$ac_top_builddir_sub | |
| 4982 ac_abs_top_srcdir=$ac_pwd ;; | |
| 4983 [\\/]* | ?:[\\/]* ) # Absolute name. | |
| 4984 ac_srcdir=$srcdir$ac_dir_suffix; | |
| 4985 ac_top_srcdir=$srcdir | |
| 4986 ac_abs_top_srcdir=$srcdir ;; | |
| 4987 *) # Relative name. | |
| 4988 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | |
| 4989 ac_top_srcdir=$ac_top_build_prefix$srcdir | |
| 4990 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | |
| 4991 esac | |
| 4992 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | |
| 4993 | |
| 4994 | |
| 4995 case $ac_mode in | |
| 4996 :F) | |
| 4997 # | |
| 4998 # CONFIG_FILE | |
| 4999 # | |
| 5000 | |
| 5001 _ACEOF | |
| 5002 | |
| 5003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 5004 # If the template does not know about datarootdir, expand it. | |
| 5005 # FIXME: This hack should be removed a few years after 2.60. | |
| 5006 ac_datarootdir_hack=; ac_datarootdir_seen= | |
| 5007 ac_sed_dataroot=' | |
| 5008 /datarootdir/ { | |
| 5009 p | |
| 5010 q | |
| 5011 } | |
| 5012 /@datadir@/p | |
| 5013 /@docdir@/p | |
| 5014 /@infodir@/p | |
| 5015 /@localedir@/p | |
| 5016 /@mandir@/p' | |
| 5017 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | |
| 5018 *datarootdir*) ac_datarootdir_seen=yes;; | |
| 5019 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | |
| 5020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | |
| 5021 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | |
| 5022 _ACEOF | |
| 5023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 5024 ac_datarootdir_hack=' | |
| 5025 s&@datadir@&$datadir&g | |
| 5026 s&@docdir@&$docdir&g | |
| 5027 s&@infodir@&$infodir&g | |
| 5028 s&@localedir@&$localedir&g | |
| 5029 s&@mandir@&$mandir&g | |
| 5030 s&\\\${datarootdir}&$datarootdir&g' ;; | |
| 5031 esac | |
| 5032 _ACEOF | |
| 5033 | |
| 5034 # Neutralize VPATH when `$srcdir' = `.'. | |
| 5035 # Shell code in configure.ac might set extrasub. | |
| 5036 # FIXME: do we really want to maintain this feature? | |
| 5037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | |
| 5038 ac_sed_extra="$ac_vpsub | |
| 5039 $extrasub | |
| 5040 _ACEOF | |
| 5041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
| 5042 :t | |
| 5043 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
| 5044 s|@configure_input@|$ac_sed_conf_input|;t t | |
| 5045 s&@top_builddir@&$ac_top_builddir_sub&;t t | |
| 5046 s&@top_build_prefix@&$ac_top_build_prefix&;t t | |
| 5047 s&@srcdir@&$ac_srcdir&;t t | |
| 5048 s&@abs_srcdir@&$ac_abs_srcdir&;t t | |
| 5049 s&@top_srcdir@&$ac_top_srcdir&;t t | |
| 5050 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | |
| 5051 s&@builddir@&$ac_builddir&;t t | |
| 5052 s&@abs_builddir@&$ac_abs_builddir&;t t | |
| 5053 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | |
| 5054 $ac_datarootdir_hack | |
| 5055 " | |
| 5056 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | |
| 5057 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 5058 | |
| 5059 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | |
| 5060 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | |
| 5061 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | |
| 5062 "$ac_tmp/out"`; test -z "$ac_out"; } && | |
| 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5064 which seems to be undefined. Please make sure it is defined" >&5 | |
| 5065 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | |
| 5066 which seems to be undefined. Please make sure it is defined" >&2;} | |
| 5067 | |
| 5068 rm -f "$ac_tmp/stdin" | |
| 5069 case $ac_file in | |
| 5070 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | |
| 5071 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | |
| 5072 esac \ | |
| 5073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | |
| 5074 ;; | |
| 5075 | |
| 5076 | |
| 5077 | |
| 5078 esac | |
| 5079 | |
| 5080 done # for ac_tag | |
| 5081 | |
| 5082 | |
| 5083 as_fn_exit 0 | |
| 5084 _ACEOF | |
| 5085 ac_clean_files=$ac_clean_files_save | |
| 5086 | |
| 5087 test $ac_write_fail = 0 || | |
| 5088 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | |
| 5089 | |
| 5090 | |
| 5091 # configure is writing to config.log, and then calls config.status. | |
| 5092 # config.status does its own redirection, appending to config.log. | |
| 5093 # Unfortunately, on DOS this fails, as config.log is still kept open | |
| 5094 # by configure, so config.status won't be able to write to it; its | |
| 5095 # output is simply discarded. So we exec the FD to /dev/null, | |
| 5096 # effectively closing config.log, so it can be properly (re)opened and | |
| 5097 # appended to by config.status. When coming back to configure, we | |
| 5098 # need to make the FD available again. | |
| 5099 if test "$no_create" != yes; then | |
| 5100 ac_cs_success=: | |
| 5101 ac_config_status_args= | |
| 5102 test "$silent" = yes && | |
| 5103 ac_config_status_args="$ac_config_status_args --quiet" | |
| 5104 exec 5>/dev/null | |
| 5105 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | |
| 5106 exec 5>>config.log | |
| 5107 # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
| 5108 # would make configure fail if this is the last instruction. | |
| 5109 $ac_cs_success || as_fn_exit 1 | |
| 5110 fi | |
| 5111 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | |
| 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | |
| 5113 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | |
| 5114 fi | |
| 5115 | |
| 5116 |
