configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.
authorCarlos O'Donell <carlos@codesourcery.com>
Wed, 8 Nov 2006 16:52:05 +0000 (16:52 +0000)
committerCarlos O'Donell <carlos@gcc.gnu.org>
Wed, 8 Nov 2006 16:52:05 +0000 (16:52 +0000)
gcc/

2006-11-08  Carlos O'Donell  <carlos@codesourcery.com>

* configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.
* configure: Regenerate.

From-SVN: r118588

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index d215ec51982dcd2dd699752c59cbeec7f3f32e60..c110758499c0a8eba644f830e0f7a85fb55562b8 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-08  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.
+       * configure: Regenerate.
+
 2006-11-08  Dorit Nuzman  <dorit@il.ibm.com>
 
        * tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p): Take 
index 18a7879a620039f5fa8188d4a74d43a822c2f7c1..7723fc448413db5d9d54e97dbf4c0f7c058f722a 100755 (executable)
@@ -16176,7 +16176,8 @@ _ACEOF
 fi
 
 if test x$with_sysroot = x && test x$host = x$target \
-   && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
+   && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" \
+   && test "$prefix" != "NONE"; then
 
 cat >>confdefs.h <<_ACEOF
 #define PREFIX_INCLUDE_DIR "$prefix/include"
index 4cae3c83b9532e35e10fd0c4e71ff8edae704174..9d265b0cf9c542b13c0fa0cd4d5c2fe18f216c6c 100644 (file)
@@ -3285,7 +3285,8 @@ if test x"$gcc_cv_ld_sysroot" = xyes; then
 fi       
 
 if test x$with_sysroot = x && test x$host = x$target \
-   && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" ; then
+   && test "$prefix" != "/usr" && test "x$prefix" != "x$local_prefix" \
+   && test "$prefix" != "NONE"; then
   AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include",
 [Define to PREFIX/include if cpp should also search that directory.])
 fi