annotate configure @ 255:88ef5ffdbe8d

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