aboutsummaryrefslogtreecommitdiff
path: root/opcodes/configure
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-09-07 01:23:22 +0000
committerIan Lance Taylor <ian@airs.com>1995-09-07 01:23:22 +0000
commit40db6118849d95d3781556b72c75ecbdb329e0f4 (patch)
treed24a803243f1721d2b9f37accf6e565e87b1cb6d /opcodes/configure
parent86038ada178e4cf8f3a541f2720b26761901e769 (diff)
downloadgdb-40db6118849d95d3781556b72c75ecbdb329e0f4.zip
gdb-40db6118849d95d3781556b72c75ecbdb329e0f4.tar.gz
gdb-40db6118849d95d3781556b72c75ecbdb329e0f4.tar.bz2
* Makefile.in (ALL_CFLAGS): Define.
(.c.o, disassemble.o): Use $(ALL_CFLAGS). (MOSTLYCLEAN): Add config.log. (distclean): Don't remove config.log. * configure.in: Substitute HDEFINES. * configure: Rebuild.
Diffstat (limited to 'opcodes/configure')
-rwxr-xr-xopcodes/configure10
1 files changed, 6 insertions, 4 deletions
diff --git a/opcodes/configure b/opcodes/configure
index 3b24f9c..8e9d0ea 100755
--- a/opcodes/configure
+++ b/opcodes/configure
@@ -434,7 +434,7 @@ fi
. ${srcdir}/../bfd/configure.host
echo $ac_n "checking for CC""... $ac_c" 1>&6
-test -z "$CC" && CC=`egrep '^CC *=' ../Makefile | tail -1 | sed 's/^CC *= *//'`
+test -z "$CC" && test -r ../Makefile && CC=`egrep '^CC *=' ../Makefile | tail -1 | sed 's/^CC *= *//'`
test -z "$CC" && CC=cc
echo "$ac_t""setting CC to $CC" 1>&6
@@ -460,6 +460,7 @@ fi
rm -f conftest*
+
AR=${AR-ar}
# Extract the first word of "ranlib", so it can be a program name with args.
@@ -577,7 +578,7 @@ else
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 581 "configure"
+#line 582 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -591,7 +592,7 @@ else
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 595 "configure"
+#line 596 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
@@ -624,7 +625,7 @@ 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 628 "configure"
+#line 629 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
@@ -989,6 +990,7 @@ s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
s%@program_transform_name@%$program_transform_name%g
s%@CC@%$CC%g
+s%@HDEFINES@%$HDEFINES%g
s%@AR@%$AR%g
s%@RANLIB@%$RANLIB%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g