summaryrefslogtreecommitdiff
path: root/m4/depend.m4
diff options
context:
space:
mode:
authorAlexandre Duret-Lutz <adl@gnu.org>2006-08-14 20:38:43 +0000
committerAlexandre Duret-Lutz <adl@gnu.org>2006-08-14 20:38:43 +0000
commit49d9a341365242d247f1ea4f00d98542b831bcb4 (patch)
tree1b0a7c8f89fccee5fc82cb19ded8e92af382dc22 /m4/depend.m4
parent552cd6037973ca801dd6332f4e002c7b92dea670 (diff)
downloadautomake-49d9a341365242d247f1ea4f00d98542b831bcb4.tar.gz
* automake.in: Register "Unified Parallel C" as language.
(lang_upc_rewrite): New function. (resolve_linker): Consider UPCLINK. * lib/Automake/Variable.pm (%_ac_macro_for_var): Suggest AM_PROG_UPC for UPC and UPCFLAGS. * m4/upc.m4: New file. * m4/depend.m4 (_AM_DEPENDENCIES): Add UPC case. * m4/Makefile.am (dist_m4data_DATA): Add upc.m4. * doc/automake.texi (Unified Parallel C Support): New node. (Public macros): Mention AM_PROG_UPC. (Program and Library Variables, Flag Variables Ordering): Mention UPCFLAGS. * tests/upc.test, tests/upc2.test, tests/upc3.test: New file. * tests/Makefile.am (TESTS): Add them. * tests/ext.test: Also test upc files.
Diffstat (limited to 'm4/depend.m4')
-rw-r--r--m4/depend.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/depend.m4 b/m4/depend.m4
index c3d92321f..fd0937330 100644
--- a/m4/depend.m4
+++ b/m4/depend.m4
@@ -34,6 +34,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
+ [$1], UPC, [depcc="$UPC" am_compiler_list=],
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
[depcc="$$1" am_compiler_list=])