summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorfche <fche>2007-06-20 19:54:43 +0000
committerfche <fche>2007-06-20 19:54:43 +0000
commit8ae7a94ac6bfbee8f6ee4ba38151de9c3aed5859 (patch)
tree2d2bb79249a45df3cb18b5b4136d9b5c8700379d /aclocal.m4
parent861c2f286ff7e68cbe93f7bc8e43b60638f52848 (diff)
downloadsystemtap-steved-8ae7a94ac6bfbee8f6ee4ba38151de9c3aed5859.tar.gz
systemtap-steved-8ae7a94ac6bfbee8f6ee4ba38151de9c3aed5859.tar.xz
systemtap-steved-8ae7a94ac6bfbee8f6ee4ba38151de9c3aed5859.zip
2007-06-20 Frank Ch. Eigler <fche@elastic.org>
* configure.ac: Added AM_PROG_CC_C_O for compatibility with automake 1.10. * configure, aclocal.m4: Regenerated.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m428
1 files changed, 28 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 7b5533cd..830ac8af 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -593,6 +593,34 @@ AC_MSG_RESULT([$_am_result])
rm -f confinc confmf
])
+# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 3
+
+# AM_PROG_CC_C_O
+# --------------
+# Like AC_PROG_CC_C_O, but changed for automake.
+AC_DEFUN([AM_PROG_CC_C_O],
+[AC_REQUIRE([AC_PROG_CC_C_O])dnl
+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
+# FIXME: we rely on the cache variable name because
+# there is no other way.
+set dummy $CC
+ac_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
+if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
+ # Losing compiler, so override with the script.
+ # FIXME: It is wrong to rewrite CC.
+ # But if we don't then we get into trouble of one sort or another.
+ # A longer-term fix would be to have automake use am__CC in this case,
+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+ CC="$am_aux_dir/compile $CC"
+fi
+])
+
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005