1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by Autoconf 2.52. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9 10# Avoid depending upon Character Ranges. 11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 13as_cr_Letters=$as_cr_letters$as_cr_LETTERS 14as_cr_digits='0123456789' 15as_cr_alnum=$as_cr_Letters$as_cr_digits 16 17# Sed expression to map a string onto a valid variable name. 18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20# Sed expression to map a string onto a valid CPP name. 21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23# Be Bourne compatible 24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29fi 30 31# Name of the executable. 32as_me=`echo "$0" |sed 's,.*[\\/],,'` 33 34if expr a : '\(a\)' >/dev/null 2>&1; then 35 as_expr=expr 36else 37 as_expr=false 38fi 39 40rm -f conf$$ conf$$.exe conf$$.file 41echo >conf$$.file 42if ln -s conf$$.file conf$$ 2>/dev/null; then 43 # We could just check for DJGPP; but this test a) works b) is more generic 44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 45 if test -f conf$$.exe; then 46 # Don't use ln at all; we don't have any links 47 as_ln_s='cp -p' 48 else 49 as_ln_s='ln -s' 50 fi 51elif ln conf$$.file conf$$ 2>/dev/null; then 52 as_ln_s=ln 53else 54 as_ln_s='cp -p' 55fi 56rm -f conf$$ conf$$.exe conf$$.file 57 58as_executable_p="test -f" 59 60# Support unset when possible. 61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63else 64 as_unset=false 65fi 66 67# NLS nuisances. 68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 76 77# IFS 78# We need space, tab and new line, in precisely that order. 79as_nl=' 80' 81IFS=" $as_nl" 82 83# CDPATH. 84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 85 86# Name of the host. 87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 88# so uname gets run too. 89ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 90 91exec 6>&1 92 93# 94# Initializations. 95# 96ac_default_prefix=/usr/local 97cross_compiling=no 98subdirs= 99MFLAGS= MAKEFLAGS= 100SHELL=${CONFIG_SHELL-/bin/sh} 101 102# Maximum number of lines to put in a shell here document. 103# This variable seems obsolete. It should probably be removed, and 104# only ac_max_sed_lines should be used. 105: ${ac_max_here_lines=38} 106 107ac_unique_file="pa_common/portaudio.h" 108 109# Initialize some variables set by options. 110ac_init_help= 111ac_init_version=false 112# The variables have the same names as the options, with 113# dashes changed to underlines. 114cache_file=/dev/null 115exec_prefix=NONE 116no_create= 117no_recursion= 118prefix=NONE 119program_prefix=NONE 120program_suffix=NONE 121program_transform_name=s,x,x, 122silent= 123site= 124srcdir= 125verbose= 126x_includes=NONE 127x_libraries=NONE 128 129# Installation directory options. 130# These are left unexpanded so users can "make install exec_prefix=/foo" 131# and all the variables that are supposed to be based on exec_prefix 132# by default will actually change. 133# Use braces instead of parens because sh, perl, etc. also accept them. 134bindir='${exec_prefix}/bin' 135sbindir='${exec_prefix}/sbin' 136libexecdir='${exec_prefix}/libexec' 137datadir='${prefix}/share' 138sysconfdir='${prefix}/etc' 139sharedstatedir='${prefix}/com' 140localstatedir='${prefix}/var' 141libdir='${exec_prefix}/lib' 142includedir='${prefix}/include' 143oldincludedir='/usr/include' 144infodir='${prefix}/info' 145mandir='${prefix}/man' 146 147# Identity of this package. 148PACKAGE_NAME= 149PACKAGE_TARNAME= 150PACKAGE_VERSION= 151PACKAGE_STRING= 152PACKAGE_BUGREPORT= 153 154ac_prev= 155for ac_option 156do 157 # If the previous option needs an argument, assign it. 158 if test -n "$ac_prev"; then 159 eval "$ac_prev=\$ac_option" 160 ac_prev= 161 continue 162 fi 163 164 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 165 166 # Accept the important Cygnus configure options, so we can diagnose typos. 167 168 case $ac_option in 169 170 -bindir | --bindir | --bindi | --bind | --bin | --bi) 171 ac_prev=bindir ;; 172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 173 bindir=$ac_optarg ;; 174 175 -build | --build | --buil | --bui | --bu) 176 ac_prev=build_alias ;; 177 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 178 build_alias=$ac_optarg ;; 179 180 -cache-file | --cache-file | --cache-fil | --cache-fi \ 181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 182 ac_prev=cache_file ;; 183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 185 cache_file=$ac_optarg ;; 186 187 --config-cache | -C) 188 cache_file=config.cache ;; 189 190 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 191 ac_prev=datadir ;; 192 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 193 | --da=*) 194 datadir=$ac_optarg ;; 195 196 -disable-* | --disable-*) 197 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 198 # Reject names that are not valid shell variable names. 199 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 200 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 201 { (exit 1); exit 1; }; } 202 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 203 eval "enable_$ac_feature=no" ;; 204 205 -enable-* | --enable-*) 206 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 207 # Reject names that are not valid shell variable names. 208 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 209 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 210 { (exit 1); exit 1; }; } 211 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 212 case $ac_option in 213 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 214 *) ac_optarg=yes ;; 215 esac 216 eval "enable_$ac_feature='$ac_optarg'" ;; 217 218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 220 | --exec | --exe | --ex) 221 ac_prev=exec_prefix ;; 222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 224 | --exec=* | --exe=* | --ex=*) 225 exec_prefix=$ac_optarg ;; 226 227 -gas | --gas | --ga | --g) 228 # Obsolete; use --with-gas. 229 with_gas=yes ;; 230 231 -help | --help | --hel | --he | -h) 232 ac_init_help=long ;; 233 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 234 ac_init_help=recursive ;; 235 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 236 ac_init_help=short ;; 237 238 -host | --host | --hos | --ho) 239 ac_prev=host_alias ;; 240 -host=* | --host=* | --hos=* | --ho=*) 241 host_alias=$ac_optarg ;; 242 243 -includedir | --includedir | --includedi | --included | --include \ 244 | --includ | --inclu | --incl | --inc) 245 ac_prev=includedir ;; 246 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 247 | --includ=* | --inclu=* | --incl=* | --inc=*) 248 includedir=$ac_optarg ;; 249 250 -infodir | --infodir | --infodi | --infod | --info | --inf) 251 ac_prev=infodir ;; 252 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 253 infodir=$ac_optarg ;; 254 255 -libdir | --libdir | --libdi | --libd) 256 ac_prev=libdir ;; 257 -libdir=* | --libdir=* | --libdi=* | --libd=*) 258 libdir=$ac_optarg ;; 259 260 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 261 | --libexe | --libex | --libe) 262 ac_prev=libexecdir ;; 263 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 264 | --libexe=* | --libex=* | --libe=*) 265 libexecdir=$ac_optarg ;; 266 267 -localstatedir | --localstatedir | --localstatedi | --localstated \ 268 | --localstate | --localstat | --localsta | --localst \ 269 | --locals | --local | --loca | --loc | --lo) 270 ac_prev=localstatedir ;; 271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 272 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 273 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 274 localstatedir=$ac_optarg ;; 275 276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 277 ac_prev=mandir ;; 278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 279 mandir=$ac_optarg ;; 280 281 -nfp | --nfp | --nf) 282 # Obsolete; use --without-fp. 283 with_fp=no ;; 284 285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 286 | --no-cr | --no-c) 287 no_create=yes ;; 288 289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 291 no_recursion=yes ;; 292 293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 295 | --oldin | --oldi | --old | --ol | --o) 296 ac_prev=oldincludedir ;; 297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 300 oldincludedir=$ac_optarg ;; 301 302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 303 ac_prev=prefix ;; 304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 305 prefix=$ac_optarg ;; 306 307 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 308 | --program-pre | --program-pr | --program-p) 309 ac_prev=program_prefix ;; 310 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 312 program_prefix=$ac_optarg ;; 313 314 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 315 | --program-suf | --program-su | --program-s) 316 ac_prev=program_suffix ;; 317 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 319 program_suffix=$ac_optarg ;; 320 321 -program-transform-name | --program-transform-name \ 322 | --program-transform-nam | --program-transform-na \ 323 | --program-transform-n | --program-transform- \ 324 | --program-transform | --program-transfor \ 325 | --program-transfo | --program-transf \ 326 | --program-trans | --program-tran \ 327 | --progr-tra | --program-tr | --program-t) 328 ac_prev=program_transform_name ;; 329 -program-transform-name=* | --program-transform-name=* \ 330 | --program-transform-nam=* | --program-transform-na=* \ 331 | --program-transform-n=* | --program-transform-=* \ 332 | --program-transform=* | --program-transfor=* \ 333 | --program-transfo=* | --program-transf=* \ 334 | --program-trans=* | --program-tran=* \ 335 | --progr-tra=* | --program-tr=* | --program-t=*) 336 program_transform_name=$ac_optarg ;; 337 338 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 339 | -silent | --silent | --silen | --sile | --sil) 340 silent=yes ;; 341 342 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 343 ac_prev=sbindir ;; 344 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 345 | --sbi=* | --sb=*) 346 sbindir=$ac_optarg ;; 347 348 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 349 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 350 | --sharedst | --shareds | --shared | --share | --shar \ 351 | --sha | --sh) 352 ac_prev=sharedstatedir ;; 353 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 354 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 355 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 356 | --sha=* | --sh=*) 357 sharedstatedir=$ac_optarg ;; 358 359 -site | --site | --sit) 360 ac_prev=site ;; 361 -site=* | --site=* | --sit=*) 362 site=$ac_optarg ;; 363 364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 365 ac_prev=srcdir ;; 366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 367 srcdir=$ac_optarg ;; 368 369 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 370 | --syscon | --sysco | --sysc | --sys | --sy) 371 ac_prev=sysconfdir ;; 372 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 373 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 374 sysconfdir=$ac_optarg ;; 375 376 -target | --target | --targe | --targ | --tar | --ta | --t) 377 ac_prev=target_alias ;; 378 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 379 target_alias=$ac_optarg ;; 380 381 -v | -verbose | --verbose | --verbos | --verbo | --verb) 382 verbose=yes ;; 383 384 -version | --version | --versio | --versi | --vers | -V) 385 ac_init_version=: ;; 386 387 -with-* | --with-*) 388 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 389 # Reject names that are not valid shell variable names. 390 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 391 { echo "$as_me: error: invalid package name: $ac_package" >&2 392 { (exit 1); exit 1; }; } 393 ac_package=`echo $ac_package| sed 's/-/_/g'` 394 case $ac_option in 395 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 396 *) ac_optarg=yes ;; 397 esac 398 eval "with_$ac_package='$ac_optarg'" ;; 399 400 -without-* | --without-*) 401 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 402 # Reject names that are not valid shell variable names. 403 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 404 { echo "$as_me: error: invalid package name: $ac_package" >&2 405 { (exit 1); exit 1; }; } 406 ac_package=`echo $ac_package | sed 's/-/_/g'` 407 eval "with_$ac_package=no" ;; 408 409 --x) 410 # Obsolete; use --with-x. 411 with_x=yes ;; 412 413 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 414 | --x-incl | --x-inc | --x-in | --x-i) 415 ac_prev=x_includes ;; 416 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 417 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 418 x_includes=$ac_optarg ;; 419 420 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 421 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 422 ac_prev=x_libraries ;; 423 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 424 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 425 x_libraries=$ac_optarg ;; 426 427 -*) { echo "$as_me: error: unrecognized option: $ac_option 428Try \`$0 --help' for more information." >&2 429 { (exit 1); exit 1; }; } 430 ;; 431 432 *=*) 433 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 434 # Reject names that are not valid shell variable names. 435 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 436 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 437 { (exit 1); exit 1; }; } 438 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 439 eval "$ac_envvar='$ac_optarg'" 440 export $ac_envvar ;; 441 442 *) 443 # FIXME: should be removed in autoconf 3.0. 444 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 445 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 446 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 447 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 448 ;; 449 450 esac 451done 452 453if test -n "$ac_prev"; then 454 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 455 { echo "$as_me: error: missing argument to $ac_option" >&2 456 { (exit 1); exit 1; }; } 457fi 458 459# Be sure to have absolute paths. 460for ac_var in exec_prefix prefix 461do 462 eval ac_val=$`echo $ac_var` 463 case $ac_val in 464 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 465 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 466 { (exit 1); exit 1; }; };; 467 esac 468done 469 470# Be sure to have absolute paths. 471for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 472 localstatedir libdir includedir oldincludedir infodir mandir 473do 474 eval ac_val=$`echo $ac_var` 475 case $ac_val in 476 [\\/$]* | ?:[\\/]* ) ;; 477 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 478 { (exit 1); exit 1; }; };; 479 esac 480done 481 482# There might be people who depend on the old broken behavior: `$host' 483# used to hold the argument of --host etc. 484build=$build_alias 485host=$host_alias 486target=$target_alias 487 488# FIXME: should be removed in autoconf 3.0. 489if test "x$host_alias" != x; then 490 if test "x$build_alias" = x; then 491 cross_compiling=maybe 492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 493 If a cross compiler is detected then cross compile mode will be used." >&2 494 elif test "x$build_alias" != "x$host_alias"; then 495 cross_compiling=yes 496 fi 497fi 498 499ac_tool_prefix= 500test -n "$host_alias" && ac_tool_prefix=$host_alias- 501 502test "$silent" = yes && exec 6>/dev/null 503 504# Find the source files, if location was not specified. 505if test -z "$srcdir"; then 506 ac_srcdir_defaulted=yes 507 # Try the directory containing this script, then its parent. 508 ac_prog=$0 509 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 511 srcdir=$ac_confdir 512 if test ! -r $srcdir/$ac_unique_file; then 513 srcdir=.. 514 fi 515else 516 ac_srcdir_defaulted=no 517fi 518if test ! -r $srcdir/$ac_unique_file; then 519 if test "$ac_srcdir_defaulted" = yes; then 520 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 521 { (exit 1); exit 1; }; } 522 else 523 { echo "$as_me: error: cannot find sources in $srcdir" >&2 524 { (exit 1); exit 1; }; } 525 fi 526fi 527srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 528ac_env_build_alias_set=${build_alias+set} 529ac_env_build_alias_value=$build_alias 530ac_cv_env_build_alias_set=${build_alias+set} 531ac_cv_env_build_alias_value=$build_alias 532ac_env_host_alias_set=${host_alias+set} 533ac_env_host_alias_value=$host_alias 534ac_cv_env_host_alias_set=${host_alias+set} 535ac_cv_env_host_alias_value=$host_alias 536ac_env_target_alias_set=${target_alias+set} 537ac_env_target_alias_value=$target_alias 538ac_cv_env_target_alias_set=${target_alias+set} 539ac_cv_env_target_alias_value=$target_alias 540ac_env_CC_set=${CC+set} 541ac_env_CC_value=$CC 542ac_cv_env_CC_set=${CC+set} 543ac_cv_env_CC_value=$CC 544ac_env_CFLAGS_set=${CFLAGS+set} 545ac_env_CFLAGS_value=$CFLAGS 546ac_cv_env_CFLAGS_set=${CFLAGS+set} 547ac_cv_env_CFLAGS_value=$CFLAGS 548ac_env_LDFLAGS_set=${LDFLAGS+set} 549ac_env_LDFLAGS_value=$LDFLAGS 550ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 551ac_cv_env_LDFLAGS_value=$LDFLAGS 552ac_env_CPPFLAGS_set=${CPPFLAGS+set} 553ac_env_CPPFLAGS_value=$CPPFLAGS 554ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 555ac_cv_env_CPPFLAGS_value=$CPPFLAGS 556 557# 558# Report the --help message. 559# 560if test "$ac_init_help" = "long"; then 561 # Omit some internal or obsolete options to make the list less imposing. 562 # This message is too long to be a string in the A/UX 3.1 sh. 563 cat <<EOF 564\`configure' configures this package to adapt to many kinds of systems. 565 566Usage: $0 [OPTION]... [VAR=VALUE]... 567 568To assign environment variables (e.g., CC, CFLAGS...), specify them as 569VAR=VALUE. See below for descriptions of some of the useful variables. 570 571Defaults for the options are specified in brackets. 572 573Configuration: 574 -h, --help display this help and exit 575 --help=short display options specific to this package 576 --help=recursive display the short help of all the included packages 577 -V, --version display version information and exit 578 -q, --quiet, --silent do not print \`checking...' messages 579 --cache-file=FILE cache test results in FILE [disabled] 580 -C, --config-cache alias for \`--cache-file=config.cache' 581 -n, --no-create do not create output files 582 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 583 584EOF 585 586 cat <<EOF 587Installation directories: 588 --prefix=PREFIX install architecture-independent files in PREFIX 589 [$ac_default_prefix] 590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 591 [PREFIX] 592 593By default, \`make install' will install all the files in 594\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 595an installation prefix other than \`$ac_default_prefix' using \`--prefix', 596for instance \`--prefix=\$HOME'. 597 598For better control, use the options below. 599 600Fine tuning of the installation directories: 601 --bindir=DIR user executables [EPREFIX/bin] 602 --sbindir=DIR system admin executables [EPREFIX/sbin] 603 --libexecdir=DIR program executables [EPREFIX/libexec] 604 --datadir=DIR read-only architecture-independent data [PREFIX/share] 605 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 606 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 607 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 608 --libdir=DIR object code libraries [EPREFIX/lib] 609 --includedir=DIR C header files [PREFIX/include] 610 --oldincludedir=DIR C header files for non-gcc [/usr/include] 611 --infodir=DIR info documentation [PREFIX/info] 612 --mandir=DIR man documentation [PREFIX/man] 613EOF 614 615 cat <<\EOF 616 617System types: 618 --build=BUILD configure for building on BUILD [guessed] 619 --host=HOST build programs to run on HOST [BUILD] 620EOF 621fi 622 623if test -n "$ac_init_help"; then 624 625 cat <<\EOF 626 627Some influential environment variables: 628 CC C compiler command 629 CFLAGS C compiler flags 630 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 631 nonstandard directory <lib dir> 632 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 633 headers in a nonstandard directory <include dir> 634 635Use these variables to override the choices made by `configure' or to help 636it to find libraries and programs with nonstandard names/locations. 637 638EOF 639fi 640 641if test "$ac_init_help" = "recursive"; then 642 # If there are subdirs, report their specific --help. 643 ac_popdir=`pwd` 644 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 645 cd $ac_subdir 646 # A "../" for each directory in /$ac_subdir. 647 ac_dots=`echo $ac_subdir | 648 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 649 650 case $srcdir in 651 .) # No --srcdir option. We are building in place. 652 ac_sub_srcdir=$srcdir ;; 653 [\\/]* | ?:[\\/]* ) # Absolute path. 654 ac_sub_srcdir=$srcdir/$ac_subdir ;; 655 *) # Relative path. 656 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 657 esac 658 659 # Check for guested configure; otherwise get Cygnus style configure. 660 if test -f $ac_sub_srcdir/configure.gnu; then 661 echo 662 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 663 elif test -f $ac_sub_srcdir/configure; then 664 echo 665 $SHELL $ac_sub_srcdir/configure --help=recursive 666 elif test -f $ac_sub_srcdir/configure.ac || 667 test -f $ac_sub_srcdir/configure.in; then 668 echo 669 $ac_configure --help 670 else 671 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 672 fi 673 cd $ac_popdir 674 done 675fi 676 677test -n "$ac_init_help" && exit 0 678if $ac_init_version; then 679 cat <<\EOF 680 681Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 682Free Software Foundation, Inc. 683This configure script is free software; the Free Software Foundation 684gives unlimited permission to copy, distribute and modify it. 685EOF 686 exit 0 687fi 688exec 5>config.log 689cat >&5 <<EOF 690This file contains any messages produced by compilers while 691running configure, to aid debugging if configure makes a mistake. 692 693It was created by $as_me, which was 694generated by GNU Autoconf 2.52. Invocation command line was 695 696 $ $0 $@ 697 698EOF 699{ 700cat <<_ASUNAME 701## ---------- ## 702## Platform. ## 703## ---------- ## 704 705hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 706uname -m = `(uname -m) 2>/dev/null || echo unknown` 707uname -r = `(uname -r) 2>/dev/null || echo unknown` 708uname -s = `(uname -s) 2>/dev/null || echo unknown` 709uname -v = `(uname -v) 2>/dev/null || echo unknown` 710 711/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 712/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 713 714/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 715/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 716/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 717hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 718/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 719/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 720/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 721 722PATH = $PATH 723 724_ASUNAME 725} >&5 726 727cat >&5 <<EOF 728## ------------ ## 729## Core tests. ## 730## ------------ ## 731 732EOF 733 734# Keep a trace of the command line. 735# Strip out --no-create and --no-recursion so they do not pile up. 736# Also quote any args containing shell meta-characters. 737ac_configure_args= 738ac_sep= 739for ac_arg 740do 741 case $ac_arg in 742 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 743 | --no-cr | --no-c) ;; 744 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 745 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 746 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 747 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 748 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 749 ac_sep=" " ;; 750 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 751 ac_sep=" " ;; 752 esac 753 # Get rid of the leading space. 754done 755 756# When interrupted or exit'd, cleanup temporary files, and complete 757# config.log. We remove comments because anyway the quotes in there 758# would cause problems or look ugly. 759trap 'exit_status=$? 760 # Save into config.log some information that might help in debugging. 761 echo >&5 762 echo "## ----------------- ##" >&5 763 echo "## Cache variables. ##" >&5 764 echo "## ----------------- ##" >&5 765 echo >&5 766 # The following way of writing the cache mishandles newlines in values, 767{ 768 (set) 2>&1 | 769 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 770 *ac_space=\ *) 771 sed -n \ 772 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 774 ;; 775 *) 776 sed -n \ 777 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 778 ;; 779 esac; 780} >&5 781 sed "/^$/d" confdefs.h >conftest.log 782 if test -s conftest.log; then 783 echo >&5 784 echo "## ------------ ##" >&5 785 echo "## confdefs.h. ##" >&5 786 echo "## ------------ ##" >&5 787 echo >&5 788 cat conftest.log >&5 789 fi 790 (echo; echo) >&5 791 test "$ac_signal" != 0 && 792 echo "$as_me: caught signal $ac_signal" >&5 793 echo "$as_me: exit $exit_status" >&5 794 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 795 exit $exit_status 796 ' 0 797for ac_signal in 1 2 13 15; do 798 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 799done 800ac_signal=0 801 802# confdefs.h avoids OS command line length limits that DEFS can exceed. 803rm -rf conftest* confdefs.h 804# AIX cpp loses on an empty file, so make sure it contains at least a newline. 805echo >confdefs.h 806 807# Let the site file select an alternate cache file if it wants to. 808# Prefer explicitly selected file to automatically selected ones. 809if test -z "$CONFIG_SITE"; then 810 if test "x$prefix" != xNONE; then 811 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 812 else 813 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 814 fi 815fi 816for ac_site_file in $CONFIG_SITE; do 817 if test -r "$ac_site_file"; then 818 { echo "$as_me:818: loading site script $ac_site_file" >&5 819echo "$as_me: loading site script $ac_site_file" >&6;} 820 cat "$ac_site_file" >&5 821 . "$ac_site_file" 822 fi 823done 824 825if test -r "$cache_file"; then 826 # Some versions of bash will fail to source /dev/null (special 827 # files actually), so we avoid doing that. 828 if test -f "$cache_file"; then 829 { echo "$as_me:829: loading cache $cache_file" >&5 830echo "$as_me: loading cache $cache_file" >&6;} 831 case $cache_file in 832 [\\/]* | ?:[\\/]* ) . $cache_file;; 833 *) . ./$cache_file;; 834 esac 835 fi 836else 837 { echo "$as_me:837: creating cache $cache_file" >&5 838echo "$as_me: creating cache $cache_file" >&6;} 839 >$cache_file 840fi 841 842# Check that the precious variables saved in the cache have kept the same 843# value. 844ac_cache_corrupted=false 845for ac_var in `(set) 2>&1 | 846 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 847 eval ac_old_set=\$ac_cv_env_${ac_var}_set 848 eval ac_new_set=\$ac_env_${ac_var}_set 849 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 850 eval ac_new_val="\$ac_env_${ac_var}_value" 851 case $ac_old_set,$ac_new_set in 852 set,) 853 { echo "$as_me:853: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 854echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 855 ac_cache_corrupted=: ;; 856 ,set) 857 { echo "$as_me:857: error: \`$ac_var' was not set in the previous run" >&5 858echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 859 ac_cache_corrupted=: ;; 860 ,);; 861 *) 862 if test "x$ac_old_val" != "x$ac_new_val"; then 863 { echo "$as_me:863: error: \`$ac_var' has changed since the previous run:" >&5 864echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 865 { echo "$as_me:865: former value: $ac_old_val" >&5 866echo "$as_me: former value: $ac_old_val" >&2;} 867 { echo "$as_me:867: current value: $ac_new_val" >&5 868echo "$as_me: current value: $ac_new_val" >&2;} 869 ac_cache_corrupted=: 870 fi;; 871 esac 872 # Pass precious variables to config.status. It doesn't matter if 873 # we pass some twice (in addition to the command line arguments). 874 if test "$ac_new_set" = set; then 875 case $ac_new_val in 876 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 877 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 878 ac_configure_args="$ac_configure_args '$ac_arg'" 879 ;; 880 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 881 ;; 882 esac 883 fi 884done 885if $ac_cache_corrupted; then 886 { echo "$as_me:886: error: changes in the environment can compromise the build" >&5 887echo "$as_me: error: changes in the environment can compromise the build" >&2;} 888 { { echo "$as_me:888: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 889echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 890 { (exit 1); exit 1; }; } 891fi 892 893ac_ext=c 894ac_cpp='$CPP $CPPFLAGS' 895ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 896ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 897ac_compiler_gnu=$ac_cv_c_compiler_gnu 898 899case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 900 *c*,-n*) ECHO_N= ECHO_C=' 901' ECHO_T=' ' ;; 902 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 903 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 904esac 905echo "#! $SHELL" >conftest.sh 906echo "exit 0" >>conftest.sh 907chmod +x conftest.sh 908if { (echo "$as_me:908: PATH=\".;.\"; conftest.sh") >&5 909 (PATH=".;."; conftest.sh) 2>&5 910 ac_status=$? 911 echo "$as_me:911: \$? = $ac_status" >&5 912 (exit $ac_status); }; then 913 ac_path_separator=';' 914else 915 ac_path_separator=: 916fi 917PATH_SEPARATOR="$ac_path_separator" 918rm -f conftest.sh 919 920ac_ext=c 921ac_cpp='$CPP $CPPFLAGS' 922ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 923ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 924ac_compiler_gnu=$ac_cv_c_compiler_gnu 925if test -n "$ac_tool_prefix"; then 926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 927set dummy ${ac_tool_prefix}gcc; ac_word=$2 928echo "$as_me:928: checking for $ac_word" >&5 929echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 930if test "${ac_cv_prog_CC+set}" = set; then 931 echo $ECHO_N "(cached) $ECHO_C" >&6 932else 933 if test -n "$CC"; then 934 ac_cv_prog_CC="$CC" # Let the user override the test. 935else 936 ac_save_IFS=$IFS; IFS=$ac_path_separator 937ac_dummy="$PATH" 938for ac_dir in $ac_dummy; do 939 IFS=$ac_save_IFS 940 test -z "$ac_dir" && ac_dir=. 941 $as_executable_p "$ac_dir/$ac_word" || continue 942ac_cv_prog_CC="${ac_tool_prefix}gcc" 943echo "$as_me:943: found $ac_dir/$ac_word" >&5 944break 945done 946 947fi 948fi 949CC=$ac_cv_prog_CC 950if test -n "$CC"; then 951 echo "$as_me:951: result: $CC" >&5 952echo "${ECHO_T}$CC" >&6 953else 954 echo "$as_me:954: result: no" >&5 955echo "${ECHO_T}no" >&6 956fi 957 958fi 959if test -z "$ac_cv_prog_CC"; then 960 ac_ct_CC=$CC 961 # Extract the first word of "gcc", so it can be a program name with args. 962set dummy gcc; ac_word=$2 963echo "$as_me:963: checking for $ac_word" >&5 964echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 965if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 966 echo $ECHO_N "(cached) $ECHO_C" >&6 967else 968 if test -n "$ac_ct_CC"; then 969 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 970else 971 ac_save_IFS=$IFS; IFS=$ac_path_separator 972ac_dummy="$PATH" 973for ac_dir in $ac_dummy; do 974 IFS=$ac_save_IFS 975 test -z "$ac_dir" && ac_dir=. 976 $as_executable_p "$ac_dir/$ac_word" || continue 977ac_cv_prog_ac_ct_CC="gcc" 978echo "$as_me:978: found $ac_dir/$ac_word" >&5 979break 980done 981 982fi 983fi 984ac_ct_CC=$ac_cv_prog_ac_ct_CC 985if test -n "$ac_ct_CC"; then 986 echo "$as_me:986: result: $ac_ct_CC" >&5 987echo "${ECHO_T}$ac_ct_CC" >&6 988else 989 echo "$as_me:989: result: no" >&5 990echo "${ECHO_T}no" >&6 991fi 992 993 CC=$ac_ct_CC 994else 995 CC="$ac_cv_prog_CC" 996fi 997 998if test -z "$CC"; then 999 if test -n "$ac_tool_prefix"; then 1000 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1001set dummy ${ac_tool_prefix}cc; ac_word=$2 1002echo "$as_me:1002: checking for $ac_word" >&5 1003echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1004if test "${ac_cv_prog_CC+set}" = set; then 1005 echo $ECHO_N "(cached) $ECHO_C" >&6 1006else 1007 if test -n "$CC"; then 1008 ac_cv_prog_CC="$CC" # Let the user override the test. 1009else 1010 ac_save_IFS=$IFS; IFS=$ac_path_separator 1011ac_dummy="$PATH" 1012for ac_dir in $ac_dummy; do 1013 IFS=$ac_save_IFS 1014 test -z "$ac_dir" && ac_dir=. 1015 $as_executable_p "$ac_dir/$ac_word" || continue 1016ac_cv_prog_CC="${ac_tool_prefix}cc" 1017echo "$as_me:1017: found $ac_dir/$ac_word" >&5 1018break 1019done 1020 1021fi 1022fi 1023CC=$ac_cv_prog_CC 1024if test -n "$CC"; then 1025 echo "$as_me:1025: result: $CC" >&5 1026echo "${ECHO_T}$CC" >&6 1027else 1028 echo "$as_me:1028: result: no" >&5 1029echo "${ECHO_T}no" >&6 1030fi 1031 1032fi 1033if test -z "$ac_cv_prog_CC"; then 1034 ac_ct_CC=$CC 1035 # Extract the first word of "cc", so it can be a program name with args. 1036set dummy cc; ac_word=$2 1037echo "$as_me:1037: checking for $ac_word" >&5 1038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1039if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1040 echo $ECHO_N "(cached) $ECHO_C" >&6 1041else 1042 if test -n "$ac_ct_CC"; then 1043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1044else 1045 ac_save_IFS=$IFS; IFS=$ac_path_separator 1046ac_dummy="$PATH" 1047for ac_dir in $ac_dummy; do 1048 IFS=$ac_save_IFS 1049 test -z "$ac_dir" && ac_dir=. 1050 $as_executable_p "$ac_dir/$ac_word" || continue 1051ac_cv_prog_ac_ct_CC="cc" 1052echo "$as_me:1052: found $ac_dir/$ac_word" >&5 1053break 1054done 1055 1056fi 1057fi 1058ac_ct_CC=$ac_cv_prog_ac_ct_CC 1059if test -n "$ac_ct_CC"; then 1060 echo "$as_me:1060: result: $ac_ct_CC" >&5 1061echo "${ECHO_T}$ac_ct_CC" >&6 1062else 1063 echo "$as_me:1063: result: no" >&5 1064echo "${ECHO_T}no" >&6 1065fi 1066 1067 CC=$ac_ct_CC 1068else 1069 CC="$ac_cv_prog_CC" 1070fi 1071 1072fi 1073if test -z "$CC"; then 1074 # Extract the first word of "cc", so it can be a program name with args. 1075set dummy cc; ac_word=$2 1076echo "$as_me:1076: checking for $ac_word" >&5 1077echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1078if test "${ac_cv_prog_CC+set}" = set; then 1079 echo $ECHO_N "(cached) $ECHO_C" >&6 1080else 1081 if test -n "$CC"; then 1082 ac_cv_prog_CC="$CC" # Let the user override the test. 1083else 1084 ac_prog_rejected=no 1085 ac_save_IFS=$IFS; IFS=$ac_path_separator 1086ac_dummy="$PATH" 1087for ac_dir in $ac_dummy; do 1088 IFS=$ac_save_IFS 1089 test -z "$ac_dir" && ac_dir=. 1090 $as_executable_p "$ac_dir/$ac_word" || continue 1091if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1092 ac_prog_rejected=yes 1093 continue 1094fi 1095ac_cv_prog_CC="cc" 1096echo "$as_me:1096: found $ac_dir/$ac_word" >&5 1097break 1098done 1099 1100if test $ac_prog_rejected = yes; then 1101 # We found a bogon in the path, so make sure we never use it. 1102 set dummy $ac_cv_prog_CC 1103 shift 1104 if test $# != 0; then 1105 # We chose a different compiler from the bogus one. 1106 # However, it has the same basename, so the bogon will be chosen 1107 # first if we set CC to just the basename; use the full file name. 1108 shift 1109 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1110 shift 1111 ac_cv_prog_CC="$@" 1112 fi 1113fi 1114fi 1115fi 1116CC=$ac_cv_prog_CC 1117if test -n "$CC"; then 1118 echo "$as_me:1118: result: $CC" >&5 1119echo "${ECHO_T}$CC" >&6 1120else 1121 echo "$as_me:1121: result: no" >&5 1122echo "${ECHO_T}no" >&6 1123fi 1124 1125fi 1126if test -z "$CC"; then 1127 if test -n "$ac_tool_prefix"; then 1128 for ac_prog in cl 1129 do 1130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1131set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1132echo "$as_me:1132: checking for $ac_word" >&5 1133echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1134if test "${ac_cv_prog_CC+set}" = set; then 1135 echo $ECHO_N "(cached) $ECHO_C" >&6 1136else 1137 if test -n "$CC"; then 1138 ac_cv_prog_CC="$CC" # Let the user override the test. 1139else 1140 ac_save_IFS=$IFS; IFS=$ac_path_separator 1141ac_dummy="$PATH" 1142for ac_dir in $ac_dummy; do 1143 IFS=$ac_save_IFS 1144 test -z "$ac_dir" && ac_dir=. 1145 $as_executable_p "$ac_dir/$ac_word" || continue 1146ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1147echo "$as_me:1147: found $ac_dir/$ac_word" >&5 1148break 1149done 1150 1151fi 1152fi 1153CC=$ac_cv_prog_CC 1154if test -n "$CC"; then 1155 echo "$as_me:1155: result: $CC" >&5 1156echo "${ECHO_T}$CC" >&6 1157else 1158 echo "$as_me:1158: result: no" >&5 1159echo "${ECHO_T}no" >&6 1160fi 1161 1162 test -n "$CC" && break 1163 done 1164fi 1165if test -z "$CC"; then 1166 ac_ct_CC=$CC 1167 for ac_prog in cl 1168do 1169 # Extract the first word of "$ac_prog", so it can be a program name with args. 1170set dummy $ac_prog; ac_word=$2 1171echo "$as_me:1171: checking for $ac_word" >&5 1172echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1173if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1174 echo $ECHO_N "(cached) $ECHO_C" >&6 1175else 1176 if test -n "$ac_ct_CC"; then 1177 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1178else 1179 ac_save_IFS=$IFS; IFS=$ac_path_separator 1180ac_dummy="$PATH" 1181for ac_dir in $ac_dummy; do 1182 IFS=$ac_save_IFS 1183 test -z "$ac_dir" && ac_dir=. 1184 $as_executable_p "$ac_dir/$ac_word" || continue 1185ac_cv_prog_ac_ct_CC="$ac_prog" 1186echo "$as_me:1186: found $ac_dir/$ac_word" >&5 1187break 1188done 1189 1190fi 1191fi 1192ac_ct_CC=$ac_cv_prog_ac_ct_CC 1193if test -n "$ac_ct_CC"; then 1194 echo "$as_me:1194: result: $ac_ct_CC" >&5 1195echo "${ECHO_T}$ac_ct_CC" >&6 1196else 1197 echo "$as_me:1197: result: no" >&5 1198echo "${ECHO_T}no" >&6 1199fi 1200 1201 test -n "$ac_ct_CC" && break 1202done 1203 1204 CC=$ac_ct_CC 1205fi 1206 1207fi 1208 1209test -z "$CC" && { { echo "$as_me:1209: error: no acceptable cc found in \$PATH" >&5 1210echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1211 { (exit 1); exit 1; }; } 1212 1213# Provide some information about the compiler. 1214echo "$as_me:1214:" \ 1215 "checking for C compiler version" >&5 1216ac_compiler=`set X $ac_compile; echo $2` 1217{ (eval echo "$as_me:1217: \"$ac_compiler --version </dev/null >&5\"") >&5 1218 (eval $ac_compiler --version </dev/null >&5) 2>&5 1219 ac_status=$? 1220 echo "$as_me:1220: \$? = $ac_status" >&5 1221 (exit $ac_status); } 1222{ (eval echo "$as_me:1222: \"$ac_compiler -v </dev/null >&5\"") >&5 1223 (eval $ac_compiler -v </dev/null >&5) 2>&5 1224 ac_status=$? 1225 echo "$as_me:1225: \$? = $ac_status" >&5 1226 (exit $ac_status); } 1227{ (eval echo "$as_me:1227: \"$ac_compiler -V </dev/null >&5\"") >&5 1228 (eval $ac_compiler -V </dev/null >&5) 2>&5 1229 ac_status=$? 1230 echo "$as_me:1230: \$? = $ac_status" >&5 1231 (exit $ac_status); } 1232 1233cat >conftest.$ac_ext <<_ACEOF 1234#line 1234 "configure" 1235#include "confdefs.h" 1236 1237int 1238main () 1239{ 1240 1241 ; 1242 return 0; 1243} 1244_ACEOF 1245ac_clean_files_save=$ac_clean_files 1246ac_clean_files="$ac_clean_files a.out a.exe" 1247# Try to create an executable without -o first, disregard a.out. 1248# It will help us diagnose broken compilers, and finding out an intuition 1249# of exeext. 1250echo "$as_me:1250: checking for C compiler default output" >&5 1251echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1252ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1253if { (eval echo "$as_me:1253: \"$ac_link_default\"") >&5 1254 (eval $ac_link_default) 2>&5 1255 ac_status=$? 1256 echo "$as_me:1256: \$? = $ac_status" >&5 1257 (exit $ac_status); }; then 1258 # Find the output, starting from the most likely. This scheme is 1259# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1260# resort. 1261for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1262 ls a.out conftest 2>/dev/null; 1263 ls a.* conftest.* 2>/dev/null`; do 1264 case $ac_file in 1265 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1266 a.out ) # We found the default executable, but exeext='' is most 1267 # certainly right. 1268 break;; 1269 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1270 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1271 export ac_cv_exeext 1272 break;; 1273 * ) break;; 1274 esac 1275done 1276else 1277 echo "$as_me: failed program was:" >&5 1278cat conftest.$ac_ext >&5 1279{ { echo "$as_me:1279: error: C compiler cannot create executables" >&5 1280echo "$as_me: error: C compiler cannot create executables" >&2;} 1281 { (exit 77); exit 77; }; } 1282fi 1283 1284ac_exeext=$ac_cv_exeext 1285echo "$as_me:1285: result: $ac_file" >&5 1286echo "${ECHO_T}$ac_file" >&6 1287 1288# Check the compiler produces executables we can run. If not, either 1289# the compiler is broken, or we cross compile. 1290echo "$as_me:1290: checking whether the C compiler works" >&5 1291echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1292# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1293# If not cross compiling, check that we can run a simple program. 1294if test "$cross_compiling" != yes; then 1295 if { ac_try='./$ac_file' 1296 { (eval echo "$as_me:1296: \"$ac_try\"") >&5 1297 (eval $ac_try) 2>&5 1298 ac_status=$? 1299 echo "$as_me:1299: \$? = $ac_status" >&5 1300 (exit $ac_status); }; }; then 1301 cross_compiling=no 1302 else 1303 if test "$cross_compiling" = maybe; then 1304 cross_compiling=yes 1305 else 1306 { { echo "$as_me:1306: error: cannot run C compiled programs. 1307If you meant to cross compile, use \`--host'." >&5 1308echo "$as_me: error: cannot run C compiled programs. 1309If you meant to cross compile, use \`--host'." >&2;} 1310 { (exit 1); exit 1; }; } 1311 fi 1312 fi 1313fi 1314echo "$as_me:1314: result: yes" >&5 1315echo "${ECHO_T}yes" >&6 1316 1317rm -f a.out a.exe conftest$ac_cv_exeext 1318ac_clean_files=$ac_clean_files_save 1319# Check the compiler produces executables we can run. If not, either 1320# the compiler is broken, or we cross compile. 1321echo "$as_me:1321: checking whether we are cross compiling" >&5 1322echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1323echo "$as_me:1323: result: $cross_compiling" >&5 1324echo "${ECHO_T}$cross_compiling" >&6 1325 1326echo "$as_me:1326: checking for executable suffix" >&5 1327echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1328if { (eval echo "$as_me:1328: \"$ac_link\"") >&5 1329 (eval $ac_link) 2>&5 1330 ac_status=$? 1331 echo "$as_me:1331: \$? = $ac_status" >&5 1332 (exit $ac_status); }; then 1333 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1334# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1335# work properly (i.e., refer to `conftest.exe'), while it won't with 1336# `rm'. 1337for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1338 case $ac_file in 1339 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1340 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1341 export ac_cv_exeext 1342 break;; 1343 * ) break;; 1344 esac 1345done 1346else 1347 { { echo "$as_me:1347: error: cannot compute EXEEXT: cannot compile and link" >&5 1348echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1349 { (exit 1); exit 1; }; } 1350fi 1351 1352rm -f conftest$ac_cv_exeext 1353echo "$as_me:1353: result: $ac_cv_exeext" >&5 1354echo "${ECHO_T}$ac_cv_exeext" >&6 1355 1356rm -f conftest.$ac_ext 1357EXEEXT=$ac_cv_exeext 1358ac_exeext=$EXEEXT 1359echo "$as_me:1359: checking for object suffix" >&5 1360echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1361if test "${ac_cv_objext+set}" = set; then 1362 echo $ECHO_N "(cached) $ECHO_C" >&6 1363else 1364 cat >conftest.$ac_ext <<_ACEOF 1365#line 1365 "configure" 1366#include "confdefs.h" 1367 1368int 1369main () 1370{ 1371 1372 ; 1373 return 0; 1374} 1375_ACEOF 1376rm -f conftest.o conftest.obj 1377if { (eval echo "$as_me:1377: \"$ac_compile\"") >&5 1378 (eval $ac_compile) 2>&5 1379 ac_status=$? 1380 echo "$as_me:1380: \$? = $ac_status" >&5 1381 (exit $ac_status); }; then 1382 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1383 case $ac_file in 1384 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1385 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1386 break;; 1387 esac 1388done 1389else 1390 echo "$as_me: failed program was:" >&5 1391cat conftest.$ac_ext >&5 1392{ { echo "$as_me:1392: error: cannot compute OBJEXT: cannot compile" >&5 1393echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1394 { (exit 1); exit 1; }; } 1395fi 1396 1397rm -f conftest.$ac_cv_objext conftest.$ac_ext 1398fi 1399echo "$as_me:1399: result: $ac_cv_objext" >&5 1400echo "${ECHO_T}$ac_cv_objext" >&6 1401OBJEXT=$ac_cv_objext 1402ac_objext=$OBJEXT 1403echo "$as_me:1403: checking whether we are using the GNU C compiler" >&5 1404echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1405if test "${ac_cv_c_compiler_gnu+set}" = set; then 1406 echo $ECHO_N "(cached) $ECHO_C" >&6 1407else 1408 cat >conftest.$ac_ext <<_ACEOF 1409#line 1409 "configure" 1410#include "confdefs.h" 1411 1412int 1413main () 1414{ 1415#ifndef __GNUC__ 1416 choke me 1417#endif 1418 1419 ; 1420 return 0; 1421} 1422_ACEOF 1423rm -f conftest.$ac_objext 1424if { (eval echo "$as_me:1424: \"$ac_compile\"") >&5 1425 (eval $ac_compile) 2>&5 1426 ac_status=$? 1427 echo "$as_me:1427: \$? = $ac_status" >&5 1428 (exit $ac_status); } && 1429 { ac_try='test -s conftest.$ac_objext' 1430 { (eval echo "$as_me:1430: \"$ac_try\"") >&5 1431 (eval $ac_try) 2>&5 1432 ac_status=$? 1433 echo "$as_me:1433: \$? = $ac_status" >&5 1434 (exit $ac_status); }; }; then 1435 ac_compiler_gnu=yes 1436else 1437 echo "$as_me: failed program was:" >&5 1438cat conftest.$ac_ext >&5 1439ac_compiler_gnu=no 1440fi 1441rm -f conftest.$ac_objext conftest.$ac_ext 1442ac_cv_c_compiler_gnu=$ac_compiler_gnu 1443 1444fi 1445echo "$as_me:1445: result: $ac_cv_c_compiler_gnu" >&5 1446echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1447GCC=`test $ac_compiler_gnu = yes && echo yes` 1448ac_test_CFLAGS=${CFLAGS+set} 1449ac_save_CFLAGS=$CFLAGS 1450CFLAGS="-g" 1451echo "$as_me:1451: checking whether $CC accepts -g" >&5 1452echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1453if test "${ac_cv_prog_cc_g+set}" = set; then 1454 echo $ECHO_N "(cached) $ECHO_C" >&6 1455else 1456 cat >conftest.$ac_ext <<_ACEOF 1457#line 1457 "configure" 1458#include "confdefs.h" 1459 1460int 1461main () 1462{ 1463 1464 ; 1465 return 0; 1466} 1467_ACEOF 1468rm -f conftest.$ac_objext 1469if { (eval echo "$as_me:1469: \"$ac_compile\"") >&5 1470 (eval $ac_compile) 2>&5 1471 ac_status=$? 1472 echo "$as_me:1472: \$? = $ac_status" >&5 1473 (exit $ac_status); } && 1474 { ac_try='test -s conftest.$ac_objext' 1475 { (eval echo "$as_me:1475: \"$ac_try\"") >&5 1476 (eval $ac_try) 2>&5 1477 ac_status=$? 1478 echo "$as_me:1478: \$? = $ac_status" >&5 1479 (exit $ac_status); }; }; then 1480 ac_cv_prog_cc_g=yes 1481else 1482 echo "$as_me: failed program was:" >&5 1483cat conftest.$ac_ext >&5 1484ac_cv_prog_cc_g=no 1485fi 1486rm -f conftest.$ac_objext conftest.$ac_ext 1487fi 1488echo "$as_me:1488: result: $ac_cv_prog_cc_g" >&5 1489echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1490if test "$ac_test_CFLAGS" = set; then 1491 CFLAGS=$ac_save_CFLAGS 1492elif test $ac_cv_prog_cc_g = yes; then 1493 if test "$GCC" = yes; then 1494 CFLAGS="-g -O2" 1495 else 1496 CFLAGS="-g" 1497 fi 1498else 1499 if test "$GCC" = yes; then 1500 CFLAGS="-O2" 1501 else 1502 CFLAGS= 1503 fi 1504fi 1505# Some people use a C++ compiler to compile C. Since we use `exit', 1506# in C++ we need to declare it. In case someone uses the same compiler 1507# for both compiling C and C++ we need to have the C++ compiler decide 1508# the declaration of exit, since it's the most demanding environment. 1509cat >conftest.$ac_ext <<_ACEOF 1510#ifndef __cplusplus 1511 choke me 1512#endif 1513_ACEOF 1514rm -f conftest.$ac_objext 1515if { (eval echo "$as_me:1515: \"$ac_compile\"") >&5 1516 (eval $ac_compile) 2>&5 1517 ac_status=$? 1518 echo "$as_me:1518: \$? = $ac_status" >&5 1519 (exit $ac_status); } && 1520 { ac_try='test -s conftest.$ac_objext' 1521 { (eval echo "$as_me:1521: \"$ac_try\"") >&5 1522 (eval $ac_try) 2>&5 1523 ac_status=$? 1524 echo "$as_me:1524: \$? = $ac_status" >&5 1525 (exit $ac_status); }; }; then 1526 for ac_declaration in \ 1527 ''\ 1528 '#include <stdlib.h>' \ 1529 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1530 'extern "C" void std::exit (int); using std::exit;' \ 1531 'extern "C" void exit (int) throw ();' \ 1532 'extern "C" void exit (int);' \ 1533 'void exit (int);' 1534do 1535 cat >conftest.$ac_ext <<_ACEOF 1536#line 1536 "configure" 1537#include "confdefs.h" 1538#include <stdlib.h> 1539$ac_declaration 1540int 1541main () 1542{ 1543exit (42); 1544 ; 1545 return 0; 1546} 1547_ACEOF 1548rm -f conftest.$ac_objext 1549if { (eval echo "$as_me:1549: \"$ac_compile\"") >&5 1550 (eval $ac_compile) 2>&5 1551 ac_status=$? 1552 echo "$as_me:1552: \$? = $ac_status" >&5 1553 (exit $ac_status); } && 1554 { ac_try='test -s conftest.$ac_objext' 1555 { (eval echo "$as_me:1555: \"$ac_try\"") >&5 1556 (eval $ac_try) 2>&5 1557 ac_status=$? 1558 echo "$as_me:1558: \$? = $ac_status" >&5 1559 (exit $ac_status); }; }; then 1560 : 1561else 1562 echo "$as_me: failed program was:" >&5 1563cat conftest.$ac_ext >&5 1564continue 1565fi 1566rm -f conftest.$ac_objext conftest.$ac_ext 1567 cat >conftest.$ac_ext <<_ACEOF 1568#line 1568 "configure" 1569#include "confdefs.h" 1570$ac_declaration 1571int 1572main () 1573{ 1574exit (42); 1575 ; 1576 return 0; 1577} 1578_ACEOF 1579rm -f conftest.$ac_objext 1580if { (eval echo "$as_me:1580: \"$ac_compile\"") >&5 1581 (eval $ac_compile) 2>&5 1582 ac_status=$? 1583 echo "$as_me:1583: \$? = $ac_status" >&5 1584 (exit $ac_status); } && 1585 { ac_try='test -s conftest.$ac_objext' 1586 { (eval echo "$as_me:1586: \"$ac_try\"") >&5 1587 (eval $ac_try) 2>&5 1588 ac_status=$? 1589 echo "$as_me:1589: \$? = $ac_status" >&5 1590 (exit $ac_status); }; }; then 1591 break 1592else 1593 echo "$as_me: failed program was:" >&5 1594cat conftest.$ac_ext >&5 1595fi 1596rm -f conftest.$ac_objext conftest.$ac_ext 1597done 1598rm -f conftest* 1599if test -n "$ac_declaration"; then 1600 echo '#ifdef __cplusplus' >>confdefs.h 1601 echo $ac_declaration >>confdefs.h 1602 echo '#endif' >>confdefs.h 1603fi 1604 1605else 1606 echo "$as_me: failed program was:" >&5 1607cat conftest.$ac_ext >&5 1608fi 1609rm -f conftest.$ac_objext conftest.$ac_ext 1610ac_ext=c 1611ac_cpp='$CPP $CPPFLAGS' 1612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1614ac_compiler_gnu=$ac_cv_c_compiler_gnu 1615 1616if test -n "$ac_tool_prefix"; then 1617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1618set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1619echo "$as_me:1619: checking for $ac_word" >&5 1620echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1621if test "${ac_cv_prog_RANLIB+set}" = set; then 1622 echo $ECHO_N "(cached) $ECHO_C" >&6 1623else 1624 if test -n "$RANLIB"; then 1625 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1626else 1627 ac_save_IFS=$IFS; IFS=$ac_path_separator 1628ac_dummy="$PATH" 1629for ac_dir in $ac_dummy; do 1630 IFS=$ac_save_IFS 1631 test -z "$ac_dir" && ac_dir=. 1632 $as_executable_p "$ac_dir/$ac_word" || continue 1633ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1634echo "$as_me:1634: found $ac_dir/$ac_word" >&5 1635break 1636done 1637 1638fi 1639fi 1640RANLIB=$ac_cv_prog_RANLIB 1641if test -n "$RANLIB"; then 1642 echo "$as_me:1642: result: $RANLIB" >&5 1643echo "${ECHO_T}$RANLIB" >&6 1644else 1645 echo "$as_me:1645: result: no" >&5 1646echo "${ECHO_T}no" >&6 1647fi 1648 1649fi 1650if test -z "$ac_cv_prog_RANLIB"; then 1651 ac_ct_RANLIB=$RANLIB 1652 # Extract the first word of "ranlib", so it can be a program name with args. 1653set dummy ranlib; ac_word=$2 1654echo "$as_me:1654: checking for $ac_word" >&5 1655echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1656if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 1657 echo $ECHO_N "(cached) $ECHO_C" >&6 1658else 1659 if test -n "$ac_ct_RANLIB"; then 1660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 1661else 1662 ac_save_IFS=$IFS; IFS=$ac_path_separator 1663ac_dummy="$PATH" 1664for ac_dir in $ac_dummy; do 1665 IFS=$ac_save_IFS 1666 test -z "$ac_dir" && ac_dir=. 1667 $as_executable_p "$ac_dir/$ac_word" || continue 1668ac_cv_prog_ac_ct_RANLIB="ranlib" 1669echo "$as_me:1669: found $ac_dir/$ac_word" >&5 1670break 1671done 1672 1673 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 1674fi 1675fi 1676ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 1677if test -n "$ac_ct_RANLIB"; then 1678 echo "$as_me:1678: result: $ac_ct_RANLIB" >&5 1679echo "${ECHO_T}$ac_ct_RANLIB" >&6 1680else 1681 echo "$as_me:1681: result: no" >&5 1682echo "${ECHO_T}no" >&6 1683fi 1684 1685 RANLIB=$ac_ct_RANLIB 1686else 1687 RANLIB="$ac_cv_prog_RANLIB" 1688fi 1689 1690ac_aux_dir= 1691for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1692 if test -f $ac_dir/install-sh; then 1693 ac_aux_dir=$ac_dir 1694 ac_install_sh="$ac_aux_dir/install-sh -c" 1695 break 1696 elif test -f $ac_dir/install.sh; then 1697 ac_aux_dir=$ac_dir 1698 ac_install_sh="$ac_aux_dir/install.sh -c" 1699 break 1700 elif test -f $ac_dir/shtool; then 1701 ac_aux_dir=$ac_dir 1702 ac_install_sh="$ac_aux_dir/shtool install -c" 1703 break 1704 fi 1705done 1706if test -z "$ac_aux_dir"; then 1707 { { echo "$as_me:1707: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1708echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1709 { (exit 1); exit 1; }; } 1710fi 1711ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1712ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1713ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1714 1715# Find a good install program. We prefer a C program (faster), 1716# so one script is as good as another. But avoid the broken or 1717# incompatible versions: 1718# SysV /etc/install, /usr/sbin/install 1719# SunOS /usr/etc/install 1720# IRIX /sbin/install 1721# AIX /bin/install 1722# AmigaOS /C/install, which installs bootblocks on floppy discs 1723# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1724# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1725# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1726# ./install, which can be erroneously created by make from ./install.sh. 1727echo "$as_me:1727: checking for a BSD compatible install" >&5 1728echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 1729if test -z "$INSTALL"; then 1730if test "${ac_cv_path_install+set}" = set; then 1731 echo $ECHO_N "(cached) $ECHO_C" >&6 1732else 1733 ac_save_IFS=$IFS; IFS=$ac_path_separator 1734 for ac_dir in $PATH; do 1735 IFS=$ac_save_IFS 1736 # Account for people who put trailing slashes in PATH elements. 1737 case $ac_dir/ in 1738 / | ./ | .// | /cC/* \ 1739 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1740 | /usr/ucb/* ) ;; 1741 *) 1742 # OSF1 and SCO ODT 3.0 have their own names for install. 1743 # Don't use installbsd from OSF since it installs stuff as root 1744 # by default. 1745 for ac_prog in ginstall scoinst install; do 1746 if $as_executable_p "$ac_dir/$ac_prog"; then 1747 if test $ac_prog = install && 1748 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1749 # AIX install. It has an incompatible calling convention. 1750 : 1751 elif test $ac_prog = install && 1752 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 1753 # program-specific install script used by HP pwplus--don't use. 1754 : 1755 else 1756 ac_cv_path_install="$ac_dir/$ac_prog -c" 1757 break 2 1758 fi 1759 fi 1760 done 1761 ;; 1762 esac 1763 done 1764 1765fi 1766 if test "${ac_cv_path_install+set}" = set; then 1767 INSTALL=$ac_cv_path_install 1768 else 1769 # As a last resort, use the slow shell script. We don't cache a 1770 # path for INSTALL within a source directory, because that will 1771 # break other packages using the cache if that directory is 1772 # removed, or if the path is relative. 1773 INSTALL=$ac_install_sh 1774 fi 1775fi 1776echo "$as_me:1776: result: $INSTALL" >&5 1777echo "${ECHO_T}$INSTALL" >&6 1778 1779# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1780# It thinks the first close brace ends the variable substitution. 1781test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1782 1783test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1784 1785test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1786 1787# Extract the first word of "ar", so it can be a program name with args. 1788set dummy ar; ac_word=$2 1789echo "$as_me:1789: checking for $ac_word" >&5 1790echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1791if test "${ac_cv_path_AR+set}" = set; then 1792 echo $ECHO_N "(cached) $ECHO_C" >&6 1793else 1794 case $AR in 1795 [\\/]* | ?:[\\/]*) 1796 ac_cv_path_AR="$AR" # Let the user override the test with a path. 1797 ;; 1798 *) 1799 ac_save_IFS=$IFS; IFS=$ac_path_separator 1800ac_dummy="$PATH" 1801for ac_dir in $ac_dummy; do 1802 IFS=$ac_save_IFS 1803 test -z "$ac_dir" && ac_dir=. 1804 if $as_executable_p "$ac_dir/$ac_word"; then 1805 ac_cv_path_AR="$ac_dir/$ac_word" 1806 echo "$as_me:1806: found $ac_dir/$ac_word" >&5 1807 break 1808fi 1809done 1810 1811 test -z "$ac_cv_path_AR" && ac_cv_path_AR="no" 1812 ;; 1813esac 1814fi 1815AR=$ac_cv_path_AR 1816 1817if test -n "$AR"; then 1818 echo "$as_me:1818: result: $AR" >&5 1819echo "${ECHO_T}$AR" >&6 1820else 1821 echo "$as_me:1821: result: no" >&5 1822echo "${ECHO_T}no" >&6 1823fi 1824 1825if [ $AR = "no" ] ; then 1826 { { echo "$as_me:1826: error: \"Could not find ar - needed to create a library\"" >&5 1827echo "$as_me: error: \"Could not find ar - needed to create a library\"" >&2;} 1828 { (exit 1); exit 1; }; }; 1829fi 1830 1831# Make sure we can run config.sub. 1832$ac_config_sub sun4 >/dev/null 2>&1 || 1833 { { echo "$as_me:1833: error: cannot run $ac_config_sub" >&5 1834echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1835 { (exit 1); exit 1; }; } 1836 1837echo "$as_me:1837: checking build system type" >&5 1838echo $ECHO_N "checking build system type... $ECHO_C" >&6 1839if test "${ac_cv_build+set}" = set; then 1840 echo $ECHO_N "(cached) $ECHO_C" >&6 1841else 1842 ac_cv_build_alias=$build_alias 1843test -z "$ac_cv_build_alias" && 1844 ac_cv_build_alias=`$ac_config_guess` 1845test -z "$ac_cv_build_alias" && 1846 { { echo "$as_me:1846: error: cannot guess build type; you must specify one" >&5 1847echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1848 { (exit 1); exit 1; }; } 1849ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1850 { { echo "$as_me:1850: error: $ac_config_sub $ac_cv_build_alias failed." >&5 1851echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 1852 { (exit 1); exit 1; }; } 1853 1854fi 1855echo "$as_me:1855: result: $ac_cv_build" >&5 1856echo "${ECHO_T}$ac_cv_build" >&6 1857build=$ac_cv_build 1858build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1859build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1860build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1861 1862echo "$as_me:1862: checking host system type" >&5 1863echo $ECHO_N "checking host system type... $ECHO_C" >&6 1864if test "${ac_cv_host+set}" = set; then 1865 echo $ECHO_N "(cached) $ECHO_C" >&6 1866else 1867 ac_cv_host_alias=$host_alias 1868test -z "$ac_cv_host_alias" && 1869 ac_cv_host_alias=$ac_cv_build_alias 1870ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1871 { { echo "$as_me:1871: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1872echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1873 { (exit 1); exit 1; }; } 1874 1875fi 1876echo "$as_me:1876: result: $ac_cv_host" >&5 1877echo "${ECHO_T}$ac_cv_host" >&6 1878host=$ac_cv_host 1879host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1880host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1881host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1882 1883case "${host_os}" in 1884 darwin* ) 1885 1886 OTHER_OBJS="pa_mac_core/pa_mac_core.o"; 1887 LIBS="-framework CoreAudio -lm"; 1888 PADLL="libportaudio.dylib"; 1889 SHARED_FLAGS="-framework CoreAudio -dynamiclib"; 1890 ;; 1891 1892 mingw* ) 1893 1894 OTHER_OBJS="pa_win_wmme/pa_win_wmme.o"; 1895 LIBS="-lwinmm -lm"; 1896 PADLL="portaudio.dll"; 1897 SHARED_FLAGS="-shared -mthreads"; 1898 DLL_LIBS="-lwinmm"; 1899 ;; 1900 1901 cygwin* ) 1902 1903 OTHER_OBJS="pa_win_wmme/pa_win_wmme.o"; 1904 LIBS="-lwinmm -lm"; 1905 PADLL="portaudio.dll"; 1906 SHARED_FLAGS="-shared -mthreads"; 1907 DLL_LIBS="-lwinmm"; 1908 ;; 1909 1910 *) 1911 1912echo "$as_me:1912: checking for pthread_create in -lpthread" >&5 1913echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 1914if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then 1915 echo $ECHO_N "(cached) $ECHO_C" >&6 1916else 1917 ac_check_lib_save_LIBS=$LIBS 1918LIBS="-lpthread $LIBS" 1919cat >conftest.$ac_ext <<_ACEOF 1920#line 1920 "configure" 1921#include "confdefs.h" 1922 1923/* Override any gcc2 internal prototype to avoid an error. */ 1924#ifdef __cplusplus 1925extern "C" 1926#endif 1927/* We use char because int might match the return type of a gcc2 1928 builtin and then its argument prototype would still apply. */ 1929char pthread_create (); 1930int 1931main () 1932{ 1933pthread_create (); 1934 ; 1935 return 0; 1936} 1937_ACEOF 1938rm -f conftest.$ac_objext conftest$ac_exeext 1939if { (eval echo "$as_me:1939: \"$ac_link\"") >&5 1940 (eval $ac_link) 2>&5 1941 ac_status=$? 1942 echo "$as_me:1942: \$? = $ac_status" >&5 1943 (exit $ac_status); } && 1944 { ac_try='test -s conftest$ac_exeext' 1945 { (eval echo "$as_me:1945: \"$ac_try\"") >&5 1946 (eval $ac_try) 2>&5 1947 ac_status=$? 1948 echo "$as_me:1948: \$? = $ac_status" >&5 1949 (exit $ac_status); }; }; then 1950 ac_cv_lib_pthread_pthread_create=yes 1951else 1952 echo "$as_me: failed program was:" >&5 1953cat conftest.$ac_ext >&5 1954ac_cv_lib_pthread_pthread_create=no 1955fi 1956rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 1957LIBS=$ac_check_lib_save_LIBS 1958fi 1959echo "$as_me:1959: result: $ac_cv_lib_pthread_pthread_create" >&5 1960echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6 1961if test $ac_cv_lib_pthread_pthread_create = yes; then 1962 cat >>confdefs.h <<EOF 1963#define HAVE_LIBPTHREAD 1 1964EOF 1965 1966 LIBS="-lpthread $LIBS" 1967 1968else 1969 { { echo "$as_me:1969: error: libpthread not found!" >&5 1970echo "$as_me: error: libpthread not found!" >&2;} 1971 { (exit 1); exit 1; }; } 1972fi 1973 1974 OTHER_OBJS="pa_unix_oss/pa_unix_oss.o pa_unix_oss/pa_unix.o"; 1975 LIBS="-lm -lpthread"; 1976 PADLL="libportaudio.so"; 1977 SHARED_FLAGS="-shared"; 1978esac 1979 1980ac_config_files="$ac_config_files Makefile" 1981cat >confcache <<\_ACEOF 1982# This file is a shell script that caches the results of configure 1983# tests run on this system so they can be shared between configure 1984# scripts and configure runs, see configure's option --config-cache. 1985# It is not useful on other systems. If it contains results you don't 1986# want to keep, you may remove or edit it. 1987# 1988# config.status only pays attention to the cache file if you give it 1989# the --recheck option to rerun configure. 1990# 1991# `ac_cv_env_foo' variables (set or unset) will be overriden when 1992# loading this file, other *unset* `ac_cv_foo' will be assigned the 1993# following values. 1994 1995_ACEOF 1996 1997# The following way of writing the cache mishandles newlines in values, 1998# but we know of no workaround that is simple, portable, and efficient. 1999# So, don't put newlines in cache variables' values. 2000# Ultrix sh set writes to stderr and can't be redirected directly, 2001# and sets the high bit in the cache file unless we assign to the vars. 2002{ 2003 (set) 2>&1 | 2004 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2005 *ac_space=\ *) 2006 # `set' does not quote correctly, so add quotes (double-quote 2007 # substitution turns \\\\ into \\, and sed turns \\ into \). 2008 sed -n \ 2009 "s/'/'\\\\''/g; 2010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2011 ;; 2012 *) 2013 # `set' quotes correctly as required by POSIX, so do not add quotes. 2014 sed -n \ 2015 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2016 ;; 2017 esac; 2018} | 2019 sed ' 2020 t clear 2021 : clear 2022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2023 t end 2024 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2025 : end' >>confcache 2026if cmp -s $cache_file confcache; then :; else 2027 if test -w $cache_file; then 2028 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2029 cat confcache >$cache_file 2030 else 2031 echo "not updating unwritable cache $cache_file" 2032 fi 2033fi 2034rm -f confcache 2035 2036test "x$prefix" = xNONE && prefix=$ac_default_prefix 2037# Let make expand exec_prefix. 2038test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2039 2040# VPATH may cause trouble with some makes, so we remove $(srcdir), 2041# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2042# trailing colons and then remove the whole line if VPATH becomes empty 2043# (actually we leave an empty line to preserve line numbers). 2044if test "x$srcdir" = x.; then 2045 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2046s/:*\$(srcdir):*/:/; 2047s/:*\${srcdir}:*/:/; 2048s/:*@srcdir@:*/:/; 2049s/^\([^=]*=[ ]*\):*/\1/; 2050s/:*$//; 2051s/^[^=]*=[ ]*$//; 2052}' 2053fi 2054 2055# Transform confdefs.h into DEFS. 2056# Protect against shell expansion while executing Makefile rules. 2057# Protect against Makefile macro expansion. 2058# 2059# If the first sed substitution is executed (which looks for macros that 2060# take arguments), then we branch to the quote section. Otherwise, 2061# look for a macro that doesn't take arguments. 2062cat >confdef2opt.sed <<\EOF 2063t clear 2064: clear 2065s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 2066t quote 2067s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 2068t quote 2069d 2070: quote 2071s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 2072s,\[,\\&,g 2073s,\],\\&,g 2074s,\$,$$,g 2075p 2076EOF 2077# We use echo to avoid assuming a particular line-breaking character. 2078# The extra dot is to prevent the shell from consuming trailing 2079# line-breaks from the sub-command output. A line-break within 2080# single-quotes doesn't work because, if this script is created in a 2081# platform that uses two characters for line-breaks (e.g., DOS), tr 2082# would break. 2083ac_LF_and_DOT=`echo; echo .` 2084DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 2085rm -f confdef2opt.sed 2086 2087: ${CONFIG_STATUS=./config.status} 2088ac_clean_files_save=$ac_clean_files 2089ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2090{ echo "$as_me:2090: creating $CONFIG_STATUS" >&5 2091echo "$as_me: creating $CONFIG_STATUS" >&6;} 2092cat >$CONFIG_STATUS <<_ACEOF 2093#! $SHELL 2094# Generated automatically by configure. 2095# Run this file to recreate the current configuration. 2096# Compiler output produced by configure, useful for debugging 2097# configure, is in config.log if it exists. 2098 2099debug=false 2100SHELL=\${CONFIG_SHELL-$SHELL} 2101ac_cs_invocation="\$0 \$@" 2102 2103_ACEOF 2104 2105cat >>$CONFIG_STATUS <<\_ACEOF 2106# Be Bourne compatible 2107if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2108 emulate sh 2109 NULLCMD=: 2110elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2111 set -o posix 2112fi 2113 2114# Name of the executable. 2115as_me=`echo "$0" |sed 's,.*[\\/],,'` 2116 2117if expr a : '\(a\)' >/dev/null 2>&1; then 2118 as_expr=expr 2119else 2120 as_expr=false 2121fi 2122 2123rm -f conf$$ conf$$.exe conf$$.file 2124echo >conf$$.file 2125if ln -s conf$$.file conf$$ 2>/dev/null; then 2126 # We could just check for DJGPP; but this test a) works b) is more generic 2127 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2128 if test -f conf$$.exe; then 2129 # Don't use ln at all; we don't have any links 2130 as_ln_s='cp -p' 2131 else 2132 as_ln_s='ln -s' 2133 fi 2134elif ln conf$$.file conf$$ 2>/dev/null; then 2135 as_ln_s=ln 2136else 2137 as_ln_s='cp -p' 2138fi 2139rm -f conf$$ conf$$.exe conf$$.file 2140 2141as_executable_p="test -f" 2142 2143# Support unset when possible. 2144if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 2145 as_unset=unset 2146else 2147 as_unset=false 2148fi 2149 2150# NLS nuisances. 2151$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 2152$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 2153$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 2154$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 2155$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 2156$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 2157$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 2158$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 2159 2160# IFS 2161# We need space, tab and new line, in precisely that order. 2162as_nl=' 2163' 2164IFS=" $as_nl" 2165 2166# CDPATH. 2167$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 2168 2169exec 6>&1 2170 2171_ACEOF 2172 2173# Files that config.status was made for. 2174if test -n "$ac_config_files"; then 2175 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 2176fi 2177 2178if test -n "$ac_config_headers"; then 2179 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 2180fi 2181 2182if test -n "$ac_config_links"; then 2183 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 2184fi 2185 2186if test -n "$ac_config_commands"; then 2187 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 2188fi 2189 2190cat >>$CONFIG_STATUS <<\EOF 2191 2192ac_cs_usage="\ 2193\`$as_me' instantiates files from templates according to the 2194current configuration. 2195 2196Usage: $0 [OPTIONS] [FILE]... 2197 2198 -h, --help print this help, then exit 2199 -V, --version print version number, then exit 2200 -d, --debug don't remove temporary files 2201 --recheck update $as_me by reconfiguring in the same conditions 2202 --file=FILE[:TEMPLATE] 2203 instantiate the configuration file FILE 2204 2205Configuration files: 2206$config_files 2207 2208Report bugs to <bug-autoconf@gnu.org>." 2209EOF 2210 2211cat >>$CONFIG_STATUS <<EOF 2212ac_cs_version="\\ 2213config.status 2214configured by $0, generated by GNU Autoconf 2.52, 2215 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 2216 2217Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 2218Free Software Foundation, Inc. 2219This config.status script is free software; the Free Software Foundation 2220gives unlimited permission to copy, distribute and modify it." 2221srcdir=$srcdir 2222INSTALL="$INSTALL" 2223EOF 2224 2225cat >>$CONFIG_STATUS <<\EOF 2226# If no file are specified by the user, then we need to provide default 2227# value. By we need to know if files were specified by the user. 2228ac_need_defaults=: 2229while test $# != 0 2230do 2231 case $1 in 2232 --*=*) 2233 ac_option=`expr "x$1" : 'x\([^=]*\)='` 2234 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 2235 shift 2236 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 2237 shift 2238 ;; 2239 -*);; 2240 *) # This is not an option, so the user has probably given explicit 2241 # arguments. 2242 ac_need_defaults=false;; 2243 esac 2244 2245 case $1 in 2246 # Handling of the options. 2247EOF 2248cat >>$CONFIG_STATUS <<EOF 2249 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2250 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 2251 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 2252EOF 2253cat >>$CONFIG_STATUS <<\EOF 2254 --version | --vers* | -V ) 2255 echo "$ac_cs_version"; exit 0 ;; 2256 --he | --h) 2257 # Conflict between --help and --header 2258 { { echo "$as_me:2258: error: ambiguous option: $1 2259Try \`$0 --help' for more information." >&5 2260echo "$as_me: error: ambiguous option: $1 2261Try \`$0 --help' for more information." >&2;} 2262 { (exit 1); exit 1; }; };; 2263 --help | --hel | -h ) 2264 echo "$ac_cs_usage"; exit 0 ;; 2265 --debug | --d* | -d ) 2266 debug=: ;; 2267 --file | --fil | --fi | --f ) 2268 shift 2269 CONFIG_FILES="$CONFIG_FILES $1" 2270 ac_need_defaults=false;; 2271 --header | --heade | --head | --hea ) 2272 shift 2273 CONFIG_HEADERS="$CONFIG_HEADERS $1" 2274 ac_need_defaults=false;; 2275 2276 # This is an error. 2277 -*) { { echo "$as_me:2277: error: unrecognized option: $1 2278Try \`$0 --help' for more information." >&5 2279echo "$as_me: error: unrecognized option: $1 2280Try \`$0 --help' for more information." >&2;} 2281 { (exit 1); exit 1; }; } ;; 2282 2283 *) ac_config_targets="$ac_config_targets $1" ;; 2284 2285 esac 2286 shift 2287done 2288 2289exec 5>>config.log 2290cat >&5 << _ACEOF 2291 2292## ----------------------- ## 2293## Running config.status. ## 2294## ----------------------- ## 2295 2296This file was extended by $as_me 2.52, executed with 2297 CONFIG_FILES = $CONFIG_FILES 2298 CONFIG_HEADERS = $CONFIG_HEADERS 2299 CONFIG_LINKS = $CONFIG_LINKS 2300 CONFIG_COMMANDS = $CONFIG_COMMANDS 2301 > $ac_cs_invocation 2302on `(hostname || uname -n) 2>/dev/null | sed 1q` 2303 2304_ACEOF 2305EOF 2306 2307cat >>$CONFIG_STATUS <<\EOF 2308for ac_config_target in $ac_config_targets 2309do 2310 case "$ac_config_target" in 2311 # Handling of arguments. 2312 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2313 *) { { echo "$as_me:2313: error: invalid argument: $ac_config_target" >&5 2314echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 2315 { (exit 1); exit 1; }; };; 2316 esac 2317done 2318 2319# If the user did not use the arguments to specify the items to instantiate, 2320# then the envvar interface is used. Set only those that are not. 2321# We use the long form for the default assignment because of an extremely 2322# bizarre bug on SunOS 4.1.3. 2323if $ac_need_defaults; then 2324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2325fi 2326 2327# Create a temporary directory, and hook for its removal unless debugging. 2328$debug || 2329{ 2330 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 2331 trap '{ (exit 1); exit 1; }' 1 2 13 15 2332} 2333 2334# Create a (secure) tmp directory for tmp files. 2335: ${TMPDIR=/tmp} 2336{ 2337 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 2338 test -n "$tmp" && test -d "$tmp" 2339} || 2340{ 2341 tmp=$TMPDIR/cs$$-$RANDOM 2342 (umask 077 && mkdir $tmp) 2343} || 2344{ 2345 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 2346 { (exit 1); exit 1; } 2347} 2348 2349EOF 2350 2351cat >>$CONFIG_STATUS <<EOF 2352 2353# 2354# CONFIG_FILES section. 2355# 2356 2357# No need to generate the scripts if there are no CONFIG_FILES. 2358# This happens for instance when ./config.status config.h 2359if test -n "\$CONFIG_FILES"; then 2360 # Protect against being on the right side of a sed subst in config.status. 2361 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 2362 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 2363s,@SHELL@,$SHELL,;t t 2364s,@exec_prefix@,$exec_prefix,;t t 2365s,@prefix@,$prefix,;t t 2366s,@program_transform_name@,$program_transform_name,;t t 2367s,@bindir@,$bindir,;t t 2368s,@sbindir@,$sbindir,;t t 2369s,@libexecdir@,$libexecdir,;t t 2370s,@datadir@,$datadir,;t t 2371s,@sysconfdir@,$sysconfdir,;t t 2372s,@sharedstatedir@,$sharedstatedir,;t t 2373s,@localstatedir@,$localstatedir,;t t 2374s,@libdir@,$libdir,;t t 2375s,@includedir@,$includedir,;t t 2376s,@oldincludedir@,$oldincludedir,;t t 2377s,@infodir@,$infodir,;t t 2378s,@mandir@,$mandir,;t t 2379s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 2380s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 2381s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 2382s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 2383s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 2384s,@build_alias@,$build_alias,;t t 2385s,@host_alias@,$host_alias,;t t 2386s,@target_alias@,$target_alias,;t t 2387s,@ECHO_C@,$ECHO_C,;t t 2388s,@ECHO_N@,$ECHO_N,;t t 2389s,@ECHO_T@,$ECHO_T,;t t 2390s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 2391s,@DEFS@,$DEFS,;t t 2392s,@LIBS@,$LIBS,;t t 2393s,@CC@,$CC,;t t 2394s,@CFLAGS@,$CFLAGS,;t t 2395s,@LDFLAGS@,$LDFLAGS,;t t 2396s,@CPPFLAGS@,$CPPFLAGS,;t t 2397s,@ac_ct_CC@,$ac_ct_CC,;t t 2398s,@EXEEXT@,$EXEEXT,;t t 2399s,@OBJEXT@,$OBJEXT,;t t 2400s,@RANLIB@,$RANLIB,;t t 2401s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 2402s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 2403s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 2404s,@INSTALL_DATA@,$INSTALL_DATA,;t t 2405s,@AR@,$AR,;t t 2406s,@OTHER_OBJS@,$OTHER_OBJS,;t t 2407s,@PADLL@,$PADLL,;t t 2408s,@SHARED_FLAGS@,$SHARED_FLAGS,;t t 2409s,@DLL_LIBS@,$DLL_LIBS,;t t 2410s,@build@,$build,;t t 2411s,@build_cpu@,$build_cpu,;t t 2412s,@build_vendor@,$build_vendor,;t t 2413s,@build_os@,$build_os,;t t 2414s,@host@,$host,;t t 2415s,@host_cpu@,$host_cpu,;t t 2416s,@host_vendor@,$host_vendor,;t t 2417s,@host_os@,$host_os,;t t 2418CEOF 2419 2420EOF 2421 2422 cat >>$CONFIG_STATUS <<\EOF 2423 # Split the substitutions into bite-sized pieces for seds with 2424 # small command number limits, like on Digital OSF/1 and HP-UX. 2425 ac_max_sed_lines=48 2426 ac_sed_frag=1 # Number of current file. 2427 ac_beg=1 # First line for current file. 2428 ac_end=$ac_max_sed_lines # Line after last line for current file. 2429 ac_more_lines=: 2430 ac_sed_cmds= 2431 while $ac_more_lines; do 2432 if test $ac_beg -gt 1; then 2433 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2434 else 2435 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2436 fi 2437 if test ! -s $tmp/subs.frag; then 2438 ac_more_lines=false 2439 else 2440 # The purpose of the label and of the branching condition is to 2441 # speed up the sed processing (if there are no `@' at all, there 2442 # is no need to browse any of the substitutions). 2443 # These are the two extra sed commands mentioned above. 2444 (echo ':t 2445 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 2446 if test -z "$ac_sed_cmds"; then 2447 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 2448 else 2449 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 2450 fi 2451 ac_sed_frag=`expr $ac_sed_frag + 1` 2452 ac_beg=$ac_end 2453 ac_end=`expr $ac_end + $ac_max_sed_lines` 2454 fi 2455 done 2456 if test -z "$ac_sed_cmds"; then 2457 ac_sed_cmds=cat 2458 fi 2459fi # test -n "$CONFIG_FILES" 2460 2461EOF 2462cat >>$CONFIG_STATUS <<\EOF 2463for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 2464 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2465 case $ac_file in 2466 - | *:- | *:-:* ) # input from stdin 2467 cat >$tmp/stdin 2468 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2469 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2470 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2472 * ) ac_file_in=$ac_file.in ;; 2473 esac 2474 2475 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 2476 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2477 X"$ac_file" : 'X\(//\)[^/]' \| \ 2478 X"$ac_file" : 'X\(//\)$' \| \ 2479 X"$ac_file" : 'X\(/\)' \| \ 2480 . : '\(.\)' 2>/dev/null || 2481echo X"$ac_file" | 2482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2483 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2484 /^X\(\/\/\)$/{ s//\1/; q; } 2485 /^X\(\/\).*/{ s//\1/; q; } 2486 s/.*/./; q'` 2487 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2488 { case "$ac_dir" in 2489 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 2490 *) as_incr_dir=.;; 2491esac 2492as_dummy="$ac_dir" 2493for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 2494 case $as_mkdir_dir in 2495 # Skip DOS drivespec 2496 ?:) as_incr_dir=$as_mkdir_dir ;; 2497 *) 2498 as_incr_dir=$as_incr_dir/$as_mkdir_dir 2499 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 2500 ;; 2501 esac 2502done; } 2503 2504 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" 2505 # A "../" for each directory in $ac_dir_suffix. 2506 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` 2507 else 2508 ac_dir_suffix= ac_dots= 2509 fi 2510 2511 case $srcdir in 2512 .) ac_srcdir=. 2513 if test -z "$ac_dots"; then 2514 ac_top_srcdir=. 2515 else 2516 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 2517 fi ;; 2518 [\\/]* | ?:[\\/]* ) 2519 ac_srcdir=$srcdir$ac_dir_suffix; 2520 ac_top_srcdir=$srcdir ;; 2521 *) # Relative path. 2522 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 2523 ac_top_srcdir=$ac_dots$srcdir ;; 2524 esac 2525 2526 case $INSTALL in 2527 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 2528 *) ac_INSTALL=$ac_dots$INSTALL ;; 2529 esac 2530 2531 if test x"$ac_file" != x-; then 2532 { echo "$as_me:2532: creating $ac_file" >&5 2533echo "$as_me: creating $ac_file" >&6;} 2534 rm -f "$ac_file" 2535 fi 2536 # Let's still pretend it is `configure' which instantiates (i.e., don't 2537 # use $as_me), people would be surprised to read: 2538 # /* config.h. Generated automatically by config.status. */ 2539 configure_input="Generated automatically from `echo $ac_file_in | 2540 sed 's,.*/,,'` by configure." 2541 2542 # First look for the input files in the build tree, otherwise in the 2543 # src tree. 2544 ac_file_inputs=`IFS=: 2545 for f in $ac_file_in; do 2546 case $f in 2547 -) echo $tmp/stdin ;; 2548 [\\/$]*) 2549 # Absolute (can't be DOS-style, as IFS=:) 2550 test -f "$f" || { { echo "$as_me:2550: error: cannot find input file: $f" >&5 2551echo "$as_me: error: cannot find input file: $f" >&2;} 2552 { (exit 1); exit 1; }; } 2553 echo $f;; 2554 *) # Relative 2555 if test -f "$f"; then 2556 # Build tree 2557 echo $f 2558 elif test -f "$srcdir/$f"; then 2559 # Source tree 2560 echo $srcdir/$f 2561 else 2562 # /dev/null tree 2563 { { echo "$as_me:2563: error: cannot find input file: $f" >&5 2564echo "$as_me: error: cannot find input file: $f" >&2;} 2565 { (exit 1); exit 1; }; } 2566 fi;; 2567 esac 2568 done` || { (exit 1); exit 1; } 2569EOF 2570cat >>$CONFIG_STATUS <<EOF 2571 sed "$ac_vpsub 2572$extrasub 2573EOF 2574cat >>$CONFIG_STATUS <<\EOF 2575:t 2576/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2577s,@configure_input@,$configure_input,;t t 2578s,@srcdir@,$ac_srcdir,;t t 2579s,@top_srcdir@,$ac_top_srcdir,;t t 2580s,@INSTALL@,$ac_INSTALL,;t t 2581" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 2582 rm -f $tmp/stdin 2583 if test x"$ac_file" != x-; then 2584 mv $tmp/out $ac_file 2585 else 2586 cat $tmp/out 2587 rm -f $tmp/out 2588 fi 2589 2590done 2591EOF 2592 2593cat >>$CONFIG_STATUS <<\EOF 2594 2595{ (exit 0); exit 0; } 2596EOF 2597chmod +x $CONFIG_STATUS 2598ac_clean_files=$ac_clean_files_save 2599 2600# configure is writing to config.log, and then calls config.status. 2601# config.status does its own redirection, appending to config.log. 2602# Unfortunately, on DOS this fails, as config.log is still kept open 2603# by configure, so config.status won't be able to write to it; its 2604# output is simply discarded. So we exec the FD to /dev/null, 2605# effectively closing config.log, so it can be properly (re)opened and 2606# appended to by config.status. When coming back to configure, we 2607# need to make the FD available again. 2608if test "$no_create" != yes; then 2609 ac_cs_success=: 2610 exec 5>/dev/null 2611 $SHELL $CONFIG_STATUS || ac_cs_success=false 2612 exec 5>>config.log 2613 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2614 # would make configure fail if this is the last instruction. 2615 $ac_cs_success || { (exit 1); exit 1; } 2616fi 2617 2618echo "" 2619echo "Finished configure." 2620 2621echo "" 2622echo "Type 'make' to build PortAudio and examples." 2623