* cvt.c (convert_to_void): Preserve TREE_SIDE_EFFECTS
[official-gcc.git] / libobjc / configure
blobcec0943accd470908211f1ff19f5dc393bc8a8d2
1 #! /bin/sh
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.
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15 --enable-shared[=PKGS] build shared libraries [default=no]"
16 ac_help="$ac_help
17 --enable-static[=PKGS] build static libraries [default=yes]"
18 ac_help="$ac_help
19 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
20 ac_help="$ac_help
21 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
22 ac_help="$ac_help
23 --disable-libtool-lock avoid locking (might break parallel builds)"
24 ac_help="$ac_help
25 --with-pic try to use only PIC/non-PIC objects [default=use both]"
26 ac_help="$ac_help
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.
33 build=NONE
34 cache_file=./config.cache
35 exec_prefix=NONE
36 host=NONE
37 no_create=
38 nonopt=NONE
39 no_recursion=
40 prefix=NONE
41 program_prefix=NONE
42 program_suffix=NONE
43 program_transform_name=s,x,x,
44 silent=
45 site=
46 sitefile=
47 srcdir=
48 target=NONE
49 verbose=
50 x_includes=NONE
51 x_libraries=NONE
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.
66 subdirs=
67 MFLAGS= MAKEFLAGS=
68 SHELL=${CONFIG_SHELL-/bin/sh}
69 # Maximum number of lines to put in a shell here document.
70 ac_max_here_lines=12
72 ac_prev=
73 for ac_option
76 # If the previous option needs an argument, assign it.
77 if test -n "$ac_prev"; then
78 eval "$ac_prev=\$ac_option"
79 ac_prev=
80 continue
83 case "$ac_option" in
84 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
85 *) ac_optarg= ;;
86 esac
88 # Accept the important Cygnus configure options, so we can diagnose typos.
90 case "$ac_option" in
92 -bindir | --bindir | --bindi | --bind | --bin | --bi)
93 ac_prev=bindir ;;
94 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
95 bindir="$ac_optarg" ;;
97 -build | --build | --buil | --bui | --bu)
98 ac_prev=build ;;
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)
110 ac_prev=datadir ;;
111 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
112 | --da=*)
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'`
131 case "$ac_option" in
132 *=*) ;;
133 *) ac_optarg=yes ;;
134 esac
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.
148 with_gas=yes ;;
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.
153 cat << EOF
154 Usage: configure [options] [host]
155 Options: [defaults in brackets after descriptions]
156 Configuration:
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
165 [$ac_default_prefix]
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
167 [same as prefix]
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
172 [PREFIX/share]
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
175 [PREFIX/com]
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
188 cat << EOF
189 Host type:
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"
204 exit 0 ;;
206 -host | --host | --hos | --ho)
207 ac_prev=host ;;
208 -host=* | --host=* | --hos=* | --ho=*)
209 host="$ac_optarg" ;;
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)
219 ac_prev=infodir ;;
220 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
221 infodir="$ac_optarg" ;;
223 -libdir | --libdir | --libdi | --libd)
224 ac_prev=libdir ;;
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)
245 ac_prev=mandir ;;
246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
247 mandir="$ac_optarg" ;;
249 -nfp | --nfp | --nf)
250 # Obsolete; use --without-fp.
251 with_fp=no ;;
253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
254 | --no-cr | --no-c)
255 no_create=yes ;;
257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
259 no_recursion=yes ;;
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)
271 ac_prev=prefix ;;
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)
308 silent=yes ;;
310 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
311 ac_prev=sbindir ;;
312 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
313 | --sbi=* | --sb=*)
314 sbindir="$ac_optarg" ;;
316 -sharedstatedir | --sharedstatedir | --sharedstatedi \
317 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
318 | --sharedst | --shareds | --shared | --share | --shar \
319 | --sha | --sh)
320 ac_prev=sharedstatedir ;;
321 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
322 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
323 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
324 | --sha=* | --sh=*)
325 sharedstatedir="$ac_optarg" ;;
327 -site | --site | --sit)
328 ac_prev=site ;;
329 -site=* | --site=* | --sit=*)
330 site="$ac_optarg" ;;
332 -site-file | --site-file | --site-fil | --site-fi | --site-f)
333 ac_prev=sitefile ;;
334 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
335 sitefile="$ac_optarg" ;;
337 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
338 ac_prev=srcdir ;;
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)
350 ac_prev=target ;;
351 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
352 target="$ac_optarg" ;;
354 -v | -verbose | --verbose | --verbos | --verbo | --verb)
355 verbose=yes ;;
357 -version | --version | --versio | --versi | --vers)
358 echo "configure generated by autoconf version 2.13"
359 exit 0 ;;
361 -with-* | --with-*)
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'`
368 case "$ac_option" in
369 *=*) ;;
370 *) ac_optarg=yes ;;
371 esac
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" ;;
383 --x)
384 # Obsolete; use --with-x.
385 with_x=yes ;;
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; }
411 nonopt="$ac_option"
414 esac
415 done
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:
424 # 0 standard input
425 # 1 file creation
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
432 exec 6>/dev/null
433 else
434 exec 6>&1
436 exec 5>./config.log
438 echo "\
439 This file contains any messages produced by compilers while
440 running configure, to aid debugging if configure makes a mistake.
441 " 1>&5
443 # Strip out --no-create and --no-recursion so they do not pile up.
444 # Also quote any args containing shell metacharacters.
445 ac_configure_args=
446 for ac_arg
448 case "$ac_arg" in
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" ;;
456 esac
457 done
459 # NLS nuisances.
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.
472 echo > confdefs.h
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.
482 ac_prog=$0
483 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
484 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
485 srcdir=$ac_confdir
486 if test ! -r $srcdir/$ac_unique_file; then
487 srcdir=..
489 else
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; }
495 else
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"
506 else
507 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
510 else
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"
516 . "$ac_site_file"
518 done
520 if test -r "$cache_file"; then
521 echo "loading cache $cache_file"
522 . $cache_file
523 else
524 echo "creating cache $cache_file"
525 > $cache_file
528 ac_ext=c
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
535 ac_exeext=
536 ac_objext=o
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
540 ac_n= ac_c='
541 ' ac_t=' '
542 else
543 ac_n=-n ac_c= ac_t=
545 else
546 ac_n= ac_c='\c' ac_t=
552 if test "${srcdir}" = "." ; then
553 if test "${with_target_subdir}" != "." ; then
554 topsrcdir=${with_multisrctop}../..
555 else
556 topsrcdir=${with_multisrctop}..
558 else
559 topsrcdir=${srcdir}/..
561 ac_aux_dir=
562 for ac_dir in $topsrcdir $srcdir/$topsrcdir; do
563 if test -f $ac_dir/install-sh; then
564 ac_aux_dir=$ac_dir
565 ac_install_sh="$ac_aux_dir/install-sh -c"
566 break
567 elif test -f $ac_dir/install.sh; then
568 ac_aux_dir=$ac_dir
569 ac_install_sh="$ac_aux_dir/install.sh -c"
570 break
572 done
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.
585 compiler_name=cc1obj
586 rm -f skip-this-dir
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
591 else
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
597 true
598 else
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
609 then
610 rm -f Makefile conftest* confdefs* core
611 exit 0
617 # For ObjC we'll set CC to point at the built gcc, but this will get it into
618 # the makefiles
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
625 else
626 if test -n "$CC"; then
627 ac_cv_prog_CC="$CC" # Let the user override the test.
628 else
629 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
630 ac_dummy="$PATH"
631 for ac_dir in $ac_dummy; do
632 test -z "$ac_dir" && ac_dir=.
633 if test -f $ac_dir/$ac_word; then
634 ac_cv_prog_CC="gcc"
635 break
637 done
638 IFS="$ac_save_ifs"
641 CC="$ac_cv_prog_CC"
642 if test -n "$CC"; then
643 echo "$ac_t""$CC" 1>&6
644 else
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
655 else
656 if test -n "$CC"; then
657 ac_cv_prog_CC="$CC" # Let the user override the test.
658 else
659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
660 ac_prog_rejected=no
661 ac_dummy="$PATH"
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
666 ac_prog_rejected=yes
667 continue
669 ac_cv_prog_CC="cc"
670 break
672 done
673 IFS="$ac_save_ifs"
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
677 shift
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.
682 shift
683 set dummy "$ac_dir/$ac_word" "$@"
684 shift
685 ac_cv_prog_CC="$@"
690 CC="$ac_cv_prog_CC"
691 if test -n "$CC"; then
692 echo "$ac_t""$CC" 1>&6
693 else
694 echo "$ac_t""no" 1>&6
697 if test -z "$CC"; then
698 case "`uname -s`" in
699 *win32* | *WIN32*)
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
706 else
707 if test -n "$CC"; then
708 ac_cv_prog_CC="$CC" # Let the user override the test.
709 else
710 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
711 ac_dummy="$PATH"
712 for ac_dir in $ac_dummy; do
713 test -z "$ac_dir" && ac_dir=.
714 if test -f $ac_dir/$ac_word; then
715 ac_cv_prog_CC="cl"
716 break
718 done
719 IFS="$ac_save_ifs"
722 CC="$ac_cv_prog_CC"
723 if test -n "$CC"; then
724 echo "$ac_t""$CC" 1>&6
725 else
726 echo "$ac_t""no" 1>&6
729 esac
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
739 else
740 cat > conftest.c <<EOF
741 #ifdef __GNUC__
742 yes;
743 #endif
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
746 ac_cv_prog_gcc=yes
747 else
748 ac_cv_prog_gcc=no
752 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
754 if test $ac_cv_prog_gcc = yes; then
755 GCC=yes
756 else
757 GCC=
760 ac_test_CFLAGS="${CFLAGS+set}"
761 ac_save_CFLAGS="$CFLAGS"
762 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
767 else
768 echo 'void f(){}' > conftest.c
769 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
770 ac_cv_prog_cc_g=yes
771 else
772 ac_cv_prog_cc_g=no
774 rm -f conftest*
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
783 CFLAGS="-g -O2"
784 else
785 CFLAGS="-g"
787 else
788 if test "$GCC" = yes; then
789 CFLAGS="-O2"
790 else
791 CFLAGS=
796 test "$AR" || AR=ar
798 if test "$RANLIB"; then :
800 else
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
807 else
808 if test -n "$RANLIB"; then
809 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
810 else
811 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
812 ac_dummy="$PATH"
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"
817 break
819 done
820 IFS="$ac_save_ifs"
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
827 else
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
837 # IRIX /sbin/install
838 # AIX /bin/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
848 else
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.
852 case "$ac_dir/" in
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
857 # by default.
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.
864 else
865 ac_cv_path_install="$ac_dir/$ac_prog -c"
866 break 2
869 done
871 esac
872 done
873 IFS="$ac_save_IFS"
876 if test "${ac_cv_path_install+set}" = set; then
877 INSTALL="$ac_cv_path_install"
878 else
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
903 # the result.
904 if false; then
905 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
906 echo "configure:907: checking for Cygwin environment" >&5
907 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
908 echo $ac_n "(cached) $ac_c" 1>&6
909 else
910 cat > conftest.$ac_ext <<EOF
911 #line 912 "configure"
912 #include "confdefs.h"
914 int main() {
916 #ifndef __CYGWIN__
917 #define __CYGWIN__ __CYGWIN32__
918 #endif
919 return __CYGWIN__;
920 ; return 0; }
922 if { (eval echo configure:923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
923 rm -rf conftest*
924 ac_cv_cygwin=yes
925 else
926 echo "configure: failed program was:" >&5
927 cat conftest.$ac_ext >&5
928 rm -rf conftest*
929 ac_cv_cygwin=no
931 rm -f conftest*
932 rm -f conftest*
935 echo "$ac_t""$ac_cv_cygwin" 1>&6
936 CYGWIN=
937 test "$ac_cv_cygwin" = yes && CYGWIN=yes
938 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
939 echo "configure:940: checking for mingw32 environment" >&5
940 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
942 else
943 cat > conftest.$ac_ext <<EOF
944 #line 945 "configure"
945 #include "confdefs.h"
947 int main() {
948 return __MINGW32__;
949 ; return 0; }
951 if { (eval echo configure:952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
952 rm -rf conftest*
953 ac_cv_mingw32=yes
954 else
955 echo "configure: failed program was:" >&5
956 cat conftest.$ac_ext >&5
957 rm -rf conftest*
958 ac_cv_mingw32=no
960 rm -f conftest*
961 rm -f conftest*
964 echo "$ac_t""$ac_cv_mingw32" 1>&6
965 MINGW32=
966 test "$ac_cv_mingw32" = yes && MINGW32=yes
969 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
970 echo "configure:971: checking for executable suffix" >&5
971 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
972 echo $ac_n "(cached) $ac_c" 1>&6
973 else
974 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
975 ac_cv_exeext=.exe
976 else
977 rm -f conftest*
978 echo 'int main () { return 0; }' > conftest.$ac_ext
979 ac_cv_exeext=
980 if { (eval echo configure:981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
981 for file in conftest.*; do
982 case $file in
983 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
984 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
985 esac
986 done
987 else
988 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
990 rm -f conftest*
991 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
995 EXEEXT=""
996 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
997 echo "$ac_t""${ac_cv_exeext}" 1>&6
998 ac_exeext=$EXEEXT
1003 # Sanity check for the cross-compilation case:
1004 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1005 echo "configure:1006: checking how to run the C preprocessor" >&5
1006 # On Suns, sometimes $CPP names a directory.
1007 if test -n "$CPP" && test -d "$CPP"; then
1008 CPP=
1010 if test -z "$CPP"; then
1011 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1012 echo $ac_n "(cached) $ac_c" 1>&6
1013 else
1014 # This must be in double quotes, not single quotes, because CPP may get
1015 # substituted into the Makefile and "${CC-cc}" will confuse make.
1016 CPP="${CC-cc} -E"
1017 # On the NeXT, cc -E runs the code through the compiler's parser,
1018 # not just through cpp.
1019 cat > conftest.$ac_ext <<EOF
1020 #line 1021 "configure"
1021 #include "confdefs.h"
1022 #include <assert.h>
1023 Syntax Error
1025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1026 { (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1028 if test -z "$ac_err"; then
1030 else
1031 echo "$ac_err" >&5
1032 echo "configure: failed program was:" >&5
1033 cat conftest.$ac_ext >&5
1034 rm -rf conftest*
1035 CPP="${CC-cc} -E -traditional-cpp"
1036 cat > conftest.$ac_ext <<EOF
1037 #line 1038 "configure"
1038 #include "confdefs.h"
1039 #include <assert.h>
1040 Syntax Error
1042 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1043 { (eval echo configure:1044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1045 if test -z "$ac_err"; then
1047 else
1048 echo "$ac_err" >&5
1049 echo "configure: failed program was:" >&5
1050 cat conftest.$ac_ext >&5
1051 rm -rf conftest*
1052 CPP="${CC-cc} -nologo -E"
1053 cat > conftest.$ac_ext <<EOF
1054 #line 1055 "configure"
1055 #include "confdefs.h"
1056 #include <assert.h>
1057 Syntax Error
1059 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1060 { (eval echo configure:1061: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1061 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1062 if test -z "$ac_err"; then
1064 else
1065 echo "$ac_err" >&5
1066 echo "configure: failed program was:" >&5
1067 cat conftest.$ac_ext >&5
1068 rm -rf conftest*
1069 CPP=/lib/cpp
1071 rm -f conftest*
1073 rm -f conftest*
1075 rm -f conftest*
1076 ac_cv_prog_CPP="$CPP"
1078 CPP="$ac_cv_prog_CPP"
1079 else
1080 ac_cv_prog_CPP="$CPP"
1082 echo "$ac_t""$CPP" 1>&6
1084 ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
1085 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
1086 echo "configure:1087: checking for stdio.h" >&5
1087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1088 echo $ac_n "(cached) $ac_c" 1>&6
1089 else
1090 cat > conftest.$ac_ext <<EOF
1091 #line 1092 "configure"
1092 #include "confdefs.h"
1093 #include <stdio.h>
1095 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1096 { (eval echo configure:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1097 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1098 if test -z "$ac_err"; then
1099 rm -rf conftest*
1100 eval "ac_cv_header_$ac_safe=yes"
1101 else
1102 echo "$ac_err" >&5
1103 echo "configure: failed program was:" >&5
1104 cat conftest.$ac_ext >&5
1105 rm -rf conftest*
1106 eval "ac_cv_header_$ac_safe=no"
1108 rm -f conftest*
1110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1111 echo "$ac_t""yes" 1>&6
1113 else
1114 echo "$ac_t""no" 1>&6
1115 { echo "configure: error: Can't find stdio.h.
1116 You must have a usable C system for the target already installed, at least
1117 including headers and, preferably, the library, before you can configure
1118 the Objective C runtime system. If necessary, install gcc now with
1119 \`LANGUAGES=c', then the target library, then build with \`LANGUAGES=objc'." 1>&2; exit 1; }
1123 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1124 echo "configure:1125: checking for ANSI C header files" >&5
1125 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1126 echo $ac_n "(cached) $ac_c" 1>&6
1127 else
1128 cat > conftest.$ac_ext <<EOF
1129 #line 1130 "configure"
1130 #include "confdefs.h"
1131 #include <stdlib.h>
1132 #include <stdarg.h>
1133 #include <string.h>
1134 #include <float.h>
1136 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1137 { (eval echo configure:1138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1138 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1139 if test -z "$ac_err"; then
1140 rm -rf conftest*
1141 ac_cv_header_stdc=yes
1142 else
1143 echo "$ac_err" >&5
1144 echo "configure: failed program was:" >&5
1145 cat conftest.$ac_ext >&5
1146 rm -rf conftest*
1147 ac_cv_header_stdc=no
1149 rm -f conftest*
1151 if test $ac_cv_header_stdc = yes; then
1152 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1153 cat > conftest.$ac_ext <<EOF
1154 #line 1155 "configure"
1155 #include "confdefs.h"
1156 #include <string.h>
1158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1159 egrep "memchr" >/dev/null 2>&1; then
1161 else
1162 rm -rf conftest*
1163 ac_cv_header_stdc=no
1165 rm -f conftest*
1169 if test $ac_cv_header_stdc = yes; then
1170 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1171 cat > conftest.$ac_ext <<EOF
1172 #line 1173 "configure"
1173 #include "confdefs.h"
1174 #include <stdlib.h>
1176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1177 egrep "free" >/dev/null 2>&1; then
1179 else
1180 rm -rf conftest*
1181 ac_cv_header_stdc=no
1183 rm -f conftest*
1187 if test $ac_cv_header_stdc = yes; then
1188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1189 if test "$cross_compiling" = yes; then
1191 else
1192 cat > conftest.$ac_ext <<EOF
1193 #line 1194 "configure"
1194 #include "confdefs.h"
1195 #include <ctype.h>
1196 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1197 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1199 int main () { int i; for (i = 0; i < 256; i++)
1200 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1201 exit (0); }
1204 if { (eval echo configure:1205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1205 then
1207 else
1208 echo "configure: failed program was:" >&5
1209 cat conftest.$ac_ext >&5
1210 rm -fr conftest*
1211 ac_cv_header_stdc=no
1213 rm -fr conftest*
1219 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1220 if test $ac_cv_header_stdc = yes; then
1221 cat >> confdefs.h <<\EOF
1222 #define STDC_HEADERS 1
1228 for ac_hdr in sched.h
1230 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1232 echo "configure:1233: checking for $ac_hdr" >&5
1233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1234 echo $ac_n "(cached) $ac_c" 1>&6
1235 else
1236 cat > conftest.$ac_ext <<EOF
1237 #line 1238 "configure"
1238 #include "confdefs.h"
1239 #include <$ac_hdr>
1241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1242 { (eval echo configure:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1244 if test -z "$ac_err"; then
1245 rm -rf conftest*
1246 eval "ac_cv_header_$ac_safe=yes"
1247 else
1248 echo "$ac_err" >&5
1249 echo "configure: failed program was:" >&5
1250 cat conftest.$ac_ext >&5
1251 rm -rf conftest*
1252 eval "ac_cv_header_$ac_safe=no"
1254 rm -f conftest*
1256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1257 echo "$ac_t""yes" 1>&6
1258 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1259 cat >> confdefs.h <<EOF
1260 #define $ac_tr_hdr 1
1263 else
1264 echo "$ac_t""no" 1>&6
1266 done
1269 # Determine CFLAGS for gthread.
1271 echo $ac_n "checking for gthread cflags""... $ac_c" 1>&6
1272 echo "configure:1273: checking for gthread cflags" >&5
1273 if eval "test \"`echo '$''{'objc_cv_gthread_flags'+set}'`\" = set"; then
1274 echo $ac_n "(cached) $ac_c" 1>&6
1275 else
1276 if test -f "$r"/gcc/Makefile
1277 then
1278 objc_cv_gthread_flags=`grep \^GTHREAD_FLAGS "$r"/gcc/Makefile | awk -F= '{ print $2 }'`
1279 else
1280 { echo "configure: error: not found" 1>&2; exit 1; }
1284 echo "$ac_t""$objc_cv_gthread_flags" 1>&6
1285 GTHREAD_FLAGS=$objc_cv_gthread_flags
1288 # Disable shared libs by default
1289 # Check whether --enable-shared or --disable-shared was given.
1290 if test "${enable_shared+set}" = set; then
1291 enableval="$enable_shared"
1292 p=${PACKAGE-default}
1293 case $enableval in
1294 yes) enable_shared=yes ;;
1295 no) enable_shared=no ;;
1297 enable_shared=no
1298 # Look at the argument we got. We use all the common list separators.
1299 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1300 for pkg in $enableval; do
1301 if test "X$pkg" = "X$p"; then
1302 enable_shared=yes
1304 done
1305 IFS="$ac_save_ifs"
1307 esac
1308 else
1309 enable_shared=no
1312 # Enable Win32 DLL on MS Windows - FIXME
1314 # Use libtool
1315 # Check whether --enable-static or --disable-static was given.
1316 if test "${enable_static+set}" = set; then
1317 enableval="$enable_static"
1318 p=${PACKAGE-default}
1319 case $enableval in
1320 yes) enable_static=yes ;;
1321 no) enable_static=no ;;
1323 enable_static=no
1324 # Look at the argument we got. We use all the common list separators.
1325 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1326 for pkg in $enableval; do
1327 if test "X$pkg" = "X$p"; then
1328 enable_static=yes
1330 done
1331 IFS="$ac_save_ifs"
1333 esac
1334 else
1335 enable_static=yes
1338 # Check whether --enable-fast-install or --disable-fast-install was given.
1339 if test "${enable_fast_install+set}" = set; then
1340 enableval="$enable_fast_install"
1341 p=${PACKAGE-default}
1342 case $enableval in
1343 yes) enable_fast_install=yes ;;
1344 no) enable_fast_install=no ;;
1346 enable_fast_install=no
1347 # Look at the argument we got. We use all the common list separators.
1348 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1349 for pkg in $enableval; do
1350 if test "X$pkg" = "X$p"; then
1351 enable_fast_install=yes
1353 done
1354 IFS="$ac_save_ifs"
1356 esac
1357 else
1358 enable_fast_install=yes
1362 # Make sure we can run config.sub.
1363 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1364 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1367 echo $ac_n "checking host system type""... $ac_c" 1>&6
1368 echo "configure:1369: checking host system type" >&5
1370 host_alias=$host
1371 case "$host_alias" in
1372 NONE)
1373 case $nonopt in
1374 NONE)
1375 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1376 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1377 fi ;;
1378 *) host_alias=$nonopt ;;
1379 esac ;;
1380 esac
1382 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1383 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1384 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1385 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1386 echo "$ac_t""$host" 1>&6
1388 echo $ac_n "checking build system type""... $ac_c" 1>&6
1389 echo "configure:1390: checking build system type" >&5
1391 build_alias=$build
1392 case "$build_alias" in
1393 NONE)
1394 case $nonopt in
1395 NONE) build_alias=$host_alias ;;
1396 *) build_alias=$nonopt ;;
1397 esac ;;
1398 esac
1400 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1401 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1402 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1403 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1404 echo "$ac_t""$build" 1>&6
1406 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1407 if test "${with_gnu_ld+set}" = set; then
1408 withval="$with_gnu_ld"
1409 test "$withval" = no || with_gnu_ld=yes
1410 else
1411 with_gnu_ld=no
1414 ac_prog=ld
1415 if test "$GCC" = yes; then
1416 # Check if gcc -print-prog-name=ld gives a path.
1417 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1418 echo "configure:1419: checking for ld used by GCC" >&5
1419 case $host in
1420 *-*-mingw*)
1421 # gcc leaves a trailing carriage return which upsets mingw
1422 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1424 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1425 esac
1426 case $ac_prog in
1427 # Accept absolute paths.
1428 [\\/]* | [A-Za-z]:[\\/]*)
1429 re_direlt='/[^/][^/]*/\.\./'
1430 # Canonicalize the path of ld
1431 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1432 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1433 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1434 done
1435 test -z "$LD" && LD="$ac_prog"
1438 # If it fails, then pretend we aren't using GCC.
1439 ac_prog=ld
1442 # If it is relative, then search for the first ld in PATH.
1443 with_gnu_ld=unknown
1445 esac
1446 elif test "$with_gnu_ld" = yes; then
1447 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1448 echo "configure:1449: checking for GNU ld" >&5
1449 else
1450 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1451 echo "configure:1452: checking for non-GNU ld" >&5
1453 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1454 echo $ac_n "(cached) $ac_c" 1>&6
1455 else
1456 if test -z "$LD"; then
1457 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1458 for ac_dir in $PATH; do
1459 test -z "$ac_dir" && ac_dir=.
1460 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1461 lt_cv_path_LD="$ac_dir/$ac_prog"
1462 # Check to see if the program is GNU ld. I'd rather use --version,
1463 # but apparently some GNU ld's only accept -v.
1464 # Break only if it was the GNU/non-GNU ld that we prefer.
1465 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1466 test "$with_gnu_ld" != no && break
1467 else
1468 test "$with_gnu_ld" != yes && break
1471 done
1472 IFS="$ac_save_ifs"
1473 else
1474 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1478 LD="$lt_cv_path_LD"
1479 if test -n "$LD"; then
1480 echo "$ac_t""$LD" 1>&6
1481 else
1482 echo "$ac_t""no" 1>&6
1484 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1485 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1486 echo "configure:1487: checking if the linker ($LD) is GNU ld" >&5
1487 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1488 echo $ac_n "(cached) $ac_c" 1>&6
1489 else
1490 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1491 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1492 lt_cv_prog_gnu_ld=yes
1493 else
1494 lt_cv_prog_gnu_ld=no
1498 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1499 with_gnu_ld=$lt_cv_prog_gnu_ld
1502 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1503 echo "configure:1504: checking for $LD option to reload object files" >&5
1504 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1505 echo $ac_n "(cached) $ac_c" 1>&6
1506 else
1507 lt_cv_ld_reload_flag='-r'
1510 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1511 reload_flag=$lt_cv_ld_reload_flag
1512 test -n "$reload_flag" && reload_flag=" $reload_flag"
1514 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1515 echo "configure:1516: checking for BSD-compatible nm" >&5
1516 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1517 echo $ac_n "(cached) $ac_c" 1>&6
1518 else
1519 if test -n "$NM"; then
1520 # Let the user override the test.
1521 lt_cv_path_NM="$NM"
1522 else
1523 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1524 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1525 test -z "$ac_dir" && ac_dir=.
1526 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1527 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1528 # Check to see if the nm accepts a BSD-compat flag.
1529 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1530 # nm: unknown option "B" ignored
1531 # Tru64's nm complains that /dev/null is an invalid object file
1532 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1533 lt_cv_path_NM="$tmp_nm -B"
1534 break
1535 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1536 lt_cv_path_NM="$tmp_nm -p"
1537 break
1538 else
1539 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1540 continue # so that we can try to find one that supports BSD flags
1543 done
1544 IFS="$ac_save_ifs"
1545 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1549 NM="$lt_cv_path_NM"
1550 echo "$ac_t""$NM" 1>&6
1552 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1553 echo "configure:1554: checking whether ln -s works" >&5
1554 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1555 echo $ac_n "(cached) $ac_c" 1>&6
1556 else
1557 rm -f conftestdata
1558 if ln -s X conftestdata 2>/dev/null
1559 then
1560 rm -f conftestdata
1561 ac_cv_prog_LN_S="ln -s"
1562 else
1563 ac_cv_prog_LN_S=ln
1566 LN_S="$ac_cv_prog_LN_S"
1567 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1568 echo "$ac_t""yes" 1>&6
1569 else
1570 echo "$ac_t""no" 1>&6
1573 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
1574 echo "configure:1575: checking how to recognise dependant libraries" >&5
1575 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1576 echo $ac_n "(cached) $ac_c" 1>&6
1577 else
1578 lt_cv_file_magic_cmd='$MAGIC_CMD'
1579 lt_cv_file_magic_test_file=
1580 lt_cv_deplibs_check_method='unknown'
1581 # Need to set the preceding variable on all platforms that support
1582 # interlibrary dependencies.
1583 # 'none' -- dependencies not supported.
1584 # `unknown' -- same as none, but documents that we really don't know.
1585 # 'pass_all' -- all dependencies passed with no checks.
1586 # 'test_compile' -- check by making test program.
1587 # 'file_magic [regex]' -- check by looking for files in library path
1588 # which responds to the $file_magic_cmd with a given egrep regex.
1589 # If you have `file' or equivalent on your system and you're not sure
1590 # whether `pass_all' will *always* work, you probably want this one.
1592 case $host_os in
1593 aix*)
1594 lt_cv_deplibs_check_method=pass_all
1597 beos*)
1598 lt_cv_deplibs_check_method=pass_all
1601 bsdi4*)
1602 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1603 lt_cv_file_magic_cmd='/usr/bin/file -L'
1604 lt_cv_file_magic_test_file=/shlib/libc.so
1607 cygwin* | mingw* |pw32*)
1608 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1609 lt_cv_file_magic_cmd='$OBJDUMP -f'
1612 darwin* | rhapsody*)
1613 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1614 lt_cv_file_magic_cmd='/usr/bin/file -L'
1615 case "$host_os" in
1616 rhapsody* | darwin1.012)
1617 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1619 *) # Darwin 1.3 on
1620 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1622 esac
1625 freebsd* )
1626 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1627 case $host_cpu in
1628 i*86 )
1629 # Not sure whether the presence of OpenBSD here was a mistake.
1630 # Let's accept both of them until this is cleared up.
1631 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1632 lt_cv_file_magic_cmd=/usr/bin/file
1633 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1635 esac
1636 else
1637 lt_cv_deplibs_check_method=pass_all
1641 gnu*)
1642 lt_cv_deplibs_check_method=pass_all
1645 hpux10.20*|hpux11*)
1646 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1647 lt_cv_file_magic_cmd=/usr/bin/file
1648 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1651 irix5* | irix6*)
1652 case $host_os in
1653 irix5*)
1654 # this will be overridden with pass_all, but let us keep it just in case
1655 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
1658 case $LD in
1659 *-32|*"-32 ") libmagic=32-bit;;
1660 *-n32|*"-n32 ") libmagic=N32;;
1661 *-64|*"-64 ") libmagic=64-bit;;
1662 *) libmagic=never-match;;
1663 esac
1664 # this will be overridden with pass_all, but let us keep it just in case
1665 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
1667 esac
1668 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1669 lt_cv_deplibs_check_method=pass_all
1672 # This must be Linux ELF.
1673 linux-gnu*)
1674 case $host_cpu in
1675 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1676 lt_cv_deplibs_check_method=pass_all ;;
1678 # glibc up to 2.1.1 does not perform some relocations on ARM
1679 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1680 esac
1681 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1684 netbsd*)
1685 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1686 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1687 else
1688 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1692 newsos6)
1693 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1694 lt_cv_file_magic_cmd=/usr/bin/file
1695 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1698 osf3* | osf4* | osf5*)
1699 # this will be overridden with pass_all, but let us keep it just in case
1700 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1701 lt_cv_file_magic_test_file=/shlib/libc.so
1702 lt_cv_deplibs_check_method=pass_all
1705 sco3.2v5*)
1706 lt_cv_deplibs_check_method=pass_all
1709 solaris*)
1710 lt_cv_deplibs_check_method=pass_all
1711 lt_cv_file_magic_test_file=/lib/libc.so
1714 sysv5uw[78]* | sysv4*uw2*)
1715 lt_cv_deplibs_check_method=pass_all
1718 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1719 case $host_vendor in
1720 ncr)
1721 lt_cv_deplibs_check_method=pass_all
1723 motorola)
1724 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]'
1725 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1727 esac
1729 esac
1733 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1734 file_magic_cmd=$lt_cv_file_magic_cmd
1735 deplibs_check_method=$lt_cv_deplibs_check_method
1737 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1738 echo "configure:1739: checking for object suffix" >&5
1739 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1740 echo $ac_n "(cached) $ac_c" 1>&6
1741 else
1742 rm -f conftest*
1743 echo 'int i = 1;' > conftest.$ac_ext
1744 if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1745 for ac_file in conftest.*; do
1746 case $ac_file in
1747 *.c) ;;
1748 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1749 esac
1750 done
1751 else
1752 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1754 rm -f conftest*
1757 echo "$ac_t""$ac_cv_objext" 1>&6
1758 OBJEXT=$ac_cv_objext
1759 ac_objext=$ac_cv_objext
1761 if test $host != $build; then
1762 ac_tool_prefix=${host_alias}-
1763 else
1764 ac_tool_prefix=
1767 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1769 # Only perform the check for file, if the check method requires it
1770 case $deplibs_check_method in
1771 file_magic*)
1772 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1773 echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
1774 echo "configure:1775: checking for ${ac_tool_prefix}file" >&5
1775 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1776 echo $ac_n "(cached) $ac_c" 1>&6
1777 else
1778 case $MAGIC_CMD in
1780 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1782 ?:/*)
1783 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1786 ac_save_MAGIC_CMD="$MAGIC_CMD"
1787 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1788 ac_dummy="/usr/bin:$PATH"
1789 for ac_dir in $ac_dummy; do
1790 test -z "$ac_dir" && ac_dir=.
1791 if test -f $ac_dir/${ac_tool_prefix}file; then
1792 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1793 if test -n "$file_magic_test_file"; then
1794 case $deplibs_check_method in
1795 "file_magic "*)
1796 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1797 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1798 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1799 egrep "$file_magic_regex" > /dev/null; then
1801 else
1802 cat <<EOF 1>&2
1804 *** Warning: the command libtool uses to detect shared libraries,
1805 *** $file_magic_cmd, produces output that libtool cannot recognize.
1806 *** The result is that libtool may fail to recognize shared libraries
1807 *** as such. This will affect the creation of libtool libraries that
1808 *** depend on shared libraries, but programs linked with such libtool
1809 *** libraries will work regardless of this problem. Nevertheless, you
1810 *** may want to report the problem to your system manager and/or to
1811 *** bug-libtool@gnu.org
1814 fi ;;
1815 esac
1817 break
1819 done
1820 IFS="$ac_save_ifs"
1821 MAGIC_CMD="$ac_save_MAGIC_CMD"
1823 esac
1826 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1827 if test -n "$MAGIC_CMD"; then
1828 echo "$ac_t""$MAGIC_CMD" 1>&6
1829 else
1830 echo "$ac_t""no" 1>&6
1833 if test -z "$lt_cv_path_MAGIC_CMD"; then
1834 if test -n "$ac_tool_prefix"; then
1835 echo $ac_n "checking for file""... $ac_c" 1>&6
1836 echo "configure:1837: checking for file" >&5
1837 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1838 echo $ac_n "(cached) $ac_c" 1>&6
1839 else
1840 case $MAGIC_CMD in
1842 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1844 ?:/*)
1845 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1848 ac_save_MAGIC_CMD="$MAGIC_CMD"
1849 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1850 ac_dummy="/usr/bin:$PATH"
1851 for ac_dir in $ac_dummy; do
1852 test -z "$ac_dir" && ac_dir=.
1853 if test -f $ac_dir/file; then
1854 lt_cv_path_MAGIC_CMD="$ac_dir/file"
1855 if test -n "$file_magic_test_file"; then
1856 case $deplibs_check_method in
1857 "file_magic "*)
1858 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1859 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1860 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1861 egrep "$file_magic_regex" > /dev/null; then
1863 else
1864 cat <<EOF 1>&2
1866 *** Warning: the command libtool uses to detect shared libraries,
1867 *** $file_magic_cmd, produces output that libtool cannot recognize.
1868 *** The result is that libtool may fail to recognize shared libraries
1869 *** as such. This will affect the creation of libtool libraries that
1870 *** depend on shared libraries, but programs linked with such libtool
1871 *** libraries will work regardless of this problem. Nevertheless, you
1872 *** may want to report the problem to your system manager and/or to
1873 *** bug-libtool@gnu.org
1876 fi ;;
1877 esac
1879 break
1881 done
1882 IFS="$ac_save_ifs"
1883 MAGIC_CMD="$ac_save_MAGIC_CMD"
1885 esac
1888 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1889 if test -n "$MAGIC_CMD"; then
1890 echo "$ac_t""$MAGIC_CMD" 1>&6
1891 else
1892 echo "$ac_t""no" 1>&6
1895 else
1896 MAGIC_CMD=:
1902 esac
1904 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1905 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1907 echo "configure:1908: checking for $ac_word" >&5
1908 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1909 echo $ac_n "(cached) $ac_c" 1>&6
1910 else
1911 if test -n "$RANLIB"; then
1912 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1913 else
1914 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1915 ac_dummy="$PATH"
1916 for ac_dir in $ac_dummy; do
1917 test -z "$ac_dir" && ac_dir=.
1918 if test -f $ac_dir/$ac_word; then
1919 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1920 break
1922 done
1923 IFS="$ac_save_ifs"
1926 RANLIB="$ac_cv_prog_RANLIB"
1927 if test -n "$RANLIB"; then
1928 echo "$ac_t""$RANLIB" 1>&6
1929 else
1930 echo "$ac_t""no" 1>&6
1934 if test -z "$ac_cv_prog_RANLIB"; then
1935 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "ranlib", so it can be a program name with args.
1937 set dummy ranlib; ac_word=$2
1938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1939 echo "configure:1940: checking for $ac_word" >&5
1940 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1941 echo $ac_n "(cached) $ac_c" 1>&6
1942 else
1943 if test -n "$RANLIB"; then
1944 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1945 else
1946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1947 ac_dummy="$PATH"
1948 for ac_dir in $ac_dummy; do
1949 test -z "$ac_dir" && ac_dir=.
1950 if test -f $ac_dir/$ac_word; then
1951 ac_cv_prog_RANLIB="ranlib"
1952 break
1954 done
1955 IFS="$ac_save_ifs"
1956 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1959 RANLIB="$ac_cv_prog_RANLIB"
1960 if test -n "$RANLIB"; then
1961 echo "$ac_t""$RANLIB" 1>&6
1962 else
1963 echo "$ac_t""no" 1>&6
1966 else
1967 RANLIB=":"
1971 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1972 set dummy ${ac_tool_prefix}strip; ac_word=$2
1973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1974 echo "configure:1975: checking for $ac_word" >&5
1975 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1976 echo $ac_n "(cached) $ac_c" 1>&6
1977 else
1978 if test -n "$STRIP"; then
1979 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1980 else
1981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1982 ac_dummy="$PATH"
1983 for ac_dir in $ac_dummy; do
1984 test -z "$ac_dir" && ac_dir=.
1985 if test -f $ac_dir/$ac_word; then
1986 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1987 break
1989 done
1990 IFS="$ac_save_ifs"
1993 STRIP="$ac_cv_prog_STRIP"
1994 if test -n "$STRIP"; then
1995 echo "$ac_t""$STRIP" 1>&6
1996 else
1997 echo "$ac_t""no" 1>&6
2001 if test -z "$ac_cv_prog_STRIP"; then
2002 if test -n "$ac_tool_prefix"; then
2003 # Extract the first word of "strip", so it can be a program name with args.
2004 set dummy strip; ac_word=$2
2005 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2006 echo "configure:2007: checking for $ac_word" >&5
2007 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2008 echo $ac_n "(cached) $ac_c" 1>&6
2009 else
2010 if test -n "$STRIP"; then
2011 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2012 else
2013 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2014 ac_dummy="$PATH"
2015 for ac_dir in $ac_dummy; do
2016 test -z "$ac_dir" && ac_dir=.
2017 if test -f $ac_dir/$ac_word; then
2018 ac_cv_prog_STRIP="strip"
2019 break
2021 done
2022 IFS="$ac_save_ifs"
2023 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2026 STRIP="$ac_cv_prog_STRIP"
2027 if test -n "$STRIP"; then
2028 echo "$ac_t""$STRIP" 1>&6
2029 else
2030 echo "$ac_t""no" 1>&6
2033 else
2034 STRIP=":"
2039 # Check for any special flags to pass to ltconfig.
2040 libtool_flags="--cache-file=$cache_file"
2041 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2042 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2043 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2044 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2045 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2047 libtool_flags="$libtool_flags --enable-win32-dll"
2048 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2049 if test "${enable_libtool_lock+set}" = set; then
2050 enableval="$enable_libtool_lock"
2054 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2055 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2057 # Check whether --with-pic or --without-pic was given.
2058 if test "${with_pic+set}" = set; then
2059 withval="$with_pic"
2060 pic_mode="$withval"
2061 else
2062 pic_mode=default
2065 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2066 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2068 # Some flags need to be propagated to the compiler or linker for good
2069 # libtool support.
2070 case $host in
2071 *-*-irix6*)
2072 # Find out which ABI we are using.
2073 echo '#line 2074 "configure"' > conftest.$ac_ext
2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2075 case `/usr/bin/file conftest.$ac_objext` in
2076 *32-bit*)
2077 LD="${LD-ld} -32"
2079 *N32*)
2080 LD="${LD-ld} -n32"
2082 *64-bit*)
2083 LD="${LD-ld} -64"
2085 esac
2087 rm -rf conftest*
2090 *-*-sco3.2v5*)
2091 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2092 SAVE_CFLAGS="$CFLAGS"
2093 CFLAGS="$CFLAGS -belf"
2094 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2095 echo "configure:2096: checking whether the C compiler needs -belf" >&5
2096 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2097 echo $ac_n "(cached) $ac_c" 1>&6
2098 else
2100 ac_ext=c
2101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2102 ac_cpp='$CPP $CPPFLAGS'
2103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2105 cross_compiling=$ac_cv_prog_cc_cross
2107 cat > conftest.$ac_ext <<EOF
2108 #line 2109 "configure"
2109 #include "confdefs.h"
2111 int main() {
2113 ; return 0; }
2115 if { (eval echo configure:2116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2116 rm -rf conftest*
2117 lt_cv_cc_needs_belf=yes
2118 else
2119 echo "configure: failed program was:" >&5
2120 cat conftest.$ac_ext >&5
2121 rm -rf conftest*
2122 lt_cv_cc_needs_belf=no
2124 rm -f conftest*
2125 ac_ext=c
2126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2127 ac_cpp='$CPP $CPPFLAGS'
2128 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2129 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2130 cross_compiling=$ac_cv_prog_cc_cross
2134 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2135 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2136 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2137 CFLAGS="$SAVE_CFLAGS"
2141 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
2142 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2144 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2145 echo "configure:2146: checking for $ac_word" >&5
2146 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2147 echo $ac_n "(cached) $ac_c" 1>&6
2148 else
2149 if test -n "$DLLTOOL"; then
2150 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2151 else
2152 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2153 ac_dummy="$PATH"
2154 for ac_dir in $ac_dummy; do
2155 test -z "$ac_dir" && ac_dir=.
2156 if test -f $ac_dir/$ac_word; then
2157 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
2158 break
2160 done
2161 IFS="$ac_save_ifs"
2164 DLLTOOL="$ac_cv_prog_DLLTOOL"
2165 if test -n "$DLLTOOL"; then
2166 echo "$ac_t""$DLLTOOL" 1>&6
2167 else
2168 echo "$ac_t""no" 1>&6
2172 if test -z "$ac_cv_prog_DLLTOOL"; then
2173 if test -n "$ac_tool_prefix"; then
2174 # Extract the first word of "dlltool", so it can be a program name with args.
2175 set dummy dlltool; ac_word=$2
2176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2177 echo "configure:2178: checking for $ac_word" >&5
2178 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2179 echo $ac_n "(cached) $ac_c" 1>&6
2180 else
2181 if test -n "$DLLTOOL"; then
2182 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2183 else
2184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2185 ac_dummy="$PATH"
2186 for ac_dir in $ac_dummy; do
2187 test -z "$ac_dir" && ac_dir=.
2188 if test -f $ac_dir/$ac_word; then
2189 ac_cv_prog_DLLTOOL="dlltool"
2190 break
2192 done
2193 IFS="$ac_save_ifs"
2194 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
2197 DLLTOOL="$ac_cv_prog_DLLTOOL"
2198 if test -n "$DLLTOOL"; then
2199 echo "$ac_t""$DLLTOOL" 1>&6
2200 else
2201 echo "$ac_t""no" 1>&6
2204 else
2205 DLLTOOL="false"
2209 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2210 set dummy ${ac_tool_prefix}as; ac_word=$2
2211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2212 echo "configure:2213: checking for $ac_word" >&5
2213 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2214 echo $ac_n "(cached) $ac_c" 1>&6
2215 else
2216 if test -n "$AS"; then
2217 ac_cv_prog_AS="$AS" # Let the user override the test.
2218 else
2219 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2220 ac_dummy="$PATH"
2221 for ac_dir in $ac_dummy; do
2222 test -z "$ac_dir" && ac_dir=.
2223 if test -f $ac_dir/$ac_word; then
2224 ac_cv_prog_AS="${ac_tool_prefix}as"
2225 break
2227 done
2228 IFS="$ac_save_ifs"
2231 AS="$ac_cv_prog_AS"
2232 if test -n "$AS"; then
2233 echo "$ac_t""$AS" 1>&6
2234 else
2235 echo "$ac_t""no" 1>&6
2239 if test -z "$ac_cv_prog_AS"; then
2240 if test -n "$ac_tool_prefix"; then
2241 # Extract the first word of "as", so it can be a program name with args.
2242 set dummy as; ac_word=$2
2243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2244 echo "configure:2245: checking for $ac_word" >&5
2245 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2246 echo $ac_n "(cached) $ac_c" 1>&6
2247 else
2248 if test -n "$AS"; then
2249 ac_cv_prog_AS="$AS" # Let the user override the test.
2250 else
2251 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2252 ac_dummy="$PATH"
2253 for ac_dir in $ac_dummy; do
2254 test -z "$ac_dir" && ac_dir=.
2255 if test -f $ac_dir/$ac_word; then
2256 ac_cv_prog_AS="as"
2257 break
2259 done
2260 IFS="$ac_save_ifs"
2261 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
2264 AS="$ac_cv_prog_AS"
2265 if test -n "$AS"; then
2266 echo "$ac_t""$AS" 1>&6
2267 else
2268 echo "$ac_t""no" 1>&6
2271 else
2272 AS="false"
2276 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2277 set dummy ${ac_tool_prefix}objdump; ac_word=$2
2278 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2279 echo "configure:2280: checking for $ac_word" >&5
2280 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2281 echo $ac_n "(cached) $ac_c" 1>&6
2282 else
2283 if test -n "$OBJDUMP"; then
2284 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2285 else
2286 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2287 ac_dummy="$PATH"
2288 for ac_dir in $ac_dummy; do
2289 test -z "$ac_dir" && ac_dir=.
2290 if test -f $ac_dir/$ac_word; then
2291 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
2292 break
2294 done
2295 IFS="$ac_save_ifs"
2298 OBJDUMP="$ac_cv_prog_OBJDUMP"
2299 if test -n "$OBJDUMP"; then
2300 echo "$ac_t""$OBJDUMP" 1>&6
2301 else
2302 echo "$ac_t""no" 1>&6
2306 if test -z "$ac_cv_prog_OBJDUMP"; then
2307 if test -n "$ac_tool_prefix"; then
2308 # Extract the first word of "objdump", so it can be a program name with args.
2309 set dummy objdump; ac_word=$2
2310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2311 echo "configure:2312: checking for $ac_word" >&5
2312 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2313 echo $ac_n "(cached) $ac_c" 1>&6
2314 else
2315 if test -n "$OBJDUMP"; then
2316 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2317 else
2318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2319 ac_dummy="$PATH"
2320 for ac_dir in $ac_dummy; do
2321 test -z "$ac_dir" && ac_dir=.
2322 if test -f $ac_dir/$ac_word; then
2323 ac_cv_prog_OBJDUMP="objdump"
2324 break
2326 done
2327 IFS="$ac_save_ifs"
2328 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
2331 OBJDUMP="$ac_cv_prog_OBJDUMP"
2332 if test -n "$OBJDUMP"; then
2333 echo "$ac_t""$OBJDUMP" 1>&6
2334 else
2335 echo "$ac_t""no" 1>&6
2338 else
2339 OBJDUMP="false"
2344 # recent cygwin and mingw systems supply a stub DllMain which the user
2345 # can override, but on older systems we have to supply one
2346 echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2347 echo "configure:2348: checking if libtool should supply DllMain function" >&5
2348 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2349 echo $ac_n "(cached) $ac_c" 1>&6
2350 else
2351 cat > conftest.$ac_ext <<EOF
2352 #line 2353 "configure"
2353 #include "confdefs.h"
2355 int main() {
2356 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2357 DllMain (0, 0, 0);
2358 ; return 0; }
2360 if { (eval echo configure:2361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2361 rm -rf conftest*
2362 lt_cv_need_dllmain=no
2363 else
2364 echo "configure: failed program was:" >&5
2365 cat conftest.$ac_ext >&5
2366 rm -rf conftest*
2367 lt_cv_need_dllmain=yes
2369 rm -f conftest*
2372 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2374 case $host/$CC in
2375 *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
2376 # old mingw systems require "-dll" to link a DLL, while more recent ones
2377 # require "-mdll"
2378 SAVE_CFLAGS="$CFLAGS"
2379 CFLAGS="$CFLAGS -mdll"
2380 echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2381 echo "configure:2382: checking how to link DLLs" >&5
2382 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2383 echo $ac_n "(cached) $ac_c" 1>&6
2384 else
2385 cat > conftest.$ac_ext <<EOF
2386 #line 2387 "configure"
2387 #include "confdefs.h"
2389 int main() {
2391 ; return 0; }
2393 if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2394 rm -rf conftest*
2395 lt_cv_cc_dll_switch=-mdll
2396 else
2397 echo "configure: failed program was:" >&5
2398 cat conftest.$ac_ext >&5
2399 rm -rf conftest*
2400 lt_cv_cc_dll_switch=-dll
2402 rm -f conftest*
2405 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2406 CFLAGS="$SAVE_CFLAGS" ;;
2407 *-*-cygwin* | *-*-pw32*)
2408 # cygwin systems need to pass --dll to the linker, and not link
2409 # crt.o which will require a WinMain@16 definition.
2410 lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
2411 esac
2414 esac
2417 # Save cache, so that ltconfig can load it
2418 cat > confcache <<\EOF
2419 # This file is a shell script that caches the results of configure
2420 # tests run on this system so they can be shared between configure
2421 # scripts and configure runs. It is not useful on other systems.
2422 # If it contains results you don't want to keep, you may remove or edit it.
2424 # By default, configure uses ./config.cache as the cache file,
2425 # creating it if it does not exist already. You can give configure
2426 # the --cache-file=FILE option to use a different cache file; that is
2427 # what configure does when it calls configure scripts in
2428 # subdirectories, so they share the cache.
2429 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2430 # config.status only pays attention to the cache file if you give it the
2431 # --recheck option to rerun configure.
2434 # The following way of writing the cache mishandles newlines in values,
2435 # but we know of no workaround that is simple, portable, and efficient.
2436 # So, don't put newlines in cache variables' values.
2437 # Ultrix sh set writes to stderr and can't be redirected directly,
2438 # and sets the high bit in the cache file unless we assign to the vars.
2439 (set) 2>&1 |
2440 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2441 *ac_space=\ *)
2442 # `set' does not quote correctly, so add quotes (double-quote substitution
2443 # turns \\\\ into \\, and sed turns \\ into \).
2444 sed -n \
2445 -e "s/'/'\\\\''/g" \
2446 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2449 # `set' quotes correctly as required by POSIX, so do not add quotes.
2450 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2452 esac >> confcache
2453 if cmp -s $cache_file confcache; then
2455 else
2456 if test -w $cache_file; then
2457 echo "updating cache $cache_file"
2458 cat confcache > $cache_file
2459 else
2460 echo "not updating unwritable cache $cache_file"
2463 rm -f confcache
2466 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2467 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2468 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2469 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2470 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2471 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2472 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2473 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2474 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2475 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2477 # Reload cache, that may have been modified by ltconfig
2478 if test -r "$cache_file"; then
2479 echo "loading cache $cache_file"
2480 . $cache_file
2481 else
2482 echo "creating cache $cache_file"
2483 > $cache_file
2487 # This can be used to rebuild libtool when needed
2488 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2490 # Always use our own libtool.
2491 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2493 # Redirect the config.log output again, so that the ltconfig log is not
2494 # clobbered by the next message.
2495 exec 5>>./config.log
2503 # Check whether --enable-objc-gc or --disable-objc-gc was given.
2504 if test "${enable_objc_gc+set}" = set; then
2505 enableval="$enable_objc_gc"
2506 if [ x$enable_objc_gc = xno ]; then
2507 OBJC_BOEHM_GC=''
2508 else
2509 OBJC_BOEHM_GC=libobjc_gc.la
2511 else
2512 OBJC_BOEHM_GC=''
2518 # We need multilib support, but only if configuring for the target.
2519 trap '' 1 2 15
2520 cat > confcache <<\EOF
2521 # This file is a shell script that caches the results of configure
2522 # tests run on this system so they can be shared between configure
2523 # scripts and configure runs. It is not useful on other systems.
2524 # If it contains results you don't want to keep, you may remove or edit it.
2526 # By default, configure uses ./config.cache as the cache file,
2527 # creating it if it does not exist already. You can give configure
2528 # the --cache-file=FILE option to use a different cache file; that is
2529 # what configure does when it calls configure scripts in
2530 # subdirectories, so they share the cache.
2531 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2532 # config.status only pays attention to the cache file if you give it the
2533 # --recheck option to rerun configure.
2536 # The following way of writing the cache mishandles newlines in values,
2537 # but we know of no workaround that is simple, portable, and efficient.
2538 # So, don't put newlines in cache variables' values.
2539 # Ultrix sh set writes to stderr and can't be redirected directly,
2540 # and sets the high bit in the cache file unless we assign to the vars.
2541 (set) 2>&1 |
2542 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2543 *ac_space=\ *)
2544 # `set' does not quote correctly, so add quotes (double-quote substitution
2545 # turns \\\\ into \\, and sed turns \\ into \).
2546 sed -n \
2547 -e "s/'/'\\\\''/g" \
2548 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2551 # `set' quotes correctly as required by POSIX, so do not add quotes.
2552 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2554 esac >> confcache
2555 if cmp -s $cache_file confcache; then
2557 else
2558 if test -w $cache_file; then
2559 echo "updating cache $cache_file"
2560 cat confcache > $cache_file
2561 else
2562 echo "not updating unwritable cache $cache_file"
2565 rm -f confcache
2567 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2569 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2570 # Let make expand exec_prefix.
2571 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2573 # Any assignment to VPATH causes Sun make to only execute
2574 # the first set of double-colon rules, so remove it if not needed.
2575 # If there is a colon in the path, we need to keep it.
2576 if test "x$srcdir" = x.; then
2577 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2580 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2582 DEFS=-DHAVE_CONFIG_H
2584 # Without the "./", some shells look in PATH for config.status.
2585 : ${CONFIG_STATUS=./config.status}
2587 echo creating $CONFIG_STATUS
2588 rm -f $CONFIG_STATUS
2589 cat > $CONFIG_STATUS <<EOF
2590 #! /bin/sh
2591 # Generated automatically by configure.
2592 # Run this file to recreate the current configuration.
2593 # This directory was configured as follows,
2594 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2596 # $0 $ac_configure_args
2598 # Compiler output produced by configure, useful for debugging
2599 # configure, is in ./config.log if it exists.
2601 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2602 for ac_option
2604 case "\$ac_option" in
2605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2606 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2607 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2608 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2609 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2610 exit 0 ;;
2611 -help | --help | --hel | --he | --h)
2612 echo "\$ac_cs_usage"; exit 0 ;;
2613 *) echo "\$ac_cs_usage"; exit 1 ;;
2614 esac
2615 done
2617 ac_given_srcdir=$srcdir
2618 ac_given_INSTALL="$INSTALL"
2620 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2622 cat >> $CONFIG_STATUS <<EOF
2624 # Protect against being on the right side of a sed subst in config.status.
2625 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2626 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2627 $ac_vpsub
2628 $extrasub
2629 s%@SHELL@%$SHELL%g
2630 s%@CFLAGS@%$CFLAGS%g
2631 s%@CPPFLAGS@%$CPPFLAGS%g
2632 s%@CXXFLAGS@%$CXXFLAGS%g
2633 s%@FFLAGS@%$FFLAGS%g
2634 s%@DEFS@%$DEFS%g
2635 s%@LDFLAGS@%$LDFLAGS%g
2636 s%@LIBS@%$LIBS%g
2637 s%@exec_prefix@%$exec_prefix%g
2638 s%@prefix@%$prefix%g
2639 s%@program_transform_name@%$program_transform_name%g
2640 s%@bindir@%$bindir%g
2641 s%@sbindir@%$sbindir%g
2642 s%@libexecdir@%$libexecdir%g
2643 s%@datadir@%$datadir%g
2644 s%@sysconfdir@%$sysconfdir%g
2645 s%@sharedstatedir@%$sharedstatedir%g
2646 s%@localstatedir@%$localstatedir%g
2647 s%@libdir@%$libdir%g
2648 s%@includedir@%$includedir%g
2649 s%@oldincludedir@%$oldincludedir%g
2650 s%@infodir@%$infodir%g
2651 s%@mandir@%$mandir%g
2652 s%@CC@%$CC%g
2653 s%@AR@%$AR%g
2654 s%@RANLIB@%$RANLIB%g
2655 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2656 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2657 s%@INSTALL_DATA@%$INSTALL_DATA%g
2658 s%@EXEEXT@%$EXEEXT%g
2659 s%@CPP@%$CPP%g
2660 s%@GTHREAD_FLAGS@%$GTHREAD_FLAGS%g
2661 s%@host@%$host%g
2662 s%@host_alias@%$host_alias%g
2663 s%@host_cpu@%$host_cpu%g
2664 s%@host_vendor@%$host_vendor%g
2665 s%@host_os@%$host_os%g
2666 s%@build@%$build%g
2667 s%@build_alias@%$build_alias%g
2668 s%@build_cpu@%$build_cpu%g
2669 s%@build_vendor@%$build_vendor%g
2670 s%@build_os@%$build_os%g
2671 s%@LN_S@%$LN_S%g
2672 s%@OBJEXT@%$OBJEXT%g
2673 s%@STRIP@%$STRIP%g
2674 s%@DLLTOOL@%$DLLTOOL%g
2675 s%@AS@%$AS%g
2676 s%@OBJDUMP@%$OBJDUMP%g
2677 s%@LIBTOOL@%$LIBTOOL%g
2678 s%@OBJC_BOEHM_GC@%$OBJC_BOEHM_GC%g
2680 CEOF
2683 cat >> $CONFIG_STATUS <<\EOF
2685 # Split the substitutions into bite-sized pieces for seds with
2686 # small command number limits, like on Digital OSF/1 and HP-UX.
2687 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2688 ac_file=1 # Number of current file.
2689 ac_beg=1 # First line for current file.
2690 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2691 ac_more_lines=:
2692 ac_sed_cmds=""
2693 while $ac_more_lines; do
2694 if test $ac_beg -gt 1; then
2695 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2696 else
2697 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2699 if test ! -s conftest.s$ac_file; then
2700 ac_more_lines=false
2701 rm -f conftest.s$ac_file
2702 else
2703 if test -z "$ac_sed_cmds"; then
2704 ac_sed_cmds="sed -f conftest.s$ac_file"
2705 else
2706 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2708 ac_file=`expr $ac_file + 1`
2709 ac_beg=$ac_end
2710 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2712 done
2713 if test -z "$ac_sed_cmds"; then
2714 ac_sed_cmds=cat
2718 cat >> $CONFIG_STATUS <<EOF
2720 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2722 cat >> $CONFIG_STATUS <<\EOF
2723 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2724 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2725 case "$ac_file" in
2726 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2727 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2728 *) ac_file_in="${ac_file}.in" ;;
2729 esac
2731 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2733 # Remove last slash and all that follows it. Not all systems have dirname.
2734 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2735 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2736 # The file is in a subdirectory.
2737 test ! -d "$ac_dir" && mkdir "$ac_dir"
2738 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2739 # A "../" for each directory in $ac_dir_suffix.
2740 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2741 else
2742 ac_dir_suffix= ac_dots=
2745 case "$ac_given_srcdir" in
2746 .) srcdir=.
2747 if test -z "$ac_dots"; then top_srcdir=.
2748 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2749 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2750 *) # Relative path.
2751 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2752 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2753 esac
2755 case "$ac_given_INSTALL" in
2756 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2757 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2758 esac
2760 echo creating "$ac_file"
2761 rm -f "$ac_file"
2762 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2763 case "$ac_file" in
2764 *Makefile*) ac_comsub="1i\\
2765 # $configure_input" ;;
2766 *) ac_comsub= ;;
2767 esac
2769 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2770 sed -e "$ac_comsub
2771 s%@configure_input@%$configure_input%g
2772 s%@srcdir@%$srcdir%g
2773 s%@top_srcdir@%$top_srcdir%g
2774 s%@INSTALL@%$INSTALL%g
2775 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2776 fi; done
2777 rm -f conftest.s*
2779 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2780 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2782 # ac_d sets the value in "#define NAME VALUE" lines.
2783 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2784 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2785 ac_dC='\3'
2786 ac_dD='%g'
2787 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2788 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2789 ac_uB='\([ ]\)%\1#\2define\3'
2790 ac_uC=' '
2791 ac_uD='\4%g'
2792 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2793 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2794 ac_eB='$%\1#\2define\3'
2795 ac_eC=' '
2796 ac_eD='%g'
2798 if test "${CONFIG_HEADERS+set}" != set; then
2800 cat >> $CONFIG_STATUS <<EOF
2801 CONFIG_HEADERS="config.h"
2803 cat >> $CONFIG_STATUS <<\EOF
2805 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2806 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2807 case "$ac_file" in
2808 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2809 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2810 *) ac_file_in="${ac_file}.in" ;;
2811 esac
2813 echo creating $ac_file
2815 rm -f conftest.frag conftest.in conftest.out
2816 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2817 cat $ac_file_inputs > conftest.in
2821 # Transform confdefs.h into a sed script conftest.vals that substitutes
2822 # the proper values into config.h.in to produce config.h. And first:
2823 # Protect against being on the right side of a sed subst in config.status.
2824 # Protect against being in an unquoted here document in config.status.
2825 rm -f conftest.vals
2826 cat > conftest.hdr <<\EOF
2827 s/[\\&%]/\\&/g
2828 s%[\\$`]%\\&%g
2829 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2830 s%ac_d%ac_u%gp
2831 s%ac_u%ac_e%gp
2833 sed -n -f conftest.hdr confdefs.h > conftest.vals
2834 rm -f conftest.hdr
2836 # This sed command replaces #undef with comments. This is necessary, for
2837 # example, in the case of _POSIX_SOURCE, which is predefined and required
2838 # on some systems where configure will not decide to define it.
2839 cat >> conftest.vals <<\EOF
2840 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2843 # Break up conftest.vals because some shells have a limit on
2844 # the size of here documents, and old seds have small limits too.
2846 rm -f conftest.tail
2847 while :
2849 ac_lines=`grep -c . conftest.vals`
2850 # grep -c gives empty output for an empty file on some AIX systems.
2851 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2852 # Write a limited-size here document to conftest.frag.
2853 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2854 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2855 echo 'CEOF
2856 sed -f conftest.frag conftest.in > conftest.out
2857 rm -f conftest.in
2858 mv conftest.out conftest.in
2859 ' >> $CONFIG_STATUS
2860 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2861 rm -f conftest.vals
2862 mv conftest.tail conftest.vals
2863 done
2864 rm -f conftest.vals
2866 cat >> $CONFIG_STATUS <<\EOF
2867 rm -f conftest.frag conftest.h
2868 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2869 cat conftest.in >> conftest.h
2870 rm -f conftest.in
2871 if cmp -s $ac_file conftest.h 2>/dev/null; then
2872 echo "$ac_file is unchanged"
2873 rm -f conftest.h
2874 else
2875 # Remove last slash and all that follows it. Not all systems have dirname.
2876 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2877 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2878 # The file is in a subdirectory.
2879 test ! -d "$ac_dir" && mkdir "$ac_dir"
2881 rm -f $ac_file
2882 mv conftest.h $ac_file
2884 fi; done
2887 cat >> $CONFIG_STATUS <<EOF
2888 srcdir=${srcdir}
2889 host=${host}
2890 target=${target}
2891 with_target_subdir=${with_target_subdir}
2892 with_multisubdir=${with_multisubdir}
2893 ac_configure_args="--enable-multilib ${ac_configure_args}"
2894 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2895 topsrcdir=${topsrcdir}
2898 cat >> $CONFIG_STATUS <<\EOF
2899 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2900 if test -n "$CONFIG_FILES"; then
2901 if test -n "${with_target_subdir}"; then
2902 # FIXME: We shouldn't need to set ac_file
2903 ac_file=Makefile
2904 . ${topsrcdir}/config-ml.in
2907 exit 0
2909 chmod +x $CONFIG_STATUS
2910 rm -fr confdefs* $ac_clean_files
2911 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1