Build machinery cleanup.
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 15 Dec 2014 10:54:43 +0000 (11:54 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 15 Dec 2014 10:54:43 +0000 (11:54 +0100)
* configure.ac (--enable-as-accelerator-for): Don't set
ENABLE_AS_ACCELERATOR_FOR.  Update all users.
* configure: Regenerate.

From-SVN: r218744

ChangeLog
configure
configure.ac

index 8236370cc99194dd6e32577d12e3d6ecb98c9811..861d016f937d61d3c2e54582ed37cdd31b03a8c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        PR bootstrap/64023
index 297f38e5195a54cc78e0206694c3c5918c60c3ec..1804198338bdadf854bbd5b692a7e39e805ee918 100755 (executable)
--- 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
index fd1bdf0f506d0540972751e0fd66533a76e8fd8a..91c9a7263380059e7a32d277a73af7168af574fb 100644 (file)
@@ -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