1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.57. 4# 5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 6# Free Software Foundation, Inc. 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. 9## --------------------- ## 10## M4sh Initialization. ## 11## --------------------- ## 12 13# Be Bourne compatible 14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 15 emulate sh 16 NULLCMD=: 17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 18 # is contrary to our usage. Disable this feature. 19 alias -g '${1+"$@"}'='"$@"' 20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 21 set -o posix 22fi 23 24# Support unset when possible. 25if (FOO=FOO; unset FOO) >/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 -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 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 as_mkdir_p=false 222fi 223 224as_executable_p="test -f" 225 226# Sed expression to map a string onto a valid CPP name. 227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 228 229# Sed expression to map a string onto a valid variable name. 230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 231 232 233# IFS 234# We need space, tab and new line, in precisely that order. 235as_nl=' 236' 237IFS=" $as_nl" 238 239# CDPATH. 240$as_unset CDPATH 241 242 243# Name of the host. 244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 245# so uname gets run too. 246ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 247 248exec 6>&1 249 250# 251# Initializations. 252# 253ac_default_prefix=/usr/local 254ac_config_libobj_dir=. 255cross_compiling=no 256subdirs= 257MFLAGS= 258MAKEFLAGS= 259SHELL=${CONFIG_SHELL-/bin/sh} 260 261# Maximum number of lines to put in a shell here document. 262# This variable seems obsolete. It should probably be removed, and 263# only ac_max_sed_lines should be used. 264: ${ac_max_here_lines=38} 265 266# Identity of this package. 267PACKAGE_NAME= 268PACKAGE_TARNAME= 269PACKAGE_VERSION= 270PACKAGE_STRING= 271PACKAGE_BUGREPORT= 272 273ac_unique_file="mmake.in" 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PERL JAVAC LIBOBJS 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 715 716# 717# Report the --help message. 718# 719if test "$ac_init_help" = "long"; then 720 # Omit some internal or obsolete options to make the list less imposing. 721 # This message is too long to be a string in the A/UX 3.1 sh. 722 cat <<_ACEOF 723\`configure' configures this package to adapt to many kinds of systems. 724 725Usage: $0 [OPTION]... [VAR=VALUE]... 726 727To assign environment variables (e.g., CC, CFLAGS...), specify them as 728VAR=VALUE. See below for descriptions of some of the useful variables. 729 730Defaults for the options are specified in brackets. 731 732Configuration: 733 -h, --help display this help and exit 734 --help=short display options specific to this package 735 --help=recursive display the short help of all the included packages 736 -V, --version display version information and exit 737 -q, --quiet, --silent do not print \`checking...' messages 738 --cache-file=FILE cache test results in FILE [disabled] 739 -C, --config-cache alias for \`--cache-file=config.cache' 740 -n, --no-create do not create output files 741 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 742 743_ACEOF 744 745 cat <<_ACEOF 746Installation directories: 747 --prefix=PREFIX install architecture-independent files in PREFIX 748 [$ac_default_prefix] 749 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 750 [PREFIX] 751 752By default, \`make install' will install all the files in 753\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 754an installation prefix other than \`$ac_default_prefix' using \`--prefix', 755for instance \`--prefix=\$HOME'. 756 757For better control, use the options below. 758 759Fine tuning of the installation directories: 760 --bindir=DIR user executables [EPREFIX/bin] 761 --sbindir=DIR system admin executables [EPREFIX/sbin] 762 --libexecdir=DIR program executables [EPREFIX/libexec] 763 --datadir=DIR read-only architecture-independent data [PREFIX/share] 764 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 765 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 766 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 767 --libdir=DIR object code libraries [EPREFIX/lib] 768 --includedir=DIR C header files [PREFIX/include] 769 --oldincludedir=DIR C header files for non-gcc [/usr/include] 770 --infodir=DIR info documentation [PREFIX/info] 771 --mandir=DIR man documentation [PREFIX/man] 772_ACEOF 773 774 cat <<\_ACEOF 775_ACEOF 776fi 777 778if test -n "$ac_init_help"; then 779 780 cat <<\_ACEOF 781 782_ACEOF 783fi 784 785if test "$ac_init_help" = "recursive"; then 786 # If there are subdirs, report their specific --help. 787 ac_popdir=`pwd` 788 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 789 test -d $ac_dir || continue 790 ac_builddir=. 791 792if test "$ac_dir" != .; then 793 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 794 # A "../" for each directory in $ac_dir_suffix. 795 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 796else 797 ac_dir_suffix= ac_top_builddir= 798fi 799 800case $srcdir in 801 .) # No --srcdir option. We are building in place. 802 ac_srcdir=. 803 if test -z "$ac_top_builddir"; then 804 ac_top_srcdir=. 805 else 806 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 807 fi ;; 808 [\\/]* | ?:[\\/]* ) # Absolute path. 809 ac_srcdir=$srcdir$ac_dir_suffix; 810 ac_top_srcdir=$srcdir ;; 811 *) # Relative path. 812 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 813 ac_top_srcdir=$ac_top_builddir$srcdir ;; 814esac 815# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 816# absolute. 817ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 818ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 819ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 820ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 821 822 cd $ac_dir 823 # Check for guested configure; otherwise get Cygnus style configure. 824 if test -f $ac_srcdir/configure.gnu; then 825 echo 826 $SHELL $ac_srcdir/configure.gnu --help=recursive 827 elif test -f $ac_srcdir/configure; then 828 echo 829 $SHELL $ac_srcdir/configure --help=recursive 830 elif test -f $ac_srcdir/configure.ac || 831 test -f $ac_srcdir/configure.in; then 832 echo 833 $ac_configure --help 834 else 835 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 836 fi 837 cd $ac_popdir 838 done 839fi 840 841test -n "$ac_init_help" && exit 0 842if $ac_init_version; then 843 cat <<\_ACEOF 844 845Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 846Free Software Foundation, Inc. 847This configure script is free software; the Free Software Foundation 848gives unlimited permission to copy, distribute and modify it. 849_ACEOF 850 exit 0 851fi 852exec 5>config.log 853cat >&5 <<_ACEOF 854This file contains any messages produced by compilers while 855running configure, to aid debugging if configure makes a mistake. 856 857It was created by $as_me, which was 858generated by GNU Autoconf 2.57. Invocation command line was 859 860 $ $0 $@ 861 862_ACEOF 863{ 864cat <<_ASUNAME 865## --------- ## 866## Platform. ## 867## --------- ## 868 869hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 870uname -m = `(uname -m) 2>/dev/null || echo unknown` 871uname -r = `(uname -r) 2>/dev/null || echo unknown` 872uname -s = `(uname -s) 2>/dev/null || echo unknown` 873uname -v = `(uname -v) 2>/dev/null || echo unknown` 874 875/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 876/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 877 878/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 879/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 880/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 881hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 882/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 883/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 884/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 885 886_ASUNAME 887 888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 889for as_dir in $PATH 890do 891 IFS=$as_save_IFS 892 test -z "$as_dir" && as_dir=. 893 echo "PATH: $as_dir" 894done 895 896} >&5 897 898cat >&5 <<_ACEOF 899 900 901## ----------- ## 902## Core tests. ## 903## ----------- ## 904 905_ACEOF 906 907 908# Keep a trace of the command line. 909# Strip out --no-create and --no-recursion so they do not pile up. 910# Strip out --silent because we don't want to record it for future runs. 911# Also quote any args containing shell meta-characters. 912# Make two passes to allow for proper duplicate-argument suppression. 913ac_configure_args= 914ac_configure_args0= 915ac_configure_args1= 916ac_sep= 917ac_must_keep_next=false 918for ac_pass in 1 2 919do 920 for ac_arg 921 do 922 case $ac_arg in 923 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 924 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 925 | -silent | --silent | --silen | --sile | --sil) 926 continue ;; 927 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 928 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 929 esac 930 case $ac_pass in 931 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 932 2) 933 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 934 if test $ac_must_keep_next = true; then 935 ac_must_keep_next=false # Got value, back to normal. 936 else 937 case $ac_arg in 938 *=* | --config-cache | -C | -disable-* | --disable-* \ 939 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 940 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 941 | -with-* | --with-* | -without-* | --without-* | --x) 942 case "$ac_configure_args0 " in 943 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 944 esac 945 ;; 946 -* ) ac_must_keep_next=true ;; 947 esac 948 fi 949 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 950 # Get rid of the leading space. 951 ac_sep=" " 952 ;; 953 esac 954 done 955done 956$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 957$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 958 959# When interrupted or exit'd, cleanup temporary files, and complete 960# config.log. We remove comments because anyway the quotes in there 961# would cause problems or look ugly. 962# WARNING: Be sure not to use single quotes in there, as some shells, 963# such as our DU 5.0 friend, will then `close' the trap. 964trap 'exit_status=$? 965 # Save into config.log some information that might help in debugging. 966 { 967 echo 968 969 cat <<\_ASBOX 970## ---------------- ## 971## Cache variables. ## 972## ---------------- ## 973_ASBOX 974 echo 975 # The following way of writing the cache mishandles newlines in values, 976{ 977 (set) 2>&1 | 978 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 979 *ac_space=\ *) 980 sed -n \ 981 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 982 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 983 ;; 984 *) 985 sed -n \ 986 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 987 ;; 988 esac; 989} 990 echo 991 992 cat <<\_ASBOX 993## ----------------- ## 994## Output variables. ## 995## ----------------- ## 996_ASBOX 997 echo 998 for ac_var in $ac_subst_vars 999 do 1000 eval ac_val=$`echo $ac_var` 1001 echo "$ac_var='"'"'$ac_val'"'"'" 1002 done | sort 1003 echo 1004 1005 if test -n "$ac_subst_files"; then 1006 cat <<\_ASBOX 1007## ------------- ## 1008## Output files. ## 1009## ------------- ## 1010_ASBOX 1011 echo 1012 for ac_var in $ac_subst_files 1013 do 1014 eval ac_val=$`echo $ac_var` 1015 echo "$ac_var='"'"'$ac_val'"'"'" 1016 done | sort 1017 echo 1018 fi 1019 1020 if test -s confdefs.h; then 1021 cat <<\_ASBOX 1022## ----------- ## 1023## confdefs.h. ## 1024## ----------- ## 1025_ASBOX 1026 echo 1027 sed "/^$/d" confdefs.h | sort 1028 echo 1029 fi 1030 test "$ac_signal" != 0 && 1031 echo "$as_me: caught signal $ac_signal" 1032 echo "$as_me: exit $exit_status" 1033 } >&5 1034 rm -f core core.* *.core && 1035 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1036 exit $exit_status 1037 ' 0 1038for ac_signal in 1 2 13 15; do 1039 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1040done 1041ac_signal=0 1042 1043# confdefs.h avoids OS command line length limits that DEFS can exceed. 1044rm -rf conftest* confdefs.h 1045# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1046echo >confdefs.h 1047 1048# Predefined preprocessor variables. 1049 1050cat >>confdefs.h <<_ACEOF 1051#define PACKAGE_NAME "$PACKAGE_NAME" 1052_ACEOF 1053 1054 1055cat >>confdefs.h <<_ACEOF 1056#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1057_ACEOF 1058 1059 1060cat >>confdefs.h <<_ACEOF 1061#define PACKAGE_VERSION "$PACKAGE_VERSION" 1062_ACEOF 1063 1064 1065cat >>confdefs.h <<_ACEOF 1066#define PACKAGE_STRING "$PACKAGE_STRING" 1067_ACEOF 1068 1069 1070cat >>confdefs.h <<_ACEOF 1071#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1072_ACEOF 1073 1074 1075# Let the site file select an alternate cache file if it wants to. 1076# Prefer explicitly selected file to automatically selected ones. 1077if test -z "$CONFIG_SITE"; then 1078 if test "x$prefix" != xNONE; then 1079 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1080 else 1081 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1082 fi 1083fi 1084for ac_site_file in $CONFIG_SITE; do 1085 if test -r "$ac_site_file"; then 1086 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1087echo "$as_me: loading site script $ac_site_file" >&6;} 1088 sed 's/^/| /' "$ac_site_file" >&5 1089 . "$ac_site_file" 1090 fi 1091done 1092 1093if test -r "$cache_file"; then 1094 # Some versions of bash will fail to source /dev/null (special 1095 # files actually), so we avoid doing that. 1096 if test -f "$cache_file"; then 1097 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1098echo "$as_me: loading cache $cache_file" >&6;} 1099 case $cache_file in 1100 [\\/]* | ?:[\\/]* ) . $cache_file;; 1101 *) . ./$cache_file;; 1102 esac 1103 fi 1104else 1105 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1106echo "$as_me: creating cache $cache_file" >&6;} 1107 >$cache_file 1108fi 1109 1110# Check that the precious variables saved in the cache have kept the same 1111# value. 1112ac_cache_corrupted=false 1113for ac_var in `(set) 2>&1 | 1114 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1115 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1116 eval ac_new_set=\$ac_env_${ac_var}_set 1117 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1118 eval ac_new_val="\$ac_env_${ac_var}_value" 1119 case $ac_old_set,$ac_new_set in 1120 set,) 1121 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1122echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1123 ac_cache_corrupted=: ;; 1124 ,set) 1125 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1126echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1127 ac_cache_corrupted=: ;; 1128 ,);; 1129 *) 1130 if test "x$ac_old_val" != "x$ac_new_val"; then 1131 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1132echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1133 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1134echo "$as_me: former value: $ac_old_val" >&2;} 1135 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1136echo "$as_me: current value: $ac_new_val" >&2;} 1137 ac_cache_corrupted=: 1138 fi;; 1139 esac 1140 # Pass precious variables to config.status. 1141 if test "$ac_new_set" = set; then 1142 case $ac_new_val in 1143 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1144 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1145 *) ac_arg=$ac_var=$ac_new_val ;; 1146 esac 1147 case " $ac_configure_args " in 1148 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1149 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1150 esac 1151 fi 1152done 1153if $ac_cache_corrupted; then 1154 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1155echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1156 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1157echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1158 { (exit 1); exit 1; }; } 1159fi 1160 1161ac_ext=c 1162ac_cpp='$CPP $CPPFLAGS' 1163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1165ac_compiler_gnu=$ac_cv_c_compiler_gnu 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186ac_aux_dir= 1187for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1188 if test -f $ac_dir/install-sh; then 1189 ac_aux_dir=$ac_dir 1190 ac_install_sh="$ac_aux_dir/install-sh -c" 1191 break 1192 elif test -f $ac_dir/install.sh; then 1193 ac_aux_dir=$ac_dir 1194 ac_install_sh="$ac_aux_dir/install.sh -c" 1195 break 1196 elif test -f $ac_dir/shtool; then 1197 ac_aux_dir=$ac_dir 1198 ac_install_sh="$ac_aux_dir/shtool install -c" 1199 break 1200 fi 1201done 1202if test -z "$ac_aux_dir"; then 1203 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1204echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1205 { (exit 1); exit 1; }; } 1206fi 1207ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1208ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1209ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1210 1211# Find a good install program. We prefer a C program (faster), 1212# so one script is as good as another. But avoid the broken or 1213# incompatible versions: 1214# SysV /etc/install, /usr/sbin/install 1215# SunOS /usr/etc/install 1216# IRIX /sbin/install 1217# AIX /bin/install 1218# AmigaOS /C/install, which installs bootblocks on floppy discs 1219# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1220# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1221# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1222# ./install, which can be erroneously created by make from ./install.sh. 1223echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1224echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1225if test -z "$INSTALL"; then 1226if test "${ac_cv_path_install+set}" = set; then 1227 echo $ECHO_N "(cached) $ECHO_C" >&6 1228else 1229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1230for as_dir in $PATH 1231do 1232 IFS=$as_save_IFS 1233 test -z "$as_dir" && as_dir=. 1234 # Account for people who put trailing slashes in PATH elements. 1235case $as_dir/ in 1236 ./ | .// | /cC/* | \ 1237 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1238 /usr/ucb/* ) ;; 1239 *) 1240 # OSF1 and SCO ODT 3.0 have their own names for install. 1241 # Don't use installbsd from OSF since it installs stuff as root 1242 # by default. 1243 for ac_prog in ginstall scoinst install; do 1244 for ac_exec_ext in '' $ac_executable_extensions; do 1245 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1246 if test $ac_prog = install && 1247 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1248 # AIX install. It has an incompatible calling convention. 1249 : 1250 elif test $ac_prog = install && 1251 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1252 # program-specific install script used by HP pwplus--don't use. 1253 : 1254 else 1255 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1256 break 3 1257 fi 1258 fi 1259 done 1260 done 1261 ;; 1262esac 1263done 1264 1265 1266fi 1267 if test "${ac_cv_path_install+set}" = set; then 1268 INSTALL=$ac_cv_path_install 1269 else 1270 # As a last resort, use the slow shell script. We don't cache a 1271 # path for INSTALL within a source directory, because that will 1272 # break other packages using the cache if that directory is 1273 # removed, or if the path is relative. 1274 INSTALL=$ac_install_sh 1275 fi 1276fi 1277echo "$as_me:$LINENO: result: $INSTALL" >&5 1278echo "${ECHO_T}$INSTALL" >&6 1279 1280# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1281# It thinks the first close brace ends the variable substitution. 1282test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1283 1284test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1285 1286test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1287 1288 1289# Extract the first word of "perl", so it can be a program name with args. 1290set dummy perl; ac_word=$2 1291echo "$as_me:$LINENO: checking for $ac_word" >&5 1292echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1293if test "${ac_cv_path_PERL+set}" = set; then 1294 echo $ECHO_N "(cached) $ECHO_C" >&6 1295else 1296 case $PERL in 1297 [\\/]* | ?:[\\/]*) 1298 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 1299 ;; 1300 *) 1301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1302for as_dir in $PATH 1303do 1304 IFS=$as_save_IFS 1305 test -z "$as_dir" && as_dir=. 1306 for ac_exec_ext in '' $ac_executable_extensions; do 1307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1308 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 1309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1310 break 2 1311 fi 1312done 1313done 1314 1315 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="not found" 1316 ;; 1317esac 1318fi 1319PERL=$ac_cv_path_PERL 1320 1321if test -n "$PERL"; then 1322 echo "$as_me:$LINENO: result: $PERL" >&5 1323echo "${ECHO_T}$PERL" >&6 1324else 1325 echo "$as_me:$LINENO: result: no" >&5 1326echo "${ECHO_T}no" >&6 1327fi 1328 1329if test "${PERL}" = "not found" 1330then 1331 { { echo "$as_me:$LINENO: error: ==> Install Perl and add it to your PATH" >&5 1332echo "$as_me: error: ==> Install Perl and add it to your PATH" >&2;} 1333 { (exit 1); exit 1; }; } 1334fi 1335 1336# Extract the first word of "jikes", so it can be a program name with args. 1337set dummy jikes; ac_word=$2 1338echo "$as_me:$LINENO: checking for $ac_word" >&5 1339echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1340if test "${ac_cv_prog_JAVAC+set}" = set; then 1341 echo $ECHO_N "(cached) $ECHO_C" >&6 1342else 1343 if test -n "$JAVAC"; then 1344 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 1345else 1346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1347for as_dir in $PATH 1348do 1349 IFS=$as_save_IFS 1350 test -z "$as_dir" && as_dir=. 1351 for ac_exec_ext in '' $ac_executable_extensions; do 1352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1353 ac_cv_prog_JAVAC="jikes" 1354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1355 break 2 1356 fi 1357done 1358done 1359 1360fi 1361fi 1362JAVAC=$ac_cv_prog_JAVAC 1363if test -n "$JAVAC"; then 1364 echo "$as_me:$LINENO: result: $JAVAC" >&5 1365echo "${ECHO_T}$JAVAC" >&6 1366else 1367 echo "$as_me:$LINENO: result: no" >&5 1368echo "${ECHO_T}no" >&6 1369fi 1370 1371if test "${JAVAC}" != "jikes" 1372then 1373 # Extract the first word of "javac", so it can be a program name with args. 1374set dummy javac; ac_word=$2 1375echo "$as_me:$LINENO: checking for $ac_word" >&5 1376echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1377if test "${ac_cv_prog_JAVAC+set}" = set; then 1378 echo $ECHO_N "(cached) $ECHO_C" >&6 1379else 1380 if test -n "$JAVAC"; then 1381 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test. 1382else 1383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1384for as_dir in $PATH 1385do 1386 IFS=$as_save_IFS 1387 test -z "$as_dir" && as_dir=. 1388 for ac_exec_ext in '' $ac_executable_extensions; do 1389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1390 ac_cv_prog_JAVAC="javac" 1391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1392 break 2 1393 fi 1394done 1395done 1396 1397fi 1398fi 1399JAVAC=$ac_cv_prog_JAVAC 1400if test -n "$JAVAC"; then 1401 echo "$as_me:$LINENO: result: $JAVAC" >&5 1402echo "${ECHO_T}$JAVAC" >&6 1403else 1404 echo "$as_me:$LINENO: result: no" >&5 1405echo "${ECHO_T}no" >&6 1406fi 1407 1408 if test "${JAVAC}" != "javac" 1409 then 1410 { { echo "$as_me:$LINENO: error: ==> Could not find jikes or javac on your system" >&5 1411echo "$as_me: error: ==> Could not find jikes or javac on your system" >&2;} 1412 { (exit 1); exit 1; }; } 1413 fi 1414fi 1415echo "$as_me:$LINENO: result: ==> mmake will use '${JAVAC}' as its java compiler" >&5 1416echo "${ECHO_T}==> mmake will use '${JAVAC}' as its java compiler" >&6 1417 1418 ac_config_files="$ac_config_files Makefile mmake" 1419cat >confcache <<\_ACEOF 1420# This file is a shell script that caches the results of configure 1421# tests run on this system so they can be shared between configure 1422# scripts and configure runs, see configure's option --config-cache. 1423# It is not useful on other systems. If it contains results you don't 1424# want to keep, you may remove or edit it. 1425# 1426# config.status only pays attention to the cache file if you give it 1427# the --recheck option to rerun configure. 1428# 1429# `ac_cv_env_foo' variables (set or unset) will be overridden when 1430# loading this file, other *unset* `ac_cv_foo' will be assigned the 1431# following values. 1432 1433_ACEOF 1434 1435# The following way of writing the cache mishandles newlines in values, 1436# but we know of no workaround that is simple, portable, and efficient. 1437# So, don't put newlines in cache variables' values. 1438# Ultrix sh set writes to stderr and can't be redirected directly, 1439# and sets the high bit in the cache file unless we assign to the vars. 1440{ 1441 (set) 2>&1 | 1442 case `(ac_space=' '; set | grep ac_space) 2>&1` in 1443 *ac_space=\ *) 1444 # `set' does not quote correctly, so add quotes (double-quote 1445 # substitution turns \\\\ into \\, and sed turns \\ into \). 1446 sed -n \ 1447 "s/'/'\\\\''/g; 1448 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1449 ;; 1450 *) 1451 # `set' quotes correctly as required by POSIX, so do not add quotes. 1452 sed -n \ 1453 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1454 ;; 1455 esac; 1456} | 1457 sed ' 1458 t clear 1459 : clear 1460 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1461 t end 1462 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1463 : end' >>confcache 1464if diff $cache_file confcache >/dev/null 2>&1; then :; else 1465 if test -w $cache_file; then 1466 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 1467 cat confcache >$cache_file 1468 else 1469 echo "not updating unwritable cache $cache_file" 1470 fi 1471fi 1472rm -f confcache 1473 1474test "x$prefix" = xNONE && prefix=$ac_default_prefix 1475# Let make expand exec_prefix. 1476test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1477 1478# VPATH may cause trouble with some makes, so we remove $(srcdir), 1479# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 1480# trailing colons and then remove the whole line if VPATH becomes empty 1481# (actually we leave an empty line to preserve line numbers). 1482if test "x$srcdir" = x.; then 1483 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 1484s/:*\$(srcdir):*/:/; 1485s/:*\${srcdir}:*/:/; 1486s/:*@srcdir@:*/:/; 1487s/^\([^=]*=[ ]*\):*/\1/; 1488s/:*$//; 1489s/^[^=]*=[ ]*$//; 1490}' 1491fi 1492 1493# Transform confdefs.h into DEFS. 1494# Protect against shell expansion while executing Makefile rules. 1495# Protect against Makefile macro expansion. 1496# 1497# If the first sed substitution is executed (which looks for macros that 1498# take arguments), then we branch to the quote section. Otherwise, 1499# look for a macro that doesn't take arguments. 1500cat >confdef2opt.sed <<\_ACEOF 1501t clear 1502: clear 1503s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 1504t quote 1505s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 1506t quote 1507d 1508: quote 1509s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 1510s,\[,\\&,g 1511s,\],\\&,g 1512s,\$,$$,g 1513p 1514_ACEOF 1515# We use echo to avoid assuming a particular line-breaking character. 1516# The extra dot is to prevent the shell from consuming trailing 1517# line-breaks from the sub-command output. A line-break within 1518# single-quotes doesn't work because, if this script is created in a 1519# platform that uses two characters for line-breaks (e.g., DOS), tr 1520# would break. 1521ac_LF_and_DOT=`echo; echo .` 1522DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 1523rm -f confdef2opt.sed 1524 1525 1526ac_libobjs= 1527ac_ltlibobjs= 1528for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1529 # 1. Remove the extension, and $U if already installed. 1530 ac_i=`echo "$ac_i" | 1531 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 1532 # 2. Add them. 1533 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 1534 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 1535done 1536LIBOBJS=$ac_libobjs 1537 1538LTLIBOBJS=$ac_ltlibobjs 1539 1540 1541 1542: ${CONFIG_STATUS=./config.status} 1543ac_clean_files_save=$ac_clean_files 1544ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1545{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 1546echo "$as_me: creating $CONFIG_STATUS" >&6;} 1547cat >$CONFIG_STATUS <<_ACEOF 1548#! $SHELL 1549# Generated by $as_me. 1550# Run this file to recreate the current configuration. 1551# Compiler output produced by configure, useful for debugging 1552# configure, is in config.log if it exists. 1553 1554debug=false 1555ac_cs_recheck=false 1556ac_cs_silent=false 1557SHELL=\${CONFIG_SHELL-$SHELL} 1558_ACEOF 1559 1560cat >>$CONFIG_STATUS <<\_ACEOF 1561## --------------------- ## 1562## M4sh Initialization. ## 1563## --------------------- ## 1564 1565# Be Bourne compatible 1566if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 1567 emulate sh 1568 NULLCMD=: 1569 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 1570 # is contrary to our usage. Disable this feature. 1571 alias -g '${1+"$@"}'='"$@"' 1572elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 1573 set -o posix 1574fi 1575 1576# Support unset when possible. 1577if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 1578 as_unset=unset 1579else 1580 as_unset=false 1581fi 1582 1583 1584# Work around bugs in pre-3.0 UWIN ksh. 1585$as_unset ENV MAIL MAILPATH 1586PS1='$ ' 1587PS2='> ' 1588PS4='+ ' 1589 1590# NLS nuisances. 1591for as_var in \ 1592 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 1593 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 1594 LC_TELEPHONE LC_TIME 1595do 1596 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then 1597 eval $as_var=C; export $as_var 1598 else 1599 $as_unset $as_var 1600 fi 1601done 1602 1603# Required to use basename. 1604if expr a : '\(a\)' >/dev/null 2>&1; then 1605 as_expr=expr 1606else 1607 as_expr=false 1608fi 1609 1610if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 1611 as_basename=basename 1612else 1613 as_basename=false 1614fi 1615 1616 1617# Name of the executable. 1618as_me=`$as_basename "$0" || 1619$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 1620 X"$0" : 'X\(//\)$' \| \ 1621 X"$0" : 'X\(/\)$' \| \ 1622 . : '\(.\)' 2>/dev/null || 1623echo X/"$0" | 1624 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 1625 /^X\/\(\/\/\)$/{ s//\1/; q; } 1626 /^X\/\(\/\).*/{ s//\1/; q; } 1627 s/.*/./; q'` 1628 1629 1630# PATH needs CR, and LINENO needs CR and PATH. 1631# Avoid depending upon Character Ranges. 1632as_cr_letters='abcdefghijklmnopqrstuvwxyz' 1633as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 1634as_cr_Letters=$as_cr_letters$as_cr_LETTERS 1635as_cr_digits='0123456789' 1636as_cr_alnum=$as_cr_Letters$as_cr_digits 1637 1638# The user is always right. 1639if test "${PATH_SEPARATOR+set}" != set; then 1640 echo "#! /bin/sh" >conf$$.sh 1641 echo "exit 0" >>conf$$.sh 1642 chmod +x conf$$.sh 1643 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 1644 PATH_SEPARATOR=';' 1645 else 1646 PATH_SEPARATOR=: 1647 fi 1648 rm -f conf$$.sh 1649fi 1650 1651 1652 as_lineno_1=$LINENO 1653 as_lineno_2=$LINENO 1654 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1655 test "x$as_lineno_1" != "x$as_lineno_2" && 1656 test "x$as_lineno_3" = "x$as_lineno_2" || { 1657 # Find who we are. Look in the path if we contain no path at all 1658 # relative or not. 1659 case $0 in 1660 *[\\/]* ) as_myself=$0 ;; 1661 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1662for as_dir in $PATH 1663do 1664 IFS=$as_save_IFS 1665 test -z "$as_dir" && as_dir=. 1666 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1667done 1668 1669 ;; 1670 esac 1671 # We did not find ourselves, most probably we were run as `sh COMMAND' 1672 # in which case we are not to be found in the path. 1673 if test "x$as_myself" = x; then 1674 as_myself=$0 1675 fi 1676 if test ! -f "$as_myself"; then 1677 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 1678echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 1679 { (exit 1); exit 1; }; } 1680 fi 1681 case $CONFIG_SHELL in 1682 '') 1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1684for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 1685do 1686 IFS=$as_save_IFS 1687 test -z "$as_dir" && as_dir=. 1688 for as_base in sh bash ksh sh5; do 1689 case $as_dir in 1690 /*) 1691 if ("$as_dir/$as_base" -c ' 1692 as_lineno_1=$LINENO 1693 as_lineno_2=$LINENO 1694 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 1695 test "x$as_lineno_1" != "x$as_lineno_2" && 1696 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 1697 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 1698 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 1699 CONFIG_SHELL=$as_dir/$as_base 1700 export CONFIG_SHELL 1701 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 1702 fi;; 1703 esac 1704 done 1705done 1706;; 1707 esac 1708 1709 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 1710 # uniformly replaced by the line number. The first 'sed' inserts a 1711 # line-number line before each line; the second 'sed' does the real 1712 # work. The second script uses 'N' to pair each line-number line 1713 # with the numbered line, and appends trailing '-' during 1714 # substitution so that $LINENO is not a special case at line end. 1715 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 1716 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 1717 sed '=' <$as_myself | 1718 sed ' 1719 N 1720 s,$,-, 1721 : loop 1722 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 1723 t loop 1724 s,-$,, 1725 s,^['$as_cr_digits']*\n,, 1726 ' >$as_me.lineno && 1727 chmod +x $as_me.lineno || 1728 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 1729echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 1730 { (exit 1); exit 1; }; } 1731 1732 # Don't try to exec as it changes $[0], causing all sort of problems 1733 # (the dirname of $[0] is not the place where we might find the 1734 # original and so on. Autoconf is especially sensible to this). 1735 . ./$as_me.lineno 1736 # Exit status is that of the last command. 1737 exit 1738} 1739 1740 1741case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 1742 *c*,-n*) ECHO_N= ECHO_C=' 1743' ECHO_T=' ' ;; 1744 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 1745 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 1746esac 1747 1748if expr a : '\(a\)' >/dev/null 2>&1; then 1749 as_expr=expr 1750else 1751 as_expr=false 1752fi 1753 1754rm -f conf$$ conf$$.exe conf$$.file 1755echo >conf$$.file 1756if ln -s conf$$.file conf$$ 2>/dev/null; then 1757 # We could just check for DJGPP; but this test a) works b) is more generic 1758 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 1759 if test -f conf$$.exe; then 1760 # Don't use ln at all; we don't have any links 1761 as_ln_s='cp -p' 1762 else 1763 as_ln_s='ln -s' 1764 fi 1765elif ln conf$$.file conf$$ 2>/dev/null; then 1766 as_ln_s=ln 1767else 1768 as_ln_s='cp -p' 1769fi 1770rm -f conf$$ conf$$.exe conf$$.file 1771 1772if mkdir -p . 2>/dev/null; then 1773 as_mkdir_p=: 1774else 1775 as_mkdir_p=false 1776fi 1777 1778as_executable_p="test -f" 1779 1780# Sed expression to map a string onto a valid CPP name. 1781as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 1782 1783# Sed expression to map a string onto a valid variable name. 1784as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 1785 1786 1787# IFS 1788# We need space, tab and new line, in precisely that order. 1789as_nl=' 1790' 1791IFS=" $as_nl" 1792 1793# CDPATH. 1794$as_unset CDPATH 1795 1796exec 6>&1 1797 1798# Open the log real soon, to keep \$[0] and so on meaningful, and to 1799# report actual input values of CONFIG_FILES etc. instead of their 1800# values after options handling. Logging --version etc. is OK. 1801exec 5>>config.log 1802{ 1803 echo 1804 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 1805## Running $as_me. ## 1806_ASBOX 1807} >&5 1808cat >&5 <<_CSEOF 1809 1810This file was extended by $as_me, which was 1811generated by GNU Autoconf 2.57. Invocation command line was 1812 1813 CONFIG_FILES = $CONFIG_FILES 1814 CONFIG_HEADERS = $CONFIG_HEADERS 1815 CONFIG_LINKS = $CONFIG_LINKS 1816 CONFIG_COMMANDS = $CONFIG_COMMANDS 1817 $ $0 $@ 1818 1819_CSEOF 1820echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 1821echo >&5 1822_ACEOF 1823 1824# Files that config.status was made for. 1825if test -n "$ac_config_files"; then 1826 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 1827fi 1828 1829if test -n "$ac_config_headers"; then 1830 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 1831fi 1832 1833if test -n "$ac_config_links"; then 1834 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 1835fi 1836 1837if test -n "$ac_config_commands"; then 1838 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 1839fi 1840 1841cat >>$CONFIG_STATUS <<\_ACEOF 1842 1843ac_cs_usage="\ 1844\`$as_me' instantiates files from templates according to the 1845current configuration. 1846 1847Usage: $0 [OPTIONS] [FILE]... 1848 1849 -h, --help print this help, then exit 1850 -V, --version print version number, then exit 1851 -q, --quiet do not print progress messages 1852 -d, --debug don't remove temporary files 1853 --recheck update $as_me by reconfiguring in the same conditions 1854 --file=FILE[:TEMPLATE] 1855 instantiate the configuration file FILE 1856 1857Configuration files: 1858$config_files 1859 1860Report bugs to <bug-autoconf@gnu.org>." 1861_ACEOF 1862 1863cat >>$CONFIG_STATUS <<_ACEOF 1864ac_cs_version="\\ 1865config.status 1866configured by $0, generated by GNU Autoconf 2.57, 1867 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 1868 1869Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 1870Free Software Foundation, Inc. 1871This config.status script is free software; the Free Software Foundation 1872gives unlimited permission to copy, distribute and modify it." 1873srcdir=$srcdir 1874INSTALL="$INSTALL" 1875_ACEOF 1876 1877cat >>$CONFIG_STATUS <<\_ACEOF 1878# If no file are specified by the user, then we need to provide default 1879# value. By we need to know if files were specified by the user. 1880ac_need_defaults=: 1881while test $# != 0 1882do 1883 case $1 in 1884 --*=*) 1885 ac_option=`expr "x$1" : 'x\([^=]*\)='` 1886 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 1887 ac_shift=: 1888 ;; 1889 -*) 1890 ac_option=$1 1891 ac_optarg=$2 1892 ac_shift=shift 1893 ;; 1894 *) # This is not an option, so the user has probably given explicit 1895 # arguments. 1896 ac_option=$1 1897 ac_need_defaults=false;; 1898 esac 1899 1900 case $ac_option in 1901 # Handling of the options. 1902_ACEOF 1903cat >>$CONFIG_STATUS <<\_ACEOF 1904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 1905 ac_cs_recheck=: ;; 1906 --version | --vers* | -V ) 1907 echo "$ac_cs_version"; exit 0 ;; 1908 --he | --h) 1909 # Conflict between --help and --header 1910 { { echo "$as_me:$LINENO: error: ambiguous option: $1 1911Try \`$0 --help' for more information." >&5 1912echo "$as_me: error: ambiguous option: $1 1913Try \`$0 --help' for more information." >&2;} 1914 { (exit 1); exit 1; }; };; 1915 --help | --hel | -h ) 1916 echo "$ac_cs_usage"; exit 0 ;; 1917 --debug | --d* | -d ) 1918 debug=: ;; 1919 --file | --fil | --fi | --f ) 1920 $ac_shift 1921 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 1922 ac_need_defaults=false;; 1923 --header | --heade | --head | --hea ) 1924 $ac_shift 1925 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 1926 ac_need_defaults=false;; 1927 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1928 | -silent | --silent | --silen | --sile | --sil | --si | --s) 1929 ac_cs_silent=: ;; 1930 1931 # This is an error. 1932 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 1933Try \`$0 --help' for more information." >&5 1934echo "$as_me: error: unrecognized option: $1 1935Try \`$0 --help' for more information." >&2;} 1936 { (exit 1); exit 1; }; } ;; 1937 1938 *) ac_config_targets="$ac_config_targets $1" ;; 1939 1940 esac 1941 shift 1942done 1943 1944ac_configure_extra_args= 1945 1946if $ac_cs_silent; then 1947 exec 6>/dev/null 1948 ac_configure_extra_args="$ac_configure_extra_args --silent" 1949fi 1950 1951_ACEOF 1952cat >>$CONFIG_STATUS <<_ACEOF 1953if \$ac_cs_recheck; then 1954 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 1955 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 1956fi 1957 1958_ACEOF 1959 1960 1961 1962 1963 1964cat >>$CONFIG_STATUS <<\_ACEOF 1965for ac_config_target in $ac_config_targets 1966do 1967 case "$ac_config_target" in 1968 # Handling of arguments. 1969 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 1970 "mmake" ) CONFIG_FILES="$CONFIG_FILES mmake" ;; 1971 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 1972echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 1973 { (exit 1); exit 1; }; };; 1974 esac 1975done 1976 1977# If the user did not use the arguments to specify the items to instantiate, 1978# then the envvar interface is used. Set only those that are not. 1979# We use the long form for the default assignment because of an extremely 1980# bizarre bug on SunOS 4.1.3. 1981if $ac_need_defaults; then 1982 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 1983fi 1984 1985# Have a temporary directory for convenience. Make it in the build tree 1986# simply because there is no reason to put it here, and in addition, 1987# creating and moving files from /tmp can sometimes cause problems. 1988# Create a temporary directory, and hook for its removal unless debugging. 1989$debug || 1990{ 1991 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 1992 trap '{ (exit 1); exit 1; }' 1 2 13 15 1993} 1994 1995# Create a (secure) tmp directory for tmp files. 1996 1997{ 1998 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 1999 test -n "$tmp" && test -d "$tmp" 2000} || 2001{ 2002 tmp=./confstat$$-$RANDOM 2003 (umask 077 && mkdir $tmp) 2004} || 2005{ 2006 echo "$me: cannot create a temporary directory in ." >&2 2007 { (exit 1); exit 1; } 2008} 2009 2010_ACEOF 2011 2012cat >>$CONFIG_STATUS <<_ACEOF 2013 2014# 2015# CONFIG_FILES section. 2016# 2017 2018# No need to generate the scripts if there are no CONFIG_FILES. 2019# This happens for instance when ./config.status config.h 2020if test -n "\$CONFIG_FILES"; then 2021 # Protect against being on the right side of a sed subst in config.status. 2022 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 2023 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 2024s,@SHELL@,$SHELL,;t t 2025s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 2026s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 2027s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 2028s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 2029s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 2030s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 2031s,@exec_prefix@,$exec_prefix,;t t 2032s,@prefix@,$prefix,;t t 2033s,@program_transform_name@,$program_transform_name,;t t 2034s,@bindir@,$bindir,;t t 2035s,@sbindir@,$sbindir,;t t 2036s,@libexecdir@,$libexecdir,;t t 2037s,@datadir@,$datadir,;t t 2038s,@sysconfdir@,$sysconfdir,;t t 2039s,@sharedstatedir@,$sharedstatedir,;t t 2040s,@localstatedir@,$localstatedir,;t t 2041s,@libdir@,$libdir,;t t 2042s,@includedir@,$includedir,;t t 2043s,@oldincludedir@,$oldincludedir,;t t 2044s,@infodir@,$infodir,;t t 2045s,@mandir@,$mandir,;t t 2046s,@build_alias@,$build_alias,;t t 2047s,@host_alias@,$host_alias,;t t 2048s,@target_alias@,$target_alias,;t t 2049s,@DEFS@,$DEFS,;t t 2050s,@ECHO_C@,$ECHO_C,;t t 2051s,@ECHO_N@,$ECHO_N,;t t 2052s,@ECHO_T@,$ECHO_T,;t t 2053s,@LIBS@,$LIBS,;t t 2054s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 2055s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 2056s,@INSTALL_DATA@,$INSTALL_DATA,;t t 2057s,@PERL@,$PERL,;t t 2058s,@JAVAC@,$JAVAC,;t t 2059s,@LIBOBJS@,$LIBOBJS,;t t 2060s,@LTLIBOBJS@,$LTLIBOBJS,;t t 2061CEOF 2062 2063_ACEOF 2064 2065 cat >>$CONFIG_STATUS <<\_ACEOF 2066 # Split the substitutions into bite-sized pieces for seds with 2067 # small command number limits, like on Digital OSF/1 and HP-UX. 2068 ac_max_sed_lines=48 2069 ac_sed_frag=1 # Number of current file. 2070 ac_beg=1 # First line for current file. 2071 ac_end=$ac_max_sed_lines # Line after last line for current file. 2072 ac_more_lines=: 2073 ac_sed_cmds= 2074 while $ac_more_lines; do 2075 if test $ac_beg -gt 1; then 2076 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2077 else 2078 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 2079 fi 2080 if test ! -s $tmp/subs.frag; then 2081 ac_more_lines=false 2082 else 2083 # The purpose of the label and of the branching condition is to 2084 # speed up the sed processing (if there are no `@' at all, there 2085 # is no need to browse any of the substitutions). 2086 # These are the two extra sed commands mentioned above. 2087 (echo ':t 2088 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 2089 if test -z "$ac_sed_cmds"; then 2090 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 2091 else 2092 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 2093 fi 2094 ac_sed_frag=`expr $ac_sed_frag + 1` 2095 ac_beg=$ac_end 2096 ac_end=`expr $ac_end + $ac_max_sed_lines` 2097 fi 2098 done 2099 if test -z "$ac_sed_cmds"; then 2100 ac_sed_cmds=cat 2101 fi 2102fi # test -n "$CONFIG_FILES" 2103 2104_ACEOF 2105cat >>$CONFIG_STATUS <<\_ACEOF 2106for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 2107 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2108 case $ac_file in 2109 - | *:- | *:-:* ) # input from stdin 2110 cat >$tmp/stdin 2111 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2112 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2113 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 2114 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 2115 * ) ac_file_in=$ac_file.in ;; 2116 esac 2117 2118 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 2119 ac_dir=`(dirname "$ac_file") 2>/dev/null || 2120$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2121 X"$ac_file" : 'X\(//\)[^/]' \| \ 2122 X"$ac_file" : 'X\(//\)$' \| \ 2123 X"$ac_file" : 'X\(/\)' \| \ 2124 . : '\(.\)' 2>/dev/null || 2125echo X"$ac_file" | 2126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2127 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2128 /^X\(\/\/\)$/{ s//\1/; q; } 2129 /^X\(\/\).*/{ s//\1/; q; } 2130 s/.*/./; q'` 2131 { if $as_mkdir_p; then 2132 mkdir -p "$ac_dir" 2133 else 2134 as_dir="$ac_dir" 2135 as_dirs= 2136 while test ! -d "$as_dir"; do 2137 as_dirs="$as_dir $as_dirs" 2138 as_dir=`(dirname "$as_dir") 2>/dev/null || 2139$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2140 X"$as_dir" : 'X\(//\)[^/]' \| \ 2141 X"$as_dir" : 'X\(//\)$' \| \ 2142 X"$as_dir" : 'X\(/\)' \| \ 2143 . : '\(.\)' 2>/dev/null || 2144echo X"$as_dir" | 2145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 2146 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 2147 /^X\(\/\/\)$/{ s//\1/; q; } 2148 /^X\(\/\).*/{ s//\1/; q; } 2149 s/.*/./; q'` 2150 done 2151 test ! -n "$as_dirs" || mkdir $as_dirs 2152 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 2153echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 2154 { (exit 1); exit 1; }; }; } 2155 2156 ac_builddir=. 2157 2158if test "$ac_dir" != .; then 2159 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 2160 # A "../" for each directory in $ac_dir_suffix. 2161 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 2162else 2163 ac_dir_suffix= ac_top_builddir= 2164fi 2165 2166case $srcdir in 2167 .) # No --srcdir option. We are building in place. 2168 ac_srcdir=. 2169 if test -z "$ac_top_builddir"; then 2170 ac_top_srcdir=. 2171 else 2172 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 2173 fi ;; 2174 [\\/]* | ?:[\\/]* ) # Absolute path. 2175 ac_srcdir=$srcdir$ac_dir_suffix; 2176 ac_top_srcdir=$srcdir ;; 2177 *) # Relative path. 2178 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 2179 ac_top_srcdir=$ac_top_builddir$srcdir ;; 2180esac 2181# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 2182# absolute. 2183ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 2184ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 2185ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 2186ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 2187 2188 2189 case $INSTALL in 2190 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 2191 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 2192 esac 2193 2194 if test x"$ac_file" != x-; then 2195 { echo "$as_me:$LINENO: creating $ac_file" >&5 2196echo "$as_me: creating $ac_file" >&6;} 2197 rm -f "$ac_file" 2198 fi 2199 # Let's still pretend it is `configure' which instantiates (i.e., don't 2200 # use $as_me), people would be surprised to read: 2201 # /* config.h. Generated by config.status. */ 2202 if test x"$ac_file" = x-; then 2203 configure_input= 2204 else 2205 configure_input="$ac_file. " 2206 fi 2207 configure_input=$configure_input"Generated from `echo $ac_file_in | 2208 sed 's,.*/,,'` by configure." 2209 2210 # First look for the input files in the build tree, otherwise in the 2211 # src tree. 2212 ac_file_inputs=`IFS=: 2213 for f in $ac_file_in; do 2214 case $f in 2215 -) echo $tmp/stdin ;; 2216 [\\/$]*) 2217 # Absolute (can't be DOS-style, as IFS=:) 2218 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2219echo "$as_me: error: cannot find input file: $f" >&2;} 2220 { (exit 1); exit 1; }; } 2221 echo $f;; 2222 *) # Relative 2223 if test -f "$f"; then 2224 # Build tree 2225 echo $f 2226 elif test -f "$srcdir/$f"; then 2227 # Source tree 2228 echo $srcdir/$f 2229 else 2230 # /dev/null tree 2231 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 2232echo "$as_me: error: cannot find input file: $f" >&2;} 2233 { (exit 1); exit 1; }; } 2234 fi;; 2235 esac 2236 done` || { (exit 1); exit 1; } 2237_ACEOF 2238cat >>$CONFIG_STATUS <<_ACEOF 2239 sed "$ac_vpsub 2240$extrasub 2241_ACEOF 2242cat >>$CONFIG_STATUS <<\_ACEOF 2243:t 2244/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2245s,@configure_input@,$configure_input,;t t 2246s,@srcdir@,$ac_srcdir,;t t 2247s,@abs_srcdir@,$ac_abs_srcdir,;t t 2248s,@top_srcdir@,$ac_top_srcdir,;t t 2249s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 2250s,@builddir@,$ac_builddir,;t t 2251s,@abs_builddir@,$ac_abs_builddir,;t t 2252s,@top_builddir@,$ac_top_builddir,;t t 2253s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 2254s,@INSTALL@,$ac_INSTALL,;t t 2255" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 2256 rm -f $tmp/stdin 2257 if test x"$ac_file" != x-; then 2258 mv $tmp/out $ac_file 2259 else 2260 cat $tmp/out 2261 rm -f $tmp/out 2262 fi 2263 2264done 2265_ACEOF 2266 2267cat >>$CONFIG_STATUS <<\_ACEOF 2268 2269{ (exit 0); exit 0; } 2270_ACEOF 2271chmod +x $CONFIG_STATUS 2272ac_clean_files=$ac_clean_files_save 2273 2274 2275# configure is writing to config.log, and then calls config.status. 2276# config.status does its own redirection, appending to config.log. 2277# Unfortunately, on DOS this fails, as config.log is still kept open 2278# by configure, so config.status won't be able to write to it; its 2279# output is simply discarded. So we exec the FD to /dev/null, 2280# effectively closing config.log, so it can be properly (re)opened and 2281# appended to by config.status. When coming back to configure, we 2282# need to make the FD available again. 2283if test "$no_create" != yes; then 2284 ac_cs_success=: 2285 ac_config_status_args= 2286 test "$silent" = yes && 2287 ac_config_status_args="$ac_config_status_args --quiet" 2288 exec 5>/dev/null 2289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 2290 exec 5>>config.log 2291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2292 # would make configure fail if this is the last instruction. 2293 $ac_cs_success || { (exit 1); exit 1; } 2294fi 2295 2296