aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@codesourcery.com>2006-11-08 16:52:05 +0000
committerCarlos O'Donell <carlos@gcc.gnu.org>2006-11-08 16:52:05 +0000
commitc794c06fef9e079ecdd14bae8ceb3d9046771979 (patch)
tree143a3cfe8cd127a29f65e3825cba499045cdc502 /gcc/configure
parent08d7f64ef01f6985ac8fa34c62241ece297c9ecd (diff)
downloadgcc-c794c06fef9e079ecdd14bae8ceb3d9046771979.zip
gcc-c794c06fef9e079ecdd14bae8ceb3d9046771979.tar.gz
gcc-c794c06fef9e079ecdd14bae8ceb3d9046771979.tar.bz2
configure.ac: Do not set PREFIX_INCLUDE_DIR if $prefix is NONE.
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
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index 18a7879..7723fc4 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"