From 4b4f2e35d0d71a758079bf11e485f737e7f2b8cf Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 15 Dec 2014 11:54:43 +0100 Subject: [PATCH] Build machinery cleanup. * configure.ac (--enable-as-accelerator-for): Don't set ENABLE_AS_ACCELERATOR_FOR. Update all users. * configure: Regenerate. From-SVN: r218744 --- ChangeLog | 6 ++++++ configure | 6 ++---- configure.ac | 6 ++---- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8236370cc99..861d016f937 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-12-15 Thomas Schwinge + + * configure.ac (--enable-as-accelerator-for): Don't set + ENABLE_AS_ACCELERATOR_FOR. Update all users. + * configure: Regenerate. + 2014-12-13 Jakub Jelinek PR bootstrap/64023 diff --git a/configure b/configure index 297f38e5195..1804198338b 100755 --- a/configure +++ b/configure @@ -2893,9 +2893,7 @@ esac # Check whether --enable-as-accelerator-for was given. if test "${enable_as_accelerator_for+set}" = set; then : - enableval=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR=$enableval -else - ENABLE_AS_ACCELERATOR_FOR=no + enableval=$enable_as_accelerator_for; fi @@ -3094,7 +3092,7 @@ if test "${enable_liboffloadmic+set}" = set; then : as_fn_error "--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;; esac else - if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then + if test x"$enable_as_accelerator_for" != x; then case "${target}" in *-intelmic-* | *-intelmicemul-*) enable_liboffloadmic=target diff --git a/configure.ac b/configure.ac index fd1bdf0f506..91c9a726338 100644 --- a/configure.ac +++ b/configure.ac @@ -289,9 +289,7 @@ esac AC_ARG_ENABLE(as-accelerator-for, [AS_HELP_STRING([--enable-as-accelerator-for=ARG], [build as offload target compiler. - Specify offload host triple by ARG])], -ENABLE_AS_ACCELERATOR_FOR=$enableval, -ENABLE_AS_ACCELERATOR_FOR=no) + Specify offload host triple by ARG])]) AC_ARG_ENABLE(offload-targets, [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]) ;; esac], -[if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then +[if test x"$enable_as_accelerator_for" != x; then case "${target}" in *-intelmic-* | *-intelmicemul-*) enable_liboffloadmic=target -- 2.30.2