From c794c06fef9e079ecdd14bae8ceb3d9046771979 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Wed, 8 Nov 2006 16:52:05 +0000 Subject: [PATCH] configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE. gcc/ 2006-11-08 Carlos O'Donell * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE. * configure: Regenerate. From-SVN: r118588 --- gcc/ChangeLog | 5 +++++ gcc/configure | 3 ++- gcc/configure.ac | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d215ec51982d..c110758499c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-11-08 Carlos O'Donell + + * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE. + * configure: Regenerate. + 2006-11-08 Dorit Nuzman * tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p): Take diff --git a/gcc/configure b/gcc/configure index 18a7879a6200..7723fc448413 100755 --- a/gcc/configure +++ b/gcc/configure @@ -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" diff --git a/gcc/configure.ac b/gcc/configure.ac index 4cae3c83b953..9d265b0cf9c5 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -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 -- 2.47.2