Build machinery cleanup.

* configure.ac (--enable-as-accelerator-for): Don't set
	ENABLE_AS_ACCELERATOR_FOR.  Update all users.
	* configure: Regenerate.

From-SVN: r218744
This commit is contained in:
Thomas Schwinge 2014-12-15 11:54:43 +01:00 committed by Thomas Schwinge
parent f84e7f45f7
commit 4b4f2e35d0
3 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2014-12-15 Thomas Schwinge <thomas@codesourcery.com>
* configure.ac (--enable-as-accelerator-for): Don't set
ENABLE_AS_ACCELERATOR_FOR. Update all users.
* configure: Regenerate.
2014-12-13 Jakub Jelinek <jakub@redhat.com> 2014-12-13 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/64023 PR bootstrap/64023

6
configure vendored
View File

@ -2893,9 +2893,7 @@ esac
# Check whether --enable-as-accelerator-for was given. # Check whether --enable-as-accelerator-for was given.
if test "${enable_as_accelerator_for+set}" = set; then : if test "${enable_as_accelerator_for+set}" = set; then :
enableval=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR=$enableval enableval=$enable_as_accelerator_for;
else
ENABLE_AS_ACCELERATOR_FOR=no
fi fi
@ -3094,7 +3092,7 @@ if test "${enable_liboffloadmic+set}" = set; then :
as_fn_error "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;; as_fn_error "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
esac esac
else else
if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then if test x"$enable_as_accelerator_for" != x; then
case "${target}" in case "${target}" in
*-intelmic-* | *-intelmicemul-*) *-intelmic-* | *-intelmicemul-*)
enable_liboffloadmic=target enable_liboffloadmic=target

View File

@ -289,9 +289,7 @@ esac
AC_ARG_ENABLE(as-accelerator-for, AC_ARG_ENABLE(as-accelerator-for,
[AS_HELP_STRING([--enable-as-accelerator-for=ARG], [AS_HELP_STRING([--enable-as-accelerator-for=ARG],
[build as offload target compiler. [build as offload target compiler.
Specify offload host triple by ARG])], Specify offload host triple by ARG])])
ENABLE_AS_ACCELERATOR_FOR=$enableval,
ENABLE_AS_ACCELERATOR_FOR=no)
AC_ARG_ENABLE(offload-targets, AC_ARG_ENABLE(offload-targets,
[AS_HELP_STRING([--enable-offload-targets=LIST], [AS_HELP_STRING([--enable-offload-targets=LIST],
@ -470,7 +468,7 @@ AC_HELP_STRING([[--enable-liboffloadmic[=ARG]]],
*) *)
AC_MSG_ERROR([--enable-liboffloadmic=no/host/target]) ;; AC_MSG_ERROR([--enable-liboffloadmic=no/host/target]) ;;
esac], esac],
[if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then [if test x"$enable_as_accelerator_for" != x; then
case "${target}" in case "${target}" in
*-intelmic-* | *-intelmicemul-*) *-intelmic-* | *-intelmicemul-*)
enable_liboffloadmic=target enable_liboffloadmic=target