| 1 | #! /bin/sh
 | 
|---|
| 2 | 
 | 
|---|
| 3 | # Guess values for system-dependent variables and create Makefiles.
 | 
|---|
| 4 | # Generated automatically using autoconf version 2.13 
 | 
|---|
| 5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
 | 
|---|
| 6 | #
 | 
|---|
| 7 | # This configure script is free software; the Free Software Foundation
 | 
|---|
| 8 | # gives unlimited permission to copy, distribute and modify it.
 | 
|---|
| 9 | 
 | 
|---|
| 10 | # Defaults:
 | 
|---|
| 11 | ac_help=
 | 
|---|
| 12 | ac_default_prefix=/usr/local
 | 
|---|
| 13 | # Any additions from configure.in:
 | 
|---|
| 14 | ac_help="$ac_help
 | 
|---|
| 15 |   --enable-maintainer-mode enable make rules and dependencies not useful
 | 
|---|
| 16 |                           (and sometimes confusing) to the casual installer"
 | 
|---|
| 17 | ac_help="$ac_help
 | 
|---|
| 18 |   --with-target-subdir=SUBDIR
 | 
|---|
| 19 |                           configuring in a subdirectory"
 | 
|---|
| 20 | ac_help="$ac_help
 | 
|---|
| 21 |   --with-cross-host=HOST  configuring with a cross compiler"
 | 
|---|
| 22 | ac_help="$ac_help
 | 
|---|
| 23 |   --enable-multilib       build many library versions (default)"
 | 
|---|
| 24 | ac_help="$ac_help
 | 
|---|
| 25 |   --with-system-zlib      use installed libz"
 | 
|---|
| 26 | ac_help="$ac_help
 | 
|---|
| 27 |   --enable-shared[=PKGS]  build shared libraries [default=yes]"
 | 
|---|
| 28 | ac_help="$ac_help
 | 
|---|
| 29 |   --enable-static[=PKGS]  build static libraries [default=yes]"
 | 
|---|
| 30 | ac_help="$ac_help
 | 
|---|
| 31 |   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
 | 
|---|
| 32 | ac_help="$ac_help
 | 
|---|
| 33 |   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
 | 
|---|
| 34 | ac_help="$ac_help
 | 
|---|
| 35 |   --disable-libtool-lock  avoid locking (might break parallel builds)"
 | 
|---|
| 36 | ac_help="$ac_help
 | 
|---|
| 37 |   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
 | 
|---|
| 38 | 
 | 
|---|
| 39 | # Initialize some variables set by options.
 | 
|---|
| 40 | # The variables have the same names as the options, with
 | 
|---|
| 41 | # dashes changed to underlines.
 | 
|---|
| 42 | build=NONE
 | 
|---|
| 43 | cache_file=./config.cache
 | 
|---|
| 44 | exec_prefix=NONE
 | 
|---|
| 45 | host=NONE
 | 
|---|
| 46 | no_create=
 | 
|---|
| 47 | nonopt=NONE
 | 
|---|
| 48 | no_recursion=
 | 
|---|
| 49 | prefix=NONE
 | 
|---|
| 50 | program_prefix=NONE
 | 
|---|
| 51 | program_suffix=NONE
 | 
|---|
| 52 | program_transform_name=s,x,x,
 | 
|---|
| 53 | silent=
 | 
|---|
| 54 | site=
 | 
|---|
| 55 | srcdir=
 | 
|---|
| 56 | target=NONE
 | 
|---|
| 57 | verbose=
 | 
|---|
| 58 | x_includes=NONE
 | 
|---|
| 59 | x_libraries=NONE
 | 
|---|
| 60 | bindir='${exec_prefix}/bin'
 | 
|---|
| 61 | sbindir='${exec_prefix}/sbin'
 | 
|---|
| 62 | libexecdir='${exec_prefix}/libexec'
 | 
|---|
| 63 | datadir='${prefix}/share'
 | 
|---|
| 64 | sysconfdir='${prefix}/etc'
 | 
|---|
| 65 | sharedstatedir='${prefix}/com'
 | 
|---|
| 66 | localstatedir='${prefix}/var'
 | 
|---|
| 67 | libdir='${exec_prefix}/lib'
 | 
|---|
| 68 | includedir='${prefix}/include'
 | 
|---|
| 69 | oldincludedir='/usr/include'
 | 
|---|
| 70 | infodir='${prefix}/info'
 | 
|---|
| 71 | mandir='${prefix}/man'
 | 
|---|
| 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 | 
 | 
|---|
| 80 | ac_prev=
 | 
|---|
| 81 | for ac_option
 | 
|---|
| 82 | do
 | 
|---|
| 83 | 
 | 
|---|
| 84 |   # If the previous option needs an argument, assign it.
 | 
|---|
| 85 |   if test -n "$ac_prev"; then
 | 
|---|
| 86 |     eval "$ac_prev=\$ac_option"
 | 
|---|
| 87 |     ac_prev=
 | 
|---|
| 88 |     continue
 | 
|---|
| 89 |   fi
 | 
|---|
| 90 | 
 | 
|---|
| 91 |   case "$ac_option" in
 | 
|---|
| 92 |   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
 | 
|---|
| 93 |   *) ac_optarg= ;;
 | 
|---|
| 94 |   esac
 | 
|---|
| 95 | 
 | 
|---|
| 96 |   # Accept the important Cygnus configure options, so we can diagnose typos.
 | 
|---|
| 97 | 
 | 
|---|
| 98 |   case "$ac_option" in
 | 
|---|
| 99 | 
 | 
|---|
| 100 |   -bindir | --bindir | --bindi | --bind | --bin | --bi)
 | 
|---|
| 101 |     ac_prev=bindir ;;
 | 
|---|
| 102 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 | 
|---|
| 103 |     bindir="$ac_optarg" ;;
 | 
|---|
| 104 | 
 | 
|---|
| 105 |   -build | --build | --buil | --bui | --bu)
 | 
|---|
| 106 |     ac_prev=build ;;
 | 
|---|
| 107 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 | 
|---|
| 108 |     build="$ac_optarg" ;;
 | 
|---|
| 109 | 
 | 
|---|
| 110 |   -cache-file | --cache-file | --cache-fil | --cache-fi \
 | 
|---|
| 111 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 | 
|---|
| 112 |     ac_prev=cache_file ;;
 | 
|---|
| 113 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 | 
|---|
| 114 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 | 
|---|
| 115 |     cache_file="$ac_optarg" ;;
 | 
|---|
| 116 | 
 | 
|---|
| 117 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
 | 
|---|
| 118 |     ac_prev=datadir ;;
 | 
|---|
| 119 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
 | 
|---|
| 120 |   | --da=*)
 | 
|---|
| 121 |     datadir="$ac_optarg" ;;
 | 
|---|
| 122 | 
 | 
|---|
| 123 |   -disable-* | --disable-*)
 | 
|---|
| 124 |     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
 | 
|---|
| 125 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 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" ;;
 | 
|---|
| 131 | 
 | 
|---|
| 132 |   -enable-* | --enable-*)
 | 
|---|
| 133 |     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
 | 
|---|
| 134 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 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 |       *=*) ;;
 | 
|---|
| 141 |       *) ac_optarg=yes ;;
 | 
|---|
| 142 |     esac
 | 
|---|
| 143 |     eval "enable_${ac_feature}='$ac_optarg'" ;;
 | 
|---|
| 144 | 
 | 
|---|
| 145 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 | 
|---|
| 146 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 | 
|---|
| 147 |   | --exec | --exe | --ex)
 | 
|---|
| 148 |     ac_prev=exec_prefix ;;
 | 
|---|
| 149 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 | 
|---|
| 150 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 | 
|---|
| 151 |   | --exec=* | --exe=* | --ex=*)
 | 
|---|
| 152 |     exec_prefix="$ac_optarg" ;;
 | 
|---|
| 153 | 
 | 
|---|
| 154 |   -gas | --gas | --ga | --g)
 | 
|---|
| 155 |     # Obsolete; use --with-gas.
 | 
|---|
| 156 |     with_gas=yes ;;
 | 
|---|
| 157 | 
 | 
|---|
| 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 ;;
 | 
|---|
| 212 | 
 | 
|---|
| 213 |   -host | --host | --hos | --ho)
 | 
|---|
| 214 |     ac_prev=host ;;
 | 
|---|
| 215 |   -host=* | --host=* | --hos=* | --ho=*)
 | 
|---|
| 216 |     host="$ac_optarg" ;;
 | 
|---|
| 217 | 
 | 
|---|
| 218 |   -includedir | --includedir | --includedi | --included | --include \
 | 
|---|
| 219 |   | --includ | --inclu | --incl | --inc)
 | 
|---|
| 220 |     ac_prev=includedir ;;
 | 
|---|
| 221 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 | 
|---|
| 222 |   | --includ=* | --inclu=* | --incl=* | --inc=*)
 | 
|---|
| 223 |     includedir="$ac_optarg" ;;
 | 
|---|
| 224 | 
 | 
|---|
| 225 |   -infodir | --infodir | --infodi | --infod | --info | --inf)
 | 
|---|
| 226 |     ac_prev=infodir ;;
 | 
|---|
| 227 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 | 
|---|
| 228 |     infodir="$ac_optarg" ;;
 | 
|---|
| 229 | 
 | 
|---|
| 230 |   -libdir | --libdir | --libdi | --libd)
 | 
|---|
| 231 |     ac_prev=libdir ;;
 | 
|---|
| 232 |   -libdir=* | --libdir=* | --libdi=* | --libd=*)
 | 
|---|
| 233 |     libdir="$ac_optarg" ;;
 | 
|---|
| 234 | 
 | 
|---|
| 235 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 | 
|---|
| 236 |   | --libexe | --libex | --libe)
 | 
|---|
| 237 |     ac_prev=libexecdir ;;
 | 
|---|
| 238 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 | 
|---|
| 239 |   | --libexe=* | --libex=* | --libe=*)
 | 
|---|
| 240 |     libexecdir="$ac_optarg" ;;
 | 
|---|
| 241 | 
 | 
|---|
| 242 |   -localstatedir | --localstatedir | --localstatedi | --localstated \
 | 
|---|
| 243 |   | --localstate | --localstat | --localsta | --localst \
 | 
|---|
| 244 |   | --locals | --local | --loca | --loc | --lo)
 | 
|---|
| 245 |     ac_prev=localstatedir ;;
 | 
|---|
| 246 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 | 
|---|
| 247 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
 | 
|---|
| 248 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
 | 
|---|
| 249 |     localstatedir="$ac_optarg" ;;
 | 
|---|
| 250 | 
 | 
|---|
| 251 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 | 
|---|
| 252 |     ac_prev=mandir ;;
 | 
|---|
| 253 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 | 
|---|
| 254 |     mandir="$ac_optarg" ;;
 | 
|---|
| 255 | 
 | 
|---|
| 256 |   -nfp | --nfp | --nf)
 | 
|---|
| 257 |     # Obsolete; use --without-fp.
 | 
|---|
| 258 |     with_fp=no ;;
 | 
|---|
| 259 | 
 | 
|---|
| 260 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 261 |   | --no-cr | --no-c)
 | 
|---|
| 262 |     no_create=yes ;;
 | 
|---|
| 263 | 
 | 
|---|
| 264 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 265 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 | 
|---|
| 266 |     no_recursion=yes ;;
 | 
|---|
| 267 | 
 | 
|---|
| 268 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 | 
|---|
| 269 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 | 
|---|
| 270 |   | --oldin | --oldi | --old | --ol | --o)
 | 
|---|
| 271 |     ac_prev=oldincludedir ;;
 | 
|---|
| 272 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 | 
|---|
| 273 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 | 
|---|
| 274 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 | 
|---|
| 275 |     oldincludedir="$ac_optarg" ;;
 | 
|---|
| 276 | 
 | 
|---|
| 277 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 | 
|---|
| 278 |     ac_prev=prefix ;;
 | 
|---|
| 279 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 | 
|---|
| 280 |     prefix="$ac_optarg" ;;
 | 
|---|
| 281 | 
 | 
|---|
| 282 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \
 | 
|---|
| 283 |   | --program-pre | --program-pr | --program-p)
 | 
|---|
| 284 |     ac_prev=program_prefix ;;
 | 
|---|
| 285 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \
 | 
|---|
| 286 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 | 
|---|
| 287 |     program_prefix="$ac_optarg" ;;
 | 
|---|
| 288 | 
 | 
|---|
| 289 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \
 | 
|---|
| 290 |   | --program-suf | --program-su | --program-s)
 | 
|---|
| 291 |     ac_prev=program_suffix ;;
 | 
|---|
| 292 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \
 | 
|---|
| 293 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 | 
|---|
| 294 |     program_suffix="$ac_optarg" ;;
 | 
|---|
| 295 | 
 | 
|---|
| 296 |   -program-transform-name | --program-transform-name \
 | 
|---|
| 297 |   | --program-transform-nam | --program-transform-na \
 | 
|---|
| 298 |   | --program-transform-n | --program-transform- \
 | 
|---|
| 299 |   | --program-transform | --program-transfor \
 | 
|---|
| 300 |   | --program-transfo | --program-transf \
 | 
|---|
| 301 |   | --program-trans | --program-tran \
 | 
|---|
| 302 |   | --progr-tra | --program-tr | --program-t)
 | 
|---|
| 303 |     ac_prev=program_transform_name ;;
 | 
|---|
| 304 |   -program-transform-name=* | --program-transform-name=* \
 | 
|---|
| 305 |   | --program-transform-nam=* | --program-transform-na=* \
 | 
|---|
| 306 |   | --program-transform-n=* | --program-transform-=* \
 | 
|---|
| 307 |   | --program-transform=* | --program-transfor=* \
 | 
|---|
| 308 |   | --program-transfo=* | --program-transf=* \
 | 
|---|
| 309 |   | --program-trans=* | --program-tran=* \
 | 
|---|
| 310 |   | --progr-tra=* | --program-tr=* | --program-t=*)
 | 
|---|
| 311 |     program_transform_name="$ac_optarg" ;;
 | 
|---|
| 312 | 
 | 
|---|
| 313 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 | 
|---|
| 314 |   | -silent | --silent | --silen | --sile | --sil)
 | 
|---|
| 315 |     silent=yes ;;
 | 
|---|
| 316 | 
 | 
|---|
| 317 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 | 
|---|
| 318 |     ac_prev=sbindir ;;
 | 
|---|
| 319 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 | 
|---|
| 320 |   | --sbi=* | --sb=*)
 | 
|---|
| 321 |     sbindir="$ac_optarg" ;;
 | 
|---|
| 322 | 
 | 
|---|
| 323 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \
 | 
|---|
| 324 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 | 
|---|
| 325 |   | --sharedst | --shareds | --shared | --share | --shar \
 | 
|---|
| 326 |   | --sha | --sh)
 | 
|---|
| 327 |     ac_prev=sharedstatedir ;;
 | 
|---|
| 328 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 | 
|---|
| 329 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 | 
|---|
| 330 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 | 
|---|
| 331 |   | --sha=* | --sh=*)
 | 
|---|
| 332 |     sharedstatedir="$ac_optarg" ;;
 | 
|---|
| 333 | 
 | 
|---|
| 334 |   -site | --site | --sit)
 | 
|---|
| 335 |     ac_prev=site ;;
 | 
|---|
| 336 |   -site=* | --site=* | --sit=*)
 | 
|---|
| 337 |     site="$ac_optarg" ;;
 | 
|---|
| 338 | 
 | 
|---|
| 339 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 | 
|---|
| 340 |     ac_prev=srcdir ;;
 | 
|---|
| 341 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 | 
|---|
| 342 |     srcdir="$ac_optarg" ;;
 | 
|---|
| 343 | 
 | 
|---|
| 344 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 | 
|---|
| 345 |   | --syscon | --sysco | --sysc | --sys | --sy)
 | 
|---|
| 346 |     ac_prev=sysconfdir ;;
 | 
|---|
| 347 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 | 
|---|
| 348 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 | 
|---|
| 349 |     sysconfdir="$ac_optarg" ;;
 | 
|---|
| 350 | 
 | 
|---|
| 351 |   -target | --target | --targe | --targ | --tar | --ta | --t)
 | 
|---|
| 352 |     ac_prev=target ;;
 | 
|---|
| 353 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 | 
|---|
| 354 |     target="$ac_optarg" ;;
 | 
|---|
| 355 | 
 | 
|---|
| 356 |   -v | -verbose | --verbose | --verbos | --verbo | --verb)
 | 
|---|
| 357 |     verbose=yes ;;
 | 
|---|
| 358 | 
 | 
|---|
| 359 |   -version | --version | --versio | --versi | --vers)
 | 
|---|
| 360 |     echo "configure generated by autoconf version 2.13"
 | 
|---|
| 361 |     exit 0 ;;
 | 
|---|
| 362 | 
 | 
|---|
| 363 |   -with-* | --with-*)
 | 
|---|
| 364 |     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
 | 
|---|
| 365 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 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
 | 
|---|
| 369 |     ac_package=`echo $ac_package| sed 's/-/_/g'`
 | 
|---|
| 370 |     case "$ac_option" in
 | 
|---|
| 371 |       *=*) ;;
 | 
|---|
| 372 |       *) ac_optarg=yes ;;
 | 
|---|
| 373 |     esac
 | 
|---|
| 374 |     eval "with_${ac_package}='$ac_optarg'" ;;
 | 
|---|
| 375 | 
 | 
|---|
| 376 |   -without-* | --without-*)
 | 
|---|
| 377 |     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
 | 
|---|
| 378 |     # Reject names that are not valid shell variable names.
 | 
|---|
| 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" ;;
 | 
|---|
| 384 | 
 | 
|---|
| 385 |   --x)
 | 
|---|
| 386 |     # Obsolete; use --with-x.
 | 
|---|
| 387 |     with_x=yes ;;
 | 
|---|
| 388 | 
 | 
|---|
| 389 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 | 
|---|
| 390 |   | --x-incl | --x-inc | --x-in | --x-i)
 | 
|---|
| 391 |     ac_prev=x_includes ;;
 | 
|---|
| 392 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 | 
|---|
| 393 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 | 
|---|
| 394 |     x_includes="$ac_optarg" ;;
 | 
|---|
| 395 | 
 | 
|---|
| 396 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \
 | 
|---|
| 397 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 | 
|---|
| 398 |     ac_prev=x_libraries ;;
 | 
|---|
| 399 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 | 
|---|
| 400 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 | 
|---|
| 401 |     x_libraries="$ac_optarg" ;;
 | 
|---|
| 402 | 
 | 
|---|
| 403 |   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
 | 
|---|
| 404 |     ;;
 | 
|---|
| 405 | 
 | 
|---|
| 406 |   *)
 | 
|---|
| 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"
 | 
|---|
| 414 |     ;;
 | 
|---|
| 415 | 
 | 
|---|
| 416 |   esac
 | 
|---|
| 417 | done
 | 
|---|
| 418 | 
 | 
|---|
| 419 | if test -n "$ac_prev"; then
 | 
|---|
| 420 |   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
 | 
|---|
| 421 | fi
 | 
|---|
| 422 | 
 | 
|---|
| 423 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 | 
|---|
| 424 | 
 | 
|---|
| 425 | # File descriptor usage:
 | 
|---|
| 426 | # 0 standard input
 | 
|---|
| 427 | # 1 file creation
 | 
|---|
| 428 | # 2 errors and warnings
 | 
|---|
| 429 | # 3 some systems may open it to /dev/tty
 | 
|---|
| 430 | # 4 used on the Kubota Titan
 | 
|---|
| 431 | # 6 checking for... messages and results
 | 
|---|
| 432 | # 5 compiler messages saved in config.log
 | 
|---|
| 433 | if test "$silent" = yes; then
 | 
|---|
| 434 |   exec 6>/dev/null
 | 
|---|
| 435 | else
 | 
|---|
| 436 |   exec 6>&1
 | 
|---|
| 437 | fi
 | 
|---|
| 438 | exec 5>./config.log
 | 
|---|
| 439 | 
 | 
|---|
| 440 | echo "\
 | 
|---|
| 441 | This file contains any messages produced by compilers while
 | 
|---|
| 442 | running configure, to aid debugging if configure makes a mistake.
 | 
|---|
| 443 | " 1>&5
 | 
|---|
| 444 | 
 | 
|---|
| 445 | # Strip out --no-create and --no-recursion so they do not pile up.
 | 
|---|
| 446 | # Also quote any args containing shell metacharacters.
 | 
|---|
| 447 | ac_configure_args=
 | 
|---|
| 448 | for ac_arg
 | 
|---|
| 449 | do
 | 
|---|
| 450 |   case "$ac_arg" in
 | 
|---|
| 451 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 | 
|---|
| 452 |   | --no-cr | --no-c) ;;
 | 
|---|
| 453 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 | 
|---|
| 454 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
 | 
|---|
| 455 |   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
 | 
|---|
| 456 |   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
 | 
|---|
| 457 |   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
 | 
|---|
| 458 |   esac
 | 
|---|
| 459 | done
 | 
|---|
| 460 | 
 | 
|---|
| 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
 | 
|---|
| 479 | 
 | 
|---|
| 480 | # Find the source files, if location was not specified.
 | 
|---|
| 481 | if test -z "$srcdir"; then
 | 
|---|
| 482 |   ac_srcdir_defaulted=yes
 | 
|---|
| 483 |   # Try the directory containing this script, then its parent.
 | 
|---|
| 484 |   ac_prog=$0
 | 
|---|
| 485 |   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
 | 
|---|
| 486 |   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
 | 
|---|
| 487 |   srcdir=$ac_confdir
 | 
|---|
| 488 |   if test ! -r $srcdir/$ac_unique_file; then
 | 
|---|
| 489 |     srcdir=..
 | 
|---|
| 490 |   fi
 | 
|---|
| 491 | else
 | 
|---|
| 492 |   ac_srcdir_defaulted=no
 | 
|---|
| 493 | fi
 | 
|---|
| 494 | if test ! -r $srcdir/$ac_unique_file; then
 | 
|---|
| 495 |   if test "$ac_srcdir_defaulted" = yes; then
 | 
|---|
| 496 |     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
 | 
|---|
| 497 |   else
 | 
|---|
| 498 |     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
 | 
|---|
| 499 |   fi
 | 
|---|
| 500 | fi
 | 
|---|
| 501 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
 | 
|---|
| 502 | 
 | 
|---|
| 503 | # Prefer explicitly selected file to automatically selected ones.
 | 
|---|
| 504 | if test -z "$CONFIG_SITE"; then
 | 
|---|
| 505 |   if test "x$prefix" != xNONE; then
 | 
|---|
| 506 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
 | 
|---|
| 507 |   else
 | 
|---|
| 508 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
 | 
|---|
| 509 |   fi
 | 
|---|
| 510 | fi
 | 
|---|
| 511 | for ac_site_file in $CONFIG_SITE; do
 | 
|---|
| 512 |   if test -r "$ac_site_file"; then
 | 
|---|
| 513 |     echo "loading site script $ac_site_file"
 | 
|---|
| 514 |     . "$ac_site_file"
 | 
|---|
| 515 |   fi
 | 
|---|
| 516 | done
 | 
|---|
| 517 | 
 | 
|---|
| 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=
 | 
|---|
| 542 |   fi
 | 
|---|
| 543 | else
 | 
|---|
| 544 |   ac_n= ac_c='\c' ac_t=
 | 
|---|
| 545 | fi
 | 
|---|
| 546 | 
 | 
|---|
| 547 | 
 | 
|---|
| 548 | 
 | 
|---|
| 549 | # This works around the fact that libtool configuration may change LD
 | 
|---|
| 550 | # for this particular configuration, but some shells, instead of
 | 
|---|
| 551 | # keeping the changes in LD private, export them just because LD is
 | 
|---|
| 552 | # exported.
 | 
|---|
| 553 | ORIGINAL_LD_FOR_MULTILIBS=$LD
 | 
|---|
| 554 | 
 | 
|---|
| 555 | 
 | 
|---|
| 556 | if test "x${with_target_subdir}" != x && \
 | 
|---|
| 557 |    test "${srcdir}" = "."; then
 | 
|---|
| 558 |   if test "${with_target_subdir}" != "."; then
 | 
|---|
| 559 |     zlib_basedir="${srcdir}/${with_multisrctop}../"
 | 
|---|
| 560 |   else
 | 
|---|
| 561 |     zlib_basedir="${srcdir}/${with_multisrctop}"
 | 
|---|
| 562 |   fi
 | 
|---|
| 563 | else
 | 
|---|
| 564 |   zlib_basedir="${srcdir}/"
 | 
|---|
| 565 | fi
 | 
|---|
| 566 | 
 | 
|---|
| 567 | ac_aux_dir=
 | 
|---|
| 568 | for ac_dir in $zlib_basedir.. $srcdir/$zlib_basedir..; do
 | 
|---|
| 569 |   if test -f $ac_dir/install-sh; then
 | 
|---|
| 570 |     ac_aux_dir=$ac_dir
 | 
|---|
| 571 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 572 |     break
 | 
|---|
| 573 |   elif test -f $ac_dir/install.sh; then
 | 
|---|
| 574 |     ac_aux_dir=$ac_dir
 | 
|---|
| 575 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 576 |     break
 | 
|---|
| 577 |   fi
 | 
|---|
| 578 | done
 | 
|---|
| 579 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 580 |   { echo "configure: error: can not find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." 1>&2; exit 1; }
 | 
|---|
| 581 | fi
 | 
|---|
| 582 | ac_config_guess=$ac_aux_dir/config.guess
 | 
|---|
| 583 | ac_config_sub=$ac_aux_dir/config.sub
 | 
|---|
| 584 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 | 
|---|
| 585 | 
 | 
|---|
| 586 | if :; then :; else
 | 
|---|
| 587 |   # This overrides the previous occurrence for automake, but not for
 | 
|---|
| 588 |   # autoconf, which is exactly what we want.
 | 
|---|
| 589 |   ac_aux_dir=
 | 
|---|
| 590 | for ac_dir in .. $srcdir/..; do
 | 
|---|
| 591 |   if test -f $ac_dir/install-sh; then
 | 
|---|
| 592 |     ac_aux_dir=$ac_dir
 | 
|---|
| 593 |     ac_install_sh="$ac_aux_dir/install-sh -c"
 | 
|---|
| 594 |     break
 | 
|---|
| 595 |   elif test -f $ac_dir/install.sh; then
 | 
|---|
| 596 |     ac_aux_dir=$ac_dir
 | 
|---|
| 597 |     ac_install_sh="$ac_aux_dir/install.sh -c"
 | 
|---|
| 598 |     break
 | 
|---|
| 599 |   fi
 | 
|---|
| 600 | done
 | 
|---|
| 601 | if test -z "$ac_aux_dir"; then
 | 
|---|
| 602 |   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
 | 
|---|
| 603 | fi
 | 
|---|
| 604 | ac_config_guess=$ac_aux_dir/config.guess
 | 
|---|
| 605 | ac_config_sub=$ac_aux_dir/config.sub
 | 
|---|
| 606 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
 | 
|---|
| 607 | 
 | 
|---|
| 608 | fi
 | 
|---|
| 609 | 
 | 
|---|
| 610 | 
 | 
|---|
| 611 | # Do some error checking and defaulting for the host and target type.
 | 
|---|
| 612 | # The inputs are:
 | 
|---|
| 613 | #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
 | 
|---|
| 614 | #
 | 
|---|
| 615 | # The rules are:
 | 
|---|
| 616 | # 1. You are not allowed to specify --host, --target, and nonopt at the
 | 
|---|
| 617 | #    same time.
 | 
|---|
| 618 | # 2. Host defaults to nonopt.
 | 
|---|
| 619 | # 3. If nonopt is not specified, then host defaults to the current host,
 | 
|---|
| 620 | #    as determined by config.guess.
 | 
|---|
| 621 | # 4. Target and build default to nonopt.
 | 
|---|
| 622 | # 5. If nonopt is not specified, then target and build default to host.
 | 
|---|
| 623 | 
 | 
|---|
| 624 | # The aliases save the names the user supplied, while $host etc.
 | 
|---|
| 625 | # will get canonicalized.
 | 
|---|
| 626 | case $host---$target---$nonopt in
 | 
|---|
| 627 | NONE---*---* | *---NONE---* | *---*---NONE) ;;
 | 
|---|
| 628 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
 | 
|---|
| 629 | esac
 | 
|---|
| 630 | 
 | 
|---|
| 631 | 
 | 
|---|
| 632 | # Make sure we can run config.sub.
 | 
|---|
| 633 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
 | 
|---|
| 634 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
 | 
|---|
| 635 | fi
 | 
|---|
| 636 | 
 | 
|---|
| 637 | echo $ac_n "checking host system type""... $ac_c" 1>&6
 | 
|---|
| 638 | echo "configure:639: checking host system type" >&5
 | 
|---|
| 639 | 
 | 
|---|
| 640 | host_alias=$host
 | 
|---|
| 641 | case "$host_alias" in
 | 
|---|
| 642 | NONE)
 | 
|---|
| 643 |   case $nonopt in
 | 
|---|
| 644 |   NONE)
 | 
|---|
| 645 |     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
 | 
|---|
| 646 |     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
 | 
|---|
| 647 |     fi ;;
 | 
|---|
| 648 |   *) host_alias=$nonopt ;;
 | 
|---|
| 649 |   esac ;;
 | 
|---|
| 650 | esac
 | 
|---|
| 651 | 
 | 
|---|
| 652 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
 | 
|---|
| 653 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 | 
|---|
| 654 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 | 
|---|
| 655 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 | 
|---|
| 656 | echo "$ac_t""$host" 1>&6
 | 
|---|
| 657 | 
 | 
|---|
| 658 | echo $ac_n "checking target system type""... $ac_c" 1>&6
 | 
|---|
| 659 | echo "configure:660: checking target system type" >&5
 | 
|---|
| 660 | 
 | 
|---|
| 661 | target_alias=$target
 | 
|---|
| 662 | case "$target_alias" in
 | 
|---|
| 663 | NONE)
 | 
|---|
| 664 |   case $nonopt in
 | 
|---|
| 665 |   NONE) target_alias=$host_alias ;;
 | 
|---|
| 666 |   *) target_alias=$nonopt ;;
 | 
|---|
| 667 |   esac ;;
 | 
|---|
| 668 | esac
 | 
|---|
| 669 | 
 | 
|---|
| 670 | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
 | 
|---|
| 671 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 | 
|---|
| 672 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 | 
|---|
| 673 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 | 
|---|
| 674 | echo "$ac_t""$target" 1>&6
 | 
|---|
| 675 | 
 | 
|---|
| 676 | echo $ac_n "checking build system type""... $ac_c" 1>&6
 | 
|---|
| 677 | echo "configure:678: checking build system type" >&5
 | 
|---|
| 678 | 
 | 
|---|
| 679 | build_alias=$build
 | 
|---|
| 680 | case "$build_alias" in
 | 
|---|
| 681 | NONE)
 | 
|---|
| 682 |   case $nonopt in
 | 
|---|
| 683 |   NONE) build_alias=$host_alias ;;
 | 
|---|
| 684 |   *) build_alias=$nonopt ;;
 | 
|---|
| 685 |   esac ;;
 | 
|---|
| 686 | esac
 | 
|---|
| 687 | 
 | 
|---|
| 688 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
 | 
|---|
| 689 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 | 
|---|
| 690 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 | 
|---|
| 691 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
 | 
|---|
| 692 | echo "$ac_t""$build" 1>&6
 | 
|---|
| 693 | 
 | 
|---|
| 694 | test "$host_alias" != "$target_alias" &&
 | 
|---|
| 695 |   test "$program_prefix$program_suffix$program_transform_name" = \
 | 
|---|
| 696 |     NONENONEs,x,x, &&
 | 
|---|
| 697 |   program_prefix=${target_alias}-
 | 
|---|
| 698 | 
 | 
|---|
| 699 | 
 | 
|---|
| 700 | # This works around an automake problem.
 | 
|---|
| 701 | mkinstalldirs="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
 | 
|---|
| 702 | 
 | 
|---|
| 703 | 
 | 
|---|
| 704 | # Find a good install program.  We prefer a C program (faster),
 | 
|---|
| 705 | # so one script is as good as another.  But avoid the broken or
 | 
|---|
| 706 | # incompatible versions:
 | 
|---|
| 707 | # SysV /etc/install, /usr/sbin/install
 | 
|---|
| 708 | # SunOS /usr/etc/install
 | 
|---|
| 709 | # IRIX /sbin/install
 | 
|---|
| 710 | # AIX /bin/install
 | 
|---|
| 711 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 | 
|---|
| 712 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 | 
|---|
| 713 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 | 
|---|
| 714 | # ./install, which can be erroneously created by make from ./install.sh.
 | 
|---|
| 715 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
 | 
|---|
| 716 | echo "configure:717: checking for a BSD compatible install" >&5
 | 
|---|
| 717 | if test -z "$INSTALL"; then
 | 
|---|
| 718 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
 | 
|---|
| 719 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 720 | else
 | 
|---|
| 721 |     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
 | 
|---|
| 722 |   for ac_dir in $PATH; do
 | 
|---|
| 723 |     # Account for people who put trailing slashes in PATH elements.
 | 
|---|
| 724 |     case "$ac_dir/" in
 | 
|---|
| 725 |     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
 | 
|---|
| 726 |     *)
 | 
|---|
| 727 |       # OSF1 and SCO ODT 3.0 have their own names for install.
 | 
|---|
| 728 |       # Don't use installbsd from OSF since it installs stuff as root
 | 
|---|
| 729 |       # by default.
 | 
|---|
| 730 |       for ac_prog in ginstall scoinst install; do
 | 
|---|
| 731 |         if test -f $ac_dir/$ac_prog; then
 | 
|---|
| 732 |           if test $ac_prog = install &&
 | 
|---|
| 733 |             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
 | 
|---|
| 734 |             # AIX install.  It has an incompatible calling convention.
 | 
|---|
| 735 |             :
 | 
|---|
| 736 |           else
 | 
|---|
| 737 |             ac_cv_path_install="$ac_dir/$ac_prog -c"
 | 
|---|
| 738 |             break 2
 | 
|---|
| 739 |           fi
 | 
|---|
| 740 |         fi
 | 
|---|
| 741 |       done
 | 
|---|
| 742 |       ;;
 | 
|---|
| 743 |     esac
 | 
|---|
| 744 |   done
 | 
|---|
| 745 |   IFS="$ac_save_IFS"
 | 
|---|
| 746 | 
 | 
|---|
| 747 | fi
 | 
|---|
| 748 |   if test "${ac_cv_path_install+set}" = set; then
 | 
|---|
| 749 |     INSTALL="$ac_cv_path_install"
 | 
|---|
| 750 |   else
 | 
|---|
| 751 |     # As a last resort, use the slow shell script.  We don't cache a
 | 
|---|
| 752 |     # path for INSTALL within a source directory, because that will
 | 
|---|
| 753 |     # break other packages using the cache if that directory is
 | 
|---|
| 754 |     # removed, or if the path is relative.
 | 
|---|
| 755 |     INSTALL="$ac_install_sh"
 | 
|---|
| 756 |   fi
 | 
|---|
| 757 | fi
 | 
|---|
| 758 | echo "$ac_t""$INSTALL" 1>&6
 | 
|---|
| 759 | 
 | 
|---|
| 760 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 | 
|---|
| 761 | # It thinks the first close brace ends the variable substitution.
 | 
|---|
| 762 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 | 
|---|
| 763 | 
 | 
|---|
| 764 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 | 
|---|
| 765 | 
 | 
|---|
| 766 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 | 
|---|
| 767 | 
 | 
|---|
| 768 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
 | 
|---|
| 769 | echo "configure:770: checking whether build environment is sane" >&5
 | 
|---|
| 770 | # Just in case
 | 
|---|
| 771 | sleep 1
 | 
|---|
| 772 | echo timestamp > conftestfile
 | 
|---|
| 773 | # Do `set' in a subshell so we don't clobber the current shell's
 | 
|---|
| 774 | # arguments.  Must try -L first in case configure is actually a
 | 
|---|
| 775 | # symlink; some systems play weird games with the mod time of symlinks
 | 
|---|
| 776 | # (eg FreeBSD returns the mod time of the symlink's containing
 | 
|---|
| 777 | # directory).
 | 
|---|
| 778 | if (
 | 
|---|
| 779 |    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 | 
|---|
| 780 |    if test "$*" = "X"; then
 | 
|---|
| 781 |       # -L didn't work.
 | 
|---|
| 782 |       set X `ls -t $srcdir/configure conftestfile`
 | 
|---|
| 783 |    fi
 | 
|---|
| 784 |    if test "$*" != "X $srcdir/configure conftestfile" \
 | 
|---|
| 785 |       && test "$*" != "X conftestfile $srcdir/configure"; then
 | 
|---|
| 786 | 
 | 
|---|
| 787 |       # If neither matched, then we have a broken ls.  This can happen
 | 
|---|
| 788 |       # if, for instance, CONFIG_SHELL is bash and it inherits a
 | 
|---|
| 789 |       # broken ls alias from the environment.  This has actually
 | 
|---|
| 790 |       # happened.  Such a system could not be considered "sane".
 | 
|---|
| 791 |       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
 | 
|---|
| 792 | alias in your environment" 1>&2; exit 1; }
 | 
|---|
| 793 |    fi
 | 
|---|
| 794 | 
 | 
|---|
| 795 |    test "$2" = conftestfile
 | 
|---|
| 796 |    )
 | 
|---|
| 797 | then
 | 
|---|
| 798 |    # Ok.
 | 
|---|
| 799 |    :
 | 
|---|
| 800 | else
 | 
|---|
| 801 |    { echo "configure: error: newly created file is older than distributed files!
 | 
|---|
| 802 | Check your system clock" 1>&2; exit 1; }
 | 
|---|
| 803 | fi
 | 
|---|
| 804 | rm -f conftest*
 | 
|---|
| 805 | echo "$ac_t""yes" 1>&6
 | 
|---|
| 806 | if test "$program_transform_name" = s,x,x,; then
 | 
|---|
| 807 |   program_transform_name=
 | 
|---|
| 808 | else
 | 
|---|
| 809 |   # Double any \ or $.  echo might interpret backslashes.
 | 
|---|
| 810 |   cat <<\EOF_SED > conftestsed
 | 
|---|
| 811 | s,\\,\\\\,g; s,\$,$$,g
 | 
|---|
| 812 | EOF_SED
 | 
|---|
| 813 |   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
 | 
|---|
| 814 |   rm -f conftestsed
 | 
|---|
| 815 | fi
 | 
|---|
| 816 | test "$program_prefix" != NONE &&
 | 
|---|
| 817 |   program_transform_name="s,^,${program_prefix},; $program_transform_name"
 | 
|---|
| 818 | # Use a double $ so make ignores it.
 | 
|---|
| 819 | test "$program_suffix" != NONE &&
 | 
|---|
| 820 |   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
 | 
|---|
| 821 | 
 | 
|---|
| 822 | # sed with no file args requires a program.
 | 
|---|
| 823 | test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 | 
|---|
| 824 | 
 | 
|---|
| 825 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 | 
|---|
| 826 | echo "configure:827: checking whether ${MAKE-make} sets \${MAKE}" >&5
 | 
|---|
| 827 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
 | 
|---|
| 828 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
 | 
|---|
| 829 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 830 | else
 | 
|---|
| 831 |   cat > conftestmake <<\EOF
 | 
|---|
| 832 | all:
 | 
|---|
| 833 |         @echo 'ac_maketemp="${MAKE}"'
 | 
|---|
| 834 | EOF
 | 
|---|
| 835 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 | 
|---|
| 836 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
 | 
|---|
| 837 | if test -n "$ac_maketemp"; then
 | 
|---|
| 838 |   eval ac_cv_prog_make_${ac_make}_set=yes
 | 
|---|
| 839 | else
 | 
|---|
| 840 |   eval ac_cv_prog_make_${ac_make}_set=no
 | 
|---|
| 841 | fi
 | 
|---|
| 842 | rm -f conftestmake
 | 
|---|
| 843 | fi
 | 
|---|
| 844 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
 | 
|---|
| 845 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 846 |   SET_MAKE=
 | 
|---|
| 847 | else
 | 
|---|
| 848 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 849 |   SET_MAKE="MAKE=${MAKE-make}"
 | 
|---|
| 850 | fi
 | 
|---|
| 851 | 
 | 
|---|
| 852 | 
 | 
|---|
| 853 | PACKAGE=zlib
 | 
|---|
| 854 | 
 | 
|---|
| 855 | VERSION=1.1.3
 | 
|---|
| 856 | 
 | 
|---|
| 857 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
 | 
|---|
| 858 |   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
 | 
|---|
| 859 | fi
 | 
|---|
| 860 | cat >> confdefs.h <<EOF
 | 
|---|
| 861 | #define PACKAGE "$PACKAGE"
 | 
|---|
| 862 | EOF
 | 
|---|
| 863 | 
 | 
|---|
| 864 | cat >> confdefs.h <<EOF
 | 
|---|
| 865 | #define VERSION "$VERSION"
 | 
|---|
| 866 | EOF
 | 
|---|
| 867 | 
 | 
|---|
| 868 | 
 | 
|---|
| 869 | 
 | 
|---|
| 870 | missing_dir=`cd $ac_aux_dir && pwd`
 | 
|---|
| 871 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
 | 
|---|
| 872 | echo "configure:873: checking for working aclocal" >&5
 | 
|---|
| 873 | # Run test in a subshell; some versions of sh will print an error if
 | 
|---|
| 874 | # an executable is not found, even if stderr is redirected.
 | 
|---|
| 875 | # Redirect stdin to placate older versions of autoconf.  Sigh.
 | 
|---|
| 876 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 877 |    ACLOCAL=aclocal
 | 
|---|
| 878 |    echo "$ac_t""found" 1>&6
 | 
|---|
| 879 | else
 | 
|---|
| 880 |    ACLOCAL="$missing_dir/missing aclocal"
 | 
|---|
| 881 |    echo "$ac_t""missing" 1>&6
 | 
|---|
| 882 | fi
 | 
|---|
| 883 | 
 | 
|---|
| 884 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
 | 
|---|
| 885 | echo "configure:886: checking for working autoconf" >&5
 | 
|---|
| 886 | # Run test in a subshell; some versions of sh will print an error if
 | 
|---|
| 887 | # an executable is not found, even if stderr is redirected.
 | 
|---|
| 888 | # Redirect stdin to placate older versions of autoconf.  Sigh.
 | 
|---|
| 889 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 890 |    AUTOCONF=autoconf
 | 
|---|
| 891 |    echo "$ac_t""found" 1>&6
 | 
|---|
| 892 | else
 | 
|---|
| 893 |    AUTOCONF="$missing_dir/missing autoconf"
 | 
|---|
| 894 |    echo "$ac_t""missing" 1>&6
 | 
|---|
| 895 | fi
 | 
|---|
| 896 | 
 | 
|---|
| 897 | echo $ac_n "checking for working automake""... $ac_c" 1>&6
 | 
|---|
| 898 | echo "configure:899: checking for working automake" >&5
 | 
|---|
| 899 | # Run test in a subshell; some versions of sh will print an error if
 | 
|---|
| 900 | # an executable is not found, even if stderr is redirected.
 | 
|---|
| 901 | # Redirect stdin to placate older versions of autoconf.  Sigh.
 | 
|---|
| 902 | if (automake --version) < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 903 |    AUTOMAKE=automake
 | 
|---|
| 904 |    echo "$ac_t""found" 1>&6
 | 
|---|
| 905 | else
 | 
|---|
| 906 |    AUTOMAKE="$missing_dir/missing automake"
 | 
|---|
| 907 |    echo "$ac_t""missing" 1>&6
 | 
|---|
| 908 | fi
 | 
|---|
| 909 | 
 | 
|---|
| 910 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
 | 
|---|
| 911 | echo "configure:912: checking for working autoheader" >&5
 | 
|---|
| 912 | # Run test in a subshell; some versions of sh will print an error if
 | 
|---|
| 913 | # an executable is not found, even if stderr is redirected.
 | 
|---|
| 914 | # Redirect stdin to placate older versions of autoconf.  Sigh.
 | 
|---|
| 915 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 916 |    AUTOHEADER=autoheader
 | 
|---|
| 917 |    echo "$ac_t""found" 1>&6
 | 
|---|
| 918 | else
 | 
|---|
| 919 |    AUTOHEADER="$missing_dir/missing autoheader"
 | 
|---|
| 920 |    echo "$ac_t""missing" 1>&6
 | 
|---|
| 921 | fi
 | 
|---|
| 922 | 
 | 
|---|
| 923 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
 | 
|---|
| 924 | echo "configure:925: checking for working makeinfo" >&5
 | 
|---|
| 925 | # Run test in a subshell; some versions of sh will print an error if
 | 
|---|
| 926 | # an executable is not found, even if stderr is redirected.
 | 
|---|
| 927 | # Redirect stdin to placate older versions of autoconf.  Sigh.
 | 
|---|
| 928 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
 | 
|---|
| 929 |    MAKEINFO=makeinfo
 | 
|---|
| 930 |    echo "$ac_t""found" 1>&6
 | 
|---|
| 931 | else
 | 
|---|
| 932 |    MAKEINFO="$missing_dir/missing makeinfo"
 | 
|---|
| 933 |    echo "$ac_t""missing" 1>&6
 | 
|---|
| 934 | fi
 | 
|---|
| 935 | 
 | 
|---|
| 936 | 
 | 
|---|
| 937 | 
 | 
|---|
| 938 | echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
 | 
|---|
| 939 | echo "configure:940: checking whether to enable maintainer-specific portions of Makefiles" >&5
 | 
|---|
| 940 |     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 | 
|---|
| 941 | if test "${enable_maintainer_mode+set}" = set; then
 | 
|---|
| 942 |   enableval="$enable_maintainer_mode"
 | 
|---|
| 943 |   USE_MAINTAINER_MODE=$enableval
 | 
|---|
| 944 | else
 | 
|---|
| 945 |   USE_MAINTAINER_MODE=no
 | 
|---|
| 946 | fi
 | 
|---|
| 947 | 
 | 
|---|
| 948 |   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
 | 
|---|
| 949 |   
 | 
|---|
| 950 | 
 | 
|---|
| 951 | if test $USE_MAINTAINER_MODE = yes; then
 | 
|---|
| 952 |   MAINTAINER_MODE_TRUE=
 | 
|---|
| 953 |   MAINTAINER_MODE_FALSE='#'
 | 
|---|
| 954 | else
 | 
|---|
| 955 |   MAINTAINER_MODE_TRUE='#'
 | 
|---|
| 956 |   MAINTAINER_MODE_FALSE=
 | 
|---|
| 957 | fi
 | 
|---|
| 958 |   MAINT=$MAINTAINER_MODE_TRUE
 | 
|---|
| 959 |   
 | 
|---|
| 960 | 
 | 
|---|
| 961 | 
 | 
|---|
| 962 | # Check whether --with-target-subdir or --without-target-subdir was given.
 | 
|---|
| 963 | if test "${with_target_subdir+set}" = set; then
 | 
|---|
| 964 |   withval="$with_target_subdir"
 | 
|---|
| 965 |   :
 | 
|---|
| 966 | fi
 | 
|---|
| 967 | 
 | 
|---|
| 968 | # Check whether --with-cross-host or --without-cross-host was given.
 | 
|---|
| 969 | if test "${with_cross_host+set}" = set; then
 | 
|---|
| 970 |   withval="$with_cross_host"
 | 
|---|
| 971 |   :
 | 
|---|
| 972 | fi
 | 
|---|
| 973 | 
 | 
|---|
| 974 | 
 | 
|---|
| 975 | # Check whether --enable-multilib or --disable-multilib was given.
 | 
|---|
| 976 | if test "${enable_multilib+set}" = set; then
 | 
|---|
| 977 |   enableval="$enable_multilib"
 | 
|---|
| 978 |   case "${enableval}" in
 | 
|---|
| 979 |   yes) multilib=yes ;;
 | 
|---|
| 980 |   no)  multilib=no ;;
 | 
|---|
| 981 |   *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
 | 
|---|
| 982 |  esac
 | 
|---|
| 983 | else
 | 
|---|
| 984 |   test -z "$with_target_subdir" && multilib=no || multilib=yes
 | 
|---|
| 985 | fi
 | 
|---|
| 986 | 
 | 
|---|
| 987 | # Check whether --with-system-zlib or --without-system-zlib was given.
 | 
|---|
| 988 | if test "${with_system_zlib+set}" = set; then
 | 
|---|
| 989 |   withval="$with_system_zlib"
 | 
|---|
| 990 |   :
 | 
|---|
| 991 | fi
 | 
|---|
| 992 | 
 | 
|---|
| 993 | 
 | 
|---|
| 994 | 
 | 
|---|
| 995 | # Extract the first word of "gcc", so it can be a program name with args.
 | 
|---|
| 996 | set dummy gcc; ac_word=$2
 | 
|---|
| 997 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 998 | echo "configure:999: checking for $ac_word" >&5
 | 
|---|
| 999 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 | 
|---|
| 1000 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1001 | else
 | 
|---|
| 1002 |   if test -n "$CC"; then
 | 
|---|
| 1003 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 1004 | else
 | 
|---|
| 1005 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1006 |   ac_dummy="$PATH"
 | 
|---|
| 1007 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1008 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1009 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1010 |       ac_cv_prog_CC="gcc"
 | 
|---|
| 1011 |       break
 | 
|---|
| 1012 |     fi
 | 
|---|
| 1013 |   done
 | 
|---|
| 1014 |   IFS="$ac_save_ifs"
 | 
|---|
| 1015 | fi
 | 
|---|
| 1016 | fi
 | 
|---|
| 1017 | CC="$ac_cv_prog_CC"
 | 
|---|
| 1018 | if test -n "$CC"; then
 | 
|---|
| 1019 |   echo "$ac_t""$CC" 1>&6
 | 
|---|
| 1020 | else
 | 
|---|
| 1021 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1022 | fi
 | 
|---|
| 1023 | 
 | 
|---|
| 1024 | if test -z "$CC"; then
 | 
|---|
| 1025 |   # Extract the first word of "cc", so it can be a program name with args.
 | 
|---|
| 1026 | set dummy cc; ac_word=$2
 | 
|---|
| 1027 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 1028 | echo "configure:1029: checking for $ac_word" >&5
 | 
|---|
| 1029 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
 | 
|---|
| 1030 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1031 | else
 | 
|---|
| 1032 |   if test -n "$CC"; then
 | 
|---|
| 1033 |   ac_cv_prog_CC="$CC" # Let the user override the test.
 | 
|---|
| 1034 | else
 | 
|---|
| 1035 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1036 |   ac_prog_rejected=no
 | 
|---|
| 1037 |   ac_dummy="$PATH"
 | 
|---|
| 1038 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1039 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1040 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1041 |       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
 | 
|---|
| 1042 |         ac_prog_rejected=yes
 | 
|---|
| 1043 |         continue
 | 
|---|
| 1044 |       fi
 | 
|---|
| 1045 |       ac_cv_prog_CC="cc"
 | 
|---|
| 1046 |       break
 | 
|---|
| 1047 |     fi
 | 
|---|
| 1048 |   done
 | 
|---|
| 1049 |   IFS="$ac_save_ifs"
 | 
|---|
| 1050 | if test $ac_prog_rejected = yes; then
 | 
|---|
| 1051 |   # We found a bogon in the path, so make sure we never use it.
 | 
|---|
| 1052 |   set dummy $ac_cv_prog_CC
 | 
|---|
| 1053 |   shift
 | 
|---|
| 1054 |   if test $# -gt 0; then
 | 
|---|
| 1055 |     # We chose a different compiler from the bogus one.
 | 
|---|
| 1056 |     # However, it has the same basename, so the bogon will be chosen
 | 
|---|
| 1057 |     # first if we set CC to just the basename; use the full file name.
 | 
|---|
| 1058 |     shift
 | 
|---|
| 1059 |     set dummy "$ac_dir/$ac_word" "$@"
 | 
|---|
| 1060 |     shift
 | 
|---|
| 1061 |     ac_cv_prog_CC="$@"
 | 
|---|
| 1062 |   fi
 | 
|---|
| 1063 | fi
 | 
|---|
| 1064 | fi
 | 
|---|
| 1065 | fi
 | 
|---|
| 1066 | CC="$ac_cv_prog_CC"
 | 
|---|
| 1067 | if test -n "$CC"; then
 | 
|---|
| 1068 |   echo "$ac_t""$CC" 1>&6
 | 
|---|
| 1069 | else
 | 
|---|
| 1070 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1071 | fi
 | 
|---|
| 1072 | 
 | 
|---|
| 1073 |   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
 | 
|---|
| 1074 | fi
 | 
|---|
| 1075 | 
 | 
|---|
| 1076 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 | 
|---|
| 1077 | echo "configure:1078: checking whether we are using GNU C" >&5
 | 
|---|
| 1078 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
 | 
|---|
| 1079 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1080 | else
 | 
|---|
| 1081 |   cat > conftest.c <<EOF
 | 
|---|
| 1082 | #ifdef __GNUC__
 | 
|---|
| 1083 |   yes;
 | 
|---|
| 1084 | #endif
 | 
|---|
| 1085 | EOF
 | 
|---|
| 1086 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
 | 
|---|
| 1087 |   ac_cv_prog_gcc=yes
 | 
|---|
| 1088 | else
 | 
|---|
| 1089 |   ac_cv_prog_gcc=no
 | 
|---|
| 1090 | fi
 | 
|---|
| 1091 | fi
 | 
|---|
| 1092 | 
 | 
|---|
| 1093 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6
 | 
|---|
| 1094 | 
 | 
|---|
| 1095 | if test $ac_cv_prog_gcc = yes; then
 | 
|---|
| 1096 |   GCC=yes
 | 
|---|
| 1097 |   ac_test_CFLAGS="${CFLAGS+set}"
 | 
|---|
| 1098 |   ac_save_CFLAGS="$CFLAGS"
 | 
|---|
| 1099 |   CFLAGS=
 | 
|---|
| 1100 |   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 | 
|---|
| 1101 | echo "configure:1102: checking whether ${CC-cc} accepts -g" >&5
 | 
|---|
| 1102 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
 | 
|---|
| 1103 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1104 | else
 | 
|---|
| 1105 |   echo 'void f(){}' > conftest.c
 | 
|---|
| 1106 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
 | 
|---|
| 1107 |   ac_cv_prog_cc_g=yes
 | 
|---|
| 1108 | else
 | 
|---|
| 1109 |   ac_cv_prog_cc_g=no
 | 
|---|
| 1110 | fi
 | 
|---|
| 1111 | rm -f conftest*
 | 
|---|
| 1112 | 
 | 
|---|
| 1113 | fi
 | 
|---|
| 1114 | 
 | 
|---|
| 1115 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
 | 
|---|
| 1116 |   if test "$ac_test_CFLAGS" = set; then
 | 
|---|
| 1117 |     CFLAGS="$ac_save_CFLAGS"
 | 
|---|
| 1118 |   elif test $ac_cv_prog_cc_g = yes; then
 | 
|---|
| 1119 |     CFLAGS="-g -O2"
 | 
|---|
| 1120 |   else
 | 
|---|
| 1121 |     CFLAGS="-O2"
 | 
|---|
| 1122 |   fi
 | 
|---|
| 1123 | else
 | 
|---|
| 1124 |   GCC=
 | 
|---|
| 1125 |   test "${CFLAGS+set}" = set || CFLAGS="-g"
 | 
|---|
| 1126 | fi
 | 
|---|
| 1127 | 
 | 
|---|
| 1128 | # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
 | 
|---|
| 1129 | # at least currently, we never actually build a program, so we never
 | 
|---|
| 1130 | # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
 | 
|---|
| 1131 | # fails, because we are probably configuring with a cross compiler
 | 
|---|
| 1132 | # which cant create executables.  So we include AC_EXEEXT to keep
 | 
|---|
| 1133 | # automake happy, but we dont execute it, since we dont care about
 | 
|---|
| 1134 | # the result.
 | 
|---|
| 1135 | if false; then
 | 
|---|
| 1136 |   # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
 | 
|---|
| 1137 |   # to nothing, so nothing would remain between `then' and `fi' if it
 | 
|---|
| 1138 |   # were not for the `:' below.
 | 
|---|
| 1139 |   :
 | 
|---|
| 1140 |   echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
 | 
|---|
| 1141 | echo "configure:1142: checking for Cygwin environment" >&5
 | 
|---|
| 1142 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
 | 
|---|
| 1143 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1144 | else
 | 
|---|
| 1145 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 1146 | #line 1147 "configure"
 | 
|---|
| 1147 | #include "confdefs.h"
 | 
|---|
| 1148 | 
 | 
|---|
| 1149 | int main() {
 | 
|---|
| 1150 | 
 | 
|---|
| 1151 | #ifndef __CYGWIN__
 | 
|---|
| 1152 | #define __CYGWIN__ __CYGWIN32__
 | 
|---|
| 1153 | #endif
 | 
|---|
| 1154 | return __CYGWIN__;
 | 
|---|
| 1155 | ; return 0; }
 | 
|---|
| 1156 | EOF
 | 
|---|
| 1157 | if { (eval echo configure:1158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 1158 |   rm -rf conftest*
 | 
|---|
| 1159 |   ac_cv_cygwin=yes
 | 
|---|
| 1160 | else
 | 
|---|
| 1161 |   echo "configure: failed program was:" >&5
 | 
|---|
| 1162 |   cat conftest.$ac_ext >&5
 | 
|---|
| 1163 |   rm -rf conftest*
 | 
|---|
| 1164 |   ac_cv_cygwin=no
 | 
|---|
| 1165 | fi
 | 
|---|
| 1166 | rm -f conftest*
 | 
|---|
| 1167 | rm -f conftest*
 | 
|---|
| 1168 | fi
 | 
|---|
| 1169 | 
 | 
|---|
| 1170 | echo "$ac_t""$ac_cv_cygwin" 1>&6
 | 
|---|
| 1171 | CYGWIN=
 | 
|---|
| 1172 | test "$ac_cv_cygwin" = yes && CYGWIN=yes
 | 
|---|
| 1173 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
 | 
|---|
| 1174 | echo "configure:1175: checking for mingw32 environment" >&5
 | 
|---|
| 1175 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
 | 
|---|
| 1176 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1177 | else
 | 
|---|
| 1178 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 1179 | #line 1180 "configure"
 | 
|---|
| 1180 | #include "confdefs.h"
 | 
|---|
| 1181 | 
 | 
|---|
| 1182 | int main() {
 | 
|---|
| 1183 | return __MINGW32__;
 | 
|---|
| 1184 | ; return 0; }
 | 
|---|
| 1185 | EOF
 | 
|---|
| 1186 | if { (eval echo configure:1187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 1187 |   rm -rf conftest*
 | 
|---|
| 1188 |   ac_cv_mingw32=yes
 | 
|---|
| 1189 | else
 | 
|---|
| 1190 |   echo "configure: failed program was:" >&5
 | 
|---|
| 1191 |   cat conftest.$ac_ext >&5
 | 
|---|
| 1192 |   rm -rf conftest*
 | 
|---|
| 1193 |   ac_cv_mingw32=no
 | 
|---|
| 1194 | fi
 | 
|---|
| 1195 | rm -f conftest*
 | 
|---|
| 1196 | rm -f conftest*
 | 
|---|
| 1197 | fi
 | 
|---|
| 1198 | 
 | 
|---|
| 1199 | echo "$ac_t""$ac_cv_mingw32" 1>&6
 | 
|---|
| 1200 | MINGW32=
 | 
|---|
| 1201 | test "$ac_cv_mingw32" = yes && MINGW32=yes
 | 
|---|
| 1202 | 
 | 
|---|
| 1203 | 
 | 
|---|
| 1204 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
 | 
|---|
| 1205 | echo "configure:1206: checking for executable suffix" >&5
 | 
|---|
| 1206 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
 | 
|---|
| 1207 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1208 | else
 | 
|---|
| 1209 |   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
 | 
|---|
| 1210 |   ac_cv_exeext=.exe
 | 
|---|
| 1211 | else
 | 
|---|
| 1212 |   rm -f conftest*
 | 
|---|
| 1213 |   echo 'int main () { return 0; }' > conftest.$ac_ext
 | 
|---|
| 1214 |   ac_cv_exeext=
 | 
|---|
| 1215 |   if { (eval echo configure:1216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
 | 
|---|
| 1216 |     for file in conftest.*; do
 | 
|---|
| 1217 |       case $file in
 | 
|---|
| 1218 |       *.c | *.o | *.obj) ;;
 | 
|---|
| 1219 |       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
 | 
|---|
| 1220 |       esac
 | 
|---|
| 1221 |     done
 | 
|---|
| 1222 |   else
 | 
|---|
| 1223 |     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
 | 
|---|
| 1224 |   fi
 | 
|---|
| 1225 |   rm -f conftest*
 | 
|---|
| 1226 |   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
 | 
|---|
| 1227 | fi
 | 
|---|
| 1228 | fi
 | 
|---|
| 1229 | 
 | 
|---|
| 1230 | EXEEXT=""
 | 
|---|
| 1231 | test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
 | 
|---|
| 1232 | echo "$ac_t""${ac_cv_exeext}" 1>&6
 | 
|---|
| 1233 | ac_exeext=$EXEEXT
 | 
|---|
| 1234 | 
 | 
|---|
| 1235 | fi
 | 
|---|
| 1236 | # Check whether --enable-shared or --disable-shared was given.
 | 
|---|
| 1237 | if test "${enable_shared+set}" = set; then
 | 
|---|
| 1238 |   enableval="$enable_shared"
 | 
|---|
| 1239 |   p=${PACKAGE-default}
 | 
|---|
| 1240 | case $enableval in
 | 
|---|
| 1241 | yes) enable_shared=yes ;;
 | 
|---|
| 1242 | no) enable_shared=no ;;
 | 
|---|
| 1243 | *)
 | 
|---|
| 1244 |   enable_shared=no
 | 
|---|
| 1245 |   # Look at the argument we got.  We use all the common list separators.
 | 
|---|
| 1246 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 | 
|---|
| 1247 |   for pkg in $enableval; do
 | 
|---|
| 1248 |     if test "X$pkg" = "X$p"; then
 | 
|---|
| 1249 |       enable_shared=yes
 | 
|---|
| 1250 |     fi
 | 
|---|
| 1251 |   done
 | 
|---|
| 1252 |   IFS="$ac_save_ifs"
 | 
|---|
| 1253 |   ;;
 | 
|---|
| 1254 | esac
 | 
|---|
| 1255 | else
 | 
|---|
| 1256 |   enable_shared=yes
 | 
|---|
| 1257 | fi
 | 
|---|
| 1258 | 
 | 
|---|
| 1259 | # Check whether --enable-static or --disable-static was given.
 | 
|---|
| 1260 | if test "${enable_static+set}" = set; then
 | 
|---|
| 1261 |   enableval="$enable_static"
 | 
|---|
| 1262 |   p=${PACKAGE-default}
 | 
|---|
| 1263 | case $enableval in
 | 
|---|
| 1264 | yes) enable_static=yes ;;
 | 
|---|
| 1265 | no) enable_static=no ;;
 | 
|---|
| 1266 | *)
 | 
|---|
| 1267 |   enable_static=no
 | 
|---|
| 1268 |   # Look at the argument we got.  We use all the common list separators.
 | 
|---|
| 1269 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 | 
|---|
| 1270 |   for pkg in $enableval; do
 | 
|---|
| 1271 |     if test "X$pkg" = "X$p"; then
 | 
|---|
| 1272 |       enable_static=yes
 | 
|---|
| 1273 |     fi
 | 
|---|
| 1274 |   done
 | 
|---|
| 1275 |   IFS="$ac_save_ifs"
 | 
|---|
| 1276 |   ;;
 | 
|---|
| 1277 | esac
 | 
|---|
| 1278 | else
 | 
|---|
| 1279 |   enable_static=yes
 | 
|---|
| 1280 | fi
 | 
|---|
| 1281 | 
 | 
|---|
| 1282 | # Check whether --enable-fast-install or --disable-fast-install was given.
 | 
|---|
| 1283 | if test "${enable_fast_install+set}" = set; then
 | 
|---|
| 1284 |   enableval="$enable_fast_install"
 | 
|---|
| 1285 |   p=${PACKAGE-default}
 | 
|---|
| 1286 | case $enableval in
 | 
|---|
| 1287 | yes) enable_fast_install=yes ;;
 | 
|---|
| 1288 | no) enable_fast_install=no ;;
 | 
|---|
| 1289 | *)
 | 
|---|
| 1290 |   enable_fast_install=no
 | 
|---|
| 1291 |   # Look at the argument we got.  We use all the common list separators.
 | 
|---|
| 1292 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
 | 
|---|
| 1293 |   for pkg in $enableval; do
 | 
|---|
| 1294 |     if test "X$pkg" = "X$p"; then
 | 
|---|
| 1295 |       enable_fast_install=yes
 | 
|---|
| 1296 |     fi
 | 
|---|
| 1297 |   done
 | 
|---|
| 1298 |   IFS="$ac_save_ifs"
 | 
|---|
| 1299 |   ;;
 | 
|---|
| 1300 | esac
 | 
|---|
| 1301 | else
 | 
|---|
| 1302 |   enable_fast_install=yes
 | 
|---|
| 1303 | fi
 | 
|---|
| 1304 | 
 | 
|---|
| 1305 | # Check whether --with-gnu-ld or --without-gnu-ld was given.
 | 
|---|
| 1306 | if test "${with_gnu_ld+set}" = set; then
 | 
|---|
| 1307 |   withval="$with_gnu_ld"
 | 
|---|
| 1308 |   test "$withval" = no || with_gnu_ld=yes
 | 
|---|
| 1309 | else
 | 
|---|
| 1310 |   with_gnu_ld=no
 | 
|---|
| 1311 | fi
 | 
|---|
| 1312 | 
 | 
|---|
| 1313 | ac_prog=ld
 | 
|---|
| 1314 | if test "$GCC" = yes; then
 | 
|---|
| 1315 |   # Check if gcc -print-prog-name=ld gives a path.
 | 
|---|
| 1316 |   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
 | 
|---|
| 1317 | echo "configure:1318: checking for ld used by GCC" >&5
 | 
|---|
| 1318 |   case $host in
 | 
|---|
| 1319 |   *-*-mingw*)
 | 
|---|
| 1320 |     # gcc leaves a trailing carriage return which upsets mingw
 | 
|---|
| 1321 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 | 
|---|
| 1322 |   *)
 | 
|---|
| 1323 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 | 
|---|
| 1324 |   esac
 | 
|---|
| 1325 |   case $ac_prog in
 | 
|---|
| 1326 |     # Accept absolute paths.
 | 
|---|
| 1327 |     [\\/]* | [A-Za-z]:[\\/]*)
 | 
|---|
| 1328 |       re_direlt='/[^/][^/]*/\.\./'
 | 
|---|
| 1329 |       # Canonicalize the path of ld
 | 
|---|
| 1330 |       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
 | 
|---|
| 1331 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 | 
|---|
| 1332 |         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 | 
|---|
| 1333 |       done
 | 
|---|
| 1334 |       test -z "$LD" && LD="$ac_prog"
 | 
|---|
| 1335 |       ;;
 | 
|---|
| 1336 |   "")
 | 
|---|
| 1337 |     # If it fails, then pretend we aren't using GCC.
 | 
|---|
| 1338 |     ac_prog=ld
 | 
|---|
| 1339 |     ;;
 | 
|---|
| 1340 |   *)
 | 
|---|
| 1341 |     # If it is relative, then search for the first ld in PATH.
 | 
|---|
| 1342 |     with_gnu_ld=unknown
 | 
|---|
| 1343 |     ;;
 | 
|---|
| 1344 |   esac
 | 
|---|
| 1345 | elif test "$with_gnu_ld" = yes; then
 | 
|---|
| 1346 |   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
 | 
|---|
| 1347 | echo "configure:1348: checking for GNU ld" >&5
 | 
|---|
| 1348 | else
 | 
|---|
| 1349 |   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
 | 
|---|
| 1350 | echo "configure:1351: checking for non-GNU ld" >&5
 | 
|---|
| 1351 | fi
 | 
|---|
| 1352 | if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
 | 
|---|
| 1353 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1354 | else
 | 
|---|
| 1355 |   if test -z "$LD"; then
 | 
|---|
| 1356 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 | 
|---|
| 1357 |   for ac_dir in $PATH; do
 | 
|---|
| 1358 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1359 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 | 
|---|
| 1360 |       lt_cv_path_LD="$ac_dir/$ac_prog"
 | 
|---|
| 1361 |       # Check to see if the program is GNU ld.  I'd rather use --version,
 | 
|---|
| 1362 |       # but apparently some GNU ld's only accept -v.
 | 
|---|
| 1363 |       # Break only if it was the GNU/non-GNU ld that we prefer.
 | 
|---|
| 1364 |       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
 | 
|---|
| 1365 |         test "$with_gnu_ld" != no && break
 | 
|---|
| 1366 |       else
 | 
|---|
| 1367 |         test "$with_gnu_ld" != yes && break
 | 
|---|
| 1368 |       fi
 | 
|---|
| 1369 |     fi
 | 
|---|
| 1370 |   done
 | 
|---|
| 1371 |   IFS="$ac_save_ifs"
 | 
|---|
| 1372 | else
 | 
|---|
| 1373 |   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 | 
|---|
| 1374 | fi
 | 
|---|
| 1375 | fi
 | 
|---|
| 1376 | 
 | 
|---|
| 1377 | LD="$lt_cv_path_LD"
 | 
|---|
| 1378 | if test -n "$LD"; then
 | 
|---|
| 1379 |   echo "$ac_t""$LD" 1>&6
 | 
|---|
| 1380 | else
 | 
|---|
| 1381 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1382 | fi
 | 
|---|
| 1383 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
 | 
|---|
| 1384 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
 | 
|---|
| 1385 | echo "configure:1386: checking if the linker ($LD) is GNU ld" >&5
 | 
|---|
| 1386 | if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
 | 
|---|
| 1387 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1388 | else
 | 
|---|
| 1389 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 | 
|---|
| 1390 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
 | 
|---|
| 1391 |   lt_cv_prog_gnu_ld=yes
 | 
|---|
| 1392 | else
 | 
|---|
| 1393 |   lt_cv_prog_gnu_ld=no
 | 
|---|
| 1394 | fi
 | 
|---|
| 1395 | fi
 | 
|---|
| 1396 | 
 | 
|---|
| 1397 | echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
 | 
|---|
| 1398 | with_gnu_ld=$lt_cv_prog_gnu_ld
 | 
|---|
| 1399 | 
 | 
|---|
| 1400 | 
 | 
|---|
| 1401 | echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
 | 
|---|
| 1402 | echo "configure:1403: checking for $LD option to reload object files" >&5
 | 
|---|
| 1403 | if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
 | 
|---|
| 1404 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1405 | else
 | 
|---|
| 1406 |   lt_cv_ld_reload_flag='-r'
 | 
|---|
| 1407 | fi
 | 
|---|
| 1408 | 
 | 
|---|
| 1409 | echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
 | 
|---|
| 1410 | reload_flag=$lt_cv_ld_reload_flag
 | 
|---|
| 1411 | test -n "$reload_flag" && reload_flag=" $reload_flag"
 | 
|---|
| 1412 | 
 | 
|---|
| 1413 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
 | 
|---|
| 1414 | echo "configure:1415: checking for BSD-compatible nm" >&5
 | 
|---|
| 1415 | if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
 | 
|---|
| 1416 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1417 | else
 | 
|---|
| 1418 |   if test -n "$NM"; then
 | 
|---|
| 1419 |   # Let the user override the test.
 | 
|---|
| 1420 |   lt_cv_path_NM="$NM"
 | 
|---|
| 1421 | else
 | 
|---|
| 1422 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
 | 
|---|
| 1423 |   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
 | 
|---|
| 1424 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1425 |     tmp_nm=$ac_dir/${ac_tool_prefix}nm
 | 
|---|
| 1426 |     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
 | 
|---|
| 1427 |       # Check to see if the nm accepts a BSD-compat flag.
 | 
|---|
| 1428 |       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 | 
|---|
| 1429 |       #   nm: unknown option "B" ignored
 | 
|---|
| 1430 |       # Tru64's nm complains that /dev/null is an invalid object file
 | 
|---|
| 1431 |       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
 | 
|---|
| 1432 |         lt_cv_path_NM="$tmp_nm -B"
 | 
|---|
| 1433 |         break
 | 
|---|
| 1434 |       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
 | 
|---|
| 1435 |         lt_cv_path_NM="$tmp_nm -p"
 | 
|---|
| 1436 |         break
 | 
|---|
| 1437 |       else
 | 
|---|
| 1438 |         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 | 
|---|
| 1439 |         continue # so that we can try to find one that supports BSD flags
 | 
|---|
| 1440 |       fi
 | 
|---|
| 1441 |     fi
 | 
|---|
| 1442 |   done
 | 
|---|
| 1443 |   IFS="$ac_save_ifs"
 | 
|---|
| 1444 |   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 | 
|---|
| 1445 | fi
 | 
|---|
| 1446 | fi
 | 
|---|
| 1447 | 
 | 
|---|
| 1448 | NM="$lt_cv_path_NM"
 | 
|---|
| 1449 | echo "$ac_t""$NM" 1>&6
 | 
|---|
| 1450 | 
 | 
|---|
| 1451 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
 | 
|---|
| 1452 | echo "configure:1453: checking whether ln -s works" >&5
 | 
|---|
| 1453 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
 | 
|---|
| 1454 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1455 | else
 | 
|---|
| 1456 |   rm -f conftestdata
 | 
|---|
| 1457 | if ln -s X conftestdata 2>/dev/null
 | 
|---|
| 1458 | then
 | 
|---|
| 1459 |   rm -f conftestdata
 | 
|---|
| 1460 |   ac_cv_prog_LN_S="ln -s"
 | 
|---|
| 1461 | else
 | 
|---|
| 1462 |   ac_cv_prog_LN_S=ln
 | 
|---|
| 1463 | fi
 | 
|---|
| 1464 | fi
 | 
|---|
| 1465 | LN_S="$ac_cv_prog_LN_S"
 | 
|---|
| 1466 | if test "$ac_cv_prog_LN_S" = "ln -s"; then
 | 
|---|
| 1467 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 1468 | else
 | 
|---|
| 1469 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1470 | fi
 | 
|---|
| 1471 | 
 | 
|---|
| 1472 | echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
 | 
|---|
| 1473 | echo "configure:1474: checking how to recognise dependant libraries" >&5
 | 
|---|
| 1474 | if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
 | 
|---|
| 1475 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1476 | else
 | 
|---|
| 1477 |   lt_cv_file_magic_cmd='$MAGIC_CMD'
 | 
|---|
| 1478 | lt_cv_file_magic_test_file=
 | 
|---|
| 1479 | lt_cv_deplibs_check_method='unknown'
 | 
|---|
| 1480 | # Need to set the preceding variable on all platforms that support
 | 
|---|
| 1481 | # interlibrary dependencies.
 | 
|---|
| 1482 | # 'none' -- dependencies not supported.
 | 
|---|
| 1483 | # `unknown' -- same as none, but documents that we really don't know.
 | 
|---|
| 1484 | # 'pass_all' -- all dependencies passed with no checks.
 | 
|---|
| 1485 | # 'test_compile' -- check by making test program.
 | 
|---|
| 1486 | # 'file_magic [regex]' -- check by looking for files in library path
 | 
|---|
| 1487 | # which responds to the $file_magic_cmd with a given egrep regex.
 | 
|---|
| 1488 | # If you have `file' or equivalent on your system and you're not sure
 | 
|---|
| 1489 | # whether `pass_all' will *always* work, you probably want this one.
 | 
|---|
| 1490 | 
 | 
|---|
| 1491 | case $host_os in
 | 
|---|
| 1492 | aix*)
 | 
|---|
| 1493 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1494 |   ;;
 | 
|---|
| 1495 | 
 | 
|---|
| 1496 | beos*)
 | 
|---|
| 1497 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1498 |   ;;
 | 
|---|
| 1499 | 
 | 
|---|
| 1500 | bsdi4*)
 | 
|---|
| 1501 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 | 
|---|
| 1502 |   lt_cv_file_magic_cmd='/usr/bin/file -L'
 | 
|---|
| 1503 |   lt_cv_file_magic_test_file=/shlib/libc.so
 | 
|---|
| 1504 |   ;;
 | 
|---|
| 1505 | 
 | 
|---|
| 1506 | cygwin* | mingw* |pw32*)
 | 
|---|
| 1507 |   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 | 
|---|
| 1508 |   lt_cv_file_magic_cmd='$OBJDUMP -f'
 | 
|---|
| 1509 |   ;;
 | 
|---|
| 1510 | 
 | 
|---|
| 1511 | darwin* | rhapsody*)
 | 
|---|
| 1512 |   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
 | 
|---|
| 1513 |   lt_cv_file_magic_cmd='/usr/bin/file -L'
 | 
|---|
| 1514 |   case "$host_os" in
 | 
|---|
| 1515 |   rhapsody* | darwin1.012)
 | 
|---|
| 1516 |     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
 | 
|---|
| 1517 |     ;;
 | 
|---|
| 1518 |   *) # Darwin 1.3 on
 | 
|---|
| 1519 |     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
 | 
|---|
| 1520 |     ;;
 | 
|---|
| 1521 |   esac
 | 
|---|
| 1522 |   ;;
 | 
|---|
| 1523 | 
 | 
|---|
| 1524 | freebsd* )
 | 
|---|
| 1525 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 | 
|---|
| 1526 |     case $host_cpu in
 | 
|---|
| 1527 |     i*86 )
 | 
|---|
| 1528 |       # Not sure whether the presence of OpenBSD here was a mistake.
 | 
|---|
| 1529 |       # Let's accept both of them until this is cleared up.
 | 
|---|
| 1530 |       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 | 
|---|
| 1531 |       lt_cv_file_magic_cmd=/usr/bin/file
 | 
|---|
| 1532 |       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 | 
|---|
| 1533 |       ;;
 | 
|---|
| 1534 |     esac
 | 
|---|
| 1535 |   else
 | 
|---|
| 1536 |     lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1537 |   fi
 | 
|---|
| 1538 |   ;;
 | 
|---|
| 1539 | 
 | 
|---|
| 1540 | gnu*)
 | 
|---|
| 1541 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1542 |   ;;
 | 
|---|
| 1543 | 
 | 
|---|
| 1544 | hpux10.20*|hpux11*)
 | 
|---|
| 1545 |   case $host_cpu in
 | 
|---|
| 1546 |   hppa*)
 | 
|---|
| 1547 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
 | 
|---|
| 1548 |     lt_cv_file_magic_cmd=/usr/bin/file
 | 
|---|
| 1549 |     lt_cv_file_magic_test_file=/usr/lib/libc.sl
 | 
|---|
| 1550 |     ;;
 | 
|---|
| 1551 |   ia64*)
 | 
|---|
| 1552 |     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 | 
|---|
| 1553 |     lt_cv_file_magic_cmd=/usr/bin/file
 | 
|---|
| 1554 |     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 | 
|---|
| 1555 |     ;;
 | 
|---|
| 1556 |   esac
 | 
|---|
| 1557 |   ;;
 | 
|---|
| 1558 | 
 | 
|---|
| 1559 | irix5* | irix6*)
 | 
|---|
| 1560 |   case $host_os in
 | 
|---|
| 1561 |   irix5*)
 | 
|---|
| 1562 |     # this will be overridden with pass_all, but let us keep it just in case
 | 
|---|
| 1563 |     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
 | 
|---|
| 1564 |     ;;
 | 
|---|
| 1565 |   *)
 | 
|---|
| 1566 |     case $LD in
 | 
|---|
| 1567 |     *-32|*"-32 ") libmagic=32-bit;;
 | 
|---|
| 1568 |     *-n32|*"-n32 ") libmagic=N32;;
 | 
|---|
| 1569 |     *-64|*"-64 ") libmagic=64-bit;;
 | 
|---|
| 1570 |     *) libmagic=never-match;;
 | 
|---|
| 1571 |     esac
 | 
|---|
| 1572 |     # this will be overridden with pass_all, but let us keep it just in case
 | 
|---|
| 1573 |     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
 | 
|---|
| 1574 |     ;;
 | 
|---|
| 1575 |   esac
 | 
|---|
| 1576 |   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
 | 
|---|
| 1577 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1578 |   ;;
 | 
|---|
| 1579 | 
 | 
|---|
| 1580 | # This must be Linux ELF.
 | 
|---|
| 1581 | linux-gnu*)
 | 
|---|
| 1582 |   case $host_cpu in
 | 
|---|
| 1583 |   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
 | 
|---|
| 1584 |     lt_cv_deplibs_check_method=pass_all ;;
 | 
|---|
| 1585 |   *)
 | 
|---|
| 1586 |     # glibc up to 2.1.1 does not perform some relocations on ARM
 | 
|---|
| 1587 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
 | 
|---|
| 1588 |   esac
 | 
|---|
| 1589 |   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
 | 
|---|
| 1590 |   ;;
 | 
|---|
| 1591 | 
 | 
|---|
| 1592 | netbsd*)
 | 
|---|
| 1593 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
 | 
|---|
| 1594 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
 | 
|---|
| 1595 |   else
 | 
|---|
| 1596 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
 | 
|---|
| 1597 |   fi
 | 
|---|
| 1598 |   ;;
 | 
|---|
| 1599 | 
 | 
|---|
| 1600 | newsos6)
 | 
|---|
| 1601 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 | 
|---|
| 1602 |   lt_cv_file_magic_cmd=/usr/bin/file
 | 
|---|
| 1603 |   lt_cv_file_magic_test_file=/usr/lib/libnls.so
 | 
|---|
| 1604 |   ;;
 | 
|---|
| 1605 | 
 | 
|---|
| 1606 | osf3* | osf4* | osf5*)
 | 
|---|
| 1607 |   # this will be overridden with pass_all, but let us keep it just in case
 | 
|---|
| 1608 |   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
 | 
|---|
| 1609 |   lt_cv_file_magic_test_file=/shlib/libc.so
 | 
|---|
| 1610 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1611 |   ;;
 | 
|---|
| 1612 | 
 | 
|---|
| 1613 | sco3.2v5*)
 | 
|---|
| 1614 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1615 |   ;;
 | 
|---|
| 1616 | 
 | 
|---|
| 1617 | solaris*)
 | 
|---|
| 1618 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1619 |   lt_cv_file_magic_test_file=/lib/libc.so
 | 
|---|
| 1620 |   ;;
 | 
|---|
| 1621 | 
 | 
|---|
| 1622 | sysv5uw[78]* | sysv4*uw2*)
 | 
|---|
| 1623 |   lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1624 |   ;;
 | 
|---|
| 1625 | 
 | 
|---|
| 1626 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 | 
|---|
| 1627 |   case $host_vendor in
 | 
|---|
| 1628 |   ncr)
 | 
|---|
| 1629 |     lt_cv_deplibs_check_method=pass_all
 | 
|---|
| 1630 |     ;;
 | 
|---|
| 1631 |   motorola)
 | 
|---|
| 1632 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
 | 
|---|
| 1633 |     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 | 
|---|
| 1634 |     ;;
 | 
|---|
| 1635 |   esac
 | 
|---|
| 1636 |   ;;
 | 
|---|
| 1637 | esac
 | 
|---|
| 1638 | 
 | 
|---|
| 1639 | fi
 | 
|---|
| 1640 | 
 | 
|---|
| 1641 | echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
 | 
|---|
| 1642 | file_magic_cmd=$lt_cv_file_magic_cmd
 | 
|---|
| 1643 | deplibs_check_method=$lt_cv_deplibs_check_method
 | 
|---|
| 1644 | 
 | 
|---|
| 1645 | echo $ac_n "checking for object suffix""... $ac_c" 1>&6
 | 
|---|
| 1646 | echo "configure:1647: checking for object suffix" >&5
 | 
|---|
| 1647 | if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
 | 
|---|
| 1648 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1649 | else
 | 
|---|
| 1650 |   rm -f conftest*
 | 
|---|
| 1651 | echo 'int i = 1;' > conftest.$ac_ext
 | 
|---|
| 1652 | if { (eval echo configure:1653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 1653 |   for ac_file in conftest.*; do
 | 
|---|
| 1654 |     case $ac_file in
 | 
|---|
| 1655 |     *.c) ;;
 | 
|---|
| 1656 |     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
 | 
|---|
| 1657 |     esac
 | 
|---|
| 1658 |   done
 | 
|---|
| 1659 | else
 | 
|---|
| 1660 |   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
 | 
|---|
| 1661 | fi
 | 
|---|
| 1662 | rm -f conftest*
 | 
|---|
| 1663 | fi
 | 
|---|
| 1664 | 
 | 
|---|
| 1665 | echo "$ac_t""$ac_cv_objext" 1>&6
 | 
|---|
| 1666 | OBJEXT=$ac_cv_objext
 | 
|---|
| 1667 | ac_objext=$ac_cv_objext
 | 
|---|
| 1668 | 
 | 
|---|
| 1669 | if test $host != $build; then
 | 
|---|
| 1670 |   ac_tool_prefix=${host_alias}-
 | 
|---|
| 1671 | else
 | 
|---|
| 1672 |   ac_tool_prefix=
 | 
|---|
| 1673 | fi
 | 
|---|
| 1674 | 
 | 
|---|
| 1675 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
 | 
|---|
| 1676 | 
 | 
|---|
| 1677 | # Only perform the check for file, if the check method requires it
 | 
|---|
| 1678 | case $deplibs_check_method in
 | 
|---|
| 1679 | file_magic*)
 | 
|---|
| 1680 |   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 | 
|---|
| 1681 |     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
 | 
|---|
| 1682 | echo "configure:1683: checking for ${ac_tool_prefix}file" >&5
 | 
|---|
| 1683 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
 | 
|---|
| 1684 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1685 | else
 | 
|---|
| 1686 |   case $MAGIC_CMD in
 | 
|---|
| 1687 |   /*)
 | 
|---|
| 1688 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 | 
|---|
| 1689 |   ;;
 | 
|---|
| 1690 |   ?:/*)
 | 
|---|
| 1691 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 | 
|---|
| 1692 |   ;;
 | 
|---|
| 1693 |   *)
 | 
|---|
| 1694 |   ac_save_MAGIC_CMD="$MAGIC_CMD"
 | 
|---|
| 1695 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1696 |   ac_dummy="/usr/bin:$PATH"
 | 
|---|
| 1697 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1698 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1699 |     if test -f $ac_dir/${ac_tool_prefix}file; then
 | 
|---|
| 1700 |       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 | 
|---|
| 1701 |       if test -n "$file_magic_test_file"; then
 | 
|---|
| 1702 |         case $deplibs_check_method in
 | 
|---|
| 1703 |         "file_magic "*)
 | 
|---|
| 1704 |           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 | 
|---|
| 1705 |           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 | 
|---|
| 1706 |           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 | 
|---|
| 1707 |             egrep "$file_magic_regex" > /dev/null; then
 | 
|---|
| 1708 |             :
 | 
|---|
| 1709 |           else
 | 
|---|
| 1710 |             cat <<EOF 1>&2
 | 
|---|
| 1711 | 
 | 
|---|
| 1712 | *** Warning: the command libtool uses to detect shared libraries,
 | 
|---|
| 1713 | *** $file_magic_cmd, produces output that libtool cannot recognize.
 | 
|---|
| 1714 | *** The result is that libtool may fail to recognize shared libraries
 | 
|---|
| 1715 | *** as such.  This will affect the creation of libtool libraries that
 | 
|---|
| 1716 | *** depend on shared libraries, but programs linked with such libtool
 | 
|---|
| 1717 | *** libraries will work regardless of this problem.  Nevertheless, you
 | 
|---|
| 1718 | *** may want to report the problem to your system manager and/or to
 | 
|---|
| 1719 | *** bug-libtool@gnu.org
 | 
|---|
| 1720 | 
 | 
|---|
| 1721 | EOF
 | 
|---|
| 1722 |           fi ;;
 | 
|---|
| 1723 |         esac
 | 
|---|
| 1724 |       fi
 | 
|---|
| 1725 |       break
 | 
|---|
| 1726 |     fi
 | 
|---|
| 1727 |   done
 | 
|---|
| 1728 |   IFS="$ac_save_ifs"
 | 
|---|
| 1729 |   MAGIC_CMD="$ac_save_MAGIC_CMD"
 | 
|---|
| 1730 |   ;;
 | 
|---|
| 1731 | esac
 | 
|---|
| 1732 | fi
 | 
|---|
| 1733 | 
 | 
|---|
| 1734 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 | 
|---|
| 1735 | if test -n "$MAGIC_CMD"; then
 | 
|---|
| 1736 |   echo "$ac_t""$MAGIC_CMD" 1>&6
 | 
|---|
| 1737 | else
 | 
|---|
| 1738 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1739 | fi
 | 
|---|
| 1740 | 
 | 
|---|
| 1741 | if test -z "$lt_cv_path_MAGIC_CMD"; then
 | 
|---|
| 1742 |   if test -n "$ac_tool_prefix"; then
 | 
|---|
| 1743 |     echo $ac_n "checking for file""... $ac_c" 1>&6
 | 
|---|
| 1744 | echo "configure:1745: checking for file" >&5
 | 
|---|
| 1745 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
 | 
|---|
| 1746 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1747 | else
 | 
|---|
| 1748 |   case $MAGIC_CMD in
 | 
|---|
| 1749 |   /*)
 | 
|---|
| 1750 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 | 
|---|
| 1751 |   ;;
 | 
|---|
| 1752 |   ?:/*)
 | 
|---|
| 1753 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
 | 
|---|
| 1754 |   ;;
 | 
|---|
| 1755 |   *)
 | 
|---|
| 1756 |   ac_save_MAGIC_CMD="$MAGIC_CMD"
 | 
|---|
| 1757 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1758 |   ac_dummy="/usr/bin:$PATH"
 | 
|---|
| 1759 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1760 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1761 |     if test -f $ac_dir/file; then
 | 
|---|
| 1762 |       lt_cv_path_MAGIC_CMD="$ac_dir/file"
 | 
|---|
| 1763 |       if test -n "$file_magic_test_file"; then
 | 
|---|
| 1764 |         case $deplibs_check_method in
 | 
|---|
| 1765 |         "file_magic "*)
 | 
|---|
| 1766 |           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 | 
|---|
| 1767 |           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 | 
|---|
| 1768 |           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 | 
|---|
| 1769 |             egrep "$file_magic_regex" > /dev/null; then
 | 
|---|
| 1770 |             :
 | 
|---|
| 1771 |           else
 | 
|---|
| 1772 |             cat <<EOF 1>&2
 | 
|---|
| 1773 | 
 | 
|---|
| 1774 | *** Warning: the command libtool uses to detect shared libraries,
 | 
|---|
| 1775 | *** $file_magic_cmd, produces output that libtool cannot recognize.
 | 
|---|
| 1776 | *** The result is that libtool may fail to recognize shared libraries
 | 
|---|
| 1777 | *** as such.  This will affect the creation of libtool libraries that
 | 
|---|
| 1778 | *** depend on shared libraries, but programs linked with such libtool
 | 
|---|
| 1779 | *** libraries will work regardless of this problem.  Nevertheless, you
 | 
|---|
| 1780 | *** may want to report the problem to your system manager and/or to
 | 
|---|
| 1781 | *** bug-libtool@gnu.org
 | 
|---|
| 1782 | 
 | 
|---|
| 1783 | EOF
 | 
|---|
| 1784 |           fi ;;
 | 
|---|
| 1785 |         esac
 | 
|---|
| 1786 |       fi
 | 
|---|
| 1787 |       break
 | 
|---|
| 1788 |     fi
 | 
|---|
| 1789 |   done
 | 
|---|
| 1790 |   IFS="$ac_save_ifs"
 | 
|---|
| 1791 |   MAGIC_CMD="$ac_save_MAGIC_CMD"
 | 
|---|
| 1792 |   ;;
 | 
|---|
| 1793 | esac
 | 
|---|
| 1794 | fi
 | 
|---|
| 1795 | 
 | 
|---|
| 1796 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 | 
|---|
| 1797 | if test -n "$MAGIC_CMD"; then
 | 
|---|
| 1798 |   echo "$ac_t""$MAGIC_CMD" 1>&6
 | 
|---|
| 1799 | else
 | 
|---|
| 1800 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1801 | fi
 | 
|---|
| 1802 | 
 | 
|---|
| 1803 |   else
 | 
|---|
| 1804 |     MAGIC_CMD=:
 | 
|---|
| 1805 |   fi
 | 
|---|
| 1806 | fi
 | 
|---|
| 1807 | 
 | 
|---|
| 1808 |   fi
 | 
|---|
| 1809 |   ;;
 | 
|---|
| 1810 | esac
 | 
|---|
| 1811 | 
 | 
|---|
| 1812 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 | 
|---|
| 1813 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 | 
|---|
| 1814 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 1815 | echo "configure:1816: checking for $ac_word" >&5
 | 
|---|
| 1816 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
 | 
|---|
| 1817 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1818 | else
 | 
|---|
| 1819 |   if test -n "$RANLIB"; then
 | 
|---|
| 1820 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 1821 | else
 | 
|---|
| 1822 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1823 |   ac_dummy="$PATH"
 | 
|---|
| 1824 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1825 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1826 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1827 |       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 | 
|---|
| 1828 |       break
 | 
|---|
| 1829 |     fi
 | 
|---|
| 1830 |   done
 | 
|---|
| 1831 |   IFS="$ac_save_ifs"
 | 
|---|
| 1832 | fi
 | 
|---|
| 1833 | fi
 | 
|---|
| 1834 | RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 1835 | if test -n "$RANLIB"; then
 | 
|---|
| 1836 |   echo "$ac_t""$RANLIB" 1>&6
 | 
|---|
| 1837 | else
 | 
|---|
| 1838 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1839 | fi
 | 
|---|
| 1840 | 
 | 
|---|
| 1841 | 
 | 
|---|
| 1842 | if test -z "$ac_cv_prog_RANLIB"; then
 | 
|---|
| 1843 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 1844 |   # Extract the first word of "ranlib", so it can be a program name with args.
 | 
|---|
| 1845 | set dummy ranlib; ac_word=$2
 | 
|---|
| 1846 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 1847 | echo "configure:1848: checking for $ac_word" >&5
 | 
|---|
| 1848 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
 | 
|---|
| 1849 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1850 | else
 | 
|---|
| 1851 |   if test -n "$RANLIB"; then
 | 
|---|
| 1852 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 | 
|---|
| 1853 | else
 | 
|---|
| 1854 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1855 |   ac_dummy="$PATH"
 | 
|---|
| 1856 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1857 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1858 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1859 |       ac_cv_prog_RANLIB="ranlib"
 | 
|---|
| 1860 |       break
 | 
|---|
| 1861 |     fi
 | 
|---|
| 1862 |   done
 | 
|---|
| 1863 |   IFS="$ac_save_ifs"
 | 
|---|
| 1864 |   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
 | 
|---|
| 1865 | fi
 | 
|---|
| 1866 | fi
 | 
|---|
| 1867 | RANLIB="$ac_cv_prog_RANLIB"
 | 
|---|
| 1868 | if test -n "$RANLIB"; then
 | 
|---|
| 1869 |   echo "$ac_t""$RANLIB" 1>&6
 | 
|---|
| 1870 | else
 | 
|---|
| 1871 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1872 | fi
 | 
|---|
| 1873 | 
 | 
|---|
| 1874 | else
 | 
|---|
| 1875 |   RANLIB=":"
 | 
|---|
| 1876 | fi
 | 
|---|
| 1877 | fi
 | 
|---|
| 1878 | 
 | 
|---|
| 1879 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 | 
|---|
| 1880 | set dummy ${ac_tool_prefix}strip; ac_word=$2
 | 
|---|
| 1881 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 1882 | echo "configure:1883: checking for $ac_word" >&5
 | 
|---|
| 1883 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
 | 
|---|
| 1884 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1885 | else
 | 
|---|
| 1886 |   if test -n "$STRIP"; then
 | 
|---|
| 1887 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 1888 | else
 | 
|---|
| 1889 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1890 |   ac_dummy="$PATH"
 | 
|---|
| 1891 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1892 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1893 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1894 |       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 | 
|---|
| 1895 |       break
 | 
|---|
| 1896 |     fi
 | 
|---|
| 1897 |   done
 | 
|---|
| 1898 |   IFS="$ac_save_ifs"
 | 
|---|
| 1899 | fi
 | 
|---|
| 1900 | fi
 | 
|---|
| 1901 | STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 1902 | if test -n "$STRIP"; then
 | 
|---|
| 1903 |   echo "$ac_t""$STRIP" 1>&6
 | 
|---|
| 1904 | else
 | 
|---|
| 1905 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1906 | fi
 | 
|---|
| 1907 | 
 | 
|---|
| 1908 | 
 | 
|---|
| 1909 | if test -z "$ac_cv_prog_STRIP"; then
 | 
|---|
| 1910 | if test -n "$ac_tool_prefix"; then
 | 
|---|
| 1911 |   # Extract the first word of "strip", so it can be a program name with args.
 | 
|---|
| 1912 | set dummy strip; ac_word=$2
 | 
|---|
| 1913 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 | 
|---|
| 1914 | echo "configure:1915: checking for $ac_word" >&5
 | 
|---|
| 1915 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
 | 
|---|
| 1916 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 1917 | else
 | 
|---|
| 1918 |   if test -n "$STRIP"; then
 | 
|---|
| 1919 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 | 
|---|
| 1920 | else
 | 
|---|
| 1921 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 | 
|---|
| 1922 |   ac_dummy="$PATH"
 | 
|---|
| 1923 |   for ac_dir in $ac_dummy; do
 | 
|---|
| 1924 |     test -z "$ac_dir" && ac_dir=.
 | 
|---|
| 1925 |     if test -f $ac_dir/$ac_word; then
 | 
|---|
| 1926 |       ac_cv_prog_STRIP="strip"
 | 
|---|
| 1927 |       break
 | 
|---|
| 1928 |     fi
 | 
|---|
| 1929 |   done
 | 
|---|
| 1930 |   IFS="$ac_save_ifs"
 | 
|---|
| 1931 |   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
 | 
|---|
| 1932 | fi
 | 
|---|
| 1933 | fi
 | 
|---|
| 1934 | STRIP="$ac_cv_prog_STRIP"
 | 
|---|
| 1935 | if test -n "$STRIP"; then
 | 
|---|
| 1936 |   echo "$ac_t""$STRIP" 1>&6
 | 
|---|
| 1937 | else
 | 
|---|
| 1938 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 1939 | fi
 | 
|---|
| 1940 | 
 | 
|---|
| 1941 | else
 | 
|---|
| 1942 |   STRIP=":"
 | 
|---|
| 1943 | fi
 | 
|---|
| 1944 | fi
 | 
|---|
| 1945 | 
 | 
|---|
| 1946 | 
 | 
|---|
| 1947 | # Check for any special flags to pass to ltconfig.
 | 
|---|
| 1948 | libtool_flags="--cache-file=$cache_file"
 | 
|---|
| 1949 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
 | 
|---|
| 1950 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
 | 
|---|
| 1951 | test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
 | 
|---|
| 1952 | test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
 | 
|---|
| 1953 | test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
 | 
|---|
| 1954 | 
 | 
|---|
| 1955 | 
 | 
|---|
| 1956 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 | 
|---|
| 1957 | if test "${enable_libtool_lock+set}" = set; then
 | 
|---|
| 1958 |   enableval="$enable_libtool_lock"
 | 
|---|
| 1959 |   :
 | 
|---|
| 1960 | fi
 | 
|---|
| 1961 | 
 | 
|---|
| 1962 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
 | 
|---|
| 1963 | test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
 | 
|---|
| 1964 | 
 | 
|---|
| 1965 | # Check whether --with-pic or --without-pic was given.
 | 
|---|
| 1966 | if test "${with_pic+set}" = set; then
 | 
|---|
| 1967 |   withval="$with_pic"
 | 
|---|
| 1968 |   pic_mode="$withval"
 | 
|---|
| 1969 | else
 | 
|---|
| 1970 |   pic_mode=default
 | 
|---|
| 1971 | fi
 | 
|---|
| 1972 | 
 | 
|---|
| 1973 | test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
 | 
|---|
| 1974 | test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
 | 
|---|
| 1975 | 
 | 
|---|
| 1976 | # Some flags need to be propagated to the compiler or linker for good
 | 
|---|
| 1977 | # libtool support.
 | 
|---|
| 1978 | case $host in
 | 
|---|
| 1979 | *-*-irix6*)
 | 
|---|
| 1980 |   # Find out which ABI we are using.
 | 
|---|
| 1981 |   echo '#line 1982 "configure"' > conftest.$ac_ext
 | 
|---|
| 1982 |   if { (eval echo configure:1983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 1983 |    if test "$lt_cv_prog_gnu_ld" = yes; then
 | 
|---|
| 1984 |     case `/usr/bin/file conftest.$ac_objext` in
 | 
|---|
| 1985 |     *32-bit*)
 | 
|---|
| 1986 |       LD="${LD-ld} -melf32bsmip"
 | 
|---|
| 1987 |       ;;
 | 
|---|
| 1988 |     *N32*)
 | 
|---|
| 1989 |       LD="${LD-ld} -melf32bmipn32"
 | 
|---|
| 1990 |       ;;
 | 
|---|
| 1991 |     *64-bit*)
 | 
|---|
| 1992 |       LD="${LD-ld} -melf64bmip"
 | 
|---|
| 1993 |       ;;
 | 
|---|
| 1994 |     esac
 | 
|---|
| 1995 |    else
 | 
|---|
| 1996 |     case `/usr/bin/file conftest.$ac_objext` in
 | 
|---|
| 1997 |     *32-bit*)
 | 
|---|
| 1998 |       LD="${LD-ld} -32"
 | 
|---|
| 1999 |       ;;
 | 
|---|
| 2000 |     *N32*)
 | 
|---|
| 2001 |       LD="${LD-ld} -n32"
 | 
|---|
| 2002 |       ;;
 | 
|---|
| 2003 |     *64-bit*)
 | 
|---|
| 2004 |       LD="${LD-ld} -64"
 | 
|---|
| 2005 |       ;;
 | 
|---|
| 2006 |     esac
 | 
|---|
| 2007 |    fi
 | 
|---|
| 2008 |   fi
 | 
|---|
| 2009 |   rm -rf conftest*
 | 
|---|
| 2010 |   ;;
 | 
|---|
| 2011 | 
 | 
|---|
| 2012 | ia64-*-hpux*)
 | 
|---|
| 2013 |   # Find out which ABI we are using.
 | 
|---|
| 2014 |   echo 'int i;' > conftest.$ac_ext
 | 
|---|
| 2015 |   if { (eval echo configure:2016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 2016 |     case "`/usr/bin/file conftest.o`" in
 | 
|---|
| 2017 |     *ELF-32*)
 | 
|---|
| 2018 |       HPUX_IA64_MODE="32"
 | 
|---|
| 2019 |       ;;
 | 
|---|
| 2020 |     *ELF-64*)
 | 
|---|
| 2021 |       HPUX_IA64_MODE="64"
 | 
|---|
| 2022 |       ;;
 | 
|---|
| 2023 |     esac
 | 
|---|
| 2024 |   fi
 | 
|---|
| 2025 |   rm -rf conftest*
 | 
|---|
| 2026 |   ;;
 | 
|---|
| 2027 | 
 | 
|---|
| 2028 | x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 | 
|---|
| 2029 |   # Find out which ABI we are using.
 | 
|---|
| 2030 |   echo 'int i;' > conftest.$ac_ext
 | 
|---|
| 2031 |   if { (eval echo configure:2032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
 | 
|---|
| 2032 |     case "`/usr/bin/file conftest.o`" in
 | 
|---|
| 2033 |     *32-bit*)
 | 
|---|
| 2034 |       case $host in
 | 
|---|
| 2035 |         x86_64-*linux*)
 | 
|---|
| 2036 |           LD="${LD-ld} -m elf_i386"
 | 
|---|
| 2037 |           ;;
 | 
|---|
| 2038 |         ppc64-*linux*|powerpc64-*linux*)
 | 
|---|
| 2039 |           LD="${LD-ld} -m elf32ppclinux"
 | 
|---|
| 2040 |           ;;
 | 
|---|
| 2041 |         s390x-*linux*)
 | 
|---|
| 2042 |           LD="${LD-ld} -m elf_s390"
 | 
|---|
| 2043 |           ;;
 | 
|---|
| 2044 |         sparc64-*linux*)
 | 
|---|
| 2045 |           LD="${LD-ld} -m elf32_sparc"
 | 
|---|
| 2046 |           ;;
 | 
|---|
| 2047 |       esac
 | 
|---|
| 2048 |       ;;
 | 
|---|
| 2049 |     *64-bit*)
 | 
|---|
| 2050 |       case $host in
 | 
|---|
| 2051 |         x86_64-*linux*)
 | 
|---|
| 2052 |           LD="${LD-ld} -m elf_x86_64"
 | 
|---|
| 2053 |           ;;
 | 
|---|
| 2054 |         ppc*-*linux*|powerpc*-*linux*)
 | 
|---|
| 2055 |           LD="${LD-ld} -m elf64ppc"
 | 
|---|
| 2056 |           ;;
 | 
|---|
| 2057 |         s390*-*linux*)
 | 
|---|
| 2058 |           LD="${LD-ld} -m elf64_s390"
 | 
|---|
| 2059 |           ;;
 | 
|---|
| 2060 |         sparc*-*linux*)
 | 
|---|
| 2061 |           LD="${LD-ld} -m elf64_sparc"
 | 
|---|
| 2062 |           ;;
 | 
|---|
| 2063 |       esac
 | 
|---|
| 2064 |       ;;
 | 
|---|
| 2065 |     esac
 | 
|---|
| 2066 |   fi
 | 
|---|
| 2067 |   rm -rf conftest*
 | 
|---|
| 2068 |   ;;
 | 
|---|
| 2069 | 
 | 
|---|
| 2070 | *-*-sco3.2v5*)
 | 
|---|
| 2071 |   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 | 
|---|
| 2072 |   SAVE_CFLAGS="$CFLAGS"
 | 
|---|
| 2073 |   CFLAGS="$CFLAGS -belf"
 | 
|---|
| 2074 |   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
 | 
|---|
| 2075 | echo "configure:2076: checking whether the C compiler needs -belf" >&5
 | 
|---|
| 2076 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
 | 
|---|
| 2077 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2078 | else
 | 
|---|
| 2079 |   
 | 
|---|
| 2080 |      ac_ext=c
 | 
|---|
| 2081 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 | 
|---|
| 2082 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2083 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 | 
|---|
| 2084 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 | 
|---|
| 2085 | cross_compiling=$ac_cv_prog_cc_cross
 | 
|---|
| 2086 | 
 | 
|---|
| 2087 |      cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2088 | #line 2089 "configure"
 | 
|---|
| 2089 | #include "confdefs.h"
 | 
|---|
| 2090 | 
 | 
|---|
| 2091 | int main() {
 | 
|---|
| 2092 | 
 | 
|---|
| 2093 | ; return 0; }
 | 
|---|
| 2094 | EOF
 | 
|---|
| 2095 | if { (eval echo configure:2096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
|---|
| 2096 |   rm -rf conftest*
 | 
|---|
| 2097 |   lt_cv_cc_needs_belf=yes
 | 
|---|
| 2098 | else
 | 
|---|
| 2099 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2100 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2101 |   rm -rf conftest*
 | 
|---|
| 2102 |   lt_cv_cc_needs_belf=no
 | 
|---|
| 2103 | fi
 | 
|---|
| 2104 | rm -f conftest*
 | 
|---|
| 2105 |      ac_ext=c
 | 
|---|
| 2106 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 | 
|---|
| 2107 | ac_cpp='$CPP $CPPFLAGS'
 | 
|---|
| 2108 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
 | 
|---|
| 2109 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
 | 
|---|
| 2110 | cross_compiling=$ac_cv_prog_cc_cross
 | 
|---|
| 2111 | 
 | 
|---|
| 2112 | fi
 | 
|---|
| 2113 | 
 | 
|---|
| 2114 | echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
 | 
|---|
| 2115 |   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 | 
|---|
| 2116 |     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 | 
|---|
| 2117 |     CFLAGS="$SAVE_CFLAGS"
 | 
|---|
| 2118 |   fi
 | 
|---|
| 2119 |   ;;
 | 
|---|
| 2120 | 
 | 
|---|
| 2121 | 
 | 
|---|
| 2122 | esac
 | 
|---|
| 2123 | 
 | 
|---|
| 2124 | 
 | 
|---|
| 2125 | # Save cache, so that ltconfig can load it
 | 
|---|
| 2126 | cat > confcache <<\EOF
 | 
|---|
| 2127 | # This file is a shell script that caches the results of configure
 | 
|---|
| 2128 | # tests run on this system so they can be shared between configure
 | 
|---|
| 2129 | # scripts and configure runs.  It is not useful on other systems.
 | 
|---|
| 2130 | # If it contains results you don't want to keep, you may remove or edit it.
 | 
|---|
| 2131 | #
 | 
|---|
| 2132 | # By default, configure uses ./config.cache as the cache file,
 | 
|---|
| 2133 | # creating it if it does not exist already.  You can give configure
 | 
|---|
| 2134 | # the --cache-file=FILE option to use a different cache file; that is
 | 
|---|
| 2135 | # what configure does when it calls configure scripts in
 | 
|---|
| 2136 | # subdirectories, so they share the cache.
 | 
|---|
| 2137 | # Giving --cache-file=/dev/null disables caching, for debugging configure.
 | 
|---|
| 2138 | # config.status only pays attention to the cache file if you give it the
 | 
|---|
| 2139 | # --recheck option to rerun configure.
 | 
|---|
| 2140 | #
 | 
|---|
| 2141 | EOF
 | 
|---|
| 2142 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2143 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 2144 | # So, don't put newlines in cache variables' values.
 | 
|---|
| 2145 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 2146 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 2147 | (set) 2>&1 |
 | 
|---|
| 2148 |   case `(ac_space=' '; set | grep ac_space) 2>&1` in
 | 
|---|
| 2149 |   *ac_space=\ *)
 | 
|---|
| 2150 |     # `set' does not quote correctly, so add quotes (double-quote substitution
 | 
|---|
| 2151 |     # turns \\\\ into \\, and sed turns \\ into \).
 | 
|---|
| 2152 |     sed -n \
 | 
|---|
| 2153 |       -e "s/'/'\\\\''/g" \
 | 
|---|
| 2154 |       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 | 
|---|
| 2155 |     ;;
 | 
|---|
| 2156 |   *)
 | 
|---|
| 2157 |     # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 2158 |     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 | 
|---|
| 2159 |     ;;
 | 
|---|
| 2160 |   esac >> confcache
 | 
|---|
| 2161 | if cmp -s $cache_file confcache; then
 | 
|---|
| 2162 |   :
 | 
|---|
| 2163 | else
 | 
|---|
| 2164 |   if test -w $cache_file; then
 | 
|---|
| 2165 |     echo "updating cache $cache_file"
 | 
|---|
| 2166 |     cat confcache > $cache_file
 | 
|---|
| 2167 |   else
 | 
|---|
| 2168 |     echo "not updating unwritable cache $cache_file"
 | 
|---|
| 2169 |   fi
 | 
|---|
| 2170 | fi
 | 
|---|
| 2171 | rm -f confcache
 | 
|---|
| 2172 | 
 | 
|---|
| 2173 | 
 | 
|---|
| 2174 | # Actually configure libtool.  ac_aux_dir is where install-sh is found.
 | 
|---|
| 2175 | AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
 | 
|---|
| 2176 | MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
 | 
|---|
| 2177 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
 | 
|---|
| 2178 | AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
 | 
|---|
| 2179 | objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
 | 
|---|
| 2180 | deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
 | 
|---|
| 2181 | ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
 | 
|---|
| 2182 | $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
 | 
|---|
| 2183 | || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
 | 
|---|
| 2184 | 
 | 
|---|
| 2185 | # Reload cache, that may have been modified by ltconfig
 | 
|---|
| 2186 | if test -r "$cache_file"; then
 | 
|---|
| 2187 |   echo "loading cache $cache_file"
 | 
|---|
| 2188 |   . $cache_file
 | 
|---|
| 2189 | else
 | 
|---|
| 2190 |   echo "creating cache $cache_file"
 | 
|---|
| 2191 |   > $cache_file
 | 
|---|
| 2192 | fi
 | 
|---|
| 2193 | 
 | 
|---|
| 2194 | 
 | 
|---|
| 2195 | # This can be used to rebuild libtool when needed
 | 
|---|
| 2196 | LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
 | 
|---|
| 2197 | 
 | 
|---|
| 2198 | # Always use our own libtool.
 | 
|---|
| 2199 | LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 | 
|---|
| 2200 | 
 | 
|---|
| 2201 | # Redirect the config.log output again, so that the ltconfig log is not
 | 
|---|
| 2202 | # clobbered by the next message.
 | 
|---|
| 2203 | exec 5>>./config.log
 | 
|---|
| 2204 | 
 | 
|---|
| 2205 |   
 | 
|---|
| 2206 | 
 | 
|---|
| 2207 |   
 | 
|---|
| 2208 |          
 | 
|---|
| 2209 |          
 | 
|---|
| 2210 | 
 | 
|---|
| 2211 | if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then
 | 
|---|
| 2212 |    COMPPATH=.
 | 
|---|
| 2213 | else
 | 
|---|
| 2214 |    COMPPATH=..
 | 
|---|
| 2215 | fi
 | 
|---|
| 2216 | 
 | 
|---|
| 2217 | 
 | 
|---|
| 2218 | # Find CPP now so that any conditional tests below won't do it and
 | 
|---|
| 2219 | # thereby make the resulting definitions conditional.
 | 
|---|
| 2220 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 | 
|---|
| 2221 | echo "configure:2222: checking how to run the C preprocessor" >&5
 | 
|---|
| 2222 | # On Suns, sometimes $CPP names a directory.
 | 
|---|
| 2223 | if test -n "$CPP" && test -d "$CPP"; then
 | 
|---|
| 2224 |   CPP=
 | 
|---|
| 2225 | fi
 | 
|---|
| 2226 | if test -z "$CPP"; then
 | 
|---|
| 2227 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 | 
|---|
| 2228 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2229 | else
 | 
|---|
| 2230 |     # This must be in double quotes, not single quotes, because CPP may get
 | 
|---|
| 2231 |   # substituted into the Makefile and "${CC-cc}" will confuse make.
 | 
|---|
| 2232 |   CPP="${CC-cc} -E"
 | 
|---|
| 2233 |   # On the NeXT, cc -E runs the code through the compiler's parser,
 | 
|---|
| 2234 |   # not just through cpp.
 | 
|---|
| 2235 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2236 | #line 2237 "configure"
 | 
|---|
| 2237 | #include "confdefs.h"
 | 
|---|
| 2238 | #include <assert.h>
 | 
|---|
| 2239 | Syntax Error
 | 
|---|
| 2240 | EOF
 | 
|---|
| 2241 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 | 
|---|
| 2242 | { (eval echo configure:2243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
|---|
| 2243 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
|---|
| 2244 | if test -z "$ac_err"; then
 | 
|---|
| 2245 |   :
 | 
|---|
| 2246 | else
 | 
|---|
| 2247 |   echo "$ac_err" >&5
 | 
|---|
| 2248 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2249 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2250 |   rm -rf conftest*
 | 
|---|
| 2251 |   CPP="${CC-cc} -E -traditional-cpp"
 | 
|---|
| 2252 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2253 | #line 2254 "configure"
 | 
|---|
| 2254 | #include "confdefs.h"
 | 
|---|
| 2255 | #include <assert.h>
 | 
|---|
| 2256 | Syntax Error
 | 
|---|
| 2257 | EOF
 | 
|---|
| 2258 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 | 
|---|
| 2259 | { (eval echo configure:2260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
|---|
| 2260 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
|---|
| 2261 | if test -z "$ac_err"; then
 | 
|---|
| 2262 |   :
 | 
|---|
| 2263 | else
 | 
|---|
| 2264 |   echo "$ac_err" >&5
 | 
|---|
| 2265 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2266 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2267 |   rm -rf conftest*
 | 
|---|
| 2268 |   CPP="${CC-cc} -nologo -E"
 | 
|---|
| 2269 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2270 | #line 2271 "configure"
 | 
|---|
| 2271 | #include "confdefs.h"
 | 
|---|
| 2272 | #include <assert.h>
 | 
|---|
| 2273 | Syntax Error
 | 
|---|
| 2274 | EOF
 | 
|---|
| 2275 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 | 
|---|
| 2276 | { (eval echo configure:2277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
|---|
| 2277 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
|---|
| 2278 | if test -z "$ac_err"; then
 | 
|---|
| 2279 |   :
 | 
|---|
| 2280 | else
 | 
|---|
| 2281 |   echo "$ac_err" >&5
 | 
|---|
| 2282 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2283 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2284 |   rm -rf conftest*
 | 
|---|
| 2285 |   CPP=/lib/cpp
 | 
|---|
| 2286 | fi
 | 
|---|
| 2287 | rm -f conftest*
 | 
|---|
| 2288 | fi
 | 
|---|
| 2289 | rm -f conftest*
 | 
|---|
| 2290 | fi
 | 
|---|
| 2291 | rm -f conftest*
 | 
|---|
| 2292 |   ac_cv_prog_CPP="$CPP"
 | 
|---|
| 2293 | fi
 | 
|---|
| 2294 |   CPP="$ac_cv_prog_CPP"
 | 
|---|
| 2295 | else
 | 
|---|
| 2296 |   ac_cv_prog_CPP="$CPP"
 | 
|---|
| 2297 | fi
 | 
|---|
| 2298 | echo "$ac_t""$CPP" 1>&6
 | 
|---|
| 2299 | 
 | 
|---|
| 2300 | 
 | 
|---|
| 2301 | if test -n "$with_cross_host"; then
 | 
|---|
| 2302 |    # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
 | 
|---|
| 2303 |    # may not work correctly, because the compiler may not be able to
 | 
|---|
| 2304 |    # link executables.
 | 
|---|
| 2305 | 
 | 
|---|
| 2306 |    # We assume newlib.  This lets us hard-code the functions we know
 | 
|---|
| 2307 |    # we'll have.
 | 
|---|
| 2308 |    cat >> confdefs.h <<\EOF
 | 
|---|
| 2309 | #define HAVE_MEMCPY 1
 | 
|---|
| 2310 | EOF
 | 
|---|
| 2311 | 
 | 
|---|
| 2312 |    cat >> confdefs.h <<\EOF
 | 
|---|
| 2313 | #define HAVE_STRERROR 1
 | 
|---|
| 2314 | EOF
 | 
|---|
| 2315 | 
 | 
|---|
| 2316 | 
 | 
|---|
| 2317 |    # We ignore --with-system-zlib in this case.
 | 
|---|
| 2318 |    target_all=libzgcj.la
 | 
|---|
| 2319 | else
 | 
|---|
| 2320 |    for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
 | 
|---|
| 2321 | do
 | 
|---|
| 2322 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 | 
|---|
| 2323 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 | 
|---|
| 2324 | echo "configure:2325: checking for $ac_hdr" >&5
 | 
|---|
| 2325 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 | 
|---|
| 2326 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2327 | else
 | 
|---|
| 2328 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2329 | #line 2330 "configure"
 | 
|---|
| 2330 | #include "confdefs.h"
 | 
|---|
| 2331 | #include <$ac_hdr>
 | 
|---|
| 2332 | EOF
 | 
|---|
| 2333 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 | 
|---|
| 2334 | { (eval echo configure:2335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
|---|
| 2335 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
|---|
| 2336 | if test -z "$ac_err"; then
 | 
|---|
| 2337 |   rm -rf conftest*
 | 
|---|
| 2338 |   eval "ac_cv_header_$ac_safe=yes"
 | 
|---|
| 2339 | else
 | 
|---|
| 2340 |   echo "$ac_err" >&5
 | 
|---|
| 2341 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2342 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2343 |   rm -rf conftest*
 | 
|---|
| 2344 |   eval "ac_cv_header_$ac_safe=no"
 | 
|---|
| 2345 | fi
 | 
|---|
| 2346 | rm -f conftest*
 | 
|---|
| 2347 | fi
 | 
|---|
| 2348 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 | 
|---|
| 2349 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 2350 |     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 | 
|---|
| 2351 |   cat >> confdefs.h <<EOF
 | 
|---|
| 2352 | #define $ac_tr_hdr 1
 | 
|---|
| 2353 | EOF
 | 
|---|
| 2354 |  
 | 
|---|
| 2355 | else
 | 
|---|
| 2356 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 2357 | fi
 | 
|---|
| 2358 | done
 | 
|---|
| 2359 | 
 | 
|---|
| 2360 | for ac_func in getpagesize
 | 
|---|
| 2361 | do
 | 
|---|
| 2362 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
|---|
| 2363 | echo "configure:2364: checking for $ac_func" >&5
 | 
|---|
| 2364 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
|---|
| 2365 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2366 | else
 | 
|---|
| 2367 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2368 | #line 2369 "configure"
 | 
|---|
| 2369 | #include "confdefs.h"
 | 
|---|
| 2370 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 2371 |     which can conflict with char $ac_func(); below.  */
 | 
|---|
| 2372 | #include <assert.h>
 | 
|---|
| 2373 | /* Override any gcc2 internal prototype to avoid an error.  */
 | 
|---|
| 2374 | /* We use char because int might match the return type of a gcc2
 | 
|---|
| 2375 |     builtin and then its argument prototype would still apply.  */
 | 
|---|
| 2376 | char $ac_func();
 | 
|---|
| 2377 | 
 | 
|---|
| 2378 | int main() {
 | 
|---|
| 2379 | 
 | 
|---|
| 2380 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 2381 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 2382 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 2383 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 | 
|---|
| 2384 | choke me
 | 
|---|
| 2385 | #else
 | 
|---|
| 2386 | $ac_func();
 | 
|---|
| 2387 | #endif
 | 
|---|
| 2388 | 
 | 
|---|
| 2389 | ; return 0; }
 | 
|---|
| 2390 | EOF
 | 
|---|
| 2391 | if { (eval echo configure:2392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
|---|
| 2392 |   rm -rf conftest*
 | 
|---|
| 2393 |   eval "ac_cv_func_$ac_func=yes"
 | 
|---|
| 2394 | else
 | 
|---|
| 2395 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2396 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2397 |   rm -rf conftest*
 | 
|---|
| 2398 |   eval "ac_cv_func_$ac_func=no"
 | 
|---|
| 2399 | fi
 | 
|---|
| 2400 | rm -f conftest*
 | 
|---|
| 2401 | fi
 | 
|---|
| 2402 | 
 | 
|---|
| 2403 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 | 
|---|
| 2404 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 2405 |     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 | 
|---|
| 2406 |   cat >> confdefs.h <<EOF
 | 
|---|
| 2407 | #define $ac_tr_func 1
 | 
|---|
| 2408 | EOF
 | 
|---|
| 2409 |  
 | 
|---|
| 2410 | else
 | 
|---|
| 2411 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 2412 | fi
 | 
|---|
| 2413 | done
 | 
|---|
| 2414 | 
 | 
|---|
| 2415 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6
 | 
|---|
| 2416 | echo "configure:2417: checking for working mmap" >&5
 | 
|---|
| 2417 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
 | 
|---|
| 2418 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2419 | else
 | 
|---|
| 2420 |   if test "$cross_compiling" = yes; then
 | 
|---|
| 2421 |   ac_cv_func_mmap_fixed_mapped=no
 | 
|---|
| 2422 | else
 | 
|---|
| 2423 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2424 | #line 2425 "configure"
 | 
|---|
| 2425 | #include "confdefs.h"
 | 
|---|
| 2426 | 
 | 
|---|
| 2427 | /* Thanks to Mike Haertel and Jim Avera for this test.
 | 
|---|
| 2428 |    Here is a matrix of mmap possibilities:
 | 
|---|
| 2429 |         mmap private not fixed
 | 
|---|
| 2430 |         mmap private fixed at somewhere currently unmapped
 | 
|---|
| 2431 |         mmap private fixed at somewhere already mapped
 | 
|---|
| 2432 |         mmap shared not fixed
 | 
|---|
| 2433 |         mmap shared fixed at somewhere currently unmapped
 | 
|---|
| 2434 |         mmap shared fixed at somewhere already mapped
 | 
|---|
| 2435 |    For private mappings, we should verify that changes cannot be read()
 | 
|---|
| 2436 |    back from the file, nor mmap's back from the file at a different
 | 
|---|
| 2437 |    address.  (There have been systems where private was not correctly
 | 
|---|
| 2438 |    implemented like the infamous i386 svr4.0, and systems where the
 | 
|---|
| 2439 |    VM page cache was not coherent with the filesystem buffer cache
 | 
|---|
| 2440 |    like early versions of FreeBSD and possibly contemporary NetBSD.)
 | 
|---|
| 2441 |    For shared mappings, we should conversely verify that changes get
 | 
|---|
| 2442 |    propogated back to all the places they're supposed to be.
 | 
|---|
| 2443 | 
 | 
|---|
| 2444 |    Grep wants private fixed already mapped.
 | 
|---|
| 2445 |    The main things grep needs to know about mmap are:
 | 
|---|
| 2446 |    * does it exist and is it safe to write into the mmap'd area
 | 
|---|
| 2447 |    * how to use it (BSD variants)  */
 | 
|---|
| 2448 | #include <sys/types.h>
 | 
|---|
| 2449 | #include <fcntl.h>
 | 
|---|
| 2450 | #include <sys/mman.h>
 | 
|---|
| 2451 | 
 | 
|---|
| 2452 | #if HAVE_SYS_TYPES_H
 | 
|---|
| 2453 | # include <sys/types.h>
 | 
|---|
| 2454 | #endif
 | 
|---|
| 2455 | 
 | 
|---|
| 2456 | #if HAVE_STDLIB_H
 | 
|---|
| 2457 | # include <stdlib.h>
 | 
|---|
| 2458 | #endif
 | 
|---|
| 2459 | 
 | 
|---|
| 2460 | #if HAVE_SYS_STAT_H
 | 
|---|
| 2461 | # include <sys/stat.h>
 | 
|---|
| 2462 | #endif
 | 
|---|
| 2463 | 
 | 
|---|
| 2464 | #if HAVE_UNISTD_H
 | 
|---|
| 2465 | # include <unistd.h>
 | 
|---|
| 2466 | #endif
 | 
|---|
| 2467 | 
 | 
|---|
| 2468 | /* This mess was copied from the GNU getpagesize.h.  */
 | 
|---|
| 2469 | #ifndef HAVE_GETPAGESIZE
 | 
|---|
| 2470 | 
 | 
|---|
| 2471 | /* Assume that all systems that can run configure have sys/param.h.  */
 | 
|---|
| 2472 | # ifndef HAVE_SYS_PARAM_H
 | 
|---|
| 2473 | #  define HAVE_SYS_PARAM_H 1
 | 
|---|
| 2474 | # endif
 | 
|---|
| 2475 | 
 | 
|---|
| 2476 | # ifdef _SC_PAGESIZE
 | 
|---|
| 2477 | #  define getpagesize() sysconf(_SC_PAGESIZE)
 | 
|---|
| 2478 | # else /* no _SC_PAGESIZE */
 | 
|---|
| 2479 | #  ifdef HAVE_SYS_PARAM_H
 | 
|---|
| 2480 | #   include <sys/param.h>
 | 
|---|
| 2481 | #   ifdef EXEC_PAGESIZE
 | 
|---|
| 2482 | #    define getpagesize() EXEC_PAGESIZE
 | 
|---|
| 2483 | #   else /* no EXEC_PAGESIZE */
 | 
|---|
| 2484 | #    ifdef NBPG
 | 
|---|
| 2485 | #     define getpagesize() NBPG * CLSIZE
 | 
|---|
| 2486 | #     ifndef CLSIZE
 | 
|---|
| 2487 | #      define CLSIZE 1
 | 
|---|
| 2488 | #     endif /* no CLSIZE */
 | 
|---|
| 2489 | #    else /* no NBPG */
 | 
|---|
| 2490 | #     ifdef NBPC
 | 
|---|
| 2491 | #      define getpagesize() NBPC
 | 
|---|
| 2492 | #     else /* no NBPC */
 | 
|---|
| 2493 | #      ifdef PAGESIZE
 | 
|---|
| 2494 | #       define getpagesize() PAGESIZE
 | 
|---|
| 2495 | #      endif /* PAGESIZE */
 | 
|---|
| 2496 | #     endif /* no NBPC */
 | 
|---|
| 2497 | #    endif /* no NBPG */
 | 
|---|
| 2498 | #   endif /* no EXEC_PAGESIZE */
 | 
|---|
| 2499 | #  else /* no HAVE_SYS_PARAM_H */
 | 
|---|
| 2500 | #   define getpagesize() 8192   /* punt totally */
 | 
|---|
| 2501 | #  endif /* no HAVE_SYS_PARAM_H */
 | 
|---|
| 2502 | # endif /* no _SC_PAGESIZE */
 | 
|---|
| 2503 | 
 | 
|---|
| 2504 | #endif /* no HAVE_GETPAGESIZE */
 | 
|---|
| 2505 | 
 | 
|---|
| 2506 | #ifdef __cplusplus
 | 
|---|
| 2507 | extern "C" { void *malloc(unsigned); }
 | 
|---|
| 2508 | #else
 | 
|---|
| 2509 | char *malloc();
 | 
|---|
| 2510 | #endif
 | 
|---|
| 2511 | 
 | 
|---|
| 2512 | int
 | 
|---|
| 2513 | main()
 | 
|---|
| 2514 | {
 | 
|---|
| 2515 |         char *data, *data2, *data3;
 | 
|---|
| 2516 |         int i, pagesize;
 | 
|---|
| 2517 |         int fd;
 | 
|---|
| 2518 | 
 | 
|---|
| 2519 |         pagesize = getpagesize();
 | 
|---|
| 2520 | 
 | 
|---|
| 2521 |         /*
 | 
|---|
| 2522 |          * First, make a file with some known garbage in it.
 | 
|---|
| 2523 |          */
 | 
|---|
| 2524 |         data = malloc(pagesize);
 | 
|---|
| 2525 |         if (!data)
 | 
|---|
| 2526 |                 exit(1);
 | 
|---|
| 2527 |         for (i = 0; i < pagesize; ++i)
 | 
|---|
| 2528 |                 *(data + i) = rand();
 | 
|---|
| 2529 |         umask(0);
 | 
|---|
| 2530 |         fd = creat("conftestmmap", 0600);
 | 
|---|
| 2531 |         if (fd < 0)
 | 
|---|
| 2532 |                 exit(1);
 | 
|---|
| 2533 |         if (write(fd, data, pagesize) != pagesize)
 | 
|---|
| 2534 |                 exit(1);
 | 
|---|
| 2535 |         close(fd);
 | 
|---|
| 2536 | 
 | 
|---|
| 2537 |         /*
 | 
|---|
| 2538 |          * Next, try to mmap the file at a fixed address which
 | 
|---|
| 2539 |          * already has something else allocated at it.  If we can,
 | 
|---|
| 2540 |          * also make sure that we see the same garbage.
 | 
|---|
| 2541 |          */
 | 
|---|
| 2542 |         fd = open("conftestmmap", O_RDWR);
 | 
|---|
| 2543 |         if (fd < 0)
 | 
|---|
| 2544 |                 exit(1);
 | 
|---|
| 2545 |         data2 = malloc(2 * pagesize);
 | 
|---|
| 2546 |         if (!data2)
 | 
|---|
| 2547 |                 exit(1);
 | 
|---|
| 2548 |         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
 | 
|---|
| 2549 |         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
 | 
|---|
| 2550 |             MAP_PRIVATE | MAP_FIXED, fd, 0L))
 | 
|---|
| 2551 |                 exit(1);
 | 
|---|
| 2552 |         for (i = 0; i < pagesize; ++i)
 | 
|---|
| 2553 |                 if (*(data + i) != *(data2 + i))
 | 
|---|
| 2554 |                         exit(1);
 | 
|---|
| 2555 | 
 | 
|---|
| 2556 |         /*
 | 
|---|
| 2557 |          * Finally, make sure that changes to the mapped area
 | 
|---|
| 2558 |          * do not percolate back to the file as seen by read().
 | 
|---|
| 2559 |          * (This is a bug on some variants of i386 svr4.0.)
 | 
|---|
| 2560 |          */
 | 
|---|
| 2561 |         for (i = 0; i < pagesize; ++i)
 | 
|---|
| 2562 |                 *(data2 + i) = *(data2 + i) + 1;
 | 
|---|
| 2563 |         data3 = malloc(pagesize);
 | 
|---|
| 2564 |         if (!data3)
 | 
|---|
| 2565 |                 exit(1);
 | 
|---|
| 2566 |         if (read(fd, data3, pagesize) != pagesize)
 | 
|---|
| 2567 |                 exit(1);
 | 
|---|
| 2568 |         for (i = 0; i < pagesize; ++i)
 | 
|---|
| 2569 |                 if (*(data + i) != *(data3 + i))
 | 
|---|
| 2570 |                         exit(1);
 | 
|---|
| 2571 |         close(fd);
 | 
|---|
| 2572 |         unlink("conftestmmap");
 | 
|---|
| 2573 |         exit(0);
 | 
|---|
| 2574 | }
 | 
|---|
| 2575 | 
 | 
|---|
| 2576 | EOF
 | 
|---|
| 2577 | if { (eval echo configure:2578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 | 
|---|
| 2578 | then
 | 
|---|
| 2579 |   ac_cv_func_mmap_fixed_mapped=yes
 | 
|---|
| 2580 | else
 | 
|---|
| 2581 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2582 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2583 |   rm -fr conftest*
 | 
|---|
| 2584 |   ac_cv_func_mmap_fixed_mapped=no
 | 
|---|
| 2585 | fi
 | 
|---|
| 2586 | rm -fr conftest*
 | 
|---|
| 2587 | fi
 | 
|---|
| 2588 | 
 | 
|---|
| 2589 | fi
 | 
|---|
| 2590 | 
 | 
|---|
| 2591 | echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
 | 
|---|
| 2592 | if test $ac_cv_func_mmap_fixed_mapped = yes; then
 | 
|---|
| 2593 |   cat >> confdefs.h <<\EOF
 | 
|---|
| 2594 | #define HAVE_MMAP 1
 | 
|---|
| 2595 | EOF
 | 
|---|
| 2596 | 
 | 
|---|
| 2597 | fi
 | 
|---|
| 2598 | 
 | 
|---|
| 2599 |    for ac_func in memcpy strerror
 | 
|---|
| 2600 | do
 | 
|---|
| 2601 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
 | 
|---|
| 2602 | echo "configure:2603: checking for $ac_func" >&5
 | 
|---|
| 2603 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
 | 
|---|
| 2604 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2605 | else
 | 
|---|
| 2606 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2607 | #line 2608 "configure"
 | 
|---|
| 2608 | #include "confdefs.h"
 | 
|---|
| 2609 | /* System header to define __stub macros and hopefully few prototypes,
 | 
|---|
| 2610 |     which can conflict with char $ac_func(); below.  */
 | 
|---|
| 2611 | #include <assert.h>
 | 
|---|
| 2612 | /* Override any gcc2 internal prototype to avoid an error.  */
 | 
|---|
| 2613 | /* We use char because int might match the return type of a gcc2
 | 
|---|
| 2614 |     builtin and then its argument prototype would still apply.  */
 | 
|---|
| 2615 | char $ac_func();
 | 
|---|
| 2616 | 
 | 
|---|
| 2617 | int main() {
 | 
|---|
| 2618 | 
 | 
|---|
| 2619 | /* The GNU C library defines this for functions which it implements
 | 
|---|
| 2620 |     to always fail with ENOSYS.  Some functions are actually named
 | 
|---|
| 2621 |     something starting with __ and the normal name is an alias.  */
 | 
|---|
| 2622 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
 | 
|---|
| 2623 | choke me
 | 
|---|
| 2624 | #else
 | 
|---|
| 2625 | $ac_func();
 | 
|---|
| 2626 | #endif
 | 
|---|
| 2627 | 
 | 
|---|
| 2628 | ; return 0; }
 | 
|---|
| 2629 | EOF
 | 
|---|
| 2630 | if { (eval echo configure:2631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
|---|
| 2631 |   rm -rf conftest*
 | 
|---|
| 2632 |   eval "ac_cv_func_$ac_func=yes"
 | 
|---|
| 2633 | else
 | 
|---|
| 2634 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2635 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2636 |   rm -rf conftest*
 | 
|---|
| 2637 |   eval "ac_cv_func_$ac_func=no"
 | 
|---|
| 2638 | fi
 | 
|---|
| 2639 | rm -f conftest*
 | 
|---|
| 2640 | fi
 | 
|---|
| 2641 | 
 | 
|---|
| 2642 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
 | 
|---|
| 2643 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 2644 |     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
 | 
|---|
| 2645 |   cat >> confdefs.h <<EOF
 | 
|---|
| 2646 | #define $ac_tr_func 1
 | 
|---|
| 2647 | EOF
 | 
|---|
| 2648 |  
 | 
|---|
| 2649 | else
 | 
|---|
| 2650 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 2651 | fi
 | 
|---|
| 2652 | done
 | 
|---|
| 2653 | 
 | 
|---|
| 2654 | 
 | 
|---|
| 2655 |    if test "$with_system_zlib" = yes; then
 | 
|---|
| 2656 |       echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
 | 
|---|
| 2657 | echo "configure:2658: checking for deflate in -lz" >&5
 | 
|---|
| 2658 | ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
 | 
|---|
| 2659 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 | 
|---|
| 2660 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2661 | else
 | 
|---|
| 2662 |   ac_save_LIBS="$LIBS"
 | 
|---|
| 2663 | LIBS="-lz  $LIBS"
 | 
|---|
| 2664 | cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2665 | #line 2666 "configure"
 | 
|---|
| 2666 | #include "confdefs.h"
 | 
|---|
| 2667 | /* Override any gcc2 internal prototype to avoid an error.  */
 | 
|---|
| 2668 | /* We use char because int might match the return type of a gcc2
 | 
|---|
| 2669 |     builtin and then its argument prototype would still apply.  */
 | 
|---|
| 2670 | char deflate();
 | 
|---|
| 2671 | 
 | 
|---|
| 2672 | int main() {
 | 
|---|
| 2673 | deflate()
 | 
|---|
| 2674 | ; return 0; }
 | 
|---|
| 2675 | EOF
 | 
|---|
| 2676 | if { (eval echo configure:2677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 | 
|---|
| 2677 |   rm -rf conftest*
 | 
|---|
| 2678 |   eval "ac_cv_lib_$ac_lib_var=yes"
 | 
|---|
| 2679 | else
 | 
|---|
| 2680 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2681 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2682 |   rm -rf conftest*
 | 
|---|
| 2683 |   eval "ac_cv_lib_$ac_lib_var=no"
 | 
|---|
| 2684 | fi
 | 
|---|
| 2685 | rm -f conftest*
 | 
|---|
| 2686 | LIBS="$ac_save_LIBS"
 | 
|---|
| 2687 | 
 | 
|---|
| 2688 | fi
 | 
|---|
| 2689 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 | 
|---|
| 2690 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 2691 |   target_all=
 | 
|---|
| 2692 | else
 | 
|---|
| 2693 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 2694 | target_all=libzgcj.la
 | 
|---|
| 2695 | fi
 | 
|---|
| 2696 | 
 | 
|---|
| 2697 |    else
 | 
|---|
| 2698 |       target_all=libzgcj.la
 | 
|---|
| 2699 |    fi
 | 
|---|
| 2700 | fi
 | 
|---|
| 2701 | 
 | 
|---|
| 2702 | 
 | 
|---|
| 2703 | 
 | 
|---|
| 2704 | for ac_hdr in unistd.h
 | 
|---|
| 2705 | do
 | 
|---|
| 2706 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 | 
|---|
| 2707 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
 | 
|---|
| 2708 | echo "configure:2709: checking for $ac_hdr" >&5
 | 
|---|
| 2709 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
 | 
|---|
| 2710 |   echo $ac_n "(cached) $ac_c" 1>&6
 | 
|---|
| 2711 | else
 | 
|---|
| 2712 |   cat > conftest.$ac_ext <<EOF
 | 
|---|
| 2713 | #line 2714 "configure"
 | 
|---|
| 2714 | #include "confdefs.h"
 | 
|---|
| 2715 | #include <$ac_hdr>
 | 
|---|
| 2716 | EOF
 | 
|---|
| 2717 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 | 
|---|
| 2718 | { (eval echo configure:2719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 | 
|---|
| 2719 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 | 
|---|
| 2720 | if test -z "$ac_err"; then
 | 
|---|
| 2721 |   rm -rf conftest*
 | 
|---|
| 2722 |   eval "ac_cv_header_$ac_safe=yes"
 | 
|---|
| 2723 | else
 | 
|---|
| 2724 |   echo "$ac_err" >&5
 | 
|---|
| 2725 |   echo "configure: failed program was:" >&5
 | 
|---|
| 2726 |   cat conftest.$ac_ext >&5
 | 
|---|
| 2727 |   rm -rf conftest*
 | 
|---|
| 2728 |   eval "ac_cv_header_$ac_safe=no"
 | 
|---|
| 2729 | fi
 | 
|---|
| 2730 | rm -f conftest*
 | 
|---|
| 2731 | fi
 | 
|---|
| 2732 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
 | 
|---|
| 2733 |   echo "$ac_t""yes" 1>&6
 | 
|---|
| 2734 |     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
 | 
|---|
| 2735 |   cat >> confdefs.h <<EOF
 | 
|---|
| 2736 | #define $ac_tr_hdr 1
 | 
|---|
| 2737 | EOF
 | 
|---|
| 2738 |  
 | 
|---|
| 2739 | else
 | 
|---|
| 2740 |   echo "$ac_t""no" 1>&6
 | 
|---|
| 2741 | fi
 | 
|---|
| 2742 | done
 | 
|---|
| 2743 | 
 | 
|---|
| 2744 | 
 | 
|---|
| 2745 | if test -n "$with_cross_host" &&
 | 
|---|
| 2746 |    test x"$with_cross_host" != x"no"; then
 | 
|---|
| 2747 |   toolexecdir='$(exec_prefix)/$(target_alias)'
 | 
|---|
| 2748 |   toolexeclibdir='$(toolexecdir)/lib'
 | 
|---|
| 2749 | else
 | 
|---|
| 2750 |   toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
 | 
|---|
| 2751 |   toolexeclibdir='$(libdir)'
 | 
|---|
| 2752 | fi
 | 
|---|
| 2753 | if test "$GCC" = yes && $CC -print-multi-os-directory > /dev/null 2>&1; then
 | 
|---|
| 2754 |   multiosdir=/`$CC -print-multi-os-directory`
 | 
|---|
| 2755 | else
 | 
|---|
| 2756 |   multiosdir=
 | 
|---|
| 2757 | fi
 | 
|---|
| 2758 | toolexeclibdir=${toolexeclibdir}${multiosdir}
 | 
|---|
| 2759 | 
 | 
|---|
| 2760 | 
 | 
|---|
| 2761 | 
 | 
|---|
| 2762 | 
 | 
|---|
| 2763 | 
 | 
|---|
| 2764 | if test -n "$with_target_subdir"; then
 | 
|---|
| 2765 |   TARGET_LIBRARY_TRUE=
 | 
|---|
| 2766 |   TARGET_LIBRARY_FALSE='#'
 | 
|---|
| 2767 | else
 | 
|---|
| 2768 |   TARGET_LIBRARY_TRUE='#'
 | 
|---|
| 2769 |   TARGET_LIBRARY_FALSE=
 | 
|---|
| 2770 | fi
 | 
|---|
| 2771 | 
 | 
|---|
| 2772 | if test "${multilib}" = "yes"; then
 | 
|---|
| 2773 |   multilib_arg="--enable-multilib"
 | 
|---|
| 2774 | else
 | 
|---|
| 2775 |   multilib_arg=
 | 
|---|
| 2776 | fi
 | 
|---|
| 2777 | 
 | 
|---|
| 2778 | trap '' 1 2 15
 | 
|---|
| 2779 | cat > confcache <<\EOF
 | 
|---|
| 2780 | # This file is a shell script that caches the results of configure
 | 
|---|
| 2781 | # tests run on this system so they can be shared between configure
 | 
|---|
| 2782 | # scripts and configure runs.  It is not useful on other systems.
 | 
|---|
| 2783 | # If it contains results you don't want to keep, you may remove or edit it.
 | 
|---|
| 2784 | #
 | 
|---|
| 2785 | # By default, configure uses ./config.cache as the cache file,
 | 
|---|
| 2786 | # creating it if it does not exist already.  You can give configure
 | 
|---|
| 2787 | # the --cache-file=FILE option to use a different cache file; that is
 | 
|---|
| 2788 | # what configure does when it calls configure scripts in
 | 
|---|
| 2789 | # subdirectories, so they share the cache.
 | 
|---|
| 2790 | # Giving --cache-file=/dev/null disables caching, for debugging configure.
 | 
|---|
| 2791 | # config.status only pays attention to the cache file if you give it the
 | 
|---|
| 2792 | # --recheck option to rerun configure.
 | 
|---|
| 2793 | #
 | 
|---|
| 2794 | EOF
 | 
|---|
| 2795 | # The following way of writing the cache mishandles newlines in values,
 | 
|---|
| 2796 | # but we know of no workaround that is simple, portable, and efficient.
 | 
|---|
| 2797 | # So, don't put newlines in cache variables' values.
 | 
|---|
| 2798 | # Ultrix sh set writes to stderr and can't be redirected directly,
 | 
|---|
| 2799 | # and sets the high bit in the cache file unless we assign to the vars.
 | 
|---|
| 2800 | (set) 2>&1 |
 | 
|---|
| 2801 |   case `(ac_space=' '; set | grep ac_space) 2>&1` in
 | 
|---|
| 2802 |   *ac_space=\ *)
 | 
|---|
| 2803 |     # `set' does not quote correctly, so add quotes (double-quote substitution
 | 
|---|
| 2804 |     # turns \\\\ into \\, and sed turns \\ into \).
 | 
|---|
| 2805 |     sed -n \
 | 
|---|
| 2806 |       -e "s/'/'\\\\''/g" \
 | 
|---|
| 2807 |       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
 | 
|---|
| 2808 |     ;;
 | 
|---|
| 2809 |   *)
 | 
|---|
| 2810 |     # `set' quotes correctly as required by POSIX, so do not add quotes.
 | 
|---|
| 2811 |     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
 | 
|---|
| 2812 |     ;;
 | 
|---|
| 2813 |   esac >> confcache
 | 
|---|
| 2814 | if cmp -s $cache_file confcache; then
 | 
|---|
| 2815 |   :
 | 
|---|
| 2816 | else
 | 
|---|
| 2817 |   if test -w $cache_file; then
 | 
|---|
| 2818 |     echo "updating cache $cache_file"
 | 
|---|
| 2819 |     cat confcache > $cache_file
 | 
|---|
| 2820 |   else
 | 
|---|
| 2821 |     echo "not updating unwritable cache $cache_file"
 | 
|---|
| 2822 |   fi
 | 
|---|
| 2823 | fi
 | 
|---|
| 2824 | rm -f confcache
 | 
|---|
| 2825 | 
 | 
|---|
| 2826 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
 | 
|---|
| 2827 | 
 | 
|---|
| 2828 | test "x$prefix" = xNONE && prefix=$ac_default_prefix
 | 
|---|
| 2829 | # Let make expand exec_prefix.
 | 
|---|
| 2830 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 | 
|---|
| 2831 | 
 | 
|---|
| 2832 | # Any assignment to VPATH causes Sun make to only execute
 | 
|---|
| 2833 | # the first set of double-colon rules, so remove it if not needed.
 | 
|---|
| 2834 | # If there is a colon in the path, we need to keep it.
 | 
|---|
| 2835 | if test "x$srcdir" = x.; then
 | 
|---|
| 2836 |   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
 | 
|---|
| 2837 | fi
 | 
|---|
| 2838 | 
 | 
|---|
| 2839 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
 | 
|---|
| 2840 | 
 | 
|---|
| 2841 | # Transform confdefs.h into DEFS.
 | 
|---|
| 2842 | # Protect against shell expansion while executing Makefile rules.
 | 
|---|
| 2843 | # Protect against Makefile macro expansion.
 | 
|---|
| 2844 | #
 | 
|---|
| 2845 | # If the first sed substitution is executed (which looks for macros that
 | 
|---|
| 2846 | # take arguments), then we branch to the quote section.  Otherwise,
 | 
|---|
| 2847 | # look for a macro that doesn't take arguments.
 | 
|---|
| 2848 | cat >confdef2opt.sed <<\_ACEOF
 | 
|---|
| 2849 | t clear
 | 
|---|
| 2850 | : clear
 | 
|---|
| 2851 | s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
 | 
|---|
| 2852 | t quote
 | 
|---|
| 2853 | s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
 | 
|---|
| 2854 | t quote
 | 
|---|
| 2855 | d
 | 
|---|
| 2856 | : quote
 | 
|---|
| 2857 | s,[     `~#$^&*(){}\\|;'"<>?],\\&,g
 | 
|---|
| 2858 | s,\[,\\&,g
 | 
|---|
| 2859 | s,\],\\&,g
 | 
|---|
| 2860 | s,\$,$$,g
 | 
|---|
| 2861 | p
 | 
|---|
| 2862 | _ACEOF
 | 
|---|
| 2863 | # We use echo to avoid assuming a particular line-breaking character.
 | 
|---|
| 2864 | # The extra dot is to prevent the shell from consuming trailing
 | 
|---|
| 2865 | # line-breaks from the sub-command output.  A line-break within
 | 
|---|
| 2866 | # single-quotes doesn't work because, if this script is created in a
 | 
|---|
| 2867 | # platform that uses two characters for line-breaks (e.g., DOS), tr
 | 
|---|
| 2868 | # would break.
 | 
|---|
| 2869 | ac_LF_and_DOT=`echo; echo .`
 | 
|---|
| 2870 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
 | 
|---|
| 2871 | rm -f confdef2opt.sed
 | 
|---|
| 2872 | 
 | 
|---|
| 2873 | 
 | 
|---|
| 2874 | # Without the "./", some shells look in PATH for config.status.
 | 
|---|
| 2875 | : ${CONFIG_STATUS=./config.status}
 | 
|---|
| 2876 | 
 | 
|---|
| 2877 | echo creating $CONFIG_STATUS
 | 
|---|
| 2878 | rm -f $CONFIG_STATUS
 | 
|---|
| 2879 | cat > $CONFIG_STATUS <<EOF
 | 
|---|
| 2880 | #! /bin/sh
 | 
|---|
| 2881 | # Generated automatically by configure.
 | 
|---|
| 2882 | # Run this file to recreate the current configuration.
 | 
|---|
| 2883 | # This directory was configured as follows,
 | 
|---|
| 2884 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 | 
|---|
| 2885 | #
 | 
|---|
| 2886 | # $0 $ac_configure_args
 | 
|---|
| 2887 | #
 | 
|---|
| 2888 | # Compiler output produced by configure, useful for debugging
 | 
|---|
| 2889 | # configure, is in ./config.log if it exists.
 | 
|---|
| 2890 | 
 | 
|---|
| 2891 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
 | 
|---|
| 2892 | for ac_option
 | 
|---|
| 2893 | do
 | 
|---|
| 2894 |   case "\$ac_option" in
 | 
|---|
| 2895 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 | 
|---|
| 2896 |     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
 | 
|---|
| 2897 |     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
 | 
|---|
| 2898 |   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
 | 
|---|
| 2899 |     echo "$CONFIG_STATUS generated by autoconf version 2.13"
 | 
|---|
| 2900 |     exit 0 ;;
 | 
|---|
| 2901 |   -help | --help | --hel | --he | --h)
 | 
|---|
| 2902 |     echo "\$ac_cs_usage"; exit 0 ;;
 | 
|---|
| 2903 |   *) echo "\$ac_cs_usage"; exit 1 ;;
 | 
|---|
| 2904 |   esac
 | 
|---|
| 2905 | done
 | 
|---|
| 2906 | 
 | 
|---|
| 2907 | ac_given_srcdir=$srcdir
 | 
|---|
| 2908 | ac_given_INSTALL="$INSTALL"
 | 
|---|
| 2909 | 
 | 
|---|
| 2910 | trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
 | 
|---|
| 2911 | EOF
 | 
|---|
| 2912 | cat >> $CONFIG_STATUS <<EOF
 | 
|---|
| 2913 | 
 | 
|---|
| 2914 | # Protect against being on the right side of a sed subst in config.status.
 | 
|---|
| 2915 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
 | 
|---|
| 2916 |  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
 | 
|---|
| 2917 | $ac_vpsub
 | 
|---|
| 2918 | $extrasub
 | 
|---|
| 2919 | s%@SHELL@%$SHELL%g
 | 
|---|
| 2920 | s%@CFLAGS@%$CFLAGS%g
 | 
|---|
| 2921 | s%@CPPFLAGS@%$CPPFLAGS%g
 | 
|---|
| 2922 | s%@CXXFLAGS@%$CXXFLAGS%g
 | 
|---|
| 2923 | s%@FFLAGS@%$FFLAGS%g
 | 
|---|
| 2924 | s%@DEFS@%$DEFS%g
 | 
|---|
| 2925 | s%@LDFLAGS@%$LDFLAGS%g
 | 
|---|
| 2926 | s%@LIBS@%$LIBS%g
 | 
|---|
| 2927 | s%@exec_prefix@%$exec_prefix%g
 | 
|---|
| 2928 | s%@prefix@%$prefix%g
 | 
|---|
| 2929 | s%@program_transform_name@%$program_transform_name%g
 | 
|---|
| 2930 | s%@bindir@%$bindir%g
 | 
|---|
| 2931 | s%@sbindir@%$sbindir%g
 | 
|---|
| 2932 | s%@libexecdir@%$libexecdir%g
 | 
|---|
| 2933 | s%@datadir@%$datadir%g
 | 
|---|
| 2934 | s%@sysconfdir@%$sysconfdir%g
 | 
|---|
| 2935 | s%@sharedstatedir@%$sharedstatedir%g
 | 
|---|
| 2936 | s%@localstatedir@%$localstatedir%g
 | 
|---|
| 2937 | s%@libdir@%$libdir%g
 | 
|---|
| 2938 | s%@includedir@%$includedir%g
 | 
|---|
| 2939 | s%@oldincludedir@%$oldincludedir%g
 | 
|---|
| 2940 | s%@infodir@%$infodir%g
 | 
|---|
| 2941 | s%@mandir@%$mandir%g
 | 
|---|
| 2942 | s%@zlib_basedir@%$zlib_basedir%g
 | 
|---|
| 2943 | s%@host@%$host%g
 | 
|---|
| 2944 | s%@host_alias@%$host_alias%g
 | 
|---|
| 2945 | s%@host_cpu@%$host_cpu%g
 | 
|---|
| 2946 | s%@host_vendor@%$host_vendor%g
 | 
|---|
| 2947 | s%@host_os@%$host_os%g
 | 
|---|
| 2948 | s%@target@%$target%g
 | 
|---|
| 2949 | s%@target_alias@%$target_alias%g
 | 
|---|
| 2950 | s%@target_cpu@%$target_cpu%g
 | 
|---|
| 2951 | s%@target_vendor@%$target_vendor%g
 | 
|---|
| 2952 | s%@target_os@%$target_os%g
 | 
|---|
| 2953 | s%@build@%$build%g
 | 
|---|
| 2954 | s%@build_alias@%$build_alias%g
 | 
|---|
| 2955 | s%@build_cpu@%$build_cpu%g
 | 
|---|
| 2956 | s%@build_vendor@%$build_vendor%g
 | 
|---|
| 2957 | s%@build_os@%$build_os%g
 | 
|---|
| 2958 | s%@mkinstalldirs@%$mkinstalldirs%g
 | 
|---|
| 2959 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
 | 
|---|
| 2960 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
 | 
|---|
| 2961 | s%@INSTALL_DATA@%$INSTALL_DATA%g
 | 
|---|
| 2962 | s%@PACKAGE@%$PACKAGE%g
 | 
|---|
| 2963 | s%@VERSION@%$VERSION%g
 | 
|---|
| 2964 | s%@ACLOCAL@%$ACLOCAL%g
 | 
|---|
| 2965 | s%@AUTOCONF@%$AUTOCONF%g
 | 
|---|
| 2966 | s%@AUTOMAKE@%$AUTOMAKE%g
 | 
|---|
| 2967 | s%@AUTOHEADER@%$AUTOHEADER%g
 | 
|---|
| 2968 | s%@MAKEINFO@%$MAKEINFO%g
 | 
|---|
| 2969 | s%@SET_MAKE@%$SET_MAKE%g
 | 
|---|
| 2970 | s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
 | 
|---|
| 2971 | s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
 | 
|---|
| 2972 | s%@MAINT@%$MAINT%g
 | 
|---|
| 2973 | s%@CC@%$CC%g
 | 
|---|
| 2974 | s%@EXEEXT@%$EXEEXT%g
 | 
|---|
| 2975 | s%@LN_S@%$LN_S%g
 | 
|---|
| 2976 | s%@OBJEXT@%$OBJEXT%g
 | 
|---|
| 2977 | s%@RANLIB@%$RANLIB%g
 | 
|---|
| 2978 | s%@STRIP@%$STRIP%g
 | 
|---|
| 2979 | s%@LIBTOOL@%$LIBTOOL%g
 | 
|---|
| 2980 | s%@COMPPATH@%$COMPPATH%g
 | 
|---|
| 2981 | s%@CPP@%$CPP%g
 | 
|---|
| 2982 | s%@target_all@%$target_all%g
 | 
|---|
| 2983 | s%@toolexecdir@%$toolexecdir%g
 | 
|---|
| 2984 | s%@toolexeclibdir@%$toolexeclibdir%g
 | 
|---|
| 2985 | s%@TARGET_LIBRARY_TRUE@%$TARGET_LIBRARY_TRUE%g
 | 
|---|
| 2986 | s%@TARGET_LIBRARY_FALSE@%$TARGET_LIBRARY_FALSE%g
 | 
|---|
| 2987 | 
 | 
|---|
| 2988 | CEOF
 | 
|---|
| 2989 | EOF
 | 
|---|
| 2990 | 
 | 
|---|
| 2991 | cat >> $CONFIG_STATUS <<\EOF
 | 
|---|
| 2992 | 
 | 
|---|
| 2993 | # Split the substitutions into bite-sized pieces for seds with
 | 
|---|
| 2994 | # small command number limits, like on Digital OSF/1 and HP-UX.
 | 
|---|
| 2995 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
 | 
|---|
| 2996 | ac_file=1 # Number of current file.
 | 
|---|
| 2997 | ac_beg=1 # First line for current file.
 | 
|---|
| 2998 | ac_end=$ac_max_sed_cmds # Line after last line for current file.
 | 
|---|
| 2999 | ac_more_lines=:
 | 
|---|
| 3000 | ac_sed_cmds=""
 | 
|---|
| 3001 | while $ac_more_lines; do
 | 
|---|
| 3002 |   if test $ac_beg -gt 1; then
 | 
|---|
| 3003 |     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
 | 
|---|
| 3004 |   else
 | 
|---|
| 3005 |     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
 | 
|---|
| 3006 |   fi
 | 
|---|
| 3007 |   if test ! -s conftest.s$ac_file; then
 | 
|---|
| 3008 |     ac_more_lines=false
 | 
|---|
| 3009 |     rm -f conftest.s$ac_file
 | 
|---|
| 3010 |   else
 | 
|---|
| 3011 |     if test -z "$ac_sed_cmds"; then
 | 
|---|
| 3012 |       ac_sed_cmds="sed -f conftest.s$ac_file"
 | 
|---|
| 3013 |     else
 | 
|---|
| 3014 |       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
 | 
|---|
| 3015 |     fi
 | 
|---|
| 3016 |     ac_file=`expr $ac_file + 1`
 | 
|---|
| 3017 |     ac_beg=$ac_end
 | 
|---|
| 3018 |     ac_end=`expr $ac_end + $ac_max_sed_cmds`
 | 
|---|
| 3019 |   fi
 | 
|---|
| 3020 | done
 | 
|---|
| 3021 | if test -z "$ac_sed_cmds"; then
 | 
|---|
| 3022 |   ac_sed_cmds=cat
 | 
|---|
| 3023 | fi
 | 
|---|
| 3024 | EOF
 | 
|---|
| 3025 | 
 | 
|---|
| 3026 | cat >> $CONFIG_STATUS <<EOF
 | 
|---|
| 3027 | 
 | 
|---|
| 3028 | CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
 | 
|---|
| 3029 | EOF
 | 
|---|
| 3030 | cat >> $CONFIG_STATUS <<\EOF
 | 
|---|
| 3031 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
 | 
|---|
| 3032 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
 | 
|---|
| 3033 |   case "$ac_file" in
 | 
|---|
| 3034 |   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
 | 
|---|
| 3035 |        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
 | 
|---|
| 3036 |   *) ac_file_in="${ac_file}.in" ;;
 | 
|---|
| 3037 |   esac
 | 
|---|
| 3038 | 
 | 
|---|
| 3039 |   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
 | 
|---|
| 3040 | 
 | 
|---|
| 3041 |   # Remove last slash and all that follows it.  Not all systems have dirname.
 | 
|---|
| 3042 |   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
 | 
|---|
| 3043 |   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
 | 
|---|
| 3044 |     # The file is in a subdirectory.
 | 
|---|
| 3045 |     test ! -d "$ac_dir" && mkdir "$ac_dir"
 | 
|---|
| 3046 |     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
 | 
|---|
| 3047 |     # A "../" for each directory in $ac_dir_suffix.
 | 
|---|
| 3048 |     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
 | 
|---|
| 3049 |   else
 | 
|---|
| 3050 |     ac_dir_suffix= ac_dots=
 | 
|---|
| 3051 |   fi
 | 
|---|
| 3052 | 
 | 
|---|
| 3053 |   case "$ac_given_srcdir" in
 | 
|---|
| 3054 |   .)  srcdir=.
 | 
|---|
| 3055 |       if test -z "$ac_dots"; then top_srcdir=.
 | 
|---|
| 3056 |       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
 | 
|---|
| 3057 |   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
 | 
|---|
| 3058 |   *) # Relative path.
 | 
|---|
| 3059 |     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
 | 
|---|
| 3060 |     top_srcdir="$ac_dots$ac_given_srcdir" ;;
 | 
|---|
| 3061 |   esac
 | 
|---|
| 3062 | 
 | 
|---|
| 3063 |   case "$ac_given_INSTALL" in
 | 
|---|
| 3064 |   [/$]*) INSTALL="$ac_given_INSTALL" ;;
 | 
|---|
| 3065 |   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
 | 
|---|
| 3066 |   esac
 | 
|---|
| 3067 | 
 | 
|---|
| 3068 |   echo creating "$ac_file"
 | 
|---|
| 3069 |   rm -f "$ac_file"
 | 
|---|
| 3070 |   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
 | 
|---|
| 3071 |   case "$ac_file" in
 | 
|---|
| 3072 |   *Makefile*) ac_comsub="1i\\
 | 
|---|
| 3073 | # $configure_input" ;;
 | 
|---|
| 3074 |   *) ac_comsub= ;;
 | 
|---|
| 3075 |   esac
 | 
|---|
| 3076 | 
 | 
|---|
| 3077 |   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
 | 
|---|
| 3078 |   sed -e "$ac_comsub
 | 
|---|
| 3079 | s%@configure_input@%$configure_input%g
 | 
|---|
| 3080 | s%@srcdir@%$srcdir%g
 | 
|---|
| 3081 | s%@top_srcdir@%$top_srcdir%g
 | 
|---|
| 3082 | s%@INSTALL@%$INSTALL%g
 | 
|---|
| 3083 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
 | 
|---|
| 3084 | fi; done
 | 
|---|
| 3085 | rm -f conftest.s*
 | 
|---|
| 3086 | 
 | 
|---|
| 3087 | EOF
 | 
|---|
| 3088 | cat >> $CONFIG_STATUS <<EOF
 | 
|---|
| 3089 | srcdir=${srcdir}
 | 
|---|
| 3090 | host=${host}
 | 
|---|
| 3091 | target=${target}
 | 
|---|
| 3092 | with_multisubdir=${with_multisubdir}
 | 
|---|
| 3093 | ac_configure_args="${multilib_arg} ${ac_configure_args}"
 | 
|---|
| 3094 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 | 
|---|
| 3095 | zlib_basedir=${zlib_basedir}
 | 
|---|
| 3096 | CC="${CC}"
 | 
|---|
| 3097 | CXX="${CXX}"
 | 
|---|
| 3098 | ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
 | 
|---|
| 3099 | 
 | 
|---|
| 3100 | EOF
 | 
|---|
| 3101 | cat >> $CONFIG_STATUS <<\EOF
 | 
|---|
| 3102 | if test -n "$CONFIG_FILES"; then
 | 
|---|
| 3103 |   LD="${ORIGINAL_LD_FOR_MULTILIBS}"
 | 
|---|
| 3104 |   ac_file=Makefile . ${zlib_basedir}/../config-ml.in
 | 
|---|
| 3105 | fi
 | 
|---|
| 3106 | exit 0
 | 
|---|
| 3107 | EOF
 | 
|---|
| 3108 | chmod +x $CONFIG_STATUS
 | 
|---|
| 3109 | rm -fr confdefs* $ac_clean_files
 | 
|---|
| 3110 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 | 
|---|
| 3111 | 
 | 
|---|