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