3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12.2
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-shared use shared libraries"
19 # Initialize some variables set by options.
20 # The variables have the same names as the options, with
21 # dashes changed to underlines.
23 cache_file
=.
/config.cache
32 program_transform_name
=s
,x
,x
,
40 bindir
='${exec_prefix}/bin'
41 sbindir
='${exec_prefix}/sbin'
42 libexecdir
='${exec_prefix}/libexec'
43 datadir
='${prefix}/share'
44 sysconfdir
='${prefix}/etc'
45 sharedstatedir
='${prefix}/com'
46 localstatedir
='${prefix}/var'
47 libdir
='${exec_prefix}/lib'
48 includedir
='${prefix}/include'
49 oldincludedir
='/usr/include'
50 infodir
='${prefix}/info'
51 mandir
='${prefix}/man'
53 # Initialize some other variables.
56 SHELL
=${CONFIG_SHELL-/bin/sh}
57 # Maximum number of lines to put in a shell here document.
64 # If the previous option needs an argument, assign it.
65 if test -n "$ac_prev"; then
66 eval "$ac_prev=\$ac_option"
72 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
76 # Accept the important Cygnus configure options, so we can diagnose typos.
80 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
82 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
83 bindir
="$ac_optarg" ;;
85 -build |
--build |
--buil |
--bui |
--bu)
87 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
90 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
91 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
93 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
94 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
95 cache_file
="$ac_optarg" ;;
97 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
99 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
101 datadir
="$ac_optarg" ;;
103 -disable-* |
--disable-*)
104 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
105 # Reject names that are not valid shell variable names.
106 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
107 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
109 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
110 eval "enable_${ac_feature}=no" ;;
112 -enable-* |
--enable-*)
113 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
114 # Reject names that are not valid shell variable names.
115 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
116 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
118 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
123 eval "enable_${ac_feature}='$ac_optarg'" ;;
125 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
126 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
127 |
--exec |
--exe |
--ex)
128 ac_prev
=exec_prefix
;;
129 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
130 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
131 |
--exec=* |
--exe=* |
--ex=*)
132 exec_prefix
="$ac_optarg" ;;
134 -gas |
--gas |
--ga |
--g)
135 # Obsolete; use --with-gas.
138 -help |
--help |
--hel |
--he)
139 # Omit some internal or obsolete options to make the list less imposing.
140 # This message is too long to be a string in the A/UX 3.1 sh.
142 Usage: configure [options] [host]
143 Options: [defaults in brackets after descriptions]
145 --cache-file=FILE cache test results in FILE
146 --help print this message
147 --no-create do not create output files
148 --quiet, --silent do not print \`checking...' messages
149 --version print the version of autoconf that created configure
150 Directory and file names:
151 --prefix=PREFIX install architecture-independent files in PREFIX
153 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
155 --bindir=DIR user executables in DIR [EPREFIX/bin]
156 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
157 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
158 --datadir=DIR read-only architecture-independent data in DIR
160 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
161 --sharedstatedir=DIR modifiable architecture-independent data in DIR
163 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
164 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
165 --includedir=DIR C header files in DIR [PREFIX/include]
166 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
167 --infodir=DIR info documentation in DIR [PREFIX/info]
168 --mandir=DIR man documentation in DIR [PREFIX/man]
169 --srcdir=DIR find the sources in DIR [configure dir or ..]
170 --program-prefix=PREFIX prepend PREFIX to installed program names
171 --program-suffix=SUFFIX append SUFFIX to installed program names
172 --program-transform-name=PROGRAM
173 run sed PROGRAM on installed program names
177 --build=BUILD configure for building on BUILD [BUILD=HOST]
178 --host=HOST configure for HOST [guessed]
179 --target=TARGET configure for TARGET [TARGET=HOST]
180 Features and packages:
181 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
182 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
183 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
184 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
185 --x-includes=DIR X include files are in DIR
186 --x-libraries=DIR X library files are in DIR
188 if test -n "$ac_help"; then
189 echo "--enable and --with options recognized:$ac_help"
193 -host |
--host |
--hos |
--ho)
195 -host=* |
--host=* |
--hos=* |
--ho=*)
198 -includedir |
--includedir |
--includedi |
--included |
--include \
199 |
--includ |
--inclu |
--incl |
--inc)
200 ac_prev
=includedir
;;
201 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
202 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
203 includedir
="$ac_optarg" ;;
205 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
207 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
208 infodir
="$ac_optarg" ;;
210 -libdir |
--libdir |
--libdi |
--libd)
212 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
213 libdir
="$ac_optarg" ;;
215 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
216 |
--libexe |
--libex |
--libe)
217 ac_prev
=libexecdir
;;
218 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
219 |
--libexe=* |
--libex=* |
--libe=*)
220 libexecdir
="$ac_optarg" ;;
222 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
223 |
--localstate |
--localstat |
--localsta |
--localst \
224 |
--locals |
--local |
--loca |
--loc |
--lo)
225 ac_prev
=localstatedir
;;
226 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
227 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
228 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
229 localstatedir
="$ac_optarg" ;;
231 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
233 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
234 mandir
="$ac_optarg" ;;
237 # Obsolete; use --without-fp.
240 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
244 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
245 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
248 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
249 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
250 |
--oldin |
--oldi |
--old |
--ol |
--o)
251 ac_prev
=oldincludedir
;;
252 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
253 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
254 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
255 oldincludedir
="$ac_optarg" ;;
257 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
259 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
260 prefix
="$ac_optarg" ;;
262 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
263 |
--program-pre |
--program-pr |
--program-p)
264 ac_prev
=program_prefix
;;
265 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
266 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
267 program_prefix
="$ac_optarg" ;;
269 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
270 |
--program-suf |
--program-su |
--program-s)
271 ac_prev
=program_suffix
;;
272 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
273 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
274 program_suffix
="$ac_optarg" ;;
276 -program-transform-name |
--program-transform-name \
277 |
--program-transform-nam |
--program-transform-na \
278 |
--program-transform-n |
--program-transform- \
279 |
--program-transform |
--program-transfor \
280 |
--program-transfo |
--program-transf \
281 |
--program-trans |
--program-tran \
282 |
--progr-tra |
--program-tr |
--program-t)
283 ac_prev
=program_transform_name
;;
284 -program-transform-name=* |
--program-transform-name=* \
285 |
--program-transform-nam=* |
--program-transform-na=* \
286 |
--program-transform-n=* |
--program-transform-=* \
287 |
--program-transform=* |
--program-transfor=* \
288 |
--program-transfo=* |
--program-transf=* \
289 |
--program-trans=* |
--program-tran=* \
290 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
291 program_transform_name
="$ac_optarg" ;;
293 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
294 |
-silent |
--silent |
--silen |
--sile |
--sil)
297 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
299 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
301 sbindir
="$ac_optarg" ;;
303 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
304 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
305 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
307 ac_prev
=sharedstatedir
;;
308 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
309 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
310 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
312 sharedstatedir
="$ac_optarg" ;;
314 -site |
--site |
--sit)
316 -site=* |
--site=* |
--sit=*)
319 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
321 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
322 srcdir
="$ac_optarg" ;;
324 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
325 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
326 ac_prev
=sysconfdir
;;
327 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
328 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
329 sysconfdir
="$ac_optarg" ;;
331 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
333 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
334 target
="$ac_optarg" ;;
336 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
339 -version |
--version |
--versio |
--versi |
--vers)
340 echo "configure generated by autoconf version 2.12.2"
344 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
345 # Reject names that are not valid shell variable names.
346 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
347 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
349 ac_package
=`echo $ac_package| sed 's/-/_/g'`
354 eval "with_${ac_package}='$ac_optarg'" ;;
356 -without-* |
--without-*)
357 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
360 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362 ac_package
=`echo $ac_package| sed 's/-/_/g'`
363 eval "with_${ac_package}=no" ;;
366 # Obsolete; use --with-x.
369 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
370 |
--x-incl |
--x-inc |
--x-in |
--x-i)
371 ac_prev
=x_includes
;;
372 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
373 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
374 x_includes
="$ac_optarg" ;;
376 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
377 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
378 ac_prev
=x_libraries
;;
379 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
380 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
381 x_libraries
="$ac_optarg" ;;
383 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
387 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
388 echo "configure: warning: $ac_option: invalid host type" 1>&2
390 if test "x$nonopt" != xNONE
; then
391 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
399 if test -n "$ac_prev"; then
400 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
403 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
405 # File descriptor usage:
408 # 2 errors and warnings
409 # 3 some systems may open it to /dev/tty
410 # 4 used on the Kubota Titan
411 # 6 checking for... messages and results
412 # 5 compiler messages saved in config.log
413 if test "$silent" = yes; then
421 This file contains any messages produced by compilers while
422 running configure, to aid debugging if configure makes a mistake.
425 # Strip out --no-create and --no-recursion so they do not pile up.
426 # Also quote any args containing shell metacharacters.
431 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
432 |
--no-cr |
--no-c) ;;
433 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
434 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
435 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
436 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
437 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
442 # Only set these to C if already set. These must not be set unconditionally
443 # because not all systems understand e.g. LANG=C (notably SCO).
444 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
445 # Non-C LC_CTYPE values break the ctype check.
446 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
447 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
448 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
449 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
452 rm -rf conftest
* confdefs.h
453 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
456 # A filename unique to this package, relative to the directory that
457 # configure is in, which we can look for to find out if srcdir is correct.
458 ac_unique_file
=gdb.base
460 # Find the source files, if location was not specified.
461 if test -z "$srcdir"; then
462 ac_srcdir_defaulted
=yes
463 # Try the directory containing this script, then its parent.
465 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
466 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
468 if test ! -r $srcdir/$ac_unique_file; then
472 ac_srcdir_defaulted
=no
474 if test ! -r $srcdir/$ac_unique_file; then
475 if test "$ac_srcdir_defaulted" = yes; then
476 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
478 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
481 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
483 # Prefer explicitly selected file to automatically selected ones.
484 if test -z "$CONFIG_SITE"; then
485 if test "x$prefix" != xNONE
; then
486 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
488 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
491 for ac_site_file
in $CONFIG_SITE; do
492 if test -r "$ac_site_file"; then
493 echo "loading site script $ac_site_file"
498 if test -r "$cache_file"; then
499 echo "loading cache $cache_file"
502 echo "creating cache $cache_file"
507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
508 ac_cpp
='$CPP $CPPFLAGS'
509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
511 cross_compiling
=$ac_cv_prog_cc_cross
515 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
516 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
517 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
524 ac_n
= ac_c
='\c' ac_t
=
532 for ac_dir
in `cd $srcdir;pwd`/..
/..
$srcdir/`cd $srcdir;pwd`/..
/..
; do
533 if test -f $ac_dir/install-sh
; then
535 ac_install_sh
="$ac_aux_dir/install-sh -c"
537 elif test -f $ac_dir/install.sh
; then
539 ac_install_sh
="$ac_aux_dir/install.sh -c"
543 if test -z "$ac_aux_dir"; then
544 { echo "configure: error: can not find install-sh or install.sh in `cd $srcdir;pwd`/../.. $srcdir/`cd $srcdir;pwd`/../.." 1>&2; exit 1; }
546 ac_config_guess
=$ac_aux_dir/config.guess
547 ac_config_sub
=$ac_aux_dir/config.sub
548 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
551 # Do some error checking and defaulting for the host and target type.
553 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
556 # 1. You are not allowed to specify --host, --target, and nonopt at the
558 # 2. Host defaults to nonopt.
559 # 3. If nonopt is not specified, then host defaults to the current host,
560 # as determined by config.guess.
561 # 4. Target and build default to nonopt.
562 # 5. If nonopt is not specified, then target and build default to host.
564 # The aliases save the names the user supplied, while $host etc.
565 # will get canonicalized.
566 case $host---$target---$nonopt in
567 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
568 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
572 # Make sure we can run config.sub.
573 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
574 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
577 echo $ac_n "checking host system type""... $ac_c" 1>&6
578 echo "configure:577: checking host system type" >&5
581 case "$host_alias" in
585 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
586 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
588 *) host_alias
=$nonopt ;;
592 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
593 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
594 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
595 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
596 echo "$ac_t""$host" 1>&6
598 echo $ac_n "checking target system type""... $ac_c" 1>&6
599 echo "configure:598: checking target system type" >&5
602 case "$target_alias" in
605 NONE
) target_alias
=$host_alias ;;
606 *) target_alias
=$nonopt ;;
610 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
611 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
612 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
613 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
614 echo "$ac_t""$target" 1>&6
616 echo $ac_n "checking build system type""... $ac_c" 1>&6
617 echo "configure:616: checking build system type" >&5
620 case "$build_alias" in
623 NONE
) build_alias
=$host_alias ;;
624 *) build_alias
=$nonopt ;;
628 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
629 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
630 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
631 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
632 echo "$ac_t""$build" 1>&6
634 test "$host_alias" != "$target_alias" &&
635 test "$program_prefix$program_suffix$program_transform_name" = \
637 program_prefix
=${target_alias}-
640 # Directories to use in all configurations.
641 configdirs
="gdb.asm gdb.base gdb.c++ gdb.disasm gdb.chill gdb.threads gdb.trace"
643 # Directories to use for a configuration which uses stabs.
644 stabsdirs
="gdb.stabs"
646 # this section is for targets that use stabs
647 # add stabs tests for appropriate targets
649 powerpc-
*-aix*) configdirs
="${configdirs} ${stabsdirs}" ;;
650 rs6000-
*-aix*) configdirs
="${configdirs} ${stabsdirs}" ;;
651 *-*-bsd*) configdirs
="${configdirs} ${stabsdirs}" ;;
652 *-*-go32*) configdirs
="${configdirs} ${stabsdirs}" ;;
653 *-*-linux*) configdirs
="${configdirs} ${stabsdirs}" ;;
654 *-*-lynxos*) configdirs
="${configdirs} ${stabsdirs}" ;;
655 *-sun-*) configdirs
="${configdirs} ${stabsdirs}" ;;
656 hppa
*-*-*) configdirs
="${configdirs} ${stabsdirs}" ;;
657 *-*-elf*) configdirs
="${configdirs} ${stabsdirs}" ;;
658 *) if test "x${with_stabs}" = x
"yes" ; then
659 configdirs
="${configdirs} ${stabsdirs}"
663 # Directory with HP specific tests. They will run only with HP's compilers.
664 # These tests will not work on other platforms and compilers.
669 hppa
*-*-hpux*) configdirs
="${configdirs} ${hpdir}" ;;
673 # Begin stuff to support --enable-shared
674 # Check whether --enable-shared or --disable-shared was given.
675 if test "${enable_shared+set}" = set; then
676 enableval
="$enable_shared"
677 case "${enableval}" in
683 RPATH_ENVVAR
=LD_LIBRARY_PATH
684 # If we have shared libraries, try to set RPATH_ENVVAR reasonably.
685 if test "${shared}" = "true"; then
688 RPATH_ENVVAR
=SHLIB_PATH
693 # End stuff to support --enable-shared
694 # Start stuff to support --enable-gdbtk
695 # start-sanitize-gdbtk
696 # Check whether --enable-gdbtk or --disable-gdbtk was given.
697 if test "${enable_gdbtk+set}" = set; then
698 enableval
="$enable_gdbtk"
699 case "${enableval}" in
712 { echo "configure: error: bad value ${enableval} given for gdbtk option" 1>&2; exit 1; } ;;
716 # Default is on for everything but go32 and windows
727 if test "${enable_gdbtk}" = "yes"; then
728 configdirs
="${configdirs} gdb.gdbtk"
730 # End stuff to support --enable-shared
733 # configure the subdirectories too
734 subdirs
="$configdirs"
738 cat > confcache
<<\EOF
739 # This file is a shell script that caches the results of configure
740 # tests run on this system so they can be shared between configure
741 # scripts and configure runs. It is not useful on other systems.
742 # If it contains results you don't want to keep, you may remove or edit it.
744 # By default, configure uses ./config.cache as the cache file,
745 # creating it if it does not exist already. You can give configure
746 # the --cache-file=FILE option to use a different cache file; that is
747 # what configure does when it calls configure scripts in
748 # subdirectories, so they share the cache.
749 # Giving --cache-file=/dev/null disables caching, for debugging configure.
750 # config.status only pays attention to the cache file if you give it the
751 # --recheck option to rerun configure.
754 # The following way of writing the cache mishandles newlines in values,
755 # but we know of no workaround that is simple, portable, and efficient.
756 # So, don't put newlines in cache variables' values.
757 # Ultrix sh set writes to stderr and can't be redirected directly,
758 # and sets the high bit in the cache file unless we assign to the vars.
760 case `(ac_space=' '; set) 2>&1` in
762 # `set' does not quote correctly, so add quotes (double-quote substitution
763 # turns \\\\ into \\, and sed turns \\ into \).
766 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
769 # `set' quotes correctly as required by POSIX, so do not add quotes.
770 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
773 if cmp -s $cache_file confcache
; then
776 if test -w $cache_file; then
777 echo "updating cache $cache_file"
778 cat confcache
> $cache_file
780 echo "not updating unwritable cache $cache_file"
785 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
787 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
788 # Let make expand exec_prefix.
789 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
791 # Any assignment to VPATH causes Sun make to only execute
792 # the first set of double-colon rules, so remove it if not needed.
793 # If there is a colon in the path, we need to keep it.
794 if test "x$srcdir" = x.
; then
795 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
798 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
800 # Transform confdefs.h into DEFS.
801 # Protect against shell expansion while executing Makefile rules.
802 # Protect against Makefile macro expansion.
803 cat > conftest.defs
<<\EOF
804 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
805 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
810 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
814 # Without the "./", some shells look in PATH for config.status.
815 : ${CONFIG_STATUS=./config.status}
817 echo creating $CONFIG_STATUS
819 cat > $CONFIG_STATUS <<EOF
821 # Generated automatically by configure.
822 # Run this file to recreate the current configuration.
823 # This directory was configured as follows,
824 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
826 # $0 $ac_configure_args
828 # Compiler output produced by configure, useful for debugging
829 # configure, is in ./config.log if it exists.
831 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
834 case "\$ac_option" in
835 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
836 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
837 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
838 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
839 echo "$CONFIG_STATUS generated by autoconf version 2.12.2"
841 -help | --help | --hel | --he | --h)
842 echo "\$ac_cs_usage"; exit 0 ;;
843 *) echo "\$ac_cs_usage"; exit 1 ;;
847 ac_given_srcdir=$srcdir
849 trap 'rm -fr `echo "Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
851 cat >> $CONFIG_STATUS <<EOF
853 # Protect against being on the right side of a sed subst in config.status.
854 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
855 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
860 s%@CPPFLAGS@%$CPPFLAGS%g
861 s%@CXXFLAGS@%$CXXFLAGS%g
863 s%@LDFLAGS@%$LDFLAGS%g
865 s%@exec_prefix@%$exec_prefix%g
867 s%@program_transform_name@%$program_transform_name%g
869 s%@sbindir@%$sbindir%g
870 s%@libexecdir@%$libexecdir%g
871 s%@datadir@%$datadir%g
872 s%@sysconfdir@%$sysconfdir%g
873 s%@sharedstatedir@%$sharedstatedir%g
874 s%@localstatedir@%$localstatedir%g
876 s%@includedir@%$includedir%g
877 s%@oldincludedir@%$oldincludedir%g
878 s%@infodir@%$infodir%g
882 s%@host_alias@%$host_alias%g
883 s%@host_cpu@%$host_cpu%g
884 s%@host_vendor@%$host_vendor%g
885 s%@host_os@%$host_os%g
887 s%@target_alias@%$target_alias%g
888 s%@target_cpu@%$target_cpu%g
889 s%@target_vendor@%$target_vendor%g
890 s%@target_os@%$target_os%g
892 s%@build_alias@%$build_alias%g
893 s%@build_cpu@%$build_cpu%g
894 s%@build_vendor@%$build_vendor%g
895 s%@build_os@%$build_os%g
896 s%@RPATH_ENVVAR@%$RPATH_ENVVAR%g
897 s%@subdirs@%$subdirs%g
902 cat >> $CONFIG_STATUS <<\EOF
904 # Split the substitutions into bite-sized pieces for seds with
905 # small command number limits, like on Digital OSF/1 and HP-UX.
906 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
907 ac_file=1 # Number of current file.
908 ac_beg=1 # First line for current file.
909 ac_end=$ac_max_sed_cmds # Line after last line for current file.
912 while $ac_more_lines; do
913 if test $ac_beg -gt 1; then
914 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
916 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
918 if test ! -s conftest.s$ac_file; then
920 rm -f conftest.s$ac_file
922 if test -z "$ac_sed_cmds"; then
923 ac_sed_cmds="sed -f conftest.s$ac_file"
925 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
927 ac_file=`expr $ac_file + 1`
929 ac_end=`expr $ac_end + $ac_max_sed_cmds`
932 if test -z "$ac_sed_cmds"; then
937 cat >> $CONFIG_STATUS <<EOF
939 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
941 cat >> $CONFIG_STATUS <<\EOF
942 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
943 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
945 *:*) ac_file_in=`echo "$ac_file"|
sed 's%[^:]*:%%'`
946 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
947 *) ac_file_in="${ac_file}.in" ;;
950 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
952 # Remove last slash and all that follows it. Not all systems have dirname.
953 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
954 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
955 # The file is in a subdirectory.
956 test ! -d "$ac_dir" && mkdir "$ac_dir"
957 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
958 # A "../" for each directory in $ac_dir_suffix.
959 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
961 ac_dir_suffix= ac_dots=
964 case "$ac_given_srcdir" in
966 if test -z "$ac_dots"; then top_srcdir=.
967 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
968 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
970 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
971 top_srcdir="$ac_dots$ac_given_srcdir" ;;
975 echo creating "$ac_file"
977 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
979 *Makefile*) ac_comsub="1i\\
980 # $configure_input" ;;
984 ac_file_inputs=`echo $ac_file_in|
sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
986 s%@configure_input@%$configure_input%g
988 s%@top_srcdir@%$top_srcdir%g
989 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
994 cat >> $CONFIG_STATUS <<EOF
997 cat >> $CONFIG_STATUS <<\EOF
1001 chmod +x $CONFIG_STATUS
1002 rm -fr confdefs* $ac_clean_files
1003 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1005 if test "$no_recursion" != yes; then
1007 # Remove --cache-file and --srcdir arguments so they do not pile up.
1008 ac_sub_configure_args=
1010 for ac_arg in $ac_configure_args; do
1011 if test -n "$ac_prev"; then
1016 -cache-file | --cache-file | --cache-fil | --cache-fi \
1017 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1018 ac_prev=cache_file ;;
1019 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1020 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1026 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
1030 for ac_config_dir in $configdirs; do
1032 # Do not complain, so a configure script can configure whichever
1033 # parts of a large source tree are present.
1034 if test ! -d $srcdir/$ac_config_dir; then
1038 echo configuring in $ac_config_dir
1043 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
1045 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
1053 # A "../" for each directory in /$ac_config_dir.
1054 ac_dots=`echo $ac_config_dir|
sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
1057 .) # No --srcdir option. We are building in place.
1058 ac_sub_srcdir=$srcdir ;;
1059 /*) # Absolute path.
1060 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
1062 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
1065 # Check for guested configure; otherwise get Cygnus style configure.
1066 if test -f $ac_sub_srcdir/configure; then
1067 ac_sub_configure=$ac_sub_srcdir/configure
1068 elif test -f $ac_sub_srcdir/configure.in; then
1069 ac_sub_configure=$ac_configure
1071 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
1075 # The recursion is here.
1076 if test -n "$ac_sub_configure"; then
1078 # Make the cache file name correct relative to the subdirectory.
1079 case "$cache_file" in
1080 /*) ac_sub_cache_file=$cache_file ;;
1082 ac_sub_cache_file="$ac_dots$cache_file" ;;
1085 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
1086 # The eval makes quoting arguments work.
1087 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
1090 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }