1@%:@! /bin/sh 2@%:@ Guess values for system-dependent variables and create Makefiles. 3@%:@ Generated by GNU Autoconf 2.59 for openbubbles 0.1. 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='0.1' 271PACKAGE_STRING='openbubbles 0.1' 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH 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 731 732# 733# Report the --help message. 734# 735if test "$ac_init_help" = "long"; then 736 # Omit some internal or obsolete options to make the list less imposing. 737 # This message is too long to be a string in the A/UX 3.1 sh. 738 cat <<_ACEOF 739\`configure' configures openbubbles 0.1 to adapt to many kinds of systems. 740 741Usage: $0 [OPTION]... [VAR=VALUE]... 742 743To assign environment variables (e.g., CC, CFLAGS...), specify them as 744VAR=VALUE. See below for descriptions of some of the useful variables. 745 746Defaults for the options are specified in brackets. 747 748Configuration: 749 -h, --help display this help and exit 750 --help=short display options specific to this package 751 --help=recursive display the short help of all the included packages 752 -V, --version display version information and exit 753 -q, --quiet, --silent do not print \`checking...' messages 754 --cache-file=FILE cache test results in FILE [disabled] 755 -C, --config-cache alias for \`--cache-file=config.cache' 756 -n, --no-create do not create output files 757 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 758 759_ACEOF 760 761 cat <<_ACEOF 762Installation directories: 763 --prefix=PREFIX install architecture-independent files in PREFIX 764 [$ac_default_prefix] 765 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 766 [PREFIX] 767 768By default, \`make install' will install all the files in 769\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 770an installation prefix other than \`$ac_default_prefix' using \`--prefix', 771for instance \`--prefix=\$HOME'. 772 773For better control, use the options below. 774 775Fine tuning of the installation directories: 776 --bindir=DIR user executables [EPREFIX/bin] 777 --sbindir=DIR system admin executables [EPREFIX/sbin] 778 --libexecdir=DIR program executables [EPREFIX/libexec] 779 --datadir=DIR read-only architecture-independent data [PREFIX/share] 780 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 781 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 782 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 783 --libdir=DIR object code libraries [EPREFIX/lib] 784 --includedir=DIR C header files [PREFIX/include] 785 --oldincludedir=DIR C header files for non-gcc [/usr/include] 786 --infodir=DIR info documentation [PREFIX/info] 787 --mandir=DIR man documentation [PREFIX/man] 788_ACEOF 789 790 cat <<\_ACEOF 791 792Program names: 793 --program-prefix=PREFIX prepend PREFIX to installed program names 794 --program-suffix=SUFFIX append SUFFIX to installed program names 795 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 796_ACEOF 797fi 798 799if test -n "$ac_init_help"; then 800 case $ac_init_help in 801 short | recursive ) echo "Configuration of openbubbles 0.1:";; 802 esac 803 cat <<\_ACEOF 804 805Optional Features: 806 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 807 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 808 --disable-dependency-tracking speeds up one-time build 809 --enable-dependency-tracking do not reject slow dependency extractors 810 811Some influential environment variables: 812 CXX C++ compiler command 813 CXXFLAGS C++ compiler flags 814 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 815 nonstandard directory <lib dir> 816 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 817 headers in a nonstandard directory <include dir> 818 819Use these variables to override the choices made by `configure' or to help 820it to find libraries and programs with nonstandard names/locations. 821 822_ACEOF 823fi 824 825if test "$ac_init_help" = "recursive"; then 826 # If there are subdirs, report their specific --help. 827 ac_popdir=`pwd` 828 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 829 test -d $ac_dir || continue 830 ac_builddir=. 831 832if test "$ac_dir" != .; then 833 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 834 # A "../" for each directory in $ac_dir_suffix. 835 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 836else 837 ac_dir_suffix= ac_top_builddir= 838fi 839 840case $srcdir in 841 .) # No --srcdir option. We are building in place. 842 ac_srcdir=. 843 if test -z "$ac_top_builddir"; then 844 ac_top_srcdir=. 845 else 846 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 847 fi ;; 848 [\\/]* | ?:[\\/]* ) # Absolute path. 849 ac_srcdir=$srcdir$ac_dir_suffix; 850 ac_top_srcdir=$srcdir ;; 851 *) # Relative path. 852 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 853 ac_top_srcdir=$ac_top_builddir$srcdir ;; 854esac 855 856# Do not use `cd foo && pwd` to compute absolute paths, because 857# the directories may not exist. 858case `pwd` in 859.) ac_abs_builddir="$ac_dir";; 860*) 861 case "$ac_dir" in 862 .) ac_abs_builddir=`pwd`;; 863 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 864 *) ac_abs_builddir=`pwd`/"$ac_dir";; 865 esac;; 866esac 867case $ac_abs_builddir in 868.) ac_abs_top_builddir=${ac_top_builddir}.;; 869*) 870 case ${ac_top_builddir}. in 871 .) ac_abs_top_builddir=$ac_abs_builddir;; 872 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 873 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 874 esac;; 875esac 876case $ac_abs_builddir in 877.) ac_abs_srcdir=$ac_srcdir;; 878*) 879 case $ac_srcdir in 880 .) ac_abs_srcdir=$ac_abs_builddir;; 881 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 882 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 883 esac;; 884esac 885case $ac_abs_builddir in 886.) ac_abs_top_srcdir=$ac_top_srcdir;; 887*) 888 case $ac_top_srcdir in 889 .) ac_abs_top_srcdir=$ac_abs_builddir;; 890 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 891 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 892 esac;; 893esac 894 895 cd $ac_dir 896 # Check for guested configure; otherwise get Cygnus style configure. 897 if test -f $ac_srcdir/configure.gnu; then 898 echo 899 $SHELL $ac_srcdir/configure.gnu --help=recursive 900 elif test -f $ac_srcdir/configure; then 901 echo 902 $SHELL $ac_srcdir/configure --help=recursive 903 elif test -f $ac_srcdir/configure.ac || 904 test -f $ac_srcdir/configure.in; then 905 echo 906 $ac_configure --help 907 else 908 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 909 fi 910 cd $ac_popdir 911 done 912fi 913 914test -n "$ac_init_help" && exit 0 915if $ac_init_version; then 916 cat <<\_ACEOF 917openbubbles configure 0.1 918generated by GNU Autoconf 2.59 919 920Copyright (C) 2003 Free Software Foundation, Inc. 921This configure script is free software; the Free Software Foundation 922gives unlimited permission to copy, distribute and modify it. 923_ACEOF 924 exit 0 925fi 926exec 5>config.log 927cat >&5 <<_ACEOF 928This file contains any messages produced by compilers while 929running configure, to aid debugging if configure makes a mistake. 930 931It was created by openbubbles $as_me 0.1, which was 932generated by GNU Autoconf 2.59. Invocation command line was 933 934 $ $0 $@ 935 936_ACEOF 937{ 938cat <<_ASUNAME 939@%:@@%:@ --------- @%:@@%:@ 940@%:@@%:@ Platform. @%:@@%:@ 941@%:@@%:@ --------- @%:@@%:@ 942 943hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 944uname -m = `(uname -m) 2>/dev/null || echo unknown` 945uname -r = `(uname -r) 2>/dev/null || echo unknown` 946uname -s = `(uname -s) 2>/dev/null || echo unknown` 947uname -v = `(uname -v) 2>/dev/null || echo unknown` 948 949/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 950/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 951 952/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 953/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 954/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 955hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 956/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 957/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 958/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 959 960_ASUNAME 961 962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 963for as_dir in $PATH 964do 965 IFS=$as_save_IFS 966 test -z "$as_dir" && as_dir=. 967 echo "PATH: $as_dir" 968done 969 970} >&5 971 972cat >&5 <<_ACEOF 973 974 975@%:@@%:@ ----------- @%:@@%:@ 976@%:@@%:@ Core tests. @%:@@%:@ 977@%:@@%:@ ----------- @%:@@%:@ 978 979_ACEOF 980 981 982# Keep a trace of the command line. 983# Strip out --no-create and --no-recursion so they do not pile up. 984# Strip out --silent because we don't want to record it for future runs. 985# Also quote any args containing shell meta-characters. 986# Make two passes to allow for proper duplicate-argument suppression. 987ac_configure_args= 988ac_configure_args0= 989ac_configure_args1= 990ac_sep= 991ac_must_keep_next=false 992for ac_pass in 1 2 993do 994 for ac_arg 995 do 996 case $ac_arg in 997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 999 | -silent | --silent | --silen | --sile | --sil) 1000 continue ;; 1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1003 esac 1004 case $ac_pass in 1005 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1006 2) 1007 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1008 if test $ac_must_keep_next = true; then 1009 ac_must_keep_next=false # Got value, back to normal. 1010 else 1011 case $ac_arg in 1012 *=* | --config-cache | -C | -disable-* | --disable-* \ 1013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1015 | -with-* | --with-* | -without-* | --without-* | --x) 1016 case "$ac_configure_args0 " in 1017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1018 esac 1019 ;; 1020 -* ) ac_must_keep_next=true ;; 1021 esac 1022 fi 1023 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1024 # Get rid of the leading space. 1025 ac_sep=" " 1026 ;; 1027 esac 1028 done 1029done 1030$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1031$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1032 1033# When interrupted or exit'd, cleanup temporary files, and complete 1034# config.log. We remove comments because anyway the quotes in there 1035# would cause problems or look ugly. 1036# WARNING: Be sure not to use single quotes in there, as some shells, 1037# such as our DU 5.0 friend, will then `close' the trap. 1038trap 'exit_status=$? 1039 # Save into config.log some information that might help in debugging. 1040 { 1041 echo 1042 1043 cat <<\_ASBOX 1044@%:@@%:@ ---------------- @%:@@%:@ 1045@%:@@%:@ Cache variables. @%:@@%:@ 1046@%:@@%:@ ---------------- @%:@@%:@ 1047_ASBOX 1048 echo 1049 # The following way of writing the cache mishandles newlines in values, 1050{ 1051 (set) 2>&1 | 1052 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1053 *ac_space=\ *) 1054 sed -n \ 1055 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1057 ;; 1058 *) 1059 sed -n \ 1060 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1061 ;; 1062 esac; 1063} 1064 echo 1065 1066 cat <<\_ASBOX 1067@%:@@%:@ ----------------- @%:@@%:@ 1068@%:@@%:@ Output variables. @%:@@%:@ 1069@%:@@%:@ ----------------- @%:@@%:@ 1070_ASBOX 1071 echo 1072 for ac_var in $ac_subst_vars 1073 do 1074 eval ac_val=$`echo $ac_var` 1075 echo "$ac_var='"'"'$ac_val'"'"'" 1076 done | sort 1077 echo 1078 1079 if test -n "$ac_subst_files"; then 1080 cat <<\_ASBOX 1081@%:@@%:@ ------------- @%:@@%:@ 1082@%:@@%:@ Output files. @%:@@%:@ 1083@%:@@%:@ ------------- @%:@@%:@ 1084_ASBOX 1085 echo 1086 for ac_var in $ac_subst_files 1087 do 1088 eval ac_val=$`echo $ac_var` 1089 echo "$ac_var='"'"'$ac_val'"'"'" 1090 done | sort 1091 echo 1092 fi 1093 1094 if test -s confdefs.h; then 1095 cat <<\_ASBOX 1096@%:@@%:@ ----------- @%:@@%:@ 1097@%:@@%:@ confdefs.h. @%:@@%:@ 1098@%:@@%:@ ----------- @%:@@%:@ 1099_ASBOX 1100 echo 1101 sed "/^$/d" confdefs.h | sort 1102 echo 1103 fi 1104 test "$ac_signal" != 0 && 1105 echo "$as_me: caught signal $ac_signal" 1106 echo "$as_me: exit $exit_status" 1107 } >&5 1108 rm -f core *.core && 1109 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1110 exit $exit_status 1111 ' 0 1112for ac_signal in 1 2 13 15; do 1113 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1114done 1115ac_signal=0 1116 1117# confdefs.h avoids OS command line length limits that DEFS can exceed. 1118rm -rf conftest* confdefs.h 1119# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1120echo >confdefs.h 1121 1122# Predefined preprocessor variables. 1123 1124cat >>confdefs.h <<_ACEOF 1125@%:@define PACKAGE_NAME "$PACKAGE_NAME" 1126_ACEOF 1127 1128 1129cat >>confdefs.h <<_ACEOF 1130@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1131_ACEOF 1132 1133 1134cat >>confdefs.h <<_ACEOF 1135@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" 1136_ACEOF 1137 1138 1139cat >>confdefs.h <<_ACEOF 1140@%:@define PACKAGE_STRING "$PACKAGE_STRING" 1141_ACEOF 1142 1143 1144cat >>confdefs.h <<_ACEOF 1145@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1146_ACEOF 1147 1148 1149# Let the site file select an alternate cache file if it wants to. 1150# Prefer explicitly selected file to automatically selected ones. 1151if test -z "$CONFIG_SITE"; then 1152 if test "x$prefix" != xNONE; then 1153 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1154 else 1155 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1156 fi 1157fi 1158for ac_site_file in $CONFIG_SITE; do 1159 if test -r "$ac_site_file"; then 1160 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1161echo "$as_me: loading site script $ac_site_file" >&6;} 1162 sed 's/^/| /' "$ac_site_file" >&5 1163 . "$ac_site_file" 1164 fi 1165done 1166 1167if test -r "$cache_file"; then 1168 # Some versions of bash will fail to source /dev/null (special 1169 # files actually), so we avoid doing that. 1170 if test -f "$cache_file"; then 1171 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1172echo "$as_me: loading cache $cache_file" >&6;} 1173 case $cache_file in 1174 [\\/]* | ?:[\\/]* ) . $cache_file;; 1175 *) . ./$cache_file;; 1176 esac 1177 fi 1178else 1179 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1180echo "$as_me: creating cache $cache_file" >&6;} 1181 >$cache_file 1182fi 1183 1184# Check that the precious variables saved in the cache have kept the same 1185# value. 1186ac_cache_corrupted=false 1187for ac_var in `(set) 2>&1 | 1188 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1189 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1190 eval ac_new_set=\$ac_env_${ac_var}_set 1191 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1192 eval ac_new_val="\$ac_env_${ac_var}_value" 1193 case $ac_old_set,$ac_new_set in 1194 set,) 1195 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1196echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1197 ac_cache_corrupted=: ;; 1198 ,set) 1199 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1200echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1201 ac_cache_corrupted=: ;; 1202 ,);; 1203 *) 1204 if test "x$ac_old_val" != "x$ac_new_val"; then 1205 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1206echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1207 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1208echo "$as_me: former value: $ac_old_val" >&2;} 1209 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1210echo "$as_me: current value: $ac_new_val" >&2;} 1211 ac_cache_corrupted=: 1212 fi;; 1213 esac 1214 # Pass precious variables to config.status. 1215 if test "$ac_new_set" = set; then 1216 case $ac_new_val in 1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1218 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1219 *) ac_arg=$ac_var=$ac_new_val ;; 1220 esac 1221 case " $ac_configure_args " in 1222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1223 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1224 esac 1225 fi 1226done 1227if $ac_cache_corrupted; then 1228 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1229echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1230 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1231echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1232 { (exit 1); exit 1; }; } 1233fi 1234 1235ac_ext=c 1236ac_cpp='$CPP $CPPFLAGS' 1237ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1238ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1239ac_compiler_gnu=$ac_cv_c_compiler_gnu 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267ac_ext=cc 1268ac_cpp='$CXXCPP $CPPFLAGS' 1269ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1270ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1271ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1272if test -n "$ac_tool_prefix"; then 1273 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1274 do 1275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1276set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1277echo "$as_me:$LINENO: checking for $ac_word" >&5 1278echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1279if test "${ac_cv_prog_CXX+set}" = set; then 1280 echo $ECHO_N "(cached) $ECHO_C" >&6 1281else 1282 if test -n "$CXX"; then 1283 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1284else 1285as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1286for as_dir in $PATH 1287do 1288 IFS=$as_save_IFS 1289 test -z "$as_dir" && as_dir=. 1290 for ac_exec_ext in '' $ac_executable_extensions; do 1291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1292 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 1293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1294 break 2 1295 fi 1296done 1297done 1298 1299fi 1300fi 1301CXX=$ac_cv_prog_CXX 1302if test -n "$CXX"; then 1303 echo "$as_me:$LINENO: result: $CXX" >&5 1304echo "${ECHO_T}$CXX" >&6 1305else 1306 echo "$as_me:$LINENO: result: no" >&5 1307echo "${ECHO_T}no" >&6 1308fi 1309 1310 test -n "$CXX" && break 1311 done 1312fi 1313if test -z "$CXX"; then 1314 ac_ct_CXX=$CXX 1315 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 1316do 1317 # Extract the first word of "$ac_prog", so it can be a program name with args. 1318set dummy $ac_prog; ac_word=$2 1319echo "$as_me:$LINENO: checking for $ac_word" >&5 1320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1321if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 1322 echo $ECHO_N "(cached) $ECHO_C" >&6 1323else 1324 if test -n "$ac_ct_CXX"; then 1325 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 1326else 1327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1328for as_dir in $PATH 1329do 1330 IFS=$as_save_IFS 1331 test -z "$as_dir" && as_dir=. 1332 for ac_exec_ext in '' $ac_executable_extensions; do 1333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1334 ac_cv_prog_ac_ct_CXX="$ac_prog" 1335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1336 break 2 1337 fi 1338done 1339done 1340 1341fi 1342fi 1343ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 1344if test -n "$ac_ct_CXX"; then 1345 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 1346echo "${ECHO_T}$ac_ct_CXX" >&6 1347else 1348 echo "$as_me:$LINENO: result: no" >&5 1349echo "${ECHO_T}no" >&6 1350fi 1351 1352 test -n "$ac_ct_CXX" && break 1353done 1354test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 1355 1356 CXX=$ac_ct_CXX 1357fi 1358 1359 1360# Provide some information about the compiler. 1361echo "$as_me:$LINENO:" \ 1362 "checking for C++ compiler version" >&5 1363ac_compiler=`set X $ac_compile; echo $2` 1364{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1365 (eval $ac_compiler --version </dev/null >&5) 2>&5 1366 ac_status=$? 1367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1368 (exit $ac_status); } 1369{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1370 (eval $ac_compiler -v </dev/null >&5) 2>&5 1371 ac_status=$? 1372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1373 (exit $ac_status); } 1374{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1375 (eval $ac_compiler -V </dev/null >&5) 2>&5 1376 ac_status=$? 1377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1378 (exit $ac_status); } 1379 1380cat >conftest.$ac_ext <<_ACEOF 1381/* confdefs.h. */ 1382_ACEOF 1383cat confdefs.h >>conftest.$ac_ext 1384cat >>conftest.$ac_ext <<_ACEOF 1385/* end confdefs.h. */ 1386 1387int 1388main () 1389{ 1390 1391 ; 1392 return 0; 1393} 1394_ACEOF 1395ac_clean_files_save=$ac_clean_files 1396ac_clean_files="$ac_clean_files a.out a.exe b.out" 1397# Try to create an executable without -o first, disregard a.out. 1398# It will help us diagnose broken compilers, and finding out an intuition 1399# of exeext. 1400echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 1401echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 1402ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1403if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1404 (eval $ac_link_default) 2>&5 1405 ac_status=$? 1406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1407 (exit $ac_status); }; then 1408 # Find the output, starting from the most likely. This scheme is 1409# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1410# resort. 1411 1412# Be careful to initialize this variable, since it used to be cached. 1413# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1414ac_cv_exeext= 1415# b.out is created by i960 compilers. 1416for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1417do 1418 test -f "$ac_file" || continue 1419 case $ac_file in 1420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1421 ;; 1422 conftest.$ac_ext ) 1423 # This is the source file. 1424 ;; 1425 [ab].out ) 1426 # We found the default executable, but exeext='' is most 1427 # certainly right. 1428 break;; 1429 *.* ) 1430 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1431 # FIXME: I believe we export ac_cv_exeext for Libtool, 1432 # but it would be cool to find out if it's true. Does anybody 1433 # maintain Libtool? --akim. 1434 export ac_cv_exeext 1435 break;; 1436 * ) 1437 break;; 1438 esac 1439done 1440else 1441 echo "$as_me: failed program was:" >&5 1442sed 's/^/| /' conftest.$ac_ext >&5 1443 1444{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables 1445See \`config.log' for more details." >&5 1446echo "$as_me: error: C++ compiler cannot create executables 1447See \`config.log' for more details." >&2;} 1448 { (exit 77); exit 77; }; } 1449fi 1450 1451ac_exeext=$ac_cv_exeext 1452echo "$as_me:$LINENO: result: $ac_file" >&5 1453echo "${ECHO_T}$ac_file" >&6 1454 1455# Check the compiler produces executables we can run. If not, either 1456# the compiler is broken, or we cross compile. 1457echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 1458echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 1459# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1460# If not cross compiling, check that we can run a simple program. 1461if test "$cross_compiling" != yes; then 1462 if { ac_try='./$ac_file' 1463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1464 (eval $ac_try) 2>&5 1465 ac_status=$? 1466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1467 (exit $ac_status); }; }; then 1468 cross_compiling=no 1469 else 1470 if test "$cross_compiling" = maybe; then 1471 cross_compiling=yes 1472 else 1473 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. 1474If you meant to cross compile, use \`--host'. 1475See \`config.log' for more details." >&5 1476echo "$as_me: error: cannot run C++ compiled programs. 1477If you meant to cross compile, use \`--host'. 1478See \`config.log' for more details." >&2;} 1479 { (exit 1); exit 1; }; } 1480 fi 1481 fi 1482fi 1483echo "$as_me:$LINENO: result: yes" >&5 1484echo "${ECHO_T}yes" >&6 1485 1486rm -f a.out a.exe conftest$ac_cv_exeext b.out 1487ac_clean_files=$ac_clean_files_save 1488# Check the compiler produces executables we can run. If not, either 1489# the compiler is broken, or we cross compile. 1490echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1491echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1492echo "$as_me:$LINENO: result: $cross_compiling" >&5 1493echo "${ECHO_T}$cross_compiling" >&6 1494 1495echo "$as_me:$LINENO: checking for suffix of executables" >&5 1496echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1497if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1498 (eval $ac_link) 2>&5 1499 ac_status=$? 1500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1501 (exit $ac_status); }; then 1502 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1503# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1504# work properly (i.e., refer to `conftest.exe'), while it won't with 1505# `rm'. 1506for ac_file in conftest.exe conftest conftest.*; do 1507 test -f "$ac_file" || continue 1508 case $ac_file in 1509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1510 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1511 export ac_cv_exeext 1512 break;; 1513 * ) break;; 1514 esac 1515done 1516else 1517 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1518See \`config.log' for more details." >&5 1519echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1520See \`config.log' for more details." >&2;} 1521 { (exit 1); exit 1; }; } 1522fi 1523 1524rm -f conftest$ac_cv_exeext 1525echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1526echo "${ECHO_T}$ac_cv_exeext" >&6 1527 1528rm -f conftest.$ac_ext 1529EXEEXT=$ac_cv_exeext 1530ac_exeext=$EXEEXT 1531echo "$as_me:$LINENO: checking for suffix of object files" >&5 1532echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1533if test "${ac_cv_objext+set}" = set; then 1534 echo $ECHO_N "(cached) $ECHO_C" >&6 1535else 1536 cat >conftest.$ac_ext <<_ACEOF 1537/* confdefs.h. */ 1538_ACEOF 1539cat confdefs.h >>conftest.$ac_ext 1540cat >>conftest.$ac_ext <<_ACEOF 1541/* end confdefs.h. */ 1542 1543int 1544main () 1545{ 1546 1547 ; 1548 return 0; 1549} 1550_ACEOF 1551rm -f conftest.o conftest.obj 1552if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1553 (eval $ac_compile) 2>&5 1554 ac_status=$? 1555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1556 (exit $ac_status); }; then 1557 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1558 case $ac_file in 1559 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1560 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1561 break;; 1562 esac 1563done 1564else 1565 echo "$as_me: failed program was:" >&5 1566sed 's/^/| /' conftest.$ac_ext >&5 1567 1568{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1569See \`config.log' for more details." >&5 1570echo "$as_me: error: cannot compute suffix of object files: cannot compile 1571See \`config.log' for more details." >&2;} 1572 { (exit 1); exit 1; }; } 1573fi 1574 1575rm -f conftest.$ac_cv_objext conftest.$ac_ext 1576fi 1577echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1578echo "${ECHO_T}$ac_cv_objext" >&6 1579OBJEXT=$ac_cv_objext 1580ac_objext=$OBJEXT 1581echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 1582echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 1583if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 1584 echo $ECHO_N "(cached) $ECHO_C" >&6 1585else 1586 cat >conftest.$ac_ext <<_ACEOF 1587/* confdefs.h. */ 1588_ACEOF 1589cat confdefs.h >>conftest.$ac_ext 1590cat >>conftest.$ac_ext <<_ACEOF 1591/* end confdefs.h. */ 1592 1593int 1594main () 1595{ 1596#ifndef __GNUC__ 1597 choke me 1598#endif 1599 1600 ; 1601 return 0; 1602} 1603_ACEOF 1604rm -f conftest.$ac_objext 1605if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1606 (eval $ac_compile) 2>conftest.er1 1607 ac_status=$? 1608 grep -v '^ *+' conftest.er1 >conftest.err 1609 rm -f conftest.er1 1610 cat conftest.err >&5 1611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1612 (exit $ac_status); } && 1613 { ac_try='test -z "$ac_cxx_werror_flag" 1614 || test ! -s conftest.err' 1615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1616 (eval $ac_try) 2>&5 1617 ac_status=$? 1618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1619 (exit $ac_status); }; } && 1620 { ac_try='test -s conftest.$ac_objext' 1621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1622 (eval $ac_try) 2>&5 1623 ac_status=$? 1624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1625 (exit $ac_status); }; }; then 1626 ac_compiler_gnu=yes 1627else 1628 echo "$as_me: failed program was:" >&5 1629sed 's/^/| /' conftest.$ac_ext >&5 1630 1631ac_compiler_gnu=no 1632fi 1633rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1634ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 1635 1636fi 1637echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 1638echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 1639GXX=`test $ac_compiler_gnu = yes && echo yes` 1640ac_test_CXXFLAGS=${CXXFLAGS+set} 1641ac_save_CXXFLAGS=$CXXFLAGS 1642CXXFLAGS="-g" 1643echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 1644echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 1645if test "${ac_cv_prog_cxx_g+set}" = set; then 1646 echo $ECHO_N "(cached) $ECHO_C" >&6 1647else 1648 cat >conftest.$ac_ext <<_ACEOF 1649/* confdefs.h. */ 1650_ACEOF 1651cat confdefs.h >>conftest.$ac_ext 1652cat >>conftest.$ac_ext <<_ACEOF 1653/* end confdefs.h. */ 1654 1655int 1656main () 1657{ 1658 1659 ; 1660 return 0; 1661} 1662_ACEOF 1663rm -f conftest.$ac_objext 1664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1665 (eval $ac_compile) 2>conftest.er1 1666 ac_status=$? 1667 grep -v '^ *+' conftest.er1 >conftest.err 1668 rm -f conftest.er1 1669 cat conftest.err >&5 1670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1671 (exit $ac_status); } && 1672 { ac_try='test -z "$ac_cxx_werror_flag" 1673 || test ! -s conftest.err' 1674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1675 (eval $ac_try) 2>&5 1676 ac_status=$? 1677 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1678 (exit $ac_status); }; } && 1679 { ac_try='test -s conftest.$ac_objext' 1680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1681 (eval $ac_try) 2>&5 1682 ac_status=$? 1683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1684 (exit $ac_status); }; }; then 1685 ac_cv_prog_cxx_g=yes 1686else 1687 echo "$as_me: failed program was:" >&5 1688sed 's/^/| /' conftest.$ac_ext >&5 1689 1690ac_cv_prog_cxx_g=no 1691fi 1692rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1693fi 1694echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 1695echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1696if test "$ac_test_CXXFLAGS" = set; then 1697 CXXFLAGS=$ac_save_CXXFLAGS 1698elif test $ac_cv_prog_cxx_g = yes; then 1699 if test "$GXX" = yes; then 1700 CXXFLAGS="-g -O2" 1701 else 1702 CXXFLAGS="-g" 1703 fi 1704else 1705 if test "$GXX" = yes; then 1706 CXXFLAGS="-O2" 1707 else 1708 CXXFLAGS= 1709 fi 1710fi 1711for ac_declaration in \ 1712 '' \ 1713 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1714 'extern "C" void std::exit (int); using std::exit;' \ 1715 'extern "C" void exit (int) throw ();' \ 1716 'extern "C" void exit (int);' \ 1717 'void exit (int);' 1718do 1719 cat >conftest.$ac_ext <<_ACEOF 1720/* confdefs.h. */ 1721_ACEOF 1722cat confdefs.h >>conftest.$ac_ext 1723cat >>conftest.$ac_ext <<_ACEOF 1724/* end confdefs.h. */ 1725$ac_declaration 1726@%:@include <stdlib.h> 1727int 1728main () 1729{ 1730exit (42); 1731 ; 1732 return 0; 1733} 1734_ACEOF 1735rm -f conftest.$ac_objext 1736if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1737 (eval $ac_compile) 2>conftest.er1 1738 ac_status=$? 1739 grep -v '^ *+' conftest.er1 >conftest.err 1740 rm -f conftest.er1 1741 cat conftest.err >&5 1742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1743 (exit $ac_status); } && 1744 { ac_try='test -z "$ac_cxx_werror_flag" 1745 || test ! -s conftest.err' 1746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1747 (eval $ac_try) 2>&5 1748 ac_status=$? 1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1750 (exit $ac_status); }; } && 1751 { ac_try='test -s conftest.$ac_objext' 1752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1753 (eval $ac_try) 2>&5 1754 ac_status=$? 1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1756 (exit $ac_status); }; }; then 1757 : 1758else 1759 echo "$as_me: failed program was:" >&5 1760sed 's/^/| /' conftest.$ac_ext >&5 1761 1762continue 1763fi 1764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1765 cat >conftest.$ac_ext <<_ACEOF 1766/* confdefs.h. */ 1767_ACEOF 1768cat confdefs.h >>conftest.$ac_ext 1769cat >>conftest.$ac_ext <<_ACEOF 1770/* end confdefs.h. */ 1771$ac_declaration 1772int 1773main () 1774{ 1775exit (42); 1776 ; 1777 return 0; 1778} 1779_ACEOF 1780rm -f conftest.$ac_objext 1781if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1782 (eval $ac_compile) 2>conftest.er1 1783 ac_status=$? 1784 grep -v '^ *+' conftest.er1 >conftest.err 1785 rm -f conftest.er1 1786 cat conftest.err >&5 1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1788 (exit $ac_status); } && 1789 { ac_try='test -z "$ac_cxx_werror_flag" 1790 || test ! -s conftest.err' 1791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1792 (eval $ac_try) 2>&5 1793 ac_status=$? 1794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1795 (exit $ac_status); }; } && 1796 { ac_try='test -s conftest.$ac_objext' 1797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1798 (eval $ac_try) 2>&5 1799 ac_status=$? 1800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1801 (exit $ac_status); }; }; then 1802 break 1803else 1804 echo "$as_me: failed program was:" >&5 1805sed 's/^/| /' conftest.$ac_ext >&5 1806 1807fi 1808rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1809done 1810rm -f conftest* 1811if test -n "$ac_declaration"; then 1812 echo '#ifdef __cplusplus' >>confdefs.h 1813 echo $ac_declaration >>confdefs.h 1814 echo '#endif' >>confdefs.h 1815fi 1816 1817ac_ext=c 1818ac_cpp='$CPP $CPPFLAGS' 1819ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1820ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1821ac_compiler_gnu=$ac_cv_c_compiler_gnu 1822 1823 ac_config_headers="$ac_config_headers config.h" 1824 1825am__api_version="1.8" 1826ac_aux_dir= 1827for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1828 if test -f $ac_dir/install-sh; then 1829 ac_aux_dir=$ac_dir 1830 ac_install_sh="$ac_aux_dir/install-sh -c" 1831 break 1832 elif test -f $ac_dir/install.sh; then 1833 ac_aux_dir=$ac_dir 1834 ac_install_sh="$ac_aux_dir/install.sh -c" 1835 break 1836 elif test -f $ac_dir/shtool; then 1837 ac_aux_dir=$ac_dir 1838 ac_install_sh="$ac_aux_dir/shtool install -c" 1839 break 1840 fi 1841done 1842if test -z "$ac_aux_dir"; then 1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1844echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1845 { (exit 1); exit 1; }; } 1846fi 1847ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1848ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1849ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1850 1851# Find a good install program. We prefer a C program (faster), 1852# so one script is as good as another. But avoid the broken or 1853# incompatible versions: 1854# SysV /etc/install, /usr/sbin/install 1855# SunOS /usr/etc/install 1856# IRIX /sbin/install 1857# AIX /bin/install 1858# AmigaOS /C/install, which installs bootblocks on floppy discs 1859# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1860# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1861# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1862# OS/2's system install, which has a completely different semantic 1863# ./install, which can be erroneously created by make from ./install.sh. 1864echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1865echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1866if test -z "$INSTALL"; then 1867if test "${ac_cv_path_install+set}" = set; then 1868 echo $ECHO_N "(cached) $ECHO_C" >&6 1869else 1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1871for as_dir in $PATH 1872do 1873 IFS=$as_save_IFS 1874 test -z "$as_dir" && as_dir=. 1875 # Account for people who put trailing slashes in PATH elements. 1876case $as_dir/ in 1877 ./ | .// | /cC/* | \ 1878 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1879 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1880 /usr/ucb/* ) ;; 1881 *) 1882 # OSF1 and SCO ODT 3.0 have their own names for install. 1883 # Don't use installbsd from OSF since it installs stuff as root 1884 # by default. 1885 for ac_prog in ginstall scoinst install; do 1886 for ac_exec_ext in '' $ac_executable_extensions; do 1887 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1888 if test $ac_prog = install && 1889 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1890 # AIX install. It has an incompatible calling convention. 1891 : 1892 elif test $ac_prog = install && 1893 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1894 # program-specific install script used by HP pwplus--don't use. 1895 : 1896 else 1897 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1898 break 3 1899 fi 1900 fi 1901 done 1902 done 1903 ;; 1904esac 1905done 1906 1907 1908fi 1909 if test "${ac_cv_path_install+set}" = set; then 1910 INSTALL=$ac_cv_path_install 1911 else 1912 # As a last resort, use the slow shell script. We don't cache a 1913 # path for INSTALL within a source directory, because that will 1914 # break other packages using the cache if that directory is 1915 # removed, or if the path is relative. 1916 INSTALL=$ac_install_sh 1917 fi 1918fi 1919echo "$as_me:$LINENO: result: $INSTALL" >&5 1920echo "${ECHO_T}$INSTALL" >&6 1921 1922# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1923# It thinks the first close brace ends the variable substitution. 1924test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1925 1926test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1927 1928test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1929 1930echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1931echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1932# Just in case 1933sleep 1 1934echo timestamp > conftest.file 1935# Do `set' in a subshell so we don't clobber the current shell's 1936# arguments. Must try -L first in case configure is actually a 1937# symlink; some systems play weird games with the mod time of symlinks 1938# (eg FreeBSD returns the mod time of the symlink's containing 1939# directory). 1940if ( 1941 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1942 if test "$*" = "X"; then 1943 # -L didn't work. 1944 set X `ls -t $srcdir/configure conftest.file` 1945 fi 1946 rm -f conftest.file 1947 if test "$*" != "X $srcdir/configure conftest.file" \ 1948 && test "$*" != "X conftest.file $srcdir/configure"; then 1949 1950 # If neither matched, then we have a broken ls. This can happen 1951 # if, for instance, CONFIG_SHELL is bash and it inherits a 1952 # broken ls alias from the environment. This has actually 1953 # happened. Such a system could not be considered "sane". 1954 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1955alias in your environment" >&5 1956echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1957alias in your environment" >&2;} 1958 { (exit 1); exit 1; }; } 1959 fi 1960 1961 test "$2" = conftest.file 1962 ) 1963then 1964 # Ok. 1965 : 1966else 1967 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1968Check your system clock" >&5 1969echo "$as_me: error: newly created file is older than distributed files! 1970Check your system clock" >&2;} 1971 { (exit 1); exit 1; }; } 1972fi 1973echo "$as_me:$LINENO: result: yes" >&5 1974echo "${ECHO_T}yes" >&6 1975test "$program_prefix" != NONE && 1976 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1977# Use a double $ so make ignores it. 1978test "$program_suffix" != NONE && 1979 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1980# Double any \ or $. echo might interpret backslashes. 1981# By default was `s,x,x', remove it if useless. 1982cat <<\_ACEOF >conftest.sed 1983s/[\\$]/&&/g;s/;s,x,x,$// 1984_ACEOF 1985program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1986rm conftest.sed 1987 1988# expand $ac_aux_dir to an absolute path 1989am_aux_dir=`cd $ac_aux_dir && pwd` 1990 1991test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1992# Use eval to expand $SHELL 1993if eval "$MISSING --run true"; then 1994 am_missing_run="$MISSING --run " 1995else 1996 am_missing_run= 1997 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1998echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1999fi 2000 2001if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 2002 # Keeping the `.' argument allows $(mkdir_p) to be used without 2003 # argument. Indeed, we sometimes output rules like 2004 # $(mkdir_p) $(somedir) 2005 # where $(somedir) is conditionally defined. 2006 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more 2007 # expensive solution, as it forces Make to start a sub-shell.) 2008 mkdir_p='mkdir -p -- .' 2009else 2010 # On NextStep and OpenStep, the `mkdir' command does not 2011 # recognize any option. It will interpret all options as 2012 # directories to create, and then abort because `.' already 2013 # exists. 2014 for d in ./-p ./--version; 2015 do 2016 test -d $d && rmdir $d 2017 done 2018 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. 2019 if test -f "$ac_aux_dir/mkinstalldirs"; then 2020 mkdir_p='$(mkinstalldirs)' 2021 else 2022 mkdir_p='$(install_sh) -d' 2023 fi 2024fi 2025 2026for ac_prog in gawk mawk nawk awk 2027do 2028 # Extract the first word of "$ac_prog", so it can be a program name with args. 2029set dummy $ac_prog; ac_word=$2 2030echo "$as_me:$LINENO: checking for $ac_word" >&5 2031echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2032if test "${ac_cv_prog_AWK+set}" = set; then 2033 echo $ECHO_N "(cached) $ECHO_C" >&6 2034else 2035 if test -n "$AWK"; then 2036 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2037else 2038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2039for as_dir in $PATH 2040do 2041 IFS=$as_save_IFS 2042 test -z "$as_dir" && as_dir=. 2043 for ac_exec_ext in '' $ac_executable_extensions; do 2044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2045 ac_cv_prog_AWK="$ac_prog" 2046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2047 break 2 2048 fi 2049done 2050done 2051 2052fi 2053fi 2054AWK=$ac_cv_prog_AWK 2055if test -n "$AWK"; then 2056 echo "$as_me:$LINENO: result: $AWK" >&5 2057echo "${ECHO_T}$AWK" >&6 2058else 2059 echo "$as_me:$LINENO: result: no" >&5 2060echo "${ECHO_T}no" >&6 2061fi 2062 2063 test -n "$AWK" && break 2064done 2065 2066echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2067echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 2068set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 2069if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 2070 echo $ECHO_N "(cached) $ECHO_C" >&6 2071else 2072 cat >conftest.make <<\_ACEOF 2073all: 2074 @echo 'ac_maketemp="$(MAKE)"' 2075_ACEOF 2076# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 2077eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 2078if test -n "$ac_maketemp"; then 2079 eval ac_cv_prog_make_${ac_make}_set=yes 2080else 2081 eval ac_cv_prog_make_${ac_make}_set=no 2082fi 2083rm -f conftest.make 2084fi 2085if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 2086 echo "$as_me:$LINENO: result: yes" >&5 2087echo "${ECHO_T}yes" >&6 2088 SET_MAKE= 2089else 2090 echo "$as_me:$LINENO: result: no" >&5 2091echo "${ECHO_T}no" >&6 2092 SET_MAKE="MAKE=${MAKE-make}" 2093fi 2094 2095rm -rf .tst 2>/dev/null 2096mkdir .tst 2>/dev/null 2097if test -d .tst; then 2098 am__leading_dot=. 2099else 2100 am__leading_dot=_ 2101fi 2102rmdir .tst 2>/dev/null 2103 2104DEPDIR="${am__leading_dot}deps" 2105 2106 ac_config_commands="$ac_config_commands depfiles" 2107 2108 2109am_make=${MAKE-make} 2110cat > confinc << 'END' 2111am__doit: 2112 @echo done 2113.PHONY: am__doit 2114END 2115# If we don't find an include directive, just comment out the code. 2116echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 2117echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 2118am__include="#" 2119am__quote= 2120_am_result=none 2121# First try GNU make style include. 2122echo "include confinc" > confmf 2123# We grep out `Entering directory' and `Leaving directory' 2124# messages which can occur if `w' ends up in MAKEFLAGS. 2125# In particular we don't look at `^make:' because GNU make might 2126# be invoked under some other name (usually "gmake"), in which 2127# case it prints its new name instead of `make'. 2128if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 2129 am__include=include 2130 am__quote= 2131 _am_result=GNU 2132fi 2133# Now try BSD make style include. 2134if test "$am__include" = "#"; then 2135 echo '.include "confinc"' > confmf 2136 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 2137 am__include=.include 2138 am__quote="\"" 2139 _am_result=BSD 2140 fi 2141fi 2142 2143 2144echo "$as_me:$LINENO: result: $_am_result" >&5 2145echo "${ECHO_T}$_am_result" >&6 2146rm -f confinc confmf 2147 2148# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 2149if test "${enable_dependency_tracking+set}" = set; then 2150 enableval="$enable_dependency_tracking" 2151 2152fi; 2153if test "x$enable_dependency_tracking" != xno; then 2154 am_depcomp="$ac_aux_dir/depcomp" 2155 AMDEPBACKSLASH='\' 2156fi 2157 2158 2159if test "x$enable_dependency_tracking" != xno; then 2160 AMDEP_TRUE= 2161 AMDEP_FALSE='#' 2162else 2163 AMDEP_TRUE='#' 2164 AMDEP_FALSE= 2165fi 2166 2167 2168 2169# test to see if srcdir already configured 2170if test "`cd $srcdir && pwd`" != "`pwd`" && 2171 test -f $srcdir/config.status; then 2172 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 2173echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 2174 { (exit 1); exit 1; }; } 2175fi 2176 2177# test whether we have cygpath 2178if test -z "$CYGPATH_W"; then 2179 if (cygpath --version) >/dev/null 2>/dev/null; then 2180 CYGPATH_W='cygpath -w' 2181 else 2182 CYGPATH_W=echo 2183 fi 2184fi 2185 2186 2187# Define the identity of the package. 2188 PACKAGE='openbubbles' 2189 VERSION='0.1' 2190 2191 2192cat >>confdefs.h <<_ACEOF 2193@%:@define PACKAGE "$PACKAGE" 2194_ACEOF 2195 2196 2197cat >>confdefs.h <<_ACEOF 2198@%:@define VERSION "$VERSION" 2199_ACEOF 2200 2201# Some tools Automake needs. 2202 2203ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2204 2205 2206AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2207 2208 2209AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2210 2211 2212AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2213 2214 2215MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2216 2217 2218AMTAR=${AMTAR-"${am_missing_run}tar"} 2219 2220install_sh=${install_sh-"$am_aux_dir/install-sh"} 2221 2222# Installed binaries are usually stripped using `strip' when the user 2223# run `make install-strip'. However `strip' might not be the right 2224# tool to use in cross-compilation environments, therefore Automake 2225# will honor the `STRIP' environment variable to overrule this program. 2226if test "$cross_compiling" != no; then 2227 if test -n "$ac_tool_prefix"; then 2228 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2229set dummy ${ac_tool_prefix}strip; ac_word=$2 2230echo "$as_me:$LINENO: checking for $ac_word" >&5 2231echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2232if test "${ac_cv_prog_STRIP+set}" = set; then 2233 echo $ECHO_N "(cached) $ECHO_C" >&6 2234else 2235 if test -n "$STRIP"; then 2236 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2237else 2238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2239for as_dir in $PATH 2240do 2241 IFS=$as_save_IFS 2242 test -z "$as_dir" && as_dir=. 2243 for ac_exec_ext in '' $ac_executable_extensions; do 2244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2245 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2247 break 2 2248 fi 2249done 2250done 2251 2252fi 2253fi 2254STRIP=$ac_cv_prog_STRIP 2255if test -n "$STRIP"; then 2256 echo "$as_me:$LINENO: result: $STRIP" >&5 2257echo "${ECHO_T}$STRIP" >&6 2258else 2259 echo "$as_me:$LINENO: result: no" >&5 2260echo "${ECHO_T}no" >&6 2261fi 2262 2263fi 2264if test -z "$ac_cv_prog_STRIP"; then 2265 ac_ct_STRIP=$STRIP 2266 # Extract the first word of "strip", so it can be a program name with args. 2267set dummy strip; ac_word=$2 2268echo "$as_me:$LINENO: checking for $ac_word" >&5 2269echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2270if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 2271 echo $ECHO_N "(cached) $ECHO_C" >&6 2272else 2273 if test -n "$ac_ct_STRIP"; then 2274 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2275else 2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2277for as_dir in $PATH 2278do 2279 IFS=$as_save_IFS 2280 test -z "$as_dir" && as_dir=. 2281 for ac_exec_ext in '' $ac_executable_extensions; do 2282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2283 ac_cv_prog_ac_ct_STRIP="strip" 2284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2285 break 2 2286 fi 2287done 2288done 2289 2290 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 2291fi 2292fi 2293ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2294if test -n "$ac_ct_STRIP"; then 2295 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 2296echo "${ECHO_T}$ac_ct_STRIP" >&6 2297else 2298 echo "$as_me:$LINENO: result: no" >&5 2299echo "${ECHO_T}no" >&6 2300fi 2301 2302 STRIP=$ac_ct_STRIP 2303else 2304 STRIP="$ac_cv_prog_STRIP" 2305fi 2306 2307fi 2308INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 2309 2310# We need awk for the "check" target. The system "awk" is bad on 2311# some platforms. 2312 2313 2314depcc="$CXX" am_compiler_list= 2315 2316echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2317echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2318if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then 2319 echo $ECHO_N "(cached) $ECHO_C" >&6 2320else 2321 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2322 # We make a subdir and do the tests there. Otherwise we can end up 2323 # making bogus files that we don't know about and never remove. For 2324 # instance it was reported that on HP-UX the gcc test will end up 2325 # making a dummy file named `D' -- because `-MD' means `put the output 2326 # in D'. 2327 mkdir conftest.dir 2328 # Copy depcomp to subdir because otherwise we won't find it if we're 2329 # using a relative directory. 2330 cp "$am_depcomp" conftest.dir 2331 cd conftest.dir 2332 # We will build objects and dependencies in a subdirectory because 2333 # it helps to detect inapplicable dependency modes. For instance 2334 # both Tru64's cc and ICC support -MD to output dependencies as a 2335 # side effect of compilation, but ICC will put the dependencies in 2336 # the current directory while Tru64 will put them in the object 2337 # directory. 2338 mkdir sub 2339 2340 am_cv_CXX_dependencies_compiler_type=none 2341 if test "$am_compiler_list" = ""; then 2342 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2343 fi 2344 for depmode in $am_compiler_list; do 2345 # Setup a source with many dependencies, because some compilers 2346 # like to wrap large dependency lists on column 80 (with \), and 2347 # we should not choose a depcomp mode which is confused by this. 2348 # 2349 # We need to recreate these files for each test, as the compiler may 2350 # overwrite some of them when testing with obscure command lines. 2351 # This happens at least with the AIX C compiler. 2352 : > sub/conftest.c 2353 for i in 1 2 3 4 5 6; do 2354 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2355 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 2356 # Solaris 8's {/usr,}/bin/sh. 2357 touch sub/conftst$i.h 2358 done 2359 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2360 2361 case $depmode in 2362 nosideeffect) 2363 # after this tag, mechanisms are not by side-effect, so they'll 2364 # only be used when explicitly requested 2365 if test "x$enable_dependency_tracking" = xyes; then 2366 continue 2367 else 2368 break 2369 fi 2370 ;; 2371 none) break ;; 2372 esac 2373 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2374 # mode. It turns out that the SunPro C++ compiler does not properly 2375 # handle `-M -o', and we need to detect this. 2376 if depmode=$depmode \ 2377 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2378 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2379 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2380 >/dev/null 2>conftest.err && 2381 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2382 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2383 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2384 # icc doesn't choke on unknown options, it will just issue warnings 2385 # or remarks (even with -Werror). So we grep stderr for any message 2386 # that says an option was ignored or not supported. 2387 # When given -MP, icc 7.0 and 7.1 complain thusly: 2388 # icc: Command line warning: ignoring option '-M'; no argument required 2389 # The diagnosis changed in icc 8.0: 2390 # icc: Command line remark: option '-MP' not supported 2391 if (grep 'ignoring option' conftest.err || 2392 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 2393 am_cv_CXX_dependencies_compiler_type=$depmode 2394 break 2395 fi 2396 fi 2397 done 2398 2399 cd .. 2400 rm -rf conftest.dir 2401else 2402 am_cv_CXX_dependencies_compiler_type=none 2403fi 2404 2405fi 2406echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 2407echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6 2408CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 2409 2410 2411 2412if 2413 test "x$enable_dependency_tracking" != xno \ 2414 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 2415 am__fastdepCXX_TRUE= 2416 am__fastdepCXX_FALSE='#' 2417else 2418 am__fastdepCXX_TRUE='#' 2419 am__fastdepCXX_FALSE= 2420fi 2421 2422 2423 2424# Find a good install program. We prefer a C program (faster), 2425# so one script is as good as another. But avoid the broken or 2426# incompatible versions: 2427# SysV /etc/install, /usr/sbin/install 2428# SunOS /usr/etc/install 2429# IRIX /sbin/install 2430# AIX /bin/install 2431# AmigaOS /C/install, which installs bootblocks on floppy discs 2432# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2433# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2434# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2435# OS/2's system install, which has a completely different semantic 2436# ./install, which can be erroneously created by make from ./install.sh. 2437echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2438echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 2439if test -z "$INSTALL"; then 2440if test "${ac_cv_path_install+set}" = set; then 2441 echo $ECHO_N "(cached) $ECHO_C" >&6 2442else 2443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2444for as_dir in $PATH 2445do 2446 IFS=$as_save_IFS 2447 test -z "$as_dir" && as_dir=. 2448 # Account for people who put trailing slashes in PATH elements. 2449case $as_dir/ in 2450 ./ | .// | /cC/* | \ 2451 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2452 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2453 /usr/ucb/* ) ;; 2454 *) 2455 # OSF1 and SCO ODT 3.0 have their own names for install. 2456 # Don't use installbsd from OSF since it installs stuff as root 2457 # by default. 2458 for ac_prog in ginstall scoinst install; do 2459 for ac_exec_ext in '' $ac_executable_extensions; do 2460 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2461 if test $ac_prog = install && 2462 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2463 # AIX install. It has an incompatible calling convention. 2464 : 2465 elif test $ac_prog = install && 2466 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2467 # program-specific install script used by HP pwplus--don't use. 2468 : 2469 else 2470 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2471 break 3 2472 fi 2473 fi 2474 done 2475 done 2476 ;; 2477esac 2478done 2479 2480 2481fi 2482 if test "${ac_cv_path_install+set}" = set; then 2483 INSTALL=$ac_cv_path_install 2484 else 2485 # As a last resort, use the slow shell script. We don't cache a 2486 # path for INSTALL within a source directory, because that will 2487 # break other packages using the cache if that directory is 2488 # removed, or if the path is relative. 2489 INSTALL=$ac_install_sh 2490 fi 2491fi 2492echo "$as_me:$LINENO: result: $INSTALL" >&5 2493echo "${ECHO_T}$INSTALL" >&6 2494 2495# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2496# It thinks the first close brace ends the variable substitution. 2497test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2498 2499test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2500 2501test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2502 2503CXXFLAGS="$CXXFLAGS -DDATA_PREFIX='\"$datadir/openbubbles\"'" 2504 ac_config_files="$ac_config_files Makefile data/Makefile src/Makefile" 2505cat >confcache <<\_ACEOF 2506# This file is a shell script that caches the results of configure 2507# tests run on this system so they can be shared between configure 2508# scripts and configure runs, see configure's option --config-cache. 2509# It is not useful on other systems. If it contains results you don't 2510# want to keep, you may remove or edit it. 2511# 2512# config.status only pays attention to the cache file if you give it 2513# the --recheck option to rerun configure. 2514# 2515# `ac_cv_env_foo' variables (set or unset) will be overridden when 2516# loading this file, other *unset* `ac_cv_foo' will be assigned the 2517# following values. 2518 2519_ACEOF 2520 2521# The following way of writing the cache mishandles newlines in values, 2522# but we know of no workaround that is simple, portable, and efficient. 2523# So, don't put newlines in cache variables' values. 2524# Ultrix sh set writes to stderr and can't be redirected directly, 2525# and sets the high bit in the cache file unless we assign to the vars. 2526{ 2527 (set) 2>&1 | 2528 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2529 *ac_space=\ *) 2530 # `set' does not quote correctly, so add quotes (double-quote 2531 # substitution turns \\\\ into \\, and sed turns \\ into \). 2532 sed -n \ 2533 "s/'/'\\\\''/g; 2534 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2535 ;; 2536 *) 2537 # `set' quotes correctly as required by POSIX, so do not add quotes. 2538 sed -n \ 2539 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 2540 ;; 2541 esac; 2542} | 2543 sed ' 2544 t clear 2545 : clear 2546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 2547 t end 2548 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2549 : end' >>confcache 2550if diff $cache_file confcache >/dev/null 2>&1; then :; else 2551 if test -w $cache_file; then 2552 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 2553 cat confcache >$cache_file 2554 else 2555 echo "not updating unwritable cache $cache_file" 2556 fi 2557fi 2558rm -f confcache 2559 2560test "x$prefix" = xNONE && prefix=$ac_default_prefix 2561# Let make expand exec_prefix. 2562test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2563 2564# VPATH may cause trouble with some makes, so we remove $(srcdir), 2565# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2566# trailing colons and then remove the whole line if VPATH becomes empty 2567# (actually we leave an empty line to preserve line numbers). 2568if test "x$srcdir" = x.; then 2569 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2570s/:*\$(srcdir):*/:/; 2571s/:*\${srcdir}:*/:/; 2572s/:*@srcdir@:*/:/; 2573s/^\([^=]*=[ ]*\):*/\1/; 2574s/:*$//; 2575s/^[^=]*=[ ]*$//; 2576}' 2577fi 2578 2579DEFS=-DHAVE_CONFIG_H 2580 2581ac_libobjs= 2582ac_ltlibobjs= 2583for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue 2584 # 1. Remove the extension, and $U if already installed. 2585 ac_i=`echo "$ac_i" | 2586 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 2587 # 2. Add them. 2588 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 2589 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 2590done 2591LIB@&t@OBJS=$ac_libobjs 2592 2593LTLIBOBJS=$ac_ltlibobjs 2594 2595 2596if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 2597 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 2598Usually this means the macro was only invoked conditionally." >&5 2599echo "$as_me: error: conditional \"AMDEP\" was never defined. 2600Usually this means the macro was only invoked conditionally." >&2;} 2601 { (exit 1); exit 1; }; } 2602fi 2603if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 2604 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. 2605Usually this means the macro was only invoked conditionally." >&5 2606echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. 2607Usually this means the macro was only invoked conditionally." >&2;} 2608 { (exit 1); exit 1; }; } 2609fi 2610 2611: ${CONFIG_STATUS=./config.status} 2612ac_clean_files_save=$ac_clean_files 2613ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2614{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2615echo "$as_me: creating $CONFIG_STATUS" >&6;} 2616cat >$CONFIG_STATUS <<_ACEOF 2617#! $SHELL 2618# Generated by $as_me. 2619# Run this file to recreate the current configuration. 2620# Compiler output produced by configure, useful for debugging 2621# configure, is in config.log if it exists. 2622 2623debug=false 2624ac_cs_recheck=false 2625ac_cs_silent=false 2626SHELL=\${CONFIG_SHELL-$SHELL} 2627_ACEOF 2628 2629cat >>$CONFIG_STATUS <<\_ACEOF 2630## --------------------- ## 2631## M4sh Initialization. ## 2632## --------------------- ## 2633 2634# Be Bourne compatible 2635if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2636 emulate sh 2637 NULLCMD=: 2638 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2639 # is contrary to our usage. Disable this feature. 2640 alias -g '${1+"$@"}'='"$@"' 2641elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 2642 set -o posix 2643fi 2644DUALCASE=1; export DUALCASE # for MKS sh 2645 2646# Support unset when possible. 2647if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2648 as_unset=unset 2649else 2650 as_unset=false 2651fi 2652 2653 2654# Work around bugs in pre-3.0 UWIN ksh. 2655$as_unset ENV MAIL MAILPATH 2656PS1='$ ' 2657PS2='> ' 2658PS4='+ ' 2659 2660# NLS nuisances. 2661for as_var in \ 2662 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2663 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2664 LC_TELEPHONE LC_TIME 2665do 2666 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 2667 eval $as_var=C; export $as_var 2668 else 2669 $as_unset $as_var 2670 fi 2671done 2672 2673# Required to use basename. 2674if expr a : '\(a\)' >/dev/null 2>&1; then 2675 as_expr=expr 2676else 2677 as_expr=false 2678fi 2679 2680if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 2681 as_basename=basename 2682else 2683 as_basename=false 2684fi 2685 2686 2687# Name of the executable. 2688as_me=`$as_basename "$0" || 2689$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2690 X"$0" : 'X\(//\)$' \| \ 2691 X"$0" : 'X\(/\)$' \| \ 2692 . : '\(.\)' 2>/dev/null || 2693echo X/"$0" | 2694 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 2695 /^X\/\(\/\/\)$/{ s//\1/; q; } 2696 /^X\/\(\/\).*/{ s//\1/; q; } 2697 s/.*/./; q'` 2698 2699 2700# PATH needs CR, and LINENO needs CR and PATH. 2701# Avoid depending upon Character Ranges. 2702as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2703as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2704as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2705as_cr_digits='0123456789' 2706as_cr_alnum=$as_cr_Letters$as_cr_digits 2707 2708# The user is always right. 2709if test "${PATH_SEPARATOR+set}" != set; then 2710 echo "#! /bin/sh" >conf$$.sh 2711 echo "exit 0" >>conf$$.sh 2712 chmod +x conf$$.sh 2713 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2714 PATH_SEPARATOR=';' 2715 else 2716 PATH_SEPARATOR=: 2717 fi 2718 rm -f conf$$.sh 2719fi 2720 2721 2722 as_lineno_1=$LINENO 2723 as_lineno_2=$LINENO 2724 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 2725 test "x$as_lineno_1" != "x$as_lineno_2" && 2726 test "x$as_lineno_3" = "x$as_lineno_2" || { 2727 # Find who we are. Look in the path if we contain no path at all 2728 # relative or not. 2729 case $0 in 2730 *[\\/]* ) as_myself=$0 ;; 2731 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2732for as_dir in $PATH 2733do 2734 IFS=$as_save_IFS 2735 test -z "$as_dir" && as_dir=. 2736 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2737done 2738 2739 ;; 2740 esac 2741 # We did not find ourselves, most probably we were run as `sh COMMAND' 2742 # in which case we are not to be found in the path. 2743 if test "x$as_myself" = x; then 2744 as_myself=$0 2745 fi 2746 if test ! -f "$as_myself"; then 2747 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 2748echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 2749 { (exit 1); exit 1; }; } 2750 fi 2751 case $CONFIG_SHELL in 2752 '') 2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2754for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 2755do 2756 IFS=$as_save_IFS 2757 test -z "$as_dir" && as_dir=. 2758 for as_base in sh bash ksh sh5; do 2759 case $as_dir in 2760 /*) 2761 if ("$as_dir/$as_base" -c ' 2762 as_lineno_1=$LINENO 2763 as_lineno_2=$LINENO 2764 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 2765 test "x$as_lineno_1" != "x$as_lineno_2" && 2766 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 2767 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 2768 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 2769 CONFIG_SHELL=$as_dir/$as_base 2770 export CONFIG_SHELL 2771 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 2772 fi;; 2773 esac 2774 done 2775done 2776;; 2777 esac 2778 2779 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2780 # uniformly replaced by the line number. The first 'sed' inserts a 2781 # line-number line before each line; the second 'sed' does the real 2782 # work. The second script uses 'N' to pair each line-number line 2783 # with the numbered line, and appends trailing '-' during 2784 # substitution so that $LINENO is not a special case at line end. 2785 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2786 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 2787 sed '=' <$as_myself | 2788 sed ' 2789 N 2790 s,$,-, 2791 : loop 2792 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 2793 t loop 2794 s,-$,, 2795 s,^['$as_cr_digits']*\n,, 2796 ' >$as_me.lineno && 2797 chmod +x $as_me.lineno || 2798 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 2799echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 2800 { (exit 1); exit 1; }; } 2801 2802 # Don't try to exec as it changes $[0], causing all sort of problems 2803 # (the dirname of $[0] is not the place where we might find the 2804 # original and so on. Autoconf is especially sensible to this). 2805 . ./$as_me.lineno 2806 # Exit status is that of the last command. 2807 exit 2808} 2809 2810 2811case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 2812 *c*,-n*) ECHO_N= ECHO_C=' 2813' ECHO_T=' ' ;; 2814 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 2815 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 2816esac 2817 2818if expr a : '\(a\)' >/dev/null 2>&1; then 2819 as_expr=expr 2820else 2821 as_expr=false 2822fi 2823 2824rm -f conf$$ conf$$.exe conf$$.file 2825echo >conf$$.file 2826if ln -s conf$$.file conf$$ 2>/dev/null; then 2827 # We could just check for DJGPP; but this test a) works b) is more generic 2828 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 2829 if test -f conf$$.exe; then 2830 # Don't use ln at all; we don't have any links 2831 as_ln_s='cp -p' 2832 else 2833 as_ln_s='ln -s' 2834 fi 2835elif ln conf$$.file conf$$ 2>/dev/null; then 2836 as_ln_s=ln 2837else 2838 as_ln_s='cp -p' 2839fi 2840rm -f conf$$ conf$$.exe conf$$.file 2841 2842if mkdir -p . 2>/dev/null; then 2843 as_mkdir_p=: 2844else 2845 test -d ./-p && rmdir ./-p 2846 as_mkdir_p=false 2847fi 2848 2849as_executable_p="test -f" 2850 2851# Sed expression to map a string onto a valid CPP name. 2852as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2853 2854# Sed expression to map a string onto a valid variable name. 2855as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2856 2857 2858# IFS 2859# We need space, tab and new line, in precisely that order. 2860as_nl=' 2861' 2862IFS=" $as_nl" 2863 2864# CDPATH. 2865$as_unset CDPATH 2866 2867exec 6>&1 2868 2869# Open the log real soon, to keep \$[0] and so on meaningful, and to 2870# report actual input values of CONFIG_FILES etc. instead of their 2871# values after options handling. Logging --version etc. is OK. 2872exec 5>>config.log 2873{ 2874 echo 2875 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX 2876@%:@@%:@ Running $as_me. @%:@@%:@ 2877_ASBOX 2878} >&5 2879cat >&5 <<_CSEOF 2880 2881This file was extended by openbubbles $as_me 0.1, which was 2882generated by GNU Autoconf 2.59. Invocation command line was 2883 2884 CONFIG_FILES = $CONFIG_FILES 2885 CONFIG_HEADERS = $CONFIG_HEADERS 2886 CONFIG_LINKS = $CONFIG_LINKS 2887 CONFIG_COMMANDS = $CONFIG_COMMANDS 2888 $ $0 $@ 2889 2890_CSEOF 2891echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 2892echo >&5 2893_ACEOF 2894 2895# Files that config.status was made for. 2896if test -n "$ac_config_files"; then 2897 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 2898fi 2899 2900if test -n "$ac_config_headers"; then 2901 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 2902fi 2903 2904if test -n "$ac_config_links"; then 2905 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 2906fi 2907 2908if test -n "$ac_config_commands"; then 2909 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 2910fi 2911 2912cat >>$CONFIG_STATUS <<\_ACEOF 2913 2914ac_cs_usage="\ 2915\`$as_me' instantiates files from templates according to the 2916current configuration. 2917 2918Usage: $0 [OPTIONS] [FILE]... 2919 2920 -h, --help print this help, then exit 2921 -V, --version print version number, then exit 2922 -q, --quiet do not print progress messages 2923 -d, --debug don't remove temporary files 2924 --recheck update $as_me by reconfiguring in the same conditions 2925 --file=FILE[:TEMPLATE] 2926 instantiate the configuration file FILE 2927 --header=FILE[:TEMPLATE] 2928 instantiate the configuration header FILE 2929 2930Configuration files: 2931$config_files 2932 2933Configuration headers: 2934$config_headers 2935 2936Configuration commands: 2937$config_commands 2938 2939Report bugs to <bug-autoconf@gnu.org>." 2940_ACEOF 2941 2942cat >>$CONFIG_STATUS <<_ACEOF 2943ac_cs_version="\\ 2944openbubbles config.status 0.1 2945configured by $0, generated by GNU Autoconf 2.59, 2946 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 2947 2948Copyright (C) 2003 Free Software Foundation, Inc. 2949This config.status script is free software; the Free Software Foundation 2950gives unlimited permission to copy, distribute and modify it." 2951srcdir=$srcdir 2952INSTALL="$INSTALL" 2953_ACEOF 2954 2955cat >>$CONFIG_STATUS <<\_ACEOF 2956# If no file are specified by the user, then we need to provide default 2957# value. By we need to know if files were specified by the user. 2958ac_need_defaults=: 2959while test $# != 0 2960do 2961 case $1 in 2962 --*=*) 2963 ac_option=`expr "x$1" : 'x\([^=]*\)='` 2964 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 2965 ac_shift=: 2966 ;; 2967 -*) 2968 ac_option=$1 2969 ac_optarg=$2 2970 ac_shift=shift 2971 ;; 2972 *) # This is not an option, so the user has probably given explicit 2973 # arguments. 2974 ac_option=$1 2975 ac_need_defaults=false;; 2976 esac 2977 2978 case $ac_option in 2979 # Handling of the options. 2980_ACEOF 2981cat >>$CONFIG_STATUS <<\_ACEOF 2982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2983 ac_cs_recheck=: ;; 2984 --version | --vers* | -V ) 2985 echo "$ac_cs_version"; exit 0 ;; 2986 --he | --h) 2987 # Conflict between --help and --header 2988 { { echo "$as_me:$LINENO: error: ambiguous option: $1 2989Try \`$0 --help' for more information." >&5 2990echo "$as_me: error: ambiguous option: $1 2991Try \`$0 --help' for more information." >&2;} 2992 { (exit 1); exit 1; }; };; 2993 --help | --hel | -h ) 2994 echo "$ac_cs_usage"; exit 0 ;; 2995 --debug | --d* | -d ) 2996 debug=: ;; 2997 --file | --fil | --fi | --f ) 2998 $ac_shift 2999 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 3000 ac_need_defaults=false;; 3001 --header | --heade | --head | --hea ) 3002 $ac_shift 3003 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 3004 ac_need_defaults=false;; 3005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3006 | -silent | --silent | --silen | --sile | --sil | --si | --s) 3007 ac_cs_silent=: ;; 3008 3009 # This is an error. 3010 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 3011Try \`$0 --help' for more information." >&5 3012echo "$as_me: error: unrecognized option: $1 3013Try \`$0 --help' for more information." >&2;} 3014 { (exit 1); exit 1; }; } ;; 3015 3016 *) ac_config_targets="$ac_config_targets $1" ;; 3017 3018 esac 3019 shift 3020done 3021 3022ac_configure_extra_args= 3023 3024if $ac_cs_silent; then 3025 exec 6>/dev/null 3026 ac_configure_extra_args="$ac_configure_extra_args --silent" 3027fi 3028 3029_ACEOF 3030cat >>$CONFIG_STATUS <<_ACEOF 3031if \$ac_cs_recheck; then 3032 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 3033 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3034fi 3035 3036_ACEOF 3037 3038cat >>$CONFIG_STATUS <<_ACEOF 3039# 3040# INIT-COMMANDS section. 3041# 3042 3043AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 3044 3045_ACEOF 3046 3047 3048 3049cat >>$CONFIG_STATUS <<\_ACEOF 3050for ac_config_target in $ac_config_targets 3051do 3052 case "$ac_config_target" in 3053 # Handling of arguments. 3054 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3055 "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 3056 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 3057 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 3058 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 3059 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 3060echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 3061 { (exit 1); exit 1; }; };; 3062 esac 3063done 3064 3065# If the user did not use the arguments to specify the items to instantiate, 3066# then the envvar interface is used. Set only those that are not. 3067# We use the long form for the default assignment because of an extremely 3068# bizarre bug on SunOS 4.1.3. 3069if $ac_need_defaults; then 3070 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3071 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 3072 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 3073fi 3074 3075# Have a temporary directory for convenience. Make it in the build tree 3076# simply because there is no reason to put it here, and in addition, 3077# creating and moving files from /tmp can sometimes cause problems. 3078# Create a temporary directory, and hook for its removal unless debugging. 3079$debug || 3080{ 3081 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 3082 trap '{ (exit 1); exit 1; }' 1 2 13 15 3083} 3084 3085# Create a (secure) tmp directory for tmp files. 3086 3087{ 3088 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 3089 test -n "$tmp" && test -d "$tmp" 3090} || 3091{ 3092 tmp=./confstat$$-$RANDOM 3093 (umask 077 && mkdir $tmp) 3094} || 3095{ 3096 echo "$me: cannot create a temporary directory in ." >&2 3097 { (exit 1); exit 1; } 3098} 3099 3100_ACEOF 3101 3102cat >>$CONFIG_STATUS <<_ACEOF 3103 3104# 3105# CONFIG_FILES section. 3106# 3107 3108# No need to generate the scripts if there are no CONFIG_FILES. 3109# This happens for instance when ./config.status config.h 3110if test -n "\$CONFIG_FILES"; then 3111 # Protect against being on the right side of a sed subst in config.status. 3112 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 3113 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 3114s,@SHELL@,$SHELL,;t t 3115s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 3116s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 3117s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 3118s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 3119s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 3120s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 3121s,@exec_prefix@,$exec_prefix,;t t 3122s,@prefix@,$prefix,;t t 3123s,@program_transform_name@,$program_transform_name,;t t 3124s,@bindir@,$bindir,;t t 3125s,@sbindir@,$sbindir,;t t 3126s,@libexecdir@,$libexecdir,;t t 3127s,@datadir@,$datadir,;t t 3128s,@sysconfdir@,$sysconfdir,;t t 3129s,@sharedstatedir@,$sharedstatedir,;t t 3130s,@localstatedir@,$localstatedir,;t t 3131s,@libdir@,$libdir,;t t 3132s,@includedir@,$includedir,;t t 3133s,@oldincludedir@,$oldincludedir,;t t 3134s,@infodir@,$infodir,;t t 3135s,@mandir@,$mandir,;t t 3136s,@build_alias@,$build_alias,;t t 3137s,@host_alias@,$host_alias,;t t 3138s,@target_alias@,$target_alias,;t t 3139s,@DEFS@,$DEFS,;t t 3140s,@ECHO_C@,$ECHO_C,;t t 3141s,@ECHO_N@,$ECHO_N,;t t 3142s,@ECHO_T@,$ECHO_T,;t t 3143s,@LIBS@,$LIBS,;t t 3144s,@CXX@,$CXX,;t t 3145s,@CXXFLAGS@,$CXXFLAGS,;t t 3146s,@LDFLAGS@,$LDFLAGS,;t t 3147s,@CPPFLAGS@,$CPPFLAGS,;t t 3148s,@ac_ct_CXX@,$ac_ct_CXX,;t t 3149s,@EXEEXT@,$EXEEXT,;t t 3150s,@OBJEXT@,$OBJEXT,;t t 3151s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 3152s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 3153s,@INSTALL_DATA@,$INSTALL_DATA,;t t 3154s,@CYGPATH_W@,$CYGPATH_W,;t t 3155s,@PACKAGE@,$PACKAGE,;t t 3156s,@VERSION@,$VERSION,;t t 3157s,@ACLOCAL@,$ACLOCAL,;t t 3158s,@AUTOCONF@,$AUTOCONF,;t t 3159s,@AUTOMAKE@,$AUTOMAKE,;t t 3160s,@AUTOHEADER@,$AUTOHEADER,;t t 3161s,@MAKEINFO@,$MAKEINFO,;t t 3162s,@AMTAR@,$AMTAR,;t t 3163s,@install_sh@,$install_sh,;t t 3164s,@STRIP@,$STRIP,;t t 3165s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 3166s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 3167s,@mkdir_p@,$mkdir_p,;t t 3168s,@AWK@,$AWK,;t t 3169s,@SET_MAKE@,$SET_MAKE,;t t 3170s,@am__leading_dot@,$am__leading_dot,;t t 3171s,@DEPDIR@,$DEPDIR,;t t 3172s,@am__include@,$am__include,;t t 3173s,@am__quote@,$am__quote,;t t 3174s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 3175s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 3176s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 3177s,@CXXDEPMODE@,$CXXDEPMODE,;t t 3178s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t 3179s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t 3180s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t 3181s,@LTLIBOBJS@,$LTLIBOBJS,;t t 3182CEOF 3183 3184_ACEOF 3185 3186 cat >>$CONFIG_STATUS <<\_ACEOF 3187 # Split the substitutions into bite-sized pieces for seds with 3188 # small command number limits, like on Digital OSF/1 and HP-UX. 3189 ac_max_sed_lines=48 3190 ac_sed_frag=1 # Number of current file. 3191 ac_beg=1 # First line for current file. 3192 ac_end=$ac_max_sed_lines # Line after last line for current file. 3193 ac_more_lines=: 3194 ac_sed_cmds= 3195 while $ac_more_lines; do 3196 if test $ac_beg -gt 1; then 3197 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3198 else 3199 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3200 fi 3201 if test ! -s $tmp/subs.frag; then 3202 ac_more_lines=false 3203 else 3204 # The purpose of the label and of the branching condition is to 3205 # speed up the sed processing (if there are no `@' at all, there 3206 # is no need to browse any of the substitutions). 3207 # These are the two extra sed commands mentioned above. 3208 (echo ':t 3209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 3210 if test -z "$ac_sed_cmds"; then 3211 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 3212 else 3213 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 3214 fi 3215 ac_sed_frag=`expr $ac_sed_frag + 1` 3216 ac_beg=$ac_end 3217 ac_end=`expr $ac_end + $ac_max_sed_lines` 3218 fi 3219 done 3220 if test -z "$ac_sed_cmds"; then 3221 ac_sed_cmds=cat 3222 fi 3223fi # test -n "$CONFIG_FILES" 3224 3225_ACEOF 3226cat >>$CONFIG_STATUS <<\_ACEOF 3227for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3228 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3229 case $ac_file in 3230 - | *:- | *:-:* ) # input from stdin 3231 cat >$tmp/stdin 3232 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3233 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3234 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3235 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3236 * ) ac_file_in=$ac_file.in ;; 3237 esac 3238 3239 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 3240 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3241$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3242 X"$ac_file" : 'X\(//\)[^/]' \| \ 3243 X"$ac_file" : 'X\(//\)$' \| \ 3244 X"$ac_file" : 'X\(/\)' \| \ 3245 . : '\(.\)' 2>/dev/null || 3246echo X"$ac_file" | 3247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3248 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3249 /^X\(\/\/\)$/{ s//\1/; q; } 3250 /^X\(\/\).*/{ s//\1/; q; } 3251 s/.*/./; q'` 3252 { if $as_mkdir_p; then 3253 mkdir -p "$ac_dir" 3254 else 3255 as_dir="$ac_dir" 3256 as_dirs= 3257 while test ! -d "$as_dir"; do 3258 as_dirs="$as_dir $as_dirs" 3259 as_dir=`(dirname "$as_dir") 2>/dev/null || 3260$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3261 X"$as_dir" : 'X\(//\)[^/]' \| \ 3262 X"$as_dir" : 'X\(//\)$' \| \ 3263 X"$as_dir" : 'X\(/\)' \| \ 3264 . : '\(.\)' 2>/dev/null || 3265echo X"$as_dir" | 3266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3267 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3268 /^X\(\/\/\)$/{ s//\1/; q; } 3269 /^X\(\/\).*/{ s//\1/; q; } 3270 s/.*/./; q'` 3271 done 3272 test ! -n "$as_dirs" || mkdir $as_dirs 3273 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3274echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3275 { (exit 1); exit 1; }; }; } 3276 3277 ac_builddir=. 3278 3279if test "$ac_dir" != .; then 3280 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3281 # A "../" for each directory in $ac_dir_suffix. 3282 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3283else 3284 ac_dir_suffix= ac_top_builddir= 3285fi 3286 3287case $srcdir in 3288 .) # No --srcdir option. We are building in place. 3289 ac_srcdir=. 3290 if test -z "$ac_top_builddir"; then 3291 ac_top_srcdir=. 3292 else 3293 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3294 fi ;; 3295 [\\/]* | ?:[\\/]* ) # Absolute path. 3296 ac_srcdir=$srcdir$ac_dir_suffix; 3297 ac_top_srcdir=$srcdir ;; 3298 *) # Relative path. 3299 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3300 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3301esac 3302 3303# Do not use `cd foo && pwd` to compute absolute paths, because 3304# the directories may not exist. 3305case `pwd` in 3306.) ac_abs_builddir="$ac_dir";; 3307*) 3308 case "$ac_dir" in 3309 .) ac_abs_builddir=`pwd`;; 3310 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 3311 *) ac_abs_builddir=`pwd`/"$ac_dir";; 3312 esac;; 3313esac 3314case $ac_abs_builddir in 3315.) ac_abs_top_builddir=${ac_top_builddir}.;; 3316*) 3317 case ${ac_top_builddir}. in 3318 .) ac_abs_top_builddir=$ac_abs_builddir;; 3319 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 3320 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 3321 esac;; 3322esac 3323case $ac_abs_builddir in 3324.) ac_abs_srcdir=$ac_srcdir;; 3325*) 3326 case $ac_srcdir in 3327 .) ac_abs_srcdir=$ac_abs_builddir;; 3328 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 3329 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 3330 esac;; 3331esac 3332case $ac_abs_builddir in 3333.) ac_abs_top_srcdir=$ac_top_srcdir;; 3334*) 3335 case $ac_top_srcdir in 3336 .) ac_abs_top_srcdir=$ac_abs_builddir;; 3337 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 3338 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 3339 esac;; 3340esac 3341 3342 3343 case $INSTALL in 3344 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 3345 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3346 esac 3347 3348 if test x"$ac_file" != x-; then 3349 { echo "$as_me:$LINENO: creating $ac_file" >&5 3350echo "$as_me: creating $ac_file" >&6;} 3351 rm -f "$ac_file" 3352 fi 3353 # Let's still pretend it is `configure' which instantiates (i.e., don't 3354 # use $as_me), people would be surprised to read: 3355 # /* config.h. Generated by config.status. */ 3356 if test x"$ac_file" = x-; then 3357 configure_input= 3358 else 3359 configure_input="$ac_file. " 3360 fi 3361 configure_input=$configure_input"Generated from `echo $ac_file_in | 3362 sed 's,.*/,,'` by configure." 3363 3364 # First look for the input files in the build tree, otherwise in the 3365 # src tree. 3366 ac_file_inputs=`IFS=: 3367 for f in $ac_file_in; do 3368 case $f in 3369 -) echo $tmp/stdin ;; 3370 [\\/$]*) 3371 # Absolute (can't be DOS-style, as IFS=:) 3372 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3373echo "$as_me: error: cannot find input file: $f" >&2;} 3374 { (exit 1); exit 1; }; } 3375 echo "$f";; 3376 *) # Relative 3377 if test -f "$f"; then 3378 # Build tree 3379 echo "$f" 3380 elif test -f "$srcdir/$f"; then 3381 # Source tree 3382 echo "$srcdir/$f" 3383 else 3384 # /dev/null tree 3385 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3386echo "$as_me: error: cannot find input file: $f" >&2;} 3387 { (exit 1); exit 1; }; } 3388 fi;; 3389 esac 3390 done` || { (exit 1); exit 1; } 3391_ACEOF 3392cat >>$CONFIG_STATUS <<_ACEOF 3393 sed "$ac_vpsub 3394$extrasub 3395_ACEOF 3396cat >>$CONFIG_STATUS <<\_ACEOF 3397:t 3398/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 3399s,@configure_input@,$configure_input,;t t 3400s,@srcdir@,$ac_srcdir,;t t 3401s,@abs_srcdir@,$ac_abs_srcdir,;t t 3402s,@top_srcdir@,$ac_top_srcdir,;t t 3403s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 3404s,@builddir@,$ac_builddir,;t t 3405s,@abs_builddir@,$ac_abs_builddir,;t t 3406s,@top_builddir@,$ac_top_builddir,;t t 3407s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 3408s,@INSTALL@,$ac_INSTALL,;t t 3409" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 3410 rm -f $tmp/stdin 3411 if test x"$ac_file" != x-; then 3412 mv $tmp/out $ac_file 3413 else 3414 cat $tmp/out 3415 rm -f $tmp/out 3416 fi 3417 3418done 3419_ACEOF 3420cat >>$CONFIG_STATUS <<\_ACEOF 3421 3422# 3423# CONFIG_HEADER section. 3424# 3425 3426# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 3427# NAME is the cpp macro being defined and VALUE is the value it is being given. 3428# 3429# ac_d sets the value in "#define NAME VALUE" lines. 3430ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 3431ac_dB='[ ].*$,\1#\2' 3432ac_dC=' ' 3433ac_dD=',;t' 3434# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 3435ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 3436ac_uB='$,\1#\2define\3' 3437ac_uC=' ' 3438ac_uD=',;t' 3439 3440for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 3441 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3442 case $ac_file in 3443 - | *:- | *:-:* ) # input from stdin 3444 cat >$tmp/stdin 3445 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3446 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3447 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 3448 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 3449 * ) ac_file_in=$ac_file.in ;; 3450 esac 3451 3452 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 3453echo "$as_me: creating $ac_file" >&6;} 3454 3455 # First look for the input files in the build tree, otherwise in the 3456 # src tree. 3457 ac_file_inputs=`IFS=: 3458 for f in $ac_file_in; do 3459 case $f in 3460 -) echo $tmp/stdin ;; 3461 [\\/$]*) 3462 # Absolute (can't be DOS-style, as IFS=:) 3463 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3464echo "$as_me: error: cannot find input file: $f" >&2;} 3465 { (exit 1); exit 1; }; } 3466 # Do quote $f, to prevent DOS paths from being IFS'd. 3467 echo "$f";; 3468 *) # Relative 3469 if test -f "$f"; then 3470 # Build tree 3471 echo "$f" 3472 elif test -f "$srcdir/$f"; then 3473 # Source tree 3474 echo "$srcdir/$f" 3475 else 3476 # /dev/null tree 3477 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 3478echo "$as_me: error: cannot find input file: $f" >&2;} 3479 { (exit 1); exit 1; }; } 3480 fi;; 3481 esac 3482 done` || { (exit 1); exit 1; } 3483 # Remove the trailing spaces. 3484 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 3485 3486_ACEOF 3487 3488# Transform confdefs.h into two sed scripts, `conftest.defines' and 3489# `conftest.undefs', that substitutes the proper values into 3490# config.h.in to produce config.h. The first handles `#define' 3491# templates, and the second `#undef' templates. 3492# And first: Protect against being on the right side of a sed subst in 3493# config.status. Protect against being in an unquoted here document 3494# in config.status. 3495rm -f conftest.defines conftest.undefs 3496# Using a here document instead of a string reduces the quoting nightmare. 3497# Putting comments in sed scripts is not portable. 3498# 3499# `end' is used to avoid that the second main sed command (meant for 3500# 0-ary CPP macros) applies to n-ary macro definitions. 3501# See the Autoconf documentation for `clear'. 3502cat >confdef2sed.sed <<\_ACEOF 3503s/[\\&,]/\\&/g 3504s,[\\$`],\\&,g 3505t clear 3506: clear 3507s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 3508t end 3509s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 3510: end 3511_ACEOF 3512# If some macros were called several times there might be several times 3513# the same #defines, which is useless. Nevertheless, we may not want to 3514# sort them, since we want the *last* AC-DEFINE to be honored. 3515uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 3516sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 3517rm -f confdef2sed.sed 3518 3519# This sed command replaces #undef with comments. This is necessary, for 3520# example, in the case of _POSIX_SOURCE, which is predefined and required 3521# on some systems where configure will not decide to define it. 3522cat >>conftest.undefs <<\_ACEOF 3523s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 3524_ACEOF 3525 3526# Break up conftest.defines because some shells have a limit on the size 3527# of here documents, and old seds have small limits too (100 cmds). 3528echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 3529echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 3530echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 3531echo ' :' >>$CONFIG_STATUS 3532rm -f conftest.tail 3533while grep . conftest.defines >/dev/null 3534do 3535 # Write a limited-size here document to $tmp/defines.sed. 3536 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 3537 # Speed up: don't consider the non `#define' lines. 3538 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 3539 # Work around the forget-to-reset-the-flag bug. 3540 echo 't clr' >>$CONFIG_STATUS 3541 echo ': clr' >>$CONFIG_STATUS 3542 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 3543 echo 'CEOF 3544 sed -f $tmp/defines.sed $tmp/in >$tmp/out 3545 rm -f $tmp/in 3546 mv $tmp/out $tmp/in 3547' >>$CONFIG_STATUS 3548 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 3549 rm -f conftest.defines 3550 mv conftest.tail conftest.defines 3551done 3552rm -f conftest.defines 3553echo ' fi # grep' >>$CONFIG_STATUS 3554echo >>$CONFIG_STATUS 3555 3556# Break up conftest.undefs because some shells have a limit on the size 3557# of here documents, and old seds have small limits too (100 cmds). 3558echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 3559rm -f conftest.tail 3560while grep . conftest.undefs >/dev/null 3561do 3562 # Write a limited-size here document to $tmp/undefs.sed. 3563 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 3564 # Speed up: don't consider the non `#undef' 3565 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 3566 # Work around the forget-to-reset-the-flag bug. 3567 echo 't clr' >>$CONFIG_STATUS 3568 echo ': clr' >>$CONFIG_STATUS 3569 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 3570 echo 'CEOF 3571 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 3572 rm -f $tmp/in 3573 mv $tmp/out $tmp/in 3574' >>$CONFIG_STATUS 3575 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 3576 rm -f conftest.undefs 3577 mv conftest.tail conftest.undefs 3578done 3579rm -f conftest.undefs 3580 3581cat >>$CONFIG_STATUS <<\_ACEOF 3582 # Let's still pretend it is `configure' which instantiates (i.e., don't 3583 # use $as_me), people would be surprised to read: 3584 # /* config.h. Generated by config.status. */ 3585 if test x"$ac_file" = x-; then 3586 echo "/* Generated by configure. */" >$tmp/config.h 3587 else 3588 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 3589 fi 3590 cat $tmp/in >>$tmp/config.h 3591 rm -f $tmp/in 3592 if test x"$ac_file" != x-; then 3593 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 3594 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 3595echo "$as_me: $ac_file is unchanged" >&6;} 3596 else 3597 ac_dir=`(dirname "$ac_file") 2>/dev/null || 3598$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3599 X"$ac_file" : 'X\(//\)[^/]' \| \ 3600 X"$ac_file" : 'X\(//\)$' \| \ 3601 X"$ac_file" : 'X\(/\)' \| \ 3602 . : '\(.\)' 2>/dev/null || 3603echo X"$ac_file" | 3604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3605 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3606 /^X\(\/\/\)$/{ s//\1/; q; } 3607 /^X\(\/\).*/{ s//\1/; q; } 3608 s/.*/./; q'` 3609 { if $as_mkdir_p; then 3610 mkdir -p "$ac_dir" 3611 else 3612 as_dir="$ac_dir" 3613 as_dirs= 3614 while test ! -d "$as_dir"; do 3615 as_dirs="$as_dir $as_dirs" 3616 as_dir=`(dirname "$as_dir") 2>/dev/null || 3617$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3618 X"$as_dir" : 'X\(//\)[^/]' \| \ 3619 X"$as_dir" : 'X\(//\)$' \| \ 3620 X"$as_dir" : 'X\(/\)' \| \ 3621 . : '\(.\)' 2>/dev/null || 3622echo X"$as_dir" | 3623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3624 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3625 /^X\(\/\/\)$/{ s//\1/; q; } 3626 /^X\(\/\).*/{ s//\1/; q; } 3627 s/.*/./; q'` 3628 done 3629 test ! -n "$as_dirs" || mkdir $as_dirs 3630 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3631echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3632 { (exit 1); exit 1; }; }; } 3633 3634 rm -f $ac_file 3635 mv $tmp/config.h $ac_file 3636 fi 3637 else 3638 cat $tmp/config.h 3639 rm -f $tmp/config.h 3640 fi 3641# Compute $ac_file's index in $config_headers. 3642_am_stamp_count=1 3643for _am_header in $config_headers :; do 3644 case $_am_header in 3645 $ac_file | $ac_file:* ) 3646 break ;; 3647 * ) 3648 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 3649 esac 3650done 3651echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 3652$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3653 X$ac_file : 'X\(//\)[^/]' \| \ 3654 X$ac_file : 'X\(//\)$' \| \ 3655 X$ac_file : 'X\(/\)' \| \ 3656 . : '\(.\)' 2>/dev/null || 3657echo X$ac_file | 3658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3659 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3660 /^X\(\/\/\)$/{ s//\1/; q; } 3661 /^X\(\/\).*/{ s//\1/; q; } 3662 s/.*/./; q'`/stamp-h$_am_stamp_count 3663done 3664_ACEOF 3665cat >>$CONFIG_STATUS <<\_ACEOF 3666 3667# 3668# CONFIG_COMMANDS section. 3669# 3670for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 3671 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 3672 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 3673 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 3674$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3675 X"$ac_dest" : 'X\(//\)[^/]' \| \ 3676 X"$ac_dest" : 'X\(//\)$' \| \ 3677 X"$ac_dest" : 'X\(/\)' \| \ 3678 . : '\(.\)' 2>/dev/null || 3679echo X"$ac_dest" | 3680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3681 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3682 /^X\(\/\/\)$/{ s//\1/; q; } 3683 /^X\(\/\).*/{ s//\1/; q; } 3684 s/.*/./; q'` 3685 { if $as_mkdir_p; then 3686 mkdir -p "$ac_dir" 3687 else 3688 as_dir="$ac_dir" 3689 as_dirs= 3690 while test ! -d "$as_dir"; do 3691 as_dirs="$as_dir $as_dirs" 3692 as_dir=`(dirname "$as_dir") 2>/dev/null || 3693$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3694 X"$as_dir" : 'X\(//\)[^/]' \| \ 3695 X"$as_dir" : 'X\(//\)$' \| \ 3696 X"$as_dir" : 'X\(/\)' \| \ 3697 . : '\(.\)' 2>/dev/null || 3698echo X"$as_dir" | 3699 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3700 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3701 /^X\(\/\/\)$/{ s//\1/; q; } 3702 /^X\(\/\).*/{ s//\1/; q; } 3703 s/.*/./; q'` 3704 done 3705 test ! -n "$as_dirs" || mkdir $as_dirs 3706 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 3707echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 3708 { (exit 1); exit 1; }; }; } 3709 3710 ac_builddir=. 3711 3712if test "$ac_dir" != .; then 3713 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3714 # A "../" for each directory in $ac_dir_suffix. 3715 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 3716else 3717 ac_dir_suffix= ac_top_builddir= 3718fi 3719 3720case $srcdir in 3721 .) # No --srcdir option. We are building in place. 3722 ac_srcdir=. 3723 if test -z "$ac_top_builddir"; then 3724 ac_top_srcdir=. 3725 else 3726 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 3727 fi ;; 3728 [\\/]* | ?:[\\/]* ) # Absolute path. 3729 ac_srcdir=$srcdir$ac_dir_suffix; 3730 ac_top_srcdir=$srcdir ;; 3731 *) # Relative path. 3732 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 3733 ac_top_srcdir=$ac_top_builddir$srcdir ;; 3734esac 3735 3736# Do not use `cd foo && pwd` to compute absolute paths, because 3737# the directories may not exist. 3738case `pwd` in 3739.) ac_abs_builddir="$ac_dir";; 3740*) 3741 case "$ac_dir" in 3742 .) ac_abs_builddir=`pwd`;; 3743 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 3744 *) ac_abs_builddir=`pwd`/"$ac_dir";; 3745 esac;; 3746esac 3747case $ac_abs_builddir in 3748.) ac_abs_top_builddir=${ac_top_builddir}.;; 3749*) 3750 case ${ac_top_builddir}. in 3751 .) ac_abs_top_builddir=$ac_abs_builddir;; 3752 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 3753 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 3754 esac;; 3755esac 3756case $ac_abs_builddir in 3757.) ac_abs_srcdir=$ac_srcdir;; 3758*) 3759 case $ac_srcdir in 3760 .) ac_abs_srcdir=$ac_abs_builddir;; 3761 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 3762 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 3763 esac;; 3764esac 3765case $ac_abs_builddir in 3766.) ac_abs_top_srcdir=$ac_top_srcdir;; 3767*) 3768 case $ac_top_srcdir in 3769 .) ac_abs_top_srcdir=$ac_abs_builddir;; 3770 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 3771 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 3772 esac;; 3773esac 3774 3775 3776 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 3777echo "$as_me: executing $ac_dest commands" >&6;} 3778 case $ac_dest in 3779 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 3780 # Strip MF so we end up with the name of the file. 3781 mf=`echo "$mf" | sed -e 's/:.*$//'` 3782 # Check whether this is an Automake generated Makefile or not. 3783 # We used to match only the files named `Makefile.in', but 3784 # some people rename them; so instead we look at the file content. 3785 # Grep'ing the first line is not enough: some people post-process 3786 # each Makefile.in and add a new line on top of each file to say so. 3787 # So let's grep whole file. 3788 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 3789 dirpart=`(dirname "$mf") 2>/dev/null || 3790$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3791 X"$mf" : 'X\(//\)[^/]' \| \ 3792 X"$mf" : 'X\(//\)$' \| \ 3793 X"$mf" : 'X\(/\)' \| \ 3794 . : '\(.\)' 2>/dev/null || 3795echo X"$mf" | 3796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3797 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3798 /^X\(\/\/\)$/{ s//\1/; q; } 3799 /^X\(\/\).*/{ s//\1/; q; } 3800 s/.*/./; q'` 3801 else 3802 continue 3803 fi 3804 grep '^DEP_FILES *= *[^ @%:@]' < "$mf" > /dev/null || continue 3805 # Extract the definition of DEP_FILES from the Makefile without 3806 # running `make'. 3807 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 3808 test -z "$DEPDIR" && continue 3809 # When using ansi2knr, U may be empty or an underscore; expand it 3810 U=`sed -n 's/^U = //p' < "$mf"` 3811 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 3812 # We invoke sed twice because it is the simplest approach to 3813 # changing $(DEPDIR) to its actual value in the expansion. 3814 for file in `sed -n ' 3815 /^DEP_FILES = .*\\\\$/ { 3816 s/^DEP_FILES = // 3817 :loop 3818 s/\\\\$// 3819 p 3820 n 3821 /\\\\$/ b loop 3822 p 3823 } 3824 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 3825 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 3826 # Make sure the directory exists. 3827 test -f "$dirpart/$file" && continue 3828 fdir=`(dirname "$file") 2>/dev/null || 3829$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3830 X"$file" : 'X\(//\)[^/]' \| \ 3831 X"$file" : 'X\(//\)$' \| \ 3832 X"$file" : 'X\(/\)' \| \ 3833 . : '\(.\)' 2>/dev/null || 3834echo X"$file" | 3835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3836 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3837 /^X\(\/\/\)$/{ s//\1/; q; } 3838 /^X\(\/\).*/{ s//\1/; q; } 3839 s/.*/./; q'` 3840 { if $as_mkdir_p; then 3841 mkdir -p $dirpart/$fdir 3842 else 3843 as_dir=$dirpart/$fdir 3844 as_dirs= 3845 while test ! -d "$as_dir"; do 3846 as_dirs="$as_dir $as_dirs" 3847 as_dir=`(dirname "$as_dir") 2>/dev/null || 3848$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3849 X"$as_dir" : 'X\(//\)[^/]' \| \ 3850 X"$as_dir" : 'X\(//\)$' \| \ 3851 X"$as_dir" : 'X\(/\)' \| \ 3852 . : '\(.\)' 2>/dev/null || 3853echo X"$as_dir" | 3854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 3855 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 3856 /^X\(\/\/\)$/{ s//\1/; q; } 3857 /^X\(\/\).*/{ s//\1/; q; } 3858 s/.*/./; q'` 3859 done 3860 test ! -n "$as_dirs" || mkdir $as_dirs 3861 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 3862echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 3863 { (exit 1); exit 1; }; }; } 3864 3865 # echo "creating $dirpart/$file" 3866 echo '# dummy' > "$dirpart/$file" 3867 done 3868done 3869 ;; 3870 esac 3871done 3872_ACEOF 3873 3874cat >>$CONFIG_STATUS <<\_ACEOF 3875 3876{ (exit 0); exit 0; } 3877_ACEOF 3878chmod +x $CONFIG_STATUS 3879ac_clean_files=$ac_clean_files_save 3880 3881 3882# configure is writing to config.log, and then calls config.status. 3883# config.status does its own redirection, appending to config.log. 3884# Unfortunately, on DOS this fails, as config.log is still kept open 3885# by configure, so config.status won't be able to write to it; its 3886# output is simply discarded. So we exec the FD to /dev/null, 3887# effectively closing config.log, so it can be properly (re)opened and 3888# appended to by config.status. When coming back to configure, we 3889# need to make the FD available again. 3890if test "$no_create" != yes; then 3891 ac_cs_success=: 3892 ac_config_status_args= 3893 test "$silent" = yes && 3894 ac_config_status_args="$ac_config_status_args --quiet" 3895 exec 5>/dev/null 3896 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3897 exec 5>>config.log 3898 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3899 # would make configure fail if this is the last instruction. 3900 $ac_cs_success || { (exit 1); exit 1; } 3901fi 3902 3903