aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-08 18:45:08 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-08 18:45:08 +0000
commitb4cb4ea2ac9ffb33a98fa497db2f39da4b76c3b8 (patch)
treedadacdc8fe475788e1d14e3b526f83c9d448cc6f /gprof
parent571177859d498a5679376ff88635ccfb772aa0cb (diff)
downloadgdb-b4cb4ea2ac9ffb33a98fa497db2f39da4b76c3b8.zip
gdb-b4cb4ea2ac9ffb33a98fa497db2f39da4b76c3b8.tar.gz
gdb-b4cb4ea2ac9ffb33a98fa497db2f39da4b76c3b8.tar.bz2
* configure.in: Permit --enable-shared to specify a list of
directories. * configure: Rebuild.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog6
-rwxr-xr-xgprof/configure5
-rw-r--r--gprof/configure.in3
3 files changed, 11 insertions, 3 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 8fd3b56..8551292 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,9 @@
+Mon Apr 8 14:44:33 1996 Ian Lance Taylor <ian@cygnus.com>
+
+ * configure.in: Permit --enable-shared to specify a list of
+ directories.
+ * configure: Rebuild.
+
Thu Mar 21 17:18:25 1996 Ian Lance Taylor <ian@cygnus.com>
* core.c (core_create_function_syms): Move filename and func_name
diff --git a/gprof/configure b/gprof/configure
index 6465fa1..282bbe2 100755
--- a/gprof/configure
+++ b/gprof/configure
@@ -521,7 +521,8 @@ if test "${enable_shared+set}" = set; then
case "${enableval}" in
yes) shared=true ;;
no) shared=false ;;
- *) { echo "configure: error: bad value ${enableval} for BFD shared option" 1>&2; exit 1; } ;;
+ *bfd*) shared=true ;;
+ *) shared=false ;;
esac
fi
@@ -611,7 +612,7 @@ else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:615: \"$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:616: \"$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
diff --git a/gprof/configure.in b/gprof/configure.in
index 8c13db3..4b0a616 100644
--- a/gprof/configure.in
+++ b/gprof/configure.in
@@ -7,7 +7,8 @@ AC_ARG_ENABLE(shared,
[case "${enableval}" in
yes) shared=true ;;
no) shared=false ;;
- *) AC_MSG_ERROR([bad value ${enableval} for BFD shared option]) ;;
+ *bfd*) shared=true ;;
+ *) shared=false ;;
esac])dnl
AC_PROG_CC