summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorcarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-08 16:52:05 +0000
committercarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>2006-11-08 16:52:05 +0000
commit41c555b54c5dc5fc2e27fd5c1cbb5c9b241e6dcf (patch)
tree143a3cfe8cd127a29f65e3825cba499045cdc502 /gcc/configure.ac
parent0873bfe5e3e9004382c8445db24dff5a197236e0 (diff)
downloadgcc-41c555b54c5dc5fc2e27fd5c1cbb5c9b241e6dcf.tar.gz
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
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac3
1 files changed, 2 insertions, 1 deletions
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