aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.in2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3490b50..297f688 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
+ local_prefix are the same.
+ * configure: Rebuilt.
+
2002-08-07 Jakub Jelinek <jakub@redhat.com>
Richard Henderson <rth@redhat.com>
diff --git a/gcc/configure b/gcc/configure
index 2082ab2..8707879 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -7950,7 +7950,7 @@ EOF
;;
esac
-if test "$prefix" != "/usr" && test "$prefix" != "/usr/local" ; then
+if test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
cat >> confdefs.h <<EOF
#define PREFIX_INCLUDE_DIR "$prefix/include"
EOF
diff --git a/gcc/configure.in b/gcc/configure.in
index 17e2efc..84cd362 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -2202,7 +2202,7 @@ case "$target" in
;;
esac
-if test "$prefix" != "/usr" && test "$prefix" != "/usr/local" ; then
+if test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include")
fi