| 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 | --with-target-subdir=SUBDIR
|
|---|
| 16 | configuring in a subdirectory"
|
|---|
| 17 | ac_help="$ac_help
|
|---|
| 18 | --with-cross-host=HOST configuring with a cross compiler"
|
|---|
| 19 | ac_help="$ac_help
|
|---|
| 20 | --enable-multilib build many library versions (default)"
|
|---|
| 21 | ac_help="$ac_help
|
|---|
| 22 | --enable-maintainer-mode enable make rules and dependencies not useful
|
|---|
| 23 | (and sometimes confusing) to the casual installer"
|
|---|
| 24 | ac_help="$ac_help
|
|---|
| 25 | --enable-shared[=PKGS] build shared libraries [default=yes]"
|
|---|
| 26 | ac_help="$ac_help
|
|---|
| 27 | --enable-static[=PKGS] build static libraries [default=yes]"
|
|---|
| 28 | ac_help="$ac_help
|
|---|
| 29 | --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
|
|---|
| 30 | ac_help="$ac_help
|
|---|
| 31 | --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
|
|---|
| 32 | ac_help="$ac_help
|
|---|
| 33 | --disable-libtool-lock avoid locking (might break parallel builds)"
|
|---|
| 34 | ac_help="$ac_help
|
|---|
| 35 | --with-pic try to use only PIC/non-PIC objects [default=use both]"
|
|---|
| 36 | ac_help="$ac_help
|
|---|
| 37 | --disable-getenv-properties
|
|---|
| 38 | don't set system properties from GCJ_PROPERTIES"
|
|---|
| 39 | ac_help="$ac_help
|
|---|
| 40 | --enable-hash-synchronization
|
|---|
| 41 | Use global hash table for monitor locks"
|
|---|
| 42 | ac_help="$ac_help
|
|---|
| 43 | --enable-libgcj-debug enable runtime debugging code"
|
|---|
| 44 | ac_help="$ac_help
|
|---|
| 45 | --enable-interpreter enable interpreter"
|
|---|
| 46 | ac_help="$ac_help
|
|---|
| 47 | --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
|
|---|
| 48 | ac_help="$ac_help
|
|---|
| 49 | --disable-java-net disable java.net"
|
|---|
| 50 | ac_help="$ac_help
|
|---|
| 51 | --without-libffi don't use libffi"
|
|---|
| 52 | ac_help="$ac_help
|
|---|
| 53 | --disable-jvmpi disable JVMPI support"
|
|---|
| 54 | ac_help="$ac_help
|
|---|
| 55 | --with-ecos enable runtime eCos target support"
|
|---|
| 56 | ac_help="$ac_help
|
|---|
| 57 | --with-system-zlib use installed libz"
|
|---|
| 58 | ac_help="$ac_help
|
|---|
| 59 | --enable-java-gc=TYPE choose garbage collector [boehm]"
|
|---|
| 60 | ac_help="$ac_help
|
|---|
| 61 | --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
|
|---|
| 62 | ac_help="$ac_help
|
|---|
| 63 | --with-x use the X Window System"
|
|---|
| 64 | ac_help="$ac_help
|
|---|
| 65 | --enable-java-awt list of AWT peer implementations to be built"
|
|---|
| 66 |
|
|---|
| 67 | # Initialize some variables set by options.
|
|---|
| 68 | # The variables have the same names as the options, with
|
|---|
| 69 | # dashes changed to underlines.
|
|---|
| 70 | build=NONE
|
|---|
| 71 | cache_file=./config.cache
|
|---|
| 72 | exec_prefix=NONE
|
|---|
| 73 | host=NONE
|
|---|
| 74 | no_create=
|
|---|
| 75 | nonopt=NONE
|
|---|
| 76 | no_recursion=
|
|---|
| 77 | prefix=NONE
|
|---|
| 78 | program_prefix=NONE
|
|---|
| 79 | program_suffix=NONE
|
|---|
| 80 | program_transform_name=s,x,x,
|
|---|
| 81 | silent=
|
|---|
| 82 | site=
|
|---|
| 83 | srcdir=
|
|---|
| 84 | target=NONE
|
|---|
| 85 | verbose=
|
|---|
| 86 | x_includes=NONE
|
|---|
| 87 | x_libraries=NONE
|
|---|
| 88 | bindir='${exec_prefix}/bin'
|
|---|
| 89 | sbindir='${exec_prefix}/sbin'
|
|---|
| 90 | libexecdir='${exec_prefix}/libexec'
|
|---|
| 91 | datadir='${prefix}/share'
|
|---|
| 92 | sysconfdir='${prefix}/etc'
|
|---|
| 93 | sharedstatedir='${prefix}/com'
|
|---|
| 94 | localstatedir='${prefix}/var'
|
|---|
| 95 | libdir='${exec_prefix}/lib'
|
|---|
| 96 | includedir='${prefix}/include'
|
|---|
| 97 | oldincludedir='/usr/include'
|
|---|
| 98 | infodir='${prefix}/info'
|
|---|
| 99 | mandir='${prefix}/man'
|
|---|
| 100 |
|
|---|
| 101 | # Initialize some other variables.
|
|---|
| 102 | subdirs=
|
|---|
| 103 | MFLAGS= MAKEFLAGS=
|
|---|
| 104 | SHELL=${CONFIG_SHELL-/bin/sh}
|
|---|
| 105 | # Maximum number of lines to put in a shell here document.
|
|---|
| 106 | ac_max_here_lines=12
|
|---|
| 107 |
|
|---|
| 108 | ac_prev=
|
|---|
| 109 | for ac_option
|
|---|
| 110 | do
|
|---|
| 111 |
|
|---|
| 112 | # If the previous option needs an argument, assign it.
|
|---|
| 113 | if test -n "$ac_prev"; then
|
|---|
| 114 | eval "$ac_prev=\$ac_option"
|
|---|
| 115 | ac_prev=
|
|---|
| 116 | continue
|
|---|
| 117 | fi
|
|---|
| 118 |
|
|---|
| 119 | case "$ac_option" in
|
|---|
| 120 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|---|
| 121 | *) ac_optarg= ;;
|
|---|
| 122 | esac
|
|---|
| 123 |
|
|---|
| 124 | # Accept the important Cygnus configure options, so we can diagnose typos.
|
|---|
| 125 |
|
|---|
| 126 | case "$ac_option" in
|
|---|
| 127 |
|
|---|
| 128 | -bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|---|
| 129 | ac_prev=bindir ;;
|
|---|
| 130 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|---|
| 131 | bindir="$ac_optarg" ;;
|
|---|
| 132 |
|
|---|
| 133 | -build | --build | --buil | --bui | --bu)
|
|---|
| 134 | ac_prev=build ;;
|
|---|
| 135 | -build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|---|
| 136 | build="$ac_optarg" ;;
|
|---|
| 137 |
|
|---|
| 138 | -cache-file | --cache-file | --cache-fil | --cache-fi \
|
|---|
| 139 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|---|
| 140 | ac_prev=cache_file ;;
|
|---|
| 141 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|---|
| 142 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|---|
| 143 | cache_file="$ac_optarg" ;;
|
|---|
| 144 |
|
|---|
| 145 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|---|
| 146 | ac_prev=datadir ;;
|
|---|
| 147 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|---|
| 148 | | --da=*)
|
|---|
| 149 | datadir="$ac_optarg" ;;
|
|---|
| 150 |
|
|---|
| 151 | -disable-* | --disable-*)
|
|---|
| 152 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
|
|---|
| 153 | # Reject names that are not valid shell variable names.
|
|---|
| 154 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
|---|
| 155 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|---|
| 156 | fi
|
|---|
| 157 | ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|---|
| 158 | eval "enable_${ac_feature}=no" ;;
|
|---|
| 159 |
|
|---|
| 160 | -enable-* | --enable-*)
|
|---|
| 161 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
|
|---|
| 162 | # Reject names that are not valid shell variable names.
|
|---|
| 163 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
|---|
| 164 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|---|
| 165 | fi
|
|---|
| 166 | ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|---|
| 167 | case "$ac_option" in
|
|---|
| 168 | *=*) ;;
|
|---|
| 169 | *) ac_optarg=yes ;;
|
|---|
| 170 | esac
|
|---|
| 171 | eval "enable_${ac_feature}='$ac_optarg'" ;;
|
|---|
| 172 |
|
|---|
| 173 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|---|
| 174 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|---|
| 175 | | --exec | --exe | --ex)
|
|---|
| 176 | ac_prev=exec_prefix ;;
|
|---|
| 177 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|---|
| 178 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|---|
| 179 | | --exec=* | --exe=* | --ex=*)
|
|---|
| 180 | exec_prefix="$ac_optarg" ;;
|
|---|
| 181 |
|
|---|
| 182 | -gas | --gas | --ga | --g)
|
|---|
| 183 | # Obsolete; use --with-gas.
|
|---|
| 184 | with_gas=yes ;;
|
|---|
| 185 |
|
|---|
| 186 | -help | --help | --hel | --he)
|
|---|
| 187 | # Omit some internal or obsolete options to make the list less imposing.
|
|---|
| 188 | # This message is too long to be a string in the A/UX 3.1 sh.
|
|---|
| 189 | cat << EOF
|
|---|
| 190 | Usage: configure [options] [host]
|
|---|
| 191 | Options: [defaults in brackets after descriptions]
|
|---|
| 192 | Configuration:
|
|---|
| 193 | --cache-file=FILE cache test results in FILE
|
|---|
| 194 | --help print this message
|
|---|
| 195 | --no-create do not create output files
|
|---|
| 196 | --quiet, --silent do not print \`checking...' messages
|
|---|
| 197 | --version print the version of autoconf that created configure
|
|---|
| 198 | Directory and file names:
|
|---|
| 199 | --prefix=PREFIX install architecture-independent files in PREFIX
|
|---|
| 200 | [$ac_default_prefix]
|
|---|
| 201 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|---|
| 202 | [same as prefix]
|
|---|
| 203 | --bindir=DIR user executables in DIR [EPREFIX/bin]
|
|---|
| 204 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
|
|---|
| 205 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
|
|---|
| 206 | --datadir=DIR read-only architecture-independent data in DIR
|
|---|
| 207 | [PREFIX/share]
|
|---|
| 208 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
|
|---|
| 209 | --sharedstatedir=DIR modifiable architecture-independent data in DIR
|
|---|
| 210 | [PREFIX/com]
|
|---|
| 211 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
|
|---|
| 212 | --libdir=DIR object code libraries in DIR [EPREFIX/lib]
|
|---|
| 213 | --includedir=DIR C header files in DIR [PREFIX/include]
|
|---|
| 214 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
|---|
| 215 | --infodir=DIR info documentation in DIR [PREFIX/info]
|
|---|
| 216 | --mandir=DIR man documentation in DIR [PREFIX/man]
|
|---|
| 217 | --srcdir=DIR find the sources in DIR [configure dir or ..]
|
|---|
| 218 | --program-prefix=PREFIX prepend PREFIX to installed program names
|
|---|
| 219 | --program-suffix=SUFFIX append SUFFIX to installed program names
|
|---|
| 220 | --program-transform-name=PROGRAM
|
|---|
| 221 | run sed PROGRAM on installed program names
|
|---|
| 222 | EOF
|
|---|
| 223 | cat << EOF
|
|---|
| 224 | Host type:
|
|---|
| 225 | --build=BUILD configure for building on BUILD [BUILD=HOST]
|
|---|
| 226 | --host=HOST configure for HOST [guessed]
|
|---|
| 227 | --target=TARGET configure for TARGET [TARGET=HOST]
|
|---|
| 228 | Features and packages:
|
|---|
| 229 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|---|
| 230 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|---|
| 231 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|---|
| 232 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|---|
| 233 | --x-includes=DIR X include files are in DIR
|
|---|
| 234 | --x-libraries=DIR X library files are in DIR
|
|---|
| 235 | EOF
|
|---|
| 236 | if test -n "$ac_help"; then
|
|---|
| 237 | echo "--enable and --with options recognized:$ac_help"
|
|---|
| 238 | fi
|
|---|
| 239 | exit 0 ;;
|
|---|
| 240 |
|
|---|
| 241 | -host | --host | --hos | --ho)
|
|---|
| 242 | ac_prev=host ;;
|
|---|
| 243 | -host=* | --host=* | --hos=* | --ho=*)
|
|---|
| 244 | host="$ac_optarg" ;;
|
|---|
| 245 |
|
|---|
| 246 | -includedir | --includedir | --includedi | --included | --include \
|
|---|
| 247 | | --includ | --inclu | --incl | --inc)
|
|---|
| 248 | ac_prev=includedir ;;
|
|---|
| 249 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|---|
| 250 | | --includ=* | --inclu=* | --incl=* | --inc=*)
|
|---|
| 251 | includedir="$ac_optarg" ;;
|
|---|
| 252 |
|
|---|
| 253 | -infodir | --infodir | --infodi | --infod | --info | --inf)
|
|---|
| 254 | ac_prev=infodir ;;
|
|---|
| 255 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|---|
| 256 | infodir="$ac_optarg" ;;
|
|---|
| 257 |
|
|---|
| 258 | -libdir | --libdir | --libdi | --libd)
|
|---|
| 259 | ac_prev=libdir ;;
|
|---|
| 260 | -libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|---|
| 261 | libdir="$ac_optarg" ;;
|
|---|
| 262 |
|
|---|
| 263 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|---|
| 264 | | --libexe | --libex | --libe)
|
|---|
| 265 | ac_prev=libexecdir ;;
|
|---|
| 266 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|---|
| 267 | | --libexe=* | --libex=* | --libe=*)
|
|---|
| 268 | libexecdir="$ac_optarg" ;;
|
|---|
| 269 |
|
|---|
| 270 | -localstatedir | --localstatedir | --localstatedi | --localstated \
|
|---|
| 271 | | --localstate | --localstat | --localsta | --localst \
|
|---|
| 272 | | --locals | --local | --loca | --loc | --lo)
|
|---|
| 273 | ac_prev=localstatedir ;;
|
|---|
| 274 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|---|
| 275 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|---|
| 276 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|---|
| 277 | localstatedir="$ac_optarg" ;;
|
|---|
| 278 |
|
|---|
| 279 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|---|
| 280 | ac_prev=mandir ;;
|
|---|
| 281 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|---|
| 282 | mandir="$ac_optarg" ;;
|
|---|
| 283 |
|
|---|
| 284 | -nfp | --nfp | --nf)
|
|---|
| 285 | # Obsolete; use --without-fp.
|
|---|
| 286 | with_fp=no ;;
|
|---|
| 287 |
|
|---|
| 288 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|---|
| 289 | | --no-cr | --no-c)
|
|---|
| 290 | no_create=yes ;;
|
|---|
| 291 |
|
|---|
| 292 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|---|
| 293 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|---|
| 294 | no_recursion=yes ;;
|
|---|
| 295 |
|
|---|
| 296 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|---|
| 297 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|---|
| 298 | | --oldin | --oldi | --old | --ol | --o)
|
|---|
| 299 | ac_prev=oldincludedir ;;
|
|---|
| 300 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|---|
| 301 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|---|
| 302 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|---|
| 303 | oldincludedir="$ac_optarg" ;;
|
|---|
| 304 |
|
|---|
| 305 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|---|
| 306 | ac_prev=prefix ;;
|
|---|
| 307 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|---|
| 308 | prefix="$ac_optarg" ;;
|
|---|
| 309 |
|
|---|
| 310 | -program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|---|
| 311 | | --program-pre | --program-pr | --program-p)
|
|---|
| 312 | ac_prev=program_prefix ;;
|
|---|
| 313 | -program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|---|
| 314 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|---|
| 315 | program_prefix="$ac_optarg" ;;
|
|---|
| 316 |
|
|---|
| 317 | -program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|---|
| 318 | | --program-suf | --program-su | --program-s)
|
|---|
| 319 | ac_prev=program_suffix ;;
|
|---|
| 320 | -program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|---|
| 321 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|---|
| 322 | program_suffix="$ac_optarg" ;;
|
|---|
| 323 |
|
|---|
| 324 | -program-transform-name | --program-transform-name \
|
|---|
| 325 | | --program-transform-nam | --program-transform-na \
|
|---|
| 326 | | --program-transform-n | --program-transform- \
|
|---|
| 327 | | --program-transform | --program-transfor \
|
|---|
| 328 | | --program-transfo | --program-transf \
|
|---|
| 329 | | --program-trans | --program-tran \
|
|---|
| 330 | | --progr-tra | --program-tr | --program-t)
|
|---|
| 331 | ac_prev=program_transform_name ;;
|
|---|
| 332 | -program-transform-name=* | --program-transform-name=* \
|
|---|
| 333 | | --program-transform-nam=* | --program-transform-na=* \
|
|---|
| 334 | | --program-transform-n=* | --program-transform-=* \
|
|---|
| 335 | | --program-transform=* | --program-transfor=* \
|
|---|
| 336 | | --program-transfo=* | --program-transf=* \
|
|---|
| 337 | | --program-trans=* | --program-tran=* \
|
|---|
| 338 | | --progr-tra=* | --program-tr=* | --program-t=*)
|
|---|
| 339 | program_transform_name="$ac_optarg" ;;
|
|---|
| 340 |
|
|---|
| 341 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|---|
| 342 | | -silent | --silent | --silen | --sile | --sil)
|
|---|
| 343 | silent=yes ;;
|
|---|
| 344 |
|
|---|
| 345 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|---|
| 346 | ac_prev=sbindir ;;
|
|---|
| 347 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|---|
| 348 | | --sbi=* | --sb=*)
|
|---|
| 349 | sbindir="$ac_optarg" ;;
|
|---|
| 350 |
|
|---|
| 351 | -sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|---|
| 352 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|---|
| 353 | | --sharedst | --shareds | --shared | --share | --shar \
|
|---|
| 354 | | --sha | --sh)
|
|---|
| 355 | ac_prev=sharedstatedir ;;
|
|---|
| 356 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|---|
| 357 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|---|
| 358 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|---|
| 359 | | --sha=* | --sh=*)
|
|---|
| 360 | sharedstatedir="$ac_optarg" ;;
|
|---|
| 361 |
|
|---|
| 362 | -site | --site | --sit)
|
|---|
| 363 | ac_prev=site ;;
|
|---|
| 364 | -site=* | --site=* | --sit=*)
|
|---|
| 365 | site="$ac_optarg" ;;
|
|---|
| 366 |
|
|---|
| 367 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|---|
| 368 | ac_prev=srcdir ;;
|
|---|
| 369 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|---|
| 370 | srcdir="$ac_optarg" ;;
|
|---|
| 371 |
|
|---|
| 372 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|---|
| 373 | | --syscon | --sysco | --sysc | --sys | --sy)
|
|---|
| 374 | ac_prev=sysconfdir ;;
|
|---|
| 375 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|---|
| 376 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|---|
| 377 | sysconfdir="$ac_optarg" ;;
|
|---|
| 378 |
|
|---|
| 379 | -target | --target | --targe | --targ | --tar | --ta | --t)
|
|---|
| 380 | ac_prev=target ;;
|
|---|
| 381 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|---|
| 382 | target="$ac_optarg" ;;
|
|---|
| 383 |
|
|---|
| 384 | -v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|---|
| 385 | verbose=yes ;;
|
|---|
| 386 |
|
|---|
| 387 | -version | --version | --versio | --versi | --vers)
|
|---|
| 388 | echo "configure generated by autoconf version 2.13"
|
|---|
| 389 | exit 0 ;;
|
|---|
| 390 |
|
|---|
| 391 | -with-* | --with-*)
|
|---|
| 392 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
|
|---|
| 393 | # Reject names that are not valid shell variable names.
|
|---|
| 394 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
|---|
| 395 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
|---|
| 396 | fi
|
|---|
| 397 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|---|
| 398 | case "$ac_option" in
|
|---|
| 399 | *=*) ;;
|
|---|
| 400 | *) ac_optarg=yes ;;
|
|---|
| 401 | esac
|
|---|
| 402 | eval "with_${ac_package}='$ac_optarg'" ;;
|
|---|
| 403 |
|
|---|
| 404 | -without-* | --without-*)
|
|---|
| 405 | ac_package=`echo $ac_option|sed -e 's/-*without-//'`
|
|---|
| 406 | # Reject names that are not valid shell variable names.
|
|---|
| 407 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
|---|
| 408 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
|---|
| 409 | fi
|
|---|
| 410 | ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|---|
| 411 | eval "with_${ac_package}=no" ;;
|
|---|
| 412 |
|
|---|
| 413 | --x)
|
|---|
| 414 | # Obsolete; use --with-x.
|
|---|
| 415 | with_x=yes ;;
|
|---|
| 416 |
|
|---|
| 417 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|---|
| 418 | | --x-incl | --x-inc | --x-in | --x-i)
|
|---|
| 419 | ac_prev=x_includes ;;
|
|---|
| 420 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|---|
| 421 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|---|
| 422 | x_includes="$ac_optarg" ;;
|
|---|
| 423 |
|
|---|
| 424 | -x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|---|
| 425 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|---|
| 426 | ac_prev=x_libraries ;;
|
|---|
| 427 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|---|
| 428 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|---|
| 429 | x_libraries="$ac_optarg" ;;
|
|---|
| 430 |
|
|---|
| 431 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
|
|---|
| 432 | ;;
|
|---|
| 433 |
|
|---|
| 434 | *)
|
|---|
| 435 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
|
|---|
| 436 | echo "configure: warning: $ac_option: invalid host type" 1>&2
|
|---|
| 437 | fi
|
|---|
| 438 | if test "x$nonopt" != xNONE; then
|
|---|
| 439 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
|
|---|
| 440 | fi
|
|---|
| 441 | nonopt="$ac_option"
|
|---|
| 442 | ;;
|
|---|
| 443 |
|
|---|
| 444 | esac
|
|---|
| 445 | done
|
|---|
| 446 |
|
|---|
| 447 | if test -n "$ac_prev"; then
|
|---|
| 448 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
|
|---|
| 449 | fi
|
|---|
| 450 |
|
|---|
| 451 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
|---|
| 452 |
|
|---|
| 453 | # File descriptor usage:
|
|---|
| 454 | # 0 standard input
|
|---|
| 455 | # 1 file creation
|
|---|
| 456 | # 2 errors and warnings
|
|---|
| 457 | # 3 some systems may open it to /dev/tty
|
|---|
| 458 | # 4 used on the Kubota Titan
|
|---|
| 459 | # 6 checking for... messages and results
|
|---|
| 460 | # 5 compiler messages saved in config.log
|
|---|
| 461 | if test "$silent" = yes; then
|
|---|
| 462 | exec 6>/dev/null
|
|---|
| 463 | else
|
|---|
| 464 | exec 6>&1
|
|---|
| 465 | fi
|
|---|
| 466 | exec 5>./config.log
|
|---|
| 467 |
|
|---|
| 468 | echo "\
|
|---|
| 469 | This file contains any messages produced by compilers while
|
|---|
| 470 | running configure, to aid debugging if configure makes a mistake.
|
|---|
| 471 | " 1>&5
|
|---|
| 472 |
|
|---|
| 473 | # Strip out --no-create and --no-recursion so they do not pile up.
|
|---|
| 474 | # Also quote any args containing shell metacharacters.
|
|---|
| 475 | ac_configure_args=
|
|---|
| 476 | for ac_arg
|
|---|
| 477 | do
|
|---|
| 478 | case "$ac_arg" in
|
|---|
| 479 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|---|
| 480 | | --no-cr | --no-c) ;;
|
|---|
| 481 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|---|
| 482 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
|---|
| 483 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
|
|---|
| 484 | ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|---|
| 485 | *) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
|---|
| 486 | esac
|
|---|
| 487 | done
|
|---|
| 488 |
|
|---|
| 489 | # NLS nuisances.
|
|---|
| 490 | # Only set these to C if already set. These must not be set unconditionally
|
|---|
| 491 | # because not all systems understand e.g. LANG=C (notably SCO).
|
|---|
| 492 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
|---|
| 493 | # Non-C LC_CTYPE values break the ctype check.
|
|---|
| 494 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
|---|
| 495 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
|---|
| 496 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
|---|
| 497 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
|---|
| 498 |
|
|---|
| 499 | # confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|---|
| 500 | rm -rf conftest* confdefs.h
|
|---|
| 501 | # AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|---|
| 502 | echo > confdefs.h
|
|---|
| 503 |
|
|---|
| 504 | # A filename unique to this package, relative to the directory that
|
|---|
| 505 | # configure is in, which we can look for to find out if srcdir is correct.
|
|---|
| 506 | ac_unique_file=java/lang/System.java
|
|---|
| 507 |
|
|---|
| 508 | # Find the source files, if location was not specified.
|
|---|
| 509 | if test -z "$srcdir"; then
|
|---|
| 510 | ac_srcdir_defaulted=yes
|
|---|
| 511 | # Try the directory containing this script, then its parent.
|
|---|
| 512 | ac_prog=$0
|
|---|
| 513 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
|
|---|
| 514 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
|---|
| 515 | srcdir=$ac_confdir
|
|---|
| 516 | if test ! -r $srcdir/$ac_unique_file; then
|
|---|
| 517 | srcdir=..
|
|---|
| 518 | fi
|
|---|
| 519 | else
|
|---|
| 520 | ac_srcdir_defaulted=no
|
|---|
| 521 | fi
|
|---|
| 522 | if test ! -r $srcdir/$ac_unique_file; then
|
|---|
| 523 | if test "$ac_srcdir_defaulted" = yes; then
|
|---|
| 524 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
|
|---|
| 525 | else
|
|---|
| 526 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
|
|---|
| 527 | fi
|
|---|
| 528 | fi
|
|---|
| 529 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
|
|---|
| 530 |
|
|---|
| 531 | # Prefer explicitly selected file to automatically selected ones.
|
|---|
| 532 | if test -z "$CONFIG_SITE"; then
|
|---|
| 533 | if test "x$prefix" != xNONE; then
|
|---|
| 534 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
|---|
| 535 | else
|
|---|
| 536 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|---|
| 537 | fi
|
|---|
| 538 | fi
|
|---|
| 539 | for ac_site_file in $CONFIG_SITE; do
|
|---|
| 540 | if test -r "$ac_site_file"; then
|
|---|
| 541 | echo "loading site script $ac_site_file"
|
|---|
| 542 | . "$ac_site_file"
|
|---|
| 543 | fi
|
|---|
| 544 | done
|
|---|
| 545 |
|
|---|
| 546 | if test -r "$cache_file"; then
|
|---|
| 547 | echo "loading cache $cache_file"
|
|---|
| 548 | . $cache_file
|
|---|
| 549 | else
|
|---|
| 550 | echo "creating cache $cache_file"
|
|---|
| 551 | > $cache_file
|
|---|
| 552 | fi
|
|---|
| 553 |
|
|---|
| 554 | ac_ext=c
|
|---|
| 555 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|---|
| 556 | ac_cpp='$CPP $CPPFLAGS'
|
|---|
| 557 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|---|
| 558 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|---|
| 559 | cross_compiling=$ac_cv_prog_cc_cross
|
|---|
| 560 |
|
|---|
| 561 | ac_exeext=
|
|---|
| 562 | ac_objext=o
|
|---|
| 563 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|---|
| 564 | # Stardent Vistra SVR4 grep lacks -e, says [email protected].
|
|---|
| 565 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
|---|
| 566 | ac_n= ac_c='
|
|---|
| 567 | ' ac_t=' '
|
|---|
| 568 | else
|
|---|
| 569 | ac_n=-n ac_c= ac_t=
|
|---|
| 570 | fi
|
|---|
| 571 | else
|
|---|
| 572 | ac_n= ac_c='\c' ac_t=
|
|---|
| 573 | fi
|
|---|
| 574 |
|
|---|
| 575 | echo $ac_n "checking for path separator""... $ac_c" 1>&6
|
|---|
| 576 | echo "configure:577: checking for path separator" >&5
|
|---|
| 577 | # Filter path to get backslahes into forwardslashes
|
|---|
| 578 | case "`uname -s 2> /dev/null`" in
|
|---|
| 579 | OS/2)
|
|---|
| 580 | PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
|
|---|
| 581 | PATH_IFS=';'
|
|---|
| 582 | ;;
|
|---|
| 583 | *)
|
|---|
| 584 | PATH_IFS=':'
|
|---|
| 585 | ;;
|
|---|
| 586 | esac
|
|---|
| 587 | echo "$ac_t""${PATH_IFS}" 1>&6
|
|---|
| 588 |
|
|---|
| 589 | echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
|
|---|
| 590 | echo "configure:591: checking for Cygwin environment" >&5
|
|---|
| 591 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
|
|---|
| 592 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 593 | else
|
|---|
| 594 | cat > conftest.$ac_ext <<EOF
|
|---|
| 595 | #line 596 "configure"
|
|---|
| 596 | #include "confdefs.h"
|
|---|
| 597 |
|
|---|
| 598 | int main() {
|
|---|
| 599 |
|
|---|
| 600 | #ifndef __CYGWIN__
|
|---|
| 601 | #define __CYGWIN__ __CYGWIN32__
|
|---|
| 602 | #endif
|
|---|
| 603 | return __CYGWIN__;
|
|---|
| 604 | ; return 0; }
|
|---|
| 605 | EOF
|
|---|
| 606 | if { (eval echo configure:607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|---|
| 607 | rm -rf conftest*
|
|---|
| 608 | ac_cv_cygwin=yes
|
|---|
| 609 | else
|
|---|
| 610 | echo "configure: failed program was:" >&5
|
|---|
| 611 | cat conftest.$ac_ext >&5
|
|---|
| 612 | rm -rf conftest*
|
|---|
| 613 | ac_cv_cygwin=no
|
|---|
| 614 | fi
|
|---|
| 615 | rm -f conftest*
|
|---|
| 616 | rm -f conftest*
|
|---|
| 617 | fi
|
|---|
| 618 |
|
|---|
| 619 | echo "$ac_t""$ac_cv_cygwin" 1>&6
|
|---|
| 620 | CYGWIN=
|
|---|
| 621 | test "$ac_cv_cygwin" = yes && CYGWIN=yes
|
|---|
| 622 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
|
|---|
| 623 | echo "configure:624: checking for mingw32 environment" >&5
|
|---|
| 624 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
|
|---|
| 625 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 626 | else
|
|---|
| 627 | cat > conftest.$ac_ext <<EOF
|
|---|
| 628 | #line 629 "configure"
|
|---|
| 629 | #include "confdefs.h"
|
|---|
| 630 |
|
|---|
| 631 | int main() {
|
|---|
| 632 | return __MINGW32__;
|
|---|
| 633 | ; return 0; }
|
|---|
| 634 | EOF
|
|---|
| 635 | if { (eval echo configure:636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|---|
| 636 | rm -rf conftest*
|
|---|
| 637 | ac_cv_mingw32=yes
|
|---|
| 638 | else
|
|---|
| 639 | echo "configure: failed program was:" >&5
|
|---|
| 640 | cat conftest.$ac_ext >&5
|
|---|
| 641 | rm -rf conftest*
|
|---|
| 642 | ac_cv_mingw32=no
|
|---|
| 643 | fi
|
|---|
| 644 | rm -f conftest*
|
|---|
| 645 | rm -f conftest*
|
|---|
| 646 | fi
|
|---|
| 647 |
|
|---|
| 648 | echo "$ac_t""$ac_cv_mingw32" 1>&6
|
|---|
| 649 | MINGW32=
|
|---|
| 650 | test "$ac_cv_mingw32" = yes && MINGW32=yes
|
|---|
| 651 | echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
|
|---|
| 652 | echo "configure:653: checking for EMX/OS2 environment" >&5
|
|---|
| 653 | if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
|
|---|
| 654 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 655 | else
|
|---|
| 656 | : ${CC=gcc.exe}
|
|---|
| 657 | cat > conftest.$ac_ext <<EOF
|
|---|
| 658 | #line 659 "configure"
|
|---|
| 659 | #include "confdefs.h"
|
|---|
| 660 |
|
|---|
| 661 | int main() {
|
|---|
| 662 | return __EMX__;
|
|---|
| 663 | ; return 0; }
|
|---|
| 664 | EOF
|
|---|
| 665 | if { (eval echo configure:666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|---|
| 666 | rm -rf conftest*
|
|---|
| 667 | ac_cv_emxos2=yes
|
|---|
| 668 | else
|
|---|
| 669 | echo "configure: failed program was:" >&5
|
|---|
| 670 | cat conftest.$ac_ext >&5
|
|---|
| 671 | rm -rf conftest*
|
|---|
| 672 | ac_cv_emxos2=no
|
|---|
| 673 | fi
|
|---|
| 674 | rm -f conftest*
|
|---|
| 675 | rm -f conftest*
|
|---|
| 676 | fi
|
|---|
| 677 |
|
|---|
| 678 | echo "$ac_t""$ac_cv_emxos2" 1>&6
|
|---|
| 679 | if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
|
|---|
| 680 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 681 | else
|
|---|
| 682 | if test "$ac_cv_emxos2" = yes ; then
|
|---|
| 683 | ac_cv_libpre=
|
|---|
| 684 | else
|
|---|
| 685 | ac_cv_libpre=lib
|
|---|
| 686 | fi
|
|---|
| 687 |
|
|---|
| 688 | fi
|
|---|
| 689 |
|
|---|
| 690 | EMXOS2=
|
|---|
| 691 | test "$ac_cv_emxos2" = yes && EMXOS2=yes
|
|---|
| 692 |
|
|---|
| 693 |
|
|---|
| 694 |
|
|---|
| 695 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
|
|---|
| 696 | echo "configure:697: checking for executable suffix" >&5
|
|---|
| 697 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
|
|---|
| 698 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 699 | else
|
|---|
| 700 | if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
|
|---|
| 701 | ac_cv_exeext=.exe
|
|---|
| 702 | else
|
|---|
| 703 | rm -f conftest*
|
|---|
| 704 | echo 'int main () { return 0; }' > conftest.$ac_ext
|
|---|
| 705 | ac_cv_exeext=
|
|---|
| 706 | if { (eval echo configure:707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
|
|---|
| 707 | for file in conftest.*; do
|
|---|
| 708 | case $file in
|
|---|
| 709 | *.c | *.o | *.obj) ;;
|
|---|
| 710 | *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
|
|---|
| 711 | esac
|
|---|
| 712 | done
|
|---|
| 713 | else
|
|---|
| 714 | { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
|
|---|
| 715 | fi
|
|---|
| 716 | rm -f conftest*
|
|---|
| 717 | test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
|
|---|
| 718 | fi
|
|---|
| 719 | fi
|
|---|
| 720 |
|
|---|
| 721 | EXEEXT=""
|
|---|
| 722 | test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
|
|---|
| 723 | echo "$ac_t""${ac_cv_exeext}" 1>&6
|
|---|
| 724 | ac_exeext=$EXEEXT
|
|---|
| 725 |
|
|---|
| 726 |
|
|---|
| 727 |
|
|---|
| 728 | # This works around the fact that libtool configuration may change LD
|
|---|
| 729 | # for this particular configuration, but some shells, instead of
|
|---|
| 730 | # keeping the changes in LD private, export them just because LD is
|
|---|
| 731 | # exported.
|
|---|
| 732 | ORIGINAL_LD_FOR_MULTILIBS=$LD
|
|---|
| 733 |
|
|---|
| 734 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
|
|---|
| 735 | echo "configure:736: checking whether ln -s works" >&5
|
|---|
| 736 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
|
|---|
| 737 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 738 | else
|
|---|
| 739 | rm -f conftestdata
|
|---|
| 740 | if ln -s X conftestdata 2>/dev/null
|
|---|
| 741 | then
|
|---|
| 742 | rm -f conftestdata
|
|---|
| 743 | ac_cv_prog_LN_S="ln -s"
|
|---|
| 744 | else
|
|---|
| 745 | echo A > conftestdata;
|
|---|
| 746 | if ln conftestdata conftestdata2 2>/dev/null; then
|
|---|
| 747 | ac_cv_prog_LN_S=ln
|
|---|
| 748 | else
|
|---|
| 749 | ac_cv_prog_LN_S=cp
|
|---|
| 750 | fi
|
|---|
| 751 | fi
|
|---|
| 752 | rm -f conftestdata*
|
|---|
| 753 | fi
|
|---|
| 754 | LN_S="$ac_cv_prog_LN_S"
|
|---|
| 755 | if test "$ac_cv_prog_LN_S" = "ln -s"; then
|
|---|
| 756 | echo "$ac_t""yes" 1>&6
|
|---|
| 757 | else
|
|---|
| 758 | echo "$ac_t""no" 1>&6
|
|---|
| 759 | fi
|
|---|
| 760 |
|
|---|
| 761 |
|
|---|
| 762 | # Check whether --with-target-subdir or --without-target-subdir was given.
|
|---|
| 763 | if test "${with_target_subdir+set}" = set; then
|
|---|
| 764 | withval="$with_target_subdir"
|
|---|
| 765 | :
|
|---|
| 766 | fi
|
|---|
| 767 |
|
|---|
| 768 | # Check whether --with-cross-host or --without-cross-host was given.
|
|---|
| 769 | if test "${with_cross_host+set}" = set; then
|
|---|
| 770 | withval="$with_cross_host"
|
|---|
| 771 | :
|
|---|
| 772 | fi
|
|---|
| 773 |
|
|---|
| 774 |
|
|---|
| 775 | # Find a good install program. We prefer a C program (faster),
|
|---|
| 776 | # so one script is as good as another. But avoid the broken or
|
|---|
| 777 | # incompatible versions:
|
|---|
| 778 | # SysV /etc/install, /usr/sbin/install
|
|---|
| 779 | # SunOS /usr/etc/install
|
|---|
| 780 | # IRIX /sbin/install
|
|---|
| 781 | # AIX /bin/install
|
|---|
| 782 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|---|
| 783 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|---|
| 784 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|---|
| 785 | # ./install, which can be erroneously created by make from ./install.sh.
|
|---|
| 786 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|---|
| 787 | echo "configure:788: checking for a BSD compatible install" >&5
|
|---|
| 788 | if test -z "$INSTALL"; then
|
|---|
| 789 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|---|
| 790 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 791 | else
|
|---|
| 792 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
|
|---|
| 793 | for ac_dir in $PATH; do
|
|---|
| 794 | # Account for people who put trailing slashes in PATH elements.
|
|---|
| 795 | case "$ac_dir/" in
|
|---|
| 796 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|---|
| 797 | # We reject the install program from OS/2 or W3.1
|
|---|
| 798 | */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
|
|---|
| 799 | *)
|
|---|
| 800 | # OSF1 and SCO ODT 3.0 have their own names for install.
|
|---|
| 801 | # Don't use installbsd from OSF since it installs stuff as root
|
|---|
| 802 | # by default.
|
|---|
| 803 | for ac_prog in ginstall scoinst install; do
|
|---|
| 804 | if test -f $ac_dir/$ac_prog$ac_exeext; then
|
|---|
| 805 | if test $ac_prog = install &&
|
|---|
| 806 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|---|
| 807 | # AIX install. It has an incompatible calling convention.
|
|---|
| 808 | :
|
|---|
| 809 | else
|
|---|
| 810 | ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
|
|---|
| 811 | break 2
|
|---|
| 812 | fi
|
|---|
| 813 | fi
|
|---|
| 814 | done
|
|---|
| 815 | ;;
|
|---|
| 816 | esac
|
|---|
| 817 | done
|
|---|
| 818 | IFS="$ac_save_IFS"
|
|---|
| 819 |
|
|---|
| 820 | fi
|
|---|
| 821 | if test "${ac_cv_path_install+set}" = set; then
|
|---|
| 822 | INSTALL="$ac_cv_path_install"
|
|---|
| 823 | else
|
|---|
| 824 | # As a last resort, use the slow shell script. We don't cache a
|
|---|
| 825 | # path for INSTALL within a source directory, because that will
|
|---|
| 826 | # break other packages using the cache if that directory is
|
|---|
| 827 | # removed, or if the path is relative.
|
|---|
| 828 | INSTALL="$ac_install_sh"
|
|---|
| 829 | fi
|
|---|
| 830 | fi
|
|---|
| 831 | echo "$ac_t""$INSTALL" 1>&6
|
|---|
| 832 |
|
|---|
| 833 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|---|
| 834 | # It thinks the first close brace ends the variable substitution.
|
|---|
| 835 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|---|
| 836 |
|
|---|
| 837 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
|
|---|
| 838 |
|
|---|
| 839 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|---|
| 840 |
|
|---|
| 841 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
|
|---|
| 842 | echo "configure:843: checking whether build environment is sane" >&5
|
|---|
| 843 | # Just in case
|
|---|
| 844 | sleep 1
|
|---|
| 845 | echo timestamp > conftestfile
|
|---|
| 846 | # Do `set' in a subshell so we don't clobber the current shell's
|
|---|
| 847 | # arguments. Must try -L first in case configure is actually a
|
|---|
| 848 | # symlink; some systems play weird games with the mod time of symlinks
|
|---|
| 849 | # (eg FreeBSD returns the mod time of the symlink's containing
|
|---|
| 850 | # directory).
|
|---|
| 851 | if (
|
|---|
| 852 | set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
|
|---|
| 853 | if test "$*" = "X"; then
|
|---|
| 854 | # -L didn't work.
|
|---|
| 855 | set X `ls -t $srcdir/configure conftestfile`
|
|---|
| 856 | fi
|
|---|
| 857 | if test "$*" != "X $srcdir/configure conftestfile" \
|
|---|
| 858 | && test "$*" != "X conftestfile $srcdir/configure"; then
|
|---|
| 859 |
|
|---|
| 860 | # If neither matched, then we have a broken ls. This can happen
|
|---|
| 861 | # if, for instance, CONFIG_SHELL is bash and it inherits a
|
|---|
| 862 | # broken ls alias from the environment. This has actually
|
|---|
| 863 | # happened. Such a system could not be considered "sane".
|
|---|
| 864 | { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
|
|---|
| 865 | alias in your environment" 1>&2; exit 1; }
|
|---|
| 866 | fi
|
|---|
| 867 |
|
|---|
| 868 | test "$2" = conftestfile
|
|---|
| 869 | )
|
|---|
| 870 | then
|
|---|
| 871 | # Ok.
|
|---|
| 872 | :
|
|---|
| 873 | else
|
|---|
| 874 | { echo "configure: error: newly created file is older than distributed files!
|
|---|
| 875 | Check your system clock" 1>&2; exit 1; }
|
|---|
| 876 | fi
|
|---|
| 877 | rm -f conftest*
|
|---|
| 878 | echo "$ac_t""yes" 1>&6
|
|---|
| 879 | if test "$program_transform_name" = s,x,x,; then
|
|---|
| 880 | program_transform_name=
|
|---|
| 881 | else
|
|---|
| 882 | # Double any \ or $. echo might interpret backslashes.
|
|---|
| 883 | cat <<\EOF_SED > conftestsed
|
|---|
| 884 | s,\\,\\\\,g; s,\$,$$,g
|
|---|
| 885 | EOF_SED
|
|---|
| 886 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
|
|---|
| 887 | rm -f conftestsed
|
|---|
| 888 | fi
|
|---|
| 889 | test "$program_prefix" != NONE &&
|
|---|
| 890 | program_transform_name="s,^,${program_prefix},; $program_transform_name"
|
|---|
| 891 | # Use a double $ so make ignores it.
|
|---|
| 892 | test "$program_suffix" != NONE &&
|
|---|
| 893 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
|
|---|
| 894 |
|
|---|
| 895 | # sed with no file args requires a program.
|
|---|
| 896 | test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|---|
| 897 |
|
|---|
| 898 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|---|
| 899 | echo "configure:900: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|---|
| 900 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|---|
| 901 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|---|
| 902 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 903 | else
|
|---|
| 904 | cat > conftestmake <<\EOF
|
|---|
| 905 | all:
|
|---|
| 906 | @echo 'ac_maketemp="${MAKE}"'
|
|---|
| 907 | EOF
|
|---|
| 908 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|---|
| 909 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
|
|---|
| 910 | if test -n "$ac_maketemp"; then
|
|---|
| 911 | eval ac_cv_prog_make_${ac_make}_set=yes
|
|---|
| 912 | else
|
|---|
| 913 | eval ac_cv_prog_make_${ac_make}_set=no
|
|---|
| 914 | fi
|
|---|
| 915 | rm -f conftestmake
|
|---|
| 916 | fi
|
|---|
| 917 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|---|
| 918 | echo "$ac_t""yes" 1>&6
|
|---|
| 919 | SET_MAKE=
|
|---|
| 920 | else
|
|---|
| 921 | echo "$ac_t""no" 1>&6
|
|---|
| 922 | SET_MAKE="MAKE=${MAKE-make}"
|
|---|
| 923 | fi
|
|---|
| 924 |
|
|---|
| 925 | if test $host != $build; then
|
|---|
| 926 | ac_tool_prefix=${host_alias}-
|
|---|
| 927 | else
|
|---|
| 928 | ac_tool_prefix=
|
|---|
| 929 | fi
|
|---|
| 930 |
|
|---|
| 931 |
|
|---|
| 932 | # Check whether --enable-multilib or --disable-multilib was given.
|
|---|
| 933 | if test "${enable_multilib+set}" = set; then
|
|---|
| 934 | enableval="$enable_multilib"
|
|---|
| 935 | case "${enableval}" in
|
|---|
| 936 | yes) multilib=yes ;;
|
|---|
| 937 | no) multilib=no ;;
|
|---|
| 938 | *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
|
|---|
| 939 | esac
|
|---|
| 940 | else
|
|---|
| 941 | multilib=yes
|
|---|
| 942 | fi
|
|---|
| 943 |
|
|---|
| 944 |
|
|---|
| 945 | # When building with srcdir == objdir, links to the source files will
|
|---|
| 946 | # be created in directories within the target_subdir. We have to
|
|---|
| 947 | # adjust toplevel_srcdir accordingly, so that configure finds
|
|---|
| 948 | # install-sh and other auxiliary files that live in the top-level
|
|---|
| 949 | # source directory.
|
|---|
| 950 | if test "${srcdir}" = "."; then
|
|---|
| 951 | if test -z "${with_target_subdir}"; then
|
|---|
| 952 | toprel=".."
|
|---|
| 953 | else
|
|---|
| 954 | if test "${with_target_subdir}" != "."; then
|
|---|
| 955 | toprel="${with_multisrctop}../.."
|
|---|
| 956 | else
|
|---|
| 957 | toprel="${with_multisrctop}.."
|
|---|
| 958 | fi
|
|---|
| 959 | fi
|
|---|
| 960 | else
|
|---|
| 961 | toprel=".."
|
|---|
| 962 | fi
|
|---|
| 963 |
|
|---|
| 964 | libgcj_basedir=$srcdir/$toprel/./libjava
|
|---|
| 965 |
|
|---|
| 966 |
|
|---|
| 967 | ac_aux_dir=
|
|---|
| 968 | for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
|
|---|
| 969 | if test -f $ac_dir/install-sh; then
|
|---|
| 970 | ac_aux_dir=$ac_dir
|
|---|
| 971 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
|---|
| 972 | break
|
|---|
| 973 | elif test -f $ac_dir/install.sh; then
|
|---|
| 974 | ac_aux_dir=$ac_dir
|
|---|
| 975 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
|---|
| 976 | break
|
|---|
| 977 | fi
|
|---|
| 978 | done
|
|---|
| 979 | if test -z "$ac_aux_dir"; then
|
|---|
| 980 | { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
|
|---|
| 981 | fi
|
|---|
| 982 | ac_config_guess=$ac_aux_dir/config.guess
|
|---|
| 983 | ac_config_sub=$ac_aux_dir/config.sub
|
|---|
| 984 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|---|
| 985 |
|
|---|
| 986 | if :; then :; else
|
|---|
| 987 | # This overrides the previous occurrence for automake, but not for
|
|---|
| 988 | # autoconf, which is exactly what we want.
|
|---|
| 989 | ac_aux_dir=
|
|---|
| 990 | for ac_dir in .. $srcdir/..; do
|
|---|
| 991 | if test -f $ac_dir/install-sh; then
|
|---|
| 992 | ac_aux_dir=$ac_dir
|
|---|
| 993 | ac_install_sh="$ac_aux_dir/install-sh -c"
|
|---|
| 994 | break
|
|---|
| 995 | elif test -f $ac_dir/install.sh; then
|
|---|
| 996 | ac_aux_dir=$ac_dir
|
|---|
| 997 | ac_install_sh="$ac_aux_dir/install.sh -c"
|
|---|
| 998 | break
|
|---|
| 999 | fi
|
|---|
| 1000 | done
|
|---|
| 1001 | if test -z "$ac_aux_dir"; then
|
|---|
| 1002 | { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
|
|---|
| 1003 | fi
|
|---|
| 1004 | ac_config_guess=$ac_aux_dir/config.guess
|
|---|
| 1005 | ac_config_sub=$ac_aux_dir/config.sub
|
|---|
| 1006 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|---|
| 1007 |
|
|---|
| 1008 | fi
|
|---|
| 1009 |
|
|---|
| 1010 | # This works around an automake problem.
|
|---|
| 1011 | mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs"
|
|---|
| 1012 |
|
|---|
| 1013 |
|
|---|
| 1014 |
|
|---|
| 1015 | # Do some error checking and defaulting for the host and target type.
|
|---|
| 1016 | # The inputs are:
|
|---|
| 1017 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT
|
|---|
| 1018 | #
|
|---|
| 1019 | # The rules are:
|
|---|
| 1020 | # 1. You are not allowed to specify --host, --target, and nonopt at the
|
|---|
| 1021 | # same time.
|
|---|
| 1022 | # 2. Host defaults to nonopt.
|
|---|
| 1023 | # 3. If nonopt is not specified, then host defaults to the current host,
|
|---|
| 1024 | # as determined by config.guess.
|
|---|
| 1025 | # 4. Target and build default to nonopt.
|
|---|
| 1026 | # 5. If nonopt is not specified, then target and build default to host.
|
|---|
| 1027 |
|
|---|
| 1028 | # The aliases save the names the user supplied, while $host etc.
|
|---|
| 1029 | # will get canonicalized.
|
|---|
| 1030 | case $host---$target---$nonopt in
|
|---|
| 1031 | NONE---*---* | *---NONE---* | *---*---NONE) ;;
|
|---|
| 1032 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
|
|---|
| 1033 | esac
|
|---|
| 1034 |
|
|---|
| 1035 |
|
|---|
| 1036 | # Make sure we can run config.sub.
|
|---|
| 1037 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
|
|---|
| 1038 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
|
|---|
| 1039 | fi
|
|---|
| 1040 |
|
|---|
| 1041 | echo $ac_n "checking host system type""... $ac_c" 1>&6
|
|---|
| 1042 | echo "configure:1043: checking host system type" >&5
|
|---|
| 1043 |
|
|---|
| 1044 | host_alias=$host
|
|---|
| 1045 | case "$host_alias" in
|
|---|
| 1046 | NONE)
|
|---|
| 1047 | case $nonopt in
|
|---|
| 1048 | NONE)
|
|---|
| 1049 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
|
|---|
| 1050 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
|
|---|
| 1051 | fi ;;
|
|---|
| 1052 | *) host_alias=$nonopt ;;
|
|---|
| 1053 | esac ;;
|
|---|
| 1054 | esac
|
|---|
| 1055 |
|
|---|
| 1056 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
|
|---|
| 1057 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1058 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1059 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1060 | echo "$ac_t""$host" 1>&6
|
|---|
| 1061 |
|
|---|
| 1062 | echo $ac_n "checking target system type""... $ac_c" 1>&6
|
|---|
| 1063 | echo "configure:1064: checking target system type" >&5
|
|---|
| 1064 |
|
|---|
| 1065 | target_alias=$target
|
|---|
| 1066 | case "$target_alias" in
|
|---|
| 1067 | NONE)
|
|---|
| 1068 | case $nonopt in
|
|---|
| 1069 | NONE) target_alias=$host_alias ;;
|
|---|
| 1070 | *) target_alias=$nonopt ;;
|
|---|
| 1071 | esac ;;
|
|---|
| 1072 | esac
|
|---|
| 1073 |
|
|---|
| 1074 | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
|
|---|
| 1075 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1076 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1077 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1078 | echo "$ac_t""$target" 1>&6
|
|---|
| 1079 |
|
|---|
| 1080 | echo $ac_n "checking build system type""... $ac_c" 1>&6
|
|---|
| 1081 | echo "configure:1082: checking build system type" >&5
|
|---|
| 1082 |
|
|---|
| 1083 | build_alias=$build
|
|---|
| 1084 | case "$build_alias" in
|
|---|
| 1085 | NONE)
|
|---|
| 1086 | case $nonopt in
|
|---|
| 1087 | NONE) build_alias=$host_alias ;;
|
|---|
| 1088 | *) build_alias=$nonopt ;;
|
|---|
| 1089 | esac ;;
|
|---|
| 1090 | esac
|
|---|
| 1091 |
|
|---|
| 1092 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
|
|---|
| 1093 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
|---|
| 1094 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
|---|
| 1095 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|---|
| 1096 | echo "$ac_t""$build" 1>&6
|
|---|
| 1097 |
|
|---|
| 1098 | test "$host_alias" != "$target_alias" &&
|
|---|
| 1099 | test "$program_prefix$program_suffix$program_transform_name" = \
|
|---|
| 1100 | NONENONEs,x,x, &&
|
|---|
| 1101 | program_prefix=${target_alias}-
|
|---|
| 1102 |
|
|---|
| 1103 |
|
|---|
| 1104 |
|
|---|
| 1105 |
|
|---|
| 1106 |
|
|---|
| 1107 | # Extract the first word of "gcc", so it can be a program name with args.
|
|---|
| 1108 | set dummy gcc; ac_word=$2
|
|---|
| 1109 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|---|
| 1110 | echo "configure:1111: checking for $ac_word" >&5
|
|---|
| 1111 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|---|
| 1112 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 1113 | else
|
|---|
| 1114 | if test -n "$CC"; then
|
|---|
| 1115 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 1116 | else
|
|---|
| 1117 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
|
|---|
| 1118 | ac_dummy="$PATH"
|
|---|
| 1119 | for ac_dir in $ac_dummy; do
|
|---|
| 1120 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 1121 | if test -f $ac_dir/$ac_word -o \
|
|---|
| 1122 | -f $ac_dir/$ac_word$ac_exeext ; then
|
|---|
| 1123 | ac_cv_prog_CC="gcc"
|
|---|
| 1124 | break
|
|---|
| 1125 | fi
|
|---|
| 1126 | done
|
|---|
| 1127 | IFS="$ac_save_ifs"
|
|---|
| 1128 | fi
|
|---|
| 1129 | fi
|
|---|
| 1130 | CC="$ac_cv_prog_CC"
|
|---|
| 1131 | if test -n "$CC"; then
|
|---|
| 1132 | echo "$ac_t""$CC" 1>&6
|
|---|
| 1133 | else
|
|---|
| 1134 | echo "$ac_t""no" 1>&6
|
|---|
| 1135 | fi
|
|---|
| 1136 |
|
|---|
| 1137 | if test -z "$CC"; then
|
|---|
| 1138 | # Extract the first word of "cc", so it can be a program name with args.
|
|---|
| 1139 | set dummy cc; ac_word=$2
|
|---|
| 1140 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|---|
| 1141 | echo "configure:1142: checking for $ac_word" >&5
|
|---|
| 1142 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|---|
| 1143 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 1144 | else
|
|---|
| 1145 | if test -n "$CC"; then
|
|---|
| 1146 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 1147 | else
|
|---|
| 1148 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
|
|---|
| 1149 | ac_prog_rejected=no
|
|---|
| 1150 | ac_dummy="$PATH"
|
|---|
| 1151 | for ac_dir in $ac_dummy; do
|
|---|
| 1152 | test -z "$ac_dir" && ac_dir=.
|
|---|
| 1153 | if test -f $ac_dir/$ac_word -o \
|
|---|
| 1154 | -f $ac_dir/$ac_word$ac_exeext ; then
|
|---|
| 1155 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
|
|---|
| 1156 | "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
|
|---|
| 1157 | ac_prog_rejected=yes
|
|---|
| 1158 | continue
|
|---|
| 1159 | fi
|
|---|
| 1160 | ac_cv_prog_CC="cc"
|
|---|
| 1161 | break
|
|---|
| 1162 | fi
|
|---|
| 1163 | done
|
|---|
| 1164 | IFS="$ac_save_ifs"
|
|---|
| 1165 | if test $ac_prog_rejected = yes; then
|
|---|
| 1166 | # We found a bogon in the path, so make sure we never use it.
|
|---|
| 1167 | set dummy $ac_cv_prog_CC
|
|---|
| 1168 | shift
|
|---|
| 1169 | if test $# -gt 0; then
|
|---|
| 1170 | # We chose a different compiler from the bogus one.
|
|---|
| 1171 | # However, it has the same basename, so the bogon will be chosen
|
|---|
| 1172 | # first if we set CC to just the basename; use the full file name.
|
|---|
| 1173 | shift
|
|---|
| 1174 | set dummy "$ac_dir/$ac_word" "$@"
|
|---|
| 1175 | shift
|
|---|
| 1176 | ac_cv_prog_CC="$@"
|
|---|
| 1177 | fi
|
|---|
| 1178 | fi
|
|---|
| 1179 | fi
|
|---|
| 1180 | fi
|
|---|
| 1181 | CC="$ac_cv_prog_CC"
|
|---|
| 1182 | if test -n "$CC"; then
|
|---|
| 1183 | echo "$ac_t""$CC" 1>&6
|
|---|
| 1184 | else
|
|---|
| 1185 | echo "$ac_t""no" 1>&6
|
|---|
| 1186 | fi
|
|---|
| 1187 |
|
|---|
| 1188 | if test -z "$CC"; then
|
|---|
| 1189 | case "`uname -s`" in
|
|---|
| 1190 | *win32* | *WIN32*)
|
|---|
| 1191 | # Extract the first word of "cl", so it can be a program name with args.
|
|---|
| 1192 | set dummy cl; ac_word=$2
|
|---|
| 1193 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|---|
| 1194 | echo "configure:1195: checking for $ac_word" >&5
|
|---|
| 1195 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|---|
| 1196 | echo $ac_n "(cached) $ac_c" 1>&6
|
|---|
| 1197 | else
|
|---|
| 1198 | if test -n "$CC"; then
|
|---|
| 1199 | ac_cv_prog_CC="$CC" # Let the user override the test.
|
|---|
| 1200 | else
|
|---|
| 1201 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
|
|---|
| 1202 | ac_dummy="$PATH"
|
|---|
| 1203 | for ac_dir in $ac_dummy; do
|
|---|
|
|---|