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