diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-04-07 21:00:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-04-07 21:00:31 +0000 |
commit | 418d5b058a4ffbe5051e0e625a1ea420e8c57a1c (patch) | |
tree | afd17ce654c814e0da28d07c2e3cdaac6167041e | |
parent | 21b4ac17687ab852b5159de7bd120aa2b7713567 (diff) | |
download | gdb-418d5b058a4ffbe5051e0e625a1ea420e8c57a1c.zip gdb-418d5b058a4ffbe5051e0e625a1ea420e8c57a1c.tar.gz gdb-418d5b058a4ffbe5051e0e625a1ea420e8c57a1c.tar.bz2 |
* configure.host: Set SHLIB_LIBS.
* configure.in: Substitute SHLIB_LIBS.
* configure: Rebuild.
* Makefile.in (SHLIB_LIBS): New variable.
($(SHLIB)): Use $(SHLIB_LIBS).
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/Makefile.in | 50 | ||||
-rwxr-xr-x | bfd/configure | 96 | ||||
-rw-r--r-- | bfd/configure.in | 1 |
4 files changed, 87 insertions, 68 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5966c10..f4fa847 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Mon Apr 7 16:47:09 1997 Ian Lance Taylor <ian@cygnus.com> + + * configure.host: Set SHLIB_LIBS. + * configure.in: Substitute SHLIB_LIBS. + * configure: Rebuild. + * Makefile.in (SHLIB_LIBS): New variable. + ($(SHLIB)): Use $(SHLIB_LIBS). + Mon Apr 7 10:53:52 1997 Michael Snyder <msnyder@cleaver.cygnus.com> * bfd-in.h bfd-in2.h: add bfd_section_lma macro to correspond diff --git a/bfd/Makefile.in b/bfd/Makefile.in index ba27f25..62e799a 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -64,6 +64,7 @@ PICFLAG = @PICFLAG@ SHLIB = @SHLIB@ SHLIB_CC = @SHLIB_CC@ SHLIB_CFLAGS = @SHLIB_CFLAGS@ +SHLIB_LIBS = @SHLIB_LIBS@ COMMON_SHLIB = @COMMON_SHLIB@ SHLINK = @SHLINK@ @@ -130,8 +131,8 @@ ALL_MACHINES = \ cpu-m68k.o \ cpu-m88k.o \ cpu-mips.o \ - cpu-mn10200.o \ - cpu-mn10300.o \ + cpu-m10200.o \ + cpu-m10300.o \ cpu-ns32k.o \ cpu-powerpc.o \ cpu-rs6000.o \ @@ -158,11 +159,12 @@ ALL_MACHINES_CFILES = \ cpu-i386.c \ cpu-i860.c \ cpu-i960.c \ + cpu-m32r.c \ cpu-m68k.c \ cpu-m88k.c \ cpu-mips.c \ - cpu-mn10200.c \ - cpu-mn10300.c \ + cpu-m10200.c \ + cpu-m10300.c \ cpu-ns32k.c \ cpu-powerpc.c \ cpu-rs6000.c \ @@ -229,8 +231,8 @@ BFD32_BACKENDS = \ elf32-m68k.o \ elf32-m88k.o \ elf32-mips.o \ - elf32-mn10200.o \ - elf32-mn10300.o \ + elf-m10200.o \ + elf-m10300.o \ elf32-ppc.o \ elf32-sh.o \ elf32-sparc.o \ @@ -277,6 +279,7 @@ BFD32_BACKENDS = \ ppcboot.o \ reloc16.o \ riscix.o \ + sparclinux.o \ sparclynx.o \ sparcnetbsd.o \ sunos.o \ @@ -324,11 +327,12 @@ BFD32_BACKENDS_CFILES = \ elf32-hppa.c \ elf32-i386.c \ elf32-i860.c \ + elf32-m32r.c \ elf32-m68k.c \ elf32-m88k.c \ elf32-mips.c \ - elf32-mn10200.c \ - elf32-mn10300.c \ + elf-m10200.c \ + elf-m10300.c \ elf32-ppc.c \ elf32-sh.c \ elf32-sparc.c \ @@ -372,6 +376,7 @@ BFD32_BACKENDS_CFILES = \ ppcboot.c \ reloc16.c \ riscix.c \ + sparclinux.c \ sparclynx.c \ sparcnetbsd.c \ sunos.c \ @@ -553,7 +558,7 @@ piclist: stamp-piclist ; @true $(SHLIB): stamp-picdir $(OFILES) piclist rm -f $(SHLIB) - $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist` + $(SHLIB_CC) $(SHLIB_CFLAGS) -o $(SHLIB) `cat piclist` $(SHLIB_LIBS) # We make a link from libbfd.so to libbfd.so.VERSION for linking, and # also a link from libTARGET-bfd.so.VERSION for running. @@ -859,10 +864,6 @@ elf32-d30v.o: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \ elf32-target.h end-sanitize-d30v: -elf32-m32r.o: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \ - $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ - elf32-target.h - start-sanitize-v850: cpu-v850.o: cpu-v850.c elf32-v850.o: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \ @@ -890,10 +891,10 @@ stamp-picdir: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY. archive.o: archive.c $(INCDIR)/aout/ar.h $(INCDIR)/aout/ranlib.h archures.o: archures.c -bfd.o: bfd.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \ - $(INCDIR)/coff/sym.h libcoff.h libecoff.h $(INCDIR)/coff/ecoff.h \ - elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ - $(INCDIR)/elf/external.h +bfd.o: bfd.c $(INCDIR)/libiberty.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h libcoff.h \ + libecoff.h $(INCDIR)/coff/ecoff.h elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h cache.o: cache.c coffgen.o: coffgen.c $(INCDIR)/coff/internal.h libcoff.h \ $(INCDIR)/bfdlink.h @@ -927,11 +928,12 @@ cpu-hppa.o: cpu-hppa.c cpu-i386.o: cpu-i386.c cpu-i860.o: cpu-i860.c cpu-i960.o: cpu-i960.c +cpu-m32r.o: cpu-m32r.c cpu-m68k.o: cpu-m68k.c cpu-m88k.o: cpu-m88k.c cpu-mips.o: cpu-mips.c -cpu-mn10200.o: cpu-mn10200.c -cpu-mn10300.o: cpu-mn10300.c +cpu-m10200.o: cpu-m10200.c +cpu-m10300.o: cpu-m10300.c cpu-ns32k.o: cpu-ns32k.c ns32k.h cpu-powerpc.o: cpu-powerpc.c cpu-rs6000.o: cpu-rs6000.c @@ -1047,6 +1049,9 @@ elf32-i386.o: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \ elf32-i860.o: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ elf32-target.h +elf32-m32r.o: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ + $(INCDIR)/elf/m32r.h elf32-target.h elf32-m68k.o: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ elf32-target.h @@ -1059,10 +1064,10 @@ elf32-mips.o: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \ $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \ $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \ elf32-target.h -elf32-mn10200.o: elf32-mn10200.c elf-bfd.h $(INCDIR)/elf/common.h \ +elf-m10200.o: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ elf32-target.h -elf32-mn10300.o: elf32-mn10300.c elf-bfd.h $(INCDIR)/elf/common.h \ +elf-m10300.o: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ elf32-target.h elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \ @@ -1181,6 +1186,9 @@ reloc16.o: reloc16.c $(INCDIR)/bfdlink.h genlink.h \ riscix.o: riscix.c libaout.h $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h \ aout-target.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \ $(INCDIR)/aout/ar.h +sparclinux.o: sparclinux.c $(INCDIR)/aout/aout64.h \ + $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h \ + libaout.h $(INCDIR)/bfdlink.h aout-target.h sparclynx.o: sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \ $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \ $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h diff --git a/bfd/configure b/bfd/configure index 4dc7f5b..d653693 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1109,6 +1109,7 @@ fi + if test "${commonbfdlib}" = "true"; then COMMON_SHLIB=yes PICLIST=piclist @@ -1151,7 +1152,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:1155: checking how to run the C preprocessor" >&5 +echo "configure:1156: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -1166,13 +1167,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext <<EOF -#line 1170 "configure" +#line 1171 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1177: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1183,13 +1184,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext <<EOF -#line 1187 "configure" +#line 1188 "configure" #include "confdefs.h" #include <assert.h> Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1215,17 +1216,17 @@ for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1219: checking for $ac_hdr" >&5 +echo "configure:1220: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1224 "configure" +#line 1225 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -1255,17 +1256,17 @@ for ac_hdr in fcntl.h sys/file.h sys/time.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1259: checking for $ac_hdr" >&5 +echo "configure:1260: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1264 "configure" +#line 1265 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -1292,12 +1293,12 @@ fi done echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 -echo "configure:1296: checking whether time.h and sys/time.h may both be included" >&5 +echo "configure:1297: checking whether time.h and sys/time.h may both be included" >&5 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1301 "configure" +#line 1302 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/time.h> @@ -1306,7 +1307,7 @@ int main() { struct tm *tp; ; return 0; } EOF -if { (eval echo configure:1310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_header_time=yes else @@ -1329,12 +1330,12 @@ fi for ac_func in fcntl getpagesize setitimer sysconf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1333: checking for $ac_func" >&5 +echo "configure:1334: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1338 "configure" +#line 1339 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -1357,7 +1358,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:1361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1392,12 +1393,12 @@ EOF esac echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 -echo "configure:1396: checking whether strstr must be declared" >&5 +echo "configure:1397: checking whether strstr must be declared" >&5 if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1401 "configure" +#line 1402 "configure" #include "confdefs.h" #include <stdio.h> @@ -1418,7 +1419,7 @@ int main() { char *(*pfn) = (char *(*)) strstr ; return 0; } EOF -if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_decl_needed_strstr=no else @@ -1440,12 +1441,12 @@ EOF fi echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 -echo "configure:1444: checking whether malloc must be declared" >&5 +echo "configure:1445: checking whether malloc must be declared" >&5 if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1449 "configure" +#line 1450 "configure" #include "confdefs.h" #include <stdio.h> @@ -1466,7 +1467,7 @@ int main() { char *(*pfn) = (char *(*)) malloc ; return 0; } EOF -if { (eval echo configure:1470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_decl_needed_malloc=no else @@ -1488,12 +1489,12 @@ EOF fi echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 -echo "configure:1492: checking whether realloc must be declared" >&5 +echo "configure:1493: checking whether realloc must be declared" >&5 if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1497 "configure" +#line 1498 "configure" #include "confdefs.h" #include <stdio.h> @@ -1514,7 +1515,7 @@ int main() { char *(*pfn) = (char *(*)) realloc ; return 0; } EOF -if { (eval echo configure:1518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_decl_needed_realloc=no else @@ -1536,12 +1537,12 @@ EOF fi echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 -echo "configure:1540: checking whether free must be declared" >&5 +echo "configure:1541: checking whether free must be declared" >&5 if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1545 "configure" +#line 1546 "configure" #include "confdefs.h" #include <stdio.h> @@ -1562,7 +1563,7 @@ int main() { char *(*pfn) = (char *(*)) free ; return 0; } EOF -if { (eval echo configure:1566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_decl_needed_free=no else @@ -1584,12 +1585,12 @@ EOF fi echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 -echo "configure:1588: checking whether getenv must be declared" >&5 +echo "configure:1589: checking whether getenv must be declared" >&5 if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1593 "configure" +#line 1594 "configure" #include "confdefs.h" #include <stdio.h> @@ -1610,7 +1611,7 @@ int main() { char *(*pfn) = (char *(*)) getenv ; return 0; } EOF -if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1615: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_decl_needed_getenv=no else @@ -1881,19 +1882,19 @@ EOF # Define HAVE_SYS_PROCFS_H if the file exists and defines # prstatus_t. echo $ac_n "checking for sys/procfs.h""... $ac_c" 1>&6 -echo "configure:1885: checking for sys/procfs.h" >&5 +echo "configure:1886: checking for sys/procfs.h" >&5 if eval "test \"`echo '$''{'bfd_cv_header_sys_procfs_h'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 1890 "configure" +#line 1891 "configure" #include "confdefs.h" #include <sys/procfs.h> int main() { prstatus_t t; ; return 0; } EOF -if { (eval echo configure:1897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* bfd_cv_header_sys_procfs_h=yes else @@ -2207,17 +2208,17 @@ for ac_hdr in unistd.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:2211: checking for $ac_hdr" >&5 +echo "configure:2212: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2216 "configure" +#line 2217 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -2246,12 +2247,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2250: checking for $ac_func" >&5 +echo "configure:2251: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2255 "configure" +#line 2256 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2274,7 +2275,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2299,7 +2300,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:2303: checking for working mmap" >&5 +echo "configure:2304: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2307,7 +2308,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 2311 "configure" +#line 2312 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -2447,7 +2448,7 @@ main() } EOF -if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -2472,12 +2473,12 @@ fi for ac_func in madvise mprotect do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:2476: checking for $ac_func" >&5 +echo "configure:2477: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 2481 "configure" +#line 2482 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -2500,7 +2501,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:2504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2689,6 +2690,7 @@ s%@PICFLAG@%$PICFLAG%g s%@SHLIB@%$SHLIB%g s%@SHLIB_CC@%$SHLIB_CC%g s%@SHLIB_CFLAGS@%$SHLIB_CFLAGS%g +s%@SHLIB_LIBS@%$SHLIB_LIBS%g s%@COMMON_SHLIB@%$COMMON_SHLIB%g s%@PICLIST@%$PICLIST%g s%@SHLINK@%$SHLINK%g diff --git a/bfd/configure.in b/bfd/configure.in index b178738..949eb37 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -99,6 +99,7 @@ AC_SUBST(PICFLAG) AC_SUBST(SHLIB) AC_SUBST(SHLIB_CC) AC_SUBST(SHLIB_CFLAGS) +AC_SUBST(SHLIB_LIBS) if test "${commonbfdlib}" = "true"; then COMMON_SHLIB=yes PICLIST=piclist |