aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-08 18:01:49 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-08 18:01:49 +0000
commit639b5a093c63495a610703b69615b35b4748418f (patch)
treebaef416dc3f2af797a9897797bf7c7dcff2251db /opcodes
parent6f21f2e3077c3f10fb876c8747348176717d622c (diff)
downloadgdb-639b5a093c63495a610703b69615b35b4748418f.zip
gdb-639b5a093c63495a610703b69615b35b4748418f.tar.gz
gdb-639b5a093c63495a610703b69615b35b4748418f.tar.bz2
* configure.in: Permit --enable-shared to specify a list of
directories. * configure: Rebuild.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rwxr-xr-xopcodes/configure17
-rw-r--r--opcodes/configure.in3
3 files changed, 17 insertions, 9 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 995fe47..bcba885 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+Mon Apr 8 14:00:44 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * 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 194c0b5..a75f888 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 <<EOF
-#line 1045 "configure"
+#line 1046 "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: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 <<EOF
-#line 1060 "configure"
+#line 1061 "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: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
-#line 1094 "configure"
+#line 1095 "configure"
#include "confdefs.h"
#include <$ac_hdr>
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 d4ff51c..9aed7fe 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],