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