1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.59 for openbubbles 1.0. 4@%:@ 5@%:@ Copyright (C) 2003 Free Software Foundation, Inc. 6@%:@ This configure script is free software; the Free Software Foundation 7@%:@ gives unlimited permission to copy, distribute and modify it. 8## --------------------- ## 9## M4sh Initialization. ## 10## --------------------- ## 11 12# Be Bourne compatible 13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21fi 22DUALCASE=1; export DUALCASE # for MKS sh 23 24# Support unset when possible. 25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27else 28 as_unset=false 29fi 30 31 32# Work around bugs in pre-3.0 UWIN ksh. 33$as_unset ENV MAIL MAILPATH 34PS1='$ ' 35PS2='> ' 36PS4='+ ' 37 38# NLS nuisances. 39for 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 43do 44 if (set +x; test -z "`(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 49done 50 51# Required to use basename. 52if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54else 55 as_expr=false 56fi 57 58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60else 61 as_basename=false 62fi 63 64 65# Name of the executable. 66as_me=`$as_basename "$0" || 67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71echo 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. 80as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83as_cr_digits='0123456789' 84as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86# The user is always right. 87if 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 97fi 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 110for as_dir in $PATH 111do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115done 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 131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132do 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 152done 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 187case `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= ;; 192esac 193 194if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196else 197 as_expr=false 198fi 199 200rm -f conf$$ conf$$.exe conf$$.file 201echo >conf$$.file 202if 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 211elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213else 214 as_ln_s='cp -p' 215fi 216rm -f conf$$ conf$$.exe conf$$.file 217 218if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223fi 224 225as_executable_p="test -f" 226 227# Sed expression to map a string onto a valid CPP name. 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230# Sed expression to map a string onto a valid variable name. 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234# IFS 235# We need space, tab and new line, in precisely that order. 236as_nl=' 237' 238IFS=" $as_nl" 239 240# CDPATH. 241$as_unset CDPATH 242 243 244# Name of the host. 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246# so uname gets run too. 247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249exec 6>&1 250 251# 252# Initializations. 253# 254ac_default_prefix=/usr/local 255ac_config_libobj_dir=. 256cross_compiling=no 257subdirs= 258MFLAGS= 259MAKEFLAGS= 260SHELL=${CONFIG_SHELL-/bin/sh} 261 262# Maximum number of lines to put in a shell here document. 263# This variable seems obsolete. It should probably be removed, and 264# only ac_max_sed_lines should be used. 265: ${ac_max_here_lines=38} 266 267# Identity of this package. 268PACKAGE_NAME='openbubbles' 269PACKAGE_TARNAME='openbubbles' 270PACKAGE_VERSION='1.0' 271PACKAGE_STRING='openbubbles 1.0' 272PACKAGE_BUGREPORT='' 273 274ac_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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE LIB@&t@OBJS LTLIBOBJS' 275ac_subst_files='' 276 277# Initialize some variables set by options. 278ac_init_help= 279ac_init_version=false 280# The variables have the same names as the options, with 281# dashes changed to underlines. 282cache_file=/dev/null 283exec_prefix=NONE 284no_create= 285no_recursion= 286prefix=NONE 287program_prefix=NONE 288program_suffix=NONE 289program_transform_name=s,x,x, 290silent= 291site= 292srcdir= 293verbose= 294x_includes=NONE 295x_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. 302bindir='${exec_prefix}/bin' 303sbindir='${exec_prefix}/sbin' 304libexecdir='${exec_prefix}/libexec' 305datadir='${prefix}/share' 306sysconfdir='${prefix}/etc' 307sharedstatedir='${prefix}/com' 308localstatedir='${prefix}/var' 309libdir='${exec_prefix}/lib' 310includedir='${prefix}/include' 311oldincludedir='/usr/include' 312infodir='${prefix}/info' 313mandir='${prefix}/man' 314 315ac_prev= 316for ac_option 317do 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 589Try \`$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 612done 613 614if 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; }; } 618fi 619 620# Be sure to have absolute paths. 621for ac_var in exec_prefix prefix 622do 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 629done 630 631# Be sure to have absolute paths. 632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 633 localstatedir libdir includedir oldincludedir infodir mandir 634do 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 641done 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. 646build=$build_alias 647host=$host_alias 648target=$target_alias 649 650# FIXME: To remove some day. 651if 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 659fi 660 661ac_tool_prefix= 662test -n "$host_alias" && ac_tool_prefix=$host_alias- 663 664test "$silent" = yes && exec 6>/dev/null 665 666 667# Find the source files, if location was not specified. 668if 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 || 677echo 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 687else 688 ac_srcdir_defaulted=no 689fi 690if 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 698fi 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; }; } 702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 703ac_env_build_alias_set=${build_alias+set} 704ac_env_build_alias_value=$build_alias 705ac_cv_env_build_alias_set=${build_alias+set} 706ac_cv_env_build_alias_value=$build_alias 707ac_env_host_alias_set=${host_alias+set} 708ac_env_host_alias_value=$host_alias 709ac_cv_env_host_alias_set=${host_alias+set} 710ac_cv_env_host_alias_value=$host_alias 711ac_env_target_alias_set=${target_alias+set} 712ac_env_target_alias_value=$target_alias 713ac_cv_env_target_alias_set=${target_alias+set} 714ac_cv_env_target_alias_value=$target_alias 715ac_env_CXX_set=${CXX+set} 716ac_env_CXX_value=$CXX 717ac_cv_env_CXX_set=${CXX+set} 718ac_cv_env_CXX_value=$CXX 719ac_env_CXXFLAGS_set=${CXXFLAGS+set} 720ac_env_CXXFLAGS_value=$CXXFLAGS 721ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 722ac_cv_env_CXXFLAGS_value=$CXXFLAGS 723ac_env_LDFLAGS_set=${LDFLAGS+set} 724ac_env_LDFLAGS_value=$LDFLAGS 725ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 726ac_cv_env_LDFLAGS_value=$LDFLAGS 727ac_env_CPPFLAGS_set=${CPPFLAGS+set} 728ac_env_CPPFLAGS_value=$CPPFLAGS 729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 730ac_cv_env_CPPFLAGS_value=$CPPFLAGS 731ac_env_CC_set=${CC+set} 732ac_env_CC_value=$CC 733ac_cv_env_CC_set=${CC+set} 734ac_cv_env_CC_value=$CC 735ac_env_CFLAGS_set=${CFLAGS+set} 736ac_env_CFLAGS_value=$CFLAGS 737ac_cv_env_CFLAGS_set=${CFLAGS+set} 738ac_cv_env_CFLAGS_value=$CFLAGS 739 740# 741# Report the --help message. 742# 743if 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 openbubbles 1.0 to adapt to many kinds of systems. 748 749Usage: $0 [OPTION]... [VAR=VALUE]... 750 751To assign environment variables (e.g., CC, CFLAGS...), specify them as 752VAR=VALUE. See below for descriptions of some of the useful variables. 753 754Defaults for the options are specified in brackets. 755 756Configuration: 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 770Installation 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 776By default, \`make install' will install all the files in 777\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 778an installation prefix other than \`$ac_default_prefix' using \`--prefix', 779for instance \`--prefix=\$HOME'. 780 781For better control, use the options below. 782 783Fine 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 800Program names: 801 --program-prefix=PREFIX prepend PREFIX to installed program names 802 --program-suffix=SUFFIX append SUFFIX to installed program names 803 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 804_ACEOF 805fi 806 807if test -n "$ac_init_help"; then 808 case $ac_init_help in 809 short | recursive ) echo "Configuration of openbubbles 1.0:";; 810 esac 811 cat <<\_ACEOF 812 813Optional Features: 814 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 815 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 816 --disable-dependency-tracking speeds up one-time build 817 --enable-dependency-tracking do not reject slow dependency extractors 818 819Some influential environment variables: 820 CXX C++ compiler command 821 CXXFLAGS C++ compiler flags 822 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 823 nonstandard directory <lib dir> 824 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 825 headers in a nonstandard directory <include dir> 826 CC C compiler command 827 CFLAGS C compiler flags 828 829Use these variables to override the choices made by `configure' or to help 830it to find libraries and programs with nonstandard names/locations. 831 832_ACEOF 833fi 834 835if test "$ac_init_help" = "recursive"; then 836 # If there are subdirs, report their specific --help. 837 ac_popdir=`pwd` 838 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 839 test -d $ac_dir || continue 840 ac_builddir=. 841 842if test "$ac_dir" != .; then 843 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 844 # A "../" for each directory in $ac_dir_suffix. 845 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 846else 847 ac_dir_suffix= ac_top_builddir= 848fi 849 850case $srcdir in 851 .) # No --srcdir option. We are building in place. 852 ac_srcdir=. 853 if test -z "$ac_top_builddir"; then 854 ac_top_srcdir=. 855 else 856 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 857 fi ;; 858 [\\/]* | ?:[\\/]* ) # Absolute path. 859 ac_srcdir=$srcdir$ac_dir_suffix; 860 ac_top_srcdir=$srcdir ;; 861 *) # Relative path. 862 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 863 ac_top_srcdir=$ac_top_builddir$srcdir ;; 864esac 865 866# Do not use `cd foo && pwd` to compute absolute paths, because 867# the directories may not exist. 868case `pwd` in 869.) ac_abs_builddir="$ac_dir";; 870*) 871 case "$ac_dir" in 872 .) ac_abs_builddir=`pwd`;; 873 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 874 *) ac_abs_builddir=`pwd`/"$ac_dir";; 875 esac;; 876esac 877case $ac_abs_builddir in 878.) ac_abs_top_builddir=${ac_top_builddir}.;; 879*) 880 case ${ac_top_builddir}. in 881 .) ac_abs_top_builddir=$ac_abs_builddir;; 882 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 883 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 884 esac;; 885esac 886case $ac_abs_builddir in 887.) ac_abs_srcdir=$ac_srcdir;; 888*) 889 case $ac_srcdir in 890 .) ac_abs_srcdir=$ac_abs_builddir;; 891 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 892 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 893 esac;; 894esac 895case $ac_abs_builddir in 896.) ac_abs_top_srcdir=$ac_top_srcdir;; 897*) 898 case $ac_top_srcdir in 899 .) ac_abs_top_srcdir=$ac_abs_builddir;; 900 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 901 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 902 esac;; 903esac 904 905 cd $ac_dir 906 # Check for guested configure; otherwise get Cygnus style configure. 907 if test -f $ac_srcdir/configure.gnu; then 908 echo 909 $SHELL $ac_srcdir/configure.gnu --help=recursive 910 elif test -f $ac_srcdir/configure; then 911 echo 912 $SHELL $ac_srcdir/configure --help=recursive 913 elif test -f $ac_srcdir/configure.ac || 914 test -f $ac_srcdir/configure.in; then 915 echo 916 $ac_configure --help 917 else 918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 919 fi 920 cd $ac_popdir 921 done 922fi 923 924test -n "$ac_init_help" && exit 0 925if $ac_init_version; then 926 cat <<\_ACEOF 927openbubbles configure 1.0 928generated by GNU Autoconf 2.59 929 930Copyright (C) 2003 Free Software Foundation, Inc. 931This configure script is free software; the Free Software Foundation 932gives unlimited permission to copy, distribute and modify it. 933_ACEOF 934 exit 0 935fi 936exec 5>config.log 937cat >&5 <<_ACEOF 938This file contains any messages produced by compilers while 939running configure, to aid debugging if configure makes a mistake. 940 941It was created by openbubbles $as_me 1.0, which was 942generated by GNU Autoconf 2.59. Invocation command line was 943 944 $ $0 $@ 945 946_ACEOF 947{ 948cat <<_ASUNAME 949@%:@@%:@ --------- @%:@@%:@ 950@%:@@%:@ Platform. @%:@@%:@ 951@%:@@%:@ --------- @%:@@%:@ 952 953hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 954uname -m = `(uname -m) 2>/dev/null || echo unknown` 955uname -r = `(uname -r) 2>/dev/null || echo unknown` 956uname -s = `(uname -s) 2>/dev/null || echo unknown` 957uname -v = `(uname -v) 2>/dev/null || echo unknown` 958 959/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 960/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 961 962/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 963/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 964/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 965hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 966/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 967/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 968/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 969 970_ASUNAME 971 972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 973for as_dir in $PATH 974do 975 IFS=$as_save_IFS 976 test -z "$as_dir" && as_dir=. 977 echo "PATH: $as_dir" 978done 979 980} >&5 981 982cat >&5 <<_ACEOF 983 984 985@%:@@%:@ ----------- @%:@@%:@ 986@%:@@%:@ Core tests. @%:@@%:@ 987@%:@@%:@ ----------- @%:@@%:@ 988 989_ACEOF 990 991 992# Keep a trace of the command line. 993# Strip out --no-create and --no-recursion so they do not pile up. 994# Strip out --silent because we don't want to record it for future runs. 995# Also quote any args containing shell meta-characters. 996# Make two passes to allow for proper duplicate-argument suppression. 997ac_configure_args= 998ac_configure_args0= 999ac_configure_args1= 1000ac_sep= 1001ac_must_keep_next=false 1002for ac_pass in 1 2 1003do 1004 for ac_arg 1005 do 1006 case $ac_arg in 1007 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1009 | -silent | --silent | --silen | --sile | --sil) 1010 continue ;; 1011 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1012 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1013 esac 1014 case $ac_pass in 1015 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1016 2) 1017 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1018 if test $ac_must_keep_next = true; then 1019 ac_must_keep_next=false # Got value, back to normal. 1020 else 1021 case $ac_arg in 1022 *=* | --config-cache | -C | -disable-* | --disable-* \ 1023 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1024 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1025 | -with-* | --with-* | -without-* | --without-* | --x) 1026 case "$ac_configure_args0 " in 1027 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1028 esac 1029 ;; 1030 -* ) ac_must_keep_next=true ;; 1031 esac 1032 fi 1033 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1034 # Get rid of the leading space. 1035 ac_sep=" " 1036 ;; 1037 esac 1038 done 1039done 1040$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1041$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1042 1043# When interrupted or exit'd, cleanup temporary files, and complete 1044# config.log. We remove comments because anyway the quotes in there 1045# would cause problems or look ugly. 1046# WARNING: Be sure not to use single quotes in there, as some shells, 1047# such as our DU 5.0 friend, will then `close' the trap. 1048trap 'exit_status=$? 1049 # Save into config.log some information that might help in debugging. 1050 { 1051 echo 1052 1053 cat <<\_ASBOX 1054@%:@@%:@ ---------------- @%:@@%:@ 1055@%:@@%:@ Cache variables. @%:@@%:@ 1056@%:@@%:@ ---------------- @%:@@%:@ 1057_ASBOX 1058 echo 1059 # The following way of writing the cache mishandles newlines in values, 1060{ 1061 (set) 2>&1 | 1062 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1063 *ac_space=\ *) 1064 sed -n \ 1065 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1067 ;; 1068 *) 1069 sed -n \ 1070 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1071 ;; 1072 esac; 1073} 1074 echo 1075 1076 cat <<\_ASBOX 1077@%:@@%:@ ----------------- @%:@@%:@ 1078@%:@@%:@ Output variables. @%:@@%:@ 1079@%:@@%:@ ----------------- @%:@@%:@ 1080_ASBOX 1081 echo 1082 for ac_var in $ac_subst_vars 1083 do 1084 eval ac_val=$`echo $ac_var` 1085 echo "$ac_var='"'"'$ac_val'"'"'" 1086 done | sort 1087 echo 1088 1089 if test -n "$ac_subst_files"; then 1090 cat <<\_ASBOX 1091@%:@@%:@ ------------- @%:@@%:@ 1092@%:@@%:@ Output files. @%:@@%:@ 1093@%:@@%:@ ------------- @%:@@%:@ 1094_ASBOX 1095 echo 1096 for ac_var in $ac_subst_files 1097 do 1098 eval ac_val=$`echo $ac_var` 1099 echo "$ac_var='"'"'$ac_val'"'"'" 1100 done | sort 1101 echo 1102 fi 1103 1104 if test -s confdefs.h; then 1105 cat <<\_ASBOX 1106@%:@@%:@ ----------- @%:@@%:@ 1107@%:@@%:@ confdefs.h. @%:@@%:@ 1108@%:@@%:@ ----------- @%:@@%:@ 1109_ASBOX 1110 echo 1111 sed "/^$/d" confdefs.h | sort 1112 echo 1113 fi 1114 test "$ac_signal" != 0 && 1115 echo "$as_me: caught signal $ac_signal" 1116 echo "$as_me: exit $exit_status" 1117 } >&5 1118 rm -f core *.core && 1119 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1120 exit $exit_status 1121 ' 0 1122for ac_signal in 1 2 13 15; do 1123 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1124done 1125ac_signal=0 1126 1127# confdefs.h avoids OS command line length limits that DEFS can exceed. 1128rm -rf conftest* confdefs.h 1129# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1130echo >confdefs.h 1131 1132# Predefined preprocessor variables. 1133 1134cat >>confdefs.h <<_ACEOF 1135@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1136_ACEOF 1137 1138 1139cat >>confdefs.h <<_ACEOF 1140@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1141_ACEOF 1142 1143 1144cat >>confdefs.h <<_ACEOF 1145@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1146_ACEOF 1147 1148 1149cat >>confdefs.h <<_ACEOF 1150@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1151_ACEOF 1152 1153 1154cat >>confdefs.h <<_ACEOF 1155@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1156_ACEOF 1157 1158 1159# Let the site file select an alternate cache file if it wants to. 1160# Prefer explicitly selected file to automatically selected ones. 1161if test -z "$CONFIG_SITE"; then 1162 if test "x$prefix" != xNONE; then 1163 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1164 else 1165 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1166 fi 1167fi 1168for ac_site_file in $CONFIG_SITE; do 1169 if test -r "$ac_site_file"; then 1170 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1171echo "$as_me: loading site script $ac_site_file" >&6;} 1172 sed 's/^/| /' "$ac_site_file" >&5 1173 . "$ac_site_file" 1174 fi 1175done 1176 1177if test -r "$cache_file"; then 1178 # Some versions of bash will fail to source /dev/null (special 1179 # files actually), so we avoid doing that. 1180 if test -f "$cache_file"; then 1181 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1182echo "$as_me: loading cache $cache_file" >&6;} 1183 case $cache_file in 1184 [\\/]* | ?:[\\/]* ) . $cache_file;; 1185 *) . ./$cache_file;; 1186 esac 1187 fi 1188else 1189 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1190echo "$as_me: creating cache $cache_file" >&6;} 1191 >$cache_file 1192fi 1193 1194# Check that the precious variables saved in the cache have kept the same 1195# value. 1196ac_cache_corrupted=false 1197for ac_var in `(set) 2>&1 | 1198 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1199 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1200 eval ac_new_set=\$ac_env_${ac_var}_set 1201 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1202 eval ac_new_val="\$ac_env_${ac_var}_value" 1203 case $ac_old_set,$ac_new_set in 1204 set,) 1205 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1206echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1207 ac_cache_corrupted=: ;; 1208 ,set) 1209 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1210echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1211 ac_cache_corrupted=: ;; 1212 ,);; 1213 *) 1214 if test "x$ac_old_val" != "x$ac_new_val"; then 1215 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1216echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1217 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1218echo "$as_me: former value: $ac_old_val" >&2;} 1219 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1220echo "$as_me: current value: $ac_new_val" >&2;} 1221 ac_cache_corrupted=: 1222 fi;; 1223 esac 1224 # Pass precious variables to config.status. 1225 if test "$ac_new_set" = set; then 1226 case $ac_new_val in 1227 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1228 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1229 *) ac_arg=$ac_var=$ac_new_val ;; 1230 esac 1231 case " $ac_configure_args " in 1232 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1233 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1234 esac 1235 fi 1236done 1237if $ac_cache_corrupted; then 1238 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1239echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1240 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1241echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1242 { (exit 1); exit 1; }; } 1243fi 1244 1245ac_ext=c 1246ac_cpp='$CPP $CPPFLAGS' 1247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1249ac_compiler_gnu=$ac_cv_c_compiler_gnu 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277ac_ext=cc 1278ac_cpp='$CXXCPP $CPPFLAGS' 1279ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1280ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1281ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1282if test -n "$ac_tool_prefix"; then 1283 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1284 do 1285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1286set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1287echo "$as_me:$LINENO: checking for $ac_word" >&5 1288echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1289if test "${ac_cv_prog_CXX+set}" = set; then 1290 echo $ECHO_N "(cached) $ECHO_C" >&6 1291else 1292 if test -n "$CXX"; then 1293 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1294else 1295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1296for as_dir in $PATH 1297do 1298 IFS=$as_save_IFS 1299 test -z "$as_dir" && as_dir=. 1300 for ac_exec_ext in '' $ac_executable_extensions; do 1301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1302 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1304 break 2 1305 fi 1306done 1307done 1308 1309fi 1310fi 1311CXX=$ac_cv_prog_CXX 1312if test -n "$CXX"; then 1313 echo "$as_me:$LINENO: result: $CXX" >&5 1314echo "${ECHO_T}$CXX" >&6 1315else 1316 echo "$as_me:$LINENO: result: no" >&5 1317echo "${ECHO_T}no" >&6 1318fi 1319 1320 test -n "$CXX" && break 1321 done 1322fi 1323if test -z "$CXX"; then 1324 ac_ct_CXX=$CXX 1325 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1326do 1327 # Extract the first word of "$ac_prog", so it can be a program name with args. 1328set dummy $ac_prog; ac_word=$2 1329echo "$as_me:$LINENO: checking for $ac_word" >&5 1330echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1331if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1332 echo $ECHO_N "(cached) $ECHO_C" >&6 1333else 1334 if test -n "$ac_ct_CXX"; then 1335 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1336else 1337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1338for as_dir in $PATH 1339do 1340 IFS=$as_save_IFS 1341 test -z "$as_dir" && as_dir=. 1342 for ac_exec_ext in '' $ac_executable_extensions; do 1343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1344 ac_cv_prog_ac_ct_CXX="$ac_prog" 1345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1346 break 2 1347 fi 1348done 1349done 1350 1351fi 1352fi 1353ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1354if test -n "$ac_ct_CXX"; then 1355 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1356echo "${ECHO_T}$ac_ct_CXX" >&6 1357else 1358 echo "$as_me:$LINENO: result: no" >&5 1359echo "${ECHO_T}no" >&6 1360fi 1361 1362 test -n "$ac_ct_CXX" && break 1363done 1364test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1365 1366 CXX=$ac_ct_CXX 1367fi 1368 1369 1370# Provide some information about the compiler. 1371echo "$as_me:$LINENO:" \ 1372 "checking for C++ compiler version" >&5 1373ac_compiler=`set X $ac_compile; echo $2` 1374{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1375 (eval $ac_compiler --version </dev/null >&5) 2>&5 1376 ac_status=$? 1377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1378 (exit $ac_status); } 1379{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1380 (eval $ac_compiler -v </dev/null >&5) 2>&5 1381 ac_status=$? 1382 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1383 (exit $ac_status); } 1384{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1385 (eval $ac_compiler -V </dev/null >&5) 2>&5 1386 ac_status=$? 1387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1388 (exit $ac_status); } 1389 1390cat >conftest.$ac_ext <<_ACEOF 1391/* confdefs.h. */ 1392_ACEOF 1393cat confdefs.h >>conftest.$ac_ext 1394cat >>conftest.$ac_ext <<_ACEOF 1395/* end confdefs.h. */ 1396 1397int 1398main () 1399{ 1400 1401 ; 1402 return 0; 1403} 1404_ACEOF 1405ac_clean_files_save=$ac_clean_files 1406ac_clean_files="$ac_clean_files a.out a.exe b.out" 1407# Try to create an executable without -o first, disregard a.out. 1408# It will help us diagnose broken compilers, and finding out an intuition 1409# of exeext. 1410echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1411echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1412ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1413if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1414 (eval $ac_link_default) 2>&5 1415 ac_status=$? 1416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1417 (exit $ac_status); }; then 1418 # Find the output, starting from the most likely. This scheme is 1419# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1420# resort. 1421 1422# Be careful to initialize this variable, since it used to be cached. 1423# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1424ac_cv_exeext= 1425# b.out is created by i960 compilers. 1426for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1427do 1428 test -f "$ac_file" || continue 1429 case $ac_file in 1430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1431 ;; 1432 conftest.$ac_ext ) 1433 # This is the source file. 1434 ;; 1435 [ab].out ) 1436 # We found the default executable, but exeext='' is most 1437 # certainly right. 1438 break;; 1439 *.* ) 1440 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1441 # FIXME: I believe we export ac_cv_exeext for Libtool, 1442 # but it would be cool to find out if it's true. Does anybody 1443 # maintain Libtool? --akim. 1444 export ac_cv_exeext 1445 break;; 1446 * ) 1447 break;; 1448 esac 1449done 1450else 1451 echo "$as_me: failed program was:" >&5 1452sed 's/^/| /' conftest.$ac_ext >&5 1453 1454{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 1455See \`config.log' for more details." >&5 1456echo "$as_me: error: C++ compiler cannot create executables 1457See \`config.log' for more details." >&2;} 1458 { (exit 77); exit 77; }; } 1459fi 1460 1461ac_exeext=$ac_cv_exeext 1462echo "$as_me:$LINENO: result: $ac_file" >&5 1463echo "${ECHO_T}$ac_file" >&6 1464 1465# Check the compiler produces executables we can run. If not, either 1466# the compiler is broken, or we cross compile. 1467echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1468echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1469# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1470# If not cross compiling, check that we can run a simple program. 1471if test "$cross_compiling" != yes; then 1472 if { ac_try='./$ac_file' 1473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1474 (eval $ac_try) 2>&5 1475 ac_status=$? 1476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1477 (exit $ac_status); }; }; then 1478 cross_compiling=no 1479 else 1480 if test "$cross_compiling" = maybe; then 1481 cross_compiling=yes 1482 else 1483 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 1484If you meant to cross compile, use \`--host'. 1485See \`config.log' for more details." >&5 1486echo "$as_me: error: cannot run C++ compiled programs. 1487If you meant to cross compile, use \`--host'. 1488See \`config.log' for more details." >&2;} 1489 { (exit 1); exit 1; }; } 1490 fi 1491 fi 1492fi 1493echo "$as_me:$LINENO: result: yes" >&5 1494echo "${ECHO_T}yes" >&6 1495 1496rm -f a.out a.exe conftest$ac_cv_exeext b.out 1497ac_clean_files=$ac_clean_files_save 1498# Check the compiler produces executables we can run. If not, either 1499# the compiler is broken, or we cross compile. 1500echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1501echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1502echo "$as_me:$LINENO: result: $cross_compiling" >&5 1503echo "${ECHO_T}$cross_compiling" >&6 1504 1505echo "$as_me:$LINENO: checking for suffix of executables" >&5 1506echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1507if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1508 (eval $ac_link) 2>&5 1509 ac_status=$? 1510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1511 (exit $ac_status); }; then 1512 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1513# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1514# work properly (i.e., refer to `conftest.exe'), while it won't with 1515# `rm'. 1516for ac_file in conftest.exe conftest conftest.*; do 1517 test -f "$ac_file" || continue 1518 case $ac_file in 1519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1520 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1521 export ac_cv_exeext 1522 break;; 1523 * ) break;; 1524 esac 1525done 1526else 1527 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1528See \`config.log' for more details." >&5 1529echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1530See \`config.log' for more details." >&2;} 1531 { (exit 1); exit 1; }; } 1532fi 1533 1534rm -f conftest$ac_cv_exeext 1535echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1536echo "${ECHO_T}$ac_cv_exeext" >&6 1537 1538rm -f conftest.$ac_ext 1539EXEEXT=$ac_cv_exeext 1540ac_exeext=$EXEEXT 1541echo "$as_me:$LINENO: checking for suffix of object files" >&5 1542echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1543if test "${ac_cv_objext+set}" = set; then 1544 echo $ECHO_N "(cached) $ECHO_C" >&6 1545else 1546 cat >conftest.$ac_ext <<_ACEOF 1547/* confdefs.h. */ 1548_ACEOF 1549cat confdefs.h >>conftest.$ac_ext 1550cat >>conftest.$ac_ext <<_ACEOF 1551/* end confdefs.h. */ 1552 1553int 1554main () 1555{ 1556 1557 ; 1558 return 0; 1559} 1560_ACEOF 1561rm -f conftest.o conftest.obj 1562if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1563 (eval $ac_compile) 2>&5 1564 ac_status=$? 1565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1566 (exit $ac_status); }; then 1567 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1568 case $ac_file in 1569 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1570 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1571 break;; 1572 esac 1573done 1574else 1575 echo "$as_me: failed program was:" >&5 1576sed 's/^/| /' conftest.$ac_ext >&5 1577 1578{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1579See \`config.log' for more details." >&5 1580echo "$as_me: error: cannot compute suffix of object files: cannot compile 1581See \`config.log' for more details." >&2;} 1582 { (exit 1); exit 1; }; } 1583fi 1584 1585rm -f conftest.$ac_cv_objext conftest.$ac_ext 1586fi 1587echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1588echo "${ECHO_T}$ac_cv_objext" >&6 1589OBJEXT=$ac_cv_objext 1590ac_objext=$OBJEXT 1591echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1592echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1593if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1594 echo $ECHO_N "(cached) $ECHO_C" >&6 1595else 1596 cat >conftest.$ac_ext <<_ACEOF 1597/* confdefs.h. */ 1598_ACEOF 1599cat confdefs.h >>conftest.$ac_ext 1600cat >>conftest.$ac_ext <<_ACEOF 1601/* end confdefs.h. */ 1602 1603int 1604main () 1605{ 1606#ifndef __GNUC__ 1607 choke me 1608#endif 1609 1610 ; 1611 return 0; 1612} 1613_ACEOF 1614rm -f conftest.$ac_objext 1615if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1616 (eval $ac_compile) 2>conftest.er1 1617 ac_status=$? 1618 grep -v '^ *+' conftest.er1 >conftest.err 1619 rm -f conftest.er1 1620 cat conftest.err >&5 1621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1622 (exit $ac_status); } && 1623 { ac_try='test -z "$ac_cxx_werror_flag" 1624 || test ! -s conftest.err' 1625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1626 (eval $ac_try) 2>&5 1627 ac_status=$? 1628 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1629 (exit $ac_status); }; } && 1630 { ac_try='test -s conftest.$ac_objext' 1631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1632 (eval $ac_try) 2>&5 1633 ac_status=$? 1634 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1635 (exit $ac_status); }; }; then 1636 ac_compiler_gnu=yes 1637else 1638 echo "$as_me: failed program was:" >&5 1639sed 's/^/| /' conftest.$ac_ext >&5 1640 1641ac_compiler_gnu=no 1642fi 1643rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1644ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1645 1646fi 1647echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1648echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1649GXX=`test $ac_compiler_gnu = yes && echo yes` 1650ac_test_CXXFLAGS=${CXXFLAGS+set} 1651ac_save_CXXFLAGS=$CXXFLAGS 1652CXXFLAGS="-g" 1653echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1654echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1655if test "${ac_cv_prog_cxx_g+set}" = set; then 1656 echo $ECHO_N "(cached) $ECHO_C" >&6 1657else 1658 cat >conftest.$ac_ext <<_ACEOF 1659/* confdefs.h. */ 1660_ACEOF 1661cat confdefs.h >>conftest.$ac_ext 1662cat >>conftest.$ac_ext <<_ACEOF 1663/* end confdefs.h. */ 1664 1665int 1666main () 1667{ 1668 1669 ; 1670 return 0; 1671} 1672_ACEOF 1673rm -f conftest.$ac_objext 1674if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1675 (eval $ac_compile) 2>conftest.er1 1676 ac_status=$? 1677 grep -v '^ *+' conftest.er1 >conftest.err 1678 rm -f conftest.er1 1679 cat conftest.err >&5 1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1681 (exit $ac_status); } && 1682 { ac_try='test -z "$ac_cxx_werror_flag" 1683 || test ! -s conftest.err' 1684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1685 (eval $ac_try) 2>&5 1686 ac_status=$? 1687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1688 (exit $ac_status); }; } && 1689 { ac_try='test -s conftest.$ac_objext' 1690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1691 (eval $ac_try) 2>&5 1692 ac_status=$? 1693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1694 (exit $ac_status); }; }; then 1695 ac_cv_prog_cxx_g=yes 1696else 1697 echo "$as_me: failed program was:" >&5 1698sed 's/^/| /' conftest.$ac_ext >&5 1699 1700ac_cv_prog_cxx_g=no 1701fi 1702rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1703fi 1704echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1705echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1706if test "$ac_test_CXXFLAGS" = set; then 1707 CXXFLAGS=$ac_save_CXXFLAGS 1708elif test $ac_cv_prog_cxx_g = yes; then 1709 if test "$GXX" = yes; then 1710 CXXFLAGS="-g -O2" 1711 else 1712 CXXFLAGS="-g" 1713 fi 1714else 1715 if test "$GXX" = yes; then 1716 CXXFLAGS="-O2" 1717 else 1718 CXXFLAGS= 1719 fi 1720fi 1721for ac_declaration in \ 1722 '' \ 1723 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1724 'extern "C" void std::exit (int); using std::exit;' \ 1725 'extern "C" void exit (int) throw ();' \ 1726 'extern "C" void exit (int);' \ 1727 'void exit (int);' 1728do 1729 cat >conftest.$ac_ext <<_ACEOF 1730/* confdefs.h. */ 1731_ACEOF 1732cat confdefs.h >>conftest.$ac_ext 1733cat >>conftest.$ac_ext <<_ACEOF 1734/* end confdefs.h. */ 1735$ac_declaration 1736@%:@include <stdlib.h> 1737int 1738main () 1739{ 1740exit (42); 1741 ; 1742 return 0; 1743} 1744_ACEOF 1745rm -f conftest.$ac_objext 1746if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1747 (eval $ac_compile) 2>conftest.er1 1748 ac_status=$? 1749 grep -v '^ *+' conftest.er1 >conftest.err 1750 rm -f conftest.er1 1751 cat conftest.err >&5 1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1753 (exit $ac_status); } && 1754 { ac_try='test -z "$ac_cxx_werror_flag" 1755 || test ! -s conftest.err' 1756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1757 (eval $ac_try) 2>&5 1758 ac_status=$? 1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1760 (exit $ac_status); }; } && 1761 { ac_try='test -s conftest.$ac_objext' 1762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1763 (eval $ac_try) 2>&5 1764 ac_status=$? 1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1766 (exit $ac_status); }; }; then 1767 : 1768else 1769 echo "$as_me: failed program was:" >&5 1770sed 's/^/| /' conftest.$ac_ext >&5 1771 1772continue 1773fi 1774rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1775 cat >conftest.$ac_ext <<_ACEOF 1776/* confdefs.h. */ 1777_ACEOF 1778cat confdefs.h >>conftest.$ac_ext 1779cat >>conftest.$ac_ext <<_ACEOF 1780/* end confdefs.h. */ 1781$ac_declaration 1782int 1783main () 1784{ 1785exit (42); 1786 ; 1787 return 0; 1788} 1789_ACEOF 1790rm -f conftest.$ac_objext 1791if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1792 (eval $ac_compile) 2>conftest.er1 1793 ac_status=$? 1794 grep -v '^ *+' conftest.er1 >conftest.err 1795 rm -f conftest.er1 1796 cat conftest.err >&5 1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1798 (exit $ac_status); } && 1799 { ac_try='test -z "$ac_cxx_werror_flag" 1800 || test ! -s conftest.err' 1801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1802 (eval $ac_try) 2>&5 1803 ac_status=$? 1804 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1805 (exit $ac_status); }; } && 1806 { ac_try='test -s conftest.$ac_objext' 1807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1808 (eval $ac_try) 2>&5 1809 ac_status=$? 1810 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1811 (exit $ac_status); }; }; then 1812 break 1813else 1814 echo "$as_me: failed program was:" >&5 1815sed 's/^/| /' conftest.$ac_ext >&5 1816 1817fi 1818rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1819done 1820rm -f conftest* 1821if test -n "$ac_declaration"; then 1822 echo '#ifdef __cplusplus' >>confdefs.h 1823 echo $ac_declaration >>confdefs.h 1824 echo '#endif' >>confdefs.h 1825fi 1826 1827ac_ext=c 1828ac_cpp='$CPP $CPPFLAGS' 1829ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1830ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1831ac_compiler_gnu=$ac_cv_c_compiler_gnu 1832 1833 ac_config_headers="$ac_config_headers config.h" 1834 1835#AM_PATH_SDL(1.1.0, CFLAGS="$CFLAGS $SDL_CFLAGS"; CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"; LIBS="$LIBS $SDL_LIBS",AC_MSG_ERROR(SDL is not installed)) 1836ac_ext=c 1837ac_cpp='$CPP $CPPFLAGS' 1838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1840ac_compiler_gnu=$ac_cv_c_compiler_gnu 1841if test -n "$ac_tool_prefix"; then 1842 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1843set dummy ${ac_tool_prefix}gcc; ac_word=$2 1844echo "$as_me:$LINENO: checking for $ac_word" >&5 1845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1846if test "${ac_cv_prog_CC+set}" = set; then 1847 echo $ECHO_N "(cached) $ECHO_C" >&6 1848else 1849 if test -n "$CC"; then 1850 ac_cv_prog_CC="$CC" # Let the user override the test. 1851else 1852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1853for as_dir in $PATH 1854do 1855 IFS=$as_save_IFS 1856 test -z "$as_dir" && as_dir=. 1857 for ac_exec_ext in '' $ac_executable_extensions; do 1858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1859 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1861 break 2 1862 fi 1863done 1864done 1865 1866fi 1867fi 1868CC=$ac_cv_prog_CC 1869if test -n "$CC"; then 1870 echo "$as_me:$LINENO: result: $CC" >&5 1871echo "${ECHO_T}$CC" >&6 1872else 1873 echo "$as_me:$LINENO: result: no" >&5 1874echo "${ECHO_T}no" >&6 1875fi 1876 1877fi 1878if test -z "$ac_cv_prog_CC"; then 1879 ac_ct_CC=$CC 1880 # Extract the first word of "gcc", so it can be a program name with args. 1881set dummy gcc; ac_word=$2 1882echo "$as_me:$LINENO: checking for $ac_word" >&5 1883echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1884if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1885 echo $ECHO_N "(cached) $ECHO_C" >&6 1886else 1887 if test -n "$ac_ct_CC"; then 1888 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1889else 1890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1891for as_dir in $PATH 1892do 1893 IFS=$as_save_IFS 1894 test -z "$as_dir" && as_dir=. 1895 for ac_exec_ext in '' $ac_executable_extensions; do 1896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1897 ac_cv_prog_ac_ct_CC="gcc" 1898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1899 break 2 1900 fi 1901done 1902done 1903 1904fi 1905fi 1906ac_ct_CC=$ac_cv_prog_ac_ct_CC 1907if test -n "$ac_ct_CC"; then 1908 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1909echo "${ECHO_T}$ac_ct_CC" >&6 1910else 1911 echo "$as_me:$LINENO: result: no" >&5 1912echo "${ECHO_T}no" >&6 1913fi 1914 1915 CC=$ac_ct_CC 1916else 1917 CC="$ac_cv_prog_CC" 1918fi 1919 1920if test -z "$CC"; then 1921 if test -n "$ac_tool_prefix"; then 1922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1923set dummy ${ac_tool_prefix}cc; ac_word=$2 1924echo "$as_me:$LINENO: checking for $ac_word" >&5 1925echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1926if test "${ac_cv_prog_CC+set}" = set; then 1927 echo $ECHO_N "(cached) $ECHO_C" >&6 1928else 1929 if test -n "$CC"; then 1930 ac_cv_prog_CC="$CC" # Let the user override the test. 1931else 1932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1933for as_dir in $PATH 1934do 1935 IFS=$as_save_IFS 1936 test -z "$as_dir" && as_dir=. 1937 for ac_exec_ext in '' $ac_executable_extensions; do 1938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1939 ac_cv_prog_CC="${ac_tool_prefix}cc" 1940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1941 break 2 1942 fi 1943done 1944done 1945 1946fi 1947fi 1948CC=$ac_cv_prog_CC 1949if test -n "$CC"; then 1950 echo "$as_me:$LINENO: result: $CC" >&5 1951echo "${ECHO_T}$CC" >&6 1952else 1953 echo "$as_me:$LINENO: result: no" >&5 1954echo "${ECHO_T}no" >&6 1955fi 1956 1957fi 1958if test -z "$ac_cv_prog_CC"; then 1959 ac_ct_CC=$CC 1960 # Extract the first word of "cc", so it can be a program name with args. 1961set dummy cc; ac_word=$2 1962echo "$as_me:$LINENO: checking for $ac_word" >&5 1963echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1964if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1965 echo $ECHO_N "(cached) $ECHO_C" >&6 1966else 1967 if test -n "$ac_ct_CC"; then 1968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1969else 1970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1971for as_dir in $PATH 1972do 1973 IFS=$as_save_IFS 1974 test -z "$as_dir" && as_dir=. 1975 for ac_exec_ext in '' $ac_executable_extensions; do 1976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1977 ac_cv_prog_ac_ct_CC="cc" 1978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1979 break 2 1980 fi 1981done 1982done 1983 1984fi 1985fi 1986ac_ct_CC=$ac_cv_prog_ac_ct_CC 1987if test -n "$ac_ct_CC"; then 1988 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1989echo "${ECHO_T}$ac_ct_CC" >&6 1990else 1991 echo "$as_me:$LINENO: result: no" >&5 1992echo "${ECHO_T}no" >&6 1993fi 1994 1995 CC=$ac_ct_CC 1996else 1997 CC="$ac_cv_prog_CC" 1998fi 1999 2000fi 2001if test -z "$CC"; then 2002 # Extract the first word of "cc", so it can be a program name with args. 2003set dummy cc; ac_word=$2 2004echo "$as_me:$LINENO: checking for $ac_word" >&5 2005echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2006if test "${ac_cv_prog_CC+set}" = set; then 2007 echo $ECHO_N "(cached) $ECHO_C" >&6 2008else 2009 if test -n "$CC"; then 2010 ac_cv_prog_CC="$CC" # Let the user override the test. 2011else 2012 ac_prog_rejected=no 2013as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2014for as_dir in $PATH 2015do 2016 IFS=$as_save_IFS 2017 test -z "$as_dir" && as_dir=. 2018 for ac_exec_ext in '' $ac_executable_extensions; do 2019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2020 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2021 ac_prog_rejected=yes 2022 continue 2023 fi 2024 ac_cv_prog_CC="cc" 2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2026 break 2 2027 fi 2028done 2029done 2030 2031if test $ac_prog_rejected = yes; then 2032 # We found a bogon in the path, so make sure we never use it. 2033 set dummy $ac_cv_prog_CC 2034 shift 2035 if test $@%:@ != 0; then 2036 # We chose a different compiler from the bogus one. 2037 # However, it has the same basename, so the bogon will be chosen 2038 # first if we set CC to just the basename; use the full file name. 2039 shift 2040 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2041 fi 2042fi 2043fi 2044fi 2045CC=$ac_cv_prog_CC 2046if test -n "$CC"; then 2047 echo "$as_me:$LINENO: result: $CC" >&5 2048echo "${ECHO_T}$CC" >&6 2049else 2050 echo "$as_me:$LINENO: result: no" >&5 2051echo "${ECHO_T}no" >&6 2052fi 2053 2054fi 2055if test -z "$CC"; then 2056 if test -n "$ac_tool_prefix"; then 2057 for ac_prog in cl 2058 do 2059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2060set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2061echo "$as_me:$LINENO: checking for $ac_word" >&5 2062echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2063if test "${ac_cv_prog_CC+set}" = set; then 2064 echo $ECHO_N "(cached) $ECHO_C" >&6 2065else 2066 if test -n "$CC"; then 2067 ac_cv_prog_CC="$CC" # Let the user override the test. 2068else 2069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2070for as_dir in $PATH 2071do 2072 IFS=$as_save_IFS 2073 test -z "$as_dir" && as_dir=. 2074 for ac_exec_ext in '' $ac_executable_extensions; do 2075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2076 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2078 break 2 2079 fi 2080done 2081done 2082 2083fi 2084fi 2085CC=$ac_cv_prog_CC 2086if test -n "$CC"; then 2087 echo "$as_me:$LINENO: result: $CC" >&5 2088echo "${ECHO_T}$CC" >&6 2089else 2090 echo "$as_me:$LINENO: result: no" >&5 2091echo "${ECHO_T}no" >&6 2092fi 2093 2094 test -n "$CC" && break 2095 done 2096fi 2097if test -z "$CC"; then 2098 ac_ct_CC=$CC 2099 for ac_prog in cl 2100do 2101 # Extract the first word of "$ac_prog", so it can be a program name with args. 2102set dummy $ac_prog; ac_word=$2 2103echo "$as_me:$LINENO: checking for $ac_word" >&5 2104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2105if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2106 echo $ECHO_N "(cached) $ECHO_C" >&6 2107else 2108 if test -n "$ac_ct_CC"; then 2109 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2110else 2111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2112for as_dir in $PATH 2113do 2114 IFS=$as_save_IFS 2115 test -z "$as_dir" && as_dir=. 2116 for ac_exec_ext in '' $ac_executable_extensions; do 2117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2118 ac_cv_prog_ac_ct_CC="$ac_prog" 2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2120 break 2 2121 fi 2122done 2123done 2124 2125fi 2126fi 2127ac_ct_CC=$ac_cv_prog_ac_ct_CC 2128if test -n "$ac_ct_CC"; then 2129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2130echo "${ECHO_T}$ac_ct_CC" >&6 2131else 2132 echo "$as_me:$LINENO: result: no" >&5 2133echo "${ECHO_T}no" >&6 2134fi 2135 2136 test -n "$ac_ct_CC" && break 2137done 2138 2139 CC=$ac_ct_CC 2140fi 2141 2142fi 2143 2144 2145test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2146See \`config.log' for more details." >&5 2147echo "$as_me: error: no acceptable C compiler found in \$PATH 2148See \`config.log' for more details." >&2;} 2149 { (exit 1); exit 1; }; } 2150 2151# Provide some information about the compiler. 2152echo "$as_me:$LINENO:" \ 2153 "checking for C compiler version" >&5 2154ac_compiler=`set X $ac_compile; echo $2` 2155{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2156 (eval $ac_compiler --version </dev/null >&5) 2>&5 2157 ac_status=$? 2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2159 (exit $ac_status); } 2160{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2161 (eval $ac_compiler -v </dev/null >&5) 2>&5 2162 ac_status=$? 2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2164 (exit $ac_status); } 2165{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2166 (eval $ac_compiler -V </dev/null >&5) 2>&5 2167 ac_status=$? 2168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2169 (exit $ac_status); } 2170 2171echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2172echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2173if test "${ac_cv_c_compiler_gnu+set}" = set; then 2174 echo $ECHO_N "(cached) $ECHO_C" >&6 2175else 2176 cat >conftest.$ac_ext <<_ACEOF 2177/* confdefs.h. */ 2178_ACEOF 2179cat confdefs.h >>conftest.$ac_ext 2180cat >>conftest.$ac_ext <<_ACEOF 2181/* end confdefs.h. */ 2182 2183int 2184main () 2185{ 2186#ifndef __GNUC__ 2187 choke me 2188#endif 2189 2190 ; 2191 return 0; 2192} 2193_ACEOF 2194rm -f conftest.$ac_objext 2195if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2196 (eval $ac_compile) 2>conftest.er1 2197 ac_status=$? 2198 grep -v '^ *+' conftest.er1 >conftest.err 2199 rm -f conftest.er1 2200 cat conftest.err >&5 2201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2202 (exit $ac_status); } && 2203 { ac_try='test -z "$ac_c_werror_flag" 2204 || test ! -s conftest.err' 2205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2206 (eval $ac_try) 2>&5 2207 ac_status=$? 2208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2209 (exit $ac_status); }; } && 2210 { ac_try='test -s conftest.$ac_objext' 2211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2212 (eval $ac_try) 2>&5 2213 ac_status=$? 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 (exit $ac_status); }; }; then 2216 ac_compiler_gnu=yes 2217else 2218 echo "$as_me: failed program was:" >&5 2219sed 's/^/| /' conftest.$ac_ext >&5 2220 2221ac_compiler_gnu=no 2222fi 2223rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2224ac_cv_c_compiler_gnu=$ac_compiler_gnu 2225 2226fi 2227echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2228echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2229GCC=`test $ac_compiler_gnu = yes && echo yes` 2230ac_test_CFLAGS=${CFLAGS+set} 2231ac_save_CFLAGS=$CFLAGS 2232CFLAGS="-g" 2233echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2234echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2235if test "${ac_cv_prog_cc_g+set}" = set; then 2236 echo $ECHO_N "(cached) $ECHO_C" >&6 2237else 2238 cat >conftest.$ac_ext <<_ACEOF 2239/* confdefs.h. */ 2240_ACEOF 2241cat confdefs.h >>conftest.$ac_ext 2242cat >>conftest.$ac_ext <<_ACEOF 2243/* end confdefs.h. */ 2244 2245int 2246main () 2247{ 2248 2249 ; 2250 return 0; 2251} 2252_ACEOF 2253rm -f conftest.$ac_objext 2254if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2255 (eval $ac_compile) 2>conftest.er1 2256 ac_status=$? 2257 grep -v '^ *+' conftest.er1 >conftest.err 2258 rm -f conftest.er1 2259 cat conftest.err >&5 2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2261 (exit $ac_status); } && 2262 { ac_try='test -z "$ac_c_werror_flag" 2263 || test ! -s conftest.err' 2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2265 (eval $ac_try) 2>&5 2266 ac_status=$? 2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2268 (exit $ac_status); }; } && 2269 { ac_try='test -s conftest.$ac_objext' 2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2271 (eval $ac_try) 2>&5 2272 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 (exit $ac_status); }; }; then 2275 ac_cv_prog_cc_g=yes 2276else 2277 echo "$as_me: failed program was:" >&5 2278sed 's/^/| /' conftest.$ac_ext >&5 2279 2280ac_cv_prog_cc_g=no 2281fi 2282rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2283fi 2284echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2285echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2286if test "$ac_test_CFLAGS" = set; then 2287 CFLAGS=$ac_save_CFLAGS 2288elif test $ac_cv_prog_cc_g = yes; then 2289 if test "$GCC" = yes; then 2290 CFLAGS="-g -O2" 2291 else 2292 CFLAGS="-g" 2293 fi 2294else 2295 if test "$GCC" = yes; then 2296 CFLAGS="-O2" 2297 else 2298 CFLAGS= 2299 fi 2300fi 2301echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2302echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2303if test "${ac_cv_prog_cc_stdc+set}" = set; then 2304 echo $ECHO_N "(cached) $ECHO_C" >&6 2305else 2306 ac_cv_prog_cc_stdc=no 2307ac_save_CC=$CC 2308cat >conftest.$ac_ext <<_ACEOF 2309/* confdefs.h. */ 2310_ACEOF 2311cat confdefs.h >>conftest.$ac_ext 2312cat >>conftest.$ac_ext <<_ACEOF 2313/* end confdefs.h. */ 2314#include <stdarg.h> 2315#include <stdio.h> 2316#include <sys/types.h> 2317#include <sys/stat.h> 2318/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2319struct buf { int x; }; 2320FILE * (*rcsopen) (struct buf *, struct stat *, int); 2321static char *e (p, i) 2322 char **p; 2323 int i; 2324{ 2325 return p[i]; 2326} 2327static char *f (char * (*g) (char **, int), char **p, ...) 2328{ 2329 char *s; 2330 va_list v; 2331 va_start (v,p); 2332 s = g (p, va_arg (v,int)); 2333 va_end (v); 2334 return s; 2335} 2336 2337/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2338 function prototypes and stuff, but not '\xHH' hex character constants. 2339 These don't provoke an error unfortunately, instead are silently treated 2340 as 'x'. The following induces an error, until -std1 is added to get 2341 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2342 array size at least. It's necessary to write '\x00'==0 to get something 2343 that's true only with -std1. */ 2344int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2345 2346int test (int i, double x); 2347struct s1 {int (*f) (int a);}; 2348struct s2 {int (*f) (double a);}; 2349int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2350int argc; 2351char **argv; 2352int 2353main () 2354{ 2355return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2356 ; 2357 return 0; 2358} 2359_ACEOF 2360# Don't try gcc -ansi; that turns off useful extensions and 2361# breaks some systems' header files. 2362# AIX -qlanglvl=ansi 2363# Ultrix and OSF/1 -std1 2364# HP-UX 10.20 and later -Ae 2365# HP-UX older versions -Aa -D_HPUX_SOURCE 2366# SVR4 -Xc -D__EXTENSIONS__ 2367for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2368do 2369 CC="$ac_save_CC $ac_arg" 2370 rm -f conftest.$ac_objext 2371if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2372 (eval $ac_compile) 2>conftest.er1 2373 ac_status=$? 2374 grep -v '^ *+' conftest.er1 >conftest.err 2375 rm -f conftest.er1 2376 cat conftest.err >&5 2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2378 (exit $ac_status); } && 2379 { ac_try='test -z "$ac_c_werror_flag" 2380 || test ! -s conftest.err' 2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2382 (eval $ac_try) 2>&5 2383 ac_status=$? 2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2385 (exit $ac_status); }; } && 2386 { ac_try='test -s conftest.$ac_objext' 2387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2388 (eval $ac_try) 2>&5 2389 ac_status=$? 2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2391 (exit $ac_status); }; }; then 2392 ac_cv_prog_cc_stdc=$ac_arg 2393break 2394else 2395 echo "$as_me: failed program was:" >&5 2396sed 's/^/| /' conftest.$ac_ext >&5 2397 2398fi 2399rm -f conftest.err conftest.$ac_objext 2400done 2401rm -f conftest.$ac_ext conftest.$ac_objext 2402CC=$ac_save_CC 2403 2404fi 2405 2406case "x$ac_cv_prog_cc_stdc" in 2407 x|xno) 2408 echo "$as_me:$LINENO: result: none needed" >&5 2409echo "${ECHO_T}none needed" >&6 ;; 2410 *) 2411 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2412echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2413 CC="$CC $ac_cv_prog_cc_stdc" ;; 2414esac 2415 2416# Some people use a C++ compiler to compile C. Since we use `exit', 2417# in C++ we need to declare it. In case someone uses the same compiler 2418# for both compiling C and C++ we need to have the C++ compiler decide 2419# the declaration of exit, since it's the most demanding environment. 2420cat >conftest.$ac_ext <<_ACEOF 2421@%:@ifndef __cplusplus 2422 choke me 2423@%:@endif 2424_ACEOF 2425rm -f conftest.$ac_objext 2426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2427 (eval $ac_compile) 2>conftest.er1 2428 ac_status=$? 2429 grep -v '^ *+' conftest.er1 >conftest.err 2430 rm -f conftest.er1 2431 cat conftest.err >&5 2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2433 (exit $ac_status); } && 2434 { ac_try='test -z "$ac_c_werror_flag" 2435 || test ! -s conftest.err' 2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2437 (eval $ac_try) 2>&5 2438 ac_status=$? 2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2440 (exit $ac_status); }; } && 2441 { ac_try='test -s conftest.$ac_objext' 2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2443 (eval $ac_try) 2>&5 2444 ac_status=$? 2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2446 (exit $ac_status); }; }; then 2447 for ac_declaration in \ 2448 '' \ 2449 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2450 'extern "C" void std::exit (int); using std::exit;' \ 2451 'extern "C" void exit (int) throw ();' \ 2452 'extern "C" void exit (int);' \ 2453 'void exit (int);' 2454do 2455 cat >conftest.$ac_ext <<_ACEOF 2456/* confdefs.h. */ 2457_ACEOF 2458cat confdefs.h >>conftest.$ac_ext 2459cat >>conftest.$ac_ext <<_ACEOF 2460/* end confdefs.h. */ 2461$ac_declaration 2462@%:@include <stdlib.h> 2463int 2464main () 2465{ 2466exit (42); 2467 ; 2468 return 0; 2469} 2470_ACEOF 2471rm -f conftest.$ac_objext 2472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2473 (eval $ac_compile) 2>conftest.er1 2474 ac_status=$? 2475 grep -v '^ *+' conftest.er1 >conftest.err 2476 rm -f conftest.er1 2477 cat conftest.err >&5 2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2479 (exit $ac_status); } && 2480 { ac_try='test -z "$ac_c_werror_flag" 2481 || test ! -s conftest.err' 2482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2483 (eval $ac_try) 2>&5 2484 ac_status=$? 2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2486 (exit $ac_status); }; } && 2487 { ac_try='test -s conftest.$ac_objext' 2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2489 (eval $ac_try) 2>&5 2490 ac_status=$? 2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2492 (exit $ac_status); }; }; then 2493 : 2494else 2495 echo "$as_me: failed program was:" >&5 2496sed 's/^/| /' conftest.$ac_ext >&5 2497 2498continue 2499fi 2500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2501 cat >conftest.$ac_ext <<_ACEOF 2502/* confdefs.h. */ 2503_ACEOF 2504cat confdefs.h >>conftest.$ac_ext 2505cat >>conftest.$ac_ext <<_ACEOF 2506/* end confdefs.h. */ 2507$ac_declaration 2508int 2509main () 2510{ 2511exit (42); 2512 ; 2513 return 0; 2514} 2515_ACEOF 2516rm -f conftest.$ac_objext 2517if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2518 (eval $ac_compile) 2>conftest.er1 2519 ac_status=$? 2520 grep -v '^ *+' conftest.er1 >conftest.err 2521 rm -f conftest.er1 2522 cat conftest.err >&5 2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2524 (exit $ac_status); } && 2525 { ac_try='test -z "$ac_c_werror_flag" 2526 || test ! -s conftest.err' 2527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2528 (eval $ac_try) 2>&5 2529 ac_status=$? 2530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2531 (exit $ac_status); }; } && 2532 { ac_try='test -s conftest.$ac_objext' 2533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2534 (eval $ac_try) 2>&5 2535 ac_status=$? 2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2537 (exit $ac_status); }; }; then 2538 break 2539else 2540 echo "$as_me: failed program was:" >&5 2541sed 's/^/| /' conftest.$ac_ext >&5 2542 2543fi 2544rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2545done 2546rm -f conftest* 2547if test -n "$ac_declaration"; then 2548 echo '#ifdef __cplusplus' >>confdefs.h 2549 echo $ac_declaration >>confdefs.h 2550 echo '#endif' >>confdefs.h 2551fi 2552 2553else 2554 echo "$as_me: failed program was:" >&5 2555sed 's/^/| /' conftest.$ac_ext >&5 2556 2557fi 2558rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2559ac_ext=c 2560ac_cpp='$CPP $CPPFLAGS' 2561ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2562ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2563ac_compiler_gnu=$ac_cv_c_compiler_gnu 2564 2565 2566 2567echo "$as_me:$LINENO: checking for main in -lSDL" >&5 2568echo $ECHO_N "checking for main in -lSDL... $ECHO_C" >&6 2569if test "${ac_cv_lib_SDL_main+set}" = set; then 2570 echo $ECHO_N "(cached) $ECHO_C" >&6 2571else 2572 ac_check_lib_save_LIBS=$LIBS 2573LIBS="-lSDL $LIBS" 2574cat >conftest.$ac_ext <<_ACEOF 2575/* confdefs.h. */ 2576_ACEOF 2577cat confdefs.h >>conftest.$ac_ext 2578cat >>conftest.$ac_ext <<_ACEOF 2579/* end confdefs.h. */ 2580 2581 2582int 2583main () 2584{ 2585main (); 2586 ; 2587 return 0; 2588} 2589_ACEOF 2590rm -f conftest.$ac_objext conftest$ac_exeext 2591if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2592 (eval $ac_link) 2>conftest.er1 2593 ac_status=$? 2594 grep -v '^ *+' conftest.er1 >conftest.err 2595 rm -f conftest.er1 2596 cat conftest.err >&5 2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2598 (exit $ac_status); } && 2599 { ac_try='test -z "$ac_c_werror_flag" 2600 || test ! -s conftest.err' 2601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2602 (eval $ac_try) 2>&5 2603 ac_status=$? 2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2605 (exit $ac_status); }; } && 2606 { ac_try='test -s conftest$ac_exeext' 2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2608 (eval $ac_try) 2>&5 2609 ac_status=$? 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); }; }; then 2612 ac_cv_lib_SDL_main=yes 2613else 2614 echo "$as_me: failed program was:" >&5 2615sed 's/^/| /' conftest.$ac_ext >&5 2616 2617ac_cv_lib_SDL_main=no 2618fi 2619rm -f conftest.err conftest.$ac_objext \ 2620 conftest$ac_exeext conftest.$ac_ext 2621LIBS=$ac_check_lib_save_LIBS 2622fi 2623echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_main" >&5 2624echo "${ECHO_T}$ac_cv_lib_SDL_main" >&6 2625if test $ac_cv_lib_SDL_main = yes; then 2626 cat >>confdefs.h <<_ACEOF 2627@%:@define HAVE_LIBSDL 1 2628_ACEOF 2629 2630 LIBS="-lSDL $LIBS" 2631 2632else 2633 { { echo "$as_me:$LINENO: error: SDL is not installed (www.libsdl.org)" >&5 2634echo "$as_me: error: SDL is not installed (www.libsdl.org)" >&2;} 2635 { (exit 1); exit 1; }; } 2636fi 2637 2638 2639echo "$as_me:$LINENO: checking for main in -lSDL_image" >&5 2640echo $ECHO_N "checking for main in -lSDL_image... $ECHO_C" >&6 2641if test "${ac_cv_lib_SDL_image_main+set}" = set; then 2642 echo $ECHO_N "(cached) $ECHO_C" >&6 2643else 2644 ac_check_lib_save_LIBS=$LIBS 2645LIBS="-lSDL_image $LIBS" 2646cat >conftest.$ac_ext <<_ACEOF 2647/* confdefs.h. */ 2648_ACEOF 2649cat confdefs.h >>conftest.$ac_ext 2650cat >>conftest.$ac_ext <<_ACEOF 2651/* end confdefs.h. */ 2652 2653 2654int 2655main () 2656{ 2657main (); 2658 ; 2659 return 0; 2660} 2661_ACEOF 2662rm -f conftest.$ac_objext conftest$ac_exeext 2663if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2664 (eval $ac_link) 2>conftest.er1 2665 ac_status=$? 2666 grep -v '^ *+' conftest.er1 >conftest.err 2667 rm -f conftest.er1 2668 cat conftest.err >&5 2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2670 (exit $ac_status); } && 2671 { ac_try='test -z "$ac_c_werror_flag" 2672 || test ! -s conftest.err' 2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2674 (eval $ac_try) 2>&5 2675 ac_status=$? 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 (exit $ac_status); }; } && 2678 { ac_try='test -s conftest$ac_exeext' 2679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 (exit $ac_status); }; }; then 2684 ac_cv_lib_SDL_image_main=yes 2685else 2686 echo "$as_me: failed program was:" >&5 2687sed 's/^/| /' conftest.$ac_ext >&5 2688 2689ac_cv_lib_SDL_image_main=no 2690fi 2691rm -f conftest.err conftest.$ac_objext \ 2692 conftest$ac_exeext conftest.$ac_ext 2693LIBS=$ac_check_lib_save_LIBS 2694fi 2695echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_image_main" >&5 2696echo "${ECHO_T}$ac_cv_lib_SDL_image_main" >&6 2697if test $ac_cv_lib_SDL_image_main = yes; then 2698 cat >>confdefs.h <<_ACEOF 2699@%:@define HAVE_LIBSDL_IMAGE 1 2700_ACEOF 2701 2702 LIBS="-lSDL_image $LIBS" 2703 2704else 2705 { { echo "$as_me:$LINENO: error: SDL_image is not installed (www.libsdl.org/projects/SDL_image/)" >&5 2706echo "$as_me: error: SDL_image is not installed (www.libsdl.org/projects/SDL_image/)" >&2;} 2707 { (exit 1); exit 1; }; } 2708fi 2709 2710 2711echo "$as_me:$LINENO: checking for main in -lSDL_gfx" >&5 2712echo $ECHO_N "checking for main in -lSDL_gfx... $ECHO_C" >&6 2713if test "${ac_cv_lib_SDL_gfx_main+set}" = set; then 2714 echo $ECHO_N "(cached) $ECHO_C" >&6 2715else 2716 ac_check_lib_save_LIBS=$LIBS 2717LIBS="-lSDL_gfx $LIBS" 2718cat >conftest.$ac_ext <<_ACEOF 2719/* confdefs.h. */ 2720_ACEOF 2721cat confdefs.h >>conftest.$ac_ext 2722cat >>conftest.$ac_ext <<_ACEOF 2723/* end confdefs.h. */ 2724 2725 2726int 2727main () 2728{ 2729main (); 2730 ; 2731 return 0; 2732} 2733_ACEOF 2734rm -f conftest.$ac_objext conftest$ac_exeext 2735if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2736 (eval $ac_link) 2>conftest.er1 2737 ac_status=$? 2738 grep -v '^ *+' conftest.er1 >conftest.err 2739 rm -f conftest.er1 2740 cat conftest.err >&5 2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2742 (exit $ac_status); } && 2743 { ac_try='test -z "$ac_c_werror_flag" 2744 || test ! -s conftest.err' 2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2746 (eval $ac_try) 2>&5 2747 ac_status=$? 2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2749 (exit $ac_status); }; } && 2750 { ac_try='test -s conftest$ac_exeext' 2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2752 (eval $ac_try) 2>&5 2753 ac_status=$? 2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2755 (exit $ac_status); }; }; then 2756 ac_cv_lib_SDL_gfx_main=yes 2757else 2758 echo "$as_me: failed program was:" >&5 2759sed 's/^/| /' conftest.$ac_ext >&5 2760 2761ac_cv_lib_SDL_gfx_main=no 2762fi 2763rm -f conftest.err conftest.$ac_objext \ 2764 conftest$ac_exeext conftest.$ac_ext 2765LIBS=$ac_check_lib_save_LIBS 2766fi 2767echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_gfx_main" >&5 2768echo "${ECHO_T}$ac_cv_lib_SDL_gfx_main" >&6 2769if test $ac_cv_lib_SDL_gfx_main = yes; then 2770 cat >>confdefs.h <<_ACEOF 2771@%:@define HAVE_LIBSDL_GFX 1 2772_ACEOF 2773 2774 LIBS="-lSDL_gfx $LIBS" 2775 2776else 2777 { { echo "$as_me:$LINENO: error: SDL_gfx is not installed (www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0)" >&5 2778echo "$as_me: error: SDL_gfx is not installed (www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0)" >&2;} 2779 { (exit 1); exit 1; }; } 2780fi 2781 2782am__api_version="1.9" 2783ac_aux_dir= 2784for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 2785 if test -f $ac_dir/install-sh; then 2786 ac_aux_dir=$ac_dir 2787 ac_install_sh="$ac_aux_dir/install-sh -c" 2788 break 2789 elif test -f $ac_dir/install.sh; then 2790 ac_aux_dir=$ac_dir 2791 ac_install_sh="$ac_aux_dir/install.sh -c" 2792 break 2793 elif test -f $ac_dir/shtool; then 2794 ac_aux_dir=$ac_dir 2795 ac_install_sh="$ac_aux_dir/shtool install -c" 2796 break 2797 fi 2798done 2799if test -z "$ac_aux_dir"; then 2800 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2801echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2802 { (exit 1); exit 1; }; } 2803fi 2804ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2805ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2806ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 2807 2808# Find a good install program. We prefer a C program (faster), 2809# so one script is as good as another. But avoid the broken or 2810# incompatible versions: 2811# SysV /etc/install, /usr/sbin/install 2812# SunOS /usr/etc/install 2813# IRIX /sbin/install 2814# AIX /bin/install 2815# AmigaOS /C/install, which installs bootblocks on floppy discs 2816# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2817# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2818# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2819# OS/2's system install, which has a completely different semantic 2820# ./install, which can be erroneously created by make from ./install.sh. 2821echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2822echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2823if test -z "$INSTALL"; then 2824if test "${ac_cv_path_install+set}" = set; then 2825 echo $ECHO_N "(cached) $ECHO_C" >&6 2826else 2827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2828for as_dir in $PATH 2829do 2830 IFS=$as_save_IFS 2831 test -z "$as_dir" && as_dir=. 2832 # Account for people who put trailing slashes in PATH elements. 2833case $as_dir/ in 2834 ./ | .// | /cC/* | \ 2835 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2836 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2837 /usr/ucb/* ) ;; 2838 *) 2839 # OSF1 and SCO ODT 3.0 have their own names for install. 2840 # Don't use installbsd from OSF since it installs stuff as root 2841 # by default. 2842 for ac_prog in ginstall scoinst install; do 2843 for ac_exec_ext in '' $ac_executable_extensions; do 2844 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2845 if test $ac_prog = install && 2846 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2847 # AIX install. It has an incompatible calling convention. 2848 : 2849 elif test $ac_prog = install && 2850 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2851 # program-specific install script used by HP pwplus--don't use. 2852 : 2853 else 2854 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2855 break 3 2856 fi 2857 fi 2858 done 2859 done 2860 ;; 2861esac 2862done 2863 2864 2865fi 2866 if test "${ac_cv_path_install+set}" = set; then 2867 INSTALL=$ac_cv_path_install 2868 else 2869 # As a last resort, use the slow shell script. We don't cache a 2870 # path for INSTALL within a source directory, because that will 2871 # break other packages using the cache if that directory is 2872 # removed, or if the path is relative. 2873 INSTALL=$ac_install_sh 2874 fi 2875fi 2876echo "$as_me:$LINENO: result: $INSTALL" >&5 2877echo "${ECHO_T}$INSTALL" >&6 2878 2879# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2880# It thinks the first close brace ends the variable substitution. 2881test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2882 2883test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2884 2885test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2886 2887echo "$as_me:$LINENO: checking whether build environment is sane" >&5 2888echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 2889# Just in case 2890sleep 1 2891echo timestamp > conftest.file 2892# Do `set' in a subshell so we don't clobber the current shell's 2893# arguments. Must try -L first in case configure is actually a 2894# symlink; some systems play weird games with the mod time of symlinks 2895# (eg FreeBSD returns the mod time of the symlink's containing 2896# directory). 2897if ( 2898 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 2899 if test "$*" = "X"; then 2900 # -L didn't work. 2901 set X `ls -t $srcdir/configure conftest.file` 2902 fi 2903 rm -f conftest.file 2904 if test "$*" != "X $srcdir/configure conftest.file" \ 2905 && test "$*" != "X conftest.file $srcdir/configure"; then 2906 2907 # If neither matched, then we have a broken ls. This can happen 2908 # if, for instance, CONFIG_SHELL is bash and it inherits a 2909 # broken ls alias from the environment. This has actually 2910 # happened. Such a system could not be considered "sane". 2911 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 2912alias in your environment" >&5 2913echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 2914alias in your environment" >&2;} 2915 { (exit 1); exit 1; }; } 2916 fi 2917 2918 test "$2" = conftest.file 2919 ) 2920then 2921 # Ok. 2922 : 2923else 2924 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 2925Check your system clock" >&5 2926echo "$as_me: error: newly created file is older than distributed files! 2927Check your system clock" >&2;} 2928 { (exit 1); exit 1; }; } 2929fi 2930echo "$as_me:$LINENO: result: yes" >&5 2931echo "${ECHO_T}yes" >&6 2932test "$program_prefix" != NONE && 2933 program_transform_name="s,^,$program_prefix,;$program_transform_name" 2934# Use a double $ so make ignores it. 2935test "$program_suffix" != NONE && 2936 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 2937# Double any \ or $. echo might interpret backslashes. 2938# By default was `s,x,x', remove it if useless. 2939cat <<\_ACEOF >conftest.sed 2940s/[\\$]/&&/g;s/;s,x,x,$// 2941_ACEOF 2942program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 2943rm conftest.sed 2944 2945# expand $ac_aux_dir to an absolute path 2946am_aux_dir=`cd $ac_aux_dir && pwd` 2947 2948test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 2949# Use eval to expand $SHELL 2950if eval "$MISSING --run true"; then 2951 am_missing_run="$MISSING --run " 2952else 2953 am_missing_run= 2954 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 2955echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2956fi 2957 2958if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2959 # We used to keeping the `.' as first argument, in order to 2960 # allow $(mkdir_p) to be used without argument. As in 2961 # $(mkdir_p) $(somedir) 2962 # where $(somedir) is conditionally defined. However this is wrong 2963 # for two reasons: 2964 # 1. if the package is installed by a user who cannot write `.' 2965 # make install will fail, 2966 # 2. the above comment should most certainly read 2967 # $(mkdir_p) $(DESTDIR)$(somedir) 2968 # so it does not work when $(somedir) is undefined and 2969 # $(DESTDIR) is not. 2970 # To support the latter case, we have to write 2971 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), 2972 # so the `.' trick is pointless. 2973 mkdir_p='mkdir -p --' 2974else 2975 # On NextStep and OpenStep, the `mkdir' command does not 2976 # recognize any option. It will interpret all options as 2977 # directories to create, and then abort because `.' already 2978 # exists. 2979 for d in ./-p ./--version; 2980 do 2981 test -d $d && rmdir $d 2982 done 2983 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2984 if test -f "$ac_aux_dir/mkinstalldirs"; then 2985 mkdir_p='$(mkinstalldirs)' 2986 else 2987 mkdir_p='$(install_sh) -d' 2988 fi 2989fi 2990 2991for ac_prog in gawk mawk nawk awk 2992do 2993 # Extract the first word of "$ac_prog", so it can be a program name with args. 2994set dummy $ac_prog; ac_word=$2 2995echo "$as_me:$LINENO: checking for $ac_word" >&5 2996echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2997if test "${ac_cv_prog_AWK+set}" = set; then 2998 echo $ECHO_N "(cached) $ECHO_C" >&6 2999else 3000 if test -n "$AWK"; then 3001 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3002else 3003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3004for as_dir in $PATH 3005do 3006 IFS=$as_save_IFS 3007 test -z "$as_dir" && as_dir=. 3008 for ac_exec_ext in '' $ac_executable_extensions; do 3009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3010 ac_cv_prog_AWK="$ac_prog" 3011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3012 break 2 3013 fi 3014done 3015done 3016 3017fi 3018fi 3019AWK=$ac_cv_prog_AWK 3020if test -n "$AWK"; then 3021 echo "$as_me:$LINENO: result: $AWK" >&5 3022echo "${ECHO_T}$AWK" >&6 3023else 3024 echo "$as_me:$LINENO: result: no" >&5 3025echo "${ECHO_T}no" >&6 3026fi 3027 3028 test -n "$AWK" && break 3029done 3030 3031echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3032echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3033set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3034if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3035 echo $ECHO_N "(cached) $ECHO_C" >&6 3036else 3037 cat >conftest.make <<\_ACEOF 3038all: 3039 @echo 'ac_maketemp="$(MAKE)"' 3040_ACEOF 3041# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 3042eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 3043if test -n "$ac_maketemp"; then 3044 eval ac_cv_prog_make_${ac_make}_set=yes 3045else 3046 eval ac_cv_prog_make_${ac_make}_set=no 3047fi 3048rm -f conftest.make 3049fi 3050if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 3051 echo "$as_me:$LINENO: result: yes" >&5 3052echo "${ECHO_T}yes" >&6 3053 SET_MAKE= 3054else 3055 echo "$as_me:$LINENO: result: no" >&5 3056echo "${ECHO_T}no" >&6 3057 SET_MAKE="MAKE=${MAKE-make}" 3058fi 3059 3060rm -rf .tst 2>/dev/null 3061mkdir .tst 2>/dev/null 3062if test -d .tst; then 3063 am__leading_dot=. 3064else 3065 am__leading_dot=_ 3066fi 3067rmdir .tst 2>/dev/null 3068 3069DEPDIR="${am__leading_dot}deps" 3070 3071 ac_config_commands="$ac_config_commands depfiles" 3072 3073 3074am_make=${MAKE-make} 3075cat > confinc << 'END' 3076am__doit: 3077 @echo done 3078.PHONY: am__doit 3079END 3080# If we don't find an include directive, just comment out the code. 3081echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 3082echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 3083am__include="#" 3084am__quote= 3085_am_result=none 3086# First try GNU make style include. 3087echo "include confinc" > confmf 3088# We grep out `Entering directory' and `Leaving directory' 3089# messages which can occur if `w' ends up in MAKEFLAGS. 3090# In particular we don't look at `^make:' because GNU make might 3091# be invoked under some other name (usually "gmake"), in which 3092# case it prints its new name instead of `make'. 3093if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 3094 am__include=include 3095 am__quote= 3096 _am_result=GNU 3097fi 3098# Now try BSD make style include. 3099if test "$am__include" = "#"; then 3100 echo '.include "confinc"' > confmf 3101 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 3102 am__include=.include 3103 am__quote="\"" 3104 _am_result=BSD 3105 fi 3106fi 3107 3108 3109echo "$as_me:$LINENO: result: $_am_result" >&5 3110echo "${ECHO_T}$_am_result" >&6 3111rm -f confinc confmf 3112 3113# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 3114if test "${enable_dependency_tracking+set}" = set; then 3115 enableval="$enable_dependency_tracking" 3116 3117fi; 3118if test "x$enable_dependency_tracking" != xno; then 3119 am_depcomp="$ac_aux_dir/depcomp" 3120 AMDEPBACKSLASH='\' 3121fi 3122 3123 3124if test "x$enable_dependency_tracking" != xno; then 3125 AMDEP_TRUE= 3126 AMDEP_FALSE='#' 3127else 3128 AMDEP_TRUE='#' 3129 AMDEP_FALSE= 3130fi 3131 3132 3133 3134# test to see if srcdir already configured 3135if test "`cd $srcdir && pwd`" != "`pwd`" && 3136 test -f $srcdir/config.status; then 3137 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 3138echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 3139 { (exit 1); exit 1; }; } 3140fi 3141 3142# test whether we have cygpath 3143if test -z "$CYGPATH_W"; then 3144 if (cygpath --version) >/dev/null 2>/dev/null; then 3145 CYGPATH_W='cygpath -w' 3146 else 3147 CYGPATH_W=echo 3148 fi 3149fi 3150 3151 3152# Define the identity of the package. 3153 PACKAGE='openbubbles' 3154 VERSION='1.0' 3155 3156 3157cat >>confdefs.h <<_ACEOF 3158@%:@define PACKAGE "$PACKAGE" 3159_ACEOF 3160 3161 3162cat >>confdefs.h <<_ACEOF 3163@%:@define VERSION "$VERSION" 3164_ACEOF 3165 3166# Some tools Automake needs. 3167 3168ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3169 3170 3171AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3172 3173 3174AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3175 3176 3177AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3178 3179 3180MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3181 3182install_sh=${install_sh-"$am_aux_dir/install-sh"} 3183 3184# Installed binaries are usually stripped using `strip' when the user 3185# run `make install-strip'. However `strip' might not be the right 3186# tool to use in cross-compilation environments, therefore Automake 3187# will honor the `STRIP' environment variable to overrule this program. 3188if test "$cross_compiling" != no; then 3189 if test -n "$ac_tool_prefix"; then 3190 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3191set dummy ${ac_tool_prefix}strip; ac_word=$2 3192echo "$as_me:$LINENO: checking for $ac_word" >&5 3193echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3194if test "${ac_cv_prog_STRIP+set}" = set; then 3195 echo $ECHO_N "(cached) $ECHO_C" >&6 3196else 3197 if test -n "$STRIP"; then 3198 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3199else 3200as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3201for as_dir in $PATH 3202do 3203 IFS=$as_save_IFS 3204 test -z "$as_dir" && as_dir=. 3205 for ac_exec_ext in '' $ac_executable_extensions; do 3206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3207 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3209 break 2 3210 fi 3211done 3212done 3213 3214fi 3215fi 3216STRIP=$ac_cv_prog_STRIP 3217if test -n "$STRIP"; then 3218 echo "$as_me:$LINENO: result: $STRIP" >&5 3219echo "${ECHO_T}$STRIP" >&6 3220else 3221 echo "$as_me:$LINENO: result: no" >&5 3222echo "${ECHO_T}no" >&6 3223fi 3224 3225fi 3226if test -z "$ac_cv_prog_STRIP"; then 3227 ac_ct_STRIP=$STRIP 3228 # Extract the first word of "strip", so it can be a program name with args. 3229set dummy strip; ac_word=$2 3230echo "$as_me:$LINENO: checking for $ac_word" >&5 3231echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3232if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 3233 echo $ECHO_N "(cached) $ECHO_C" >&6 3234else 3235 if test -n "$ac_ct_STRIP"; then 3236 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3237else 3238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3239for as_dir in $PATH 3240do 3241 IFS=$as_save_IFS 3242 test -z "$as_dir" && as_dir=. 3243 for ac_exec_ext in '' $ac_executable_extensions; do 3244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3245 ac_cv_prog_ac_ct_STRIP="strip" 3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3247 break 2 3248 fi 3249done 3250done 3251 3252 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 3253fi 3254fi 3255ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3256if test -n "$ac_ct_STRIP"; then 3257 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 3258echo "${ECHO_T}$ac_ct_STRIP" >&6 3259else 3260 echo "$as_me:$LINENO: result: no" >&5 3261echo "${ECHO_T}no" >&6 3262fi 3263 3264 STRIP=$ac_ct_STRIP 3265else 3266 STRIP="$ac_cv_prog_STRIP" 3267fi 3268 3269fi 3270INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 3271 3272# We need awk for the "check" target. The system "awk" is bad on 3273# some platforms. 3274# Always define AMTAR for backward compatibility. 3275 3276AMTAR=${AMTAR-"${am_missing_run}tar"} 3277 3278am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' 3279 3280 3281 3282 3283depcc="$CC" am_compiler_list= 3284 3285echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3286echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3287if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3288 echo $ECHO_N "(cached) $ECHO_C" >&6 3289else 3290 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3291 # We make a subdir and do the tests there. Otherwise we can end up 3292 # making bogus files that we don't know about and never remove. For 3293 # instance it was reported that on HP-UX the gcc test will end up 3294 # making a dummy file named `D' -- because `-MD' means `put the output 3295 # in D'. 3296 mkdir conftest.dir 3297 # Copy depcomp to subdir because otherwise we won't find it if we're 3298 # using a relative directory. 3299 cp "$am_depcomp" conftest.dir 3300 cd conftest.dir 3301 # We will build objects and dependencies in a subdirectory because 3302 # it helps to detect inapplicable dependency modes. For instance 3303 # both Tru64's cc and ICC support -MD to output dependencies as a 3304 # side effect of compilation, but ICC will put the dependencies in 3305 # the current directory while Tru64 will put them in the object 3306 # directory. 3307 mkdir sub 3308 3309 am_cv_CC_dependencies_compiler_type=none 3310 if test "$am_compiler_list" = ""; then 3311 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3312 fi 3313 for depmode in $am_compiler_list; do 3314 # Setup a source with many dependencies, because some compilers 3315 # like to wrap large dependency lists on column 80 (with \), and 3316 # we should not choose a depcomp mode which is confused by this. 3317 # 3318 # We need to recreate these files for each test, as the compiler may 3319 # overwrite some of them when testing with obscure command lines. 3320 # This happens at least with the AIX C compiler. 3321 : > sub/conftest.c 3322 for i in 1 2 3 4 5 6; do 3323 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3324 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3325 # Solaris 8's {/usr,}/bin/sh. 3326 touch sub/conftst$i.h 3327 done 3328 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3329 3330 case $depmode in 3331 nosideeffect) 3332 # after this tag, mechanisms are not by side-effect, so they'll 3333 # only be used when explicitly requested 3334 if test "x$enable_dependency_tracking" = xyes; then 3335 continue 3336 else 3337 break 3338 fi 3339 ;; 3340 none) break ;; 3341 esac 3342 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3343 # mode. It turns out that the SunPro C++ compiler does not properly 3344 # handle `-M -o', and we need to detect this. 3345 if depmode=$depmode \ 3346 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3347 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3348 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3349 >/dev/null 2>conftest.err && 3350 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3351 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3352 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3353 # icc doesn't choke on unknown options, it will just issue warnings 3354 # or remarks (even with -Werror). So we grep stderr for any message 3355 # that says an option was ignored or not supported. 3356 # When given -MP, icc 7.0 and 7.1 complain thusly: 3357 # icc: Command line warning: ignoring option '-M'; no argument required 3358 # The diagnosis changed in icc 8.0: 3359 # icc: Command line remark: option '-MP' not supported 3360 if (grep 'ignoring option' conftest.err || 3361 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3362 am_cv_CC_dependencies_compiler_type=$depmode 3363 break 3364 fi 3365 fi 3366 done 3367 3368 cd .. 3369 rm -rf conftest.dir 3370else 3371 am_cv_CC_dependencies_compiler_type=none 3372fi 3373 3374fi 3375echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3376echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3377CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3378 3379 3380 3381if 3382 test "x$enable_dependency_tracking" != xno \ 3383 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3384 am__fastdepCC_TRUE= 3385 am__fastdepCC_FALSE='#' 3386else 3387 am__fastdepCC_TRUE='#' 3388 am__fastdepCC_FALSE= 3389fi 3390 3391 3392depcc="$CXX" am_compiler_list= 3393 3394echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3395echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3396if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 3397 echo $ECHO_N "(cached) $ECHO_C" >&6 3398else 3399 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3400 # We make a subdir and do the tests there. Otherwise we can end up 3401 # making bogus files that we don't know about and never remove. For 3402 # instance it was reported that on HP-UX the gcc test will end up 3403 # making a dummy file named `D' -- because `-MD' means `put the output 3404 # in D'. 3405 mkdir conftest.dir 3406 # Copy depcomp to subdir because otherwise we won't find it if we're 3407 # using a relative directory. 3408 cp "$am_depcomp" conftest.dir 3409 cd conftest.dir 3410 # We will build objects and dependencies in a subdirectory because 3411 # it helps to detect inapplicable dependency modes. For instance 3412 # both Tru64's cc and ICC support -MD to output dependencies as a 3413 # side effect of compilation, but ICC will put the dependencies in 3414 # the current directory while Tru64 will put them in the object 3415 # directory. 3416 mkdir sub 3417 3418 am_cv_CXX_dependencies_compiler_type=none 3419 if test "$am_compiler_list" = ""; then 3420 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3421 fi 3422 for depmode in $am_compiler_list; do 3423 # Setup a source with many dependencies, because some compilers 3424 # like to wrap large dependency lists on column 80 (with \), and 3425 # we should not choose a depcomp mode which is confused by this. 3426 # 3427 # We need to recreate these files for each test, as the compiler may 3428 # overwrite some of them when testing with obscure command lines. 3429 # This happens at least with the AIX C compiler. 3430 : > sub/conftest.c 3431 for i in 1 2 3 4 5 6; do 3432 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3433 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3434 # Solaris 8's {/usr,}/bin/sh. 3435 touch sub/conftst$i.h 3436 done 3437 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3438 3439 case $depmode in 3440 nosideeffect) 3441 # after this tag, mechanisms are not by side-effect, so they'll 3442 # only be used when explicitly requested 3443 if test "x$enable_dependency_tracking" = xyes; then 3444 continue 3445 else 3446 break 3447 fi 3448 ;; 3449 none) break ;; 3450 esac 3451 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3452 # mode. It turns out that the SunPro C++ compiler does not properly 3453 # handle `-M -o', and we need to detect this. 3454 if depmode=$depmode \ 3455 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3456 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3457 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3458 >/dev/null 2>conftest.err && 3459 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3460 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3461 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3462 # icc doesn't choke on unknown options, it will just issue warnings 3463 # or remarks (even with -Werror). So we grep stderr for any message 3464 # that says an option was ignored or not supported. 3465 # When given -MP, icc 7.0 and 7.1 complain thusly: 3466 # icc: Command line warning: ignoring option '-M'; no argument required 3467 # The diagnosis changed in icc 8.0: 3468 # icc: Command line remark: option '-MP' not supported 3469 if (grep 'ignoring option' conftest.err || 3470 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3471 am_cv_CXX_dependencies_compiler_type=$depmode 3472 break 3473 fi 3474 fi 3475 done 3476 3477 cd .. 3478 rm -rf conftest.dir 3479else 3480 am_cv_CXX_dependencies_compiler_type=none 3481fi 3482 3483fi 3484echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 3485echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 3486CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3487 3488 3489 3490if 3491 test "x$enable_dependency_tracking" != xno \ 3492 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3493 am__fastdepCXX_TRUE= 3494 am__fastdepCXX_FALSE='#' 3495else 3496 am__fastdepCXX_TRUE='#' 3497 am__fastdepCXX_FALSE= 3498fi 3499 3500 3501 3502# Find a good install program. We prefer a C program (faster), 3503# so one script is as good as another. But avoid the broken or 3504# incompatible versions: 3505# SysV /etc/install, /usr/sbin/install 3506# SunOS /usr/etc/install 3507# IRIX /sbin/install 3508# AIX /bin/install 3509# AmigaOS /C/install, which installs bootblocks on floppy discs 3510# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3511# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3512# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3513# OS/2's system install, which has a completely different semantic 3514# ./install, which can be erroneously created by make from ./install.sh. 3515echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3516echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3517if test -z "$INSTALL"; then 3518if test "${ac_cv_path_install+set}" = set; then 3519 echo $ECHO_N "(cached) $ECHO_C" >&6 3520else 3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3522for as_dir in $PATH 3523do 3524 IFS=$as_save_IFS 3525 test -z "$as_dir" && as_dir=. 3526 # Account for people who put trailing slashes in PATH elements. 3527case $as_dir/ in 3528 ./ | .// | /cC/* | \ 3529 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3530 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3531 /usr/ucb/* ) ;; 3532 *) 3533 # OSF1 and SCO ODT 3.0 have their own names for install. 3534 # Don't use installbsd from OSF since it installs stuff as root 3535 # by default. 3536 for ac_prog in ginstall scoinst install; do 3537 for ac_exec_ext in '' $ac_executable_extensions; do 3538 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3539 if test $ac_prog = install && 3540 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3541 # AIX install. It has an incompatible calling convention. 3542 : 3543 elif test $ac_prog = install && 3544 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3545 # program-specific install script used by HP pwplus--don't use. 3546 : 3547 else 3548 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3549 break 3 3550 fi 3551 fi 3552 done 3553 done 3554 ;; 3555esac 3556done 3557 3558 3559fi 3560 if test "${ac_cv_path_install+set}" = set; then 3561 INSTALL=$ac_cv_path_install 3562 else 3563 # As a last resort, use the slow shell script. We don't cache a 3564 # path for INSTALL within a source directory, because that will 3565 # break other packages using the cache if that directory is 3566 # removed, or if the path is relative. 3567 INSTALL=$ac_install_sh 3568 fi 3569fi 3570echo "$as_me:$LINENO: result: $INSTALL" >&5 3571echo "${ECHO_T}$INSTALL" >&6 3572 3573# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3574# It thinks the first close brace ends the variable substitution. 3575test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3576 3577test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3578 3579test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3580 3581CXXFLAGS="$CXXFLAGS -DDATA_PREFIX='\"$datadir/openbubbles\"'" 3582 ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile" 3583cat >confcache <<\_ACEOF 3584# This file is a shell script that caches the results of configure 3585# tests run on this system so they can be shared between configure 3586# scripts and configure runs, see configure's option --config-cache. 3587# It is not useful on other systems. If it contains results you don't 3588# want to keep, you may remove or edit it. 3589# 3590# config.status only pays attention to the cache file if you give it 3591# the --recheck option to rerun configure. 3592# 3593# `ac_cv_env_foo' variables (set or unset) will be overridden when 3594# loading this file, other *unset* `ac_cv_foo' will be assigned the 3595# following values. 3596 3597_ACEOF 3598 3599# The following way of writing the cache mishandles newlines in values, 3600# but we know of no workaround that is simple, portable, and efficient. 3601# So, don't put newlines in cache variables' values. 3602# Ultrix sh set writes to stderr and can't be redirected directly, 3603# and sets the high bit in the cache file unless we assign to the vars. 3604{ 3605 (set) 2>&1 | 3606 case `(ac_space=' '; set | grep ac_space) 2>&1` in 3607 *ac_space=\ *) 3608 # `set' does not quote correctly, so add quotes (double-quote 3609 # substitution turns \\\\ into \\, and sed turns \\ into \). 3610 sed -n \ 3611 "s/'/'\\\\''/g; 3612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3613 ;; 3614 *) 3615 # `set' quotes correctly as required by POSIX, so do not add quotes. 3616 sed -n \ 3617 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 3618 ;; 3619 esac; 3620} | 3621 sed ' 3622 t clear 3623 : clear 3624 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3625 t end 3626 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3627 : end' >>confcache 3628if diff $cache_file confcache >/dev/null 2>&1; then :; else 3629 if test -w $cache_file; then 3630 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 3631 cat confcache >$cache_file 3632 else 3633 echo "not updating unwritable cache $cache_file" 3634 fi 3635fi 3636rm -f confcache 3637 3638test "x$prefix" = xNONE && prefix=$ac_default_prefix 3639# Let make expand exec_prefix. 3640test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3641 3642# VPATH may cause trouble with some makes, so we remove $(srcdir), 3643# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 3644# trailing colons and then remove the whole line if VPATH becomes empty 3645# (actually we leave an empty line to preserve line numbers). 3646if test "x$srcdir" = x.; then 3647 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 3648s/:*\$(srcdir):*/:/; 3649s/:*\${srcdir}:*/:/; 3650s/:*@srcdir@:*/:/; 3651s/^\([^=]*=[ ]*\):*/\1/; 3652s/:*$//; 3653s/^[^=]*=[ ]*$//; 3654}' 3655fi 3656 3657DEFS=-DHAVE_CONFIG_H 3658 3659ac_libobjs= 3660ac_ltlibobjs= 3661for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 3662 # 1. Remove the extension, and $U if already installed. 3663 ac_i=`echo "$ac_i" | 3664 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 3665 # 2. Add them. 3666 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 3667 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 3668done 3669LIB@&t@OBJS=$ac_libobjs 3670 3671LTLIBOBJS=$ac_ltlibobjs 3672 3673 3674if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 3675 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 3676Usually this means the macro was only invoked conditionally." >&5 3677echo "$as_me: error: conditional \"AMDEP\" was never defined. 3678Usually this means the macro was only invoked conditionally." >&2;} 3679 { (exit 1); exit 1; }; } 3680fi 3681if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 3682 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 3683Usually this means the macro was only invoked conditionally." >&5 3684echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 3685Usually this means the macro was only invoked conditionally." >&2;} 3686 { (exit 1); exit 1; }; } 3687fi 3688if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 3689 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 3690Usually this means the macro was only invoked conditionally." >&5 3691echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 3692Usually this means the macro was only invoked conditionally." >&2;} 3693 { (exit 1); exit 1; }; } 3694fi 3695 3696: ${CONFIG_STATUS=./config.status} 3697ac_clean_files_save=$ac_clean_files 3698ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3699{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 3700echo "$as_me: creating $CONFIG_STATUS" >&6;} 3701cat >$CONFIG_STATUS <<_ACEOF 3702#! $SHELL 3703# Generated by $as_me. 3704# Run this file to recreate the current configuration. 3705# Compiler output produced by configure, useful for debugging 3706# configure, is in config.log if it exists. 3707 3708debug=false 3709ac_cs_recheck=false 3710ac_cs_silent=false 3711SHELL=\${CONFIG_SHELL-$SHELL} 3712_ACEOF 3713 3714cat >>$CONFIG_STATUS <<\_ACEOF 3715## --------------------- ## 3716## M4sh Initialization. ## 3717## --------------------- ## 3718 3719# Be Bourne compatible 3720if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 3721 emulate sh 3722 NULLCMD=: 3723 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 3724 # is contrary to our usage. Disable this feature. 3725 alias -g '${1+"$@"}'='"$@"' 3726elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 3727 set -o posix 3728fi 3729DUALCASE=1; export DUALCASE # for MKS sh 3730 3731# Support unset when possible. 3732if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 3733 as_unset=unset 3734else 3735 as_unset=false 3736fi 3737 3738 3739# Work around bugs in pre-3.0 UWIN ksh. 3740$as_unset ENV MAIL MAILPATH 3741PS1='$ ' 3742PS2='> ' 3743PS4='+ ' 3744 3745# NLS nuisances. 3746for as_var in \ 3747 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3748 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3749 LC_TELEPHONE LC_TIME 3750do 3751 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3752 eval $as_var=C; export $as_var 3753 else 3754 $as_unset $as_var 3755 fi 3756done 3757 3758# Required to use basename. 3759if expr a : '\(a\)' >/dev/null 2>&1; then 3760 as_expr=expr 3761else 3762 as_expr=false 3763fi 3764 3765if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 3766 as_basename=basename 3767else 3768 as_basename=false 3769fi 3770 3771 3772# Name of the executable. 3773as_me=`$as_basename "$0" || 3774$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3775 X"$0" : 'X\(//\)$' \| \ 3776 X"$0" : 'X\(/\)$' \| \ 3777 . : '\(.\)' 2>/dev/null || 3778echo X/"$0" | 3779 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 3780 /^X\/\(\/\/\)$/{ s//\1/; q; } 3781 /^X\/\(\/\).*/{ s//\1/; q; } 3782 s/.*/./; q'` 3783 3784 3785# PATH needs CR, and LINENO needs CR and PATH. 3786# Avoid depending upon Character Ranges. 3787as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3788as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3789as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3790as_cr_digits='0123456789' 3791as_cr_alnum=$as_cr_Letters$as_cr_digits 3792 3793# The user is always right. 3794if test "${PATH_SEPARATOR+set}" != set; then 3795 echo "#! /bin/sh" >conf$$.sh 3796 echo "exit 0" >>conf$$.sh 3797 chmod +x conf$$.sh 3798 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 3799 PATH_SEPARATOR=';' 3800 else 3801 PATH_SEPARATOR=: 3802 fi 3803 rm -f conf$$.sh 3804fi 3805 3806 3807 as_lineno_1=$LINENO 3808 as_lineno_2=$LINENO 3809 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3810 test "x$as_lineno_1" != "x$as_lineno_2" && 3811 test "x$as_lineno_3" = "x$as_lineno_2" || { 3812 # Find who we are. Look in the path if we contain no path at all 3813 # relative or not. 3814 case $0 in 3815 *[\\/]* ) as_myself=$0 ;; 3816 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3817for as_dir in $PATH 3818do 3819 IFS=$as_save_IFS 3820 test -z "$as_dir" && as_dir=. 3821 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3822done 3823 3824 ;; 3825 esac 3826 # We did not find ourselves, most probably we were run as `sh COMMAND' 3827 # in which case we are not to be found in the path. 3828 if test "x$as_myself" = x; then 3829 as_myself=$0 3830 fi 3831 if test ! -f "$as_myself"; then 3832 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 3833echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 3834 { (exit 1); exit 1; }; } 3835 fi 3836 case $CONFIG_SHELL in 3837 '') 3838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3839for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 3840do 3841 IFS=$as_save_IFS 3842 test -z "$as_dir" && as_dir=. 3843 for as_base in sh bash ksh sh5; do 3844 case $as_dir in 3845 /*) 3846 if ("$as_dir/$as_base" -c ' 3847 as_lineno_1=$LINENO 3848 as_lineno_2=$LINENO 3849 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 3850 test "x$as_lineno_1" != "x$as_lineno_2" && 3851 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 3852 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 3853 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 3854 CONFIG_SHELL=$as_dir/$as_base 3855 export CONFIG_SHELL 3856 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 3857 fi;; 3858 esac 3859 done 3860done 3861;; 3862 esac 3863 3864 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 3865 # uniformly replaced by the line number. The first 'sed' inserts a 3866 # line-number line before each line; the second 'sed' does the real 3867 # work. The second script uses 'N' to pair each line-number line 3868 # with the numbered line, and appends trailing '-' during 3869 # substitution so that $LINENO is not a special case at line end. 3870 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 3871 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 3872 sed '=' <$as_myself | 3873 sed ' 3874 N 3875 s,$,-, 3876 : loop 3877 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 3878 t loop 3879 s,-$,, 3880 s,^['$as_cr_digits']*\n,, 3881 ' >$as_me.lineno && 3882 chmod +x $as_me.lineno || 3883 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 3884echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 3885 { (exit 1); exit 1; }; } 3886 3887 # Don't try to exec as it changes $[0], causing all sort of problems 3888 # (the dirname of $[0] is not the place where we might find the 3889 # original and so on. Autoconf is especially sensible to this). 3890 . ./$as_me.lineno 3891 # Exit status is that of the last command. 3892 exit 3893} 3894 3895 3896case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 3897 *c*,-n*) ECHO_N= ECHO_C=' 3898' ECHO_T=' ' ;; 3899 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 3900 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 3901esac 3902 3903if expr a : '\(a\)' >/dev/null 2>&1; then 3904 as_expr=expr 3905else 3906 as_expr=false 3907fi 3908 3909rm -f conf$$ conf$$.exe conf$$.file 3910echo >conf$$.file 3911if ln -s conf$$.file conf$$ 2>/dev/null; then 3912 # We could just check for DJGPP; but this test a) works b) is more generic 3913 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 3914 if test -f conf$$.exe; then 3915 # Don't use ln at all; we don't have any links 3916 as_ln_s='cp -p' 3917 else 3918 as_ln_s='ln -s' 3919 fi 3920elif ln conf$$.file conf$$ 2>/dev/null; then 3921 as_ln_s=ln 3922else 3923 as_ln_s='cp -p' 3924fi 3925rm -f conf$$ conf$$.exe conf$$.file 3926 3927if mkdir -p . 2>/dev/null; then 3928 as_mkdir_p=: 3929else 3930 test -d ./-p && rmdir ./-p 3931 as_mkdir_p=false 3932fi 3933 3934as_executable_p="test -f" 3935 3936# Sed expression to map a string onto a valid CPP name. 3937as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3938 3939# Sed expression to map a string onto a valid variable name. 3940as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3941 3942 3943# IFS 3944# We need space, tab and new line, in precisely that order. 3945as_nl=' 3946' 3947IFS=" $as_nl" 3948 3949# CDPATH. 3950$as_unset CDPATH 3951 3952exec 6>&1 3953 3954# Open the log real soon, to keep \$[0] and so on meaningful, and to 3955# report actual input values of CONFIG_FILES etc. instead of their 3956# values after options handling. Logging --version etc. is OK. 3957exec 5>>config.log 3958{ 3959 echo 3960 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 3961@%:@@%:@ Running $as_me. @%:@@%:@ 3962_ASBOX 3963} >&5 3964cat >&5 <<_CSEOF 3965 3966This file was extended by openbubbles $as_me 1.0, which was 3967generated by GNU Autoconf 2.59. Invocation command line was 3968 3969 CONFIG_FILES = $CONFIG_FILES 3970 CONFIG_HEADERS = $CONFIG_HEADERS 3971 CONFIG_LINKS = $CONFIG_LINKS 3972 CONFIG_COMMANDS = $CONFIG_COMMANDS 3973 $ $0 $@ 3974 3975_CSEOF 3976echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 3977echo >&5 3978_ACEOF 3979 3980# Files that config.status was made for. 3981if test -n "$ac_config_files"; then 3982 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 3983fi 3984 3985if test -n "$ac_config_headers"; then 3986 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 3987fi 3988 3989if test -n "$ac_config_links"; then 3990 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 3991fi 3992 3993if test -n "$ac_config_commands"; then 3994 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 3995fi 3996 3997cat >>$CONFIG_STATUS <<\_ACEOF 3998 3999ac_cs_usage="\ 4000\`$as_me' instantiates files from templates according to the 4001current configuration. 4002 4003Usage: $0 [OPTIONS] [FILE]... 4004 4005 -h, --help print this help, then exit 4006 -V, --version print version number, then exit 4007 -q, --quiet do not print progress messages 4008 -d, --debug don't remove temporary files 4009 --recheck update $as_me by reconfiguring in the same conditions 4010 --file=FILE[:TEMPLATE] 4011 instantiate the configuration file FILE 4012 --header=FILE[:TEMPLATE] 4013 instantiate the configuration header FILE 4014 4015Configuration files: 4016$config_files 4017 4018Configuration headers: 4019$config_headers 4020 4021Configuration commands: 4022$config_commands 4023 4024Report bugs to <bug-autoconf@gnu.org>." 4025_ACEOF 4026 4027cat >>$CONFIG_STATUS <<_ACEOF 4028ac_cs_version="\\ 4029openbubbles config.status 1.0 4030configured by $0, generated by GNU Autoconf 2.59, 4031 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 4032 4033Copyright (C) 2003 Free Software Foundation, Inc. 4034This config.status script is free software; the Free Software Foundation 4035gives unlimited permission to copy, distribute and modify it." 4036srcdir=$srcdir 4037INSTALL="$INSTALL" 4038_ACEOF 4039 4040cat >>$CONFIG_STATUS <<\_ACEOF 4041# If no file are specified by the user, then we need to provide default 4042# value. By we need to know if files were specified by the user. 4043ac_need_defaults=: 4044while test $# != 0 4045do 4046 case $1 in 4047 --*=*) 4048 ac_option=`expr "x$1" : 'x\([^=]*\)='` 4049 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 4050 ac_shift=: 4051 ;; 4052 -*) 4053 ac_option=$1 4054 ac_optarg=$2 4055 ac_shift=shift 4056 ;; 4057 *) # This is not an option, so the user has probably given explicit 4058 # arguments. 4059 ac_option=$1 4060 ac_need_defaults=false;; 4061 esac 4062 4063 case $ac_option in 4064 # Handling of the options. 4065_ACEOF 4066cat >>$CONFIG_STATUS <<\_ACEOF 4067 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4068 ac_cs_recheck=: ;; 4069 --version | --vers* | -V ) 4070 echo "$ac_cs_version"; exit 0 ;; 4071 --he | --h) 4072 # Conflict between --help and --header 4073 { { echo "$as_me:$LINENO: error: ambiguous option: $1 4074Try \`$0 --help' for more information." >&5 4075echo "$as_me: error: ambiguous option: $1 4076Try \`$0 --help' for more information." >&2;} 4077 { (exit 1); exit 1; }; };; 4078 --help | --hel | -h ) 4079 echo "$ac_cs_usage"; exit 0 ;; 4080 --debug | --d* | -d ) 4081 debug=: ;; 4082 --file | --fil | --fi | --f ) 4083 $ac_shift 4084 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 4085 ac_need_defaults=false;; 4086 --header | --heade | --head | --hea ) 4087 $ac_shift 4088 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 4089 ac_need_defaults=false;; 4090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4091 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4092 ac_cs_silent=: ;; 4093 4094 # This is an error. 4095 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 4096Try \`$0 --help' for more information." >&5 4097echo "$as_me: error: unrecognized option: $1 4098Try \`$0 --help' for more information." >&2;} 4099 { (exit 1); exit 1; }; } ;; 4100 4101 *) ac_config_targets="$ac_config_targets $1" ;; 4102 4103 esac 4104 shift 4105done 4106 4107ac_configure_extra_args= 4108 4109if $ac_cs_silent; then 4110 exec 6>/dev/null 4111 ac_configure_extra_args="$ac_configure_extra_args --silent" 4112fi 4113 4114_ACEOF 4115cat >>$CONFIG_STATUS <<_ACEOF 4116if \$ac_cs_recheck; then 4117 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 4118 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4119fi 4120 4121_ACEOF 4122 4123cat >>$CONFIG_STATUS <<_ACEOF 4124# 4125# INIT-COMMANDS section. 4126# 4127 4128AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4129 4130_ACEOF 4131 4132 4133 4134cat >>$CONFIG_STATUS <<\_ACEOF 4135for ac_config_target in $ac_config_targets 4136do 4137 case "$ac_config_target" in 4138 # Handling of arguments. 4139 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4140 "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 4141 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 4142 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4143 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 4144 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 4145echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 4146 { (exit 1); exit 1; }; };; 4147 esac 4148done 4149 4150# If the user did not use the arguments to specify the items to instantiate, 4151# then the envvar interface is used. Set only those that are not. 4152# We use the long form for the default assignment because of an extremely 4153# bizarre bug on SunOS 4.1.3. 4154if $ac_need_defaults; then 4155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4156 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 4157 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4158fi 4159 4160# Have a temporary directory for convenience. Make it in the build tree 4161# simply because there is no reason to put it here, and in addition, 4162# creating and moving files from /tmp can sometimes cause problems. 4163# Create a temporary directory, and hook for its removal unless debugging. 4164$debug || 4165{ 4166 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 4167 trap '{ (exit 1); exit 1; }' 1 2 13 15 4168} 4169 4170# Create a (secure) tmp directory for tmp files. 4171 4172{ 4173 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 4174 test -n "$tmp" && test -d "$tmp" 4175} || 4176{ 4177 tmp=./confstat$$-$RANDOM 4178 (umask 077 && mkdir $tmp) 4179} || 4180{ 4181 echo "$me: cannot create a temporary directory in ." >&2 4182 { (exit 1); exit 1; } 4183} 4184 4185_ACEOF 4186 4187cat >>$CONFIG_STATUS <<_ACEOF 4188 4189# 4190# CONFIG_FILES section. 4191# 4192 4193# No need to generate the scripts if there are no CONFIG_FILES. 4194# This happens for instance when ./config.status config.h 4195if test -n "\$CONFIG_FILES"; then 4196 # Protect against being on the right side of a sed subst in config.status. 4197 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 4198 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 4199s,@SHELL@,$SHELL,;t t 4200s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 4201s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 4202s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 4203s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 4204s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 4205s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 4206s,@exec_prefix@,$exec_prefix,;t t 4207s,@prefix@,$prefix,;t t 4208s,@program_transform_name@,$program_transform_name,;t t 4209s,@bindir@,$bindir,;t t 4210s,@sbindir@,$sbindir,;t t 4211s,@libexecdir@,$libexecdir,;t t 4212s,@datadir@,$datadir,;t t 4213s,@sysconfdir@,$sysconfdir,;t t 4214s,@sharedstatedir@,$sharedstatedir,;t t 4215s,@localstatedir@,$localstatedir,;t t 4216s,@libdir@,$libdir,;t t 4217s,@includedir@,$includedir,;t t 4218s,@oldincludedir@,$oldincludedir,;t t 4219s,@infodir@,$infodir,;t t 4220s,@mandir@,$mandir,;t t 4221s,@build_alias@,$build_alias,;t t 4222s,@host_alias@,$host_alias,;t t 4223s,@target_alias@,$target_alias,;t t 4224s,@DEFS@,$DEFS,;t t 4225s,@ECHO_C@,$ECHO_C,;t t 4226s,@ECHO_N@,$ECHO_N,;t t 4227s,@ECHO_T@,$ECHO_T,;t t 4228s,@LIBS@,$LIBS,;t t 4229s,@CXX@,$CXX,;t t 4230s,@CXXFLAGS@,$CXXFLAGS,;t t 4231s,@LDFLAGS@,$LDFLAGS,;t t 4232s,@CPPFLAGS@,$CPPFLAGS,;t t 4233s,@ac_ct_CXX@,$ac_ct_CXX,;t t 4234s,@EXEEXT@,$EXEEXT,;t t 4235s,@OBJEXT@,$OBJEXT,;t t 4236s,@CC@,$CC,;t t 4237s,@CFLAGS@,$CFLAGS,;t t 4238s,@ac_ct_CC@,$ac_ct_CC,;t t 4239s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 4240s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 4241s,@INSTALL_DATA@,$INSTALL_DATA,;t t 4242s,@CYGPATH_W@,$CYGPATH_W,;t t 4243s,@PACKAGE@,$PACKAGE,;t t 4244s,@VERSION@,$VERSION,;t t 4245s,@ACLOCAL@,$ACLOCAL,;t t 4246s,@AUTOCONF@,$AUTOCONF,;t t 4247s,@AUTOMAKE@,$AUTOMAKE,;t t 4248s,@AUTOHEADER@,$AUTOHEADER,;t t 4249s,@MAKEINFO@,$MAKEINFO,;t t 4250s,@install_sh@,$install_sh,;t t 4251s,@STRIP@,$STRIP,;t t 4252s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 4253s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 4254s,@mkdir_p@,$mkdir_p,;t t 4255s,@AWK@,$AWK,;t t 4256s,@SET_MAKE@,$SET_MAKE,;t t 4257s,@am__leading_dot@,$am__leading_dot,;t t 4258s,@AMTAR@,$AMTAR,;t t 4259s,@am__tar@,$am__tar,;t t 4260s,@am__untar@,$am__untar,;t t 4261s,@DEPDIR@,$DEPDIR,;t t 4262s,@am__include@,$am__include,;t t 4263s,@am__quote@,$am__quote,;t t 4264s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 4265s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 4266s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 4267s,@CCDEPMODE@,$CCDEPMODE,;t t 4268s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 4269s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 4270s,@CXXDEPMODE@,$CXXDEPMODE,;t t 4271s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 4272s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 4273s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t 4274s,@LTLIBOBJS@,$LTLIBOBJS,;t t 4275CEOF 4276 4277_ACEOF 4278 4279 cat >>$CONFIG_STATUS <<\_ACEOF 4280 # Split the substitutions into bite-sized pieces for seds with 4281 # small command number limits, like on Digital OSF/1 and HP-UX. 4282 ac_max_sed_lines=48 4283 ac_sed_frag=1 # Number of current file. 4284 ac_beg=1 # First line for current file. 4285 ac_end=$ac_max_sed_lines # Line after last line for current file. 4286 ac_more_lines=: 4287 ac_sed_cmds= 4288 while $ac_more_lines; do 4289 if test $ac_beg -gt 1; then 4290 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4291 else 4292 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 4293 fi 4294 if test ! -s $tmp/subs.frag; then 4295 ac_more_lines=false 4296 else 4297 # The purpose of the label and of the branching condition is to 4298 # speed up the sed processing (if there are no `@' at all, there 4299 # is no need to browse any of the substitutions). 4300 # These are the two extra sed commands mentioned above. 4301 (echo ':t 4302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 4303 if test -z "$ac_sed_cmds"; then 4304 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 4305 else 4306 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 4307 fi 4308 ac_sed_frag=`expr $ac_sed_frag + 1` 4309 ac_beg=$ac_end 4310 ac_end=`expr $ac_end + $ac_max_sed_lines` 4311 fi 4312 done 4313 if test -z "$ac_sed_cmds"; then 4314 ac_sed_cmds=cat 4315 fi 4316fi # test -n "$CONFIG_FILES" 4317 4318_ACEOF 4319cat >>$CONFIG_STATUS <<\_ACEOF 4320for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 4321 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4322 case $ac_file in 4323 - | *:- | *:-:* ) # input from stdin 4324 cat >$tmp/stdin 4325 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4326 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4327 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4328 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4329 * ) ac_file_in=$ac_file.in ;; 4330 esac 4331 4332 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 4333 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4334$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4335 X"$ac_file" : 'X\(//\)[^/]' \| \ 4336 X"$ac_file" : 'X\(//\)$' \| \ 4337 X"$ac_file" : 'X\(/\)' \| \ 4338 . : '\(.\)' 2>/dev/null || 4339echo X"$ac_file" | 4340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4341 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4342 /^X\(\/\/\)$/{ s//\1/; q; } 4343 /^X\(\/\).*/{ s//\1/; q; } 4344 s/.*/./; q'` 4345 { if $as_mkdir_p; then 4346 mkdir -p "$ac_dir" 4347 else 4348 as_dir="$ac_dir" 4349 as_dirs= 4350 while test ! -d "$as_dir"; do 4351 as_dirs="$as_dir $as_dirs" 4352 as_dir=`(dirname "$as_dir") 2>/dev/null || 4353$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4354 X"$as_dir" : 'X\(//\)[^/]' \| \ 4355 X"$as_dir" : 'X\(//\)$' \| \ 4356 X"$as_dir" : 'X\(/\)' \| \ 4357 . : '\(.\)' 2>/dev/null || 4358echo X"$as_dir" | 4359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4360 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4361 /^X\(\/\/\)$/{ s//\1/; q; } 4362 /^X\(\/\).*/{ s//\1/; q; } 4363 s/.*/./; q'` 4364 done 4365 test ! -n "$as_dirs" || mkdir $as_dirs 4366 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4367echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4368 { (exit 1); exit 1; }; }; } 4369 4370 ac_builddir=. 4371 4372if test "$ac_dir" != .; then 4373 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4374 # A "../" for each directory in $ac_dir_suffix. 4375 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4376else 4377 ac_dir_suffix= ac_top_builddir= 4378fi 4379 4380case $srcdir in 4381 .) # No --srcdir option. We are building in place. 4382 ac_srcdir=. 4383 if test -z "$ac_top_builddir"; then 4384 ac_top_srcdir=. 4385 else 4386 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4387 fi ;; 4388 [\\/]* | ?:[\\/]* ) # Absolute path. 4389 ac_srcdir=$srcdir$ac_dir_suffix; 4390 ac_top_srcdir=$srcdir ;; 4391 *) # Relative path. 4392 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4393 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4394esac 4395 4396# Do not use `cd foo && pwd` to compute absolute paths, because 4397# the directories may not exist. 4398case `pwd` in 4399.) ac_abs_builddir="$ac_dir";; 4400*) 4401 case "$ac_dir" in 4402 .) ac_abs_builddir=`pwd`;; 4403 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4404 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4405 esac;; 4406esac 4407case $ac_abs_builddir in 4408.) ac_abs_top_builddir=${ac_top_builddir}.;; 4409*) 4410 case ${ac_top_builddir}. in 4411 .) ac_abs_top_builddir=$ac_abs_builddir;; 4412 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4413 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4414 esac;; 4415esac 4416case $ac_abs_builddir in 4417.) ac_abs_srcdir=$ac_srcdir;; 4418*) 4419 case $ac_srcdir in 4420 .) ac_abs_srcdir=$ac_abs_builddir;; 4421 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4422 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4423 esac;; 4424esac 4425case $ac_abs_builddir in 4426.) ac_abs_top_srcdir=$ac_top_srcdir;; 4427*) 4428 case $ac_top_srcdir in 4429 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4430 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4431 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4432 esac;; 4433esac 4434 4435 4436 case $INSTALL in 4437 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4438 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 4439 esac 4440 4441 if test x"$ac_file" != x-; then 4442 { echo "$as_me:$LINENO: creating $ac_file" >&5 4443echo "$as_me: creating $ac_file" >&6;} 4444 rm -f "$ac_file" 4445 fi 4446 # Let's still pretend it is `configure' which instantiates (i.e., don't 4447 # use $as_me), people would be surprised to read: 4448 # /* config.h. Generated by config.status. */ 4449 if test x"$ac_file" = x-; then 4450 configure_input= 4451 else 4452 configure_input="$ac_file. " 4453 fi 4454 configure_input=$configure_input"Generated from `echo $ac_file_in | 4455 sed 's,.*/,,'` by configure." 4456 4457 # First look for the input files in the build tree, otherwise in the 4458 # src tree. 4459 ac_file_inputs=`IFS=: 4460 for f in $ac_file_in; do 4461 case $f in 4462 -) echo $tmp/stdin ;; 4463 [\\/$]*) 4464 # Absolute (can't be DOS-style, as IFS=:) 4465 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4466echo "$as_me: error: cannot find input file: $f" >&2;} 4467 { (exit 1); exit 1; }; } 4468 echo "$f";; 4469 *) # Relative 4470 if test -f "$f"; then 4471 # Build tree 4472 echo "$f" 4473 elif test -f "$srcdir/$f"; then 4474 # Source tree 4475 echo "$srcdir/$f" 4476 else 4477 # /dev/null tree 4478 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4479echo "$as_me: error: cannot find input file: $f" >&2;} 4480 { (exit 1); exit 1; }; } 4481 fi;; 4482 esac 4483 done` || { (exit 1); exit 1; } 4484_ACEOF 4485cat >>$CONFIG_STATUS <<_ACEOF 4486 sed "$ac_vpsub 4487$extrasub 4488_ACEOF 4489cat >>$CONFIG_STATUS <<\_ACEOF 4490:t 4491/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4492s,@configure_input@,$configure_input,;t t 4493s,@srcdir@,$ac_srcdir,;t t 4494s,@abs_srcdir@,$ac_abs_srcdir,;t t 4495s,@top_srcdir@,$ac_top_srcdir,;t t 4496s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 4497s,@builddir@,$ac_builddir,;t t 4498s,@abs_builddir@,$ac_abs_builddir,;t t 4499s,@top_builddir@,$ac_top_builddir,;t t 4500s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 4501s,@INSTALL@,$ac_INSTALL,;t t 4502" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 4503 rm -f $tmp/stdin 4504 if test x"$ac_file" != x-; then 4505 mv $tmp/out $ac_file 4506 else 4507 cat $tmp/out 4508 rm -f $tmp/out 4509 fi 4510 4511done 4512_ACEOF 4513cat >>$CONFIG_STATUS <<\_ACEOF 4514 4515# 4516# CONFIG_HEADER section. 4517# 4518 4519# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 4520# NAME is the cpp macro being defined and VALUE is the value it is being given. 4521# 4522# ac_d sets the value in "#define NAME VALUE" lines. 4523ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 4524ac_dB='[ ].*$,\1#\2' 4525ac_dC=' ' 4526ac_dD=',;t' 4527# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 4528ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 4529ac_uB='$,\1#\2define\3' 4530ac_uC=' ' 4531ac_uD=',;t' 4532 4533for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 4534 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 4535 case $ac_file in 4536 - | *:- | *:-:* ) # input from stdin 4537 cat >$tmp/stdin 4538 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4539 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4540 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 4541 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 4542 * ) ac_file_in=$ac_file.in ;; 4543 esac 4544 4545 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 4546echo "$as_me: creating $ac_file" >&6;} 4547 4548 # First look for the input files in the build tree, otherwise in the 4549 # src tree. 4550 ac_file_inputs=`IFS=: 4551 for f in $ac_file_in; do 4552 case $f in 4553 -) echo $tmp/stdin ;; 4554 [\\/$]*) 4555 # Absolute (can't be DOS-style, as IFS=:) 4556 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4557echo "$as_me: error: cannot find input file: $f" >&2;} 4558 { (exit 1); exit 1; }; } 4559 # Do quote $f, to prevent DOS paths from being IFS'd. 4560 echo "$f";; 4561 *) # Relative 4562 if test -f "$f"; then 4563 # Build tree 4564 echo "$f" 4565 elif test -f "$srcdir/$f"; then 4566 # Source tree 4567 echo "$srcdir/$f" 4568 else 4569 # /dev/null tree 4570 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 4571echo "$as_me: error: cannot find input file: $f" >&2;} 4572 { (exit 1); exit 1; }; } 4573 fi;; 4574 esac 4575 done` || { (exit 1); exit 1; } 4576 # Remove the trailing spaces. 4577 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 4578 4579_ACEOF 4580 4581# Transform confdefs.h into two sed scripts, `conftest.defines' and 4582# `conftest.undefs', that substitutes the proper values into 4583# config.h.in to produce config.h. The first handles `#define' 4584# templates, and the second `#undef' templates. 4585# And first: Protect against being on the right side of a sed subst in 4586# config.status. Protect against being in an unquoted here document 4587# in config.status. 4588rm -f conftest.defines conftest.undefs 4589# Using a here document instead of a string reduces the quoting nightmare. 4590# Putting comments in sed scripts is not portable. 4591# 4592# `end' is used to avoid that the second main sed command (meant for 4593# 0-ary CPP macros) applies to n-ary macro definitions. 4594# See the Autoconf documentation for `clear'. 4595cat >confdef2sed.sed <<\_ACEOF 4596s/[\\&,]/\\&/g 4597s,[\\$`],\\&,g 4598t clear 4599: clear 4600s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 4601t end 4602s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 4603: end 4604_ACEOF 4605# If some macros were called several times there might be several times 4606# the same #defines, which is useless. Nevertheless, we may not want to 4607# sort them, since we want the *last* AC-DEFINE to be honored. 4608uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 4609sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 4610rm -f confdef2sed.sed 4611 4612# This sed command replaces #undef with comments. This is necessary, for 4613# example, in the case of _POSIX_SOURCE, which is predefined and required 4614# on some systems where configure will not decide to define it. 4615cat >>conftest.undefs <<\_ACEOF 4616s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 4617_ACEOF 4618 4619# Break up conftest.defines because some shells have a limit on the size 4620# of here documents, and old seds have small limits too (100 cmds). 4621echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 4622echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 4623echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 4624echo ' :' >>$CONFIG_STATUS 4625rm -f conftest.tail 4626while grep . conftest.defines >/dev/null 4627do 4628 # Write a limited-size here document to $tmp/defines.sed. 4629 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 4630 # Speed up: don't consider the non `#define' lines. 4631 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 4632 # Work around the forget-to-reset-the-flag bug. 4633 echo 't clr' >>$CONFIG_STATUS 4634 echo ': clr' >>$CONFIG_STATUS 4635 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 4636 echo 'CEOF 4637 sed -f $tmp/defines.sed $tmp/in >$tmp/out 4638 rm -f $tmp/in 4639 mv $tmp/out $tmp/in 4640' >>$CONFIG_STATUS 4641 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 4642 rm -f conftest.defines 4643 mv conftest.tail conftest.defines 4644done 4645rm -f conftest.defines 4646echo ' fi # grep' >>$CONFIG_STATUS 4647echo >>$CONFIG_STATUS 4648 4649# Break up conftest.undefs because some shells have a limit on the size 4650# of here documents, and old seds have small limits too (100 cmds). 4651echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 4652rm -f conftest.tail 4653while grep . conftest.undefs >/dev/null 4654do 4655 # Write a limited-size here document to $tmp/undefs.sed. 4656 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 4657 # Speed up: don't consider the non `#undef' 4658 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 4659 # Work around the forget-to-reset-the-flag bug. 4660 echo 't clr' >>$CONFIG_STATUS 4661 echo ': clr' >>$CONFIG_STATUS 4662 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 4663 echo 'CEOF 4664 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 4665 rm -f $tmp/in 4666 mv $tmp/out $tmp/in 4667' >>$CONFIG_STATUS 4668 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 4669 rm -f conftest.undefs 4670 mv conftest.tail conftest.undefs 4671done 4672rm -f conftest.undefs 4673 4674cat >>$CONFIG_STATUS <<\_ACEOF 4675 # Let's still pretend it is `configure' which instantiates (i.e., don't 4676 # use $as_me), people would be surprised to read: 4677 # /* config.h. Generated by config.status. */ 4678 if test x"$ac_file" = x-; then 4679 echo "/* Generated by configure. */" >$tmp/config.h 4680 else 4681 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 4682 fi 4683 cat $tmp/in >>$tmp/config.h 4684 rm -f $tmp/in 4685 if test x"$ac_file" != x-; then 4686 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 4687 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 4688echo "$as_me: $ac_file is unchanged" >&6;} 4689 else 4690 ac_dir=`(dirname "$ac_file") 2>/dev/null || 4691$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4692 X"$ac_file" : 'X\(//\)[^/]' \| \ 4693 X"$ac_file" : 'X\(//\)$' \| \ 4694 X"$ac_file" : 'X\(/\)' \| \ 4695 . : '\(.\)' 2>/dev/null || 4696echo X"$ac_file" | 4697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4698 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4699 /^X\(\/\/\)$/{ s//\1/; q; } 4700 /^X\(\/\).*/{ s//\1/; q; } 4701 s/.*/./; q'` 4702 { if $as_mkdir_p; then 4703 mkdir -p "$ac_dir" 4704 else 4705 as_dir="$ac_dir" 4706 as_dirs= 4707 while test ! -d "$as_dir"; do 4708 as_dirs="$as_dir $as_dirs" 4709 as_dir=`(dirname "$as_dir") 2>/dev/null || 4710$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4711 X"$as_dir" : 'X\(//\)[^/]' \| \ 4712 X"$as_dir" : 'X\(//\)$' \| \ 4713 X"$as_dir" : 'X\(/\)' \| \ 4714 . : '\(.\)' 2>/dev/null || 4715echo X"$as_dir" | 4716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4718 /^X\(\/\/\)$/{ s//\1/; q; } 4719 /^X\(\/\).*/{ s//\1/; q; } 4720 s/.*/./; q'` 4721 done 4722 test ! -n "$as_dirs" || mkdir $as_dirs 4723 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4724echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4725 { (exit 1); exit 1; }; }; } 4726 4727 rm -f $ac_file 4728 mv $tmp/config.h $ac_file 4729 fi 4730 else 4731 cat $tmp/config.h 4732 rm -f $tmp/config.h 4733 fi 4734# Compute $ac_file's index in $config_headers. 4735_am_stamp_count=1 4736for _am_header in $config_headers :; do 4737 case $_am_header in 4738 $ac_file | $ac_file:* ) 4739 break ;; 4740 * ) 4741 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 4742 esac 4743done 4744echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 4745$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4746 X$ac_file : 'X\(//\)[^/]' \| \ 4747 X$ac_file : 'X\(//\)$' \| \ 4748 X$ac_file : 'X\(/\)' \| \ 4749 . : '\(.\)' 2>/dev/null || 4750echo X$ac_file | 4751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4752 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4753 /^X\(\/\/\)$/{ s//\1/; q; } 4754 /^X\(\/\).*/{ s//\1/; q; } 4755 s/.*/./; q'`/stamp-h$_am_stamp_count 4756done 4757_ACEOF 4758cat >>$CONFIG_STATUS <<\_ACEOF 4759 4760# 4761# CONFIG_COMMANDS section. 4762# 4763for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 4764 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 4765 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 4766 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 4767$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4768 X"$ac_dest" : 'X\(//\)[^/]' \| \ 4769 X"$ac_dest" : 'X\(//\)$' \| \ 4770 X"$ac_dest" : 'X\(/\)' \| \ 4771 . : '\(.\)' 2>/dev/null || 4772echo X"$ac_dest" | 4773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4774 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4775 /^X\(\/\/\)$/{ s//\1/; q; } 4776 /^X\(\/\).*/{ s//\1/; q; } 4777 s/.*/./; q'` 4778 { if $as_mkdir_p; then 4779 mkdir -p "$ac_dir" 4780 else 4781 as_dir="$ac_dir" 4782 as_dirs= 4783 while test ! -d "$as_dir"; do 4784 as_dirs="$as_dir $as_dirs" 4785 as_dir=`(dirname "$as_dir") 2>/dev/null || 4786$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4787 X"$as_dir" : 'X\(//\)[^/]' \| \ 4788 X"$as_dir" : 'X\(//\)$' \| \ 4789 X"$as_dir" : 'X\(/\)' \| \ 4790 . : '\(.\)' 2>/dev/null || 4791echo X"$as_dir" | 4792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4793 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4794 /^X\(\/\/\)$/{ s//\1/; q; } 4795 /^X\(\/\).*/{ s//\1/; q; } 4796 s/.*/./; q'` 4797 done 4798 test ! -n "$as_dirs" || mkdir $as_dirs 4799 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 4800echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 4801 { (exit 1); exit 1; }; }; } 4802 4803 ac_builddir=. 4804 4805if test "$ac_dir" != .; then 4806 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 4807 # A "../" for each directory in $ac_dir_suffix. 4808 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 4809else 4810 ac_dir_suffix= ac_top_builddir= 4811fi 4812 4813case $srcdir in 4814 .) # No --srcdir option. We are building in place. 4815 ac_srcdir=. 4816 if test -z "$ac_top_builddir"; then 4817 ac_top_srcdir=. 4818 else 4819 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 4820 fi ;; 4821 [\\/]* | ?:[\\/]* ) # Absolute path. 4822 ac_srcdir=$srcdir$ac_dir_suffix; 4823 ac_top_srcdir=$srcdir ;; 4824 *) # Relative path. 4825 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 4826 ac_top_srcdir=$ac_top_builddir$srcdir ;; 4827esac 4828 4829# Do not use `cd foo && pwd` to compute absolute paths, because 4830# the directories may not exist. 4831case `pwd` in 4832.) ac_abs_builddir="$ac_dir";; 4833*) 4834 case "$ac_dir" in 4835 .) ac_abs_builddir=`pwd`;; 4836 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 4837 *) ac_abs_builddir=`pwd`/"$ac_dir";; 4838 esac;; 4839esac 4840case $ac_abs_builddir in 4841.) ac_abs_top_builddir=${ac_top_builddir}.;; 4842*) 4843 case ${ac_top_builddir}. in 4844 .) ac_abs_top_builddir=$ac_abs_builddir;; 4845 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 4846 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 4847 esac;; 4848esac 4849case $ac_abs_builddir in 4850.) ac_abs_srcdir=$ac_srcdir;; 4851*) 4852 case $ac_srcdir in 4853 .) ac_abs_srcdir=$ac_abs_builddir;; 4854 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 4855 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 4856 esac;; 4857esac 4858case $ac_abs_builddir in 4859.) ac_abs_top_srcdir=$ac_top_srcdir;; 4860*) 4861 case $ac_top_srcdir in 4862 .) ac_abs_top_srcdir=$ac_abs_builddir;; 4863 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 4864 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 4865 esac;; 4866esac 4867 4868 4869 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 4870echo "$as_me: executing $ac_dest commands" >&6;} 4871 case $ac_dest in 4872 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 4873 # Strip MF so we end up with the name of the file. 4874 mf=`echo "$mf" | sed -e 's/:.*$//'` 4875 # Check whether this is an Automake generated Makefile or not. 4876 # We used to match only the files named `Makefile.in', but 4877 # some people rename them; so instead we look at the file content. 4878 # Grep'ing the first line is not enough: some people post-process 4879 # each Makefile.in and add a new line on top of each file to say so. 4880 # So let's grep whole file. 4881 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 4882 dirpart=`(dirname "$mf") 2>/dev/null || 4883$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4884 X"$mf" : 'X\(//\)[^/]' \| \ 4885 X"$mf" : 'X\(//\)$' \| \ 4886 X"$mf" : 'X\(/\)' \| \ 4887 . : '\(.\)' 2>/dev/null || 4888echo X"$mf" | 4889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4890 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4891 /^X\(\/\/\)$/{ s//\1/; q; } 4892 /^X\(\/\).*/{ s//\1/; q; } 4893 s/.*/./; q'` 4894 else 4895 continue 4896 fi 4897 # Extract the definition of DEPDIR, am__include, and am__quote 4898 # from the Makefile without running `make'. 4899 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 4900 test -z "$DEPDIR" && continue 4901 am__include=`sed -n 's/^am__include = //p' < "$mf"` 4902 test -z "am__include" && continue 4903 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 4904 # When using ansi2knr, U may be empty or an underscore; expand it 4905 U=`sed -n 's/^U = //p' < "$mf"` 4906 # Find all dependency output files, they are included files with 4907 # $(DEPDIR) in their names. We invoke sed twice because it is the 4908 # simplest approach to changing $(DEPDIR) to its actual value in the 4909 # expansion. 4910 for file in `sed -n " 4911 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 4912 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 4913 # Make sure the directory exists. 4914 test -f "$dirpart/$file" && continue 4915 fdir=`(dirname "$file") 2>/dev/null || 4916$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4917 X"$file" : 'X\(//\)[^/]' \| \ 4918 X"$file" : 'X\(//\)$' \| \ 4919 X"$file" : 'X\(/\)' \| \ 4920 . : '\(.\)' 2>/dev/null || 4921echo X"$file" | 4922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4923 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4924 /^X\(\/\/\)$/{ s//\1/; q; } 4925 /^X\(\/\).*/{ s//\1/; q; } 4926 s/.*/./; q'` 4927 { if $as_mkdir_p; then 4928 mkdir -p $dirpart/$fdir 4929 else 4930 as_dir=$dirpart/$fdir 4931 as_dirs= 4932 while test ! -d "$as_dir"; do 4933 as_dirs="$as_dir $as_dirs" 4934 as_dir=`(dirname "$as_dir") 2>/dev/null || 4935$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4936 X"$as_dir" : 'X\(//\)[^/]' \| \ 4937 X"$as_dir" : 'X\(//\)$' \| \ 4938 X"$as_dir" : 'X\(/\)' \| \ 4939 . : '\(.\)' 2>/dev/null || 4940echo X"$as_dir" | 4941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 4942 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 4943 /^X\(\/\/\)$/{ s//\1/; q; } 4944 /^X\(\/\).*/{ s//\1/; q; } 4945 s/.*/./; q'` 4946 done 4947 test ! -n "$as_dirs" || mkdir $as_dirs 4948 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 4949echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 4950 { (exit 1); exit 1; }; }; } 4951 4952 # echo "creating $dirpart/$file" 4953 echo '# dummy' > "$dirpart/$file" 4954 done 4955done 4956 ;; 4957 esac 4958done 4959_ACEOF 4960 4961cat >>$CONFIG_STATUS <<\_ACEOF 4962 4963{ (exit 0); exit 0; } 4964_ACEOF 4965chmod +x $CONFIG_STATUS 4966ac_clean_files=$ac_clean_files_save 4967 4968 4969# configure is writing to config.log, and then calls config.status. 4970# config.status does its own redirection, appending to config.log. 4971# Unfortunately, on DOS this fails, as config.log is still kept open 4972# by configure, so config.status won't be able to write to it; its 4973# output is simply discarded. So we exec the FD to /dev/null, 4974# effectively closing config.log, so it can be properly (re)opened and 4975# appended to by config.status. When coming back to configure, we 4976# need to make the FD available again. 4977if test "$no_create" != yes; then 4978 ac_cs_success=: 4979 ac_config_status_args= 4980 test "$silent" = yes && 4981 ac_config_status_args="$ac_config_status_args --quiet" 4982 exec 5>/dev/null 4983 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4984 exec 5>>config.log 4985 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4986 # would make configure fail if this is the last instruction. 4987 $ac_cs_success || { (exit 1); exit 1; } 4988fi 4989 4990