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