summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2006-03-20 20:31:29 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2006-03-20 20:31:29 +0000
commitb9df3285f2c32960ebeb979bbc6d76ea3e438ba4 (patch)
tree070fd72637ad1d5c9f70c778e03ffb9f815359e3 /m4
parent2b1fba958daecc7c862aeda1e6acc41821bf8c70 (diff)
downloadautomake-b9df3285f2c32960ebeb979bbc6d76ea3e438ba4.tar.gz
automake-b9df3285f2c32960ebeb979bbc6d76ea3e438ba4.tar.bz2
automake-b9df3285f2c32960ebeb979bbc6d76ea3e438ba4.zip
* m4/init.m4 (AM_INIT_AUTOMAKE): Add `_AM_DEPENDENCIES(OBJC)'
to `AC_PROG_OBJC' if provided, to fix Objective C depmode handling. * lib/Automake/Variable.pm (%_ac_macro_for_var): Add entries for OBJC and OBJCFLAGS. * tests/ext.test: Adjust. * tests/objc.test, tests/objc2.test: New tests. * tests/Makefile.am: Adjust. * doc/automake.texi (Objective C Support): New node. (Support for Other Languages): Adjust. * NEWS: Update.
Diffstat (limited to 'm4')
-rw-r--r--m4/init.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/init.m4 b/m4/init.m4
index 7b0258263..34fa71681 100644
--- a/m4/init.m4
+++ b/m4/init.m4
@@ -88,6 +88,10 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
[_AM_DEPENDENCIES(CXX)],
[define([AC_PROG_CXX],
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+AC_PROVIDE_IFELSE([AC_PROG_OBJC],
+ [_AM_DEPENDENCIES(OBJC)],
+ [define([AC_PROG_OBJC],
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
])
])