configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and local_prefix are the...
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Wed, 7 Aug 2002 21:38:47 +0000 (21:38 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 7 Aug 2002 21:38:47 +0000 (21:38 +0000)
* configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
local_prefix are the same.
* configure: Rebuilt.

From-SVN: r56108

gcc/ChangeLog
gcc/configure
gcc/configure.in

index 3490b504781ac5189c4ca6d89b6c2ca4f6ddb628..297f68803696ea7a57cc0e82c4f4581bc44d704c 100644 (file)
@@ -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>
 
index 2082ab2d4e903074252e8a7f4f1e89b7011d467a..870787958b6445e045083d158fb3dfecf48182ef 100755 (executable)
@@ -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
index 17e2efcda2ad48aa81dbf6e3ceb5fc1d98e07b57..84cd3628b691dac7f4a38fb21604b37dc95c0c65 100644 (file)
@@ -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