From 639b5a093c63495a610703b69615b35b4748418f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 8 Apr 1996 18:01:49 +0000 Subject: [PATCH] * configure.in: Permit --enable-shared to specify a list of directories. * configure: Rebuild. --- bfd/ChangeLog | 4 ++++ opcodes/ChangeLog | 6 ++++++ opcodes/configure | 17 +++++++++-------- opcodes/configure.in | 3 ++- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 33e55a4abf..9ed226ea8b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,9 @@ Mon Apr 8 12:09:36 1996 Ian Lance Taylor + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + * configure.host: Set HLDFLAGS and SHLIB_CFLAGS for *-dec-osf* host when configuring with --enable-shard. diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 995fe47889..bcba88530f 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +Mon Apr 8 14:00:44 1996 Ian Lance Taylor + + * configure.in: Permit --enable-shared to specify a list of + directories. + * configure: Rebuild. + Fri Apr 5 17:12:27 1996 Jeffrey A Law (law@cygnus.com) * h8300-dis.c (bfd_h8_disassemble): Use "bit" for L_3 immediates, diff --git a/opcodes/configure b/opcodes/configure index 194c0b58e1..a75f8889a8 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -552,7 +552,8 @@ if test "${enable_shared+set}" = set; then case "${enableval}" in yes) shared=true ;; no) shared=false ;; - *) { echo "configure: error: bad value ${enableval} for opcodes shared option" 1>&2; exit 1; } ;; + *opcodes*) shared=true ;; + *) shared=false ;; esac fi # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given. @@ -799,7 +800,7 @@ else yes; #endif EOF -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 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -1041,13 +1042,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1056,13 +1057,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -1090,12 +1091,12 @@ 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 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* diff --git a/opcodes/configure.in b/opcodes/configure.in index d4ff51c063..9aed7feb6f 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -31,7 +31,8 @@ AC_ARG_ENABLE(shared, [case "${enableval}" in yes) shared=true ;; no) shared=false ;; - *) AC_MSG_ERROR([bad value ${enableval} for opcodes shared option]) ;; + *opcodes*) shared=true ;; + *) shared=false ;; esac])dnl AC_ARG_ENABLE(commonbfdlib, [ --enable-commonbfdlib build shared BFD/opcodes/libiberty library], -- 2.34.1