| 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 |  | 
|---|
| 557 |  | 
|---|
| 558 | # This works around the fact that libtool configuration may change LD | 
|---|
| 559 | # for this particular configuration, but some shells, instead of | 
|---|
| 560 | # keeping the changes in LD private, export them just because LD is | 
|---|
| 561 | # exported. | 
|---|
| 562 | ORIGINAL_LD_FOR_MULTILIBS=$LD | 
|---|
| 563 |  | 
|---|
| 564 | ac_aux_dir= | 
|---|
| 565 | for ac_dir in . $srcdir/.; do | 
|---|
| 566 | if test -f $ac_dir/install-sh; then | 
|---|
| 567 | ac_aux_dir=$ac_dir | 
|---|
| 568 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 569 | break | 
|---|
| 570 | elif test -f $ac_dir/install.sh; then | 
|---|
| 571 | ac_aux_dir=$ac_dir | 
|---|
| 572 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 573 | break | 
|---|
| 574 | fi | 
|---|
| 575 | done | 
|---|
| 576 | if test -z "$ac_aux_dir"; then | 
|---|
| 577 | { echo "configure: error: can not find install-sh or install.sh in . $srcdir/." 1>&2; exit 1; } | 
|---|
| 578 | fi | 
|---|
| 579 | ac_config_guess=$ac_aux_dir/config.guess | 
|---|
| 580 | ac_config_sub=$ac_aux_dir/config.sub | 
|---|
| 581 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 
|---|
| 582 |  | 
|---|
| 583 |  | 
|---|
| 584 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 585 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 586 | # incompatible versions: | 
|---|
| 587 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 588 | # SunOS /usr/etc/install | 
|---|
| 589 | # IRIX /sbin/install | 
|---|
| 590 | # AIX /bin/install | 
|---|
| 591 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 592 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 593 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 594 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 595 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 
|---|
| 596 | echo "configure:597: checking for a BSD compatible install" >&5 | 
|---|
| 597 | if test -z "$INSTALL"; then | 
|---|
| 598 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 
|---|
| 599 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 600 | else | 
|---|
| 601 | IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":" | 
|---|
| 602 | for ac_dir in $PATH; do | 
|---|
| 603 | # Account for people who put trailing slashes in PATH elements. | 
|---|
| 604 | case "$ac_dir/" in | 
|---|
| 605 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 
|---|
| 606 | *) | 
|---|
| 607 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 608 | # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 609 | # by default. | 
|---|
| 610 | for ac_prog in ginstall scoinst install; do | 
|---|
| 611 | if test -f $ac_dir/$ac_prog; then | 
|---|
| 612 | if test $ac_prog = install && | 
|---|
| 613 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 
|---|
| 614 | # AIX install.  It has an incompatible calling convention. | 
|---|
| 615 | : | 
|---|
| 616 | else | 
|---|
| 617 | ac_cv_path_install="$ac_dir/$ac_prog -c" | 
|---|
| 618 | break 2 | 
|---|
| 619 | fi | 
|---|
| 620 | fi | 
|---|
| 621 | done | 
|---|
| 622 | ;; | 
|---|
| 623 | esac | 
|---|
| 624 | done | 
|---|
| 625 | IFS="$ac_save_IFS" | 
|---|
| 626 |  | 
|---|
| 627 | fi | 
|---|
| 628 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 629 | INSTALL="$ac_cv_path_install" | 
|---|
| 630 | else | 
|---|
| 631 | # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 632 | # path for INSTALL within a source directory, because that will | 
|---|
| 633 | # break other packages using the cache if that directory is | 
|---|
| 634 | # removed, or if the path is relative. | 
|---|
| 635 | INSTALL="$ac_install_sh" | 
|---|
| 636 | fi | 
|---|
| 637 | fi | 
|---|
| 638 | echo "$ac_t""$INSTALL" 1>&6 | 
|---|
| 639 |  | 
|---|
| 640 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 641 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 642 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 643 |  | 
|---|
| 644 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 
|---|
| 645 |  | 
|---|
| 646 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 647 |  | 
|---|
| 648 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 
|---|
| 649 | echo "configure:650: checking whether build environment is sane" >&5 | 
|---|
| 650 | # Just in case | 
|---|
| 651 | sleep 1 | 
|---|
| 652 | echo timestamp > conftestfile | 
|---|
| 653 | # Do `set' in a subshell so we don't clobber the current shell's | 
|---|
| 654 | # arguments.  Must try -L first in case configure is actually a | 
|---|
| 655 | # symlink; some systems play weird games with the mod time of symlinks | 
|---|
| 656 | # (eg FreeBSD returns the mod time of the symlink's containing | 
|---|
| 657 | # directory). | 
|---|
| 658 | if ( | 
|---|
| 659 | set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` | 
|---|
| 660 | if test "$*" = "X"; then | 
|---|
| 661 | # -L didn't work. | 
|---|
| 662 | set X `ls -t $srcdir/configure conftestfile` | 
|---|
| 663 | fi | 
|---|
| 664 | if test "$*" != "X $srcdir/configure conftestfile" \ | 
|---|
| 665 | && test "$*" != "X conftestfile $srcdir/configure"; then | 
|---|
| 666 |  | 
|---|
| 667 | # If neither matched, then we have a broken ls.  This can happen | 
|---|
| 668 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 
|---|
| 669 | # broken ls alias from the environment.  This has actually | 
|---|
| 670 | # happened.  Such a system could not be considered "sane". | 
|---|
| 671 | { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken | 
|---|
| 672 | alias in your environment" 1>&2; exit 1; } | 
|---|
| 673 | fi | 
|---|
| 674 |  | 
|---|
| 675 | test "$2" = conftestfile | 
|---|
| 676 | ) | 
|---|
| 677 | then | 
|---|
| 678 | # Ok. | 
|---|
| 679 | : | 
|---|
| 680 | else | 
|---|
| 681 | { echo "configure: error: newly created file is older than distributed files! | 
|---|
| 682 | Check your system clock" 1>&2; exit 1; } | 
|---|
| 683 | fi | 
|---|
| 684 | rm -f conftest* | 
|---|
| 685 | echo "$ac_t""yes" 1>&6 | 
|---|
| 686 | if test "$program_transform_name" = s,x,x,; then | 
|---|
| 687 | program_transform_name= | 
|---|
| 688 | else | 
|---|
| 689 | # Double any \ or $.  echo might interpret backslashes. | 
|---|
| 690 | cat <<\EOF_SED > conftestsed | 
|---|
| 691 | s,\\,\\\\,g; s,\$,$$,g | 
|---|
| 692 | EOF_SED | 
|---|
| 693 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`" | 
|---|
| 694 | rm -f conftestsed | 
|---|
| 695 | fi | 
|---|
| 696 | test "$program_prefix" != NONE && | 
|---|
| 697 | program_transform_name="s,^,${program_prefix},; $program_transform_name" | 
|---|
| 698 | # Use a double $ so make ignores it. | 
|---|
| 699 | test "$program_suffix" != NONE && | 
|---|
| 700 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" | 
|---|
| 701 |  | 
|---|
| 702 | # sed with no file args requires a program. | 
|---|
| 703 | test "$program_transform_name" = "" && program_transform_name="s,x,x," | 
|---|
| 704 |  | 
|---|
| 705 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 
|---|
| 706 | echo "configure:707: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 
|---|
| 707 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 
|---|
| 708 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 
|---|
| 709 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 710 | else | 
|---|
| 711 | cat > conftestmake <<\EOF | 
|---|
| 712 | all: | 
|---|
| 713 | @echo 'ac_maketemp="${MAKE}"' | 
|---|
| 714 | EOF | 
|---|
| 715 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | 
|---|
| 716 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | 
|---|
| 717 | if test -n "$ac_maketemp"; then | 
|---|
| 718 | eval ac_cv_prog_make_${ac_make}_set=yes | 
|---|
| 719 | else | 
|---|
| 720 | eval ac_cv_prog_make_${ac_make}_set=no | 
|---|
| 721 | fi | 
|---|
| 722 | rm -f conftestmake | 
|---|
| 723 | fi | 
|---|
| 724 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | 
|---|
| 725 | echo "$ac_t""yes" 1>&6 | 
|---|
| 726 | SET_MAKE= | 
|---|
| 727 | else | 
|---|
| 728 | echo "$ac_t""no" 1>&6 | 
|---|
| 729 | SET_MAKE="MAKE=${MAKE-make}" | 
|---|
| 730 | fi | 
|---|
| 731 |  | 
|---|
| 732 | if test $host != $build; then | 
|---|
| 733 | ac_tool_prefix=${host_alias}- | 
|---|
| 734 | else | 
|---|
| 735 | ac_tool_prefix= | 
|---|
| 736 | fi | 
|---|
| 737 |  | 
|---|
| 738 | echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 
|---|
| 739 | echo "configure:740: checking for Cygwin environment" >&5 | 
|---|
| 740 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | 
|---|
| 741 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 742 | else | 
|---|
| 743 | cat > conftest.$ac_ext <<EOF | 
|---|
| 744 | #line 745 "configure" | 
|---|
| 745 | #include "confdefs.h" | 
|---|
| 746 |  | 
|---|
| 747 | int main() { | 
|---|
| 748 |  | 
|---|
| 749 | #ifndef __CYGWIN__ | 
|---|
| 750 | #define __CYGWIN__ __CYGWIN32__ | 
|---|
| 751 | #endif | 
|---|
| 752 | return __CYGWIN__; | 
|---|
| 753 | ; return 0; } | 
|---|
| 754 | EOF | 
|---|
| 755 | if { (eval echo configure:756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
|---|
| 756 | rm -rf conftest* | 
|---|
| 757 | ac_cv_cygwin=yes | 
|---|
| 758 | else | 
|---|
| 759 | echo "configure: failed program was:" >&5 | 
|---|
| 760 | cat conftest.$ac_ext >&5 | 
|---|
| 761 | rm -rf conftest* | 
|---|
| 762 | ac_cv_cygwin=no | 
|---|
| 763 | fi | 
|---|
| 764 | rm -f conftest* | 
|---|
| 765 | rm -f conftest* | 
|---|
| 766 | fi | 
|---|
| 767 |  | 
|---|
| 768 | echo "$ac_t""$ac_cv_cygwin" 1>&6 | 
|---|
| 769 | CYGWIN= | 
|---|
| 770 | test "$ac_cv_cygwin" = yes && CYGWIN=yes | 
|---|
| 771 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 
|---|
| 772 | echo "configure:773: checking for mingw32 environment" >&5 | 
|---|
| 773 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | 
|---|
| 774 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 775 | else | 
|---|
| 776 | cat > conftest.$ac_ext <<EOF | 
|---|
| 777 | #line 778 "configure" | 
|---|
| 778 | #include "confdefs.h" | 
|---|
| 779 |  | 
|---|
| 780 | int main() { | 
|---|
| 781 | return __MINGW32__; | 
|---|
| 782 | ; return 0; } | 
|---|
| 783 | EOF | 
|---|
| 784 | if { (eval echo configure:785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
|---|
| 785 | rm -rf conftest* | 
|---|
| 786 | ac_cv_mingw32=yes | 
|---|
| 787 | else | 
|---|
| 788 | echo "configure: failed program was:" >&5 | 
|---|
| 789 | cat conftest.$ac_ext >&5 | 
|---|
| 790 | rm -rf conftest* | 
|---|
| 791 | ac_cv_mingw32=no | 
|---|
| 792 | fi | 
|---|
| 793 | rm -f conftest* | 
|---|
| 794 | rm -f conftest* | 
|---|
| 795 | fi | 
|---|
| 796 |  | 
|---|
| 797 | echo "$ac_t""$ac_cv_mingw32" 1>&6 | 
|---|
| 798 | MINGW32= | 
|---|
| 799 | test "$ac_cv_mingw32" = yes && MINGW32=yes | 
|---|
| 800 |  | 
|---|
| 801 | # Check whether --enable-multilib or --disable-multilib was given. | 
|---|
| 802 | if test "${enable_multilib+set}" = set; then | 
|---|
| 803 | enableval="$enable_multilib" | 
|---|
| 804 | case "${enableval}" in | 
|---|
| 805 | yes) multilib=yes ;; | 
|---|
| 806 | no)  multilib=no ;; | 
|---|
| 807 | *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;; | 
|---|
| 808 | esac | 
|---|
| 809 | else | 
|---|
| 810 | multilib=yes | 
|---|
| 811 | fi | 
|---|
| 812 |  | 
|---|
| 813 |  | 
|---|
| 814 | if test "${srcdir}" = "."; then | 
|---|
| 815 | if test "${with_target_subdir}" != "." -a -n "${with_target_subdir}"; then | 
|---|
| 816 | gc_basedir="${srcdir}/${with_multisrctop}../." | 
|---|
| 817 | else | 
|---|
| 818 | gc_basedir="${srcdir}/${with_multisrctop}." | 
|---|
| 819 | fi | 
|---|
| 820 | else | 
|---|
| 821 | gc_basedir="${srcdir}/." | 
|---|
| 822 | fi | 
|---|
| 823 |  | 
|---|
| 824 | ac_aux_dir= | 
|---|
| 825 | for ac_dir in $gc_basedir/.. $srcdir/$gc_basedir/..; do | 
|---|
| 826 | if test -f $ac_dir/install-sh; then | 
|---|
| 827 | ac_aux_dir=$ac_dir | 
|---|
| 828 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 829 | break | 
|---|
| 830 | elif test -f $ac_dir/install.sh; then | 
|---|
| 831 | ac_aux_dir=$ac_dir | 
|---|
| 832 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 833 | break | 
|---|
| 834 | fi | 
|---|
| 835 | done | 
|---|
| 836 | if test -z "$ac_aux_dir"; then | 
|---|
| 837 | { echo "configure: error: can not find install-sh or install.sh in $gc_basedir/.. $srcdir/$gc_basedir/.." 1>&2; exit 1; } | 
|---|
| 838 | fi | 
|---|
| 839 | ac_config_guess=$ac_aux_dir/config.guess | 
|---|
| 840 | ac_config_sub=$ac_aux_dir/config.sub | 
|---|
| 841 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 
|---|
| 842 |  | 
|---|
| 843 | if :; then :; else | 
|---|
| 844 | # This overrides the previous occurrence for automake, but not for | 
|---|
| 845 | # autoconf, which is exactly what we want. | 
|---|
| 846 | ac_aux_dir= | 
|---|
| 847 | for ac_dir in .. $srcdir/..; do | 
|---|
| 848 | if test -f $ac_dir/install-sh; then | 
|---|
| 849 | ac_aux_dir=$ac_dir | 
|---|
| 850 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|---|
| 851 | break | 
|---|
| 852 | elif test -f $ac_dir/install.sh; then | 
|---|
| 853 | ac_aux_dir=$ac_dir | 
|---|
| 854 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|---|
| 855 | break | 
|---|
| 856 | fi | 
|---|
| 857 | done | 
|---|
| 858 | if test -z "$ac_aux_dir"; then | 
|---|
| 859 | { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; } | 
|---|
| 860 | fi | 
|---|
| 861 | ac_config_guess=$ac_aux_dir/config.guess | 
|---|
| 862 | ac_config_sub=$ac_aux_dir/config.sub | 
|---|
| 863 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 
|---|
| 864 |  | 
|---|
| 865 | fi | 
|---|
| 866 |  | 
|---|
| 867 |  | 
|---|
| 868 | # Do some error checking and defaulting for the host and target type. | 
|---|
| 869 | # The inputs are: | 
|---|
| 870 | #    configure --host=HOST --target=TARGET --build=BUILD NONOPT | 
|---|
| 871 | # | 
|---|
| 872 | # The rules are: | 
|---|
| 873 | # 1. You are not allowed to specify --host, --target, and nonopt at the | 
|---|
| 874 | #    same time. | 
|---|
| 875 | # 2. Host defaults to nonopt. | 
|---|
| 876 | # 3. If nonopt is not specified, then host defaults to the current host, | 
|---|
| 877 | #    as determined by config.guess. | 
|---|
| 878 | # 4. Target and build default to nonopt. | 
|---|
| 879 | # 5. If nonopt is not specified, then target and build default to host. | 
|---|
| 880 |  | 
|---|
| 881 | # The aliases save the names the user supplied, while $host etc. | 
|---|
| 882 | # will get canonicalized. | 
|---|
| 883 | case $host---$target---$nonopt in | 
|---|
| 884 | NONE---*---* | *---NONE---* | *---*---NONE) ;; | 
|---|
| 885 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; | 
|---|
| 886 | esac | 
|---|
| 887 |  | 
|---|
| 888 |  | 
|---|
| 889 | # Make sure we can run config.sub. | 
|---|
| 890 | if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 
|---|
| 891 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 
|---|
| 892 | fi | 
|---|
| 893 |  | 
|---|
| 894 | echo $ac_n "checking host system type""... $ac_c" 1>&6 | 
|---|
| 895 | echo "configure:896: checking host system type" >&5 | 
|---|
| 896 |  | 
|---|
| 897 | host_alias=$host | 
|---|
| 898 | case "$host_alias" in | 
|---|
| 899 | NONE) | 
|---|
| 900 | case $nonopt in | 
|---|
| 901 | NONE) | 
|---|
| 902 | if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : | 
|---|
| 903 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } | 
|---|
| 904 | fi ;; | 
|---|
| 905 | *) host_alias=$nonopt ;; | 
|---|
| 906 | esac ;; | 
|---|
| 907 | esac | 
|---|
| 908 |  | 
|---|
| 909 | host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | 
|---|
| 910 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 911 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 912 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 913 | echo "$ac_t""$host" 1>&6 | 
|---|
| 914 |  | 
|---|
| 915 | echo $ac_n "checking target system type""... $ac_c" 1>&6 | 
|---|
| 916 | echo "configure:917: checking target system type" >&5 | 
|---|
| 917 |  | 
|---|
| 918 | target_alias=$target | 
|---|
| 919 | case "$target_alias" in | 
|---|
| 920 | NONE) | 
|---|
| 921 | case $nonopt in | 
|---|
| 922 | NONE) target_alias=$host_alias ;; | 
|---|
| 923 | *) target_alias=$nonopt ;; | 
|---|
| 924 | esac ;; | 
|---|
| 925 | esac | 
|---|
| 926 |  | 
|---|
| 927 | target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` | 
|---|
| 928 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 929 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 930 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 931 | echo "$ac_t""$target" 1>&6 | 
|---|
| 932 |  | 
|---|
| 933 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 
|---|
| 934 | echo "configure:935: checking build system type" >&5 | 
|---|
| 935 |  | 
|---|
| 936 | build_alias=$build | 
|---|
| 937 | case "$build_alias" in | 
|---|
| 938 | NONE) | 
|---|
| 939 | case $nonopt in | 
|---|
| 940 | NONE) build_alias=$host_alias ;; | 
|---|
| 941 | *) build_alias=$nonopt ;; | 
|---|
| 942 | esac ;; | 
|---|
| 943 | esac | 
|---|
| 944 |  | 
|---|
| 945 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | 
|---|
| 946 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 947 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 948 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 949 | echo "$ac_t""$build" 1>&6 | 
|---|
| 950 |  | 
|---|
| 951 | test "$host_alias" != "$target_alias" && | 
|---|
| 952 | test "$program_prefix$program_suffix$program_transform_name" = \ | 
|---|
| 953 | NONENONEs,x,x, && | 
|---|
| 954 | program_prefix=${target_alias}- | 
|---|
| 955 |  | 
|---|
| 956 |  | 
|---|
| 957 | # This works around an automake problem. | 
|---|
| 958 | mkinstalldirs="`cd $ac_aux_dir && pwd`/mkinstalldirs" | 
|---|
| 959 |  | 
|---|
| 960 |  | 
|---|
| 961 |  | 
|---|
| 962 | PACKAGE=gc | 
|---|
| 963 |  | 
|---|
| 964 | VERSION=6.0 | 
|---|
| 965 |  | 
|---|
| 966 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | 
|---|
| 967 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | 
|---|
| 968 | fi | 
|---|
| 969 |  | 
|---|
| 970 |  | 
|---|
| 971 |  | 
|---|
| 972 | missing_dir=`cd $ac_aux_dir && pwd` | 
|---|
| 973 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 
|---|
| 974 | echo "configure:975: checking for working aclocal" >&5 | 
|---|
| 975 | # Run test in a subshell; some versions of sh will print an error if | 
|---|
| 976 | # an executable is not found, even if stderr is redirected. | 
|---|
| 977 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
|---|
| 978 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 
|---|
| 979 | ACLOCAL=aclocal | 
|---|
| 980 | echo "$ac_t""found" 1>&6 | 
|---|
| 981 | else | 
|---|
| 982 | ACLOCAL="$missing_dir/missing aclocal" | 
|---|
| 983 | echo "$ac_t""missing" 1>&6 | 
|---|
| 984 | fi | 
|---|
| 985 |  | 
|---|
| 986 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 
|---|
| 987 | echo "configure:988: checking for working autoconf" >&5 | 
|---|
| 988 | # Run test in a subshell; some versions of sh will print an error if | 
|---|
| 989 | # an executable is not found, even if stderr is redirected. | 
|---|
| 990 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
|---|
| 991 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 
|---|
| 992 | AUTOCONF=autoconf | 
|---|
| 993 | echo "$ac_t""found" 1>&6 | 
|---|
| 994 | else | 
|---|
| 995 | AUTOCONF="$missing_dir/missing autoconf" | 
|---|
| 996 | echo "$ac_t""missing" 1>&6 | 
|---|
| 997 | fi | 
|---|
| 998 |  | 
|---|
| 999 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 
|---|
| 1000 | echo "configure:1001: checking for working automake" >&5 | 
|---|
| 1001 | # Run test in a subshell; some versions of sh will print an error if | 
|---|
| 1002 | # an executable is not found, even if stderr is redirected. | 
|---|
| 1003 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
|---|
| 1004 | if (automake --version) < /dev/null > /dev/null 2>&1; then | 
|---|
| 1005 | AUTOMAKE=automake | 
|---|
| 1006 | echo "$ac_t""found" 1>&6 | 
|---|
| 1007 | else | 
|---|
| 1008 | AUTOMAKE="$missing_dir/missing automake" | 
|---|
| 1009 | echo "$ac_t""missing" 1>&6 | 
|---|
| 1010 | fi | 
|---|
| 1011 |  | 
|---|
| 1012 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 
|---|
| 1013 | echo "configure:1014: checking for working autoheader" >&5 | 
|---|
| 1014 | # Run test in a subshell; some versions of sh will print an error if | 
|---|
| 1015 | # an executable is not found, even if stderr is redirected. | 
|---|
| 1016 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
|---|
| 1017 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 
|---|
| 1018 | AUTOHEADER=autoheader | 
|---|
| 1019 | echo "$ac_t""found" 1>&6 | 
|---|
| 1020 | else | 
|---|
| 1021 | AUTOHEADER="$missing_dir/missing autoheader" | 
|---|
| 1022 | echo "$ac_t""missing" 1>&6 | 
|---|
| 1023 | fi | 
|---|
| 1024 |  | 
|---|
| 1025 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 
|---|
| 1026 | echo "configure:1027: checking for working makeinfo" >&5 | 
|---|
| 1027 | # Run test in a subshell; some versions of sh will print an error if | 
|---|
| 1028 | # an executable is not found, even if stderr is redirected. | 
|---|
| 1029 | # Redirect stdin to placate older versions of autoconf.  Sigh. | 
|---|
| 1030 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 
|---|
| 1031 | MAKEINFO=makeinfo | 
|---|
| 1032 | echo "$ac_t""found" 1>&6 | 
|---|
| 1033 | else | 
|---|
| 1034 | MAKEINFO="$missing_dir/missing makeinfo" | 
|---|
| 1035 | echo "$ac_t""missing" 1>&6 | 
|---|
| 1036 | fi | 
|---|
| 1037 |  | 
|---|
| 1038 |  | 
|---|
| 1039 |  | 
|---|
| 1040 | # FIXME: We temporarily define our own version of AC_PROG_CC.  This is | 
|---|
| 1041 | # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We | 
|---|
| 1042 | # are probably using a cross compiler, which will not be able to fully | 
|---|
| 1043 | # link an executable.  This should really be fixed in autoconf | 
|---|
| 1044 | # itself. | 
|---|
| 1045 |  | 
|---|
| 1046 |  | 
|---|
| 1047 |  | 
|---|
| 1048 |  | 
|---|
| 1049 | # Extract the first word of "gcc", so it can be a program name with args. | 
|---|
| 1050 | set dummy gcc; ac_word=$2 | 
|---|
| 1051 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1052 | echo "configure:1053: checking for $ac_word" >&5 | 
|---|
| 1053 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
|---|
| 1054 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1055 | else | 
|---|
| 1056 | if test -n "$CC"; then | 
|---|
| 1057 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 1058 | else | 
|---|
| 1059 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1060 | ac_dummy="$PATH" | 
|---|
| 1061 | for ac_dir in $ac_dummy; do | 
|---|
| 1062 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1063 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1064 | ac_cv_prog_CC="gcc" | 
|---|
| 1065 | break | 
|---|
| 1066 | fi | 
|---|
| 1067 | done | 
|---|
| 1068 | IFS="$ac_save_ifs" | 
|---|
| 1069 | fi | 
|---|
| 1070 | fi | 
|---|
| 1071 | CC="$ac_cv_prog_CC" | 
|---|
| 1072 | if test -n "$CC"; then | 
|---|
| 1073 | echo "$ac_t""$CC" 1>&6 | 
|---|
| 1074 | else | 
|---|
| 1075 | echo "$ac_t""no" 1>&6 | 
|---|
| 1076 | fi | 
|---|
| 1077 |  | 
|---|
| 1078 | if test -z "$CC"; then | 
|---|
| 1079 | # Extract the first word of "cc", so it can be a program name with args. | 
|---|
| 1080 | set dummy cc; ac_word=$2 | 
|---|
| 1081 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1082 | echo "configure:1083: checking for $ac_word" >&5 | 
|---|
| 1083 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 
|---|
| 1084 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1085 | else | 
|---|
| 1086 | if test -n "$CC"; then | 
|---|
| 1087 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|---|
| 1088 | else | 
|---|
| 1089 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1090 | ac_prog_rejected=no | 
|---|
| 1091 | ac_dummy="$PATH" | 
|---|
| 1092 | for ac_dir in $ac_dummy; do | 
|---|
| 1093 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1094 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1095 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | 
|---|
| 1096 | ac_prog_rejected=yes | 
|---|
| 1097 | continue | 
|---|
| 1098 | fi | 
|---|
| 1099 | ac_cv_prog_CC="cc" | 
|---|
| 1100 | break | 
|---|
| 1101 | fi | 
|---|
| 1102 | done | 
|---|
| 1103 | IFS="$ac_save_ifs" | 
|---|
| 1104 | if test $ac_prog_rejected = yes; then | 
|---|
| 1105 | # We found a bogon in the path, so make sure we never use it. | 
|---|
| 1106 | set dummy $ac_cv_prog_CC | 
|---|
| 1107 | shift | 
|---|
| 1108 | if test $# -gt 0; then | 
|---|
| 1109 | # We chose a different compiler from the bogus one. | 
|---|
| 1110 | # However, it has the same basename, so the bogon will be chosen | 
|---|
| 1111 | # first if we set CC to just the basename; use the full file name. | 
|---|
| 1112 | shift | 
|---|
| 1113 | set dummy "$ac_dir/$ac_word" "$@" | 
|---|
| 1114 | shift | 
|---|
| 1115 | ac_cv_prog_CC="$@" | 
|---|
| 1116 | fi | 
|---|
| 1117 | fi | 
|---|
| 1118 | fi | 
|---|
| 1119 | fi | 
|---|
| 1120 | CC="$ac_cv_prog_CC" | 
|---|
| 1121 | if test -n "$CC"; then | 
|---|
| 1122 | echo "$ac_t""$CC" 1>&6 | 
|---|
| 1123 | else | 
|---|
| 1124 | echo "$ac_t""no" 1>&6 | 
|---|
| 1125 | fi | 
|---|
| 1126 |  | 
|---|
| 1127 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 
|---|
| 1128 | fi | 
|---|
| 1129 |  | 
|---|
| 1130 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 
|---|
| 1131 | echo "configure:1132: checking whether we are using GNU C" >&5 | 
|---|
| 1132 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 
|---|
| 1133 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1134 | else | 
|---|
| 1135 | cat > conftest.c <<EOF | 
|---|
| 1136 | #ifdef __GNUC__ | 
|---|
| 1137 | yes; | 
|---|
| 1138 | #endif | 
|---|
| 1139 | EOF | 
|---|
| 1140 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 
|---|
| 1141 | ac_cv_prog_gcc=yes | 
|---|
| 1142 | else | 
|---|
| 1143 | ac_cv_prog_gcc=no | 
|---|
| 1144 | fi | 
|---|
| 1145 | fi | 
|---|
| 1146 |  | 
|---|
| 1147 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 | 
|---|
| 1148 |  | 
|---|
| 1149 | if test $ac_cv_prog_gcc = yes; then | 
|---|
| 1150 | GCC=yes | 
|---|
| 1151 | ac_test_CFLAGS="${CFLAGS+set}" | 
|---|
| 1152 | ac_save_CFLAGS="$CFLAGS" | 
|---|
| 1153 | CFLAGS= | 
|---|
| 1154 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 
|---|
| 1155 | echo "configure:1156: checking whether ${CC-cc} accepts -g" >&5 | 
|---|
| 1156 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 
|---|
| 1157 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1158 | else | 
|---|
| 1159 | echo 'void f(){}' > conftest.c | 
|---|
| 1160 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 
|---|
| 1161 | ac_cv_prog_cc_g=yes | 
|---|
| 1162 | else | 
|---|
| 1163 | ac_cv_prog_cc_g=no | 
|---|
| 1164 | fi | 
|---|
| 1165 | rm -f conftest* | 
|---|
| 1166 |  | 
|---|
| 1167 | fi | 
|---|
| 1168 |  | 
|---|
| 1169 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 | 
|---|
| 1170 | if test "$ac_test_CFLAGS" = set; then | 
|---|
| 1171 | CFLAGS="$ac_save_CFLAGS" | 
|---|
| 1172 | elif test $ac_cv_prog_cc_g = yes; then | 
|---|
| 1173 | CFLAGS="-g -O2" | 
|---|
| 1174 | else | 
|---|
| 1175 | CFLAGS="-O2" | 
|---|
| 1176 | fi | 
|---|
| 1177 | else | 
|---|
| 1178 | GCC= | 
|---|
| 1179 | test "${CFLAGS+set}" = set || CFLAGS="-g" | 
|---|
| 1180 | fi | 
|---|
| 1181 |  | 
|---|
| 1182 |  | 
|---|
| 1183 | # Likewise for AC_PROG_CXX. | 
|---|
| 1184 |  | 
|---|
| 1185 |  | 
|---|
| 1186 |  | 
|---|
| 1187 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ | 
|---|
| 1188 | do | 
|---|
| 1189 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|---|
| 1190 | set dummy $ac_prog; ac_word=$2 | 
|---|
| 1191 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1192 | echo "configure:1193: checking for $ac_word" >&5 | 
|---|
| 1193 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | 
|---|
| 1194 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1195 | else | 
|---|
| 1196 | if test -n "$CXX"; then | 
|---|
| 1197 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|---|
| 1198 | else | 
|---|
| 1199 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1200 | ac_dummy="$PATH" | 
|---|
| 1201 | for ac_dir in $ac_dummy; do | 
|---|
| 1202 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1203 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1204 | ac_cv_prog_CXX="$ac_prog" | 
|---|
| 1205 | break | 
|---|
| 1206 | fi | 
|---|
| 1207 | done | 
|---|
| 1208 | IFS="$ac_save_ifs" | 
|---|
| 1209 | fi | 
|---|
| 1210 | fi | 
|---|
| 1211 | CXX="$ac_cv_prog_CXX" | 
|---|
| 1212 | if test -n "$CXX"; then | 
|---|
| 1213 | echo "$ac_t""$CXX" 1>&6 | 
|---|
| 1214 | else | 
|---|
| 1215 | echo "$ac_t""no" 1>&6 | 
|---|
| 1216 | fi | 
|---|
| 1217 |  | 
|---|
| 1218 | test -n "$CXX" && break | 
|---|
| 1219 | done | 
|---|
| 1220 | test -n "$CXX" || CXX="gcc" | 
|---|
| 1221 |  | 
|---|
| 1222 | test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; } | 
|---|
| 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_gxx'+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='${CXX-g++} -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_gxx=yes | 
|---|
| 1236 | else | 
|---|
| 1237 | ac_cv_prog_gxx=no | 
|---|
| 1238 | fi | 
|---|
| 1239 | fi | 
|---|
| 1240 |  | 
|---|
| 1241 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 | 
|---|
| 1242 |  | 
|---|
| 1243 | if test $ac_cv_prog_gxx = yes; then | 
|---|
| 1244 | GXX=yes | 
|---|
| 1245 | ac_test_CXXFLAGS="${CXXFLAGS+set}" | 
|---|
| 1246 | ac_save_CXXFLAGS="$CXXFLAGS" | 
|---|
| 1247 | CXXFLAGS= | 
|---|
| 1248 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | 
|---|
| 1249 | echo "configure:1250: checking whether ${CXX-g++} accepts -g" >&5 | 
|---|
| 1250 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | 
|---|
| 1251 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1252 | else | 
|---|
| 1253 | echo 'void f(){}' > conftest.cc | 
|---|
| 1254 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | 
|---|
| 1255 | ac_cv_prog_cxx_g=yes | 
|---|
| 1256 | else | 
|---|
| 1257 | ac_cv_prog_cxx_g=no | 
|---|
| 1258 | fi | 
|---|
| 1259 | rm -f conftest* | 
|---|
| 1260 |  | 
|---|
| 1261 | fi | 
|---|
| 1262 |  | 
|---|
| 1263 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 | 
|---|
| 1264 | if test "$ac_test_CXXFLAGS" = set; then | 
|---|
| 1265 | CXXFLAGS="$ac_save_CXXFLAGS" | 
|---|
| 1266 | elif test $ac_cv_prog_cxx_g = yes; then | 
|---|
| 1267 | CXXFLAGS="-g -O2" | 
|---|
| 1268 | else | 
|---|
| 1269 | CXXFLAGS="-O2" | 
|---|
| 1270 | fi | 
|---|
| 1271 | else | 
|---|
| 1272 | GXX= | 
|---|
| 1273 | test "${CXXFLAGS+set}" = set || CXXFLAGS="-g" | 
|---|
| 1274 | fi | 
|---|
| 1275 |  | 
|---|
| 1276 |  | 
|---|
| 1277 | # AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD).  If we don't | 
|---|
| 1278 | # run it explicitly here, it will be run implicitly before | 
|---|
| 1279 | # NEWLIB_CONFIGURE, which doesn't work because that means that it will | 
|---|
| 1280 | # be run before AC_CANONICAL_HOST. | 
|---|
| 1281 | echo $ac_n "checking build system type""... $ac_c" 1>&6 | 
|---|
| 1282 | echo "configure:1283: checking build system type" >&5 | 
|---|
| 1283 |  | 
|---|
| 1284 | build_alias=$build | 
|---|
| 1285 | case "$build_alias" in | 
|---|
| 1286 | NONE) | 
|---|
| 1287 | case $nonopt in | 
|---|
| 1288 | NONE) build_alias=$host_alias ;; | 
|---|
| 1289 | *) build_alias=$nonopt ;; | 
|---|
| 1290 | esac ;; | 
|---|
| 1291 | esac | 
|---|
| 1292 |  | 
|---|
| 1293 | build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` | 
|---|
| 1294 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|---|
| 1295 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|---|
| 1296 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|---|
| 1297 | echo "$ac_t""$build" 1>&6 | 
|---|
| 1298 |  | 
|---|
| 1299 |  | 
|---|
| 1300 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | 
|---|
| 1301 | set dummy ${ac_tool_prefix}as; ac_word=$2 | 
|---|
| 1302 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1303 | echo "configure:1304: checking for $ac_word" >&5 | 
|---|
| 1304 | if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | 
|---|
| 1305 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1306 | else | 
|---|
| 1307 | if test -n "$AS"; then | 
|---|
| 1308 | ac_cv_prog_AS="$AS" # Let the user override the test. | 
|---|
| 1309 | else | 
|---|
| 1310 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1311 | ac_dummy="$PATH" | 
|---|
| 1312 | for ac_dir in $ac_dummy; do | 
|---|
| 1313 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1314 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1315 | ac_cv_prog_AS="${ac_tool_prefix}as" | 
|---|
| 1316 | break | 
|---|
| 1317 | fi | 
|---|
| 1318 | done | 
|---|
| 1319 | IFS="$ac_save_ifs" | 
|---|
| 1320 | test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as" | 
|---|
| 1321 | fi | 
|---|
| 1322 | fi | 
|---|
| 1323 | AS="$ac_cv_prog_AS" | 
|---|
| 1324 | if test -n "$AS"; then | 
|---|
| 1325 | echo "$ac_t""$AS" 1>&6 | 
|---|
| 1326 | else | 
|---|
| 1327 | echo "$ac_t""no" 1>&6 | 
|---|
| 1328 | fi | 
|---|
| 1329 |  | 
|---|
| 1330 |  | 
|---|
| 1331 |  | 
|---|
| 1332 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | 
|---|
| 1333 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | 
|---|
| 1334 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1335 | echo "configure:1336: checking for $ac_word" >&5 | 
|---|
| 1336 | if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then | 
|---|
| 1337 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1338 | else | 
|---|
| 1339 | if test -n "$AR"; then | 
|---|
| 1340 | ac_cv_prog_AR="$AR" # Let the user override the test. | 
|---|
| 1341 | else | 
|---|
| 1342 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1343 | ac_dummy="$PATH" | 
|---|
| 1344 | for ac_dir in $ac_dummy; do | 
|---|
| 1345 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1346 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1347 | ac_cv_prog_AR="${ac_tool_prefix}ar" | 
|---|
| 1348 | break | 
|---|
| 1349 | fi | 
|---|
| 1350 | done | 
|---|
| 1351 | IFS="$ac_save_ifs" | 
|---|
| 1352 | test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" | 
|---|
| 1353 | fi | 
|---|
| 1354 | fi | 
|---|
| 1355 | AR="$ac_cv_prog_AR" | 
|---|
| 1356 | if test -n "$AR"; then | 
|---|
| 1357 | echo "$ac_t""$AR" 1>&6 | 
|---|
| 1358 | else | 
|---|
| 1359 | echo "$ac_t""no" 1>&6 | 
|---|
| 1360 | fi | 
|---|
| 1361 |  | 
|---|
| 1362 |  | 
|---|
| 1363 |  | 
|---|
| 1364 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
| 1365 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
| 1366 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1367 | echo "configure:1368: checking for $ac_word" >&5 | 
|---|
| 1368 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
|---|
| 1369 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1370 | else | 
|---|
| 1371 | if test -n "$RANLIB"; then | 
|---|
| 1372 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 1373 | else | 
|---|
| 1374 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1375 | ac_dummy="$PATH" | 
|---|
| 1376 | for ac_dir in $ac_dummy; do | 
|---|
| 1377 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1378 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1379 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
| 1380 | break | 
|---|
| 1381 | fi | 
|---|
| 1382 | done | 
|---|
| 1383 | IFS="$ac_save_ifs" | 
|---|
| 1384 | fi | 
|---|
| 1385 | fi | 
|---|
| 1386 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 1387 | if test -n "$RANLIB"; then | 
|---|
| 1388 | echo "$ac_t""$RANLIB" 1>&6 | 
|---|
| 1389 | else | 
|---|
| 1390 | echo "$ac_t""no" 1>&6 | 
|---|
| 1391 | fi | 
|---|
| 1392 |  | 
|---|
| 1393 |  | 
|---|
| 1394 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
| 1395 | if test -n "$ac_tool_prefix"; then | 
|---|
| 1396 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
| 1397 | set dummy ranlib; ac_word=$2 | 
|---|
| 1398 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 1399 | echo "configure:1400: checking for $ac_word" >&5 | 
|---|
| 1400 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
|---|
| 1401 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1402 | else | 
|---|
| 1403 | if test -n "$RANLIB"; then | 
|---|
| 1404 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 1405 | else | 
|---|
| 1406 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 1407 | ac_dummy="$PATH" | 
|---|
| 1408 | for ac_dir in $ac_dummy; do | 
|---|
| 1409 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1410 | if test -f $ac_dir/$ac_word; then | 
|---|
| 1411 | ac_cv_prog_RANLIB="ranlib" | 
|---|
| 1412 | break | 
|---|
| 1413 | fi | 
|---|
| 1414 | done | 
|---|
| 1415 | IFS="$ac_save_ifs" | 
|---|
| 1416 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | 
|---|
| 1417 | fi | 
|---|
| 1418 | fi | 
|---|
| 1419 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 1420 | if test -n "$RANLIB"; then | 
|---|
| 1421 | echo "$ac_t""$RANLIB" 1>&6 | 
|---|
| 1422 | else | 
|---|
| 1423 | echo "$ac_t""no" 1>&6 | 
|---|
| 1424 | fi | 
|---|
| 1425 |  | 
|---|
| 1426 | else | 
|---|
| 1427 | RANLIB=":" | 
|---|
| 1428 | fi | 
|---|
| 1429 | fi | 
|---|
| 1430 |  | 
|---|
| 1431 |  | 
|---|
| 1432 | # Find a good install program.  We prefer a C program (faster), | 
|---|
| 1433 | # so one script is as good as another.  But avoid the broken or | 
|---|
| 1434 | # incompatible versions: | 
|---|
| 1435 | # SysV /etc/install, /usr/sbin/install | 
|---|
| 1436 | # SunOS /usr/etc/install | 
|---|
| 1437 | # IRIX /sbin/install | 
|---|
| 1438 | # AIX /bin/install | 
|---|
| 1439 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|---|
| 1440 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|---|
| 1441 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|---|
| 1442 | # ./install, which can be erroneously created by make from ./install.sh. | 
|---|
| 1443 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 
|---|
| 1444 | echo "configure:1445: checking for a BSD compatible install" >&5 | 
|---|
| 1445 | if test -z "$INSTALL"; then | 
|---|
| 1446 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 
|---|
| 1447 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1448 | else | 
|---|
| 1449 | IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":" | 
|---|
| 1450 | for ac_dir in $PATH; do | 
|---|
| 1451 | # Account for people who put trailing slashes in PATH elements. | 
|---|
| 1452 | case "$ac_dir/" in | 
|---|
| 1453 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; | 
|---|
| 1454 | *) | 
|---|
| 1455 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|---|
| 1456 | # Don't use installbsd from OSF since it installs stuff as root | 
|---|
| 1457 | # by default. | 
|---|
| 1458 | for ac_prog in ginstall scoinst install; do | 
|---|
| 1459 | if test -f $ac_dir/$ac_prog; then | 
|---|
| 1460 | if test $ac_prog = install && | 
|---|
| 1461 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then | 
|---|
| 1462 | # AIX install.  It has an incompatible calling convention. | 
|---|
| 1463 | : | 
|---|
| 1464 | else | 
|---|
| 1465 | ac_cv_path_install="$ac_dir/$ac_prog -c" | 
|---|
| 1466 | break 2 | 
|---|
| 1467 | fi | 
|---|
| 1468 | fi | 
|---|
| 1469 | done | 
|---|
| 1470 | ;; | 
|---|
| 1471 | esac | 
|---|
| 1472 | done | 
|---|
| 1473 | IFS="$ac_save_IFS" | 
|---|
| 1474 |  | 
|---|
| 1475 | fi | 
|---|
| 1476 | if test "${ac_cv_path_install+set}" = set; then | 
|---|
| 1477 | INSTALL="$ac_cv_path_install" | 
|---|
| 1478 | else | 
|---|
| 1479 | # As a last resort, use the slow shell script.  We don't cache a | 
|---|
| 1480 | # path for INSTALL within a source directory, because that will | 
|---|
| 1481 | # break other packages using the cache if that directory is | 
|---|
| 1482 | # removed, or if the path is relative. | 
|---|
| 1483 | INSTALL="$ac_install_sh" | 
|---|
| 1484 | fi | 
|---|
| 1485 | fi | 
|---|
| 1486 | echo "$ac_t""$INSTALL" 1>&6 | 
|---|
| 1487 |  | 
|---|
| 1488 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|---|
| 1489 | # It thinks the first close brace ends the variable substitution. | 
|---|
| 1490 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|---|
| 1491 |  | 
|---|
| 1492 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 
|---|
| 1493 |  | 
|---|
| 1494 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|---|
| 1495 |  | 
|---|
| 1496 |  | 
|---|
| 1497 | echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 
|---|
| 1498 | echo "configure:1499: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 
|---|
| 1499 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 
|---|
| 1500 | if test "${enable_maintainer_mode+set}" = set; then | 
|---|
| 1501 | enableval="$enable_maintainer_mode" | 
|---|
| 1502 | USE_MAINTAINER_MODE=$enableval | 
|---|
| 1503 | else | 
|---|
| 1504 | USE_MAINTAINER_MODE=no | 
|---|
| 1505 | fi | 
|---|
| 1506 |  | 
|---|
| 1507 | echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 | 
|---|
| 1508 |  | 
|---|
| 1509 |  | 
|---|
| 1510 | if test $USE_MAINTAINER_MODE = yes; then | 
|---|
| 1511 | MAINTAINER_MODE_TRUE= | 
|---|
| 1512 | MAINTAINER_MODE_FALSE='#' | 
|---|
| 1513 | else | 
|---|
| 1514 | MAINTAINER_MODE_TRUE='#' | 
|---|
| 1515 | MAINTAINER_MODE_FALSE= | 
|---|
| 1516 | fi | 
|---|
| 1517 | MAINT=$MAINTAINER_MODE_TRUE | 
|---|
| 1518 |  | 
|---|
| 1519 |  | 
|---|
| 1520 |  | 
|---|
| 1521 | # We need AC_EXEEXT to keep automake happy in cygnus mode.  However, | 
|---|
| 1522 | # at least currently, we never actually build a program, so we never | 
|---|
| 1523 | # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally | 
|---|
| 1524 | # fails, because we are probably configuring with a cross compiler | 
|---|
| 1525 | # which can't create executables.  So we include AC_EXEEXT to keep | 
|---|
| 1526 | # automake happy, but we don't execute it, since we don't care about | 
|---|
| 1527 | # the result. | 
|---|
| 1528 | if false; then | 
|---|
| 1529 | # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands | 
|---|
| 1530 | # to nothing, so nothing would remain between `then' and `fi' if it | 
|---|
| 1531 | # were not for the `:' below. | 
|---|
| 1532 | : | 
|---|
| 1533 |  | 
|---|
| 1534 |  | 
|---|
| 1535 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 
|---|
| 1536 | echo "configure:1537: checking for executable suffix" >&5 | 
|---|
| 1537 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 
|---|
| 1538 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1539 | else | 
|---|
| 1540 | if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 
|---|
| 1541 | ac_cv_exeext=.exe | 
|---|
| 1542 | else | 
|---|
| 1543 | rm -f conftest* | 
|---|
| 1544 | echo 'int main () { return 0; }' > conftest.$ac_ext | 
|---|
| 1545 | ac_cv_exeext= | 
|---|
| 1546 | if { (eval echo configure:1547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 
|---|
| 1547 | for file in conftest.*; do | 
|---|
| 1548 | case $file in | 
|---|
| 1549 | *.c | *.o | *.obj) ;; | 
|---|
| 1550 | *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 
|---|
| 1551 | esac | 
|---|
| 1552 | done | 
|---|
| 1553 | else | 
|---|
| 1554 | { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } | 
|---|
| 1555 | fi | 
|---|
| 1556 | rm -f conftest* | 
|---|
| 1557 | test x"${ac_cv_exeext}" = x && ac_cv_exeext=no | 
|---|
| 1558 | fi | 
|---|
| 1559 | fi | 
|---|
| 1560 |  | 
|---|
| 1561 | EXEEXT="" | 
|---|
| 1562 | test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} | 
|---|
| 1563 | echo "$ac_t""${ac_cv_exeext}" 1>&6 | 
|---|
| 1564 | ac_exeext=$EXEEXT | 
|---|
| 1565 |  | 
|---|
| 1566 | fi | 
|---|
| 1567 |  | 
|---|
| 1568 | . ${srcdir}/configure.host | 
|---|
| 1569 |  | 
|---|
| 1570 | case ${gc_basedir} in | 
|---|
| 1571 | /* | A-Za-z:/\\*) gc_flagbasedir=${gc_basedir} ;; | 
|---|
| 1572 | *) gc_flagbasedir='$(top_builddir)/'${gc_basedir} ;; | 
|---|
| 1573 | esac | 
|---|
| 1574 |  | 
|---|
| 1575 | gc_cflags="${gc_cflags} -I"'$(top_builddir)'"/./targ-include -I${gc_flagbasedir}/libc/include" | 
|---|
| 1576 | case "${host}" in | 
|---|
| 1577 | *-*-cygwin32*) | 
|---|
| 1578 | gc_cflags="${gc_cflags} -I${gc_flagbasedir}/../winsup/include" | 
|---|
| 1579 | ;; | 
|---|
| 1580 | esac | 
|---|
| 1581 |  | 
|---|
| 1582 |  | 
|---|
| 1583 | GC_CFLAGS=${gc_cflags} | 
|---|
| 1584 |  | 
|---|
| 1585 |  | 
|---|
| 1586 |  | 
|---|
| 1587 | # Check whether --enable-shared or --disable-shared was given. | 
|---|
| 1588 | if test "${enable_shared+set}" = set; then | 
|---|
| 1589 | enableval="$enable_shared" | 
|---|
| 1590 | p=${PACKAGE-default} | 
|---|
| 1591 | case $enableval in | 
|---|
| 1592 | yes) enable_shared=yes ;; | 
|---|
| 1593 | no) enable_shared=no ;; | 
|---|
| 1594 | *) | 
|---|
| 1595 | enable_shared=no | 
|---|
| 1596 | # Look at the argument we got.  We use all the common list separators. | 
|---|
| 1597 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
|---|
| 1598 | for pkg in $enableval; do | 
|---|
| 1599 | if test "X$pkg" = "X$p"; then | 
|---|
| 1600 | enable_shared=yes | 
|---|
| 1601 | fi | 
|---|
| 1602 | done | 
|---|
| 1603 | IFS="$ac_save_ifs" | 
|---|
| 1604 | ;; | 
|---|
| 1605 | esac | 
|---|
| 1606 | else | 
|---|
| 1607 | enable_shared=yes | 
|---|
| 1608 | fi | 
|---|
| 1609 |  | 
|---|
| 1610 | # Check whether --enable-static or --disable-static was given. | 
|---|
| 1611 | if test "${enable_static+set}" = set; then | 
|---|
| 1612 | enableval="$enable_static" | 
|---|
| 1613 | p=${PACKAGE-default} | 
|---|
| 1614 | case $enableval in | 
|---|
| 1615 | yes) enable_static=yes ;; | 
|---|
| 1616 | no) enable_static=no ;; | 
|---|
| 1617 | *) | 
|---|
| 1618 | enable_static=no | 
|---|
| 1619 | # Look at the argument we got.  We use all the common list separators. | 
|---|
| 1620 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
|---|
| 1621 | for pkg in $enableval; do | 
|---|
| 1622 | if test "X$pkg" = "X$p"; then | 
|---|
| 1623 | enable_static=yes | 
|---|
| 1624 | fi | 
|---|
| 1625 | done | 
|---|
| 1626 | IFS="$ac_save_ifs" | 
|---|
| 1627 | ;; | 
|---|
| 1628 | esac | 
|---|
| 1629 | else | 
|---|
| 1630 | enable_static=yes | 
|---|
| 1631 | fi | 
|---|
| 1632 |  | 
|---|
| 1633 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
|---|
| 1634 | if test "${enable_fast_install+set}" = set; then | 
|---|
| 1635 | enableval="$enable_fast_install" | 
|---|
| 1636 | p=${PACKAGE-default} | 
|---|
| 1637 | case $enableval in | 
|---|
| 1638 | yes) enable_fast_install=yes ;; | 
|---|
| 1639 | no) enable_fast_install=no ;; | 
|---|
| 1640 | *) | 
|---|
| 1641 | enable_fast_install=no | 
|---|
| 1642 | # Look at the argument we got.  We use all the common list separators. | 
|---|
| 1643 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
|---|
| 1644 | for pkg in $enableval; do | 
|---|
| 1645 | if test "X$pkg" = "X$p"; then | 
|---|
| 1646 | enable_fast_install=yes | 
|---|
| 1647 | fi | 
|---|
| 1648 | done | 
|---|
| 1649 | IFS="$ac_save_ifs" | 
|---|
| 1650 | ;; | 
|---|
| 1651 | esac | 
|---|
| 1652 | else | 
|---|
| 1653 | enable_fast_install=yes | 
|---|
| 1654 | fi | 
|---|
| 1655 |  | 
|---|
| 1656 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
|---|
| 1657 | if test "${with_gnu_ld+set}" = set; then | 
|---|
| 1658 | withval="$with_gnu_ld" | 
|---|
| 1659 | test "$withval" = no || with_gnu_ld=yes | 
|---|
| 1660 | else | 
|---|
| 1661 | with_gnu_ld=no | 
|---|
| 1662 | fi | 
|---|
| 1663 |  | 
|---|
| 1664 | ac_prog=ld | 
|---|
| 1665 | if test "$GCC" = yes; then | 
|---|
| 1666 | # Check if gcc -print-prog-name=ld gives a path. | 
|---|
| 1667 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 
|---|
| 1668 | echo "configure:1669: checking for ld used by GCC" >&5 | 
|---|
| 1669 | case $host in | 
|---|
| 1670 | *-*-mingw*) | 
|---|
| 1671 | # gcc leaves a trailing carriage return which upsets mingw | 
|---|
| 1672 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
|---|
| 1673 | *) | 
|---|
| 1674 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
|---|
| 1675 | esac | 
|---|
| 1676 | case $ac_prog in | 
|---|
| 1677 | # Accept absolute paths. | 
|---|
| 1678 | [\\/]* | [A-Za-z]:[\\/]*) | 
|---|
| 1679 | re_direlt='/[^/][^/]*/\.\./' | 
|---|
| 1680 | # Canonicalize the path of ld | 
|---|
| 1681 | ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 
|---|
| 1682 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
|---|
| 1683 | ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | 
|---|
| 1684 | done | 
|---|
| 1685 | test -z "$LD" && LD="$ac_prog" | 
|---|
| 1686 | ;; | 
|---|
| 1687 | "") | 
|---|
| 1688 | # If it fails, then pretend we aren't using GCC. | 
|---|
| 1689 | ac_prog=ld | 
|---|
| 1690 | ;; | 
|---|
| 1691 | *) | 
|---|
| 1692 | # If it is relative, then search for the first ld in PATH. | 
|---|
| 1693 | with_gnu_ld=unknown | 
|---|
| 1694 | ;; | 
|---|
| 1695 | esac | 
|---|
| 1696 | elif test "$with_gnu_ld" = yes; then | 
|---|
| 1697 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 
|---|
| 1698 | echo "configure:1699: checking for GNU ld" >&5 | 
|---|
| 1699 | else | 
|---|
| 1700 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 
|---|
| 1701 | echo "configure:1702: checking for non-GNU ld" >&5 | 
|---|
| 1702 | fi | 
|---|
| 1703 | if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then | 
|---|
| 1704 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1705 | else | 
|---|
| 1706 | if test -z "$LD"; then | 
|---|
| 1707 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 
|---|
| 1708 | for ac_dir in $PATH; do | 
|---|
| 1709 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1710 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
|---|
| 1711 | lt_cv_path_LD="$ac_dir/$ac_prog" | 
|---|
| 1712 | # Check to see if the program is GNU ld.  I'd rather use --version, | 
|---|
| 1713 | # but apparently some GNU ld's only accept -v. | 
|---|
| 1714 | # Break only if it was the GNU/non-GNU ld that we prefer. | 
|---|
| 1715 | if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | 
|---|
| 1716 | test "$with_gnu_ld" != no && break | 
|---|
| 1717 | else | 
|---|
| 1718 | test "$with_gnu_ld" != yes && break | 
|---|
| 1719 | fi | 
|---|
| 1720 | fi | 
|---|
| 1721 | done | 
|---|
| 1722 | IFS="$ac_save_ifs" | 
|---|
| 1723 | else | 
|---|
| 1724 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
|---|
| 1725 | fi | 
|---|
| 1726 | fi | 
|---|
| 1727 |  | 
|---|
| 1728 | LD="$lt_cv_path_LD" | 
|---|
| 1729 | if test -n "$LD"; then | 
|---|
| 1730 | echo "$ac_t""$LD" 1>&6 | 
|---|
| 1731 | else | 
|---|
| 1732 | echo "$ac_t""no" 1>&6 | 
|---|
| 1733 | fi | 
|---|
| 1734 | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | 
|---|
| 1735 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 
|---|
| 1736 | echo "configure:1737: checking if the linker ($LD) is GNU ld" >&5 | 
|---|
| 1737 | if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then | 
|---|
| 1738 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1739 | else | 
|---|
| 1740 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
|---|
| 1741 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
|---|
| 1742 | lt_cv_prog_gnu_ld=yes | 
|---|
| 1743 | else | 
|---|
| 1744 | lt_cv_prog_gnu_ld=no | 
|---|
| 1745 | fi | 
|---|
| 1746 | fi | 
|---|
| 1747 |  | 
|---|
| 1748 | echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6 | 
|---|
| 1749 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
|---|
| 1750 |  | 
|---|
| 1751 |  | 
|---|
| 1752 | echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6 | 
|---|
| 1753 | echo "configure:1754: checking for $LD option to reload object files" >&5 | 
|---|
| 1754 | if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then | 
|---|
| 1755 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1756 | else | 
|---|
| 1757 | lt_cv_ld_reload_flag='-r' | 
|---|
| 1758 | fi | 
|---|
| 1759 |  | 
|---|
| 1760 | echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6 | 
|---|
| 1761 | reload_flag=$lt_cv_ld_reload_flag | 
|---|
| 1762 | test -n "$reload_flag" && reload_flag=" $reload_flag" | 
|---|
| 1763 |  | 
|---|
| 1764 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 
|---|
| 1765 | echo "configure:1766: checking for BSD-compatible nm" >&5 | 
|---|
| 1766 | if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then | 
|---|
| 1767 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1768 | else | 
|---|
| 1769 | if test -n "$NM"; then | 
|---|
| 1770 | # Let the user override the test. | 
|---|
| 1771 | lt_cv_path_NM="$NM" | 
|---|
| 1772 | else | 
|---|
| 1773 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" | 
|---|
| 1774 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
|---|
| 1775 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 1776 | tmp_nm=$ac_dir/${ac_tool_prefix}nm | 
|---|
| 1777 | if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | 
|---|
| 1778 | # Check to see if the nm accepts a BSD-compat flag. | 
|---|
| 1779 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
|---|
| 1780 | #   nm: unknown option "B" ignored | 
|---|
| 1781 | # Tru64's nm complains that /dev/null is an invalid object file | 
|---|
| 1782 | if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | 
|---|
| 1783 | lt_cv_path_NM="$tmp_nm -B" | 
|---|
| 1784 | break | 
|---|
| 1785 | elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 
|---|
| 1786 | lt_cv_path_NM="$tmp_nm -p" | 
|---|
| 1787 | break | 
|---|
| 1788 | else | 
|---|
| 1789 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
|---|
| 1790 | continue # so that we can try to find one that supports BSD flags | 
|---|
| 1791 | fi | 
|---|
| 1792 | fi | 
|---|
| 1793 | done | 
|---|
| 1794 | IFS="$ac_save_ifs" | 
|---|
| 1795 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
|---|
| 1796 | fi | 
|---|
| 1797 | fi | 
|---|
| 1798 |  | 
|---|
| 1799 | NM="$lt_cv_path_NM" | 
|---|
| 1800 | echo "$ac_t""$NM" 1>&6 | 
|---|
| 1801 |  | 
|---|
| 1802 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 
|---|
| 1803 | echo "configure:1804: checking whether ln -s works" >&5 | 
|---|
| 1804 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | 
|---|
| 1805 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1806 | else | 
|---|
| 1807 | rm -f conftestdata | 
|---|
| 1808 | if ln -s X conftestdata 2>/dev/null | 
|---|
| 1809 | then | 
|---|
| 1810 | rm -f conftestdata | 
|---|
| 1811 | ac_cv_prog_LN_S="ln -s" | 
|---|
| 1812 | else | 
|---|
| 1813 | ac_cv_prog_LN_S=ln | 
|---|
| 1814 | fi | 
|---|
| 1815 | fi | 
|---|
| 1816 | LN_S="$ac_cv_prog_LN_S" | 
|---|
| 1817 | if test "$ac_cv_prog_LN_S" = "ln -s"; then | 
|---|
| 1818 | echo "$ac_t""yes" 1>&6 | 
|---|
| 1819 | else | 
|---|
| 1820 | echo "$ac_t""no" 1>&6 | 
|---|
| 1821 | fi | 
|---|
| 1822 |  | 
|---|
| 1823 | echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6 | 
|---|
| 1824 | echo "configure:1825: checking how to recognise dependant libraries" >&5 | 
|---|
| 1825 | if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then | 
|---|
| 1826 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1827 | else | 
|---|
| 1828 | lt_cv_file_magic_cmd='$MAGIC_CMD' | 
|---|
| 1829 | lt_cv_file_magic_test_file= | 
|---|
| 1830 | lt_cv_deplibs_check_method='unknown' | 
|---|
| 1831 | # Need to set the preceding variable on all platforms that support | 
|---|
| 1832 | # interlibrary dependencies. | 
|---|
| 1833 | # 'none' -- dependencies not supported. | 
|---|
| 1834 | # `unknown' -- same as none, but documents that we really don't know. | 
|---|
| 1835 | # 'pass_all' -- all dependencies passed with no checks. | 
|---|
| 1836 | # 'test_compile' -- check by making test program. | 
|---|
| 1837 | # 'file_magic [regex]' -- check by looking for files in library path | 
|---|
| 1838 | # which responds to the $file_magic_cmd with a given egrep regex. | 
|---|
| 1839 | # If you have `file' or equivalent on your system and you're not sure | 
|---|
| 1840 | # whether `pass_all' will *always* work, you probably want this one. | 
|---|
| 1841 |  | 
|---|
| 1842 | case $host_os in | 
|---|
| 1843 | aix*) | 
|---|
| 1844 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1845 | ;; | 
|---|
| 1846 |  | 
|---|
| 1847 | beos*) | 
|---|
| 1848 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1849 | ;; | 
|---|
| 1850 |  | 
|---|
| 1851 | bsdi4*) | 
|---|
| 1852 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
|---|
| 1853 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|---|
| 1854 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|---|
| 1855 | ;; | 
|---|
| 1856 |  | 
|---|
| 1857 | cygwin* | mingw* |pw32*) | 
|---|
| 1858 | lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | 
|---|
| 1859 | lt_cv_file_magic_cmd='$OBJDUMP -f' | 
|---|
| 1860 | ;; | 
|---|
| 1861 |  | 
|---|
| 1862 | darwin* | rhapsody*) | 
|---|
| 1863 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
|---|
| 1864 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|---|
| 1865 | case "$host_os" in | 
|---|
| 1866 | rhapsody* | darwin1.012) | 
|---|
| 1867 | lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System' | 
|---|
| 1868 | ;; | 
|---|
| 1869 | *) # Darwin 1.3 on | 
|---|
| 1870 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
|---|
| 1871 | ;; | 
|---|
| 1872 | esac | 
|---|
| 1873 | ;; | 
|---|
| 1874 |  | 
|---|
| 1875 | freebsd* ) | 
|---|
| 1876 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
|---|
| 1877 | case $host_cpu in | 
|---|
| 1878 | i*86 ) | 
|---|
| 1879 | # Not sure whether the presence of OpenBSD here was a mistake. | 
|---|
| 1880 | # Let's accept both of them until this is cleared up. | 
|---|
| 1881 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
|---|
| 1882 | lt_cv_file_magic_cmd=/usr/bin/file | 
|---|
| 1883 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
|---|
| 1884 | ;; | 
|---|
| 1885 | esac | 
|---|
| 1886 | else | 
|---|
| 1887 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1888 | fi | 
|---|
| 1889 | ;; | 
|---|
| 1890 |  | 
|---|
| 1891 | gnu*) | 
|---|
| 1892 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1893 | ;; | 
|---|
| 1894 |  | 
|---|
| 1895 | hpux10.20*|hpux11*) | 
|---|
| 1896 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
|---|
| 1897 | lt_cv_file_magic_cmd=/usr/bin/file | 
|---|
| 1898 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
|---|
| 1899 | ;; | 
|---|
| 1900 |  | 
|---|
| 1901 | irix5* | irix6*) | 
|---|
| 1902 | case $host_os in | 
|---|
| 1903 | irix5*) | 
|---|
| 1904 | # this will be overridden with pass_all, but let us keep it just in case | 
|---|
| 1905 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
|---|
| 1906 | ;; | 
|---|
| 1907 | *) | 
|---|
| 1908 | case $LD in | 
|---|
| 1909 | *-32|*"-32 ") libmagic=32-bit;; | 
|---|
| 1910 | *-n32|*"-n32 ") libmagic=N32;; | 
|---|
| 1911 | *-64|*"-64 ") libmagic=64-bit;; | 
|---|
| 1912 | *) libmagic=never-match;; | 
|---|
| 1913 | esac | 
|---|
| 1914 | # this will be overridden with pass_all, but let us keep it just in case | 
|---|
| 1915 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
|---|
| 1916 | ;; | 
|---|
| 1917 | esac | 
|---|
| 1918 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
|---|
| 1919 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1920 | ;; | 
|---|
| 1921 |  | 
|---|
| 1922 | # This must be Linux ELF. | 
|---|
| 1923 | linux-gnu*) | 
|---|
| 1924 | case $host_cpu in | 
|---|
| 1925 | alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* ) | 
|---|
| 1926 | lt_cv_deplibs_check_method=pass_all ;; | 
|---|
| 1927 | *) | 
|---|
| 1928 | # glibc up to 2.1.1 does not perform some relocations on ARM | 
|---|
| 1929 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
|---|
| 1930 | esac | 
|---|
| 1931 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
|---|
| 1932 | ;; | 
|---|
| 1933 |  | 
|---|
| 1934 | netbsd*) | 
|---|
| 1935 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
|---|
| 1936 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | 
|---|
| 1937 | else | 
|---|
| 1938 | lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | 
|---|
| 1939 | fi | 
|---|
| 1940 | ;; | 
|---|
| 1941 |  | 
|---|
| 1942 | newsos6) | 
|---|
| 1943 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
|---|
| 1944 | lt_cv_file_magic_cmd=/usr/bin/file | 
|---|
| 1945 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
|---|
| 1946 | ;; | 
|---|
| 1947 |  | 
|---|
| 1948 | osf3* | osf4* | osf5*) | 
|---|
| 1949 | # this will be overridden with pass_all, but let us keep it just in case | 
|---|
| 1950 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
|---|
| 1951 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|---|
| 1952 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1953 | ;; | 
|---|
| 1954 |  | 
|---|
| 1955 | sco3.2v5*) | 
|---|
| 1956 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1957 | ;; | 
|---|
| 1958 |  | 
|---|
| 1959 | solaris*) | 
|---|
| 1960 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1961 | lt_cv_file_magic_test_file=/lib/libc.so | 
|---|
| 1962 | ;; | 
|---|
| 1963 |  | 
|---|
| 1964 | sysv5uw[78]* | sysv4*uw2*) | 
|---|
| 1965 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1966 | ;; | 
|---|
| 1967 |  | 
|---|
| 1968 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|---|
| 1969 | case $host_vendor in | 
|---|
| 1970 | ncr) | 
|---|
| 1971 | lt_cv_deplibs_check_method=pass_all | 
|---|
| 1972 | ;; | 
|---|
| 1973 | motorola) | 
|---|
| 1974 | 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]' | 
|---|
| 1975 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
|---|
| 1976 | ;; | 
|---|
| 1977 | esac | 
|---|
| 1978 | ;; | 
|---|
| 1979 | esac | 
|---|
| 1980 |  | 
|---|
| 1981 | fi | 
|---|
| 1982 |  | 
|---|
| 1983 | echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6 | 
|---|
| 1984 | file_magic_cmd=$lt_cv_file_magic_cmd | 
|---|
| 1985 | deplibs_check_method=$lt_cv_deplibs_check_method | 
|---|
| 1986 |  | 
|---|
| 1987 | echo $ac_n "checking for object suffix""... $ac_c" 1>&6 | 
|---|
| 1988 | echo "configure:1989: checking for object suffix" >&5 | 
|---|
| 1989 | if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then | 
|---|
| 1990 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 1991 | else | 
|---|
| 1992 | rm -f conftest* | 
|---|
| 1993 | echo 'int i = 1;' > conftest.$ac_ext | 
|---|
| 1994 | if { (eval echo configure:1995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
|---|
| 1995 | for ac_file in conftest.*; do | 
|---|
| 1996 | case $ac_file in | 
|---|
| 1997 | *.c) ;; | 
|---|
| 1998 | *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; | 
|---|
| 1999 | esac | 
|---|
| 2000 | done | 
|---|
| 2001 | else | 
|---|
| 2002 | { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; } | 
|---|
| 2003 | fi | 
|---|
| 2004 | rm -f conftest* | 
|---|
| 2005 | fi | 
|---|
| 2006 |  | 
|---|
| 2007 | echo "$ac_t""$ac_cv_objext" 1>&6 | 
|---|
| 2008 | OBJEXT=$ac_cv_objext | 
|---|
| 2009 | ac_objext=$ac_cv_objext | 
|---|
| 2010 |  | 
|---|
| 2011 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 
|---|
| 2012 |  | 
|---|
| 2013 | # Only perform the check for file, if the check method requires it | 
|---|
| 2014 | case $deplibs_check_method in | 
|---|
| 2015 | file_magic*) | 
|---|
| 2016 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
|---|
| 2017 | echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6 | 
|---|
| 2018 | echo "configure:2019: checking for ${ac_tool_prefix}file" >&5 | 
|---|
| 2019 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then | 
|---|
| 2020 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2021 | else | 
|---|
| 2022 | case $MAGIC_CMD in | 
|---|
| 2023 | /*) | 
|---|
| 2024 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|---|
| 2025 | ;; | 
|---|
| 2026 | ?:/*) | 
|---|
| 2027 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
|---|
| 2028 | ;; | 
|---|
| 2029 | *) | 
|---|
| 2030 | ac_save_MAGIC_CMD="$MAGIC_CMD" | 
|---|
| 2031 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2032 | ac_dummy="/usr/bin:$PATH" | 
|---|
| 2033 | for ac_dir in $ac_dummy; do | 
|---|
| 2034 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2035 | if test -f $ac_dir/${ac_tool_prefix}file; then | 
|---|
| 2036 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
|---|
| 2037 | if test -n "$file_magic_test_file"; then | 
|---|
| 2038 | case $deplibs_check_method in | 
|---|
| 2039 | "file_magic "*) | 
|---|
| 2040 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|---|
| 2041 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|---|
| 2042 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|---|
| 2043 | egrep "$file_magic_regex" > /dev/null; then | 
|---|
| 2044 | : | 
|---|
| 2045 | else | 
|---|
| 2046 | cat <<EOF 1>&2 | 
|---|
| 2047 |  | 
|---|
| 2048 | *** Warning: the command libtool uses to detect shared libraries, | 
|---|
| 2049 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|---|
| 2050 | *** The result is that libtool may fail to recognize shared libraries | 
|---|
| 2051 | *** as such.  This will affect the creation of libtool libraries that | 
|---|
| 2052 | *** depend on shared libraries, but programs linked with such libtool | 
|---|
| 2053 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|---|
| 2054 | *** may want to report the problem to your system manager and/or to | 
|---|
| 2055 | *** bug-libtool@gnu.org | 
|---|
| 2056 |  | 
|---|
| 2057 | EOF | 
|---|
| 2058 | fi ;; | 
|---|
| 2059 | esac | 
|---|
| 2060 | fi | 
|---|
| 2061 | break | 
|---|
| 2062 | fi | 
|---|
| 2063 | done | 
|---|
| 2064 | IFS="$ac_save_ifs" | 
|---|
| 2065 | MAGIC_CMD="$ac_save_MAGIC_CMD" | 
|---|
| 2066 | ;; | 
|---|
| 2067 | esac | 
|---|
| 2068 | fi | 
|---|
| 2069 |  | 
|---|
| 2070 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|---|
| 2071 | if test -n "$MAGIC_CMD"; then | 
|---|
| 2072 | echo "$ac_t""$MAGIC_CMD" 1>&6 | 
|---|
| 2073 | else | 
|---|
| 2074 | echo "$ac_t""no" 1>&6 | 
|---|
| 2075 | fi | 
|---|
| 2076 |  | 
|---|
| 2077 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
|---|
| 2078 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2079 | echo $ac_n "checking for file""... $ac_c" 1>&6 | 
|---|
| 2080 | echo "configure:2081: checking for file" >&5 | 
|---|
| 2081 | if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then | 
|---|
| 2082 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2083 | else | 
|---|
| 2084 | case $MAGIC_CMD in | 
|---|
| 2085 | /*) | 
|---|
| 2086 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|---|
| 2087 | ;; | 
|---|
| 2088 | ?:/*) | 
|---|
| 2089 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
|---|
| 2090 | ;; | 
|---|
| 2091 | *) | 
|---|
| 2092 | ac_save_MAGIC_CMD="$MAGIC_CMD" | 
|---|
| 2093 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2094 | ac_dummy="/usr/bin:$PATH" | 
|---|
| 2095 | for ac_dir in $ac_dummy; do | 
|---|
| 2096 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2097 | if test -f $ac_dir/file; then | 
|---|
| 2098 | lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
|---|
| 2099 | if test -n "$file_magic_test_file"; then | 
|---|
| 2100 | case $deplibs_check_method in | 
|---|
| 2101 | "file_magic "*) | 
|---|
| 2102 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|---|
| 2103 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|---|
| 2104 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|---|
| 2105 | egrep "$file_magic_regex" > /dev/null; then | 
|---|
| 2106 | : | 
|---|
| 2107 | else | 
|---|
| 2108 | cat <<EOF 1>&2 | 
|---|
| 2109 |  | 
|---|
| 2110 | *** Warning: the command libtool uses to detect shared libraries, | 
|---|
| 2111 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|---|
| 2112 | *** The result is that libtool may fail to recognize shared libraries | 
|---|
| 2113 | *** as such.  This will affect the creation of libtool libraries that | 
|---|
| 2114 | *** depend on shared libraries, but programs linked with such libtool | 
|---|
| 2115 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|---|
| 2116 | *** may want to report the problem to your system manager and/or to | 
|---|
| 2117 | *** bug-libtool@gnu.org | 
|---|
| 2118 |  | 
|---|
| 2119 | EOF | 
|---|
| 2120 | fi ;; | 
|---|
| 2121 | esac | 
|---|
| 2122 | fi | 
|---|
| 2123 | break | 
|---|
| 2124 | fi | 
|---|
| 2125 | done | 
|---|
| 2126 | IFS="$ac_save_ifs" | 
|---|
| 2127 | MAGIC_CMD="$ac_save_MAGIC_CMD" | 
|---|
| 2128 | ;; | 
|---|
| 2129 | esac | 
|---|
| 2130 | fi | 
|---|
| 2131 |  | 
|---|
| 2132 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|---|
| 2133 | if test -n "$MAGIC_CMD"; then | 
|---|
| 2134 | echo "$ac_t""$MAGIC_CMD" 1>&6 | 
|---|
| 2135 | else | 
|---|
| 2136 | echo "$ac_t""no" 1>&6 | 
|---|
| 2137 | fi | 
|---|
| 2138 |  | 
|---|
| 2139 | else | 
|---|
| 2140 | MAGIC_CMD=: | 
|---|
| 2141 | fi | 
|---|
| 2142 | fi | 
|---|
| 2143 |  | 
|---|
| 2144 | fi | 
|---|
| 2145 | ;; | 
|---|
| 2146 | esac | 
|---|
| 2147 |  | 
|---|
| 2148 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|---|
| 2149 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|---|
| 2150 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 2151 | echo "configure:2152: checking for $ac_word" >&5 | 
|---|
| 2152 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
|---|
| 2153 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2154 | else | 
|---|
| 2155 | if test -n "$RANLIB"; then | 
|---|
| 2156 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 2157 | else | 
|---|
| 2158 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2159 | ac_dummy="$PATH" | 
|---|
| 2160 | for ac_dir in $ac_dummy; do | 
|---|
| 2161 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2162 | if test -f $ac_dir/$ac_word; then | 
|---|
| 2163 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|---|
| 2164 | break | 
|---|
| 2165 | fi | 
|---|
| 2166 | done | 
|---|
| 2167 | IFS="$ac_save_ifs" | 
|---|
| 2168 | fi | 
|---|
| 2169 | fi | 
|---|
| 2170 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 2171 | if test -n "$RANLIB"; then | 
|---|
| 2172 | echo "$ac_t""$RANLIB" 1>&6 | 
|---|
| 2173 | else | 
|---|
| 2174 | echo "$ac_t""no" 1>&6 | 
|---|
| 2175 | fi | 
|---|
| 2176 |  | 
|---|
| 2177 |  | 
|---|
| 2178 | if test -z "$ac_cv_prog_RANLIB"; then | 
|---|
| 2179 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2180 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|---|
| 2181 | set dummy ranlib; ac_word=$2 | 
|---|
| 2182 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 2183 | echo "configure:2184: checking for $ac_word" >&5 | 
|---|
| 2184 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 
|---|
| 2185 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2186 | else | 
|---|
| 2187 | if test -n "$RANLIB"; then | 
|---|
| 2188 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|---|
| 2189 | else | 
|---|
| 2190 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2191 | ac_dummy="$PATH" | 
|---|
| 2192 | for ac_dir in $ac_dummy; do | 
|---|
| 2193 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2194 | if test -f $ac_dir/$ac_word; then | 
|---|
| 2195 | ac_cv_prog_RANLIB="ranlib" | 
|---|
| 2196 | break | 
|---|
| 2197 | fi | 
|---|
| 2198 | done | 
|---|
| 2199 | IFS="$ac_save_ifs" | 
|---|
| 2200 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" | 
|---|
| 2201 | fi | 
|---|
| 2202 | fi | 
|---|
| 2203 | RANLIB="$ac_cv_prog_RANLIB" | 
|---|
| 2204 | if test -n "$RANLIB"; then | 
|---|
| 2205 | echo "$ac_t""$RANLIB" 1>&6 | 
|---|
| 2206 | else | 
|---|
| 2207 | echo "$ac_t""no" 1>&6 | 
|---|
| 2208 | fi | 
|---|
| 2209 |  | 
|---|
| 2210 | else | 
|---|
| 2211 | RANLIB=":" | 
|---|
| 2212 | fi | 
|---|
| 2213 | fi | 
|---|
| 2214 |  | 
|---|
| 2215 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|---|
| 2216 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|---|
| 2217 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 2218 | echo "configure:2219: checking for $ac_word" >&5 | 
|---|
| 2219 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | 
|---|
| 2220 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2221 | else | 
|---|
| 2222 | if test -n "$STRIP"; then | 
|---|
| 2223 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 2224 | else | 
|---|
| 2225 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2226 | ac_dummy="$PATH" | 
|---|
| 2227 | for ac_dir in $ac_dummy; do | 
|---|
| 2228 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2229 | if test -f $ac_dir/$ac_word; then | 
|---|
| 2230 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|---|
| 2231 | break | 
|---|
| 2232 | fi | 
|---|
| 2233 | done | 
|---|
| 2234 | IFS="$ac_save_ifs" | 
|---|
| 2235 | fi | 
|---|
| 2236 | fi | 
|---|
| 2237 | STRIP="$ac_cv_prog_STRIP" | 
|---|
| 2238 | if test -n "$STRIP"; then | 
|---|
| 2239 | echo "$ac_t""$STRIP" 1>&6 | 
|---|
| 2240 | else | 
|---|
| 2241 | echo "$ac_t""no" 1>&6 | 
|---|
| 2242 | fi | 
|---|
| 2243 |  | 
|---|
| 2244 |  | 
|---|
| 2245 | if test -z "$ac_cv_prog_STRIP"; then | 
|---|
| 2246 | if test -n "$ac_tool_prefix"; then | 
|---|
| 2247 | # Extract the first word of "strip", so it can be a program name with args. | 
|---|
| 2248 | set dummy strip; ac_word=$2 | 
|---|
| 2249 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 
|---|
| 2250 | echo "configure:2251: checking for $ac_word" >&5 | 
|---|
| 2251 | if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | 
|---|
| 2252 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2253 | else | 
|---|
| 2254 | if test -n "$STRIP"; then | 
|---|
| 2255 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|---|
| 2256 | else | 
|---|
| 2257 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
|---|
| 2258 | ac_dummy="$PATH" | 
|---|
| 2259 | for ac_dir in $ac_dummy; do | 
|---|
| 2260 | test -z "$ac_dir" && ac_dir=. | 
|---|
| 2261 | if test -f $ac_dir/$ac_word; then | 
|---|
| 2262 | ac_cv_prog_STRIP="strip" | 
|---|
| 2263 | break | 
|---|
| 2264 | fi | 
|---|
| 2265 | done | 
|---|
| 2266 | IFS="$ac_save_ifs" | 
|---|
| 2267 | test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":" | 
|---|
| 2268 | fi | 
|---|
| 2269 | fi | 
|---|
| 2270 | STRIP="$ac_cv_prog_STRIP" | 
|---|
| 2271 | if test -n "$STRIP"; then | 
|---|
| 2272 | echo "$ac_t""$STRIP" 1>&6 | 
|---|
| 2273 | else | 
|---|
| 2274 | echo "$ac_t""no" 1>&6 | 
|---|
| 2275 | fi | 
|---|
| 2276 |  | 
|---|
| 2277 | else | 
|---|
| 2278 | STRIP=":" | 
|---|
| 2279 | fi | 
|---|
| 2280 | fi | 
|---|
| 2281 |  | 
|---|
| 2282 |  | 
|---|
| 2283 | # Check for any special flags to pass to ltconfig. | 
|---|
| 2284 | libtool_flags="--cache-file=$cache_file" | 
|---|
| 2285 | test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared" | 
|---|
| 2286 | test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static" | 
|---|
| 2287 | test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install" | 
|---|
| 2288 | test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc" | 
|---|
| 2289 | test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" | 
|---|
| 2290 |  | 
|---|
| 2291 |  | 
|---|
| 2292 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
|---|
| 2293 | if test "${enable_libtool_lock+set}" = set; then | 
|---|
| 2294 | enableval="$enable_libtool_lock" | 
|---|
| 2295 | : | 
|---|
| 2296 | fi | 
|---|
| 2297 |  | 
|---|
| 2298 | test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" | 
|---|
| 2299 | test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" | 
|---|
| 2300 |  | 
|---|
| 2301 | # Check whether --with-pic or --without-pic was given. | 
|---|
| 2302 | if test "${with_pic+set}" = set; then | 
|---|
| 2303 | withval="$with_pic" | 
|---|
| 2304 | pic_mode="$withval" | 
|---|
| 2305 | else | 
|---|
| 2306 | pic_mode=default | 
|---|
| 2307 | fi | 
|---|
| 2308 |  | 
|---|
| 2309 | test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic" | 
|---|
| 2310 | test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic" | 
|---|
| 2311 |  | 
|---|
| 2312 | # Some flags need to be propagated to the compiler or linker for good | 
|---|
| 2313 | # libtool support. | 
|---|
| 2314 | case $host in | 
|---|
| 2315 | *-*-irix6*) | 
|---|
| 2316 | # Find out which ABI we are using. | 
|---|
| 2317 | echo '#line 2318 "configure"' > conftest.$ac_ext | 
|---|
| 2318 | if { (eval echo configure:2319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 
|---|
| 2319 | case `/usr/bin/file conftest.$ac_objext` in | 
|---|
| 2320 | *32-bit*) | 
|---|
| 2321 | LD="${LD-ld} -32" | 
|---|
| 2322 | ;; | 
|---|
| 2323 | *N32*) | 
|---|
| 2324 | LD="${LD-ld} -n32" | 
|---|
| 2325 | ;; | 
|---|
| 2326 | *64-bit*) | 
|---|
| 2327 | LD="${LD-ld} -64" | 
|---|
| 2328 | ;; | 
|---|
| 2329 | esac | 
|---|
| 2330 | fi | 
|---|
| 2331 | rm -rf conftest* | 
|---|
| 2332 | ;; | 
|---|
| 2333 |  | 
|---|
| 2334 | *-*-sco3.2v5*) | 
|---|
| 2335 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
|---|
| 2336 | SAVE_CFLAGS="$CFLAGS" | 
|---|
| 2337 | CFLAGS="$CFLAGS -belf" | 
|---|
| 2338 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 
|---|
| 2339 | echo "configure:2340: checking whether the C compiler needs -belf" >&5 | 
|---|
| 2340 | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | 
|---|
| 2341 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2342 | else | 
|---|
| 2343 |  | 
|---|
| 2344 | ac_ext=c | 
|---|
| 2345 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
|---|
| 2346 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2347 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
|---|
| 2348 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
|---|
| 2349 | cross_compiling=$ac_cv_prog_cc_cross | 
|---|
| 2350 |  | 
|---|
| 2351 | cat > conftest.$ac_ext <<EOF | 
|---|
| 2352 | #line 2353 "configure" | 
|---|
| 2353 | #include "confdefs.h" | 
|---|
| 2354 |  | 
|---|
| 2355 | int main() { | 
|---|
| 2356 |  | 
|---|
| 2357 | ; return 0; } | 
|---|
| 2358 | EOF | 
|---|
| 2359 | if { (eval echo configure:2360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
|---|
| 2360 | rm -rf conftest* | 
|---|
| 2361 | lt_cv_cc_needs_belf=yes | 
|---|
| 2362 | else | 
|---|
| 2363 | echo "configure: failed program was:" >&5 | 
|---|
| 2364 | cat conftest.$ac_ext >&5 | 
|---|
| 2365 | rm -rf conftest* | 
|---|
| 2366 | lt_cv_cc_needs_belf=no | 
|---|
| 2367 | fi | 
|---|
| 2368 | rm -f conftest* | 
|---|
| 2369 | ac_ext=c | 
|---|
| 2370 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
|---|
| 2371 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2372 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
|---|
| 2373 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
|---|
| 2374 | cross_compiling=$ac_cv_prog_cc_cross | 
|---|
| 2375 |  | 
|---|
| 2376 | fi | 
|---|
| 2377 |  | 
|---|
| 2378 | echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | 
|---|
| 2379 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
|---|
| 2380 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
|---|
| 2381 | CFLAGS="$SAVE_CFLAGS" | 
|---|
| 2382 | fi | 
|---|
| 2383 | ;; | 
|---|
| 2384 |  | 
|---|
| 2385 |  | 
|---|
| 2386 | esac | 
|---|
| 2387 |  | 
|---|
| 2388 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | 
|---|
| 2389 | echo "configure:2390: checking how to run the C++ preprocessor" >&5 | 
|---|
| 2390 | if test -z "$CXXCPP"; then | 
|---|
| 2391 | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | 
|---|
| 2392 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2393 | else | 
|---|
| 2394 | ac_ext=C | 
|---|
| 2395 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
|---|
| 2396 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|---|
| 2397 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
|---|
| 2398 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
|---|
| 2399 | cross_compiling=$ac_cv_prog_cxx_cross | 
|---|
| 2400 | CXXCPP="${CXX-g++} -E" | 
|---|
| 2401 | cat > conftest.$ac_ext <<EOF | 
|---|
| 2402 | #line 2403 "configure" | 
|---|
| 2403 | #include "confdefs.h" | 
|---|
| 2404 | #include <stdlib.h> | 
|---|
| 2405 | EOF | 
|---|
| 2406 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 
|---|
| 2407 | { (eval echo configure:2408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 
|---|
| 2408 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 
|---|
| 2409 | if test -z "$ac_err"; then | 
|---|
| 2410 | : | 
|---|
| 2411 | else | 
|---|
| 2412 | echo "$ac_err" >&5 | 
|---|
| 2413 | echo "configure: failed program was:" >&5 | 
|---|
| 2414 | cat conftest.$ac_ext >&5 | 
|---|
| 2415 | rm -rf conftest* | 
|---|
| 2416 | CXXCPP=/lib/cpp | 
|---|
| 2417 | fi | 
|---|
| 2418 | rm -f conftest* | 
|---|
| 2419 | ac_cv_prog_CXXCPP="$CXXCPP" | 
|---|
| 2420 | ac_ext=c | 
|---|
| 2421 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 
|---|
| 2422 | ac_cpp='$CPP $CPPFLAGS' | 
|---|
| 2423 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 
|---|
| 2424 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 
|---|
| 2425 | cross_compiling=$ac_cv_prog_cc_cross | 
|---|
| 2426 | fi | 
|---|
| 2427 | fi | 
|---|
| 2428 | CXXCPP="$ac_cv_prog_CXXCPP" | 
|---|
| 2429 | echo "$ac_t""$CXXCPP" 1>&6 | 
|---|
| 2430 |  | 
|---|
| 2431 |  | 
|---|
| 2432 | # Save cache, so that ltconfig can load it | 
|---|
| 2433 | cat > confcache <<\EOF | 
|---|
| 2434 | # This file is a shell script that caches the results of configure | 
|---|
| 2435 | # tests run on this system so they can be shared between configure | 
|---|
| 2436 | # scripts and configure runs.  It is not useful on other systems. | 
|---|
| 2437 | # If it contains results you don't want to keep, you may remove or edit it. | 
|---|
| 2438 | # | 
|---|
| 2439 | # By default, configure uses ./config.cache as the cache file, | 
|---|
| 2440 | # creating it if it does not exist already.  You can give configure | 
|---|
| 2441 | # the --cache-file=FILE option to use a different cache file; that is | 
|---|
| 2442 | # what configure does when it calls configure scripts in | 
|---|
| 2443 | # subdirectories, so they share the cache. | 
|---|
| 2444 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | 
|---|
| 2445 | # config.status only pays attention to the cache file if you give it the | 
|---|
| 2446 | # --recheck option to rerun configure. | 
|---|
| 2447 | # | 
|---|
| 2448 | EOF | 
|---|
| 2449 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 2450 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 2451 | # So, don't put newlines in cache variables' values. | 
|---|
| 2452 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 2453 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 2454 | (set) 2>&1 | | 
|---|
| 2455 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 2456 | *ac_space=\ *) | 
|---|
| 2457 | # `set' does not quote correctly, so add quotes (double-quote substitution | 
|---|
| 2458 | # turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 2459 | sed -n \ | 
|---|
| 2460 | -e "s/'/'\\\\''/g" \ | 
|---|
| 2461 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | 
|---|
| 2462 | ;; | 
|---|
| 2463 | *) | 
|---|
| 2464 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 2465 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | 
|---|
| 2466 | ;; | 
|---|
| 2467 | esac >> confcache | 
|---|
| 2468 | if cmp -s $cache_file confcache; then | 
|---|
| 2469 | : | 
|---|
| 2470 | else | 
|---|
| 2471 | if test -w $cache_file; then | 
|---|
| 2472 | echo "updating cache $cache_file" | 
|---|
| 2473 | cat confcache > $cache_file | 
|---|
| 2474 | else | 
|---|
| 2475 | echo "not updating unwritable cache $cache_file" | 
|---|
| 2476 | fi | 
|---|
| 2477 | fi | 
|---|
| 2478 | rm -f confcache | 
|---|
| 2479 |  | 
|---|
| 2480 |  | 
|---|
| 2481 | # Actually configure libtool.  ac_aux_dir is where install-sh is found. | 
|---|
| 2482 | AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \ | 
|---|
| 2483 | MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ | 
|---|
| 2484 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ | 
|---|
| 2485 | AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ | 
|---|
| 2486 | objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ | 
|---|
| 2487 | deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \ | 
|---|
| 2488 | ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ | 
|---|
| 2489 | $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \ | 
|---|
| 2490 | || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } | 
|---|
| 2491 |  | 
|---|
| 2492 | # Reload cache, that may have been modified by ltconfig | 
|---|
| 2493 | if test -r "$cache_file"; then | 
|---|
| 2494 | echo "loading cache $cache_file" | 
|---|
| 2495 | . $cache_file | 
|---|
| 2496 | else | 
|---|
| 2497 | echo "creating cache $cache_file" | 
|---|
| 2498 | > $cache_file | 
|---|
| 2499 | fi | 
|---|
| 2500 |  | 
|---|
| 2501 |  | 
|---|
| 2502 | # This can be used to rebuild libtool when needed | 
|---|
| 2503 | LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh" | 
|---|
| 2504 |  | 
|---|
| 2505 | # Always use our own libtool. | 
|---|
| 2506 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 
|---|
| 2507 |  | 
|---|
| 2508 | # Redirect the config.log output again, so that the ltconfig log is not | 
|---|
| 2509 | # clobbered by the next message. | 
|---|
| 2510 | exec 5>>./config.log | 
|---|
| 2511 |  | 
|---|
| 2512 |  | 
|---|
| 2513 |  | 
|---|
| 2514 | LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh" | 
|---|
| 2515 | lt_save_CC="$CC" | 
|---|
| 2516 | lt_save_CFLAGS="$CFLAGS" | 
|---|
| 2517 | AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \ | 
|---|
| 2518 | MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ | 
|---|
| 2519 | LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \ | 
|---|
| 2520 | AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \ | 
|---|
| 2521 | objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \ | 
|---|
| 2522 | deplibs_check_method="$deplibs_check_method" \ | 
|---|
| 2523 | file_magic_cmd="$file_magic_cmd" \ | 
|---|
| 2524 | ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \ | 
|---|
| 2525 | --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \ | 
|---|
| 2526 | || { echo "configure: error: libtool tag configuration failed" 1>&2; exit 1; } | 
|---|
| 2527 | CC="$lt_save_CC" | 
|---|
| 2528 | CFLAGS="$lt_save_CFLAGS" | 
|---|
| 2529 |  | 
|---|
| 2530 | # Redirect the config.log output again, so that the ltconfig log is not | 
|---|
| 2531 | # clobbered by the next message. | 
|---|
| 2532 | exec 5>>./config.log | 
|---|
| 2533 |  | 
|---|
| 2534 |  | 
|---|
| 2535 |  | 
|---|
| 2536 |  | 
|---|
| 2537 |  | 
|---|
| 2538 |  | 
|---|
| 2539 |  | 
|---|
| 2540 | # Check whether --with-target-subdir or --without-target-subdir was given. | 
|---|
| 2541 | if test "${with_target_subdir+set}" = set; then | 
|---|
| 2542 | withval="$with_target_subdir" | 
|---|
| 2543 | : | 
|---|
| 2544 | fi | 
|---|
| 2545 |  | 
|---|
| 2546 | # Check whether --with-cross-host or --without-cross-host was given. | 
|---|
| 2547 | if test "${with_cross_host+set}" = set; then | 
|---|
| 2548 | withval="$with_cross_host" | 
|---|
| 2549 | : | 
|---|
| 2550 | fi | 
|---|
| 2551 |  | 
|---|
| 2552 |  | 
|---|
| 2553 | echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 
|---|
| 2554 | echo "configure:2555: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 
|---|
| 2555 | # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 
|---|
| 2556 | if test "${enable_maintainer_mode+set}" = set; then | 
|---|
| 2557 | enableval="$enable_maintainer_mode" | 
|---|
| 2558 | USE_MAINTAINER_MODE=$enableval | 
|---|
| 2559 | else | 
|---|
| 2560 | USE_MAINTAINER_MODE=no | 
|---|
| 2561 | fi | 
|---|
| 2562 |  | 
|---|
| 2563 | echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 | 
|---|
| 2564 |  | 
|---|
| 2565 |  | 
|---|
| 2566 | if test $USE_MAINTAINER_MODE = yes; then | 
|---|
| 2567 | MAINTAINER_MODE_TRUE= | 
|---|
| 2568 | MAINTAINER_MODE_FALSE='#' | 
|---|
| 2569 | else | 
|---|
| 2570 | MAINTAINER_MODE_TRUE='#' | 
|---|
| 2571 | MAINTAINER_MODE_FALSE= | 
|---|
| 2572 | fi | 
|---|
| 2573 | MAINT=$MAINTAINER_MODE_TRUE | 
|---|
| 2574 |  | 
|---|
| 2575 |  | 
|---|
| 2576 | # automake wants to see AC_EXEEXT.  But we don't need it.  And having | 
|---|
| 2577 | # it is actually a problem, because the compiler we're passed can't | 
|---|
| 2578 | # necessarily do a full link.  So we fool automake here. | 
|---|
| 2579 | if false; then | 
|---|
| 2580 | # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands | 
|---|
| 2581 | # to nothing, so nothing would remain between `then' and `fi' if it | 
|---|
| 2582 | # were not for the `:' below. | 
|---|
| 2583 | : | 
|---|
| 2584 |  | 
|---|
| 2585 |  | 
|---|
| 2586 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 
|---|
| 2587 | echo "configure:2588: checking for executable suffix" >&5 | 
|---|
| 2588 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 
|---|
| 2589 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2590 | else | 
|---|
| 2591 | if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 
|---|
| 2592 | ac_cv_exeext=.exe | 
|---|
| 2593 | else | 
|---|
| 2594 | rm -f conftest* | 
|---|
| 2595 | echo 'int main () { return 0; }' > conftest.$ac_ext | 
|---|
| 2596 | ac_cv_exeext= | 
|---|
| 2597 | if { (eval echo configure:2598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 
|---|
| 2598 | for file in conftest.*; do | 
|---|
| 2599 | case $file in | 
|---|
| 2600 | *.c | *.o | *.obj) ;; | 
|---|
| 2601 | *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 
|---|
| 2602 | esac | 
|---|
| 2603 | done | 
|---|
| 2604 | else | 
|---|
| 2605 | { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } | 
|---|
| 2606 | fi | 
|---|
| 2607 | rm -f conftest* | 
|---|
| 2608 | test x"${ac_cv_exeext}" = x && ac_cv_exeext=no | 
|---|
| 2609 | fi | 
|---|
| 2610 | fi | 
|---|
| 2611 |  | 
|---|
| 2612 | EXEEXT="" | 
|---|
| 2613 | test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} | 
|---|
| 2614 | echo "$ac_t""${ac_cv_exeext}" 1>&6 | 
|---|
| 2615 | ac_exeext=$EXEEXT | 
|---|
| 2616 |  | 
|---|
| 2617 | fi | 
|---|
| 2618 |  | 
|---|
| 2619 | echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6 | 
|---|
| 2620 | echo "configure:2621: checking for thread model used by GCC" >&5 | 
|---|
| 2621 | THREADS=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'` | 
|---|
| 2622 | if test -z "$THREADS"; then | 
|---|
| 2623 | THREADS=no | 
|---|
| 2624 | fi | 
|---|
| 2625 | echo "$ac_t""$THREADS" 1>&6 | 
|---|
| 2626 |  | 
|---|
| 2627 | # Check whether --enable-parallel-mark or --disable-parallel-mark was given. | 
|---|
| 2628 | if test "${enable_parallel_mark+set}" = set; then | 
|---|
| 2629 | enableval="$enable_parallel_mark" | 
|---|
| 2630 | case "$THREADS" in | 
|---|
| 2631 | no | none | single) | 
|---|
| 2632 | { echo "configure: error: Parallel mark requires --enable-threads=x spec" 1>&2; exit 1; } | 
|---|
| 2633 | ;; | 
|---|
| 2634 | esac | 
|---|
| 2635 |  | 
|---|
| 2636 | fi | 
|---|
| 2637 |  | 
|---|
| 2638 |  | 
|---|
| 2639 | INCLUDES=-I${srcdir}/include | 
|---|
| 2640 | THREADLIBS= | 
|---|
| 2641 | case "$THREADS" in | 
|---|
| 2642 | no | none | single) | 
|---|
| 2643 | THREADS=none | 
|---|
| 2644 | ;; | 
|---|
| 2645 | posix | pthreads) | 
|---|
| 2646 | THREADS=posix | 
|---|
| 2647 | THREADLIBS=-lpthread | 
|---|
| 2648 | case "$host" in | 
|---|
| 2649 | x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux*) | 
|---|
| 2650 | cat >> confdefs.h <<\EOF | 
|---|
| 2651 | #define GC_LINUX_THREADS 1 | 
|---|
| 2652 | EOF | 
|---|
| 2653 |  | 
|---|
| 2654 | cat >> confdefs.h <<\EOF | 
|---|
| 2655 | #define _REENTRANT 1 | 
|---|
| 2656 | EOF | 
|---|
| 2657 |  | 
|---|
| 2658 | if test "${enable_parallel_mark}"; then | 
|---|
| 2659 | cat >> confdefs.h <<\EOF | 
|---|
| 2660 | #define PARALLEL_MARK 1 | 
|---|
| 2661 | EOF | 
|---|
| 2662 |  | 
|---|
| 2663 | fi | 
|---|
| 2664 | cat >> confdefs.h <<\EOF | 
|---|
| 2665 | #define THREAD_LOCAL_ALLOC 1 | 
|---|
| 2666 | EOF | 
|---|
| 2667 |  | 
|---|
| 2668 | ;; | 
|---|
| 2669 | *-*-linux*) | 
|---|
| 2670 | cat >> confdefs.h <<\EOF | 
|---|
| 2671 | #define GC_LINUX_THREADS 1 | 
|---|
| 2672 | EOF | 
|---|
| 2673 |  | 
|---|
| 2674 | cat >> confdefs.h <<\EOF | 
|---|
| 2675 | #define _REENTRANT 1 | 
|---|
| 2676 | EOF | 
|---|
| 2677 |  | 
|---|
| 2678 | ;; | 
|---|
| 2679 | *-*-hpux*) | 
|---|
| 2680 | echo "configure: warning: "Only HP/UX 11 threads are supported."" 1>&2 | 
|---|
| 2681 | cat >> confdefs.h <<\EOF | 
|---|
| 2682 | #define GC_HPUX_THREADS 1 | 
|---|
| 2683 | EOF | 
|---|
| 2684 |  | 
|---|
| 2685 | cat >> confdefs.h <<\EOF | 
|---|
| 2686 | #define _POSIX_C_SOURCE 199506L | 
|---|
| 2687 | EOF | 
|---|
| 2688 |  | 
|---|
| 2689 | if test "${enable_parallel_mark}" = yes; then | 
|---|
| 2690 | cat >> confdefs.h <<\EOF | 
|---|
| 2691 | #define PARALLEL_MARK 1 | 
|---|
| 2692 | EOF | 
|---|
| 2693 |  | 
|---|
| 2694 | fi | 
|---|
| 2695 | cat >> confdefs.h <<\EOF | 
|---|
| 2696 | #define THREAD_LOCAL_ALLOC 1 | 
|---|
| 2697 | EOF | 
|---|
| 2698 |  | 
|---|
| 2699 | THREADLIBS="-lpthread -lrt" | 
|---|
| 2700 | ;; | 
|---|
| 2701 | *-*-freebsd*) | 
|---|
| 2702 | echo "configure: warning: "FreeBSD does not yet fully support threads with Boehm GC."" 1>&2 | 
|---|
| 2703 | cat >> confdefs.h <<\EOF | 
|---|
| 2704 | #define GC_FREEBSD_THREADS 1 | 
|---|
| 2705 | EOF | 
|---|
| 2706 |  | 
|---|
| 2707 | INCLUDES="$INCLUDES -pthread" | 
|---|
| 2708 | THREADLIBS=-pthread | 
|---|
| 2709 | ;; | 
|---|
| 2710 | *-*-solaris*) | 
|---|
| 2711 | cat >> confdefs.h <<\EOF | 
|---|
| 2712 | #define GC_SOLARIS_THREADS 1 | 
|---|
| 2713 | EOF | 
|---|
| 2714 |  | 
|---|
| 2715 | cat >> confdefs.h <<\EOF | 
|---|
| 2716 | #define GC_SOLARIS_PTHREADS 1 | 
|---|
| 2717 | EOF | 
|---|
| 2718 |  | 
|---|
| 2719 | ;; | 
|---|
| 2720 | *-*-irix*) | 
|---|
| 2721 | cat >> confdefs.h <<\EOF | 
|---|
| 2722 | #define GC_IRIX_THREADS 1 | 
|---|
| 2723 | EOF | 
|---|
| 2724 |  | 
|---|
| 2725 | ;; | 
|---|
| 2726 | *-*-cygwin*) | 
|---|
| 2727 | THREADLIBS= | 
|---|
| 2728 | ;; | 
|---|
| 2729 | esac | 
|---|
| 2730 | ;; | 
|---|
| 2731 | win32) | 
|---|
| 2732 | cat >> confdefs.h <<\EOF | 
|---|
| 2733 | #define GC_WIN32_THREADS 1 | 
|---|
| 2734 | EOF | 
|---|
| 2735 |  | 
|---|
| 2736 | cat >> confdefs.h <<\EOF | 
|---|
| 2737 | #define NO_GETENV 1 | 
|---|
| 2738 | EOF | 
|---|
| 2739 |  | 
|---|
| 2740 | ;; | 
|---|
| 2741 | decosf1 | irix | mach | os2 | solaris | dce | vxworks) | 
|---|
| 2742 | { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; } | 
|---|
| 2743 | ;; | 
|---|
| 2744 | *) | 
|---|
| 2745 | { echo "configure: error: $THREADS is an unknown thread package" 1>&2; exit 1; } | 
|---|
| 2746 | ;; | 
|---|
| 2747 | esac | 
|---|
| 2748 |  | 
|---|
| 2749 |  | 
|---|
| 2750 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 | 
|---|
| 2751 | echo "configure:2752: checking for dlopen in -ldl" >&5 | 
|---|
| 2752 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` | 
|---|
| 2753 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 
|---|
| 2754 | echo $ac_n "(cached) $ac_c" 1>&6 | 
|---|
| 2755 | else | 
|---|
| 2756 | ac_save_LIBS="$LIBS" | 
|---|
| 2757 | LIBS="-ldl  $LIBS" | 
|---|
| 2758 | cat > conftest.$ac_ext <<EOF | 
|---|
| 2759 | #line 2760 "configure" | 
|---|
| 2760 | #include "confdefs.h" | 
|---|
| 2761 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|---|
| 2762 | /* We use char because int might match the return type of a gcc2 | 
|---|
| 2763 | builtin and then its argument prototype would still apply.  */ | 
|---|
| 2764 | char dlopen(); | 
|---|
| 2765 |  | 
|---|
| 2766 | int main() { | 
|---|
| 2767 | dlopen() | 
|---|
| 2768 | ; return 0; } | 
|---|
| 2769 | EOF | 
|---|
| 2770 | if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 
|---|
| 2771 | rm -rf conftest* | 
|---|
| 2772 | eval "ac_cv_lib_$ac_lib_var=yes" | 
|---|
| 2773 | else | 
|---|
| 2774 | echo "configure: failed program was:" >&5 | 
|---|
| 2775 | cat conftest.$ac_ext >&5 | 
|---|
| 2776 | rm -rf conftest* | 
|---|
| 2777 | eval "ac_cv_lib_$ac_lib_var=no" | 
|---|
| 2778 | fi | 
|---|
| 2779 | rm -f conftest* | 
|---|
| 2780 | LIBS="$ac_save_LIBS" | 
|---|
| 2781 |  | 
|---|
| 2782 | fi | 
|---|
| 2783 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 
|---|
| 2784 | echo "$ac_t""yes" 1>&6 | 
|---|
| 2785 | EXTRA_TEST_LIBS="$EXTRA_TEST_LIBS -ldl" | 
|---|
| 2786 | else | 
|---|
| 2787 | echo "$ac_t""no" 1>&6 | 
|---|
| 2788 | fi | 
|---|
| 2789 |  | 
|---|
| 2790 |  | 
|---|
| 2791 |  | 
|---|
| 2792 | target_all=libgcjgc.la | 
|---|
| 2793 |  | 
|---|
| 2794 |  | 
|---|
| 2795 |  | 
|---|
| 2796 | TARGET_ECOS="no" | 
|---|
| 2797 | # Check whether --with-ecos or --without-ecos was given. | 
|---|
| 2798 | if test "${with_ecos+set}" = set; then | 
|---|
| 2799 | withval="$with_ecos" | 
|---|
| 2800 | TARGET_ECOS="$with_ecos" | 
|---|
| 2801 |  | 
|---|
| 2802 | fi | 
|---|
| 2803 |  | 
|---|
| 2804 |  | 
|---|
| 2805 | addobjs= | 
|---|
| 2806 | CXXINCLUDES= | 
|---|
| 2807 | case "$TARGET_ECOS" in | 
|---|
| 2808 | no) | 
|---|
| 2809 | ;; | 
|---|
| 2810 | *) | 
|---|
| 2811 | cat >> confdefs.h <<\EOF | 
|---|
| 2812 | #define ECOS 1 | 
|---|
| 2813 | EOF | 
|---|
| 2814 |  | 
|---|
| 2815 | CXXINCLUDES="-I${TARGET_ECOS}/include" | 
|---|
| 2816 | addobjs="$addobjs ecos.lo" | 
|---|
| 2817 | ;; | 
|---|
| 2818 | esac | 
|---|
| 2819 |  | 
|---|
| 2820 |  | 
|---|
| 2821 |  | 
|---|
| 2822 |  | 
|---|
| 2823 |  | 
|---|
| 2824 | machdep= | 
|---|
| 2825 | case "$host" in | 
|---|
| 2826 | alpha*-*-openbsd*) | 
|---|
| 2827 | machdep="alpha_mach_dep.lo" | 
|---|
| 2828 | if test x"${ac_cv_lib_dl_dlopen}" != xyes ; then | 
|---|
| 2829 | echo "configure: warning: OpenBSD/Alpha without dlopen(). Shared library support is disabled" 1>&2 | 
|---|
| 2830 | # Check whether --enable-shared or --disable-shared was given. | 
|---|
| 2831 | if test "${enable_shared+set}" = set; then | 
|---|
| 2832 | enableval="$enable_shared" | 
|---|
| 2833 | p=${PACKAGE-default} | 
|---|
| 2834 | case $enableval in | 
|---|
| 2835 | yes) enable_shared=yes ;; | 
|---|
| 2836 | no) enable_shared=no ;; | 
|---|
| 2837 | *) | 
|---|
| 2838 | enable_shared=no | 
|---|
| 2839 | # Look at the argument we got.  We use all the common list separators. | 
|---|
| 2840 | IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
|---|
| 2841 | for pkg in $enableval; do | 
|---|
| 2842 | if test "X$pkg" = "X$p"; then | 
|---|
| 2843 | enable_shared=yes | 
|---|
| 2844 | fi | 
|---|
| 2845 | done | 
|---|
| 2846 | IFS="$ac_save_ifs" | 
|---|
| 2847 | ;; | 
|---|
| 2848 | esac | 
|---|
| 2849 | else | 
|---|
| 2850 | enable_shared=no | 
|---|
| 2851 | fi | 
|---|
| 2852 |  | 
|---|
| 2853 | fi | 
|---|
| 2854 | ;; | 
|---|
| 2855 | alpha*-*-*) | 
|---|
| 2856 | machdep="alpha_mach_dep.lo" | 
|---|
| 2857 | ;; | 
|---|
| 2858 | i?86-*-solaris2.[89]*) | 
|---|
| 2859 | cat >> confdefs.h <<\EOF | 
|---|
| 2860 | #define SOLARIS25_PROC_VDB_BUG_FIXED 1 | 
|---|
| 2861 | EOF | 
|---|
| 2862 |  | 
|---|
| 2863 | ;; | 
|---|
| 2864 | mipstx39-*-elf*) | 
|---|
| 2865 | machdep="mips_ultrix_mach_dep.lo" | 
|---|
| 2866 | cat >> confdefs.h <<\EOF | 
|---|
| 2867 | #define STACKBASE __stackbase | 
|---|
| 2868 | EOF | 
|---|
| 2869 |  | 
|---|
| 2870 | cat >> confdefs.h <<\EOF | 
|---|
| 2871 | #define DATASTART_IS_ETEXT 1 | 
|---|
| 2872 | EOF | 
|---|
| 2873 |  | 
|---|
| 2874 | ;; | 
|---|
| 2875 | mips-dec-ultrix*) | 
|---|
| 2876 | machdep="mips_ultrix_mach-dep.lo" | 
|---|
| 2877 | ;; | 
|---|
| 2878 | mips-*-*) | 
|---|
| 2879 | machdep="mips_sgi_mach_dep.lo" | 
|---|
| 2880 | cat >> confdefs.h <<\EOF | 
|---|
| 2881 | #define NO_EXECUTE_PERMISSION 1 | 
|---|
| 2882 | EOF | 
|---|
| 2883 |  | 
|---|
| 2884 | ;; | 
|---|
| 2885 | sparc-sun-solaris2.3*) | 
|---|
| 2886 | machdep="sparc_mach_dep.lo" | 
|---|
| 2887 | cat >> confdefs.h <<\EOF | 
|---|
| 2888 | #define SUNOS53_SHARED_LIB 1 | 
|---|
| 2889 | EOF | 
|---|
| 2890 |  | 
|---|
| 2891 | ;; | 
|---|
| 2892 | sparc-sun-solaris2.*) | 
|---|
| 2893 | machdep="sparc_mach_dep.lo" | 
|---|
| 2894 | ;; | 
|---|
| 2895 | ia64-*-*) | 
|---|
| 2896 | machdep="mach_dep.lo ia64_save_regs_in_stack.lo" | 
|---|
| 2897 | ;; | 
|---|
| 2898 | esac | 
|---|
| 2899 | if test x"$machdep" = x; then | 
|---|
| 2900 | machdep="mach_dep.lo" | 
|---|
| 2901 | fi | 
|---|
| 2902 | addobjs="$addobjs $machdep" | 
|---|
| 2903 |  | 
|---|
| 2904 |  | 
|---|
| 2905 | case "$host" in | 
|---|
| 2906 | sparc-sun-solaris2*) | 
|---|
| 2907 | if test "$GCC" = yes; then | 
|---|
| 2908 | new_CFLAGS= | 
|---|
| 2909 | for i in $CFLAGS; do | 
|---|
| 2910 | case "$i" in | 
|---|
| 2911 | -O*) | 
|---|
| 2912 | ;; | 
|---|
| 2913 | *) | 
|---|
| 2914 | new_CFLAGS="$new_CFLAGS $i" | 
|---|
| 2915 | ;; | 
|---|
| 2916 | esac | 
|---|
| 2917 | done | 
|---|
| 2918 | CFLAGS="$new_CFLAGS" | 
|---|
| 2919 | fi | 
|---|
| 2920 | ;; | 
|---|
| 2921 | esac | 
|---|
| 2922 |  | 
|---|
| 2923 | MY_CFLAGS="$CFLAGS" | 
|---|
| 2924 |  | 
|---|
| 2925 |  | 
|---|
| 2926 | cat >> confdefs.h <<\EOF | 
|---|
| 2927 | #define SILENT 1 | 
|---|
| 2928 | EOF | 
|---|
| 2929 |  | 
|---|
| 2930 | cat >> confdefs.h <<\EOF | 
|---|
| 2931 | #define NO_SIGNALS 1 | 
|---|
| 2932 | EOF | 
|---|
| 2933 |  | 
|---|
| 2934 | cat >> confdefs.h <<\EOF | 
|---|
| 2935 | #define NO_EXECUTE_PERMISSION 1 | 
|---|
| 2936 | EOF | 
|---|
| 2937 |  | 
|---|
| 2938 | cat >> confdefs.h <<\EOF | 
|---|
| 2939 | #define ALL_INTERIOR_POINTERS 1 | 
|---|
| 2940 | EOF | 
|---|
| 2941 |  | 
|---|
| 2942 |  | 
|---|
| 2943 | cat >> confdefs.h <<\EOF | 
|---|
| 2944 | #define JAVA_FINALIZATION 1 | 
|---|
| 2945 | EOF | 
|---|
| 2946 |  | 
|---|
| 2947 | cat >> confdefs.h <<\EOF | 
|---|
| 2948 | #define GC_GCJ_SUPPORT 1 | 
|---|
| 2949 | EOF | 
|---|
| 2950 |  | 
|---|
| 2951 | cat >> confdefs.h <<\EOF | 
|---|
| 2952 | #define ATOMIC_UNCOLLECTABLE 1 | 
|---|
| 2953 | EOF | 
|---|
| 2954 |  | 
|---|
| 2955 |  | 
|---|
| 2956 | if test -n "${with_cross_host}"; then | 
|---|
| 2957 | cat >> confdefs.h <<\EOF | 
|---|
| 2958 | #define NO_SIGSET 1 | 
|---|
| 2959 | EOF | 
|---|
| 2960 |  | 
|---|
| 2961 | cat >> confdefs.h <<\EOF | 
|---|
| 2962 | #define NO_DEBUGGING 1 | 
|---|
| 2963 | EOF | 
|---|
| 2964 |  | 
|---|
| 2965 | fi | 
|---|
| 2966 |  | 
|---|
| 2967 | # Check whether --enable-full-debug or --disable-full-debug was given. | 
|---|
| 2968 | if test "${enable_full_debug+set}" = set; then | 
|---|
| 2969 | enableval="$enable_full_debug" | 
|---|
| 2970 | if test "$enable_full_debug" = "yes"; then | 
|---|
| 2971 | echo "configure: warning: "Must define GC_DEBUG and use debug alloc. in clients."" 1>&2 | 
|---|
| 2972 | cat >> confdefs.h <<\EOF | 
|---|
| 2973 | #define KEEP_BACK_PTRS 1 | 
|---|
| 2974 | EOF | 
|---|
| 2975 |  | 
|---|
| 2976 | cat >> confdefs.h <<\EOF | 
|---|
| 2977 | #define DBG_HDRS_ALL 1 | 
|---|
| 2978 | EOF | 
|---|
| 2979 |  | 
|---|
| 2980 | case $host in | 
|---|
| 2981 | ia64-*-linux* ) | 
|---|
| 2982 | cat >> confdefs.h <<\EOF | 
|---|
| 2983 | #define MAKE_BACK_GRAPH 1 | 
|---|
| 2984 | EOF | 
|---|
| 2985 |  | 
|---|
| 2986 | ;; | 
|---|
| 2987 | x86-*-linux* | i586-*-linux* | i686-*-linux* ) | 
|---|
| 2988 | cat >> confdefs.h <<\EOF | 
|---|
| 2989 | #define MAKE_BACK_GRAPH 1 | 
|---|
| 2990 | EOF | 
|---|
| 2991 |  | 
|---|
| 2992 | echo "configure: warning: "Client must not use -fomit-frame-pointer."" 1>&2 | 
|---|
| 2993 | cat >> confdefs.h <<\EOF | 
|---|
| 2994 | #define SAVE_CALL_COUNT 8 | 
|---|
| 2995 | EOF | 
|---|
| 2996 |  | 
|---|
| 2997 | ;; | 
|---|
| 2998 | esac | 
|---|
| 2999 | fi | 
|---|
| 3000 | fi | 
|---|
| 3001 |  | 
|---|
| 3002 |  | 
|---|
| 3003 | if test -n "$with_cross_host" && | 
|---|
| 3004 | test x"$with_cross_host" != x"no"; then | 
|---|
| 3005 | toolexecdir='$(exec_prefix)/$(target_alias)' | 
|---|
| 3006 | toolexeclibdir='$(toolexecdir)/lib' | 
|---|
| 3007 | else | 
|---|
| 3008 | toolexecdir='$(libdir)/gcc-lib/$(target_alias)' | 
|---|
| 3009 | toolexeclibdir='$(libdir)' | 
|---|
| 3010 | fi | 
|---|
| 3011 | toolexeclibdir=$toolexeclibdir/`$CC -print-multi-os-directory` | 
|---|
| 3012 |  | 
|---|
| 3013 |  | 
|---|
| 3014 |  | 
|---|
| 3015 | if test "${multilib}" = "yes"; then | 
|---|
| 3016 | multilib_arg="--enable-multilib" | 
|---|
| 3017 | else | 
|---|
| 3018 | multilib_arg= | 
|---|
| 3019 | fi | 
|---|
| 3020 |  | 
|---|
| 3021 | trap '' 1 2 15 | 
|---|
| 3022 | cat > confcache <<\EOF | 
|---|
| 3023 | # This file is a shell script that caches the results of configure | 
|---|
| 3024 | # tests run on this system so they can be shared between configure | 
|---|
| 3025 | # scripts and configure runs.  It is not useful on other systems. | 
|---|
| 3026 | # If it contains results you don't want to keep, you may remove or edit it. | 
|---|
| 3027 | # | 
|---|
| 3028 | # By default, configure uses ./config.cache as the cache file, | 
|---|
| 3029 | # creating it if it does not exist already.  You can give configure | 
|---|
| 3030 | # the --cache-file=FILE option to use a different cache file; that is | 
|---|
| 3031 | # what configure does when it calls configure scripts in | 
|---|
| 3032 | # subdirectories, so they share the cache. | 
|---|
| 3033 | # Giving --cache-file=/dev/null disables caching, for debugging configure. | 
|---|
| 3034 | # config.status only pays attention to the cache file if you give it the | 
|---|
| 3035 | # --recheck option to rerun configure. | 
|---|
| 3036 | # | 
|---|
| 3037 | EOF | 
|---|
| 3038 | # The following way of writing the cache mishandles newlines in values, | 
|---|
| 3039 | # but we know of no workaround that is simple, portable, and efficient. | 
|---|
| 3040 | # So, don't put newlines in cache variables' values. | 
|---|
| 3041 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|---|
| 3042 | # and sets the high bit in the cache file unless we assign to the vars. | 
|---|
| 3043 | (set) 2>&1 | | 
|---|
| 3044 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|---|
| 3045 | *ac_space=\ *) | 
|---|
| 3046 | # `set' does not quote correctly, so add quotes (double-quote substitution | 
|---|
| 3047 | # turns \\\\ into \\, and sed turns \\ into \). | 
|---|
| 3048 | sed -n \ | 
|---|
| 3049 | -e "s/'/'\\\\''/g" \ | 
|---|
| 3050 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" | 
|---|
| 3051 | ;; | 
|---|
| 3052 | *) | 
|---|
| 3053 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|---|
| 3054 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' | 
|---|
| 3055 | ;; | 
|---|
| 3056 | esac >> confcache | 
|---|
| 3057 | if cmp -s $cache_file confcache; then | 
|---|
| 3058 | : | 
|---|
| 3059 | else | 
|---|
| 3060 | if test -w $cache_file; then | 
|---|
| 3061 | echo "updating cache $cache_file" | 
|---|
| 3062 | cat confcache > $cache_file | 
|---|
| 3063 | else | 
|---|
| 3064 | echo "not updating unwritable cache $cache_file" | 
|---|
| 3065 | fi | 
|---|
| 3066 | fi | 
|---|
| 3067 | rm -f confcache | 
|---|
| 3068 |  | 
|---|
| 3069 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 | 
|---|
| 3070 |  | 
|---|
| 3071 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|---|
| 3072 | # Let make expand exec_prefix. | 
|---|
| 3073 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|---|
| 3074 |  | 
|---|
| 3075 | # Any assignment to VPATH causes Sun make to only execute | 
|---|
| 3076 | # the first set of double-colon rules, so remove it if not needed. | 
|---|
| 3077 | # If there is a colon in the path, we need to keep it. | 
|---|
| 3078 | if test "x$srcdir" = x.; then | 
|---|
| 3079 | ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d' | 
|---|
| 3080 | fi | 
|---|
| 3081 |  | 
|---|
| 3082 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 | 
|---|
| 3083 |  | 
|---|
| 3084 | # Transform confdefs.h into DEFS. | 
|---|
| 3085 | # Protect against shell expansion while executing Makefile rules. | 
|---|
| 3086 | # Protect against Makefile macro expansion. | 
|---|
| 3087 | # | 
|---|
| 3088 | # If the first sed substitution is executed (which looks for macros that | 
|---|
| 3089 | # take arguments), then we branch to the quote section.  Otherwise, | 
|---|
| 3090 | # look for a macro that doesn't take arguments. | 
|---|
| 3091 | cat >confdef2opt.sed <<\_ACEOF | 
|---|
| 3092 | t clear | 
|---|
| 3093 | : clear | 
|---|
| 3094 | s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g | 
|---|
| 3095 | t quote | 
|---|
| 3096 | s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g | 
|---|
| 3097 | t quote | 
|---|
| 3098 | d | 
|---|
| 3099 | : quote | 
|---|
| 3100 | s,[     `~#$^&*(){}\\|;'"<>?],\\&,g | 
|---|
| 3101 | s,\[,\\&,g | 
|---|
| 3102 | s,\],\\&,g | 
|---|
| 3103 | s,\$,$$,g | 
|---|
| 3104 | p | 
|---|
| 3105 | _ACEOF | 
|---|
| 3106 | # We use echo to avoid assuming a particular line-breaking character. | 
|---|
| 3107 | # The extra dot is to prevent the shell from consuming trailing | 
|---|
| 3108 | # line-breaks from the sub-command output.  A line-break within | 
|---|
| 3109 | # single-quotes doesn't work because, if this script is created in a | 
|---|
| 3110 | # platform that uses two characters for line-breaks (e.g., DOS), tr | 
|---|
| 3111 | # would break. | 
|---|
| 3112 | ac_LF_and_DOT=`echo; echo .` | 
|---|
| 3113 | DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` | 
|---|
| 3114 | rm -f confdef2opt.sed | 
|---|
| 3115 |  | 
|---|
| 3116 |  | 
|---|
| 3117 | # Without the "./", some shells look in PATH for config.status. | 
|---|
| 3118 | : ${CONFIG_STATUS=./config.status} | 
|---|
| 3119 |  | 
|---|
| 3120 | echo creating $CONFIG_STATUS | 
|---|
| 3121 | rm -f $CONFIG_STATUS | 
|---|
| 3122 | cat > $CONFIG_STATUS <<EOF | 
|---|
| 3123 | #! /bin/sh | 
|---|
| 3124 | # Generated automatically by configure. | 
|---|
| 3125 | # Run this file to recreate the current configuration. | 
|---|
| 3126 | # This directory was configured as follows, | 
|---|
| 3127 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|---|
| 3128 | # | 
|---|
| 3129 | # $0 $ac_configure_args | 
|---|
| 3130 | # | 
|---|
| 3131 | # Compiler output produced by configure, useful for debugging | 
|---|
| 3132 | # configure, is in ./config.log if it exists. | 
|---|
| 3133 |  | 
|---|
| 3134 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" | 
|---|
| 3135 | for ac_option | 
|---|
| 3136 | do | 
|---|
| 3137 | case "\$ac_option" in | 
|---|
| 3138 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|---|
| 3139 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" | 
|---|
| 3140 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; | 
|---|
| 3141 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 
|---|
| 3142 | echo "$CONFIG_STATUS generated by autoconf version 2.13" | 
|---|
| 3143 | exit 0 ;; | 
|---|
| 3144 | -help | --help | --hel | --he | --h) | 
|---|
| 3145 | echo "\$ac_cs_usage"; exit 0 ;; | 
|---|
| 3146 | *) echo "\$ac_cs_usage"; exit 1 ;; | 
|---|
| 3147 | esac | 
|---|
| 3148 | done | 
|---|
| 3149 |  | 
|---|
| 3150 | ac_given_srcdir=$srcdir | 
|---|
| 3151 | ac_given_INSTALL="$INSTALL" | 
|---|
| 3152 |  | 
|---|
| 3153 | trap 'rm -fr `echo "Makefile include/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 | 
|---|
| 3154 | EOF | 
|---|
| 3155 | cat >> $CONFIG_STATUS <<EOF | 
|---|
| 3156 |  | 
|---|
| 3157 | # Protect against being on the right side of a sed subst in config.status. | 
|---|
| 3158 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; | 
|---|
| 3159 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF | 
|---|
| 3160 | $ac_vpsub | 
|---|
| 3161 | $extrasub | 
|---|
| 3162 | s%@SHELL@%$SHELL%g | 
|---|
| 3163 | s%@CFLAGS@%$CFLAGS%g | 
|---|
| 3164 | s%@CPPFLAGS@%$CPPFLAGS%g | 
|---|
| 3165 | s%@CXXFLAGS@%$CXXFLAGS%g | 
|---|
| 3166 | s%@FFLAGS@%$FFLAGS%g | 
|---|
| 3167 | s%@DEFS@%$DEFS%g | 
|---|
| 3168 | s%@LDFLAGS@%$LDFLAGS%g | 
|---|
| 3169 | s%@LIBS@%$LIBS%g | 
|---|
| 3170 | s%@exec_prefix@%$exec_prefix%g | 
|---|
| 3171 | s%@prefix@%$prefix%g | 
|---|
| 3172 | s%@program_transform_name@%$program_transform_name%g | 
|---|
| 3173 | s%@bindir@%$bindir%g | 
|---|
| 3174 | s%@sbindir@%$sbindir%g | 
|---|
| 3175 | s%@libexecdir@%$libexecdir%g | 
|---|
| 3176 | s%@datadir@%$datadir%g | 
|---|
| 3177 | s%@sysconfdir@%$sysconfdir%g | 
|---|
| 3178 | s%@sharedstatedir@%$sharedstatedir%g | 
|---|
| 3179 | s%@localstatedir@%$localstatedir%g | 
|---|
| 3180 | s%@libdir@%$libdir%g | 
|---|
| 3181 | s%@includedir@%$includedir%g | 
|---|
| 3182 | s%@oldincludedir@%$oldincludedir%g | 
|---|
| 3183 | s%@infodir@%$infodir%g | 
|---|
| 3184 | s%@mandir@%$mandir%g | 
|---|
| 3185 | s%@gc_basedir@%$gc_basedir%g | 
|---|
| 3186 | s%@host@%$host%g | 
|---|
| 3187 | s%@host_alias@%$host_alias%g | 
|---|
| 3188 | s%@host_cpu@%$host_cpu%g | 
|---|
| 3189 | s%@host_vendor@%$host_vendor%g | 
|---|
| 3190 | s%@host_os@%$host_os%g | 
|---|
| 3191 | s%@target@%$target%g | 
|---|
| 3192 | s%@target_alias@%$target_alias%g | 
|---|
| 3193 | s%@target_cpu@%$target_cpu%g | 
|---|
| 3194 | s%@target_vendor@%$target_vendor%g | 
|---|
| 3195 | s%@target_os@%$target_os%g | 
|---|
| 3196 | s%@build@%$build%g | 
|---|
| 3197 | s%@build_alias@%$build_alias%g | 
|---|
| 3198 | s%@build_cpu@%$build_cpu%g | 
|---|
| 3199 | s%@build_vendor@%$build_vendor%g | 
|---|
| 3200 | s%@build_os@%$build_os%g | 
|---|
| 3201 | s%@mkinstalldirs@%$mkinstalldirs%g | 
|---|
| 3202 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g | 
|---|
| 3203 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g | 
|---|
| 3204 | s%@INSTALL_DATA@%$INSTALL_DATA%g | 
|---|
| 3205 | s%@PACKAGE@%$PACKAGE%g | 
|---|
| 3206 | s%@VERSION@%$VERSION%g | 
|---|
| 3207 | s%@ACLOCAL@%$ACLOCAL%g | 
|---|
| 3208 | s%@AUTOCONF@%$AUTOCONF%g | 
|---|
| 3209 | s%@AUTOMAKE@%$AUTOMAKE%g | 
|---|
| 3210 | s%@AUTOHEADER@%$AUTOHEADER%g | 
|---|
| 3211 | s%@MAKEINFO@%$MAKEINFO%g | 
|---|
| 3212 | s%@SET_MAKE@%$SET_MAKE%g | 
|---|
| 3213 | s%@CC@%$CC%g | 
|---|
| 3214 | s%@CXX@%$CXX%g | 
|---|
| 3215 | s%@AS@%$AS%g | 
|---|
| 3216 | s%@AR@%$AR%g | 
|---|
| 3217 | s%@RANLIB@%$RANLIB%g | 
|---|
| 3218 | s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g | 
|---|
| 3219 | s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g | 
|---|
| 3220 | s%@MAINT@%$MAINT%g | 
|---|
| 3221 | s%@EXEEXT@%$EXEEXT%g | 
|---|
| 3222 | s%@GC_CFLAGS@%$GC_CFLAGS%g | 
|---|
| 3223 | s%@LN_S@%$LN_S%g | 
|---|
| 3224 | s%@OBJEXT@%$OBJEXT%g | 
|---|
| 3225 | s%@STRIP@%$STRIP%g | 
|---|
| 3226 | s%@LIBTOOL@%$LIBTOOL%g | 
|---|
| 3227 | s%@CXXCPP@%$CXXCPP%g | 
|---|
| 3228 | s%@THREADLIBS@%$THREADLIBS%g | 
|---|
| 3229 | s%@EXTRA_TEST_LIBS@%$EXTRA_TEST_LIBS%g | 
|---|
| 3230 | s%@target_all@%$target_all%g | 
|---|
| 3231 | s%@INCLUDES@%$INCLUDES%g | 
|---|
| 3232 | s%@CXXINCLUDES@%$CXXINCLUDES%g | 
|---|
| 3233 | s%@addobjs@%$addobjs%g | 
|---|
| 3234 | s%@MY_CFLAGS@%$MY_CFLAGS%g | 
|---|
| 3235 | s%@toolexecdir@%$toolexecdir%g | 
|---|
| 3236 | s%@toolexeclibdir@%$toolexeclibdir%g | 
|---|
| 3237 |  | 
|---|
| 3238 | CEOF | 
|---|
| 3239 | EOF | 
|---|
| 3240 |  | 
|---|
| 3241 | cat >> $CONFIG_STATUS <<\EOF | 
|---|
| 3242 |  | 
|---|
| 3243 | # Split the substitutions into bite-sized pieces for seds with | 
|---|
| 3244 | # small command number limits, like on Digital OSF/1 and HP-UX. | 
|---|
| 3245 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. | 
|---|
| 3246 | ac_file=1 # Number of current file. | 
|---|
| 3247 | ac_beg=1 # First line for current file. | 
|---|
| 3248 | ac_end=$ac_max_sed_cmds # Line after last line for current file. | 
|---|
| 3249 | ac_more_lines=: | 
|---|
| 3250 | ac_sed_cmds="" | 
|---|
| 3251 | while $ac_more_lines; do | 
|---|
| 3252 | if test $ac_beg -gt 1; then | 
|---|
| 3253 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file | 
|---|
| 3254 | else | 
|---|
| 3255 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file | 
|---|
| 3256 | fi | 
|---|
| 3257 | if test ! -s conftest.s$ac_file; then | 
|---|
| 3258 | ac_more_lines=false | 
|---|
| 3259 | rm -f conftest.s$ac_file | 
|---|
| 3260 | else | 
|---|
| 3261 | if test -z "$ac_sed_cmds"; then | 
|---|
| 3262 | ac_sed_cmds="sed -f conftest.s$ac_file" | 
|---|
| 3263 | else | 
|---|
| 3264 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" | 
|---|
| 3265 | fi | 
|---|
| 3266 | ac_file=`expr $ac_file + 1` | 
|---|
| 3267 | ac_beg=$ac_end | 
|---|
| 3268 | ac_end=`expr $ac_end + $ac_max_sed_cmds` | 
|---|
| 3269 | fi | 
|---|
| 3270 | done | 
|---|
| 3271 | if test -z "$ac_sed_cmds"; then | 
|---|
| 3272 | ac_sed_cmds=cat | 
|---|
| 3273 | fi | 
|---|
| 3274 | EOF | 
|---|
| 3275 |  | 
|---|
| 3276 | cat >> $CONFIG_STATUS <<EOF | 
|---|
| 3277 |  | 
|---|
| 3278 | CONFIG_FILES=\${CONFIG_FILES-"Makefile include/Makefile"} | 
|---|
| 3279 | EOF | 
|---|
| 3280 | cat >> $CONFIG_STATUS <<\EOF | 
|---|
| 3281 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then | 
|---|
| 3282 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|---|
| 3283 | case "$ac_file" in | 
|---|
| 3284 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` | 
|---|
| 3285 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; | 
|---|
| 3286 | *) ac_file_in="${ac_file}.in" ;; | 
|---|
| 3287 | esac | 
|---|
| 3288 |  | 
|---|
| 3289 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. | 
|---|
| 3290 |  | 
|---|
| 3291 | # Remove last slash and all that follows it.  Not all systems have dirname. | 
|---|
| 3292 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` | 
|---|
| 3293 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then | 
|---|
| 3294 | # The file is in a subdirectory. | 
|---|
| 3295 | test ! -d "$ac_dir" && mkdir "$ac_dir" | 
|---|
| 3296 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" | 
|---|
| 3297 | # A "../" for each directory in $ac_dir_suffix. | 
|---|
| 3298 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` | 
|---|
| 3299 | else | 
|---|
| 3300 | ac_dir_suffix= ac_dots= | 
|---|
| 3301 | fi | 
|---|
| 3302 |  | 
|---|
| 3303 | case "$ac_given_srcdir" in | 
|---|
| 3304 | .)  srcdir=. | 
|---|
| 3305 | if test -z "$ac_dots"; then top_srcdir=. | 
|---|
| 3306 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; | 
|---|
| 3307 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; | 
|---|
| 3308 | *) # Relative path. | 
|---|
| 3309 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" | 
|---|
| 3310 | top_srcdir="$ac_dots$ac_given_srcdir" ;; | 
|---|
| 3311 | esac | 
|---|
| 3312 |  | 
|---|
| 3313 | case "$ac_given_INSTALL" in | 
|---|
| 3314 | [/$]*) INSTALL="$ac_given_INSTALL" ;; | 
|---|
| 3315 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; | 
|---|
| 3316 | esac | 
|---|
| 3317 |  | 
|---|
| 3318 | echo creating "$ac_file" | 
|---|
| 3319 | rm -f "$ac_file" | 
|---|
| 3320 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." | 
|---|
| 3321 | case "$ac_file" in | 
|---|
| 3322 | *Makefile*) ac_comsub="1i\\ | 
|---|
| 3323 | # $configure_input" ;; | 
|---|
| 3324 | *) ac_comsub= ;; | 
|---|
| 3325 | esac | 
|---|
| 3326 |  | 
|---|
| 3327 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` | 
|---|
| 3328 | sed -e "$ac_comsub | 
|---|
| 3329 | s%@configure_input@%$configure_input%g | 
|---|
| 3330 | s%@srcdir@%$srcdir%g | 
|---|
| 3331 | s%@top_srcdir@%$top_srcdir%g | 
|---|
| 3332 | s%@INSTALL@%$INSTALL%g | 
|---|
| 3333 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file | 
|---|
| 3334 | fi; done | 
|---|
| 3335 | rm -f conftest.s* | 
|---|
| 3336 |  | 
|---|
| 3337 | EOF | 
|---|
| 3338 | cat >> $CONFIG_STATUS <<EOF | 
|---|
| 3339 | srcdir=${srcdir} | 
|---|
| 3340 | host=${host} | 
|---|
| 3341 | target=${target} | 
|---|
| 3342 | with_multisubdir=${with_multisubdir} | 
|---|
| 3343 | ac_configure_args="${multilib_arg} ${ac_configure_args}" | 
|---|
| 3344 | CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
|---|
| 3345 | gc_basedir=${gc_basedir} | 
|---|
| 3346 | CC="${CC}" | 
|---|
| 3347 | DEFS="$DEFS" | 
|---|
| 3348 |  | 
|---|
| 3349 | EOF | 
|---|
| 3350 | cat >> $CONFIG_STATUS <<\EOF | 
|---|
| 3351 |  | 
|---|
| 3352 | echo "$DEFS" > boehm-cflags | 
|---|
| 3353 |  | 
|---|
| 3354 | if test -n "$CONFIG_FILES"; then | 
|---|
| 3355 | LD="${ORIGINAL_LD_FOR_MULTILIBS}" | 
|---|
| 3356 | ac_file=Makefile . ${gc_basedir}/../config-ml.in | 
|---|
| 3357 | fi | 
|---|
| 3358 | exit 0 | 
|---|
| 3359 | EOF | 
|---|
| 3360 | chmod +x $CONFIG_STATUS | 
|---|
| 3361 | rm -fr confdefs* $ac_clean_files | 
|---|
| 3362 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 | 
|---|
| 3363 |  | 
|---|