Forráskód Böngészése

Just another attempt at fixing the plug-in build.

Here, we try to use AM_CONDITIONAL __after__ using AC_CHECK_DECL.
Cyril Roelandt 12 éve
szülő
commit
6a9f7a0620
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      m4/gcc.m4

+ 3 - 3
m4/gcc.m4

@@ -150,9 +150,6 @@ AC_DEFUN([STARPU_GCC_PLUGIN_SUPPORT], [
     fi
   ])
 
-  dnl FIXME Does this test really work ?
-  AM_CONDITIONAL([HAVE_PTR_DEREFS_MAY_ALIAS_P],
-                 [test "x$ac_cv_have_decl_ptr_derefs_may_alias_p" = "xyes"])
 
   if test "x$ac_cv_have_gcc_plugins" = "xyes"; then
     dnl Check for specific features.
@@ -210,6 +207,9 @@ AC_DEFUN([STARPU_GCC_PLUGIN_SUPPORT], [
     AC_SUBST([GCC_FOR_PLUGIN_LIBTOOL_TAG])
   fi
 
+  AM_CONDITIONAL([HAVE_PTR_DEREFS_MAY_ALIAS_P],
+                 [test "x$ac_cv_have_decl_ptr_derefs_may_alias_p" = "xyes"])
+
   AC_SUBST([GCC_PLUGIN_INCLUDE_DIR])
 ])