3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.4
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-64-bit-bfd 64-bit support (on hosts with narrower word sizes)"
17 --enable-targets alternative target configurations"
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
,
41 # Initialize some other variables.
48 # If the previous option needs an argument, assign it.
49 if test -n "$ac_prev"; then
50 eval "$ac_prev=\$ac_option"
56 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
60 # Accept the important Cygnus configure options, so we can diagnose typos.
64 -build |
--build |
--buil |
--bui |
--bu |
--b)
66 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=* |
--b=*)
69 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
70 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
72 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
73 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
74 cache_file
="$ac_optarg" ;;
76 -disable-* |
--disable-*)
77 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
78 # Reject names that are not valid shell variable names.
79 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
80 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
82 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
83 eval "enable_${ac_feature}=no" ;;
85 -enable-* |
--enable-*)
86 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
87 # Reject names that are not valid shell variable names.
88 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
89 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
91 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
96 eval "enable_${ac_feature}='$ac_optarg'" ;;
98 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
99 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
100 |
--exec |
--exe |
--ex)
101 ac_prev
=exec_prefix
;;
102 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
103 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
104 |
--exec=* |
--exe=* |
--ex=*)
105 exec_prefix
="$ac_optarg" ;;
107 -gas |
--gas |
--ga |
--g)
108 # Obsolete; use --with-gas.
111 -help |
--help |
--hel |
--he)
112 # Omit some internal or obsolete options to make the list less imposing.
113 # This message is too long to be a string in the A/UX 3.1 sh.
115 Usage: configure [options] [host]
116 Options: [defaults in brackets after descriptions]
118 --cache-file=FILE cache test results in FILE
119 --help print this message
120 --no-create do not create output files
121 --quiet, --silent do not print \`checking...' messages
122 --version print the version of autoconf that created configure
123 Directory and file names:
124 --prefix=PREFIX install architecture-independent files in PREFIX
126 --exec-prefix=PREFIX install architecture-dependent files in PREFIX
128 --srcdir=DIR find the sources in DIR [configure dir or ..]
129 --program-prefix=PREFIX prepend PREFIX to installed program names
130 --program-suffix=SUFFIX append SUFFIX to installed program names
131 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
133 --build=BUILD configure for building on BUILD [BUILD=HOST]
134 --host=HOST configure for HOST [guessed]
135 --target=TARGET configure for TARGET [TARGET=HOST]
136 Features and packages:
137 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
138 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
139 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
140 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
141 --x-includes=DIR X include files are in DIR
142 --x-libraries=DIR X library files are in DIR
143 --enable and --with options recognized:$ac_help
147 -host |
--host |
--hos |
--ho)
149 -host=* |
--host=* |
--hos=* |
--ho=*)
153 # Obsolete; use --without-fp.
156 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
160 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
161 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
164 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
166 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
167 prefix
="$ac_optarg" ;;
169 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
170 |
--program-pre |
--program-pr |
--program-p)
171 ac_prev
=program_prefix
;;
172 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
173 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
174 program_prefix
="$ac_optarg" ;;
176 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
177 |
--program-suf |
--program-su |
--program-s)
178 ac_prev
=program_suffix
;;
179 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
180 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
181 program_suffix
="$ac_optarg" ;;
183 -program-transform-name |
--program-transform-name \
184 |
--program-transform-nam |
--program-transform-na \
185 |
--program-transform-n |
--program-transform- \
186 |
--program-transform |
--program-transfor \
187 |
--program-transfo |
--program-transf \
188 |
--program-trans |
--program-tran \
189 |
--progr-tra |
--program-tr |
--program-t)
190 ac_prev
=program_transform_name
;;
191 -program-transform-name=* |
--program-transform-name=* \
192 |
--program-transform-nam=* |
--program-transform-na=* \
193 |
--program-transform-n=* |
--program-transform-=* \
194 |
--program-transform=* |
--program-transfor=* \
195 |
--program-transfo=* |
--program-transf=* \
196 |
--program-trans=* |
--program-tran=* \
197 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
198 program_transform_name
="$ac_optarg" ;;
200 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
201 |
-silent |
--silent |
--silen |
--sile |
--sil)
204 -site |
--site |
--sit)
206 -site=* |
--site=* |
--sit=*)
209 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
211 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
212 srcdir
="$ac_optarg" ;;
214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
217 target
="$ac_optarg" ;;
219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
222 -version |
--version |
--versio |
--versi |
--vers)
223 echo "configure generated by autoconf version 2.4"
227 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
228 # Reject names that are not valid shell variable names.
229 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
230 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
232 ac_package
=`echo $ac_package| sed 's/-/_/g'`
237 eval "with_${ac_package}='$ac_optarg'" ;;
239 -without-* |
--without-*)
240 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
241 # Reject names that are not valid shell variable names.
242 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
243 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
245 ac_package
=`echo $ac_package| sed 's/-/_/g'`
246 eval "with_${ac_package}=no" ;;
249 # Obsolete; use --with-x.
252 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
253 |
--x-incl |
--x-inc |
--x-in |
--x-i)
254 ac_prev
=x_includes
;;
255 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
256 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
257 x_includes
="$ac_optarg" ;;
259 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
260 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
261 ac_prev
=x_libraries
;;
262 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
263 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
264 x_libraries
="$ac_optarg" ;;
266 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
270 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
271 echo "configure: warning: $ac_option: invalid host type" 1>&2
273 if test "x$nonopt" != xNONE
; then
274 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
282 if test -n "$ac_prev"; then
283 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
286 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
288 # File descriptor usage:
291 # 2 errors and warnings
292 # 3 some systems may open it to /dev/tty
293 # 4 used on the Kubota Titan
294 # 6 checking for... messages and results
295 # 5 compiler messages saved in config.log
296 if test "$silent" = yes; then
304 This file contains any messages produced by compilers while
305 running configure, to aid debugging if configure makes a mistake.
308 # Strip out --no-create and --no-recursion so they do not pile up.
309 # Also quote any args containing shell metacharacters.
314 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
315 |
--no-cr |
--no-c) ;;
316 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
317 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
318 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
319 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
320 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
325 # Only set LANG and LC_ALL to C if already set.
326 # These must not be set unconditionally because not all systems understand
327 # e.g. LANG=C (notably SCO).
328 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
329 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
331 # confdefs.h avoids OS command line length limits that DEFS can exceed.
332 rm -rf conftest
* confdefs.h
333 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
336 # A filename unique to this package, relative to the directory that
337 # configure is in, which we can look for to find out if srcdir is correct.
338 ac_unique_file
=libbfd.c
340 # Find the source files, if location was not specified.
341 if test -z "$srcdir"; then
342 ac_srcdir_defaulted
=yes
343 # Try the directory containing this script, then its parent.
345 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
346 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
348 if test ! -r $srcdir/$ac_unique_file; then
352 ac_srcdir_defaulted
=no
354 if test ! -r $srcdir/$ac_unique_file; then
355 if test "$ac_srcdir_defaulted" = yes; then
356 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
358 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
361 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
363 # Prefer explicitly selected file to automatically selected ones.
364 if test -z "$CONFIG_SITE"; then
365 if test "x$prefix" != xNONE
; then
366 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
368 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
371 for ac_site_file
in $CONFIG_SITE; do
372 if test -r "$ac_site_file"; then
373 echo "loading site script $ac_site_file"
378 if test -r "$cache_file"; then
379 echo "loading cache $cache_file"
382 echo "creating cache $cache_file"
387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
388 ac_cpp
='$CPP $CPPFLAGS'
389 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5 2>&5'
390 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5 2>&5'
392 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
393 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
394 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
401 ac_n
= ac_c
='\c' ac_t
=
406 # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
407 enableval
="$enable_64_bit_bfd"
408 if test -n "$enableval"; then
409 case "${enableval}" in
412 *) { echo "configure: error: bad value ${enableval} for 64-bit-bfd option" 1>&2; exit 1; } ;;
417 # Check whether --enable-targets or --disable-targets was given.
418 enableval
="$enable_targets"
419 if test -n "$enableval"; then
420 case "${enableval}" in
421 yes |
"") { echo "configure: error: enable-targets option must specify target names or 'all'" 1>&2; exit 1; }
423 no
) enable_targets
= ;;
424 *) enable_targets
=$enableval ;;
429 for ac_dir
in `cd $srcdir/..;pwd` $srcdir/`cd $srcdir/..;pwd`; do
430 if test -f $ac_dir/install-sh
; then
432 ac_install_sh
="$ac_aux_dir/install-sh -c"
434 elif test -f $ac_dir/install.sh
; then
436 ac_install_sh
="$ac_aux_dir/install.sh -c"
440 if test -z "$ac_aux_dir"; then
441 { echo "configure: error: can not find install-sh or install.sh in `cd $srcdir/..;pwd` $srcdir/`cd $srcdir/..;pwd`" 1>&2; exit 1; }
443 ac_config_guess
=$ac_aux_dir/config.guess
444 ac_config_sub
=$ac_aux_dir/config.sub
445 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
448 # Do some error checking and defaulting for the host and target type.
450 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
453 # 1. You are not allowed to specify --host, --target, and nonopt at the
455 # 2. Host defaults to nonopt.
456 # 3. If nonopt is not specified, then host defaults to the current host,
457 # as determined by config.guess.
458 # 4. Target and build default to nonopt.
459 # 5. If nonopt is not specified, then target and build default to host.
461 # The aliases save the names the user supplied, while $host etc.
462 # will get canonicalized.
463 case $host---$target---$nonopt in
464 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
465 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
469 # Make sure we can run config.sub.
470 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
471 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
474 echo $ac_n "checking host system type""... $ac_c" 1>&6
477 case "$host_alias" in
481 if host_alias
=`$ac_config_guess`; then :
482 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
484 *) host_alias
=$nonopt ;;
488 host=`$ac_config_sub $host_alias`
489 host_cpu
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
490 host_vendor
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
491 host_os
=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
492 echo "$ac_t""$host" 1>&6
494 echo $ac_n "checking target system type""... $ac_c" 1>&6
497 case "$target_alias" in
500 NONE
) target_alias
=$host_alias ;;
501 *) target_alias
=$nonopt ;;
505 target
=`$ac_config_sub $target_alias`
506 target_cpu
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
507 target_vendor
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
508 target_os
=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
509 echo "$ac_t""$target" 1>&6
511 echo $ac_n "checking build system type""... $ac_c" 1>&6
514 case "$build_alias" in
517 NONE
) build_alias
=$host_alias ;;
518 *) build_alias
=$nonopt ;;
522 build
=`$ac_config_sub $build_alias`
523 build_cpu
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
524 build_vendor
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
525 build_os
=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
526 echo "$ac_t""$build" 1>&6
528 test "$host_alias" != "$target_alias" &&
529 test "$program_prefix$program_suffix$program_transform_name" = \
531 program_prefix
=${target_alias}-
533 if test -z "$target" ; then
534 { echo "configure: error: Unrecognized target system type; please check config.sub." 1>&2; exit 1; }
536 if test "$program_transform_name" = s
,x
,x
,; then
537 program_transform_name
=
540 echo 's,\\,\\\\,g; s,\$,$$,g' > conftestsed
541 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
544 test "$program_prefix" != NONE
&&
545 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
546 # Use a double $ so make ignores it.
547 test "$program_suffix" != NONE
&&
548 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
550 # sed with no file args requires a program.
551 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
559 .
${srcdir}/configure.
host
561 # Extract the first word of "ranlib", so it can be a program name with args.
562 set dummy ranlib
; ac_word
=$2
563 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
564 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
565 echo $ac_n "(cached) $ac_c" 1>&6
567 if test -n "$RANLIB"; then
568 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
570 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
571 for ac_dir
in $PATH; do
572 test -z "$ac_dir" && ac_dir
=.
573 if test -f $ac_dir/$ac_word; then
574 ac_cv_prog_RANLIB
="ranlib"
579 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
582 RANLIB
="$ac_cv_prog_RANLIB"
583 if test -n "$RANLIB"; then
584 echo "$ac_t""$RANLIB" 1>&6
586 echo "$ac_t""no" 1>&6
590 # Set up to make a link between the host's include file and "sysdep.h".
591 files
=hosts
/${my_host}.h
593 if test ! -f ${srcdir}/${files} ; then
594 files
=..
/bfd
/hosts
/std-host.h
595 echo "configure: warning: BFD has no specific support for host ${host} -- using std-host" 1>&2
600 if test -f ${srcdir}/config
/${my_host}.mh
; then
601 host_makefile_frag
=$srcdir/config
/${my_host}.mh
603 host_makefile_frag
=/dev
/null
607 # If we are configured native, pick a core file support file.
610 if test "${target}" = "${host}"; then
612 alpha-
*-*) COREFILE
=osf-core.o
;;
613 arm-
*-riscix) COREFILE
=trad-core.o
;;
614 hppa
*-*-hpux*) COREFILE
=hpux-core.o
;;
615 hppa
*-*-hiux*) COREFILE
=hpux-core.o
;;
616 hppa
*-*-bsd*) COREFILE
="hpux-core.o hppabsd-core.o"
617 COREFLAG
="-DHPUX_CORE -DHPPABSD_CORE" ;;
618 i34586-sequent-bsd
*) COREFILE
=trad-core.o
;;
619 i34586-sequent-sysv4
*) ;;
620 i34586-sequent-sysv
*) COREFILE
=trad-core.o
;;
621 i34586-
*-bsd*) COREFILE
=trad-core.o
;;
622 i34586-
*-freebsd*) COREFILE
=trad-core.o
;;
623 i34586-
*-netbsd*) COREFILE
=trad-core.o
;;
624 i34586-esix-sysv3
*) COREFILE
=trad-core.o
;;
625 i34586-
*-sco*) COREFILE
=trad-core.o
;;
626 i34586-
*-mach3*) COREFILE
=trad-core.o
;;
627 i34586-
*-linux*) COREFILE
=trad-core.o
;;
628 i34586-
*-isc*) COREFILE
=trad-core.o
;;
629 i34586-
*-aix*) COREFILE
=aix386-core.o
;;
630 mips-dec-bsd
*) COREFILE
=trad-core.o
;;
631 mips-dec-mach3
*) COREFILE
=trad-core.o
;;
632 mips-dec-
*) COREFILE
=trad-core.o
;;
633 mips-sgi-irix4
*) COREFILE
=irix-core.o
;;
634 mips-sgi-irix5
*) COREFILE
=irix-core.o
;;
635 mips-
*-mach3*) COREFILE
=trad-core.o
;;
637 mips-
*-sysv*) COREFILE
=trad-core.o
;;
638 mips-
*-riscos*) COREFILE
=trad-core.o
;;
639 mips-sony-bsd
*) COREFILE
=trad-core.o
;;
640 m68
*-bull*-sysv*) COREFILE
=trad-core.o
;;
641 m68
*-hp-hpux*) COREFILE
=hpux-core.o
;;
642 m68
*-hp-bsd*) COREFILE
=trad-core.o
;;
643 m68
*-motorola-sysv*) COREFILE
=ptrace-core.o
;;
644 m68
*-sony-*) COREFILE
=trad-core.o
;;
646 m88
*-motorola-sysv*) COREFILE
=trad-core.o
;;
647 m88
*-*-mach3*) COREFILE
=trad-core.o
;;
648 ns32k-pc532-mach
) COREFILE
=trad-core.o
;;
649 rs6000-
*-lynx*) COREFILE
=lynx-core.o
;;
650 rs6000-
*-aix4*) COREFILE
=rs6000-core.o
651 COREFLAG
=-DALTERNATE_AIX_CORE_FORMAT ;;
652 rs6000-
*-*) COREFILE
=rs6000-core.o
;;
653 powerpc-
*-aix4*) COREFILE
=rs6000-core.o
654 COREFLAG
=-DALTERNATE_AIX_CORE_FORMAT ;;
655 powerpc-
*-aix*) COREFILE
=rs6000-core.o
;;
656 tahoe-
*-*) COREFILE
=trad-core.o
;;
657 vax-
*-ultrix2*) COREFILE
=trad-core.o
;;
658 vax-
*-ultrix*) COREFILE
=trad-core.o
;;
659 vax-
*-*) COREFILE
=trad-core.o
;;
663 aix386-core.o
) COREFLAG
=-DAIX386_CORE ;;
664 hppabsd-core.o
) COREFLAG
=-DHPPABSD_CORE ;;
665 hpux-core.o
) COREFLAG
=-DHPUX_CORE ;;
666 irix-core.o
) COREFLAG
=-DIRIX_CORE ;;
667 lynx-core.o
) COREFLAG
=-DLYNX_CORE ;;
668 osf-core.o
) COREFLAG
=-DOSF_CORE ;;
669 ptrace-core.o
) COREFLAG
=-DPTRACE_CORE ;;
670 rs6000-core.o
) COREFLAG
="$COREFLAG -DAIX_CORE" ;;
671 trad-core.o
) COREFLAG
=-DTRAD_CORE ;;
679 # Canonicalize the secondary target names.
680 if test -n "$enable_targets" ; then
681 for targ
in `echo $enable_targets | sed 's/,/ /g'`
683 result
=`$ac_config_sub $targ 2>/dev/null`
684 if test -n "$result" ; then
685 canon_targets
="$canon_targets $result"
687 # Allow targets that config.sub doesn't recognize, like "all".
688 canon_targets
="$canon_targets $targ"
695 for targ
in $target $canon_targets
697 bfd_target
=`${config_shell} $srcdir/config.bfd $targ`
699 if test "x$bfd_target" = "xall" ; then
702 if test ! -f ${srcdir}/config
/${bfd_target}.mt
; then
703 { echo "configure: error: *** No file ${srcdir}/config/${bfd_target}.mt.
704 *** BFD does not support target ${bfd_target}.
705 *** Look in bfd/config.bfd for supported targets." 1>&2; exit 1; }
709 if test "x$targ" = "x$target" ; then
710 target_makefile_frag
=${srcdir}/config
/${bfd_target}.mt
712 target_extra_frags
="$target_extra_frags ${srcdir}/config/${bfd_target}.mt"
717 frags
=$target_makefile_frag
718 if test $host_makefile_frag != /dev
/null
; then
719 frags
="$frags $host_makefile_frag"
724 # This processing still needs to be done if we're to decide properly whether
725 # 64-bit support needs to be compiled in. Currently, it will be included if
726 # the default or any other explicitly requested target requires it; it
727 # will not be included on a 32-bit host if no 64-bit target is requested, and
728 # no "--with-64-bit-bfd" option is given, even if "--with-targets=all" is
731 # The default vector in the primary target.
732 DEFAULT_VECTOR
=`sed -n '
733 s/DEFAULT_VECTOR[ ]*=[ ]*\([^ ]*\)/\1/p
734 ' $target_makefile_frag`
736 allfrags
="$target_makefile_frag $target_extra_frags"
738 # The default and selected vectors in all the configured targets.
739 SELECT_VECS
=`sed -n '
740 s/DEFAULT_VECTOR[ ]*=[ ]*\([^ ]*\)/\1/p
741 s/SELECT_VECS[ ]*=[ ]*\([^ ]*\)/\1/p
745 for i
in $SELECT_VECS ; do
753 # The architectures in all the configured targets.
754 SELECT_ARCHITECTURES
=`sed -n '
755 s/SELECT_ARCHITECTURES[ ]*=[ ]*//p
759 for i
in $SELECT_ARCHITECTURES ; do
765 SELECT_ARCHITECTURES
="$f"
767 # Target backend .o files.
770 elf
="elf.o elflink.o"
772 for vec
in $SELECT_VECS
775 # This list is alphabetized to make it easy to compare
776 # with the two vector lists in targets.c.
777 a29kcoff_big_vec
) tb
="$tb coff-a29k.o cofflink.o" ;;
778 a_out_adobe_vec
) tb
="$tb aout-adobe.o aout32.o stab-syms.o" ;;
779 armpe_little_vec
) tb
="$tb pe-arm.o cofflink.o " ;;
780 armpe_big_vec
) tb
="$tb pe-arm.o cofflink.o " ;;
781 armpei_little_vec
) tb
="$tb pei-arm.o cofflink.o " ;;
782 armpei_big_vec
) tb
="$tb pei-arm.o cofflink.o " ;;
783 aout0_big_vec
) tb
="$tb aout0.o aout32.o stab-syms.o" ;;
784 aout_arm_big_vec
) tb
="$tb aout-arm.o aout32.o stab-syms.o" ;;
785 aout_arm_little_vec
) tb
="$tb aout-arm.o aout32.o stab-syms.o" ;;
786 aout_mips_big_vec
) tb
="$tb mipsbsd.o aout32.o stab-syms.o" ;;
787 aout_mips_little_vec
) tb
="$tb mipsbsd.o aout32.o stab-syms.o" ;;
788 apollocoff_vec
) tb
="$tb coff-apollo.o" ;;
789 b_out_vec_big_host
) tb
="$tb bout.o aout32.o stab-syms.o" ;;
790 b_out_vec_little_host
) tb
="$tb bout.o aout32.o stab-syms.o" ;;
792 bfd_elf32_littlearc_vec
) tb
="$tb elf32-arc.o elf32.o $elf" ;;
793 bfd_elf32_bigarc_vec
) tb
="$tb elf32-arc.o elf32.o $elf" ;;
795 bfd_elf32_big_generic_vec
) tb
="$tb elf32-gen.o elf32.o $elf" ;;
796 bfd_elf32_bigmips_vec
) tb
="$tb elf32-mips.o elf32.o $elf ecofflink.o" ;;
797 bfd_elf32_hppa_vec
) tb
="$tb elf32-hppa.o elf32.o $elf" ;;
798 bfd_elf32_i386_vec
) tb
="$tb elf32-i386.o elf32.o $elf" ;;
799 bfd_elf32_i860_vec
) tb
="$tb elf32-i860.o elf32.o $elf" ;;
800 bfd_elf32_little_generic_vec
) tb
="$tb elf32-gen.o elf32.o $elf" ;;
801 bfd_elf32_littlemips_vec
) tb
="$tb elf32-mips.o elf32.o $elf ecofflink.o" ;;
802 bfd_elf32_m68k_vec
) tb
="$tb elf32-m68k.o elf32.o $elf" ;;
803 bfd_elf32_m88k_vec
) tb
="$tb elf32-m88k.o elf32.o $elf" ;;
804 bfd_elf32_powerpc_vec
) tb
="$tb elf32-ppc.o elf32.o $elf" ;;
805 bfd_elf32_powerpcle_vec
) tb
="$tb elf32-ppc.o elf32.o $elf" ;;
806 bfd_elf32_sparc_vec
) tb
="$tb elf32-sparc.o elf32.o $elf" ;;
807 bfd_elf64_big_generic_vec
) tb
="$tb elf64-gen.o elf64.o $elf"
809 bfd_elf64_little_generic_vec
) tb
="$tb elf64-gen.o elf64.o $elf"
811 bfd_elf64_sparc_vec
) tb
="$tb elf64-sparc.o elf64.o $elf"
813 cisco_core_vec
) tb
="$tb cisco-core.o" ;;
814 demo_64_vec
) tb
="$tb demo64.o aout64.o stab-syms.o"
816 ecoff_big_vec
) tb
="$tb coff-mips.o ecoff.o ecofflink.o" ;;
817 ecoff_little_vec
) tb
="$tb coff-mips.o ecoff.o ecofflink.o" ;;
818 ecoffalpha_little_vec
) tb
="$tb coff-alpha.o ecoff.o ecofflink.o"
820 h8300coff_vec
) tb
="$tb coff-h8300.o reloc16.o" ;;
821 h8500coff_vec
) tb
="$tb coff-h8500.o reloc16.o" ;;
822 host_aout_vec
) tb
="$tb host-aout.o aout32.o stab-syms.o" ;;
823 hp300bsd_vec
) tb
="$tb hp300bsd.o aout32.o stab-syms.o" ;;
824 hp300hpux_vec
) tb
="$tb hp300hpux.o aout32.o stab-syms.o" ;;
825 i386aout_vec
) tb
="$tb i386aout.o aout32.o stab-syms.o" ;;
826 i386bsd_vec
) tb
="$tb i386bsd.o aout32.o stab-syms.o" ;;
827 i386dynix_vec
) tb
="$tb i386dynix.o aout32.o stab-syms.o" ;;
828 i386coff_vec
) tb
="$tb coff-i386.o cofflink.o" ;;
829 i386msdos_vec
) tb
="$tb i386msdos.o" ;;
830 i386pe_vec
) tb
="$tb pe-i386.o cofflink.o " ;;
831 i386pei_vec
) tb
="$tb pei-i386.o cofflink.o" ;;
832 i386linux_vec
) tb
="$tb i386linux.o aout32.o stab-syms.o" ;;
833 i386lynx_aout_vec
) tb
="$tb i386lynx.o lynx-core.o aout32.o stab-syms.o" ;;
834 i386lynx_coff_vec
) tb
="$tb cf-i386lynx.o cofflink.o lynx-core.o stab-syms.o" ;;
835 i386mach3_vec
) tb
="$tb i386mach3.o aout32.o stab-syms.o" ;;
836 i386netbsd_vec
) tb
="$tb i386netbsd.o aout32.o stab-syms.o" ;;
837 i386os9k_vec
) tb
="$tb i386os9k.o aout32.o stab-syms.o" ;;
838 icoff_big_vec
) tb
="$tb coff-i960.o" ;;
839 icoff_little_vec
) tb
="$tb coff-i960.o" ;;
840 ieee_vec
) tb
="$tb ieee.o" ;;
841 m68kcoff_vec
) tb
="$tb coff-m68k.o cofflink.o" ;;
842 m68kcoffun_vec
) tb
="$tb coff-u68k.o coff-m68k.o cofflink.o" ;;
843 m68klynx_aout_vec
) tb
="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;;
844 m68klynx_coff_vec
) tb
="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o stab-syms.o" ;;
845 m68knetbsd_vec
) tb
="$tb m68knetbsd.o aout32.o stab-syms.o" ;;
846 m88kbcs_vec
) tb
="$tb coff-m88k.o" ;;
847 newsos3_vec
) tb
="$tb newsos3.o aout32.o stab-syms.o" ;;
848 nlm32_i386_vec
) tb
="$tb nlm32-i386.o nlm32.o nlm.o" ;;
849 nlm32_sparc_vec
) tb
="$tb nlm32-sparc.o nlm32.o nlm.o" ;;
850 nlm32_alpha_vec
) tb
="$tb nlm32-alpha.o nlm32.o nlm.o"
852 riscix_vec
) tb
="$tb aout32.o riscix.o stab-syms.o" ;;
853 nlm32_powerpc_vec
) tb
="$tb nlm32-ppc.o nlm32.o nlm.o" ;;
854 pc532netbsd_vec
) tb
="$tb ns32knetbsd.o aout-ns32k.o stab-syms.o" ;;
855 pc532machaout_vec
) tb
="$tb pc532-mach.o aout-ns32k.o stab-syms.o" ;;
856 rs6000coff_vec
) tb
="$tb coff-rs6000.o" ;;
857 shcoff_vec
) tb
="$tb coff-sh.o cofflink.o" ;;
859 rce_aout_vec
) tb
="$tb aout-rce.o aout32.o stab-syms.o" ;;
861 shlcoff_vec
) tb
="$tb coff-sh.o cofflink.o" ;;
862 som_vec
) tb
="$tb som.o" ;;
863 sparclynx_aout_vec
) tb
="$tb sparclynx.o lynx-core.o aout32.o stab-syms.o" ;;
864 sparclynx_coff_vec
) tb
="$tb cf-sparclynx.o lynx-core.o stab-syms.o" ;;
865 sparcnetbsd_vec
) tb
="$tb sparcnetbsd.o aout32.o stab-syms.o" ;;
866 sparccoff_vec
) tb
="$tb coff-sparc.o" ;;
867 srec_vec
) tb
="$tb srec.o" ;;
868 sunos_big_vec
) tb
="$tb sunos.o aout32.o stab-syms.o" ;;
869 symbolsrec_vec
) tb
="$tb srec.o" ;;
870 tekhex_vec
) tb
="$tb tekhex.o" ;;
871 we32kcoff_vec
) tb
="$tb coff-we32k.o" ;;
872 z8kcoff_vec
) tb
="$tb coff-z8k.o reloc16.o" ;;
873 w65_vec
) tb
="$tb coff-w65.o reloc16.o" ;;
874 versados_vec
) tb
="$tb versados.o" ;;
877 *) { echo "configure: error: *** unknown target vector $vec" 1>&2; exit 1; } ;;
881 # Target architecture .o files.
882 ta
=`echo $SELECT_ARCHITECTURES | sed -e s/bfd_/cpu-/g -e s/_arch/.o/g`
884 # Weed out duplicate .o files.
906 if test x
${all_targets} = xtrue
; then
907 bfd_backends
="${bfd_backends}"' $(ALL_BACKENDS)'
908 bfd_machines
="${bfd_machines}"' $(ALL_MACHINES)'
909 else # all_targets is true
910 # Only set these if they will be nonempty, for the clever echo.
911 test -n "$SELECT_VECS" &&
912 selvecs
=`echo $SELECT_VECS | sed -e 's/^/\&/' -e 's/ \(.\)/,\&\1/g'`
913 test -n "SELECT_ARCHITECTURES" &&
914 selarchs
=`echo $SELECT_ARCHITECTURES | sed -e 's/ \(.\)/,\1/g'`
915 fi # all_targets is true
917 case ${host64}-${target64}-${want64} in
920 all_backends
='$(BFD64_BACKENDS) $(BFD32_BACKENDS)'
924 all_backends
='$(BFD32_BACKENDS)'
933 test -n "$DEFAULT_VECTOR" && defvec
="$DEFAULT_VECTOR"
936 test -n "${defvec}" && tdefaults="${tdefaults} -DDEFAULT_VECTOR=${defvec}"
937 test -n "${selvecs}" && tdefaults="${tdefaults} -DSELECT_VECS='${selvecs}'"
938 test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'"
941 rm -f doc
/config.status
943 cat > confcache
<<\EOF
944 # This file is a shell script that caches the results of configure
945 # tests run on this system so they can be shared between configure
946 # scripts and configure runs. It is not useful on other systems.
947 # If it contains results you don't want to keep, you may remove or edit it.
949 # By default, configure uses ./config.cache as the cache file,
950 # creating it if it does not exist already. You can give configure
951 # the --cache-file=FILE option to use a different cache file; that is
952 # what configure does when it calls configure scripts in
953 # subdirectories, so they share the cache.
954 # Giving --cache-file=/dev/null disables caching, for debugging configure.
955 # config.status only pays attention to the cache file if you give it the
956 # --recheck option to rerun configure.
959 # Ultrix sh set writes to stderr and can't be redirected directly,
960 # and sets the high bit in the cache file unless we assign to the vars.
962 sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
964 if cmp -s $cache_file confcache
; then
967 if test -w $cache_file; then
968 echo "updating cache $cache_file"
969 cat confcache
> $cache_file
971 echo "not updating unwritable cache $cache_file"
976 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
978 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
979 # Let make expand exec_prefix.
980 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
982 # Any assignment to VPATH causes Sun make to only execute
983 # the first set of double-colon rules, so remove it if not needed.
984 # If there is a colon in the path, we need to keep it.
985 if test "x$srcdir" = x.
; then
986 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
989 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
991 # Transform confdefs.h into DEFS.
992 # Protect against shell expansion while executing Makefile rules.
993 # Protect against Makefile macro expansion.
994 cat > conftest.defs
<<\EOF
995 s
%#define \([A-Za-z_][A-Za-z0-9_]*\) \(.*\)%-D\1=\2%g
996 s
%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1001 DEFS=`sed -f conftest.defs confdefs.h |
tr '\012' ' '`
1005 # Without the "./", some shells look in PATH for config.status.
1006 : ${CONFIG_STATUS=./config.status}
1008 echo creating $CONFIG_STATUS
1009 rm -f $CONFIG_STATUS
1010 cat > $CONFIG_STATUS <<EOF
1012 # Generated automatically by configure.
1013 # Run this file to recreate the current configuration.
1014 # This directory was configured as follows,
1015 # on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
1017 # $0 $ac_configure_args
1019 # Compiler output produced by configure, useful for debugging
1020 # configure, is in ./config.log if it exists.
1022 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1025 case "\$ac_option" in
1026 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1027 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1028 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1029 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1030 echo "$CONFIG_STATUS generated by autoconf version 2.4"
1032 -help | --help | --hel | --he | --h)
1033 echo "\$ac_cs_usage"; exit 0 ;;
1034 *) echo "\$ac_cs_usage"; exit 1 ;;
1038 ac_given_srcdir=$srcdir
1040 trap 'rm -fr `echo "Makefile doc/Makefile" |
sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1042 # Protect against being on the right side of a sed subst in config.status.
1043 sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\\\&%]/\\\\&/g;
1044 s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
1047 s%@CFLAGS@%$CFLAGS%g
1048 s%@CPPFLAGS@%$CPPFLAGS%g
1049 s%@CXXFLAGS@%$CXXFLAGS%g
1051 s%@LDFLAGS@%$LDFLAGS%g
1053 s%@exec_prefix@%$exec_prefix%g
1054 s%@prefix@%$prefix%g
1055 s%@program_transform_name@%$program_transform_name%g
1057 s%@host_alias@%$host_alias%g
1058 s%@host_cpu@%$host_cpu%g
1059 s%@host_vendor@%$host_vendor%g
1060 s%@host_os@%$host_os%g
1061 s%@target@%$target%g
1062 s%@target_alias@%$target_alias%g
1063 s%@target_cpu@%$target_cpu%g
1064 s%@target_vendor@%$target_vendor%g
1065 s%@target_os@%$target_os%g
1067 s%@build_alias@%$build_alias%g
1068 s%@build_cpu@%$build_cpu%g
1069 s%@build_vendor@%$build_vendor%g
1070 s%@build_os@%$build_os%g
1071 s%@RANLIB@%$RANLIB%g
1072 /@host_makefile_frag@/r $host_makefile_frag
1073 s%@host_makefile_frag@%%g
1074 s%@COREFILE@%$COREFILE%g
1075 s%@COREFLAG@%$COREFLAG%g
1076 /@target_makefile_frag@/r $target_makefile_frag
1077 s%@target_makefile_frag@%%g
1079 s%@wordsize@%$wordsize%g
1080 s%@all_backends@%$all_backends%g
1081 s%@bfd_backends@%$bfd_backends%g
1082 s%@bfd_machines@%$bfd_machines%g
1083 s%@tdefaults@%$tdefaults%g
1087 cat >> $CONFIG_STATUS <<EOF
1089 CONFIG_FILES=\${CONFIG_FILES-"Makefile doc/Makefile"}
1091 cat >> $CONFIG_STATUS <<\EOF
1092 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1093 # Support "outfile[:infile]", defaulting infile="outfile.in".
1095 *:*) ac_file_in=`echo "$ac_file"|
sed 's%.*:%%'`
1096 ac_file=`echo "$ac_file"|
sed 's%:.*%%'` ;;
1097 *) ac_file_in="${ac_file}.in" ;;
1100 # Adjust relative srcdir, etc. for subdirectories.
1102 # Remove last slash and all that follows it. Not all systems have dirname.
1103 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
1104 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1105 # The file is in a subdirectory.
1106 test ! -d "$ac_dir" && mkdir "$ac_dir"
1107 ac_dir_suffix="/`echo $ac_dir|
sed 's%^\./%%'`"
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_dots=`echo $ac_dir_suffix|
sed 's%/[^/]*%../%g'`
1111 ac_dir_suffix= ac_dots=
1114 case "$ac_given_srcdir" in
1116 if test -z "$ac_dots"; then top_srcdir=.
1117 else top_srcdir=`echo $ac_dots|
sed 's%/$%%'`; fi ;;
1118 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1120 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1121 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1124 echo creating "$ac_file"
1126 configure_input="Generated automatically from `echo $ac_file_in|
sed 's%.*/%%'` by configure."
1128 *Makefile*) ac_comsub="1i\\
1129 # $configure_input" ;;
1133 s%@configure_input@%$configure_input%g
1134 s%@srcdir@%$srcdir%g
1135 s%@top_srcdir@%$top_srcdir%g
1136 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
1142 cat >> $CONFIG_STATUS <<EOF
1147 cat >> $CONFIG_STATUS <<\EOF
1148 srcdir=$ac_given_srcdir
1149 while test -n "$ac_sources"; do
1150 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
1151 set $ac_sources; ac_source=$1; shift; ac_sources=$*
1153 echo "linking $srcdir/$ac_source to $ac_dest"
1155 if test ! -r $srcdir/$ac_source; then
1156 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
1160 # Make relative symlinks.
1161 # Remove last slash and all that follows it. Not all systems have dirname.
1162 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
1163 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
1164 # The dest file is in a subdirectory.
1165 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
1166 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
1167 # A "../" for each directory in $ac_dest_dir_suffix.
1168 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
1170 ac_dest_dir_suffix= ac_dots=
1174 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
1175 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
1178 # Make a symlink if possible; otherwise try a hard link.
1179 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
1180 ln $srcdir/$ac_source $ac_dest; then :
1182 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
1189 chmod +x $CONFIG_STATUS
1190 rm -fr confdefs* $ac_clean_files
1191 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1