3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.8
5 # Copyright (C) 1992, 1993, 1994 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-targets alternative target configurations"
17 --enable-shared build shared opcodes library"
19 --enable-commonbfdlib build shared BFD/opcodes/libiberty library"
21 # Initialize some variables set by options.
22 # The variables have the same names as the options, with
23 # dashes changed to underlines.
25 cache_file
=.
/config.cache
34 program_transform_name
=s
,x
,x
,
42 bindir
='${exec_prefix}/bin'
43 sbindir
='${exec_prefix}/sbin'
44 libexecdir
='${exec_prefix}/libexec'
45 datadir
='${prefix}/share'
46 sysconfdir
='${prefix}/etc'
47 sharedstatedir
='${prefix}/com'
48 localstatedir
='${prefix}/var'
49 libdir
='${exec_prefix}/lib'
50 includedir
='${prefix}/include'
51 oldincludedir
='/usr/include'
52 infodir
='${prefix}/info'
53 mandir
='${prefix}/man'
55 # Initialize some other variables.
63 # If the previous option needs an argument, assign it.
64 if test -n "$ac_prev"; then
65 eval "$ac_prev=\$ac_option"
71 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
75 # Accept the important Cygnus configure options, so we can diagnose typos.
79 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
81 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
82 bindir
="$ac_optarg" ;;
84 -build |
--build |
--buil |
--bui |
--bu)
86 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
89 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
90 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
92 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
93 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
94 cache_file
="$ac_optarg" ;;
96 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
98 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
100 datadir
="$ac_optarg" ;;
102 -disable-* |
--disable-*)
103 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
104 # Reject names that are not valid shell variable names.
105 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
106 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
108 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
109 eval "enable_${ac_feature}=no" ;;
111 -enable-* |
--enable-*)
112 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
113 # Reject names that are not valid shell variable names.
114 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
115 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
117 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
122 eval "enable_${ac_feature}='$ac_optarg'" ;;
124 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
125 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
126 |
--exec |
--exe |
--ex)
127 ac_prev
=exec_prefix
;;
128 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
129 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
130 |
--exec=* |
--exe=* |
--ex=*)
131 exec_prefix
="$ac_optarg" ;;
133 -gas |
--gas |
--ga |
--g)
134 # Obsolete; use --with-gas.
137 -help |
--help |
--hel |
--he)
138 # Omit some internal or obsolete options to make the list less imposing.
139 # This message is too long to be a string in the A/UX 3.1 sh.
141 Usage: configure [options] [host]
142 Options: [defaults in brackets after descriptions]
144 --cache-file=FILE cache test results in FILE
145 --help print this message
146 --no-create do not create output files
147 --quiet, --silent do not print \`checking...' messages
148 --version print the version of autoconf that created configure
149 Directory and file names:
150 --prefix=PREFIX install architecture-independent files in PREFIX
152 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
154 --bindir=DIR user executables in DIR [EPREFIX/bin]
155 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
156 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
157 --datadir=DIR read-only architecture-independent data in DIR
159 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
160 --sharedstatedir=DIR modifiable architecture-independent data in DIR
162 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
163 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
164 --includedir=DIR C header files in DIR [PREFIX/include]
165 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
166 --infodir=DIR info documentation in DIR [PREFIX/info]
167 --mandir=DIR man documentation in DIR [PREFIX/man]
168 --srcdir=DIR find the sources in DIR [configure dir or ..]
169 --program-prefix=PREFIX prepend PREFIX to installed program names
170 --program-suffix=SUFFIX append SUFFIX to installed program names
171 --program-transform-name=PROGRAM
172 run sed PROGRAM on installed program names
176 --build=BUILD configure for building on BUILD [BUILD=HOST]
177 --host=HOST configure for HOST [guessed]
178 --target=TARGET configure for TARGET [TARGET=HOST]
179 Features and packages:
180 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
181 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
182 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
183 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
184 --x-includes=DIR X include files are in DIR
185 --x-libraries=DIR X library files are in DIR
187 if test -n "$ac_help"; then
188 echo "--enable and --with options recognized:$ac_help"
192 -host |
--host |
--hos |
--ho)
194 -host=* |
--host=* |
--hos=* |
--ho=*)
197 -includedir |
--includedir |
--includedi |
--included |
--include \
198 |
--includ |
--inclu |
--incl |
--inc)
199 ac_prev
=includedir
;;
200 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
201 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
202 includedir
="$ac_optarg" ;;
204 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
206 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
207 infodir
="$ac_optarg" ;;
209 -libdir |
--libdir |
--libdi |
--libd)
211 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
212 libdir
="$ac_optarg" ;;
214 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
215 |
--libexe |
--libex |
--libe)
216 ac_prev
=libexecdir
;;
217 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
218 |
--libexe=* |
--libex=* |
--libe=*)
219 libexecdir
="$ac_optarg" ;;
221 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
222 |
--localstate |
--localstat |
--localsta |
--localst \
223 |
--locals |
--local |
--loca |
--loc |
--lo)
224 ac_prev
=localstatedir
;;
225 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
226 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
227 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
228 localstatedir
="$ac_optarg" ;;
230 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
232 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
233 mandir
="$ac_optarg" ;;
236 # Obsolete; use --without-fp.
239 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
243 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
244 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
247 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
248 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
249 |
--oldin |
--oldi |
--old |
--ol |
--o)
250 ac_prev
=oldincludedir
;;
251 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
252 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
253 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
254 oldincludedir
="$ac_optarg" ;;
256 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
258 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
259 prefix
="$ac_optarg" ;;
261 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
262 |
--program-pre |
--program-pr |
--program-p)
263 ac_prev
=program_prefix
;;
264 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
265 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
266 program_prefix
="$ac_optarg" ;;
268 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
269 |
--program-suf |
--program-su |
--program-s)
270 ac_prev
=program_suffix
;;
271 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
272 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
273 program_suffix
="$ac_optarg" ;;
275 -program-transform-name |
--program-transform-name \
276 |
--program-transform-nam |
--program-transform-na \
277 |
--program-transform-n |
--program-transform- \
278 |
--program-transform |
--program-transfor \
279 |
--program-transfo |
--program-transf \
280 |
--program-trans |
--program-tran \
281 |
--progr-tra |
--program-tr |
--program-t)
282 ac_prev
=program_transform_name
;;
283 -program-transform-name=* |
--program-transform-name=* \
284 |
--program-transform-nam=* |
--program-transform-na=* \
285 |
--program-transform-n=* |
--program-transform-=* \
286 |
--program-transform=* |
--program-transfor=* \
287 |
--program-transfo=* |
--program-transf=* \
288 |
--program-trans=* |
--program-tran=* \
289 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
290 program_transform_name
="$ac_optarg" ;;
292 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
293 |
-silent |
--silent |
--silen |
--sile |
--sil)
296 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
298 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
300 sbindir
="$ac_optarg" ;;
302 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
303 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
304 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
306 ac_prev
=sharedstatedir
;;
307 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
308 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
309 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
311 sharedstatedir
="$ac_optarg" ;;
313 -site |
--site |
--sit)
315 -site=* |
--site=* |
--sit=*)
318 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
320 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
321 srcdir
="$ac_optarg" ;;
323 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
324 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
325 ac_prev
=sysconfdir
;;
326 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
327 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
328 sysconfdir
="$ac_optarg" ;;
330 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
332 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
333 target
="$ac_optarg" ;;
335 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
338 -version |
--version |
--versio |
--versi |
--vers)
339 echo "configure generated by autoconf version 2.8"
343 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
344 # Reject names that are not valid shell variable names.
345 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
346 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
348 ac_package
=`echo $ac_package| sed 's/-/_/g'`
353 eval "with_${ac_package}='$ac_optarg'" ;;
355 -without-* |
--without-*)
356 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
357 # Reject names that are not valid shell variable names.
358 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
359 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
361 ac_package
=`echo $ac_package| sed 's/-/_/g'`
362 eval "with_${ac_package}=no" ;;
365 # Obsolete; use --with-x.
368 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
369 |
--x-incl |
--x-inc |
--x-in |
--x-i)
370 ac_prev
=x_includes
;;
371 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
372 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
373 x_includes
="$ac_optarg" ;;
375 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
376 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
377 ac_prev
=x_libraries
;;
378 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
379 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
380 x_libraries
="$ac_optarg" ;;
382 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
386 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
387 echo "configure: warning: $ac_option: invalid host type" 1>&2
389 if test "x$nonopt" != xNONE
; then
390 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
398 if test -n "$ac_prev"; then
399 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
402 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
404 # File descriptor usage:
407 # 2 errors and warnings
408 # 3 some systems may open it to /dev/tty
409 # 4 used on the Kubota Titan
410 # 6 checking for... messages and results
411 # 5 compiler messages saved in config.log
412 if test "$silent" = yes; then
420 This file contains any messages produced by compilers while
421 running configure, to aid debugging if configure makes a mistake.
424 # Strip out --no-create and --no-recursion so they do not pile up.
425 # Also quote any args containing shell metacharacters.
430 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
431 |
--no-cr |
--no-c) ;;
432 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
433 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
434 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
435 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
436 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
441 # Only set LANG and LC_ALL to C if already set.
442 # These must not be set unconditionally because not all systems understand
443 # e.g. LANG=C (notably SCO).
444 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
445 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
447 # confdefs.h avoids OS command line length limits that DEFS can exceed.
448 rm -rf conftest
* confdefs.h
449 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
452 # A filename unique to this package, relative to the directory that
453 # configure is in, which we can look for to find out if srcdir is correct.
454 ac_unique_file
=z8k-dis.c
456 # Find the source files, if location was not specified.
457 if test -z "$srcdir"; then
458 ac_srcdir_defaulted
=yes
459 # Try the directory containing this script, then its parent.
461 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
464 if test ! -r $srcdir/$ac_unique_file; then
468 ac_srcdir_defaulted
=no
470 if test ! -r $srcdir/$ac_unique_file; then
471 if test "$ac_srcdir_defaulted" = yes; then
472 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
474 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
479 # Prefer explicitly selected file to automatically selected ones.
480 if test -z "$CONFIG_SITE"; then
481 if test "x$prefix" != xNONE
; then
482 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
484 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
487 for ac_site_file
in $CONFIG_SITE; do
488 if test -r "$ac_site_file"; then
489 echo "loading site script $ac_site_file"
494 if test -r "$cache_file"; then
495 echo "loading cache $cache_file"
498 echo "creating cache $cache_file"
503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
504 ac_cpp
='$CPP $CPPFLAGS'
505 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
506 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
508 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
509 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
510 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
517 ac_n
= ac_c
='\c' ac_t
=
521 # configure.in script for the opcodes library.
522 # Copyright (C) 1995, 1996 Free Software Foundation, Inc.
523 # Written by Cygnus Support.
525 # This program is free software; you can redistribute it and/or modify
526 # it under the terms of the GNU General Public License as published by
527 # the Free Software Foundation; either version 2 of the License, or
528 # (at your option) any later version.
530 # This program is distributed in the hope that it will be useful,
531 # but WITHOUT ANY WARRANTY; without even the implied warranty of
532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
533 # GNU General Public License for more details.
535 # You should have received a copy of the GNU General Public License
536 # along with this program; if not, write to the Free Software
537 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
539 # Check whether --enable-targets or --disable-targets was given.
540 if test "${enable_targets+set}" = set; then
541 enableval
="$enable_targets"
542 case "${enableval}" in
543 yes |
"") { echo "configure: error: enable-targets option must specify target names or 'all'" 1>&2; exit 1; }
545 no
) enable_targets
= ;;
546 *) enable_targets
=$enableval ;;
549 # Check whether --enable-shared or --disable-shared was given.
550 if test "${enable_shared+set}" = set; then
551 enableval
="$enable_shared"
552 case "${enableval}" in
555 *) { echo "configure: error: bad value ${enableval} for opcodes shared option" 1>&2; exit 1; } ;;
558 # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
559 if test "${enable_commonbfdlib+set}" = set; then
560 enableval
="$enable_commonbfdlib"
561 case "${enableval}" in
562 yes) commonbfdlib
=true
;;
563 no
) commonbfdlib
=false
;;
564 *) { echo "configure: error: bad value ${enableval} for opcodes commonbfdlib option" 1>&2; exit 1; } ;;
571 for ac_dir
in `cd $srcdir/..;pwd` $srcdir/`cd $srcdir/..;pwd`; do
572 if test -f $ac_dir/install-sh
; then
574 ac_install_sh
="$ac_aux_dir/install-sh -c"
576 elif test -f $ac_dir/install.sh
; then
578 ac_install_sh
="$ac_aux_dir/install.sh -c"
582 if test -z "$ac_aux_dir"; then
583 { echo "configure: error: can not find install-sh or install.sh in `cd $srcdir/..;pwd` $srcdir/`cd $srcdir/..;pwd`" 1>&2; exit 1; }
585 ac_config_guess
=$ac_aux_dir/config.guess
586 ac_config_sub
=$ac_aux_dir/config.sub
587 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
590 # Do some error checking and defaulting for the host and target type.
592 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
595 # 1. You are not allowed to specify --host, --target, and nonopt at the
597 # 2. Host defaults to nonopt.
598 # 3. If nonopt is not specified, then host defaults to the current host,
599 # as determined by config.guess.
600 # 4. Target and build default to nonopt.
601 # 5. If nonopt is not specified, then target and build default to host.
603 # The aliases save the names the user supplied, while $host etc.
604 # will get canonicalized.
605 case $host---$target---$nonopt in
606 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
607 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
611 # Make sure we can run config.sub.
612 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
613 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
616 echo $ac_n "checking host system type""... $ac_c" 1>&6
619 case "$host_alias" in
623 if host_alias
=`$ac_config_guess`; then :
624 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
626 *) host_alias
=$nonopt ;;
630 host=`$ac_config_sub $host_alias`
631 host_cpu
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
632 host_vendor
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
633 host_os
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
634 echo "$ac_t""$host" 1>&6
636 echo $ac_n "checking target system type""... $ac_c" 1>&6
639 case "$target_alias" in
642 NONE
) target_alias
=$host_alias ;;
643 *) target_alias
=$nonopt ;;
647 target
=`$ac_config_sub $target_alias`
648 target_cpu
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
649 target_vendor
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
650 target_os
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
651 echo "$ac_t""$target" 1>&6
653 echo $ac_n "checking build system type""... $ac_c" 1>&6
656 case "$build_alias" in
659 NONE
) build_alias
=$host_alias ;;
660 *) build_alias
=$nonopt ;;
664 build
=`$ac_config_sub $build_alias`
665 build_cpu
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
666 build_vendor
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
667 build_os
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
668 echo "$ac_t""$build" 1>&6
670 test "$host_alias" != "$target_alias" &&
671 test "$program_prefix$program_suffix$program_transform_name" = \
673 program_prefix
=${target_alias}-
675 if test -z "$target" ; then
676 { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; }
678 if test "$program_transform_name" = s
,x
,x
,; then
679 program_transform_name
=
681 # Double any \ or $. echo might interpret backslashes.
682 cat <<\EOF_SED
> conftestsed
683 s
,\\,\\\\,g
; s
,\$
,$$
,g
685 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
688 test "$program_prefix" != NONE
&&
689 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
690 # Use a double $ so make ignores it.
691 test "$program_suffix" != NONE
&&
692 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
694 # sed with no file args requires a program.
695 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
698 # host-specific stuff:
700 ALLLIBS
='$(TARGETLIB)'
704 if test "${shared}" = "true"; then
705 ALLLIBS
='$(TARGETLIB) $(SHLIB) $(SHLINK)'
707 if test "${commonbfdlib}" = "true"; then
708 SHLIB
=..
/bfd
/libbfd.so.
`sed -e 's/[^0-9]*\([0-9.]*\).*/\1/' ${srcdir}/../bfd/VERSION`
709 SHLINK
=..
/bfd
/libbfd.so
711 SHLIB
=libopcodes.so.
`sed -e 's/[^0-9]*\([0-9.]*\).*/\1/' ${srcdir}/../bfd/VERSION`
716 # Extract the first word of "gcc", so it can be a program name with args.
717 set dummy gcc
; ac_word
=$2
718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
719 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
720 echo $ac_n "(cached) $ac_c" 1>&6
722 if test -n "$CC"; then
723 ac_cv_prog_CC
="$CC" # Let the user override the test.
725 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
726 for ac_dir
in $PATH; do
727 test -z "$ac_dir" && ac_dir
=.
728 if test -f $ac_dir/$ac_word; then
737 if test -n "$CC"; then
738 echo "$ac_t""$CC" 1>&6
740 echo "$ac_t""no" 1>&6
743 if test -z "$CC"; then
744 # Extract the first word of "cc", so it can be a program name with args.
745 set dummy cc
; ac_word
=$2
746 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
747 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
748 echo $ac_n "(cached) $ac_c" 1>&6
750 if test -n "$CC"; then
751 ac_cv_prog_CC
="$CC" # Let the user override the test.
753 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
755 for ac_dir
in $PATH; do
756 test -z "$ac_dir" && ac_dir
=.
757 if test -f $ac_dir/$ac_word; then
758 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
767 if test $ac_prog_rejected = yes; then
768 # We found a bogon in the path, so make sure we never use it.
769 set dummy
$ac_cv_prog_CC
771 if test $# -gt 0; then
772 # We chose a different compiler from the bogus one.
773 # However, it has the same basename, so the bogon will be chosen
774 # first if we set CC to just the basename; use the full file name.
776 set dummy
"$ac_dir/$ac_word" "$@"
784 if test -n "$CC"; then
785 echo "$ac_t""$CC" 1>&6
787 echo "$ac_t""no" 1>&6
790 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
793 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
794 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
795 echo $ac_n "(cached) $ac_c" 1>&6
797 cat > conftest.c
<<EOF
802 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
809 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
810 if test $ac_cv_prog_gcc = yes; then
812 if test "${CFLAGS+set}" != set; then
813 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
814 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
815 echo $ac_n "(cached) $ac_c" 1>&6
817 echo 'void f(){}' > conftest.c
818 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
827 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
828 if test $ac_cv_prog_gcc_g = yes; then
836 test "${CFLAGS+set}" = set || CFLAGS
="-g"
840 .
${srcdir}/..
/bfd
/configure.
host
843 if test $host != $build; then
844 ac_tool_prefix
=${host_alias}-
849 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
850 set dummy
${ac_tool_prefix}ar; ac_word
=$2
851 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
852 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
853 echo $ac_n "(cached) $ac_c" 1>&6
855 if test -n "$AR"; then
856 ac_cv_prog_AR
="$AR" # Let the user override the test.
858 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
859 for ac_dir
in $PATH; do
860 test -z "$ac_dir" && ac_dir
=.
861 if test -f $ac_dir/$ac_word; then
862 ac_cv_prog_AR
="${ac_tool_prefix}ar"
867 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
871 if test -n "$AR"; then
872 echo "$ac_t""$AR" 1>&6
874 echo "$ac_t""no" 1>&6
879 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
880 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
881 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
882 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
883 echo $ac_n "(cached) $ac_c" 1>&6
885 if test -n "$RANLIB"; then
886 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
888 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
889 for ac_dir
in $PATH; do
890 test -z "$ac_dir" && ac_dir
=.
891 if test -f $ac_dir/$ac_word; then
892 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
899 RANLIB
="$ac_cv_prog_RANLIB"
900 if test -n "$RANLIB"; then
901 echo "$ac_t""$RANLIB" 1>&6
903 echo "$ac_t""no" 1>&6
907 if test -z "$ac_cv_prog_RANLIB"; then
908 if test -n "$ac_tool_prefix"; then
909 # Extract the first word of "ranlib", so it can be a program name with args.
910 set dummy ranlib
; ac_word
=$2
911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
912 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
913 echo $ac_n "(cached) $ac_c" 1>&6
915 if test -n "$RANLIB"; then
916 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
918 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
919 for ac_dir
in $PATH; do
920 test -z "$ac_dir" && ac_dir
=.
921 if test -f $ac_dir/$ac_word; then
922 ac_cv_prog_RANLIB
="ranlib"
927 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
930 RANLIB
="$ac_cv_prog_RANLIB"
931 if test -n "$RANLIB"; then
932 echo "$ac_t""$RANLIB" 1>&6
934 echo "$ac_t""no" 1>&6
942 # Find a good install program. We prefer a C program (faster),
943 # so one script is as good as another. But avoid the broken or
944 # incompatible versions:
945 # SysV /etc/install, /usr/sbin/install
946 # SunOS /usr/etc/install
949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
951 # ./install, which can be erroneously created by make from ./install.sh.
952 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
953 if test -z "$INSTALL"; then
954 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
955 echo $ac_n "(cached) $ac_c" 1>&6
957 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
958 for ac_dir
in $PATH; do
959 # Account for people who put trailing slashes in PATH elements.
961 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
963 # OSF1 and SCO ODT 3.0 have their own names for install.
964 for ac_prog
in ginstall installbsd scoinst
install; do
965 if test -f $ac_dir/$ac_prog; then
966 if test $ac_prog = install &&
967 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
968 # AIX install. It has an incompatible calling convention.
969 # OSF/1 installbsd also uses dspmsg, but is usable.
972 ac_cv_path_install
="$ac_dir/$ac_prog -c"
983 if test "${ac_cv_path_install+set}" = set; then
984 INSTALL
="$ac_cv_path_install"
986 # As a last resort, use the slow shell script. We don't cache a
987 # path for INSTALL within a source directory, because that will
988 # break other packages using the cache if that directory is
989 # removed, or if the path is relative.
990 INSTALL
="$ac_install_sh"
993 echo "$ac_t""$INSTALL" 1>&6
995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
996 # It thinks the first close brace ends the variable substitution.
997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
999 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1002 if test "${shared}" = "true"; then
1003 if test "${GCC}" != "yes" && test "${shared_non_gcc}" != "yes"; then
1004 echo "configure: warning: opcodes --enable-shared only supported when using gcc" 1>&2
1006 ALLLIBS
='$(TARGETLIB)'
1017 if test "${commonbfdlib}" = "true"; then
1019 # Rebuild the shared library if libiberty or libbfd changes.
1020 SHLIB_DEP
="../libiberty/libiberty.a ../bfd/libbfd.a"
1029 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1030 # On Suns, sometimes $CPP names a directory.
1031 if test -n "$CPP" && test -d "$CPP"; then
1034 if test -z "$CPP"; then
1035 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1036 echo $ac_n "(cached) $ac_c" 1>&6
1038 # This must be in double quotes, not single quotes, because CPP may get
1039 # substituted into the Makefile and "${CC-cc}" will confuse make.
1041 # On the NeXT, cc -E runs the code through the compiler's parser,
1042 # not just through cpp.
1043 cat > conftest.
$ac_ext <<EOF
1044 #line 1045 "configure"
1045 #include "confdefs.h"
1049 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1050 { (eval echo configure
:1051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1051 ac_err
=`grep -v '^ *+' conftest.out`
1052 if test -z "$ac_err"; then
1057 CPP
="${CC-cc} -E -traditional-cpp"
1058 cat > conftest.
$ac_ext <<EOF
1059 #line 1060 "configure"
1060 #include "confdefs.h"
1064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1065 { (eval echo configure
:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1066 ac_err
=`grep -v '^ *+' conftest.out`
1067 if test -z "$ac_err"; then
1077 ac_cv_prog_CPP
="$CPP"
1079 CPP
="$ac_cv_prog_CPP"
1081 ac_cv_prog_CPP
="$CPP"
1083 echo "$ac_t""$CPP" 1>&6
1085 for ac_hdr
in string.h
strings.h
1087 ac_safe
=`echo "$ac_hdr" | tr './\055' '___'`
1088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1089 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1090 echo $ac_n "(cached) $ac_c" 1>&6
1092 cat > conftest.
$ac_ext <<EOF
1093 #line 1094 "configure"
1094 #include "confdefs.h"
1097 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1098 { (eval echo configure
:1099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1099 ac_err
=`grep -v '^ *+' conftest.out`
1100 if test -z "$ac_err"; then
1102 eval "ac_cv_header_$ac_safe=yes"
1106 eval "ac_cv_header_$ac_safe=no"
1110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1111 echo "$ac_t""yes" 1>&6
1112 ac_tr_hdr
=HAVE_
`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1113 cat >> confdefs.h
<<EOF
1114 #define $ac_tr_hdr 1
1118 echo "$ac_t""no" 1>&6
1123 # target-specific stuff:
1125 # Canonicalize the secondary target names.
1126 if test -n "$enable_targets" ; then
1127 for targ
in `echo $enable_targets | sed 's/,/ /g'`
1129 result
=`$ac_config_sub $targ 2>/dev/null`
1130 if test -n "$result" ; then
1131 canon_targets
="$canon_targets $result"
1133 # Allow targets that config.sub doesn't recognize, like "all".
1134 canon_targets
="$canon_targets $targ"
1141 for targ
in $target $canon_targets
1143 if test "x$targ" = "xall" ; then
1146 .
$srcdir/..
/bfd
/config.bfd
1147 selarchs
="$selarchs $targ_archs"
1151 # We don't do any links based on the target system, just makefile config.
1153 if test x
${all_targets} = xfalse
; then
1155 # Target architecture .o files.
1158 for arch
in $selarchs
1160 ad
=`echo $arch | sed -e s/bfd_//g -e s/_arch//g`
1161 archdefs
="$archdefs -DARCH_$ad"
1163 bfd_a29k_arch
) ta
="$ta a29k-dis.o" ;;
1164 bfd_alliant_arch
) ;;
1165 bfd_alpha_arch
) ta
="$ta alpha-dis.o" ;;
1166 # start-sanitize-arc
1167 bfd_arc_arch
) ta
="$ta arc-dis.o arc-opc.o" ;;
1169 bfd_arm_arch
) ta
="$ta arm-dis.o" ;;
1171 bfd_h8300_arch
) ta
="$ta h8300-dis.o" ;;
1172 bfd_h8500_arch
) ta
="$ta h8500-dis.o" ;;
1173 bfd_hppa_arch
) ta
="$ta hppa-dis.o" ;;
1174 bfd_i386_arch
) ta
="$ta i386-dis.o" ;;
1176 bfd_i960_arch
) ta
="$ta i960-dis.o" ;;
1177 bfd_m68k_arch
) ta
="$ta m68k-dis.o m68k-opc.o" ;;
1178 bfd_m88k_arch
) ta
="$ta m88k-dis.o" ;;
1179 bfd_mips_arch
) ta
="$ta mips-dis.o mips-opc.o" ;;
1180 bfd_ns32k_arch
) ta
="$ta ns32k-dis.o" ;;
1181 bfd_powerpc_arch
) ta
="$ta ppc-dis.o ppc-opc.o" ;;
1182 bfd_pyramid_arch
) ;;
1184 bfd_rs6000_arch
) ta
="$ta ppc-dis.o ppc-opc.o" ;;
1185 # start-sanitize-rce
1186 bfd_rce_arch
) ta
="$ta rce-dis.o" ;;
1188 bfd_sh_arch
) ta
="$ta sh-dis.o" ;;
1189 bfd_sparc_arch
) ta
="$ta sparc-dis.o sparc-opc.o" ;;
1192 bfd_w65_arch
) ta
="$ta w65-dis.o" ;;
1194 bfd_z8k_arch
) ta
="$ta z8k-dis.o" ;;
1197 *) { echo "configure: error: *** unknown target architecture $arch" 1>&2; exit 1; } ;;
1201 # Weed out duplicate .o files.
1211 # And duplicate -D flags.
1213 for i
in $archdefs ; do
1223 else # all_targets is true
1225 BFD_MACHINES
='$(ALL_MACHINES)'
1232 cat > confcache
<<\EOF
1233 # This file is a shell script that caches the results of configure
1234 # tests run on this system so they can be shared between configure
1235 # scripts and configure runs. It is not useful on other systems.
1236 # If it contains results you don't want to keep, you may remove or edit it.
1238 # By default, configure uses ./config.cache as the cache file,
1239 # creating it if it does not exist already. You can give configure
1240 # the --cache-file=FILE option to use a different cache file; that is
1241 # what configure does when it calls configure scripts in
1242 # subdirectories, so they share the cache.
1243 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1244 # config.status only pays attention to the cache file if you give it the
1245 # --recheck option to rerun configure.
1248 # Ultrix sh set writes to stderr and can't be redirected directly,
1249 # and sets the high bit in the cache file unless we assign to the vars.
1251 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
1253 if cmp -s $cache_file confcache
; then
1256 if test -w $cache_file; then
1257 echo "updating cache $cache_file"
1258 cat confcache
> $cache_file
1260 echo "not updating unwritable cache $cache_file"
1265 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1267 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1268 # Let make expand exec_prefix.
1269 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1271 # Any assignment to VPATH causes Sun make to only execute
1272 # the first set of double-colon rules, so remove it if not needed.
1273 # If there is a colon in the path, we need to keep it.
1274 if test "x$srcdir" = x.
; then
1275 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
1278 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1280 DEFS
=-DHAVE_CONFIG_H
1282 # Without the "./", some shells look in PATH for config.status.
1283 : ${CONFIG_STATUS=./config.status}
1285 echo creating
$CONFIG_STATUS
1286 rm -f $CONFIG_STATUS
1287 cat > $CONFIG_STATUS <<EOF
1289 # Generated automatically by configure.
1290 # Run this file to recreate the current configuration.
1291 # This directory was configured as follows,
1292 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1294 # $0 $ac_configure_args
1296 # Compiler output produced by configure, useful for debugging
1297 # configure, is in ./config.log if it exists.
1299 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1302 case "\$ac_option" in
1303 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1304 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1305 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1306 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1307 echo "$CONFIG_STATUS generated by autoconf version 2.8"
1309 -help | --help | --hel | --he | --h)
1310 echo "\$ac_cs_usage"; exit 0 ;;
1311 *) echo "\$ac_cs_usage"; exit 1 ;;
1315 ac_given_srcdir=$srcdir
1316 ac_given_INSTALL="$INSTALL"
1318 trap 'rm -fr `echo "Makefile config.h:config.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1320 cat >> $CONFIG_STATUS <<EOF
1322 # Protect against being on the right side of a sed subst in config.status.
1323 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1324 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1327 s%@CFLAGS@%$CFLAGS%g
1328 s%@CPPFLAGS@%$CPPFLAGS%g
1329 s%@CXXFLAGS@%$CXXFLAGS%g
1331 s%@LDFLAGS@%$LDFLAGS%g
1333 s%@exec_prefix@%$exec_prefix%g
1334 s%@prefix@%$prefix%g
1335 s%@program_transform_name@%$program_transform_name%g
1336 s%@bindir@%$bindir%g
1337 s%@sbindir@%$sbindir%g
1338 s%@libexecdir@%$libexecdir%g
1339 s%@datadir@%$datadir%g
1340 s%@sysconfdir@%$sysconfdir%g
1341 s%@sharedstatedir@%$sharedstatedir%g
1342 s%@localstatedir@%$localstatedir%g
1343 s%@libdir@%$libdir%g
1344 s%@includedir@%$includedir%g
1345 s%@oldincludedir@%$oldincludedir%g
1346 s%@infodir@%$infodir%g
1347 s%@mandir@%$mandir%g
1349 s%@host_alias@%$host_alias%g
1350 s%@host_cpu@%$host_cpu%g
1351 s%@host_vendor@%$host_vendor%g
1352 s%@host_os@%$host_os%g
1353 s%@target@%$target%g
1354 s%@target_alias@%$target_alias%g
1355 s%@target_cpu@%$target_cpu%g
1356 s%@target_vendor@%$target_vendor%g
1357 s%@target_os@%$target_os%g
1359 s%@build_alias@%$build_alias%g
1360 s%@build_cpu@%$build_cpu%g
1361 s%@build_vendor@%$build_vendor%g
1362 s%@build_os@%$build_os%g
1364 s%@HDEFINES@%$HDEFINES%g
1366 s%@RANLIB@%$RANLIB%g
1367 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1368 s%@INSTALL_DATA@%$INSTALL_DATA%g
1369 s%@ALLLIBS@%$ALLLIBS%g
1370 s%@PICFLAG@%$PICFLAG%g
1372 s%@SHLIB_CC@%$SHLIB_CC%g
1373 s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g
1374 s%@COMMON_SHLIB@%$COMMON_SHLIB%g
1375 s%@SHLIB_DEP@%$SHLIB_DEP%g
1376 s%@SHLINK@%$SHLINK%g
1378 s%@archdefs@%$archdefs%g
1379 s%@BFD_MACHINES@%$BFD_MACHINES%g
1383 cat >> $CONFIG_STATUS <<EOF
1385 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1387 cat >> $CONFIG_STATUS <<\EOF
1388 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
1389 # Support "outfile[:infile]", defaulting infile="outfile.in".
1391 *:*) ac_file_in
=`echo "$ac_file"|sed 's%.*:%%'`
1392 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1393 *) ac_file_in
="${ac_file}.in" ;;
1396 # Adjust relative srcdir, etc. for subdirectories.
1398 # Remove last slash and all that follows it. Not all systems have dirname.
1399 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1400 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
1401 # The file is in a subdirectory.
1402 test ! -d "$ac_dir" && mkdir
"$ac_dir"
1403 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
1404 # A "../" for each directory in $ac_dir_suffix.
1405 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1407 ac_dir_suffix
= ac_dots
=
1410 case "$ac_given_srcdir" in
1412 if test -z "$ac_dots"; then top_srcdir
=.
1413 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1414 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
1416 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1417 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
1420 case "$ac_given_INSTALL" in
1421 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
1422 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
1424 echo creating
"$ac_file"
1426 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1428 *Makefile
*) ac_comsub
="1i\\
1429 # $configure_input" ;;
1433 s%@configure_input@%$configure_input%g
1434 s%@srcdir@%$srcdir%g
1435 s%@top_srcdir@%$top_srcdir%g
1436 s%@INSTALL@%$INSTALL%g
1437 " -f conftest.subs
$ac_given_srcdir/$ac_file_in > $ac_file
1441 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1442 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1444 # ac_d sets the value in "#define NAME VALUE" lines.
1445 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1446 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
1449 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1450 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1451 ac_uB
='\([ ]\)%\1#\2define\3'
1454 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1455 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1456 ac_eB
='$%\1#\2define\3'
1460 CONFIG_HEADERS
=${CONFIG_HEADERS-"config.h:config.in"}
1461 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
1462 # Support "outfile[:infile]", defaulting infile="outfile.in".
1464 *:*) ac_file_in
=`echo "$ac_file"|sed 's%.*:%%'`
1465 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
1466 *) ac_file_in
="${ac_file}.in" ;;
1469 echo creating
$ac_file
1471 rm -f conftest.frag conftest.
in conftest.out
1472 cp $ac_given_srcdir/$ac_file_in conftest.
in
1476 # Transform confdefs.h into a sed script conftest.vals that substitutes
1477 # the proper values into config.h.in to produce config.h. And first:
1478 # Protect against being on the right side of a sed subst in config.status.
1479 # Protect against being in an unquoted here document in config.status.
1481 cat > conftest.hdr
<<\EOF
1484 s%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1488 sed -n -f conftest.hdr confdefs.h > conftest.vals
1491 # This sed command replaces #undef with comments. This is necessary, for
1492 # example, in the case of _POSIX_SOURCE, which is predefined and required
1493 # on some systems where configure will not decide to define it.
1494 cat >> conftest.vals <<\EOF
1495 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1498 # Break up conftest.vals because some shells have a limit on
1499 # the size of here documents, and old seds have small limits too.
1500 # Maximum number of lines to put in a single here document.
1501 ac_max_here_lines=12
1506 ac_lines=`grep -c . conftest.vals
`
1507 # grep -c gives empty output for an empty file on some AIX systems.
1508 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1509 # Write a limited-size here document to conftest.frag.
1510 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1511 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1513 sed -f conftest.frag conftest.in > conftest.out
1515 mv conftest.out conftest.in
1517 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1519 mv conftest.tail conftest.vals
1523 cat >> $CONFIG_STATUS <<\EOF
1524 rm -f conftest.frag conftest.h
1525 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1526 cat conftest.in >> conftest.h
1528 if cmp -s $ac_file conftest.h 2>/dev/null; then
1529 echo "$ac_file is unchanged"
1533 mv conftest.h $ac_file
1538 case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac
1541 chmod +x $CONFIG_STATUS
1542 rm -fr confdefs* $ac_clean_files
1543 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1