From 9c633dea5ac9089e47bbeeaa6e53ad05d287ffab Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Wed, 19 Feb 2003 04:23:22 +0000 Subject: AC_REQUIRE does not work within AU_DEFUN, so change to a simple call to 2003-02-19 James Henstridge * gnome-deprecated-macros.m4(GNOME_CHECK_CXX): AC_REQUIRE does not work within AU_DEFUN, so change to a simple call to AC_PROG_CXX. svn path=/trunk/; revision=2775 --- macros2/ChangeLog | 5 +++++ macros2/gnome-deprecated-macros.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'macros2') diff --git a/macros2/ChangeLog b/macros2/ChangeLog index 27c047d9..952031cb 100644 --- a/macros2/ChangeLog +++ b/macros2/ChangeLog @@ -1,3 +1,8 @@ +2003-02-19 James Henstridge + + * gnome-deprecated-macros.m4(GNOME_CHECK_CXX): AC_REQUIRE does not + work within AU_DEFUN, so change to a simple call to AC_PROG_CXX. + 2003-02-18 James Henstridge * autogen.sh (topdir): check to see if gnome-deprecated-macros.m4 diff --git a/macros2/gnome-deprecated-macros.m4 b/macros2/gnome-deprecated-macros.m4 index ac3bf5b4..b27ba528 100644 --- a/macros2/gnome-deprecated-macros.m4 +++ b/macros2/gnome-deprecated-macros.m4 @@ -14,7 +14,7 @@ AU_DEFUN([GNOME_PLATFORM_GNOME_2], []) AU_DEFUN([GNOME_CHECK_CXX], [ # see if a C++ compiler exists and works - AC_REQUIRE([AC_PROG_CXX])dnl + AC_PROG_CXX if test "x$ac_cv_prog_cxx_works" = xno; then AC_MSG_WARN(ifelse([$1], , "No C++ compiler", [$1])) fi -- cgit v1.2.1