Changeset 1124
- Timestamp:
- Jan 30, 2004, 10:32:09 PM (22 years ago)
- Location:
- trunk/src
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/binutils/bfd/configure
-
Property cvs2svn:cvs-rev
changed from
1.11
to1.12
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/binutils/configure
-
Property cvs2svn:cvs-rev
changed from
1.8
to1.9
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/etc/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/gas/configure
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/gprof/configure
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/ld/configure
-
Property cvs2svn:cvs-rev
changed from
1.6
to1.7
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/binutils/opcodes/configure
-
Property cvs2svn:cvs-rev
changed from
1.7
to1.8
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/boehm-gc/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/fastjar/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/gcc/configure
-
Property cvs2svn:cvs-rev
changed from
1.4
to1.5
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libF77/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libI77/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libf2c/libU77/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libffi/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libiberty/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libjava/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libjava/libltdl/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libobjc/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/libstdc++-v3/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
-
Property cvs2svn:cvs-rev
changed from
-
trunk/src/gcc/zlib/configure
-
Property cvs2svn:cvs-rev
changed from
1.3
to1.4
r1123 r1124 1 1 #! /bin/sh 2 2 3 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.59. 4 # Generated automatically using autoconf version 2.13 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 4 6 # 5 # Copyright (C) 2003 Free Software Foundation, Inc.6 7 # This configure script is free software; the Free Software Foundation 7 8 # gives unlimited permission to copy, distribute and modify it. 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 79 # Avoid depending upon Character Ranges. 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83 as_cr_digits='0123456789' 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 200 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 225 as_executable_p="test -f" 226 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 243 244 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246 # so uname gets run too. 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 250 251 # 252 # Initializations. 253 # 9 10 # Defaults: 11 ac_help= 254 12 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=. 256 cross_compiling=no 257 subdirs= 258 MFLAGS= 259 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 266 267 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 273 274 ac_unique_file="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='' 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]" 314 38 315 39 # Initialize some variables set by options. 316 ac_init_help=317 ac_init_version=false318 40 # The variables have the same names as the options, with 319 41 # dashes changed to underlines. 320 cache_file=/dev/null 42 build=NONE 43 cache_file=./config.cache 321 44 exec_prefix=NONE 45 host=NONE 322 46 no_create= 47 nonopt=NONE 323 48 no_recursion= 324 49 prefix=NONE … … 329 54 site= 330 55 srcdir= 56 target=NONE 331 57 verbose= 332 58 x_includes=NONE 333 59 x_libraries=NONE 334 335 # Installation directory options.336 # These are left unexpanded so users can "make install exec_prefix=/foo"337 # and all the variables that are supposed to be based on exec_prefix338 # by default will actually change.339 # Use braces instead of parens because sh, perl, etc. also accept them.340 60 bindir='${exec_prefix}/bin' 341 61 sbindir='${exec_prefix}/sbin' … … 351 71 mandir='${prefix}/man' 352 72 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=12 79 353 80 ac_prev= 354 81 for ac_option 355 82 do 83 356 84 # If the previous option needs an argument, assign it. 357 85 if test -n "$ac_prev"; then … … 361 89 fi 362 90 363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 91 case "$ac_option" in 92 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 93 *) ac_optarg= ;; 94 esac 364 95 365 96 # Accept the important Cygnus configure options, so we can diagnose typos. 366 97 367 case $ac_optionin98 case "$ac_option" in 368 99 369 100 -bindir | --bindir | --bindi | --bind | --bin | --bi) 370 101 ac_prev=bindir ;; 371 102 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 372 bindir= $ac_optarg;;103 bindir="$ac_optarg" ;; 373 104 374 105 -build | --build | --buil | --bui | --bu) 375 ac_prev=build _alias;;106 ac_prev=build ;; 376 107 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 377 build _alias=$ac_optarg;;108 build="$ac_optarg" ;; 378 109 379 110 -cache-file | --cache-file | --cache-fil | --cache-fi \ … … 382 113 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 383 114 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 384 cache_file=$ac_optarg ;; 385 386 --config-cache | -C) 387 cache_file=config.cache ;; 115 cache_file="$ac_optarg" ;; 388 116 389 117 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) … … 391 119 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 392 120 | --da=*) 393 datadir= $ac_optarg;;121 datadir="$ac_optarg" ;; 394 122 395 123 -disable-* | --disable-*) 396 ac_feature=`e xpr "x$ac_option" : 'x-*disable-\(.*\)'`124 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 397 125 # Reject names that are not valid shell variable names. 398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&399 { echo " $as_me: error: invalid feature name: $ac_feature" >&2400 { (exit 1); exit 1; }; }401 ac_feature=`echo $ac_feature 402 eval "enable_$ ac_feature=no" ;;126 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 127 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 128 fi 129 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 130 eval "enable_${ac_feature}=no" ;; 403 131 404 132 -enable-* | --enable-*) 405 ac_feature=`e xpr "x$ac_option" : 'x-*enable-\([^=]*\)'`133 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 406 134 # Reject names that are not valid shell variable names. 407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&408 { echo " $as_me: error: invalid feature name: $ac_feature" >&2409 { (exit 1); exit 1; }; }410 ac_feature=`echo $ac_feature 411 case $ac_optionin412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;135 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 136 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 137 fi 138 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 139 case "$ac_option" in 140 *=*) ;; 413 141 *) ac_optarg=yes ;; 414 142 esac 415 eval "enable_$ ac_feature='$ac_optarg'" ;;143 eval "enable_${ac_feature}='$ac_optarg'" ;; 416 144 417 145 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 422 150 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 423 151 | --exec=* | --exe=* | --ex=*) 424 exec_prefix= $ac_optarg;;152 exec_prefix="$ac_optarg" ;; 425 153 426 154 -gas | --gas | --ga | --g) … … 428 156 with_gas=yes ;; 429 157 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 ;; 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 ;; 436 212 437 213 -host | --host | --hos | --ho) 438 ac_prev=host _alias;;214 ac_prev=host ;; 439 215 -host=* | --host=* | --hos=* | --ho=*) 440 host _alias=$ac_optarg;;216 host="$ac_optarg" ;; 441 217 442 218 -includedir | --includedir | --includedi | --included | --include \ … … 445 221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 446 222 | --includ=* | --inclu=* | --incl=* | --inc=*) 447 includedir= $ac_optarg;;223 includedir="$ac_optarg" ;; 448 224 449 225 -infodir | --infodir | --infodi | --infod | --info | --inf) 450 226 ac_prev=infodir ;; 451 227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 452 infodir= $ac_optarg;;228 infodir="$ac_optarg" ;; 453 229 454 230 -libdir | --libdir | --libdi | --libd) 455 231 ac_prev=libdir ;; 456 232 -libdir=* | --libdir=* | --libdi=* | --libd=*) 457 libdir= $ac_optarg;;233 libdir="$ac_optarg" ;; 458 234 459 235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ … … 462 238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 463 239 | --libexe=* | --libex=* | --libe=*) 464 libexecdir= $ac_optarg;;240 libexecdir="$ac_optarg" ;; 465 241 466 242 -localstatedir | --localstatedir | --localstatedi | --localstated \ … … 471 247 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 472 248 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 473 localstatedir= $ac_optarg;;249 localstatedir="$ac_optarg" ;; 474 250 475 251 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 476 252 ac_prev=mandir ;; 477 253 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 478 mandir= $ac_optarg;;254 mandir="$ac_optarg" ;; 479 255 480 256 -nfp | --nfp | --nf) … … 483 259 484 260 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 485 | --no-cr | --no-c | -n)261 | --no-cr | --no-c) 486 262 no_create=yes ;; 487 263 … … 497 273 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 498 274 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 499 oldincludedir= $ac_optarg;;275 oldincludedir="$ac_optarg" ;; 500 276 501 277 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 502 278 ac_prev=prefix ;; 503 279 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 504 prefix= $ac_optarg;;280 prefix="$ac_optarg" ;; 505 281 506 282 -program-prefix | --program-prefix | --program-prefi | --program-pref \ … … 509 285 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 510 286 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 511 program_prefix= $ac_optarg;;287 program_prefix="$ac_optarg" ;; 512 288 513 289 -program-suffix | --program-suffix | --program-suffi | --program-suff \ … … 516 292 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 517 293 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 518 program_suffix= $ac_optarg;;294 program_suffix="$ac_optarg" ;; 519 295 520 296 -program-transform-name | --program-transform-name \ … … 533 309 | --program-trans=* | --program-tran=* \ 534 310 | --progr-tra=* | --program-tr=* | --program-t=*) 535 program_transform_name= $ac_optarg;;311 program_transform_name="$ac_optarg" ;; 536 312 537 313 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 543 319 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 544 320 | --sbi=* | --sb=*) 545 sbindir= $ac_optarg;;321 sbindir="$ac_optarg" ;; 546 322 547 323 -sharedstatedir | --sharedstatedir | --sharedstatedi \ … … 554 330 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 555 331 | --sha=* | --sh=*) 556 sharedstatedir= $ac_optarg;;332 sharedstatedir="$ac_optarg" ;; 557 333 558 334 -site | --site | --sit) 559 335 ac_prev=site ;; 560 336 -site=* | --site=* | --sit=*) 561 site= $ac_optarg;;337 site="$ac_optarg" ;; 562 338 563 339 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 564 340 ac_prev=srcdir ;; 565 341 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 566 srcdir= $ac_optarg;;342 srcdir="$ac_optarg" ;; 567 343 568 344 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ … … 571 347 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 572 348 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 573 sysconfdir= $ac_optarg;;349 sysconfdir="$ac_optarg" ;; 574 350 575 351 -target | --target | --targe | --targ | --tar | --ta | --t) 576 ac_prev=target _alias;;352 ac_prev=target ;; 577 353 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 578 target _alias=$ac_optarg;;354 target="$ac_optarg" ;; 579 355 580 356 -v | -verbose | --verbose | --verbos | --verbo | --verb) 581 357 verbose=yes ;; 582 358 583 -version | --version | --versio | --versi | --vers | -V) 584 ac_init_version=: ;; 359 -version | --version | --versio | --versi | --vers) 360 echo "configure generated by autoconf version 2.13" 361 exit 0 ;; 585 362 586 363 -with-* | --with-*) 587 ac_package=`e xpr "x$ac_option" : 'x-*with-\([^=]*\)'`364 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 588 365 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&590 { echo " $as_me: error: invalid package name: $ac_package" >&2591 { (exit 1); exit 1; }; }366 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 367 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 368 fi 592 369 ac_package=`echo $ac_package| sed 's/-/_/g'` 593 case $ac_optionin594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;370 case "$ac_option" in 371 *=*) ;; 595 372 *) ac_optarg=yes ;; 596 373 esac 597 eval "with_$ ac_package='$ac_optarg'" ;;374 eval "with_${ac_package}='$ac_optarg'" ;; 598 375 599 376 -without-* | --without-*) 600 ac_package=`e xpr "x$ac_option" : 'x-*without-\(.*\)'`377 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 601 378 # Reject names that are not valid shell variable names. 602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&603 { echo " $as_me: error: invalid package name: $ac_package" >&2604 { (exit 1); exit 1; }; }605 ac_package=`echo $ac_package 606 eval "with_$ ac_package=no" ;;379 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 380 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 381 fi 382 ac_package=`echo $ac_package| sed 's/-/_/g'` 383 eval "with_${ac_package}=no" ;; 607 384 608 385 --x) … … 615 392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 616 393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 617 x_includes= $ac_optarg;;394 x_includes="$ac_optarg" ;; 618 395 619 396 -x-libraries | --x-libraries | --x-librarie | --x-librari \ … … 622 399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 623 400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 624 x_libraries=$ac_optarg ;; 625 626 -*) { echo "$as_me: error: unrecognized option: $ac_option 627 Try \`$0 --help' for more information." >&2 628 { (exit 1); exit 1; }; } 401 x_libraries="$ac_optarg" ;; 402 403 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 629 404 ;; 630 405 631 *=*)632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`633 # Reject names that are not valid shell variable names.634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2636 { (exit 1); exit 1; }; }637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`638 eval "$ac_envvar='$ac_optarg'"639 export $ac_envvar ;;640 641 406 *) 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} 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" 647 414 ;; 648 415 … … 651 418 652 419 if test -n "$ac_prev"; then 653 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 654 { echo "$as_me: error: missing argument to $ac_option" >&2 655 { (exit 1); exit 1; }; } 656 fi 657 658 # Be sure to have absolute paths. 659 for ac_var in exec_prefix prefix 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 660 449 do 661 eval ac_val=$`echo $ac_var` 662 case $ac_val in 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 665 { (exit 1); exit 1; }; };; 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" ;; 666 458 esac 667 459 done 668 460 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 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 704 479 705 480 # Find the source files, if location was not specified. … … 707 482 ac_srcdir_defaulted=yes 708 483 # Try the directory containing this script, then its parent. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 484 ac_prog=$0 485 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 486 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 721 487 srcdir=$ac_confdir 722 488 if test ! -r $srcdir/$ac_unique_file; then … … 728 494 if test ! -r $srcdir/$ac_unique_file; then 729 495 if test "$ac_srcdir_defaulted" = yes; then 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 731 { (exit 1); exit 1; }; } 496 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 732 497 else 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 734 { (exit 1); exit 1; }; } 498 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 735 499 fi 736 500 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 741 ac_env_build_alias_set=${build_alias+set} 742 ac_env_build_alias_value=$build_alias 743 ac_cv_env_build_alias_set=${build_alias+set} 744 ac_cv_env_build_alias_value=$build_alias 745 ac_env_host_alias_set=${host_alias+set} 746 ac_env_host_alias_value=$host_alias 747 ac_cv_env_host_alias_set=${host_alias+set} 748 ac_cv_env_host_alias_value=$host_alias 749 ac_env_target_alias_set=${target_alias+set} 750 ac_env_target_alias_value=$target_alias 751 ac_cv_env_target_alias_set=${target_alias+set} 752 ac_cv_env_target_alias_value=$target_alias 753 ac_env_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. 501 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 502 1193 503 # Prefer explicitly selected file to automatically selected ones. 1194 504 if test -z "$CONFIG_SITE"; then … … 1201 511 for ac_site_file in $CONFIG_SITE; do 1202 512 if test -r "$ac_site_file"; then 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 513 echo "loading site script $ac_site_file" 1206 514 . "$ac_site_file" 1207 515 fi 1208 516 done 1209 517 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 518 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 524 fi 525 526 ac_ext=c 527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 528 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= 1238 542 fi 1239 fi 1240 1241 if test -r "$cache_file"; then 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 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; } 1251 687 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; }; } 1307 fi 1308 1309 ac_ext=c 1310 ac_cpp='$CPP $CPPFLAGS' 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 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 1331 697 1332 698 … … 1360 726 ac_install_sh="$ac_aux_dir/install.sh -c" 1361 727 break 1362 elif test -f $ac_dir/shtool; then1363 ac_aux_dir=$ac_dir1364 ac_install_sh="$ac_aux_dir/shtool install -c"1365 break1366 728 fi 1367 729 done 1368 730 if test -z "$ac_aux_dir"; then 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. 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. 1376 736 1377 737 if :; then :; else … … 1388 748 ac_install_sh="$ac_aux_dir/install.sh -c" 1389 749 break 1390 elif test -f $ac_dir/shtool; then1391 ac_aux_dir=$ac_dir1392 ac_install_sh="$ac_aux_dir/shtool install -c"1393 break1394 750 fi 1395 751 done 1396 752 if test -z "$ac_aux_dir"; then 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 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. 1482 774 1483 775 # The aliases save the names the user supplied, while $host etc. 1484 776 # will get canonicalized. 1485 test -n "$target_alias" && 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" && 1486 846 test "$program_prefix$program_suffix$program_transform_name" = \ 1487 847 NONENONEs,x,x, && 1488 848 program_prefix=${target_alias}- 849 1489 850 1490 851 # This works around an automake problem. … … 1499 860 # IRIX /sbin/install 1500 861 # AIX /bin/install 1501 # AmigaOS /C/install, which installs bootblocks on floppy discs1502 862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1503 863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1504 864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1505 # OS/2's system install, which has a completely different semantic1506 865 # ./install, which can be erroneously created by make from ./install.sh. 1507 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&51508 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6866 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 867 echo "configure:868: checking for a BSD compatible install" >&5 1509 868 if test -z "$INSTALL"; 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 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 1531 885 if test $ac_prog = install && 1532 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext">/dev/null 2>&1; then886 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1533 887 # AIX install. It has an incompatible calling convention. 1534 888 : 1535 elif test $ac_prog = install &&1536 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then1537 # program-specific install script used by HP pwplus--don't use.1538 :1539 889 else 1540 ac_cv_path_install="$a s_dir/$ac_prog$ac_exec_ext -c"1541 break 3890 ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c" 891 break 2 1542 892 fi 1543 893 fi 1544 894 done 1545 done 1546 ;; 1547 esac 1548 done 1549 895 ;; 896 esac 897 done 898 IFS="$ac_save_IFS" 1550 899 1551 900 fi 1552 901 if test "${ac_cv_path_install+set}" = set; then 1553 INSTALL= $ac_cv_path_install902 INSTALL="$ac_cv_path_install" 1554 903 else 1555 904 # As a last resort, use the slow shell script. We don't cache a … … 1557 906 # break other packages using the cache if that directory is 1558 907 # removed, or if the path is relative. 1559 INSTALL= $ac_install_sh908 INSTALL="$ac_install_sh" 1560 909 fi 1561 910 fi 1562 echo "$as_me:$LINENO: result: $INSTALL" >&5 1563 echo "${ECHO_T}$INSTALL" >&6 911 echo "$ac_t""$INSTALL" 1>&6 1564 912 1565 913 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1567 915 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1568 916 1569 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL }'917 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1570 918 1571 919 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1572 920 1573 echo "$as_me:$LINENO: checking whether build environment is sane" >&51574 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6921 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 922 echo "configure:923: checking whether build environment is sane" >&5 1575 923 # Just in case 1576 924 sleep 1 … … 1594 942 # broken ls alias from the environment. This has actually 1595 943 # happened. Such a system could not be considered "sane". 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; }; } 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; } 1601 946 fi 1602 947 … … 1607 952 : 1608 953 else 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; }; } 954 { echo "configure: error: newly created file is older than distributed files! 955 Check your system clock" 1>&2; exit 1; } 1614 956 fi 1615 957 rm -f conftest* 1616 echo "$as_me:$LINENO: result: yes" >&5 1617 echo "${ECHO_T}yes" >&6 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 1618 969 test "$program_prefix" != NONE && 1619 program_transform_name="s,^,$ program_prefix,;$program_transform_name"970 program_transform_name="s,^,${program_prefix},; $program_transform_name" 1620 971 # Use a double $ so make ignores it. 1621 972 test "$program_suffix" != NONE && 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 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 1638 985 all: 1639 @echo 'ac_maketemp="$ (MAKE)"'1640 _ACEOF986 @echo 'ac_maketemp="${MAKE}"' 987 EOF 1641 988 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 1642 eval `${MAKE-make} -f conftest .make 2>/dev/null | grep temp=`989 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 1643 990 if test -n "$ac_maketemp"; then 1644 991 eval ac_cv_prog_make_${ac_make}_set=yes … … 1646 993 eval ac_cv_prog_make_${ac_make}_set=no 1647 994 fi 1648 rm -f conftest .make995 rm -f conftestmake 1649 996 fi 1650 997 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 1651 echo "$as_me:$LINENO: result: yes" >&5 1652 echo "${ECHO_T}yes" >&6 998 echo "$ac_t""yes" 1>&6 1653 999 SET_MAKE= 1654 1000 else 1655 echo "$as_me:$LINENO: result: no" >&5 1656 echo "${ECHO_T}no" >&6 1001 echo "$ac_t""no" 1>&6 1657 1002 SET_MAKE="MAKE=${MAKE-make}" 1658 1003 fi … … 1664 1009 1665 1010 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 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 1011 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1012 fi 1013 cat >> confdefs.h <<EOF 1672 1014 #define PACKAGE "$PACKAGE" 1673 _ACEOF 1674 1675 1676 cat >>confdefs.h <<_ACEOF 1015 EOF 1016 1017 cat >> confdefs.h <<EOF 1677 1018 #define VERSION "$VERSION" 1678 _ACEOF1019 EOF 1679 1020 1680 1021 1681 1022 1682 1023 missing_dir=`cd $ac_aux_dir && pwd` 1683 echo "$as_me:$LINENO: checking for working aclocal" >&51684 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&61024 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 1025 echo "configure:1026: checking for working aclocal" >&5 1685 1026 # Run test in a subshell; some versions of sh will print an error if 1686 1027 # an executable is not found, even if stderr is redirected. … … 1688 1029 if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1689 1030 ACLOCAL=aclocal 1690 echo "$as_me:$LINENO: result: found" >&5 1691 echo "${ECHO_T}found" >&6 1031 echo "$ac_t""found" 1>&6 1692 1032 else 1693 1033 ACLOCAL="$missing_dir/missing aclocal" 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 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 1700 1039 # Run test in a subshell; some versions of sh will print an error if 1701 1040 # an executable is not found, even if stderr is redirected. … … 1703 1042 if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1704 1043 AUTOCONF=autoconf 1705 echo "$as_me:$LINENO: result: found" >&5 1706 echo "${ECHO_T}found" >&6 1044 echo "$ac_t""found" 1>&6 1707 1045 else 1708 1046 AUTOCONF="$missing_dir/missing autoconf" 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 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 1715 1052 # Run test in a subshell; some versions of sh will print an error if 1716 1053 # an executable is not found, even if stderr is redirected. … … 1718 1055 if (automake --version) < /dev/null > /dev/null 2>&1; then 1719 1056 AUTOMAKE=automake 1720 echo "$as_me:$LINENO: result: found" >&5 1721 echo "${ECHO_T}found" >&6 1057 echo "$ac_t""found" 1>&6 1722 1058 else 1723 1059 AUTOMAKE="$missing_dir/missing automake" 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 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 1730 1065 # Run test in a subshell; some versions of sh will print an error if 1731 1066 # an executable is not found, even if stderr is redirected. … … 1733 1068 if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1734 1069 AUTOHEADER=autoheader 1735 echo "$as_me:$LINENO: result: found" >&5 1736 echo "${ECHO_T}found" >&6 1070 echo "$ac_t""found" 1>&6 1737 1071 else 1738 1072 AUTOHEADER="$missing_dir/missing autoheader" 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 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 1745 1078 # Run test in a subshell; some versions of sh will print an error if 1746 1079 # an executable is not found, even if stderr is redirected. … … 1748 1081 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1749 1082 MAKEINFO=makeinfo 1750 echo "$as_me:$LINENO: result: found" >&5 1751 echo "${ECHO_T}found" >&6 1083 echo "$ac_t""found" 1>&6 1752 1084 else 1753 1085 MAKEINFO="$missing_dir/missing makeinfo" 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 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 1762 1093 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1763 1094 if test "${enable_maintainer_mode+set}" = set; then … … 1766 1097 else 1767 1098 USE_MAINTAINER_MODE=no 1768 fi ;1769 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 1770 echo "${ECHO_T}$USE_MAINTAINER_MODE">&61771 1099 fi 1100 1101 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 1102 1772 1103 1773 1104 if test $USE_MAINTAINER_MODE = yes; then … … 1779 1110 fi 1780 1111 MAINT=$MAINTAINER_MODE_TRUE 1781 1782 1112 1783 1113 1784 1114 … … 1786 1116 if test "${with_target_subdir+set}" = set; then 1787 1117 withval="$with_target_subdir" 1788 1789 fi ;1118 : 1119 fi 1790 1120 1791 1121 # Check whether --with-cross-host or --without-cross-host was given. 1792 1122 if test "${with_cross_host+set}" = set; then 1793 1123 withval="$with_cross_host" 1794 1795 fi; 1124 : 1125 fi 1126 1796 1127 1797 1128 # Check whether --enable-multilib or --disable-multilib was given. … … 1801 1132 yes) multilib=yes ;; 1802 1133 no) multilib=no ;; 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; }; } ;; 1134 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;; 1806 1135 esac 1807 1136 else 1808 1137 test -z "$with_target_subdir" && multilib=no || multilib=yes 1809 fi ;1138 fi 1810 1139 1811 1140 # Check whether --with-system-zlib or --without-system-zlib was given. 1812 1141 if test "${with_system_zlib+set}" = set; then 1813 1142 withval="$with_system_zlib" 1814 1815 fi; 1143 : 1144 fi 1145 1816 1146 1817 1147 1818 1148 # Extract the first word of "gcc", so it can be a program name with args. 1819 1149 set dummy gcc; ac_word=$2 1820 echo "$as_me:$LINENO: checking for $ac_word" >&51821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61822 if test "${ac_cv_prog_CC+set}" = set; then1823 echo $ ECHO_N "(cached) $ECHO_C">&61150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1151 echo "configure:1152: checking for $ac_word" >&5 1152 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1153 echo $ac_n "(cached) $ac_c" 1>&6 1824 1154 else 1825 1155 if test -n "$CC"; then 1826 1156 ac_cv_prog_CC="$CC" # Let the user override the test. 1827 1157 else 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 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" 1845 1172 if test -n "$CC"; then 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 1173 echo "$ac_t""$CC" 1>&6 1174 else 1175 echo "$ac_t""no" 1>&6 1851 1176 fi 1852 1177 … … 1854 1179 # Extract the first word of "cc", so it can be a program name with args. 1855 1180 set dummy cc; ac_word=$2 1856 echo "$as_me:$LINENO: checking for $ac_word" >&51857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61858 if test "${ac_cv_prog_CC+set}" = set; then1859 echo $ ECHO_N "(cached) $ECHO_C">&61181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1182 echo "configure:1183: checking for $ac_word" >&5 1183 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1184 echo $ac_n "(cached) $ac_c" 1>&6 1860 1185 else 1861 1186 if test -n "$CC"; then 1862 1187 ac_cv_prog_CC="$CC" # Let the user override the test. 1863 1188 else 1189 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1864 1190 ac_prog_rejected=no 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 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" 1883 1206 if test $ac_prog_rejected = yes; then 1884 1207 # We found a bogon in the path, so make sure we never use it. 1885 1208 set dummy $ac_cv_prog_CC 1886 1209 shift 1887 if test $# !=0; then1210 if test $# -gt 0; then 1888 1211 # We chose a different compiler from the bogus one. 1889 1212 # However, it has the same basename, so the bogon will be chosen 1890 1213 # first if we set CC to just the basename; use the full file name. 1891 1214 shift 1892 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1215 set dummy "$ac_dir/$ac_word" "$@" 1216 shift 1217 ac_cv_prog_CC="$@" 1893 1218 fi 1894 1219 fi 1895 1220 fi 1896 1221 fi 1897 CC= $ac_cv_prog_CC1222 CC="$ac_cv_prog_CC" 1898 1223 if test -n "$CC"; 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 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 1914 1252 GCC=yes 1915 1253 ac_test_CFLAGS="${CFLAGS+set}" 1916 1254 ac_save_CFLAGS="$CFLAGS" 1917 1255 CFLAGS= 1918 AC_PROG_CC_G 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 1919 1272 if test "$ac_test_CFLAGS" = set; then 1920 1273 CFLAGS="$ac_save_CFLAGS" … … 1941 1294 # were not for the `:' below. 1942 1295 : 1296 1297 1298 1299 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 1300 echo "configure:1301: checking for executable suffix" >&5 1301 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1302 echo $ac_n "(cached) $ac_c" 1>&6 1303 else 1304 if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then 1305 ac_cv_exeext=.exe 1306 else 1307 rm -f conftest* 1308 echo 'int main () { return 0; }' > conftest.$ac_ext 1309 ac_cv_exeext= 1310 if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1311 for file in conftest.*; do 1312 case $file in 1313 *.c | *.o | *.obj) ;; 1314 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1315 esac 1316 done 1317 else 1318 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1319 fi 1320 rm -f conftest* 1321 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no 1322 fi 1323 fi 1324 1325 EXEEXT="" 1326 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} 1327 echo "$ac_t""${ac_cv_exeext}" 1>&6 1328 ac_exeext=$EXEEXT 1943 1329 1944 1330 fi … … 1964 1350 else 1965 1351 enable_shared=yes 1966 fi; 1352 fi 1353 1967 1354 # Check whether --enable-static or --disable-static was given. 1968 1355 if test "${enable_static+set}" = set; then … … 1986 1373 else 1987 1374 enable_static=yes 1988 fi; 1375 fi 1376 1989 1377 # Check whether --enable-fast-install or --disable-fast-install was given. 1990 1378 if test "${enable_fast_install+set}" = set; then … … 2008 1396 else 2009 1397 enable_fast_install=yes 2010 fi ;1398 fi 2011 1399 2012 1400 # Check whether --with-gnu-ld or --without-gnu-ld was given. … … 2016 1404 else 2017 1405 with_gnu_ld=no 2018 fi; 1406 fi 1407 2019 1408 ac_prog=ld 2020 1409 if test "$GCC" = yes; then 2021 1410 # Check if gcc -print-prog-name=ld gives a path. 2022 echo "$as_me:$LINENO: checking for ld used by GCC" >&52023 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&61411 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 1412 echo "configure:1413: checking for ld used by GCC" >&5 2024 1413 case $host in 2025 1414 *-*-mingw*) … … 2050 1439 esac 2051 1440 elif test "$with_gnu_ld" = yes; then 2052 echo "$as_me:$LINENO: checking for GNU ld" >&52053 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&62054 else 2055 echo "$as_me:$LINENO: checking for non-GNU ld" >&52056 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&62057 fi 2058 if test "${lt_cv_path_LD+set}" = set; then2059 echo $ ECHO_N "(cached) $ECHO_C">&61441 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 1442 echo "configure:1443: checking for GNU ld" >&5 1443 else 1444 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 1445 echo "configure:1446: checking for non-GNU ld" >&5 1446 fi 1447 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then 1448 echo $ac_n "(cached) $ac_c" 1>&6 2060 1449 else 2061 1450 if test -z "$LD"; then … … 2083 1472 LD="$lt_cv_path_LD" 2084 1473 if test -n "$LD"; then 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 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 2098 1483 else 2099 1484 # I'd rather use --version here, but apparently some GNU ld's only accept -v. … … 2104 1489 fi 2105 1490 fi 2106 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 2107 echo "$ {ECHO_T}$lt_cv_prog_gnu_ld">&61491 1492 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 2108 1493 with_gnu_ld=$lt_cv_prog_gnu_ld 2109 1494 2110 1495 2111 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&52112 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&62113 if test "${lt_cv_ld_reload_flag+set}" = set; then2114 echo $ ECHO_N "(cached) $ECHO_C">&61496 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 1497 echo "configure:1498: checking for $LD option to reload object files" >&5 1498 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then 1499 echo $ac_n "(cached) $ac_c" 1>&6 2115 1500 else 2116 1501 lt_cv_ld_reload_flag='-r' 2117 1502 fi 2118 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 2119 echo "$ {ECHO_T}$lt_cv_ld_reload_flag">&61503 1504 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 2120 1505 reload_flag=$lt_cv_ld_reload_flag 2121 1506 test -n "$reload_flag" && reload_flag=" $reload_flag" 2122 1507 2123 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&52124 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&62125 if test "${lt_cv_path_NM+set}" = set; then2126 echo $ ECHO_N "(cached) $ECHO_C">&61508 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 1509 echo "configure:1510: checking for BSD-compatible nm" >&5 1510 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then 1511 echo $ac_n "(cached) $ac_c" 1>&6 2127 1512 else 2128 1513 if test -n "$NM"; then … … 2157 1542 2158 1543 NM="$lt_cv_path_NM" 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 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 2177 1577 else 2178 1578 lt_cv_file_magic_cmd='$MAGIC_CMD' … … 2343 1743 2344 1744 fi 2345 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 2346 echo "$ {ECHO_T}$lt_cv_deplibs_check_method">&61745 1746 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 2347 1747 file_magic_cmd=$lt_cv_file_magic_cmd 2348 1748 deplibs_check_method=$lt_cv_deplibs_check_method 2349 1749 2350 2351 1750 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 1751 echo "configure:1752: checking for object suffix" >&5 1752 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then 1753 echo $ac_n "(cached) $ac_c" 1>&6 1754 else 1755 rm -f conftest* 1756 echo 'int i = 1;' > conftest.$ac_ext 1757 if { (eval echo configure:1758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1758 for ac_file in conftest.*; do 1759 case $ac_file in 1760 *.c) ;; 1761 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; 1762 esac 1763 done 1764 else 1765 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } 1766 fi 1767 rm -f conftest* 1768 fi 1769 1770 echo "$ac_t""$ac_cv_objext" 1>&6 1771 OBJEXT=$ac_cv_objext 1772 ac_objext=$ac_cv_objext 1773 1774 if test $host != $build; then 1775 ac_tool_prefix=${host_alias}- 1776 else 1777 ac_tool_prefix= 1778 fi 2352 1779 2353 1780 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! … … 2357 1784 file_magic*) 2358 1785 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 2359 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&52360 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&62361 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then2362 echo $ ECHO_N "(cached) $ECHO_C">&61786 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 1787 echo "configure:1788: checking for ${ac_tool_prefix}file" >&5 1788 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1789 echo $ac_n "(cached) $ac_c" 1>&6 2363 1790 else 2364 1791 case $MAGIC_CMD in … … 2412 1839 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 2413 1840 if test -n "$MAGIC_CMD"; then 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 1841 echo "$ac_t""$MAGIC_CMD" 1>&6 1842 else 1843 echo "$ac_t""no" 1>&6 2419 1844 fi 2420 1845 2421 1846 if test -z "$lt_cv_path_MAGIC_CMD"; then 2422 1847 if test -n "$ac_tool_prefix"; then 2423 echo "$as_me:$LINENO: checking for file" >&52424 echo $ECHO_N "checking for file... $ECHO_C" >&62425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then2426 echo $ ECHO_N "(cached) $ECHO_C">&61848 echo $ac_n "checking for file""... $ac_c" 1>&6 1849 echo "configure:1850: checking for file" >&5 1850 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then 1851 echo $ac_n "(cached) $ac_c" 1>&6 2427 1852 else 2428 1853 case $MAGIC_CMD in … … 2476 1901 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 2477 1902 if test -n "$MAGIC_CMD"; then 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 1903 echo "$ac_t""$MAGIC_CMD" 1>&6 1904 else 1905 echo "$ac_t""no" 1>&6 2483 1906 fi 2484 1907 … … 2492 1915 esac 2493 1916 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. 1917 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2496 1918 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2497 echo "$as_me:$LINENO: checking for $ac_word" >&52498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62499 if test "${ac_cv_prog_RANLIB+set}" = set; then2500 echo $ ECHO_N "(cached) $ECHO_C">&61919 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1920 echo "configure:1921: checking for $ac_word" >&5 1921 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1922 echo $ac_n "(cached) $ac_c" 1>&6 2501 1923 else 2502 1924 if test -n "$RANLIB"; then 2503 1925 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2504 1926 else 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 1927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1928 ac_dummy="$PATH" 1929 for ac_dir in $ac_dummy; do 1930 test -z "$ac_dir" && ac_dir=. 1931 if test -f $ac_dir/$ac_word -o \ 1932 -f $ac_dir/$ac_word$ac_exeext ; then 1933 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 1934 break 1935 fi 1936 done 1937 IFS="$ac_save_ifs" 1938 fi 1939 fi 1940 RANLIB="$ac_cv_prog_RANLIB" 2522 1941 if test -n "$RANLIB"; then 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 1942 echo "$ac_t""$RANLIB" 1>&6 1943 else 1944 echo "$ac_t""no" 1>&6 1945 fi 1946 1947 2531 1948 if test -z "$ac_cv_prog_RANLIB"; then 2532 ac_ct_RANLIB=$RANLIB 1949 if test -n "$ac_tool_prefix"; then 2533 1950 # Extract the first word of "ranlib", so it can be a program name with args. 2534 1951 set dummy ranlib; ac_word=$2 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. 1952 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1953 echo "configure:1954: checking for $ac_word" >&5 1954 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1955 echo $ac_n "(cached) $ac_c" 1>&6 1956 else 1957 if test -n "$RANLIB"; then 1958 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1959 else 1960 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1961 ac_dummy="$PATH" 1962 for ac_dir in $ac_dummy; do 1963 test -z "$ac_dir" && ac_dir=. 1964 if test -f $ac_dir/$ac_word -o \ 1965 -f $ac_dir/$ac_word$ac_exeext ; then 1966 ac_cv_prog_RANLIB="ranlib" 1967 break 1968 fi 1969 done 1970 IFS="$ac_save_ifs" 1971 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" 1972 fi 1973 fi 1974 RANLIB="$ac_cv_prog_RANLIB" 1975 if test -n "$RANLIB"; then 1976 echo "$ac_t""$RANLIB" 1>&6 1977 else 1978 echo "$ac_t""no" 1>&6 1979 fi 1980 1981 else 1982 RANLIB=":" 1983 fi 1984 fi 1985 1986 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2576 1987 set dummy ${ac_tool_prefix}strip; ac_word=$2 2577 echo "$as_me:$LINENO: checking for $ac_word" >&52578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62579 if test "${ac_cv_prog_STRIP+set}" = set; then2580 echo $ ECHO_N "(cached) $ECHO_C">&61988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1989 echo "configure:1990: checking for $ac_word" >&5 1990 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 1991 echo $ac_n "(cached) $ac_c" 1>&6 2581 1992 else 2582 1993 if test -n "$STRIP"; then 2583 1994 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2584 1995 else 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 1996 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 1997 ac_dummy="$PATH" 1998 for ac_dir in $ac_dummy; do 1999 test -z "$ac_dir" && ac_dir=. 2000 if test -f $ac_dir/$ac_word -o \ 2001 -f $ac_dir/$ac_word$ac_exeext ; then 2002 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2003 break 2004 fi 2005 done 2006 IFS="$ac_save_ifs" 2007 fi 2008 fi 2009 STRIP="$ac_cv_prog_STRIP" 2602 2010 if test -n "$STRIP"; then 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 2011 echo "$ac_t""$STRIP" 1>&6 2012 else 2013 echo "$ac_t""no" 1>&6 2014 fi 2015 2016 2611 2017 if test -z "$ac_cv_prog_STRIP"; then 2612 ac_ct_STRIP=$STRIP 2018 if test -n "$ac_tool_prefix"; then 2613 2019 # Extract the first word of "strip", so it can be a program name with args. 2614 2020 set dummy strip; ac_word=$2 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" 2021 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2022 echo "configure:2023: checking for $ac_word" >&5 2023 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then 2024 echo $ac_n "(cached) $ac_c" 1>&6 2025 else 2026 if test -n "$STRIP"; then 2027 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2028 else 2029 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS" 2030 ac_dummy="$PATH" 2031 for ac_dir in $ac_dummy; do 2032 test -z "$ac_dir" && ac_dir=. 2033 if test -f $ac_dir/$ac_word -o \ 2034 -f $ac_dir/$ac_word$ac_exeext ; then 2035 ac_cv_prog_STRIP="strip" 2036 break 2037 fi 2038 done 2039 IFS="$ac_save_ifs" 2040 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" 2041 fi 2042 fi 2043 STRIP="$ac_cv_prog_STRIP" 2044 if test -n "$STRIP"; then 2045 echo "$ac_t""$STRIP" 1>&6 2046 else 2047 echo "$ac_t""no" 1>&6 2048 fi 2049 2050 else 2051 STRIP=":" 2052 fi 2652 2053 fi 2653 2054 … … 2665 2066 if test "${enable_libtool_lock+set}" = set; then 2666 2067 enableval="$enable_libtool_lock" 2667 2668 fi; 2068 : 2069 fi 2070 2669 2071 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 2670 2072 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 2671 2672 2073 2673 2074 # Check whether --with-pic or --without-pic was given. … … 2677 2078 else 2678 2079 pic_mode=default 2679 fi; 2080 fi 2081 2680 2082 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" 2681 2083 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" … … 2686 2088 *-*-irix6*) 2687 2089 # Find out which ABI we are using. 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 2090 echo '#line 2091 "configure"' > conftest.$ac_ext 2091 if { (eval echo configure:2092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2694 2092 if test "$lt_cv_prog_gnu_ld" = yes; then 2695 2093 case `/usr/bin/file conftest.$ac_objext` in … … 2724 2122 # Find out which ABI we are using. 2725 2123 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 2124 if { (eval echo configure:2125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2731 2125 case "`/usr/bin/file conftest.o`" in 2732 2126 *ELF-32*) … … 2745 2139 SAVE_CFLAGS="$CFLAGS" 2746 2140 CFLAGS="$CFLAGS -belf" 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 2141 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 2142 echo "configure:2143: checking whether the C compiler needs -belf" >&5 2143 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 2144 echo $ac_n "(cached) $ac_c" 1>&6 2145 else 2146 2754 2147 ac_ext=c 2148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2755 2149 ac_cpp='$CPP $CPPFLAGS' 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 2150 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2151 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2152 cross_compiling=$ac_cv_prog_cc_cross 2153 2154 cat > conftest.$ac_ext <<EOF 2155 #line 2156 "configure" 2156 #include "confdefs.h" 2157 2158 int main() { 2159 2160 ; return 0; } 2161 EOF 2162 if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2163 rm -rf conftest* 2797 2164 lt_cv_cc_needs_belf=yes 2798 2165 else 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 2166 echo "configure: failed program was:" >&5 2167 cat conftest.$ac_ext >&5 2168 rm -rf conftest* 2169 lt_cv_cc_needs_belf=no 2170 fi 2171 rm -f conftest* 2806 2172 ac_ext=c 2173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2807 2174 ac_cpp='$CPP $CPPFLAGS' 2808 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">&62175 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2176 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2177 cross_compiling=$ac_cv_prog_cc_cross 2178 2179 fi 2180 2181 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 2815 2182 if test x"$lt_cv_cc_needs_belf" != x"yes"; then 2816 2183 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf … … 2824 2191 2825 2192 # Save cache, so that ltconfig can load it 2826 cat > confcache <<\_ACEOF2193 cat > confcache <<\EOF 2827 2194 # This file is a shell script that caches the results of configure 2828 2195 # tests run on this system so they can be shared between configure 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. 2196 # scripts and configure runs. It is not useful on other systems. 2197 # If it contains results you don't want to keep, you may remove or edit it. 2832 2198 # 2833 # config.status only pays attention to the cache file if you give it 2834 # the --recheck option to rerun configure. 2199 # By default, configure uses ./config.cache as the cache file, 2200 # creating it if it does not exist already. You can give configure 2201 # the --cache-file=FILE option to use a different cache file; that is 2202 # what configure does when it calls configure scripts in 2203 # subdirectories, so they share the cache. 2204 # Giving --cache-file=/dev/null disables caching, for debugging configure. 2205 # config.status only pays attention to the cache file if you give it the 2206 # --recheck option to rerun configure. 2835 2207 # 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 2208 EOF 2842 2209 # The following way of writing the cache mishandles newlines in values, 2843 2210 # but we know of no workaround that is simple, portable, and efficient. … … 2845 2212 # Ultrix sh set writes to stderr and can't be redirected directly, 2846 2213 # and sets the high bit in the cache file unless we assign to the vars. 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 2214 (set) 2>&1 | 2215 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2216 *ac_space=\ *) 2217 # `set' does not quote correctly, so add quotes (double-quote substitution 2218 # turns \\\\ into \\, and sed turns \\ into \). 2219 sed -n \ 2220 -e "s/'/'\\\\''/g" \ 2221 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2222 ;; 2223 *) 2224 # `set' quotes correctly as required by POSIX, so do not add quotes. 2225 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2226 ;; 2227 esac >> confcache 2228 if cmp -s $cache_file confcache; then 2229 : 2230 else 2872 2231 if test -w $cache_file; then 2873 test "x$cache_file" != "x/dev/null" &&echo "updating cache $cache_file"2874 cat confcache > $cache_file2232 echo "updating cache $cache_file" 2233 cat confcache > $cache_file 2875 2234 else 2876 2235 echo "not updating unwritable cache $cache_file" … … 2878 2237 fi 2879 2238 rm -f confcache 2239 2880 2240 2881 2241 # Actually configure libtool. ac_aux_dir is where install-sh is found. … … 2888 2248 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ 2889 2249 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ 2890 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5 2891 echo "$as_me: error: libtool configure failed" >&2;} 2892 { (exit 1); exit 1; }; } 2250 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } 2893 2251 2894 2252 # Reload cache, that may have been modified by ltconfig 2895 2253 if test -r "$cache_file"; then 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 2254 echo "loading cache $cache_file" 2255 . $cache_file 2256 else 2257 echo "creating cache $cache_file" 2258 > $cache_file 2910 2259 fi 2911 2260 … … 2921 2270 exec 5>>./config.log 2922 2271 2923 2924 2925 2926 2927 2272 2273 2274 2275 2276 2928 2277 2929 2278 if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then … … 2936 2285 # Find CPP now so that any conditional tests below won't do it and 2937 2286 # thereby make the resulting definitions conditional. 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 2287 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 2288 echo "configure:2289: checking how to run the C preprocessor" >&5 2945 2289 # On Suns, sometimes $CPP names a directory. 2946 2290 if test -n "$CPP" && test -d "$CPP"; then … … 2948 2292 fi 2949 2293 if test -z "$CPP"; then 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. 2294 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 2295 echo $ac_n "(cached) $ac_c" 1>&6 2296 else 2297 # This must be in double quotes, not single quotes, because CPP may get 2298 # substituted into the Makefile and "${CC-cc}" will confuse make. 2299 CPP="${CC-cc} -E" 2963 2300 # On the NeXT, cc -E runs the code through the compiler's parser, 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 2301 # not just through cpp. 2302 cat > conftest.$ac_ext <<EOF 2303 #include <sys/types.h> 2304 #line 2305 "configure" 2305 #include "confdefs.h" 2306 #include <assert.h> 2307 Syntax Error 2308 EOF 2309 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2310 { (eval echo configure:2311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2311 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2312 if test -z "$ac_err"; then 2996 2313 : 2997 2314 else 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 2315 echo "$ac_err" >&5 2316 echo "configure: failed program was:" >&5 2317 cat conftest.$ac_ext >&5 2318 rm -rf conftest* 2319 CPP="${CC-cc} -E -traditional-cpp" 2320 cat > conftest.$ac_ext <<EOF 2321 #include <sys/types.h> 2322 #line 2323 "configure" 2323 #include "confdefs.h" 2324 #include <assert.h> 2325 Syntax Error 2326 EOF 2327 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2328 { (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2329 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2330 if test -z "$ac_err"; then 3103 2331 : 3104 2332 else 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 2333 echo "$ac_err" >&5 2334 echo "configure: failed program was:" >&5 2335 cat conftest.$ac_ext >&5 2336 rm -rf conftest* 2337 CPP="${CC-cc} -nologo -E" 2338 cat > conftest.$ac_ext <<EOF 2339 #include <sys/types.h> 2340 #line 2341 "configure" 2341 #include "confdefs.h" 2342 #include <assert.h> 2343 Syntax Error 2344 EOF 2345 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2346 { (eval echo configure:2347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2348 if test -z "$ac_err"; then 3157 2349 : 3158 2350 else 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 2351 echo "$ac_err" >&5 2352 echo "configure: failed program was:" >&5 2353 cat conftest.$ac_ext >&5 2354 rm -rf conftest* 2355 CPP=/lib/cpp 2356 fi 2357 rm -f conftest* 2358 fi 2359 rm -f conftest* 2360 fi 2361 rm -f conftest* 2362 ac_cv_prog_CPP="$CPP" 2363 fi 2364 CPP="$ac_cv_prog_CPP" 2365 else 2366 ac_cv_prog_CPP="$CPP" 2367 fi 2368 echo "$ac_t""$CPP" 1>&6 3171 2369 3172 2370 … … 3178 2376 # We assume newlib. This lets us hard-code the functions we know 3179 2377 # we'll have. 3180 cat >> confdefs.h <<\_ACEOF2378 cat >> confdefs.h <<\EOF 3181 2379 #define HAVE_MEMCPY 1 3182 _ACEOF3183 3184 cat >> confdefs.h <<\_ACEOF2380 EOF 2381 2382 cat >> confdefs.h <<\EOF 3185 2383 #define HAVE_STRERROR 1 3186 _ACEOF2384 EOF 3187 2385 3188 2386 … … 3190 2388 target_all=libzgcj.la 3191 2389 else 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 2390 for ac_hdr in unistd.h 2391 do 2392 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2393 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2394 echo "configure:2395: checking for $ac_hdr" >&5 2395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2396 echo $ac_n "(cached) $ac_c" 1>&6 2397 else 2398 cat > conftest.$ac_ext <<EOF 2399 #include <sys/types.h> 2400 #line 2401 "configure" 2401 #include "confdefs.h" 2402 #include <$ac_hdr> 2403 EOF 2404 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2405 { (eval echo configure:2406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2406 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2407 if test -z "$ac_err"; then 2408 rm -rf conftest* 2409 eval "ac_cv_header_$ac_safe=yes" 2410 else 2411 echo "$ac_err" >&5 2412 echo "configure: failed program was:" >&5 2413 cat conftest.$ac_ext >&5 2414 rm -rf conftest* 2415 eval "ac_cv_header_$ac_safe=no" 3279 2416 fi 3280 2417 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 3386 do 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 2418 fi 2419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2420 echo "$ac_t""yes" 1>&6 2421 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2422 cat >> confdefs.h <<EOF 2423 #define $ac_tr_hdr 1 2424 EOF 2425 2426 else 2427 echo "$ac_t""no" 1>&6 2428 fi 3443 2429 done 3444 3445 3446 3447 3448 for ac_header in stdlib.h unistd.h3449 do3450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`3451 if eval "test \"\${$as_ac_Header+set}\" = set"; then3452 echo "$as_me:$LINENO: checking for $ac_header" >&53453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&63454 if eval "test \"\${$as_ac_Header+set}\" = set"; then3455 echo $ECHO_N "(cached) $ECHO_C" >&63456 fi3457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&53458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&63459 else3460 # Is the header compilable?3461 echo "$as_me:$LINENO: checking $ac_header usability" >&53462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&63463 cat >conftest.$ac_ext <<_ACEOF3464 /* confdefs.h. */3465 _ACEOF3466 cat confdefs.h >>conftest.$ac_ext3467 cat >>conftest.$ac_ext <<_ACEOF3468 /* end confdefs.h. */3469 $ac_includes_default3470 #include <$ac_header>3471 _ACEOF3472 rm -f conftest.$ac_objext3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&53474 (eval $ac_compile) 2>conftest.er13475 ac_status=$?3476 grep -v '^ *+' conftest.er1 >conftest.err3477 rm -f conftest.er13478 cat conftest.err >&53479 echo "$as_me:$LINENO: \$? = $ac_status" >&53480 (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\"") >&53484 (eval $ac_try) 2>&53485 ac_status=$?3486 echo "$as_me:$LINENO: \$? = $ac_status" >&53487 (exit $ac_status); }; } &&3488 { ac_try='test -s conftest.$ac_objext'3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&53490 (eval $ac_try) 2>&53491 ac_status=$?3492 echo "$as_me:$LINENO: \$? = $ac_status" >&53493 (exit $ac_status); }; }; then3494 ac_header_compiler=yes3495 else3496 echo "$as_me: failed program was:" >&53497 sed 's/^/| /' conftest.$ac_ext >&53498 3499 ac_header_compiler=no3500 fi3501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext3502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&53503 echo "${ECHO_T}$ac_header_compiler" >&63504 3505 # Is the header present?3506 echo "$as_me:$LINENO: checking $ac_header presence" >&53507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&63508 cat >conftest.$ac_ext <<_ACEOF3509 /* confdefs.h. */3510 _ACEOF3511 cat confdefs.h >>conftest.$ac_ext3512 cat >>conftest.$ac_ext <<_ACEOF3513 /* end confdefs.h. */3514 #include <$ac_header>3515 _ACEOF3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&53517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er13518 ac_status=$?3519 grep -v '^ *+' conftest.er1 >conftest.err3520 rm -f conftest.er13521 cat conftest.err >&53522 echo "$as_me:$LINENO: \$? = $ac_status" >&53523 (exit $ac_status); } >/dev/null; then3524 if test -s conftest.err; then3525 ac_cpp_err=$ac_c_preproc_warn_flag3526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag3527 else3528 ac_cpp_err=3529 fi3530 else3531 ac_cpp_err=yes3532 fi3533 if test -z "$ac_cpp_err"; then3534 ac_header_preproc=yes3535 else3536 echo "$as_me: failed program was:" >&53537 sed 's/^/| /' conftest.$ac_ext >&53538 3539 ac_header_preproc=no3540 fi3541 rm -f conftest.err conftest.$ac_ext3542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&53543 echo "${ECHO_T}$ac_header_preproc" >&63544 3545 # So? What about this header?3546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in3547 yes:no: )3548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&53549 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" >&53551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}3552 ac_header_preproc=yes3553 ;;3554 no:yes:* )3555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&53556 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?" >&53558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}3559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&53560 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\"" >&53562 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" >&53564 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" >&53566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}3567 (3568 cat <<\_ASBOX3569 ## ------------------------------------------ ##3570 ## Report this to the AC_PACKAGE_NAME lists. ##3571 ## ------------------------------------------ ##3572 _ASBOX3573 ) |3574 sed "s/^/$as_me: WARNING: /" >&23575 ;;3576 esac3577 echo "$as_me:$LINENO: checking for $ac_header" >&53578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&63579 if eval "test \"\${$as_ac_Header+set}\" = set"; then3580 echo $ECHO_N "(cached) $ECHO_C" >&63581 else3582 eval "$as_ac_Header=\$ac_header_preproc"3583 fi3584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&53585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&63586 3587 fi3588 if test `eval echo '${'$as_ac_Header'}'` = yes; then3589 cat >>confdefs.h <<_ACEOF3590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 13591 _ACEOF3592 3593 fi3594 3595 done3596 3597 2430 3598 2431 for ac_func in getpagesize 3599 2432 do 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 2433 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2434 echo "configure:2435: checking for $ac_func" >&5 2435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2436 echo $ac_n "(cached) $ac_c" 1>&6 2437 else 2438 cat > conftest.$ac_ext <<EOF 2439 #line 2440 "configure" 2440 #include "confdefs.h" 3616 2441 /* System header to define __stub macros and hopefully few prototypes, 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 2442 which can conflict with char $ac_func(); below. */ 2443 #include <assert.h> 3629 2444 /* Override any gcc2 internal prototype to avoid an error. */ 3630 #ifdef __cplusplus3631 extern "C"3632 {3633 #endif3634 2445 /* We use char because int might match the return type of a gcc2 3635 builtin and then its argument prototype would still apply. */ 3636 char $ac_func (); 2446 builtin and then its argument prototype would still apply. */ 2447 char $ac_func(); 2448 2449 int main() { 2450 3637 2451 /* The GNU C library defines this for functions which it implements 3638 2452 to always fail with ENOSYS. Some functions are actually named … … 3641 2455 choke me 3642 2456 #else 3643 char (*f) () = $ac_func;2457 $ac_func(); 3644 2458 #endif 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 2459 2460 ; return 0; } 2461 EOF 2462 if { (eval echo configure:2463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2463 rm -rf conftest* 2464 eval "ac_cv_func_$ac_func=yes" 2465 else 2466 echo "configure: failed program was:" >&5 2467 cat conftest.$ac_ext >&5 2468 rm -rf conftest* 2469 eval "ac_cv_func_$ac_func=no" 2470 fi 2471 rm -f conftest* 2472 fi 2473 2474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2475 echo "$ac_t""yes" 1>&6 2476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2477 cat >> confdefs.h <<EOF 2478 #define $ac_tr_func 1 2479 EOF 2480 2481 else 2482 echo "$ac_t""no" 1>&6 3696 2483 fi 3697 2484 done 3698 2485 3699 echo "$as_me:$LINENO: checking for working mmap" >&53700 echo $ECHO_N "checking for working mmap... $ECHO_C" >&63701 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then3702 echo $ ECHO_N "(cached) $ECHO_C">&62486 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2487 echo "configure:2488: checking for working mmap" >&5 2488 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2489 echo $ac_n "(cached) $ac_c" 1>&6 3703 2490 else 3704 2491 if test "$cross_compiling" = yes; then 3705 2492 ac_cv_func_mmap_fixed_mapped=no 3706 2493 else 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 2494 cat > conftest.$ac_ext <<EOF 2495 #line 2496 "configure" 2496 #include "confdefs.h" 3716 2497 3717 2498 /* Thanks to Mike Haertel and Jim Avera for this test. … … 3727 2508 address. (There have been systems where private was not correctly 3728 2509 implemented like the infamous i386 svr4.0, and systems where the 3729 VM page cache was not coherent with the file 2510 VM page cache was not coherent with the filesystem buffer cache 3730 2511 like early versions of FreeBSD and possibly contemporary NetBSD.) 3731 2512 For shared mappings, we should conversely verify that changes get 3732 prop agated back to all the places they're supposed to be.2513 propogated back to all the places they're supposed to be. 3733 2514 3734 2515 Grep wants private fixed already mapped. … … 3736 2517 * does it exist and is it safe to write into the mmap'd area 3737 2518 * how to use it (BSD variants) */ 3738 2519 #include <sys/types.h> 3739 2520 #include <fcntl.h> 3740 2521 #include <sys/mman.h> 3741 2522 3742 #if !STDC_HEADERS && !HAVE_STDLIB_H3743 char *malloc ();3744 #endif3745 3746 2523 /* This mess was copied from the GNU getpagesize.h. */ 3747 #if !HAVE_GETPAGESIZE 2524 #ifndef HAVE_GETPAGESIZE 2525 # ifdef HAVE_UNISTD_H 2526 # include <unistd.h> 2527 # endif 2528 3748 2529 /* Assume that all systems that can run configure have sys/param.h. */ 3749 # if !HAVE_SYS_PARAM_H2530 # ifndef HAVE_SYS_PARAM_H 3750 2531 # define HAVE_SYS_PARAM_H 1 3751 2532 # endif … … 3754 2535 # define getpagesize() sysconf(_SC_PAGESIZE) 3755 2536 # else /* no _SC_PAGESIZE */ 3756 # if HAVE_SYS_PARAM_H2537 # ifdef HAVE_SYS_PARAM_H 3757 2538 # include <sys/param.h> 3758 2539 # ifdef EXEC_PAGESIZE … … 3781 2562 #endif /* no HAVE_GETPAGESIZE */ 3782 2563 2564 #ifdef __cplusplus 2565 extern "C" { void *malloc(unsigned); } 2566 #else 2567 char *malloc(); 2568 #endif 2569 3783 2570 int 3784 main 2571 main() 3785 2572 { 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); 2573 char *data, *data2, *data3; 2574 int i, pagesize; 2575 int fd; 2576 2577 pagesize = getpagesize(); 2578 2579 /* 2580 * First, make a file with some known garbage in it. 2581 */ 2582 data = malloc(pagesize); 2583 if (!data) 2584 exit(1); 2585 for (i = 0; i < pagesize; ++i) 2586 *(data + i) = rand(); 2587 umask(0); 2588 fd = creat("conftestmmap", 0600); 2589 if (fd < 0) 2590 exit(1); 2591 if (write(fd, data, pagesize) != pagesize) 2592 exit(1); 2593 close(fd); 2594 2595 /* 2596 * Next, try to mmap the file at a fixed address which 2597 * already has something else allocated at it. If we can, 2598 * also make sure that we see the same garbage. 2599 */ 2600 fd = open("conftestmmap", O_RDWR); 2601 if (fd < 0) 2602 exit(1); 2603 data2 = malloc(2 * pagesize); 2604 if (!data2) 2605 exit(1); 2606 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 2607 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 2608 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 2609 exit(1); 2610 for (i = 0; i < pagesize; ++i) 2611 if (*(data + i) != *(data2 + i)) 2612 exit(1); 2613 2614 /* 2615 * Finally, make sure that changes to the mapped area 2616 * do not percolate back to the file as seen by read(). 2617 * (This is a bug on some variants of i386 svr4.0.) 2618 */ 2619 for (i = 0; i < pagesize; ++i) 2620 *(data2 + i) = *(data2 + i) + 1; 2621 data3 = malloc(pagesize); 2622 if (!data3) 2623 exit(1); 2624 if (read(fd, data3, pagesize) != pagesize) 2625 exit(1); 2626 for (i = 0; i < pagesize; ++i) 2627 if (*(data + i) != *(data3 + i)) 2628 exit(1); 2629 close(fd); 2630 unlink("conftestmmap"); 2631 exit(0); 3838 2632 } 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 2633 2634 EOF 2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2636 then 3851 2637 ac_cv_func_mmap_fixed_mapped=yes 3852 2638 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 2639 echo "configure: failed program was:" >&5 2640 cat conftest.$ac_ext >&5 2641 rm -fr conftest* 2642 ac_cv_func_mmap_fixed_mapped=no 2643 fi 2644 rm -fr conftest* 2645 fi 2646 2647 fi 2648 2649 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6 3865 2650 if test $ac_cv_func_mmap_fixed_mapped = yes; then 3866 3867 cat >>confdefs.h <<\_ACEOF 2651 cat >> confdefs.h <<\EOF 3868 2652 #define HAVE_MMAP 1 3869 _ACEOF 3870 3871 fi 3872 rm -f conftest.mmap 3873 3874 3875 3876 for ac_func in memcpy strerror 2653 EOF 2654 2655 fi 2656 2657 for ac_func in memcpy strerror 3877 2658 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 2659 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2660 echo "configure:2661: checking for $ac_func" >&5 2661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2662 echo $ac_n "(cached) $ac_c" 1>&6 2663 else 2664 cat > conftest.$ac_ext <<EOF 2665 #line 2666 "configure" 2666 #include "confdefs.h" 3894 2667 /* 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 2668 which can conflict with char $ac_func(); below. */ 2669 #include <assert.h> 3907 2670 /* Override any gcc2 internal prototype to avoid an error. */ 3908 #ifdef __cplusplus3909 extern "C"3910 {3911 #endif3912 2671 /* We use char because int might match the return type of a gcc2 3913 builtin and then its argument prototype would still apply. */ 3914 char $ac_func (); 2672 builtin and then its argument prototype would still apply. */ 2673 char $ac_func(); 2674 2675 int main() { 2676 3915 2677 /* The GNU C library defines this for functions which it implements 3916 2678 to always fail with ENOSYS. Some functions are actually named … … 3919 2681 choke me 3920 2682 #else 3921 char (*f) () = $ac_func;2683 $ac_func(); 3922 2684 #endif 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 2685 2686 ; return 0; } 2687 EOF 2688 if { (eval echo configure:2689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2689 rm -rf conftest* 2690 eval "ac_cv_func_$ac_func=yes" 2691 else 2692 echo "configure: failed program was:" >&5 2693 cat conftest.$ac_ext >&5 2694 rm -rf conftest* 2695 eval "ac_cv_func_$ac_func=no" 2696 fi 2697 rm -f conftest* 2698 fi 2699 2700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then 2701 echo "$ac_t""yes" 1>&6 2702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` 2703 cat >> confdefs.h <<EOF 2704 #define $ac_tr_func 1 2705 EOF 2706 2707 else 2708 echo "$ac_t""no" 1>&6 3974 2709 fi 3975 2710 done … … 3977 2712 3978 2713 if test "$with_system_zlib" = yes; then 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 2714 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 2715 echo "configure:2716: checking for deflate in -lz" >&5 2716 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 2717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2718 echo $ac_n "(cached) $ac_c" 1>&6 2719 else 2720 ac_save_LIBS="$LIBS" 2721 LIBS="-lz $LIBS" 2722 cat > conftest.$ac_ext <<EOF 2723 #line 2724 "configure" 2724 #include "confdefs.h" 4007 2725 /* Override any gcc2 internal prototype to avoid an error. */ 4008 #ifdef __cplusplus4009 extern "C"4010 {4011 #endif4012 2726 /* 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 4076 LIBS="-lz $LIBS" 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 4087 /* Override any gcc2 internal prototype to avoid an error. */ 4088 #ifdef __cplusplus 4089 extern "C" 4090 #endif 4091 /* We use char because int might match the return type of a gcc2 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 2727 builtin and then its argument prototype would still apply. */ 2728 char deflate(); 2729 2730 int main() { 2731 deflate() 2732 ; return 0; } 2733 EOF 2734 if { (eval echo configure:2735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2735 rm -rf conftest* 2736 eval "ac_cv_lib_$ac_lib_var=yes" 2737 else 2738 echo "configure: failed program was:" >&5 2739 cat conftest.$ac_ext >&5 2740 rm -rf conftest* 2741 eval "ac_cv_lib_$ac_lib_var=no" 2742 fi 2743 rm -f conftest* 2744 LIBS="$ac_save_LIBS" 2745 2746 fi 2747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 2748 echo "$ac_t""yes" 1>&6 4139 2749 target_all= 4140 2750 else 4141 target_all=libzgcj.la 2751 echo "$ac_t""no" 1>&6 2752 target_all=libzgcj.la 4142 2753 fi 4143 2754 … … 4149 2760 4150 2761 4151 4152 for ac_header in unistd.h 2762 for ac_hdr in unistd.h 4153 2763 do 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 2764 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2765 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2766 echo "configure:2767: checking for $ac_hdr" >&5 2767 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2768 echo $ac_n "(cached) $ac_c" 1>&6 2769 else 2770 cat > conftest.$ac_ext <<EOF 2771 #include <sys/types.h> 2772 #line 2773 "configure" 2773 #include "confdefs.h" 2774 #include <$ac_hdr> 2775 EOF 2776 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2777 { (eval echo configure:2778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2778 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2779 if test -z "$ac_err"; then 2780 rm -rf conftest* 2781 eval "ac_cv_header_$ac_safe=yes" 2782 else 2783 echo "$ac_err" >&5 2784 echo "configure: failed program was:" >&5 2785 cat conftest.$ac_ext >&5 2786 rm -rf conftest* 2787 eval "ac_cv_header_$ac_safe=no" 2788 fi 2789 rm -f conftest* 2790 fi 2791 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2792 echo "$ac_t""yes" 1>&6 2793 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2794 cat >> confdefs.h <<EOF 2795 #define $ac_tr_hdr 1 2796 EOF 2797 2798 else 2799 echo "$ac_t""no" 1>&6 2800 fi 4299 2801 done 4300 2802 … … 4328 2830 fi 4329 2831 4330 ac_config_files="$ac_config_files Makefile" 4331 ac_config_commands="$ac_config_commands default" 4332 cat >confcache <<\_ACEOF 2832 trap '' 1 2 15 2833 cat > confcache <<\EOF 4333 2834 # This file is a shell script that caches the results of configure 4334 2835 # tests run on this system so they can be shared between configure 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. 2836 # scripts and configure runs. It is not useful on other systems. 2837 # If it contains results you don't want to keep, you may remove or edit it. 4338 2838 # 4339 # config.status only pays attention to the cache file if you give it 4340 # the --recheck option to rerun configure. 2839 # By default, configure uses ./config.cache as the cache file, 2840 # creating it if it does not exist already. You can give configure 2841 # the --cache-file=FILE option to use a different cache file; that is 2842 # what configure does when it calls configure scripts in 2843 # subdirectories, so they share the cache. 2844 # Giving --cache-file=/dev/null disables caching, for debugging configure. 2845 # config.status only pays attention to the cache file if you give it the 2846 # --recheck option to rerun configure. 4341 2847 # 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 2848 EOF 4348 2849 # The following way of writing the cache mishandles newlines in values, 4349 2850 # but we know of no workaround that is simple, portable, and efficient. … … 4351 2852 # Ultrix sh set writes to stderr and can't be redirected directly, 4352 2853 # and sets the high bit in the cache file unless we assign to the vars. 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 2854 (set) 2>&1 | 2855 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2856 *ac_space=\ *) 2857 # `set' does not quote correctly, so add quotes (double-quote substitution 2858 # turns \\\\ into \\, and sed turns \\ into \). 2859 sed -n \ 2860 -e "s/'/'\\\\''/g" \ 2861 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 2862 ;; 2863 *) 2864 # `set' quotes correctly as required by POSIX, so do not add quotes. 2865 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 2866 ;; 2867 esac >> confcache 2868 if cmp -s $cache_file confcache; then 2869 : 2870 else 4378 2871 if test -w $cache_file; then 4379 test "x$cache_file" != "x/dev/null" &&echo "updating cache $cache_file"4380 cat confcache > $cache_file2872 echo "updating cache $cache_file" 2873 cat confcache > $cache_file 4381 2874 else 4382 2875 echo "not updating unwritable cache $cache_file" … … 4385 2878 rm -f confcache 4386 2879 2880 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 2881 4387 2882 test "x$prefix" = xNONE && prefix=$ac_default_prefix 4388 2883 # Let make expand exec_prefix. 4389 2884 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4390 2885 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). 2886 # Any assignment to VPATH causes Sun make to only execute 2887 # the first set of double-colon rules, so remove it if not needed. 2888 # If there is a colon in the path, we need to keep it. 4395 2889 if test "x$srcdir" = x.; then 4396 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 4397 s/:*\$(srcdir):*/:/; 4398 s/:*\${srcdir}:*/:/; 4399 s/:*@srcdir@:*/:/; 4400 s/^\([^=]*=[ ]*\):*/\1/; 4401 s/:*$//; 4402 s/^[^=]*=[ ]*$//; 4403 }' 4404 fi 2890 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 2891 fi 2892 2893 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 4405 2894 4406 2895 # Transform confdefs.h into DEFS. 4407 2896 # Protect against shell expansion while executing Makefile rules. 4408 2897 # Protect against Makefile macro expansion. 2898 cat > conftest.defs <<\EOF 2899 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 2900 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 2901 s%\[%\\&%g 2902 s%\]%\\&%g 2903 s%\$%$$%g 2904 EOF 2905 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' ' '` 2906 rm -f conftest.defs 2907 2908 2909 # Without the "./", some shells look in PATH for config.status. 2910 : ${CONFIG_STATUS=./config.status} 2911 2912 echo creating $CONFIG_STATUS 2913 rm -f $CONFIG_STATUS 2914 cat > $CONFIG_STATUS <<EOF 2915 #! /bin/sh 2916 # Generated automatically by configure. 2917 # Run this file to recreate the current configuration. 2918 # This directory was configured as follows, 2919 EOF 2920 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS 2921 cat >> $CONFIG_STATUS <<EOF 2922 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 4409 2923 # 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' 2924 # $0 $ac_configure_args 2925 # 2926 # Compiler output produced by configure, useful for debugging 2927 # configure, is in ./config.log if it exists. 2928 2929 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 2930 for ac_option 2931 do 2932 case "\$ac_option" in 2933 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2934 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 2935 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 2936 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 2937 echo "$CONFIG_STATUS generated by autoconf version 2.13" 2938 exit 0 ;; 2939 -help | --help | --hel | --he | --h) 2940 echo "\$ac_cs_usage"; exit 0 ;; 2941 *) echo "\$ac_cs_usage"; exit 1 ;; 2942 esac 4448 2943 done 4449 LIBOBJS=$ac_libobjs 4450 4451 LTLIBOBJS=$ac_ltlibobjs 4452 4453 4454 4455 : ${CONFIG_STATUS=./config.status} 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. 4463 # Run this file to recreate the current configuration. 4464 # Compiler output produced by configure, useful for debugging 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 4509 do 4510 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 4511 eval $as_var=C; export $as_var 2944 2945 ac_given_srcdir=$srcdir 2946 ac_given_INSTALL="$INSTALL" 2947 PATHIFS="$PATH_IFS" 2948 2949 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 2950 EOF 2951 cat >> $CONFIG_STATUS <<EOF 2952 2953 # Protect against being on the right side of a sed subst in config.status. 2954 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 2955 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 2956 $ac_vpsub 2957 $extrasub 2958 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g 2959 s%@SHELL@%$SHELL%g 2960 s%@CFLAGS@%$CFLAGS%g 2961 s%@CPPFLAGS@%$CPPFLAGS%g 2962 s%@CXXFLAGS@%$CXXFLAGS%g 2963 s%@FFLAGS@%$FFLAGS%g 2964 s%@DEFS@%$DEFS%g 2965 s%@LDFLAGS@%$LDFLAGS%g 2966 s%@LIBS@%$LIBS%g 2967 s%@exec_prefix@%$exec_prefix%g 2968 s%@prefix@%$prefix%g 2969 s%@program_transform_name@%$program_transform_name%g 2970 s%@bindir@%$bindir%g 2971 s%@sbindir@%$sbindir%g 2972 s%@libexecdir@%$libexecdir%g 2973 s%@datadir@%$datadir%g 2974 s%@sysconfdir@%$sysconfdir%g 2975 s%@sharedstatedir@%$sharedstatedir%g 2976 s%@localstatedir@%$localstatedir%g 2977 s%@libdir@%$libdir%g 2978 s%@includedir@%$includedir%g 2979 s%@oldincludedir@%$oldincludedir%g 2980 s%@infodir@%$infodir%g 2981 s%@mandir@%$mandir%g 2982 s%@PATH_IFS@%$PATH_IFS%g 2983 s%@EXEEXT@%$EXEEXT%g 2984 s%@zlib_basedir@%$zlib_basedir%g 2985 s%@host@%$host%g 2986 s%@host_alias@%$host_alias%g 2987 s%@host_cpu@%$host_cpu%g 2988 s%@host_vendor@%$host_vendor%g 2989 s%@host_os@%$host_os%g 2990 s%@target@%$target%g 2991 s%@target_alias@%$target_alias%g 2992 s%@target_cpu@%$target_cpu%g 2993 s%@target_vendor@%$target_vendor%g 2994 s%@target_os@%$target_os%g 2995 s%@build@%$build%g 2996 s%@build_alias@%$build_alias%g 2997 s%@build_cpu@%$build_cpu%g 2998 s%@build_vendor@%$build_vendor%g 2999 s%@build_os@%$build_os%g 3000 s%@mkinstalldirs@%$mkinstalldirs%g 3001 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 3002 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 3003 s%@INSTALL_DATA@%$INSTALL_DATA%g 3004 s%@PACKAGE@%$PACKAGE%g 3005 s%@VERSION@%$VERSION%g 3006 s%@ACLOCAL@%$ACLOCAL%g 3007 s%@AUTOCONF@%$AUTOCONF%g 3008 s%@AUTOMAKE@%$AUTOMAKE%g 3009 s%@AUTOHEADER@%$AUTOHEADER%g 3010 s%@MAKEINFO@%$MAKEINFO%g 3011 s%@SET_MAKE@%$SET_MAKE%g 3012 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g 3013 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g 3014 s%@MAINT@%$MAINT%g 3015 s%@CC@%$CC%g 3016 s%@LN_S@%$LN_S%g 3017 s%@OBJEXT@%$OBJEXT%g 3018 s%@RANLIB@%$RANLIB%g 3019 s%@STRIP@%$STRIP%g 3020 s%@LIBTOOL@%$LIBTOOL%g 3021 s%@COMPPATH@%$COMPPATH%g 3022 s%@CPP@%$CPP%g 3023 s%@target_all@%$target_all%g 3024 s%@toolexecdir@%$toolexecdir%g 3025 s%@toolexeclibdir@%$toolexeclibdir%g 3026 s%@TARGET_LIBRARY_TRUE@%$TARGET_LIBRARY_TRUE%g 3027 s%@TARGET_LIBRARY_FALSE@%$TARGET_LIBRARY_FALSE%g 3028 3029 CEOF 3030 EOF 3031 3032 cat >> $CONFIG_STATUS <<\EOF 3033 3034 # Split the substitutions into bite-sized pieces for seds with 3035 # small command number limits, like on Digital OSF/1 and HP-UX. 3036 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 3037 ac_file=1 # Number of current file. 3038 ac_beg=1 # First line for current file. 3039 ac_end=$ac_max_sed_cmds # Line after last line for current file. 3040 ac_more_lines=: 3041 ac_sed_cmds="" 3042 while $ac_more_lines; do 3043 if test $ac_beg -gt 1; then 3044 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 4512 3045 else 4513 $as_unset $as_var 3046 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 3047 fi 3048 if test ! -s conftest.s$ac_file; then 3049 ac_more_lines=false 3050 rm -f conftest.s$ac_file 3051 else 3052 if test -z "$ac_sed_cmds"; then 3053 ac_sed_cmds="sed -f conftest.s$ac_file" 3054 else 3055 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 3056 fi 3057 ac_file=`expr $ac_file + 1` 3058 ac_beg=$ac_end 3059 ac_end=`expr $ac_end + $ac_max_sed_cmds` 4514 3060 fi 4515 3061 done 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=';' 3062 if test -z "$ac_sed_cmds"; then 3063 ac_sed_cmds=cat 3064 fi 3065 EOF 3066 3067 cat >> $CONFIG_STATUS <<EOF 3068 3069 CONFIG_FILES=\${CONFIG_FILES-"Makefile"} 3070 EOF 3071 cat >> $CONFIG_STATUS <<\EOF 3072 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 3073 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 3074 case "$ac_file" in 3075 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 3076 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3077 *) ac_file_in="${ac_file}.in" ;; 3078 esac 3079 3080 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 3081 3082 # Remove last slash and all that follows it. Not all systems have dirname. 3083 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 3084 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3085 # The file is in a subdirectory. 3086 test ! -d "$ac_dir" && mkdir "$ac_dir" 3087 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 3088 # A "../" for each directory in $ac_dir_suffix. 3089 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 4559 3090 else 4560 PATH_SEPARATOR=:3091 ac_dir_suffix= ac_dots= 4561 3092 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 ;; 3093 3094 case "$ac_given_srcdir" in 3095 .) srcdir=. 3096 if test -z "$ac_dots"; then top_srcdir=. 3097 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 3098 [/\\]* | [a-zA-Z]:*) 3099 srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3100 *) # Relative path. 3101 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 3102 top_srcdir="$ac_dots$ac_given_srcdir" ;; 4584 3103 esac 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 ;; 3104 3105 case "$ac_given_INSTALL" in 3106 [/$\\]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;; 3107 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 4621 3108 esac 4622 3109 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' 4676 else 4677 as_ln_s='ln -s' 4678 fi 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;; 3110 echo creating "$ac_file" 3111 rm -f "$ac_file" 3112 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 3113 case "$ac_file" in 3114 *Makefile*) ac_comsub="1i\\ 3115 # $configure_input" ;; 3116 *) ac_comsub= ;; 4815 3117 esac 4816 3118 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 4857 esac 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 3119 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"` 3120 sed -e "$ac_comsub 3121 s%@configure_input@%$configure_input%g 3122 s%@srcdir@%$srcdir%g 3123 s%@top_srcdir@%$top_srcdir%g 3124 s%@INSTALL@%$INSTALL%g 3125 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 3126 fi; done 3127 rm -f conftest.s* 3128 3129 EOF 3130 cat >> $CONFIG_STATUS <<EOF 4882 3131 srcdir=${srcdir} 4883 3132 host=${host} … … 4890 3139 CXX="${CXX}" 4891 3140 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 3141 EOF 3142 cat >> $CONFIG_STATUS <<\EOF 3143 if test -n "$CONFIG_FILES"; then 5387 3144 LD="${ORIGINAL_LD_FOR_MULTILIBS}" 5388 3145 ac_file=Makefile . ${zlib_basedir}/../config-ml.in 5389 fi ;; 5390 esac 5391 done 5392 _ACEOF 5393 5394 cat >>$CONFIG_STATUS <<\_ACEOF 5395 5396 { (exit 0); exit 0; } 5397 _ACEOF 3146 fi 3147 exit 0 3148 EOF 5398 3149 chmod +x $CONFIG_STATUS 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 3150 rm -fr confdefs* $ac_clean_files 3151 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 3152 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.