configure revision 5c10afb9
1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.59 for proxymngr 1.0.1. 4# 5# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 6# 7# Copyright (C) 2003 Free Software Foundation, Inc. 8# This configure script is free software; the Free Software Foundation 9# gives unlimited permission to copy, distribute and modify it. 10## --------------------- ## 11## M4sh Initialization. ## 12## --------------------- ## 13 14# Be Bourne compatible 15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 16 emulate sh 17 NULLCMD=: 18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 19 # is contrary to our usage. Disable this feature. 20 alias -g '${1+"$@"}'='"$@"' 21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 22 set -o posix 23fi 24DUALCASE=1; export DUALCASE # for MKS sh 25 26# Support unset when possible. 27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 28 as_unset=unset 29else 30 as_unset=false 31fi 32 33 34# Work around bugs in pre-3.0 UWIN ksh. 35$as_unset ENV MAIL MAILPATH 36PS1='$ ' 37PS2='> ' 38PS4='+ ' 39 40# NLS nuisances. 41for as_var in \ 42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 44 LC_TELEPHONE LC_TIME 45do 46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 47 eval $as_var=C; export $as_var 48 else 49 $as_unset $as_var 50 fi 51done 52 53# Required to use basename. 54if expr a : '\(a\)' >/dev/null 2>&1; then 55 as_expr=expr 56else 57 as_expr=false 58fi 59 60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 61 as_basename=basename 62else 63 as_basename=false 64fi 65 66 67# Name of the executable. 68as_me=`$as_basename "$0" || 69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 70 X"$0" : 'X\(//\)$' \| \ 71 X"$0" : 'X\(/\)$' \| \ 72 . : '\(.\)' 2>/dev/null || 73echo X/"$0" | 74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 75 /^X\/\(\/\/\)$/{ s//\1/; q; } 76 /^X\/\(\/\).*/{ s//\1/; q; } 77 s/.*/./; q'` 78 79 80# PATH needs CR, and LINENO needs CR and PATH. 81# Avoid depending upon Character Ranges. 82as_cr_letters='abcdefghijklmnopqrstuvwxyz' 83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 84as_cr_Letters=$as_cr_letters$as_cr_LETTERS 85as_cr_digits='0123456789' 86as_cr_alnum=$as_cr_Letters$as_cr_digits 87 88# The user is always right. 89if test "${PATH_SEPARATOR+set}" != set; then 90 echo "#! /bin/sh" >conf$$.sh 91 echo "exit 0" >>conf$$.sh 92 chmod +x conf$$.sh 93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 94 PATH_SEPARATOR=';' 95 else 96 PATH_SEPARATOR=: 97 fi 98 rm -f conf$$.sh 99fi 100 101 102 as_lineno_1=$LINENO 103 as_lineno_2=$LINENO 104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 105 test "x$as_lineno_1" != "x$as_lineno_2" && 106 test "x$as_lineno_3" = "x$as_lineno_2" || { 107 # Find who we are. Look in the path if we contain no path at all 108 # relative or not. 109 case $0 in 110 *[\\/]* ) as_myself=$0 ;; 111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 112for as_dir in $PATH 113do 114 IFS=$as_save_IFS 115 test -z "$as_dir" && as_dir=. 116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 117done 118 119 ;; 120 esac 121 # We did not find ourselves, most probably we were run as `sh COMMAND' 122 # in which case we are not to be found in the path. 123 if test "x$as_myself" = x; then 124 as_myself=$0 125 fi 126 if test ! -f "$as_myself"; then 127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 128 { (exit 1); exit 1; }; } 129 fi 130 case $CONFIG_SHELL in 131 '') 132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 134do 135 IFS=$as_save_IFS 136 test -z "$as_dir" && as_dir=. 137 for as_base in sh bash ksh sh5; do 138 case $as_dir in 139 /*) 140 if ("$as_dir/$as_base" -c ' 141 as_lineno_1=$LINENO 142 as_lineno_2=$LINENO 143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 144 test "x$as_lineno_1" != "x$as_lineno_2" && 145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 148 CONFIG_SHELL=$as_dir/$as_base 149 export CONFIG_SHELL 150 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 151 fi;; 152 esac 153 done 154done 155;; 156 esac 157 158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 159 # uniformly replaced by the line number. The first 'sed' inserts a 160 # line-number line before each line; the second 'sed' does the real 161 # work. The second script uses 'N' to pair each line-number line 162 # with the numbered line, and appends trailing '-' during 163 # substitution so that $LINENO is not a special case at line end. 164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 166 sed '=' <$as_myself | 167 sed ' 168 N 169 s,$,-, 170 : loop 171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 172 t loop 173 s,-$,, 174 s,^['$as_cr_digits']*\n,, 175 ' >$as_me.lineno && 176 chmod +x $as_me.lineno || 177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 178 { (exit 1); exit 1; }; } 179 180 # Don't try to exec as it changes $[0], causing all sort of problems 181 # (the dirname of $[0] is not the place where we might find the 182 # original and so on. Autoconf is especially sensible to this). 183 . ./$as_me.lineno 184 # Exit status is that of the last command. 185 exit 186} 187 188 189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 190 *c*,-n*) ECHO_N= ECHO_C=' 191' ECHO_T=' ' ;; 192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 194esac 195 196if expr a : '\(a\)' >/dev/null 2>&1; then 197 as_expr=expr 198else 199 as_expr=false 200fi 201 202rm -f conf$$ conf$$.exe conf$$.file 203echo >conf$$.file 204if ln -s conf$$.file conf$$ 2>/dev/null; then 205 # We could just check for DJGPP; but this test a) works b) is more generic 206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 207 if test -f conf$$.exe; then 208 # Don't use ln at all; we don't have any links 209 as_ln_s='cp -p' 210 else 211 as_ln_s='ln -s' 212 fi 213elif ln conf$$.file conf$$ 2>/dev/null; then 214 as_ln_s=ln 215else 216 as_ln_s='cp -p' 217fi 218rm -f conf$$ conf$$.exe conf$$.file 219 220if mkdir -p . 2>/dev/null; then 221 as_mkdir_p=: 222else 223 test -d ./-p && rmdir ./-p 224 as_mkdir_p=false 225fi 226 227as_executable_p="test -f" 228 229# Sed expression to map a string onto a valid CPP name. 230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 231 232# Sed expression to map a string onto a valid variable name. 233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 234 235 236# IFS 237# We need space, tab and new line, in precisely that order. 238as_nl=' 239' 240IFS=" $as_nl" 241 242# CDPATH. 243$as_unset CDPATH 244 245 246# Name of the host. 247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 248# so uname gets run too. 249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 250 251exec 6>&1 252 253# 254# Initializations. 255# 256ac_default_prefix=/usr/local 257ac_config_libobj_dir=. 258cross_compiling=no 259subdirs= 260MFLAGS= 261MAKEFLAGS= 262SHELL=${CONFIG_SHELL-/bin/sh} 263 264# Maximum number of lines to put in a shell here document. 265# This variable seems obsolete. It should probably be removed, and 266# only ac_max_sed_lines should be used. 267: ${ac_max_here_lines=38} 268 269# Identity of this package. 270PACKAGE_NAME='proxymngr' 271PACKAGE_TARNAME='proxymngr' 272PACKAGE_VERSION='1.0.1' 273PACKAGE_STRING='proxymngr 1.0.1' 274PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg' 275 276ac_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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 LBXPROXY SED PKG_CONFIG ac_pt_PKG_CONFIG PROXYMNGR_CFLAGS PROXYMNGR_LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os APP_MAN_SUFFIX LIB_MAN_SUFFIX FILE_MAN_SUFFIX MISC_MAN_SUFFIX DRIVER_MAN_SUFFIX ADMIN_MAN_SUFFIX APP_MAN_DIR LIB_MAN_DIR FILE_MAN_DIR MISC_MAN_DIR DRIVER_MAN_DIR ADMIN_MAN_DIR LIBOBJS LTLIBOBJS' 277ac_subst_files='' 278 279# Initialize some variables set by options. 280ac_init_help= 281ac_init_version=false 282# The variables have the same names as the options, with 283# dashes changed to underlines. 284cache_file=/dev/null 285exec_prefix=NONE 286no_create= 287no_recursion= 288prefix=NONE 289program_prefix=NONE 290program_suffix=NONE 291program_transform_name=s,x,x, 292silent= 293site= 294srcdir= 295verbose= 296x_includes=NONE 297x_libraries=NONE 298 299# Installation directory options. 300# These are left unexpanded so users can "make install exec_prefix=/foo" 301# and all the variables that are supposed to be based on exec_prefix 302# by default will actually change. 303# Use braces instead of parens because sh, perl, etc. also accept them. 304bindir='${exec_prefix}/bin' 305sbindir='${exec_prefix}/sbin' 306libexecdir='${exec_prefix}/libexec' 307datadir='${prefix}/share' 308sysconfdir='${prefix}/etc' 309sharedstatedir='${prefix}/com' 310localstatedir='${prefix}/var' 311libdir='${exec_prefix}/lib' 312includedir='${prefix}/include' 313oldincludedir='/usr/include' 314infodir='${prefix}/info' 315mandir='${prefix}/man' 316 317ac_prev= 318for ac_option 319do 320 # If the previous option needs an argument, assign it. 321 if test -n "$ac_prev"; then 322 eval "$ac_prev=\$ac_option" 323 ac_prev= 324 continue 325 fi 326 327 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 328 329 # Accept the important Cygnus configure options, so we can diagnose typos. 330 331 case $ac_option in 332 333 -bindir | --bindir | --bindi | --bind | --bin | --bi) 334 ac_prev=bindir ;; 335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 336 bindir=$ac_optarg ;; 337 338 -build | --build | --buil | --bui | --bu) 339 ac_prev=build_alias ;; 340 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 341 build_alias=$ac_optarg ;; 342 343 -cache-file | --cache-file | --cache-fil | --cache-fi \ 344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 345 ac_prev=cache_file ;; 346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 348 cache_file=$ac_optarg ;; 349 350 --config-cache | -C) 351 cache_file=config.cache ;; 352 353 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) 354 ac_prev=datadir ;; 355 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 356 | --da=*) 357 datadir=$ac_optarg ;; 358 359 -disable-* | --disable-*) 360 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 361 # Reject names that are not valid shell variable names. 362 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 363 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 364 { (exit 1); exit 1; }; } 365 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 366 eval "enable_$ac_feature=no" ;; 367 368 -enable-* | --enable-*) 369 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 370 # Reject names that are not valid shell variable names. 371 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 372 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 373 { (exit 1); exit 1; }; } 374 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 375 case $ac_option in 376 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 377 *) ac_optarg=yes ;; 378 esac 379 eval "enable_$ac_feature='$ac_optarg'" ;; 380 381 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 382 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 383 | --exec | --exe | --ex) 384 ac_prev=exec_prefix ;; 385 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 386 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 387 | --exec=* | --exe=* | --ex=*) 388 exec_prefix=$ac_optarg ;; 389 390 -gas | --gas | --ga | --g) 391 # Obsolete; use --with-gas. 392 with_gas=yes ;; 393 394 -help | --help | --hel | --he | -h) 395 ac_init_help=long ;; 396 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 397 ac_init_help=recursive ;; 398 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 399 ac_init_help=short ;; 400 401 -host | --host | --hos | --ho) 402 ac_prev=host_alias ;; 403 -host=* | --host=* | --hos=* | --ho=*) 404 host_alias=$ac_optarg ;; 405 406 -includedir | --includedir | --includedi | --included | --include \ 407 | --includ | --inclu | --incl | --inc) 408 ac_prev=includedir ;; 409 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 410 | --includ=* | --inclu=* | --incl=* | --inc=*) 411 includedir=$ac_optarg ;; 412 413 -infodir | --infodir | --infodi | --infod | --info | --inf) 414 ac_prev=infodir ;; 415 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 416 infodir=$ac_optarg ;; 417 418 -libdir | --libdir | --libdi | --libd) 419 ac_prev=libdir ;; 420 -libdir=* | --libdir=* | --libdi=* | --libd=*) 421 libdir=$ac_optarg ;; 422 423 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 424 | --libexe | --libex | --libe) 425 ac_prev=libexecdir ;; 426 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 427 | --libexe=* | --libex=* | --libe=*) 428 libexecdir=$ac_optarg ;; 429 430 -localstatedir | --localstatedir | --localstatedi | --localstated \ 431 | --localstate | --localstat | --localsta | --localst \ 432 | --locals | --local | --loca | --loc | --lo) 433 ac_prev=localstatedir ;; 434 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 435 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 436 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 437 localstatedir=$ac_optarg ;; 438 439 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 440 ac_prev=mandir ;; 441 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 442 mandir=$ac_optarg ;; 443 444 -nfp | --nfp | --nf) 445 # Obsolete; use --without-fp. 446 with_fp=no ;; 447 448 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 449 | --no-cr | --no-c | -n) 450 no_create=yes ;; 451 452 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 453 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 454 no_recursion=yes ;; 455 456 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 457 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 458 | --oldin | --oldi | --old | --ol | --o) 459 ac_prev=oldincludedir ;; 460 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 461 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 462 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 463 oldincludedir=$ac_optarg ;; 464 465 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 466 ac_prev=prefix ;; 467 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 468 prefix=$ac_optarg ;; 469 470 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 471 | --program-pre | --program-pr | --program-p) 472 ac_prev=program_prefix ;; 473 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 474 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 475 program_prefix=$ac_optarg ;; 476 477 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 478 | --program-suf | --program-su | --program-s) 479 ac_prev=program_suffix ;; 480 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 481 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 482 program_suffix=$ac_optarg ;; 483 484 -program-transform-name | --program-transform-name \ 485 | --program-transform-nam | --program-transform-na \ 486 | --program-transform-n | --program-transform- \ 487 | --program-transform | --program-transfor \ 488 | --program-transfo | --program-transf \ 489 | --program-trans | --program-tran \ 490 | --progr-tra | --program-tr | --program-t) 491 ac_prev=program_transform_name ;; 492 -program-transform-name=* | --program-transform-name=* \ 493 | --program-transform-nam=* | --program-transform-na=* \ 494 | --program-transform-n=* | --program-transform-=* \ 495 | --program-transform=* | --program-transfor=* \ 496 | --program-transfo=* | --program-transf=* \ 497 | --program-trans=* | --program-tran=* \ 498 | --progr-tra=* | --program-tr=* | --program-t=*) 499 program_transform_name=$ac_optarg ;; 500 501 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 502 | -silent | --silent | --silen | --sile | --sil) 503 silent=yes ;; 504 505 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 506 ac_prev=sbindir ;; 507 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 508 | --sbi=* | --sb=*) 509 sbindir=$ac_optarg ;; 510 511 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 512 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 513 | --sharedst | --shareds | --shared | --share | --shar \ 514 | --sha | --sh) 515 ac_prev=sharedstatedir ;; 516 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 517 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 518 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 519 | --sha=* | --sh=*) 520 sharedstatedir=$ac_optarg ;; 521 522 -site | --site | --sit) 523 ac_prev=site ;; 524 -site=* | --site=* | --sit=*) 525 site=$ac_optarg ;; 526 527 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 528 ac_prev=srcdir ;; 529 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 530 srcdir=$ac_optarg ;; 531 532 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 533 | --syscon | --sysco | --sysc | --sys | --sy) 534 ac_prev=sysconfdir ;; 535 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 536 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 537 sysconfdir=$ac_optarg ;; 538 539 -target | --target | --targe | --targ | --tar | --ta | --t) 540 ac_prev=target_alias ;; 541 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 542 target_alias=$ac_optarg ;; 543 544 -v | -verbose | --verbose | --verbos | --verbo | --verb) 545 verbose=yes ;; 546 547 -version | --version | --versio | --versi | --vers | -V) 548 ac_init_version=: ;; 549 550 -with-* | --with-*) 551 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 552 # Reject names that are not valid shell variable names. 553 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 554 { echo "$as_me: error: invalid package name: $ac_package" >&2 555 { (exit 1); exit 1; }; } 556 ac_package=`echo $ac_package| sed 's/-/_/g'` 557 case $ac_option in 558 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 559 *) ac_optarg=yes ;; 560 esac 561 eval "with_$ac_package='$ac_optarg'" ;; 562 563 -without-* | --without-*) 564 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 565 # Reject names that are not valid shell variable names. 566 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 567 { echo "$as_me: error: invalid package name: $ac_package" >&2 568 { (exit 1); exit 1; }; } 569 ac_package=`echo $ac_package | sed 's/-/_/g'` 570 eval "with_$ac_package=no" ;; 571 572 --x) 573 # Obsolete; use --with-x. 574 with_x=yes ;; 575 576 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 577 | --x-incl | --x-inc | --x-in | --x-i) 578 ac_prev=x_includes ;; 579 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 580 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 581 x_includes=$ac_optarg ;; 582 583 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 584 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 585 ac_prev=x_libraries ;; 586 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 587 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 588 x_libraries=$ac_optarg ;; 589 590 -*) { echo "$as_me: error: unrecognized option: $ac_option 591Try \`$0 --help' for more information." >&2 592 { (exit 1); exit 1; }; } 593 ;; 594 595 *=*) 596 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 597 # Reject names that are not valid shell variable names. 598 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 599 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 600 { (exit 1); exit 1; }; } 601 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 602 eval "$ac_envvar='$ac_optarg'" 603 export $ac_envvar ;; 604 605 *) 606 # FIXME: should be removed in autoconf 3.0. 607 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 608 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 609 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 610 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 611 ;; 612 613 esac 614done 615 616if test -n "$ac_prev"; then 617 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 618 { echo "$as_me: error: missing argument to $ac_option" >&2 619 { (exit 1); exit 1; }; } 620fi 621 622# Be sure to have absolute paths. 623for ac_var in exec_prefix prefix 624do 625 eval ac_val=$`echo $ac_var` 626 case $ac_val in 627 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 628 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 629 { (exit 1); exit 1; }; };; 630 esac 631done 632 633# Be sure to have absolute paths. 634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 635 localstatedir libdir includedir oldincludedir infodir mandir 636do 637 eval ac_val=$`echo $ac_var` 638 case $ac_val in 639 [\\/$]* | ?:[\\/]* ) ;; 640 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 641 { (exit 1); exit 1; }; };; 642 esac 643done 644 645# There might be people who depend on the old broken behavior: `$host' 646# used to hold the argument of --host etc. 647# FIXME: To remove some day. 648build=$build_alias 649host=$host_alias 650target=$target_alias 651 652# FIXME: To remove some day. 653if test "x$host_alias" != x; then 654 if test "x$build_alias" = x; then 655 cross_compiling=maybe 656 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 657 If a cross compiler is detected then cross compile mode will be used." >&2 658 elif test "x$build_alias" != "x$host_alias"; then 659 cross_compiling=yes 660 fi 661fi 662 663ac_tool_prefix= 664test -n "$host_alias" && ac_tool_prefix=$host_alias- 665 666test "$silent" = yes && exec 6>/dev/null 667 668 669# Find the source files, if location was not specified. 670if test -z "$srcdir"; then 671 ac_srcdir_defaulted=yes 672 # Try the directory containing this script, then its parent. 673 ac_confdir=`(dirname "$0") 2>/dev/null || 674$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 675 X"$0" : 'X\(//\)[^/]' \| \ 676 X"$0" : 'X\(//\)$' \| \ 677 X"$0" : 'X\(/\)' \| \ 678 . : '\(.\)' 2>/dev/null || 679echo X"$0" | 680 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 681 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 682 /^X\(\/\/\)$/{ s//\1/; q; } 683 /^X\(\/\).*/{ s//\1/; q; } 684 s/.*/./; q'` 685 srcdir=$ac_confdir 686 if test ! -r $srcdir/$ac_unique_file; then 687 srcdir=.. 688 fi 689else 690 ac_srcdir_defaulted=no 691fi 692if test ! -r $srcdir/$ac_unique_file; then 693 if test "$ac_srcdir_defaulted" = yes; then 694 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 695 { (exit 1); exit 1; }; } 696 else 697 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 698 { (exit 1); exit 1; }; } 699 fi 700fi 701(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 702 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 703 { (exit 1); exit 1; }; } 704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 705ac_env_build_alias_set=${build_alias+set} 706ac_env_build_alias_value=$build_alias 707ac_cv_env_build_alias_set=${build_alias+set} 708ac_cv_env_build_alias_value=$build_alias 709ac_env_host_alias_set=${host_alias+set} 710ac_env_host_alias_value=$host_alias 711ac_cv_env_host_alias_set=${host_alias+set} 712ac_cv_env_host_alias_value=$host_alias 713ac_env_target_alias_set=${target_alias+set} 714ac_env_target_alias_value=$target_alias 715ac_cv_env_target_alias_set=${target_alias+set} 716ac_cv_env_target_alias_value=$target_alias 717ac_env_CC_set=${CC+set} 718ac_env_CC_value=$CC 719ac_cv_env_CC_set=${CC+set} 720ac_cv_env_CC_value=$CC 721ac_env_CFLAGS_set=${CFLAGS+set} 722ac_env_CFLAGS_value=$CFLAGS 723ac_cv_env_CFLAGS_set=${CFLAGS+set} 724ac_cv_env_CFLAGS_value=$CFLAGS 725ac_env_LDFLAGS_set=${LDFLAGS+set} 726ac_env_LDFLAGS_value=$LDFLAGS 727ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 728ac_cv_env_LDFLAGS_value=$LDFLAGS 729ac_env_CPPFLAGS_set=${CPPFLAGS+set} 730ac_env_CPPFLAGS_value=$CPPFLAGS 731ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 732ac_cv_env_CPPFLAGS_value=$CPPFLAGS 733ac_env_CPP_set=${CPP+set} 734ac_env_CPP_value=$CPP 735ac_cv_env_CPP_set=${CPP+set} 736ac_cv_env_CPP_value=$CPP 737ac_env_PKG_CONFIG_set=${PKG_CONFIG+set} 738ac_env_PKG_CONFIG_value=$PKG_CONFIG 739ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set} 740ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG 741ac_env_PROXYMNGR_CFLAGS_set=${PROXYMNGR_CFLAGS+set} 742ac_env_PROXYMNGR_CFLAGS_value=$PROXYMNGR_CFLAGS 743ac_cv_env_PROXYMNGR_CFLAGS_set=${PROXYMNGR_CFLAGS+set} 744ac_cv_env_PROXYMNGR_CFLAGS_value=$PROXYMNGR_CFLAGS 745ac_env_PROXYMNGR_LIBS_set=${PROXYMNGR_LIBS+set} 746ac_env_PROXYMNGR_LIBS_value=$PROXYMNGR_LIBS 747ac_cv_env_PROXYMNGR_LIBS_set=${PROXYMNGR_LIBS+set} 748ac_cv_env_PROXYMNGR_LIBS_value=$PROXYMNGR_LIBS 749 750# 751# Report the --help message. 752# 753if test "$ac_init_help" = "long"; then 754 # Omit some internal or obsolete options to make the list less imposing. 755 # This message is too long to be a string in the A/UX 3.1 sh. 756 cat <<_ACEOF 757\`configure' configures proxymngr 1.0.1 to adapt to many kinds of systems. 758 759Usage: $0 [OPTION]... [VAR=VALUE]... 760 761To assign environment variables (e.g., CC, CFLAGS...), specify them as 762VAR=VALUE. See below for descriptions of some of the useful variables. 763 764Defaults for the options are specified in brackets. 765 766Configuration: 767 -h, --help display this help and exit 768 --help=short display options specific to this package 769 --help=recursive display the short help of all the included packages 770 -V, --version display version information and exit 771 -q, --quiet, --silent do not print \`checking...' messages 772 --cache-file=FILE cache test results in FILE [disabled] 773 -C, --config-cache alias for \`--cache-file=config.cache' 774 -n, --no-create do not create output files 775 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 776 777_ACEOF 778 779 cat <<_ACEOF 780Installation directories: 781 --prefix=PREFIX install architecture-independent files in PREFIX 782 [$ac_default_prefix] 783 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 784 [PREFIX] 785 786By default, \`make install' will install all the files in 787\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 788an installation prefix other than \`$ac_default_prefix' using \`--prefix', 789for instance \`--prefix=\$HOME'. 790 791For better control, use the options below. 792 793Fine tuning of the installation directories: 794 --bindir=DIR user executables [EPREFIX/bin] 795 --sbindir=DIR system admin executables [EPREFIX/sbin] 796 --libexecdir=DIR program executables [EPREFIX/libexec] 797 --datadir=DIR read-only architecture-independent data [PREFIX/share] 798 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 799 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 800 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 801 --libdir=DIR object code libraries [EPREFIX/lib] 802 --includedir=DIR C header files [PREFIX/include] 803 --oldincludedir=DIR C header files for non-gcc [/usr/include] 804 --infodir=DIR info documentation [PREFIX/info] 805 --mandir=DIR man documentation [PREFIX/man] 806_ACEOF 807 808 cat <<\_ACEOF 809 810Program names: 811 --program-prefix=PREFIX prepend PREFIX to installed program names 812 --program-suffix=SUFFIX append SUFFIX to installed program names 813 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 814 815System types: 816 --build=BUILD configure for building on BUILD [guessed] 817 --host=HOST cross-compile to build programs to run on HOST [BUILD] 818_ACEOF 819fi 820 821if test -n "$ac_init_help"; then 822 case $ac_init_help in 823 short | recursive ) echo "Configuration of proxymngr 1.0.1:";; 824 esac 825 cat <<\_ACEOF 826 827Optional Features: 828 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 829 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 830 --enable-maintainer-mode enable make rules and dependencies not useful 831 (and sometimes confusing) to the casual installer 832 --disable-dependency-tracking Speeds up one-time builds 833 --enable-dependency-tracking Do not reject slow dependency extractors 834 --enable-IPv6 Enable IPv6 support 835 836Optional Packages: 837 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 838 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 839 --with-release-version=STRING 840 Use release version string in package name 841 842Some influential environment variables: 843 CC C compiler command 844 CFLAGS C compiler flags 845 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 846 nonstandard directory <lib dir> 847 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 848 headers in a nonstandard directory <include dir> 849 CPP C preprocessor 850 PKG_CONFIG path to pkg-config utility 851 PROXYMNGR_CFLAGS 852 C compiler flags for PROXYMNGR, overriding pkg-config 853 PROXYMNGR_LIBS 854 linker flags for PROXYMNGR, overriding pkg-config 855 856Use these variables to override the choices made by `configure' or to help 857it to find libraries and programs with nonstandard names/locations. 858 859Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>. 860_ACEOF 861fi 862 863if test "$ac_init_help" = "recursive"; then 864 # If there are subdirs, report their specific --help. 865 ac_popdir=`pwd` 866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 867 test -d $ac_dir || continue 868 ac_builddir=. 869 870if test "$ac_dir" != .; then 871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 872 # A "../" for each directory in $ac_dir_suffix. 873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 874else 875 ac_dir_suffix= ac_top_builddir= 876fi 877 878case $srcdir in 879 .) # No --srcdir option. We are building in place. 880 ac_srcdir=. 881 if test -z "$ac_top_builddir"; then 882 ac_top_srcdir=. 883 else 884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 885 fi ;; 886 [\\/]* | ?:[\\/]* ) # Absolute path. 887 ac_srcdir=$srcdir$ac_dir_suffix; 888 ac_top_srcdir=$srcdir ;; 889 *) # Relative path. 890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 891 ac_top_srcdir=$ac_top_builddir$srcdir ;; 892esac 893 894# Do not use `cd foo && pwd` to compute absolute paths, because 895# the directories may not exist. 896case `pwd` in 897.) ac_abs_builddir="$ac_dir";; 898*) 899 case "$ac_dir" in 900 .) ac_abs_builddir=`pwd`;; 901 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 902 *) ac_abs_builddir=`pwd`/"$ac_dir";; 903 esac;; 904esac 905case $ac_abs_builddir in 906.) ac_abs_top_builddir=${ac_top_builddir}.;; 907*) 908 case ${ac_top_builddir}. in 909 .) ac_abs_top_builddir=$ac_abs_builddir;; 910 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 911 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 912 esac;; 913esac 914case $ac_abs_builddir in 915.) ac_abs_srcdir=$ac_srcdir;; 916*) 917 case $ac_srcdir in 918 .) ac_abs_srcdir=$ac_abs_builddir;; 919 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 920 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 921 esac;; 922esac 923case $ac_abs_builddir in 924.) ac_abs_top_srcdir=$ac_top_srcdir;; 925*) 926 case $ac_top_srcdir in 927 .) ac_abs_top_srcdir=$ac_abs_builddir;; 928 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 929 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 930 esac;; 931esac 932 933 cd $ac_dir 934 # Check for guested configure; otherwise get Cygnus style configure. 935 if test -f $ac_srcdir/configure.gnu; then 936 echo 937 $SHELL $ac_srcdir/configure.gnu --help=recursive 938 elif test -f $ac_srcdir/configure; then 939 echo 940 $SHELL $ac_srcdir/configure --help=recursive 941 elif test -f $ac_srcdir/configure.ac || 942 test -f $ac_srcdir/configure.in; then 943 echo 944 $ac_configure --help 945 else 946 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 947 fi 948 cd $ac_popdir 949 done 950fi 951 952test -n "$ac_init_help" && exit 0 953if $ac_init_version; then 954 cat <<\_ACEOF 955proxymngr configure 1.0.1 956generated by GNU Autoconf 2.59 957 958Copyright (C) 2003 Free Software Foundation, Inc. 959This configure script is free software; the Free Software Foundation 960gives unlimited permission to copy, distribute and modify it. 961_ACEOF 962 exit 0 963fi 964exec 5>config.log 965cat >&5 <<_ACEOF 966This file contains any messages produced by compilers while 967running configure, to aid debugging if configure makes a mistake. 968 969It was created by proxymngr $as_me 1.0.1, which was 970generated by GNU Autoconf 2.59. Invocation command line was 971 972 $ $0 $@ 973 974_ACEOF 975{ 976cat <<_ASUNAME 977## --------- ## 978## Platform. ## 979## --------- ## 980 981hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 982uname -m = `(uname -m) 2>/dev/null || echo unknown` 983uname -r = `(uname -r) 2>/dev/null || echo unknown` 984uname -s = `(uname -s) 2>/dev/null || echo unknown` 985uname -v = `(uname -v) 2>/dev/null || echo unknown` 986 987/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 988/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 989 990/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 991/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 992/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 993hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 994/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 995/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 996/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 997 998_ASUNAME 999 1000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1001for as_dir in $PATH 1002do 1003 IFS=$as_save_IFS 1004 test -z "$as_dir" && as_dir=. 1005 echo "PATH: $as_dir" 1006done 1007 1008} >&5 1009 1010cat >&5 <<_ACEOF 1011 1012 1013## ----------- ## 1014## Core tests. ## 1015## ----------- ## 1016 1017_ACEOF 1018 1019 1020# Keep a trace of the command line. 1021# Strip out --no-create and --no-recursion so they do not pile up. 1022# Strip out --silent because we don't want to record it for future runs. 1023# Also quote any args containing shell meta-characters. 1024# Make two passes to allow for proper duplicate-argument suppression. 1025ac_configure_args= 1026ac_configure_args0= 1027ac_configure_args1= 1028ac_sep= 1029ac_must_keep_next=false 1030for ac_pass in 1 2 1031do 1032 for ac_arg 1033 do 1034 case $ac_arg in 1035 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1036 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1037 | -silent | --silent | --silen | --sile | --sil) 1038 continue ;; 1039 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1040 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1041 esac 1042 case $ac_pass in 1043 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1044 2) 1045 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1046 if test $ac_must_keep_next = true; then 1047 ac_must_keep_next=false # Got value, back to normal. 1048 else 1049 case $ac_arg in 1050 *=* | --config-cache | -C | -disable-* | --disable-* \ 1051 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1052 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1053 | -with-* | --with-* | -without-* | --without-* | --x) 1054 case "$ac_configure_args0 " in 1055 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1056 esac 1057 ;; 1058 -* ) ac_must_keep_next=true ;; 1059 esac 1060 fi 1061 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1062 # Get rid of the leading space. 1063 ac_sep=" " 1064 ;; 1065 esac 1066 done 1067done 1068$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1069$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1070 1071# When interrupted or exit'd, cleanup temporary files, and complete 1072# config.log. We remove comments because anyway the quotes in there 1073# would cause problems or look ugly. 1074# WARNING: Be sure not to use single quotes in there, as some shells, 1075# such as our DU 5.0 friend, will then `close' the trap. 1076trap 'exit_status=$? 1077 # Save into config.log some information that might help in debugging. 1078 { 1079 echo 1080 1081 cat <<\_ASBOX 1082## ---------------- ## 1083## Cache variables. ## 1084## ---------------- ## 1085_ASBOX 1086 echo 1087 # The following way of writing the cache mishandles newlines in values, 1088{ 1089 (set) 2>&1 | 1090 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1091 *ac_space=\ *) 1092 sed -n \ 1093 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1095 ;; 1096 *) 1097 sed -n \ 1098 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1099 ;; 1100 esac; 1101} 1102 echo 1103 1104 cat <<\_ASBOX 1105## ----------------- ## 1106## Output variables. ## 1107## ----------------- ## 1108_ASBOX 1109 echo 1110 for ac_var in $ac_subst_vars 1111 do 1112 eval ac_val=$`echo $ac_var` 1113 echo "$ac_var='"'"'$ac_val'"'"'" 1114 done | sort 1115 echo 1116 1117 if test -n "$ac_subst_files"; then 1118 cat <<\_ASBOX 1119## ------------- ## 1120## Output files. ## 1121## ------------- ## 1122_ASBOX 1123 echo 1124 for ac_var in $ac_subst_files 1125 do 1126 eval ac_val=$`echo $ac_var` 1127 echo "$ac_var='"'"'$ac_val'"'"'" 1128 done | sort 1129 echo 1130 fi 1131 1132 if test -s confdefs.h; then 1133 cat <<\_ASBOX 1134## ----------- ## 1135## confdefs.h. ## 1136## ----------- ## 1137_ASBOX 1138 echo 1139 sed "/^$/d" confdefs.h | sort 1140 echo 1141 fi 1142 test "$ac_signal" != 0 && 1143 echo "$as_me: caught signal $ac_signal" 1144 echo "$as_me: exit $exit_status" 1145 } >&5 1146 rm -f core *.core && 1147 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1148 exit $exit_status 1149 ' 0 1150for ac_signal in 1 2 13 15; do 1151 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1152done 1153ac_signal=0 1154 1155# confdefs.h avoids OS command line length limits that DEFS can exceed. 1156rm -rf conftest* confdefs.h 1157# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1158echo >confdefs.h 1159 1160# Predefined preprocessor variables. 1161 1162cat >>confdefs.h <<_ACEOF 1163#define PACKAGE_NAME "$PACKAGE_NAME" 1164_ACEOF 1165 1166 1167cat >>confdefs.h <<_ACEOF 1168#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1169_ACEOF 1170 1171 1172cat >>confdefs.h <<_ACEOF 1173#define PACKAGE_VERSION "$PACKAGE_VERSION" 1174_ACEOF 1175 1176 1177cat >>confdefs.h <<_ACEOF 1178#define PACKAGE_STRING "$PACKAGE_STRING" 1179_ACEOF 1180 1181 1182cat >>confdefs.h <<_ACEOF 1183#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1184_ACEOF 1185 1186 1187# Let the site file select an alternate cache file if it wants to. 1188# Prefer explicitly selected file to automatically selected ones. 1189if test -z "$CONFIG_SITE"; then 1190 if test "x$prefix" != xNONE; then 1191 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 1192 else 1193 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 1194 fi 1195fi 1196for ac_site_file in $CONFIG_SITE; do 1197 if test -r "$ac_site_file"; then 1198 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1199echo "$as_me: loading site script $ac_site_file" >&6;} 1200 sed 's/^/| /' "$ac_site_file" >&5 1201 . "$ac_site_file" 1202 fi 1203done 1204 1205if test -r "$cache_file"; then 1206 # Some versions of bash will fail to source /dev/null (special 1207 # files actually), so we avoid doing that. 1208 if test -f "$cache_file"; then 1209 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1210echo "$as_me: loading cache $cache_file" >&6;} 1211 case $cache_file in 1212 [\\/]* | ?:[\\/]* ) . $cache_file;; 1213 *) . ./$cache_file;; 1214 esac 1215 fi 1216else 1217 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1218echo "$as_me: creating cache $cache_file" >&6;} 1219 >$cache_file 1220fi 1221 1222# Check that the precious variables saved in the cache have kept the same 1223# value. 1224ac_cache_corrupted=false 1225for ac_var in `(set) 2>&1 | 1226 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1227 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1228 eval ac_new_set=\$ac_env_${ac_var}_set 1229 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1230 eval ac_new_val="\$ac_env_${ac_var}_value" 1231 case $ac_old_set,$ac_new_set in 1232 set,) 1233 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1234echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1235 ac_cache_corrupted=: ;; 1236 ,set) 1237 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1238echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1239 ac_cache_corrupted=: ;; 1240 ,);; 1241 *) 1242 if test "x$ac_old_val" != "x$ac_new_val"; then 1243 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1244echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1245 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1246echo "$as_me: former value: $ac_old_val" >&2;} 1247 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1248echo "$as_me: current value: $ac_new_val" >&2;} 1249 ac_cache_corrupted=: 1250 fi;; 1251 esac 1252 # Pass precious variables to config.status. 1253 if test "$ac_new_set" = set; then 1254 case $ac_new_val in 1255 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1256 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1257 *) ac_arg=$ac_var=$ac_new_val ;; 1258 esac 1259 case " $ac_configure_args " in 1260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1261 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1262 esac 1263 fi 1264done 1265if $ac_cache_corrupted; then 1266 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1267echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1268 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1269echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1270 { (exit 1); exit 1; }; } 1271fi 1272 1273ac_ext=c 1274ac_cpp='$CPP $CPPFLAGS' 1275ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1276ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1277ac_compiler_gnu=$ac_cv_c_compiler_gnu 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305am__api_version="1.7" 1306ac_aux_dir= 1307for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do 1308 if test -f $ac_dir/install-sh; then 1309 ac_aux_dir=$ac_dir 1310 ac_install_sh="$ac_aux_dir/install-sh -c" 1311 break 1312 elif test -f $ac_dir/install.sh; then 1313 ac_aux_dir=$ac_dir 1314 ac_install_sh="$ac_aux_dir/install.sh -c" 1315 break 1316 elif test -f $ac_dir/shtool; then 1317 ac_aux_dir=$ac_dir 1318 ac_install_sh="$ac_aux_dir/shtool install -c" 1319 break 1320 fi 1321done 1322if test -z "$ac_aux_dir"; then 1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1324echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1325 { (exit 1); exit 1; }; } 1326fi 1327ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1328ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1329ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1330 1331# Find a good install program. We prefer a C program (faster), 1332# so one script is as good as another. But avoid the broken or 1333# incompatible versions: 1334# SysV /etc/install, /usr/sbin/install 1335# SunOS /usr/etc/install 1336# IRIX /sbin/install 1337# AIX /bin/install 1338# AmigaOS /C/install, which installs bootblocks on floppy discs 1339# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1340# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1341# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1342# OS/2's system install, which has a completely different semantic 1343# ./install, which can be erroneously created by make from ./install.sh. 1344echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 1345echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1346if test -z "$INSTALL"; then 1347if test "${ac_cv_path_install+set}" = set; then 1348 echo $ECHO_N "(cached) $ECHO_C" >&6 1349else 1350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1351for as_dir in $PATH 1352do 1353 IFS=$as_save_IFS 1354 test -z "$as_dir" && as_dir=. 1355 # Account for people who put trailing slashes in PATH elements. 1356case $as_dir/ in 1357 ./ | .// | /cC/* | \ 1358 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1359 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 1360 /usr/ucb/* ) ;; 1361 *) 1362 # OSF1 and SCO ODT 3.0 have their own names for install. 1363 # Don't use installbsd from OSF since it installs stuff as root 1364 # by default. 1365 for ac_prog in ginstall scoinst install; do 1366 for ac_exec_ext in '' $ac_executable_extensions; do 1367 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1368 if test $ac_prog = install && 1369 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1370 # AIX install. It has an incompatible calling convention. 1371 : 1372 elif test $ac_prog = install && 1373 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1374 # program-specific install script used by HP pwplus--don't use. 1375 : 1376 else 1377 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1378 break 3 1379 fi 1380 fi 1381 done 1382 done 1383 ;; 1384esac 1385done 1386 1387 1388fi 1389 if test "${ac_cv_path_install+set}" = set; then 1390 INSTALL=$ac_cv_path_install 1391 else 1392 # As a last resort, use the slow shell script. We don't cache a 1393 # path for INSTALL within a source directory, because that will 1394 # break other packages using the cache if that directory is 1395 # removed, or if the path is relative. 1396 INSTALL=$ac_install_sh 1397 fi 1398fi 1399echo "$as_me:$LINENO: result: $INSTALL" >&5 1400echo "${ECHO_T}$INSTALL" >&6 1401 1402# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1403# It thinks the first close brace ends the variable substitution. 1404test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1405 1406test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1407 1408test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1409 1410echo "$as_me:$LINENO: checking whether build environment is sane" >&5 1411echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 1412# Just in case 1413sleep 1 1414echo timestamp > conftest.file 1415# Do `set' in a subshell so we don't clobber the current shell's 1416# arguments. Must try -L first in case configure is actually a 1417# symlink; some systems play weird games with the mod time of symlinks 1418# (eg FreeBSD returns the mod time of the symlink's containing 1419# directory). 1420if ( 1421 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` 1422 if test "$*" = "X"; then 1423 # -L didn't work. 1424 set X `ls -t $srcdir/configure conftest.file` 1425 fi 1426 rm -f conftest.file 1427 if test "$*" != "X $srcdir/configure conftest.file" \ 1428 && test "$*" != "X conftest.file $srcdir/configure"; then 1429 1430 # If neither matched, then we have a broken ls. This can happen 1431 # if, for instance, CONFIG_SHELL is bash and it inherits a 1432 # broken ls alias from the environment. This has actually 1433 # happened. Such a system could not be considered "sane". 1434 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken 1435alias in your environment" >&5 1436echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken 1437alias in your environment" >&2;} 1438 { (exit 1); exit 1; }; } 1439 fi 1440 1441 test "$2" = conftest.file 1442 ) 1443then 1444 # Ok. 1445 : 1446else 1447 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! 1448Check your system clock" >&5 1449echo "$as_me: error: newly created file is older than distributed files! 1450Check your system clock" >&2;} 1451 { (exit 1); exit 1; }; } 1452fi 1453echo "$as_me:$LINENO: result: yes" >&5 1454echo "${ECHO_T}yes" >&6 1455test "$program_prefix" != NONE && 1456 program_transform_name="s,^,$program_prefix,;$program_transform_name" 1457# Use a double $ so make ignores it. 1458test "$program_suffix" != NONE && 1459 program_transform_name="s,\$,$program_suffix,;$program_transform_name" 1460# Double any \ or $. echo might interpret backslashes. 1461# By default was `s,x,x', remove it if useless. 1462cat <<\_ACEOF >conftest.sed 1463s/[\\$]/&&/g;s/;s,x,x,$// 1464_ACEOF 1465program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 1466rm conftest.sed 1467 1468 1469# expand $ac_aux_dir to an absolute path 1470am_aux_dir=`cd $ac_aux_dir && pwd` 1471 1472test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" 1473# Use eval to expand $SHELL 1474if eval "$MISSING --run true"; then 1475 am_missing_run="$MISSING --run " 1476else 1477 am_missing_run= 1478 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 1479echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 1480fi 1481 1482for ac_prog in gawk mawk nawk awk 1483do 1484 # Extract the first word of "$ac_prog", so it can be a program name with args. 1485set dummy $ac_prog; ac_word=$2 1486echo "$as_me:$LINENO: checking for $ac_word" >&5 1487echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1488if test "${ac_cv_prog_AWK+set}" = set; then 1489 echo $ECHO_N "(cached) $ECHO_C" >&6 1490else 1491 if test -n "$AWK"; then 1492 ac_cv_prog_AWK="$AWK" # Let the user override the test. 1493else 1494as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1495for as_dir in $PATH 1496do 1497 IFS=$as_save_IFS 1498 test -z "$as_dir" && as_dir=. 1499 for ac_exec_ext in '' $ac_executable_extensions; do 1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1501 ac_cv_prog_AWK="$ac_prog" 1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1503 break 2 1504 fi 1505done 1506done 1507 1508fi 1509fi 1510AWK=$ac_cv_prog_AWK 1511if test -n "$AWK"; then 1512 echo "$as_me:$LINENO: result: $AWK" >&5 1513echo "${ECHO_T}$AWK" >&6 1514else 1515 echo "$as_me:$LINENO: result: no" >&5 1516echo "${ECHO_T}no" >&6 1517fi 1518 1519 test -n "$AWK" && break 1520done 1521 1522echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1523echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 1524set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 1525if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1526 echo $ECHO_N "(cached) $ECHO_C" >&6 1527else 1528 cat >conftest.make <<\_ACEOF 1529all: 1530 @echo 'ac_maketemp="$(MAKE)"' 1531_ACEOF 1532# GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1533eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1534if test -n "$ac_maketemp"; then 1535 eval ac_cv_prog_make_${ac_make}_set=yes 1536else 1537 eval ac_cv_prog_make_${ac_make}_set=no 1538fi 1539rm -f conftest.make 1540fi 1541if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1542 echo "$as_me:$LINENO: result: yes" >&5 1543echo "${ECHO_T}yes" >&6 1544 SET_MAKE= 1545else 1546 echo "$as_me:$LINENO: result: no" >&5 1547echo "${ECHO_T}no" >&6 1548 SET_MAKE="MAKE=${MAKE-make}" 1549fi 1550 1551rm -rf .tst 2>/dev/null 1552mkdir .tst 2>/dev/null 1553if test -d .tst; then 1554 am__leading_dot=. 1555else 1556 am__leading_dot=_ 1557fi 1558rmdir .tst 2>/dev/null 1559 1560 # test to see if srcdir already configured 1561if test "`cd $srcdir && pwd`" != "`pwd`" && 1562 test -f $srcdir/config.status; then 1563 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 1564echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} 1565 { (exit 1); exit 1; }; } 1566fi 1567 1568# test whether we have cygpath 1569if test -z "$CYGPATH_W"; then 1570 if (cygpath --version) >/dev/null 2>/dev/null; then 1571 CYGPATH_W='cygpath -w' 1572 else 1573 CYGPATH_W=echo 1574 fi 1575fi 1576 1577 1578# Define the identity of the package. 1579 PACKAGE='proxymngr' 1580 VERSION='1.0.1' 1581 1582 1583cat >>confdefs.h <<_ACEOF 1584#define PACKAGE "$PACKAGE" 1585_ACEOF 1586 1587 1588cat >>confdefs.h <<_ACEOF 1589#define VERSION "$VERSION" 1590_ACEOF 1591 1592# Some tools Automake needs. 1593 1594ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 1595 1596 1597AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 1598 1599 1600AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 1601 1602 1603AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 1604 1605 1606MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 1607 1608 1609AMTAR=${AMTAR-"${am_missing_run}tar"} 1610 1611install_sh=${install_sh-"$am_aux_dir/install-sh"} 1612 1613# Installed binaries are usually stripped using `strip' when the user 1614# run `make install-strip'. However `strip' might not be the right 1615# tool to use in cross-compilation environments, therefore Automake 1616# will honor the `STRIP' environment variable to overrule this program. 1617if test "$cross_compiling" != no; then 1618 if test -n "$ac_tool_prefix"; then 1619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 1620set dummy ${ac_tool_prefix}strip; ac_word=$2 1621echo "$as_me:$LINENO: checking for $ac_word" >&5 1622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1623if test "${ac_cv_prog_STRIP+set}" = set; then 1624 echo $ECHO_N "(cached) $ECHO_C" >&6 1625else 1626 if test -n "$STRIP"; then 1627 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 1628else 1629as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1630for as_dir in $PATH 1631do 1632 IFS=$as_save_IFS 1633 test -z "$as_dir" && as_dir=. 1634 for ac_exec_ext in '' $ac_executable_extensions; do 1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1636 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1638 break 2 1639 fi 1640done 1641done 1642 1643fi 1644fi 1645STRIP=$ac_cv_prog_STRIP 1646if test -n "$STRIP"; then 1647 echo "$as_me:$LINENO: result: $STRIP" >&5 1648echo "${ECHO_T}$STRIP" >&6 1649else 1650 echo "$as_me:$LINENO: result: no" >&5 1651echo "${ECHO_T}no" >&6 1652fi 1653 1654fi 1655if test -z "$ac_cv_prog_STRIP"; then 1656 ac_ct_STRIP=$STRIP 1657 # Extract the first word of "strip", so it can be a program name with args. 1658set dummy strip; ac_word=$2 1659echo "$as_me:$LINENO: checking for $ac_word" >&5 1660echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1661if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then 1662 echo $ECHO_N "(cached) $ECHO_C" >&6 1663else 1664 if test -n "$ac_ct_STRIP"; then 1665 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 1666else 1667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1668for as_dir in $PATH 1669do 1670 IFS=$as_save_IFS 1671 test -z "$as_dir" && as_dir=. 1672 for ac_exec_ext in '' $ac_executable_extensions; do 1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1674 ac_cv_prog_ac_ct_STRIP="strip" 1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1676 break 2 1677 fi 1678done 1679done 1680 1681 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" 1682fi 1683fi 1684ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 1685if test -n "$ac_ct_STRIP"; then 1686 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 1687echo "${ECHO_T}$ac_ct_STRIP" >&6 1688else 1689 echo "$as_me:$LINENO: result: no" >&5 1690echo "${ECHO_T}no" >&6 1691fi 1692 1693 STRIP=$ac_ct_STRIP 1694else 1695 STRIP="$ac_cv_prog_STRIP" 1696fi 1697 1698fi 1699INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" 1700 1701# We need awk for the "check" target. The system "awk" is bad on 1702# some platforms. 1703 1704 1705 1706echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 1707echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 1708 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1709if test "${enable_maintainer_mode+set}" = set; then 1710 enableval="$enable_maintainer_mode" 1711 USE_MAINTAINER_MODE=$enableval 1712else 1713 USE_MAINTAINER_MODE=no 1714fi; 1715 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1716echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 1717 1718 1719if test $USE_MAINTAINER_MODE = yes; then 1720 MAINTAINER_MODE_TRUE= 1721 MAINTAINER_MODE_FALSE='#' 1722else 1723 MAINTAINER_MODE_TRUE='#' 1724 MAINTAINER_MODE_FALSE= 1725fi 1726 1727 MAINT=$MAINTAINER_MODE_TRUE 1728 1729 1730 1731# The program itself has a header called config.h so 1732# we have to choose a different name 1733 ac_config_headers="$ac_config_headers xconfig.h" 1734 1735 1736DEPDIR="${am__leading_dot}deps" 1737 1738 ac_config_commands="$ac_config_commands depfiles" 1739 1740 1741am_make=${MAKE-make} 1742cat > confinc << 'END' 1743am__doit: 1744 @echo done 1745.PHONY: am__doit 1746END 1747# If we don't find an include directive, just comment out the code. 1748echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 1749echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 1750am__include="#" 1751am__quote= 1752_am_result=none 1753# First try GNU make style include. 1754echo "include confinc" > confmf 1755# We grep out `Entering directory' and `Leaving directory' 1756# messages which can occur if `w' ends up in MAKEFLAGS. 1757# In particular we don't look at `^make:' because GNU make might 1758# be invoked under some other name (usually "gmake"), in which 1759# case it prints its new name instead of `make'. 1760if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then 1761 am__include=include 1762 am__quote= 1763 _am_result=GNU 1764fi 1765# Now try BSD make style include. 1766if test "$am__include" = "#"; then 1767 echo '.include "confinc"' > confmf 1768 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then 1769 am__include=.include 1770 am__quote="\"" 1771 _am_result=BSD 1772 fi 1773fi 1774 1775 1776echo "$as_me:$LINENO: result: $_am_result" >&5 1777echo "${ECHO_T}$_am_result" >&6 1778rm -f confinc confmf 1779 1780# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. 1781if test "${enable_dependency_tracking+set}" = set; then 1782 enableval="$enable_dependency_tracking" 1783 1784fi; 1785if test "x$enable_dependency_tracking" != xno; then 1786 am_depcomp="$ac_aux_dir/depcomp" 1787 AMDEPBACKSLASH='\' 1788fi 1789 1790 1791if test "x$enable_dependency_tracking" != xno; then 1792 AMDEP_TRUE= 1793 AMDEP_FALSE='#' 1794else 1795 AMDEP_TRUE='#' 1796 AMDEP_FALSE= 1797fi 1798 1799 1800 1801ac_ext=c 1802ac_cpp='$CPP $CPPFLAGS' 1803ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1804ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1805ac_compiler_gnu=$ac_cv_c_compiler_gnu 1806if test -n "$ac_tool_prefix"; then 1807 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1808set dummy ${ac_tool_prefix}gcc; ac_word=$2 1809echo "$as_me:$LINENO: checking for $ac_word" >&5 1810echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1811if test "${ac_cv_prog_CC+set}" = set; then 1812 echo $ECHO_N "(cached) $ECHO_C" >&6 1813else 1814 if test -n "$CC"; then 1815 ac_cv_prog_CC="$CC" # Let the user override the test. 1816else 1817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1818for as_dir in $PATH 1819do 1820 IFS=$as_save_IFS 1821 test -z "$as_dir" && as_dir=. 1822 for ac_exec_ext in '' $ac_executable_extensions; do 1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1824 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1826 break 2 1827 fi 1828done 1829done 1830 1831fi 1832fi 1833CC=$ac_cv_prog_CC 1834if test -n "$CC"; then 1835 echo "$as_me:$LINENO: result: $CC" >&5 1836echo "${ECHO_T}$CC" >&6 1837else 1838 echo "$as_me:$LINENO: result: no" >&5 1839echo "${ECHO_T}no" >&6 1840fi 1841 1842fi 1843if test -z "$ac_cv_prog_CC"; then 1844 ac_ct_CC=$CC 1845 # Extract the first word of "gcc", so it can be a program name with args. 1846set dummy gcc; ac_word=$2 1847echo "$as_me:$LINENO: checking for $ac_word" >&5 1848echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1849if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1850 echo $ECHO_N "(cached) $ECHO_C" >&6 1851else 1852 if test -n "$ac_ct_CC"; then 1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1854else 1855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1856for as_dir in $PATH 1857do 1858 IFS=$as_save_IFS 1859 test -z "$as_dir" && as_dir=. 1860 for ac_exec_ext in '' $ac_executable_extensions; do 1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1862 ac_cv_prog_ac_ct_CC="gcc" 1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1864 break 2 1865 fi 1866done 1867done 1868 1869fi 1870fi 1871ac_ct_CC=$ac_cv_prog_ac_ct_CC 1872if test -n "$ac_ct_CC"; then 1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1874echo "${ECHO_T}$ac_ct_CC" >&6 1875else 1876 echo "$as_me:$LINENO: result: no" >&5 1877echo "${ECHO_T}no" >&6 1878fi 1879 1880 CC=$ac_ct_CC 1881else 1882 CC="$ac_cv_prog_CC" 1883fi 1884 1885if test -z "$CC"; then 1886 if test -n "$ac_tool_prefix"; then 1887 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1888set dummy ${ac_tool_prefix}cc; ac_word=$2 1889echo "$as_me:$LINENO: checking for $ac_word" >&5 1890echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1891if test "${ac_cv_prog_CC+set}" = set; then 1892 echo $ECHO_N "(cached) $ECHO_C" >&6 1893else 1894 if test -n "$CC"; then 1895 ac_cv_prog_CC="$CC" # Let the user override the test. 1896else 1897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1898for as_dir in $PATH 1899do 1900 IFS=$as_save_IFS 1901 test -z "$as_dir" && as_dir=. 1902 for ac_exec_ext in '' $ac_executable_extensions; do 1903 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1904 ac_cv_prog_CC="${ac_tool_prefix}cc" 1905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 break 2 1907 fi 1908done 1909done 1910 1911fi 1912fi 1913CC=$ac_cv_prog_CC 1914if test -n "$CC"; then 1915 echo "$as_me:$LINENO: result: $CC" >&5 1916echo "${ECHO_T}$CC" >&6 1917else 1918 echo "$as_me:$LINENO: result: no" >&5 1919echo "${ECHO_T}no" >&6 1920fi 1921 1922fi 1923if test -z "$ac_cv_prog_CC"; then 1924 ac_ct_CC=$CC 1925 # Extract the first word of "cc", so it can be a program name with args. 1926set dummy cc; ac_word=$2 1927echo "$as_me:$LINENO: checking for $ac_word" >&5 1928echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1929if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1930 echo $ECHO_N "(cached) $ECHO_C" >&6 1931else 1932 if test -n "$ac_ct_CC"; then 1933 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1934else 1935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1936for as_dir in $PATH 1937do 1938 IFS=$as_save_IFS 1939 test -z "$as_dir" && as_dir=. 1940 for ac_exec_ext in '' $ac_executable_extensions; do 1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1942 ac_cv_prog_ac_ct_CC="cc" 1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1944 break 2 1945 fi 1946done 1947done 1948 1949fi 1950fi 1951ac_ct_CC=$ac_cv_prog_ac_ct_CC 1952if test -n "$ac_ct_CC"; then 1953 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1954echo "${ECHO_T}$ac_ct_CC" >&6 1955else 1956 echo "$as_me:$LINENO: result: no" >&5 1957echo "${ECHO_T}no" >&6 1958fi 1959 1960 CC=$ac_ct_CC 1961else 1962 CC="$ac_cv_prog_CC" 1963fi 1964 1965fi 1966if test -z "$CC"; then 1967 # Extract the first word of "cc", so it can be a program name with args. 1968set dummy cc; ac_word=$2 1969echo "$as_me:$LINENO: checking for $ac_word" >&5 1970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1971if test "${ac_cv_prog_CC+set}" = set; then 1972 echo $ECHO_N "(cached) $ECHO_C" >&6 1973else 1974 if test -n "$CC"; then 1975 ac_cv_prog_CC="$CC" # Let the user override the test. 1976else 1977 ac_prog_rejected=no 1978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1979for as_dir in $PATH 1980do 1981 IFS=$as_save_IFS 1982 test -z "$as_dir" && as_dir=. 1983 for ac_exec_ext in '' $ac_executable_extensions; do 1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1985 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1986 ac_prog_rejected=yes 1987 continue 1988 fi 1989 ac_cv_prog_CC="cc" 1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1991 break 2 1992 fi 1993done 1994done 1995 1996if test $ac_prog_rejected = yes; then 1997 # We found a bogon in the path, so make sure we never use it. 1998 set dummy $ac_cv_prog_CC 1999 shift 2000 if test $# != 0; then 2001 # We chose a different compiler from the bogus one. 2002 # However, it has the same basename, so the bogon will be chosen 2003 # first if we set CC to just the basename; use the full file name. 2004 shift 2005 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2006 fi 2007fi 2008fi 2009fi 2010CC=$ac_cv_prog_CC 2011if test -n "$CC"; then 2012 echo "$as_me:$LINENO: result: $CC" >&5 2013echo "${ECHO_T}$CC" >&6 2014else 2015 echo "$as_me:$LINENO: result: no" >&5 2016echo "${ECHO_T}no" >&6 2017fi 2018 2019fi 2020if test -z "$CC"; then 2021 if test -n "$ac_tool_prefix"; then 2022 for ac_prog in cl 2023 do 2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2025set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2026echo "$as_me:$LINENO: checking for $ac_word" >&5 2027echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2028if test "${ac_cv_prog_CC+set}" = set; then 2029 echo $ECHO_N "(cached) $ECHO_C" >&6 2030else 2031 if test -n "$CC"; then 2032 ac_cv_prog_CC="$CC" # Let the user override the test. 2033else 2034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2035for as_dir in $PATH 2036do 2037 IFS=$as_save_IFS 2038 test -z "$as_dir" && as_dir=. 2039 for ac_exec_ext in '' $ac_executable_extensions; do 2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2041 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2043 break 2 2044 fi 2045done 2046done 2047 2048fi 2049fi 2050CC=$ac_cv_prog_CC 2051if test -n "$CC"; then 2052 echo "$as_me:$LINENO: result: $CC" >&5 2053echo "${ECHO_T}$CC" >&6 2054else 2055 echo "$as_me:$LINENO: result: no" >&5 2056echo "${ECHO_T}no" >&6 2057fi 2058 2059 test -n "$CC" && break 2060 done 2061fi 2062if test -z "$CC"; then 2063 ac_ct_CC=$CC 2064 for ac_prog in cl 2065do 2066 # Extract the first word of "$ac_prog", so it can be a program name with args. 2067set dummy $ac_prog; ac_word=$2 2068echo "$as_me:$LINENO: checking for $ac_word" >&5 2069echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2070if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2071 echo $ECHO_N "(cached) $ECHO_C" >&6 2072else 2073 if test -n "$ac_ct_CC"; then 2074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2075else 2076as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2077for as_dir in $PATH 2078do 2079 IFS=$as_save_IFS 2080 test -z "$as_dir" && as_dir=. 2081 for ac_exec_ext in '' $ac_executable_extensions; do 2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2083 ac_cv_prog_ac_ct_CC="$ac_prog" 2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2085 break 2 2086 fi 2087done 2088done 2089 2090fi 2091fi 2092ac_ct_CC=$ac_cv_prog_ac_ct_CC 2093if test -n "$ac_ct_CC"; then 2094 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2095echo "${ECHO_T}$ac_ct_CC" >&6 2096else 2097 echo "$as_me:$LINENO: result: no" >&5 2098echo "${ECHO_T}no" >&6 2099fi 2100 2101 test -n "$ac_ct_CC" && break 2102done 2103 2104 CC=$ac_ct_CC 2105fi 2106 2107fi 2108 2109 2110test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2111See \`config.log' for more details." >&5 2112echo "$as_me: error: no acceptable C compiler found in \$PATH 2113See \`config.log' for more details." >&2;} 2114 { (exit 1); exit 1; }; } 2115 2116# Provide some information about the compiler. 2117echo "$as_me:$LINENO:" \ 2118 "checking for C compiler version" >&5 2119ac_compiler=`set X $ac_compile; echo $2` 2120{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2121 (eval $ac_compiler --version </dev/null >&5) 2>&5 2122 ac_status=$? 2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2124 (exit $ac_status); } 2125{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2126 (eval $ac_compiler -v </dev/null >&5) 2>&5 2127 ac_status=$? 2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2129 (exit $ac_status); } 2130{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2131 (eval $ac_compiler -V </dev/null >&5) 2>&5 2132 ac_status=$? 2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2134 (exit $ac_status); } 2135 2136cat >conftest.$ac_ext <<_ACEOF 2137/* confdefs.h. */ 2138_ACEOF 2139cat confdefs.h >>conftest.$ac_ext 2140cat >>conftest.$ac_ext <<_ACEOF 2141/* end confdefs.h. */ 2142 2143int 2144main () 2145{ 2146 2147 ; 2148 return 0; 2149} 2150_ACEOF 2151ac_clean_files_save=$ac_clean_files 2152ac_clean_files="$ac_clean_files a.out a.exe b.out" 2153# Try to create an executable without -o first, disregard a.out. 2154# It will help us diagnose broken compilers, and finding out an intuition 2155# of exeext. 2156echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2157echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 2158ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2159if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 2160 (eval $ac_link_default) 2>&5 2161 ac_status=$? 2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2163 (exit $ac_status); }; then 2164 # Find the output, starting from the most likely. This scheme is 2165# not robust to junk in `.', hence go to wildcards (a.*) only as a last 2166# resort. 2167 2168# Be careful to initialize this variable, since it used to be cached. 2169# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 2170ac_cv_exeext= 2171# b.out is created by i960 compilers. 2172for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 2173do 2174 test -f "$ac_file" || continue 2175 case $ac_file in 2176 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 2177 ;; 2178 conftest.$ac_ext ) 2179 # This is the source file. 2180 ;; 2181 [ab].out ) 2182 # We found the default executable, but exeext='' is most 2183 # certainly right. 2184 break;; 2185 *.* ) 2186 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2187 # FIXME: I believe we export ac_cv_exeext for Libtool, 2188 # but it would be cool to find out if it's true. Does anybody 2189 # maintain Libtool? --akim. 2190 export ac_cv_exeext 2191 break;; 2192 * ) 2193 break;; 2194 esac 2195done 2196else 2197 echo "$as_me: failed program was:" >&5 2198sed 's/^/| /' conftest.$ac_ext >&5 2199 2200{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2201See \`config.log' for more details." >&5 2202echo "$as_me: error: C compiler cannot create executables 2203See \`config.log' for more details." >&2;} 2204 { (exit 77); exit 77; }; } 2205fi 2206 2207ac_exeext=$ac_cv_exeext 2208echo "$as_me:$LINENO: result: $ac_file" >&5 2209echo "${ECHO_T}$ac_file" >&6 2210 2211# Check the compiler produces executables we can run. If not, either 2212# the compiler is broken, or we cross compile. 2213echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2214echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 2215# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2216# If not cross compiling, check that we can run a simple program. 2217if test "$cross_compiling" != yes; then 2218 if { ac_try='./$ac_file' 2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2220 (eval $ac_try) 2>&5 2221 ac_status=$? 2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2223 (exit $ac_status); }; }; then 2224 cross_compiling=no 2225 else 2226 if test "$cross_compiling" = maybe; then 2227 cross_compiling=yes 2228 else 2229 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2230If you meant to cross compile, use \`--host'. 2231See \`config.log' for more details." >&5 2232echo "$as_me: error: cannot run C compiled programs. 2233If you meant to cross compile, use \`--host'. 2234See \`config.log' for more details." >&2;} 2235 { (exit 1); exit 1; }; } 2236 fi 2237 fi 2238fi 2239echo "$as_me:$LINENO: result: yes" >&5 2240echo "${ECHO_T}yes" >&6 2241 2242rm -f a.out a.exe conftest$ac_cv_exeext b.out 2243ac_clean_files=$ac_clean_files_save 2244# Check the compiler produces executables we can run. If not, either 2245# the compiler is broken, or we cross compile. 2246echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2247echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 2248echo "$as_me:$LINENO: result: $cross_compiling" >&5 2249echo "${ECHO_T}$cross_compiling" >&6 2250 2251echo "$as_me:$LINENO: checking for suffix of executables" >&5 2252echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 2253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2254 (eval $ac_link) 2>&5 2255 ac_status=$? 2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2257 (exit $ac_status); }; then 2258 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2259# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2260# work properly (i.e., refer to `conftest.exe'), while it won't with 2261# `rm'. 2262for ac_file in conftest.exe conftest conftest.*; do 2263 test -f "$ac_file" || continue 2264 case $ac_file in 2265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 2266 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2267 export ac_cv_exeext 2268 break;; 2269 * ) break;; 2270 esac 2271done 2272else 2273 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2274See \`config.log' for more details." >&5 2275echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2276See \`config.log' for more details." >&2;} 2277 { (exit 1); exit 1; }; } 2278fi 2279 2280rm -f conftest$ac_cv_exeext 2281echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2282echo "${ECHO_T}$ac_cv_exeext" >&6 2283 2284rm -f conftest.$ac_ext 2285EXEEXT=$ac_cv_exeext 2286ac_exeext=$EXEEXT 2287echo "$as_me:$LINENO: checking for suffix of object files" >&5 2288echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2289if test "${ac_cv_objext+set}" = set; then 2290 echo $ECHO_N "(cached) $ECHO_C" >&6 2291else 2292 cat >conftest.$ac_ext <<_ACEOF 2293/* confdefs.h. */ 2294_ACEOF 2295cat confdefs.h >>conftest.$ac_ext 2296cat >>conftest.$ac_ext <<_ACEOF 2297/* end confdefs.h. */ 2298 2299int 2300main () 2301{ 2302 2303 ; 2304 return 0; 2305} 2306_ACEOF 2307rm -f conftest.o conftest.obj 2308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2309 (eval $ac_compile) 2>&5 2310 ac_status=$? 2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2312 (exit $ac_status); }; then 2313 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 2314 case $ac_file in 2315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 2316 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2317 break;; 2318 esac 2319done 2320else 2321 echo "$as_me: failed program was:" >&5 2322sed 's/^/| /' conftest.$ac_ext >&5 2323 2324{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2325See \`config.log' for more details." >&5 2326echo "$as_me: error: cannot compute suffix of object files: cannot compile 2327See \`config.log' for more details." >&2;} 2328 { (exit 1); exit 1; }; } 2329fi 2330 2331rm -f conftest.$ac_cv_objext conftest.$ac_ext 2332fi 2333echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2334echo "${ECHO_T}$ac_cv_objext" >&6 2335OBJEXT=$ac_cv_objext 2336ac_objext=$OBJEXT 2337echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2338echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2339if test "${ac_cv_c_compiler_gnu+set}" = set; then 2340 echo $ECHO_N "(cached) $ECHO_C" >&6 2341else 2342 cat >conftest.$ac_ext <<_ACEOF 2343/* confdefs.h. */ 2344_ACEOF 2345cat confdefs.h >>conftest.$ac_ext 2346cat >>conftest.$ac_ext <<_ACEOF 2347/* end confdefs.h. */ 2348 2349int 2350main () 2351{ 2352#ifndef __GNUC__ 2353 choke me 2354#endif 2355 2356 ; 2357 return 0; 2358} 2359_ACEOF 2360rm -f conftest.$ac_objext 2361if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2362 (eval $ac_compile) 2>conftest.er1 2363 ac_status=$? 2364 grep -v '^ *+' conftest.er1 >conftest.err 2365 rm -f conftest.er1 2366 cat conftest.err >&5 2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2368 (exit $ac_status); } && 2369 { ac_try='test -z "$ac_c_werror_flag" 2370 || test ! -s conftest.err' 2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2372 (eval $ac_try) 2>&5 2373 ac_status=$? 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2375 (exit $ac_status); }; } && 2376 { ac_try='test -s conftest.$ac_objext' 2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2378 (eval $ac_try) 2>&5 2379 ac_status=$? 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2381 (exit $ac_status); }; }; then 2382 ac_compiler_gnu=yes 2383else 2384 echo "$as_me: failed program was:" >&5 2385sed 's/^/| /' conftest.$ac_ext >&5 2386 2387ac_compiler_gnu=no 2388fi 2389rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2390ac_cv_c_compiler_gnu=$ac_compiler_gnu 2391 2392fi 2393echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2394echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2395GCC=`test $ac_compiler_gnu = yes && echo yes` 2396ac_test_CFLAGS=${CFLAGS+set} 2397ac_save_CFLAGS=$CFLAGS 2398CFLAGS="-g" 2399echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2400echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2401if test "${ac_cv_prog_cc_g+set}" = set; then 2402 echo $ECHO_N "(cached) $ECHO_C" >&6 2403else 2404 cat >conftest.$ac_ext <<_ACEOF 2405/* confdefs.h. */ 2406_ACEOF 2407cat confdefs.h >>conftest.$ac_ext 2408cat >>conftest.$ac_ext <<_ACEOF 2409/* end confdefs.h. */ 2410 2411int 2412main () 2413{ 2414 2415 ; 2416 return 0; 2417} 2418_ACEOF 2419rm -f conftest.$ac_objext 2420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2421 (eval $ac_compile) 2>conftest.er1 2422 ac_status=$? 2423 grep -v '^ *+' conftest.er1 >conftest.err 2424 rm -f conftest.er1 2425 cat conftest.err >&5 2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2427 (exit $ac_status); } && 2428 { ac_try='test -z "$ac_c_werror_flag" 2429 || test ! -s conftest.err' 2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2431 (eval $ac_try) 2>&5 2432 ac_status=$? 2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2434 (exit $ac_status); }; } && 2435 { ac_try='test -s conftest.$ac_objext' 2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2437 (eval $ac_try) 2>&5 2438 ac_status=$? 2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2440 (exit $ac_status); }; }; then 2441 ac_cv_prog_cc_g=yes 2442else 2443 echo "$as_me: failed program was:" >&5 2444sed 's/^/| /' conftest.$ac_ext >&5 2445 2446ac_cv_prog_cc_g=no 2447fi 2448rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2449fi 2450echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2451echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2452if test "$ac_test_CFLAGS" = set; then 2453 CFLAGS=$ac_save_CFLAGS 2454elif test $ac_cv_prog_cc_g = yes; then 2455 if test "$GCC" = yes; then 2456 CFLAGS="-g -O2" 2457 else 2458 CFLAGS="-g" 2459 fi 2460else 2461 if test "$GCC" = yes; then 2462 CFLAGS="-O2" 2463 else 2464 CFLAGS= 2465 fi 2466fi 2467echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2468echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2469if test "${ac_cv_prog_cc_stdc+set}" = set; then 2470 echo $ECHO_N "(cached) $ECHO_C" >&6 2471else 2472 ac_cv_prog_cc_stdc=no 2473ac_save_CC=$CC 2474cat >conftest.$ac_ext <<_ACEOF 2475/* confdefs.h. */ 2476_ACEOF 2477cat confdefs.h >>conftest.$ac_ext 2478cat >>conftest.$ac_ext <<_ACEOF 2479/* end confdefs.h. */ 2480#include <stdarg.h> 2481#include <stdio.h> 2482#include <sys/types.h> 2483#include <sys/stat.h> 2484/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2485struct buf { int x; }; 2486FILE * (*rcsopen) (struct buf *, struct stat *, int); 2487static char *e (p, i) 2488 char **p; 2489 int i; 2490{ 2491 return p[i]; 2492} 2493static char *f (char * (*g) (char **, int), char **p, ...) 2494{ 2495 char *s; 2496 va_list v; 2497 va_start (v,p); 2498 s = g (p, va_arg (v,int)); 2499 va_end (v); 2500 return s; 2501} 2502 2503/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2504 function prototypes and stuff, but not '\xHH' hex character constants. 2505 These don't provoke an error unfortunately, instead are silently treated 2506 as 'x'. The following induces an error, until -std1 is added to get 2507 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2508 array size at least. It's necessary to write '\x00'==0 to get something 2509 that's true only with -std1. */ 2510int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2511 2512int test (int i, double x); 2513struct s1 {int (*f) (int a);}; 2514struct s2 {int (*f) (double a);}; 2515int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2516int argc; 2517char **argv; 2518int 2519main () 2520{ 2521return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2522 ; 2523 return 0; 2524} 2525_ACEOF 2526# Don't try gcc -ansi; that turns off useful extensions and 2527# breaks some systems' header files. 2528# AIX -qlanglvl=ansi 2529# Ultrix and OSF/1 -std1 2530# HP-UX 10.20 and later -Ae 2531# HP-UX older versions -Aa -D_HPUX_SOURCE 2532# SVR4 -Xc -D__EXTENSIONS__ 2533for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2534do 2535 CC="$ac_save_CC $ac_arg" 2536 rm -f conftest.$ac_objext 2537if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2538 (eval $ac_compile) 2>conftest.er1 2539 ac_status=$? 2540 grep -v '^ *+' conftest.er1 >conftest.err 2541 rm -f conftest.er1 2542 cat conftest.err >&5 2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2544 (exit $ac_status); } && 2545 { ac_try='test -z "$ac_c_werror_flag" 2546 || test ! -s conftest.err' 2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2548 (eval $ac_try) 2>&5 2549 ac_status=$? 2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2551 (exit $ac_status); }; } && 2552 { ac_try='test -s conftest.$ac_objext' 2553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2554 (eval $ac_try) 2>&5 2555 ac_status=$? 2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2557 (exit $ac_status); }; }; then 2558 ac_cv_prog_cc_stdc=$ac_arg 2559break 2560else 2561 echo "$as_me: failed program was:" >&5 2562sed 's/^/| /' conftest.$ac_ext >&5 2563 2564fi 2565rm -f conftest.err conftest.$ac_objext 2566done 2567rm -f conftest.$ac_ext conftest.$ac_objext 2568CC=$ac_save_CC 2569 2570fi 2571 2572case "x$ac_cv_prog_cc_stdc" in 2573 x|xno) 2574 echo "$as_me:$LINENO: result: none needed" >&5 2575echo "${ECHO_T}none needed" >&6 ;; 2576 *) 2577 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2578echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2579 CC="$CC $ac_cv_prog_cc_stdc" ;; 2580esac 2581 2582# Some people use a C++ compiler to compile C. Since we use `exit', 2583# in C++ we need to declare it. In case someone uses the same compiler 2584# for both compiling C and C++ we need to have the C++ compiler decide 2585# the declaration of exit, since it's the most demanding environment. 2586cat >conftest.$ac_ext <<_ACEOF 2587#ifndef __cplusplus 2588 choke me 2589#endif 2590_ACEOF 2591rm -f conftest.$ac_objext 2592if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2593 (eval $ac_compile) 2>conftest.er1 2594 ac_status=$? 2595 grep -v '^ *+' conftest.er1 >conftest.err 2596 rm -f conftest.er1 2597 cat conftest.err >&5 2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2599 (exit $ac_status); } && 2600 { ac_try='test -z "$ac_c_werror_flag" 2601 || test ! -s conftest.err' 2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2603 (eval $ac_try) 2>&5 2604 ac_status=$? 2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2606 (exit $ac_status); }; } && 2607 { ac_try='test -s conftest.$ac_objext' 2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2609 (eval $ac_try) 2>&5 2610 ac_status=$? 2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2612 (exit $ac_status); }; }; then 2613 for ac_declaration in \ 2614 '' \ 2615 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2616 'extern "C" void std::exit (int); using std::exit;' \ 2617 'extern "C" void exit (int) throw ();' \ 2618 'extern "C" void exit (int);' \ 2619 'void exit (int);' 2620do 2621 cat >conftest.$ac_ext <<_ACEOF 2622/* confdefs.h. */ 2623_ACEOF 2624cat confdefs.h >>conftest.$ac_ext 2625cat >>conftest.$ac_ext <<_ACEOF 2626/* end confdefs.h. */ 2627$ac_declaration 2628#include <stdlib.h> 2629int 2630main () 2631{ 2632exit (42); 2633 ; 2634 return 0; 2635} 2636_ACEOF 2637rm -f conftest.$ac_objext 2638if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2639 (eval $ac_compile) 2>conftest.er1 2640 ac_status=$? 2641 grep -v '^ *+' conftest.er1 >conftest.err 2642 rm -f conftest.er1 2643 cat conftest.err >&5 2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2645 (exit $ac_status); } && 2646 { ac_try='test -z "$ac_c_werror_flag" 2647 || test ! -s conftest.err' 2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2649 (eval $ac_try) 2>&5 2650 ac_status=$? 2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); }; } && 2653 { ac_try='test -s conftest.$ac_objext' 2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2655 (eval $ac_try) 2>&5 2656 ac_status=$? 2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2658 (exit $ac_status); }; }; then 2659 : 2660else 2661 echo "$as_me: failed program was:" >&5 2662sed 's/^/| /' conftest.$ac_ext >&5 2663 2664continue 2665fi 2666rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2667 cat >conftest.$ac_ext <<_ACEOF 2668/* confdefs.h. */ 2669_ACEOF 2670cat confdefs.h >>conftest.$ac_ext 2671cat >>conftest.$ac_ext <<_ACEOF 2672/* end confdefs.h. */ 2673$ac_declaration 2674int 2675main () 2676{ 2677exit (42); 2678 ; 2679 return 0; 2680} 2681_ACEOF 2682rm -f conftest.$ac_objext 2683if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2684 (eval $ac_compile) 2>conftest.er1 2685 ac_status=$? 2686 grep -v '^ *+' conftest.er1 >conftest.err 2687 rm -f conftest.er1 2688 cat conftest.err >&5 2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2690 (exit $ac_status); } && 2691 { ac_try='test -z "$ac_c_werror_flag" 2692 || test ! -s conftest.err' 2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2694 (eval $ac_try) 2>&5 2695 ac_status=$? 2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 (exit $ac_status); }; } && 2698 { ac_try='test -s conftest.$ac_objext' 2699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2700 (eval $ac_try) 2>&5 2701 ac_status=$? 2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2703 (exit $ac_status); }; }; then 2704 break 2705else 2706 echo "$as_me: failed program was:" >&5 2707sed 's/^/| /' conftest.$ac_ext >&5 2708 2709fi 2710rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2711done 2712rm -f conftest* 2713if test -n "$ac_declaration"; then 2714 echo '#ifdef __cplusplus' >>confdefs.h 2715 echo $ac_declaration >>confdefs.h 2716 echo '#endif' >>confdefs.h 2717fi 2718 2719else 2720 echo "$as_me: failed program was:" >&5 2721sed 's/^/| /' conftest.$ac_ext >&5 2722 2723fi 2724rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2725ac_ext=c 2726ac_cpp='$CPP $CPPFLAGS' 2727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2729ac_compiler_gnu=$ac_cv_c_compiler_gnu 2730 2731depcc="$CC" am_compiler_list= 2732 2733echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 2734echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 2735if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 2736 echo $ECHO_N "(cached) $ECHO_C" >&6 2737else 2738 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 2739 # We make a subdir and do the tests there. Otherwise we can end up 2740 # making bogus files that we don't know about and never remove. For 2741 # instance it was reported that on HP-UX the gcc test will end up 2742 # making a dummy file named `D' -- because `-MD' means `put the output 2743 # in D'. 2744 mkdir conftest.dir 2745 # Copy depcomp to subdir because otherwise we won't find it if we're 2746 # using a relative directory. 2747 cp "$am_depcomp" conftest.dir 2748 cd conftest.dir 2749 # We will build objects and dependencies in a subdirectory because 2750 # it helps to detect inapplicable dependency modes. For instance 2751 # both Tru64's cc and ICC support -MD to output dependencies as a 2752 # side effect of compilation, but ICC will put the dependencies in 2753 # the current directory while Tru64 will put them in the object 2754 # directory. 2755 mkdir sub 2756 2757 am_cv_CC_dependencies_compiler_type=none 2758 if test "$am_compiler_list" = ""; then 2759 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 2760 fi 2761 for depmode in $am_compiler_list; do 2762 # Setup a source with many dependencies, because some compilers 2763 # like to wrap large dependency lists on column 80 (with \), and 2764 # we should not choose a depcomp mode which is confused by this. 2765 # 2766 # We need to recreate these files for each test, as the compiler may 2767 # overwrite some of them when testing with obscure command lines. 2768 # This happens at least with the AIX C compiler. 2769 : > sub/conftest.c 2770 for i in 1 2 3 4 5 6; do 2771 echo '#include "conftst'$i'.h"' >> sub/conftest.c 2772 : > sub/conftst$i.h 2773 done 2774 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 2775 2776 case $depmode in 2777 nosideeffect) 2778 # after this tag, mechanisms are not by side-effect, so they'll 2779 # only be used when explicitly requested 2780 if test "x$enable_dependency_tracking" = xyes; then 2781 continue 2782 else 2783 break 2784 fi 2785 ;; 2786 none) break ;; 2787 esac 2788 # We check with `-c' and `-o' for the sake of the "dashmstdout" 2789 # mode. It turns out that the SunPro C++ compiler does not properly 2790 # handle `-M -o', and we need to detect this. 2791 if depmode=$depmode \ 2792 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 2793 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 2794 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 2795 >/dev/null 2>conftest.err && 2796 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 2797 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 2798 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 2799 # icc doesn't choke on unknown options, it will just issue warnings 2800 # (even with -Werror). So we grep stderr for any message 2801 # that says an option was ignored. 2802 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 2803 am_cv_CC_dependencies_compiler_type=$depmode 2804 break 2805 fi 2806 fi 2807 done 2808 2809 cd .. 2810 rm -rf conftest.dir 2811else 2812 am_cv_CC_dependencies_compiler_type=none 2813fi 2814 2815fi 2816echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 2817echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 2818CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 2819 2820 2821 2822if 2823 test "x$enable_dependency_tracking" != xno \ 2824 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 2825 am__fastdepCC_TRUE= 2826 am__fastdepCC_FALSE='#' 2827else 2828 am__fastdepCC_TRUE='#' 2829 am__fastdepCC_FALSE= 2830fi 2831 2832 2833ac_ext=c 2834ac_cpp='$CPP $CPPFLAGS' 2835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2837ac_compiler_gnu=$ac_cv_c_compiler_gnu 2838echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2839echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2840# On Suns, sometimes $CPP names a directory. 2841if test -n "$CPP" && test -d "$CPP"; then 2842 CPP= 2843fi 2844if test -z "$CPP"; then 2845 if test "${ac_cv_prog_CPP+set}" = set; then 2846 echo $ECHO_N "(cached) $ECHO_C" >&6 2847else 2848 # Double quotes because CPP needs to be expanded 2849 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2850 do 2851 ac_preproc_ok=false 2852for ac_c_preproc_warn_flag in '' yes 2853do 2854 # Use a header file that comes with gcc, so configuring glibc 2855 # with a fresh cross-compiler works. 2856 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2857 # <limits.h> exists even on freestanding compilers. 2858 # On the NeXT, cc -E runs the code through the compiler's parser, 2859 # not just through cpp. "Syntax error" is here to catch this case. 2860 cat >conftest.$ac_ext <<_ACEOF 2861/* confdefs.h. */ 2862_ACEOF 2863cat confdefs.h >>conftest.$ac_ext 2864cat >>conftest.$ac_ext <<_ACEOF 2865/* end confdefs.h. */ 2866#ifdef __STDC__ 2867# include <limits.h> 2868#else 2869# include <assert.h> 2870#endif 2871 Syntax error 2872_ACEOF 2873if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2875 ac_status=$? 2876 grep -v '^ *+' conftest.er1 >conftest.err 2877 rm -f conftest.er1 2878 cat conftest.err >&5 2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2880 (exit $ac_status); } >/dev/null; then 2881 if test -s conftest.err; then 2882 ac_cpp_err=$ac_c_preproc_warn_flag 2883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2884 else 2885 ac_cpp_err= 2886 fi 2887else 2888 ac_cpp_err=yes 2889fi 2890if test -z "$ac_cpp_err"; then 2891 : 2892else 2893 echo "$as_me: failed program was:" >&5 2894sed 's/^/| /' conftest.$ac_ext >&5 2895 2896 # Broken: fails on valid input. 2897continue 2898fi 2899rm -f conftest.err conftest.$ac_ext 2900 2901 # OK, works on sane cases. Now check whether non-existent headers 2902 # can be detected and how. 2903 cat >conftest.$ac_ext <<_ACEOF 2904/* confdefs.h. */ 2905_ACEOF 2906cat confdefs.h >>conftest.$ac_ext 2907cat >>conftest.$ac_ext <<_ACEOF 2908/* end confdefs.h. */ 2909#include <ac_nonexistent.h> 2910_ACEOF 2911if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2913 ac_status=$? 2914 grep -v '^ *+' conftest.er1 >conftest.err 2915 rm -f conftest.er1 2916 cat conftest.err >&5 2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); } >/dev/null; then 2919 if test -s conftest.err; then 2920 ac_cpp_err=$ac_c_preproc_warn_flag 2921 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2922 else 2923 ac_cpp_err= 2924 fi 2925else 2926 ac_cpp_err=yes 2927fi 2928if test -z "$ac_cpp_err"; then 2929 # Broken: success on invalid input. 2930continue 2931else 2932 echo "$as_me: failed program was:" >&5 2933sed 's/^/| /' conftest.$ac_ext >&5 2934 2935 # Passes both tests. 2936ac_preproc_ok=: 2937break 2938fi 2939rm -f conftest.err conftest.$ac_ext 2940 2941done 2942# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2943rm -f conftest.err conftest.$ac_ext 2944if $ac_preproc_ok; then 2945 break 2946fi 2947 2948 done 2949 ac_cv_prog_CPP=$CPP 2950 2951fi 2952 CPP=$ac_cv_prog_CPP 2953else 2954 ac_cv_prog_CPP=$CPP 2955fi 2956echo "$as_me:$LINENO: result: $CPP" >&5 2957echo "${ECHO_T}$CPP" >&6 2958ac_preproc_ok=false 2959for ac_c_preproc_warn_flag in '' yes 2960do 2961 # Use a header file that comes with gcc, so configuring glibc 2962 # with a fresh cross-compiler works. 2963 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2964 # <limits.h> exists even on freestanding compilers. 2965 # On the NeXT, cc -E runs the code through the compiler's parser, 2966 # not just through cpp. "Syntax error" is here to catch this case. 2967 cat >conftest.$ac_ext <<_ACEOF 2968/* confdefs.h. */ 2969_ACEOF 2970cat confdefs.h >>conftest.$ac_ext 2971cat >>conftest.$ac_ext <<_ACEOF 2972/* end confdefs.h. */ 2973#ifdef __STDC__ 2974# include <limits.h> 2975#else 2976# include <assert.h> 2977#endif 2978 Syntax error 2979_ACEOF 2980if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2982 ac_status=$? 2983 grep -v '^ *+' conftest.er1 >conftest.err 2984 rm -f conftest.er1 2985 cat conftest.err >&5 2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2987 (exit $ac_status); } >/dev/null; then 2988 if test -s conftest.err; then 2989 ac_cpp_err=$ac_c_preproc_warn_flag 2990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2991 else 2992 ac_cpp_err= 2993 fi 2994else 2995 ac_cpp_err=yes 2996fi 2997if test -z "$ac_cpp_err"; then 2998 : 2999else 3000 echo "$as_me: failed program was:" >&5 3001sed 's/^/| /' conftest.$ac_ext >&5 3002 3003 # Broken: fails on valid input. 3004continue 3005fi 3006rm -f conftest.err conftest.$ac_ext 3007 3008 # OK, works on sane cases. Now check whether non-existent headers 3009 # can be detected and how. 3010 cat >conftest.$ac_ext <<_ACEOF 3011/* confdefs.h. */ 3012_ACEOF 3013cat confdefs.h >>conftest.$ac_ext 3014cat >>conftest.$ac_ext <<_ACEOF 3015/* end confdefs.h. */ 3016#include <ac_nonexistent.h> 3017_ACEOF 3018if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3020 ac_status=$? 3021 grep -v '^ *+' conftest.er1 >conftest.err 3022 rm -f conftest.er1 3023 cat conftest.err >&5 3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3025 (exit $ac_status); } >/dev/null; then 3026 if test -s conftest.err; then 3027 ac_cpp_err=$ac_c_preproc_warn_flag 3028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3029 else 3030 ac_cpp_err= 3031 fi 3032else 3033 ac_cpp_err=yes 3034fi 3035if test -z "$ac_cpp_err"; then 3036 # Broken: success on invalid input. 3037continue 3038else 3039 echo "$as_me: failed program was:" >&5 3040sed 's/^/| /' conftest.$ac_ext >&5 3041 3042 # Passes both tests. 3043ac_preproc_ok=: 3044break 3045fi 3046rm -f conftest.err conftest.$ac_ext 3047 3048done 3049# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3050rm -f conftest.err conftest.$ac_ext 3051if $ac_preproc_ok; then 3052 : 3053else 3054 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3055See \`config.log' for more details." >&5 3056echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3057See \`config.log' for more details." >&2;} 3058 { (exit 1); exit 1; }; } 3059fi 3060 3061ac_ext=c 3062ac_cpp='$CPP $CPPFLAGS' 3063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3065ac_compiler_gnu=$ac_cv_c_compiler_gnu 3066 3067ac_ext=c 3068ac_cpp='$CPP $CPPFLAGS' 3069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3071ac_compiler_gnu=$ac_cv_c_compiler_gnu 3072if test -n "$ac_tool_prefix"; then 3073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3074set dummy ${ac_tool_prefix}gcc; ac_word=$2 3075echo "$as_me:$LINENO: checking for $ac_word" >&5 3076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3077if test "${ac_cv_prog_CC+set}" = set; then 3078 echo $ECHO_N "(cached) $ECHO_C" >&6 3079else 3080 if test -n "$CC"; then 3081 ac_cv_prog_CC="$CC" # Let the user override the test. 3082else 3083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3084for as_dir in $PATH 3085do 3086 IFS=$as_save_IFS 3087 test -z "$as_dir" && as_dir=. 3088 for ac_exec_ext in '' $ac_executable_extensions; do 3089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3090 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3092 break 2 3093 fi 3094done 3095done 3096 3097fi 3098fi 3099CC=$ac_cv_prog_CC 3100if test -n "$CC"; then 3101 echo "$as_me:$LINENO: result: $CC" >&5 3102echo "${ECHO_T}$CC" >&6 3103else 3104 echo "$as_me:$LINENO: result: no" >&5 3105echo "${ECHO_T}no" >&6 3106fi 3107 3108fi 3109if test -z "$ac_cv_prog_CC"; then 3110 ac_ct_CC=$CC 3111 # Extract the first word of "gcc", so it can be a program name with args. 3112set dummy gcc; ac_word=$2 3113echo "$as_me:$LINENO: checking for $ac_word" >&5 3114echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3115if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3116 echo $ECHO_N "(cached) $ECHO_C" >&6 3117else 3118 if test -n "$ac_ct_CC"; then 3119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3120else 3121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3122for as_dir in $PATH 3123do 3124 IFS=$as_save_IFS 3125 test -z "$as_dir" && as_dir=. 3126 for ac_exec_ext in '' $ac_executable_extensions; do 3127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3128 ac_cv_prog_ac_ct_CC="gcc" 3129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3130 break 2 3131 fi 3132done 3133done 3134 3135fi 3136fi 3137ac_ct_CC=$ac_cv_prog_ac_ct_CC 3138if test -n "$ac_ct_CC"; then 3139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3140echo "${ECHO_T}$ac_ct_CC" >&6 3141else 3142 echo "$as_me:$LINENO: result: no" >&5 3143echo "${ECHO_T}no" >&6 3144fi 3145 3146 CC=$ac_ct_CC 3147else 3148 CC="$ac_cv_prog_CC" 3149fi 3150 3151if test -z "$CC"; then 3152 if test -n "$ac_tool_prefix"; then 3153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3154set dummy ${ac_tool_prefix}cc; ac_word=$2 3155echo "$as_me:$LINENO: checking for $ac_word" >&5 3156echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3157if test "${ac_cv_prog_CC+set}" = set; then 3158 echo $ECHO_N "(cached) $ECHO_C" >&6 3159else 3160 if test -n "$CC"; then 3161 ac_cv_prog_CC="$CC" # Let the user override the test. 3162else 3163as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3164for as_dir in $PATH 3165do 3166 IFS=$as_save_IFS 3167 test -z "$as_dir" && as_dir=. 3168 for ac_exec_ext in '' $ac_executable_extensions; do 3169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3170 ac_cv_prog_CC="${ac_tool_prefix}cc" 3171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3172 break 2 3173 fi 3174done 3175done 3176 3177fi 3178fi 3179CC=$ac_cv_prog_CC 3180if test -n "$CC"; then 3181 echo "$as_me:$LINENO: result: $CC" >&5 3182echo "${ECHO_T}$CC" >&6 3183else 3184 echo "$as_me:$LINENO: result: no" >&5 3185echo "${ECHO_T}no" >&6 3186fi 3187 3188fi 3189if test -z "$ac_cv_prog_CC"; then 3190 ac_ct_CC=$CC 3191 # Extract the first word of "cc", so it can be a program name with args. 3192set dummy cc; ac_word=$2 3193echo "$as_me:$LINENO: checking for $ac_word" >&5 3194echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3195if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3196 echo $ECHO_N "(cached) $ECHO_C" >&6 3197else 3198 if test -n "$ac_ct_CC"; then 3199 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3200else 3201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3202for as_dir in $PATH 3203do 3204 IFS=$as_save_IFS 3205 test -z "$as_dir" && as_dir=. 3206 for ac_exec_ext in '' $ac_executable_extensions; do 3207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3208 ac_cv_prog_ac_ct_CC="cc" 3209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3210 break 2 3211 fi 3212done 3213done 3214 3215fi 3216fi 3217ac_ct_CC=$ac_cv_prog_ac_ct_CC 3218if test -n "$ac_ct_CC"; then 3219 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3220echo "${ECHO_T}$ac_ct_CC" >&6 3221else 3222 echo "$as_me:$LINENO: result: no" >&5 3223echo "${ECHO_T}no" >&6 3224fi 3225 3226 CC=$ac_ct_CC 3227else 3228 CC="$ac_cv_prog_CC" 3229fi 3230 3231fi 3232if test -z "$CC"; then 3233 # Extract the first word of "cc", so it can be a program name with args. 3234set dummy cc; ac_word=$2 3235echo "$as_me:$LINENO: checking for $ac_word" >&5 3236echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3237if test "${ac_cv_prog_CC+set}" = set; then 3238 echo $ECHO_N "(cached) $ECHO_C" >&6 3239else 3240 if test -n "$CC"; then 3241 ac_cv_prog_CC="$CC" # Let the user override the test. 3242else 3243 ac_prog_rejected=no 3244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3245for as_dir in $PATH 3246do 3247 IFS=$as_save_IFS 3248 test -z "$as_dir" && as_dir=. 3249 for ac_exec_ext in '' $ac_executable_extensions; do 3250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3252 ac_prog_rejected=yes 3253 continue 3254 fi 3255 ac_cv_prog_CC="cc" 3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3257 break 2 3258 fi 3259done 3260done 3261 3262if test $ac_prog_rejected = yes; then 3263 # We found a bogon in the path, so make sure we never use it. 3264 set dummy $ac_cv_prog_CC 3265 shift 3266 if test $# != 0; then 3267 # We chose a different compiler from the bogus one. 3268 # However, it has the same basename, so the bogon will be chosen 3269 # first if we set CC to just the basename; use the full file name. 3270 shift 3271 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3272 fi 3273fi 3274fi 3275fi 3276CC=$ac_cv_prog_CC 3277if test -n "$CC"; then 3278 echo "$as_me:$LINENO: result: $CC" >&5 3279echo "${ECHO_T}$CC" >&6 3280else 3281 echo "$as_me:$LINENO: result: no" >&5 3282echo "${ECHO_T}no" >&6 3283fi 3284 3285fi 3286if test -z "$CC"; then 3287 if test -n "$ac_tool_prefix"; then 3288 for ac_prog in cl 3289 do 3290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3291set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3292echo "$as_me:$LINENO: checking for $ac_word" >&5 3293echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3294if test "${ac_cv_prog_CC+set}" = set; then 3295 echo $ECHO_N "(cached) $ECHO_C" >&6 3296else 3297 if test -n "$CC"; then 3298 ac_cv_prog_CC="$CC" # Let the user override the test. 3299else 3300as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3301for as_dir in $PATH 3302do 3303 IFS=$as_save_IFS 3304 test -z "$as_dir" && as_dir=. 3305 for ac_exec_ext in '' $ac_executable_extensions; do 3306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3307 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3309 break 2 3310 fi 3311done 3312done 3313 3314fi 3315fi 3316CC=$ac_cv_prog_CC 3317if test -n "$CC"; then 3318 echo "$as_me:$LINENO: result: $CC" >&5 3319echo "${ECHO_T}$CC" >&6 3320else 3321 echo "$as_me:$LINENO: result: no" >&5 3322echo "${ECHO_T}no" >&6 3323fi 3324 3325 test -n "$CC" && break 3326 done 3327fi 3328if test -z "$CC"; then 3329 ac_ct_CC=$CC 3330 for ac_prog in cl 3331do 3332 # Extract the first word of "$ac_prog", so it can be a program name with args. 3333set dummy $ac_prog; ac_word=$2 3334echo "$as_me:$LINENO: checking for $ac_word" >&5 3335echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3336if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 3337 echo $ECHO_N "(cached) $ECHO_C" >&6 3338else 3339 if test -n "$ac_ct_CC"; then 3340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3341else 3342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3343for as_dir in $PATH 3344do 3345 IFS=$as_save_IFS 3346 test -z "$as_dir" && as_dir=. 3347 for ac_exec_ext in '' $ac_executable_extensions; do 3348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3349 ac_cv_prog_ac_ct_CC="$ac_prog" 3350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3351 break 2 3352 fi 3353done 3354done 3355 3356fi 3357fi 3358ac_ct_CC=$ac_cv_prog_ac_ct_CC 3359if test -n "$ac_ct_CC"; then 3360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 3361echo "${ECHO_T}$ac_ct_CC" >&6 3362else 3363 echo "$as_me:$LINENO: result: no" >&5 3364echo "${ECHO_T}no" >&6 3365fi 3366 3367 test -n "$ac_ct_CC" && break 3368done 3369 3370 CC=$ac_ct_CC 3371fi 3372 3373fi 3374 3375 3376test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 3377See \`config.log' for more details." >&5 3378echo "$as_me: error: no acceptable C compiler found in \$PATH 3379See \`config.log' for more details." >&2;} 3380 { (exit 1); exit 1; }; } 3381 3382# Provide some information about the compiler. 3383echo "$as_me:$LINENO:" \ 3384 "checking for C compiler version" >&5 3385ac_compiler=`set X $ac_compile; echo $2` 3386{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 3387 (eval $ac_compiler --version </dev/null >&5) 2>&5 3388 ac_status=$? 3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3390 (exit $ac_status); } 3391{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 3392 (eval $ac_compiler -v </dev/null >&5) 2>&5 3393 ac_status=$? 3394 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3395 (exit $ac_status); } 3396{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 3397 (eval $ac_compiler -V </dev/null >&5) 2>&5 3398 ac_status=$? 3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3400 (exit $ac_status); } 3401 3402echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 3403echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 3404if test "${ac_cv_c_compiler_gnu+set}" = set; then 3405 echo $ECHO_N "(cached) $ECHO_C" >&6 3406else 3407 cat >conftest.$ac_ext <<_ACEOF 3408/* confdefs.h. */ 3409_ACEOF 3410cat confdefs.h >>conftest.$ac_ext 3411cat >>conftest.$ac_ext <<_ACEOF 3412/* end confdefs.h. */ 3413 3414int 3415main () 3416{ 3417#ifndef __GNUC__ 3418 choke me 3419#endif 3420 3421 ; 3422 return 0; 3423} 3424_ACEOF 3425rm -f conftest.$ac_objext 3426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3427 (eval $ac_compile) 2>conftest.er1 3428 ac_status=$? 3429 grep -v '^ *+' conftest.er1 >conftest.err 3430 rm -f conftest.er1 3431 cat conftest.err >&5 3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 (exit $ac_status); } && 3434 { ac_try='test -z "$ac_c_werror_flag" 3435 || test ! -s conftest.err' 3436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3437 (eval $ac_try) 2>&5 3438 ac_status=$? 3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3440 (exit $ac_status); }; } && 3441 { ac_try='test -s conftest.$ac_objext' 3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3443 (eval $ac_try) 2>&5 3444 ac_status=$? 3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3446 (exit $ac_status); }; }; then 3447 ac_compiler_gnu=yes 3448else 3449 echo "$as_me: failed program was:" >&5 3450sed 's/^/| /' conftest.$ac_ext >&5 3451 3452ac_compiler_gnu=no 3453fi 3454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3455ac_cv_c_compiler_gnu=$ac_compiler_gnu 3456 3457fi 3458echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 3459echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 3460GCC=`test $ac_compiler_gnu = yes && echo yes` 3461ac_test_CFLAGS=${CFLAGS+set} 3462ac_save_CFLAGS=$CFLAGS 3463CFLAGS="-g" 3464echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 3465echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 3466if test "${ac_cv_prog_cc_g+set}" = set; then 3467 echo $ECHO_N "(cached) $ECHO_C" >&6 3468else 3469 cat >conftest.$ac_ext <<_ACEOF 3470/* confdefs.h. */ 3471_ACEOF 3472cat confdefs.h >>conftest.$ac_ext 3473cat >>conftest.$ac_ext <<_ACEOF 3474/* end confdefs.h. */ 3475 3476int 3477main () 3478{ 3479 3480 ; 3481 return 0; 3482} 3483_ACEOF 3484rm -f conftest.$ac_objext 3485if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3486 (eval $ac_compile) 2>conftest.er1 3487 ac_status=$? 3488 grep -v '^ *+' conftest.er1 >conftest.err 3489 rm -f conftest.er1 3490 cat conftest.err >&5 3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3492 (exit $ac_status); } && 3493 { ac_try='test -z "$ac_c_werror_flag" 3494 || test ! -s conftest.err' 3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3496 (eval $ac_try) 2>&5 3497 ac_status=$? 3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3499 (exit $ac_status); }; } && 3500 { ac_try='test -s conftest.$ac_objext' 3501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3502 (eval $ac_try) 2>&5 3503 ac_status=$? 3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3505 (exit $ac_status); }; }; then 3506 ac_cv_prog_cc_g=yes 3507else 3508 echo "$as_me: failed program was:" >&5 3509sed 's/^/| /' conftest.$ac_ext >&5 3510 3511ac_cv_prog_cc_g=no 3512fi 3513rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3514fi 3515echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 3516echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 3517if test "$ac_test_CFLAGS" = set; then 3518 CFLAGS=$ac_save_CFLAGS 3519elif test $ac_cv_prog_cc_g = yes; then 3520 if test "$GCC" = yes; then 3521 CFLAGS="-g -O2" 3522 else 3523 CFLAGS="-g" 3524 fi 3525else 3526 if test "$GCC" = yes; then 3527 CFLAGS="-O2" 3528 else 3529 CFLAGS= 3530 fi 3531fi 3532echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 3533echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 3534if test "${ac_cv_prog_cc_stdc+set}" = set; then 3535 echo $ECHO_N "(cached) $ECHO_C" >&6 3536else 3537 ac_cv_prog_cc_stdc=no 3538ac_save_CC=$CC 3539cat >conftest.$ac_ext <<_ACEOF 3540/* confdefs.h. */ 3541_ACEOF 3542cat confdefs.h >>conftest.$ac_ext 3543cat >>conftest.$ac_ext <<_ACEOF 3544/* end confdefs.h. */ 3545#include <stdarg.h> 3546#include <stdio.h> 3547#include <sys/types.h> 3548#include <sys/stat.h> 3549/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3550struct buf { int x; }; 3551FILE * (*rcsopen) (struct buf *, struct stat *, int); 3552static char *e (p, i) 3553 char **p; 3554 int i; 3555{ 3556 return p[i]; 3557} 3558static char *f (char * (*g) (char **, int), char **p, ...) 3559{ 3560 char *s; 3561 va_list v; 3562 va_start (v,p); 3563 s = g (p, va_arg (v,int)); 3564 va_end (v); 3565 return s; 3566} 3567 3568/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3569 function prototypes and stuff, but not '\xHH' hex character constants. 3570 These don't provoke an error unfortunately, instead are silently treated 3571 as 'x'. The following induces an error, until -std1 is added to get 3572 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3573 array size at least. It's necessary to write '\x00'==0 to get something 3574 that's true only with -std1. */ 3575int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3576 3577int test (int i, double x); 3578struct s1 {int (*f) (int a);}; 3579struct s2 {int (*f) (double a);}; 3580int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3581int argc; 3582char **argv; 3583int 3584main () 3585{ 3586return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3587 ; 3588 return 0; 3589} 3590_ACEOF 3591# Don't try gcc -ansi; that turns off useful extensions and 3592# breaks some systems' header files. 3593# AIX -qlanglvl=ansi 3594# Ultrix and OSF/1 -std1 3595# HP-UX 10.20 and later -Ae 3596# HP-UX older versions -Aa -D_HPUX_SOURCE 3597# SVR4 -Xc -D__EXTENSIONS__ 3598for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3599do 3600 CC="$ac_save_CC $ac_arg" 3601 rm -f conftest.$ac_objext 3602if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3603 (eval $ac_compile) 2>conftest.er1 3604 ac_status=$? 3605 grep -v '^ *+' conftest.er1 >conftest.err 3606 rm -f conftest.er1 3607 cat conftest.err >&5 3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3609 (exit $ac_status); } && 3610 { ac_try='test -z "$ac_c_werror_flag" 3611 || test ! -s conftest.err' 3612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3613 (eval $ac_try) 2>&5 3614 ac_status=$? 3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3616 (exit $ac_status); }; } && 3617 { ac_try='test -s conftest.$ac_objext' 3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3619 (eval $ac_try) 2>&5 3620 ac_status=$? 3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3622 (exit $ac_status); }; }; then 3623 ac_cv_prog_cc_stdc=$ac_arg 3624break 3625else 3626 echo "$as_me: failed program was:" >&5 3627sed 's/^/| /' conftest.$ac_ext >&5 3628 3629fi 3630rm -f conftest.err conftest.$ac_objext 3631done 3632rm -f conftest.$ac_ext conftest.$ac_objext 3633CC=$ac_save_CC 3634 3635fi 3636 3637case "x$ac_cv_prog_cc_stdc" in 3638 x|xno) 3639 echo "$as_me:$LINENO: result: none needed" >&5 3640echo "${ECHO_T}none needed" >&6 ;; 3641 *) 3642 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 3643echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 3644 CC="$CC $ac_cv_prog_cc_stdc" ;; 3645esac 3646 3647# Some people use a C++ compiler to compile C. Since we use `exit', 3648# in C++ we need to declare it. In case someone uses the same compiler 3649# for both compiling C and C++ we need to have the C++ compiler decide 3650# the declaration of exit, since it's the most demanding environment. 3651cat >conftest.$ac_ext <<_ACEOF 3652#ifndef __cplusplus 3653 choke me 3654#endif 3655_ACEOF 3656rm -f conftest.$ac_objext 3657if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3658 (eval $ac_compile) 2>conftest.er1 3659 ac_status=$? 3660 grep -v '^ *+' conftest.er1 >conftest.err 3661 rm -f conftest.er1 3662 cat conftest.err >&5 3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3664 (exit $ac_status); } && 3665 { ac_try='test -z "$ac_c_werror_flag" 3666 || test ! -s conftest.err' 3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3668 (eval $ac_try) 2>&5 3669 ac_status=$? 3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3671 (exit $ac_status); }; } && 3672 { ac_try='test -s conftest.$ac_objext' 3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3674 (eval $ac_try) 2>&5 3675 ac_status=$? 3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3677 (exit $ac_status); }; }; then 3678 for ac_declaration in \ 3679 '' \ 3680 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3681 'extern "C" void std::exit (int); using std::exit;' \ 3682 'extern "C" void exit (int) throw ();' \ 3683 'extern "C" void exit (int);' \ 3684 'void exit (int);' 3685do 3686 cat >conftest.$ac_ext <<_ACEOF 3687/* confdefs.h. */ 3688_ACEOF 3689cat confdefs.h >>conftest.$ac_ext 3690cat >>conftest.$ac_ext <<_ACEOF 3691/* end confdefs.h. */ 3692$ac_declaration 3693#include <stdlib.h> 3694int 3695main () 3696{ 3697exit (42); 3698 ; 3699 return 0; 3700} 3701_ACEOF 3702rm -f conftest.$ac_objext 3703if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3704 (eval $ac_compile) 2>conftest.er1 3705 ac_status=$? 3706 grep -v '^ *+' conftest.er1 >conftest.err 3707 rm -f conftest.er1 3708 cat conftest.err >&5 3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3710 (exit $ac_status); } && 3711 { ac_try='test -z "$ac_c_werror_flag" 3712 || test ! -s conftest.err' 3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3714 (eval $ac_try) 2>&5 3715 ac_status=$? 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717 (exit $ac_status); }; } && 3718 { ac_try='test -s conftest.$ac_objext' 3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3720 (eval $ac_try) 2>&5 3721 ac_status=$? 3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3723 (exit $ac_status); }; }; then 3724 : 3725else 3726 echo "$as_me: failed program was:" >&5 3727sed 's/^/| /' conftest.$ac_ext >&5 3728 3729continue 3730fi 3731rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3732 cat >conftest.$ac_ext <<_ACEOF 3733/* confdefs.h. */ 3734_ACEOF 3735cat confdefs.h >>conftest.$ac_ext 3736cat >>conftest.$ac_ext <<_ACEOF 3737/* end confdefs.h. */ 3738$ac_declaration 3739int 3740main () 3741{ 3742exit (42); 3743 ; 3744 return 0; 3745} 3746_ACEOF 3747rm -f conftest.$ac_objext 3748if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3749 (eval $ac_compile) 2>conftest.er1 3750 ac_status=$? 3751 grep -v '^ *+' conftest.er1 >conftest.err 3752 rm -f conftest.er1 3753 cat conftest.err >&5 3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3755 (exit $ac_status); } && 3756 { ac_try='test -z "$ac_c_werror_flag" 3757 || test ! -s conftest.err' 3758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3759 (eval $ac_try) 2>&5 3760 ac_status=$? 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3762 (exit $ac_status); }; } && 3763 { ac_try='test -s conftest.$ac_objext' 3764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3765 (eval $ac_try) 2>&5 3766 ac_status=$? 3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3768 (exit $ac_status); }; }; then 3769 break 3770else 3771 echo "$as_me: failed program was:" >&5 3772sed 's/^/| /' conftest.$ac_ext >&5 3773 3774fi 3775rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3776done 3777rm -f conftest* 3778if test -n "$ac_declaration"; then 3779 echo '#ifdef __cplusplus' >>confdefs.h 3780 echo $ac_declaration >>confdefs.h 3781 echo '#endif' >>confdefs.h 3782fi 3783 3784else 3785 echo "$as_me: failed program was:" >&5 3786sed 's/^/| /' conftest.$ac_ext >&5 3787 3788fi 3789rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3790ac_ext=c 3791ac_cpp='$CPP $CPPFLAGS' 3792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3794ac_compiler_gnu=$ac_cv_c_compiler_gnu 3795 3796depcc="$CC" am_compiler_list= 3797 3798echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 3799echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 3800if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then 3801 echo $ECHO_N "(cached) $ECHO_C" >&6 3802else 3803 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3804 # We make a subdir and do the tests there. Otherwise we can end up 3805 # making bogus files that we don't know about and never remove. For 3806 # instance it was reported that on HP-UX the gcc test will end up 3807 # making a dummy file named `D' -- because `-MD' means `put the output 3808 # in D'. 3809 mkdir conftest.dir 3810 # Copy depcomp to subdir because otherwise we won't find it if we're 3811 # using a relative directory. 3812 cp "$am_depcomp" conftest.dir 3813 cd conftest.dir 3814 # We will build objects and dependencies in a subdirectory because 3815 # it helps to detect inapplicable dependency modes. For instance 3816 # both Tru64's cc and ICC support -MD to output dependencies as a 3817 # side effect of compilation, but ICC will put the dependencies in 3818 # the current directory while Tru64 will put them in the object 3819 # directory. 3820 mkdir sub 3821 3822 am_cv_CC_dependencies_compiler_type=none 3823 if test "$am_compiler_list" = ""; then 3824 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3825 fi 3826 for depmode in $am_compiler_list; do 3827 # Setup a source with many dependencies, because some compilers 3828 # like to wrap large dependency lists on column 80 (with \), and 3829 # we should not choose a depcomp mode which is confused by this. 3830 # 3831 # We need to recreate these files for each test, as the compiler may 3832 # overwrite some of them when testing with obscure command lines. 3833 # This happens at least with the AIX C compiler. 3834 : > sub/conftest.c 3835 for i in 1 2 3 4 5 6; do 3836 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3837 : > sub/conftst$i.h 3838 done 3839 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3840 3841 case $depmode in 3842 nosideeffect) 3843 # after this tag, mechanisms are not by side-effect, so they'll 3844 # only be used when explicitly requested 3845 if test "x$enable_dependency_tracking" = xyes; then 3846 continue 3847 else 3848 break 3849 fi 3850 ;; 3851 none) break ;; 3852 esac 3853 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3854 # mode. It turns out that the SunPro C++ compiler does not properly 3855 # handle `-M -o', and we need to detect this. 3856 if depmode=$depmode \ 3857 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ 3858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3859 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ 3860 >/dev/null 2>conftest.err && 3861 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3862 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && 3863 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3864 # icc doesn't choke on unknown options, it will just issue warnings 3865 # (even with -Werror). So we grep stderr for any message 3866 # that says an option was ignored. 3867 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 3868 am_cv_CC_dependencies_compiler_type=$depmode 3869 break 3870 fi 3871 fi 3872 done 3873 3874 cd .. 3875 rm -rf conftest.dir 3876else 3877 am_cv_CC_dependencies_compiler_type=none 3878fi 3879 3880fi 3881echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 3882echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 3883CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3884 3885 3886 3887if 3888 test "x$enable_dependency_tracking" != xno \ 3889 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3890 am__fastdepCC_TRUE= 3891 am__fastdepCC_FALSE='#' 3892else 3893 am__fastdepCC_TRUE='#' 3894 am__fastdepCC_FALSE= 3895fi 3896 3897 3898# Find a good install program. We prefer a C program (faster), 3899# so one script is as good as another. But avoid the broken or 3900# incompatible versions: 3901# SysV /etc/install, /usr/sbin/install 3902# SunOS /usr/etc/install 3903# IRIX /sbin/install 3904# AIX /bin/install 3905# AmigaOS /C/install, which installs bootblocks on floppy discs 3906# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3907# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3908# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3909# OS/2's system install, which has a completely different semantic 3910# ./install, which can be erroneously created by make from ./install.sh. 3911echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3912echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3913if test -z "$INSTALL"; then 3914if test "${ac_cv_path_install+set}" = set; then 3915 echo $ECHO_N "(cached) $ECHO_C" >&6 3916else 3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3918for as_dir in $PATH 3919do 3920 IFS=$as_save_IFS 3921 test -z "$as_dir" && as_dir=. 3922 # Account for people who put trailing slashes in PATH elements. 3923case $as_dir/ in 3924 ./ | .// | /cC/* | \ 3925 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3926 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3927 /usr/ucb/* ) ;; 3928 *) 3929 # OSF1 and SCO ODT 3.0 have their own names for install. 3930 # Don't use installbsd from OSF since it installs stuff as root 3931 # by default. 3932 for ac_prog in ginstall scoinst install; do 3933 for ac_exec_ext in '' $ac_executable_extensions; do 3934 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3935 if test $ac_prog = install && 3936 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3937 # AIX install. It has an incompatible calling convention. 3938 : 3939 elif test $ac_prog = install && 3940 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3941 # program-specific install script used by HP pwplus--don't use. 3942 : 3943 else 3944 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3945 break 3 3946 fi 3947 fi 3948 done 3949 done 3950 ;; 3951esac 3952done 3953 3954 3955fi 3956 if test "${ac_cv_path_install+set}" = set; then 3957 INSTALL=$ac_cv_path_install 3958 else 3959 # As a last resort, use the slow shell script. We don't cache a 3960 # path for INSTALL within a source directory, because that will 3961 # break other packages using the cache if that directory is 3962 # removed, or if the path is relative. 3963 INSTALL=$ac_install_sh 3964 fi 3965fi 3966echo "$as_me:$LINENO: result: $INSTALL" >&5 3967echo "${ECHO_T}$INSTALL" >&6 3968 3969# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3970# It thinks the first close brace ends the variable substitution. 3971test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3972 3973test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3974 3975test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3976 3977 3978# Extract the first word of "lbxproxy", so it can be a program name with args. 3979set dummy lbxproxy; ac_word=$2 3980echo "$as_me:$LINENO: checking for $ac_word" >&5 3981echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3982if test "${ac_cv_path_LBXPROXY+set}" = set; then 3983 echo $ECHO_N "(cached) $ECHO_C" >&6 3984else 3985 case $LBXPROXY in 3986 [\\/]* | ?:[\\/]*) 3987 ac_cv_path_LBXPROXY="$LBXPROXY" # Let the user override the test with a path. 3988 ;; 3989 *) 3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3991for as_dir in $PATH 3992do 3993 IFS=$as_save_IFS 3994 test -z "$as_dir" && as_dir=. 3995 for ac_exec_ext in '' $ac_executable_extensions; do 3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3997 ac_cv_path_LBXPROXY="$as_dir/$ac_word$ac_exec_ext" 3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3999 break 2 4000 fi 4001done 4002done 4003 4004 ;; 4005esac 4006fi 4007LBXPROXY=$ac_cv_path_LBXPROXY 4008 4009if test -n "$LBXPROXY"; then 4010 echo "$as_me:$LINENO: result: $LBXPROXY" >&5 4011echo "${ECHO_T}$LBXPROXY" >&6 4012else 4013 echo "$as_me:$LINENO: result: no" >&5 4014echo "${ECHO_T}no" >&6 4015fi 4016 4017if [ -z $LBXPROXY ] ; then 4018 { { echo "$as_me:$LINENO: error: lbxproxy is needed" >&5 4019echo "$as_me: error: lbxproxy is needed" >&2;} 4020 { (exit 1); exit 1; }; } 4021fi 4022 4023# Extract the first word of "sed", so it can be a program name with args. 4024set dummy sed; ac_word=$2 4025echo "$as_me:$LINENO: checking for $ac_word" >&5 4026echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4027if test "${ac_cv_path_SED+set}" = set; then 4028 echo $ECHO_N "(cached) $ECHO_C" >&6 4029else 4030 case $SED in 4031 [\\/]* | ?:[\\/]*) 4032 ac_cv_path_SED="$SED" # Let the user override the test with a path. 4033 ;; 4034 *) 4035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4036for as_dir in $PATH 4037do 4038 IFS=$as_save_IFS 4039 test -z "$as_dir" && as_dir=. 4040 for ac_exec_ext in '' $ac_executable_extensions; do 4041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4042 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 4043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4044 break 2 4045 fi 4046done 4047done 4048 4049 ;; 4050esac 4051fi 4052SED=$ac_cv_path_SED 4053 4054if test -n "$SED"; then 4055 echo "$as_me:$LINENO: result: $SED" >&5 4056echo "${ECHO_T}$SED" >&6 4057else 4058 echo "$as_me:$LINENO: result: no" >&5 4059echo "${ECHO_T}no" >&6 4060fi 4061 4062if [ -z $SED ] ; then 4063 { { echo "$as_me:$LINENO: error: sed is needed" >&5 4064echo "$as_me: error: sed is needed" >&2;} 4065 { (exit 1); exit 1; }; } 4066fi 4067 4068# Checks for pkg-config packages 4069 4070 4071if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 4072 if test -n "$ac_tool_prefix"; then 4073 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 4074set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 4075echo "$as_me:$LINENO: checking for $ac_word" >&5 4076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4077if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4078 echo $ECHO_N "(cached) $ECHO_C" >&6 4079else 4080 case $PKG_CONFIG in 4081 [\\/]* | ?:[\\/]*) 4082 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4083 ;; 4084 *) 4085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4086for as_dir in $PATH 4087do 4088 IFS=$as_save_IFS 4089 test -z "$as_dir" && as_dir=. 4090 for ac_exec_ext in '' $ac_executable_extensions; do 4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4092 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4094 break 2 4095 fi 4096done 4097done 4098 4099 ;; 4100esac 4101fi 4102PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4103 4104if test -n "$PKG_CONFIG"; then 4105 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4106echo "${ECHO_T}$PKG_CONFIG" >&6 4107else 4108 echo "$as_me:$LINENO: result: no" >&5 4109echo "${ECHO_T}no" >&6 4110fi 4111 4112fi 4113if test -z "$ac_cv_path_PKG_CONFIG"; then 4114 ac_pt_PKG_CONFIG=$PKG_CONFIG 4115 # Extract the first word of "pkg-config", so it can be a program name with args. 4116set dummy pkg-config; ac_word=$2 4117echo "$as_me:$LINENO: checking for $ac_word" >&5 4118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4119if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then 4120 echo $ECHO_N "(cached) $ECHO_C" >&6 4121else 4122 case $ac_pt_PKG_CONFIG in 4123 [\\/]* | ?:[\\/]*) 4124 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 4125 ;; 4126 *) 4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4128for as_dir in $PATH 4129do 4130 IFS=$as_save_IFS 4131 test -z "$as_dir" && as_dir=. 4132 for ac_exec_ext in '' $ac_executable_extensions; do 4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4134 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4136 break 2 4137 fi 4138done 4139done 4140 4141 ;; 4142esac 4143fi 4144ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 4145 4146if test -n "$ac_pt_PKG_CONFIG"; then 4147 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 4148echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6 4149else 4150 echo "$as_me:$LINENO: result: no" >&5 4151echo "${ECHO_T}no" >&6 4152fi 4153 4154 PKG_CONFIG=$ac_pt_PKG_CONFIG 4155else 4156 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 4157fi 4158 4159fi 4160if test -n "$PKG_CONFIG"; then 4161 _pkg_min_version=0.9.0 4162 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 4163echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6 4164 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 4165 echo "$as_me:$LINENO: result: yes" >&5 4166echo "${ECHO_T}yes" >&6 4167 else 4168 echo "$as_me:$LINENO: result: no" >&5 4169echo "${ECHO_T}no" >&6 4170 PKG_CONFIG="" 4171 fi 4172 4173fi 4174 4175pkg_failed=no 4176echo "$as_me:$LINENO: checking for PROXYMNGR" >&5 4177echo $ECHO_N "checking for PROXYMNGR... $ECHO_C" >&6 4178 4179if test -n "$PKG_CONFIG"; then 4180 if test -n "$PROXYMNGR_CFLAGS"; then 4181 pkg_cv_PROXYMNGR_CFLAGS="$PROXYMNGR_CFLAGS" 4182 else 4183 if test -n "$PKG_CONFIG" && \ 4184 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice xt x11 xproxymngproto\"") >&5 4185 ($PKG_CONFIG --exists --print-errors "ice xt x11 xproxymngproto") 2>&5 4186 ac_status=$? 4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4188 (exit $ac_status); }; then 4189 pkg_cv_PROXYMNGR_CFLAGS=`$PKG_CONFIG --cflags "ice xt x11 xproxymngproto" 2>/dev/null` 4190else 4191 pkg_failed=yes 4192fi 4193 fi 4194else 4195 pkg_failed=untried 4196fi 4197if test -n "$PKG_CONFIG"; then 4198 if test -n "$PROXYMNGR_LIBS"; then 4199 pkg_cv_PROXYMNGR_LIBS="$PROXYMNGR_LIBS" 4200 else 4201 if test -n "$PKG_CONFIG" && \ 4202 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ice xt x11 xproxymngproto\"") >&5 4203 ($PKG_CONFIG --exists --print-errors "ice xt x11 xproxymngproto") 2>&5 4204 ac_status=$? 4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4206 (exit $ac_status); }; then 4207 pkg_cv_PROXYMNGR_LIBS=`$PKG_CONFIG --libs "ice xt x11 xproxymngproto" 2>/dev/null` 4208else 4209 pkg_failed=yes 4210fi 4211 fi 4212else 4213 pkg_failed=untried 4214fi 4215 4216 4217 4218if test $pkg_failed = yes; then 4219 4220if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4221 _pkg_short_errors_supported=yes 4222else 4223 _pkg_short_errors_supported=no 4224fi 4225 if test $_pkg_short_errors_supported = yes; then 4226 PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ice xt x11 xproxymngproto"` 4227 else 4228 PROXYMNGR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ice xt x11 xproxymngproto"` 4229 fi 4230 # Put the nasty error message in config.log where it belongs 4231 echo "$PROXYMNGR_PKG_ERRORS" >&5 4232 4233 { { echo "$as_me:$LINENO: error: Package requirements (ice xt x11 xproxymngproto) were not met: 4234 4235$PROXYMNGR_PKG_ERRORS 4236 4237Consider adjusting the PKG_CONFIG_PATH environment variable if you 4238installed software in a non-standard prefix. 4239 4240Alternatively, you may set the environment variables PROXYMNGR_CFLAGS 4241and PROXYMNGR_LIBS to avoid the need to call pkg-config. 4242See the pkg-config man page for more details. 4243" >&5 4244echo "$as_me: error: Package requirements (ice xt x11 xproxymngproto) were not met: 4245 4246$PROXYMNGR_PKG_ERRORS 4247 4248Consider adjusting the PKG_CONFIG_PATH environment variable if you 4249installed software in a non-standard prefix. 4250 4251Alternatively, you may set the environment variables PROXYMNGR_CFLAGS 4252and PROXYMNGR_LIBS to avoid the need to call pkg-config. 4253See the pkg-config man page for more details. 4254" >&2;} 4255 { (exit 1); exit 1; }; } 4256elif test $pkg_failed = untried; then 4257 { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it 4258is in your PATH or set the PKG_CONFIG environment variable to the full 4259path to pkg-config. 4260 4261Alternatively, you may set the environment variables PROXYMNGR_CFLAGS 4262and PROXYMNGR_LIBS to avoid the need to call pkg-config. 4263See the pkg-config man page for more details. 4264 4265To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4266See \`config.log' for more details." >&5 4267echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it 4268is in your PATH or set the PKG_CONFIG environment variable to the full 4269path to pkg-config. 4270 4271Alternatively, you may set the environment variables PROXYMNGR_CFLAGS 4272and PROXYMNGR_LIBS to avoid the need to call pkg-config. 4273See the pkg-config man page for more details. 4274 4275To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>. 4276See \`config.log' for more details." >&2;} 4277 { (exit 1); exit 1; }; } 4278else 4279 PROXYMNGR_CFLAGS=$pkg_cv_PROXYMNGR_CFLAGS 4280 PROXYMNGR_LIBS=$pkg_cv_PROXYMNGR_LIBS 4281 echo "$as_me:$LINENO: result: yes" >&5 4282echo "${ECHO_T}yes" >&6 4283 : 4284fi 4285 4286 4287 4288 4289echo "$as_me:$LINENO: checking for strcasecmp" >&5 4290echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 4291if test "${ac_cv_func_strcasecmp+set}" = set; then 4292 echo $ECHO_N "(cached) $ECHO_C" >&6 4293else 4294 cat >conftest.$ac_ext <<_ACEOF 4295/* confdefs.h. */ 4296_ACEOF 4297cat confdefs.h >>conftest.$ac_ext 4298cat >>conftest.$ac_ext <<_ACEOF 4299/* end confdefs.h. */ 4300/* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp. 4301 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4302#define strcasecmp innocuous_strcasecmp 4303 4304/* System header to define __stub macros and hopefully few prototypes, 4305 which can conflict with char strcasecmp (); below. 4306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4307 <limits.h> exists even on freestanding compilers. */ 4308 4309#ifdef __STDC__ 4310# include <limits.h> 4311#else 4312# include <assert.h> 4313#endif 4314 4315#undef strcasecmp 4316 4317/* Override any gcc2 internal prototype to avoid an error. */ 4318#ifdef __cplusplus 4319extern "C" 4320{ 4321#endif 4322/* We use char because int might match the return type of a gcc2 4323 builtin and then its argument prototype would still apply. */ 4324char strcasecmp (); 4325/* The GNU C library defines this for functions which it implements 4326 to always fail with ENOSYS. Some functions are actually named 4327 something starting with __ and the normal name is an alias. */ 4328#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) 4329choke me 4330#else 4331char (*f) () = strcasecmp; 4332#endif 4333#ifdef __cplusplus 4334} 4335#endif 4336 4337int 4338main () 4339{ 4340return f != strcasecmp; 4341 ; 4342 return 0; 4343} 4344_ACEOF 4345rm -f conftest.$ac_objext conftest$ac_exeext 4346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4347 (eval $ac_link) 2>conftest.er1 4348 ac_status=$? 4349 grep -v '^ *+' conftest.er1 >conftest.err 4350 rm -f conftest.er1 4351 cat conftest.err >&5 4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4353 (exit $ac_status); } && 4354 { ac_try='test -z "$ac_c_werror_flag" 4355 || test ! -s conftest.err' 4356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4357 (eval $ac_try) 2>&5 4358 ac_status=$? 4359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4360 (exit $ac_status); }; } && 4361 { ac_try='test -s conftest$ac_exeext' 4362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4363 (eval $ac_try) 2>&5 4364 ac_status=$? 4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4366 (exit $ac_status); }; }; then 4367 ac_cv_func_strcasecmp=yes 4368else 4369 echo "$as_me: failed program was:" >&5 4370sed 's/^/| /' conftest.$ac_ext >&5 4371 4372ac_cv_func_strcasecmp=no 4373fi 4374rm -f conftest.err conftest.$ac_objext \ 4375 conftest$ac_exeext conftest.$ac_ext 4376fi 4377echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 4378echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 4379if test $ac_cv_func_strcasecmp = yes; then 4380 : 4381else 4382 4383cat >>confdefs.h <<\_ACEOF 4384#define NEED_STRCASECMP 1 4385_ACEOF 4386 4387fi 4388 4389 4390# Needed to check for IPv6 support and set flags appropriately 4391 4392 # SVR4 hides these in libraries other than libc 4393 echo "$as_me:$LINENO: checking for library containing socket" >&5 4394echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6 4395if test "${ac_cv_search_socket+set}" = set; then 4396 echo $ECHO_N "(cached) $ECHO_C" >&6 4397else 4398 ac_func_search_save_LIBS=$LIBS 4399ac_cv_search_socket=no 4400cat >conftest.$ac_ext <<_ACEOF 4401/* confdefs.h. */ 4402_ACEOF 4403cat confdefs.h >>conftest.$ac_ext 4404cat >>conftest.$ac_ext <<_ACEOF 4405/* end confdefs.h. */ 4406 4407/* Override any gcc2 internal prototype to avoid an error. */ 4408#ifdef __cplusplus 4409extern "C" 4410#endif 4411/* We use char because int might match the return type of a gcc2 4412 builtin and then its argument prototype would still apply. */ 4413char socket (); 4414int 4415main () 4416{ 4417socket (); 4418 ; 4419 return 0; 4420} 4421_ACEOF 4422rm -f conftest.$ac_objext conftest$ac_exeext 4423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4424 (eval $ac_link) 2>conftest.er1 4425 ac_status=$? 4426 grep -v '^ *+' conftest.er1 >conftest.err 4427 rm -f conftest.er1 4428 cat conftest.err >&5 4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4430 (exit $ac_status); } && 4431 { ac_try='test -z "$ac_c_werror_flag" 4432 || test ! -s conftest.err' 4433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4434 (eval $ac_try) 2>&5 4435 ac_status=$? 4436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4437 (exit $ac_status); }; } && 4438 { ac_try='test -s conftest$ac_exeext' 4439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4440 (eval $ac_try) 2>&5 4441 ac_status=$? 4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4443 (exit $ac_status); }; }; then 4444 ac_cv_search_socket="none required" 4445else 4446 echo "$as_me: failed program was:" >&5 4447sed 's/^/| /' conftest.$ac_ext >&5 4448 4449fi 4450rm -f conftest.err conftest.$ac_objext \ 4451 conftest$ac_exeext conftest.$ac_ext 4452if test "$ac_cv_search_socket" = no; then 4453 for ac_lib in socket; do 4454 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4455 cat >conftest.$ac_ext <<_ACEOF 4456/* confdefs.h. */ 4457_ACEOF 4458cat confdefs.h >>conftest.$ac_ext 4459cat >>conftest.$ac_ext <<_ACEOF 4460/* end confdefs.h. */ 4461 4462/* Override any gcc2 internal prototype to avoid an error. */ 4463#ifdef __cplusplus 4464extern "C" 4465#endif 4466/* We use char because int might match the return type of a gcc2 4467 builtin and then its argument prototype would still apply. */ 4468char socket (); 4469int 4470main () 4471{ 4472socket (); 4473 ; 4474 return 0; 4475} 4476_ACEOF 4477rm -f conftest.$ac_objext conftest$ac_exeext 4478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4479 (eval $ac_link) 2>conftest.er1 4480 ac_status=$? 4481 grep -v '^ *+' conftest.er1 >conftest.err 4482 rm -f conftest.er1 4483 cat conftest.err >&5 4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4485 (exit $ac_status); } && 4486 { ac_try='test -z "$ac_c_werror_flag" 4487 || test ! -s conftest.err' 4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4489 (eval $ac_try) 2>&5 4490 ac_status=$? 4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4492 (exit $ac_status); }; } && 4493 { ac_try='test -s conftest$ac_exeext' 4494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4495 (eval $ac_try) 2>&5 4496 ac_status=$? 4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4498 (exit $ac_status); }; }; then 4499 ac_cv_search_socket="-l$ac_lib" 4500break 4501else 4502 echo "$as_me: failed program was:" >&5 4503sed 's/^/| /' conftest.$ac_ext >&5 4504 4505fi 4506rm -f conftest.err conftest.$ac_objext \ 4507 conftest$ac_exeext conftest.$ac_ext 4508 done 4509fi 4510LIBS=$ac_func_search_save_LIBS 4511fi 4512echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 4513echo "${ECHO_T}$ac_cv_search_socket" >&6 4514if test "$ac_cv_search_socket" != no; then 4515 test "$ac_cv_search_socket" = "none required" || LIBS="$ac_cv_search_socket $LIBS" 4516 4517fi 4518 4519 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 4520echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6 4521if test "${ac_cv_search_gethostbyname+set}" = set; then 4522 echo $ECHO_N "(cached) $ECHO_C" >&6 4523else 4524 ac_func_search_save_LIBS=$LIBS 4525ac_cv_search_gethostbyname=no 4526cat >conftest.$ac_ext <<_ACEOF 4527/* confdefs.h. */ 4528_ACEOF 4529cat confdefs.h >>conftest.$ac_ext 4530cat >>conftest.$ac_ext <<_ACEOF 4531/* end confdefs.h. */ 4532 4533/* Override any gcc2 internal prototype to avoid an error. */ 4534#ifdef __cplusplus 4535extern "C" 4536#endif 4537/* We use char because int might match the return type of a gcc2 4538 builtin and then its argument prototype would still apply. */ 4539char gethostbyname (); 4540int 4541main () 4542{ 4543gethostbyname (); 4544 ; 4545 return 0; 4546} 4547_ACEOF 4548rm -f conftest.$ac_objext conftest$ac_exeext 4549if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4550 (eval $ac_link) 2>conftest.er1 4551 ac_status=$? 4552 grep -v '^ *+' conftest.er1 >conftest.err 4553 rm -f conftest.er1 4554 cat conftest.err >&5 4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4556 (exit $ac_status); } && 4557 { ac_try='test -z "$ac_c_werror_flag" 4558 || test ! -s conftest.err' 4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4560 (eval $ac_try) 2>&5 4561 ac_status=$? 4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4563 (exit $ac_status); }; } && 4564 { ac_try='test -s conftest$ac_exeext' 4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4566 (eval $ac_try) 2>&5 4567 ac_status=$? 4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4569 (exit $ac_status); }; }; then 4570 ac_cv_search_gethostbyname="none required" 4571else 4572 echo "$as_me: failed program was:" >&5 4573sed 's/^/| /' conftest.$ac_ext >&5 4574 4575fi 4576rm -f conftest.err conftest.$ac_objext \ 4577 conftest$ac_exeext conftest.$ac_ext 4578if test "$ac_cv_search_gethostbyname" = no; then 4579 for ac_lib in nsl; do 4580 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4581 cat >conftest.$ac_ext <<_ACEOF 4582/* confdefs.h. */ 4583_ACEOF 4584cat confdefs.h >>conftest.$ac_ext 4585cat >>conftest.$ac_ext <<_ACEOF 4586/* end confdefs.h. */ 4587 4588/* Override any gcc2 internal prototype to avoid an error. */ 4589#ifdef __cplusplus 4590extern "C" 4591#endif 4592/* We use char because int might match the return type of a gcc2 4593 builtin and then its argument prototype would still apply. */ 4594char gethostbyname (); 4595int 4596main () 4597{ 4598gethostbyname (); 4599 ; 4600 return 0; 4601} 4602_ACEOF 4603rm -f conftest.$ac_objext conftest$ac_exeext 4604if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4605 (eval $ac_link) 2>conftest.er1 4606 ac_status=$? 4607 grep -v '^ *+' conftest.er1 >conftest.err 4608 rm -f conftest.er1 4609 cat conftest.err >&5 4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4611 (exit $ac_status); } && 4612 { ac_try='test -z "$ac_c_werror_flag" 4613 || test ! -s conftest.err' 4614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4615 (eval $ac_try) 2>&5 4616 ac_status=$? 4617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4618 (exit $ac_status); }; } && 4619 { ac_try='test -s conftest$ac_exeext' 4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4621 (eval $ac_try) 2>&5 4622 ac_status=$? 4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4624 (exit $ac_status); }; }; then 4625 ac_cv_search_gethostbyname="-l$ac_lib" 4626break 4627else 4628 echo "$as_me: failed program was:" >&5 4629sed 's/^/| /' conftest.$ac_ext >&5 4630 4631fi 4632rm -f conftest.err conftest.$ac_objext \ 4633 conftest$ac_exeext conftest.$ac_ext 4634 done 4635fi 4636LIBS=$ac_func_search_save_LIBS 4637fi 4638echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 4639echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6 4640if test "$ac_cv_search_gethostbyname" != no; then 4641 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS" 4642 4643fi 4644 4645 4646 # Needs to come after above checks for libsocket & libnsl for SVR4 systems 4647 # Check whether --enable-ipv6 or --disable-ipv6 was given. 4648if test "${enable_ipv6+set}" = set; then 4649 enableval="$enable_ipv6" 4650 IPV6CONN=$enableval 4651else 4652 echo "$as_me:$LINENO: checking for getaddrinfo" >&5 4653echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6 4654if test "${ac_cv_func_getaddrinfo+set}" = set; then 4655 echo $ECHO_N "(cached) $ECHO_C" >&6 4656else 4657 cat >conftest.$ac_ext <<_ACEOF 4658/* confdefs.h. */ 4659_ACEOF 4660cat confdefs.h >>conftest.$ac_ext 4661cat >>conftest.$ac_ext <<_ACEOF 4662/* end confdefs.h. */ 4663/* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo. 4664 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4665#define getaddrinfo innocuous_getaddrinfo 4666 4667/* System header to define __stub macros and hopefully few prototypes, 4668 which can conflict with char getaddrinfo (); below. 4669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4670 <limits.h> exists even on freestanding compilers. */ 4671 4672#ifdef __STDC__ 4673# include <limits.h> 4674#else 4675# include <assert.h> 4676#endif 4677 4678#undef getaddrinfo 4679 4680/* Override any gcc2 internal prototype to avoid an error. */ 4681#ifdef __cplusplus 4682extern "C" 4683{ 4684#endif 4685/* We use char because int might match the return type of a gcc2 4686 builtin and then its argument prototype would still apply. */ 4687char getaddrinfo (); 4688/* The GNU C library defines this for functions which it implements 4689 to always fail with ENOSYS. Some functions are actually named 4690 something starting with __ and the normal name is an alias. */ 4691#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo) 4692choke me 4693#else 4694char (*f) () = getaddrinfo; 4695#endif 4696#ifdef __cplusplus 4697} 4698#endif 4699 4700int 4701main () 4702{ 4703return f != getaddrinfo; 4704 ; 4705 return 0; 4706} 4707_ACEOF 4708rm -f conftest.$ac_objext conftest$ac_exeext 4709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4710 (eval $ac_link) 2>conftest.er1 4711 ac_status=$? 4712 grep -v '^ *+' conftest.er1 >conftest.err 4713 rm -f conftest.er1 4714 cat conftest.err >&5 4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4716 (exit $ac_status); } && 4717 { ac_try='test -z "$ac_c_werror_flag" 4718 || test ! -s conftest.err' 4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4720 (eval $ac_try) 2>&5 4721 ac_status=$? 4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4723 (exit $ac_status); }; } && 4724 { ac_try='test -s conftest$ac_exeext' 4725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4726 (eval $ac_try) 2>&5 4727 ac_status=$? 4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4729 (exit $ac_status); }; }; then 4730 ac_cv_func_getaddrinfo=yes 4731else 4732 echo "$as_me: failed program was:" >&5 4733sed 's/^/| /' conftest.$ac_ext >&5 4734 4735ac_cv_func_getaddrinfo=no 4736fi 4737rm -f conftest.err conftest.$ac_objext \ 4738 conftest$ac_exeext conftest.$ac_ext 4739fi 4740echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5 4741echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6 4742if test $ac_cv_func_getaddrinfo = yes; then 4743 IPV6CONN=yes 4744else 4745 IPV6CONN=no 4746fi 4747 4748fi; 4749 echo "$as_me:$LINENO: checking if IPv6 support should be built" >&5 4750echo $ECHO_N "checking if IPv6 support should be built... $ECHO_C" >&6 4751 if test "$IPV6CONN" = "yes"; then 4752 4753cat >>confdefs.h <<\_ACEOF 4754#define IPv6 1 4755_ACEOF 4756 4757 fi 4758 echo "$as_me:$LINENO: result: $IPV6CONN" >&5 4759echo "${ECHO_T}$IPV6CONN" >&6 4760 4761 # 4.3BSD-Reno added a new member to struct sockaddr_in 4762 echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5 4763echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6 4764if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then 4765 echo $ECHO_N "(cached) $ECHO_C" >&6 4766else 4767 cat >conftest.$ac_ext <<_ACEOF 4768/* confdefs.h. */ 4769_ACEOF 4770cat confdefs.h >>conftest.$ac_ext 4771cat >>conftest.$ac_ext <<_ACEOF 4772/* end confdefs.h. */ 4773 4774#include <sys/types.h> 4775#include <sys/socket.h> 4776#include <netinet/in.h> 4777 4778 4779int 4780main () 4781{ 4782static struct sockaddr_in ac_aggr; 4783if (ac_aggr.sin_len) 4784return 0; 4785 ; 4786 return 0; 4787} 4788_ACEOF 4789rm -f conftest.$ac_objext 4790if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4791 (eval $ac_compile) 2>conftest.er1 4792 ac_status=$? 4793 grep -v '^ *+' conftest.er1 >conftest.err 4794 rm -f conftest.er1 4795 cat conftest.err >&5 4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4797 (exit $ac_status); } && 4798 { ac_try='test -z "$ac_c_werror_flag" 4799 || test ! -s conftest.err' 4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4801 (eval $ac_try) 2>&5 4802 ac_status=$? 4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4804 (exit $ac_status); }; } && 4805 { ac_try='test -s conftest.$ac_objext' 4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4807 (eval $ac_try) 2>&5 4808 ac_status=$? 4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4810 (exit $ac_status); }; }; then 4811 ac_cv_member_struct_sockaddr_in_sin_len=yes 4812else 4813 echo "$as_me: failed program was:" >&5 4814sed 's/^/| /' conftest.$ac_ext >&5 4815 4816cat >conftest.$ac_ext <<_ACEOF 4817/* confdefs.h. */ 4818_ACEOF 4819cat confdefs.h >>conftest.$ac_ext 4820cat >>conftest.$ac_ext <<_ACEOF 4821/* end confdefs.h. */ 4822 4823#include <sys/types.h> 4824#include <sys/socket.h> 4825#include <netinet/in.h> 4826 4827 4828int 4829main () 4830{ 4831static struct sockaddr_in ac_aggr; 4832if (sizeof ac_aggr.sin_len) 4833return 0; 4834 ; 4835 return 0; 4836} 4837_ACEOF 4838rm -f conftest.$ac_objext 4839if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4840 (eval $ac_compile) 2>conftest.er1 4841 ac_status=$? 4842 grep -v '^ *+' conftest.er1 >conftest.err 4843 rm -f conftest.er1 4844 cat conftest.err >&5 4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4846 (exit $ac_status); } && 4847 { ac_try='test -z "$ac_c_werror_flag" 4848 || test ! -s conftest.err' 4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4850 (eval $ac_try) 2>&5 4851 ac_status=$? 4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4853 (exit $ac_status); }; } && 4854 { ac_try='test -s conftest.$ac_objext' 4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4856 (eval $ac_try) 2>&5 4857 ac_status=$? 4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4859 (exit $ac_status); }; }; then 4860 ac_cv_member_struct_sockaddr_in_sin_len=yes 4861else 4862 echo "$as_me: failed program was:" >&5 4863sed 's/^/| /' conftest.$ac_ext >&5 4864 4865ac_cv_member_struct_sockaddr_in_sin_len=no 4866fi 4867rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4868fi 4869rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4870fi 4871echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5 4872echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6 4873if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then 4874 4875cat >>confdefs.h <<\_ACEOF 4876#define BSD44SOCKETS 1 4877_ACEOF 4878 4879fi 4880 4881 4882 4883# Make sure we can run config.sub. 4884$ac_config_sub sun4 >/dev/null 2>&1 || 4885 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 4886echo "$as_me: error: cannot run $ac_config_sub" >&2;} 4887 { (exit 1); exit 1; }; } 4888 4889echo "$as_me:$LINENO: checking build system type" >&5 4890echo $ECHO_N "checking build system type... $ECHO_C" >&6 4891if test "${ac_cv_build+set}" = set; then 4892 echo $ECHO_N "(cached) $ECHO_C" >&6 4893else 4894 ac_cv_build_alias=$build_alias 4895test -z "$ac_cv_build_alias" && 4896 ac_cv_build_alias=`$ac_config_guess` 4897test -z "$ac_cv_build_alias" && 4898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 4899echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 4900 { (exit 1); exit 1; }; } 4901ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 4902 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 4903echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 4904 { (exit 1); exit 1; }; } 4905 4906fi 4907echo "$as_me:$LINENO: result: $ac_cv_build" >&5 4908echo "${ECHO_T}$ac_cv_build" >&6 4909build=$ac_cv_build 4910build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 4911build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 4912build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4913 4914 4915echo "$as_me:$LINENO: checking host system type" >&5 4916echo $ECHO_N "checking host system type... $ECHO_C" >&6 4917if test "${ac_cv_host+set}" = set; then 4918 echo $ECHO_N "(cached) $ECHO_C" >&6 4919else 4920 ac_cv_host_alias=$host_alias 4921test -z "$ac_cv_host_alias" && 4922 ac_cv_host_alias=$ac_cv_build_alias 4923ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 4924 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 4925echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 4926 { (exit 1); exit 1; }; } 4927 4928fi 4929echo "$as_me:$LINENO: result: $ac_cv_host" >&5 4930echo "${ECHO_T}$ac_cv_host" >&6 4931host=$ac_cv_host 4932host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 4933host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 4934host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 4935 4936 4937 4938 4939 4940if test x$APP_MAN_SUFFIX = x ; then 4941 case $host_os in 4942 linux*) APP_MAN_SUFFIX=1x ;; 4943 *) APP_MAN_SUFFIX=1 ;; 4944 esac 4945fi 4946if test x$APP_MAN_DIR = x ; then 4947 case $host_os in 4948 linux*) APP_MAN_DIR='$(mandir)/man1' ;; 4949 *) APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)' ;; 4950 esac 4951fi 4952 4953if test x$LIB_MAN_SUFFIX = x ; then 4954 case $host_os in 4955 linux*) LIB_MAN_SUFFIX=3x ;; 4956 *) LIB_MAN_SUFFIX=3 ;; 4957 esac 4958fi 4959if test x$LIB_MAN_DIR = x ; then 4960 case $host_os in 4961 linux*) LIB_MAN_DIR='$(mandir)/man3' ;; 4962 *) LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)' ;; 4963 esac 4964fi 4965 4966if test x$FILE_MAN_SUFFIX = x ; then 4967 case $host_os in 4968 linux*) FILE_MAN_SUFFIX=5x ;; 4969 solaris*) FILE_MAN_SUFFIX=4 ;; 4970 *) FILE_MAN_SUFFIX=5 ;; 4971 esac 4972fi 4973if test x$FILE_MAN_DIR = x ; then 4974 case $host_os in 4975 linux*) FILE_MAN_DIR='$(mandir)/man5' ;; 4976 *) FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)' ;; 4977 esac 4978fi 4979 4980# In Imake's linux.cf, the misc man suffix & dir was only changed for 4981# LinuxDebian, not other Linuxes, so we leave it unchanged here 4982if test x$MISC_MAN_SUFFIX = x ; then 4983 case $host_os in 4984# linux*) MISC_MAN_SUFFIX=7x ;; 4985 solaris*) MISC_MAN_SUFFIX=5 ;; 4986 *) MISC_MAN_SUFFIX=7 ;; 4987 esac 4988fi 4989if test x$MISC_MAN_DIR = x ; then 4990 case $host_os in 4991# linux*) MISC_MAN_DIR='$(mandir)/man7' ;; 4992 *) MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)' ;; 4993 esac 4994fi 4995 4996# In Imake's linux.cf, the driver man suffix & dir was only changed for 4997# LinuxDebian, not other Linuxes, so we leave it unchanged here 4998if test x$DRIVER_MAN_SUFFIX = x ; then 4999 case $host_os in 5000# linux*) DRIVER_MAN_SUFFIX=4x ;; 5001 solaris*) DRIVER_MAN_SUFFIX=7 ;; 5002 *) DRIVER_MAN_SUFFIX=4 ;; 5003 esac 5004fi 5005if test x$DRIVER_MAN_DIR = x ; then 5006 case $host_os in 5007# linux*) DRIVER_MAN_DIR='$(mandir)/man4' ;; 5008 *) DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)' ;; 5009 esac 5010fi 5011 5012if test x$ADMIN_MAN_SUFFIX = x ; then 5013 case $host_os in 5014 solaris*) ADMIN_MAN_SUFFIX=1m ;; 5015 *) ADMIN_MAN_SUFFIX=8 ;; 5016 esac 5017fi 5018if test x$ADMIN_MAN_DIR = x ; then 5019 ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)' 5020fi 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038# Check whether --with-release-version or --without-release-version was given. 5039if test "${with_release_version+set}" = set; then 5040 withval="$with_release_version" 5041 RELEASE_VERSION="$withval" 5042else 5043 RELEASE_VERSION="" 5044fi; 5045 if test "x$RELEASE_VERSION" != "x"; then 5046 PACKAGE="$PACKAGE-$RELEASE_VERSION" 5047 PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION" 5048 { echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5 5049echo "$as_me: Building with package name set to $PACKAGE" >&6;} 5050 fi 5051 5052 5053 ac_config_files="$ac_config_files Makefile" 5054cat >confcache <<\_ACEOF 5055# This file is a shell script that caches the results of configure 5056# tests run on this system so they can be shared between configure 5057# scripts and configure runs, see configure's option --config-cache. 5058# It is not useful on other systems. If it contains results you don't 5059# want to keep, you may remove or edit it. 5060# 5061# config.status only pays attention to the cache file if you give it 5062# the --recheck option to rerun configure. 5063# 5064# `ac_cv_env_foo' variables (set or unset) will be overridden when 5065# loading this file, other *unset* `ac_cv_foo' will be assigned the 5066# following values. 5067 5068_ACEOF 5069 5070# The following way of writing the cache mishandles newlines in values, 5071# but we know of no workaround that is simple, portable, and efficient. 5072# So, don't put newlines in cache variables' values. 5073# Ultrix sh set writes to stderr and can't be redirected directly, 5074# and sets the high bit in the cache file unless we assign to the vars. 5075{ 5076 (set) 2>&1 | 5077 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5078 *ac_space=\ *) 5079 # `set' does not quote correctly, so add quotes (double-quote 5080 # substitution turns \\\\ into \\, and sed turns \\ into \). 5081 sed -n \ 5082 "s/'/'\\\\''/g; 5083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5084 ;; 5085 *) 5086 # `set' quotes correctly as required by POSIX, so do not add quotes. 5087 sed -n \ 5088 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5089 ;; 5090 esac; 5091} | 5092 sed ' 5093 t clear 5094 : clear 5095 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5096 t end 5097 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5098 : end' >>confcache 5099if diff $cache_file confcache >/dev/null 2>&1; then :; else 5100 if test -w $cache_file; then 5101 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 5102 cat confcache >$cache_file 5103 else 5104 echo "not updating unwritable cache $cache_file" 5105 fi 5106fi 5107rm -f confcache 5108 5109test "x$prefix" = xNONE && prefix=$ac_default_prefix 5110# Let make expand exec_prefix. 5111test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5112 5113# VPATH may cause trouble with some makes, so we remove $(srcdir), 5114# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5115# trailing colons and then remove the whole line if VPATH becomes empty 5116# (actually we leave an empty line to preserve line numbers). 5117if test "x$srcdir" = x.; then 5118 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5119s/:*\$(srcdir):*/:/; 5120s/:*\${srcdir}:*/:/; 5121s/:*@srcdir@:*/:/; 5122s/^\([^=]*=[ ]*\):*/\1/; 5123s/:*$//; 5124s/^[^=]*=[ ]*$//; 5125}' 5126fi 5127 5128DEFS=-DHAVE_CONFIG_H 5129 5130ac_libobjs= 5131ac_ltlibobjs= 5132for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 5133 # 1. Remove the extension, and $U if already installed. 5134 ac_i=`echo "$ac_i" | 5135 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 5136 # 2. Add them. 5137 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 5138 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 5139done 5140LIBOBJS=$ac_libobjs 5141 5142LTLIBOBJS=$ac_ltlibobjs 5143 5144 5145if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 5146 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. 5147Usually this means the macro was only invoked conditionally." >&5 5148echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. 5149Usually this means the macro was only invoked conditionally." >&2;} 5150 { (exit 1); exit 1; }; } 5151fi 5152if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 5153 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. 5154Usually this means the macro was only invoked conditionally." >&5 5155echo "$as_me: error: conditional \"AMDEP\" was never defined. 5156Usually this means the macro was only invoked conditionally." >&2;} 5157 { (exit 1); exit 1; }; } 5158fi 5159if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5160 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5161Usually this means the macro was only invoked conditionally." >&5 5162echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5163Usually this means the macro was only invoked conditionally." >&2;} 5164 { (exit 1); exit 1; }; } 5165fi 5166if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5167 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. 5168Usually this means the macro was only invoked conditionally." >&5 5169echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. 5170Usually this means the macro was only invoked conditionally." >&2;} 5171 { (exit 1); exit 1; }; } 5172fi 5173 5174: ${CONFIG_STATUS=./config.status} 5175ac_clean_files_save=$ac_clean_files 5176ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5177{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5178echo "$as_me: creating $CONFIG_STATUS" >&6;} 5179cat >$CONFIG_STATUS <<_ACEOF 5180#! $SHELL 5181# Generated by $as_me. 5182# Run this file to recreate the current configuration. 5183# Compiler output produced by configure, useful for debugging 5184# configure, is in config.log if it exists. 5185 5186debug=false 5187ac_cs_recheck=false 5188ac_cs_silent=false 5189SHELL=\${CONFIG_SHELL-$SHELL} 5190_ACEOF 5191 5192cat >>$CONFIG_STATUS <<\_ACEOF 5193## --------------------- ## 5194## M4sh Initialization. ## 5195## --------------------- ## 5196 5197# Be Bourne compatible 5198if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5199 emulate sh 5200 NULLCMD=: 5201 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 5202 # is contrary to our usage. Disable this feature. 5203 alias -g '${1+"$@"}'='"$@"' 5204elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5205 set -o posix 5206fi 5207DUALCASE=1; export DUALCASE # for MKS sh 5208 5209# Support unset when possible. 5210if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 5211 as_unset=unset 5212else 5213 as_unset=false 5214fi 5215 5216 5217# Work around bugs in pre-3.0 UWIN ksh. 5218$as_unset ENV MAIL MAILPATH 5219PS1='$ ' 5220PS2='> ' 5221PS4='+ ' 5222 5223# NLS nuisances. 5224for as_var in \ 5225 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 5226 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 5227 LC_TELEPHONE LC_TIME 5228do 5229 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 5230 eval $as_var=C; export $as_var 5231 else 5232 $as_unset $as_var 5233 fi 5234done 5235 5236# Required to use basename. 5237if expr a : '\(a\)' >/dev/null 2>&1; then 5238 as_expr=expr 5239else 5240 as_expr=false 5241fi 5242 5243if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 5244 as_basename=basename 5245else 5246 as_basename=false 5247fi 5248 5249 5250# Name of the executable. 5251as_me=`$as_basename "$0" || 5252$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5253 X"$0" : 'X\(//\)$' \| \ 5254 X"$0" : 'X\(/\)$' \| \ 5255 . : '\(.\)' 2>/dev/null || 5256echo X/"$0" | 5257 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5258 /^X\/\(\/\/\)$/{ s//\1/; q; } 5259 /^X\/\(\/\).*/{ s//\1/; q; } 5260 s/.*/./; q'` 5261 5262 5263# PATH needs CR, and LINENO needs CR and PATH. 5264# Avoid depending upon Character Ranges. 5265as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5266as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5267as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5268as_cr_digits='0123456789' 5269as_cr_alnum=$as_cr_Letters$as_cr_digits 5270 5271# The user is always right. 5272if test "${PATH_SEPARATOR+set}" != set; then 5273 echo "#! /bin/sh" >conf$$.sh 5274 echo "exit 0" >>conf$$.sh 5275 chmod +x conf$$.sh 5276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 5277 PATH_SEPARATOR=';' 5278 else 5279 PATH_SEPARATOR=: 5280 fi 5281 rm -f conf$$.sh 5282fi 5283 5284 5285 as_lineno_1=$LINENO 5286 as_lineno_2=$LINENO 5287 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5288 test "x$as_lineno_1" != "x$as_lineno_2" && 5289 test "x$as_lineno_3" = "x$as_lineno_2" || { 5290 # Find who we are. Look in the path if we contain no path at all 5291 # relative or not. 5292 case $0 in 5293 *[\\/]* ) as_myself=$0 ;; 5294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5295for as_dir in $PATH 5296do 5297 IFS=$as_save_IFS 5298 test -z "$as_dir" && as_dir=. 5299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5300done 5301 5302 ;; 5303 esac 5304 # We did not find ourselves, most probably we were run as `sh COMMAND' 5305 # in which case we are not to be found in the path. 5306 if test "x$as_myself" = x; then 5307 as_myself=$0 5308 fi 5309 if test ! -f "$as_myself"; then 5310 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5311echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5312 { (exit 1); exit 1; }; } 5313 fi 5314 case $CONFIG_SHELL in 5315 '') 5316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5317for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5318do 5319 IFS=$as_save_IFS 5320 test -z "$as_dir" && as_dir=. 5321 for as_base in sh bash ksh sh5; do 5322 case $as_dir in 5323 /*) 5324 if ("$as_dir/$as_base" -c ' 5325 as_lineno_1=$LINENO 5326 as_lineno_2=$LINENO 5327 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5328 test "x$as_lineno_1" != "x$as_lineno_2" && 5329 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5330 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 5331 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 5332 CONFIG_SHELL=$as_dir/$as_base 5333 export CONFIG_SHELL 5334 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5335 fi;; 5336 esac 5337 done 5338done 5339;; 5340 esac 5341 5342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5343 # uniformly replaced by the line number. The first 'sed' inserts a 5344 # line-number line before each line; the second 'sed' does the real 5345 # work. The second script uses 'N' to pair each line-number line 5346 # with the numbered line, and appends trailing '-' during 5347 # substitution so that $LINENO is not a special case at line end. 5348 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5349 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5350 sed '=' <$as_myself | 5351 sed ' 5352 N 5353 s,$,-, 5354 : loop 5355 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 5356 t loop 5357 s,-$,, 5358 s,^['$as_cr_digits']*\n,, 5359 ' >$as_me.lineno && 5360 chmod +x $as_me.lineno || 5361 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5362echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5363 { (exit 1); exit 1; }; } 5364 5365 # Don't try to exec as it changes $[0], causing all sort of problems 5366 # (the dirname of $[0] is not the place where we might find the 5367 # original and so on. Autoconf is especially sensible to this). 5368 . ./$as_me.lineno 5369 # Exit status is that of the last command. 5370 exit 5371} 5372 5373 5374case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5375 *c*,-n*) ECHO_N= ECHO_C=' 5376' ECHO_T=' ' ;; 5377 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5378 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5379esac 5380 5381if expr a : '\(a\)' >/dev/null 2>&1; then 5382 as_expr=expr 5383else 5384 as_expr=false 5385fi 5386 5387rm -f conf$$ conf$$.exe conf$$.file 5388echo >conf$$.file 5389if ln -s conf$$.file conf$$ 2>/dev/null; then 5390 # We could just check for DJGPP; but this test a) works b) is more generic 5391 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5392 if test -f conf$$.exe; then 5393 # Don't use ln at all; we don't have any links 5394 as_ln_s='cp -p' 5395 else 5396 as_ln_s='ln -s' 5397 fi 5398elif ln conf$$.file conf$$ 2>/dev/null; then 5399 as_ln_s=ln 5400else 5401 as_ln_s='cp -p' 5402fi 5403rm -f conf$$ conf$$.exe conf$$.file 5404 5405if mkdir -p . 2>/dev/null; then 5406 as_mkdir_p=: 5407else 5408 test -d ./-p && rmdir ./-p 5409 as_mkdir_p=false 5410fi 5411 5412as_executable_p="test -f" 5413 5414# Sed expression to map a string onto a valid CPP name. 5415as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 5416 5417# Sed expression to map a string onto a valid variable name. 5418as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 5419 5420 5421# IFS 5422# We need space, tab and new line, in precisely that order. 5423as_nl=' 5424' 5425IFS=" $as_nl" 5426 5427# CDPATH. 5428$as_unset CDPATH 5429 5430exec 6>&1 5431 5432# Open the log real soon, to keep \$[0] and so on meaningful, and to 5433# report actual input values of CONFIG_FILES etc. instead of their 5434# values after options handling. Logging --version etc. is OK. 5435exec 5>>config.log 5436{ 5437 echo 5438 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5439## Running $as_me. ## 5440_ASBOX 5441} >&5 5442cat >&5 <<_CSEOF 5443 5444This file was extended by proxymngr $as_me 1.0.1, which was 5445generated by GNU Autoconf 2.59. Invocation command line was 5446 5447 CONFIG_FILES = $CONFIG_FILES 5448 CONFIG_HEADERS = $CONFIG_HEADERS 5449 CONFIG_LINKS = $CONFIG_LINKS 5450 CONFIG_COMMANDS = $CONFIG_COMMANDS 5451 $ $0 $@ 5452 5453_CSEOF 5454echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5455echo >&5 5456_ACEOF 5457 5458# Files that config.status was made for. 5459if test -n "$ac_config_files"; then 5460 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5461fi 5462 5463if test -n "$ac_config_headers"; then 5464 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5465fi 5466 5467if test -n "$ac_config_links"; then 5468 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5469fi 5470 5471if test -n "$ac_config_commands"; then 5472 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5473fi 5474 5475cat >>$CONFIG_STATUS <<\_ACEOF 5476 5477ac_cs_usage="\ 5478\`$as_me' instantiates files from templates according to the 5479current configuration. 5480 5481Usage: $0 [OPTIONS] [FILE]... 5482 5483 -h, --help print this help, then exit 5484 -V, --version print version number, then exit 5485 -q, --quiet do not print progress messages 5486 -d, --debug don't remove temporary files 5487 --recheck update $as_me by reconfiguring in the same conditions 5488 --file=FILE[:TEMPLATE] 5489 instantiate the configuration file FILE 5490 --header=FILE[:TEMPLATE] 5491 instantiate the configuration header FILE 5492 5493Configuration files: 5494$config_files 5495 5496Configuration headers: 5497$config_headers 5498 5499Configuration commands: 5500$config_commands 5501 5502Report bugs to <bug-autoconf@gnu.org>." 5503_ACEOF 5504 5505cat >>$CONFIG_STATUS <<_ACEOF 5506ac_cs_version="\\ 5507proxymngr config.status 1.0.1 5508configured by $0, generated by GNU Autoconf 2.59, 5509 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5510 5511Copyright (C) 2003 Free Software Foundation, Inc. 5512This config.status script is free software; the Free Software Foundation 5513gives unlimited permission to copy, distribute and modify it." 5514srcdir=$srcdir 5515INSTALL="$INSTALL" 5516_ACEOF 5517 5518cat >>$CONFIG_STATUS <<\_ACEOF 5519# If no file are specified by the user, then we need to provide default 5520# value. By we need to know if files were specified by the user. 5521ac_need_defaults=: 5522while test $# != 0 5523do 5524 case $1 in 5525 --*=*) 5526 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5527 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5528 ac_shift=: 5529 ;; 5530 -*) 5531 ac_option=$1 5532 ac_optarg=$2 5533 ac_shift=shift 5534 ;; 5535 *) # This is not an option, so the user has probably given explicit 5536 # arguments. 5537 ac_option=$1 5538 ac_need_defaults=false;; 5539 esac 5540 5541 case $ac_option in 5542 # Handling of the options. 5543_ACEOF 5544cat >>$CONFIG_STATUS <<\_ACEOF 5545 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5546 ac_cs_recheck=: ;; 5547 --version | --vers* | -V ) 5548 echo "$ac_cs_version"; exit 0 ;; 5549 --he | --h) 5550 # Conflict between --help and --header 5551 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5552Try \`$0 --help' for more information." >&5 5553echo "$as_me: error: ambiguous option: $1 5554Try \`$0 --help' for more information." >&2;} 5555 { (exit 1); exit 1; }; };; 5556 --help | --hel | -h ) 5557 echo "$ac_cs_usage"; exit 0 ;; 5558 --debug | --d* | -d ) 5559 debug=: ;; 5560 --file | --fil | --fi | --f ) 5561 $ac_shift 5562 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 5563 ac_need_defaults=false;; 5564 --header | --heade | --head | --hea ) 5565 $ac_shift 5566 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 5567 ac_need_defaults=false;; 5568 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 5569 | -silent | --silent | --silen | --sile | --sil | --si | --s) 5570 ac_cs_silent=: ;; 5571 5572 # This is an error. 5573 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5574Try \`$0 --help' for more information." >&5 5575echo "$as_me: error: unrecognized option: $1 5576Try \`$0 --help' for more information." >&2;} 5577 { (exit 1); exit 1; }; } ;; 5578 5579 *) ac_config_targets="$ac_config_targets $1" ;; 5580 5581 esac 5582 shift 5583done 5584 5585ac_configure_extra_args= 5586 5587if $ac_cs_silent; then 5588 exec 6>/dev/null 5589 ac_configure_extra_args="$ac_configure_extra_args --silent" 5590fi 5591 5592_ACEOF 5593cat >>$CONFIG_STATUS <<_ACEOF 5594if \$ac_cs_recheck; then 5595 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 5596 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 5597fi 5598 5599_ACEOF 5600 5601cat >>$CONFIG_STATUS <<_ACEOF 5602# 5603# INIT-COMMANDS section. 5604# 5605 5606AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 5607 5608_ACEOF 5609 5610 5611 5612cat >>$CONFIG_STATUS <<\_ACEOF 5613for ac_config_target in $ac_config_targets 5614do 5615 case "$ac_config_target" in 5616 # Handling of arguments. 5617 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 5618 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 5619 "xconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xconfig.h" ;; 5620 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5621echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5622 { (exit 1); exit 1; }; };; 5623 esac 5624done 5625 5626# If the user did not use the arguments to specify the items to instantiate, 5627# then the envvar interface is used. Set only those that are not. 5628# We use the long form for the default assignment because of an extremely 5629# bizarre bug on SunOS 4.1.3. 5630if $ac_need_defaults; then 5631 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5632 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 5633 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 5634fi 5635 5636# Have a temporary directory for convenience. Make it in the build tree 5637# simply because there is no reason to put it here, and in addition, 5638# creating and moving files from /tmp can sometimes cause problems. 5639# Create a temporary directory, and hook for its removal unless debugging. 5640$debug || 5641{ 5642 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5643 trap '{ (exit 1); exit 1; }' 1 2 13 15 5644} 5645 5646# Create a (secure) tmp directory for tmp files. 5647 5648{ 5649 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 5650 test -n "$tmp" && test -d "$tmp" 5651} || 5652{ 5653 tmp=./confstat$$-$RANDOM 5654 (umask 077 && mkdir $tmp) 5655} || 5656{ 5657 echo "$me: cannot create a temporary directory in ." >&2 5658 { (exit 1); exit 1; } 5659} 5660 5661_ACEOF 5662 5663cat >>$CONFIG_STATUS <<_ACEOF 5664 5665# 5666# CONFIG_FILES section. 5667# 5668 5669# No need to generate the scripts if there are no CONFIG_FILES. 5670# This happens for instance when ./config.status config.h 5671if test -n "\$CONFIG_FILES"; then 5672 # Protect against being on the right side of a sed subst in config.status. 5673 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5674 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5675s,@SHELL@,$SHELL,;t t 5676s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5677s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5678s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5679s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5680s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5681s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5682s,@exec_prefix@,$exec_prefix,;t t 5683s,@prefix@,$prefix,;t t 5684s,@program_transform_name@,$program_transform_name,;t t 5685s,@bindir@,$bindir,;t t 5686s,@sbindir@,$sbindir,;t t 5687s,@libexecdir@,$libexecdir,;t t 5688s,@datadir@,$datadir,;t t 5689s,@sysconfdir@,$sysconfdir,;t t 5690s,@sharedstatedir@,$sharedstatedir,;t t 5691s,@localstatedir@,$localstatedir,;t t 5692s,@libdir@,$libdir,;t t 5693s,@includedir@,$includedir,;t t 5694s,@oldincludedir@,$oldincludedir,;t t 5695s,@infodir@,$infodir,;t t 5696s,@mandir@,$mandir,;t t 5697s,@build_alias@,$build_alias,;t t 5698s,@host_alias@,$host_alias,;t t 5699s,@target_alias@,$target_alias,;t t 5700s,@DEFS@,$DEFS,;t t 5701s,@ECHO_C@,$ECHO_C,;t t 5702s,@ECHO_N@,$ECHO_N,;t t 5703s,@ECHO_T@,$ECHO_T,;t t 5704s,@LIBS@,$LIBS,;t t 5705s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5706s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5707s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5708s,@CYGPATH_W@,$CYGPATH_W,;t t 5709s,@PACKAGE@,$PACKAGE,;t t 5710s,@VERSION@,$VERSION,;t t 5711s,@ACLOCAL@,$ACLOCAL,;t t 5712s,@AUTOCONF@,$AUTOCONF,;t t 5713s,@AUTOMAKE@,$AUTOMAKE,;t t 5714s,@AUTOHEADER@,$AUTOHEADER,;t t 5715s,@MAKEINFO@,$MAKEINFO,;t t 5716s,@AMTAR@,$AMTAR,;t t 5717s,@install_sh@,$install_sh,;t t 5718s,@STRIP@,$STRIP,;t t 5719s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t 5720s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t 5721s,@AWK@,$AWK,;t t 5722s,@SET_MAKE@,$SET_MAKE,;t t 5723s,@am__leading_dot@,$am__leading_dot,;t t 5724s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t 5725s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t 5726s,@MAINT@,$MAINT,;t t 5727s,@CC@,$CC,;t t 5728s,@CFLAGS@,$CFLAGS,;t t 5729s,@LDFLAGS@,$LDFLAGS,;t t 5730s,@CPPFLAGS@,$CPPFLAGS,;t t 5731s,@ac_ct_CC@,$ac_ct_CC,;t t 5732s,@EXEEXT@,$EXEEXT,;t t 5733s,@OBJEXT@,$OBJEXT,;t t 5734s,@DEPDIR@,$DEPDIR,;t t 5735s,@am__include@,$am__include,;t t 5736s,@am__quote@,$am__quote,;t t 5737s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t 5738s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t 5739s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t 5740s,@CCDEPMODE@,$CCDEPMODE,;t t 5741s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t 5742s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t 5743s,@CPP@,$CPP,;t t 5744s,@LBXPROXY@,$LBXPROXY,;t t 5745s,@SED@,$SED,;t t 5746s,@PKG_CONFIG@,$PKG_CONFIG,;t t 5747s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t 5748s,@PROXYMNGR_CFLAGS@,$PROXYMNGR_CFLAGS,;t t 5749s,@PROXYMNGR_LIBS@,$PROXYMNGR_LIBS,;t t 5750s,@build@,$build,;t t 5751s,@build_cpu@,$build_cpu,;t t 5752s,@build_vendor@,$build_vendor,;t t 5753s,@build_os@,$build_os,;t t 5754s,@host@,$host,;t t 5755s,@host_cpu@,$host_cpu,;t t 5756s,@host_vendor@,$host_vendor,;t t 5757s,@host_os@,$host_os,;t t 5758s,@APP_MAN_SUFFIX@,$APP_MAN_SUFFIX,;t t 5759s,@LIB_MAN_SUFFIX@,$LIB_MAN_SUFFIX,;t t 5760s,@FILE_MAN_SUFFIX@,$FILE_MAN_SUFFIX,;t t 5761s,@MISC_MAN_SUFFIX@,$MISC_MAN_SUFFIX,;t t 5762s,@DRIVER_MAN_SUFFIX@,$DRIVER_MAN_SUFFIX,;t t 5763s,@ADMIN_MAN_SUFFIX@,$ADMIN_MAN_SUFFIX,;t t 5764s,@APP_MAN_DIR@,$APP_MAN_DIR,;t t 5765s,@LIB_MAN_DIR@,$LIB_MAN_DIR,;t t 5766s,@FILE_MAN_DIR@,$FILE_MAN_DIR,;t t 5767s,@MISC_MAN_DIR@,$MISC_MAN_DIR,;t t 5768s,@DRIVER_MAN_DIR@,$DRIVER_MAN_DIR,;t t 5769s,@ADMIN_MAN_DIR@,$ADMIN_MAN_DIR,;t t 5770s,@LIBOBJS@,$LIBOBJS,;t t 5771s,@LTLIBOBJS@,$LTLIBOBJS,;t t 5772CEOF 5773 5774_ACEOF 5775 5776 cat >>$CONFIG_STATUS <<\_ACEOF 5777 # Split the substitutions into bite-sized pieces for seds with 5778 # small command number limits, like on Digital OSF/1 and HP-UX. 5779 ac_max_sed_lines=48 5780 ac_sed_frag=1 # Number of current file. 5781 ac_beg=1 # First line for current file. 5782 ac_end=$ac_max_sed_lines # Line after last line for current file. 5783 ac_more_lines=: 5784 ac_sed_cmds= 5785 while $ac_more_lines; do 5786 if test $ac_beg -gt 1; then 5787 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5788 else 5789 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 5790 fi 5791 if test ! -s $tmp/subs.frag; then 5792 ac_more_lines=false 5793 else 5794 # The purpose of the label and of the branching condition is to 5795 # speed up the sed processing (if there are no `@' at all, there 5796 # is no need to browse any of the substitutions). 5797 # These are the two extra sed commands mentioned above. 5798 (echo ':t 5799 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5800 if test -z "$ac_sed_cmds"; then 5801 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5802 else 5803 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5804 fi 5805 ac_sed_frag=`expr $ac_sed_frag + 1` 5806 ac_beg=$ac_end 5807 ac_end=`expr $ac_end + $ac_max_sed_lines` 5808 fi 5809 done 5810 if test -z "$ac_sed_cmds"; then 5811 ac_sed_cmds=cat 5812 fi 5813fi # test -n "$CONFIG_FILES" 5814 5815_ACEOF 5816cat >>$CONFIG_STATUS <<\_ACEOF 5817for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 5818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5819 case $ac_file in 5820 - | *:- | *:-:* ) # input from stdin 5821 cat >$tmp/stdin 5822 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5823 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5824 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5825 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5826 * ) ac_file_in=$ac_file.in ;; 5827 esac 5828 5829 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5830 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5831$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5832 X"$ac_file" : 'X\(//\)[^/]' \| \ 5833 X"$ac_file" : 'X\(//\)$' \| \ 5834 X"$ac_file" : 'X\(/\)' \| \ 5835 . : '\(.\)' 2>/dev/null || 5836echo X"$ac_file" | 5837 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5838 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5839 /^X\(\/\/\)$/{ s//\1/; q; } 5840 /^X\(\/\).*/{ s//\1/; q; } 5841 s/.*/./; q'` 5842 { if $as_mkdir_p; then 5843 mkdir -p "$ac_dir" 5844 else 5845 as_dir="$ac_dir" 5846 as_dirs= 5847 while test ! -d "$as_dir"; do 5848 as_dirs="$as_dir $as_dirs" 5849 as_dir=`(dirname "$as_dir") 2>/dev/null || 5850$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5851 X"$as_dir" : 'X\(//\)[^/]' \| \ 5852 X"$as_dir" : 'X\(//\)$' \| \ 5853 X"$as_dir" : 'X\(/\)' \| \ 5854 . : '\(.\)' 2>/dev/null || 5855echo X"$as_dir" | 5856 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5857 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5858 /^X\(\/\/\)$/{ s//\1/; q; } 5859 /^X\(\/\).*/{ s//\1/; q; } 5860 s/.*/./; q'` 5861 done 5862 test ! -n "$as_dirs" || mkdir $as_dirs 5863 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 5864echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 5865 { (exit 1); exit 1; }; }; } 5866 5867 ac_builddir=. 5868 5869if test "$ac_dir" != .; then 5870 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5871 # A "../" for each directory in $ac_dir_suffix. 5872 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5873else 5874 ac_dir_suffix= ac_top_builddir= 5875fi 5876 5877case $srcdir in 5878 .) # No --srcdir option. We are building in place. 5879 ac_srcdir=. 5880 if test -z "$ac_top_builddir"; then 5881 ac_top_srcdir=. 5882 else 5883 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5884 fi ;; 5885 [\\/]* | ?:[\\/]* ) # Absolute path. 5886 ac_srcdir=$srcdir$ac_dir_suffix; 5887 ac_top_srcdir=$srcdir ;; 5888 *) # Relative path. 5889 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5890 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5891esac 5892 5893# Do not use `cd foo && pwd` to compute absolute paths, because 5894# the directories may not exist. 5895case `pwd` in 5896.) ac_abs_builddir="$ac_dir";; 5897*) 5898 case "$ac_dir" in 5899 .) ac_abs_builddir=`pwd`;; 5900 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 5901 *) ac_abs_builddir=`pwd`/"$ac_dir";; 5902 esac;; 5903esac 5904case $ac_abs_builddir in 5905.) ac_abs_top_builddir=${ac_top_builddir}.;; 5906*) 5907 case ${ac_top_builddir}. in 5908 .) ac_abs_top_builddir=$ac_abs_builddir;; 5909 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 5910 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 5911 esac;; 5912esac 5913case $ac_abs_builddir in 5914.) ac_abs_srcdir=$ac_srcdir;; 5915*) 5916 case $ac_srcdir in 5917 .) ac_abs_srcdir=$ac_abs_builddir;; 5918 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 5919 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 5920 esac;; 5921esac 5922case $ac_abs_builddir in 5923.) ac_abs_top_srcdir=$ac_top_srcdir;; 5924*) 5925 case $ac_top_srcdir in 5926 .) ac_abs_top_srcdir=$ac_abs_builddir;; 5927 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 5928 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 5929 esac;; 5930esac 5931 5932 5933 case $INSTALL in 5934 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5935 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 5936 esac 5937 5938 if test x"$ac_file" != x-; then 5939 { echo "$as_me:$LINENO: creating $ac_file" >&5 5940echo "$as_me: creating $ac_file" >&6;} 5941 rm -f "$ac_file" 5942 fi 5943 # Let's still pretend it is `configure' which instantiates (i.e., don't 5944 # use $as_me), people would be surprised to read: 5945 # /* config.h. Generated by config.status. */ 5946 if test x"$ac_file" = x-; then 5947 configure_input= 5948 else 5949 configure_input="$ac_file. " 5950 fi 5951 configure_input=$configure_input"Generated from `echo $ac_file_in | 5952 sed 's,.*/,,'` by configure." 5953 5954 # First look for the input files in the build tree, otherwise in the 5955 # src tree. 5956 ac_file_inputs=`IFS=: 5957 for f in $ac_file_in; do 5958 case $f in 5959 -) echo $tmp/stdin ;; 5960 [\\/$]*) 5961 # Absolute (can't be DOS-style, as IFS=:) 5962 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5963echo "$as_me: error: cannot find input file: $f" >&2;} 5964 { (exit 1); exit 1; }; } 5965 echo "$f";; 5966 *) # Relative 5967 if test -f "$f"; then 5968 # Build tree 5969 echo "$f" 5970 elif test -f "$srcdir/$f"; then 5971 # Source tree 5972 echo "$srcdir/$f" 5973 else 5974 # /dev/null tree 5975 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5976echo "$as_me: error: cannot find input file: $f" >&2;} 5977 { (exit 1); exit 1; }; } 5978 fi;; 5979 esac 5980 done` || { (exit 1); exit 1; } 5981_ACEOF 5982cat >>$CONFIG_STATUS <<_ACEOF 5983 sed "$ac_vpsub 5984$extrasub 5985_ACEOF 5986cat >>$CONFIG_STATUS <<\_ACEOF 5987:t 5988/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5989s,@configure_input@,$configure_input,;t t 5990s,@srcdir@,$ac_srcdir,;t t 5991s,@abs_srcdir@,$ac_abs_srcdir,;t t 5992s,@top_srcdir@,$ac_top_srcdir,;t t 5993s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5994s,@builddir@,$ac_builddir,;t t 5995s,@abs_builddir@,$ac_abs_builddir,;t t 5996s,@top_builddir@,$ac_top_builddir,;t t 5997s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5998s,@INSTALL@,$ac_INSTALL,;t t 5999" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 6000 rm -f $tmp/stdin 6001 if test x"$ac_file" != x-; then 6002 mv $tmp/out $ac_file 6003 else 6004 cat $tmp/out 6005 rm -f $tmp/out 6006 fi 6007 6008done 6009_ACEOF 6010cat >>$CONFIG_STATUS <<\_ACEOF 6011 6012# 6013# CONFIG_HEADER section. 6014# 6015 6016# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 6017# NAME is the cpp macro being defined and VALUE is the value it is being given. 6018# 6019# ac_d sets the value in "#define NAME VALUE" lines. 6020ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 6021ac_dB='[ ].*$,\1#\2' 6022ac_dC=' ' 6023ac_dD=',;t' 6024# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 6025ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 6026ac_uB='$,\1#\2define\3' 6027ac_uC=' ' 6028ac_uD=',;t' 6029 6030for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 6031 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 6032 case $ac_file in 6033 - | *:- | *:-:* ) # input from stdin 6034 cat >$tmp/stdin 6035 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6036 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6037 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 6038 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 6039 * ) ac_file_in=$ac_file.in ;; 6040 esac 6041 6042 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 6043echo "$as_me: creating $ac_file" >&6;} 6044 6045 # First look for the input files in the build tree, otherwise in the 6046 # src tree. 6047 ac_file_inputs=`IFS=: 6048 for f in $ac_file_in; do 6049 case $f in 6050 -) echo $tmp/stdin ;; 6051 [\\/$]*) 6052 # Absolute (can't be DOS-style, as IFS=:) 6053 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6054echo "$as_me: error: cannot find input file: $f" >&2;} 6055 { (exit 1); exit 1; }; } 6056 # Do quote $f, to prevent DOS paths from being IFS'd. 6057 echo "$f";; 6058 *) # Relative 6059 if test -f "$f"; then 6060 # Build tree 6061 echo "$f" 6062 elif test -f "$srcdir/$f"; then 6063 # Source tree 6064 echo "$srcdir/$f" 6065 else 6066 # /dev/null tree 6067 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 6068echo "$as_me: error: cannot find input file: $f" >&2;} 6069 { (exit 1); exit 1; }; } 6070 fi;; 6071 esac 6072 done` || { (exit 1); exit 1; } 6073 # Remove the trailing spaces. 6074 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 6075 6076_ACEOF 6077 6078# Transform confdefs.h into two sed scripts, `conftest.defines' and 6079# `conftest.undefs', that substitutes the proper values into 6080# config.h.in to produce config.h. The first handles `#define' 6081# templates, and the second `#undef' templates. 6082# And first: Protect against being on the right side of a sed subst in 6083# config.status. Protect against being in an unquoted here document 6084# in config.status. 6085rm -f conftest.defines conftest.undefs 6086# Using a here document instead of a string reduces the quoting nightmare. 6087# Putting comments in sed scripts is not portable. 6088# 6089# `end' is used to avoid that the second main sed command (meant for 6090# 0-ary CPP macros) applies to n-ary macro definitions. 6091# See the Autoconf documentation for `clear'. 6092cat >confdef2sed.sed <<\_ACEOF 6093s/[\\&,]/\\&/g 6094s,[\\$`],\\&,g 6095t clear 6096: clear 6097s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 6098t end 6099s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 6100: end 6101_ACEOF 6102# If some macros were called several times there might be several times 6103# the same #defines, which is useless. Nevertheless, we may not want to 6104# sort them, since we want the *last* AC-DEFINE to be honored. 6105uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 6106sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 6107rm -f confdef2sed.sed 6108 6109# This sed command replaces #undef with comments. This is necessary, for 6110# example, in the case of _POSIX_SOURCE, which is predefined and required 6111# on some systems where configure will not decide to define it. 6112cat >>conftest.undefs <<\_ACEOF 6113s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 6114_ACEOF 6115 6116# Break up conftest.defines because some shells have a limit on the size 6117# of here documents, and old seds have small limits too (100 cmds). 6118echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 6119echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 6120echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 6121echo ' :' >>$CONFIG_STATUS 6122rm -f conftest.tail 6123while grep . conftest.defines >/dev/null 6124do 6125 # Write a limited-size here document to $tmp/defines.sed. 6126 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 6127 # Speed up: don't consider the non `#define' lines. 6128 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 6129 # Work around the forget-to-reset-the-flag bug. 6130 echo 't clr' >>$CONFIG_STATUS 6131 echo ': clr' >>$CONFIG_STATUS 6132 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 6133 echo 'CEOF 6134 sed -f $tmp/defines.sed $tmp/in >$tmp/out 6135 rm -f $tmp/in 6136 mv $tmp/out $tmp/in 6137' >>$CONFIG_STATUS 6138 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 6139 rm -f conftest.defines 6140 mv conftest.tail conftest.defines 6141done 6142rm -f conftest.defines 6143echo ' fi # grep' >>$CONFIG_STATUS 6144echo >>$CONFIG_STATUS 6145 6146# Break up conftest.undefs because some shells have a limit on the size 6147# of here documents, and old seds have small limits too (100 cmds). 6148echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 6149rm -f conftest.tail 6150while grep . conftest.undefs >/dev/null 6151do 6152 # Write a limited-size here document to $tmp/undefs.sed. 6153 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 6154 # Speed up: don't consider the non `#undef' 6155 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 6156 # Work around the forget-to-reset-the-flag bug. 6157 echo 't clr' >>$CONFIG_STATUS 6158 echo ': clr' >>$CONFIG_STATUS 6159 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 6160 echo 'CEOF 6161 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 6162 rm -f $tmp/in 6163 mv $tmp/out $tmp/in 6164' >>$CONFIG_STATUS 6165 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 6166 rm -f conftest.undefs 6167 mv conftest.tail conftest.undefs 6168done 6169rm -f conftest.undefs 6170 6171cat >>$CONFIG_STATUS <<\_ACEOF 6172 # Let's still pretend it is `configure' which instantiates (i.e., don't 6173 # use $as_me), people would be surprised to read: 6174 # /* config.h. Generated by config.status. */ 6175 if test x"$ac_file" = x-; then 6176 echo "/* Generated by configure. */" >$tmp/config.h 6177 else 6178 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 6179 fi 6180 cat $tmp/in >>$tmp/config.h 6181 rm -f $tmp/in 6182 if test x"$ac_file" != x-; then 6183 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 6184 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 6185echo "$as_me: $ac_file is unchanged" >&6;} 6186 else 6187 ac_dir=`(dirname "$ac_file") 2>/dev/null || 6188$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6189 X"$ac_file" : 'X\(//\)[^/]' \| \ 6190 X"$ac_file" : 'X\(//\)$' \| \ 6191 X"$ac_file" : 'X\(/\)' \| \ 6192 . : '\(.\)' 2>/dev/null || 6193echo X"$ac_file" | 6194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6195 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6196 /^X\(\/\/\)$/{ s//\1/; q; } 6197 /^X\(\/\).*/{ s//\1/; q; } 6198 s/.*/./; q'` 6199 { if $as_mkdir_p; then 6200 mkdir -p "$ac_dir" 6201 else 6202 as_dir="$ac_dir" 6203 as_dirs= 6204 while test ! -d "$as_dir"; do 6205 as_dirs="$as_dir $as_dirs" 6206 as_dir=`(dirname "$as_dir") 2>/dev/null || 6207$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6208 X"$as_dir" : 'X\(//\)[^/]' \| \ 6209 X"$as_dir" : 'X\(//\)$' \| \ 6210 X"$as_dir" : 'X\(/\)' \| \ 6211 . : '\(.\)' 2>/dev/null || 6212echo X"$as_dir" | 6213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6214 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6215 /^X\(\/\/\)$/{ s//\1/; q; } 6216 /^X\(\/\).*/{ s//\1/; q; } 6217 s/.*/./; q'` 6218 done 6219 test ! -n "$as_dirs" || mkdir $as_dirs 6220 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6221echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6222 { (exit 1); exit 1; }; }; } 6223 6224 rm -f $ac_file 6225 mv $tmp/config.h $ac_file 6226 fi 6227 else 6228 cat $tmp/config.h 6229 rm -f $tmp/config.h 6230 fi 6231# Compute $ac_file's index in $config_headers. 6232_am_stamp_count=1 6233for _am_header in $config_headers :; do 6234 case $_am_header in 6235 $ac_file | $ac_file:* ) 6236 break ;; 6237 * ) 6238 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 6239 esac 6240done 6241echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || 6242$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6243 X$ac_file : 'X\(//\)[^/]' \| \ 6244 X$ac_file : 'X\(//\)$' \| \ 6245 X$ac_file : 'X\(/\)' \| \ 6246 . : '\(.\)' 2>/dev/null || 6247echo X$ac_file | 6248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6249 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6250 /^X\(\/\/\)$/{ s//\1/; q; } 6251 /^X\(\/\).*/{ s//\1/; q; } 6252 s/.*/./; q'`/stamp-h$_am_stamp_count 6253done 6254_ACEOF 6255cat >>$CONFIG_STATUS <<\_ACEOF 6256 6257# 6258# CONFIG_COMMANDS section. 6259# 6260for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 6261 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 6262 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 6263 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 6264$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6265 X"$ac_dest" : 'X\(//\)[^/]' \| \ 6266 X"$ac_dest" : 'X\(//\)$' \| \ 6267 X"$ac_dest" : 'X\(/\)' \| \ 6268 . : '\(.\)' 2>/dev/null || 6269echo X"$ac_dest" | 6270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6271 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6272 /^X\(\/\/\)$/{ s//\1/; q; } 6273 /^X\(\/\).*/{ s//\1/; q; } 6274 s/.*/./; q'` 6275 { if $as_mkdir_p; then 6276 mkdir -p "$ac_dir" 6277 else 6278 as_dir="$ac_dir" 6279 as_dirs= 6280 while test ! -d "$as_dir"; do 6281 as_dirs="$as_dir $as_dirs" 6282 as_dir=`(dirname "$as_dir") 2>/dev/null || 6283$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6284 X"$as_dir" : 'X\(//\)[^/]' \| \ 6285 X"$as_dir" : 'X\(//\)$' \| \ 6286 X"$as_dir" : 'X\(/\)' \| \ 6287 . : '\(.\)' 2>/dev/null || 6288echo X"$as_dir" | 6289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6290 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6291 /^X\(\/\/\)$/{ s//\1/; q; } 6292 /^X\(\/\).*/{ s//\1/; q; } 6293 s/.*/./; q'` 6294 done 6295 test ! -n "$as_dirs" || mkdir $as_dirs 6296 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 6297echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 6298 { (exit 1); exit 1; }; }; } 6299 6300 ac_builddir=. 6301 6302if test "$ac_dir" != .; then 6303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6304 # A "../" for each directory in $ac_dir_suffix. 6305 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6306else 6307 ac_dir_suffix= ac_top_builddir= 6308fi 6309 6310case $srcdir in 6311 .) # No --srcdir option. We are building in place. 6312 ac_srcdir=. 6313 if test -z "$ac_top_builddir"; then 6314 ac_top_srcdir=. 6315 else 6316 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6317 fi ;; 6318 [\\/]* | ?:[\\/]* ) # Absolute path. 6319 ac_srcdir=$srcdir$ac_dir_suffix; 6320 ac_top_srcdir=$srcdir ;; 6321 *) # Relative path. 6322 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6323 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6324esac 6325 6326# Do not use `cd foo && pwd` to compute absolute paths, because 6327# the directories may not exist. 6328case `pwd` in 6329.) ac_abs_builddir="$ac_dir";; 6330*) 6331 case "$ac_dir" in 6332 .) ac_abs_builddir=`pwd`;; 6333 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 6334 *) ac_abs_builddir=`pwd`/"$ac_dir";; 6335 esac;; 6336esac 6337case $ac_abs_builddir in 6338.) ac_abs_top_builddir=${ac_top_builddir}.;; 6339*) 6340 case ${ac_top_builddir}. in 6341 .) ac_abs_top_builddir=$ac_abs_builddir;; 6342 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 6343 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 6344 esac;; 6345esac 6346case $ac_abs_builddir in 6347.) ac_abs_srcdir=$ac_srcdir;; 6348*) 6349 case $ac_srcdir in 6350 .) ac_abs_srcdir=$ac_abs_builddir;; 6351 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 6352 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 6353 esac;; 6354esac 6355case $ac_abs_builddir in 6356.) ac_abs_top_srcdir=$ac_top_srcdir;; 6357*) 6358 case $ac_top_srcdir in 6359 .) ac_abs_top_srcdir=$ac_abs_builddir;; 6360 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 6361 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 6362 esac;; 6363esac 6364 6365 6366 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 6367echo "$as_me: executing $ac_dest commands" >&6;} 6368 case $ac_dest in 6369 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do 6370 # Strip MF so we end up with the name of the file. 6371 mf=`echo "$mf" | sed -e 's/:.*$//'` 6372 # Check whether this is an Automake generated Makefile or not. 6373 # We used to match only the files named `Makefile.in', but 6374 # some people rename them; so instead we look at the file content. 6375 # Grep'ing the first line is not enough: some people post-process 6376 # each Makefile.in and add a new line on top of each file to say so. 6377 # So let's grep whole file. 6378 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then 6379 dirpart=`(dirname "$mf") 2>/dev/null || 6380$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6381 X"$mf" : 'X\(//\)[^/]' \| \ 6382 X"$mf" : 'X\(//\)$' \| \ 6383 X"$mf" : 'X\(/\)' \| \ 6384 . : '\(.\)' 2>/dev/null || 6385echo X"$mf" | 6386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6387 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6388 /^X\(\/\/\)$/{ s//\1/; q; } 6389 /^X\(\/\).*/{ s//\1/; q; } 6390 s/.*/./; q'` 6391 else 6392 continue 6393 fi 6394 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue 6395 # Extract the definition of DEP_FILES from the Makefile without 6396 # running `make'. 6397 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 6398 test -z "$DEPDIR" && continue 6399 # When using ansi2knr, U may be empty or an underscore; expand it 6400 U=`sed -n -e '/^U = / s///p' < "$mf"` 6401 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 6402 # We invoke sed twice because it is the simplest approach to 6403 # changing $(DEPDIR) to its actual value in the expansion. 6404 for file in `sed -n -e ' 6405 /^DEP_FILES = .*\\\\$/ { 6406 s/^DEP_FILES = // 6407 :loop 6408 s/\\\\$// 6409 p 6410 n 6411 /\\\\$/ b loop 6412 p 6413 } 6414 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 6415 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 6416 # Make sure the directory exists. 6417 test -f "$dirpart/$file" && continue 6418 fdir=`(dirname "$file") 2>/dev/null || 6419$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6420 X"$file" : 'X\(//\)[^/]' \| \ 6421 X"$file" : 'X\(//\)$' \| \ 6422 X"$file" : 'X\(/\)' \| \ 6423 . : '\(.\)' 2>/dev/null || 6424echo X"$file" | 6425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6426 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6427 /^X\(\/\/\)$/{ s//\1/; q; } 6428 /^X\(\/\).*/{ s//\1/; q; } 6429 s/.*/./; q'` 6430 { if $as_mkdir_p; then 6431 mkdir -p $dirpart/$fdir 6432 else 6433 as_dir=$dirpart/$fdir 6434 as_dirs= 6435 while test ! -d "$as_dir"; do 6436 as_dirs="$as_dir $as_dirs" 6437 as_dir=`(dirname "$as_dir") 2>/dev/null || 6438$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 6439 X"$as_dir" : 'X\(//\)[^/]' \| \ 6440 X"$as_dir" : 'X\(//\)$' \| \ 6441 X"$as_dir" : 'X\(/\)' \| \ 6442 . : '\(.\)' 2>/dev/null || 6443echo X"$as_dir" | 6444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 6445 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 6446 /^X\(\/\/\)$/{ s//\1/; q; } 6447 /^X\(\/\).*/{ s//\1/; q; } 6448 s/.*/./; q'` 6449 done 6450 test ! -n "$as_dirs" || mkdir $as_dirs 6451 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 6452echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} 6453 { (exit 1); exit 1; }; }; } 6454 6455 # echo "creating $dirpart/$file" 6456 echo '# dummy' > "$dirpart/$file" 6457 done 6458done 6459 ;; 6460 esac 6461done 6462_ACEOF 6463 6464cat >>$CONFIG_STATUS <<\_ACEOF 6465 6466{ (exit 0); exit 0; } 6467_ACEOF 6468chmod +x $CONFIG_STATUS 6469ac_clean_files=$ac_clean_files_save 6470 6471 6472# configure is writing to config.log, and then calls config.status. 6473# config.status does its own redirection, appending to config.log. 6474# Unfortunately, on DOS this fails, as config.log is still kept open 6475# by configure, so config.status won't be able to write to it; its 6476# output is simply discarded. So we exec the FD to /dev/null, 6477# effectively closing config.log, so it can be properly (re)opened and 6478# appended to by config.status. When coming back to configure, we 6479# need to make the FD available again. 6480if test "$no_create" != yes; then 6481 ac_cs_success=: 6482 ac_config_status_args= 6483 test "$silent" = yes && 6484 ac_config_status_args="$ac_config_status_args --quiet" 6485 exec 5>/dev/null 6486 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 6487 exec 5>>config.log 6488 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 6489 # would make configure fail if this is the last instruction. 6490 $ac_cs_success || { (exit 1); exit 1; } 6491fi 6492 6493