Skip to content

Commit

Permalink
automake dependency tracking and UPC (gccupc) compiler fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Pirkelbauer committed Oct 31, 2011
1 parent 3b086e0 commit 67228fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acmacros/upc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ AC_ARG_VAR([UPCFLAGS], [Unified Parallel C compiler flags])dnl
AC_CHECK_TOOLS([UPC], [m4_default([$1], [upcc upc])], [:])
if test "$UPC" = :; then
AC_MSG_ERROR([no Unified Parallel C compiler was found], [77])
#else
# _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([UPC])])dnl
else
_AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([UPC])])dnl
fi
])
5 changes: 5 additions & 0 deletions config/support-rtedupc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ AC_DEFUN([ROSE_SUPPORT_UPC],
AC_MSG_CHECKING([for RTEDUPC])
AC_ARG_ENABLE(rtedupc,AS_HELP_STRING([--enable-rtedupc],[Enable UPC support in ROSE (default=no)]),,[enableval=no])
# set the dependence variables to avoid problems when UPC is not specified and not present
am__fastdepUPC_TRUE='#'
am__fastdepUPC_FALSE=
AM_CONDITIONAL(ROSE_WITH_UPC, [test "x$enableval" = "xyes"])
AS_IF([test "x$enableval" = "xyes"], [AM_PROG_UPC])
AC_MSG_RESULT([$enableval])
Expand Down

0 comments on commit 67228fa

Please sign in to comment.