Changeset 31bf3a in git
- Timestamp:
- Apr 18, 2005, 1:11:44 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- cfa9300fc616df19aa2d0992c7b663d32ab2e61e
- Parents:
- d7952be20b58d1b7b3d37a3c0f03393781afc143
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
rd7952be r31bf3a 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="mmalloc.cc" 14 275 ac_default_prefix=`pwd`/.. 15 ac_help="$ac_help 16 --with-rootdir=DIR use DIR ass compiled-in root directory 17 (default is PREFIX)" 18 ac_help="$ac_help 19 --with-lex=[LEX,no] uses LEX as lex program, default is flex" 20 ac_help="$ac_help 21 --with-readline=[dynamic,static,no] 22 do use dynamic/static/no readline for fancy display" 23 ac_help="$ac_help 24 --without-MP do not use MP (no MP links)" 25 ac_help="$ac_help 26 --without-dbm do not use dbm (no DBM links)" 27 ac_help="$ac_help 28 --without-factory do not use factory (no poly factorization)" 29 ac_help="$ac_help 30 --without-libfac do not use libfac (no primary decompositions)" 31 ac_help="$ac_help 32 --with-namespaces do compile namespace support" 33 ac_help="$ac_help 34 --without-dl do not use dynamic linking, modules, and kernel" 35 ac_help="$ac_help 36 --with-dynamic-modules do compile with dynamic modules support" 37 ac_help="$ac_help 38 --without-dynamic-kernel 39 do not compile with dynamic kernel parts" 40 ac_help="$ac_help 41 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic" 42 ac_help="$ac_help 43 --with-Plural do compile with Plural support" 44 ac_help="$ac_help 45 --with-NTL build for use with NTL." 276 # Factoring default headers for most tests. 277 ac_includes_default="\ 278 #include <stdio.h> 279 #if HAVE_SYS_TYPES_H 280 # include <sys/types.h> 281 #endif 282 #if HAVE_SYS_STAT_H 283 # include <sys/stat.h> 284 #endif 285 #if STDC_HEADERS 286 # include <stdlib.h> 287 # include <stddef.h> 288 #else 289 # if HAVE_STDLIB_H 290 # include <stdlib.h> 291 # endif 292 #endif 293 #if HAVE_STRING_H 294 # if !STDC_HEADERS && HAVE_MEMORY_H 295 # include <memory.h> 296 # endif 297 # include <string.h> 298 #endif 299 #if HAVE_STRINGS_H 300 # include <strings.h> 301 #endif 302 #if HAVE_INTTYPES_H 303 # include <inttypes.h> 304 #else 305 # if HAVE_STDINT_H 306 # include <stdint.h> 307 # endif 308 #endif 309 #if HAVE_UNISTD_H 310 # include <unistd.h> 311 #endif" 312 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 SINGUNAME EXEC_EXT SING_UNAME SINGULAR_VERSION VERSION_DATE SINGULAR_MAJOR_VERSION SINGULAR_MINOR_VERSION SINGULAR_SUB_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP CXX CXXFLAGS ac_ct_CXX INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP PIPE CXXTEMPLFLAGS CXXNOOPTFLAGS STATIC_LDFLAGS SET_MAKE SINGULAR LEX BISON LN_S PERL LD_DYN_FLAGS SFLAGS SLDFLAGS LD ALLOCA CXXCPP HAVE_MPSR MP_LIBS NEED_LIBS DL_KERNEL PLURAL LIBOBJS LTLIBOBJS' 314 ac_subst_files='' 46 315 47 316 # Initialize some variables set by options. 317 ac_init_help= 318 ac_init_version=false 48 319 # The variables have the same names as the options, with 49 320 # dashes changed to underlines. 50 build=NONE 51 cache_file=./config.cache 321 cache_file=/dev/null 52 322 exec_prefix=NONE 53 host=NONE54 323 no_create= 55 nonopt=NONE56 324 no_recursion= 57 325 prefix=NONE … … 62 330 site= 63 331 srcdir= 64 target=NONE65 332 verbose= 66 333 x_includes=NONE 67 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. 68 341 bindir='${exec_prefix}/bin' 69 342 sbindir='${exec_prefix}/sbin' … … 79 352 mandir='${prefix}/man' 80 353 81 # Initialize some other variables.82 subdirs=83 MFLAGS= MAKEFLAGS=84 SHELL=${CONFIG_SHELL-/bin/sh}85 # Maximum number of lines to put in a shell here document.86 ac_max_here_lines=1287 88 354 ac_prev= 89 355 for ac_option 90 356 do 91 92 357 # If the previous option needs an argument, assign it. 93 358 if test -n "$ac_prev"; then … … 97 362 fi 98 363 99 case "$ac_option" in 100 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 101 *) ac_optarg= ;; 102 esac 364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 103 365 104 366 # Accept the important Cygnus configure options, so we can diagnose typos. 105 367 106 case "$ac_option"in368 case $ac_option in 107 369 108 370 -bindir | --bindir | --bindi | --bind | --bin | --bi) 109 371 ac_prev=bindir ;; 110 372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 111 bindir= "$ac_optarg";;373 bindir=$ac_optarg ;; 112 374 113 375 -build | --build | --buil | --bui | --bu) 114 ac_prev=build ;;376 ac_prev=build_alias ;; 115 377 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 116 build ="$ac_optarg";;378 build_alias=$ac_optarg ;; 117 379 118 380 -cache-file | --cache-file | --cache-fil | --cache-fi \ … … 121 383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 122 384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 123 cache_file="$ac_optarg" ;; 385 cache_file=$ac_optarg ;; 386 387 --config-cache | -C) 388 cache_file=config.cache ;; 124 389 125 390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) … … 127 392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 128 393 | --da=*) 129 datadir= "$ac_optarg";;394 datadir=$ac_optarg ;; 130 395 131 396 -disable-* | --disable-*) 132 ac_feature=`e cho $ac_option|sed -e 's/-*disable-//'`397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 133 398 # Reject names that are not valid shell variable names. 134 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then135 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }136 fi137 ac_feature=`echo $ac_feature | sed 's/-/_/g'`138 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" ;; 139 404 140 405 -enable-* | --enable-*) 141 ac_feature=`e cho $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 142 407 # Reject names that are not valid shell variable names. 143 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then144 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }145 fi146 ac_feature=`echo $ac_feature | sed 's/-/_/g'`147 case "$ac_option"in148 *=*) ;;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"`;; 149 414 *) ac_optarg=yes ;; 150 415 esac 151 eval "enable_$ {ac_feature}='$ac_optarg'" ;;416 eval "enable_$ac_feature='$ac_optarg'" ;; 152 417 153 418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 158 423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 159 424 | --exec=* | --exe=* | --ex=*) 160 exec_prefix= "$ac_optarg";;425 exec_prefix=$ac_optarg ;; 161 426 162 427 -gas | --gas | --ga | --g) … … 164 429 with_gas=yes ;; 165 430 166 -help | --help | --hel | --he) 167 # Omit some internal or obsolete options to make the list less imposing. 168 # This message is too long to be a string in the A/UX 3.1 sh. 169 cat << EOF 170 Usage: configure [options] [host] 171 Options: [defaults in brackets after descriptions] 172 Configuration: 173 --cache-file=FILE cache test results in FILE 174 --help print this message 175 --no-create do not create output files 176 --quiet, --silent do not print \`checking...' messages 177 --version print the version of autoconf that created configure 178 Directory and file names: 179 --prefix=PREFIX install architecture-independent files in PREFIX 180 [$ac_default_prefix] 181 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 182 [same as prefix] 183 --bindir=DIR user executables in DIR [EPREFIX/bin] 184 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 185 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 186 --datadir=DIR read-only architecture-independent data in DIR 187 [PREFIX/share] 188 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 189 --sharedstatedir=DIR modifiable architecture-independent data in DIR 190 [PREFIX/com] 191 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 192 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 193 --includedir=DIR C header files in DIR [PREFIX/include] 194 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 195 --infodir=DIR info documentation in DIR [PREFIX/info] 196 --mandir=DIR man documentation in DIR [PREFIX/man] 197 --srcdir=DIR find the sources in DIR [configure dir or ..] 198 --program-prefix=PREFIX prepend PREFIX to installed program names 199 --program-suffix=SUFFIX append SUFFIX to installed program names 200 --program-transform-name=PROGRAM 201 run sed PROGRAM on installed program names 202 EOF 203 cat << EOF 204 Host type: 205 --build=BUILD configure for building on BUILD [BUILD=HOST] 206 --host=HOST configure for HOST [guessed] 207 --target=TARGET configure for TARGET [TARGET=HOST] 208 Features and packages: 209 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 210 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 211 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 212 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 213 --x-includes=DIR X include files are in DIR 214 --x-libraries=DIR X library files are in DIR 215 EOF 216 if test -n "$ac_help"; then 217 echo "--enable and --with options recognized:$ac_help" 218 fi 219 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 ;; 220 437 221 438 -host | --host | --hos | --ho) 222 ac_prev=host ;;439 ac_prev=host_alias ;; 223 440 -host=* | --host=* | --hos=* | --ho=*) 224 host ="$ac_optarg";;441 host_alias=$ac_optarg ;; 225 442 226 443 -includedir | --includedir | --includedi | --included | --include \ … … 229 446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 230 447 | --includ=* | --inclu=* | --incl=* | --inc=*) 231 includedir= "$ac_optarg";;448 includedir=$ac_optarg ;; 232 449 233 450 -infodir | --infodir | --infodi | --infod | --info | --inf) 234 451 ac_prev=infodir ;; 235 452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 236 infodir= "$ac_optarg";;453 infodir=$ac_optarg ;; 237 454 238 455 -libdir | --libdir | --libdi | --libd) 239 456 ac_prev=libdir ;; 240 457 -libdir=* | --libdir=* | --libdi=* | --libd=*) 241 libdir= "$ac_optarg";;458 libdir=$ac_optarg ;; 242 459 243 460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ … … 246 463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 247 464 | --libexe=* | --libex=* | --libe=*) 248 libexecdir= "$ac_optarg";;465 libexecdir=$ac_optarg ;; 249 466 250 467 -localstatedir | --localstatedir | --localstatedi | --localstated \ … … 255 472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 256 473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 257 localstatedir= "$ac_optarg";;474 localstatedir=$ac_optarg ;; 258 475 259 476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 260 477 ac_prev=mandir ;; 261 478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 262 mandir= "$ac_optarg";;479 mandir=$ac_optarg ;; 263 480 264 481 -nfp | --nfp | --nf) … … 267 484 268 485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 269 | --no-cr | --no-c )486 | --no-cr | --no-c | -n) 270 487 no_create=yes ;; 271 488 … … 281 498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 282 499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 283 oldincludedir= "$ac_optarg";;500 oldincludedir=$ac_optarg ;; 284 501 285 502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 286 503 ac_prev=prefix ;; 287 504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 288 prefix= "$ac_optarg";;505 prefix=$ac_optarg ;; 289 506 290 507 -program-prefix | --program-prefix | --program-prefi | --program-pref \ … … 293 510 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 294 511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 295 program_prefix= "$ac_optarg";;512 program_prefix=$ac_optarg ;; 296 513 297 514 -program-suffix | --program-suffix | --program-suffi | --program-suff \ … … 300 517 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 301 518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 302 program_suffix= "$ac_optarg";;519 program_suffix=$ac_optarg ;; 303 520 304 521 -program-transform-name | --program-transform-name \ … … 317 534 | --program-trans=* | --program-tran=* \ 318 535 | --progr-tra=* | --program-tr=* | --program-t=*) 319 program_transform_name= "$ac_optarg";;536 program_transform_name=$ac_optarg ;; 320 537 321 538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 327 544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 328 545 | --sbi=* | --sb=*) 329 sbindir= "$ac_optarg";;546 sbindir=$ac_optarg ;; 330 547 331 548 -sharedstatedir | --sharedstatedir | --sharedstatedi \ … … 338 555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 339 556 | --sha=* | --sh=*) 340 sharedstatedir= "$ac_optarg";;557 sharedstatedir=$ac_optarg ;; 341 558 342 559 -site | --site | --sit) 343 560 ac_prev=site ;; 344 561 -site=* | --site=* | --sit=*) 345 site= "$ac_optarg";;562 site=$ac_optarg ;; 346 563 347 564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 348 565 ac_prev=srcdir ;; 349 566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 350 srcdir= "$ac_optarg";;567 srcdir=$ac_optarg ;; 351 568 352 569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ … … 355 572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 356 573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 357 sysconfdir= "$ac_optarg";;574 sysconfdir=$ac_optarg ;; 358 575 359 576 -target | --target | --targe | --targ | --tar | --ta | --t) 360 ac_prev=target ;;577 ac_prev=target_alias ;; 361 578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 362 target ="$ac_optarg";;579 target_alias=$ac_optarg ;; 363 580 364 581 -v | -verbose | --verbose | --verbos | --verbo | --verb) 365 582 verbose=yes ;; 366 583 367 -version | --version | --versio | --versi | --vers) 368 echo "configure generated by autoconf version 2.13" 369 exit 0 ;; 584 -version | --version | --versio | --versi | --vers | -V) 585 ac_init_version=: ;; 370 586 371 587 -with-* | --with-*) 372 ac_package=`e cho $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 373 589 # Reject names that are not valid shell variable names. 374 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then375 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }376 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; }; } 377 593 ac_package=`echo $ac_package| sed 's/-/_/g'` 378 case "$ac_option"in379 *=*) ;;594 case $ac_option in 595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 380 596 *) ac_optarg=yes ;; 381 597 esac 382 eval "with_$ {ac_package}='$ac_optarg'" ;;598 eval "with_$ac_package='$ac_optarg'" ;; 383 599 384 600 -without-* | --without-*) 385 ac_package=`e cho $ac_option|sed -e 's/-*without-//'`601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 386 602 # Reject names that are not valid shell variable names. 387 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then388 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }389 fi390 ac_package=`echo $ac_package | sed 's/-/_/g'`391 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" ;; 392 608 393 609 --x) … … 400 616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 401 617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 402 x_includes= "$ac_optarg";;618 x_includes=$ac_optarg ;; 403 619 404 620 -x-libraries | --x-libraries | --x-librarie | --x-librari \ … … 407 623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 408 624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 409 x_libraries="$ac_optarg" ;; 410 411 -*) { 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; }; } 412 630 ;; 413 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 414 642 *) 415 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 416 echo "configure: warning: $ac_option: invalid host type" 1>&2 417 fi 418 if test "x$nonopt" != xNONE; then 419 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 420 fi 421 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} 422 648 ;; 423 649 … … 426 652 427 653 if test -n "$ac_prev"; then 428 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 429 fi 430 431 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 432 433 # File descriptor usage: 434 # 0 standard input 435 # 1 file creation 436 # 2 errors and warnings 437 # 3 some systems may open it to /dev/tty 438 # 4 used on the Kubota Titan 439 # 6 checking for... messages and results 440 # 5 compiler messages saved in config.log 441 if test "$silent" = yes; then 442 exec 6>/dev/null 443 else 444 exec 6>&1 445 fi 446 exec 5>./config.log 447 448 echo "\ 449 This file contains any messages produced by compilers while 450 running configure, to aid debugging if configure makes a mistake. 451 " 1>&5 452 453 # Strip out --no-create and --no-recursion so they do not pile up. 454 # Also quote any args containing shell metacharacters. 455 ac_configure_args= 456 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 457 661 do 458 case "$ac_arg" in 459 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 460 | --no-cr | --no-c) ;; 461 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 462 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 463 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 464 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 465 *) 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; }; };; 466 667 esac 467 668 done 468 669 469 # NLS nuisances. 470 # Only set these to C if already set. These must not be set unconditionally 471 # because not all systems understand e.g. LANG=C (notably SCO). 472 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 473 # Non-C LC_CTYPE values break the ctype check. 474 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 475 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 476 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 477 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 478 479 # confdefs.h avoids OS command line length limits that DEFS can exceed. 480 rm -rf conftest* confdefs.h 481 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 482 echo > confdefs.h 483 484 # A filename unique to this package, relative to the directory that 485 # configure is in, which we can look for to find out if srcdir is correct. 486 ac_unique_file=mmalloc.cc 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 487 705 488 706 # Find the source files, if location was not specified. … … 490 708 ac_srcdir_defaulted=yes 491 709 # Try the directory containing this script, then its parent. 492 ac_prog=$0 493 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 494 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'` 495 722 srcdir=$ac_confdir 496 723 if test ! -r $srcdir/$ac_unique_file; then … … 502 729 if test ! -r $srcdir/$ac_unique_file; then 503 730 if test "$ac_srcdir_defaulted" = yes; then 504 { 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; }; } 505 733 else 506 { 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; }; } 507 736 fi 508 737 fi 509 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 510 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 ac_env_CXX_set=${CXX+set} 775 ac_env_CXX_value=$CXX 776 ac_cv_env_CXX_set=${CXX+set} 777 ac_cv_env_CXX_value=$CXX 778 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 779 ac_env_CXXFLAGS_value=$CXXFLAGS 780 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 781 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 782 ac_env_CXXCPP_set=${CXXCPP+set} 783 ac_env_CXXCPP_value=$CXXCPP 784 ac_cv_env_CXXCPP_set=${CXXCPP+set} 785 ac_cv_env_CXXCPP_value=$CXXCPP 786 787 # 788 # Report the --help message. 789 # 790 if test "$ac_init_help" = "long"; then 791 # Omit some internal or obsolete options to make the list less imposing. 792 # This message is too long to be a string in the A/UX 3.1 sh. 793 cat <<_ACEOF 794 \`configure' configures this package to adapt to many kinds of systems. 795 796 Usage: $0 [OPTION]... [VAR=VALUE]... 797 798 To assign environment variables (e.g., CC, CFLAGS...), specify them as 799 VAR=VALUE. See below for descriptions of some of the useful variables. 800 801 Defaults for the options are specified in brackets. 802 803 Configuration: 804 -h, --help display this help and exit 805 --help=short display options specific to this package 806 --help=recursive display the short help of all the included packages 807 -V, --version display version information and exit 808 -q, --quiet, --silent do not print \`checking...' messages 809 --cache-file=FILE cache test results in FILE [disabled] 810 -C, --config-cache alias for \`--cache-file=config.cache' 811 -n, --no-create do not create output files 812 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 813 814 _ACEOF 815 816 cat <<_ACEOF 817 Installation directories: 818 --prefix=PREFIX install architecture-independent files in PREFIX 819 [$ac_default_prefix] 820 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 821 [PREFIX] 822 823 By default, \`make install' will install all the files in 824 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 825 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 826 for instance \`--prefix=\$HOME'. 827 828 For better control, use the options below. 829 830 Fine tuning of the installation directories: 831 --bindir=DIR user executables [EPREFIX/bin] 832 --sbindir=DIR system admin executables [EPREFIX/sbin] 833 --libexecdir=DIR program executables [EPREFIX/libexec] 834 --datadir=DIR read-only architecture-independent data [PREFIX/share] 835 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 836 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 837 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 838 --libdir=DIR object code libraries [EPREFIX/lib] 839 --includedir=DIR C header files [PREFIX/include] 840 --oldincludedir=DIR C header files for non-gcc [/usr/include] 841 --infodir=DIR info documentation [PREFIX/info] 842 --mandir=DIR man documentation [PREFIX/man] 843 _ACEOF 844 845 cat <<\_ACEOF 846 _ACEOF 847 fi 848 849 if test -n "$ac_init_help"; then 850 851 cat <<\_ACEOF 852 853 Optional Packages: 854 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 855 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 856 --with-rootdir=DIR use DIR ass compiled-in root directory 857 (default is PREFIX) 858 --with-lex=LEX,no uses LEX as lex program, default is flex 859 --with-readline=dynamic,static,no 860 do use dynamic/static/no readline for fancy display 861 --without-MP do not use MP (no MP links) 862 --without-dbm do not use dbm (no DBM links) 863 --without-factory do not use factory (no poly factorization) 864 --without-libfac do not use libfac (no primary decompositions) 865 --with-namespaces do compile namespace support 866 --without-dl do not use dynamic linking, modules, and kernel 867 --with-dynamic-modules do compile with dynamic modules support 868 --without-dynamic-kernel 869 do not compile with dynamic kernel parts 870 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic 871 --with-Plural do compile with Plural support 872 --with-NTL build for use with NTL. 873 874 Some influential environment variables: 875 CC C compiler command 876 CFLAGS C compiler flags 877 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 878 nonstandard directory <lib dir> 879 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 880 headers in a nonstandard directory <include dir> 881 CPP C preprocessor 882 CXX C++ compiler command 883 CXXFLAGS C++ compiler flags 884 CXXCPP C++ preprocessor 885 886 Use these variables to override the choices made by `configure' or to help 887 it to find libraries and programs with nonstandard names/locations. 888 889 _ACEOF 890 fi 891 892 if test "$ac_init_help" = "recursive"; then 893 # If there are subdirs, report their specific --help. 894 ac_popdir=`pwd` 895 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 896 test -d $ac_dir || continue 897 ac_builddir=. 898 899 if test "$ac_dir" != .; then 900 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 901 # A "../" for each directory in $ac_dir_suffix. 902 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 903 else 904 ac_dir_suffix= ac_top_builddir= 905 fi 906 907 case $srcdir in 908 .) # No --srcdir option. We are building in place. 909 ac_srcdir=. 910 if test -z "$ac_top_builddir"; then 911 ac_top_srcdir=. 912 else 913 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 914 fi ;; 915 [\\/]* | ?:[\\/]* ) # Absolute path. 916 ac_srcdir=$srcdir$ac_dir_suffix; 917 ac_top_srcdir=$srcdir ;; 918 *) # Relative path. 919 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 920 ac_top_srcdir=$ac_top_builddir$srcdir ;; 921 esac 922 923 # Do not use `cd foo && pwd` to compute absolute paths, because 924 # the directories may not exist. 925 case `pwd` in 926 .) ac_abs_builddir="$ac_dir";; 927 *) 928 case "$ac_dir" in 929 .) ac_abs_builddir=`pwd`;; 930 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 931 *) ac_abs_builddir=`pwd`/"$ac_dir";; 932 esac;; 933 esac 934 case $ac_abs_builddir in 935 .) ac_abs_top_builddir=${ac_top_builddir}.;; 936 *) 937 case ${ac_top_builddir}. in 938 .) ac_abs_top_builddir=$ac_abs_builddir;; 939 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 940 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 941 esac;; 942 esac 943 case $ac_abs_builddir in 944 .) ac_abs_srcdir=$ac_srcdir;; 945 *) 946 case $ac_srcdir in 947 .) ac_abs_srcdir=$ac_abs_builddir;; 948 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 949 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 950 esac;; 951 esac 952 case $ac_abs_builddir in 953 .) ac_abs_top_srcdir=$ac_top_srcdir;; 954 *) 955 case $ac_top_srcdir in 956 .) ac_abs_top_srcdir=$ac_abs_builddir;; 957 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 958 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 959 esac;; 960 esac 961 962 cd $ac_dir 963 # Check for guested configure; otherwise get Cygnus style configure. 964 if test -f $ac_srcdir/configure.gnu; then 965 echo 966 $SHELL $ac_srcdir/configure.gnu --help=recursive 967 elif test -f $ac_srcdir/configure; then 968 echo 969 $SHELL $ac_srcdir/configure --help=recursive 970 elif test -f $ac_srcdir/configure.ac || 971 test -f $ac_srcdir/configure.in; then 972 echo 973 $ac_configure --help 974 else 975 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 976 fi 977 cd $ac_popdir 978 done 979 fi 980 981 test -n "$ac_init_help" && exit 0 982 if $ac_init_version; then 983 cat <<\_ACEOF 984 985 Copyright (C) 2003 Free Software Foundation, Inc. 986 This configure script is free software; the Free Software Foundation 987 gives unlimited permission to copy, distribute and modify it. 988 _ACEOF 989 exit 0 990 fi 991 exec 5>config.log 992 cat >&5 <<_ACEOF 993 This file contains any messages produced by compilers while 994 running configure, to aid debugging if configure makes a mistake. 995 996 It was created by $as_me, which was 997 generated by GNU Autoconf 2.59. Invocation command line was 998 999 $ $0 $@ 1000 1001 _ACEOF 1002 { 1003 cat <<_ASUNAME 1004 ## --------- ## 1005 ## Platform. ## 1006 ## --------- ## 1007 1008 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1009 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1010 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1011 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1012 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1013 1014 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1015 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1016 1017 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1018 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1019 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1020 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1021 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1022 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1023 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1024 1025 _ASUNAME 1026 1027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1028 for as_dir in $PATH 1029 do 1030 IFS=$as_save_IFS 1031 test -z "$as_dir" && as_dir=. 1032 echo "PATH: $as_dir" 1033 done 1034 1035 } >&5 1036 1037 cat >&5 <<_ACEOF 1038 1039 1040 ## ----------- ## 1041 ## Core tests. ## 1042 ## ----------- ## 1043 1044 _ACEOF 1045 1046 1047 # Keep a trace of the command line. 1048 # Strip out --no-create and --no-recursion so they do not pile up. 1049 # Strip out --silent because we don't want to record it for future runs. 1050 # Also quote any args containing shell meta-characters. 1051 # Make two passes to allow for proper duplicate-argument suppression. 1052 ac_configure_args= 1053 ac_configure_args0= 1054 ac_configure_args1= 1055 ac_sep= 1056 ac_must_keep_next=false 1057 for ac_pass in 1 2 1058 do 1059 for ac_arg 1060 do 1061 case $ac_arg in 1062 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1064 | -silent | --silent | --silen | --sile | --sil) 1065 continue ;; 1066 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1067 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1068 esac 1069 case $ac_pass in 1070 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1071 2) 1072 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1073 if test $ac_must_keep_next = true; then 1074 ac_must_keep_next=false # Got value, back to normal. 1075 else 1076 case $ac_arg in 1077 *=* | --config-cache | -C | -disable-* | --disable-* \ 1078 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1079 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1080 | -with-* | --with-* | -without-* | --without-* | --x) 1081 case "$ac_configure_args0 " in 1082 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1083 esac 1084 ;; 1085 -* ) ac_must_keep_next=true ;; 1086 esac 1087 fi 1088 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1089 # Get rid of the leading space. 1090 ac_sep=" " 1091 ;; 1092 esac 1093 done 1094 done 1095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1097 1098 # When interrupted or exit'd, cleanup temporary files, and complete 1099 # config.log. We remove comments because anyway the quotes in there 1100 # would cause problems or look ugly. 1101 # WARNING: Be sure not to use single quotes in there, as some shells, 1102 # such as our DU 5.0 friend, will then `close' the trap. 1103 trap 'exit_status=$? 1104 # Save into config.log some information that might help in debugging. 1105 { 1106 echo 1107 1108 cat <<\_ASBOX 1109 ## ---------------- ## 1110 ## Cache variables. ## 1111 ## ---------------- ## 1112 _ASBOX 1113 echo 1114 # The following way of writing the cache mishandles newlines in values, 1115 { 1116 (set) 2>&1 | 1117 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1118 *ac_space=\ *) 1119 sed -n \ 1120 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1121 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1122 ;; 1123 *) 1124 sed -n \ 1125 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1126 ;; 1127 esac; 1128 } 1129 echo 1130 1131 cat <<\_ASBOX 1132 ## ----------------- ## 1133 ## Output variables. ## 1134 ## ----------------- ## 1135 _ASBOX 1136 echo 1137 for ac_var in $ac_subst_vars 1138 do 1139 eval ac_val=$`echo $ac_var` 1140 echo "$ac_var='"'"'$ac_val'"'"'" 1141 done | sort 1142 echo 1143 1144 if test -n "$ac_subst_files"; then 1145 cat <<\_ASBOX 1146 ## ------------- ## 1147 ## Output files. ## 1148 ## ------------- ## 1149 _ASBOX 1150 echo 1151 for ac_var in $ac_subst_files 1152 do 1153 eval ac_val=$`echo $ac_var` 1154 echo "$ac_var='"'"'$ac_val'"'"'" 1155 done | sort 1156 echo 1157 fi 1158 1159 if test -s confdefs.h; then 1160 cat <<\_ASBOX 1161 ## ----------- ## 1162 ## confdefs.h. ## 1163 ## ----------- ## 1164 _ASBOX 1165 echo 1166 sed "/^$/d" confdefs.h | sort 1167 echo 1168 fi 1169 test "$ac_signal" != 0 && 1170 echo "$as_me: caught signal $ac_signal" 1171 echo "$as_me: exit $exit_status" 1172 } >&5 1173 rm -f core *.core && 1174 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1175 exit $exit_status 1176 ' 0 1177 for ac_signal in 1 2 13 15; do 1178 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1179 done 1180 ac_signal=0 1181 1182 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1183 rm -rf conftest* confdefs.h 1184 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1185 echo >confdefs.h 1186 1187 # Predefined preprocessor variables. 1188 1189 cat >>confdefs.h <<_ACEOF 1190 #define PACKAGE_NAME "$PACKAGE_NAME" 1191 _ACEOF 1192 1193 1194 cat >>confdefs.h <<_ACEOF 1195 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1196 _ACEOF 1197 1198 1199 cat >>confdefs.h <<_ACEOF 1200 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1201 _ACEOF 1202 1203 1204 cat >>confdefs.h <<_ACEOF 1205 #define PACKAGE_STRING "$PACKAGE_STRING" 1206 _ACEOF 1207 1208 1209 cat >>confdefs.h <<_ACEOF 1210 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1211 _ACEOF 1212 1213 1214 # Let the site file select an alternate cache file if it wants to. 511 1215 # Prefer explicitly selected file to automatically selected ones. 512 1216 if test -z "$CONFIG_SITE"; then … … 519 1223 for ac_site_file in $CONFIG_SITE; do 520 1224 if test -r "$ac_site_file"; then 521 echo "loading site script $ac_site_file" 1225 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1226 echo "$as_me: loading site script $ac_site_file" >&6;} 1227 sed 's/^/| /' "$ac_site_file" >&5 522 1228 . "$ac_site_file" 523 1229 fi … … 525 1231 526 1232 if test -r "$cache_file"; then 527 echo "loading cache $cache_file" 528 . $cache_file 529 else 530 echo "creating cache $cache_file" 531 > $cache_file 1233 # Some versions of bash will fail to source /dev/null (special 1234 # files actually), so we avoid doing that. 1235 if test -f "$cache_file"; then 1236 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1237 echo "$as_me: loading cache $cache_file" >&6;} 1238 case $cache_file in 1239 [\\/]* | ?:[\\/]* ) . $cache_file;; 1240 *) . ./$cache_file;; 1241 esac 1242 fi 1243 else 1244 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1245 echo "$as_me: creating cache $cache_file" >&6;} 1246 >$cache_file 1247 fi 1248 1249 # Check that the precious variables saved in the cache have kept the same 1250 # value. 1251 ac_cache_corrupted=false 1252 for ac_var in `(set) 2>&1 | 1253 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1254 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1255 eval ac_new_set=\$ac_env_${ac_var}_set 1256 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1257 eval ac_new_val="\$ac_env_${ac_var}_value" 1258 case $ac_old_set,$ac_new_set in 1259 set,) 1260 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1261 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1262 ac_cache_corrupted=: ;; 1263 ,set) 1264 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1265 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1266 ac_cache_corrupted=: ;; 1267 ,);; 1268 *) 1269 if test "x$ac_old_val" != "x$ac_new_val"; then 1270 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1271 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1272 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1273 echo "$as_me: former value: $ac_old_val" >&2;} 1274 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1275 echo "$as_me: current value: $ac_new_val" >&2;} 1276 ac_cache_corrupted=: 1277 fi;; 1278 esac 1279 # Pass precious variables to config.status. 1280 if test "$ac_new_set" = set; then 1281 case $ac_new_val in 1282 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1283 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1284 *) ac_arg=$ac_var=$ac_new_val ;; 1285 esac 1286 case " $ac_configure_args " in 1287 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1288 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1289 esac 1290 fi 1291 done 1292 if $ac_cache_corrupted; then 1293 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1294 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1295 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1296 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1297 { (exit 1); exit 1; }; } 532 1298 fi 533 1299 534 1300 ac_ext=c 535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.536 1301 ac_cpp='$CPP $CPPFLAGS' 537 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 538 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 539 cross_compiling=$ac_cv_prog_cc_cross 540 541 ac_exeext= 542 ac_objext=o 543 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 544 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 545 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 546 ac_n= ac_c=' 547 ' ac_t=' ' 548 else 549 ac_n=-n ac_c= ac_t= 550 fi 551 else 552 ac_n= ac_c='\c' ac_t= 553 fi 554 555 556 557 558 559 560 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 561 echo "configure:562: checking uname for singular" >&5 562 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 563 echo $ac_n "(cached) $ac_c" 1>&6 1302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1304 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 ac_config_headers="$ac_config_headers mod2.h" 1325 1326 ac_config_headers="$ac_config_headers ../kernel/mod2.h" 1327 1328 1329 1330 echo "$as_me:$LINENO: checking uname for singular" >&5 1331 echo $ECHO_N "checking uname for singular... $ECHO_C" >&6 1332 if test "${ac_cv_singuname+set}" = set; then 1333 echo $ECHO_N "(cached) $ECHO_C" >&6 564 1334 else 565 1335 ac_cv_singuname="unknown" … … 577 1347 fi 578 1348 579 echo "$ac_t""$ac_cv_singuname" 1>&6 1349 echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5 1350 echo "${ECHO_T}$ac_cv_singuname" >&6 580 1351 if test "$ac_cv_singuname" = unknown; then 581 echo "configure: warning: Unknown architecture: Check singuname.sh" 1>&2 1352 { echo "$as_me:$LINENO: WARNING: Unknown architecture: Check singuname.sh" >&5 1353 echo "$as_me: WARNING: Unknown architecture: Check singuname.sh" >&2;} 582 1354 ac_cv_singuname="unknown" 583 1355 fi 584 cat >> confdefs.h <<EOF1356 cat >>confdefs.h <<_ACEOF 585 1357 #define S_UNAME "$ac_cv_singuname" 586 EOF1358 _ACEOF 587 1359 588 1360 SINGUNAME=$ac_cv_singuname … … 612 1384 613 1385 614 cat >> confdefs.h <<EOF1386 cat >>confdefs.h <<_ACEOF 615 1387 #define SINGULAR_MAJOR_VERSION ${SINGULAR_MAJOR_VERSION} 616 EOF617 618 cat >> confdefs.h <<EOF1388 _ACEOF 1389 1390 cat >>confdefs.h <<_ACEOF 619 1391 #define SINGULAR_MINOR_VERSION ${SINGULAR_MINOR_VERSION} 620 EOF621 622 cat >> confdefs.h <<EOF1392 _ACEOF 1393 1394 cat >>confdefs.h <<_ACEOF 623 1395 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION} 624 EOF625 626 cat >> confdefs.h <<EOF1396 _ACEOF 1397 1398 cat >>confdefs.h <<_ACEOF 627 1399 #define S_VERSION1 "${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 628 EOF629 630 cat >> confdefs.h <<EOF1400 _ACEOF 1401 1402 cat >>confdefs.h <<_ACEOF 631 1403 #define S_VERSION2 "${VERSION_DATE}" 632 EOF633 634 cat >> confdefs.h <<EOF1404 _ACEOF 1405 1406 cat >>confdefs.h <<_ACEOF 635 1407 #define SINGULAR_SUB_VERSION ${SINGULAR_SUB_VERSION} 636 EOF1408 _ACEOF 637 1409 638 1410 … … 653 1425 ac_cxx_set=yes 654 1426 fi 655 # Extract the first word of "gcc", so it can be a program name with args. 656 set dummy gcc; ac_word=$2 657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 658 echo "configure:659: checking for $ac_word" >&5 659 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 660 echo $ac_n "(cached) $ac_c" 1>&6 1427 ac_ext=c 1428 ac_cpp='$CPP $CPPFLAGS' 1429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1431 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1432 if test -n "$ac_tool_prefix"; then 1433 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1434 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1435 echo "$as_me:$LINENO: checking for $ac_word" >&5 1436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1437 if test "${ac_cv_prog_CC+set}" = set; then 1438 echo $ECHO_N "(cached) $ECHO_C" >&6 661 1439 else 662 1440 if test -n "$CC"; then 663 1441 ac_cv_prog_CC="$CC" # Let the user override the test. 664 1442 else 665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 666 ac_dummy="$PATH" 667 for ac_dir in $ac_dummy; do 668 test -z "$ac_dir" && ac_dir=. 669 if test -f $ac_dir/$ac_word; then 670 ac_cv_prog_CC="gcc" 671 break 672 fi 673 done 674 IFS="$ac_save_ifs" 675 fi 676 fi 677 CC="$ac_cv_prog_CC" 1443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1444 for as_dir in $PATH 1445 do 1446 IFS=$as_save_IFS 1447 test -z "$as_dir" && as_dir=. 1448 for ac_exec_ext in '' $ac_executable_extensions; do 1449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1450 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1452 break 2 1453 fi 1454 done 1455 done 1456 1457 fi 1458 fi 1459 CC=$ac_cv_prog_CC 678 1460 if test -n "$CC"; then 679 echo "$ac_t""$CC" 1>&6 680 else 681 echo "$ac_t""no" 1>&6 682 fi 683 1461 echo "$as_me:$LINENO: result: $CC" >&5 1462 echo "${ECHO_T}$CC" >&6 1463 else 1464 echo "$as_me:$LINENO: result: no" >&5 1465 echo "${ECHO_T}no" >&6 1466 fi 1467 1468 fi 1469 if test -z "$ac_cv_prog_CC"; then 1470 ac_ct_CC=$CC 1471 # Extract the first word of "gcc", so it can be a program name with args. 1472 set dummy gcc; ac_word=$2 1473 echo "$as_me:$LINENO: checking for $ac_word" >&5 1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1475 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1476 echo $ECHO_N "(cached) $ECHO_C" >&6 1477 else 1478 if test -n "$ac_ct_CC"; then 1479 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1480 else 1481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1482 for as_dir in $PATH 1483 do 1484 IFS=$as_save_IFS 1485 test -z "$as_dir" && as_dir=. 1486 for ac_exec_ext in '' $ac_executable_extensions; do 1487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1488 ac_cv_prog_ac_ct_CC="gcc" 1489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1490 break 2 1491 fi 1492 done 1493 done 1494 1495 fi 1496 fi 1497 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1498 if test -n "$ac_ct_CC"; then 1499 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1500 echo "${ECHO_T}$ac_ct_CC" >&6 1501 else 1502 echo "$as_me:$LINENO: result: no" >&5 1503 echo "${ECHO_T}no" >&6 1504 fi 1505 1506 CC=$ac_ct_CC 1507 else 1508 CC="$ac_cv_prog_CC" 1509 fi 1510 1511 if test -z "$CC"; then 1512 if test -n "$ac_tool_prefix"; then 1513 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1514 set dummy ${ac_tool_prefix}cc; ac_word=$2 1515 echo "$as_me:$LINENO: checking for $ac_word" >&5 1516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1517 if test "${ac_cv_prog_CC+set}" = set; then 1518 echo $ECHO_N "(cached) $ECHO_C" >&6 1519 else 1520 if test -n "$CC"; then 1521 ac_cv_prog_CC="$CC" # Let the user override the test. 1522 else 1523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1524 for as_dir in $PATH 1525 do 1526 IFS=$as_save_IFS 1527 test -z "$as_dir" && as_dir=. 1528 for ac_exec_ext in '' $ac_executable_extensions; do 1529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1530 ac_cv_prog_CC="${ac_tool_prefix}cc" 1531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1532 break 2 1533 fi 1534 done 1535 done 1536 1537 fi 1538 fi 1539 CC=$ac_cv_prog_CC 1540 if test -n "$CC"; then 1541 echo "$as_me:$LINENO: result: $CC" >&5 1542 echo "${ECHO_T}$CC" >&6 1543 else 1544 echo "$as_me:$LINENO: result: no" >&5 1545 echo "${ECHO_T}no" >&6 1546 fi 1547 1548 fi 1549 if test -z "$ac_cv_prog_CC"; then 1550 ac_ct_CC=$CC 1551 # Extract the first word of "cc", so it can be a program name with args. 1552 set dummy cc; ac_word=$2 1553 echo "$as_me:$LINENO: checking for $ac_word" >&5 1554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1556 echo $ECHO_N "(cached) $ECHO_C" >&6 1557 else 1558 if test -n "$ac_ct_CC"; then 1559 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1560 else 1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1562 for as_dir in $PATH 1563 do 1564 IFS=$as_save_IFS 1565 test -z "$as_dir" && as_dir=. 1566 for ac_exec_ext in '' $ac_executable_extensions; do 1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1568 ac_cv_prog_ac_ct_CC="cc" 1569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1570 break 2 1571 fi 1572 done 1573 done 1574 1575 fi 1576 fi 1577 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1578 if test -n "$ac_ct_CC"; then 1579 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1580 echo "${ECHO_T}$ac_ct_CC" >&6 1581 else 1582 echo "$as_me:$LINENO: result: no" >&5 1583 echo "${ECHO_T}no" >&6 1584 fi 1585 1586 CC=$ac_ct_CC 1587 else 1588 CC="$ac_cv_prog_CC" 1589 fi 1590 1591 fi 684 1592 if test -z "$CC"; then 685 1593 # Extract the first word of "cc", so it can be a program name with args. 686 1594 set dummy cc; ac_word=$2 687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6688 echo "configure:689: checking for $ac_word" >&5689 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then690 echo $ ac_n "(cached) $ac_c" 1>&61595 echo "$as_me:$LINENO: checking for $ac_word" >&5 1596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1597 if test "${ac_cv_prog_CC+set}" = set; then 1598 echo $ECHO_N "(cached) $ECHO_C" >&6 691 1599 else 692 1600 if test -n "$CC"; then 693 1601 ac_cv_prog_CC="$CC" # Let the user override the test. 694 1602 else 695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"696 1603 ac_prog_rejected=no 697 ac_dummy="$PATH" 698 for ac_dir in $ac_dummy; do 699 test -z "$ac_dir" && ac_dir=. 700 if test -f $ac_dir/$ac_word; then 701 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 702 ac_prog_rejected=yes 703 continue 704 fi 705 ac_cv_prog_CC="cc" 706 break 707 fi 708 done 709 IFS="$ac_save_ifs" 1604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1605 for as_dir in $PATH 1606 do 1607 IFS=$as_save_IFS 1608 test -z "$as_dir" && as_dir=. 1609 for ac_exec_ext in '' $ac_executable_extensions; do 1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1611 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1612 ac_prog_rejected=yes 1613 continue 1614 fi 1615 ac_cv_prog_CC="cc" 1616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1617 break 2 1618 fi 1619 done 1620 done 1621 710 1622 if test $ac_prog_rejected = yes; then 711 1623 # We found a bogon in the path, so make sure we never use it. 712 1624 set dummy $ac_cv_prog_CC 713 1625 shift 714 if test $# -gt0; then1626 if test $# != 0; then 715 1627 # We chose a different compiler from the bogus one. 716 1628 # However, it has the same basename, so the bogon will be chosen 717 1629 # first if we set CC to just the basename; use the full file name. 718 1630 shift 719 set dummy "$ac_dir/$ac_word" "$@" 720 shift 721 ac_cv_prog_CC="$@" 1631 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 722 1632 fi 723 1633 fi 724 1634 fi 725 1635 fi 726 CC= "$ac_cv_prog_CC"1636 CC=$ac_cv_prog_CC 727 1637 if test -n "$CC"; then 728 echo "$ac_t""$CC" 1>&6 729 else 730 echo "$ac_t""no" 1>&6 731 fi 732 733 if test -z "$CC"; then 734 case "`uname -s`" in 735 *win32* | *WIN32*) 736 # Extract the first word of "cl", so it can be a program name with args. 737 set dummy cl; ac_word=$2 738 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 739 echo "configure:740: checking for $ac_word" >&5 740 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 741 echo $ac_n "(cached) $ac_c" 1>&6 1638 echo "$as_me:$LINENO: result: $CC" >&5 1639 echo "${ECHO_T}$CC" >&6 1640 else 1641 echo "$as_me:$LINENO: result: no" >&5 1642 echo "${ECHO_T}no" >&6 1643 fi 1644 1645 fi 1646 if test -z "$CC"; then 1647 if test -n "$ac_tool_prefix"; then 1648 for ac_prog in cl 1649 do 1650 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1651 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1652 echo "$as_me:$LINENO: checking for $ac_word" >&5 1653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1654 if test "${ac_cv_prog_CC+set}" = set; then 1655 echo $ECHO_N "(cached) $ECHO_C" >&6 742 1656 else 743 1657 if test -n "$CC"; then 744 1658 ac_cv_prog_CC="$CC" # Let the user override the test. 745 1659 else 746 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 747 ac_dummy="$PATH" 748 for ac_dir in $ac_dummy; do 749 test -z "$ac_dir" && ac_dir=. 750 if test -f $ac_dir/$ac_word; then 751 ac_cv_prog_CC="cl" 752 break 1660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1661 for as_dir in $PATH 1662 do 1663 IFS=$as_save_IFS 1664 test -z "$as_dir" && as_dir=. 1665 for ac_exec_ext in '' $ac_executable_extensions; do 1666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1667 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1669 break 2 1670 fi 1671 done 1672 done 1673 1674 fi 1675 fi 1676 CC=$ac_cv_prog_CC 1677 if test -n "$CC"; then 1678 echo "$as_me:$LINENO: result: $CC" >&5 1679 echo "${ECHO_T}$CC" >&6 1680 else 1681 echo "$as_me:$LINENO: result: no" >&5 1682 echo "${ECHO_T}no" >&6 1683 fi 1684 1685 test -n "$CC" && break 1686 done 1687 fi 1688 if test -z "$CC"; then 1689 ac_ct_CC=$CC 1690 for ac_prog in cl 1691 do 1692 # Extract the first word of "$ac_prog", so it can be a program name with args. 1693 set dummy $ac_prog; ac_word=$2 1694 echo "$as_me:$LINENO: checking for $ac_word" >&5 1695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1697 echo $ECHO_N "(cached) $ECHO_C" >&6 1698 else 1699 if test -n "$ac_ct_CC"; then 1700 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1701 else 1702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1703 for as_dir in $PATH 1704 do 1705 IFS=$as_save_IFS 1706 test -z "$as_dir" && as_dir=. 1707 for ac_exec_ext in '' $ac_executable_extensions; do 1708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1709 ac_cv_prog_ac_ct_CC="$ac_prog" 1710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1711 break 2 1712 fi 1713 done 1714 done 1715 1716 fi 1717 fi 1718 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1719 if test -n "$ac_ct_CC"; then 1720 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1721 echo "${ECHO_T}$ac_ct_CC" >&6 1722 else 1723 echo "$as_me:$LINENO: result: no" >&5 1724 echo "${ECHO_T}no" >&6 1725 fi 1726 1727 test -n "$ac_ct_CC" && break 1728 done 1729 1730 CC=$ac_ct_CC 1731 fi 1732 1733 fi 1734 1735 1736 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1737 See \`config.log' for more details." >&5 1738 echo "$as_me: error: no acceptable C compiler found in \$PATH 1739 See \`config.log' for more details." >&2;} 1740 { (exit 1); exit 1; }; } 1741 1742 # Provide some information about the compiler. 1743 echo "$as_me:$LINENO:" \ 1744 "checking for C compiler version" >&5 1745 ac_compiler=`set X $ac_compile; echo $2` 1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1747 (eval $ac_compiler --version </dev/null >&5) 2>&5 1748 ac_status=$? 1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1750 (exit $ac_status); } 1751 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1752 (eval $ac_compiler -v </dev/null >&5) 2>&5 1753 ac_status=$? 1754 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1755 (exit $ac_status); } 1756 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1757 (eval $ac_compiler -V </dev/null >&5) 2>&5 1758 ac_status=$? 1759 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1760 (exit $ac_status); } 1761 1762 cat >conftest.$ac_ext <<_ACEOF 1763 /* confdefs.h. */ 1764 _ACEOF 1765 cat confdefs.h >>conftest.$ac_ext 1766 cat >>conftest.$ac_ext <<_ACEOF 1767 /* end confdefs.h. */ 1768 1769 int 1770 main () 1771 { 1772 1773 ; 1774 return 0; 1775 } 1776 _ACEOF 1777 ac_clean_files_save=$ac_clean_files 1778 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1779 # Try to create an executable without -o first, disregard a.out. 1780 # It will help us diagnose broken compilers, and finding out an intuition 1781 # of exeext. 1782 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1783 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1784 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1785 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1786 (eval $ac_link_default) 2>&5 1787 ac_status=$? 1788 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1789 (exit $ac_status); }; then 1790 # Find the output, starting from the most likely. This scheme is 1791 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1792 # resort. 1793 1794 # Be careful to initialize this variable, since it used to be cached. 1795 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1796 ac_cv_exeext= 1797 # b.out is created by i960 compilers. 1798 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1799 do 1800 test -f "$ac_file" || continue 1801 case $ac_file in 1802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1803 ;; 1804 conftest.$ac_ext ) 1805 # This is the source file. 1806 ;; 1807 [ab].out ) 1808 # We found the default executable, but exeext='' is most 1809 # certainly right. 1810 break;; 1811 *.* ) 1812 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1813 # FIXME: I believe we export ac_cv_exeext for Libtool, 1814 # but it would be cool to find out if it's true. Does anybody 1815 # maintain Libtool? --akim. 1816 export ac_cv_exeext 1817 break;; 1818 * ) 1819 break;; 1820 esac 1821 done 1822 else 1823 echo "$as_me: failed program was:" >&5 1824 sed 's/^/| /' conftest.$ac_ext >&5 1825 1826 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1827 See \`config.log' for more details." >&5 1828 echo "$as_me: error: C compiler cannot create executables 1829 See \`config.log' for more details." >&2;} 1830 { (exit 77); exit 77; }; } 1831 fi 1832 1833 ac_exeext=$ac_cv_exeext 1834 echo "$as_me:$LINENO: result: $ac_file" >&5 1835 echo "${ECHO_T}$ac_file" >&6 1836 1837 # Check the compiler produces executables we can run. If not, either 1838 # the compiler is broken, or we cross compile. 1839 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1840 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1842 # If not cross compiling, check that we can run a simple program. 1843 if test "$cross_compiling" != yes; then 1844 if { ac_try='./$ac_file' 1845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1846 (eval $ac_try) 2>&5 1847 ac_status=$? 1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1849 (exit $ac_status); }; }; then 1850 cross_compiling=no 1851 else 1852 if test "$cross_compiling" = maybe; then 1853 cross_compiling=yes 1854 else 1855 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1856 If you meant to cross compile, use \`--host'. 1857 See \`config.log' for more details." >&5 1858 echo "$as_me: error: cannot run C compiled programs. 1859 If you meant to cross compile, use \`--host'. 1860 See \`config.log' for more details." >&2;} 1861 { (exit 1); exit 1; }; } 753 1862 fi 754 done755 IFS="$ac_save_ifs"756 fi757 fi758 CC="$ac_cv_prog_CC"759 if test -n "$CC"; then760 echo "$ac_t""$CC" 1>&6761 else762 echo "$ac_t""no" 1>&6763 fi764 ;;765 esac766 1863 fi 767 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 768 fi 769 770 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 771 echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 772 773 ac_ext=c 774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 775 ac_cpp='$CPP $CPPFLAGS' 776 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 777 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 778 cross_compiling=$ac_cv_prog_cc_cross 779 780 cat > conftest.$ac_ext << EOF 781 782 #line 783 "configure" 783 #include "confdefs.h" 784 785 main(){return(0);} 786 EOF 787 if { (eval echo configure:788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 788 ac_cv_prog_cc_works=yes 789 # If we can't run a trivial program, we are probably using a cross compiler. 790 if (./conftest; exit) 2>/dev/null; then 791 ac_cv_prog_cc_cross=no 792 else 793 ac_cv_prog_cc_cross=yes 794 fi 795 else 796 echo "configure: failed program was:" >&5 797 cat conftest.$ac_ext >&5 798 ac_cv_prog_cc_works=no 799 fi 800 rm -fr conftest* 801 ac_ext=c 802 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 803 ac_cpp='$CPP $CPPFLAGS' 804 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 805 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 806 cross_compiling=$ac_cv_prog_cc_cross 807 808 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 809 if test $ac_cv_prog_cc_works = no; then 810 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 811 fi 812 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 813 echo "configure:814: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 814 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 815 cross_compiling=$ac_cv_prog_cc_cross 816 817 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 818 echo "configure:819: checking whether we are using GNU C" >&5 819 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 820 echo $ac_n "(cached) $ac_c" 1>&6 821 else 822 cat > conftest.c <<EOF 823 #ifdef __GNUC__ 824 yes; 1864 fi 1865 echo "$as_me:$LINENO: result: yes" >&5 1866 echo "${ECHO_T}yes" >&6 1867 1868 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1869 ac_clean_files=$ac_clean_files_save 1870 # Check the compiler produces executables we can run. If not, either 1871 # the compiler is broken, or we cross compile. 1872 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1873 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1874 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1875 echo "${ECHO_T}$cross_compiling" >&6 1876 1877 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1878 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1880 (eval $ac_link) 2>&5 1881 ac_status=$? 1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1883 (exit $ac_status); }; then 1884 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1885 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1886 # work properly (i.e., refer to `conftest.exe'), while it won't with 1887 # `rm'. 1888 for ac_file in conftest.exe conftest conftest.*; do 1889 test -f "$ac_file" || continue 1890 case $ac_file in 1891 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1892 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1893 export ac_cv_exeext 1894 break;; 1895 * ) break;; 1896 esac 1897 done 1898 else 1899 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1900 See \`config.log' for more details." >&5 1901 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1902 See \`config.log' for more details." >&2;} 1903 { (exit 1); exit 1; }; } 1904 fi 1905 1906 rm -f conftest$ac_cv_exeext 1907 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1908 echo "${ECHO_T}$ac_cv_exeext" >&6 1909 1910 rm -f conftest.$ac_ext 1911 EXEEXT=$ac_cv_exeext 1912 ac_exeext=$EXEEXT 1913 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1914 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1915 if test "${ac_cv_objext+set}" = set; then 1916 echo $ECHO_N "(cached) $ECHO_C" >&6 1917 else 1918 cat >conftest.$ac_ext <<_ACEOF 1919 /* confdefs.h. */ 1920 _ACEOF 1921 cat confdefs.h >>conftest.$ac_ext 1922 cat >>conftest.$ac_ext <<_ACEOF 1923 /* end confdefs.h. */ 1924 1925 int 1926 main () 1927 { 1928 1929 ; 1930 return 0; 1931 } 1932 _ACEOF 1933 rm -f conftest.o conftest.obj 1934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1935 (eval $ac_compile) 2>&5 1936 ac_status=$? 1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1938 (exit $ac_status); }; then 1939 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1940 case $ac_file in 1941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1942 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1943 break;; 1944 esac 1945 done 1946 else 1947 echo "$as_me: failed program was:" >&5 1948 sed 's/^/| /' conftest.$ac_ext >&5 1949 1950 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1951 See \`config.log' for more details." >&5 1952 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1953 See \`config.log' for more details." >&2;} 1954 { (exit 1); exit 1; }; } 1955 fi 1956 1957 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1958 fi 1959 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1960 echo "${ECHO_T}$ac_cv_objext" >&6 1961 OBJEXT=$ac_cv_objext 1962 ac_objext=$OBJEXT 1963 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1964 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1965 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1966 echo $ECHO_N "(cached) $ECHO_C" >&6 1967 else 1968 cat >conftest.$ac_ext <<_ACEOF 1969 /* confdefs.h. */ 1970 _ACEOF 1971 cat confdefs.h >>conftest.$ac_ext 1972 cat >>conftest.$ac_ext <<_ACEOF 1973 /* end confdefs.h. */ 1974 1975 int 1976 main () 1977 { 1978 #ifndef __GNUC__ 1979 choke me 825 1980 #endif 826 EOF 827 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 828 ac_cv_prog_gcc=yes 829 else 830 ac_cv_prog_gcc=no 831 fi 832 fi 833 834 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 835 836 if test $ac_cv_prog_gcc = yes; then 837 GCC=yes 838 else 839 GCC= 840 fi 841 842 ac_test_CFLAGS="${CFLAGS+set}" 843 ac_save_CFLAGS="$CFLAGS" 844 CFLAGS= 845 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 846 echo "configure:847: checking whether ${CC-cc} accepts -g" >&5 847 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 848 echo $ac_n "(cached) $ac_c" 1>&6 849 else 850 echo 'void f(){}' > conftest.c 851 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1981 1982 ; 1983 return 0; 1984 } 1985 _ACEOF 1986 rm -f conftest.$ac_objext 1987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1988 (eval $ac_compile) 2>conftest.er1 1989 ac_status=$? 1990 grep -v '^ *+' conftest.er1 >conftest.err 1991 rm -f conftest.er1 1992 cat conftest.err >&5 1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1994 (exit $ac_status); } && 1995 { ac_try='test -z "$ac_c_werror_flag" 1996 || test ! -s conftest.err' 1997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1998 (eval $ac_try) 2>&5 1999 ac_status=$? 2000 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2001 (exit $ac_status); }; } && 2002 { ac_try='test -s conftest.$ac_objext' 2003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2004 (eval $ac_try) 2>&5 2005 ac_status=$? 2006 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2007 (exit $ac_status); }; }; then 2008 ac_compiler_gnu=yes 2009 else 2010 echo "$as_me: failed program was:" >&5 2011 sed 's/^/| /' conftest.$ac_ext >&5 2012 2013 ac_compiler_gnu=no 2014 fi 2015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2016 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2017 2018 fi 2019 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2020 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2021 GCC=`test $ac_compiler_gnu = yes && echo yes` 2022 ac_test_CFLAGS=${CFLAGS+set} 2023 ac_save_CFLAGS=$CFLAGS 2024 CFLAGS="-g" 2025 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2026 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2027 if test "${ac_cv_prog_cc_g+set}" = set; then 2028 echo $ECHO_N "(cached) $ECHO_C" >&6 2029 else 2030 cat >conftest.$ac_ext <<_ACEOF 2031 /* confdefs.h. */ 2032 _ACEOF 2033 cat confdefs.h >>conftest.$ac_ext 2034 cat >>conftest.$ac_ext <<_ACEOF 2035 /* end confdefs.h. */ 2036 2037 int 2038 main () 2039 { 2040 2041 ; 2042 return 0; 2043 } 2044 _ACEOF 2045 rm -f conftest.$ac_objext 2046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2047 (eval $ac_compile) 2>conftest.er1 2048 ac_status=$? 2049 grep -v '^ *+' conftest.er1 >conftest.err 2050 rm -f conftest.er1 2051 cat conftest.err >&5 2052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2053 (exit $ac_status); } && 2054 { ac_try='test -z "$ac_c_werror_flag" 2055 || test ! -s conftest.err' 2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2057 (eval $ac_try) 2>&5 2058 ac_status=$? 2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2060 (exit $ac_status); }; } && 2061 { ac_try='test -s conftest.$ac_objext' 2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2063 (eval $ac_try) 2>&5 2064 ac_status=$? 2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2066 (exit $ac_status); }; }; then 852 2067 ac_cv_prog_cc_g=yes 853 2068 else 854 ac_cv_prog_cc_g=no 855 fi 856 rm -f conftest* 857 858 fi 859 860 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 2069 echo "$as_me: failed program was:" >&5 2070 sed 's/^/| /' conftest.$ac_ext >&5 2071 2072 ac_cv_prog_cc_g=no 2073 fi 2074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2075 fi 2076 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2077 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 861 2078 if test "$ac_test_CFLAGS" = set; then 862 CFLAGS= "$ac_save_CFLAGS"2079 CFLAGS=$ac_save_CFLAGS 863 2080 elif test $ac_cv_prog_cc_g = yes; then 864 2081 if test "$GCC" = yes; then … … 874 2091 fi 875 2092 fi 876 877 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 878 echo "configure:879: checking how to run the C preprocessor" >&5 2093 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2094 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2095 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2096 echo $ECHO_N "(cached) $ECHO_C" >&6 2097 else 2098 ac_cv_prog_cc_stdc=no 2099 ac_save_CC=$CC 2100 cat >conftest.$ac_ext <<_ACEOF 2101 /* confdefs.h. */ 2102 _ACEOF 2103 cat confdefs.h >>conftest.$ac_ext 2104 cat >>conftest.$ac_ext <<_ACEOF 2105 /* end confdefs.h. */ 2106 #include <stdarg.h> 2107 #include <stdio.h> 2108 #include <sys/types.h> 2109 #include <sys/stat.h> 2110 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2111 struct buf { int x; }; 2112 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2113 static char *e (p, i) 2114 char **p; 2115 int i; 2116 { 2117 return p[i]; 2118 } 2119 static char *f (char * (*g) (char **, int), char **p, ...) 2120 { 2121 char *s; 2122 va_list v; 2123 va_start (v,p); 2124 s = g (p, va_arg (v,int)); 2125 va_end (v); 2126 return s; 2127 } 2128 2129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2130 function prototypes and stuff, but not '\xHH' hex character constants. 2131 These don't provoke an error unfortunately, instead are silently treated 2132 as 'x'. The following induces an error, until -std1 is added to get 2133 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2134 array size at least. It's necessary to write '\x00'==0 to get something 2135 that's true only with -std1. */ 2136 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2137 2138 int test (int i, double x); 2139 struct s1 {int (*f) (int a);}; 2140 struct s2 {int (*f) (double a);}; 2141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2142 int argc; 2143 char **argv; 2144 int 2145 main () 2146 { 2147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2148 ; 2149 return 0; 2150 } 2151 _ACEOF 2152 # Don't try gcc -ansi; that turns off useful extensions and 2153 # breaks some systems' header files. 2154 # AIX -qlanglvl=ansi 2155 # Ultrix and OSF/1 -std1 2156 # HP-UX 10.20 and later -Ae 2157 # HP-UX older versions -Aa -D_HPUX_SOURCE 2158 # SVR4 -Xc -D__EXTENSIONS__ 2159 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2160 do 2161 CC="$ac_save_CC $ac_arg" 2162 rm -f conftest.$ac_objext 2163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2164 (eval $ac_compile) 2>conftest.er1 2165 ac_status=$? 2166 grep -v '^ *+' conftest.er1 >conftest.err 2167 rm -f conftest.er1 2168 cat conftest.err >&5 2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2170 (exit $ac_status); } && 2171 { ac_try='test -z "$ac_c_werror_flag" 2172 || test ! -s conftest.err' 2173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2174 (eval $ac_try) 2>&5 2175 ac_status=$? 2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2177 (exit $ac_status); }; } && 2178 { ac_try='test -s conftest.$ac_objext' 2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2180 (eval $ac_try) 2>&5 2181 ac_status=$? 2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2183 (exit $ac_status); }; }; then 2184 ac_cv_prog_cc_stdc=$ac_arg 2185 break 2186 else 2187 echo "$as_me: failed program was:" >&5 2188 sed 's/^/| /' conftest.$ac_ext >&5 2189 2190 fi 2191 rm -f conftest.err conftest.$ac_objext 2192 done 2193 rm -f conftest.$ac_ext conftest.$ac_objext 2194 CC=$ac_save_CC 2195 2196 fi 2197 2198 case "x$ac_cv_prog_cc_stdc" in 2199 x|xno) 2200 echo "$as_me:$LINENO: result: none needed" >&5 2201 echo "${ECHO_T}none needed" >&6 ;; 2202 *) 2203 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2204 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2205 CC="$CC $ac_cv_prog_cc_stdc" ;; 2206 esac 2207 2208 # Some people use a C++ compiler to compile C. Since we use `exit', 2209 # in C++ we need to declare it. In case someone uses the same compiler 2210 # for both compiling C and C++ we need to have the C++ compiler decide 2211 # the declaration of exit, since it's the most demanding environment. 2212 cat >conftest.$ac_ext <<_ACEOF 2213 #ifndef __cplusplus 2214 choke me 2215 #endif 2216 _ACEOF 2217 rm -f conftest.$ac_objext 2218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2219 (eval $ac_compile) 2>conftest.er1 2220 ac_status=$? 2221 grep -v '^ *+' conftest.er1 >conftest.err 2222 rm -f conftest.er1 2223 cat conftest.err >&5 2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2225 (exit $ac_status); } && 2226 { ac_try='test -z "$ac_c_werror_flag" 2227 || test ! -s conftest.err' 2228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2229 (eval $ac_try) 2>&5 2230 ac_status=$? 2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2232 (exit $ac_status); }; } && 2233 { ac_try='test -s conftest.$ac_objext' 2234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2235 (eval $ac_try) 2>&5 2236 ac_status=$? 2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2238 (exit $ac_status); }; }; then 2239 for ac_declaration in \ 2240 '' \ 2241 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2242 'extern "C" void std::exit (int); using std::exit;' \ 2243 'extern "C" void exit (int) throw ();' \ 2244 'extern "C" void exit (int);' \ 2245 'void exit (int);' 2246 do 2247 cat >conftest.$ac_ext <<_ACEOF 2248 /* confdefs.h. */ 2249 _ACEOF 2250 cat confdefs.h >>conftest.$ac_ext 2251 cat >>conftest.$ac_ext <<_ACEOF 2252 /* end confdefs.h. */ 2253 $ac_declaration 2254 #include <stdlib.h> 2255 int 2256 main () 2257 { 2258 exit (42); 2259 ; 2260 return 0; 2261 } 2262 _ACEOF 2263 rm -f conftest.$ac_objext 2264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2265 (eval $ac_compile) 2>conftest.er1 2266 ac_status=$? 2267 grep -v '^ *+' conftest.er1 >conftest.err 2268 rm -f conftest.er1 2269 cat conftest.err >&5 2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2271 (exit $ac_status); } && 2272 { ac_try='test -z "$ac_c_werror_flag" 2273 || test ! -s conftest.err' 2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2275 (eval $ac_try) 2>&5 2276 ac_status=$? 2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2278 (exit $ac_status); }; } && 2279 { ac_try='test -s conftest.$ac_objext' 2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2281 (eval $ac_try) 2>&5 2282 ac_status=$? 2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2284 (exit $ac_status); }; }; then 2285 : 2286 else 2287 echo "$as_me: failed program was:" >&5 2288 sed 's/^/| /' conftest.$ac_ext >&5 2289 2290 continue 2291 fi 2292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2293 cat >conftest.$ac_ext <<_ACEOF 2294 /* confdefs.h. */ 2295 _ACEOF 2296 cat confdefs.h >>conftest.$ac_ext 2297 cat >>conftest.$ac_ext <<_ACEOF 2298 /* end confdefs.h. */ 2299 $ac_declaration 2300 int 2301 main () 2302 { 2303 exit (42); 2304 ; 2305 return 0; 2306 } 2307 _ACEOF 2308 rm -f conftest.$ac_objext 2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2310 (eval $ac_compile) 2>conftest.er1 2311 ac_status=$? 2312 grep -v '^ *+' conftest.er1 >conftest.err 2313 rm -f conftest.er1 2314 cat conftest.err >&5 2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2316 (exit $ac_status); } && 2317 { ac_try='test -z "$ac_c_werror_flag" 2318 || test ! -s conftest.err' 2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2320 (eval $ac_try) 2>&5 2321 ac_status=$? 2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2323 (exit $ac_status); }; } && 2324 { ac_try='test -s conftest.$ac_objext' 2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2326 (eval $ac_try) 2>&5 2327 ac_status=$? 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2329 (exit $ac_status); }; }; then 2330 break 2331 else 2332 echo "$as_me: failed program was:" >&5 2333 sed 's/^/| /' conftest.$ac_ext >&5 2334 2335 fi 2336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2337 done 2338 rm -f conftest* 2339 if test -n "$ac_declaration"; then 2340 echo '#ifdef __cplusplus' >>confdefs.h 2341 echo $ac_declaration >>confdefs.h 2342 echo '#endif' >>confdefs.h 2343 fi 2344 2345 else 2346 echo "$as_me: failed program was:" >&5 2347 sed 's/^/| /' conftest.$ac_ext >&5 2348 2349 fi 2350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2351 ac_ext=c 2352 ac_cpp='$CPP $CPPFLAGS' 2353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2355 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2356 2357 ac_ext=c 2358 ac_cpp='$CPP $CPPFLAGS' 2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2362 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2363 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 879 2364 # On Suns, sometimes $CPP names a directory. 880 2365 if test -n "$CPP" && test -d "$CPP"; then … … 882 2367 fi 883 2368 if test -z "$CPP"; then 884 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 885 echo $ac_n "(cached) $ac_c" 1>&6 886 else 887 # This must be in double quotes, not single quotes, because CPP may get 888 # substituted into the Makefile and "${CC-cc}" will confuse make. 889 CPP="${CC-cc} -E" 2369 if test "${ac_cv_prog_CPP+set}" = set; then 2370 echo $ECHO_N "(cached) $ECHO_C" >&6 2371 else 2372 # Double quotes because CPP needs to be expanded 2373 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2374 do 2375 ac_preproc_ok=false 2376 for ac_c_preproc_warn_flag in '' yes 2377 do 2378 # Use a header file that comes with gcc, so configuring glibc 2379 # with a fresh cross-compiler works. 2380 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2381 # <limits.h> exists even on freestanding compilers. 890 2382 # On the NeXT, cc -E runs the code through the compiler's parser, 891 # not just through cpp. 892 cat > conftest.$ac_ext <<EOF 893 #line 894 "configure" 894 #include "confdefs.h" 895 #include <assert.h> 896 Syntax Error 897 EOF 898 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 899 { (eval echo configure:900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 900 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 901 if test -z "$ac_err"; then 2383 # not just through cpp. "Syntax error" is here to catch this case. 2384 cat >conftest.$ac_ext <<_ACEOF 2385 /* confdefs.h. */ 2386 _ACEOF 2387 cat confdefs.h >>conftest.$ac_ext 2388 cat >>conftest.$ac_ext <<_ACEOF 2389 /* end confdefs.h. */ 2390 #ifdef __STDC__ 2391 # include <limits.h> 2392 #else 2393 # include <assert.h> 2394 #endif 2395 Syntax error 2396 _ACEOF 2397 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2398 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2399 ac_status=$? 2400 grep -v '^ *+' conftest.er1 >conftest.err 2401 rm -f conftest.er1 2402 cat conftest.err >&5 2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2404 (exit $ac_status); } >/dev/null; then 2405 if test -s conftest.err; then 2406 ac_cpp_err=$ac_c_preproc_warn_flag 2407 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2408 else 2409 ac_cpp_err= 2410 fi 2411 else 2412 ac_cpp_err=yes 2413 fi 2414 if test -z "$ac_cpp_err"; then 902 2415 : 903 2416 else 904 echo "$ac_err" >&5 905 echo "configure: failed program was:" >&5 906 cat conftest.$ac_ext >&5 907 rm -rf conftest* 908 CPP="${CC-cc} -E -traditional-cpp" 909 cat > conftest.$ac_ext <<EOF 910 #line 911 "configure" 911 #include "confdefs.h" 912 #include <assert.h> 913 Syntax Error 914 EOF 915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 916 { (eval echo configure:917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 918 if test -z "$ac_err"; then 2417 echo "$as_me: failed program was:" >&5 2418 sed 's/^/| /' conftest.$ac_ext >&5 2419 2420 # Broken: fails on valid input. 2421 continue 2422 fi 2423 rm -f conftest.err conftest.$ac_ext 2424 2425 # OK, works on sane cases. Now check whether non-existent headers 2426 # can be detected and how. 2427 cat >conftest.$ac_ext <<_ACEOF 2428 /* confdefs.h. */ 2429 _ACEOF 2430 cat confdefs.h >>conftest.$ac_ext 2431 cat >>conftest.$ac_ext <<_ACEOF 2432 /* end confdefs.h. */ 2433 #include <ac_nonexistent.h> 2434 _ACEOF 2435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2437 ac_status=$? 2438 grep -v '^ *+' conftest.er1 >conftest.err 2439 rm -f conftest.er1 2440 cat conftest.err >&5 2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2442 (exit $ac_status); } >/dev/null; then 2443 if test -s conftest.err; then 2444 ac_cpp_err=$ac_c_preproc_warn_flag 2445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2446 else 2447 ac_cpp_err= 2448 fi 2449 else 2450 ac_cpp_err=yes 2451 fi 2452 if test -z "$ac_cpp_err"; then 2453 # Broken: success on invalid input. 2454 continue 2455 else 2456 echo "$as_me: failed program was:" >&5 2457 sed 's/^/| /' conftest.$ac_ext >&5 2458 2459 # Passes both tests. 2460 ac_preproc_ok=: 2461 break 2462 fi 2463 rm -f conftest.err conftest.$ac_ext 2464 2465 done 2466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2467 rm -f conftest.err conftest.$ac_ext 2468 if $ac_preproc_ok; then 2469 break 2470 fi 2471 2472 done 2473 ac_cv_prog_CPP=$CPP 2474 2475 fi 2476 CPP=$ac_cv_prog_CPP 2477 else 2478 ac_cv_prog_CPP=$CPP 2479 fi 2480 echo "$as_me:$LINENO: result: $CPP" >&5 2481 echo "${ECHO_T}$CPP" >&6 2482 ac_preproc_ok=false 2483 for ac_c_preproc_warn_flag in '' yes 2484 do 2485 # Use a header file that comes with gcc, so configuring glibc 2486 # with a fresh cross-compiler works. 2487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2488 # <limits.h> exists even on freestanding compilers. 2489 # On the NeXT, cc -E runs the code through the compiler's parser, 2490 # not just through cpp. "Syntax error" is here to catch this case. 2491 cat >conftest.$ac_ext <<_ACEOF 2492 /* confdefs.h. */ 2493 _ACEOF 2494 cat confdefs.h >>conftest.$ac_ext 2495 cat >>conftest.$ac_ext <<_ACEOF 2496 /* end confdefs.h. */ 2497 #ifdef __STDC__ 2498 # include <limits.h> 2499 #else 2500 # include <assert.h> 2501 #endif 2502 Syntax error 2503 _ACEOF 2504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2506 ac_status=$? 2507 grep -v '^ *+' conftest.er1 >conftest.err 2508 rm -f conftest.er1 2509 cat conftest.err >&5 2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2511 (exit $ac_status); } >/dev/null; then 2512 if test -s conftest.err; then 2513 ac_cpp_err=$ac_c_preproc_warn_flag 2514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2515 else 2516 ac_cpp_err= 2517 fi 2518 else 2519 ac_cpp_err=yes 2520 fi 2521 if test -z "$ac_cpp_err"; then 919 2522 : 920 2523 else 921 echo "$ac_err" >&5 922 echo "configure: failed program was:" >&5 923 cat conftest.$ac_ext >&5 924 rm -rf conftest* 925 CPP="${CC-cc} -nologo -E" 926 cat > conftest.$ac_ext <<EOF 927 #line 928 "configure" 928 #include "confdefs.h" 929 #include <assert.h> 930 Syntax Error 931 EOF 932 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 933 { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 934 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 935 if test -z "$ac_err"; then 2524 echo "$as_me: failed program was:" >&5 2525 sed 's/^/| /' conftest.$ac_ext >&5 2526 2527 # Broken: fails on valid input. 2528 continue 2529 fi 2530 rm -f conftest.err conftest.$ac_ext 2531 2532 # OK, works on sane cases. Now check whether non-existent headers 2533 # can be detected and how. 2534 cat >conftest.$ac_ext <<_ACEOF 2535 /* confdefs.h. */ 2536 _ACEOF 2537 cat confdefs.h >>conftest.$ac_ext 2538 cat >>conftest.$ac_ext <<_ACEOF 2539 /* end confdefs.h. */ 2540 #include <ac_nonexistent.h> 2541 _ACEOF 2542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2544 ac_status=$? 2545 grep -v '^ *+' conftest.er1 >conftest.err 2546 rm -f conftest.er1 2547 cat conftest.err >&5 2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2549 (exit $ac_status); } >/dev/null; then 2550 if test -s conftest.err; then 2551 ac_cpp_err=$ac_c_preproc_warn_flag 2552 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2553 else 2554 ac_cpp_err= 2555 fi 2556 else 2557 ac_cpp_err=yes 2558 fi 2559 if test -z "$ac_cpp_err"; then 2560 # Broken: success on invalid input. 2561 continue 2562 else 2563 echo "$as_me: failed program was:" >&5 2564 sed 's/^/| /' conftest.$ac_ext >&5 2565 2566 # Passes both tests. 2567 ac_preproc_ok=: 2568 break 2569 fi 2570 rm -f conftest.err conftest.$ac_ext 2571 2572 done 2573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2574 rm -f conftest.err conftest.$ac_ext 2575 if $ac_preproc_ok; then 936 2576 : 937 2577 else 938 echo "$ac_err" >&5939 echo "configure: failed program was:" >&5940 cat conftest.$ac_ext >&5 941 rm -rf conftest* 942 CPP=/lib/cpp943 fi 944 rm -f conftest* 945 fi 946 rm -f conftest* 947 fi 948 rm -f conftest* 949 ac_cv_prog_CPP="$CPP" 950 fi 951 CPP="$ac_cv_prog_CPP" 952 else 953 ac_cv_prog_CPP="$CPP" 954 fi 955 echo "$ac_t""$CPP" 1>&6 956 957 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 958 do959 # Extract the first word of "$ac_prog", so it can be a program name with args.960 set dummy $ac_ prog; ac_word=$2961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6962 echo "configure:963: checking for $ac_word" >&5963 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then964 echo $ ac_n "(cached) $ac_c" 1>&62578 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2579 See \`config.log' for more details." >&5 2580 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2581 See \`config.log' for more details." >&2;} 2582 { (exit 1); exit 1; }; } 2583 fi 2584 2585 ac_ext=c 2586 ac_cpp='$CPP $CPPFLAGS' 2587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2589 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2590 2591 ac_ext=cc 2592 ac_cpp='$CXXCPP $CPPFLAGS' 2593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2596 if test -n "$ac_tool_prefix"; then 2597 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2598 do 2599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2601 echo "$as_me:$LINENO: checking for $ac_word" >&5 2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2603 if test "${ac_cv_prog_CXX+set}" = set; then 2604 echo $ECHO_N "(cached) $ECHO_C" >&6 965 2605 else 966 2606 if test -n "$CXX"; then 967 2607 ac_cv_prog_CXX="$CXX" # Let the user override the test. 968 2608 else 969 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 970 ac_dummy="$PATH" 971 for ac_dir in $ac_dummy; do 972 test -z "$ac_dir" && ac_dir=. 973 if test -f $ac_dir/$ac_word; then 974 ac_cv_prog_CXX="$ac_prog" 975 break 976 fi 2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2610 for as_dir in $PATH 2611 do 2612 IFS=$as_save_IFS 2613 test -z "$as_dir" && as_dir=. 2614 for ac_exec_ext in '' $ac_executable_extensions; do 2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2616 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2618 break 2 2619 fi 2620 done 2621 done 2622 2623 fi 2624 fi 2625 CXX=$ac_cv_prog_CXX 2626 if test -n "$CXX"; then 2627 echo "$as_me:$LINENO: result: $CXX" >&5 2628 echo "${ECHO_T}$CXX" >&6 2629 else 2630 echo "$as_me:$LINENO: result: no" >&5 2631 echo "${ECHO_T}no" >&6 2632 fi 2633 2634 test -n "$CXX" && break 977 2635 done 978 IFS="$ac_save_ifs" 979 fi 980 fi 981 CXX="$ac_cv_prog_CXX" 982 if test -n "$CXX"; then 983 echo "$ac_t""$CXX" 1>&6 984 else 985 echo "$ac_t""no" 1>&6 986 fi 987 988 test -n "$CXX" && break 2636 fi 2637 if test -z "$CXX"; then 2638 ac_ct_CXX=$CXX 2639 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2640 do 2641 # Extract the first word of "$ac_prog", so it can be a program name with args. 2642 set dummy $ac_prog; ac_word=$2 2643 echo "$as_me:$LINENO: checking for $ac_word" >&5 2644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2645 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2646 echo $ECHO_N "(cached) $ECHO_C" >&6 2647 else 2648 if test -n "$ac_ct_CXX"; then 2649 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2650 else 2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2652 for as_dir in $PATH 2653 do 2654 IFS=$as_save_IFS 2655 test -z "$as_dir" && as_dir=. 2656 for ac_exec_ext in '' $ac_executable_extensions; do 2657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2658 ac_cv_prog_ac_ct_CXX="$ac_prog" 2659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2660 break 2 2661 fi 989 2662 done 990 test -n "$CXX" || CXX="gcc" 991 992 993 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 994 echo "configure:995: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 995 996 ac_ext=C 997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 998 ac_cpp='$CXXCPP $CPPFLAGS' 999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1001 cross_compiling=$ac_cv_prog_cxx_cross 1002 1003 cat > conftest.$ac_ext << EOF 1004 1005 #line 1006 "configure"1006 #include "confdefs.h" 1007 1008 int main(){return(0);} 1009 EOF 1010 if { (eval echo configure:1011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1011 ac_cv_prog_cxx_works=yes 1012 # If we can't run a trivial program, we are probably using a cross compiler. 1013 if (./conftest; exit) 2>/dev/null; then1014 ac_cv_prog_cxx_cross=no 1015 else 1016 ac_cv_prog_cxx_cross=yes1017 fi1018 else 1019 echo "configure: failed program was:" >&51020 cat conftest.$ac_ext>&51021 ac_cv_prog_cxx_works=no1022 fi 1023 rm -fr conftest* 1024 ac_ext=c 1025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1026 ac_cpp='$CPP $CPPFLAGS' 1027 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1028 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1029 cross_compiling=$ac_cv_prog_cc_cross 1030 1031 echo "$a c_t""$ac_cv_prog_cxx_works" 1>&61032 if test $ac_cv_prog_cxx_works = no; then 1033 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 1034 fi 1035 e cho $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&61036 echo "configure:1037: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1037 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1038 cross_compiling=$ac_cv_prog_cxx_cross 1039 1040 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1041 echo "configure:1042: checking whether we are using GNU C++" >&5 1042 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1043 echo $ac_n "(cached) $ac_c" 1>&6 1044 else 1045 cat > conftest.C <<EOF 1046 #if def __GNUC__1047 yes;2663 done 2664 2665 fi 2666 fi 2667 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2668 if test -n "$ac_ct_CXX"; then 2669 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2670 echo "${ECHO_T}$ac_ct_CXX" >&6 2671 else 2672 echo "$as_me:$LINENO: result: no" >&5 2673 echo "${ECHO_T}no" >&6 2674 fi 2675 2676 test -n "$ac_ct_CXX" && break 2677 done 2678 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2679 2680 CXX=$ac_ct_CXX 2681 fi 2682 2683 2684 # Provide some information about the compiler. 2685 echo "$as_me:$LINENO:" \ 2686 "checking for C++ compiler version" >&5 2687 ac_compiler=`set X $ac_compile; echo $2` 2688 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2689 (eval $ac_compiler --version </dev/null >&5) 2>&5 2690 ac_status=$? 2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2692 (exit $ac_status); } 2693 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2694 (eval $ac_compiler -v </dev/null >&5) 2>&5 2695 ac_status=$? 2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2697 (exit $ac_status); } 2698 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2699 (eval $ac_compiler -V </dev/null >&5) 2>&5 2700 ac_status=$? 2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2702 (exit $ac_status); } 2703 2704 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2705 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2706 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2707 echo $ECHO_N "(cached) $ECHO_C" >&6 2708 else 2709 cat >conftest.$ac_ext <<_ACEOF 2710 /* confdefs.h. */ 2711 _ACEOF 2712 cat confdefs.h >>conftest.$ac_ext 2713 cat >>conftest.$ac_ext <<_ACEOF 2714 /* end confdefs.h. */ 2715 2716 int 2717 main () 2718 { 2719 #ifndef __GNUC__ 2720 choke me 1048 2721 #endif 1049 EOF 1050 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1051 ac_cv_prog_gxx=yes 1052 else 1053 ac_cv_prog_gxx=no 1054 fi 1055 fi 1056 1057 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 1058 1059 if test $ac_cv_prog_gxx = yes; then 1060 GXX=yes 1061 else 1062 GXX= 1063 fi 1064 1065 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1066 ac_save_CXXFLAGS="$CXXFLAGS" 1067 CXXFLAGS= 1068 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1069 echo "configure:1070: checking whether ${CXX-g++} accepts -g" >&5 1070 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1071 echo $ac_n "(cached) $ac_c" 1>&6 1072 else 1073 echo 'void f(){}' > conftest.cc 1074 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 2722 2723 ; 2724 return 0; 2725 } 2726 _ACEOF 2727 rm -f conftest.$ac_objext 2728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2729 (eval $ac_compile) 2>conftest.er1 2730 ac_status=$? 2731 grep -v '^ *+' conftest.er1 >conftest.err 2732 rm -f conftest.er1 2733 cat conftest.err >&5 2734 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2735 (exit $ac_status); } && 2736 { ac_try='test -z "$ac_cxx_werror_flag" 2737 || test ! -s conftest.err' 2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2739 (eval $ac_try) 2>&5 2740 ac_status=$? 2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2742 (exit $ac_status); }; } && 2743 { ac_try='test -s conftest.$ac_objext' 2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2745 (eval $ac_try) 2>&5 2746 ac_status=$? 2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2748 (exit $ac_status); }; }; then 2749 ac_compiler_gnu=yes 2750 else 2751 echo "$as_me: failed program was:" >&5 2752 sed 's/^/| /' conftest.$ac_ext >&5 2753 2754 ac_compiler_gnu=no 2755 fi 2756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2757 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2758 2759 fi 2760 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2761 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2762 GXX=`test $ac_compiler_gnu = yes && echo yes` 2763 ac_test_CXXFLAGS=${CXXFLAGS+set} 2764 ac_save_CXXFLAGS=$CXXFLAGS 2765 CXXFLAGS="-g" 2766 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2767 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2768 if test "${ac_cv_prog_cxx_g+set}" = set; then 2769 echo $ECHO_N "(cached) $ECHO_C" >&6 2770 else 2771 cat >conftest.$ac_ext <<_ACEOF 2772 /* confdefs.h. */ 2773 _ACEOF 2774 cat confdefs.h >>conftest.$ac_ext 2775 cat >>conftest.$ac_ext <<_ACEOF 2776 /* end confdefs.h. */ 2777 2778 int 2779 main () 2780 { 2781 2782 ; 2783 return 0; 2784 } 2785 _ACEOF 2786 rm -f conftest.$ac_objext 2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2788 (eval $ac_compile) 2>conftest.er1 2789 ac_status=$? 2790 grep -v '^ *+' conftest.er1 >conftest.err 2791 rm -f conftest.er1 2792 cat conftest.err >&5 2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2794 (exit $ac_status); } && 2795 { ac_try='test -z "$ac_cxx_werror_flag" 2796 || test ! -s conftest.err' 2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2798 (eval $ac_try) 2>&5 2799 ac_status=$? 2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2801 (exit $ac_status); }; } && 2802 { ac_try='test -s conftest.$ac_objext' 2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2804 (eval $ac_try) 2>&5 2805 ac_status=$? 2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2807 (exit $ac_status); }; }; then 1075 2808 ac_cv_prog_cxx_g=yes 1076 2809 else 1077 ac_cv_prog_cxx_g=no 1078 fi 1079 rm -f conftest* 1080 1081 fi 1082 1083 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 2810 echo "$as_me: failed program was:" >&5 2811 sed 's/^/| /' conftest.$ac_ext >&5 2812 2813 ac_cv_prog_cxx_g=no 2814 fi 2815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2816 fi 2817 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2818 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1084 2819 if test "$ac_test_CXXFLAGS" = set; then 1085 CXXFLAGS= "$ac_save_CXXFLAGS"2820 CXXFLAGS=$ac_save_CXXFLAGS 1086 2821 elif test $ac_cv_prog_cxx_g = yes; then 1087 2822 if test "$GXX" = yes; then … … 1097 2832 fi 1098 2833 fi 2834 for ac_declaration in \ 2835 '' \ 2836 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2837 'extern "C" void std::exit (int); using std::exit;' \ 2838 'extern "C" void exit (int) throw ();' \ 2839 'extern "C" void exit (int);' \ 2840 'void exit (int);' 2841 do 2842 cat >conftest.$ac_ext <<_ACEOF 2843 /* confdefs.h. */ 2844 _ACEOF 2845 cat confdefs.h >>conftest.$ac_ext 2846 cat >>conftest.$ac_ext <<_ACEOF 2847 /* end confdefs.h. */ 2848 $ac_declaration 2849 #include <stdlib.h> 2850 int 2851 main () 2852 { 2853 exit (42); 2854 ; 2855 return 0; 2856 } 2857 _ACEOF 2858 rm -f conftest.$ac_objext 2859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2860 (eval $ac_compile) 2>conftest.er1 2861 ac_status=$? 2862 grep -v '^ *+' conftest.er1 >conftest.err 2863 rm -f conftest.er1 2864 cat conftest.err >&5 2865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2866 (exit $ac_status); } && 2867 { ac_try='test -z "$ac_cxx_werror_flag" 2868 || test ! -s conftest.err' 2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2870 (eval $ac_try) 2>&5 2871 ac_status=$? 2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2873 (exit $ac_status); }; } && 2874 { ac_try='test -s conftest.$ac_objext' 2875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2876 (eval $ac_try) 2>&5 2877 ac_status=$? 2878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2879 (exit $ac_status); }; }; then 2880 : 2881 else 2882 echo "$as_me: failed program was:" >&5 2883 sed 's/^/| /' conftest.$ac_ext >&5 2884 2885 continue 2886 fi 2887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2888 cat >conftest.$ac_ext <<_ACEOF 2889 /* confdefs.h. */ 2890 _ACEOF 2891 cat confdefs.h >>conftest.$ac_ext 2892 cat >>conftest.$ac_ext <<_ACEOF 2893 /* end confdefs.h. */ 2894 $ac_declaration 2895 int 2896 main () 2897 { 2898 exit (42); 2899 ; 2900 return 0; 2901 } 2902 _ACEOF 2903 rm -f conftest.$ac_objext 2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2905 (eval $ac_compile) 2>conftest.er1 2906 ac_status=$? 2907 grep -v '^ *+' conftest.er1 >conftest.err 2908 rm -f conftest.er1 2909 cat conftest.err >&5 2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2911 (exit $ac_status); } && 2912 { ac_try='test -z "$ac_cxx_werror_flag" 2913 || test ! -s conftest.err' 2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2915 (eval $ac_try) 2>&5 2916 ac_status=$? 2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2918 (exit $ac_status); }; } && 2919 { ac_try='test -s conftest.$ac_objext' 2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2921 (eval $ac_try) 2>&5 2922 ac_status=$? 2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2924 (exit $ac_status); }; }; then 2925 break 2926 else 2927 echo "$as_me: failed program was:" >&5 2928 sed 's/^/| /' conftest.$ac_ext >&5 2929 2930 fi 2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2932 done 2933 rm -f conftest* 2934 if test -n "$ac_declaration"; then 2935 echo '#ifdef __cplusplus' >>confdefs.h 2936 echo $ac_declaration >>confdefs.h 2937 echo '#endif' >>confdefs.h 2938 fi 2939 2940 ac_ext=c 2941 ac_cpp='$CPP $CPPFLAGS' 2942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2944 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1099 2945 1100 2946 ac_aux_dir= … … 1108 2954 ac_install_sh="$ac_aux_dir/install.sh -c" 1109 2955 break 2956 elif test -f $ac_dir/shtool; then 2957 ac_aux_dir=$ac_dir 2958 ac_install_sh="$ac_aux_dir/shtool install -c" 2959 break 1110 2960 fi 1111 2961 done 1112 2962 if test -z "$ac_aux_dir"; then 1113 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 1114 fi 1115 ac_config_guess=$ac_aux_dir/config.guess 1116 ac_config_sub=$ac_aux_dir/config.sub 1117 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 2963 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2964 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2965 { (exit 1); exit 1; }; } 2966 fi 2967 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2968 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2969 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1118 2970 1119 2971 # Find a good install program. We prefer a C program (faster), … … 1124 2976 # IRIX /sbin/install 1125 2977 # AIX /bin/install 2978 # AmigaOS /C/install, which installs bootblocks on floppy discs 1126 2979 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1127 2980 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1128 2981 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2982 # OS/2's system install, which has a completely different semantic 1129 2983 # ./install, which can be erroneously created by make from ./install.sh. 1130 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61131 echo "configure:1132: checking for a BSD compatible install" >&52984 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2985 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1132 2986 if test -z "$INSTALL"; then 1133 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1134 echo $ac_n "(cached) $ac_c" 1>&6 1135 else 1136 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1137 for ac_dir in $PATH; do 1138 # Account for people who put trailing slashes in PATH elements. 1139 case "$ac_dir/" in 1140 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1141 *) 1142 # OSF1 and SCO ODT 3.0 have their own names for install. 1143 # Don't use installbsd from OSF since it installs stuff as root 1144 # by default. 1145 for ac_prog in ginstall scoinst install; do 1146 if test -f $ac_dir/$ac_prog; then 2987 if test "${ac_cv_path_install+set}" = set; then 2988 echo $ECHO_N "(cached) $ECHO_C" >&6 2989 else 2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2991 for as_dir in $PATH 2992 do 2993 IFS=$as_save_IFS 2994 test -z "$as_dir" && as_dir=. 2995 # Account for people who put trailing slashes in PATH elements. 2996 case $as_dir/ in 2997 ./ | .// | /cC/* | \ 2998 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2999 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 3000 /usr/ucb/* ) ;; 3001 *) 3002 # OSF1 and SCO ODT 3.0 have their own names for install. 3003 # Don't use installbsd from OSF since it installs stuff as root 3004 # by default. 3005 for ac_prog in ginstall scoinst install; do 3006 for ac_exec_ext in '' $ac_executable_extensions; do 3007 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1147 3008 if test $ac_prog = install && 1148 grep dspmsg $ac_dir/$ac_prog>/dev/null 2>&1; then3009 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1149 3010 # AIX install. It has an incompatible calling convention. 1150 3011 : 3012 elif test $ac_prog = install && 3013 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3014 # program-specific install script used by HP pwplus--don't use. 3015 : 1151 3016 else 1152 ac_cv_path_install="$a c_dir/$ac_prog-c"1153 break 23017 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3018 break 3 1154 3019 fi 1155 3020 fi 1156 3021 done 1157 ;; 1158 esac 1159 done 1160 IFS="$ac_save_IFS" 3022 done 3023 ;; 3024 esac 3025 done 3026 1161 3027 1162 3028 fi 1163 3029 if test "${ac_cv_path_install+set}" = set; then 1164 INSTALL= "$ac_cv_path_install"3030 INSTALL=$ac_cv_path_install 1165 3031 else 1166 3032 # As a last resort, use the slow shell script. We don't cache a … … 1168 3034 # break other packages using the cache if that directory is 1169 3035 # removed, or if the path is relative. 1170 INSTALL= "$ac_install_sh"3036 INSTALL=$ac_install_sh 1171 3037 fi 1172 3038 fi 1173 echo "$ac_t""$INSTALL" 1>&6 3039 echo "$as_me:$LINENO: result: $INSTALL" >&5 3040 echo "${ECHO_T}$INSTALL" >&6 1174 3041 1175 3042 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1177 3044 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1178 3045 1179 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL _PROGRAM}'3046 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1180 3047 1181 3048 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1182 3049 1183 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1184 echo "configure:1185: checking for AIX" >&5 1185 cat > conftest.$ac_ext <<EOF 1186 #line 1187 "configure" 1187 #include "confdefs.h" 3050 3051 3052 echo "$as_me:$LINENO: checking for egrep" >&5 3053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 3054 if test "${ac_cv_prog_egrep+set}" = set; then 3055 echo $ECHO_N "(cached) $ECHO_C" >&6 3056 else 3057 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 3058 then ac_cv_prog_egrep='grep -E' 3059 else ac_cv_prog_egrep='egrep' 3060 fi 3061 fi 3062 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 3063 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 3064 EGREP=$ac_cv_prog_egrep 3065 3066 3067 3068 echo "$as_me:$LINENO: checking for AIX" >&5 3069 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 3070 cat >conftest.$ac_ext <<_ACEOF 3071 /* confdefs.h. */ 3072 _ACEOF 3073 cat confdefs.h >>conftest.$ac_ext 3074 cat >>conftest.$ac_ext <<_ACEOF 3075 /* end confdefs.h. */ 1188 3076 #ifdef _AIX 1189 3077 yes 1190 3078 #endif 1191 3079 1192 EOF3080 _ACEOF 1193 3081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1194 egrep "yes" >/dev/null 2>&1; then 1195 rm -rf conftest* 1196 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF 3082 $EGREP "yes" >/dev/null 2>&1; then 3083 echo "$as_me:$LINENO: result: yes" >&5 3084 echo "${ECHO_T}yes" >&6 3085 cat >>confdefs.h <<\_ACEOF 1197 3086 #define _ALL_SOURCE 1 1198 EOF1199 1200 else 1201 rm -rf conftest*1202 echo "$ac_t""no" 1>&63087 _ACEOF 3088 3089 else 3090 echo "$as_me:$LINENO: result: no" >&5 3091 echo "${ECHO_T}no" >&6 1203 3092 fi 1204 3093 rm -f conftest* … … 1209 3098 # gcc3: CC=gcc CXX=g++ 1210 3099 # other: CC=cc CXX=c++ 1211 echo $ac_n "checking gcc version""... $ac_c" 1>&61212 echo "configure:1213: checking gcc version" >&51213 if eval "test \"`echo '$''{'ac_cv_c_cpp'+set}'`\" = set"; then1214 echo $ ac_n "(cached) $ac_c" 1>&63100 echo "$as_me:$LINENO: checking gcc version" >&5 3101 echo $ECHO_N "checking gcc version... $ECHO_C" >&6 3102 if test "${ac_cv_c_cpp+set}" = set; then 3103 echo $ECHO_N "(cached) $ECHO_C" >&6 1215 3104 else 1216 3105 ac_cv_c_cp="unknown" … … 1221 3110 fi 1222 3111 1223 echo "$ac_t""$ac_cv_c_cpp" 1>&6 3112 echo "$as_me:$LINENO: result: $ac_cv_c_cpp" >&5 3113 echo "${ECHO_T}$ac_cv_c_cpp" >&6 1224 3114 1225 3115 # we prefer using gcc for compiling C++ files, provided the user did … … 1232 3122 fi 1233 3123 temp_cflags=${CXXFLAGS} 1234 1235 ac_ext=C 1236 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 3124 3125 3126 ac_ext=cc 1237 3127 ac_cpp='$CXXCPP $CPPFLAGS' 1238 ac_compile='$ {CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'1239 ac_link='$ {CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'1240 cross_compiling=$ac_cv_prog_cxx_cross 3128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 1241 3131 1242 3132 # check whether gcc accepts --no-rtti 1243 echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&61244 echo "configure:1245: checking whether gcc accepts --no-rtti" >&53133 echo "$as_me:$LINENO: checking whether gcc accepts --no-rtti" >&5 3134 echo $ECHO_N "checking whether gcc accepts --no-rtti... $ECHO_C" >&6 1245 3135 CXXFLAGS="${CXXFLAGS} --no-rtti" 1246 if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then 1247 echo $ac_n "(cached) $ac_c" 1>&6 1248 else 1249 cat > conftest.$ac_ext <<EOF 1250 #line 1251 "configure" 1251 #include "confdefs.h" 1252 1253 int main() { 1254 1255 ; return 0; } 1256 EOF 1257 if { (eval echo configure:1258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1258 rm -rf conftest* 3136 if test "${ac_cv_cxx_have_rtti+set}" = set; then 3137 echo $ECHO_N "(cached) $ECHO_C" >&6 3138 else 3139 3140 cat >conftest.$ac_ext <<_ACEOF 3141 /* confdefs.h. */ 3142 _ACEOF 3143 cat confdefs.h >>conftest.$ac_ext 3144 cat >>conftest.$ac_ext <<_ACEOF 3145 /* end confdefs.h. */ 3146 3147 int 3148 main () 3149 { 3150 3151 ; 3152 return 0; 3153 } 3154 _ACEOF 3155 rm -f conftest.$ac_objext 3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3157 (eval $ac_compile) 2>conftest.er1 3158 ac_status=$? 3159 grep -v '^ *+' conftest.er1 >conftest.err 3160 rm -f conftest.er1 3161 cat conftest.err >&5 3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3163 (exit $ac_status); } && 3164 { ac_try='test -z "$ac_cxx_werror_flag" 3165 || test ! -s conftest.err' 3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3167 (eval $ac_try) 2>&5 3168 ac_status=$? 3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3170 (exit $ac_status); }; } && 3171 { ac_try='test -s conftest.$ac_objext' 3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3173 (eval $ac_try) 2>&5 3174 ac_status=$? 3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3176 (exit $ac_status); }; }; then 1259 3177 ac_cv_cxx_have_rtti=yes 1260 3178 else 1261 echo "configure: failed program was:" >&5 1262 cat conftest.$ac_ext >&5 1263 rm -rf conftest* 1264 ac_cv_cxx_have_rtti=no 1265 fi 1266 rm -f conftest* 1267 1268 fi 1269 1270 echo "$ac_t""${ac_cv_cxx_have_rtti}" 1>&6 3179 echo "$as_me: failed program was:" >&5 3180 sed 's/^/| /' conftest.$ac_ext >&5 3181 3182 ac_cv_cxx_have_rtti=no 3183 fi 3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3185 3186 fi 3187 3188 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_rtti}" >&5 3189 echo "${ECHO_T}${ac_cv_cxx_have_rtti}" >&6 1271 3190 if test "${ac_cv_cxx_have_rtti}" != yes; then 1272 3191 CXXFLAGS=$temp_flags … … 1276 3195 1277 3196 # check whether gcc accepts --no-exceptions 1278 echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&61279 echo "configure:1280: checking whether gcc accepts --no-exceptions" >&53197 echo "$as_me:$LINENO: checking whether gcc accepts --no-exceptions" >&5 3198 echo $ECHO_N "checking whether gcc accepts --no-exceptions... $ECHO_C" >&6 1280 3199 CXXFLAGS="${CXXFLAGS} --no-exceptions" 1281 if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then 1282 echo $ac_n "(cached) $ac_c" 1>&6 1283 else 1284 cat > conftest.$ac_ext <<EOF 1285 #line 1286 "configure" 1286 #include "confdefs.h" 1287 1288 int main() { 1289 1290 ; return 0; } 1291 EOF 1292 if { (eval echo configure:1293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1293 rm -rf conftest* 3200 if test "${ac_cv_cxx_have_exceptions+set}" = set; then 3201 echo $ECHO_N "(cached) $ECHO_C" >&6 3202 else 3203 cat >conftest.$ac_ext <<_ACEOF 3204 /* confdefs.h. */ 3205 _ACEOF 3206 cat confdefs.h >>conftest.$ac_ext 3207 cat >>conftest.$ac_ext <<_ACEOF 3208 /* end confdefs.h. */ 3209 3210 int 3211 main () 3212 { 3213 3214 ; 3215 return 0; 3216 } 3217 _ACEOF 3218 rm -f conftest.$ac_objext conftest$ac_exeext 3219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3220 (eval $ac_link) 2>conftest.er1 3221 ac_status=$? 3222 grep -v '^ *+' conftest.er1 >conftest.err 3223 rm -f conftest.er1 3224 cat conftest.err >&5 3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3226 (exit $ac_status); } && 3227 { ac_try='test -z "$ac_cxx_werror_flag" 3228 || test ! -s conftest.err' 3229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3230 (eval $ac_try) 2>&5 3231 ac_status=$? 3232 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3233 (exit $ac_status); }; } && 3234 { ac_try='test -s conftest$ac_exeext' 3235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3236 (eval $ac_try) 2>&5 3237 ac_status=$? 3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3239 (exit $ac_status); }; }; then 1294 3240 ac_cv_cxx_have_exceptions=yes 1295 3241 else 1296 echo "configure: failed program was:" >&5 1297 cat conftest.$ac_ext >&5 1298 rm -rf conftest* 1299 ac_cv_cxx_have_exceptions=no 1300 fi 1301 rm -f conftest* 1302 1303 fi 1304 1305 echo "$ac_t""${ac_cv_cxx_have_exceptions}" 1>&6 3242 echo "$as_me: failed program was:" >&5 3243 sed 's/^/| /' conftest.$ac_ext >&5 3244 3245 ac_cv_cxx_have_exceptions=no 3246 fi 3247 rm -f conftest.err conftest.$ac_objext \ 3248 conftest$ac_exeext conftest.$ac_ext 3249 3250 fi 3251 3252 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_exceptions}" >&5 3253 echo "${ECHO_T}${ac_cv_cxx_have_exceptions}" >&6 1306 3254 if test "${ac_cv_cxx_have_exceptions}" != yes; then 1307 3255 CXXFLAGS=$temp_flags … … 1311 3259 1312 3260 ac_ext=c 1313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.1314 3261 ac_cpp='$CPP $CPPFLAGS' 1315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1317 cross_compiling=$ac_cv_prog_cc_cross 1318 1319 CXXFLAGS=$temp_flags 1320 3262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3264 ac_compiler_gnu=$ac_cv_c_compiler_gnu 3265 3266 #CXXFLAGS=$temp_flags 3267 #here is broking something 3268 #uncommented breaks CXXFLAGS variable set 3269 #only pipes would remain then in CXXFLAGS 1321 3270 fi 1322 3271 1323 3272 # check whether the compiler accepts -pipe 1324 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&61325 echo "configure:1326: checking whether compiler accepts -pipe" >&53273 echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&5 3274 echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&6 1326 3275 temp_cflags=${CFLAGS} 1327 3276 CFLAGS="${CFLAGS} -pipe" 1328 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then 1329 echo $ac_n "(cached) $ac_c" 1>&6 1330 else 1331 cat > conftest.$ac_ext <<EOF 1332 #line 1333 "configure" 1333 #include "confdefs.h" 1334 1335 int main() { 1336 1337 ; return 0; } 1338 EOF 1339 if { (eval echo configure:1340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1340 rm -rf conftest* 3277 if test "${ac_cv_cxx_have_pipe+set}" = set; then 3278 echo $ECHO_N "(cached) $ECHO_C" >&6 3279 else 3280 cat >conftest.$ac_ext <<_ACEOF 3281 /* confdefs.h. */ 3282 _ACEOF 3283 cat confdefs.h >>conftest.$ac_ext 3284 cat >>conftest.$ac_ext <<_ACEOF 3285 /* end confdefs.h. */ 3286 3287 int 3288 main () 3289 { 3290 3291 ; 3292 return 0; 3293 } 3294 _ACEOF 3295 rm -f conftest.$ac_objext 3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3297 (eval $ac_compile) 2>conftest.er1 3298 ac_status=$? 3299 grep -v '^ *+' conftest.er1 >conftest.err 3300 rm -f conftest.er1 3301 cat conftest.err >&5 3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3303 (exit $ac_status); } && 3304 { ac_try='test -z "$ac_c_werror_flag" 3305 || test ! -s conftest.err' 3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3307 (eval $ac_try) 2>&5 3308 ac_status=$? 3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3310 (exit $ac_status); }; } && 3311 { ac_try='test -s conftest.$ac_objext' 3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3313 (eval $ac_try) 2>&5 3314 ac_status=$? 3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3316 (exit $ac_status); }; }; then 1341 3317 ac_cv_cxx_have_pipe=yes 1342 3318 else 1343 echo "configure: failed program was:" >&5 1344 cat conftest.$ac_ext >&5 1345 rm -rf conftest* 1346 ac_cv_cxx_have_pipe=no 1347 fi 1348 rm -f conftest* 1349 1350 fi 1351 1352 echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 3319 echo "$as_me: failed program was:" >&5 3320 sed 's/^/| /' conftest.$ac_ext >&5 3321 3322 ac_cv_cxx_have_pipe=no 3323 fi 3324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3325 3326 fi 3327 3328 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5 3329 echo "${ECHO_T}${ac_cv_cxx_have_pipe}" >&6 1353 3330 CFLAGS=${temp_cflags} 1354 3331 if test "${ac_cv_cxx_have_pipe}" != yes; then … … 1360 3337 1361 3338 # Customize CFLAGS 1362 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1363 echo "configure:1364: checking whether _AIX is defined" >&5 1364 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1365 echo $ac_n "(cached) $ac_c" 1>&6 1366 else 1367 cat > conftest.$ac_ext <<EOF 1368 #line 1369 "configure" 1369 #include "confdefs.h" 3339 echo "$as_me:$LINENO: checking whether _AIX is defined" >&5 3340 echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&6 3341 if test "${ac_cv_is_aix+set}" = set; then 3342 echo $ECHO_N "(cached) $ECHO_C" >&6 3343 else 3344 cat >conftest.$ac_ext <<_ACEOF 3345 /* confdefs.h. */ 3346 _ACEOF 3347 cat confdefs.h >>conftest.$ac_ext 3348 cat >>conftest.$ac_ext <<_ACEOF 3349 /* end confdefs.h. */ 1370 3350 #ifdef _AIX 1371 3351 yes 1372 3352 #endif 1373 3353 1374 EOF3354 _ACEOF 1375 3355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1376 egrep "yes" >/dev/null 2>&1; then 1377 rm -rf conftest* 3356 $EGREP "yes" >/dev/null 2>&1; then 1378 3357 ac_cv_is_aix=yes 1379 3358 else 1380 rm -rf conftest*1381 3359 ac_cv_is_aix=no 1382 3360 fi … … 1386 3364 1387 3365 if test "$ac_cv_is_aix" = yes; then 1388 echo "$ac_t""yes" 1>&6 1389 else 1390 echo "$ac_t""no" 1>&6 3366 echo "$as_me:$LINENO: result: yes" >&5 3367 echo "${ECHO_T}yes" >&6 3368 else 3369 echo "$as_me:$LINENO: result: no" >&5 3370 echo "${ECHO_T}no" >&6 1391 3371 fi 1392 3372 … … 1416 3396 fi 1417 3397 1418 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&61419 echo "configure:1420: checking whether ${MAKE-make} sets \${MAKE}" >&51420 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y %./+-%__p_%'`1421 if eval "test \" `echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then1422 echo $ ac_n "(cached) $ac_c" 1>&61423 else 1424 cat > conftestmake <<\EOF3398 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3399 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 3400 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` 3401 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 3402 echo $ECHO_N "(cached) $ECHO_C" >&6 3403 else 3404 cat >conftest.make <<\_ACEOF 1425 3405 all: 1426 @echo 'ac_maketemp="$ {MAKE}"'1427 EOF3406 @echo 'ac_maketemp="$(MAKE)"' 3407 _ACEOF 1428 3408 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1429 eval `${MAKE-make} -f conftest make 2>/dev/null | grep temp=`3409 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 1430 3410 if test -n "$ac_maketemp"; then 1431 3411 eval ac_cv_prog_make_${ac_make}_set=yes … … 1433 3413 eval ac_cv_prog_make_${ac_make}_set=no 1434 3414 fi 1435 rm -f conftest make3415 rm -f conftest.make 1436 3416 fi 1437 3417 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1438 echo "$ac_t""yes" 1>&6 3418 echo "$as_me:$LINENO: result: yes" >&5 3419 echo "${ECHO_T}yes" >&6 1439 3420 SET_MAKE= 1440 3421 else 1441 echo "$ac_t""no" 1>&6 3422 echo "$as_me:$LINENO: result: no" >&5 3423 echo "${ECHO_T}no" >&6 1442 3424 SET_MAKE="MAKE=${MAKE-make}" 1443 3425 fi … … 1450 3432 test "x$prefix" = xNONE && prefix=$ac_default_prefix 1451 3433 if test "${with_rootdir+set}" != set; then 1452 cat >> confdefs.h <<EOF3434 cat >>confdefs.h <<_ACEOF 1453 3435 #define S_ROOT_DIR "${prefix}" 1454 EOF1455 1456 else 1457 cat >> confdefs.h <<EOF3436 _ACEOF 3437 3438 else 3439 cat >>confdefs.h <<_ACEOF 1458 3440 #define S_ROOT_DIR "${with_rootdir}" 1459 EOF3441 _ACEOF 1460 3442 1461 3443 fi … … 1470 3452 SINGULAR=${SINGULAR:-$bindir/Singular-$SINGULAR_MAJOR_VERSION${VERSION_SEP}$SINGULAR_MINOR_VERSION${VERSION_SEP}$SINGULAR_SUB_VERSION} 1471 3453 1472 cat >> confdefs.h <<EOF3454 cat >>confdefs.h <<_ACEOF 1473 3455 #define S_BIN_DIR "${bindir}" 1474 EOF3456 _ACEOF 1475 3457 1476 3458 … … 1499 3481 # lex 1500 3482 if test "${with_lex+set}" != set; then 1501 echo $ac_n "checking for flex""... $ac_c" 1>&61502 echo "configure:1503: checking for flex" >&53483 echo "$as_me:$LINENO: checking for flex" >&5 3484 echo $ECHO_N "checking for flex... $ECHO_C" >&6 1503 3485 cmd="egrep [2-9]\.[5-9]" 1504 if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then1505 echo $ ac_n "(cached) $ac_c" 1>&63486 if test "${ac_cv_prog_flex+set}" = set; then 3487 echo $ECHO_N "(cached) $ECHO_C" >&6 1506 3488 else 1507 3489 if (flex --version >/dev/null 2>&1) … … 1512 3494 fi 1513 3495 fi 1514 3496 1515 3497 fi 1516 3498 1517 3499 if test "${ac_cv_prog_flex+set}" = set; then 1518 echo "$ac_t""flex" 1>&6 3500 echo "$as_me:$LINENO: result: flex" >&5 3501 echo "${ECHO_T}flex" >&6 1519 3502 LEX=flex 1520 3503 1521 3504 else 1522 { echo "configure: error: can not find flex with version greater 2.4" 1>&2; exit 1; } 3505 { { echo "$as_me:$LINENO: error: can not find flex with version greater 2.4" >&5 3506 echo "$as_me: error: can not find flex with version greater 2.4" >&2;} 3507 { (exit 1); exit 1; }; } 1523 3508 fi 1524 3509 elif test "${with_lex}" = no; then 1525 echo "configure: warning: building without lex -- make might fail" 1>&2 3510 { echo "$as_me:$LINENO: WARNING: building without lex -- make might fail" >&5 3511 echo "$as_me: WARNING: building without lex -- make might fail" >&2;} 1526 3512 else 1527 3513 unset LEX … … 1529 3515 for ac_prog in ${with_lex} 1530 3516 do 1531 # Extract the first word of "$ac_prog", so it can be a program name with args.3517 # Extract the first word of "$ac_prog", so it can be a program name with args. 1532 3518 set dummy $ac_prog; ac_word=$2 1533 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61534 echo "configure:1535: checking for $ac_word" >&51535 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then1536 echo $ ac_n "(cached) $ac_c" 1>&63519 echo "$as_me:$LINENO: checking for $ac_word" >&5 3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3521 if test "${ac_cv_prog_LEX+set}" = set; then 3522 echo $ECHO_N "(cached) $ECHO_C" >&6 1537 3523 else 1538 3524 if test -n "$LEX"; then 1539 3525 ac_cv_prog_LEX="$LEX" # Let the user override the test. 1540 3526 else 1541 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1542 ac_dummy="$PATH" 1543 for ac_dir in $ac_dummy; do 1544 test -z "$ac_dir" && ac_dir=. 1545 if test -f $ac_dir/$ac_word; then 1546 ac_cv_prog_LEX="$ac_prog" 1547 break 1548 fi 1549 done 1550 IFS="$ac_save_ifs" 1551 fi 1552 fi 1553 LEX="$ac_cv_prog_LEX" 3527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3528 for as_dir in $PATH 3529 do 3530 IFS=$as_save_IFS 3531 test -z "$as_dir" && as_dir=. 3532 for ac_exec_ext in '' $ac_executable_extensions; do 3533 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3534 ac_cv_prog_LEX="$ac_prog" 3535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3536 break 2 3537 fi 3538 done 3539 done 3540 3541 fi 3542 fi 3543 LEX=$ac_cv_prog_LEX 1554 3544 if test -n "$LEX"; then 1555 echo "$ac_t""$LEX" 1>&6 1556 else 1557 echo "$ac_t""no" 1>&6 1558 fi 1559 1560 test -n "$LEX" && break 3545 echo "$as_me:$LINENO: result: $LEX" >&5 3546 echo "${ECHO_T}$LEX" >&6 3547 else 3548 echo "$as_me:$LINENO: result: no" >&5 3549 echo "${ECHO_T}no" >&6 3550 fi 3551 3552 test -n "$LEX" && break 1561 3553 done 1562 3554 1563 3555 if test "x${LEX}" = x; then 1564 echo "configure: warning: building without lex -- make might fail" 1>&2 3556 { echo "$as_me:$LINENO: WARNING: building without lex -- make might fail" >&5 3557 echo "$as_me: WARNING: building without lex -- make might fail" >&2;} 1565 3558 fi 1566 3559 fi … … 1569 3562 for ac_prog in bison 1570 3563 do 1571 # Extract the first word of "$ac_prog", so it can be a program name with args.3564 # Extract the first word of "$ac_prog", so it can be a program name with args. 1572 3565 set dummy $ac_prog; ac_word=$2 1573 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61574 echo "configure:1575: checking for $ac_word" >&51575 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then1576 echo $ ac_n "(cached) $ac_c" 1>&63566 echo "$as_me:$LINENO: checking for $ac_word" >&5 3567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3568 if test "${ac_cv_prog_BISON+set}" = set; then 3569 echo $ECHO_N "(cached) $ECHO_C" >&6 1577 3570 else 1578 3571 if test -n "$BISON"; then 1579 3572 ac_cv_prog_BISON="$BISON" # Let the user override the test. 1580 3573 else 1581 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1582 ac_dummy="$PATH" 1583 for ac_dir in $ac_dummy; do 1584 test -z "$ac_dir" && ac_dir=. 1585 if test -f $ac_dir/$ac_word; then 1586 ac_cv_prog_BISON="$ac_prog" 1587 break 1588 fi 1589 done 1590 IFS="$ac_save_ifs" 1591 fi 1592 fi 1593 BISON="$ac_cv_prog_BISON" 3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3575 for as_dir in $PATH 3576 do 3577 IFS=$as_save_IFS 3578 test -z "$as_dir" && as_dir=. 3579 for ac_exec_ext in '' $ac_executable_extensions; do 3580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3581 ac_cv_prog_BISON="$ac_prog" 3582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3583 break 2 3584 fi 3585 done 3586 done 3587 3588 fi 3589 fi 3590 BISON=$ac_cv_prog_BISON 1594 3591 if test -n "$BISON"; then 1595 echo "$ac_t""$BISON" 1>&6 1596 else 1597 echo "$ac_t""no" 1>&6 1598 fi 1599 1600 test -n "$BISON" && break 3592 echo "$as_me:$LINENO: result: $BISON" >&5 3593 echo "${ECHO_T}$BISON" >&6 3594 else 3595 echo "$as_me:$LINENO: result: no" >&5 3596 echo "${ECHO_T}no" >&6 3597 fi 3598 3599 test -n "$BISON" && break 1601 3600 done 1602 3601 1603 3602 if test "${BISON+set}" != set; then 1604 echo "configure: warning: did not find bison -- make might fail" 1>&2 3603 { echo "$as_me:$LINENO: WARNING: did not find bison -- make might fail" >&5 3604 echo "$as_me: WARNING: did not find bison -- make might fail" >&2;} 1605 3605 fi 1606 3606 1607 3607 # ln -s 1608 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1609 echo "configure:1610: checking whether ln -s works" >&5 1610 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1611 echo $ac_n "(cached) $ac_c" 1>&6 1612 else 1613 rm -f conftestdata 1614 if ln -s X conftestdata 2>/dev/null 1615 then 1616 rm -f conftestdata 1617 ac_cv_prog_LN_S="ln -s" 1618 else 1619 ac_cv_prog_LN_S=ln 1620 fi 1621 fi 1622 LN_S="$ac_cv_prog_LN_S" 1623 if test "$ac_cv_prog_LN_S" = "ln -s"; then 1624 echo "$ac_t""yes" 1>&6 1625 else 1626 echo "$ac_t""no" 1>&6 3608 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3609 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3610 LN_S=$as_ln_s 3611 if test "$LN_S" = "ln -s"; then 3612 echo "$as_me:$LINENO: result: yes" >&5 3613 echo "${ECHO_T}yes" >&6 3614 else 3615 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3616 echo "${ECHO_T}no, using $LN_S" >&6 1627 3617 fi 1628 3618 … … 1630 3620 for ac_prog in perl5 perl 1631 3621 do 1632 # Extract the first word of "$ac_prog", so it can be a program name with args.3622 # Extract the first word of "$ac_prog", so it can be a program name with args. 1633 3623 set dummy $ac_prog; ac_word=$2 1634 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61635 echo "configure:1636: checking for $ac_word" >&51636 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then1637 echo $ ac_n "(cached) $ac_c" 1>&63624 echo "$as_me:$LINENO: checking for $ac_word" >&5 3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3626 if test "${ac_cv_prog_PERL+set}" = set; then 3627 echo $ECHO_N "(cached) $ECHO_C" >&6 1638 3628 else 1639 3629 if test -n "$PERL"; then 1640 3630 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1641 3631 else 1642 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1643 ac_dummy="$PATH" 1644 for ac_dir in $ac_dummy; do 1645 test -z "$ac_dir" && ac_dir=. 1646 if test -f $ac_dir/$ac_word; then 1647 ac_cv_prog_PERL="$ac_prog" 1648 break 1649 fi 1650 done 1651 IFS="$ac_save_ifs" 1652 fi 1653 fi 1654 PERL="$ac_cv_prog_PERL" 3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3633 for as_dir in $PATH 3634 do 3635 IFS=$as_save_IFS 3636 test -z "$as_dir" && as_dir=. 3637 for ac_exec_ext in '' $ac_executable_extensions; do 3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3639 ac_cv_prog_PERL="$ac_prog" 3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3641 break 2 3642 fi 3643 done 3644 done 3645 3646 fi 3647 fi 3648 PERL=$ac_cv_prog_PERL 1655 3649 if test -n "$PERL"; then 1656 echo "$ac_t""$PERL" 1>&6 1657 else 1658 echo "$ac_t""no" 1>&6 1659 fi 1660 1661 test -n "$PERL" && break 3650 echo "$as_me:$LINENO: result: $PERL" >&5 3651 echo "${ECHO_T}$PERL" >&6 3652 else 3653 echo "$as_me:$LINENO: result: no" >&5 3654 echo "${ECHO_T}no" >&6 3655 fi 3656 3657 test -n "$PERL" && break 1662 3658 done 1663 3659 … … 1667 3663 # it really is the last thing to link with 1668 3664 if test "$ac_cv_singuname" != ix86-Win; then 1669 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1670 echo " configure:1671: checking for atof in -lm" >&51671 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then1673 echo $ ac_n "(cached) $ac_c" 1>&61674 else 1675 ac_ save_LIBS="$LIBS"3665 3666 echo "$as_me:$LINENO: checking for atof in -lm" >&5 3667 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6 3668 if test "${ac_cv_lib_m_atof+set}" = set; then 3669 echo $ECHO_N "(cached) $ECHO_C" >&6 3670 else 3671 ac_check_lib_save_LIBS=$LIBS 1676 3672 LIBS="-lm $LIBS" 1677 cat > conftest.$ac_ext <<EOF 1678 #line 1679 "configure" 1679 #include "confdefs.h" 3673 cat >conftest.$ac_ext <<_ACEOF 3674 /* confdefs.h. */ 3675 _ACEOF 3676 cat confdefs.h >>conftest.$ac_ext 3677 cat >>conftest.$ac_ext <<_ACEOF 3678 /* end confdefs.h. */ 3679 1680 3680 /* Override any gcc2 internal prototype to avoid an error. */ 3681 #ifdef __cplusplus 3682 extern "C" 3683 #endif 1681 3684 /* We use char because int might match the return type of a gcc2 1682 builtin and then its argument prototype would still apply. */ 1683 char atof(); 1684 1685 int main() { 1686 atof() 1687 ; return 0; } 1688 EOF 1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1690 rm -rf conftest* 1691 eval "ac_cv_lib_$ac_lib_var=yes" 1692 else 1693 echo "configure: failed program was:" >&5 1694 cat conftest.$ac_ext >&5 1695 rm -rf conftest* 1696 eval "ac_cv_lib_$ac_lib_var=no" 1697 fi 1698 rm -f conftest* 1699 LIBS="$ac_save_LIBS" 1700 1701 fi 1702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1703 echo "$ac_t""yes" 1>&6 1704 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1705 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1706 cat >> confdefs.h <<EOF 1707 #define $ac_tr_lib 1 1708 EOF 3685 builtin and then its argument prototype would still apply. */ 3686 char atof (); 3687 int 3688 main () 3689 { 3690 atof (); 3691 ; 3692 return 0; 3693 } 3694 _ACEOF 3695 rm -f conftest.$ac_objext conftest$ac_exeext 3696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3697 (eval $ac_link) 2>conftest.er1 3698 ac_status=$? 3699 grep -v '^ *+' conftest.er1 >conftest.err 3700 rm -f conftest.er1 3701 cat conftest.err >&5 3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3703 (exit $ac_status); } && 3704 { ac_try='test -z "$ac_c_werror_flag" 3705 || test ! -s conftest.err' 3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3707 (eval $ac_try) 2>&5 3708 ac_status=$? 3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3710 (exit $ac_status); }; } && 3711 { ac_try='test -s conftest$ac_exeext' 3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3713 (eval $ac_try) 2>&5 3714 ac_status=$? 3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3716 (exit $ac_status); }; }; then 3717 ac_cv_lib_m_atof=yes 3718 else 3719 echo "$as_me: failed program was:" >&5 3720 sed 's/^/| /' conftest.$ac_ext >&5 3721 3722 ac_cv_lib_m_atof=no 3723 fi 3724 rm -f conftest.err conftest.$ac_objext \ 3725 conftest$ac_exeext conftest.$ac_ext 3726 LIBS=$ac_check_lib_save_LIBS 3727 fi 3728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5 3729 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6 3730 if test $ac_cv_lib_m_atof = yes; then 3731 cat >>confdefs.h <<_ACEOF 3732 #define HAVE_LIBM 1 3733 _ACEOF 1709 3734 1710 3735 LIBS="-lm $LIBS" 1711 3736 1712 else1713 echo "$ac_t""no" 1>&61714 3737 fi 1715 3738 … … 1721 3744 case "$ac_cv_singuname" in 1722 3745 HPUX*) 1723 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 1724 echo " configure:1725: checking for shl_load in -ldld" >&51725 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 1726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then1727 echo $ ac_n "(cached) $ac_c" 1>&61728 else 1729 ac_ save_LIBS="$LIBS"3746 3747 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 3748 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 3749 if test "${ac_cv_lib_dld_shl_load+set}" = set; then 3750 echo $ECHO_N "(cached) $ECHO_C" >&6 3751 else 3752 ac_check_lib_save_LIBS=$LIBS 1730 3753 LIBS="-ldld $LIBS" 1731 cat > conftest.$ac_ext <<EOF 1732 #line 1733 "configure" 1733 #include "confdefs.h" 3754 cat >conftest.$ac_ext <<_ACEOF 3755 /* confdefs.h. */ 3756 _ACEOF 3757 cat confdefs.h >>conftest.$ac_ext 3758 cat >>conftest.$ac_ext <<_ACEOF 3759 /* end confdefs.h. */ 3760 1734 3761 /* Override any gcc2 internal prototype to avoid an error. */ 3762 #ifdef __cplusplus 3763 extern "C" 3764 #endif 1735 3765 /* We use char because int might match the return type of a gcc2 1736 builtin and then its argument prototype would still apply. */ 1737 char shl_load(); 1738 1739 int main() { 1740 shl_load() 1741 ; return 0; } 1742 EOF 1743 if { (eval echo configure:1744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1744 rm -rf conftest* 1745 eval "ac_cv_lib_$ac_lib_var=yes" 1746 else 1747 echo "configure: failed program was:" >&5 1748 cat conftest.$ac_ext >&5 1749 rm -rf conftest* 1750 eval "ac_cv_lib_$ac_lib_var=no" 1751 fi 1752 rm -f conftest* 1753 LIBS="$ac_save_LIBS" 1754 1755 fi 1756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1757 echo "$ac_t""yes" 1>&6 1758 ac_tr_lib=HAVE_LIB`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1759 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1760 cat >> confdefs.h <<EOF 1761 #define $ac_tr_lib 1 1762 EOF 3766 builtin and then its argument prototype would still apply. */ 3767 char shl_load (); 3768 int 3769 main () 3770 { 3771 shl_load (); 3772 ; 3773 return 0; 3774 } 3775 _ACEOF 3776 rm -f conftest.$ac_objext conftest$ac_exeext 3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3778 (eval $ac_link) 2>conftest.er1 3779 ac_status=$? 3780 grep -v '^ *+' conftest.er1 >conftest.err 3781 rm -f conftest.er1 3782 cat conftest.err >&5 3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3784 (exit $ac_status); } && 3785 { ac_try='test -z "$ac_c_werror_flag" 3786 || test ! -s conftest.err' 3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3788 (eval $ac_try) 2>&5 3789 ac_status=$? 3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3791 (exit $ac_status); }; } && 3792 { ac_try='test -s conftest$ac_exeext' 3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3794 (eval $ac_try) 2>&5 3795 ac_status=$? 3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3797 (exit $ac_status); }; }; then 3798 ac_cv_lib_dld_shl_load=yes 3799 else 3800 echo "$as_me: failed program was:" >&5 3801 sed 's/^/| /' conftest.$ac_ext >&5 3802 3803 ac_cv_lib_dld_shl_load=no 3804 fi 3805 rm -f conftest.err conftest.$ac_objext \ 3806 conftest$ac_exeext conftest.$ac_ext 3807 LIBS=$ac_check_lib_save_LIBS 3808 fi 3809 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 3810 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 3811 if test $ac_cv_lib_dld_shl_load = yes; then 3812 cat >>confdefs.h <<_ACEOF 3813 #define HAVE_LIBDLD 1 3814 _ACEOF 1763 3815 1764 3816 LIBS="-ldld $LIBS" 1765 3817 1766 else1767 echo "$ac_t""no" 1>&61768 3818 fi 1769 3819 … … 1777 3827 ;; 1778 3828 *Linux*) 1779 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1780 echo " configure:1781: checking for dlopen in -ldl" >&51781 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then1783 echo $ ac_n "(cached) $ac_c" 1>&61784 else 1785 ac_ save_LIBS="$LIBS"3829 3830 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 3831 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 3832 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 3833 echo $ECHO_N "(cached) $ECHO_C" >&6 3834 else 3835 ac_check_lib_save_LIBS=$LIBS 1786 3836 LIBS="-ldl $LIBS" 1787 cat > conftest.$ac_ext <<EOF 1788 #line 1789 "configure" 1789 #include "confdefs.h" 3837 cat >conftest.$ac_ext <<_ACEOF 3838 /* confdefs.h. */ 3839 _ACEOF 3840 cat confdefs.h >>conftest.$ac_ext 3841 cat >>conftest.$ac_ext <<_ACEOF 3842 /* end confdefs.h. */ 3843 1790 3844 /* Override any gcc2 internal prototype to avoid an error. */ 3845 #ifdef __cplusplus 3846 extern "C" 3847 #endif 1791 3848 /* We use char because int might match the return type of a gcc2 1792 builtin and then its argument prototype would still apply. */ 1793 char dlopen(); 1794 1795 int main() { 1796 dlopen() 1797 ; return 0; } 1798 EOF 1799 if { (eval echo configure:1800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1800 rm -rf conftest* 1801 eval "ac_cv_lib_$ac_lib_var=yes" 1802 else 1803 echo "configure: failed program was:" >&5 1804 cat conftest.$ac_ext >&5 1805 rm -rf conftest* 1806 eval "ac_cv_lib_$ac_lib_var=no" 1807 fi 1808 rm -f conftest* 1809 LIBS="$ac_save_LIBS" 1810 1811 fi 1812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1813 echo "$ac_t""yes" 1>&6 1814 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1815 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1816 cat >> confdefs.h <<EOF 1817 #define $ac_tr_lib 1 1818 EOF 3849 builtin and then its argument prototype would still apply. */ 3850 char dlopen (); 3851 int 3852 main () 3853 { 3854 dlopen (); 3855 ; 3856 return 0; 3857 } 3858 _ACEOF 3859 rm -f conftest.$ac_objext conftest$ac_exeext 3860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3861 (eval $ac_link) 2>conftest.er1 3862 ac_status=$? 3863 grep -v '^ *+' conftest.er1 >conftest.err 3864 rm -f conftest.er1 3865 cat conftest.err >&5 3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3867 (exit $ac_status); } && 3868 { ac_try='test -z "$ac_c_werror_flag" 3869 || test ! -s conftest.err' 3870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3871 (eval $ac_try) 2>&5 3872 ac_status=$? 3873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3874 (exit $ac_status); }; } && 3875 { ac_try='test -s conftest$ac_exeext' 3876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3877 (eval $ac_try) 2>&5 3878 ac_status=$? 3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3880 (exit $ac_status); }; }; then 3881 ac_cv_lib_dl_dlopen=yes 3882 else 3883 echo "$as_me: failed program was:" >&5 3884 sed 's/^/| /' conftest.$ac_ext >&5 3885 3886 ac_cv_lib_dl_dlopen=no 3887 fi 3888 rm -f conftest.err conftest.$ac_objext \ 3889 conftest$ac_exeext conftest.$ac_ext 3890 LIBS=$ac_check_lib_save_LIBS 3891 fi 3892 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 3893 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 3894 if test $ac_cv_lib_dl_dlopen = yes; then 3895 cat >>confdefs.h <<_ACEOF 3896 #define HAVE_LIBDL 1 3897 _ACEOF 1819 3898 1820 3899 LIBS="-ldl $LIBS" 1821 3900 1822 else1823 echo "$ac_t""no" 1>&61824 3901 fi 1825 3902 … … 1840 3917 ;; 1841 3918 SunOS-5) 1842 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1843 echo " configure:1844: checking for dlopen in -ldl" >&51844 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then1846 echo $ ac_n "(cached) $ac_c" 1>&61847 else 1848 ac_ save_LIBS="$LIBS"3919 3920 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 3921 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 3922 if test "${ac_cv_lib_dl_dlopen+set}" = set; then 3923 echo $ECHO_N "(cached) $ECHO_C" >&6 3924 else 3925 ac_check_lib_save_LIBS=$LIBS 1849 3926 LIBS="-ldl $LIBS" 1850 cat > conftest.$ac_ext <<EOF 1851 #line 1852 "configure" 1852 #include "confdefs.h" 3927 cat >conftest.$ac_ext <<_ACEOF 3928 /* confdefs.h. */ 3929 _ACEOF 3930 cat confdefs.h >>conftest.$ac_ext 3931 cat >>conftest.$ac_ext <<_ACEOF 3932 /* end confdefs.h. */ 3933 1853 3934 /* Override any gcc2 internal prototype to avoid an error. */ 3935 #ifdef __cplusplus 3936 extern "C" 3937 #endif 1854 3938 /* We use char because int might match the return type of a gcc2 1855 builtin and then its argument prototype would still apply. */ 1856 char dlopen(); 1857 1858 int main() { 1859 dlopen() 1860 ; return 0; } 1861 EOF 1862 if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1863 rm -rf conftest* 1864 eval "ac_cv_lib_$ac_lib_var=yes" 1865 else 1866 echo "configure: failed program was:" >&5 1867 cat conftest.$ac_ext >&5 1868 rm -rf conftest* 1869 eval "ac_cv_lib_$ac_lib_var=no" 1870 fi 1871 rm -f conftest* 1872 LIBS="$ac_save_LIBS" 1873 1874 fi 1875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1876 echo "$ac_t""yes" 1>&6 1877 ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1878 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1879 cat >> confdefs.h <<EOF 1880 #define $ac_tr_lib 1 1881 EOF 3939 builtin and then its argument prototype would still apply. */ 3940 char dlopen (); 3941 int 3942 main () 3943 { 3944 dlopen (); 3945 ; 3946 return 0; 3947 } 3948 _ACEOF 3949 rm -f conftest.$ac_objext conftest$ac_exeext 3950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3951 (eval $ac_link) 2>conftest.er1 3952 ac_status=$? 3953 grep -v '^ *+' conftest.er1 >conftest.err 3954 rm -f conftest.er1 3955 cat conftest.err >&5 3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3957 (exit $ac_status); } && 3958 { ac_try='test -z "$ac_c_werror_flag" 3959 || test ! -s conftest.err' 3960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3961 (eval $ac_try) 2>&5 3962 ac_status=$? 3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3964 (exit $ac_status); }; } && 3965 { ac_try='test -s conftest$ac_exeext' 3966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3967 (eval $ac_try) 2>&5 3968 ac_status=$? 3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3970 (exit $ac_status); }; }; then 3971 ac_cv_lib_dl_dlopen=yes 3972 else 3973 echo "$as_me: failed program was:" >&5 3974 sed 's/^/| /' conftest.$ac_ext >&5 3975 3976 ac_cv_lib_dl_dlopen=no 3977 fi 3978 rm -f conftest.err conftest.$ac_objext \ 3979 conftest$ac_exeext conftest.$ac_ext 3980 LIBS=$ac_check_lib_save_LIBS 3981 fi 3982 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 3983 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 3984 if test $ac_cv_lib_dl_dlopen = yes; then 3985 cat >>confdefs.h <<_ACEOF 3986 #define HAVE_LIBDL 1 3987 _ACEOF 1882 3988 1883 3989 LIBS="-ldl $LIBS" 1884 3990 1885 else1886 echo "$ac_t""no" 1>&61887 3991 fi 1888 3992 … … 1904 4008 1905 4009 # heder file checks 1906 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1907 echo "configure:1908: checking for ANSI C header files" >&5 1908 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1909 echo $ac_n "(cached) $ac_c" 1>&6 1910 else 1911 cat > conftest.$ac_ext <<EOF 1912 #line 1913 "configure" 1913 #include "confdefs.h" 4010 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4011 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4012 if test "${ac_cv_header_stdc+set}" = set; then 4013 echo $ECHO_N "(cached) $ECHO_C" >&6 4014 else 4015 cat >conftest.$ac_ext <<_ACEOF 4016 /* confdefs.h. */ 4017 _ACEOF 4018 cat confdefs.h >>conftest.$ac_ext 4019 cat >>conftest.$ac_ext <<_ACEOF 4020 /* end confdefs.h. */ 1914 4021 #include <stdlib.h> 1915 4022 #include <stdarg.h> 1916 4023 #include <string.h> 1917 4024 #include <float.h> 1918 EOF 1919 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1920 { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1921 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1922 if test -z "$ac_err"; then 1923 rm -rf conftest* 4025 4026 int 4027 main () 4028 { 4029 4030 ; 4031 return 0; 4032 } 4033 _ACEOF 4034 rm -f conftest.$ac_objext 4035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4036 (eval $ac_compile) 2>conftest.er1 4037 ac_status=$? 4038 grep -v '^ *+' conftest.er1 >conftest.err 4039 rm -f conftest.er1 4040 cat conftest.err >&5 4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4042 (exit $ac_status); } && 4043 { ac_try='test -z "$ac_c_werror_flag" 4044 || test ! -s conftest.err' 4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4046 (eval $ac_try) 2>&5 4047 ac_status=$? 4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4049 (exit $ac_status); }; } && 4050 { ac_try='test -s conftest.$ac_objext' 4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4052 (eval $ac_try) 2>&5 4053 ac_status=$? 4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4055 (exit $ac_status); }; }; then 1924 4056 ac_cv_header_stdc=yes 1925 4057 else 1926 echo "$ac_err" >&5 1927 echo "configure: failed program was:" >&5 1928 cat conftest.$ac_ext >&5 1929 rm -rf conftest* 1930 ac_cv_header_stdc=no 1931 fi 1932 rm -f conftest* 4058 echo "$as_me: failed program was:" >&5 4059 sed 's/^/| /' conftest.$ac_ext >&5 4060 4061 ac_cv_header_stdc=no 4062 fi 4063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1933 4064 1934 4065 if test $ac_cv_header_stdc = yes; then 1935 4066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1936 cat > conftest.$ac_ext <<EOF 1937 #line 1938 "configure" 1938 #include "confdefs.h" 4067 cat >conftest.$ac_ext <<_ACEOF 4068 /* confdefs.h. */ 4069 _ACEOF 4070 cat confdefs.h >>conftest.$ac_ext 4071 cat >>conftest.$ac_ext <<_ACEOF 4072 /* end confdefs.h. */ 1939 4073 #include <string.h> 1940 EOF 4074 4075 _ACEOF 1941 4076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1942 egrep"memchr" >/dev/null 2>&1; then4077 $EGREP "memchr" >/dev/null 2>&1; then 1943 4078 : 1944 4079 else 1945 rm -rf conftest*1946 4080 ac_cv_header_stdc=no 1947 4081 fi … … 1952 4086 if test $ac_cv_header_stdc = yes; then 1953 4087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1954 cat > conftest.$ac_ext <<EOF 1955 #line 1956 "configure" 1956 #include "confdefs.h" 4088 cat >conftest.$ac_ext <<_ACEOF 4089 /* confdefs.h. */ 4090 _ACEOF 4091 cat confdefs.h >>conftest.$ac_ext 4092 cat >>conftest.$ac_ext <<_ACEOF 4093 /* end confdefs.h. */ 1957 4094 #include <stdlib.h> 1958 EOF 4095 4096 _ACEOF 1959 4097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1960 egrep"free" >/dev/null 2>&1; then4098 $EGREP "free" >/dev/null 2>&1; then 1961 4099 : 1962 4100 else 1963 rm -rf conftest*1964 4101 ac_cv_header_stdc=no 1965 4102 fi … … 1970 4107 if test $ac_cv_header_stdc = yes; then 1971 4108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1972 if test "$cross_compiling" = yes; then4109 if test "$cross_compiling" = yes; then 1973 4110 : 1974 4111 else 1975 cat > conftest.$ac_ext <<EOF 1976 #line 1977 "configure" 1977 #include "confdefs.h" 4112 cat >conftest.$ac_ext <<_ACEOF 4113 /* confdefs.h. */ 4114 _ACEOF 4115 cat confdefs.h >>conftest.$ac_ext 4116 cat >>conftest.$ac_ext <<_ACEOF 4117 /* end confdefs.h. */ 1978 4118 #include <ctype.h> 1979 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1980 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4119 #if ((' ' & 0x0FF) == 0x020) 4120 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4121 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4122 #else 4123 # define ISLOWER(c) \ 4124 (('a' <= (c) && (c) <= 'i') \ 4125 || ('j' <= (c) && (c) <= 'r') \ 4126 || ('s' <= (c) && (c) <= 'z')) 4127 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4128 #endif 4129 1981 4130 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1982 int main () { int i; for (i = 0; i < 256; i++) 1983 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1984 exit (0); } 1985 1986 EOF 1987 if { (eval echo configure:1988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1988 then 4131 int 4132 main () 4133 { 4134 int i; 4135 for (i = 0; i < 256; i++) 4136 if (XOR (islower (i), ISLOWER (i)) 4137 || toupper (i) != TOUPPER (i)) 4138 exit(2); 4139 exit (0); 4140 } 4141 _ACEOF 4142 rm -f conftest$ac_exeext 4143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4144 (eval $ac_link) 2>&5 4145 ac_status=$? 4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4149 (eval $ac_try) 2>&5 4150 ac_status=$? 4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4152 (exit $ac_status); }; }; then 1989 4153 : 1990 4154 else 1991 echo "configure: failed program was:" >&5 1992 cat conftest.$ac_ext >&5 1993 rm -fr conftest* 1994 ac_cv_header_stdc=no 1995 fi 1996 rm -fr conftest* 1997 fi 1998 1999 fi 2000 fi 2001 2002 echo "$ac_t""$ac_cv_header_stdc" 1>&6 4155 echo "$as_me: program exited with status $ac_status" >&5 4156 echo "$as_me: failed program was:" >&5 4157 sed 's/^/| /' conftest.$ac_ext >&5 4158 4159 ( exit $ac_status ) 4160 ac_cv_header_stdc=no 4161 fi 4162 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4163 fi 4164 fi 4165 fi 4166 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4167 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2003 4168 if test $ac_cv_header_stdc = yes; then 2004 cat >> confdefs.h <<\EOF 4169 4170 cat >>confdefs.h <<\_ACEOF 2005 4171 #define STDC_HEADERS 1 2006 EOF 2007 2008 fi 2009 2010 for ac_hdr in limits.h unistd.h 4172 _ACEOF 4173 4174 fi 4175 4176 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4187 inttypes.h stdint.h unistd.h 2011 4188 do 2012 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2014 echo "configure:2015: checking for $ac_hdr" >&5 2015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2016 echo $ac_n "(cached) $ac_c" 1>&6 2017 else 2018 cat > conftest.$ac_ext <<EOF 2019 #line 2020 "configure" 2020 #include "confdefs.h" 2021 #include <$ac_hdr> 2022 EOF 2023 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2024 { (eval echo configure:2025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2025 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2026 if test -z "$ac_err"; then 2027 rm -rf conftest* 2028 eval "ac_cv_header_$ac_safe=yes" 2029 else 2030 echo "$ac_err" >&5 2031 echo "configure: failed program was:" >&5 2032 cat conftest.$ac_ext >&5 2033 rm -rf conftest* 2034 eval "ac_cv_header_$ac_safe=no" 2035 fi 2036 rm -f conftest* 2037 fi 2038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2039 echo "$ac_t""yes" 1>&6 2040 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2041 cat >> confdefs.h <<EOF 2042 #define $ac_tr_hdr 1 2043 EOF 2044 2045 else 2046 echo "$ac_t""no" 1>&6 2047 { echo "configure: error: Can not compile without limits.h unistd.h" 1>&2; exit 1; } 2048 fi 4189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4190 echo "$as_me:$LINENO: checking for $ac_header" >&5 4191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4192 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4193 echo $ECHO_N "(cached) $ECHO_C" >&6 4194 else 4195 cat >conftest.$ac_ext <<_ACEOF 4196 /* confdefs.h. */ 4197 _ACEOF 4198 cat confdefs.h >>conftest.$ac_ext 4199 cat >>conftest.$ac_ext <<_ACEOF 4200 /* end confdefs.h. */ 4201 $ac_includes_default 4202 4203 #include <$ac_header> 4204 _ACEOF 4205 rm -f conftest.$ac_objext 4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4207 (eval $ac_compile) 2>conftest.er1 4208 ac_status=$? 4209 grep -v '^ *+' conftest.er1 >conftest.err 4210 rm -f conftest.er1 4211 cat conftest.err >&5 4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4213 (exit $ac_status); } && 4214 { ac_try='test -z "$ac_c_werror_flag" 4215 || test ! -s conftest.err' 4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4217 (eval $ac_try) 2>&5 4218 ac_status=$? 4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4220 (exit $ac_status); }; } && 4221 { ac_try='test -s conftest.$ac_objext' 4222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4223 (eval $ac_try) 2>&5 4224 ac_status=$? 4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4226 (exit $ac_status); }; }; then 4227 eval "$as_ac_Header=yes" 4228 else 4229 echo "$as_me: failed program was:" >&5 4230 sed 's/^/| /' conftest.$ac_ext >&5 4231 4232 eval "$as_ac_Header=no" 4233 fi 4234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4235 fi 4236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4238 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4239 cat >>confdefs.h <<_ACEOF 4240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4241 _ACEOF 4242 4243 fi 4244 2049 4245 done 2050 4246 2051 4247 2052 for ac_hdr in sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h \ 4248 4249 4250 for ac_header in limits.h unistd.h 4251 do 4252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4253 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4254 echo "$as_me:$LINENO: checking for $ac_header" >&5 4255 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4256 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4257 echo $ECHO_N "(cached) $ECHO_C" >&6 4258 fi 4259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4261 else 4262 # Is the header compilable? 4263 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4264 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4265 cat >conftest.$ac_ext <<_ACEOF 4266 /* confdefs.h. */ 4267 _ACEOF 4268 cat confdefs.h >>conftest.$ac_ext 4269 cat >>conftest.$ac_ext <<_ACEOF 4270 /* end confdefs.h. */ 4271 $ac_includes_default 4272 #include <$ac_header> 4273 _ACEOF 4274 rm -f conftest.$ac_objext 4275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4276 (eval $ac_compile) 2>conftest.er1 4277 ac_status=$? 4278 grep -v '^ *+' conftest.er1 >conftest.err 4279 rm -f conftest.er1 4280 cat conftest.err >&5 4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4282 (exit $ac_status); } && 4283 { ac_try='test -z "$ac_c_werror_flag" 4284 || test ! -s conftest.err' 4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4286 (eval $ac_try) 2>&5 4287 ac_status=$? 4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4289 (exit $ac_status); }; } && 4290 { ac_try='test -s conftest.$ac_objext' 4291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4292 (eval $ac_try) 2>&5 4293 ac_status=$? 4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4295 (exit $ac_status); }; }; then 4296 ac_header_compiler=yes 4297 else 4298 echo "$as_me: failed program was:" >&5 4299 sed 's/^/| /' conftest.$ac_ext >&5 4300 4301 ac_header_compiler=no 4302 fi 4303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4305 echo "${ECHO_T}$ac_header_compiler" >&6 4306 4307 # Is the header present? 4308 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4310 cat >conftest.$ac_ext <<_ACEOF 4311 /* confdefs.h. */ 4312 _ACEOF 4313 cat confdefs.h >>conftest.$ac_ext 4314 cat >>conftest.$ac_ext <<_ACEOF 4315 /* end confdefs.h. */ 4316 #include <$ac_header> 4317 _ACEOF 4318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4320 ac_status=$? 4321 grep -v '^ *+' conftest.er1 >conftest.err 4322 rm -f conftest.er1 4323 cat conftest.err >&5 4324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4325 (exit $ac_status); } >/dev/null; then 4326 if test -s conftest.err; then 4327 ac_cpp_err=$ac_c_preproc_warn_flag 4328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4329 else 4330 ac_cpp_err= 4331 fi 4332 else 4333 ac_cpp_err=yes 4334 fi 4335 if test -z "$ac_cpp_err"; then 4336 ac_header_preproc=yes 4337 else 4338 echo "$as_me: failed program was:" >&5 4339 sed 's/^/| /' conftest.$ac_ext >&5 4340 4341 ac_header_preproc=no 4342 fi 4343 rm -f conftest.err conftest.$ac_ext 4344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4345 echo "${ECHO_T}$ac_header_preproc" >&6 4346 4347 # So? What about this header? 4348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4349 yes:no: ) 4350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4353 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4354 ac_header_preproc=yes 4355 ;; 4356 no:yes:* ) 4357 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4358 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4359 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4360 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4361 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4362 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4363 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4364 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4366 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4367 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4368 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4369 ( 4370 cat <<\_ASBOX 4371 ## ------------------------------------------ ## 4372 ## Report this to the AC_PACKAGE_NAME lists. ## 4373 ## ------------------------------------------ ## 4374 _ASBOX 4375 ) | 4376 sed "s/^/$as_me: WARNING: /" >&2 4377 ;; 4378 esac 4379 echo "$as_me:$LINENO: checking for $ac_header" >&5 4380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4381 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4382 echo $ECHO_N "(cached) $ECHO_C" >&6 4383 else 4384 eval "$as_ac_Header=\$ac_header_preproc" 4385 fi 4386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4388 4389 fi 4390 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4391 cat >>confdefs.h <<_ACEOF 4392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4393 _ACEOF 4394 4395 else 4396 { { echo "$as_me:$LINENO: error: Can not compile without limits.h unistd.h" >&5 4397 echo "$as_me: error: Can not compile without limits.h unistd.h" >&2;} 4398 { (exit 1); exit 1; }; } 4399 fi 4400 4401 done 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 for ac_header in sys/file.h sys/ioctl.h sys/time.h sys/times.h sys/types.h \ 2053 4420 sys/stat.h fcntl.h sys/param.h pwd.h asm/sigcontext.h pwd.h termcap.h \ 2054 4421 termios.h term.h readline/readline.h 2055 4422 do 2056 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2057 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2058 echo "configure:2059: checking for $ac_hdr" >&5 2059 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2060 echo $ac_n "(cached) $ac_c" 1>&6 2061 else 2062 cat > conftest.$ac_ext <<EOF 2063 #line 2064 "configure" 2064 #include "confdefs.h" 2065 #include <$ac_hdr> 2066 EOF 2067 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2068 { (eval echo configure:2069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2069 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2070 if test -z "$ac_err"; then 2071 rm -rf conftest* 2072 eval "ac_cv_header_$ac_safe=yes" 2073 else 2074 echo "$ac_err" >&5 2075 echo "configure: failed program was:" >&5 2076 cat conftest.$ac_ext >&5 2077 rm -rf conftest* 2078 eval "ac_cv_header_$ac_safe=no" 2079 fi 2080 rm -f conftest* 2081 fi 2082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2083 echo "$ac_t""yes" 1>&6 2084 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2085 cat >> confdefs.h <<EOF 2086 #define $ac_tr_hdr 1 2087 EOF 2088 2089 else 2090 echo "$ac_t""no" 1>&6 2091 fi 4423 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4424 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4425 echo "$as_me:$LINENO: checking for $ac_header" >&5 4426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4427 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4428 echo $ECHO_N "(cached) $ECHO_C" >&6 4429 fi 4430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4432 else 4433 # Is the header compilable? 4434 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4435 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4436 cat >conftest.$ac_ext <<_ACEOF 4437 /* confdefs.h. */ 4438 _ACEOF 4439 cat confdefs.h >>conftest.$ac_ext 4440 cat >>conftest.$ac_ext <<_ACEOF 4441 /* end confdefs.h. */ 4442 $ac_includes_default 4443 #include <$ac_header> 4444 _ACEOF 4445 rm -f conftest.$ac_objext 4446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4447 (eval $ac_compile) 2>conftest.er1 4448 ac_status=$? 4449 grep -v '^ *+' conftest.er1 >conftest.err 4450 rm -f conftest.er1 4451 cat conftest.err >&5 4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4453 (exit $ac_status); } && 4454 { ac_try='test -z "$ac_c_werror_flag" 4455 || test ! -s conftest.err' 4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4457 (eval $ac_try) 2>&5 4458 ac_status=$? 4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4460 (exit $ac_status); }; } && 4461 { ac_try='test -s conftest.$ac_objext' 4462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4463 (eval $ac_try) 2>&5 4464 ac_status=$? 4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4466 (exit $ac_status); }; }; then 4467 ac_header_compiler=yes 4468 else 4469 echo "$as_me: failed program was:" >&5 4470 sed 's/^/| /' conftest.$ac_ext >&5 4471 4472 ac_header_compiler=no 4473 fi 4474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4475 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4476 echo "${ECHO_T}$ac_header_compiler" >&6 4477 4478 # Is the header present? 4479 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4480 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4481 cat >conftest.$ac_ext <<_ACEOF 4482 /* confdefs.h. */ 4483 _ACEOF 4484 cat confdefs.h >>conftest.$ac_ext 4485 cat >>conftest.$ac_ext <<_ACEOF 4486 /* end confdefs.h. */ 4487 #include <$ac_header> 4488 _ACEOF 4489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4490 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4491 ac_status=$? 4492 grep -v '^ *+' conftest.er1 >conftest.err 4493 rm -f conftest.er1 4494 cat conftest.err >&5 4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4496 (exit $ac_status); } >/dev/null; then 4497 if test -s conftest.err; then 4498 ac_cpp_err=$ac_c_preproc_warn_flag 4499 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4500 else 4501 ac_cpp_err= 4502 fi 4503 else 4504 ac_cpp_err=yes 4505 fi 4506 if test -z "$ac_cpp_err"; then 4507 ac_header_preproc=yes 4508 else 4509 echo "$as_me: failed program was:" >&5 4510 sed 's/^/| /' conftest.$ac_ext >&5 4511 4512 ac_header_preproc=no 4513 fi 4514 rm -f conftest.err conftest.$ac_ext 4515 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4516 echo "${ECHO_T}$ac_header_preproc" >&6 4517 4518 # So? What about this header? 4519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4520 yes:no: ) 4521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4525 ac_header_preproc=yes 4526 ;; 4527 no:yes:* ) 4528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4540 ( 4541 cat <<\_ASBOX 4542 ## ------------------------------------------ ## 4543 ## Report this to the AC_PACKAGE_NAME lists. ## 4544 ## ------------------------------------------ ## 4545 _ASBOX 4546 ) | 4547 sed "s/^/$as_me: WARNING: /" >&2 4548 ;; 4549 esac 4550 echo "$as_me:$LINENO: checking for $ac_header" >&5 4551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4552 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4553 echo $ECHO_N "(cached) $ECHO_C" >&6 4554 else 4555 eval "$as_ac_Header=\$ac_header_preproc" 4556 fi 4557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4559 4560 fi 4561 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4562 cat >>confdefs.h <<_ACEOF 4563 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4564 _ACEOF 4565 4566 fi 4567 2092 4568 done 2093 4569 2094 4570 2095 4571 # typedefs, structures 2096 echo $ac_n "checking for working const""... $ac_c" 1>&6 2097 echo "configure:2098: checking for working const" >&5 2098 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2099 echo $ac_n "(cached) $ac_c" 1>&6 2100 else 2101 cat > conftest.$ac_ext <<EOF 2102 #line 2103 "configure" 2103 #include "confdefs.h" 2104 2105 int main() { 2106 2107 /* Ultrix mips cc rejects this. */ 2108 typedef int charset[2]; const charset x; 2109 /* SunOS 4.1.1 cc rejects this. */ 2110 char const *const *ccp; 2111 char **p; 2112 /* NEC SVR4.0.2 mips cc rejects this. */ 2113 struct point {int x, y;}; 2114 static struct point const zero = {0,0}; 2115 /* AIX XL C 1.02.0.0 rejects this. 2116 It does not let you subtract one const X* pointer from another in an arm 2117 of an if-expression whose if-part is not a constant expression */ 2118 const char *g = "string"; 2119 ccp = &g + (g ? g-g : 0); 2120 /* HPUX 7.0 cc rejects these. */ 2121 ++ccp; 2122 p = (char**) ccp; 2123 ccp = (char const *const *) p; 2124 { /* SCO 3.2v4 cc rejects this. */ 2125 char *t; 2126 char const *s = 0 ? (char *) 0 : (char const *) 0; 2127 2128 *t++ = 0; 4572 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 4573 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 4574 if test "${ac_cv_c_const+set}" = set; then 4575 echo $ECHO_N "(cached) $ECHO_C" >&6 4576 else 4577 cat >conftest.$ac_ext <<_ACEOF 4578 /* confdefs.h. */ 4579 _ACEOF 4580 cat confdefs.h >>conftest.$ac_ext 4581 cat >>conftest.$ac_ext <<_ACEOF 4582 /* end confdefs.h. */ 4583 4584 int 4585 main () 4586 { 4587 /* FIXME: Include the comments suggested by Paul. */ 4588 #ifndef __cplusplus 4589 /* Ultrix mips cc rejects this. */ 4590 typedef int charset[2]; 4591 const charset x; 4592 /* SunOS 4.1.1 cc rejects this. */ 4593 char const *const *ccp; 4594 char **p; 4595 /* NEC SVR4.0.2 mips cc rejects this. */ 4596 struct point {int x, y;}; 4597 static struct point const zero = {0,0}; 4598 /* AIX XL C 1.02.0.0 rejects this. 4599 It does not let you subtract one const X* pointer from another in 4600 an arm of an if-expression whose if-part is not a constant 4601 expression */ 4602 const char *g = "string"; 4603 ccp = &g + (g ? g-g : 0); 4604 /* HPUX 7.0 cc rejects these. */ 4605 ++ccp; 4606 p = (char**) ccp; 4607 ccp = (char const *const *) p; 4608 { /* SCO 3.2v4 cc rejects this. */ 4609 char *t; 4610 char const *s = 0 ? (char *) 0 : (char const *) 0; 4611 4612 *t++ = 0; 4613 } 4614 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 4615 int x[] = {25, 17}; 4616 const int *foo = &x[0]; 4617 ++foo; 4618 } 4619 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 4620 typedef const int *iptr; 4621 iptr p = 0; 4622 ++p; 4623 } 4624 { /* AIX XL C 1.02.0.0 rejects this saying 4625 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 4626 struct s { int j; const int *ap[3]; }; 4627 struct s *b; b->j = 5; 4628 } 4629 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 4630 const int foo = 10; 4631 } 4632 #endif 4633 4634 ; 4635 return 0; 2129 4636 } 2130 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 2131 int x[] = {25, 17}; 2132 const int *foo = &x[0]; 2133 ++foo;2134 } 2135 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 2136 typedef const int *iptr;2137 iptr p = 0;2138 ++p;2139 } 2140 { /* AIX XL C 1.02.0.0 rejects this saying 2141 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 2142 struct s { int j; const int *ap[3]; };2143 struct s *b; b->j = 5;2144 } 2145 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2146 const int foo = 10;2147 } 2148 2149 ; return 0; } 2150 EOF 2151 if { (eval echo configure:2152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2152 rm -rf conftest*4637 _ACEOF 4638 rm -f conftest.$ac_objext 4639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4640 (eval $ac_compile) 2>conftest.er1 4641 ac_status=$? 4642 grep -v '^ *+' conftest.er1 >conftest.err 4643 rm -f conftest.er1 4644 cat conftest.err >&5 4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4646 (exit $ac_status); } && 4647 { ac_try='test -z "$ac_c_werror_flag" 4648 || test ! -s conftest.err' 4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4650 (eval $ac_try) 2>&5 4651 ac_status=$? 4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4653 (exit $ac_status); }; } && 4654 { ac_try='test -s conftest.$ac_objext' 4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4656 (eval $ac_try) 2>&5 4657 ac_status=$? 4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4659 (exit $ac_status); }; }; then 2153 4660 ac_cv_c_const=yes 2154 4661 else 2155 echo " configure: failed program was:" >&52156 catconftest.$ac_ext >&52157 rm -rf conftest* 2158 2159 fi 2160 rm -f conftest *2161 fi 2162 2163 echo "$ ac_t""$ac_cv_c_const" 1>&64662 echo "$as_me: failed program was:" >&5 4663 sed 's/^/| /' conftest.$ac_ext >&5 4664 4665 ac_cv_c_const=no 4666 fi 4667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4668 fi 4669 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 4670 echo "${ECHO_T}$ac_cv_c_const" >&6 2164 4671 if test $ac_cv_c_const = no; then 2165 cat >> confdefs.h <<\EOF 2166 #define const 2167 EOF 2168 2169 fi 2170 2171 echo $ac_n "checking for inline""... $ac_c" 1>&6 2172 echo "configure:2173: checking for inline" >&5 2173 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2174 echo $ac_n "(cached) $ac_c" 1>&6 4672 4673 cat >>confdefs.h <<\_ACEOF 4674 #define const 4675 _ACEOF 4676 4677 fi 4678 4679 echo "$as_me:$LINENO: checking for inline" >&5 4680 echo $ECHO_N "checking for inline... $ECHO_C" >&6 4681 if test "${ac_cv_c_inline+set}" = set; then 4682 echo $ECHO_N "(cached) $ECHO_C" >&6 2175 4683 else 2176 4684 ac_cv_c_inline=no 2177 4685 for ac_kw in inline __inline__ __inline; do 2178 cat > conftest.$ac_ext <<EOF 2179 #line 2180 "configure" 2180 #include "confdefs.h" 2181 2182 int main() { 2183 } $ac_kw foo() { 2184 ; return 0; } 2185 EOF 2186 if { (eval echo configure:2187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2187 rm -rf conftest* 4686 cat >conftest.$ac_ext <<_ACEOF 4687 /* confdefs.h. */ 4688 _ACEOF 4689 cat confdefs.h >>conftest.$ac_ext 4690 cat >>conftest.$ac_ext <<_ACEOF 4691 /* end confdefs.h. */ 4692 #ifndef __cplusplus 4693 typedef int foo_t; 4694 static $ac_kw foo_t static_foo () {return 0; } 4695 $ac_kw foo_t foo () {return 0; } 4696 #endif 4697 4698 _ACEOF 4699 rm -f conftest.$ac_objext 4700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4701 (eval $ac_compile) 2>conftest.er1 4702 ac_status=$? 4703 grep -v '^ *+' conftest.er1 >conftest.err 4704 rm -f conftest.er1 4705 cat conftest.err >&5 4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4707 (exit $ac_status); } && 4708 { ac_try='test -z "$ac_c_werror_flag" 4709 || test ! -s conftest.err' 4710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4711 (eval $ac_try) 2>&5 4712 ac_status=$? 4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4714 (exit $ac_status); }; } && 4715 { ac_try='test -s conftest.$ac_objext' 4716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4717 (eval $ac_try) 2>&5 4718 ac_status=$? 4719 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4720 (exit $ac_status); }; }; then 2188 4721 ac_cv_c_inline=$ac_kw; break 2189 4722 else 2190 echo "configure: failed program was:" >&5 2191 cat conftest.$ac_ext >&5 2192 fi 2193 rm -f conftest* 4723 echo "$as_me: failed program was:" >&5 4724 sed 's/^/| /' conftest.$ac_ext >&5 4725 4726 fi 4727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2194 4728 done 2195 4729 2196 4730 fi 2197 2198 echo "$ac_t""$ac_cv_c_inline" 1>&6 2199 case "$ac_cv_c_inline" in 4731 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 4732 echo "${ECHO_T}$ac_cv_c_inline" >&6 4733 4734 4735 case $ac_cv_c_inline in 2200 4736 inline | yes) ;; 2201 no) cat >> confdefs.h <<\EOF 2202 #define inline 2203 EOF 2204 ;; 2205 *) cat >> confdefs.h <<EOF 2206 #define inline $ac_cv_c_inline 2207 EOF 2208 ;; 4737 *) 4738 case $ac_cv_c_inline in 4739 no) ac_val=;; 4740 *) ac_val=$ac_cv_c_inline;; 4741 esac 4742 cat >>confdefs.h <<_ACEOF 4743 #ifndef __cplusplus 4744 #define inline $ac_val 4745 #endif 4746 _ACEOF 4747 ;; 2209 4748 esac 2210 4749 2211 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2212 echo "configure:2213: checking for size_t" >&5 2213 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2214 echo $ac_n "(cached) $ac_c" 1>&6 2215 else 2216 cat > conftest.$ac_ext <<EOF 2217 #line 2218 "configure" 2218 #include "confdefs.h" 2219 #include <sys/types.h> 2220 #if STDC_HEADERS 2221 #include <stdlib.h> 2222 #include <stddef.h> 2223 #endif 2224 EOF 2225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2226 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then 2227 rm -rf conftest* 4750 echo "$as_me:$LINENO: checking for size_t" >&5 4751 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 4752 if test "${ac_cv_type_size_t+set}" = set; then 4753 echo $ECHO_N "(cached) $ECHO_C" >&6 4754 else 4755 cat >conftest.$ac_ext <<_ACEOF 4756 /* confdefs.h. */ 4757 _ACEOF 4758 cat confdefs.h >>conftest.$ac_ext 4759 cat >>conftest.$ac_ext <<_ACEOF 4760 /* end confdefs.h. */ 4761 $ac_includes_default 4762 int 4763 main () 4764 { 4765 if ((size_t *) 0) 4766 return 0; 4767 if (sizeof (size_t)) 4768 return 0; 4769 ; 4770 return 0; 4771 } 4772 _ACEOF 4773 rm -f conftest.$ac_objext 4774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4775 (eval $ac_compile) 2>conftest.er1 4776 ac_status=$? 4777 grep -v '^ *+' conftest.er1 >conftest.err 4778 rm -f conftest.er1 4779 cat conftest.err >&5 4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4781 (exit $ac_status); } && 4782 { ac_try='test -z "$ac_c_werror_flag" 4783 || test ! -s conftest.err' 4784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4785 (eval $ac_try) 2>&5 4786 ac_status=$? 4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4788 (exit $ac_status); }; } && 4789 { ac_try='test -s conftest.$ac_objext' 4790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4791 (eval $ac_try) 2>&5 4792 ac_status=$? 4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4794 (exit $ac_status); }; }; then 2228 4795 ac_cv_type_size_t=yes 2229 4796 else 2230 rm -rf conftest* 2231 ac_cv_type_size_t=no 2232 fi 2233 rm -f conftest* 2234 2235 fi 2236 echo "$ac_t""$ac_cv_type_size_t" 1>&6 2237 if test $ac_cv_type_size_t = no; then 2238 cat >> confdefs.h <<\EOF 4797 echo "$as_me: failed program was:" >&5 4798 sed 's/^/| /' conftest.$ac_ext >&5 4799 4800 ac_cv_type_size_t=no 4801 fi 4802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4803 fi 4804 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 4805 echo "${ECHO_T}$ac_cv_type_size_t" >&6 4806 if test $ac_cv_type_size_t = yes; then 4807 : 4808 else 4809 4810 cat >>confdefs.h <<_ACEOF 2239 4811 #define size_t unsigned 2240 EOF 2241 2242 fi 2243 2244 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2245 echo "configure:2246: checking whether struct tm is in sys/time.h or time.h" >&5 2246 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2247 echo $ac_n "(cached) $ac_c" 1>&6 2248 else 2249 cat > conftest.$ac_ext <<EOF 2250 #line 2251 "configure" 2251 #include "confdefs.h" 4812 _ACEOF 4813 4814 fi 4815 4816 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 4817 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 4818 if test "${ac_cv_struct_tm+set}" = set; then 4819 echo $ECHO_N "(cached) $ECHO_C" >&6 4820 else 4821 cat >conftest.$ac_ext <<_ACEOF 4822 /* confdefs.h. */ 4823 _ACEOF 4824 cat confdefs.h >>conftest.$ac_ext 4825 cat >>conftest.$ac_ext <<_ACEOF 4826 /* end confdefs.h. */ 2252 4827 #include <sys/types.h> 2253 4828 #include <time.h> 2254 int main() { 4829 4830 int 4831 main () 4832 { 2255 4833 struct tm *tp; tp->tm_sec; 2256 ; return 0; } 2257 EOF 2258 if { (eval echo configure:2259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2259 rm -rf conftest* 4834 ; 4835 return 0; 4836 } 4837 _ACEOF 4838 rm -f conftest.$ac_objext 4839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4840 (eval $ac_compile) 2>conftest.er1 4841 ac_status=$? 4842 grep -v '^ *+' conftest.er1 >conftest.err 4843 rm -f conftest.er1 4844 cat conftest.err >&5 4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4846 (exit $ac_status); } && 4847 { ac_try='test -z "$ac_c_werror_flag" 4848 || test ! -s conftest.err' 4849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4850 (eval $ac_try) 2>&5 4851 ac_status=$? 4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4853 (exit $ac_status); }; } && 4854 { ac_try='test -s conftest.$ac_objext' 4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4856 (eval $ac_try) 2>&5 4857 ac_status=$? 4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4859 (exit $ac_status); }; }; then 2260 4860 ac_cv_struct_tm=time.h 2261 4861 else 2262 echo " configure: failed program was:" >&52263 catconftest.$ac_ext >&52264 rm -rf conftest* 2265 2266 fi 2267 rm -f conftest *2268 fi 2269 2270 echo "$ ac_t""$ac_cv_struct_tm" 1>&64862 echo "$as_me: failed program was:" >&5 4863 sed 's/^/| /' conftest.$ac_ext >&5 4864 4865 ac_cv_struct_tm=sys/time.h 4866 fi 4867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4868 fi 4869 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 4870 echo "${ECHO_T}$ac_cv_struct_tm" >&6 2271 4871 if test $ac_cv_struct_tm = sys/time.h; then 2272 cat >> confdefs.h <<\EOF 4872 4873 cat >>confdefs.h <<\_ACEOF 2273 4874 #define TM_IN_SYS_TIME 1 2274 EOF 2275 2276 fi 2277 2278 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2279 echo "configure:2280: checking whether time.h and sys/time.h may both be included" >&5 2280 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2281 echo $ac_n "(cached) $ac_c" 1>&6 2282 else 2283 cat > conftest.$ac_ext <<EOF 2284 #line 2285 "configure" 2285 #include "confdefs.h" 4875 _ACEOF 4876 4877 fi 4878 4879 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 4880 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 4881 if test "${ac_cv_header_time+set}" = set; then 4882 echo $ECHO_N "(cached) $ECHO_C" >&6 4883 else 4884 cat >conftest.$ac_ext <<_ACEOF 4885 /* confdefs.h. */ 4886 _ACEOF 4887 cat confdefs.h >>conftest.$ac_ext 4888 cat >>conftest.$ac_ext <<_ACEOF 4889 /* end confdefs.h. */ 2286 4890 #include <sys/types.h> 2287 4891 #include <sys/time.h> 2288 4892 #include <time.h> 2289 int main() { 2290 struct tm *tp; 2291 ; return 0; } 2292 EOF 2293 if { (eval echo configure:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2294 rm -rf conftest* 4893 4894 int 4895 main () 4896 { 4897 if ((struct tm *) 0) 4898 return 0; 4899 ; 4900 return 0; 4901 } 4902 _ACEOF 4903 rm -f conftest.$ac_objext 4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4905 (eval $ac_compile) 2>conftest.er1 4906 ac_status=$? 4907 grep -v '^ *+' conftest.er1 >conftest.err 4908 rm -f conftest.er1 4909 cat conftest.err >&5 4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4911 (exit $ac_status); } && 4912 { ac_try='test -z "$ac_c_werror_flag" 4913 || test ! -s conftest.err' 4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4915 (eval $ac_try) 2>&5 4916 ac_status=$? 4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4918 (exit $ac_status); }; } && 4919 { ac_try='test -s conftest.$ac_objext' 4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4921 (eval $ac_try) 2>&5 4922 ac_status=$? 4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4924 (exit $ac_status); }; }; then 2295 4925 ac_cv_header_time=yes 2296 4926 else 2297 echo " configure: failed program was:" >&52298 catconftest.$ac_ext >&52299 rm -rf conftest* 2300 2301 fi 2302 rm -f conftest *2303 fi 2304 2305 echo "$ ac_t""$ac_cv_header_time" 1>&64927 echo "$as_me: failed program was:" >&5 4928 sed 's/^/| /' conftest.$ac_ext >&5 4929 4930 ac_cv_header_time=no 4931 fi 4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4933 fi 4934 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 4935 echo "${ECHO_T}$ac_cv_header_time" >&6 2306 4936 if test $ac_cv_header_time = yes; then 2307 cat >> confdefs.h <<\EOF 4937 4938 cat >>confdefs.h <<\_ACEOF 2308 4939 #define TIME_WITH_SYS_TIME 1 2309 EOF4940 _ACEOF 2310 4941 2311 4942 fi … … 2315 4946 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2316 4947 # for constant arguments. Useless! 2317 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2318 echo "configure:2319: checking for working alloca.h" >&5 2319 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2320 echo $ac_n "(cached) $ac_c" 1>&6 2321 else 2322 cat > conftest.$ac_ext <<EOF 2323 #line 2324 "configure" 2324 #include "confdefs.h" 4948 echo "$as_me:$LINENO: checking for working alloca.h" >&5 4949 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 4950 if test "${ac_cv_working_alloca_h+set}" = set; then 4951 echo $ECHO_N "(cached) $ECHO_C" >&6 4952 else 4953 cat >conftest.$ac_ext <<_ACEOF 4954 /* confdefs.h. */ 4955 _ACEOF 4956 cat confdefs.h >>conftest.$ac_ext 4957 cat >>conftest.$ac_ext <<_ACEOF 4958 /* end confdefs.h. */ 2325 4959 #include <alloca.h> 2326 int main() { 2327 char *p = alloca(2 * sizeof(int)); 2328 ; return 0; } 2329 EOF 2330 if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2331 rm -rf conftest* 2332 ac_cv_header_alloca_h=yes 2333 else 2334 echo "configure: failed program was:" >&5 2335 cat conftest.$ac_ext >&5 2336 rm -rf conftest* 2337 ac_cv_header_alloca_h=no 2338 fi 2339 rm -f conftest* 2340 fi 2341 2342 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 2343 if test $ac_cv_header_alloca_h = yes; then 2344 cat >> confdefs.h <<\EOF 4960 int 4961 main () 4962 { 4963 char *p = (char *) alloca (2 * sizeof (int)); 4964 ; 4965 return 0; 4966 } 4967 _ACEOF 4968 rm -f conftest.$ac_objext conftest$ac_exeext 4969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4970 (eval $ac_link) 2>conftest.er1 4971 ac_status=$? 4972 grep -v '^ *+' conftest.er1 >conftest.err 4973 rm -f conftest.er1 4974 cat conftest.err >&5 4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4976 (exit $ac_status); } && 4977 { ac_try='test -z "$ac_c_werror_flag" 4978 || test ! -s conftest.err' 4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4980 (eval $ac_try) 2>&5 4981 ac_status=$? 4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4983 (exit $ac_status); }; } && 4984 { ac_try='test -s conftest$ac_exeext' 4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4986 (eval $ac_try) 2>&5 4987 ac_status=$? 4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4989 (exit $ac_status); }; }; then 4990 ac_cv_working_alloca_h=yes 4991 else 4992 echo "$as_me: failed program was:" >&5 4993 sed 's/^/| /' conftest.$ac_ext >&5 4994 4995 ac_cv_working_alloca_h=no 4996 fi 4997 rm -f conftest.err conftest.$ac_objext \ 4998 conftest$ac_exeext conftest.$ac_ext 4999 fi 5000 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 5001 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 5002 if test $ac_cv_working_alloca_h = yes; then 5003 5004 cat >>confdefs.h <<\_ACEOF 2345 5005 #define HAVE_ALLOCA_H 1 2346 EOF 2347 2348 fi 2349 2350 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2351 echo "configure:2352: checking for alloca" >&5 2352 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2353 echo $ac_n "(cached) $ac_c" 1>&6 2354 else 2355 cat > conftest.$ac_ext <<EOF 2356 #line 2357 "configure" 2357 #include "confdefs.h" 2358 5006 _ACEOF 5007 5008 fi 5009 5010 echo "$as_me:$LINENO: checking for alloca" >&5 5011 echo $ECHO_N "checking for alloca... $ECHO_C" >&6 5012 if test "${ac_cv_func_alloca_works+set}" = set; then 5013 echo $ECHO_N "(cached) $ECHO_C" >&6 5014 else 5015 cat >conftest.$ac_ext <<_ACEOF 5016 /* confdefs.h. */ 5017 _ACEOF 5018 cat confdefs.h >>conftest.$ac_ext 5019 cat >>conftest.$ac_ext <<_ACEOF 5020 /* end confdefs.h. */ 2359 5021 #ifdef __GNUC__ 2360 5022 # define alloca __builtin_alloca … … 2378 5040 #endif 2379 5041 2380 int main() { 2381 char *p = (char *) alloca(1); 2382 ; return 0; } 2383 EOF 2384 if { (eval echo configure:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2385 rm -rf conftest* 5042 int 5043 main () 5044 { 5045 char *p = (char *) alloca (1); 5046 ; 5047 return 0; 5048 } 5049 _ACEOF 5050 rm -f conftest.$ac_objext conftest$ac_exeext 5051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5052 (eval $ac_link) 2>conftest.er1 5053 ac_status=$? 5054 grep -v '^ *+' conftest.er1 >conftest.err 5055 rm -f conftest.er1 5056 cat conftest.err >&5 5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5058 (exit $ac_status); } && 5059 { ac_try='test -z "$ac_c_werror_flag" 5060 || test ! -s conftest.err' 5061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5062 (eval $ac_try) 2>&5 5063 ac_status=$? 5064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5065 (exit $ac_status); }; } && 5066 { ac_try='test -s conftest$ac_exeext' 5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5068 (eval $ac_try) 2>&5 5069 ac_status=$? 5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5071 (exit $ac_status); }; }; then 2386 5072 ac_cv_func_alloca_works=yes 2387 5073 else 2388 echo "configure: failed program was:" >&5 2389 cat conftest.$ac_ext >&5 2390 rm -rf conftest* 2391 ac_cv_func_alloca_works=no 2392 fi 2393 rm -f conftest* 2394 fi 2395 2396 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 5074 echo "$as_me: failed program was:" >&5 5075 sed 's/^/| /' conftest.$ac_ext >&5 5076 5077 ac_cv_func_alloca_works=no 5078 fi 5079 rm -f conftest.err conftest.$ac_objext \ 5080 conftest$ac_exeext conftest.$ac_ext 5081 fi 5082 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 5083 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 5084 2397 5085 if test $ac_cv_func_alloca_works = yes; then 2398 cat >> confdefs.h <<\EOF 5086 5087 cat >>confdefs.h <<\_ACEOF 2399 5088 #define HAVE_ALLOCA 1 2400 EOF 2401 2402 fi 2403 2404 if test $ac_cv_func_alloca_works = no; then 5089 _ACEOF 5090 5091 else 2405 5092 # The SVR3 libPW and SVR4 libucb both contain incompatible functions 2406 # that cause trouble. Some versions do not even contain alloca or 2407 # contain a buggy version. If you still want to use their alloca, 2408 # use ar to extract alloca.o from them instead of compiling alloca.c. 2409 ALLOCA=alloca.${ac_objext} 2410 cat >> confdefs.h <<\EOF 5093 # that cause trouble. Some versions do not even contain alloca or 5094 # contain a buggy version. If you still want to use their alloca, 5095 # use ar to extract alloca.o from them instead of compiling alloca.c. 5096 5097 ALLOCA=alloca.$ac_objext 5098 5099 cat >>confdefs.h <<\_ACEOF 2411 5100 #define C_ALLOCA 1 2412 EOF 2413 2414 2415 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2416 echo "configure:2417: checking whether alloca needs Cray hooks" >&5 2417 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2418 echo $ac_n "(cached) $ac_c" 1>&6 2419 else 2420 cat > conftest.$ac_ext <<EOF 2421 #line 2422 "configure" 2422 #include "confdefs.h" 5101 _ACEOF 5102 5103 5104 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 5105 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 5106 if test "${ac_cv_os_cray+set}" = set; then 5107 echo $ECHO_N "(cached) $ECHO_C" >&6 5108 else 5109 cat >conftest.$ac_ext <<_ACEOF 5110 /* confdefs.h. */ 5111 _ACEOF 5112 cat confdefs.h >>conftest.$ac_ext 5113 cat >>conftest.$ac_ext <<_ACEOF 5114 /* end confdefs.h. */ 2423 5115 #if defined(CRAY) && ! defined(CRAY2) 2424 5116 webecray … … 2427 5119 #endif 2428 5120 2429 EOF5121 _ACEOF 2430 5122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2431 egrep "webecray" >/dev/null 2>&1; then 2432 rm -rf conftest* 5123 $EGREP "webecray" >/dev/null 2>&1; then 2433 5124 ac_cv_os_cray=yes 2434 5125 else 2435 rm -rf conftest*2436 5126 ac_cv_os_cray=no 2437 5127 fi … … 2439 5129 2440 5130 fi 2441 2442 echo "$ ac_t""$ac_cv_os_cray" 1>&65131 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 5132 echo "${ECHO_T}$ac_cv_os_cray" >&6 2443 5133 if test $ac_cv_os_cray = yes; then 2444 for ac_func in _getb67 GETB67 getb67; do 2445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2446 echo "configure:2447: checking for $ac_func" >&5 2447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2448 echo $ac_n "(cached) $ac_c" 1>&6 2449 else 2450 cat > conftest.$ac_ext <<EOF 2451 #line 2452 "configure" 2452 #include "confdefs.h" 5134 for ac_func in _getb67 GETB67 getb67; do 5135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5136 echo "$as_me:$LINENO: checking for $ac_func" >&5 5137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5138 if eval "test \"\${$as_ac_var+set}\" = set"; then 5139 echo $ECHO_N "(cached) $ECHO_C" >&6 5140 else 5141 cat >conftest.$ac_ext <<_ACEOF 5142 /* confdefs.h. */ 5143 _ACEOF 5144 cat confdefs.h >>conftest.$ac_ext 5145 cat >>conftest.$ac_ext <<_ACEOF 5146 /* end confdefs.h. */ 5147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 5148 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5149 #define $ac_func innocuous_$ac_func 5150 2453 5151 /* System header to define __stub macros and hopefully few prototypes, 2454 which can conflict with char $ac_func(); below. */ 2455 #include <assert.h> 5152 which can conflict with char $ac_func (); below. 5153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5154 <limits.h> exists even on freestanding compilers. */ 5155 5156 #ifdef __STDC__ 5157 # include <limits.h> 5158 #else 5159 # include <assert.h> 5160 #endif 5161 5162 #undef $ac_func 5163 2456 5164 /* Override any gcc2 internal prototype to avoid an error. */ 5165 #ifdef __cplusplus 5166 extern "C" 5167 { 5168 #endif 2457 5169 /* We use char because int might match the return type of a gcc2 2458 builtin and then its argument prototype would still apply. */ 2459 char $ac_func(); 2460 2461 int main() { 2462 5170 builtin and then its argument prototype would still apply. */ 5171 char $ac_func (); 2463 5172 /* The GNU C library defines this for functions which it implements 2464 5173 to always fail with ENOSYS. Some functions are actually named … … 2467 5176 choke me 2468 5177 #else 2469 $ac_func();5178 char (*f) () = $ac_func; 2470 5179 #endif 2471 2472 ; return 0; } 2473 EOF 2474 if { (eval echo configure:2475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2475 rm -rf conftest* 2476 eval "ac_cv_func_$ac_func=yes" 2477 else 2478 echo "configure: failed program was:" >&5 2479 cat conftest.$ac_ext >&5 2480 rm -rf conftest* 2481 eval "ac_cv_func_$ac_func=no" 2482 fi 2483 rm -f conftest* 2484 fi 2485 2486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2487 echo "$ac_t""yes" 1>&6 2488 cat >> confdefs.h <<EOF 5180 #ifdef __cplusplus 5181 } 5182 #endif 5183 5184 int 5185 main () 5186 { 5187 return f != $ac_func; 5188 ; 5189 return 0; 5190 } 5191 _ACEOF 5192 rm -f conftest.$ac_objext conftest$ac_exeext 5193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5194 (eval $ac_link) 2>conftest.er1 5195 ac_status=$? 5196 grep -v '^ *+' conftest.er1 >conftest.err 5197 rm -f conftest.er1 5198 cat conftest.err >&5 5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5200 (exit $ac_status); } && 5201 { ac_try='test -z "$ac_c_werror_flag" 5202 || test ! -s conftest.err' 5203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5204 (eval $ac_try) 2>&5 5205 ac_status=$? 5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5207 (exit $ac_status); }; } && 5208 { ac_try='test -s conftest$ac_exeext' 5209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5210 (eval $ac_try) 2>&5 5211 ac_status=$? 5212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5213 (exit $ac_status); }; }; then 5214 eval "$as_ac_var=yes" 5215 else 5216 echo "$as_me: failed program was:" >&5 5217 sed 's/^/| /' conftest.$ac_ext >&5 5218 5219 eval "$as_ac_var=no" 5220 fi 5221 rm -f conftest.err conftest.$ac_objext \ 5222 conftest$ac_exeext conftest.$ac_ext 5223 fi 5224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 5225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5226 if test `eval echo '${'$as_ac_var'}'` = yes; then 5227 5228 cat >>confdefs.h <<_ACEOF 2489 5229 #define CRAY_STACKSEG_END $ac_func 2490 EOF 2491 2492 break 2493 else 2494 echo "$ac_t""no" 1>&6 2495 fi 2496 2497 done 2498 fi 2499 2500 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2501 echo "configure:2502: checking stack direction for C alloca" >&5 2502 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2503 echo $ac_n "(cached) $ac_c" 1>&6 5230 _ACEOF 5231 5232 break 5233 fi 5234 5235 done 5236 fi 5237 5238 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 5239 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 5240 if test "${ac_cv_c_stack_direction+set}" = set; then 5241 echo $ECHO_N "(cached) $ECHO_C" >&6 2504 5242 else 2505 5243 if test "$cross_compiling" = yes; then 2506 5244 ac_cv_c_stack_direction=0 2507 5245 else 2508 cat > conftest.$ac_ext <<EOF 2509 #line 2510 "configure" 2510 #include "confdefs.h" 5246 cat >conftest.$ac_ext <<_ACEOF 5247 /* confdefs.h. */ 5248 _ACEOF 5249 cat confdefs.h >>conftest.$ac_ext 5250 cat >>conftest.$ac_ext <<_ACEOF 5251 /* end confdefs.h. */ 5252 int 2511 5253 find_stack_direction () 2512 5254 { … … 2521 5263 return (&dummy > addr) ? 1 : -1; 2522 5264 } 5265 5266 int 2523 5267 main () 2524 5268 { 2525 exit (find_stack_direction () < 0);5269 exit (find_stack_direction () < 0); 2526 5270 } 2527 EOF 2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2529 then 5271 _ACEOF 5272 rm -f conftest$ac_exeext 5273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5274 (eval $ac_link) 2>&5 5275 ac_status=$? 5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5279 (eval $ac_try) 2>&5 5280 ac_status=$? 5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5282 (exit $ac_status); }; }; then 2530 5283 ac_cv_c_stack_direction=1 2531 5284 else 2532 echo "configure: failed program was:" >&5 2533 cat conftest.$ac_ext >&5 2534 rm -fr conftest* 2535 ac_cv_c_stack_direction=-1 2536 fi 2537 rm -fr conftest* 2538 fi 2539 2540 fi 2541 2542 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 2543 cat >> confdefs.h <<EOF 5285 echo "$as_me: program exited with status $ac_status" >&5 5286 echo "$as_me: failed program was:" >&5 5287 sed 's/^/| /' conftest.$ac_ext >&5 5288 5289 ( exit $ac_status ) 5290 ac_cv_c_stack_direction=-1 5291 fi 5292 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5293 fi