Changeset 50c8e82 in git
- Timestamp:
- Nov 8, 2005, 9:49:16 AM (18 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 214c2d7e4b4073b10fde561308d2870946b12fbf
- Parents:
- 8247fd2096b5db338627887a3c63f1243537dd1a
- Location:
- omalloc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/configure
r8247fd r50c8e82 1 1 #! /bin/sh 2 3 2 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.13 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 3 # Generated by GNU Autoconf 2.59. 6 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. 9 10 # Defaults: 11 ac_help= 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 79 # Avoid depending upon Character Ranges. 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83 as_cr_digits='0123456789' 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 200 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 225 as_executable_p="test -f" 226 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 243 244 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246 # so uname gets run too. 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 250 251 # 252 # Initializations. 253 # 12 254 ac_default_prefix=/usr/local 13 # Any additions from configure.in: 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: dlmalloc " 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|malloc|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" 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='' 62 314 63 315 # Initialize some variables set by options. 316 ac_init_help= 317 ac_init_version=false 64 318 # The variables have the same names as the options, with 65 319 # dashes changed to underlines. 66 build=NONE 67 cache_file=./config.cache 320 cache_file=/dev/null 68 321 exec_prefix=NONE 69 host=NONE70 322 no_create= 71 nonopt=NONE72 323 no_recursion= 73 324 prefix=NONE … … 78 329 site= 79 330 srcdir= 80 target=NONE81 331 verbose= 82 332 x_includes=NONE 83 333 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_prefix 338 # by default will actually change. 339 # Use braces instead of parens because sh, perl, etc. also accept them. 84 340 bindir='${exec_prefix}/bin' 85 341 sbindir='${exec_prefix}/sbin' … … 95 351 mandir='${prefix}/man' 96 352 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=12103 104 353 ac_prev= 105 354 for ac_option 106 355 do 107 108 356 # If the previous option needs an argument, assign it. 109 357 if test -n "$ac_prev"; then … … 113 361 fi 114 362 115 case "$ac_option" in 116 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 117 *) ac_optarg= ;; 118 esac 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 119 364 120 365 # Accept the important Cygnus configure options, so we can diagnose typos. 121 366 122 case "$ac_option"in367 case $ac_option in 123 368 124 369 -bindir | --bindir | --bindi | --bind | --bin | --bi) 125 370 ac_prev=bindir ;; 126 371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 127 bindir= "$ac_optarg";;372 bindir=$ac_optarg ;; 128 373 129 374 -build | --build | --buil | --bui | --bu) 130 ac_prev=build ;;375 ac_prev=build_alias ;; 131 376 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 132 build ="$ac_optarg";;377 build_alias=$ac_optarg ;; 133 378 134 379 -cache-file | --cache-file | --cache-fil | --cache-fi \ … … 137 382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 138 383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 139 cache_file="$ac_optarg" ;; 384 cache_file=$ac_optarg ;; 385 386 --config-cache | -C) 387 cache_file=config.cache ;; 140 388 141 389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) … … 143 391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 144 392 | --da=*) 145 datadir= "$ac_optarg";;393 datadir=$ac_optarg ;; 146 394 147 395 -disable-* | --disable-*) 148 ac_feature=`e cho $ac_option|sed -e 's/-*disable-//'`396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 149 397 # Reject names that are not valid shell variable names. 150 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then151 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }152 fi153 ac_feature=`echo $ac_feature | sed 's/-/_/g'`154 eval "enable_$ {ac_feature}=no" ;;398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 400 { (exit 1); exit 1; }; } 401 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 402 eval "enable_$ac_feature=no" ;; 155 403 156 404 -enable-* | --enable-*) 157 ac_feature=`e cho $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 158 406 # Reject names that are not valid shell variable names. 159 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then160 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }161 fi162 ac_feature=`echo $ac_feature | sed 's/-/_/g'`163 case "$ac_option"in164 *=*) ;;407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 409 { (exit 1); exit 1; }; } 410 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 411 case $ac_option in 412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 165 413 *) ac_optarg=yes ;; 166 414 esac 167 eval "enable_$ {ac_feature}='$ac_optarg'" ;;415 eval "enable_$ac_feature='$ac_optarg'" ;; 168 416 169 417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 174 422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 175 423 | --exec=* | --exe=* | --ex=*) 176 exec_prefix= "$ac_optarg";;424 exec_prefix=$ac_optarg ;; 177 425 178 426 -gas | --gas | --ga | --g) … … 180 428 with_gas=yes ;; 181 429 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 ;; 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 ;; 236 436 237 437 -host | --host | --hos | --ho) 238 ac_prev=host ;;438 ac_prev=host_alias ;; 239 439 -host=* | --host=* | --hos=* | --ho=*) 240 host ="$ac_optarg";;440 host_alias=$ac_optarg ;; 241 441 242 442 -includedir | --includedir | --includedi | --included | --include \ … … 245 445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 246 446 | --includ=* | --inclu=* | --incl=* | --inc=*) 247 includedir= "$ac_optarg";;447 includedir=$ac_optarg ;; 248 448 249 449 -infodir | --infodir | --infodi | --infod | --info | --inf) 250 450 ac_prev=infodir ;; 251 451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 252 infodir= "$ac_optarg";;452 infodir=$ac_optarg ;; 253 453 254 454 -libdir | --libdir | --libdi | --libd) 255 455 ac_prev=libdir ;; 256 456 -libdir=* | --libdir=* | --libdi=* | --libd=*) 257 libdir= "$ac_optarg";;457 libdir=$ac_optarg ;; 258 458 259 459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ … … 262 462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 263 463 | --libexe=* | --libex=* | --libe=*) 264 libexecdir= "$ac_optarg";;464 libexecdir=$ac_optarg ;; 265 465 266 466 -localstatedir | --localstatedir | --localstatedi | --localstated \ … … 271 471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 272 472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 273 localstatedir= "$ac_optarg";;473 localstatedir=$ac_optarg ;; 274 474 275 475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 276 476 ac_prev=mandir ;; 277 477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 278 mandir= "$ac_optarg";;478 mandir=$ac_optarg ;; 279 479 280 480 -nfp | --nfp | --nf) … … 283 483 284 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 285 | --no-cr | --no-c )485 | --no-cr | --no-c | -n) 286 486 no_create=yes ;; 287 487 … … 297 497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 298 498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 299 oldincludedir= "$ac_optarg";;499 oldincludedir=$ac_optarg ;; 300 500 301 501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 302 502 ac_prev=prefix ;; 303 503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 304 prefix= "$ac_optarg";;504 prefix=$ac_optarg ;; 305 505 306 506 -program-prefix | --program-prefix | --program-prefi | --program-pref \ … … 309 509 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 310 510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 311 program_prefix= "$ac_optarg";;511 program_prefix=$ac_optarg ;; 312 512 313 513 -program-suffix | --program-suffix | --program-suffi | --program-suff \ … … 316 516 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 317 517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 318 program_suffix= "$ac_optarg";;518 program_suffix=$ac_optarg ;; 319 519 320 520 -program-transform-name | --program-transform-name \ … … 333 533 | --program-trans=* | --program-tran=* \ 334 534 | --progr-tra=* | --program-tr=* | --program-t=*) 335 program_transform_name= "$ac_optarg";;535 program_transform_name=$ac_optarg ;; 336 536 337 537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 343 543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 344 544 | --sbi=* | --sb=*) 345 sbindir= "$ac_optarg";;545 sbindir=$ac_optarg ;; 346 546 347 547 -sharedstatedir | --sharedstatedir | --sharedstatedi \ … … 354 554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 355 555 | --sha=* | --sh=*) 356 sharedstatedir= "$ac_optarg";;556 sharedstatedir=$ac_optarg ;; 357 557 358 558 -site | --site | --sit) 359 559 ac_prev=site ;; 360 560 -site=* | --site=* | --sit=*) 361 site= "$ac_optarg";;561 site=$ac_optarg ;; 362 562 363 563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 364 564 ac_prev=srcdir ;; 365 565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 366 srcdir= "$ac_optarg";;566 srcdir=$ac_optarg ;; 367 567 368 568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ … … 371 571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 372 572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 373 sysconfdir= "$ac_optarg";;573 sysconfdir=$ac_optarg ;; 374 574 375 575 -target | --target | --targe | --targ | --tar | --ta | --t) 376 ac_prev=target ;;576 ac_prev=target_alias ;; 377 577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 378 target ="$ac_optarg";;578 target_alias=$ac_optarg ;; 379 579 380 580 -v | -verbose | --verbose | --verbos | --verbo | --verb) 381 581 verbose=yes ;; 382 582 383 -version | --version | --versio | --versi | --vers) 384 echo "configure generated by autoconf version 2.13" 385 exit 0 ;; 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; 386 585 387 586 -with-* | --with-*) 388 ac_package=`e cho $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 389 588 # Reject names that are not valid shell variable names. 390 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then391 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }392 fi589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 590 { echo "$as_me: error: invalid package name: $ac_package" >&2 591 { (exit 1); exit 1; }; } 393 592 ac_package=`echo $ac_package| sed 's/-/_/g'` 394 case "$ac_option"in395 *=*) ;;593 case $ac_option in 594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 396 595 *) ac_optarg=yes ;; 397 596 esac 398 eval "with_$ {ac_package}='$ac_optarg'" ;;597 eval "with_$ac_package='$ac_optarg'" ;; 399 598 400 599 -without-* | --without-*) 401 ac_package=`e cho $ac_option|sed -e 's/-*without-//'`600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 402 601 # Reject names that are not valid shell variable names. 403 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then404 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }405 fi406 ac_package=`echo $ac_package | sed 's/-/_/g'`407 eval "with_$ {ac_package}=no" ;;602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 603 { echo "$as_me: error: invalid package name: $ac_package" >&2 604 { (exit 1); exit 1; }; } 605 ac_package=`echo $ac_package | sed 's/-/_/g'` 606 eval "with_$ac_package=no" ;; 408 607 409 608 --x) … … 416 615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 417 616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 418 x_includes= "$ac_optarg";;617 x_includes=$ac_optarg ;; 419 618 420 619 -x-libraries | --x-libraries | --x-librarie | --x-librari \ … … 423 622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 424 623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 425 x_libraries="$ac_optarg" ;; 426 427 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 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; }; } 428 629 ;; 429 630 631 *=*) 632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 633 # Reject names that are not valid shell variable names. 634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 636 { (exit 1); exit 1; }; } 637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 638 eval "$ac_envvar='$ac_optarg'" 639 export $ac_envvar ;; 640 430 641 *) 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" 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} 438 647 ;; 439 648 … … 442 651 443 652 if test -n "$ac_prev"; then 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 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 473 660 do 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" ;; 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; }; };; 482 666 esac 483 667 done 484 668 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 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 503 704 504 705 # Find the source files, if location was not specified. … … 506 707 ac_srcdir_defaulted=yes 507 708 # Try the directory containing this script, then its parent. 508 ac_prog=$0 509 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 510 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 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'` 511 721 srcdir=$ac_confdir 512 722 if test ! -r $srcdir/$ac_unique_file; then … … 518 728 if test ! -r $srcdir/$ac_unique_file; then 519 729 if test "$ac_srcdir_defaulted" = yes; then 520 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 521 732 else 522 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 523 735 fi 524 736 fi 525 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 526 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. 527 1212 # Prefer explicitly selected file to automatically selected ones. 528 1213 if test -z "$CONFIG_SITE"; then … … 535 1220 for ac_site_file in $CONFIG_SITE; do 536 1221 if test -r "$ac_site_file"; then 537 echo "loading site script $ac_site_file" 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 538 1225 . "$ac_site_file" 539 1226 fi … … 541 1228 542 1229 if test -r "$cache_file"; then 543 echo "loading cache $cache_file" 544 . $cache_file 545 else 546 echo "creating cache $cache_file" 547 > $cache_file 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 1239 fi 1240 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; }; } 548 1295 fi 549 1296 550 1297 ac_ext=c 551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.552 1298 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= 566 fi 567 else 568 ac_n= ac_c='\c' ac_t= 569 fi 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 570 1319 571 1320 572 1321 573 1322 VERSION=0.9.5 1323 574 1324 575 1325 … … 577 1327 if test "${with_external_config_h+set}" = set; then 578 1328 withval="$with_external_config_h" 579 : 580 fi 1329 1330 fi; 581 1331 582 1332 # Check whether --with-external-config_c or --without-external-config_c was given. 583 1333 if test "${with_external_config_c+set}" = set; then 584 1334 withval="$with_external_config_c" 585 : 586 fi 1335 1336 fi; 587 1337 588 1338 # Check whether --with-malloc or --without-malloc was given. 589 1339 if test "${with_malloc+set}" = set; then 590 1340 withval="$with_malloc" 591 : 592 fi 1341 1342 fi; 593 1343 594 1344 # Check whether --with-external-malloc_h or --without-external-malloc_h was given. 595 1345 if test "${with_external_malloc_h+set}" = set; then 596 1346 withval="$with_external_malloc_h" 597 : 598 fi 1347 1348 fi; 599 1349 600 1350 # Check whether --with-external-malloc_c or --without-external-malloc_c was given. 601 1351 if test "${with_external_malloc_c+set}" = set; then 602 1352 withval="$with_external_malloc_c" 603 : 604 fi 1353 1354 fi; 605 1355 606 1356 # Check whether --with-valloc or --without-valloc was given. 607 1357 if test "${with_valloc+set}" = set; then 608 1358 withval="$with_valloc" 609 : 610 fi 1359 1360 fi; 611 1361 612 1362 # Check whether --with-provide-malloc or --without-provide-malloc was given. 613 1363 if test "${with_provide_malloc+set}" = set; then 614 1364 withval="$with_provide_malloc" 615 : 616 fi 1365 1366 fi; 617 1367 618 1368 # Check whether --with-emulate-omalloc or --without-emulate-omalloc was given. 619 1369 if test "${with_emulate_omalloc+set}" = set; then 620 1370 withval="$with_emulate_omalloc" 621 : 622 fi 1371 1372 fi; 623 1373 624 1374 # Check whether --with-align or --without-align was given. 625 1375 if test "${with_align+set}" = set; then 626 1376 withval="$with_align" 627 : 628 fi 1377 1378 fi; 629 1379 630 1380 # Check whether --with-dense-bins or --without-dense-bins was given. 631 1381 if test "${with_dense_bins+set}" = set; then 632 1382 withval="$with_dense_bins" 633 : 634 fi 1383 1384 fi; 635 1385 636 1386 # Check whether --with-inline or --without-inline was given. 637 1387 if test "${with_inline+set}" = set; then 638 1388 withval="$with_inline" 639 : 640 fi 1389 1390 fi; 641 1391 642 1392 # Check whether --with-debug or --without-debug was given. 643 1393 if test "${with_debug+set}" = set; then 644 1394 withval="$with_debug" 645 : 646 fi 1395 1396 fi; 647 1397 648 1398 # Check whether --with-track or --without-track was given. 649 1399 if test "${with_track+set}" = set; then 650 1400 withval="$with_track" 651 : 652 fi 1401 1402 fi; 653 1403 654 1404 # Check whether --with-track-fl or --without-track-fl was given. 655 1405 if test "${with_track_fl+set}" = set; then 656 1406 withval="$with_track_fl" 657 : 658 fi 1407 1408 fi; 659 1409 660 1410 # Check whether --with-track-return or --without-track-return was given. 661 1411 if test "${with_track_return+set}" = set; then 662 1412 withval="$with_track_return" 663 : 664 fi 1413 1414 fi; 665 1415 666 1416 # Check whether --with-track-backtrace or --without-track-backtrace was given. 667 1417 if test "${with_track_backtrace+set}" = set; then 668 1418 withval="$with_track_backtrace" 669 : 670 fi 1419 1420 fi; 671 1421 672 1422 # Check whether --with-track-custom or --without-track-custom was given. 673 1423 if test "${with_track_custom+set}" = set; then 674 1424 withval="$with_track_custom" 675 : 676 fi 1425 1426 fi; 677 1427 678 1428 # Check whether --with-internal_debug or --without-internal_debug was given. 679 1429 if test "${with_internal_debug+set}" = set; then 680 1430 withval="$with_internal_debug" 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 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 692 1441 all: 693 @echo 'ac_maketemp="$ {MAKE}"'694 EOF1442 @echo 'ac_maketemp="$(MAKE)"' 1443 _ACEOF 695 1444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 696 eval `${MAKE-make} -f conftest make 2>/dev/null | grep temp=`1445 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` 697 1446 if test -n "$ac_maketemp"; then 698 1447 eval ac_cv_prog_make_${ac_make}_set=yes … … 700 1449 eval ac_cv_prog_make_${ac_make}_set=no 701 1450 fi 702 rm -f conftest make1451 rm -f conftest.make 703 1452 fi 704 1453 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 705 echo "$ac_t""yes" 1>&6 1454 echo "$as_me:$LINENO: result: yes" >&5 1455 echo "${ECHO_T}yes" >&6 706 1456 SET_MAKE= 707 1457 else 708 echo "$ac_t""no" 1>&6 1458 echo "$as_me:$LINENO: result: no" >&5 1459 echo "${ECHO_T}no" >&6 709 1460 SET_MAKE="MAKE=${MAKE-make}" 710 1461 fi 711 1462 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 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 718 1475 else 719 1476 if test -n "$CC"; then 720 1477 ac_cv_prog_CC="$CC" # Let the user override the test. 721 1478 else 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" 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 735 1496 if test -n "$CC"; then 736 echo "$ac_t""$CC" 1>&6 737 else 738 echo "$ac_t""no" 1>&6 739 fi 740 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 741 1628 if test -z "$CC"; then 742 1629 # Extract the first word of "cc", so it can be a program name with args. 743 1630 set dummy cc; ac_word=$2 744 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6745 echo "configure:746: checking for $ac_word" >&5746 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then747 echo $ ac_n "(cached) $ac_c" 1>&61631 echo "$as_me:$LINENO: checking for $ac_word" >&5 1632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1633 if test "${ac_cv_prog_CC+set}" = set; then 1634 echo $ECHO_N "(cached) $ECHO_C" >&6 748 1635 else 749 1636 if test -n "$CC"; then 750 1637 ac_cv_prog_CC="$CC" # Let the user override the test. 751 1638 else 752 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"753 1639 ac_prog_rejected=no 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" 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 767 1658 if test $ac_prog_rejected = yes; then 768 1659 # We found a bogon in the path, so make sure we never use it. 769 1660 set dummy $ac_cv_prog_CC 770 1661 shift 771 if test $# -gt0; then1662 if test $# != 0; then 772 1663 # We chose a different compiler from the bogus one. 773 1664 # However, it has the same basename, so the bogon will be chosen 774 1665 # first if we set CC to just the basename; use the full file name. 775 1666 shift 776 set dummy "$ac_dir/$ac_word" "$@" 777 shift 778 ac_cv_prog_CC="$@" 1667 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 779 1668 fi 780 1669 fi 781 1670 fi 782 1671 fi 783 CC= "$ac_cv_prog_CC"1672 CC=$ac_cv_prog_CC 784 1673 if test -n "$CC"; then 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 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 799 1692 else 800 1693 if test -n "$CC"; then 801 1694 ac_cv_prog_CC="$CC" # Let the user override the test. 802 1695 else 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 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 1706 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 1748 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; }; } 810 1898 fi 811 done812 IFS="$ac_save_ifs"813 fi814 fi815 CC="$ac_cv_prog_CC"816 if test -n "$CC"; then817 echo "$ac_t""$CC" 1>&6818 else819 echo "$ac_t""no" 1>&6820 fi821 ;;822 esac823 1899 fi 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 851 fi 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; 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 882 2016 #endif 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 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 909 2103 ac_cv_prog_cc_g=yes 910 2104 else 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 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 918 2114 if test "$ac_test_CFLAGS" = set; then 919 CFLAGS= "$ac_save_CFLAGS"2115 CFLAGS=$ac_save_CFLAGS 920 2116 elif test $ac_cv_prog_cc_g = yes; then 921 2117 if test "$GCC" = yes; then … … 931 2127 fi 932 2128 fi 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 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 936 2400 # On Suns, sometimes $CPP names a directory. 937 2401 if test -n "$CPP" && test -d "$CPP"; then … … 939 2403 fi 940 2404 if test -z "$CPP"; then 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" 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. 947 2418 # On the NeXT, cc -E runs the code through the compiler's parser, 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 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 959 2451 : 960 2452 else 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 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 976 2558 : 977 2559 else 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 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 993 2612 : 994 2613 else 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 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 1020 2634 else 1021 2635 if test -n "$RANLIB"; then 1022 2636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1023 2637 else 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" 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 1038 2655 if test -n "$RANLIB"; then 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 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 1063 2716 fi 1064 2717 … … 1073 2726 ac_install_sh="$ac_aux_dir/install.sh -c" 1074 2727 break 2728 elif test -f $ac_dir/shtool; then 2729 ac_aux_dir=$ac_dir 2730 ac_install_sh="$ac_aux_dir/shtool install -c" 2731 break 1075 2732 fi 1076 2733 done 1077 2734 if test -z "$ac_aux_dir"; then 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. 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. 1083 2742 1084 2743 # Find a good install program. We prefer a C program (faster), … … 1089 2748 # IRIX /sbin/install 1090 2749 # AIX /bin/install 2750 # AmigaOS /C/install, which installs bootblocks on floppy discs 1091 2751 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1092 2752 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1093 2753 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2754 # OS/2's system install, which has a completely different semantic 1094 2755 # ./install, which can be erroneously created by make from ./install.sh. 1095 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61096 echo "configure:1097: checking for a BSD compatible install" >&52756 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2757 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1097 2758 if test -z "$INSTALL"; 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 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 1112 2780 if test $ac_prog = install && 1113 grep dspmsg $ac_dir/$ac_prog>/dev/null 2>&1; then2781 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1114 2782 # AIX install. It has an incompatible calling convention. 1115 2783 : 2784 elif test $ac_prog = install && 2785 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2786 # program-specific install script used by HP pwplus--don't use. 2787 : 1116 2788 else 1117 ac_cv_path_install="$a c_dir/$ac_prog-c"1118 break 22789 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2790 break 3 1119 2791 fi 1120 2792 fi 1121 2793 done 1122 ;; 1123 esac 1124 done 1125 IFS="$ac_save_IFS" 2794 done 2795 ;; 2796 esac 2797 done 2798 1126 2799 1127 2800 fi 1128 2801 if test "${ac_cv_path_install+set}" = set; then 1129 INSTALL= "$ac_cv_path_install"2802 INSTALL=$ac_cv_path_install 1130 2803 else 1131 2804 # As a last resort, use the slow shell script. We don't cache a … … 1133 2806 # break other packages using the cache if that directory is 1134 2807 # removed, or if the path is relative. 1135 INSTALL= "$ac_install_sh"2808 INSTALL=$ac_install_sh 1136 2809 fi 1137 2810 fi 1138 echo "$ac_t""$INSTALL" 1>&6 2811 echo "$as_me:$LINENO: result: $INSTALL" >&5 2812 echo "${ECHO_T}$INSTALL" >&6 1139 2813 1140 2814 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1142 2816 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1143 2817 1144 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL _PROGRAM}'2818 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1145 2819 1146 2820 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1147 2821 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; 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; 1181 2887 } 1182 { /* 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*2888 _ACEOF 2889 rm -f conftest.$ac_objext 2890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2891 (eval $ac_compile) 2>conftest.er1 2892 ac_status=$? 2893 grep -v '^ *+' conftest.er1 >conftest.err 2894 rm -f conftest.er1 2895 cat conftest.err >&5 2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2897 (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\"") >&5 2901 (eval $ac_try) 2>&5 2902 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); }; }; then 1205 2911 ac_cv_c_const=yes 1206 2912 else 1207 echo " configure: failed program was:" >&51208 catconftest.$ac_ext >&51209 rm -rf conftest* 1210 1211 fi 1212 rm -f conftest *1213 fi 1214 1215 echo "$ ac_t""$ac_cv_c_const" 1>&62913 echo "$as_me: failed program was:" >&5 2914 sed 's/^/| /' conftest.$ac_ext >&5 2915 2916 ac_cv_c_const=no 2917 fi 2918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2919 fi 2920 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 2921 echo "${ECHO_T}$ac_cv_c_const" >&6 1216 2922 if test $ac_cv_c_const = no; then 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 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 1227 2934 else 1228 2935 ac_cv_c_inline=no 1229 2936 for ac_kw in inline __inline__ __inline; do 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* 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 1240 2972 ac_cv_c_inline=$ac_kw; break 1241 2973 else 1242 echo "configure: failed program was:" >&5 1243 cat conftest.$ac_ext >&5 1244 fi 1245 rm -f conftest* 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 1246 2979 done 1247 2980 1248 2981 fi 1249 1250 echo "$ac_t""$ac_cv_c_inline" 1>&6 1251 case "$ac_cv_c_inline" in 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 1252 2987 inline | yes) ;; 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 ;; 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 ;; 1261 2999 esac 1262 3000 … … 1264 3002 # Extract the first word of "ar", so it can be a program name with args. 1265 3003 set dummy ar; ac_word=$2 1266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61267 echo "configure:1268: checking for $ac_word" >&51268 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then1269 echo $ ac_n "(cached) $ac_c" 1>&63004 echo "$as_me:$LINENO: checking for $ac_word" >&5 3005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3006 if test "${ac_cv_prog_AR+set}" = set; then 3007 echo $ECHO_N "(cached) $ECHO_C" >&6 1270 3008 else 1271 3009 if test -n "$AR"; then 1272 3010 ac_cv_prog_AR="$AR" # Let the user override the test. 1273 3011 else 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" 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 1284 3026 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=":" 1285 3027 fi 1286 3028 fi 1287 AR= "$ac_cv_prog_AR"3029 AR=$ac_cv_prog_AR 1288 3030 if test -n "$AR"; then 1289 echo "$ac_t""$AR" 1>&6 1290 else 1291 echo "$ac_t""no" 1>&6 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 1292 3036 fi 1293 3037 1294 3038 if test "$ac_cv_prog_AR" != ar; then 1295 { echo "configure: error: *** ar program not found" 1>&2; exit 1; } 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; }; } 1296 3042 fi 1297 3043 for ac_prog in perl 1298 3044 do 1299 # Extract the first word of "$ac_prog", so it can be a program name with args.3045 # Extract the first word of "$ac_prog", so it can be a program name with args. 1300 3046 set dummy $ac_prog; ac_word=$2 1301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61302 echo "configure:1303: checking for $ac_word" >&51303 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then1304 echo $ ac_n "(cached) $ac_c" 1>&63047 echo "$as_me:$LINENO: checking for $ac_word" >&5 3048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3049 if test "${ac_cv_prog_PERL+set}" = set; then 3050 echo $ECHO_N "(cached) $ECHO_C" >&6 1305 3051 else 1306 3052 if test -n "$PERL"; then 1307 3053 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1308 3054 else 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" 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 1322 3072 if test -n "$PERL"; then 1323 echo "$ac_t""$PERL" 1>&6 1324 else 1325 echo "$ac_t""no" 1>&6 1326 fi 1327 1328 test -n "$PERL" && break 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 1329 3081 done 1330 3082 test -n "$PERL" || PERL=""no"" 1331 3083 1332 3084 if test "$ac_cv_prog_PERL" = no; then 1333 { echo "configure: error: *** perl program not found" 1>&2; exit 1; } 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; }; } 1334 3088 fi 1335 3089 1336 3090 # Extract the first word of "addr2line", so it can be a program name with args. 1337 3091 set dummy addr2line; ac_word=$2 1338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61339 echo "configure:1340: checking for $ac_word" >&51340 if eval "test \"`echo '$''{'ac_cv_prog_ADDR2LINE'+set}'`\" = set"; then1341 echo $ ac_n "(cached) $ac_c" 1>&63092 echo "$as_me:$LINENO: checking for $ac_word" >&5 3093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3094 if test "${ac_cv_prog_ADDR2LINE+set}" = set; then 3095 echo $ECHO_N "(cached) $ECHO_C" >&6 1342 3096 else 1343 3097 if test -n "$ADDR2LINE"; then 1344 3098 ac_cv_prog_ADDR2LINE="$ADDR2LINE" # Let the user override the test. 1345 3099 else 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 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 3114 test -z "$ac_cv_prog_ADDR2LINE" && ac_cv_prog_ADDR2LINE="no" 3115 fi 3116 fi 3117 ADDR2LINE=$ac_cv_prog_ADDR2LINE 3118 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 3124 fi 3125 3126 if test "$ac_cv_prog_ADDR2LINE" = addr2line; then 3127 cat >>confdefs.h <<_ACEOF 3128 #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' 1353 3142 fi 1354 done 1355 IFS="$ac_save_ifs" 1356 test -z "$ac_cv_prog_ADDR2LINE" && ac_cv_prog_ADDR2LINE="no" 1357 fi 1358 fi 1359 ADDR2LINE="$ac_cv_prog_ADDR2LINE" 1360 if test -n "$ADDR2LINE"; then 1361 echo "$ac_t""$ADDR2LINE" 1>&6 1362 else 1363 echo "$ac_t""no" 1>&6 1364 fi 1365 1366 if test "$ac_cv_prog_ADDR2LINE" = addr2line; then 1367 cat >> confdefs.h <<EOF 1368 #define OM_PROG_ADDR2LINE "$ac_cv_prog_ADDR2LINE" 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" 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. */ 1381 3160 #include <stdlib.h> 1382 3161 #include <stdarg.h> 1383 3162 #include <string.h> 1384 3163 #include <float.h> 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* 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 1391 3195 ac_cv_header_stdc=yes 1392 3196 else 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* 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 1400 3203 1401 3204 if test $ac_cv_header_stdc = yes; then 1402 3205 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1403 cat > conftest.$ac_ext <<EOF 1404 #line 1405 "configure" 1405 #include "confdefs.h" 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. */ 1406 3212 #include <string.h> 1407 EOF 3213 3214 _ACEOF 1408 3215 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1409 egrep"memchr" >/dev/null 2>&1; then3216 $EGREP "memchr" >/dev/null 2>&1; then 1410 3217 : 1411 3218 else 1412 rm -rf conftest*1413 3219 ac_cv_header_stdc=no 1414 3220 fi … … 1419 3225 if test $ac_cv_header_stdc = yes; then 1420 3226 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1421 cat > conftest.$ac_ext <<EOF 1422 #line 1423 "configure" 1423 #include "confdefs.h" 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. */ 1424 3233 #include <stdlib.h> 1425 EOF 3234 3235 _ACEOF 1426 3236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1427 egrep"free" >/dev/null 2>&1; then3237 $EGREP "free" >/dev/null 2>&1; then 1428 3238 : 1429 3239 else 1430 rm -rf conftest*1431 3240 ac_cv_header_stdc=no 1432 3241 fi … … 1437 3246 if test $ac_cv_header_stdc = yes; then 1438 3247 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1439 if test "$cross_compiling" = yes; then3248 if test "$cross_compiling" = yes; then 1440 3249 : 1441 3250 else 1442 cat > conftest.$ac_ext <<EOF 1443 #line 1444 "configure" 1444 #include "confdefs.h" 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. */ 1445 3257 #include <ctype.h> 1446 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1447 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 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 1448 3269 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 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 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 1456 3292 : 1457 3293 else 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 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 1470 3307 if test $ac_cv_header_stdc = yes; then 1471 cat >> confdefs.h <<\EOF 3308 3309 cat >>confdefs.h <<\_ACEOF 1472 3310 #define STDC_HEADERS 1 1473 EOF 1474 1475 fi 1476 1477 for ac_hdr in limits.h 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 1478 3327 do 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 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 1516 3384 done 1517 3385 1518 for ac_hdr in unistd.h sys/mman.h fcntl.h /usr/include/malloc.h 3386 3387 3388 for ac_header in limits.h 1519 3389 do 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 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 1556 3539 done 3540 3541 3542 3543 3544 3545 for ac_header in unistd.h sys/mman.h fcntl.h /usr/include/malloc.h 3546 do 3547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3548 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3549 echo "$as_me:$LINENO: checking for $ac_header" >&5 3550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3551 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3552 echo $ECHO_N "(cached) $ECHO_C" >&6 3553 fi 3554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3556 else 3557 # Is the header compilable? 3558 echo "$as_me:$LINENO: checking $ac_header usability" >&5 3559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 3560 cat >conftest.$ac_ext <<_ACEOF 3561 /* confdefs.h. */ 3562 _ACEOF 3563 cat confdefs.h >>conftest.$ac_ext 3564 cat >>conftest.$ac_ext <<_ACEOF 3565 /* end confdefs.h. */ 3566 $ac_includes_default 3567 #include <$ac_header> 3568 _ACEOF 3569 rm -f conftest.$ac_objext 3570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3571 (eval $ac_compile) 2>conftest.er1 3572 ac_status=$? 3573 grep -v '^ *+' conftest.er1 >conftest.err 3574 rm -f conftest.er1 3575 cat conftest.err >&5 3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 (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\"") >&5 3581 (eval $ac_try) 2>&5 3582 ac_status=$? 3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3584 (exit $ac_status); }; } && 3585 { ac_try='test -s conftest.$ac_objext' 3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3587 (eval $ac_try) 2>&5 3588 ac_status=$? 3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3590 (exit $ac_status); }; }; then 3591 ac_header_compiler=yes 3592 else 3593 echo "$as_me: failed program was:" >&5 3594 sed 's/^/| /' conftest.$ac_ext >&5 3595 3596 ac_header_compiler=no 3597 fi 3598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 3600 echo "${ECHO_T}$ac_header_compiler" >&6 3601 3602 # Is the header present? 3603 echo "$as_me:$LINENO: checking $ac_header presence" >&5 3604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 3605 cat >conftest.$ac_ext <<_ACEOF 3606 /* confdefs.h. */ 3607 _ACEOF 3608 cat confdefs.h >>conftest.$ac_ext 3609 cat >>conftest.$ac_ext <<_ACEOF 3610 /* end confdefs.h. */ 3611 #include <$ac_header> 3612 _ACEOF 3613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3614 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3615 ac_status=$? 3616 grep -v '^ *+' conftest.er1 >conftest.err 3617 rm -f conftest.er1 3618 cat conftest.err >&5 3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3620 (exit $ac_status); } >/dev/null; then 3621 if test -s conftest.err; then 3622 ac_cpp_err=$ac_c_preproc_warn_flag 3623 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 3624 else 3625 ac_cpp_err= 3626 fi 3627 else 3628 ac_cpp_err=yes 3629 fi 3630 if test -z "$ac_cpp_err"; then 3631 ac_header_preproc=yes 3632 else 3633 echo "$as_me: failed program was:" >&5 3634 sed 's/^/| /' conftest.$ac_ext >&5 3635 3636 ac_header_preproc=no 3637 fi 3638 rm -f conftest.err conftest.$ac_ext 3639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3640 echo "${ECHO_T}$ac_header_preproc" >&6 3641 3642 # So? What about this header? 3643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3644 yes:no: ) 3645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 3646 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" >&5 3648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 3649 ac_header_preproc=yes 3650 ;; 3651 no:yes:* ) 3652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 3653 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?" >&5 3655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 3656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 3657 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\"" >&5 3659 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" >&5 3661 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" >&5 3663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 3664 ( 3665 cat <<\_ASBOX 3666 ## ------------------------------------------ ## 3667 ## Report this to the AC_PACKAGE_NAME lists. ## 3668 ## ------------------------------------------ ## 3669 _ASBOX 3670 ) | 3671 sed "s/^/$as_me: WARNING: /" >&2 3672 ;; 3673 esac 3674 echo "$as_me:$LINENO: checking for $ac_header" >&5 3675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 3676 if eval "test \"\${$as_ac_Header+set}\" = set"; then 3677 echo $ECHO_N "(cached) $ECHO_C" >&6 3678 else 3679 eval "$as_ac_Header=\$ac_header_preproc" 3680 fi 3681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3683 3684 fi 3685 if test `eval echo '${'$as_ac_Header'}'` = yes; then 3686 cat >>confdefs.h <<_ACEOF 3687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3688 _ACEOF 3689 3690 fi 3691 3692 done 3693 3694 3695 3696 3697 3698 3699 1557 3700 1558 3701 1559 3702 for ac_func in popen readlink getcwd getwd mmap sbrk random 1560 3703 do 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" 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 1569 3720 /* System header to define __stub macros and hopefully few prototypes, 1570 which can conflict with char $ac_func(); below. */ 1571 #include <assert.h> 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 1572 3733 /* Override any gcc2 internal prototype to avoid an error. */ 3734 #ifdef __cplusplus 3735 extern "C" 3736 { 3737 #endif 1573 3738 /* We use char because int might match the return type of a gcc2 1574 builtin and then its argument prototype would still apply. */ 1575 char $ac_func(); 1576 1577 int main() { 1578 3739 builtin and then its argument prototype would still apply. */ 3740 char $ac_func (); 1579 3741 /* The GNU C library defines this for functions which it implements 1580 3742 to always fail with ENOSYS. Some functions are actually named … … 1583 3745 choke me 1584 3746 #else 1585 $ac_func();3747 char (*f) () = $ac_func; 1586 3748 #endif 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 3749 #ifdef __cplusplus 3750 } 3751 #endif 3752 3753 int 3754 main () 3755 { 3756 return f != $ac_func; 3757 ; 3758 return 0; 3759 } 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 1611 3800 fi 1612 3801 done … … 1615 3804 1616 3805 # 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 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 () 3820 { 3821 if ((long *) 0) 3822 return 0; 3823 if (sizeof (long)) 3824 return 0; 3825 ; 3826 return 0; 3827 } 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. 1622 3873 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" 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 () 3884 { 3885 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; 3886 test_array [0] = 0 3887 3888 ; 3889 return 0; 3890 } 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)); } 1628 4152 #include <stdio.h> 1629 main() 4153 #include <stdlib.h> 4154 int 4155 main () 1630 4156 { 1631 FILE *f=fopen("conftestval", "w"); 1632 if (!f) exit(1); 1633 fprintf(f, "%d\n", sizeof(long)); 1634 exit(0); 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; 1635 4179 } 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* 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 1644 4210 ac_cv_sizeof_long=0 1645 4211 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 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 1652 4216 #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 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. 1661 4287 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" 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*)); } 1667 4566 #include <stdio.h> 1668 main() 4567 #include <stdlib.h> 4568 int 4569 main () 1669 4570 { 1670 FILE *f=fopen("conftestval", "w"); 1671 if (!f) exit(1); 1672 fprintf(f, "%d\n", sizeof(void*)); 1673 exit(0); 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; 1674 4593 } 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* 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 1683 4624 ac_cv_sizeof_voidp=0 1684 4625 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 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 1691 4630 #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 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. 1700 4701 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" 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)); } 1706 4980 #include <stdio.h> 1707 main() 4981 #include <stdlib.h> 4982 int 4983 main () 1708 4984 { 1709 FILE *f=fopen("conftestval", "w"); 1710 if (!f) exit(1); 1711 fprintf(f, "%d\n", sizeof(double)); 1712 exit(0); 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; 1713 5007 } 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* 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 1722 5038 ac_cv_sizeof_double=0 1723 5039 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 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 1730 5044 #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 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. 1739 5115 if test "$cross_compiling" = yes; then 1740 ac_cv_sizeof_size_t=4 1741 else 1742 cat > conftest.$ac_ext <<EOF 1743 #line 1744 "configure" 1744 #include "confdefs.h" 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)); } 1745 5394 #include <stdio.h> 1746 main() 5395 #include <stdlib.h> 5396 int 5397 main () 1747 5398 { 1748 FILE *f=fopen("conftestval", "w"); 1749 if (!f) exit(1); 1750 fprintf(f, "%d\n", sizeof(size_t)); 1751 exit(0); 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; 1752 5421 } 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* 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 1761 5452 ac_cv_sizeof_size_t=0 1762 5453 fi 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 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 1769 5458 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 1770 EOF5459 _ACEOF 1771 5460 1772 5461 1773 5462 1774 5463 if test "$ac_cv_sizeof_long" != "$ac_cv_sizeof_voidp"; then 1775 { echo "configure: error: need equal sizes for long and void*" 1>&2; exit 1; } 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; }; } 1776 5467 fi 1777 5468 if test "$ac_cv_sizeof_voidp" != 4 && test "$ac_cv_sizeof_voidp" != 8; then 1778 { echo "configure: error: need void* to be 4 or 8 bytes long" 1>&2; exit 1; } 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; }; } 1779 5472 fi 1780 5473 if test "$ac_cv_sizeof_double" != 4 && test "$ac_cv_sizeof_double" != 8; then 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 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 1788 5483 else 1789 5484 if test "$cross_compiling" = yes; then 1790 5485 ac_cv_pagesize=0 1791 5486 else 1792 cat > conftest.$ac_ext <<EOF 1793 #line 1794 "configure" 1794 #include "confdefs.h" 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. */ 1795 5493 #include <stdio.h> 1796 5494 #include "omGetPageSize.h" … … 1803 5501 exit(0); 1804 5502 } 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 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 1808 5515 ac_cv_pagesize=`cat conftestval` 1809 5516 else 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 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 1818 5526 fi 1819 5527 … … 1823 5531 ac_cv_pagesize=8192 1824 5532 fi 1825 echo "$ac_t""$ac_cv_pagesize" 1>&6 5533 echo "$as_me:$LINENO: result: $ac_cv_pagesize" >&5 5534 echo "${ECHO_T}$ac_cv_pagesize" >&6 1826 5535 if test "$ac_cv_pagesize" = 4096 || test "$ac_cv_pagesize" = 8192; then 1827 cat >> confdefs.h <<EOF5536 cat >>confdefs.h <<_ACEOF 1828 5537 #define SIZEOF_SYSTEM_PAGE $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; } 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; }; } 1833 5544 fi 1834 5545 1835 5546 if test "$ac_cv_func_mmap" = yes; then 1836 echo $ac_n "checking whether mmap works""... $ac_c" 1>&61837 echo "configure:1838: checking whether mmap works" >&51838 if eval "test \"`echo '$''{'ac_cv_working_mmap'+set}'`\" = set"; then1839 echo $ ac_n "(cached) $ac_c" 1>&65547 echo "$as_me:$LINENO: checking whether mmap works" >&5 5548 echo $ECHO_N "checking whether mmap works... $ECHO_C" >&6 5549 if test "${ac_cv_working_mmap+set}" = set; then 5550 echo $ECHO_N "(cached) $ECHO_C" >&6 1840 5551 else 1841 5552 if test "$cross_compiling" = yes; then 1842 5553 ac_cv_working_mmap=no 1843 5554 else 1844 cat > conftest.$ac_ext <<EOF 1845 #line 1846 "configure" 1846 #include "confdefs.h" 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. */ 1847 5561 1848 5562 #include "omMmap.c" … … 1854 5568 exit(omVfreeMmap(addr, 128*${ac_cv_pagesize})); 1855 5569 } 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 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 1859 5582 ac_cv_working_mmap=yes 1860 5583 else 1861 echo "configure: failed program was:" >&5 1862 cat conftest.$ac_ext >&5 1863 rm -fr conftest* 1864 ac_cv_working_mmap=no 1865 fi 1866 rm -fr conftest* 1867 fi 1868 1869 fi 1870 1871 echo "$ac_t""$ac_cv_working_mmap" 1>&6 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 1872 5597 if test "$ac_cv_working_mmap" = yes; then 1873 cat >> confdefs.h <<\EOF5598 cat >>confdefs.h <<\_ACEOF 1874 5599 #define HAVE_WORKING_MMAP 1 1875 EOF1876 1877 fi 1878 fi 1879 1880 echo $ac_n "checking whether alignment needs to be strict""... $ac_c" 1>&61881 echo "configure:1882: checking whether alignment needs to be strict" >&51882 if eval "test \"`echo '$''{'ac_cv_align_need_strict'+set}'`\" = set"; then1883 echo $ ac_n "(cached) $ac_c" 1>&65600 _ACEOF 5601 5602 fi 5603 fi 5604 5605 echo "$as_me:$LINENO: checking whether alignment needs to be strict" >&5 5606 echo $ECHO_N "checking whether alignment needs to be strict... $ECHO_C" >&6 5607 if test "${ac_cv_align_need_strict+set}" = set; then 5608 echo $ECHO_N "(cached) $ECHO_C" >&6 1884 5609 else 1885 5610 if test "$cross_compiling" = yes; then 1886 5611 ac_cv_align_need_strict=yes 1887 5612 else 1888 cat > conftest.$ac_ext <<EOF 1889 #line 1890 "configure" 1890 #include "confdefs.h" 5613 cat >conftest.$ac_ext <<_ACEOF 5614 /* confdefs.h. */ 5615 _ACEOF 5616 cat confdefs.h >>conftest.$ac_ext 5617 cat >>conftest.$ac_ext <<_ACEOF 5618 /* end confdefs.h. */ 1891 5619 1892 5620 main() … … 1901 5629 } 1902 5630 1903 EOF 1904 if { (eval echo configure:1905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1905 then 5631 _ACEOF 5632 rm -f conftest$ac_exeext 5633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5634 (eval $ac_link) 2>&5 5635 ac_status=$? 5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5639 (eval $ac_try) 2>&5 5640 ac_status=$? 5641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5642 (exit $ac_status); }; }; then 1906 5643 ac_cv_align_need_strict=no 1907 5644 else 1908 echo "configure: failed program was:" >&5 1909 cat conftest.$ac_ext >&5 1910 rm -fr conftest* 1911 ac_cv_align_need_strict=yes 1912 fi 1913 rm -fr conftest* 1914 fi 1915 1916 fi 1917 1918 echo "$ac_t""$ac_cv_align_need_strict" 1>&6 1919 1920 echo $ac_n "checking for external config files""... $ac_c" 1>&6 1921 echo "configure:1922: checking for external config files" >&5 5645 echo "$as_me: program exited with status $ac_status" >&5 5646 echo "$as_me: failed program was:" >&5 5647 sed 's/^/| /' conftest.$ac_ext >&5 5648 5649 ( exit $ac_status ) 5650 ac_cv_align_need_strict=yes 5651 fi 5652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5653 fi 5654 fi 5655 echo "$as_me:$LINENO: result: $ac_cv_align_need_strict" >&5 5656 echo "${ECHO_T}$ac_cv_align_need_strict" >&6 5657 5658 echo "$as_me:$LINENO: checking for external config files" >&5 5659 echo $ECHO_N "checking for external config files... $ECHO_C" >&6 1922 5660 if test "${with_external_config_h+set}" = set; then 1923 cat >> confdefs.h <<\EOF5661 cat >>confdefs.h <<\_ACEOF 1924 5662 #define OM_HAVE_EXTERNAL_CONFIG_H 1 1925 EOF5663 _ACEOF 1926 5664 1927 5665 EXTERNAL_CONFIG_HEADER=${with_external_config_h} … … 1930 5668 fi 1931 5669 if test "${with_external_config_c+set}" = set; then 1932 cat >> confdefs.h <<\EOF5670 cat >>confdefs.h <<\_ACEOF 1933 5671 #define OM_HAVE_EXTERNAL_CONFIG_C 1 1934 EOF5672 _ACEOF 1935 5673 1936 5674 EXTERNAL_CONFIG_SOURCE=${with_external_config_c} … … 1939 5677 1940 5678 if test "${EXTERNAL_CONFIG_HEADER+set}" = set || test "${EXTERNAL_CONFIG_SOURCE+set}" = set; then 1941 echo "$ac_t""${EXTERNAL_CONFIG_HEADER} ${EXTERNAL_CONFIG_SOURCE}" 1>&6 1942 else 1943 echo "$ac_t""none" 1>&6 1944 fi 1945 1946 echo $ac_n "checking which malloc to use""... $ac_c" 1>&6 1947 echo "configure:1948: checking which malloc to use" >&5 5679 echo "$as_me:$LINENO: result: ${EXTERNAL_CONFIG_HEADER} ${EXTERNAL_CONFIG_SOURCE}" >&5 5680 echo "${ECHO_T}${EXTERNAL_CONFIG_HEADER} ${EXTERNAL_CONFIG_SOURCE}" >&6 5681 else 5682 echo "$as_me:$LINENO: result: none" >&5 5683 echo "${ECHO_T}none" >&6 5684 fi 5685 5686 echo "$as_me:$LINENO: checking which malloc to use" >&5 5687 echo $ECHO_N "checking which malloc to use... $ECHO_C" >&6 1948 5688 if test "${with_malloc}" = system; then 1949 5689 OM_MALLOC_HEADER=omMallocSystem.h 1950 cat >> confdefs.h <<\EOF5690 cat >>confdefs.h <<\_ACEOF 1951 5691 #define OMALLOC_USES_MALLOC 1 1952 EOF5692 _ACEOF 1953 5693 1954 5694 if test "${with_provide_malloc}" = yes || test "${with_provide_malloc}" = debug; then 1955 { echo "configure: error: "can not provide malloc for --with-malloc=system"" 1>&2; exit 1; } 5695 { { echo "$as_me:$LINENO: error: \"can not provide malloc for --with-malloc=system\"" >&5 5696 echo "$as_me: error: \"can not provide malloc for --with-malloc=system\"" >&2;} 5697 { (exit 1); exit 1; }; } 1956 5698 fi 1957 5699 elif test "${with_malloc}" = gmalloc; then … … 1963 5705 elif test "${with_malloc}" = external; then 1964 5706 if test "${with_external_malloc_h+set}" != set; then 1965 { echo "configure: error: need --with_external_malloc_h for external malloc" 1>&2; exit 1; } 5707 { { echo "$as_me:$LINENO: error: need --with_external_malloc_h for external malloc" >&5 5708 echo "$as_me: error: need --with_external_malloc_h for external malloc" >&2;} 5709 { (exit 1); exit 1; }; } 1966 5710 fi 1967 5711 if test "${with_provide_malloc}" = yes || test "${with_provide_malloc}" = debug; then 1968 { echo "configure: error: "can not provide malloc for --with_malloc=external"" 1>&2; exit 1; } 5712 { { echo "$as_me:$LINENO: error: \"can not provide malloc for --with_malloc=external\"" >&5 5713 echo "$as_me: error: \"can not provide malloc for --with_malloc=external\"" >&2;} 5714 { (exit 1); exit 1; }; } 1969 5715 fi 1970 5716 OM_MALLOC_HEADER=$with_external_malloc_h 1971 5717 OM_MALLOC_SOURCE=$with_external_malloc_c 1972 cat >> confdefs.h <<\EOF5718 cat >>confdefs.h <<\_ACEOF 1973 5719 #define OMALLOC_USES_MALLOC 1 1974 EOF5720 _ACEOF 1975 5721 1976 5722 else … … 1979 5725 OM_MALLOC_SOURCE=dlmalloc.c 1980 5726 fi 1981 echo "$ac_t""$with_malloc" 1>&6 5727 echo "$as_me:$LINENO: result: $with_malloc" >&5 5728 echo "${ECHO_T}$with_malloc" >&6 1982 5729 1983 5730 1984 5731 1985 5732 if test "${OM_MALLOC_SOURCE+set}" = set; then 1986 cat >> confdefs.h <<\EOF5733 cat >>confdefs.h <<\_ACEOF 1987 5734 #define OM_HAVE_MALLOC_SOURCE 1 1988 EOF1989 1990 fi 1991 1992 echo $ac_n "checking whether malloc provides SizeOfAddr""... $ac_c" 1>&61993 echo "configure:1994: checking whether malloc provides SizeOfAddr" >&55735 _ACEOF 5736 5737 fi 5738 5739 echo "$as_me:$LINENO: checking whether malloc provides SizeOfAddr" >&5 5740 echo $ECHO_N "checking whether malloc provides SizeOfAddr... $ECHO_C" >&6 1994 5741 if test "${ac_cv_malloc_sizeof_addr}" = no; then 1995 echo "$ac_t""(cached) no" 1>&6 5742 echo "$as_me:$LINENO: result: (cached) no" >&5 5743 echo "${ECHO_T}(cached) no" >&6 1996 5744 elif test "${ac_cv_malloc_sizeof_addr}" = "${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}"; then 1997 echo "$ac_t""(cached) yes" 1>&6 5745 echo "$as_me:$LINENO: result: (cached) yes" >&5 5746 echo "${ECHO_T}(cached) yes" >&6 1998 5747 else 1999 5748 if test "$cross_compiling" = yes; then 2000 5749 ac_cv_malloc_sizeof_addr=no 2001 5750 else 2002 cat > conftest.$ac_ext <<EOF 2003 #line 2004 "configure" 2004 #include "confdefs.h" 5751 cat >conftest.$ac_ext <<_ACEOF 5752 /* confdefs.h. */ 5753 _ACEOF 5754 cat confdefs.h >>conftest.$ac_ext 5755 cat >>conftest.$ac_ext <<_ACEOF 5756 /* end confdefs.h. */ 2005 5757 2006 5758 #include "$OM_MALLOC_HEADER" … … 2017 5769 } 2018 5770 2019 EOF 2020 if { (eval echo configure:2021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2021 then 5771 _ACEOF 5772 rm -f conftest$ac_exeext 5773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5774 (eval $ac_link) 2>&5 5775 ac_status=$? 5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5779 (eval $ac_try) 2>&5 5780 ac_status=$? 5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5782 (exit $ac_status); }; }; then 2022 5783 ac_cv_malloc_sizeof_addr="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}" 2023 5784 else 2024 echo "configure: failed program was:" >&5 2025 cat conftest.$ac_ext >&5 2026 rm -fr conftest* 2027 ac_cv_malloc_sizeof_addr=no 2028 fi 2029 rm -fr conftest* 2030 fi 2031 5785 echo "$as_me: program exited with status $ac_status" >&5 5786 echo "$as_me: failed program was:" >&5 5787 sed 's/^/| /' conftest.$ac_ext >&5 5788 5789 ( exit $ac_status ) 5790 ac_cv_malloc_sizeof_addr=no 5791 fi 5792 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5793 fi 2032 5794 if test "${ac_cv_malloc_sizeof_addr}" = no; then 2033 echo "$ac_t""no" 1>&6 2034 else 2035 echo "$ac_t""yes" 1>&6 5795 echo "$as_me:$LINENO: result: no" >&5 5796 echo "${ECHO_T}no" >&6 5797 else 5798 echo "$as_me:$LINENO: result: yes" >&5 5799 echo "${ECHO_T}yes" >&6 2036 5800 fi 2037 5801 fi 2038 5802 if test "$ac_cv_malloc_sizeof_addr" != no; then 2039 cat >> confdefs.h <<\EOF5803 cat >>confdefs.h <<\_ACEOF 2040 5804 #define OM_MALLOC_PROVIDES_SIZEOF_ADDR 1 2041 EOF5805 _ACEOF 2042 5806 2043 5807 fi 2044 5808 2045 5809 if test "${with_provide_malloc}" = malloc; then 2046 cat >> confdefs.h <<\EOF5810 cat >>confdefs.h <<\_ACEOF 2047 5811 #define OM_PROVIDE_MALLOC 3 2048 EOF5812 _ACEOF 2049 5813 2050 5814 elif test "${with_provide_malloc}" = debug; then 2051 cat >> confdefs.h <<\EOF5815 cat >>confdefs.h <<\_ACEOF 2052 5816 #define OM_PROVIDE_MALLOC 2 2053 EOF5817 _ACEOF 2054 5818 2055 5819 elif test "${with_provide_malloc}" = yes; then 2056 cat >> confdefs.h <<\EOF5820 cat >>confdefs.h <<\_ACEOF 2057 5821 #define OM_PROVIDE_MALLOC 1 2058 EOF2059 2060 else 2061 cat >> confdefs.h <<\EOF5822 _ACEOF 5823 5824 else 5825 cat >>confdefs.h <<\_ACEOF 2062 5826 #define OM_PROVIDE_MALLOC 0 2063 EOF2064 2065 fi 2066 2067 echo $ac_n "checking whether working valloc exists""... $ac_c" 1>&62068 echo "configure:2069: checking whether working valloc exists" >&55827 _ACEOF 5828 5829 fi 5830 5831 echo "$as_me:$LINENO: checking whether working valloc exists" >&5 5832 echo $ECHO_N "checking whether working valloc exists... $ECHO_C" >&6 2069 5833 if test "${ac_cv_working_valloc}" = no; then 2070 echo "$ac_t""(cached) no" 1>&6 5834 echo "$as_me:$LINENO: result: (cached) no" >&5 5835 echo "${ECHO_T}(cached) no" >&6 2071 5836 elif test "${ac_cv_working_valloc}" = "${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}"; then 2072 echo "$ac_t""(cached) yes" 1>&6 5837 echo "$as_me:$LINENO: result: (cached) yes" >&5 5838 echo "${ECHO_T}(cached) yes" >&6 2073 5839 else 2074 5840 if test "$cross_compiling" = yes; then 2075 5841 ac_cv_working_valloc=no 2076 5842 else 2077 cat > conftest.$ac_ext <<EOF 2078 #line 2079 "configure" 2079 #include "confdefs.h" 5843 cat >conftest.$ac_ext <<_ACEOF 5844 /* confdefs.h. */ 5845 _ACEOF 5846 cat confdefs.h >>conftest.$ac_ext 5847 cat >>conftest.$ac_ext <<_ACEOF 5848 /* end confdefs.h. */ 2080 5849 2081 5850 #include "$OM_MALLOC_HEADER" … … 2093 5862 } 2094 5863 2095 EOF 2096 if { (eval echo configure:2097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2097 then 5864 _ACEOF 5865 rm -f conftest$ac_exeext 5866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5867 (eval $ac_link) 2>&5 5868 ac_status=$? 5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5872 (eval $ac_try) 2>&5 5873 ac_status=$? 5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5875 (exit $ac_status); }; }; then 2098 5876 ac_cv_working_valloc="${OM_MALLOC_HEADER}_${OM_MALLOC_SOURCE}" 2099 5877 else 2100 echo "configure: failed program was:" >&5 2101 cat conftest.$ac_ext >&5 2102 rm -fr conftest* 2103 ac_cv_working_valloc=no 2104 fi 2105 rm -fr conftest* 2106 fi 2107 5878 echo "$as_me: program exited with status $ac_status" >&5 5879 echo "$as_me: failed program was:" >&5 5880 sed 's/^/| /' conftest.$ac_ext >&5 5881 5882 ( exit $ac_status ) 5883 ac_cv_working_valloc=no 5884 fi 5885 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5886 fi 2108 5887 if test "${ac_cv_working_valloc}" = no; then 2109 echo "$ac_t""no" 1>&6 2110 else 2111 echo "$ac_t""yes" 1>&6 2112 fi 2113 fi 2114 2115 echo $ac_n "checking which valloc to use""... $ac_c" 1>&6 2116 echo "configure:2117: checking which valloc to use" >&5 5888 echo "$as_me:$LINENO: result: no" >&5 5889 echo "${ECHO_T}no" >&6 5890 else 5891 echo "$as_me:$LINENO: result: yes" >&5 5892 echo "${ECHO_T}yes" >&6 5893 fi 5894 fi 5895 5896 echo "$as_me:$LINENO: checking which valloc to use" >&5 5897 echo $ECHO_N "checking which valloc to use... $ECHO_C" >&6 2117 5898 if test "${with_valloc+set}" != set || test "${with_valloc}" = mmap; then 2118 5899 if test "${ac_cv_working_mmap}" = yes; then 2119 5900 with_valloc=mmap 2120 cat >> confdefs.h <<\EOF5901 cat >>confdefs.h <<\_ACEOF 2121 5902 #define OM_HAVE_VALLOC_MMAP 1 2122 EOF5903 _ACEOF 2123 5904 2124 5905 else … … 2128 5909 if test "${with_valloc}" = malloc; then 2129 5910 if test "${ac_cv_working_valloc}" != no; then 2130 cat >> confdefs.h <<\EOF5911 cat >>confdefs.h <<\_ACEOF 2131 5912 #define OM_HAVE_VALLOC_MALLOC 1 2132 EOF5913 _ACEOF 2133 5914 2134 5915 else … … 2136 5917 fi 2137 5918 fi 2138 echo "$ac_t""$with_valloc" 1>&6 2139 2140 echo $ac_n "checking whether to emulate omalloc""... $ac_c" 1>&6 2141 echo "configure:2142: checking whether to emulate omalloc" >&5 5919 echo "$as_me:$LINENO: result: $with_valloc" >&5 5920 echo "${ECHO_T}$with_valloc" >&6 5921 5922 echo "$as_me:$LINENO: checking whether to emulate omalloc" >&5 5923 echo $ECHO_N "checking whether to emulate omalloc... $ECHO_C" >&6 2142 5924 if test "${with_emulate_omalloc}" = yes; then 2143 cat >> confdefs.h <<\EOF5925 cat >>confdefs.h <<\_ACEOF 2144 5926 #define OM_EMULATE_OMALLOC 1 2145 EOF 2146 2147 echo "$ac_t""yes" 1>&6 2148 else 2149 echo "$ac_t""no" 1>&6 2150 fi 2151 2152 echo $ac_n "checking how to align""... $ac_c" 1>&6 2153 echo "configure:2154: checking how to align" >&5 5927 _ACEOF 5928 5929 echo "$as_me:$LINENO: result: yes" >&5 5930 echo "${ECHO_T}yes" >&6 5931 else 5932 echo "$as_me:$LINENO: result: no" >&5 5933 echo "${ECHO_T}no" >&6 5934 fi 5935 5936 echo "$as_me:$LINENO: checking how to align" >&5 5937 echo $ECHO_N "checking how to align... $ECHO_C" >&6 2154 5938 if test "$with_align" = 8 || test "$ac_cv_sizeof_long" = 8; then 2155 5939 ac_cv_align=8 2156 cat >> confdefs.h <<\EOF5940 cat >>confdefs.h <<\_ACEOF 2157 5941 #define OM_ALIGN_8 1 2158 EOF5942 _ACEOF 2159 5943 2160 5944 else 2161 5945 if test "$ac_cv_align_need_strict" = "yes" || test "$with_align" = "strict"; then 2162 cat >> confdefs.h <<\EOF5946 cat >>confdefs.h <<\_ACEOF 2163 5947 #define OM_ALIGNMENT_NEEDS_WORK 1 2164 EOF5948 _ACEOF 2165 5949 2166 5950 ac_cv_align="strict" … … 2169 5953 fi 2170 5954 fi 2171 echo "$ac_t""$ac_cv_align" 1>&6 2172 2173 echo $ac_n "checking whether to use dense bins""... $ac_c" 1>&6 2174 echo "configure:2175: checking whether to use dense bins" >&5 5955 echo "$as_me:$LINENO: result: $ac_cv_align" >&5 5956 echo "${ECHO_T}$ac_cv_align" >&6 5957 5958 echo "$as_me:$LINENO: checking whether to use dense bins" >&5 5959 echo $ECHO_N "checking whether to use dense bins... $ECHO_C" >&6 2175 5960 if test "$with_dense_bins" = yes; then 2176 echo "$ac_t""yes" 1>&6 2177 cat >> confdefs.h <<\EOF 5961 echo "$as_me:$LINENO: result: yes" >&5 5962 echo "${ECHO_T}yes" >&6 5963 cat >>confdefs.h <<\_ACEOF 2178 5964 #define OM_HAVE_DENSE_BIN_DISTRIBUTION 1 2179 EOF 2180 2181 else 2182 echo "$ac_t""no" 1>&6 2183 fi 2184 2185 echo $ac_n "checking whether to disable debugging""... $ac_c" 1>&6 2186 echo "configure:2187: checking whether to disable debugging" >&5 5965 _ACEOF 5966 5967 else 5968 echo "$as_me:$LINENO: result: no" >&5 5969 echo "${ECHO_T}no" >&6 5970 fi 5971 5972 echo "$as_me:$LINENO: checking whether to disable debugging" >&5 5973 echo $ECHO_N "checking whether to disable debugging... $ECHO_C" >&6 2187 5974 if test "$with_debug" != no; then 2188 echo "$ac_t""no" 1>&6 2189 else 2190 echo "$ac_t""yes" 1>&6 2191 cat >> confdefs.h <<\EOF 5975 echo "$as_me:$LINENO: result: no" >&5 5976 echo "${ECHO_T}no" >&6 5977 else 5978 echo "$as_me:$LINENO: result: yes" >&5 5979 echo "${ECHO_T}yes" >&6 5980 cat >>confdefs.h <<\_ACEOF 2192 5981 #define OM_NDEBUG 1 2193 EOF5982 _ACEOF 2194 5983 2195 5984 with_track=no 2196 5985 fi 2197 5986 2198 echo $ac_n "checking whether to have tracking debug functionality""... $ac_c" 1>&62199 echo "configure:2200: checking whether to have tracking debug functionality" >&55987 echo "$as_me:$LINENO: checking whether to have tracking debug functionality" >&5 5988 echo $ECHO_N "checking whether to have tracking debug functionality... $ECHO_C" >&6 2200 5989 if test "$with_track" != no; then 2201 echo "$ac_t""yes" 1>&6 2202 cat >> confdefs.h <<\EOF 5990 echo "$as_me:$LINENO: result: yes" >&5 5991 echo "${ECHO_T}yes" >&6 5992 cat >>confdefs.h <<\_ACEOF 2203 5993 #define OM_HAVE_TRACK 1 2204 EOF 2205 2206 else 2207 echo "$ac_t""no" 1>&6 2208 fi 2209 2210 echo $ac_n "checking whether to use internal debug""... $ac_c" 1>&6 2211 echo "configure:2212: checking whether to use internal debug" >&5 5994 _ACEOF 5995 5996 else 5997 echo "$as_me:$LINENO: result: no" >&5 5998 echo "${ECHO_T}no" >&6 5999 fi 6000 6001 echo "$as_me:$LINENO: checking whether to use internal debug" >&5 6002 echo $ECHO_N "checking whether to use internal debug... $ECHO_C" >&6 2212 6003 if test "$with_internal_debug" = yes; then 2213 echo "$ac_t""yes" 1>&6 2214 cat >> confdefs.h <<\EOF 6004 echo "$as_me:$LINENO: result: yes" >&5 6005 echo "${ECHO_T}yes" >&6 6006 cat >>confdefs.h <<\_ACEOF 2215 6007 #define OM_INTERNAL_DEBUG 1 2216 EOF6008 _ACEOF 2217 6009 2218 6010 with_inline=no 2219 6011 else 2220 echo "$ac_t""no" 1>&6 2221 fi 2222 2223 echo $ac_n "checking whether to inline""... $ac_c" 1>&6 2224 echo "configure:2225: checking whether to inline" >&5 6012 echo "$as_me:$LINENO: result: no" >&5 6013 echo "${ECHO_T}no" >&6 6014 fi 6015 6016 echo "$as_me:$LINENO: checking whether to inline" >&5 6017 echo $ECHO_N "checking whether to inline... $ECHO_C" >&6 2225 6018 if test "$ac_cv_c_inline" != no && test "$with_inline" != no; then 2226 cat >> confdefs.h <<EOF6019 cat >>confdefs.h <<_ACEOF 2227 6020 #define OM_INLINE static $ac_cv_c_inline 2228 EOF2229 2230 cat >> confdefs.h <<EOF6021 _ACEOF 6022 6023 cat >>confdefs.h <<_ACEOF 2231 6024 #define OM_INLINE_DECL static $ac_cv_c_inline 2232 EOF2233 2234 cat >> confdefs.h <<EOF6025 _ACEOF 6026 6027 cat >>confdefs.h <<_ACEOF 2235 6028 #define OM_INLINE_IMPL static $ac_cv_c_inline 2236 EOF2237 2238 cat >> confdefs.h <<EOF6029 _ACEOF 6030 6031 cat >>confdefs.h <<_ACEOF 2239 6032 #define OM_INLINE_LOCAL static $ac_cv_c_inline 2240 EOF 2241 2242 echo "$ac_t""yes" 1>&6 2243 else 2244 cat >> confdefs.h <<EOF 6033 _ACEOF 6034 6035 echo "$as_me:$LINENO: result: yes" >&5 6036 echo "${ECHO_T}yes" >&6 6037 else 6038 cat >>confdefs.h <<_ACEOF 2245 6039 #define OM_INLINE_DECL extern 2246 EOF2247 2248 cat >> confdefs.h <<EOF2249 #define OM_INLINE_IMPL 2250 EOF2251 2252 cat >> confdefs.h <<EOF6040 _ACEOF 6041 6042 cat >>confdefs.h <<_ACEOF 6043 #define OM_INLINE_IMPL 6044 _ACEOF 6045 6046 cat >>confdefs.h <<_ACEOF 2253 6047 #define OM_INLINE_LOCAL static 2254 EOF 2255 2256 echo "$ac_t""no" 1>&6 2257 fi 2258 2259 echo $ac_n "checking whether GET_RET_ADDR works""... $ac_c" 1>&6 2260 echo "configure:2261: checking whether GET_RET_ADDR works" >&5 2261 if eval "test \"`echo '$''{'ac_cv_get_return_addr_works'+set}'`\" = set"; then 2262 echo $ac_n "(cached) $ac_c" 1>&6 6048 _ACEOF 6049 6050 echo "$as_me:$LINENO: result: no" >&5 6051 echo "${ECHO_T}no" >&6 6052 fi 6053 6054 echo "$as_me:$LINENO: checking whether GET_RET_ADDR works" >&5 6055 echo $ECHO_N "checking whether GET_RET_ADDR works... $ECHO_C" >&6 6056 if test "${ac_cv_get_return_addr_works+set}" = set; then 6057 echo $ECHO_N "(cached) $ECHO_C" >&6 2263 6058 else 2264 6059 if test "$cross_compiling" = yes; then 2265 6060 ac_cv_get_return_addr_works=no 2266 6061 else 2267 cat > conftest.$ac_ext <<EOF 2268 #line 2269 "configure" 2269 #include "confdefs.h" 6062 cat >conftest.$ac_ext <<_ACEOF 6063 /* confdefs.h. */ 6064 _ACEOF 6065 cat confdefs.h >>conftest.$ac_ext 6066 cat >>conftest.$ac_ext <<_ACEOF 6067 /* end confdefs.h. */ 2270 6068 2271 6069 #include "omReturn.h" … … 2281 6079 } 2282 6080 2283 EOF 2284 if { (eval echo configure:2285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2285 then 6081 _ACEOF 6082 rm -f conftest$ac_exeext 6083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6084 (eval $ac_link) 2>&5 6085 ac_status=$? 6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6089 (eval $ac_try) 2>&5 6090 ac_status=$? 6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6092 (exit $ac_status); }; }; then 2286 6093 ac_cv_get_return_addr_works=yes 2287 6094 else 2288 echo "configure: failed program was:" >&5 2289 cat conftest.$ac_ext >&5 2290 rm -fr conftest* 2291 ac_cv_get_return_addr_works=no 2292 fi 2293 rm -fr conftest* 2294 fi 2295 2296 fi 2297 2298 echo "$ac_t""$ac_cv_get_return_addr_works" 1>&6 6095 echo "$as_me: program exited with status $ac_status" >&5 6096 echo "$as_me: failed program was:" >&5 6097 sed 's/^/| /' conftest.$ac_ext >&5 6098 6099 ( exit $ac_status ) 6100 ac_cv_get_return_addr_works=no 6101 fi 6102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6103 fi 6104 fi 6105 6106 echo "$as_me:$LINENO: result: $ac_cv_get_return_addr_works" >&5 6107 echo "${ECHO_T}$ac_cv_get_return_addr_works" >&6 2299 6108 if test "$ac_cv_get_return_addr_works" = yes; then 2300 cat >> confdefs.h <<\EOF6109 cat >>confdefs.h <<\_ACEOF 2301 6110 #define OM_GET_RETURN_ADDR_WORKS 1 2302 EOF2303 2304 fi 2305 2306 echo $ac_n "checking whether omGetBackTrace works""... $ac_c" 1>&62307 echo "configure:2308: checking whether omGetBackTrace works" >&52308 if eval "test \"`echo '$''{'ac_cv_get_backtrace_works'+set}'`\" = set"; then2309 echo $ ac_n "(cached) $ac_c" 1>&66111 _ACEOF 6112 6113 fi 6114 6115 echo "$as_me:$LINENO: checking whether omGetBackTrace works" >&5 6116 echo $ECHO_N "checking whether omGetBackTrace works... $ECHO_C" >&6 6117 if test "${ac_cv_get_backtrace_works+set}" = set; then 6118 echo $ECHO_N "(cached) $ECHO_C" >&6 2310 6119 else 2311 6120 if test "$cross_compiling" = yes; then 2312 6121 ac_cv_get_backtrace_works=no 2313 6122 else 2314 cat > conftest.$ac_ext <<EOF 2315 #line 2316 "configure" 2316 #include "confdefs.h" 6123 cat >conftest.$ac_ext <<_ACEOF 6124 /* confdefs.h. */ 6125 _ACEOF 6126 cat confdefs.h >>conftest.$ac_ext 6127 cat >>conftest.$ac_ext <<_ACEOF 6128 /* end confdefs.h. */ 2317 6129 2318 6130 #include "omGetBackTrace.c" … … 2333 6145 } 2334 6146 2335 EOF 2336 if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2337 then 6147 _ACEOF 6148 rm -f conftest$ac_exeext 6149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6150 (eval $ac_link) 2>&5 6151 ac_status=$? 6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6155 (eval $ac_try) 2>&5 6156 ac_status=$? 6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6158 (exit $ac_status); }; }; then 2338 6159 ac_cv_get_backtrace_works=yes 2339 6160 else 2340 echo "configure: failed program was:" >&5 2341 cat conftest.$ac_ext >&5 2342 rm -fr conftest* 2343 ac_cv_get_backtrace_works=no 2344 fi 2345 rm -fr conftest* 2346 fi 2347 2348 fi 2349 2350 echo "$ac_t""$ac_cv_get_backtrace_works" 1>&6 6161 echo "$as_me: program exited with status $ac_status" >&5 6162 echo "$as_me: failed program was:" >&5 6163 sed 's/^/| /' conftest.$ac_ext >&5 6164 6165 ( exit $ac_status ) 6166 ac_cv_get_backtrace_works=no 6167 fi 6168 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6169 fi 6170 fi 6171 6172 echo "$as_me:$LINENO: result: $ac_cv_get_backtrace_works" >&5 6173 echo "${ECHO_T}$ac_cv_get_backtrace_works" >&6 2351 6174 if test "$ac_cv_get_backtrace_works" = yes; then 2352 cat >> confdefs.h <<\EOF6175 cat >>confdefs.h <<\_ACEOF 2353 6176 #define OM_GET_BACKTRACE_WORKS 1 2354 EOF2355 2356 fi 2357 2358 echo $ac_n "checking whether addr2line works""... $ac_c" 1>&62359 echo "configure:2360: checking whether addr2line works" >&52360 if eval "test \"`echo '$''{'ac_cv_prog_addr2line_works'+set}'`\" = set"; then2361 echo $ ac_n "(cached) $ac_c" 1>&66177 _ACEOF 6178 6179 fi 6180 6181 echo "$as_me:$LINENO: checking whether addr2line works" >&5 6182 echo $ECHO_N "checking whether addr2line works... $ECHO_C" >&6 6183 if test "${ac_cv_prog_addr2line_works+set}" = set; then 6184 echo $ECHO_N "(cached) $ECHO_C" >&6 2362 6185 else 2363 6186 if test "$cross_compiling" = yes; then 2364 6187 ac_cv_prog_addr2line_works=no 2365 6188 else 2366 cat > conftest.$ac_ext <<EOF 2367 #line 2368 "configure" 2368 #include "confdefs.h" 6189 cat >conftest.$ac_ext <<_ACEOF 6190 /* confdefs.h. */ 6191 _ACEOF 6192 cat confdefs.h >>conftest.$ac_ext 6193 cat >>conftest.$ac_ext <<_ACEOF 6194 /* end confdefs.h. */ 2369 6195 2370 6196 #undef OM_GET_BACKTRACE_WORKS … … 2396 6222 } 2397 6223 2398 EOF 2399 if { (eval echo configure:2400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2400 then 6224 _ACEOF 6225 rm -f conftest$ac_exeext 6226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6227 (eval $ac_link) 2>&5 6228 ac_status=$? 6229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6232 (eval $ac_try) 2>&5 6233 ac_status=$? 6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6235 (exit $ac_status); }; }; then 2401 6236 ac_cv_prog_addr2line_works=yes 2402 6237 else 2403 echo "configure: failed program was:" >&5 2404 cat conftest.$ac_ext >&5 2405 rm -fr conftest* 2406 ac_cv_prog_addr2line_works=no 2407 fi 2408 rm -fr conftest* 2409 fi 2410 2411 fi 2412 2413 echo "$ac_t""$ac_cv_prog_addr2line_works" 1>&6 2414 2415 echo $ac_n "checking whether to track return addresses""... $ac_c" 1>&6 2416 echo "configure:2417: checking whether to track return addresses" >&5 6238 echo "$as_me: program exited with status $ac_status" >&5 6239 echo "$as_me: failed program was:" >&5 6240 sed 's/^/| /' conftest.$ac_ext >&5 6241 6242 ( exit $ac_status ) 6243 ac_cv_prog_addr2line_works=no 6244 fi 6245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6246 fi 6247 fi 6248 6249 echo "$as_me:$LINENO: result: $ac_cv_prog_addr2line_works" >&5 6250 echo "${ECHO_T}$ac_cv_prog_addr2line_works" >&6 6251 6252 echo "$as_me:$LINENO: checking whether to track return addresses" >&5 6253 echo $ECHO_N "checking whether to track return addresses... $ECHO_C" >&6 2417 6254 if test "$with_track_return" = no || test "$ac_cv_get_return_addr_works" = no || test "$ac_cv_prog_addr2line_works" != yes; then 2418 6255 with_track_return=no 2419 6256 else 2420 cat >> confdefs.h <<\EOF6257 cat >>confdefs.h <<\_ACEOF 2421 6258 #define OM_TRACK_RETURN 1 2422 EOF6259 _ACEOF 2423 6260 2424 6261 with_track_return=yes 2425 6262 fi 2426 echo "$ac_t""$with_track_return" 1>&6 2427 2428 echo $ac_n "checking whether to track files and line numbers""... $ac_c" 1>&6 2429 echo "configure:2430: checking whether to track files and line numbers" >&5 6263 echo "$as_me:$LINENO: result: $with_track_return" >&5 6264 echo "${ECHO_T}$with_track_return" >&6 6265 6266 echo "$as_me:$LINENO: checking whether to track files and line numbers" >&5 6267 echo $ECHO_N "checking whether to track files and line numbers... $ECHO_C" >&6 2430 6268 if test "$with_track_fl" = no && test "$with_track_return" = no; then 2431 6269 with_track_fl=yes … … 2438 6276 fi 2439 6277 fi 2440 echo "$ac_t""$with_track_fl" 1>&6 6278 echo "$as_me:$LINENO: result: $with_track_fl" >&5 6279 echo "${ECHO_T}$with_track_fl" >&6 2441 6280 if test "$with_track_fl" = yes; then 2442 cat >> confdefs.h <<\EOF6281 cat >>confdefs.h <<\_ACEOF 2443 6282 #define OM_TRACK_FILE_LINE 1 2444 EOF2445 2446 fi 2447 2448 echo $ac_n "checking whether to track stack backtraces""... $ac_c" 1>&62449 echo "configure:2450: checking whether to track stack backtraces" >&56283 _ACEOF 6284 6285 fi 6286 6287 echo "$as_me:$LINENO: checking whether to track stack backtraces" >&5 6288 echo $ECHO_N "checking whether to track stack backtraces... $ECHO_C" >&6 2450 6289 if test "$with_track" != no && test "$ac_cv_get_backtrace_works" = yes && test "$with_track_backtrace" != no && test "$ac_cv_prog_addr2line_works" = yes; then 2451 6290 with_track_backtrace=yes 2452 cat >> confdefs.h <<\EOF6291 cat >>confdefs.h <<\_ACEOF 2453 6292 #define OM_TRACK_BACKTRACE 1 2454 EOF6293 _ACEOF 2455 6294 2456 6295 else 2457 6296 with_track_backtrace=no 2458 6297 fi 2459 echo "$ac_t""$with_track_backtrace" 1>&6 2460 2461 echo $ac_n "checking whether to track custom values""... $ac_c" 1>&6 2462 echo "configure:2463: checking whether to track custom values" >&5 6298 echo "$as_me:$LINENO: result: $with_track_backtrace" >&5 6299 echo "${ECHO_T}$with_track_backtrace" >&6 6300 6301 echo "$as_me:$LINENO: checking whether to track custom values" >&5 6302 echo $ECHO_N "checking whether to track custom values... $ECHO_C" >&6 2463 6303 if test "$with_track" != no && test "$with_track_custom" = yes; then 2464 cat >> confdefs.h <<\EOF6304 cat >>confdefs.h <<\_ACEOF 2465 6305 #define OM_TRACK_CUSTOM 1 2466 EOF6306 _ACEOF 2467 6307 2468 6308 else 2469 6309 with_track_custom=no 2470 6310 fi 2471 echo "$ac_t""$with_track_custom" 1>&6 2472 2473 2474 echo $ac_n "checking return type of sbrk""... $ac_c" 1>&6 2475 echo "configure:2476: checking return type of sbrk" >&5 2476 cat > conftest.$ac_ext <<EOF 2477 #line 2478 "configure" 2478 #include "confdefs.h" 6311 echo "$as_me:$LINENO: result: $with_track_custom" >&5 6312 echo "${ECHO_T}$with_track_custom" >&6 6313 6314 6315 echo "$as_me:$LINENO: checking return type of sbrk" >&5 6316 echo $ECHO_N "checking return type of sbrk... $ECHO_C" >&6 6317 cat >conftest.$ac_ext <<_ACEOF 6318 /* confdefs.h. */ 6319 _ACEOF 6320 cat confdefs.h >>conftest.$ac_ext 6321 cat >>conftest.$ac_ext <<_ACEOF 6322 /* end confdefs.h. */ 2479 6323 #define __USE_MISC 2480 6324 #include <unistd.h> 2481 6325 2482 int main() { 6326 int 6327 main () 6328 { 2483 6329 void *sbrk(); 2484 6330 2485 ; return 0; } 2486 EOF 2487 if { (eval echo configure:2488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2488 rm -rf conftest* 2489 cat >> confdefs.h <<\EOF 6331 ; 6332 return 0; 6333 } 6334 _ACEOF 6335 rm -f conftest.$ac_objext conftest$ac_exeext 6336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 6337 (eval $ac_link) 2>conftest.er1 6338 ac_status=$? 6339 grep -v '^ *+' conftest.er1 >conftest.err 6340 rm -f conftest.er1 6341 cat conftest.err >&5 6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6343 (exit $ac_status); } && 6344 { ac_try='test -z "$ac_c_werror_flag" 6345 || test ! -s conftest.err' 6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6347 (eval $ac_try) 2>&5 6348 ac_status=$? 6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6350 (exit $ac_status); }; } && 6351 { ac_try='test -s conftest$ac_exeext' 6352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6353 (eval $ac_try) 2>&5 6354 ac_status=$? 6355 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6356 (exit $ac_status); }; }; then 6357 cat >>confdefs.h <<\_ACEOF 2490 6358 #define Void_t void 2491 EOF2492 2493 else 2494 echo " configure: failed program was:" >&52495 catconftest.$ac_ext >&52496 rm -rf conftest* 2497 cat >> confdefs.h <<\EOF6359 _ACEOF 6360 6361 else 6362 echo "$as_me: failed program was:" >&5 6363 sed 's/^/| /' conftest.$ac_ext >&5 6364 6365 cat >>confdefs.h <<\_ACEOF 2498 6366 #define Void_t char 2499 EOF 2500 2501 fi 2502 rm -f conftest* 2503 echo "$ac_t""Void_t" 1>&6 2504 2505 2506 2507 2508 2509 trap '' 1 2 15 2510 cat > confcache <<\EOF 6367 _ACEOF 6368 6369 fi 6370 rm -f conftest.err conftest.$ac_objext \ 6371 conftest$ac_exeext conftest.$ac_ext 6372 echo "$as_me:$LINENO: result: Void_t" >&5 6373 echo "${ECHO_T}Void_t" >&6 6374 6375 6376 6377 ac_config_headers="$ac_config_headers omConfig.h omlimits.h omMalloc.h:${OM_MALLOC_HEADER}" 6378 6379 6380 ac_config_files="$ac_config_files Makefile" 6381 ac_config_commands="$ac_config_commands default" 6382 cat >confcache <<\_ACEOF 2511 6383 # This file is a shell script that caches the results of configure 2512 6384 # tests run on this system so they can be shared between configure 2513 # scripts and configure runs. It is not useful on other systems. 2514 # If it contains results you don't want to keep, you may remove or edit it. 6385 # scripts and configure runs, see configure's option --config-cache. 6386 # It is not useful on other systems. If it contains results you don't 6387 # want to keep, you may remove or edit it. 2515 6388 # 2516 # By default, configure uses ./config.cache as the cache file, 2517 # creating it if it does not exist already. You can give configure 2518 # the --cache-file=FILE option to use a different cache file; that is 2519 # what configure does when it calls configure scripts in 2520 # subdirectories, so they share the cache. 2521 # Giving --cache-file=/dev/null disables caching, for debugging configure. 2522 # config.status only pays attention to the cache file if you give it the 2523 # --recheck option to rerun configure. 6389 # config.status only pays attention to the cache file if you give it 6390 # the --recheck option to rerun configure. 2524 6391 # 2525 EOF 6392 # `ac_cv_env_foo' variables (set or unset) will be overridden when 6393 # loading this file, other *unset* `ac_cv_foo' will be assigned the 6394 # following values. 6395 6396 _ACEOF 6397 2526 6398 # The following way of writing the cache mishandles newlines in values, 2527 6399 # but we know of no workaround that is simple, portable, and efficient. … … 2529 6401 # Ultrix sh set writes to stderr and can't be redirected directly, 2530 6402 # and sets the high bit in the cache file unless we assign to the vars. 2531 (set) 2>&1 | 2532 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2533 *ac_space=\ *) 2534 # `set' does not quote correctly, so add quotes (double-quote substitution 2535 # turns \\\\ into \\, and sed turns \\ into \). 2536 sed -n \ 2537 -e "s/'/'\\\\''/g" \ 2538 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2539 ;; 2540 *) 2541 # `set' quotes correctly as required by POSIX, so do not add quotes. 2542 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2543 ;; 2544 esac >> confcache 2545 if cmp -s $cache_file confcache; then 2546 : 2547 else 6403 { 6404 (set) 2>&1 | 6405 case `(ac_space=' '; set | grep ac_space) 2>&1` in 6406 *ac_space=\ *) 6407 # `set' does not quote correctly, so add quotes (double-quote 6408 # substitution turns \\\\ into \\, and sed turns \\ into \). 6409 sed -n \ 6410 "s/'/'\\\\''/g; 6411 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 6412 ;; 6413 *) 6414 # `set' quotes correctly as required by POSIX, so do not add quotes. 6415 sed -n \ 6416 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 6417 ;; 6418 esac; 6419 } | 6420 sed ' 6421 t clear 6422 : clear 6423 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 6424 t end 6425 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 6426 : end' >>confcache 6427 if diff $cache_file confcache >/dev/null 2>&1; then :; else 2548 6428 if test -w $cache_file; then 2549 echo "updating cache $cache_file"2550 cat confcache > 6429 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 6430 cat confcache >$cache_file 2551 6431 else 2552 6432 echo "not updating unwritable cache $cache_file" … … 2555 6435 rm -f confcache 2556 6436 2557 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 152558 2559 6437 test "x$prefix" = xNONE && prefix=$ac_default_prefix 2560 6438 # Let make expand exec_prefix. 2561 6439 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 2562 6440 2563 # Any assignment to VPATH causes Sun make to only execute 2564 # the first set of double-colon rules, so remove it if not needed. 2565 # If there is a colon in the path, we need to keep it. 6441 # VPATH may cause trouble with some makes, so we remove $(srcdir), 6442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 6443 # trailing colons and then remove the whole line if VPATH becomes empty 6444 # (actually we leave an empty line to preserve line numbers). 2566 6445 if test "x$srcdir" = x.; then 2567 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 2568 fi 2569 2570 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 6446 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 6447 s/:*\$(srcdir):*/:/; 6448 s/:*\${srcdir}:*/:/; 6449 s/:*@srcdir@:*/:/; 6450 s/^\([^=]*=[ ]*\):*/\1/; 6451 s/:*$//; 6452 s/^[^=]*=[ ]*$//; 6453 }' 6454 fi 2571 6455 2572 6456 DEFS=-DHAVE_CONFIG_H 2573 6457 2574 # Without the "./", some shells look in PATH for config.status. 6458 ac_libobjs= 6459 ac_ltlibobjs= 6460 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 6461 # 1. Remove the extension, and $U if already installed. 6462 ac_i=`echo "$ac_i" | 6463 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` 6464 # 2. Add them. 6465 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 6466 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 6467 done 6468 LIBOBJS=$ac_libobjs 6469 6470 LTLIBOBJS=$ac_ltlibobjs 6471 6472 6473 2575 6474 : ${CONFIG_STATUS=./config.status} 2576 2577 echo creating $CONFIG_STATUS 2578 rm -f $CONFIG_STATUS 2579 cat > $CONFIG_STATUS <<EOF 2580 #! /bin/sh 2581 # Generated automatically by configure. 6475 ac_clean_files_save=$ac_clean_files 6476 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 6477 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 6478 echo "$as_me: creating $CONFIG_STATUS" >&6;} 6479 cat >$CONFIG_STATUS <<_ACEOF 6480 #! $SHELL 6481 # Generated by $as_me. 2582 6482 # Run this file to recreate the current configuration. 2583 # This directory was configured as follows,2584 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:2585 #2586 # $0 $ac_configure_args2587 #2588 6483 # Compiler output produced by configure, useful for debugging 2589 # configure, is in ./config.log if it exists. 2590 2591 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 2592 for ac_option 6484 # configure, is in config.log if it exists. 6485 6486 debug=false 6487 ac_cs_recheck=false 6488 ac_cs_silent=false 6489 SHELL=\${CONFIG_SHELL-$SHELL} 6490 _ACEOF 6491 6492 cat >>$CONFIG_STATUS <<\_ACEOF 6493 ## --------------------- ## 6494 ## M4sh Initialization. ## 6495 ## --------------------- ## 6496 6497 # Be Bourne compatible 6498 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 6499 emulate sh 6500 NULLCMD=: 6501 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 6502 # is contrary to our usage. Disable this feature. 6503 alias -g '${1+"$@"}'='"$@"' 6504 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 6505 set -o posix 6506 fi 6507 DUALCASE=1; export DUALCASE # for MKS sh 6508 6509 # Support unset when possible. 6510 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6511 as_unset=unset 6512 else 6513 as_unset=false 6514 fi 6515 6516 6517 # Work around bugs in pre-3.0 UWIN ksh. 6518 $as_unset ENV MAIL MAILPATH 6519 PS1='$ ' 6520 PS2='> ' 6521 PS4='+ ' 6522 6523 # NLS nuisances. 6524 for as_var in \ 6525 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 6526 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 6527 LC_TELEPHONE LC_TIME 2593 6528 do 2594 case "\$ac_option" in 6529 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 6530 eval $as_var=C; export $as_var 6531 else 6532 $as_unset $as_var 6533 fi 6534 done 6535 6536 # Required to use basename. 6537 if expr a : '\(a\)' >/dev/null 2>&1; then 6538 as_expr=expr 6539 else 6540 as_expr=false 6541 fi 6542 6543 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 6544 as_basename=basename 6545 else 6546 as_basename=false 6547 fi 6548 6549 6550 # Name of the executable. 6551 as_me=`$as_basename "$0" || 6552 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 6553 X"$0" : 'X\(//\)$' \| \ 6554 X"$0" : 'X\(/\)$' \| \ 6555 . : '\(.\)' 2>/dev/null || 6556 echo X/"$0" | 6557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 6558 /^X\/\(\/\/\)$/{ s//\1/; q; } 6559 /^X\/\(\/\).*/{ s//\1/; q; } 6560 s/.*/./; q'` 6561 6562 6563 # PATH needs CR, and LINENO needs CR and PATH. 6564 # Avoid depending upon Character Ranges. 6565 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 6566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 6567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 6568 as_cr_digits='0123456789' 6569 as_cr_alnum=$as_cr_Letters$as_cr_digits 6570 6571 # The user is always right. 6572 if test "${PATH_SEPARATOR+set}" != set; then 6573 echo "#! /bin/sh" >conf$$.sh 6574 echo "exit 0" >>conf$$.sh 6575 chmod +x conf$$.sh 6576 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6577 PATH_SEPARATOR=';' 6578 else 6579 PATH_SEPARATOR=: 6580 fi 6581 rm -f conf$$.sh 6582 fi 6583 6584 6585 as_lineno_1=$LINENO 6586 as_lineno_2=$LINENO 6587 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6588 test "x$as_lineno_1" != "x$as_lineno_2" && 6589 test "x$as_lineno_3" = "x$as_lineno_2" || { 6590 # Find who we are. Look in the path if we contain no path at all 6591 # relative or not. 6592 case $0 in 6593 *[\\/]* ) as_myself=$0 ;; 6594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6595 for as_dir in $PATH 6596 do 6597 IFS=$as_save_IFS 6598 test -z "$as_dir" && as_dir=. 6599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 6600 done 6601 6602 ;; 6603 esac 6604 # We did not find ourselves, most probably we were run as `sh COMMAND' 6605 # in which case we are not to be found in the path. 6606 if test "x$as_myself" = x; then 6607 as_myself=$0 6608 fi 6609 if test ! -f "$as_myself"; then 6610 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 6611 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 6612 { (exit 1); exit 1; }; } 6613 fi 6614 case $CONFIG_SHELL in 6615 '') 6616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6617 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 6618 do 6619 IFS=$as_save_IFS 6620 test -z "$as_dir" && as_dir=. 6621 for as_base in sh bash ksh sh5; do 6622 case $as_dir in 6623 /*) 6624 if ("$as_dir/$as_base" -c ' 6625 as_lineno_1=$LINENO 6626 as_lineno_2=$LINENO 6627 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 6628 test "x$as_lineno_1" != "x$as_lineno_2" && 6629 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 6630 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 6631 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 6632 CONFIG_SHELL=$as_dir/$as_base 6633 export CONFIG_SHELL 6634 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 6635 fi;; 6636 esac 6637 done 6638 done 6639 ;; 6640 esac 6641 6642 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 6643 # uniformly replaced by the line number. The first 'sed' inserts a 6644 # line-number line before each line; the second 'sed' does the real 6645 # work. The second script uses 'N' to pair each line-number line 6646 # with the numbered line, and appends trailing '-' during 6647 # substitution so that $LINENO is not a special case at line end. 6648 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 6649 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 6650 sed '=' <$as_myself | 6651 sed ' 6652 N 6653 s,$,-, 6654 : loop 6655 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 6656 t loop 6657 s,-$,, 6658 s,^['$as_cr_digits']*\n,, 6659 ' >$as_me.lineno && 6660 chmod +x $as_me.lineno || 6661 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 6662 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 6663 { (exit 1); exit 1; }; } 6664 6665 # Don't try to exec as it changes $[0], causing all sort of problems 6666 # (the dirname of $[0] is not the place where we might find the 6667 # original and so on. Autoconf is especially sensible to this). 6668 . ./$as_me.lineno 6669 # Exit status is that of the last command. 6670 exit 6671 } 6672 6673 6674 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 6675 *c*,-n*) ECHO_N= ECHO_C=' 6676 ' ECHO_T=' ' ;; 6677 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 6678 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 6679 esac 6680 6681 if expr a : '\(a\)' >/dev/null 2>&1; then 6682 as_expr=expr 6683 else 6684 as_expr=false 6685 fi 6686 6687 rm -f conf$$ conf$$.exe conf$$.file 6688 echo >conf$$.file 6689 if ln -s conf$$.file conf$$ 2>/dev/null; then 6690 # We could just check for DJGPP; but this test a) works b) is more generic 6691 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 6692 if test -f conf$$.exe; then 6693 # Don't use ln at all; we don't have any links 6694 as_ln_s='cp -p' 6695 else 6696 as_ln_s='ln -s' 6697 fi 6698 elif ln conf$$.file conf$$ 2>/dev/null; then 6699 as_ln_s=ln 6700 else 6701 as_ln_s='cp -p' 6702 fi 6703 rm -f conf$$ conf$$.exe conf$$.file 6704 6705 if mkdir -p . 2>/dev/null; then 6706 as_mkdir_p=: 6707 else 6708 test -d ./-p && rmdir ./-p 6709 as_mkdir_p=false 6710 fi 6711 6712 as_executable_p="test -f" 6713 6714 # Sed expression to map a string onto a valid CPP name. 6715 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 6716 6717 # Sed expression to map a string onto a valid variable name. 6718 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 6719 6720 6721 # IFS 6722 # We need space, tab and new line, in precisely that order. 6723 as_nl=' 6724 ' 6725 IFS=" $as_nl" 6726 6727 # CDPATH. 6728 $as_unset CDPATH 6729 6730 exec 6>&1 6731 6732 # Open the log real soon, to keep \$[0] and so on meaningful, and to 6733 # report actual input values of CONFIG_FILES etc. instead of their 6734 # values after options handling. Logging --version etc. is OK. 6735 exec 5>>config.log 6736 { 6737 echo 6738 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 6739 ## Running $as_me. ## 6740 _ASBOX 6741 } >&5 6742 cat >&5 <<_CSEOF 6743 6744 This file was extended by $as_me, which was 6745 generated by GNU Autoconf 2.59. Invocation command line was 6746 6747 CONFIG_FILES = $CONFIG_FILES 6748 CONFIG_HEADERS = $CONFIG_HEADERS 6749 CONFIG_LINKS = $CONFIG_LINKS 6750 CONFIG_COMMANDS = $CONFIG_COMMANDS 6751 $ $0 $@ 6752 6753 _CSEOF 6754 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 6755 echo >&5 6756 _ACEOF 6757 6758 # Files that config.status was made for. 6759 if test -n "$ac_config_files"; then 6760 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 6761 fi 6762 6763 if test -n "$ac_config_headers"; then 6764 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 6765 fi 6766 6767 if test -n "$ac_config_links"; then 6768 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 6769 fi 6770 6771 if test -n "$ac_config_commands"; then 6772 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 6773 fi 6774 6775 cat >>$CONFIG_STATUS <<\_ACEOF 6776 6777 ac_cs_usage="\ 6778 \`$as_me' instantiates files from templates according to the 6779 current configuration. 6780 6781 Usage: $0 [OPTIONS] [FILE]... 6782 6783 -h, --help print this help, then exit 6784 -V, --version print version number, then exit 6785 -q, --quiet do not print progress messages 6786 -d, --debug don't remove temporary files 6787 --recheck update $as_me by reconfiguring in the same conditions 6788 --file=FILE[:TEMPLATE] 6789 instantiate the configuration file FILE 6790 --header=FILE[:TEMPLATE] 6791 instantiate the configuration header FILE 6792 6793 Configuration files: 6794 $config_files 6795 6796 Configuration headers: 6797 $config_headers 6798 6799 Configuration commands: 6800 $config_commands 6801 6802 Report bugs to <bug-autoconf@gnu.org>." 6803 _ACEOF 6804 6805 cat >>$CONFIG_STATUS <<_ACEOF 6806 ac_cs_version="\\ 6807 config.status 6808 configured by $0, generated by GNU Autoconf 2.59, 6809 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 6810 6811 Copyright (C) 2003 Free Software Foundation, Inc. 6812 This config.status script is free software; the Free Software Foundation 6813 gives unlimited permission to copy, distribute and modify it." 6814 srcdir=$srcdir 6815 INSTALL="$INSTALL" 6816 _ACEOF 6817 6818 cat >>$CONFIG_STATUS <<\_ACEOF 6819 # If no file are specified by the user, then we need to provide default 6820 # value. By we need to know if files were specified by the user. 6821 ac_need_defaults=: 6822 while test $# != 0 6823 do 6824 case $1 in 6825 --*=*) 6826 ac_option=`expr "x$1" : 'x\([^=]*\)='` 6827 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 6828 ac_shift=: 6829 ;; 6830 -*) 6831 ac_option=$1 6832 ac_optarg=$2 6833 ac_shift=shift 6834 ;; 6835 *) # This is not an option, so the user has probably given explicit 6836 # arguments. 6837 ac_option=$1 6838 ac_need_defaults=false;; 6839 esac 6840 6841 case $ac_option in 6842 # Handling of the options. 6843 _ACEOF 6844 cat >>$CONFIG_STATUS <<\_ACEOF 2595 6845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2596 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 2597 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2598 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2599 echo "$CONFIG_STATUS generated by autoconf version 2.13" 2600 exit 0 ;; 2601 -help | --help | --hel | --he | --h) 2602 echo "\$ac_cs_usage"; exit 0 ;; 2603 *) echo "\$ac_cs_usage"; exit 1 ;; 6846 ac_cs_recheck=: ;; 6847 --version | --vers* | -V ) 6848 echo "$ac_cs_version"; exit 0 ;; 6849 --he | --h) 6850 # Conflict between --help and --header 6851 { { echo "$as_me:$LINENO: error: ambiguous option: $1 6852 Try \`$0 --help' for more information." >&5 6853 echo "$as_me: error: ambiguous option: $1 6854 Try \`$0 --help' for more information." >&2;} 6855 { (exit 1); exit 1; }; };; 6856 --help | --hel | -h ) 6857 echo "$ac_cs_usage"; exit 0 ;; 6858 --debug | --d* | -d ) 6859 debug=: ;; 6860 --file | --fil | --fi | --f ) 6861 $ac_shift 6862 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 6863 ac_need_defaults=false;; 6864 --header | --heade | --head | --hea ) 6865 $ac_shift 6866 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 6867 ac_need_defaults=false;; 6868 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 6869 | -silent | --silent | --silen | --sile | --sil | --si | --s) 6870 ac_cs_silent=: ;; 6871 6872 # This is an error. 6873 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 6874 Try \`$0 --help' for more information." >&5 6875 echo "$as_me: error: unrecognized option: $1 6876 Try \`$0 --help' for more information." >&2;} 6877 { (exit 1); exit 1; }; } ;; 6878 6879 *) ac_config_targets="$ac_config_targets $1" ;; 6880 6881 esac 6882 shift 6883 done 6884 6885 ac_configure_extra_args= 6886 6887 if $ac_cs_silent; then 6888 exec 6>/dev/null 6889 ac_configure_extra_args="$ac_configure_extra_args --silent" 6890 fi 6891 6892 _ACEOF 6893 cat >>$CONFIG_STATUS <<_ACEOF 6894 if \$ac_cs_recheck; then 6895 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 6896 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 6897 fi 6898 6899 _ACEOF 6900 6901 6902 6903 6904 6905 cat >>$CONFIG_STATUS <<\_ACEOF 6906 for ac_config_target in $ac_config_targets 6907 do 6908 case "$ac_config_target" in 6909 # Handling of arguments. 6910 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 6911 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; 6912 "omConfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS omConfig.h" ;; 6913 "omlimits.h" ) CONFIG_HEADERS="$CONFIG_HEADERS omlimits.h" ;; 6914 "omMalloc.h" ) CONFIG_HEADERS="$CONFIG_HEADERS omMalloc.h:${OM_MALLOC_HEADER}" ;; 6915 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 6916 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 6917 { (exit 1); exit 1; }; };; 2604 6918 esac 2605 6919 done 2606 6920 2607 ac_given_srcdir=$srcdir 2608 ac_given_INSTALL="$INSTALL" 2609 2610 trap 'rm -fr `echo "Makefile omConfig.h omlimits.h omMalloc.h:${OM_MALLOC_HEADER}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2611 EOF 2612 cat >> $CONFIG_STATUS <<EOF 2613 2614 # Protect against being on the right side of a sed subst in config.status. 2615 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 2616 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 2617 $ac_vpsub 6921 # If the user did not use the arguments to specify the items to instantiate, 6922 # then the envvar interface is used. Set only those that are not. 6923 # We use the long form for the default assignment because of an extremely 6924 # bizarre bug on SunOS 4.1.3. 6925 if $ac_need_defaults; then 6926 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 6927 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 6928 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 6929 fi 6930 6931 # Have a temporary directory for convenience. Make it in the build tree 6932 # simply because there is no reason to put it here, and in addition, 6933 # creating and moving files from /tmp can sometimes cause problems. 6934 # Create a temporary directory, and hook for its removal unless debugging. 6935 $debug || 6936 { 6937 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 6938 trap '{ (exit 1); exit 1; }' 1 2 13 15 6939 } 6940 6941 # Create a (secure) tmp directory for tmp files. 6942 6943 { 6944 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && 6945 test -n "$tmp" && test -d "$tmp" 6946 } || 6947 { 6948 tmp=./confstat$$-$RANDOM 6949 (umask 077 && mkdir $tmp) 6950 } || 6951 { 6952 echo "$me: cannot create a temporary directory in ." >&2 6953 { (exit 1); exit 1; } 6954 } 6955 6956 _ACEOF 6957 6958 cat >>$CONFIG_STATUS <<_ACEOF 6959 6960 # 6961 # CONFIG_FILES section. 6962 # 6963 6964 # No need to generate the scripts if there are no CONFIG_FILES. 6965 # This happens for instance when ./config.status config.h 6966 if test -n "\$CONFIG_FILES"; then 6967 # Protect against being on the right side of a sed subst in config.status. 6968 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 6969 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 6970 s,@SHELL@,$SHELL,;t t 6971 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 6972 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 6973 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 6974 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 6975 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 6976 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 6977 s,@exec_prefix@,$exec_prefix,;t t 6978 s,@prefix@,$prefix,;t t 6979 s,@program_transform_name@,$program_transform_name,;t t 6980 s,@bindir@,$bindir,;t t 6981 s,@sbindir@,$sbindir,;t t 6982 s,@libexecdir@,$libexecdir,;t t 6983 s,@datadir@,$datadir,;t t 6984 s,@sysconfdir@,$sysconfdir,;t t 6985 s,@sharedstatedir@,$sharedstatedir,;t t 6986 s,@localstatedir@,$localstatedir,;t t 6987 s,@libdir@,$libdir,;t t 6988 s,@includedir@,$includedir,;t t 6989 s,@oldincludedir@,$oldincludedir,;t t 6990 s,@infodir@,$infodir,;t t 6991 s,@mandir@,$mandir,;t t 6992 s,@build_alias@,$build_alias,;t t 6993 s,@host_alias@,$host_alias,;t t 6994 s,@target_alias@,$target_alias,;t t 6995 s,@DEFS@,$DEFS,;t t 6996 s,@ECHO_C@,$ECHO_C,;t t 6997 s,@ECHO_N@,$ECHO_N,;t t 6998 s,@ECHO_T@,$ECHO_T,;t t 6999 s,@LIBS@,$LIBS,;t t 7000 s,@VERSION@,$VERSION,;t t 7001 s,@SET_MAKE@,$SET_MAKE,;t t 7002 s,@CC@,$CC,;t t 7003 s,@CFLAGS@,$CFLAGS,;t t 7004 s,@LDFLAGS@,$LDFLAGS,;t t 7005 s,@CPPFLAGS@,$CPPFLAGS,;t t 7006 s,@ac_ct_CC@,$ac_ct_CC,;t t 7007 s,@EXEEXT@,$EXEEXT,;t t 7008 s,@OBJEXT@,$OBJEXT,;t t 7009 s,@CPP@,$CPP,;t t 7010 s,@RANLIB@,$RANLIB,;t t 7011 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t 7012 s,@LN_S@,$LN_S,;t t 7013 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 7014 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 7015 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 7016 s,@AR@,$AR,;t t 7017 s,@PERL@,$PERL,;t t 7018 s,@ADDR2LINE@,$ADDR2LINE,;t t 7019 s,@EGREP@,$EGREP,;t t 7020 s,@EXTERNAL_CONFIG_HEADER@,$EXTERNAL_CONFIG_HEADER,;t t 7021 s,@EXTERNAL_CONFIG_SOURCE@,$EXTERNAL_CONFIG_SOURCE,;t t 7022 s,@OM_MALLOC_HEADER@,$OM_MALLOC_HEADER,;t t 7023 s,@OM_MALLOC_SOURCE@,$OM_MALLOC_SOURCE,;t t 7024 s,@LIBOBJS@,$LIBOBJS,;t t 7025 s,@LTLIBOBJS@,$LTLIBOBJS,;t t 7026 CEOF 7027 7028 _ACEOF 7029 7030 cat >>$CONFIG_STATUS <<\_ACEOF 7031 # Split the substitutions into bite-sized pieces for seds with 7032 # small command number limits, like on Digital OSF/1 and HP-UX. 7033 ac_max_sed_lines=48 7034 ac_sed_frag=1 # Number of current file. 7035 ac_beg=1 # First line for current file. 7036 ac_end=$ac_max_sed_lines # Line after last line for current file. 7037 ac_more_lines=: 7038 ac_sed_cmds= 7039 while $ac_more_lines; do 7040 if test $ac_beg -gt 1; then 7041 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7042 else 7043 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 7044 fi 7045 if test ! -s $tmp/subs.frag; then 7046 ac_more_lines=false 7047 else 7048 # The purpose of the label and of the branching condition is to 7049 # speed up the sed processing (if there are no `@' at all, there 7050 # is no need to browse any of the substitutions). 7051 # These are the two extra sed commands mentioned above. 7052 (echo ':t 7053 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7054 if test -z "$ac_sed_cmds"; then 7055 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 7056 else 7057 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 7058 fi 7059 ac_sed_frag=`expr $ac_sed_frag + 1` 7060 ac_beg=$ac_end 7061 ac_end=`expr $ac_end + $ac_max_sed_lines` 7062 fi 7063 done 7064 if test -z "$ac_sed_cmds"; then 7065 ac_sed_cmds=cat 7066 fi 7067 fi # test -n "$CONFIG_FILES" 7068 7069 _ACEOF 7070 cat >>$CONFIG_STATUS <<\_ACEOF 7071 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7072 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7073 case $ac_file in 7074 - | *:- | *:-:* ) # input from stdin 7075 cat >$tmp/stdin 7076 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7077 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7078 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7079 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7080 * ) ac_file_in=$ac_file.in ;; 7081 esac 7082 7083 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7084 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7085 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7086 X"$ac_file" : 'X\(//\)[^/]' \| \ 7087 X"$ac_file" : 'X\(//\)$' \| \ 7088 X"$ac_file" : 'X\(/\)' \| \ 7089 . : '\(.\)' 2>/dev/null || 7090 echo X"$ac_file" | 7091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7092 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7093 /^X\(\/\/\)$/{ s//\1/; q; } 7094 /^X\(\/\).*/{ s//\1/; q; } 7095 s/.*/./; q'` 7096 { if $as_mkdir_p; then 7097 mkdir -p "$ac_dir" 7098 else 7099 as_dir="$ac_dir" 7100 as_dirs= 7101 while test ! -d "$as_dir"; do 7102 as_dirs="$as_dir $as_dirs" 7103 as_dir=`(dirname "$as_dir") 2>/dev/null || 7104 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7105 X"$as_dir" : 'X\(//\)[^/]' \| \ 7106 X"$as_dir" : 'X\(//\)$' \| \ 7107 X"$as_dir" : 'X\(/\)' \| \ 7108 . : '\(.\)' 2>/dev/null || 7109 echo X"$as_dir" | 7110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7111 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7112 /^X\(\/\/\)$/{ s//\1/; q; } 7113 /^X\(\/\).*/{ s//\1/; q; } 7114 s/.*/./; q'` 7115 done 7116 test ! -n "$as_dirs" || mkdir $as_dirs 7117 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7118 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7119 { (exit 1); exit 1; }; }; } 7120 7121 ac_builddir=. 7122 7123 if test "$ac_dir" != .; then 7124 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7125 # A "../" for each directory in $ac_dir_suffix. 7126 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7127 else 7128 ac_dir_suffix= ac_top_builddir= 7129 fi 7130 7131 case $srcdir in 7132 .) # No --srcdir option. We are building in place. 7133 ac_srcdir=. 7134 if test -z "$ac_top_builddir"; then 7135 ac_top_srcdir=. 7136 else 7137 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7138 fi ;; 7139 [\\/]* | ?:[\\/]* ) # Absolute path. 7140 ac_srcdir=$srcdir$ac_dir_suffix; 7141 ac_top_srcdir=$srcdir ;; 7142 *) # Relative path. 7143 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7144 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7145 esac 7146 7147 # Do not use `cd foo && pwd` to compute absolute paths, because 7148 # the directories may not exist. 7149 case `pwd` in 7150 .) ac_abs_builddir="$ac_dir";; 7151 *) 7152 case "$ac_dir" in 7153 .) ac_abs_builddir=`pwd`;; 7154 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7155 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7156 esac;; 7157 esac 7158 case $ac_abs_builddir in 7159 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7160 *) 7161 case ${ac_top_builddir}. in 7162 .) ac_abs_top_builddir=$ac_abs_builddir;; 7163 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7164 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7165 esac;; 7166 esac 7167 case $ac_abs_builddir in 7168 .) ac_abs_srcdir=$ac_srcdir;; 7169 *) 7170 case $ac_srcdir in 7171 .) ac_abs_srcdir=$ac_abs_builddir;; 7172 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7173 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7174 esac;; 7175 esac 7176 case $ac_abs_builddir in 7177 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7178 *) 7179 case $ac_top_srcdir in 7180 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7181 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7182 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7183 esac;; 7184 esac 7185 7186 7187 case $INSTALL in 7188 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7189 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7190 esac 7191 7192 if test x"$ac_file" != x-; then 7193 { echo "$as_me:$LINENO: creating $ac_file" >&5 7194 echo "$as_me: creating $ac_file" >&6;} 7195 rm -f "$ac_file" 7196 fi 7197 # Let's still pretend it is `configure' which instantiates (i.e., don't 7198 # use $as_me), people would be surprised to read: 7199 # /* config.h. Generated by config.status. */ 7200 if test x"$ac_file" = x-; then 7201 configure_input= 7202 else 7203 configure_input="$ac_file. " 7204 fi 7205 configure_input=$configure_input"Generated from `echo $ac_file_in | 7206 sed 's,.*/,,'` by configure." 7207 7208 # First look for the input files in the build tree, otherwise in the 7209 # src tree. 7210 ac_file_inputs=`IFS=: 7211 for f in $ac_file_in; do 7212 case $f in 7213 -) echo $tmp/stdin ;; 7214 [\\/$]*) 7215 # Absolute (can't be DOS-style, as IFS=:) 7216 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7217 echo "$as_me: error: cannot find input file: $f" >&2;} 7218 { (exit 1); exit 1; }; } 7219 echo "$f";; 7220 *) # Relative 7221 if test -f "$f"; then 7222 # Build tree 7223 echo "$f" 7224 elif test -f "$srcdir/$f"; then 7225 # Source tree 7226 echo "$srcdir/$f" 7227 else 7228 # /dev/null tree 7229 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7230 echo "$as_me: error: cannot find input file: $f" >&2;} 7231 { (exit 1); exit 1; }; } 7232 fi;; 7233 esac 7234 done` || { (exit 1); exit 1; } 7235 _ACEOF 7236 cat >>$CONFIG_STATUS <<_ACEOF 7237 sed "$ac_vpsub 2618 7238 $extrasub 2619 s%@SHELL@%$SHELL%g 2620 s%@CFLAGS@%$CFLAGS%g 2621 s%@CPPFLAGS@%$CPPFLAGS%g 2622 s%@CXXFLAGS@%$CXXFLAGS%g 2623 s%@FFLAGS@%$FFLAGS%g 2624 s%@DEFS@%$DEFS%g 2625 s%@LDFLAGS@%$LDFLAGS%g 2626 s%@LIBS@%$LIBS%g 2627 s%@exec_prefix@%$exec_prefix%g 2628 s%@prefix@%$prefix%g 2629 s%@program_transform_name@%$program_transform_name%g 2630 s%@bindir@%$bindir%g 2631 s%@sbindir@%$sbindir%g 2632 s%@libexecdir@%$libexecdir%g 2633 s%@datadir@%$datadir%g 2634 s%@sysconfdir@%$sysconfdir%g 2635 s%@sharedstatedir@%$sharedstatedir%g 2636 s%@localstatedir@%$localstatedir%g 2637 s%@libdir@%$libdir%g 2638 s%@includedir@%$includedir%g 2639 s%@oldincludedir@%$oldincludedir%g 2640 s%@infodir@%$infodir%g 2641 s%@mandir@%$mandir%g 2642 s%@VERSION@%$VERSION%g 2643 s%@SET_MAKE@%$SET_MAKE%g 2644 s%@CC@%$CC%g 2645 s%@CPP@%$CPP%g 2646 s%@RANLIB@%$RANLIB%g 2647 s%@LN_S@%$LN_S%g 2648 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 2649 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 2650 s%@INSTALL_DATA@%$INSTALL_DATA%g 2651 s%@AR@%$AR%g 2652 s%@PERL@%$PERL%g 2653 s%@ADDR2LINE@%$ADDR2LINE%g 2654 s%@EXTERNAL_CONFIG_HEADER@%$EXTERNAL_CONFIG_HEADER%g 2655 s%@EXTERNAL_CONFIG_SOURCE@%$EXTERNAL_CONFIG_SOURCE%g 2656 s%@OM_MALLOC_HEADER@%$OM_MALLOC_HEADER%g 2657 s%@OM_MALLOC_SOURCE@%$OM_MALLOC_SOURCE%g 2658 2659 CEOF 2660 EOF 2661 2662 cat >> $CONFIG_STATUS <<\EOF 2663 2664 # Split the substitutions into bite-sized pieces for seds with 2665 # small command number limits, like on Digital OSF/1 and HP-UX. 2666 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 2667 ac_file=1 # Number of current file. 2668 ac_beg=1 # First line for current file. 2669 ac_end=$ac_max_sed_cmds # Line after last line for current file. 2670 ac_more_lines=: 2671 ac_sed_cmds="" 2672 while $ac_more_lines; do 2673 if test $ac_beg -gt 1; then 2674 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 7239 _ACEOF 7240 cat >>$CONFIG_STATUS <<\_ACEOF 7241 :t 7242 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 7243 s,@configure_input@,$configure_input,;t t 7244 s,@srcdir@,$ac_srcdir,;t t 7245 s,@abs_srcdir@,$ac_abs_srcdir,;t t 7246 s,@top_srcdir@,$ac_top_srcdir,;t t 7247 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 7248 s,@builddir@,$ac_builddir,;t t 7249 s,@abs_builddir@,$ac_abs_builddir,;t t 7250 s,@top_builddir@,$ac_top_builddir,;t t 7251 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 7252 s,@INSTALL@,$ac_INSTALL,;t t 7253 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 7254 rm -f $tmp/stdin 7255 if test x"$ac_file" != x-; then 7256 mv $tmp/out $ac_file 2675 7257 else 2676 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 7258 cat $tmp/out 7259 rm -f $tmp/out 2677 7260 fi 2678 if test ! -s conftest.s$ac_file; then 2679 ac_more_lines=false 2680 rm -f conftest.s$ac_file 2681 else 2682 if test -z "$ac_sed_cmds"; then 2683 ac_sed_cmds="sed -f conftest.s$ac_file" 2684 else 2685 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 2686 fi 2687 ac_file=`expr $ac_file + 1` 2688 ac_beg=$ac_end 2689 ac_end=`expr $ac_end + $ac_max_sed_cmds` 2690 fi 7261 2691 7262 done 2692 if test -z "$ac_sed_cmds"; then 2693 ac_sed_cmds=cat 2694 fi 2695 EOF 2696 2697 cat >> $CONFIG_STATUS <<EOF 2698 2699 CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 2700 EOF 2701 cat >> $CONFIG_STATUS <<\EOF 2702 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 2703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2704 case "$ac_file" in 2705 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2706 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2707 *) ac_file_in="${ac_file}.in" ;; 2708 esac 2709 2710 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 2711 2712 # Remove last slash and all that follows it. Not all systems have dirname. 2713 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2714 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2715 # The file is in a subdirectory. 2716 test ! -d "$ac_dir" && mkdir "$ac_dir" 2717 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 2718 # A "../" for each directory in $ac_dir_suffix. 2719 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 2720 else 2721 ac_dir_suffix= ac_dots= 2722 fi 2723 2724 case "$ac_given_srcdir" in 2725 .) srcdir=. 2726 if test -z "$ac_dots"; then top_srcdir=. 2727 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 2728 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 2729 *) # Relative path. 2730 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 2731 top_srcdir="$ac_dots$ac_given_srcdir" ;; 2732 esac 2733 2734 case "$ac_given_INSTALL" in 2735 [/$]*) INSTALL="$ac_given_INSTALL" ;; 2736 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 2737 esac 2738 2739 echo creating "$ac_file" 2740 rm -f "$ac_file" 2741 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 2742 case "$ac_file" in 2743 *Makefile*) ac_comsub="1i\\ 2744 # $configure_input" ;; 2745 *) ac_comsub= ;; 2746 esac 2747 2748 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2749 sed -e "$ac_comsub 2750 s%@configure_input@%$configure_input%g 2751 s%@srcdir@%$srcdir%g 2752 s%@top_srcdir@%$top_srcdir%g 2753 s%@INSTALL@%$INSTALL%g 2754 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 2755 fi; done 2756 rm -f conftest.s* 7263 _ACEOF 7264 cat >>$CONFIG_STATUS <<\_ACEOF 7265 7266 # 7267 # CONFIG_HEADER section. 7268 # 2757 7269 2758 7270 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where … … 2760 7272 # 2761 7273 # ac_d sets the value in "#define NAME VALUE" lines. 2762 ac_dA='s %^\([ ]*\)#\([ ]*define[ ][]*\)'2763 ac_dB=' \([ ][ ]*\)[^ ]*%\1#\2'2764 ac_dC=' \3'2765 ac_dD=' %g'2766 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".2767 ac_uA='s %^\([ ]*\)#\([ ]*\)undef\([ ][]*\)'2768 ac_uB=' \([ ]\)%\1#\2define\3'7274 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7275 ac_dB='[ ].*$,\1#\2' 7276 ac_dC=' ' 7277 ac_dD=',;t' 7278 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 7279 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 7280 ac_uB='$,\1#\2define\3' 2769 7281 ac_uC=' ' 2770 ac_uD='\4%g' 2771 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 2772 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 2773 ac_eB='$%\1#\2define\3' 2774 ac_eC=' ' 2775 ac_eD='%g' 2776 2777 if test "${CONFIG_HEADERS+set}" != set; then 2778 EOF 2779 cat >> $CONFIG_STATUS <<EOF 2780 CONFIG_HEADERS="omConfig.h omlimits.h omMalloc.h:${OM_MALLOC_HEADER}" 2781 EOF 2782 cat >> $CONFIG_STATUS <<\EOF 2783 fi 2784 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then 7282 ac_uD=',;t' 7283 7284 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 2785 7285 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 2786 case "$ac_file" in 2787 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 2788 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 2789 *) ac_file_in="${ac_file}.in" ;; 7286 case $ac_file in 7287 - | *:- | *:-:* ) # input from stdin 7288 cat >$tmp/stdin 7289 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7290 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7291 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7292 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 7293 * ) ac_file_in=$ac_file.in ;; 2790 7294 esac 2791 7295 2792 echo creating $ac_file 2793 2794 rm -f conftest.frag conftest.in conftest.out 2795 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 2796 cat $ac_file_inputs > conftest.in 2797 2798 EOF 2799 2800 # Transform confdefs.h into a sed script conftest.vals that substitutes 2801 # the proper values into config.h.in to produce config.h. And first: 2802 # Protect against being on the right side of a sed subst in config.status. 2803 # Protect against being in an unquoted here document in config.status. 2804 rm -f conftest.vals 2805 cat > conftest.hdr <<\EOF 2806 s/[\\&%]/\\&/g 2807 s%[\\$`]%\\&%g 2808 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp 2809 s%ac_d%ac_u%gp 2810 s%ac_u%ac_e%gp 2811 EOF 2812 sed -n -f conftest.hdr confdefs.h > conftest.vals 2813 rm -f conftest.hdr 7296 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 7297 echo "$as_me: creating $ac_file" >&6;} 7298 7299 # First look for the input files in the build tree, otherwise in the 7300 # src tree. 7301 ac_file_inputs=`IFS=: 7302 for f in $ac_file_in; do 7303 case $f in 7304 -) echo $tmp/stdin ;; 7305 [\\/$]*) 7306 # Absolute (can't be DOS-style, as IFS=:) 7307 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7308 echo "$as_me: error: cannot find input file: $f" >&2;} 7309 { (exit 1); exit 1; }; } 7310 # Do quote $f, to prevent DOS paths from being IFS'd. 7311 echo "$f";; 7312 *) # Relative 7313 if test -f "$f"; then 7314 # Build tree 7315 echo "$f" 7316 elif test -f "$srcdir/$f"; then 7317 # Source tree 7318 echo "$srcdir/$f" 7319 else 7320 # /dev/null tree 7321 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 7322 echo "$as_me: error: cannot find input file: $f" >&2;} 7323 { (exit 1); exit 1; }; } 7324 fi;; 7325 esac 7326 done` || { (exit 1); exit 1; } 7327 # Remove the trailing spaces. 7328 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 7329 7330 _ACEOF 7331 7332 # Transform confdefs.h into two sed scripts, `conftest.defines' and 7333 # `conftest.undefs', that substitutes the proper values into 7334 # config.h.in to produce config.h. The first handles `#define' 7335 # templates, and the second `#undef' templates. 7336 # And first: Protect against being on the right side of a sed subst in 7337 # config.status. Protect against being in an unquoted here document 7338 # in config.status. 7339 rm -f conftest.defines conftest.undefs 7340 # Using a here document instead of a string reduces the quoting nightmare. 7341 # Putting comments in sed scripts is not portable. 7342 # 7343 # `end' is used to avoid that the second main sed command (meant for 7344 # 0-ary CPP macros) applies to n-ary macro definitions. 7345 # See the Autoconf documentation for `clear'. 7346 cat >confdef2sed.sed <<\_ACEOF 7347 s/[\\&,]/\\&/g 7348 s,[\\$`],\\&,g 7349 t clear 7350 : clear 7351 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 7352 t end 7353 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 7354 : end 7355 _ACEOF 7356 # If some macros were called several times there might be several times 7357 # the same #defines, which is useless. Nevertheless, we may not want to 7358 # sort them, since we want the *last* AC-DEFINE to be honored. 7359 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 7360 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 7361 rm -f confdef2sed.sed 2814 7362 2815 7363 # This sed command replaces #undef with comments. This is necessary, for 2816 7364 # example, in the case of _POSIX_SOURCE, which is predefined and required 2817 7365 # on some systems where configure will not decide to define it. 2818 cat >> conftest.vals <<\EOF 2819 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% 2820 EOF 2821 2822 # Break up conftest.vals because some shells have a limit on 2823 # the size of here documents, and old seds have small limits too. 2824 7366 cat >>conftest.undefs <<\_ACEOF 7367 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 7368 _ACEOF 7369 7370 # Break up conftest.defines because some shells have a limit on the size 7371 # of here documents, and old seds have small limits too (100 cmds). 7372 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 7373 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 7374 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7375 echo ' :' >>$CONFIG_STATUS 2825 7376 rm -f conftest.tail 2826 while :7377 while grep . conftest.defines >/dev/null 2827 7378 do 2828 ac_lines=`grep -c . conftest.vals` 2829 # grep -c gives empty output for an empty file on some AIX systems. 2830 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi 2831 # Write a limited-size here document to conftest.frag. 2832 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS 2833 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS 7379 # Write a limited-size here document to $tmp/defines.sed. 7380 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7381 # Speed up: don't consider the non `#define' lines. 7382 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 7383 # Work around the forget-to-reset-the-flag bug. 7384 echo 't clr' >>$CONFIG_STATUS 7385 echo ': clr' >>$CONFIG_STATUS 7386 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 2834 7387 echo 'CEOF 2835 sed -f conftest.frag conftest.in > conftest.out2836 rm -f conftest.in2837 mv conftest.out conftest.in2838 ' >> 2839 sed 1,${ac_max_here_lines}d conftest. vals >conftest.tail2840 rm -f conftest. vals2841 mv conftest.tail conftest. vals7388 sed -f $tmp/defines.sed $tmp/in >$tmp/out 7389 rm -f $tmp/in 7390 mv $tmp/out $tmp/in 7391 ' >>$CONFIG_STATUS 7392 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail 7393 rm -f conftest.defines 7394 mv conftest.tail conftest.defines 2842 7395 done 2843 rm -f conftest.vals 2844 2845 cat >> $CONFIG_STATUS <<\EOF 2846 rm -f conftest.frag conftest.h 2847 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h 2848 cat conftest.in >> conftest.h 2849 rm -f conftest.in 2850 if cmp -s $ac_file conftest.h 2>/dev/null; then 2851 echo "$ac_file is unchanged" 2852 rm -f conftest.h 7396 rm -f conftest.defines 7397 echo ' fi # grep' >>$CONFIG_STATUS 7398 echo >>$CONFIG_STATUS 7399 7400 # Break up conftest.undefs because some shells have a limit on the size 7401 # of here documents, and old seds have small limits too (100 cmds). 7402 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 7403 rm -f conftest.tail 7404 while grep . conftest.undefs >/dev/null 7405 do 7406 # Write a limited-size here document to $tmp/undefs.sed. 7407 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 7408 # Speed up: don't consider the non `#undef' 7409 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 7410 # Work around the forget-to-reset-the-flag bug. 7411 echo 't clr' >>$CONFIG_STATUS 7412 echo ': clr' >>$CONFIG_STATUS 7413 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 7414 echo 'CEOF 7415 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 7416 rm -f $tmp/in 7417 mv $tmp/out $tmp/in 7418 ' >>$CONFIG_STATUS 7419 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail 7420 rm -f conftest.undefs 7421 mv conftest.tail conftest.undefs 7422 done 7423 rm -f conftest.undefs 7424 7425 cat >>$CONFIG_STATUS <<\_ACEOF 7426 # Let's still pretend it is `configure' which instantiates (i.e., don't 7427 # use $as_me), people would be surprised to read: 7428 # /* config.h. Generated by config.status. */ 7429 if test x"$ac_file" = x-; then 7430 echo "/* Generated by configure. */" >$tmp/config.h 2853 7431 else 2854 # Remove last slash and all that follows it. Not all systems have dirname. 2855 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 2856 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 2857 # The file is in a subdirectory. 2858 test ! -d "$ac_dir" && mkdir "$ac_dir" 7432 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h 7433 fi 7434 cat $tmp/in >>$tmp/config.h 7435 rm -f $tmp/in 7436 if test x"$ac_file" != x-; then 7437 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 7438 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 7439 echo "$as_me: $ac_file is unchanged" >&6;} 7440 else 7441 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7443 X"$ac_file" : 'X\(//\)[^/]' \| \ 7444 X"$ac_file" : 'X\(//\)$' \| \ 7445 X"$ac_file" : 'X\(/\)' \| \ 7446 . : '\(.\)' 2>/dev/null || 7447 echo X"$ac_file" | 7448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7449 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7450 /^X\(\/\/\)$/{ s//\1/; q; } 7451 /^X\(\/\).*/{ s//\1/; q; } 7452 s/.*/./; q'` 7453 { if $as_mkdir_p; then 7454 mkdir -p "$ac_dir" 7455 else 7456 as_dir="$ac_dir" 7457 as_dirs= 7458 while test ! -d "$as_dir"; do 7459 as_dirs="$as_dir $as_dirs" 7460 as_dir=`(dirname "$as_dir") 2>/dev/null || 7461 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7462 X"$as_dir" : 'X\(//\)[^/]' \| \ 7463 X"$as_dir" : 'X\(//\)$' \| \ 7464 X"$as_dir" : 'X\(/\)' \| \ 7465 . : '\(.\)' 2>/dev/null || 7466 echo X"$as_dir" | 7467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7468 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7469 /^X\(\/\/\)$/{ s//\1/; q; } 7470 /^X\(\/\).*/{ s//\1/; q; } 7471 s/.*/./; q'` 7472 done 7473 test ! -n "$as_dirs" || mkdir $as_dirs 7474 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7475 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7476 { (exit 1); exit 1; }; }; } 7477 7478 rm -f $ac_file 7479 mv $tmp/config.h $ac_file 2859 7480 fi 2860 rm -f $ac_file 2861 mv conftest.h $ac_file 7481 else 7482 cat $tmp/config.h 7483 rm -f $tmp/config.h 2862 7484 fi 2863 fi; done 2864 2865 EOF 2866 cat >> $CONFIG_STATUS <<EOF 2867 2868 EOF 2869 cat >> $CONFIG_STATUS <<\EOF 2870 \ 2871 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi 2872 exit 0 2873 EOF 7485 done 7486 _ACEOF 7487 cat >>$CONFIG_STATUS <<\_ACEOF 7488 7489 # 7490 # CONFIG_COMMANDS section. 7491 # 7492 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 7493 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 7494 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 7495 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 7496 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7497 X"$ac_dest" : 'X\(//\)[^/]' \| \ 7498 X"$ac_dest" : 'X\(//\)$' \| \ 7499 X"$ac_dest" : 'X\(/\)' \| \ 7500 . : '\(.\)' 2>/dev/null || 7501 echo X"$ac_dest" | 7502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7503 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7504 /^X\(\/\/\)$/{ s//\1/; q; } 7505 /^X\(\/\).*/{ s//\1/; q; } 7506 s/.*/./; q'` 7507 { if $as_mkdir_p; then 7508 mkdir -p "$ac_dir" 7509 else 7510 as_dir="$ac_dir" 7511 as_dirs= 7512 while test ! -d "$as_dir"; do 7513 as_dirs="$as_dir $as_dirs" 7514 as_dir=`(dirname "$as_dir") 2>/dev/null || 7515 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7516 X"$as_dir" : 'X\(//\)[^/]' \| \ 7517 X"$as_dir" : 'X\(//\)$' \| \ 7518 X"$as_dir" : 'X\(/\)' \| \ 7519 . : '\(.\)' 2>/dev/null || 7520 echo X"$as_dir" | 7521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7522 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7523 /^X\(\/\/\)$/{ s//\1/; q; } 7524 /^X\(\/\).*/{ s//\1/; q; } 7525 s/.*/./; q'` 7526 done 7527 test ! -n "$as_dirs" || mkdir $as_dirs 7528 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 7529 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 7530 { (exit 1); exit 1; }; }; } 7531 7532 ac_builddir=. 7533 7534 if test "$ac_dir" != .; then 7535 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 7536 # A "../" for each directory in $ac_dir_suffix. 7537 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 7538 else 7539 ac_dir_suffix= ac_top_builddir= 7540 fi 7541 7542 case $srcdir in 7543 .) # No --srcdir option. We are building in place. 7544 ac_srcdir=. 7545 if test -z "$ac_top_builddir"; then 7546 ac_top_srcdir=. 7547 else 7548 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 7549 fi ;; 7550 [\\/]* | ?:[\\/]* ) # Absolute path. 7551 ac_srcdir=$srcdir$ac_dir_suffix; 7552 ac_top_srcdir=$srcdir ;; 7553 *) # Relative path. 7554 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7555 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7556 esac 7557 7558 # Do not use `cd foo && pwd` to compute absolute paths, because 7559 # the directories may not exist. 7560 case `pwd` in 7561 .) ac_abs_builddir="$ac_dir";; 7562 *) 7563 case "$ac_dir" in 7564 .) ac_abs_builddir=`pwd`;; 7565 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 7566 *) ac_abs_builddir=`pwd`/"$ac_dir";; 7567 esac;; 7568 esac 7569 case $ac_abs_builddir in 7570 .) ac_abs_top_builddir=${ac_top_builddir}.;; 7571 *) 7572 case ${ac_top_builddir}. in 7573 .) ac_abs_top_builddir=$ac_abs_builddir;; 7574 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 7575 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 7576 esac;; 7577 esac 7578 case $ac_abs_builddir in 7579 .) ac_abs_srcdir=$ac_srcdir;; 7580 *) 7581 case $ac_srcdir in 7582 .) ac_abs_srcdir=$ac_abs_builddir;; 7583 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 7584 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 7585 esac;; 7586 esac 7587 case $ac_abs_builddir in 7588 .) ac_abs_top_srcdir=$ac_top_srcdir;; 7589 *) 7590 case $ac_top_srcdir in 7591 .) ac_abs_top_srcdir=$ac_abs_builddir;; 7592 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 7593 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 7594 esac;; 7595 esac 7596 7597 7598 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 7599 echo "$as_me: executing $ac_dest commands" >&6;} 7600 case $ac_dest in 7601 default ) \ 7602 if test "$CONFIG_HEADERS"; then echo timestamp > stamp-h; fi ;; 7603 esac 7604 done 7605 _ACEOF 7606 7607 cat >>$CONFIG_STATUS <<\_ACEOF 7608 7609 { (exit 0); exit 0; } 7610 _ACEOF 2874 7611 chmod +x $CONFIG_STATUS 2875 rm -fr confdefs* $ac_clean_files 2876 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 2877 2878 2879 7612 ac_clean_files=$ac_clean_files_save 7613 7614 7615 # configure is writing to config.log, and then calls config.status. 7616 # config.status does its own redirection, appending to config.log. 7617 # Unfortunately, on DOS this fails, as config.log is still kept open 7618 # by configure, so config.status won't be able to write to it; its 7619 # output is simply discarded. So we exec the FD to /dev/null, 7620 # effectively closing config.log, so it can be properly (re)opened and 7621 # appended to by config.status. When coming back to configure, we 7622 # need to make the FD available again. 7623 if test "$no_create" != yes; then 7624 ac_cs_success=: 7625 ac_config_status_args= 7626 test "$silent" = yes && 7627 ac_config_status_args="$ac_config_status_args --quiet" 7628 exec 5>/dev/null 7629 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 7630 exec 5>>config.log 7631 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 7632 # would make configure fail if this is the last instruction. 7633 $ac_cs_success || { (exit 1); exit 1; } 7634 fi 7635 7636 7637 -
omalloc/configure.in
r8247fd r50c8e82 4 4 dnl Author: obachman@mathematik.uni-kl.de (Olaf Bachmann) 5 5 dnl Created: 11/99 6 dnl Version: $Id: configure.in,v 1.1 5 2001-08-21 13:59:31 SingularExp $6 dnl Version: $Id: configure.in,v 1.16 2005-11-08 08:49:16 bricken Exp $ 7 7 dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll 8 8 … … 37 37 AC_ARG_WITH( 38 38 valloc, 39 [ --with-valloc=mmap| malloc|emulate39 [ --with-valloc=mmap|system|emulate 40 40 how to get page-aligned memory, default: use first possible]) 41 41 AC_ARG_WITH(
Note: See TracChangeset
for help on using the changeset viewer.