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