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.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
24 --enable-shared[=PKGS] build shared libraries [default=no]"
26 --enable-static[=PKGS] build static libraries [default=yes]"
28 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 --disable-libtool-lock avoid locking (might break parallel builds)"
34 --with-pic try to use only PIC/non-PIC objects [default=use both]"
36 --enable-objc-gc enable the use of Boehm's garbage collector with
37 the GNU Objective-C runtime."
39 # Initialize some variables set by options.
40 # The variables have the same names as the options, with
41 # dashes changed to underlines.
43 cache_file
=.
/config.cache
52 program_transform_name
=s
,x
,x
,
61 bindir
='${exec_prefix}/bin'
62 sbindir
='${exec_prefix}/sbin'
63 libexecdir
='${exec_prefix}/libexec'
64 datadir
='${prefix}/share'
65 sysconfdir
='${prefix}/etc'
66 sharedstatedir
='${prefix}/com'
67 localstatedir
='${prefix}/var'
68 libdir
='${exec_prefix}/lib'
69 includedir
='${prefix}/include'
70 oldincludedir
='/usr/include'
71 infodir
='${prefix}/info'
72 mandir
='${prefix}/man'
74 # Initialize some other variables.
77 SHELL
=${CONFIG_SHELL-/bin/sh}
78 # Maximum number of lines to put in a shell here document.
85 # If the previous option needs an argument, assign it.
86 if test -n "$ac_prev"; then
87 eval "$ac_prev=\$ac_option"
93 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
97 # Accept the important Cygnus configure options, so we can diagnose typos.
101 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
103 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
104 bindir
="$ac_optarg" ;;
106 -build |
--build |
--buil |
--bui |
--bu)
108 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
109 build
="$ac_optarg" ;;
111 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
112 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
113 ac_prev
=cache_file
;;
114 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
115 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
116 cache_file
="$ac_optarg" ;;
118 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
120 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
122 datadir
="$ac_optarg" ;;
124 -disable-* |
--disable-*)
125 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
126 # Reject names that are not valid shell variable names.
127 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
128 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
130 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
131 eval "enable_${ac_feature}=no" ;;
133 -enable-* |
--enable-*)
134 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
135 # Reject names that are not valid shell variable names.
136 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
137 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
139 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
144 eval "enable_${ac_feature}='$ac_optarg'" ;;
146 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
147 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
148 |
--exec |
--exe |
--ex)
149 ac_prev
=exec_prefix
;;
150 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
151 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
152 |
--exec=* |
--exe=* |
--ex=*)
153 exec_prefix
="$ac_optarg" ;;
155 -gas |
--gas |
--ga |
--g)
156 # Obsolete; use --with-gas.
159 -help |
--help |
--hel |
--he)
160 # Omit some internal or obsolete options to make the list less imposing.
161 # This message is too long to be a string in the A/UX 3.1 sh.
163 Usage: configure [options] [host]
164 Options: [defaults in brackets after descriptions]
166 --cache-file=FILE cache test results in FILE
167 --help print this message
168 --no-create do not create output files
169 --quiet, --silent do not print \`checking...' messages
170 --site-file=FILE use FILE as the site file
171 --version print the version of autoconf that created configure
172 Directory and file names:
173 --prefix=PREFIX install architecture-independent files in PREFIX
175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
177 --bindir=DIR user executables in DIR [EPREFIX/bin]
178 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
179 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
180 --datadir=DIR read-only architecture-independent data in DIR
182 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
183 --sharedstatedir=DIR modifiable architecture-independent data in DIR
185 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
186 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
187 --includedir=DIR C header files in DIR [PREFIX/include]
188 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
189 --infodir=DIR info documentation in DIR [PREFIX/info]
190 --mandir=DIR man documentation in DIR [PREFIX/man]
191 --srcdir=DIR find the sources in DIR [configure dir or ..]
192 --program-prefix=PREFIX prepend PREFIX to installed program names
193 --program-suffix=SUFFIX append SUFFIX to installed program names
194 --program-transform-name=PROGRAM
195 run sed PROGRAM on installed program names
199 --build=BUILD configure for building on BUILD [BUILD=HOST]
200 --host=HOST configure for HOST [guessed]
201 --target=TARGET configure for TARGET [TARGET=HOST]
202 Features and packages:
203 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
204 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
205 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
206 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
207 --x-includes=DIR X include files are in DIR
208 --x-libraries=DIR X library files are in DIR
210 if test -n "$ac_help"; then
211 echo "--enable and --with options recognized:$ac_help"
215 -host |
--host |
--hos |
--ho)
217 -host=* |
--host=* |
--hos=* |
--ho=*)
220 -includedir |
--includedir |
--includedi |
--included |
--include \
221 |
--includ |
--inclu |
--incl |
--inc)
222 ac_prev
=includedir
;;
223 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
224 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
225 includedir
="$ac_optarg" ;;
227 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
229 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
230 infodir
="$ac_optarg" ;;
232 -libdir |
--libdir |
--libdi |
--libd)
234 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
235 libdir
="$ac_optarg" ;;
237 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
238 |
--libexe |
--libex |
--libe)
239 ac_prev
=libexecdir
;;
240 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
241 |
--libexe=* |
--libex=* |
--libe=*)
242 libexecdir
="$ac_optarg" ;;
244 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
245 |
--localstate |
--localstat |
--localsta |
--localst \
246 |
--locals |
--local |
--loca |
--loc |
--lo)
247 ac_prev
=localstatedir
;;
248 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
249 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
250 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
251 localstatedir
="$ac_optarg" ;;
253 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
255 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
256 mandir
="$ac_optarg" ;;
259 # Obsolete; use --without-fp.
262 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
266 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
267 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
270 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
271 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
272 |
--oldin |
--oldi |
--old |
--ol |
--o)
273 ac_prev
=oldincludedir
;;
274 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
275 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
276 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
277 oldincludedir
="$ac_optarg" ;;
279 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
281 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
282 prefix
="$ac_optarg" ;;
284 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
285 |
--program-pre |
--program-pr |
--program-p)
286 ac_prev
=program_prefix
;;
287 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
288 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
289 program_prefix
="$ac_optarg" ;;
291 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
292 |
--program-suf |
--program-su |
--program-s)
293 ac_prev
=program_suffix
;;
294 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
295 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
296 program_suffix
="$ac_optarg" ;;
298 -program-transform-name |
--program-transform-name \
299 |
--program-transform-nam |
--program-transform-na \
300 |
--program-transform-n |
--program-transform- \
301 |
--program-transform |
--program-transfor \
302 |
--program-transfo |
--program-transf \
303 |
--program-trans |
--program-tran \
304 |
--progr-tra |
--program-tr |
--program-t)
305 ac_prev
=program_transform_name
;;
306 -program-transform-name=* |
--program-transform-name=* \
307 |
--program-transform-nam=* |
--program-transform-na=* \
308 |
--program-transform-n=* |
--program-transform-=* \
309 |
--program-transform=* |
--program-transfor=* \
310 |
--program-transfo=* |
--program-transf=* \
311 |
--program-trans=* |
--program-tran=* \
312 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
313 program_transform_name
="$ac_optarg" ;;
315 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
316 |
-silent |
--silent |
--silen |
--sile |
--sil)
319 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
321 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
323 sbindir
="$ac_optarg" ;;
325 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
326 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
327 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
329 ac_prev
=sharedstatedir
;;
330 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
331 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
332 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
334 sharedstatedir
="$ac_optarg" ;;
336 -site |
--site |
--sit)
338 -site=* |
--site=* |
--sit=*)
341 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
343 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
344 sitefile
="$ac_optarg" ;;
346 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
348 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
349 srcdir
="$ac_optarg" ;;
351 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
352 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
353 ac_prev
=sysconfdir
;;
354 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
355 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
356 sysconfdir
="$ac_optarg" ;;
358 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
360 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
361 target
="$ac_optarg" ;;
363 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
366 -version |
--version |
--versio |
--versi |
--vers)
367 echo "configure generated by autoconf version 2.13"
371 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
374 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
376 ac_package
=`echo $ac_package| sed 's/-/_/g'`
381 eval "with_${ac_package}='$ac_optarg'" ;;
383 -without-* |
--without-*)
384 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
385 # Reject names that are not valid shell variable names.
386 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
387 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
389 ac_package
=`echo $ac_package| sed 's/-/_/g'`
390 eval "with_${ac_package}=no" ;;
393 # Obsolete; use --with-x.
396 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
397 |
--x-incl |
--x-inc |
--x-in |
--x-i)
398 ac_prev
=x_includes
;;
399 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
400 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
401 x_includes
="$ac_optarg" ;;
403 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
404 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
405 ac_prev
=x_libraries
;;
406 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
407 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
408 x_libraries
="$ac_optarg" ;;
410 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
414 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
415 echo "configure: warning: $ac_option: invalid host type" 1>&2
417 if test "x$nonopt" != xNONE
; then
418 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
426 if test -n "$ac_prev"; then
427 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
430 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
432 # File descriptor usage:
435 # 2 errors and warnings
436 # 3 some systems may open it to /dev/tty
437 # 4 used on the Kubota Titan
438 # 6 checking for... messages and results
439 # 5 compiler messages saved in config.log
440 if test "$silent" = yes; then
448 This file contains any messages produced by compilers while
449 running configure, to aid debugging if configure makes a mistake.
452 # Strip out --no-create and --no-recursion so they do not pile up.
453 # Also quote any args containing shell metacharacters.
458 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
459 |
--no-cr |
--no-c) ;;
460 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
461 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
462 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
463 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
464 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
469 # Only set these to C if already set. These must not be set unconditionally
470 # because not all systems understand e.g. LANG=C (notably SCO).
471 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
472 # Non-C LC_CTYPE values break the ctype check.
473 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
474 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
475 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
476 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
478 # confdefs.h avoids OS command line length limits that DEFS can exceed.
479 rm -rf conftest
* confdefs.h
480 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
483 # A filename unique to this package, relative to the directory that
484 # configure is in, which we can look for to find out if srcdir is correct.
485 ac_unique_file
=objc
/objc.h
487 # Find the source files, if location was not specified.
488 if test -z "$srcdir"; then
489 ac_srcdir_defaulted
=yes
490 # Try the directory containing this script, then its parent.
492 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
493 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
495 if test ! -r $srcdir/$ac_unique_file; then
499 ac_srcdir_defaulted
=no
501 if test ! -r $srcdir/$ac_unique_file; then
502 if test "$ac_srcdir_defaulted" = yes; then
503 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
505 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
508 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
510 # Prefer explicitly selected file to automatically selected ones.
511 if test -z "$sitefile"; then
512 if test -z "$CONFIG_SITE"; then
513 if test "x$prefix" != xNONE
; then
514 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
516 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
520 CONFIG_SITE
="$sitefile"
522 for ac_site_file
in $CONFIG_SITE; do
523 if test -r "$ac_site_file"; then
524 echo "loading site script $ac_site_file"
529 if test -r "$cache_file"; then
530 echo "loading cache $cache_file"
533 echo "creating cache $cache_file"
538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
539 ac_cpp
='$CPP $CPPFLAGS'
540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
542 cross_compiling
=$ac_cv_prog_cc_cross
546 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
547 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
548 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
555 ac_n
= ac_c
='\c' ac_t
=
561 # This works around the fact that libtool configuration may change LD
562 # for this particular configuration, but some shells, instead of
563 # keeping the changes in LD private, export them just because LD is
565 ORIGINAL_LD_FOR_MULTILIBS
=$LD
568 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
569 if test -f $ac_dir/install-sh
; then
571 ac_install_sh
="$ac_aux_dir/install-sh -c"
573 elif test -f $ac_dir/install.sh
; then
575 ac_install_sh
="$ac_aux_dir/install.sh -c"
579 if test -z "$ac_aux_dir"; then
580 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
582 ac_config_guess
=$ac_aux_dir/config.guess
583 ac_config_sub
=$ac_aux_dir/config.sub
584 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
587 # Do some error checking and defaulting for the host and target type.
589 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
592 # 1. You are not allowed to specify --host, --target, and nonopt at the
594 # 2. Host defaults to nonopt.
595 # 3. If nonopt is not specified, then host defaults to the current host,
596 # as determined by config.guess.
597 # 4. Target and build default to nonopt.
598 # 5. If nonopt is not specified, then target and build default to host.
600 # The aliases save the names the user supplied, while $host etc.
601 # will get canonicalized.
602 case $host---$target---$nonopt in
603 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
604 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
608 # Make sure we can run config.sub.
609 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
610 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
613 echo $ac_n "checking host system type""... $ac_c" 1>&6
614 echo "configure:615: checking host system type" >&5
617 case "$host_alias" in
621 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
622 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
624 *) host_alias
=$nonopt ;;
628 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
629 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
630 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
631 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
632 echo "$ac_t""$host" 1>&6
634 echo $ac_n "checking target system type""... $ac_c" 1>&6
635 echo "configure:636: checking target system type" >&5
638 case "$target_alias" in
641 NONE
) target_alias
=$host_alias ;;
642 *) target_alias
=$nonopt ;;
646 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
647 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
648 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
649 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
650 echo "$ac_t""$target" 1>&6
652 echo $ac_n "checking build system type""... $ac_c" 1>&6
653 echo "configure:654: checking build system type" >&5
656 case "$build_alias" in
659 NONE
) build_alias
=$host_alias ;;
660 *) build_alias
=$nonopt ;;
664 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
665 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
666 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
667 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
668 echo "$ac_t""$build" 1>&6
670 test "$host_alias" != "$target_alias" &&
671 test "$program_prefix$program_suffix$program_transform_name" = \
673 program_prefix
=${target_alias}-
675 target_alias
=${target_alias-$target}
678 if test $host != $build; then
679 ac_tool_prefix
=${host_alias}-
684 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
685 echo "configure:686: checking for Cygwin environment" >&5
686 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
687 echo $ac_n "(cached) $ac_c" 1>&6
689 cat > conftest.
$ac_ext <<EOF
690 #line 691 "configure"
691 #include "confdefs.h"
696 #define __CYGWIN__ __CYGWIN32__
701 if { (eval echo configure
:702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
705 echo "configure: failed program was:" >&5
706 cat conftest.
$ac_ext >&5
714 echo "$ac_t""$ac_cv_cygwin" 1>&6
716 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
717 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
718 echo "configure:719: checking for mingw32 environment" >&5
719 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
720 echo $ac_n "(cached) $ac_c" 1>&6
722 cat > conftest.
$ac_ext <<EOF
723 #line 724 "configure"
724 #include "confdefs.h"
730 if { (eval echo configure
:731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
734 echo "configure: failed program was:" >&5
735 cat conftest.
$ac_ext >&5
743 echo "$ac_t""$ac_cv_mingw32" 1>&6
745 test "$ac_cv_mingw32" = yes && MINGW32
=yes
747 # Check whether --enable-multilib or --disable-multilib was given.
748 if test "${enable_multilib+set}" = set; then
749 enableval
="$enable_multilib"
750 case "${enableval}" in
753 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
759 # When building with srcdir == objdir, links to the source files will
760 # be created in directories within the target_subdir. We have to
761 # adjust toplevel_srcdir accordingly, so that configure finds
762 # install-sh and other auxiliary files that live in the top-level
764 if test "${srcdir}" = "."; then
765 if test -z "${with_target_subdir}"; then
768 if test "${with_target_subdir}" != "."; then
769 toprel
="${with_multisrctop}../.."
771 toprel
="${with_multisrctop}.."
778 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
779 if test -f $ac_dir/install-sh
; then
781 ac_install_sh
="$ac_aux_dir/install-sh -c"
783 elif test -f $ac_dir/install.sh
; then
785 ac_install_sh
="$ac_aux_dir/install.sh -c"
789 if test -z "$ac_aux_dir"; then
790 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
792 ac_config_guess=$ac_aux_dir/config.guess
793 ac_config_sub=$ac_aux_dir/config.sub
794 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
796 toplevel_srcdir=\${top_srcdir}/$toprel
799 # Export build and source directories.
800 # These need to be absolute paths, yet at the same time need to
801 # canonicalize only relative paths, because then amd will not unmount
802 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
803 glibcpp_builddir=`${PWDCMD-pwd}`
805 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
806 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
813 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
814 # be 'cp -p' if linking isn't available.
815 #ac_cv_prog_LN_S='cp -p'
816 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
817 echo "configure
:818: checking whether
ln -s works
" >&5
818 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
819 echo $ac_n "(cached
) $ac_c" 1>&6
822 if ln -s X conftestdata 2>/dev/null
825 ac_cv_prog_LN_S="ln -s"
830 LN_S="$ac_cv_prog_LN_S"
831 if test "$ac_cv_prog_LN_S" = "ln -s"; then
832 echo "$ac_t""yes" 1>&6
834 echo "$ac_t""no
" 1>&6
838 # We use these options to decide which functions to include.
839 # Check whether --with-target-subdir or --without-target-subdir was given.
840 if test "${with_target_subdir+set}" = set; then
841 withval="$with_target_subdir"
845 # Check whether --with-cross-host or --without-cross-host was given.
846 if test "${with_cross_host+set}" = set; then
847 withval="$with_cross_host"
852 # Never versions of autoconf add an underscore to these functions.
853 # Prevent future problems ...
861 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
862 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
863 # are probably using a cross compiler, which will not be able to fully
864 # link an executable. This should really be fixed in autoconf
870 # Extract the first word of "gcc
", so it can be a program name with args.
871 set dummy gcc; ac_word=$2
872 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
873 echo "configure
:874: checking
for $ac_word" >&5
874 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
875 echo $ac_n "(cached
) $ac_c" 1>&6
877 if test -n "$CC"; then
878 ac_cv_prog_CC="$CC" # Let the user override the test.
880 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
882 for ac_dir in $ac_dummy; do
883 test -z "$ac_dir" && ac_dir=.
884 if test -f $ac_dir/$ac_word; then
893 if test -n "$CC"; then
894 echo "$ac_t""$CC" 1>&6
896 echo "$ac_t""no
" 1>&6
899 if test -z "$CC"; then
900 # Extract the first word of "cc
", so it can be a program name with args.
901 set dummy cc; ac_word=$2
902 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
903 echo "configure
:904: checking
for $ac_word" >&5
904 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
905 echo $ac_n "(cached
) $ac_c" 1>&6
907 if test -n "$CC"; then
908 ac_cv_prog_CC="$CC" # Let the user override the test.
910 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
913 for ac_dir in $ac_dummy; do
914 test -z "$ac_dir" && ac_dir=.
915 if test -f $ac_dir/$ac_word; then
916 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
925 if test $ac_prog_rejected = yes; then
926 # We found a bogon in the path, so make sure we never use it.
927 set dummy $ac_cv_prog_CC
929 if test $# -gt 0; then
930 # We chose a different compiler from the bogus one.
931 # However, it has the same basename, so the bogon will be chosen
932 # first if we set CC to just the basename; use the full file name.
934 set dummy "$ac_dir/$ac_word" "$@
"
942 if test -n "$CC"; then
943 echo "$ac_t""$CC" 1>&6
945 echo "$ac_t""no
" 1>&6
948 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
951 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
952 echo "configure
:953: checking whether we are using GNU C
" >&5
953 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
954 echo $ac_n "(cached
) $ac_c" 1>&6
956 cat > conftest.c <<EOF
961 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
968 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
970 if test $ac_cv_prog_gcc = yes; then
972 ac_test_CFLAGS="${CFLAGS+set}"
973 ac_save_CFLAGS="$CFLAGS"
975 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
976 echo "configure
:977: checking whether
${CC-cc} accepts
-g" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
978 echo $ac_n "(cached
) $ac_c" 1>&6
980 echo 'void f(){}' > conftest.c
981 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
990 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
991 if test "$ac_test_CFLAGS" = set; then
992 CFLAGS="$ac_save_CFLAGS"
993 elif test $ac_cv_prog_cc_g = yes; then
1000 test "${CFLAGS+set}" = set || CFLAGS="-g"
1004 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1005 set dummy ${ac_tool_prefix}as; ac_word=$2
1006 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1007 echo "configure
:1008: checking
for $ac_word" >&5
1008 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1009 echo $ac_n "(cached
) $ac_c" 1>&6
1011 if test -n "$AS"; then
1012 ac_cv_prog_AS="$AS" # Let the user override the test.
1014 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1016 for ac_dir in $ac_dummy; do
1017 test -z "$ac_dir" && ac_dir=.
1018 if test -f $ac_dir/$ac_word; then
1019 ac_cv_prog_AS="${ac_tool_prefix}as
"
1024 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1028 if test -n "$AS"; then
1029 echo "$ac_t""$AS" 1>&6
1031 echo "$ac_t""no
" 1>&6
1036 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1037 set dummy ${ac_tool_prefix}ar; ac_word=$2
1038 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1039 echo "configure
:1040: checking
for $ac_word" >&5
1040 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1041 echo $ac_n "(cached
) $ac_c" 1>&6
1043 if test -n "$AR"; then
1044 ac_cv_prog_AR="$AR" # Let the user override the test.
1046 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1048 for ac_dir in $ac_dummy; do
1049 test -z "$ac_dir" && ac_dir=.
1050 if test -f $ac_dir/$ac_word; then
1051 ac_cv_prog_AR="${ac_tool_prefix}ar"
1056 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1060 if test -n "$AR"; then
1061 echo "$ac_t""$AR" 1>&6
1063 echo "$ac_t""no
" 1>&6
1068 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1069 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1070 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1071 echo "configure
:1072: checking
for $ac_word" >&5
1072 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1073 echo $ac_n "(cached
) $ac_c" 1>&6
1075 if test -n "$RANLIB"; then
1076 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1080 for ac_dir in $ac_dummy; do
1081 test -z "$ac_dir" && ac_dir=.
1082 if test -f $ac_dir/$ac_word; then
1083 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1090 RANLIB="$ac_cv_prog_RANLIB"
1091 if test -n "$RANLIB"; then
1092 echo "$ac_t""$RANLIB" 1>&6
1094 echo "$ac_t""no
" 1>&6
1098 if test -z "$ac_cv_prog_RANLIB"; then
1099 if test -n "$ac_tool_prefix"; then
1100 # Extract the first word of "ranlib
", so it can be a program name with args.
1101 set dummy ranlib; ac_word=$2
1102 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1103 echo "configure
:1104: checking
for $ac_word" >&5
1104 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1105 echo $ac_n "(cached
) $ac_c" 1>&6
1107 if test -n "$RANLIB"; then
1108 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1110 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1112 for ac_dir in $ac_dummy; do
1113 test -z "$ac_dir" && ac_dir=.
1114 if test -f $ac_dir/$ac_word; then
1115 ac_cv_prog_RANLIB="ranlib
"
1120 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1123 RANLIB="$ac_cv_prog_RANLIB"
1124 if test -n "$RANLIB"; then
1125 echo "$ac_t""$RANLIB" 1>&6
1127 echo "$ac_t""no
" 1>&6
1131 RANLIB="ranlib-not-found-in-path-error
"
1135 # Find a good install program. We prefer a C program (faster),
1136 # so one script is as good as another. But avoid the broken or
1137 # incompatible versions:
1138 # SysV /etc/install, /usr/sbin/install
1139 # SunOS /usr/etc/install
1140 # IRIX /sbin/install
1142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1145 # ./install, which can be erroneously created by make from ./install.sh.
1146 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1147 echo "configure
:1148: checking
for a BSD compatible
install" >&5
1148 if test -z "$INSTALL"; then
1149 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1150 echo $ac_n "(cached
) $ac_c" 1>&6
1152 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1153 for ac_dir in $PATH; do
1154 # Account for people who put trailing slashes in PATH elements.
1156 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1158 # OSF1 and SCO ODT 3.0 have their own names for install.
1159 # Don't use installbsd from OSF since it installs stuff as root
1161 for ac_prog in ginstall scoinst install; do
1162 if test -f $ac_dir/$ac_prog; then
1163 if test $ac_prog = install &&
1164 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1165 # AIX install. It has an incompatible calling convention.
1168 ac_cv_path_install="$ac_dir/$ac_prog -c"
1179 if test "${ac_cv_path_install+set}" = set; then
1180 INSTALL="$ac_cv_path_install"
1182 # As a last resort, use the slow shell script. We don't cache a
1183 # path for INSTALL within a source directory, because that will
1184 # break other packages using the cache if that directory is
1185 # removed, or if the path is relative.
1186 INSTALL="$ac_install_sh"
1189 echo "$ac_t""$INSTALL" 1>&6
1191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1192 # It thinks the first close brace ends the variable substitution.
1193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1200 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1201 # at least currently, we never actually build a program, so we never
1202 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1203 # fails, because we are probably configuring with a cross compiler
1204 # which can't create executables. So we include AC_EXEEXT to keep
1205 # automake happy, but we don't execute it, since we don't care about
1208 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1209 # to nothing, so nothing would remain between `then' and `fi' if it
1210 # were not for the `:' below.
1214 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1215 echo "configure
:1216: checking
for executable suffix
" >&5
1216 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1217 echo $ac_n "(cached
) $ac_c" 1>&6
1219 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1223 echo 'int main () { return 0; }' > conftest.$ac_ext
1225 if { (eval echo configure:1226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1226 for file in conftest.*; do
1228 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1229 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1233 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1236 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1241 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1242 echo "$ac_t""${ac_cv_exeext}" 1>&6
1248 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
1249 # exported correctly in GLIBCPP_CONFIGURE.
1250 glibcpp_toolexecdir=no
1251 glibcpp_toolexeclibdir=no
1252 glibcpp_prefixdir=${prefix}
1254 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
1255 echo "configure
:1256: checking
for interface version number
" >&5
1256 libstdcxx_interface=$INTERFACE
1257 echo "$ac_t""$libstdcxx_interface" 1>&6
1259 # Process the option "--enable-version-specific-runtime-libs"
1260 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
1261 echo "configure
:1262: checking
for --enable-version-specific-runtime-libs" >&5
1262 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1263 if test "${enable_version_specific_runtime_libs+set}" = set; then
1264 enableval="$enable_version_specific_runtime_libs"
1265 case "$enableval" in
1266 yes) version_specific_libs=yes ;;
1267 no) version_specific_libs=no ;;
1268 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
1271 version_specific_libs=no
1273 # Option set, now we can test it.
1274 echo "$ac_t""$version_specific_libs" 1>&6
1276 gcc_version_trigger=${srcdir}/../gcc/version.c
1277 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1278 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1282 if test $version_specific_libs = yes; then
1283 # Need the gcc compiler version to know where to install libraries
1284 # and header files if --enable-version-specific-runtime-libs option
1286 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1287 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1290 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
1291 # Install a library built with a cross compiler in tooldir, not libdir.
1292 if test x"$glibcpp_toolexecdir" = x"no
"; then
1293 if test -n "$with_cross_host" &&
1294 test x"$with_cross_host" != x"no
"; then
1295 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
1296 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
1298 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1299 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
1308 # If the language specific compiler does not exist, but the "gcc
" directory
1309 # does, we do not build anything. Note, $r is set by the top-level Makefile.
1310 # Note that when we look for the compiler, we search both with and without
1311 # extension to handle cross and canadian cross builds.
1312 compiler_name=cc1obj
1314 echo $ac_n "checking
if compiler
$compiler_name has been built
""...
$ac_c" 1>&6
1315 echo "configure
:1316: checking
if compiler
$compiler_name has been built
" >&5
1316 if eval "test \"`echo '$''{'objc_cv_compiler_exists'+set}'`\" = set"; then
1317 echo $ac_n "(cached
) $ac_c" 1>&6
1319 objc_cv_compiler_exists=yes
1320 if test -n "$r"; then
1321 if test -d "$r"/gcc; then
1322 if test -f "$r"/gcc/$compiler_name \
1323 || test -f "$r"/gcc/$compiler_name.exe; then
1326 objc_cv_compiler_exists=no
1327 echo "rm -f config.cache config.log multilib.out
" > skip-this-dir
1334 echo "$ac_t""$objc_cv_compiler_exists" 1>&6
1335 if test x$objc_cv_compiler_exists = xno
1337 rm -f Makefile conftest* confdefs* core
1342 # Disable shared libs by default
1343 # Check whether --enable-shared or --disable-shared was given.
1344 if test "${enable_shared+set}" = set; then
1345 enableval="$enable_shared"
1346 p=${PACKAGE-default}
1348 yes) enable_shared=yes ;;
1349 no) enable_shared=no ;;
1352 # Look at the argument we got. We use all the common list separators.
1353 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1354 for pkg in $enableval; do
1355 if test "X
$pkg" = "X
$p"; then
1366 # Enable Win32 DLL on MS Windows - FIXME
1369 # Check whether --enable-static or --disable-static was given.
1370 if test "${enable_static+set}" = set; then
1371 enableval="$enable_static"
1372 p=${PACKAGE-default}
1374 yes) enable_static=yes ;;
1375 no) enable_static=no ;;
1378 # Look at the argument we got. We use all the common list separators.
1379 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1380 for pkg in $enableval; do
1381 if test "X
$pkg" = "X
$p"; then
1392 # Check whether --enable-fast-install or --disable-fast-install was given.
1393 if test "${enable_fast_install+set}" = set; then
1394 enableval="$enable_fast_install"
1395 p=${PACKAGE-default}
1397 yes) enable_fast_install=yes ;;
1398 no) enable_fast_install=no ;;
1400 enable_fast_install=no
1401 # Look at the argument we got. We use all the common list separators.
1402 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1403 for pkg in $enableval; do
1404 if test "X
$pkg" = "X
$p"; then
1405 enable_fast_install=yes
1412 enable_fast_install=yes
1415 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1416 if test "${with_gnu_ld+set}" = set; then
1417 withval="$with_gnu_ld"
1418 test "$withval" = no || with_gnu_ld=yes
1424 if test "$GCC" = yes; then
1425 # Check if gcc -print-prog-name=ld gives a path.
1426 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1427 echo "configure
:1428: checking
for ld used by GCC
" >&5
1430 # gcc leaves a trailing carriage return which upsets mingw
1431 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1433 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1436 # Accept absolute paths.
1437 [\\/]* | [A-Za-z]:[\\/]*)
1438 re_direlt='/[^/][^/]*/\.\./'
1439 # Canonicalize the path of ld
1440 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1441 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1442 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1444 test -z "$LD" && LD="$ac_prog"
1447 # If it fails, then pretend we aren't using GCC.
1451 # If it is relative, then search for the first ld in PATH.
1455 elif test "$with_gnu_ld" = yes; then
1456 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1457 echo "configure
:1458: checking
for GNU ld
" >&5
1459 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1460 echo "configure
:1461: checking
for non-GNU ld
" >&5
1462 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1463 echo $ac_n "(cached
) $ac_c" 1>&6
1465 if test -z "$LD"; then
1466 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1467 for ac_dir in $PATH; do
1468 test -z "$ac_dir" && ac_dir=.
1469 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1470 lt_cv_path_LD="$ac_dir/$ac_prog"
1471 # Check to see if the program is GNU ld. I'd rather use --version,
1472 # but apparently some GNU ld's only accept -v.
1473 # Break only if it was the GNU/non-GNU ld that we prefer.
1474 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1475 test "$with_gnu_ld" != no && break
1477 test "$with_gnu_ld" != yes && break
1483 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1488 if test -n "$LD"; then
1489 echo "$ac_t""$LD" 1>&6
1491 echo "$ac_t""no
" 1>&6
1493 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1494 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1495 echo "configure
:1496: checking
if the linker
($LD) is GNU ld
" >&5
1496 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1497 echo $ac_n "(cached
) $ac_c" 1>&6
1499 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1500 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1501 lt_cv_prog_gnu_ld=yes
1503 lt_cv_prog_gnu_ld=no
1507 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1508 with_gnu_ld=$lt_cv_prog_gnu_ld
1511 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1512 echo "configure
:1513: checking
for $LD option to reload object files
" >&5
1513 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1514 echo $ac_n "(cached
) $ac_c" 1>&6
1516 lt_cv_ld_reload_flag='-r'
1519 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1520 reload_flag=$lt_cv_ld_reload_flag
1521 test -n "$reload_flag" && reload_flag=" $reload_flag"
1523 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1524 echo "configure
:1525: checking
for BSD-compatible nm
" >&5
1525 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1526 echo $ac_n "(cached
) $ac_c" 1>&6
1528 if test -n "$NM"; then
1529 # Let the user override the test.
1532 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1533 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1534 test -z "$ac_dir" && ac_dir=.
1535 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1536 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1537 # Check to see if the nm accepts a BSD-compat flag.
1538 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1539 # nm: unknown option "B
" ignored
1540 # Tru64's nm complains that /dev/null is an invalid object file
1541 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1542 lt_cv_path_NM="$tmp_nm -B"
1544 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1545 lt_cv_path_NM="$tmp_nm -p"
1548 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1549 continue # so that we can try to find one that supports BSD flags
1554 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1559 echo "$ac_t""$NM" 1>&6
1561 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1562 echo "configure
:1563: checking how to recognise dependant libraries
" >&5
1563 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1564 echo $ac_n "(cached
) $ac_c" 1>&6
1566 lt_cv_file_magic_cmd='$MAGIC_CMD'
1567 lt_cv_file_magic_test_file=
1568 lt_cv_deplibs_check_method='unknown'
1569 # Need to set the preceding variable on all platforms that support
1570 # interlibrary dependencies.
1571 # 'none' -- dependencies not supported.
1572 # `unknown' -- same as none, but documents that we really don't know.
1573 # 'pass_all' -- all dependencies passed with no checks.
1574 # 'test_compile' -- check by making test program.
1575 # 'file_magic [regex]' -- check by looking for files in library path
1576 # which responds to the $file_magic_cmd with a given egrep regex.
1577 # If you have `file' or equivalent on your system and you're not sure
1578 # whether `pass_all' will *always* work, you probably want this one.
1582 lt_cv_deplibs_check_method=pass_all
1586 lt_cv_deplibs_check_method=pass_all
1590 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1591 lt_cv_file_magic_cmd='/usr/bin/file -L'
1592 lt_cv_file_magic_test_file=/shlib/libc.so
1595 cygwin* | mingw* |pw32*)
1596 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1597 lt_cv_file_magic_cmd='$OBJDUMP -f'
1600 darwin* | rhapsody*)
1601 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1602 lt_cv_file_magic_cmd='/usr/bin/file -L'
1604 rhapsody* | darwin1.012)
1605 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1608 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1614 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1617 # Not sure whether the presence of OpenBSD here was a mistake.
1618 # Let's accept both of them until this is cleared up.
1619 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1620 lt_cv_file_magic_cmd=/usr/bin/file
1621 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1625 lt_cv_deplibs_check_method=pass_all
1630 lt_cv_deplibs_check_method=pass_all
1634 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1635 lt_cv_file_magic_cmd=/usr/bin/file
1636 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1642 # this will be overridden with pass_all, but let us keep it just in case
1643 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1647 *-32|*"-32 ") libmagic=32-bit;;
1648 *-n32|*"-n32 ") libmagic=N32;;
1649 *-64|*"-64 ") libmagic=64-bit;;
1650 *) libmagic=never-match;;
1652 # this will be overridden with pass_all, but let us keep it just in case
1653 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1656 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1657 lt_cv_deplibs_check_method=pass_all
1660 # This must be Linux ELF.
1663 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1664 lt_cv_deplibs_check_method=pass_all ;;
1666 # glibc up to 2.1.1 does not perform some relocations on ARM
1667 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1669 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1673 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1674 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1676 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1681 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1682 lt_cv_file_magic_cmd=/usr/bin/file
1683 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1686 osf3* | osf4* | osf5*)
1687 # this will be overridden with pass_all, but let us keep it just in case
1688 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1689 lt_cv_file_magic_test_file=/shlib/libc.so
1690 lt_cv_deplibs_check_method=pass_all
1694 lt_cv_deplibs_check_method=pass_all
1698 lt_cv_deplibs_check_method=pass_all
1699 lt_cv_file_magic_test_file=/lib/libc.so
1702 sysv5uw[78]* | sysv4*uw2*)
1703 lt_cv_deplibs_check_method=pass_all
1706 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1707 case $host_vendor in
1709 lt_cv_deplibs_check_method=pass_all
1712 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]'
1713 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1721 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1722 file_magic_cmd=$lt_cv_file_magic_cmd
1723 deplibs_check_method=$lt_cv_deplibs_check_method
1725 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
1726 echo "configure
:1727: checking
for object suffix
" >&5
1727 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1728 echo $ac_n "(cached
) $ac_c" 1>&6
1731 echo 'int i = 1;' > conftest.$ac_ext
1732 if { (eval echo configure:1733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1733 for ac_file in conftest.*; do
1736 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1740 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
1745 echo "$ac_t""$ac_cv_objext" 1>&6
1746 OBJEXT=$ac_cv_objext
1747 ac_objext=$ac_cv_objext
1749 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1751 # Only perform the check for file, if the check method requires it
1752 case $deplibs_check_method in
1754 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1755 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
1756 echo "configure
:1757: checking
for ${ac_tool_prefix}file" >&5
1757 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1758 echo $ac_n "(cached
) $ac_c" 1>&6
1762 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1765 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1768 ac_save_MAGIC_CMD="$MAGIC_CMD"
1769 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1770 ac_dummy="/usr
/bin
:$PATH"
1771 for ac_dir in $ac_dummy; do
1772 test -z "$ac_dir" && ac_dir=.
1773 if test -f $ac_dir/${ac_tool_prefix}file; then
1774 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1775 if test -n "$file_magic_test_file"; then
1776 case $deplibs_check_method in
1778 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1779 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1780 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1781 egrep "$file_magic_regex" > /dev/null; then
1786 *** Warning: the command libtool uses to detect shared libraries,
1787 *** $file_magic_cmd, produces output that libtool cannot recognize.
1788 *** The result is that libtool may fail to recognize shared libraries
1789 *** as such. This will affect the creation of libtool libraries that
1790 *** depend on shared libraries, but programs linked with such libtool
1791 *** libraries will work regardless of this problem. Nevertheless, you
1792 *** may want to report the problem to your system manager and/or to
1793 *** bug-libtool@gnu.org
1803 MAGIC_CMD="$ac_save_MAGIC_CMD"
1808 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1809 if test -n "$MAGIC_CMD"; then
1810 echo "$ac_t""$MAGIC_CMD" 1>&6
1812 echo "$ac_t""no
" 1>&6
1815 if test -z "$lt_cv_path_MAGIC_CMD"; then
1816 if test -n "$ac_tool_prefix"; then
1817 echo $ac_n "checking
for file""...
$ac_c" 1>&6
1818 echo "configure
:1819: checking
for file" >&5
1819 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1820 echo $ac_n "(cached
) $ac_c" 1>&6
1824 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1827 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1830 ac_save_MAGIC_CMD="$MAGIC_CMD"
1831 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1832 ac_dummy="/usr
/bin
:$PATH"
1833 for ac_dir in $ac_dummy; do
1834 test -z "$ac_dir" && ac_dir=.
1835 if test -f $ac_dir/file; then
1836 lt_cv_path_MAGIC_CMD="$ac_dir/file"
1837 if test -n "$file_magic_test_file"; then
1838 case $deplibs_check_method in
1840 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1841 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1842 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1843 egrep "$file_magic_regex" > /dev/null; then
1848 *** Warning: the command libtool uses to detect shared libraries,
1849 *** $file_magic_cmd, produces output that libtool cannot recognize.
1850 *** The result is that libtool may fail to recognize shared libraries
1851 *** as such. This will affect the creation of libtool libraries that
1852 *** depend on shared libraries, but programs linked with such libtool
1853 *** libraries will work regardless of this problem. Nevertheless, you
1854 *** may want to report the problem to your system manager and/or to
1855 *** bug-libtool@gnu.org
1865 MAGIC_CMD="$ac_save_MAGIC_CMD"
1870 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1871 if test -n "$MAGIC_CMD"; then
1872 echo "$ac_t""$MAGIC_CMD" 1>&6
1874 echo "$ac_t""no
" 1>&6
1886 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1887 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1888 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1889 echo "configure
:1890: checking
for $ac_word" >&5
1890 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1891 echo $ac_n "(cached
) $ac_c" 1>&6
1893 if test -n "$RANLIB"; then
1894 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1896 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1898 for ac_dir in $ac_dummy; do
1899 test -z "$ac_dir" && ac_dir=.
1900 if test -f $ac_dir/$ac_word; then
1901 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1908 RANLIB="$ac_cv_prog_RANLIB"
1909 if test -n "$RANLIB"; then
1910 echo "$ac_t""$RANLIB" 1>&6
1912 echo "$ac_t""no
" 1>&6
1916 if test -z "$ac_cv_prog_RANLIB"; then
1917 if test -n "$ac_tool_prefix"; then
1918 # Extract the first word of "ranlib
", so it can be a program name with args.
1919 set dummy ranlib; ac_word=$2
1920 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1921 echo "configure
:1922: checking
for $ac_word" >&5
1922 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1923 echo $ac_n "(cached
) $ac_c" 1>&6
1925 if test -n "$RANLIB"; then
1926 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1928 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1930 for ac_dir in $ac_dummy; do
1931 test -z "$ac_dir" && ac_dir=.
1932 if test -f $ac_dir/$ac_word; then
1933 ac_cv_prog_RANLIB="ranlib
"
1938 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1941 RANLIB="$ac_cv_prog_RANLIB"
1942 if test -n "$RANLIB"; then
1943 echo "$ac_t""$RANLIB" 1>&6
1945 echo "$ac_t""no
" 1>&6
1953 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
1954 set dummy ${ac_tool_prefix}strip; ac_word=$2
1955 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1956 echo "configure
:1957: checking
for $ac_word" >&5
1957 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1958 echo $ac_n "(cached
) $ac_c" 1>&6
1960 if test -n "$STRIP"; then
1961 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1963 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1965 for ac_dir in $ac_dummy; do
1966 test -z "$ac_dir" && ac_dir=.
1967 if test -f $ac_dir/$ac_word; then
1968 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
1975 STRIP="$ac_cv_prog_STRIP"
1976 if test -n "$STRIP"; then
1977 echo "$ac_t""$STRIP" 1>&6
1979 echo "$ac_t""no
" 1>&6
1983 if test -z "$ac_cv_prog_STRIP"; then
1984 if test -n "$ac_tool_prefix"; then
1985 # Extract the first word of "strip
", so it can be a program name with args.
1986 set dummy strip; ac_word=$2
1987 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1988 echo "configure
:1989: checking
for $ac_word" >&5
1989 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1990 echo $ac_n "(cached
) $ac_c" 1>&6
1992 if test -n "$STRIP"; then
1993 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1995 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1997 for ac_dir in $ac_dummy; do
1998 test -z "$ac_dir" && ac_dir=.
1999 if test -f $ac_dir/$ac_word; then
2000 ac_cv_prog_STRIP="strip
"
2005 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2008 STRIP="$ac_cv_prog_STRIP"
2009 if test -n "$STRIP"; then
2010 echo "$ac_t""$STRIP" 1>&6
2012 echo "$ac_t""no
" 1>&6
2021 # Check for any special flags to pass to ltconfig.
2022 libtool_flags="--cache-file=$cache_file"
2023 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2024 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2025 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2026 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2027 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2029 libtool_flags="$libtool_flags --enable-win32-dll"
2030 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2031 if test "${enable_libtool_lock+set}" = set; then
2032 enableval="$enable_libtool_lock"
2036 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2037 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2039 # Check whether --with-pic or --without-pic was given.
2040 if test "${with_pic+set}" = set; then
2047 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2048 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2050 # Some flags need to be propagated to the compiler or linker for good
2054 # Find out which ABI we are using.
2055 echo '#line 2056 "configure
"' > conftest.$ac_ext
2056 if { (eval echo configure:2057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2057 case `/usr/bin/file conftest.$ac_objext` in
2073 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2074 SAVE_CFLAGS="$CFLAGS"
2075 CFLAGS="$CFLAGS -belf"
2076 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2077 echo "configure
:2078: checking whether the C compiler needs
-belf" >&5
2078 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2079 echo $ac_n "(cached
) $ac_c" 1>&6
2083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2084 ac_cpp='$CPP $CPPFLAGS'
2085 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2086 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2087 cross_compiling=$ac_cv_prog_cc_cross
2089 cat > conftest.$ac_ext <<EOF
2090 #line 2091 "configure
"
2091 #include "confdefs.h
"
2097 if { (eval echo configure:2098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2099 lt_cv_cc_needs_belf=yes
2101 echo "configure
: failed program was
:" >&5
2102 cat conftest.$ac_ext >&5
2104 lt_cv_cc_needs_belf=no
2108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2109 ac_cpp='$CPP $CPPFLAGS'
2110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2112 cross_compiling=$ac_cv_prog_cc_cross
2116 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2117 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2118 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2119 CFLAGS="$SAVE_CFLAGS"
2123 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
2124 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
2125 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2126 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2127 echo "configure
:2128: checking
for $ac_word" >&5
2128 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2129 echo $ac_n "(cached
) $ac_c" 1>&6
2131 if test -n "$DLLTOOL"; then
2132 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2136 for ac_dir in $ac_dummy; do
2137 test -z "$ac_dir" && ac_dir=.
2138 if test -f $ac_dir/$ac_word; then
2139 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
2146 DLLTOOL="$ac_cv_prog_DLLTOOL"
2147 if test -n "$DLLTOOL"; then
2148 echo "$ac_t""$DLLTOOL" 1>&6
2150 echo "$ac_t""no
" 1>&6
2154 if test -z "$ac_cv_prog_DLLTOOL"; then
2155 if test -n "$ac_tool_prefix"; then
2156 # Extract the first word of "dlltool
", so it can be a program name with args.
2157 set dummy dlltool; ac_word=$2
2158 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2159 echo "configure
:2160: checking
for $ac_word" >&5
2160 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2161 echo $ac_n "(cached
) $ac_c" 1>&6
2163 if test -n "$DLLTOOL"; then
2164 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2166 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2168 for ac_dir in $ac_dummy; do
2169 test -z "$ac_dir" && ac_dir=.
2170 if test -f $ac_dir/$ac_word; then
2171 ac_cv_prog_DLLTOOL="dlltool
"
2176 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false
"
2179 DLLTOOL="$ac_cv_prog_DLLTOOL"
2180 if test -n "$DLLTOOL"; then
2181 echo "$ac_t""$DLLTOOL" 1>&6
2183 echo "$ac_t""no
" 1>&6
2191 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
2192 set dummy ${ac_tool_prefix}as; ac_word=$2
2193 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2194 echo "configure
:2195: checking
for $ac_word" >&5
2195 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2196 echo $ac_n "(cached
) $ac_c" 1>&6
2198 if test -n "$AS"; then
2199 ac_cv_prog_AS="$AS" # Let the user override the test.
2201 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2203 for ac_dir in $ac_dummy; do
2204 test -z "$ac_dir" && ac_dir=.
2205 if test -f $ac_dir/$ac_word; then
2206 ac_cv_prog_AS="${ac_tool_prefix}as
"
2214 if test -n "$AS"; then
2215 echo "$ac_t""$AS" 1>&6
2217 echo "$ac_t""no
" 1>&6
2221 if test -z "$ac_cv_prog_AS"; then
2222 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "as
", so it can be a program name with args.
2224 set dummy as; ac_word=$2
2225 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2226 echo "configure
:2227: checking
for $ac_word" >&5
2227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2228 echo $ac_n "(cached
) $ac_c" 1>&6
2230 if test -n "$AS"; then
2231 ac_cv_prog_AS="$AS" # Let the user override the test.
2233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2235 for ac_dir in $ac_dummy; do
2236 test -z "$ac_dir" && ac_dir=.
2237 if test -f $ac_dir/$ac_word; then
2243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false
"
2247 if test -n "$AS"; then
2248 echo "$ac_t""$AS" 1>&6
2250 echo "$ac_t""no
" 1>&6
2258 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}objdump; ac_word=$2
2260 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2261 echo "configure
:2262: checking
for $ac_word" >&5
2262 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2263 echo $ac_n "(cached
) $ac_c" 1>&6
2265 if test -n "$OBJDUMP"; then
2266 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2268 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2270 for ac_dir in $ac_dummy; do
2271 test -z "$ac_dir" && ac_dir=.
2272 if test -f $ac_dir/$ac_word; then
2273 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
2280 OBJDUMP="$ac_cv_prog_OBJDUMP"
2281 if test -n "$OBJDUMP"; then
2282 echo "$ac_t""$OBJDUMP" 1>&6
2284 echo "$ac_t""no
" 1>&6
2288 if test -z "$ac_cv_prog_OBJDUMP"; then
2289 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "objdump
", so it can be a program name with args.
2291 set dummy objdump; ac_word=$2
2292 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2293 echo "configure
:2294: checking
for $ac_word" >&5
2294 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2295 echo $ac_n "(cached
) $ac_c" 1>&6
2297 if test -n "$OBJDUMP"; then
2298 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2300 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2302 for ac_dir in $ac_dummy; do
2303 test -z "$ac_dir" && ac_dir=.
2304 if test -f $ac_dir/$ac_word; then
2305 ac_cv_prog_OBJDUMP="objdump
"
2310 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false
"
2313 OBJDUMP="$ac_cv_prog_OBJDUMP"
2314 if test -n "$OBJDUMP"; then
2315 echo "$ac_t""$OBJDUMP" 1>&6
2317 echo "$ac_t""no
" 1>&6
2326 # recent cygwin and mingw systems supply a stub DllMain which the user
2327 # can override, but on older systems we have to supply one
2328 echo $ac_n "checking
if libtool should supply DllMain
function""...
$ac_c" 1>&6
2329 echo "configure
:2330: checking
if libtool should supply DllMain
function" >&5
2330 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2331 echo $ac_n "(cached
) $ac_c" 1>&6
2333 cat > conftest.$ac_ext <<EOF
2334 #line 2335 "configure
"
2335 #include "confdefs.h
"
2338 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2342 if { (eval echo configure:2343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2344 lt_cv_need_dllmain=no
2346 echo "configure
: failed program was
:" >&5
2347 cat conftest.$ac_ext >&5
2349 lt_cv_need_dllmain=yes
2354 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2357 *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
2358 # old mingw systems require "-dll" to link a DLL, while more recent ones
2360 SAVE_CFLAGS="$CFLAGS"
2361 CFLAGS="$CFLAGS -mdll"
2362 echo $ac_n "checking how to link DLLs
""...
$ac_c" 1>&6
2363 echo "configure
:2364: checking how to link DLLs
" >&5
2364 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2365 echo $ac_n "(cached
) $ac_c" 1>&6
2367 cat > conftest.$ac_ext <<EOF
2368 #line 2369 "configure
"
2369 #include "confdefs.h
"
2375 if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2377 lt_cv_cc_dll_switch=-mdll
2379 echo "configure
: failed program was
:" >&5
2380 cat conftest.$ac_ext >&5
2382 lt_cv_cc_dll_switch=-dll
2387 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2388 CFLAGS="$SAVE_CFLAGS" ;;
2389 *-*-cygwin* | *-*-pw32*)
2390 # cygwin systems need to pass --dll to the linker, and not link
2391 # crt.o which will require a WinMain@16 definition.
2392 lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
2399 # Save cache, so that ltconfig can load it
2400 cat > confcache <<\EOF
2401 # This file is a shell script that caches the results of configure
2402 # tests run on this system so they can be shared between configure
2403 # scripts and configure runs. It is not useful on other systems.
2404 # If it contains results you don't want to keep, you may remove or edit it.
2406 # By default, configure uses ./config.cache as the cache file,
2407 # creating it if it does not exist already. You can give configure
2408 # the --cache-file=FILE option to use a different cache file; that is
2409 # what configure does when it calls configure scripts in
2410 # subdirectories, so they share the cache.
2411 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2412 # config.status only pays attention to the cache file if you give it the
2413 # --recheck option to rerun configure.
2416 # The following way of writing the cache mishandles newlines in values,
2417 # but we know of no workaround that is simple, portable, and efficient.
2418 # So, don't put newlines in cache variables' values.
2419 # Ultrix sh set writes to stderr and can't be redirected directly,
2420 # and sets the high bit in the cache file unless we assign to the vars.
2422 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2424 # `set' does not quote correctly, so add quotes (double-quote substitution
2425 # turns \\\\ into \\, and sed turns \\ into \).
2427 -e "s
/'/'\\\\''/g
" \
2428 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2431 # `set' quotes correctly as required by POSIX, so do not add quotes.
2432 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2435 if cmp -s $cache_file confcache; then
2438 if test -w $cache_file; then
2439 echo "updating cache
$cache_file"
2440 cat confcache > $cache_file
2442 echo "not updating unwritable cache
$cache_file"
2448 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2449 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2450 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2451 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2452 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2453 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2454 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2455 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2456 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2457 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2459 # Reload cache, that may have been modified by ltconfig
2460 if test -r "$cache_file"; then
2461 echo "loading cache
$cache_file"
2464 echo "creating cache
$cache_file"
2469 # This can be used to rebuild libtool when needed
2470 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2472 # Always use our own libtool.
2473 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2475 # Redirect the config.log output again, so that the ltconfig log is not
2476 # clobbered by the next message.
2477 exec 5>>./config.log
2487 if test "$RANLIB"; then :
2490 # Extract the first word of "ranlib
", so it can be a program name with args.
2491 set dummy ranlib; ac_word=$2
2492 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2493 echo "configure
:2494: checking
for $ac_word" >&5
2494 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2495 echo $ac_n "(cached
) $ac_c" 1>&6
2497 if test -n "$RANLIB"; then
2498 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2500 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2502 for ac_dir in $ac_dummy; do
2503 test -z "$ac_dir" && ac_dir=.
2504 if test -f $ac_dir/$ac_word; then
2505 ac_cv_prog_RANLIB="ranlib
"
2510 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2513 RANLIB="$ac_cv_prog_RANLIB"
2514 if test -n "$RANLIB"; then
2515 echo "$ac_t""$RANLIB" 1>&6
2517 echo "$ac_t""no
" 1>&6
2521 # Find a good install program. We prefer a C program (faster),
2522 # so one script is as good as another. But avoid the broken or
2523 # incompatible versions:
2524 # SysV /etc/install, /usr/sbin/install
2525 # SunOS /usr/etc/install
2526 # IRIX /sbin/install
2528 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2529 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2530 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2531 # ./install, which can be erroneously created by make from ./install.sh.
2532 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
2533 echo "configure
:2534: checking
for a BSD compatible
install" >&5
2534 if test -z "$INSTALL"; then
2535 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2536 echo $ac_n "(cached
) $ac_c" 1>&6
2538 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
2539 for ac_dir in $PATH; do
2540 # Account for people who put trailing slashes in PATH elements.
2542 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
2544 # OSF1 and SCO ODT 3.0 have their own names for install.
2545 # Don't use installbsd from OSF since it installs stuff as root
2547 for ac_prog in ginstall scoinst install; do
2548 if test -f $ac_dir/$ac_prog; then
2549 if test $ac_prog = install &&
2550 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2551 # AIX install. It has an incompatible calling convention.
2554 ac_cv_path_install="$ac_dir/$ac_prog -c"
2565 if test "${ac_cv_path_install+set}" = set; then
2566 INSTALL="$ac_cv_path_install"
2568 # As a last resort, use the slow shell script. We don't cache a
2569 # path for INSTALL within a source directory, because that will
2570 # break other packages using the cache if that directory is
2571 # removed, or if the path is relative.
2572 INSTALL="$ac_install_sh"
2575 echo "$ac_t""$INSTALL" 1>&6
2577 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2578 # It thinks the first close brace ends the variable substitution.
2579 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2581 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2583 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2585 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
2586 echo "configure
:2587: checking whether
${MAKE-make} sets \
${MAKE}" >&5
2587 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2588 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2589 echo $ac_n "(cached
) $ac_c" 1>&6
2591 cat > conftestmake <<\EOF
2593 @echo 'ac_maketemp="${MAKE}"'
2595 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
2596 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
2597 if test -n "$ac_maketemp"; then
2598 eval ac_cv_prog_make_${ac_make}_set=yes
2600 eval ac_cv_prog_make_${ac_make}_set=no
2604 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2605 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no
" 1>&6
2609 SET_MAKE="MAKE
=${MAKE-make}"
2613 # Sanity check for the cross-compilation case:
2614 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2615 echo "configure
:2616: checking how to run the C preprocessor
" >&5
2616 # On Suns, sometimes $CPP names a directory.
2617 if test -n "$CPP" && test -d "$CPP"; then
2620 if test -z "$CPP"; then
2621 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2622 echo $ac_n "(cached
) $ac_c" 1>&6
2624 # This must be in double quotes, not single quotes, because CPP may get
2625 # substituted into the Makefile and "${CC-cc}" will confuse make.
2627 # On the NeXT, cc -E runs the code through the compiler's parser,
2628 # not just through cpp.
2629 cat > conftest.$ac_ext <<EOF
2630 #line 2631 "configure
"
2631 #include "confdefs.h
"
2635 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2636 { (eval echo configure:2637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2637 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2638 if test -z "$ac_err"; then
2642 echo "configure
: failed program was
:" >&5
2643 cat conftest.$ac_ext >&5
2645 CPP="${CC-cc} -E -traditional-cpp"
2646 cat > conftest.$ac_ext <<EOF
2647 #line 2648 "configure
"
2648 #include "confdefs.h
"
2652 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2653 { (eval echo configure:2654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2654 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2655 if test -z "$ac_err"; then
2659 echo "configure
: failed program was
:" >&5
2660 cat conftest.$ac_ext >&5
2662 CPP="${CC-cc} -nologo -E"
2663 cat > conftest.$ac_ext <<EOF
2664 #line 2665 "configure
"
2665 #include "confdefs.h
"
2669 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2670 { (eval echo configure:2671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2672 if test -z "$ac_err"; then
2676 echo "configure
: failed program was
:" >&5
2677 cat conftest.$ac_ext >&5
2686 ac_cv_prog_CPP="$CPP"
2688 CPP="$ac_cv_prog_CPP"
2690 ac_cv_prog_CPP="$CPP"
2692 echo "$ac_t""$CPP" 1>&6
2694 ac_safe=`echo "stdio.h
" | sed 'y%./+-%__p_%'`
2695 echo $ac_n "checking
for stdio.h
""...
$ac_c" 1>&6
2696 echo "configure
:2697: checking
for stdio.h
" >&5
2697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2698 echo $ac_n "(cached
) $ac_c" 1>&6
2700 cat > conftest.$ac_ext <<EOF
2701 #line 2702 "configure
"
2702 #include "confdefs.h
"
2705 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2706 { (eval echo configure:2707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2708 if test -z "$ac_err"; then
2710 eval "ac_cv_header_
$ac_safe=yes"
2713 echo "configure
: failed program was
:" >&5
2714 cat conftest.$ac_ext >&5
2716 eval "ac_cv_header_
$ac_safe=no
"
2720 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2721 echo "$ac_t""yes" 1>&6
2724 echo "$ac_t""no
" 1>&6
2725 { echo "configure
: error
: Can
't find stdio.h.
2726 You must have a usable C system for the target already installed, at least
2727 including headers and, preferably, the library, before you can configure
2728 the Objective C runtime system. If necessary, install gcc now with
2729 \`LANGUAGES=c', then the target library
, then build with \
`LANGUAGES=objc'." 1>&2; exit 1; }
2733 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2734 echo "configure:2735: checking for ANSI C header files" >&5
2735 if eval "test \"`echo '$''{'ac_cv_header_stdc
'+set}'`\" = set"; then
2736 echo $ac_n "(cached) $ac_c" 1>&6
2738 cat > conftest.$ac_ext <<EOF
2739 #line 2740 "configure"
2740 #include "confdefs.h"
2746 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2747 { (eval echo configure:2748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2748 ac_err=`grep -v '^ *+' conftest.out |
grep -v "^conftest.${ac_ext}\$"`
2749 if test -z "$ac_err"; then
2751 ac_cv_header_stdc=yes
2754 echo "configure: failed program was:" >&5
2755 cat conftest.$ac_ext >&5
2757 ac_cv_header_stdc=no
2761 if test $ac_cv_header_stdc = yes; then
2762 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2763 cat > conftest.$ac_ext <<EOF
2764 #line 2765 "configure"
2765 #include "confdefs.h"
2768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2769 egrep "memchr" >/dev/null 2>&1; then
2773 ac_cv_header_stdc=no
2779 if test $ac_cv_header_stdc = yes; then
2780 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2781 cat > conftest.$ac_ext <<EOF
2782 #line 2783 "configure"
2783 #include "confdefs.h"
2786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2787 egrep "free" >/dev/null 2>&1; then
2791 ac_cv_header_stdc=no
2797 if test $ac_cv_header_stdc = yes; then
2798 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2799 if test "$cross_compiling" = yes; then
2802 cat > conftest.$ac_ext <<EOF
2803 #line 2804 "configure"
2804 #include "confdefs.h"
2806 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2807 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2808 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2809 int main () { int i; for (i = 0; i < 256; i++)
2810 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2814 if { (eval echo configure:2815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2818 echo "configure: failed program was:" >&5
2819 cat conftest.$ac_ext >&5
2821 ac_cv_header_stdc=no
2829 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2830 if test $ac_cv_header_stdc = yes; then
2831 cat >> confdefs.h <<\EOF
2832 #define STDC_HEADERS 1
2838 for ac_hdr in sched.h
2840 ac_safe=`echo "$ac_hdr" |
sed 'y%./+-%__p_%'`
2841 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2842 echo "configure:2843: checking for $ac_hdr" >&5
2843 if eval "test \"`echo '$''{'ac_cv_header_
$ac_safe'+set}'`\" = set"; then
2844 echo $ac_n "(cached) $ac_c" 1>&6
2846 cat > conftest.$ac_ext <<EOF
2847 #line 2848 "configure"
2848 #include "confdefs.h"
2851 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2852 { (eval echo configure:2853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2853 ac_err=`grep -v '^ *+' conftest.out |
grep -v "^conftest.${ac_ext}\$"`
2854 if test -z "$ac_err"; then
2856 eval "ac_cv_header_$ac_safe=yes"
2859 echo "configure: failed program was:" >&5
2860 cat conftest.$ac_ext >&5
2862 eval "ac_cv_header_$ac_safe=no"
2866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2867 echo "$ac_t""yes" 1>&6
2868 ac_tr_hdr=HAVE_`echo $ac_hdr |
sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2869 cat >> confdefs.h <<EOF
2870 #define $ac_tr_hdr 1
2874 echo "$ac_t""no" 1>&6
2879 # Determine CFLAGS for gthread.
2881 echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6
2882 echo "configure:2883: checking for gthread cflags" >&5
2883 if eval "test \"`echo '$''{'objc_cv_gthread_flags
'+set}'`\" = set"; then
2884 echo $ac_n "(cached) $ac_c" 1>&6
2886 if test -f "$r"/gcc/Makefile
2888 objc_cv_gthread_flags=`grep \^GTHREAD_FLAGS
"$r"/gcc
/Makefile |
awk -F= '{ print $2 }'`
2890 { echo "configure: error: not found" 1>&2; exit 1; }
2894 echo "$ac_t""$objc_cv_gthread_flags" 1>&6
2895 GTHREAD_FLAGS=$objc_cv_gthread_flags
2898 # Check whether --enable-objc-gc or --disable-objc-gc was given.
2899 if test "${enable_objc_gc+set}" = set; then
2900 enableval="$enable_objc_gc"
2901 if [ x$enable_objc_gc = xno ]; then
2904 OBJC_BOEHM_GC=libobjc_gc.la
2913 # We need multilib support, but only if configuring for the target.
2915 cat > confcache <<\EOF
2916 # This file is a shell script that caches the results of configure
2917 # tests run on this system so they can be shared between configure
2918 # scripts and configure runs. It is not useful on other systems.
2919 # If it contains results you don't want to keep, you may remove or edit it.
2921 # By default, configure uses ./config.cache as the cache file,
2922 # creating it if it does not exist already. You can give configure
2923 # the --cache-file=FILE option to use a different cache file; that is
2924 # what configure does when it calls configure scripts in
2925 # subdirectories, so they share the cache.
2926 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2927 # config.status only pays attention to the cache file if you give it the
2928 # --recheck option to rerun configure.
2931 # The following way of writing the cache mishandles newlines in values,
2932 # but we know of no workaround that is simple, portable, and efficient.
2933 # So, don't put newlines in cache variables' values.
2934 # Ultrix sh set writes to stderr and can't be redirected directly,
2935 # and sets the high bit in the cache file unless we assign to the vars.
2937 case `(ac_space
=' '; set |
grep ac_space
) 2>&1` in
2939 # `set' does not quote correctly, so add quotes (double-quote substitution
2940 # turns \\\\ into \\, and sed turns \\ into \).
2942 -e "s/'/'\\\\''/g" \
2943 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2946 # `set' quotes correctly as required by POSIX
, so
do not add quotes.
2947 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2950 if cmp -s $cache_file confcache
; then
2953 if test -w $cache_file; then
2954 echo "updating cache $cache_file"
2955 cat confcache
> $cache_file
2957 echo "not updating unwritable cache $cache_file"
2962 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2964 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2965 # Let make expand exec_prefix.
2966 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2968 # Any assignment to VPATH causes Sun make to only execute
2969 # the first set of double-colon rules, so remove it if not needed.
2970 # If there is a colon in the path, we need to keep it.
2971 if test "x$srcdir" = x.
; then
2972 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2975 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2977 DEFS
=-DHAVE_CONFIG_H
2979 # Without the "./", some shells look in PATH for config.status.
2980 : ${CONFIG_STATUS=./config.status}
2982 echo creating
$CONFIG_STATUS
2983 rm -f $CONFIG_STATUS
2984 cat > $CONFIG_STATUS <<EOF
2986 # Generated automatically by configure.
2987 # Run this file to recreate the current configuration.
2988 # This directory was configured as follows,
2989 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2991 # $0 $ac_configure_args
2993 # Compiler output produced by configure, useful for debugging
2994 # configure, is in ./config.log if it exists.
2996 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2999 case "\$ac_option" in
3000 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3001 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3002 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3003 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3004 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3006 -help | --help | --hel | --he | --h)
3007 echo "\$ac_cs_usage"; exit 0 ;;
3008 *) echo "\$ac_cs_usage"; exit 1 ;;
3012 ac_given_srcdir=$srcdir
3013 ac_given_INSTALL="$INSTALL"
3015 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3017 cat >> $CONFIG_STATUS <<EOF
3019 # Protect against being on the right side of a sed subst in config.status.
3020 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3021 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3025 s%@CFLAGS@%$CFLAGS%g
3026 s%@CPPFLAGS@%$CPPFLAGS%g
3027 s%@CXXFLAGS@%$CXXFLAGS%g
3028 s%@FFLAGS@%$FFLAGS%g
3030 s%@LDFLAGS@%$LDFLAGS%g
3032 s%@exec_prefix@%$exec_prefix%g
3033 s%@prefix@%$prefix%g
3034 s%@program_transform_name@%$program_transform_name%g
3035 s%@bindir@%$bindir%g
3036 s%@sbindir@%$sbindir%g
3037 s%@libexecdir@%$libexecdir%g
3038 s%@datadir@%$datadir%g
3039 s%@sysconfdir@%$sysconfdir%g
3040 s%@sharedstatedir@%$sharedstatedir%g
3041 s%@localstatedir@%$localstatedir%g
3042 s%@libdir@%$libdir%g
3043 s%@includedir@%$includedir%g
3044 s%@oldincludedir@%$oldincludedir%g
3045 s%@infodir@%$infodir%g
3046 s%@mandir@%$mandir%g
3048 s%@host_alias@%$host_alias%g
3049 s%@host_cpu@%$host_cpu%g
3050 s%@host_vendor@%$host_vendor%g
3051 s%@host_os@%$host_os%g
3052 s%@target@%$target%g
3053 s%@target_alias@%$target_alias%g
3054 s%@target_cpu@%$target_cpu%g
3055 s%@target_vendor@%$target_vendor%g
3056 s%@target_os@%$target_os%g
3058 s%@build_alias@%$build_alias%g
3059 s%@build_cpu@%$build_cpu%g
3060 s%@build_vendor@%$build_vendor%g
3061 s%@build_os@%$build_os%g
3062 s%@toplevel_srcdir@%$toplevel_srcdir%g
3063 s%@glibcpp_builddir@%$glibcpp_builddir%g
3064 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
3069 s%@RANLIB@%$RANLIB%g
3070 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3071 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3072 s%@INSTALL_DATA@%$INSTALL_DATA%g
3073 s%@EXEEXT@%$EXEEXT%g
3074 s%@gcc_version@%$gcc_version%g
3075 s%@gcc_version_trigger@%$gcc_version_trigger%g
3076 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
3077 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
3078 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
3079 s%@OBJEXT@%$OBJEXT%g
3081 s%@DLLTOOL@%$DLLTOOL%g
3082 s%@OBJDUMP@%$OBJDUMP%g
3083 s%@LIBTOOL@%$LIBTOOL%g
3084 s%@SET_MAKE@%$SET_MAKE%g
3086 s%@GTHREAD_FLAGS@%$GTHREAD_FLAGS%g
3087 s%@OBJC_BOEHM_GC@%$OBJC_BOEHM_GC%g
3092 cat >> $CONFIG_STATUS <<\EOF
3094 # Split the substitutions into bite-sized pieces for seds with
3095 # small command number limits, like on Digital OSF/1 and HP-UX.
3096 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
3097 ac_file
=1 # Number of current file.
3098 ac_beg
=1 # First line for current file.
3099 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
3102 while $ac_more_lines; do
3103 if test $ac_beg -gt 1; then
3104 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
3106 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
3108 if test ! -s conftest.s
$ac_file; then
3110 rm -f conftest.s
$ac_file
3112 if test -z "$ac_sed_cmds"; then
3113 ac_sed_cmds
="sed -f conftest.s$ac_file"
3115 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
3117 ac_file
=`expr $ac_file + 1`
3119 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
3122 if test -z "$ac_sed_cmds"; then
3127 cat >> $CONFIG_STATUS <<EOF
3129 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
3131 cat >> $CONFIG_STATUS <<\EOF
3132 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
3133 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3135 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3136 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3137 *) ac_file_in
="${ac_file}.in" ;;
3140 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3142 # Remove last slash and all that follows it. Not all systems have dirname.
3143 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3144 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
3145 # The file is in a subdirectory.
3146 test ! -d "$ac_dir" && mkdir
"$ac_dir"
3147 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
3148 # A "../" for each directory in $ac_dir_suffix.
3149 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3151 ac_dir_suffix
= ac_dots
=
3154 case "$ac_given_srcdir" in
3156 if test -z "$ac_dots"; then top_srcdir
=.
3157 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3158 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
3160 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3161 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
3164 case "$ac_given_INSTALL" in
3165 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
3166 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
3169 echo creating
"$ac_file"
3171 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3173 *Makefile
*) ac_comsub
="1i\\
3174 # $configure_input" ;;
3178 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3180 s%@configure_input@%$configure_input%g
3181 s%@srcdir@%$srcdir%g
3182 s%@top_srcdir@%$top_srcdir%g
3183 s%@INSTALL@%$INSTALL%g
3184 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
3188 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3189 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3191 # ac_d sets the value in "#define NAME VALUE" lines.
3192 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3193 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
3196 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3197 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3198 ac_uB
='\([ ]\)%\1#\2define\3'
3201 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3202 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3203 ac_eB
='$%\1#\2define\3'
3207 if test "${CONFIG_HEADERS+set}" != set; then
3209 cat >> $CONFIG_STATUS <<EOF
3210 CONFIG_HEADERS="config.h"
3212 cat >> $CONFIG_STATUS <<\EOF
3214 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
3215 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3217 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
3218 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
3219 *) ac_file_in
="${ac_file}.in" ;;
3222 echo creating
$ac_file
3224 rm -f conftest.frag conftest.
in conftest.out
3225 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3226 cat $ac_file_inputs > conftest.
in
3230 # Transform confdefs.h into a sed script conftest.vals that substitutes
3231 # the proper values into config.h.in to produce config.h. And first:
3232 # Protect against being on the right side of a sed subst in config.status.
3233 # Protect against being in an unquoted here document in config.status.
3235 cat > conftest.hdr
<<\EOF
3238 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3242 sed -n -f conftest.hdr confdefs.h > conftest.vals
3245 # This sed command replaces #undef with comments. This is necessary, for
3246 # example, in the case of _POSIX_SOURCE, which is predefined and required
3247 # on some systems where configure will not decide to define it.
3248 cat >> conftest.vals <<\EOF
3249 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3252 # Break up conftest.vals because some shells have a limit on
3253 # the size of here documents, and old seds have small limits too.
3258 ac_lines=`grep -c . conftest.vals
`
3259 # grep -c gives empty output for an empty file on some AIX systems.
3260 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3261 # Write a limited-size here document to conftest.frag.
3262 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3263 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3265 sed -f conftest.frag conftest.in > conftest.out
3267 mv conftest.out conftest.in
3269 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3271 mv conftest.tail conftest.vals
3275 cat >> $CONFIG_STATUS <<\EOF
3276 rm -f conftest.frag conftest.h
3277 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3278 cat conftest.in >> conftest.h
3280 if cmp -s $ac_file conftest.h 2>/dev/null; then
3281 echo "$ac_file is unchanged"
3284 # Remove last slash and all that follows it. Not all systems have dirname.
3285 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
3286 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3287 # The file is in a subdirectory.
3288 test ! -d "$ac_dir" && mkdir "$ac_dir"
3291 mv conftest.h $ac_file
3296 cat >> $CONFIG_STATUS <<EOF
3300 with_target_subdir=${with_target_subdir}
3301 with_multisubdir=${with_multisubdir}
3302 ac_configure_args="--enable-multilib ${ac_configure_args}"
3303 toplevel_srcdir=${toplevel_srcdir}
3304 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3307 cat >> $CONFIG_STATUS <<\EOF
3308 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
3309 if test -n "$CONFIG_FILES"; then
3310 if test -n "${with_target_subdir}"; then
3311 # FIXME: We shouldn't need to set ac_file
3313 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
3314 . ${toplevel_srcdir}/config-ml.in
3319 chmod +x $CONFIG_STATUS
3320 rm -fr confdefs* $ac_clean_files
3321 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1