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