mirror of git://gcc.gnu.org/git/gcc.git
Fail when PPL 0.11 is not present and CLooG has been requested.
2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and CLooG has been requested. * configure: Regenerated. From-SVN: r169215
This commit is contained in:
parent
cc2c5a6674
commit
ab4173cf3b
|
@ -1,3 +1,9 @@
|
||||||
|
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
|
* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
|
||||||
|
CLooG has been requested.
|
||||||
|
* configure: Regenerated.
|
||||||
|
|
||||||
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
|
2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
* configure: Regenerated.
|
* configure: Regenerated.
|
||||||
|
|
|
@ -5818,6 +5818,22 @@ fi
|
||||||
|
|
||||||
if test "x$with_ppl" = "xno"; then
|
if test "x$with_ppl" = "xno"; then
|
||||||
with_cloog=no
|
with_cloog=no
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
if test "x${with_cloog}" != x \
|
||||||
|
|| test "x${with_cloog_include}" != x \
|
||||||
|
|| test "x${with_cloog_lib}" != x ; then
|
||||||
|
graphite_requested=yes
|
||||||
|
else
|
||||||
|
graphite_requested=no
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test "${graphite_requested}" = yes; then
|
||||||
|
as_fn_error "Unable to find a usable PPL. See config.log for details." "$LINENO" 5]
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
|
if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
|
||||||
&& test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
|
&& test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
|
||||||
|
@ -6090,7 +6106,7 @@ $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
|
||||||
&& test "x${clooglibs}" = x \
|
&& test "x${clooglibs}" = x \
|
||||||
&& test "x${clooginc}" = x ; then
|
&& test "x${clooginc}" = x ; then
|
||||||
|
|
||||||
as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
|
as_fn_error "Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -1689,6 +1689,12 @@ dnl with user input.
|
||||||
CLOOG_INIT_FLAGS
|
CLOOG_INIT_FLAGS
|
||||||
if test "x$with_ppl" = "xno"; then
|
if test "x$with_ppl" = "xno"; then
|
||||||
with_cloog=no
|
with_cloog=no
|
||||||
|
|
||||||
|
dnl Only execute fail-action, if CLooG has been requested.
|
||||||
|
CLOOG_REQUESTED([graphite_requested=yes], [graphite_requested=no])
|
||||||
|
if test "${graphite_requested}" = yes; then
|
||||||
|
AC_MSG_ERROR([Unable to find a usable PPL. See config.log for details.])]
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
|
if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
|
||||||
&& test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
|
&& test "x${with_cloog_lib}" = x && test -d ${srcdir}/cloog; then
|
||||||
|
@ -1702,10 +1708,9 @@ if test "x$with_cloog" != "xno"; then
|
||||||
dnl ignored.
|
dnl ignored.
|
||||||
CLOOG_CHECK_VERSION(0,16,1)
|
CLOOG_CHECK_VERSION(0,16,1)
|
||||||
|
|
||||||
dnl Only execute fail-action, if CLooG has been
|
dnl Only execute fail-action, if CLooG has been requested.
|
||||||
dnl requested.
|
|
||||||
CLOOG_IF_FAILED([
|
CLOOG_IF_FAILED([
|
||||||
AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
|
AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for LTO support.
|
# Check for LTO support.
|
||||||
|
|
Loading…
Reference in New Issue