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