3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
24 --enable-shared[=PKGS] build shared libraries [default=yes]"
26 --enable-static[=PKGS] build static libraries [default=yes]"
28 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 --disable-libtool-lock avoid locking (might break parallel builds)"
34 --with-pic try to use only PIC/non-PIC objects [default=use both]"
36 # Initialize some variables set by options.
37 # The variables have the same names as the options, with
38 # dashes changed to underlines.
40 cache_file
=.
/config.cache
49 program_transform_name
=s
,x
,x
,
58 bindir
='${exec_prefix}/bin'
59 sbindir
='${exec_prefix}/sbin'
60 libexecdir
='${exec_prefix}/libexec'
61 datadir
='${prefix}/share'
62 sysconfdir
='${prefix}/etc'
63 sharedstatedir
='${prefix}/com'
64 localstatedir
='${prefix}/var'
65 libdir
='${exec_prefix}/lib'
66 includedir
='${prefix}/include'
67 oldincludedir
='/usr/include'
68 infodir
='${prefix}/info'
69 mandir
='${prefix}/man'
71 # Initialize some other variables.
74 SHELL
=${CONFIG_SHELL-/bin/sh}
75 # Maximum number of lines to put in a shell here document.
82 # If the previous option needs an argument, assign it.
83 if test -n "$ac_prev"; then
84 eval "$ac_prev=\$ac_option"
90 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
94 # Accept the important Cygnus configure options, so we can diagnose typos.
98 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
100 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
101 bindir
="$ac_optarg" ;;
103 -build |
--build |
--buil |
--bui |
--bu)
105 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
106 build
="$ac_optarg" ;;
108 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
109 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
110 ac_prev
=cache_file
;;
111 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
112 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
113 cache_file
="$ac_optarg" ;;
115 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
117 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
119 datadir
="$ac_optarg" ;;
121 -disable-* |
--disable-*)
122 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
123 # Reject names that are not valid shell variable names.
124 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
125 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
127 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
128 eval "enable_${ac_feature}=no" ;;
130 -enable-* |
--enable-*)
131 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
132 # Reject names that are not valid shell variable names.
133 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
134 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
136 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
141 eval "enable_${ac_feature}='$ac_optarg'" ;;
143 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
144 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
145 |
--exec |
--exe |
--ex)
146 ac_prev
=exec_prefix
;;
147 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
148 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
149 |
--exec=* |
--exe=* |
--ex=*)
150 exec_prefix
="$ac_optarg" ;;
152 -gas |
--gas |
--ga |
--g)
153 # Obsolete; use --with-gas.
156 -help |
--help |
--hel |
--he)
157 # Omit some internal or obsolete options to make the list less imposing.
158 # This message is too long to be a string in the A/UX 3.1 sh.
160 Usage: configure [options] [host]
161 Options: [defaults in brackets after descriptions]
163 --cache-file=FILE cache test results in FILE
164 --help print this message
165 --no-create do not create output files
166 --quiet, --silent do not print \`checking...' messages
167 --site-file=FILE use FILE as the site file
168 --version print the version of autoconf that created configure
169 Directory and file names:
170 --prefix=PREFIX install architecture-independent files in PREFIX
172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
174 --bindir=DIR user executables in DIR [EPREFIX/bin]
175 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
176 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
177 --datadir=DIR read-only architecture-independent data in DIR
179 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
180 --sharedstatedir=DIR modifiable architecture-independent data in DIR
182 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
183 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
184 --includedir=DIR C header files in DIR [PREFIX/include]
185 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
186 --infodir=DIR info documentation in DIR [PREFIX/info]
187 --mandir=DIR man documentation in DIR [PREFIX/man]
188 --srcdir=DIR find the sources in DIR [configure dir or ..]
189 --program-prefix=PREFIX prepend PREFIX to installed program names
190 --program-suffix=SUFFIX append SUFFIX to installed program names
191 --program-transform-name=PROGRAM
192 run sed PROGRAM on installed program names
196 --build=BUILD configure for building on BUILD [BUILD=HOST]
197 --host=HOST configure for HOST [guessed]
198 --target=TARGET configure for TARGET [TARGET=HOST]
199 Features and packages:
200 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
201 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
202 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
203 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
204 --x-includes=DIR X include files are in DIR
205 --x-libraries=DIR X library files are in DIR
207 if test -n "$ac_help"; then
208 echo "--enable and --with options recognized:$ac_help"
212 -host |
--host |
--hos |
--ho)
214 -host=* |
--host=* |
--hos=* |
--ho=*)
217 -includedir |
--includedir |
--includedi |
--included |
--include \
218 |
--includ |
--inclu |
--incl |
--inc)
219 ac_prev
=includedir
;;
220 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
221 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
222 includedir
="$ac_optarg" ;;
224 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
226 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
227 infodir
="$ac_optarg" ;;
229 -libdir |
--libdir |
--libdi |
--libd)
231 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
232 libdir
="$ac_optarg" ;;
234 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
235 |
--libexe |
--libex |
--libe)
236 ac_prev
=libexecdir
;;
237 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
238 |
--libexe=* |
--libex=* |
--libe=*)
239 libexecdir
="$ac_optarg" ;;
241 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
242 |
--localstate |
--localstat |
--localsta |
--localst \
243 |
--locals |
--local |
--loca |
--loc |
--lo)
244 ac_prev
=localstatedir
;;
245 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
246 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
247 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
248 localstatedir
="$ac_optarg" ;;
250 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
252 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
253 mandir
="$ac_optarg" ;;
256 # Obsolete; use --without-fp.
259 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
263 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
264 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
267 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
268 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
269 |
--oldin |
--oldi |
--old |
--ol |
--o)
270 ac_prev
=oldincludedir
;;
271 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
272 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
273 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
274 oldincludedir
="$ac_optarg" ;;
276 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
278 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
279 prefix
="$ac_optarg" ;;
281 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
282 |
--program-pre |
--program-pr |
--program-p)
283 ac_prev
=program_prefix
;;
284 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
285 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
286 program_prefix
="$ac_optarg" ;;
288 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
289 |
--program-suf |
--program-su |
--program-s)
290 ac_prev
=program_suffix
;;
291 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
292 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
293 program_suffix
="$ac_optarg" ;;
295 -program-transform-name |
--program-transform-name \
296 |
--program-transform-nam |
--program-transform-na \
297 |
--program-transform-n |
--program-transform- \
298 |
--program-transform |
--program-transfor \
299 |
--program-transfo |
--program-transf \
300 |
--program-trans |
--program-tran \
301 |
--progr-tra |
--program-tr |
--program-t)
302 ac_prev
=program_transform_name
;;
303 -program-transform-name=* |
--program-transform-name=* \
304 |
--program-transform-nam=* |
--program-transform-na=* \
305 |
--program-transform-n=* |
--program-transform-=* \
306 |
--program-transform=* |
--program-transfor=* \
307 |
--program-transfo=* |
--program-transf=* \
308 |
--program-trans=* |
--program-tran=* \
309 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
310 program_transform_name
="$ac_optarg" ;;
312 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
313 |
-silent |
--silent |
--silen |
--sile |
--sil)
316 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
318 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
320 sbindir
="$ac_optarg" ;;
322 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
323 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
324 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
326 ac_prev
=sharedstatedir
;;
327 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
328 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
329 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
331 sharedstatedir
="$ac_optarg" ;;
333 -site |
--site |
--sit)
335 -site=* |
--site=* |
--sit=*)
338 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
340 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
341 sitefile
="$ac_optarg" ;;
343 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
345 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
346 srcdir
="$ac_optarg" ;;
348 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
349 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
350 ac_prev
=sysconfdir
;;
351 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
352 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
353 sysconfdir
="$ac_optarg" ;;
355 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
357 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
358 target
="$ac_optarg" ;;
360 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
363 -version |
--version |
--versio |
--versi |
--vers)
364 echo "configure generated by autoconf version 2.13"
368 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
369 # Reject names that are not valid shell variable names.
370 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
371 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
373 ac_package
=`echo $ac_package| sed 's/-/_/g'`
378 eval "with_${ac_package}='$ac_optarg'" ;;
380 -without-* |
--without-*)
381 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
382 # Reject names that are not valid shell variable names.
383 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
384 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
386 ac_package
=`echo $ac_package| sed 's/-/_/g'`
387 eval "with_${ac_package}=no" ;;
390 # Obsolete; use --with-x.
393 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
394 |
--x-incl |
--x-inc |
--x-in |
--x-i)
395 ac_prev
=x_includes
;;
396 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
397 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
398 x_includes
="$ac_optarg" ;;
400 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
401 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
402 ac_prev
=x_libraries
;;
403 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
404 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
405 x_libraries
="$ac_optarg" ;;
407 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
411 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
412 echo "configure: warning: $ac_option: invalid host type" 1>&2
414 if test "x$nonopt" != xNONE
; then
415 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
423 if test -n "$ac_prev"; then
424 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
427 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
429 # File descriptor usage:
432 # 2 errors and warnings
433 # 3 some systems may open it to /dev/tty
434 # 4 used on the Kubota Titan
435 # 6 checking for... messages and results
436 # 5 compiler messages saved in config.log
437 if test "$silent" = yes; then
445 This file contains any messages produced by compilers while
446 running configure, to aid debugging if configure makes a mistake.
449 # Strip out --no-create and --no-recursion so they do not pile up.
450 # Also quote any args containing shell metacharacters.
455 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
456 |
--no-cr |
--no-c) ;;
457 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
458 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
459 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
460 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
461 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
466 # Only set these to C if already set. These must not be set unconditionally
467 # because not all systems understand e.g. LANG=C (notably SCO).
468 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
469 # Non-C LC_CTYPE values break the ctype check.
470 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
471 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
472 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
473 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
475 # confdefs.h avoids OS command line length limits that DEFS can exceed.
476 rm -rf conftest
* confdefs.h
477 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
480 # A filename unique to this package, relative to the directory that
481 # configure is in, which we can look for to find out if srcdir is correct.
482 ac_unique_file
=libF77
/Version.c
484 # Find the source files, if location was not specified.
485 if test -z "$srcdir"; then
486 ac_srcdir_defaulted
=yes
487 # Try the directory containing this script, then its parent.
489 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
490 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
492 if test ! -r $srcdir/$ac_unique_file; then
496 ac_srcdir_defaulted
=no
498 if test ! -r $srcdir/$ac_unique_file; then
499 if test "$ac_srcdir_defaulted" = yes; then
500 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
502 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
505 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
507 # Prefer explicitly selected file to automatically selected ones.
508 if test -z "$sitefile"; then
509 if test -z "$CONFIG_SITE"; then
510 if test "x$prefix" != xNONE
; then
511 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
513 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
517 CONFIG_SITE
="$sitefile"
519 for ac_site_file
in $CONFIG_SITE; do
520 if test -r "$ac_site_file"; then
521 echo "loading site script $ac_site_file"
526 if test -r "$cache_file"; then
527 echo "loading cache $cache_file"
530 echo "creating cache $cache_file"
535 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
536 ac_cpp
='$CPP $CPPFLAGS'
537 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
538 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
539 cross_compiling
=$ac_cv_prog_cc_cross
543 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
544 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
545 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
552 ac_n
= ac_c
='\c' ac_t
=
557 # This works around the fact that libtool configuration may change LD
558 # for this particular configuration, but some shells, instead of
559 # keeping the changes in LD private, export them just because LD is
561 ORIGINAL_LD_FOR_MULTILIBS
=$LD
564 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
565 if test -f $ac_dir/install-sh
; then
567 ac_install_sh
="$ac_aux_dir/install-sh -c"
569 elif test -f $ac_dir/install.sh
; then
571 ac_install_sh
="$ac_aux_dir/install.sh -c"
575 if test -z "$ac_aux_dir"; then
576 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
578 ac_config_guess
=$ac_aux_dir/config.guess
579 ac_config_sub
=$ac_aux_dir/config.sub
580 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
583 # Do some error checking and defaulting for the host and target type.
585 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
588 # 1. You are not allowed to specify --host, --target, and nonopt at the
590 # 2. Host defaults to nonopt.
591 # 3. If nonopt is not specified, then host defaults to the current host,
592 # as determined by config.guess.
593 # 4. Target and build default to nonopt.
594 # 5. If nonopt is not specified, then target and build default to host.
596 # The aliases save the names the user supplied, while $host etc.
597 # will get canonicalized.
598 case $host---$target---$nonopt in
599 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
600 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
604 # Make sure we can run config.sub.
605 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
606 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
609 echo $ac_n "checking host system type""... $ac_c" 1>&6
610 echo "configure:611: checking host system type" >&5
613 case "$host_alias" in
617 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
618 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
620 *) host_alias
=$nonopt ;;
624 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
625 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
626 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
627 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
628 echo "$ac_t""$host" 1>&6
630 echo $ac_n "checking target system type""... $ac_c" 1>&6
631 echo "configure:632: checking target system type" >&5
634 case "$target_alias" in
637 NONE
) target_alias
=$host_alias ;;
638 *) target_alias
=$nonopt ;;
642 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
643 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
644 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
645 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
646 echo "$ac_t""$target" 1>&6
648 echo $ac_n "checking build system type""... $ac_c" 1>&6
649 echo "configure:650: checking build system type" >&5
652 case "$build_alias" in
655 NONE
) build_alias
=$host_alias ;;
656 *) build_alias
=$nonopt ;;
660 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
661 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
662 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
663 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
664 echo "$ac_t""$build" 1>&6
666 test "$host_alias" != "$target_alias" &&
667 test "$program_prefix$program_suffix$program_transform_name" = \
669 program_prefix
=${target_alias}-
671 target_alias
=${target_alias-$target}
674 if test $host != $build; then
675 ac_tool_prefix
=${host_alias}-
680 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
681 echo "configure:682: checking for Cygwin environment" >&5
682 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
683 echo $ac_n "(cached) $ac_c" 1>&6
685 cat > conftest.
$ac_ext <<EOF
686 #line 687 "configure"
687 #include "confdefs.h"
692 #define __CYGWIN__ __CYGWIN32__
697 if { (eval echo configure
:698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
701 echo "configure: failed program was:" >&5
702 cat conftest.
$ac_ext >&5
710 echo "$ac_t""$ac_cv_cygwin" 1>&6
712 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
713 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
714 echo "configure:715: checking for mingw32 environment" >&5
715 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
716 echo $ac_n "(cached) $ac_c" 1>&6
718 cat > conftest.
$ac_ext <<EOF
719 #line 720 "configure"
720 #include "confdefs.h"
726 if { (eval echo configure
:727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
730 echo "configure: failed program was:" >&5
731 cat conftest.
$ac_ext >&5
739 echo "$ac_t""$ac_cv_mingw32" 1>&6
741 test "$ac_cv_mingw32" = yes && MINGW32
=yes
743 # Check whether --enable-multilib or --disable-multilib was given.
744 if test "${enable_multilib+set}" = set; then
745 enableval
="$enable_multilib"
746 case "${enableval}" in
749 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
755 # When building with srcdir == objdir, links to the source files will
756 # be created in directories within the target_subdir. We have to
757 # adjust toplevel_srcdir accordingly, so that configure finds
758 # install-sh and other auxiliary files that live in the top-level
760 if test "${srcdir}" = "."; then
761 if test -z "${with_target_subdir}"; then
764 if test "${with_target_subdir}" != "."; then
765 toprel
="${with_multisrctop}../.."
767 toprel
="${with_multisrctop}.."
774 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
775 if test -f $ac_dir/install-sh
; then
777 ac_install_sh
="$ac_aux_dir/install-sh -c"
779 elif test -f $ac_dir/install.sh
; then
781 ac_install_sh
="$ac_aux_dir/install.sh -c"
785 if test -z "$ac_aux_dir"; then
786 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
788 ac_config_guess=$ac_aux_dir/config.guess
789 ac_config_sub=$ac_aux_dir/config.sub
790 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
792 toplevel_srcdir=\${top_srcdir}/$toprel
795 # Export build and source directories.
796 # These need to be absolute paths, yet at the same time need to
797 # canonicalize only relative paths, because then amd will not unmount
798 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
799 glibcpp_builddir=`${PWDCMD-pwd}`
801 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
802 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
809 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
810 # be 'cp -p' if linking isn't available.
811 #ac_cv_prog_LN_S='cp -p'
812 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
813 echo "configure
:814: checking whether
ln -s works
" >&5
814 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
815 echo $ac_n "(cached
) $ac_c" 1>&6
818 if ln -s X conftestdata 2>/dev/null
821 ac_cv_prog_LN_S="ln -s"
826 LN_S="$ac_cv_prog_LN_S"
827 if test "$ac_cv_prog_LN_S" = "ln -s"; then
828 echo "$ac_t""yes" 1>&6
830 echo "$ac_t""no
" 1>&6
834 # We use these options to decide which functions to include.
835 # Check whether --with-target-subdir or --without-target-subdir was given.
836 if test "${with_target_subdir+set}" = set; then
837 withval="$with_target_subdir"
841 # Check whether --with-cross-host or --without-cross-host was given.
842 if test "${with_cross_host+set}" = set; then
843 withval="$with_cross_host"
848 # Never versions of autoconf add an underscore to these functions.
849 # Prevent future problems ...
857 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
858 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
859 # are probably using a cross compiler, which will not be able to fully
860 # link an executable. This should really be fixed in autoconf
866 # Extract the first word of "gcc
", so it can be a program name with args.
867 set dummy gcc; ac_word=$2
868 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
869 echo "configure
:870: checking
for $ac_word" >&5
870 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
871 echo $ac_n "(cached
) $ac_c" 1>&6
873 if test -n "$CC"; then
874 ac_cv_prog_CC="$CC" # Let the user override the test.
876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
878 for ac_dir in $ac_dummy; do
879 test -z "$ac_dir" && ac_dir=.
880 if test -f $ac_dir/$ac_word; then
889 if test -n "$CC"; then
890 echo "$ac_t""$CC" 1>&6
892 echo "$ac_t""no
" 1>&6
895 if test -z "$CC"; then
896 # Extract the first word of "cc
", so it can be a program name with args.
897 set dummy cc; ac_word=$2
898 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
899 echo "configure
:900: checking
for $ac_word" >&5
900 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
901 echo $ac_n "(cached
) $ac_c" 1>&6
903 if test -n "$CC"; then
904 ac_cv_prog_CC="$CC" # Let the user override the test.
906 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
909 for ac_dir in $ac_dummy; do
910 test -z "$ac_dir" && ac_dir=.
911 if test -f $ac_dir/$ac_word; then
912 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
921 if test $ac_prog_rejected = yes; then
922 # We found a bogon in the path, so make sure we never use it.
923 set dummy $ac_cv_prog_CC
925 if test $# -gt 0; then
926 # We chose a different compiler from the bogus one.
927 # However, it has the same basename, so the bogon will be chosen
928 # first if we set CC to just the basename; use the full file name.
930 set dummy "$ac_dir/$ac_word" "$@
"
938 if test -n "$CC"; then
939 echo "$ac_t""$CC" 1>&6
941 echo "$ac_t""no
" 1>&6
944 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
947 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
948 echo "configure
:949: checking whether we are using GNU C
" >&5
949 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
950 echo $ac_n "(cached
) $ac_c" 1>&6
952 cat > conftest.c <<EOF
957 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
964 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
966 if test $ac_cv_prog_gcc = yes; then
968 ac_test_CFLAGS="${CFLAGS+set}"
969 ac_save_CFLAGS="$CFLAGS"
971 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
972 echo "configure
:973: checking whether
${CC-cc} accepts
-g" >&5
973 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
974 echo $ac_n "(cached
) $ac_c" 1>&6
976 echo 'void f(){}' > conftest.c
977 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
986 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
987 if test "$ac_test_CFLAGS" = set; then
988 CFLAGS="$ac_save_CFLAGS"
989 elif test $ac_cv_prog_cc_g = yes; then
996 test "${CFLAGS+set}" = set || CFLAGS="-g"
1000 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1001 set dummy ${ac_tool_prefix}as; ac_word=$2
1002 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1003 echo "configure
:1004: checking
for $ac_word" >&5
1004 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1005 echo $ac_n "(cached
) $ac_c" 1>&6
1007 if test -n "$AS"; then
1008 ac_cv_prog_AS="$AS" # Let the user override the test.
1010 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1012 for ac_dir in $ac_dummy; do
1013 test -z "$ac_dir" && ac_dir=.
1014 if test -f $ac_dir/$ac_word; then
1015 ac_cv_prog_AS="${ac_tool_prefix}as
"
1020 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1024 if test -n "$AS"; then
1025 echo "$ac_t""$AS" 1>&6
1027 echo "$ac_t""no
" 1>&6
1032 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1033 set dummy ${ac_tool_prefix}ar; ac_word=$2
1034 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1035 echo "configure
:1036: checking
for $ac_word" >&5
1036 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1037 echo $ac_n "(cached
) $ac_c" 1>&6
1039 if test -n "$AR"; then
1040 ac_cv_prog_AR="$AR" # Let the user override the test.
1042 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1044 for ac_dir in $ac_dummy; do
1045 test -z "$ac_dir" && ac_dir=.
1046 if test -f $ac_dir/$ac_word; then
1047 ac_cv_prog_AR="${ac_tool_prefix}ar"
1052 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1056 if test -n "$AR"; then
1057 echo "$ac_t""$AR" 1>&6
1059 echo "$ac_t""no
" 1>&6
1064 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1065 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1066 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1067 echo "configure
:1068: checking
for $ac_word" >&5
1068 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1069 echo $ac_n "(cached
) $ac_c" 1>&6
1071 if test -n "$RANLIB"; then
1072 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1074 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1076 for ac_dir in $ac_dummy; do
1077 test -z "$ac_dir" && ac_dir=.
1078 if test -f $ac_dir/$ac_word; then
1079 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1086 RANLIB="$ac_cv_prog_RANLIB"
1087 if test -n "$RANLIB"; then
1088 echo "$ac_t""$RANLIB" 1>&6
1090 echo "$ac_t""no
" 1>&6
1094 if test -z "$ac_cv_prog_RANLIB"; then
1095 if test -n "$ac_tool_prefix"; then
1096 # Extract the first word of "ranlib
", so it can be a program name with args.
1097 set dummy ranlib; ac_word=$2
1098 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1099 echo "configure
:1100: checking
for $ac_word" >&5
1100 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1101 echo $ac_n "(cached
) $ac_c" 1>&6
1103 if test -n "$RANLIB"; then
1104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1106 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1108 for ac_dir in $ac_dummy; do
1109 test -z "$ac_dir" && ac_dir=.
1110 if test -f $ac_dir/$ac_word; then
1111 ac_cv_prog_RANLIB="ranlib
"
1116 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1119 RANLIB="$ac_cv_prog_RANLIB"
1120 if test -n "$RANLIB"; then
1121 echo "$ac_t""$RANLIB" 1>&6
1123 echo "$ac_t""no
" 1>&6
1127 RANLIB="ranlib-not-found-in-path-error
"
1131 # Find a good install program. We prefer a C program (faster),
1132 # so one script is as good as another. But avoid the broken or
1133 # incompatible versions:
1134 # SysV /etc/install, /usr/sbin/install
1135 # SunOS /usr/etc/install
1136 # IRIX /sbin/install
1138 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1139 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1140 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1141 # ./install, which can be erroneously created by make from ./install.sh.
1142 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1143 echo "configure
:1144: checking
for a BSD compatible
install" >&5
1144 if test -z "$INSTALL"; then
1145 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1146 echo $ac_n "(cached
) $ac_c" 1>&6
1148 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1149 for ac_dir in $PATH; do
1150 # Account for people who put trailing slashes in PATH elements.
1152 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1154 # OSF1 and SCO ODT 3.0 have their own names for install.
1155 # Don't use installbsd from OSF since it installs stuff as root
1157 for ac_prog in ginstall scoinst install; do
1158 if test -f $ac_dir/$ac_prog; then
1159 if test $ac_prog = install &&
1160 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1161 # AIX install. It has an incompatible calling convention.
1164 ac_cv_path_install="$ac_dir/$ac_prog -c"
1175 if test "${ac_cv_path_install+set}" = set; then
1176 INSTALL="$ac_cv_path_install"
1178 # As a last resort, use the slow shell script. We don't cache a
1179 # path for INSTALL within a source directory, because that will
1180 # break other packages using the cache if that directory is
1181 # removed, or if the path is relative.
1182 INSTALL="$ac_install_sh"
1185 echo "$ac_t""$INSTALL" 1>&6
1187 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1188 # It thinks the first close brace ends the variable substitution.
1189 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1191 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1193 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1196 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1197 # at least currently, we never actually build a program, so we never
1198 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1199 # fails, because we are probably configuring with a cross compiler
1200 # which can't create executables. So we include AC_EXEEXT to keep
1201 # automake happy, but we don't execute it, since we don't care about
1204 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1205 # to nothing, so nothing would remain between `then' and `fi' if it
1206 # were not for the `:' below.
1210 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1211 echo "configure
:1212: checking
for executable suffix
" >&5
1212 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1213 echo $ac_n "(cached
) $ac_c" 1>&6
1215 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1219 echo 'int main () { return 0; }' > conftest.$ac_ext
1221 if { (eval echo configure:1222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1222 for file in conftest.*; do
1224 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1225 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1229 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1232 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1237 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1238 echo "$ac_t""${ac_cv_exeext}" 1>&6
1244 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
1245 # exported correctly in GLIBCPP_CONFIGURE.
1246 glibcpp_toolexecdir=no
1247 glibcpp_toolexeclibdir=no
1248 glibcpp_prefixdir=${prefix}
1250 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
1251 echo "configure
:1252: checking
for interface version number
" >&5
1252 libstdcxx_interface=$INTERFACE
1253 echo "$ac_t""$libstdcxx_interface" 1>&6
1255 # Process the option "--enable-version-specific-runtime-libs"
1256 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
1257 echo "configure
:1258: checking
for --enable-version-specific-runtime-libs" >&5
1258 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1259 if test "${enable_version_specific_runtime_libs+set}" = set; then
1260 enableval="$enable_version_specific_runtime_libs"
1261 case "$enableval" in
1262 yes) version_specific_libs=yes ;;
1263 no) version_specific_libs=no ;;
1264 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
1267 version_specific_libs=no
1269 # Option set, now we can test it.
1270 echo "$ac_t""$version_specific_libs" 1>&6
1272 gcc_version_trigger=${toplevel_srcdir}/gcc/version.c
1273 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/'`
1274 gcc_version=`echo ${gcc_version_full} | sed -e 's/\(^ *\) .*/\1/'`
1278 if test $version_specific_libs = yes; then
1279 # Need the gcc compiler version to know where to install libraries
1280 # and header files if --enable-version-specific-runtime-libs option
1282 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1283 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
1286 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
1287 # Install a library built with a cross compiler in tooldir, not libdir.
1288 if test x"$glibcpp_toolexecdir" = x"no
"; then
1289 if test -n "$with_cross_host" &&
1290 test x"$with_cross_host" != x"no
"; then
1291 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
1292 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
1294 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
1295 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
1304 # If the language specific compiler does not exist, but the "gcc
" directory
1305 # does, we do not build anything. Note, $r is set by the top-level Makefile.
1306 # Note that when we look for the compiler, we search both with and without
1307 # extension to handle cross and canadian cross builds.
1310 echo $ac_n "checking
if compiler
$compiler_name has been built
""...
$ac_c" 1>&6
1311 echo "configure
:1312: checking
if compiler
$compiler_name has been built
" >&5
1312 if eval "test \"`echo '$''{'g77_cv_compiler_exists'+set}'`\" = set"; then
1313 echo $ac_n "(cached
) $ac_c" 1>&6
1315 g77_cv_compiler_exists=yes
1316 if test -n "$r"; then
1317 if test -d "$r"/gcc; then
1318 if test -f "$r"/gcc/$compiler_name \
1319 || test -f "$r"/gcc/$compiler_name.exe; then
1322 g77_cv_compiler_exists=no
1323 echo "rm -f config.cache config.log multilib.out
" > skip-this-dir
1330 echo "$ac_t""$g77_cv_compiler_exists" 1>&6
1331 if test x$g77_cv_compiler_exists = xno
1333 rm -f Makefile conftest* confdefs* core
1338 # Check whether --enable-shared or --disable-shared was given.
1339 if test "${enable_shared+set}" = set; then
1340 enableval="$enable_shared"
1341 p=${PACKAGE-default}
1343 yes) enable_shared=yes ;;
1344 no) enable_shared=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
1361 # Check whether --enable-static or --disable-static was given.
1362 if test "${enable_static+set}" = set; then
1363 enableval="$enable_static"
1364 p=${PACKAGE-default}
1366 yes) enable_static=yes ;;
1367 no) enable_static=no ;;
1370 # Look at the argument we got. We use all the common list separators.
1371 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1372 for pkg in $enableval; do
1373 if test "X
$pkg" = "X
$p"; then
1384 # Check whether --enable-fast-install or --disable-fast-install was given.
1385 if test "${enable_fast_install+set}" = set; then
1386 enableval="$enable_fast_install"
1387 p=${PACKAGE-default}
1389 yes) enable_fast_install=yes ;;
1390 no) enable_fast_install=no ;;
1392 enable_fast_install=no
1393 # Look at the argument we got. We use all the common list separators.
1394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1395 for pkg in $enableval; do
1396 if test "X
$pkg" = "X
$p"; then
1397 enable_fast_install=yes
1404 enable_fast_install=yes
1407 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1408 if test "${with_gnu_ld+set}" = set; then
1409 withval="$with_gnu_ld"
1410 test "$withval" = no || with_gnu_ld=yes
1416 if test "$GCC" = yes; then
1417 # Check if gcc -print-prog-name=ld gives a path.
1418 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1419 echo "configure
:1420: checking
for ld used by GCC
" >&5
1422 # gcc leaves a trailing carriage return which upsets mingw
1423 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1425 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1428 # Accept absolute paths.
1429 [\\/]* | [A-Za-z]:[\\/]*)
1430 re_direlt='/[^/][^/]*/\.\./'
1431 # Canonicalize the path of ld
1432 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1433 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1434 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1436 test -z "$LD" && LD="$ac_prog"
1439 # If it fails, then pretend we aren't using GCC.
1443 # If it is relative, then search for the first ld in PATH.
1447 elif test "$with_gnu_ld" = yes; then
1448 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1449 echo "configure
:1450: checking
for GNU ld
" >&5
1451 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1452 echo "configure
:1453: checking
for non-GNU ld
" >&5
1454 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1455 echo $ac_n "(cached
) $ac_c" 1>&6
1457 if test -z "$LD"; then
1458 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1459 for ac_dir in $PATH; do
1460 test -z "$ac_dir" && ac_dir=.
1461 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1462 lt_cv_path_LD="$ac_dir/$ac_prog"
1463 # Check to see if the program is GNU ld. I'd rather use --version,
1464 # but apparently some GNU ld's only accept -v.
1465 # Break only if it was the GNU/non-GNU ld that we prefer.
1466 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1467 test "$with_gnu_ld" != no && break
1469 test "$with_gnu_ld" != yes && break
1475 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1480 if test -n "$LD"; then
1481 echo "$ac_t""$LD" 1>&6
1483 echo "$ac_t""no
" 1>&6
1485 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1486 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1487 echo "configure
:1488: checking
if the linker
($LD) is GNU ld
" >&5
1488 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1489 echo $ac_n "(cached
) $ac_c" 1>&6
1491 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1492 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1493 lt_cv_prog_gnu_ld=yes
1495 lt_cv_prog_gnu_ld=no
1499 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1500 with_gnu_ld=$lt_cv_prog_gnu_ld
1503 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1504 echo "configure
:1505: checking
for $LD option to reload object files
" >&5
1505 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1506 echo $ac_n "(cached
) $ac_c" 1>&6
1508 lt_cv_ld_reload_flag='-r'
1511 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1512 reload_flag=$lt_cv_ld_reload_flag
1513 test -n "$reload_flag" && reload_flag=" $reload_flag"
1515 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1516 echo "configure
:1517: checking
for BSD-compatible nm
" >&5
1517 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1518 echo $ac_n "(cached
) $ac_c" 1>&6
1520 if test -n "$NM"; then
1521 # Let the user override the test.
1524 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1525 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1526 test -z "$ac_dir" && ac_dir=.
1527 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1528 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1529 # Check to see if the nm accepts a BSD-compat flag.
1530 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1531 # nm: unknown option "B
" ignored
1532 # Tru64's nm complains that /dev/null is an invalid object file
1533 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1534 lt_cv_path_NM="$tmp_nm -B"
1536 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1537 lt_cv_path_NM="$tmp_nm -p"
1540 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1541 continue # so that we can try to find one that supports BSD flags
1546 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1551 echo "$ac_t""$NM" 1>&6
1553 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1554 echo "configure
:1555: checking how to recognise dependant libraries
" >&5
1555 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1556 echo $ac_n "(cached
) $ac_c" 1>&6
1558 lt_cv_file_magic_cmd='$MAGIC_CMD'
1559 lt_cv_file_magic_test_file=
1560 lt_cv_deplibs_check_method='unknown'
1561 # Need to set the preceding variable on all platforms that support
1562 # interlibrary dependencies.
1563 # 'none' -- dependencies not supported.
1564 # `unknown' -- same as none, but documents that we really don't know.
1565 # 'pass_all' -- all dependencies passed with no checks.
1566 # 'test_compile' -- check by making test program.
1567 # 'file_magic [regex]' -- check by looking for files in library path
1568 # which responds to the $file_magic_cmd with a given egrep regex.
1569 # If you have `file' or equivalent on your system and you're not sure
1570 # whether `pass_all' will *always* work, you probably want this one.
1574 lt_cv_deplibs_check_method=pass_all
1578 lt_cv_deplibs_check_method=pass_all
1582 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1583 lt_cv_file_magic_cmd='/usr/bin/file -L'
1584 lt_cv_file_magic_test_file=/shlib/libc.so
1587 cygwin* | mingw* |pw32*)
1588 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1589 lt_cv_file_magic_cmd='$OBJDUMP -f'
1592 darwin* | rhapsody*)
1593 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1594 lt_cv_file_magic_cmd='/usr/bin/file -L'
1596 rhapsody* | darwin1.012)
1597 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1600 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1606 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1609 # Not sure whether the presence of OpenBSD here was a mistake.
1610 # Let's accept both of them until this is cleared up.
1611 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1612 lt_cv_file_magic_cmd=/usr/bin/file
1613 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1617 lt_cv_deplibs_check_method=pass_all
1622 lt_cv_deplibs_check_method=pass_all
1626 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1627 lt_cv_file_magic_cmd=/usr/bin/file
1628 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1634 # this will be overridden with pass_all, but let us keep it just in case
1635 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1639 *-32|*"-32 ") libmagic=32-bit;;
1640 *-n32|*"-n32 ") libmagic=N32;;
1641 *-64|*"-64 ") libmagic=64-bit;;
1642 *) libmagic=never-match;;
1644 # this will be overridden with pass_all, but let us keep it just in case
1645 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1648 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1649 lt_cv_deplibs_check_method=pass_all
1652 # This must be Linux ELF.
1655 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1656 lt_cv_deplibs_check_method=pass_all ;;
1658 # glibc up to 2.1.1 does not perform some relocations on ARM
1659 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1661 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1665 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1666 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1668 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1673 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1674 lt_cv_file_magic_cmd=/usr/bin/file
1675 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1678 osf3* | osf4* | osf5*)
1679 # this will be overridden with pass_all, but let us keep it just in case
1680 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
1681 lt_cv_file_magic_test_file=/shlib/libc.so
1682 lt_cv_deplibs_check_method=pass_all
1686 lt_cv_deplibs_check_method=pass_all
1690 lt_cv_deplibs_check_method=pass_all
1691 lt_cv_file_magic_test_file=/lib/libc.so
1694 sysv5uw[78]* | sysv4*uw2*)
1695 lt_cv_deplibs_check_method=pass_all
1698 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
1699 case $host_vendor in
1701 lt_cv_deplibs_check_method=pass_all
1704 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]'
1705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
1713 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
1714 file_magic_cmd=$lt_cv_file_magic_cmd
1715 deplibs_check_method=$lt_cv_deplibs_check_method
1717 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
1718 echo "configure
:1719: checking
for object suffix
" >&5
1719 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1720 echo $ac_n "(cached
) $ac_c" 1>&6
1723 echo 'int i = 1;' > conftest.$ac_ext
1724 if { (eval echo configure:1725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1725 for ac_file in conftest.*; do
1728 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1732 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
1737 echo "$ac_t""$ac_cv_objext" 1>&6
1738 OBJEXT=$ac_cv_objext
1739 ac_objext=$ac_cv_objext
1741 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
1743 # Only perform the check for file, if the check method requires it
1744 case $deplibs_check_method in
1746 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1747 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
1748 echo "configure
:1749: checking
for ${ac_tool_prefix}file" >&5
1749 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1750 echo $ac_n "(cached
) $ac_c" 1>&6
1754 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1757 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1760 ac_save_MAGIC_CMD="$MAGIC_CMD"
1761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1762 ac_dummy="/usr
/bin
:$PATH"
1763 for ac_dir in $ac_dummy; do
1764 test -z "$ac_dir" && ac_dir=.
1765 if test -f $ac_dir/${ac_tool_prefix}file; then
1766 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
1767 if test -n "$file_magic_test_file"; then
1768 case $deplibs_check_method in
1770 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1771 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1772 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1773 egrep "$file_magic_regex" > /dev/null; then
1778 *** Warning: the command libtool uses to detect shared libraries,
1779 *** $file_magic_cmd, produces output that libtool cannot recognize.
1780 *** The result is that libtool may fail to recognize shared libraries
1781 *** as such. This will affect the creation of libtool libraries that
1782 *** depend on shared libraries, but programs linked with such libtool
1783 *** libraries will work regardless of this problem. Nevertheless, you
1784 *** may want to report the problem to your system manager and/or to
1785 *** bug-libtool@gnu.org
1795 MAGIC_CMD="$ac_save_MAGIC_CMD"
1800 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1801 if test -n "$MAGIC_CMD"; then
1802 echo "$ac_t""$MAGIC_CMD" 1>&6
1804 echo "$ac_t""no
" 1>&6
1807 if test -z "$lt_cv_path_MAGIC_CMD"; then
1808 if test -n "$ac_tool_prefix"; then
1809 echo $ac_n "checking
for file""...
$ac_c" 1>&6
1810 echo "configure
:1811: checking
for file" >&5
1811 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
1812 echo $ac_n "(cached
) $ac_c" 1>&6
1816 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
1819 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
1822 ac_save_MAGIC_CMD="$MAGIC_CMD"
1823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1824 ac_dummy="/usr
/bin
:$PATH"
1825 for ac_dir in $ac_dummy; do
1826 test -z "$ac_dir" && ac_dir=.
1827 if test -f $ac_dir/file; then
1828 lt_cv_path_MAGIC_CMD="$ac_dir/file"
1829 if test -n "$file_magic_test_file"; then
1830 case $deplibs_check_method in
1832 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
1833 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1834 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
1835 egrep "$file_magic_regex" > /dev/null; then
1840 *** Warning: the command libtool uses to detect shared libraries,
1841 *** $file_magic_cmd, produces output that libtool cannot recognize.
1842 *** The result is that libtool may fail to recognize shared libraries
1843 *** as such. This will affect the creation of libtool libraries that
1844 *** depend on shared libraries, but programs linked with such libtool
1845 *** libraries will work regardless of this problem. Nevertheless, you
1846 *** may want to report the problem to your system manager and/or to
1847 *** bug-libtool@gnu.org
1857 MAGIC_CMD="$ac_save_MAGIC_CMD"
1862 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
1863 if test -n "$MAGIC_CMD"; then
1864 echo "$ac_t""$MAGIC_CMD" 1>&6
1866 echo "$ac_t""no
" 1>&6
1878 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1879 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1880 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1881 echo "configure
:1882: checking
for $ac_word" >&5
1882 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1883 echo $ac_n "(cached
) $ac_c" 1>&6
1885 if test -n "$RANLIB"; then
1886 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1888 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1890 for ac_dir in $ac_dummy; do
1891 test -z "$ac_dir" && ac_dir=.
1892 if test -f $ac_dir/$ac_word; then
1893 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1900 RANLIB="$ac_cv_prog_RANLIB"
1901 if test -n "$RANLIB"; then
1902 echo "$ac_t""$RANLIB" 1>&6
1904 echo "$ac_t""no
" 1>&6
1908 if test -z "$ac_cv_prog_RANLIB"; then
1909 if test -n "$ac_tool_prefix"; then
1910 # Extract the first word of "ranlib
", so it can be a program name with args.
1911 set dummy ranlib; ac_word=$2
1912 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1913 echo "configure
:1914: checking
for $ac_word" >&5
1914 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1915 echo $ac_n "(cached
) $ac_c" 1>&6
1917 if test -n "$RANLIB"; then
1918 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1922 for ac_dir in $ac_dummy; do
1923 test -z "$ac_dir" && ac_dir=.
1924 if test -f $ac_dir/$ac_word; then
1925 ac_cv_prog_RANLIB="ranlib
"
1930 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1933 RANLIB="$ac_cv_prog_RANLIB"
1934 if test -n "$RANLIB"; then
1935 echo "$ac_t""$RANLIB" 1>&6
1937 echo "$ac_t""no
" 1>&6
1945 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
1946 set dummy ${ac_tool_prefix}strip; ac_word=$2
1947 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1948 echo "configure
:1949: checking
for $ac_word" >&5
1949 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1950 echo $ac_n "(cached
) $ac_c" 1>&6
1952 if test -n "$STRIP"; then
1953 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1957 for ac_dir in $ac_dummy; do
1958 test -z "$ac_dir" && ac_dir=.
1959 if test -f $ac_dir/$ac_word; then
1960 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
1967 STRIP="$ac_cv_prog_STRIP"
1968 if test -n "$STRIP"; then
1969 echo "$ac_t""$STRIP" 1>&6
1971 echo "$ac_t""no
" 1>&6
1975 if test -z "$ac_cv_prog_STRIP"; then
1976 if test -n "$ac_tool_prefix"; then
1977 # Extract the first word of "strip
", so it can be a program name with args.
1978 set dummy strip; ac_word=$2
1979 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1980 echo "configure
:1981: checking
for $ac_word" >&5
1981 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
1982 echo $ac_n "(cached
) $ac_c" 1>&6
1984 if test -n "$STRIP"; then
1985 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1987 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1989 for ac_dir in $ac_dummy; do
1990 test -z "$ac_dir" && ac_dir=.
1991 if test -f $ac_dir/$ac_word; then
1992 ac_cv_prog_STRIP="strip
"
1997 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2000 STRIP="$ac_cv_prog_STRIP"
2001 if test -n "$STRIP"; then
2002 echo "$ac_t""$STRIP" 1>&6
2004 echo "$ac_t""no
" 1>&6
2013 # Check for any special flags to pass to ltconfig.
2014 libtool_flags="--cache-file=$cache_file"
2015 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2016 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2017 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2018 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2019 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2022 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2023 if test "${enable_libtool_lock+set}" = set; then
2024 enableval="$enable_libtool_lock"
2028 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2029 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2031 # Check whether --with-pic or --without-pic was given.
2032 if test "${with_pic+set}" = set; then
2039 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2040 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2042 # Some flags need to be propagated to the compiler or linker for good
2046 # Find out which ABI we are using.
2047 echo '#line 2048 "configure
"' > conftest.$ac_ext
2048 if { (eval echo configure:2049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2049 case `/usr/bin/file conftest.$ac_objext` in
2065 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2066 SAVE_CFLAGS="$CFLAGS"
2067 CFLAGS="$CFLAGS -belf"
2068 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2069 echo "configure
:2070: checking whether the C compiler needs
-belf" >&5
2070 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2071 echo $ac_n "(cached
) $ac_c" 1>&6
2075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2076 ac_cpp='$CPP $CPPFLAGS'
2077 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2078 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2079 cross_compiling=$ac_cv_prog_cc_cross
2081 cat > conftest.$ac_ext <<EOF
2082 #line 2083 "configure
"
2083 #include "confdefs.h
"
2089 if { (eval echo configure:2090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2091 lt_cv_cc_needs_belf=yes
2093 echo "configure
: failed program was
:" >&5
2094 cat conftest.$ac_ext >&5
2096 lt_cv_cc_needs_belf=no
2100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2101 ac_cpp='$CPP $CPPFLAGS'
2102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2104 cross_compiling=$ac_cv_prog_cc_cross
2108 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2109 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2110 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2111 CFLAGS="$SAVE_CFLAGS"
2119 # Save cache, so that ltconfig can load it
2120 cat > confcache <<\EOF
2121 # This file is a shell script that caches the results of configure
2122 # tests run on this system so they can be shared between configure
2123 # scripts and configure runs. It is not useful on other systems.
2124 # If it contains results you don't want to keep, you may remove or edit it.
2126 # By default, configure uses ./config.cache as the cache file,
2127 # creating it if it does not exist already. You can give configure
2128 # the --cache-file=FILE option to use a different cache file; that is
2129 # what configure does when it calls configure scripts in
2130 # subdirectories, so they share the cache.
2131 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2132 # config.status only pays attention to the cache file if you give it the
2133 # --recheck option to rerun configure.
2136 # The following way of writing the cache mishandles newlines in values,
2137 # but we know of no workaround that is simple, portable, and efficient.
2138 # So, don't put newlines in cache variables' values.
2139 # Ultrix sh set writes to stderr and can't be redirected directly,
2140 # and sets the high bit in the cache file unless we assign to the vars.
2142 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2144 # `set' does not quote correctly, so add quotes (double-quote substitution
2145 # turns \\\\ into \\, and sed turns \\ into \).
2147 -e "s
/'/'\\\\''/g
" \
2148 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2151 # `set' quotes correctly as required by POSIX, so do not add quotes.
2152 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2155 if cmp -s $cache_file confcache; then
2158 if test -w $cache_file; then
2159 echo "updating cache
$cache_file"
2160 cat confcache > $cache_file
2162 echo "not updating unwritable cache
$cache_file"
2168 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2169 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2170 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2171 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2172 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2173 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2174 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2175 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2176 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2177 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2179 # Reload cache, that may have been modified by ltconfig
2180 if test -r "$cache_file"; then
2181 echo "loading cache
$cache_file"
2184 echo "creating cache
$cache_file"
2189 # This can be used to rebuild libtool when needed
2190 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2192 # Always use our own libtool.
2193 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2195 # Redirect the config.log output again, so that the ltconfig log is not
2196 # clobbered by the next message.
2197 exec 5>>./config.log
2207 if test "$RANLIB"; then :
2210 # Extract the first word of "ranlib
", so it can be a program name with args.
2211 set dummy ranlib; ac_word=$2
2212 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2213 echo "configure
:2214: checking
for $ac_word" >&5
2214 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2215 echo $ac_n "(cached
) $ac_c" 1>&6
2217 if test -n "$RANLIB"; then
2218 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2220 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2222 for ac_dir in $ac_dummy; do
2223 test -z "$ac_dir" && ac_dir=.
2224 if test -f $ac_dir/$ac_word; then
2225 ac_cv_prog_RANLIB="ranlib
"
2230 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2233 RANLIB="$ac_cv_prog_RANLIB"
2234 if test -n "$RANLIB"; then
2235 echo "$ac_t""$RANLIB" 1>&6
2237 echo "$ac_t""no
" 1>&6
2241 # Find a good install program. We prefer a C program (faster),
2242 # so one script is as good as another. But avoid the broken or
2243 # incompatible versions:
2244 # SysV /etc/install, /usr/sbin/install
2245 # SunOS /usr/etc/install
2246 # IRIX /sbin/install
2248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2251 # ./install, which can be erroneously created by make from ./install.sh.
2252 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
2253 echo "configure
:2254: checking
for a BSD compatible
install" >&5
2254 if test -z "$INSTALL"; then
2255 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
2256 echo $ac_n "(cached
) $ac_c" 1>&6
2258 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
2259 for ac_dir in $PATH; do
2260 # Account for people who put trailing slashes in PATH elements.
2262 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
2264 # OSF1 and SCO ODT 3.0 have their own names for install.
2265 # Don't use installbsd from OSF since it installs stuff as root
2267 for ac_prog in ginstall scoinst install; do
2268 if test -f $ac_dir/$ac_prog; then
2269 if test $ac_prog = install &&
2270 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2271 # AIX install. It has an incompatible calling convention.
2274 ac_cv_path_install="$ac_dir/$ac_prog -c"
2285 if test "${ac_cv_path_install+set}" = set; then
2286 INSTALL="$ac_cv_path_install"
2288 # As a last resort, use the slow shell script. We don't cache a
2289 # path for INSTALL within a source directory, because that will
2290 # break other packages using the cache if that directory is
2291 # removed, or if the path is relative.
2292 INSTALL="$ac_install_sh"
2295 echo "$ac_t""$INSTALL" 1>&6
2297 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2298 # It thinks the first close brace ends the variable substitution.
2299 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2301 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2303 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2305 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
2306 echo "configure
:2307: checking whether
${MAKE-make} sets \
${MAKE}" >&5
2307 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
2308 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
2309 echo $ac_n "(cached
) $ac_c" 1>&6
2311 cat > conftestmake <<\EOF
2313 @echo 'ac_maketemp="${MAKE}"'
2315 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
2316 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
2317 if test -n "$ac_maketemp"; then
2318 eval ac_cv_prog_make_${ac_make}_set=yes
2320 eval ac_cv_prog_make_${ac_make}_set=no
2324 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2325 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no
" 1>&6
2329 SET_MAKE="MAKE
=${MAKE-make}"
2333 # Sanity check for the cross-compilation case:
2334 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2335 echo "configure
:2336: checking how to run the C preprocessor
" >&5
2336 # On Suns, sometimes $CPP names a directory.
2337 if test -n "$CPP" && test -d "$CPP"; then
2340 if test -z "$CPP"; then
2341 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2342 echo $ac_n "(cached
) $ac_c" 1>&6
2344 # This must be in double quotes, not single quotes, because CPP may get
2345 # substituted into the Makefile and "${CC-cc}" will confuse make.
2347 # On the NeXT, cc -E runs the code through the compiler's parser,
2348 # not just through cpp.
2349 cat > conftest.$ac_ext <<EOF
2350 #line 2351 "configure
"
2351 #include "confdefs.h
"
2355 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2356 { (eval echo configure:2357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2357 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2358 if test -z "$ac_err"; then
2362 echo "configure
: failed program was
:" >&5
2363 cat conftest.$ac_ext >&5
2365 CPP="${CC-cc} -E -traditional-cpp"
2366 cat > conftest.$ac_ext <<EOF
2367 #line 2368 "configure
"
2368 #include "confdefs.h
"
2372 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2373 { (eval echo configure:2374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2374 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2375 if test -z "$ac_err"; then
2379 echo "configure
: failed program was
:" >&5
2380 cat conftest.$ac_ext >&5
2382 CPP="${CC-cc} -nologo -E"
2383 cat > conftest.$ac_ext <<EOF
2384 #line 2385 "configure
"
2385 #include "confdefs.h
"
2389 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2390 { (eval echo configure:2391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2392 if test -z "$ac_err"; then
2396 echo "configure
: failed program was
:" >&5
2397 cat conftest.$ac_ext >&5
2406 ac_cv_prog_CPP="$CPP"
2408 CPP="$ac_cv_prog_CPP"
2410 ac_cv_prog_CPP="$CPP"
2412 echo "$ac_t""$CPP" 1>&6
2414 ac_safe=`echo "stdio.h
" | sed 'y%./+-%__p_%'`
2415 echo $ac_n "checking
for stdio.h
""...
$ac_c" 1>&6
2416 echo "configure
:2417: checking
for stdio.h
" >&5
2417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2418 echo $ac_n "(cached
) $ac_c" 1>&6
2420 cat > conftest.$ac_ext <<EOF
2421 #line 2422 "configure
"
2422 #include "confdefs.h
"
2425 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2426 { (eval echo configure:2427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2427 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2428 if test -z "$ac_err"; then
2430 eval "ac_cv_header_
$ac_safe=yes"
2433 echo "configure
: failed program was
:" >&5
2434 cat conftest.$ac_ext >&5
2436 eval "ac_cv_header_
$ac_safe=no
"
2440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2441 echo "$ac_t""yes" 1>&6
2444 echo "$ac_t""no
" 1>&6
2445 { echo "configure
: error
: Can
't find stdio.h.
2446 You must have a usable C system for the target already installed, at least
2447 including headers and, preferably, the library, before you can configure
2448 the G77 runtime system. If necessary, install gcc now with \`LANGUAGES=c',
2449 then the target library
, then build with \
`LANGUAGES=f77'." 1>&2; exit 1; }
2453 echo $ac_n "checking for built-in g77 integer types""... $ac_c" 1>&6
2454 echo "configure:2455: checking for built-in g77 integer types" >&5
2455 if eval "test \"`echo '$''{'libf2c_cv_has_g77_builtin_types
'+set}'`\" = set"; then
2456 echo $ac_n "(cached) $ac_c" 1>&6
2458 cat > conftest.$ac_ext <<EOF
2459 #line 2460 "configure"
2460 #include "confdefs.h"
2464 __g77_uinteger g77ui;
2466 __g77_ulongint g77ul;
2469 if { (eval echo configure:2470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2471 libf2c_cv_has_g77_builtin_types=yes
2473 echo "configure: failed program was:" >&5
2474 cat conftest.$ac_ext >&5
2476 libf2c_cv_has_g77_builtin_types=no
2481 echo "$ac_t""$libf2c_cv_has_g77_builtin_types" 1>&6
2482 if test $libf2c_cv_has_g77_builtin_types = no; then
2483 { echo "configure: error: gcc doesn't define all of the built in types __g77_integer,
2484 __g77_uinteger, __g77_longint, and __g77_ulongint. You may not be using
2485 a new enough version of gcc, or your target may not have type sizes which
2486 accommodate those types." 1>&2; exit 1; }
2489 # avoid confusion in case the `makefile
's from the f2c distribution have
2491 test -f libF77/makefile && mv libF77/makefile libF77/makefile.ori
2492 test -f libI77/makefile && mv libI77/makefile libI77/makefile.ori
2493 test -f libU77/makefile && mv libU77/makefile libU77/makefile.ori
2495 subdirs="libU77 libI77 libF77"
2497 # Do Makefile first since g2c.h depends on it and shouldn't get an
2498 # earlier timestamp. Of course, it does when the multilib gunk below
2499 # edits Makefile, sigh; see additional touch below.
2501 cat > confcache
<<\EOF
2502 # This file is a shell script that caches the results of configure
2503 # tests run on this system so they can be shared between configure
2504 # scripts and configure runs. It is not useful on other systems.
2505 # If it contains results you don't want to keep, you may remove or edit it.
2507 # By default, configure uses ./config.cache as the cache file,
2508 # creating it if it does not exist already. You can give configure
2509 # the --cache-file=FILE option to use a different cache file; that is
2510 # what configure does when it calls configure scripts in
2511 # subdirectories, so they share the cache.
2512 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2513 # config.status only pays attention to the cache file if you give it the
2514 # --recheck option to rerun configure.
2517 # The following way of writing the cache mishandles newlines in values,
2518 # but we know of no workaround that is simple, portable, and efficient.
2519 # So, don't put newlines in cache variables' values.
2520 # Ultrix sh set writes to stderr and can't be redirected directly,
2521 # and sets the high bit in the cache file unless we assign to the vars.
2523 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2525 # `set' does not quote correctly, so add quotes (double-quote substitution
2526 # turns \\\\ into \\, and sed turns \\ into \).
2528 -e "s/'/'\\\\''/g" \
2529 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2532 # `set' quotes correctly as required by POSIX, so do not add quotes.
2533 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2536 if cmp -s $cache_file confcache
; then
2539 if test -w $cache_file; then
2540 echo "updating cache $cache_file"
2541 cat confcache
> $cache_file
2543 echo "not updating unwritable cache $cache_file"
2548 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2550 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
2551 # Let make expand exec_prefix.
2552 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
2554 # Any assignment to VPATH causes Sun make to only execute
2555 # the first set of double-colon rules, so remove it if not needed.
2556 # If there is a colon in the path, we need to keep it.
2557 if test "x$srcdir" = x.
; then
2558 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2561 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2563 # Transform confdefs.h into DEFS.
2564 # Protect against shell expansion while executing Makefile rules.
2565 # Protect against Makefile macro expansion.
2566 cat > conftest.defs
<<\EOF
2567 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
2568 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
2573 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
2577 # Without the "./", some shells look in PATH for config.status.
2578 : ${CONFIG_STATUS=./config.status}
2580 echo creating $CONFIG_STATUS
2581 rm -f $CONFIG_STATUS
2582 cat > $CONFIG_STATUS <<EOF
2584 # Generated automatically by configure.
2585 # Run this file to recreate the current configuration.
2586 # This directory was configured as follows,
2587 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
2589 # $0 $ac_configure_args
2591 # Compiler output produced by configure, useful for debugging
2592 # configure, is in ./config.log if it exists.
2594 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2597 case "\$ac_option" in
2598 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2599 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2600 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2601 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2602 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2604 -help | --help | --hel | --he | --h)
2605 echo "\$ac_cs_usage"; exit 0 ;;
2606 *) echo "\$ac_cs_usage"; exit 1 ;;
2610 ac_given_srcdir=$srcdir
2611 ac_given_INSTALL="$INSTALL"
2613 trap 'rm -fr `echo "Makefile g2c.h:g2c.hin" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2615 cat >> $CONFIG_STATUS <<EOF
2617 # Protect against being on the right side of a sed subst in config.status.
2618 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2619 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2623 s%@CFLAGS@%$CFLAGS%g
2624 s%@CPPFLAGS@%$CPPFLAGS%g
2625 s%@CXXFLAGS@%$CXXFLAGS%g
2626 s%@FFLAGS@%$FFLAGS%g
2628 s%@LDFLAGS@%$LDFLAGS%g
2630 s%@exec_prefix@%$exec_prefix%g
2631 s%@prefix@%$prefix%g
2632 s%@program_transform_name@%$program_transform_name%g
2633 s%@bindir@%$bindir%g
2634 s%@sbindir@%$sbindir%g
2635 s%@libexecdir@%$libexecdir%g
2636 s%@datadir@%$datadir%g
2637 s%@sysconfdir@%$sysconfdir%g
2638 s%@sharedstatedir@%$sharedstatedir%g
2639 s%@localstatedir@%$localstatedir%g
2640 s%@libdir@%$libdir%g
2641 s%@includedir@%$includedir%g
2642 s%@oldincludedir@%$oldincludedir%g
2643 s%@infodir@%$infodir%g
2644 s%@mandir@%$mandir%g
2646 s%@host_alias@%$host_alias%g
2647 s%@host_cpu@%$host_cpu%g
2648 s%@host_vendor@%$host_vendor%g
2649 s%@host_os@%$host_os%g
2650 s%@target@%$target%g
2651 s%@target_alias@%$target_alias%g
2652 s%@target_cpu@%$target_cpu%g
2653 s%@target_vendor@%$target_vendor%g
2654 s%@target_os@%$target_os%g
2656 s%@build_alias@%$build_alias%g
2657 s%@build_cpu@%$build_cpu%g
2658 s%@build_vendor@%$build_vendor%g
2659 s%@build_os@%$build_os%g
2660 s%@toplevel_srcdir@%$toplevel_srcdir%g
2661 s%@glibcpp_builddir@%$glibcpp_builddir%g
2662 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
2667 s%@RANLIB@%$RANLIB%g
2668 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2669 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2670 s%@INSTALL_DATA@%$INSTALL_DATA%g
2671 s%@EXEEXT@%$EXEEXT%g
2672 s%@gcc_version@%$gcc_version%g
2673 s%@gcc_version_trigger@%$gcc_version_trigger%g
2674 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
2675 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
2676 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
2677 s%@OBJEXT@%$OBJEXT%g
2679 s%@LIBTOOL@%$LIBTOOL%g
2680 s%@SET_MAKE@%$SET_MAKE%g
2682 s%@subdirs@%$subdirs%g
2687 cat >> $CONFIG_STATUS <<\EOF
2689 # Split the substitutions into bite-sized pieces for seds with
2690 # small command number limits, like on Digital OSF/1 and HP-UX.
2691 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2692 ac_file=1 # Number of current file.
2693 ac_beg=1 # First line for current file.
2694 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2697 while $ac_more_lines; do
2698 if test $ac_beg -gt 1; then
2699 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2701 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2703 if test ! -s conftest.s$ac_file; then
2705 rm -f conftest.s$ac_file
2707 if test -z "$ac_sed_cmds"; then
2708 ac_sed_cmds="sed -f conftest.s$ac_file"
2710 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2712 ac_file=`expr $ac_file + 1`
2714 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2717 if test -z "$ac_sed_cmds"; then
2722 cat >> $CONFIG_STATUS <<EOF
2724 CONFIG_FILES=\${CONFIG_FILES-"Makefile g2c.h:g2c.hin"}
2726 cat >> $CONFIG_STATUS <<\EOF
2727 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2730 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
2731 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
2732 *) ac_file_in="${ac_file}.in" ;;
2735 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2737 # Remove last slash and all that follows it. Not all systems have dirname.
2738 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2739 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2740 # The file is in a subdirectory.
2741 test ! -d "$ac_dir" && mkdir "$ac_dir"
2742 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
2743 # A "../" for each directory in $ac_dir_suffix.
2744 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
2746 ac_dir_suffix= ac_dots=
2749 case "$ac_given_srcdir" in
2751 if test -z "$ac_dots"; then top_srcdir=.
2752 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
2753 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2755 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2756 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2759 case "$ac_given_INSTALL" in
2760 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2761 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2764 echo creating "$ac_file"
2766 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
2768 *Makefile*) ac_comsub="1i\\
2769 # $configure_input" ;;
2773 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2775 s%@configure_input@%$configure_input%g
2776 s%@srcdir@%$srcdir%g
2777 s%@top_srcdir@%$top_srcdir%g
2778 s%@INSTALL@%$INSTALL%g
2779 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2784 cat >> $CONFIG_STATUS <<EOF
2788 with_target_subdir=${with_target_subdir}
2789 with_multisubdir=${with_multisubdir}
2790 ac_configure_args="--enable-multilib ${ac_configure_args}"
2791 toplevel_srcdir=${toplevel_srcdir}
2792 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
2795 cat >> $CONFIG_STATUS <<\EOF
2796 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2797 if test -n "$CONFIG_FILES"; then
2798 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
2799 if test -n "${with_target_subdir}"; then
2800 # FIXME: We shouldn't need to set ac_file
2802 . ${toplevel_srcdir}/config-ml.in
2803 touch g2c.h # to keep it more recent than Makefile
2808 chmod +x $CONFIG_STATUS
2809 rm -fr confdefs* $ac_clean_files
2810 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2812 if test "$no_recursion" != yes; then
2814 # Remove --cache-file and --srcdir arguments so they do not pile up.
2815 ac_sub_configure_args=
2817 for ac_arg in $ac_configure_args; do
2818 if test -n "$ac_prev"; then
2823 -cache-file | --cache-file | --cache-fil | --cache-fi \
2824 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2825 ac_prev=cache_file ;;
2826 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2827 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2829 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2831 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2833 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
2837 for ac_config_dir in libU77 libI77 libF77; do
2839 # Do not complain, so a configure script can configure whichever
2840 # parts of a large source tree are present.
2841 if test ! -d $srcdir/$ac_config_dir; then
2845 echo configuring in $ac_config_dir
2850 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
2852 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
2860 # A "../" for each directory in /$ac_config_dir.
2861 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
2864 .) # No --srcdir option. We are building in place.
2865 ac_sub_srcdir=$srcdir ;;
2866 /*) # Absolute path.
2867 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
2869 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
2872 # Check for guested configure; otherwise get Cygnus style configure.
2873 if test -f $ac_sub_srcdir/configure; then
2874 ac_sub_configure=$ac_sub_srcdir/configure
2875 elif test -f $ac_sub_srcdir/configure.in; then
2876 ac_sub_configure=$ac_configure
2878 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
2882 # The recursion is here.
2883 if test -n "$ac_sub_configure"; then
2885 # Make the cache file name correct relative to the subdirectory.
2886 case "$cache_file" in
2887 /*) ac_sub_cache_file=$cache_file ;;
2889 ac_sub_cache_file="$ac_dots$cache_file" ;;
2891 case "$ac_given_INSTALL" in
2892 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2893 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2896 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
2897 # The eval makes quoting arguments work.
2898 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
2901 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }