From 41c555b54c5dc5fc2e27fd5c1cbb5c9b241e6dcf Mon Sep 17 00:00:00 2001 From: carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed, 8 Nov 2006 16:52:05 +0000 Subject: gcc/ 2006-11-08 Carlos O'Donell <carlos@codesourcery.com> * configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118588 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/configure.ac') diff --git a/gcc/configure.ac b/gcc/configure.ac index 4cae3c83b95..9d265b0cf9c 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 -- cgit v1.2.1