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
This commit is contained in:
parent
08d7f64ef0
commit
c794c06fef
3 changed files with 9 additions and 2 deletions
|
@ -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>
|
2006-11-08 Dorit Nuzman <dorit@il.ibm.com>
|
||||||
|
|
||||||
* tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p): Take
|
* tree-vect-analyze.c (vect_mark_relevant, vect_stmt_relevant_p): Take
|
||||||
|
|
3
gcc/configure
vendored
3
gcc/configure
vendored
|
@ -16176,7 +16176,8 @@ _ACEOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$with_sysroot = x && test x$host = x$target \
|
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
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define PREFIX_INCLUDE_DIR "$prefix/include"
|
#define PREFIX_INCLUDE_DIR "$prefix/include"
|
||||||
|
|
|
@ -3285,7 +3285,8 @@ if test x"$gcc_cv_ld_sysroot" = xyes; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$with_sysroot = x && test x$host = x$target \
|
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",
|
AC_DEFINE_UNQUOTED(PREFIX_INCLUDE_DIR, "$prefix/include",
|
||||||
[Define to PREFIX/include if cpp should also search that directory.])
|
[Define to PREFIX/include if cpp should also search that directory.])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue