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-shared[=PKGS] build shared libraries [default=no]"
17 --enable-static[=PKGS] build static libraries [default=yes]"
19 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
21 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
23 --disable-libtool-lock avoid locking (might break parallel builds)"
25 --with-pic try to use only PIC/non-PIC objects [default=use both]"
27 --enable-objc-gc enable the use of Boehm's garbage collector with
28 the GNU Objective-C runtime."
30 # Initialize some variables set by options.
31 # The variables have the same names as the options, with
32 # dashes changed to underlines.
34 cache_file
=.
/config.cache
43 program_transform_name
=s
,x
,x
,
52 bindir
='${exec_prefix}/bin'
53 sbindir
='${exec_prefix}/sbin'
54 libexecdir
='${exec_prefix}/libexec'
55 datadir
='${prefix}/share'
56 sysconfdir
='${prefix}/etc'
57 sharedstatedir
='${prefix}/com'
58 localstatedir
='${prefix}/var'
59 libdir
='${exec_prefix}/lib'
60 includedir
='${prefix}/include'
61 oldincludedir
='/usr/include'
62 infodir
='${prefix}/info'
63 mandir
='${prefix}/man'
65 # Initialize some other variables.
68 SHELL
=${CONFIG_SHELL-/bin/sh}
69 # Maximum number of lines to put in a shell here document.
76 # If the previous option needs an argument, assign it.
77 if test -n "$ac_prev"; then
78 eval "$ac_prev=\$ac_option"
84 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
88 # Accept the important Cygnus configure options, so we can diagnose typos.
92 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
94 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
95 bindir
="$ac_optarg" ;;
97 -build |
--build |
--buil |
--bui |
--bu)
99 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
100 build
="$ac_optarg" ;;
102 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
103 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
104 ac_prev
=cache_file
;;
105 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
106 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
107 cache_file
="$ac_optarg" ;;
109 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
111 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
113 datadir
="$ac_optarg" ;;
115 -disable-* |
--disable-*)
116 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
117 # Reject names that are not valid shell variable names.
118 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
122 eval "enable_${ac_feature}=no" ;;
124 -enable-* |
--enable-*)
125 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
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'`
135 eval "enable_${ac_feature}='$ac_optarg'" ;;
137 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
138 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
139 |
--exec |
--exe |
--ex)
140 ac_prev
=exec_prefix
;;
141 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
142 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
143 |
--exec=* |
--exe=* |
--ex=*)
144 exec_prefix
="$ac_optarg" ;;
146 -gas |
--gas |
--ga |
--g)
147 # Obsolete; use --with-gas.
150 -help |
--help |
--hel |
--he)
151 # Omit some internal or obsolete options to make the list less imposing.
152 # This message is too long to be a string in the A/UX 3.1 sh.
154 Usage: configure [options] [host]
155 Options: [defaults in brackets after descriptions]
157 --cache-file=FILE cache test results in FILE
158 --help print this message
159 --no-create do not create output files
160 --quiet, --silent do not print \`checking...' messages
161 --site-file=FILE use FILE as the site file
162 --version print the version of autoconf that created configure
163 Directory and file names:
164 --prefix=PREFIX install architecture-independent files in PREFIX
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
168 --bindir=DIR user executables in DIR [EPREFIX/bin]
169 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
170 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
171 --datadir=DIR read-only architecture-independent data in DIR
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
176 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
177 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
178 --includedir=DIR C header files in DIR [PREFIX/include]
179 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
180 --infodir=DIR info documentation in DIR [PREFIX/info]
181 --mandir=DIR man documentation in DIR [PREFIX/man]
182 --srcdir=DIR find the sources in DIR [configure dir or ..]
183 --program-prefix=PREFIX prepend PREFIX to installed program names
184 --program-suffix=SUFFIX append SUFFIX to installed program names
185 --program-transform-name=PROGRAM
186 run sed PROGRAM on installed program names
190 --build=BUILD configure for building on BUILD [BUILD=HOST]
191 --host=HOST configure for HOST [guessed]
192 --target=TARGET configure for TARGET [TARGET=HOST]
193 Features and packages:
194 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
195 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
196 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
197 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
198 --x-includes=DIR X include files are in DIR
199 --x-libraries=DIR X library files are in DIR
201 if test -n "$ac_help"; then
202 echo "--enable and --with options recognized:$ac_help"
206 -host |
--host |
--hos |
--ho)
208 -host=* |
--host=* |
--hos=* |
--ho=*)
211 -includedir |
--includedir |
--includedi |
--included |
--include \
212 |
--includ |
--inclu |
--incl |
--inc)
213 ac_prev
=includedir
;;
214 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
215 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
216 includedir
="$ac_optarg" ;;
218 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
220 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
221 infodir
="$ac_optarg" ;;
223 -libdir |
--libdir |
--libdi |
--libd)
225 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
226 libdir
="$ac_optarg" ;;
228 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
229 |
--libexe |
--libex |
--libe)
230 ac_prev
=libexecdir
;;
231 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
232 |
--libexe=* |
--libex=* |
--libe=*)
233 libexecdir
="$ac_optarg" ;;
235 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
236 |
--localstate |
--localstat |
--localsta |
--localst \
237 |
--locals |
--local |
--loca |
--loc |
--lo)
238 ac_prev
=localstatedir
;;
239 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
240 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
241 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
242 localstatedir
="$ac_optarg" ;;
244 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
246 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
247 mandir
="$ac_optarg" ;;
250 # Obsolete; use --without-fp.
253 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
257 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
258 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
261 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
262 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
263 |
--oldin |
--oldi |
--old |
--ol |
--o)
264 ac_prev
=oldincludedir
;;
265 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
266 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
267 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
268 oldincludedir
="$ac_optarg" ;;
270 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
272 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
273 prefix
="$ac_optarg" ;;
275 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
276 |
--program-pre |
--program-pr |
--program-p)
277 ac_prev
=program_prefix
;;
278 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
279 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
280 program_prefix
="$ac_optarg" ;;
282 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
283 |
--program-suf |
--program-su |
--program-s)
284 ac_prev
=program_suffix
;;
285 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
286 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
287 program_suffix
="$ac_optarg" ;;
289 -program-transform-name |
--program-transform-name \
290 |
--program-transform-nam |
--program-transform-na \
291 |
--program-transform-n |
--program-transform- \
292 |
--program-transform |
--program-transfor \
293 |
--program-transfo |
--program-transf \
294 |
--program-trans |
--program-tran \
295 |
--progr-tra |
--program-tr |
--program-t)
296 ac_prev
=program_transform_name
;;
297 -program-transform-name=* |
--program-transform-name=* \
298 |
--program-transform-nam=* |
--program-transform-na=* \
299 |
--program-transform-n=* |
--program-transform-=* \
300 |
--program-transform=* |
--program-transfor=* \
301 |
--program-transfo=* |
--program-transf=* \
302 |
--program-trans=* |
--program-tran=* \
303 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
304 program_transform_name
="$ac_optarg" ;;
306 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
307 |
-silent |
--silent |
--silen |
--sile |
--sil)
310 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
312 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
314 sbindir
="$ac_optarg" ;;
316 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
317 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
318 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
320 ac_prev
=sharedstatedir
;;
321 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
322 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
323 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
325 sharedstatedir
="$ac_optarg" ;;
327 -site |
--site |
--sit)
329 -site=* |
--site=* |
--sit=*)
332 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
334 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
335 sitefile
="$ac_optarg" ;;
337 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
339 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
340 srcdir
="$ac_optarg" ;;
342 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
343 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
344 ac_prev
=sysconfdir
;;
345 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
346 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
347 sysconfdir
="$ac_optarg" ;;
349 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
351 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
352 target
="$ac_optarg" ;;
354 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
357 -version |
--version |
--versio |
--versi |
--vers)
358 echo "configure generated by autoconf version 2.13"
362 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
367 ac_package
=`echo $ac_package| sed 's/-/_/g'`
372 eval "with_${ac_package}='$ac_optarg'" ;;
374 -without-* |
--without-*)
375 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
376 # Reject names that are not valid shell variable names.
377 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
378 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
380 ac_package
=`echo $ac_package| sed 's/-/_/g'`
381 eval "with_${ac_package}=no" ;;
384 # Obsolete; use --with-x.
387 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
388 |
--x-incl |
--x-inc |
--x-in |
--x-i)
389 ac_prev
=x_includes
;;
390 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
391 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
392 x_includes
="$ac_optarg" ;;
394 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
395 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
396 ac_prev
=x_libraries
;;
397 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
398 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
399 x_libraries
="$ac_optarg" ;;
401 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
405 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
406 echo "configure: warning: $ac_option: invalid host type" 1>&2
408 if test "x$nonopt" != xNONE
; then
409 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
417 if test -n "$ac_prev"; then
418 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
421 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
423 # File descriptor usage:
426 # 2 errors and warnings
427 # 3 some systems may open it to /dev/tty
428 # 4 used on the Kubota Titan
429 # 6 checking for... messages and results
430 # 5 compiler messages saved in config.log
431 if test "$silent" = yes; then
439 This file contains any messages produced by compilers while
440 running configure, to aid debugging if configure makes a mistake.
443 # Strip out --no-create and --no-recursion so they do not pile up.
444 # Also quote any args containing shell metacharacters.
449 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
450 |
--no-cr |
--no-c) ;;
451 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
452 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
453 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
454 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
455 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
460 # Only set these to C if already set. These must not be set unconditionally
461 # because not all systems understand e.g. LANG=C (notably SCO).
462 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
463 # Non-C LC_CTYPE values break the ctype check.
464 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
465 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
466 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
467 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
470 rm -rf conftest
* confdefs.h
471 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
474 # A filename unique to this package, relative to the directory that
475 # configure is in, which we can look for to find out if srcdir is correct.
476 ac_unique_file
=objc
/objc.h
478 # Find the source files, if location was not specified.
479 if test -z "$srcdir"; then
480 ac_srcdir_defaulted
=yes
481 # Try the directory containing this script, then its parent.
483 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
484 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
486 if test ! -r $srcdir/$ac_unique_file; then
490 ac_srcdir_defaulted
=no
492 if test ! -r $srcdir/$ac_unique_file; then
493 if test "$ac_srcdir_defaulted" = yes; then
494 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
496 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
499 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
501 # Prefer explicitly selected file to automatically selected ones.
502 if test -z "$sitefile"; then
503 if test -z "$CONFIG_SITE"; then
504 if test "x$prefix" != xNONE
; then
505 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
507 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
511 CONFIG_SITE
="$sitefile"
513 for ac_site_file
in $CONFIG_SITE; do
514 if test -r "$ac_site_file"; then
515 echo "loading site script $ac_site_file"
520 if test -r "$cache_file"; then
521 echo "loading cache $cache_file"
524 echo "creating cache $cache_file"
529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530 ac_cpp
='$CPP $CPPFLAGS'
531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533 cross_compiling
=$ac_cv_prog_cc_cross
537 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
546 ac_n
= ac_c
='\c' ac_t
=
552 if test "${srcdir}" = "." ; then
553 if test "${with_target_subdir}" != "." ; then
554 topsrcdir
=${with_multisrctop}..
/..
556 topsrcdir
=${with_multisrctop}..
559 topsrcdir
=${srcdir}/..
562 for ac_dir
in $topsrcdir $srcdir/$topsrcdir; do
563 if test -f $ac_dir/install-sh
; then
565 ac_install_sh
="$ac_aux_dir/install-sh -c"
567 elif test -f $ac_dir/install.sh
; then
569 ac_install_sh
="$ac_aux_dir/install.sh -c"
573 if test -z "$ac_aux_dir"; then
574 { echo "configure: error: can not find install-sh or install.sh in $topsrcdir $srcdir/$topsrcdir" 1>&2; exit 1; }
576 ac_config_guess
=$ac_aux_dir/config.guess
577 ac_config_sub
=$ac_aux_dir/config.sub
578 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
581 # If the language specific compiler does not exist, but the "gcc" directory
582 # does, we do not build anything. Note, $r is set by the top-level Makefile.
583 # Note that when we look for the compiler, we search both with and without
584 # extension to handle cross and canadian cross builds.
587 echo $ac_n "checking if compiler $compiler_name has been built""... $ac_c" 1>&6
588 echo "configure:589: checking if compiler $compiler_name has been built" >&5
589 if eval "test \"`echo '$''{'objc_cv_compiler_exists'+set}'`\" = set"; then
590 echo $ac_n "(cached) $ac_c" 1>&6
592 objc_cv_compiler_exists
=yes
593 if test -n "$r"; then
594 if test -d "$r"/gcc
; then
595 if test -f "$r"/gcc
/$compiler_name \
596 ||
test -f "$r"/gcc
/$compiler_name.exe
; then
599 objc_cv_compiler_exists
=no
600 echo "rm -f config.cache config.log multilib.out" > skip-this-dir
607 echo "$ac_t""$objc_cv_compiler_exists" 1>&6
608 if test x
$objc_cv_compiler_exists = xno
610 rm -f Makefile conftest
* confdefs
* core
617 # For ObjC we'll set CC to point at the built gcc, but this will get it into
619 # Extract the first word of "gcc", so it can be a program name with args.
620 set dummy gcc
; ac_word
=$2
621 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
622 echo "configure:623: checking for $ac_word" >&5
623 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
624 echo $ac_n "(cached) $ac_c" 1>&6
626 if test -n "$CC"; then
627 ac_cv_prog_CC
="$CC" # Let the user override the test.
629 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
631 for ac_dir
in $ac_dummy; do
632 test -z "$ac_dir" && ac_dir
=.
633 if test -f $ac_dir/$ac_word; then
642 if test -n "$CC"; then
643 echo "$ac_t""$CC" 1>&6
645 echo "$ac_t""no" 1>&6
648 if test -z "$CC"; then
649 # Extract the first word of "cc", so it can be a program name with args.
650 set dummy cc
; ac_word
=$2
651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
652 echo "configure:653: checking for $ac_word" >&5
653 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
654 echo $ac_n "(cached) $ac_c" 1>&6
656 if test -n "$CC"; then
657 ac_cv_prog_CC
="$CC" # Let the user override the test.
659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
662 for ac_dir
in $ac_dummy; do
663 test -z "$ac_dir" && ac_dir
=.
664 if test -f $ac_dir/$ac_word; then
665 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
674 if test $ac_prog_rejected = yes; then
675 # We found a bogon in the path, so make sure we never use it.
676 set dummy
$ac_cv_prog_CC
678 if test $# -gt 0; then
679 # We chose a different compiler from the bogus one.
680 # However, it has the same basename, so the bogon will be chosen
681 # first if we set CC to just the basename; use the full file name.
683 set dummy
"$ac_dir/$ac_word" "$@"
691 if test -n "$CC"; then
692 echo "$ac_t""$CC" 1>&6
694 echo "$ac_t""no" 1>&6
697 if test -z "$CC"; then
700 # Extract the first word of "cl", so it can be a program name with args.
701 set dummy cl
; ac_word
=$2
702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
703 echo "configure:704: checking for $ac_word" >&5
704 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
705 echo $ac_n "(cached) $ac_c" 1>&6
707 if test -n "$CC"; then
708 ac_cv_prog_CC
="$CC" # Let the user override the test.
710 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
712 for ac_dir
in $ac_dummy; do
713 test -z "$ac_dir" && ac_dir
=.
714 if test -f $ac_dir/$ac_word; then
723 if test -n "$CC"; then
724 echo "$ac_t""$CC" 1>&6
726 echo "$ac_t""no" 1>&6
731 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
735 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
736 echo "configure:737: checking whether we are using GNU C" >&5
737 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
738 echo $ac_n "(cached) $ac_c" 1>&6
740 cat > conftest.c
<<EOF
745 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:746: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
752 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
754 if test $ac_cv_prog_gcc = yes; then
760 ac_test_CFLAGS
="${CFLAGS+set}"
761 ac_save_CFLAGS
="$CFLAGS"
763 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
764 echo "configure:765: checking whether ${CC-cc} accepts -g" >&5
765 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
766 echo $ac_n "(cached) $ac_c" 1>&6
768 echo 'void f(){}' > conftest.c
769 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
778 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
779 if test "$ac_test_CFLAGS" = set; then
780 CFLAGS
="$ac_save_CFLAGS"
781 elif test $ac_cv_prog_cc_g = yes; then
782 if test "$GCC" = yes; then
788 if test "$GCC" = yes; then
798 if test "$RANLIB"; then :
801 # Extract the first word of "ranlib", so it can be a program name with args.
802 set dummy ranlib
; ac_word
=$2
803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
804 echo "configure:805: checking for $ac_word" >&5
805 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
806 echo $ac_n "(cached) $ac_c" 1>&6
808 if test -n "$RANLIB"; then
809 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
811 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
813 for ac_dir
in $ac_dummy; do
814 test -z "$ac_dir" && ac_dir
=.
815 if test -f $ac_dir/$ac_word; then
816 ac_cv_prog_RANLIB
="ranlib"
821 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
824 RANLIB
="$ac_cv_prog_RANLIB"
825 if test -n "$RANLIB"; then
826 echo "$ac_t""$RANLIB" 1>&6
828 echo "$ac_t""no" 1>&6
832 # Find a good install program. We prefer a C program (faster),
833 # so one script is as good as another. But avoid the broken or
834 # incompatible versions:
835 # SysV /etc/install, /usr/sbin/install
836 # SunOS /usr/etc/install
839 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
840 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
841 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
842 # ./install, which can be erroneously created by make from ./install.sh.
843 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
844 echo "configure:845: checking for a BSD compatible install" >&5
845 if test -z "$INSTALL"; then
846 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
847 echo $ac_n "(cached) $ac_c" 1>&6
849 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
850 for ac_dir
in $PATH; do
851 # Account for people who put trailing slashes in PATH elements.
853 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
855 # OSF1 and SCO ODT 3.0 have their own names for install.
856 # Don't use installbsd from OSF since it installs stuff as root
858 for ac_prog
in ginstall scoinst
install; do
859 if test -f $ac_dir/$ac_prog; then
860 if test $ac_prog = install &&
861 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
862 # AIX install. It has an incompatible calling convention.
865 ac_cv_path_install
="$ac_dir/$ac_prog -c"
876 if test "${ac_cv_path_install+set}" = set; then
877 INSTALL
="$ac_cv_path_install"
879 # As a last resort, use the slow shell script. We don't cache a
880 # path for INSTALL within a source directory, because that will
881 # break other packages using the cache if that directory is
882 # removed, or if the path is relative.
883 INSTALL
="$ac_install_sh"
886 echo "$ac_t""$INSTALL" 1>&6
888 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
889 # It thinks the first close brace ends the variable substitution.
890 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
892 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
894 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
897 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
898 # at least currently, we never actually build a program, so we never
899 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
900 # fails, because we are probably configuring with a cross compiler
901 # which cant create executables. So we include AC_EXEEXT to keep
902 # automake happy, but we dont execute it, since we dont care about
905 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
906 # to nothing, so nothing would remain between `then' and `fi' if it
907 # were not for the `:' below.
909 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
910 echo "configure:911: checking for Cygwin environment" >&5
911 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
912 echo $ac_n "(cached) $ac_c" 1>&6
914 cat > conftest.
$ac_ext <<EOF
915 #line 916 "configure"
916 #include "confdefs.h"
921 #define __CYGWIN__ __CYGWIN32__
926 if { (eval echo configure
:927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
930 echo "configure: failed program was:" >&5
931 cat conftest.
$ac_ext >&5
939 echo "$ac_t""$ac_cv_cygwin" 1>&6
941 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
942 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
943 echo "configure:944: checking for mingw32 environment" >&5
944 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
945 echo $ac_n "(cached) $ac_c" 1>&6
947 cat > conftest.
$ac_ext <<EOF
948 #line 949 "configure"
949 #include "confdefs.h"
955 if { (eval echo configure
:956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
959 echo "configure: failed program was:" >&5
960 cat conftest.
$ac_ext >&5
968 echo "$ac_t""$ac_cv_mingw32" 1>&6
970 test "$ac_cv_mingw32" = yes && MINGW32
=yes
973 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
974 echo "configure:975: checking for executable suffix" >&5
975 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
976 echo $ac_n "(cached) $ac_c" 1>&6
978 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
982 echo 'int main () { return 0; }' > conftest.
$ac_ext
984 if { (eval echo configure
:985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
985 for file in conftest.
*; do
987 *.c |
*.o |
*.obj |
*.ilk |
*.pdb
) ;;
988 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
992 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
995 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1000 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1001 echo "$ac_t""${ac_cv_exeext}" 1>&6
1007 # Sanity check for the cross-compilation case:
1008 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1009 echo "configure:1010: checking how to run the C preprocessor" >&5
1010 # On Suns, sometimes $CPP names a directory.
1011 if test -n "$CPP" && test -d "$CPP"; then
1014 if test -z "$CPP"; then
1015 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1016 echo $ac_n "(cached) $ac_c" 1>&6
1018 # This must be in double quotes, not single quotes, because CPP may get
1019 # substituted into the Makefile and "${CC-cc}" will confuse make.
1021 # On the NeXT, cc -E runs the code through the compiler's parser,
1022 # not just through cpp.
1023 cat > conftest.
$ac_ext <<EOF
1024 #line 1025 "configure"
1025 #include "confdefs.h"
1029 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1030 { (eval echo configure
:1031: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1031 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1032 if test -z "$ac_err"; then
1036 echo "configure: failed program was:" >&5
1037 cat conftest.
$ac_ext >&5
1039 CPP
="${CC-cc} -E -traditional-cpp"
1040 cat > conftest.
$ac_ext <<EOF
1041 #line 1042 "configure"
1042 #include "confdefs.h"
1046 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1047 { (eval echo configure
:1048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1048 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1049 if test -z "$ac_err"; then
1053 echo "configure: failed program was:" >&5
1054 cat conftest.
$ac_ext >&5
1056 CPP
="${CC-cc} -nologo -E"
1057 cat > conftest.
$ac_ext <<EOF
1058 #line 1059 "configure"
1059 #include "confdefs.h"
1063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1064 { (eval echo configure
:1065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1066 if test -z "$ac_err"; then
1070 echo "configure: failed program was:" >&5
1071 cat conftest.
$ac_ext >&5
1080 ac_cv_prog_CPP
="$CPP"
1082 CPP
="$ac_cv_prog_CPP"
1084 ac_cv_prog_CPP
="$CPP"
1086 echo "$ac_t""$CPP" 1>&6
1088 ac_safe
=`echo "stdio.h" | sed 'y%./+-%__p_%'`
1089 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
1090 echo "configure:1091: checking for stdio.h" >&5
1091 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1092 echo $ac_n "(cached) $ac_c" 1>&6
1094 cat > conftest.
$ac_ext <<EOF
1095 #line 1096 "configure"
1096 #include "confdefs.h"
1099 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1100 { (eval echo configure
:1101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1101 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1102 if test -z "$ac_err"; then
1104 eval "ac_cv_header_$ac_safe=yes"
1107 echo "configure: failed program was:" >&5
1108 cat conftest.
$ac_ext >&5
1110 eval "ac_cv_header_$ac_safe=no"
1114 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1115 echo "$ac_t""yes" 1>&6
1118 echo "$ac_t""no" 1>&6
1119 { echo "configure: error: Can't find stdio.h.
1120 You must have a usable C system for the target already installed, at least
1121 including headers and, preferably, the library, before you can configure
1122 the Objective C runtime system. If necessary, install gcc now with
1123 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." 1>&2; exit 1; }
1127 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1128 echo "configure:1129: checking for ANSI C header files" >&5
1129 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1130 echo $ac_n "(cached) $ac_c" 1>&6
1132 cat > conftest.
$ac_ext <<EOF
1133 #line 1134 "configure"
1134 #include "confdefs.h"
1140 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1141 { (eval echo configure
:1142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1142 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1143 if test -z "$ac_err"; then
1145 ac_cv_header_stdc
=yes
1148 echo "configure: failed program was:" >&5
1149 cat conftest.
$ac_ext >&5
1151 ac_cv_header_stdc
=no
1155 if test $ac_cv_header_stdc = yes; then
1156 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1157 cat > conftest.
$ac_ext <<EOF
1158 #line 1159 "configure"
1159 #include "confdefs.h"
1162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1163 egrep "memchr" >/dev
/null
2>&1; then
1167 ac_cv_header_stdc
=no
1173 if test $ac_cv_header_stdc = yes; then
1174 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1175 cat > conftest.
$ac_ext <<EOF
1176 #line 1177 "configure"
1177 #include "confdefs.h"
1180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1181 egrep "free" >/dev
/null
2>&1; then
1185 ac_cv_header_stdc
=no
1191 if test $ac_cv_header_stdc = yes; then
1192 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1193 if test "$cross_compiling" = yes; then
1196 cat > conftest.
$ac_ext <<EOF
1197 #line 1198 "configure"
1198 #include "confdefs.h"
1200 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1201 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1202 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1203 int main () { int i; for (i = 0; i < 256; i++)
1204 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1208 if { (eval echo configure
:1209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
1212 echo "configure: failed program was:" >&5
1213 cat conftest.
$ac_ext >&5
1215 ac_cv_header_stdc
=no
1223 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1224 if test $ac_cv_header_stdc = yes; then
1225 cat >> confdefs.h
<<\EOF
1226 #define STDC_HEADERS 1
1232 for ac_hdr
in sched.h
1234 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1236 echo "configure:1237: checking for $ac_hdr" >&5
1237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1238 echo $ac_n "(cached) $ac_c" 1>&6
1240 cat > conftest.
$ac_ext <<EOF
1241 #line 1242 "configure"
1242 #include "confdefs.h"
1245 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1246 { (eval echo configure
:1247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1247 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1248 if test -z "$ac_err"; then
1250 eval "ac_cv_header_$ac_safe=yes"
1253 echo "configure: failed program was:" >&5
1254 cat conftest.
$ac_ext >&5
1256 eval "ac_cv_header_$ac_safe=no"
1260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1261 echo "$ac_t""yes" 1>&6
1262 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1263 cat >> confdefs.h
<<EOF
1264 #define $ac_tr_hdr 1
1268 echo "$ac_t""no" 1>&6
1273 # Determine CFLAGS for gthread.
1275 echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6
1276 echo "configure:1277: checking for gthread cflags" >&5
1277 if eval "test \"`echo '$''{'objc_cv_gthread_flags'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1280 if test -f "$r"/gcc
/Makefile
1282 objc_cv_gthread_flags
=`grep \^GTHREAD_FLAGS "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
1284 { echo "configure: error: not found" 1>&2; exit 1; }
1288 echo "$ac_t""$objc_cv_gthread_flags" 1>&6
1289 GTHREAD_FLAGS
=$objc_cv_gthread_flags
1292 # Disable shared libs by default
1293 # Check whether --enable-shared or --disable-shared was given.
1294 if test "${enable_shared+set}" = set; then
1295 enableval
="$enable_shared"
1296 p
=${PACKAGE-default}
1298 yes) enable_shared
=yes ;;
1299 no
) enable_shared
=no
;;
1302 # Look at the argument we got. We use all the common list separators.
1303 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1304 for pkg
in $enableval; do
1305 if test "X$pkg" = "X$p"; then
1316 # Enable Win32 DLL on MS Windows - FIXME
1319 # Check whether --enable-static or --disable-static was given.
1320 if test "${enable_static+set}" = set; then
1321 enableval
="$enable_static"
1322 p
=${PACKAGE-default}
1324 yes) enable_static
=yes ;;
1325 no
) enable_static
=no
;;
1328 # Look at the argument we got. We use all the common list separators.
1329 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1330 for pkg
in $enableval; do
1331 if test "X$pkg" = "X$p"; then
1342 # Check whether --enable-fast-install or --disable-fast-install was given.
1343 if test "${enable_fast_install+set}" = set; then
1344 enableval
="$enable_fast_install"
1345 p
=${PACKAGE-default}
1347 yes) enable_fast_install
=yes ;;
1348 no
) enable_fast_install
=no
;;
1350 enable_fast_install
=no
1351 # Look at the argument we got. We use all the common list separators.
1352 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1353 for pkg
in $enableval; do
1354 if test "X$pkg" = "X$p"; then
1355 enable_fast_install
=yes
1362 enable_fast_install
=yes
1366 # Make sure we can run config.sub.
1367 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1368 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1371 echo $ac_n "checking host system type""... $ac_c" 1>&6
1372 echo "configure:1373: checking host system type" >&5
1375 case "$host_alias" in
1379 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1380 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1382 *) host_alias
=$nonopt ;;
1386 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1387 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1388 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1389 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1390 echo "$ac_t""$host" 1>&6
1392 echo $ac_n "checking build system type""... $ac_c" 1>&6
1393 echo "configure:1394: checking build system type" >&5
1396 case "$build_alias" in
1399 NONE
) build_alias
=$host_alias ;;
1400 *) build_alias
=$nonopt ;;
1404 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1405 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1406 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1407 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1408 echo "$ac_t""$build" 1>&6
1410 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1411 if test "${with_gnu_ld+set}" = set; then
1412 withval
="$with_gnu_ld"
1413 test "$withval" = no || with_gnu_ld
=yes
1419 if test "$GCC" = yes; then
1420 # Check if gcc -print-prog-name=ld gives a path.
1421 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1422 echo "configure:1423: checking for ld used by GCC" >&5
1425 # gcc leaves a trailing carriage return which upsets mingw
1426 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1428 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
1431 # Accept absolute paths.
1432 [\\/]* |
[A-Za-z
]:[\\/]*)
1433 re_direlt
='/[^/][^/]*/\.\./'
1434 # Canonicalize the path of ld
1435 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1436 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1437 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1439 test -z "$LD" && LD
="$ac_prog"
1442 # If it fails, then pretend we aren't using GCC.
1446 # If it is relative, then search for the first ld in PATH.
1450 elif test "$with_gnu_ld" = yes; then
1451 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1452 echo "configure:1453: checking for GNU ld" >&5
1454 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1455 echo "configure:1456: checking for non-GNU ld" >&5
1457 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1458 echo $ac_n "(cached) $ac_c" 1>&6
1460 if test -z "$LD"; then
1461 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1462 for ac_dir
in $PATH; do
1463 test -z "$ac_dir" && ac_dir
=.
1464 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1465 lt_cv_path_LD
="$ac_dir/$ac_prog"
1466 # Check to see if the program is GNU ld. I'd rather use --version,
1467 # but apparently some GNU ld's only accept -v.
1468 # Break only if it was the GNU/non-GNU ld that we prefer.
1469 if "$lt_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1470 test "$with_gnu_ld" != no
&& break
1472 test "$with_gnu_ld" != yes && break
1478 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
1483 if test -n "$LD"; then
1484 echo "$ac_t""$LD" 1>&6
1486 echo "$ac_t""no" 1>&6
1488 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1489 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1490 echo "configure:1491: checking if the linker ($LD) is GNU ld" >&5
1491 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1492 echo $ac_n "(cached) $ac_c" 1>&6
1494 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1495 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1496 lt_cv_prog_gnu_ld
=yes
1498 lt_cv_prog_gnu_ld
=no
1502 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1503 with_gnu_ld
=$lt_cv_prog_gnu_ld
1506 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1507 echo "configure:1508: checking for $LD option to reload object files" >&5
1508 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1509 echo $ac_n "(cached) $ac_c" 1>&6
1511 lt_cv_ld_reload_flag
='-r'
1514 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1515 reload_flag
=$lt_cv_ld_reload_flag
1516 test -n "$reload_flag" && reload_flag
=" $reload_flag"
1518 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1519 echo "configure:1520: checking for BSD-compatible nm" >&5
1520 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1521 echo $ac_n "(cached) $ac_c" 1>&6
1523 if test -n "$NM"; then
1524 # Let the user override the test.
1527 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1528 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1529 test -z "$ac_dir" && ac_dir
=.
1530 tmp_nm
=$ac_dir/${ac_tool_prefix}nm
1531 if test -f $tmp_nm ||
test -f $tmp_nm$ac_exeext ; then
1532 # Check to see if the nm accepts a BSD-compat flag.
1533 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1534 # nm: unknown option "B" ignored
1535 # Tru64's nm complains that /dev/null is an invalid object file
1536 if ($tmp_nm -B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep '(/dev/null|Invalid file or object type)' >/dev
/null
; then
1537 lt_cv_path_NM
="$tmp_nm -B"
1539 elif ($tmp_nm -p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1540 lt_cv_path_NM
="$tmp_nm -p"
1543 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1544 continue # so that we can try to find one that supports BSD flags
1549 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
1554 echo "$ac_t""$NM" 1>&6
1556 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1557 echo "configure:1558: checking whether ln -s works" >&5
1558 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1559 echo $ac_n "(cached) $ac_c" 1>&6
1562 if ln -s X conftestdata
2>/dev
/null
1565 ac_cv_prog_LN_S
="ln -s"
1570 LN_S
="$ac_cv_prog_LN_S"
1571 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1572 echo "$ac_t""yes" 1>&6
1574 echo "$ac_t""no" 1>&6
1577 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1578 echo "configure:1579: checking how to recognise dependant libraries" >&5
1579 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1580 echo $ac_n "(cached) $ac_c" 1>&6
1582 lt_cv_file_magic_cmd
='$MAGIC_CMD'
1583 lt_cv_file_magic_test_file
=
1584 lt_cv_deplibs_check_method
='unknown'
1585 # Need to set the preceding variable on all platforms that support
1586 # interlibrary dependencies.
1587 # 'none' -- dependencies not supported.
1588 # `unknown' -- same as none, but documents that we really don't know.
1589 # 'pass_all' -- all dependencies passed with no checks.
1590 # 'test_compile' -- check by making test program.
1591 # 'file_magic [regex]' -- check by looking for files in library path
1592 # which responds to the $file_magic_cmd with a given egrep regex.
1593 # If you have `file' or equivalent on your system and you're not sure
1594 # whether `pass_all' will *always* work, you probably want this one.
1598 lt_cv_deplibs_check_method
=pass_all
1602 lt_cv_deplibs_check_method
=pass_all
1606 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1607 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1608 lt_cv_file_magic_test_file
=/shlib
/libc.so
1611 cygwin
* | mingw
* |pw32
*)
1612 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
1613 lt_cv_file_magic_cmd
='$OBJDUMP -f'
1616 darwin
* | rhapsody
*)
1617 lt_cv_deplibs_check_method
='file_magic Mach-O dynamically linked shared library'
1618 lt_cv_file_magic_cmd
='/usr/bin/file -L'
1620 rhapsody
* | darwin1.012
)
1621 lt_cv_file_magic_test_file
='/System/Library/Frameworks/System.framework/System'
1624 lt_cv_file_magic_test_file
='/usr/lib/libSystem.dylib'
1630 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1633 # Not sure whether the presence of OpenBSD here was a mistake.
1634 # Let's accept both of them until this is cleared up.
1635 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1636 lt_cv_file_magic_cmd
=/usr
/bin
/file
1637 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
1641 lt_cv_deplibs_check_method
=pass_all
1646 lt_cv_deplibs_check_method
=pass_all
1650 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1651 lt_cv_file_magic_cmd
=/usr
/bin
/file
1652 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
1658 # this will be overridden with pass_all, but let us keep it just in case
1659 lt_cv_deplibs_check_method
="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1663 *-32|
*"-32 ") libmagic
=32-bit;;
1664 *-n32|
*"-n32 ") libmagic
=N32
;;
1665 *-64|
*"-64 ") libmagic
=64-bit;;
1666 *) libmagic
=never-match
;;
1668 # this will be overridden with pass_all, but let us keep it just in case
1669 lt_cv_deplibs_check_method
="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1672 lt_cv_file_magic_test_file
=`echo /lib${libsuff}/libc.so*`
1673 lt_cv_deplibs_check_method
=pass_all
1676 # This must be Linux ELF.
1679 alpha
* | hppa
* | i
*86 | powerpc
* | sparc
* | ia64
* )
1680 lt_cv_deplibs_check_method
=pass_all
;;
1682 # glibc up to 2.1.1 does not perform some relocations on ARM
1683 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1685 lt_cv_file_magic_test_file
=`echo /lib/libc.so* /lib/libc-*.so`
1689 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
1690 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1692 lt_cv_deplibs_check_method
='match_pattern /lib[^/\.]+\.so$'
1697 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1698 lt_cv_file_magic_cmd
=/usr
/bin
/file
1699 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
1702 osf3
* | osf4
* | osf5
*)
1703 # this will be overridden with pass_all, but let us keep it just in case
1704 lt_cv_deplibs_check_method
='file_magic COFF format alpha shared library'
1705 lt_cv_file_magic_test_file
=/shlib
/libc.so
1706 lt_cv_deplibs_check_method
=pass_all
1710 lt_cv_deplibs_check_method
=pass_all
1714 lt_cv_deplibs_check_method
=pass_all
1715 lt_cv_file_magic_test_file
=/lib
/libc.so
1718 sysv5uw
[78]* | sysv4
*uw2
*)
1719 lt_cv_deplibs_check_method
=pass_all
1722 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
1723 case $host_vendor in
1725 lt_cv_deplibs_check_method
=pass_all
1728 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]'
1729 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
1737 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1738 file_magic_cmd
=$lt_cv_file_magic_cmd
1739 deplibs_check_method
=$lt_cv_deplibs_check_method
1741 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1742 echo "configure:1743: checking for object suffix" >&5
1743 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1744 echo $ac_n "(cached) $ac_c" 1>&6
1747 echo 'int i = 1;' > conftest.
$ac_ext
1748 if { (eval echo configure
:1749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1749 for ac_file
in conftest.
*; do
1752 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
1756 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1761 echo "$ac_t""$ac_cv_objext" 1>&6
1762 OBJEXT
=$ac_cv_objext
1763 ac_objext
=$ac_cv_objext
1765 if test $host != $build; then
1766 ac_tool_prefix
=${host_alias}-
1771 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1773 # Only perform the check for file, if the check method requires it
1774 case $deplibs_check_method in
1776 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1777 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1778 echo "configure:1779: checking for ${ac_tool_prefix}file" >&5
1779 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1780 echo $ac_n "(cached) $ac_c" 1>&6
1784 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
1787 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
1790 ac_save_MAGIC_CMD
="$MAGIC_CMD"
1791 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1792 ac_dummy
="/usr/bin:$PATH"
1793 for ac_dir
in $ac_dummy; do
1794 test -z "$ac_dir" && ac_dir
=.
1795 if test -f $ac_dir/${ac_tool_prefix}file; then
1796 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
1797 if test -n "$file_magic_test_file"; then
1798 case $deplibs_check_method in
1800 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1801 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
1802 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
1803 egrep "$file_magic_regex" > /dev
/null
; then
1808 *** Warning: the command libtool uses to detect shared libraries,
1809 *** $file_magic_cmd, produces output that libtool cannot recognize.
1810 *** The result is that libtool may fail to recognize shared libraries
1811 *** as such. This will affect the creation of libtool libraries that
1812 *** depend on shared libraries, but programs linked with such libtool
1813 *** libraries will work regardless of this problem. Nevertheless, you
1814 *** may want to report the problem to your system manager and/or to
1815 *** bug-libtool@gnu.org
1825 MAGIC_CMD
="$ac_save_MAGIC_CMD"
1830 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
1831 if test -n "$MAGIC_CMD"; then
1832 echo "$ac_t""$MAGIC_CMD" 1>&6
1834 echo "$ac_t""no" 1>&6
1837 if test -z "$lt_cv_path_MAGIC_CMD"; then
1838 if test -n "$ac_tool_prefix"; then
1839 echo $ac_n "checking for file""... $ac_c" 1>&6
1840 echo "configure:1841: checking for file" >&5
1841 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1842 echo $ac_n "(cached) $ac_c" 1>&6
1846 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
1849 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a dos path.
1852 ac_save_MAGIC_CMD
="$MAGIC_CMD"
1853 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1854 ac_dummy
="/usr/bin:$PATH"
1855 for ac_dir
in $ac_dummy; do
1856 test -z "$ac_dir" && ac_dir
=.
1857 if test -f $ac_dir/file; then
1858 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
1859 if test -n "$file_magic_test_file"; then
1860 case $deplibs_check_method in
1862 file_magic_regex
="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1863 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
1864 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
1865 egrep "$file_magic_regex" > /dev
/null
; then
1870 *** Warning: the command libtool uses to detect shared libraries,
1871 *** $file_magic_cmd, produces output that libtool cannot recognize.
1872 *** The result is that libtool may fail to recognize shared libraries
1873 *** as such. This will affect the creation of libtool libraries that
1874 *** depend on shared libraries, but programs linked with such libtool
1875 *** libraries will work regardless of this problem. Nevertheless, you
1876 *** may want to report the problem to your system manager and/or to
1877 *** bug-libtool@gnu.org
1887 MAGIC_CMD
="$ac_save_MAGIC_CMD"
1892 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
1893 if test -n "$MAGIC_CMD"; then
1894 echo "$ac_t""$MAGIC_CMD" 1>&6
1896 echo "$ac_t""no" 1>&6
1908 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1909 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
1910 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1911 echo "configure:1912: checking for $ac_word" >&5
1912 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1913 echo $ac_n "(cached) $ac_c" 1>&6
1915 if test -n "$RANLIB"; then
1916 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1918 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1920 for ac_dir
in $ac_dummy; do
1921 test -z "$ac_dir" && ac_dir
=.
1922 if test -f $ac_dir/$ac_word; then
1923 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
1930 RANLIB
="$ac_cv_prog_RANLIB"
1931 if test -n "$RANLIB"; then
1932 echo "$ac_t""$RANLIB" 1>&6
1934 echo "$ac_t""no" 1>&6
1938 if test -z "$ac_cv_prog_RANLIB"; then
1939 if test -n "$ac_tool_prefix"; then
1940 # Extract the first word of "ranlib", so it can be a program name with args.
1941 set dummy ranlib
; ac_word
=$2
1942 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1943 echo "configure:1944: checking for $ac_word" >&5
1944 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1945 echo $ac_n "(cached) $ac_c" 1>&6
1947 if test -n "$RANLIB"; then
1948 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1952 for ac_dir
in $ac_dummy; do
1953 test -z "$ac_dir" && ac_dir
=.
1954 if test -f $ac_dir/$ac_word; then
1955 ac_cv_prog_RANLIB
="ranlib"
1960 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1963 RANLIB
="$ac_cv_prog_RANLIB"
1964 if test -n "$RANLIB"; then
1965 echo "$ac_t""$RANLIB" 1>&6
1967 echo "$ac_t""no" 1>&6
1975 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1976 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1977 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1978 echo "configure:1979: checking for $ac_word" >&5
1979 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1980 echo $ac_n "(cached) $ac_c" 1>&6
1982 if test -n "$STRIP"; then
1983 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1985 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1987 for ac_dir
in $ac_dummy; do
1988 test -z "$ac_dir" && ac_dir
=.
1989 if test -f $ac_dir/$ac_word; then
1990 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1997 STRIP
="$ac_cv_prog_STRIP"
1998 if test -n "$STRIP"; then
1999 echo "$ac_t""$STRIP" 1>&6
2001 echo "$ac_t""no" 1>&6
2005 if test -z "$ac_cv_prog_STRIP"; then
2006 if test -n "$ac_tool_prefix"; then
2007 # Extract the first word of "strip", so it can be a program name with args.
2008 set dummy strip
; ac_word
=$2
2009 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2010 echo "configure:2011: checking for $ac_word" >&5
2011 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2012 echo $ac_n "(cached) $ac_c" 1>&6
2014 if test -n "$STRIP"; then
2015 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2017 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2019 for ac_dir
in $ac_dummy; do
2020 test -z "$ac_dir" && ac_dir
=.
2021 if test -f $ac_dir/$ac_word; then
2022 ac_cv_prog_STRIP
="strip"
2027 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2030 STRIP
="$ac_cv_prog_STRIP"
2031 if test -n "$STRIP"; then
2032 echo "$ac_t""$STRIP" 1>&6
2034 echo "$ac_t""no" 1>&6
2043 # Check for any special flags to pass to ltconfig.
2044 libtool_flags
="--cache-file=$cache_file"
2045 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
2046 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
2047 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
2048 test "$GCC" = yes && libtool_flags
="$libtool_flags --with-gcc"
2049 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
2051 libtool_flags
="$libtool_flags --enable-win32-dll"
2052 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2053 if test "${enable_libtool_lock+set}" = set; then
2054 enableval
="$enable_libtool_lock"
2058 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
2059 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
2061 # Check whether --with-pic or --without-pic was given.
2062 if test "${with_pic+set}" = set; then
2069 test x
"$pic_mode" = xyes
&& libtool_flags
="$libtool_flags --prefer-pic"
2070 test x
"$pic_mode" = xno
&& libtool_flags
="$libtool_flags --prefer-non-pic"
2072 # Some flags need to be propagated to the compiler or linker for good
2076 # Find out which ABI we are using.
2077 echo '#line 2078 "configure"' > conftest.
$ac_ext
2078 if { (eval echo configure
:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2079 case `/usr/bin/file conftest.$ac_objext` in
2095 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2096 SAVE_CFLAGS
="$CFLAGS"
2097 CFLAGS
="$CFLAGS -belf"
2098 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2099 echo "configure:2100: checking whether the C compiler needs -belf" >&5
2100 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2101 echo $ac_n "(cached) $ac_c" 1>&6
2105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2106 ac_cpp
='$CPP $CPPFLAGS'
2107 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2108 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2109 cross_compiling
=$ac_cv_prog_cc_cross
2111 cat > conftest.
$ac_ext <<EOF
2112 #line 2113 "configure"
2113 #include "confdefs.h"
2119 if { (eval echo configure
:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2121 lt_cv_cc_needs_belf
=yes
2123 echo "configure: failed program was:" >&5
2124 cat conftest.
$ac_ext >&5
2126 lt_cv_cc_needs_belf
=no
2130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2131 ac_cpp
='$CPP $CPPFLAGS'
2132 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2133 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2134 cross_compiling
=$ac_cv_prog_cc_cross
2138 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2139 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
2140 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2141 CFLAGS
="$SAVE_CFLAGS"
2145 *-*-cygwin* |
*-*-mingw* |
*-*-pw32*)
2146 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2147 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
2148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2149 echo "configure:2150: checking for $ac_word" >&5
2150 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2151 echo $ac_n "(cached) $ac_c" 1>&6
2153 if test -n "$DLLTOOL"; then
2154 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2156 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2158 for ac_dir
in $ac_dummy; do
2159 test -z "$ac_dir" && ac_dir
=.
2160 if test -f $ac_dir/$ac_word; then
2161 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
2168 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2169 if test -n "$DLLTOOL"; then
2170 echo "$ac_t""$DLLTOOL" 1>&6
2172 echo "$ac_t""no" 1>&6
2176 if test -z "$ac_cv_prog_DLLTOOL"; then
2177 if test -n "$ac_tool_prefix"; then
2178 # Extract the first word of "dlltool", so it can be a program name with args.
2179 set dummy dlltool
; ac_word
=$2
2180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2181 echo "configure:2182: checking for $ac_word" >&5
2182 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2183 echo $ac_n "(cached) $ac_c" 1>&6
2185 if test -n "$DLLTOOL"; then
2186 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
2188 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2190 for ac_dir
in $ac_dummy; do
2191 test -z "$ac_dir" && ac_dir
=.
2192 if test -f $ac_dir/$ac_word; then
2193 ac_cv_prog_DLLTOOL
="dlltool"
2198 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL
="false"
2201 DLLTOOL
="$ac_cv_prog_DLLTOOL"
2202 if test -n "$DLLTOOL"; then
2203 echo "$ac_t""$DLLTOOL" 1>&6
2205 echo "$ac_t""no" 1>&6
2213 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2214 set dummy
${ac_tool_prefix}as
; ac_word
=$2
2215 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2216 echo "configure:2217: checking for $ac_word" >&5
2217 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2218 echo $ac_n "(cached) $ac_c" 1>&6
2220 if test -n "$AS"; then
2221 ac_cv_prog_AS
="$AS" # Let the user override the test.
2223 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2225 for ac_dir
in $ac_dummy; do
2226 test -z "$ac_dir" && ac_dir
=.
2227 if test -f $ac_dir/$ac_word; then
2228 ac_cv_prog_AS
="${ac_tool_prefix}as"
2236 if test -n "$AS"; then
2237 echo "$ac_t""$AS" 1>&6
2239 echo "$ac_t""no" 1>&6
2243 if test -z "$ac_cv_prog_AS"; then
2244 if test -n "$ac_tool_prefix"; then
2245 # Extract the first word of "as", so it can be a program name with args.
2246 set dummy as
; ac_word
=$2
2247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2248 echo "configure:2249: checking for $ac_word" >&5
2249 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2250 echo $ac_n "(cached) $ac_c" 1>&6
2252 if test -n "$AS"; then
2253 ac_cv_prog_AS
="$AS" # Let the user override the test.
2255 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2257 for ac_dir
in $ac_dummy; do
2258 test -z "$ac_dir" && ac_dir
=.
2259 if test -f $ac_dir/$ac_word; then
2265 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="false"
2269 if test -n "$AS"; then
2270 echo "$ac_t""$AS" 1>&6
2272 echo "$ac_t""no" 1>&6
2280 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2281 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
2282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2283 echo "configure:2284: checking for $ac_word" >&5
2284 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2285 echo $ac_n "(cached) $ac_c" 1>&6
2287 if test -n "$OBJDUMP"; then
2288 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2290 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2292 for ac_dir
in $ac_dummy; do
2293 test -z "$ac_dir" && ac_dir
=.
2294 if test -f $ac_dir/$ac_word; then
2295 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
2302 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2303 if test -n "$OBJDUMP"; then
2304 echo "$ac_t""$OBJDUMP" 1>&6
2306 echo "$ac_t""no" 1>&6
2310 if test -z "$ac_cv_prog_OBJDUMP"; then
2311 if test -n "$ac_tool_prefix"; then
2312 # Extract the first word of "objdump", so it can be a program name with args.
2313 set dummy objdump
; ac_word
=$2
2314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2315 echo "configure:2316: checking for $ac_word" >&5
2316 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 if test -n "$OBJDUMP"; then
2320 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
2322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
2324 for ac_dir
in $ac_dummy; do
2325 test -z "$ac_dir" && ac_dir
=.
2326 if test -f $ac_dir/$ac_word; then
2327 ac_cv_prog_OBJDUMP
="objdump"
2332 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP
="false"
2335 OBJDUMP
="$ac_cv_prog_OBJDUMP"
2336 if test -n "$OBJDUMP"; then
2337 echo "$ac_t""$OBJDUMP" 1>&6
2339 echo "$ac_t""no" 1>&6
2348 # recent cygwin and mingw systems supply a stub DllMain which the user
2349 # can override, but on older systems we have to supply one
2350 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2351 echo "configure:2352: checking if libtool should supply DllMain function" >&5
2352 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2353 echo $ac_n "(cached) $ac_c" 1>&6
2355 cat > conftest.
$ac_ext <<EOF
2356 #line 2357 "configure"
2357 #include "confdefs.h"
2360 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2364 if { (eval echo configure
:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2366 lt_cv_need_dllmain
=no
2368 echo "configure: failed program was:" >&5
2369 cat conftest.
$ac_ext >&5
2371 lt_cv_need_dllmain
=yes
2376 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2379 *-*-cygwin*/gcc
*-mno-cygwin*|
*-*-mingw*)
2380 # old mingw systems require "-dll" to link a DLL, while more recent ones
2382 SAVE_CFLAGS
="$CFLAGS"
2383 CFLAGS
="$CFLAGS -mdll"
2384 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2385 echo "configure:2386: checking how to link DLLs" >&5
2386 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2387 echo $ac_n "(cached) $ac_c" 1>&6
2389 cat > conftest.
$ac_ext <<EOF
2390 #line 2391 "configure"
2391 #include "confdefs.h"
2397 if { (eval echo configure
:2398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2399 lt_cv_cc_dll_switch
=-mdll
2401 echo "configure: failed program was:" >&5
2402 cat conftest.
$ac_ext >&5
2404 lt_cv_cc_dll_switch
=-dll
2409 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2410 CFLAGS
="$SAVE_CFLAGS" ;;
2411 *-*-cygwin* |
*-*-pw32*)
2412 # cygwin systems need to pass --dll to the linker, and not link
2413 # crt.o which will require a WinMain@16 definition.
2414 lt_cv_cc_dll_switch
="-Wl,--dll -nostartfiles" ;;
2421 # Save cache, so that ltconfig can load it
2422 cat > confcache
<<\EOF
2423 # This file is a shell script that caches the results of configure
2424 # tests run on this system so they can be shared between configure
2425 # scripts and configure runs. It is not useful on other systems.
2426 # If it contains results you don't want to keep, you may remove or edit it.
2428 # By default, configure uses ./config.cache as the cache file,
2429 # creating it if it does not exist already. You can give configure
2430 # the --cache-file=FILE option to use a different cache file; that is
2431 # what configure does when it calls configure scripts in
2432 # subdirectories, so they share the cache.
2433 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2434 # config.status only pays attention to the cache file if you give it the
2435 # --recheck option to rerun configure.
2438 # The following way of writing the cache mishandles newlines in values,
2439 # but we know of no workaround that is simple, portable, and efficient.
2440 # So, don't put newlines in cache variables' values.
2441 # Ultrix sh set writes to stderr and can't be redirected directly,
2442 # and sets the high bit in the cache file unless we assign to the vars.
2444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2446 # `set' does not quote correctly, so add quotes (double-quote substitution
2447 # turns \\\\ into \\, and sed turns \\ into \).
2449 -e "s/'/'\\\\''/g" \
2450 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2453 # `set' quotes correctly as required by POSIX, so do not add quotes.
2454 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2457 if cmp -s $cache_file confcache
; then
2460 if test -w $cache_file; then
2461 echo "updating cache $cache_file"
2462 cat confcache
> $cache_file
2464 echo "not updating unwritable cache $cache_file"
2470 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2471 AR
="$AR" LTCC
="$CC" CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
2472 MAGIC_CMD
="$MAGIC_CMD" LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
2473 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" STRIP
="$STRIP" \
2474 AS
="$AS" DLLTOOL
="$DLLTOOL" OBJDUMP
="$OBJDUMP" \
2475 objext
="$OBJEXT" exeext
="$EXEEXT" reload_flag
="$reload_flag" \
2476 deplibs_check_method
="$deplibs_check_method" file_magic_cmd
="$file_magic_cmd" \
2477 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
2478 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh
$host \
2479 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2481 # Reload cache, that may have been modified by ltconfig
2482 if test -r "$cache_file"; then
2483 echo "loading cache $cache_file"
2486 echo "creating cache $cache_file"
2491 # This can be used to rebuild libtool when needed
2492 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2494 # Always use our own libtool.
2495 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
2497 # Redirect the config.log output again, so that the ltconfig log is not
2498 # clobbered by the next message.
2499 exec 5>>.
/config.log
2507 # Check whether --enable-objc-gc or --disable-objc-gc was given.
2508 if test "${enable_objc_gc+set}" = set; then
2509 enableval
="$enable_objc_gc"
2510 if [ x
$enable_objc_gc = xno
]; then
2513 OBJC_BOEHM_GC
=libobjc_gc.la
2522 # We need multilib support, but only if configuring for the target.
2524 cat > confcache
<<\EOF
2525 # This file is a shell script that caches the results of configure
2526 # tests run on this system so they can be shared between configure
2527 # scripts and configure runs. It is not useful on other systems.
2528 # If it contains results you don't want to keep, you may remove or edit it.
2530 # By default, configure uses ./config.cache as the cache file,
2531 # creating it if it does not exist already. You can give configure
2532 # the --cache-file=FILE option to use a different cache file; that is
2533 # what configure does when it calls configure scripts in
2534 # subdirectories, so they share the cache.
2535 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2536 # config.status only pays attention to the cache file if you give it the
2537 # --recheck option to rerun configure.
2540 # The following way of writing the cache mishandles newlines in values,
2541 # but we know of no workaround that is simple, portable, and efficient.
2542 # So, don't put newlines in cache variables' values.
2543 # Ultrix sh set writes to stderr and can't be redirected directly,
2544 # and sets the high bit in the cache file unless we assign to the vars.
2546 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2548 # `set' does not quote correctly, so add quotes (double-quote substitution
2549 # turns \\\\ into \\, and sed turns \\ into \).
2551 -e "s/'/'\\\\''/g" \
2552 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2555 # `set' quotes correctly as required by POSIX, so do not add quotes.
2556 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2559 if cmp -s $cache_file confcache
; then
2562 if test -w $cache_file; then
2563 echo "updating cache $cache_file"
2564 cat confcache
> $cache_file
2566 echo "not updating unwritable cache $cache_file"
2571 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2573 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2574 # Let make expand exec_prefix.
2575 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2577 # Any assignment to VPATH causes Sun make to only execute
2578 # the first set of double-colon rules, so remove it if not needed.
2579 # If there is a colon in the path, we need to keep it.
2580 if test "x$srcdir" = x.
; then
2581 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2584 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2586 DEFS
=-DHAVE_CONFIG_H
2588 # Without the "./", some shells look in PATH for config.status.
2589 : ${CONFIG_STATUS=./config.status}
2591 echo creating
$CONFIG_STATUS
2592 rm -f $CONFIG_STATUS
2593 cat > $CONFIG_STATUS <<EOF
2595 # Generated automatically by configure.
2596 # Run this file to recreate the current configuration.
2597 # This directory was configured as follows,
2598 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2600 # $0 $ac_configure_args
2602 # Compiler output produced by configure, useful for debugging
2603 # configure, is in ./config.log if it exists.
2605 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2608 case "\$ac_option" in
2609 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2610 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2611 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2612 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2613 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2615 -help | --help | --hel | --he | --h)
2616 echo "\$ac_cs_usage"; exit 0 ;;
2617 *) echo "\$ac_cs_usage"; exit 1 ;;
2621 ac_given_srcdir=$srcdir
2622 ac_given_INSTALL="$INSTALL"
2624 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2626 cat >> $CONFIG_STATUS <<EOF
2628 # Protect against being on the right side of a sed subst in config.status.
2629 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2630 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2634 s%@CFLAGS@%$CFLAGS%g
2635 s%@CPPFLAGS@%$CPPFLAGS%g
2636 s%@CXXFLAGS@%$CXXFLAGS%g
2637 s%@FFLAGS@%$FFLAGS%g
2639 s%@LDFLAGS@%$LDFLAGS%g
2641 s%@exec_prefix@%$exec_prefix%g
2642 s%@prefix@%$prefix%g
2643 s%@program_transform_name@%$program_transform_name%g
2644 s%@bindir@%$bindir%g
2645 s%@sbindir@%$sbindir%g
2646 s%@libexecdir@%$libexecdir%g
2647 s%@datadir@%$datadir%g
2648 s%@sysconfdir@%$sysconfdir%g
2649 s%@sharedstatedir@%$sharedstatedir%g
2650 s%@localstatedir@%$localstatedir%g
2651 s%@libdir@%$libdir%g
2652 s%@includedir@%$includedir%g
2653 s%@oldincludedir@%$oldincludedir%g
2654 s%@infodir@%$infodir%g
2655 s%@mandir@%$mandir%g
2658 s%@RANLIB@%$RANLIB%g
2659 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2660 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2661 s%@INSTALL_DATA@%$INSTALL_DATA%g
2662 s%@EXEEXT@%$EXEEXT%g
2664 s%@GTHREAD_FLAGS@%$GTHREAD_FLAGS%g
2666 s%@host_alias@%$host_alias%g
2667 s%@host_cpu@%$host_cpu%g
2668 s%@host_vendor@%$host_vendor%g
2669 s%@host_os@%$host_os%g
2671 s%@build_alias@%$build_alias%g
2672 s%@build_cpu@%$build_cpu%g
2673 s%@build_vendor@%$build_vendor%g
2674 s%@build_os@%$build_os%g
2676 s%@OBJEXT@%$OBJEXT%g
2678 s%@DLLTOOL@%$DLLTOOL%g
2680 s%@OBJDUMP@%$OBJDUMP%g
2681 s%@LIBTOOL@%$LIBTOOL%g
2682 s%@OBJC_BOEHM_GC@%$OBJC_BOEHM_GC%g
2687 cat >> $CONFIG_STATUS <<\EOF
2689 # Split the substitutions into bite-sized pieces for seds with
2690 # small command number limits, like on Digital OSF/1 and HP-UX.
2691 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2692 ac_file
=1 # Number of current file.
2693 ac_beg
=1 # First line for current file.
2694 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2697 while $ac_more_lines; do
2698 if test $ac_beg -gt 1; then
2699 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2701 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2703 if test ! -s conftest.s
$ac_file; then
2705 rm -f conftest.s
$ac_file
2707 if test -z "$ac_sed_cmds"; then
2708 ac_sed_cmds
="sed -f conftest.s$ac_file"
2710 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2712 ac_file
=`expr $ac_file + 1`
2714 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2717 if test -z "$ac_sed_cmds"; then
2722 cat >> $CONFIG_STATUS <<EOF
2724 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2726 cat >> $CONFIG_STATUS <<\EOF
2727 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2730 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2731 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2732 *) ac_file_in
="${ac_file}.in" ;;
2735 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2737 # Remove last slash and all that follows it. Not all systems have dirname.
2738 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2739 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2740 # The file is in a subdirectory.
2741 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2742 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2743 # A "../" for each directory in $ac_dir_suffix.
2744 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2746 ac_dir_suffix
= ac_dots
=
2749 case "$ac_given_srcdir" in
2751 if test -z "$ac_dots"; then top_srcdir
=.
2752 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2753 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2755 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2756 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2759 case "$ac_given_INSTALL" in
2760 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2761 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2764 echo creating
"$ac_file"
2766 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2768 *Makefile
*) ac_comsub
="1i\\
2769 # $configure_input" ;;
2773 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2775 s%@configure_input@%$configure_input%g
2776 s%@srcdir@%$srcdir%g
2777 s%@top_srcdir@%$top_srcdir%g
2778 s%@INSTALL@%$INSTALL%g
2779 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2783 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2784 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2786 # ac_d sets the value in "#define NAME VALUE" lines.
2787 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2788 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2791 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2792 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2793 ac_uB
='\([ ]\)%\1#\2define\3'
2796 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2797 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2798 ac_eB
='$%\1#\2define\3'
2802 if test "${CONFIG_HEADERS+set}" != set; then
2804 cat >> $CONFIG_STATUS <<EOF
2805 CONFIG_HEADERS="config.h"
2807 cat >> $CONFIG_STATUS <<\EOF
2809 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2810 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2812 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2813 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2814 *) ac_file_in
="${ac_file}.in" ;;
2817 echo creating
$ac_file
2819 rm -f conftest.frag conftest.
in conftest.out
2820 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2821 cat $ac_file_inputs > conftest.
in
2825 # Transform confdefs.h into a sed script conftest.vals that substitutes
2826 # the proper values into config.h.in to produce config.h. And first:
2827 # Protect against being on the right side of a sed subst in config.status.
2828 # Protect against being in an unquoted here document in config.status.
2830 cat > conftest.hdr
<<\EOF
2833 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2837 sed -n -f conftest.hdr confdefs.h > conftest.vals
2840 # This sed command replaces #undef with comments. This is necessary, for
2841 # example, in the case of _POSIX_SOURCE, which is predefined and required
2842 # on some systems where configure will not decide to define it.
2843 cat >> conftest.vals <<\EOF
2844 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2847 # Break up conftest.vals because some shells have a limit on
2848 # the size of here documents, and old seds have small limits too.
2853 ac_lines=`grep -c . conftest.vals
`
2854 # grep -c gives empty output for an empty file on some AIX systems.
2855 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2856 # Write a limited-size here document to conftest.frag.
2857 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2858 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2860 sed -f conftest.frag conftest.in > conftest.out
2862 mv conftest.out conftest.in
2864 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2866 mv conftest.tail conftest.vals
2870 cat >> $CONFIG_STATUS <<\EOF
2871 rm -f conftest.frag conftest.h
2872 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2873 cat conftest.in >> conftest.h
2875 if cmp -s $ac_file conftest.h 2>/dev/null; then
2876 echo "$ac_file is unchanged"
2879 # Remove last slash and all that follows it. Not all systems have dirname.
2880 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2881 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2882 # The file is in a subdirectory.
2883 test ! -d "$ac_dir" && mkdir "$ac_dir"
2886 mv conftest.h $ac_file
2891 cat >> $CONFIG_STATUS <<EOF
2895 with_target_subdir=${with_target_subdir}
2896 with_multisubdir=${with_multisubdir}
2897 ac_configure_args="--enable-multilib ${ac_configure_args}"
2898 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2899 topsrcdir=${topsrcdir}
2902 cat >> $CONFIG_STATUS <<\EOF
2903 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2904 if test -n "$CONFIG_FILES"; then
2905 if test -n "${with_target_subdir}"; then
2906 # FIXME: We shouldn't need to set ac_file
2908 . ${topsrcdir}/config-ml.in
2913 chmod +x $CONFIG_STATUS
2914 rm -fr confdefs* $ac_clean_files
2915 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1