--- example/cgicc.m4.~1~ 2008-07-06 11:27:18.000000000 -0400 +++ example/cgicc.m4 2008-10-02 11:38:33.000000000 -0400 @@ -28,7 +28,7 @@ dnl the macros cgicc_libdir and cgicc_includedir to the values dnl obtained from 'cgicc-config'. dnl -AC_DEFUN(CGICC_CHECK_CONFIG, [ +AC_DEFUN([CGICC_CHECK_CONFIG], [ AC_PATH_PROG(CGICC_CONFIG, cgicc-config, no, [$1/bin $PATH]) if test "$CGICC_CONFIG" = no; then AC_MSG_ERROR(cgicc-config not found in $1/bin:$PATH) @@ -47,7 +47,7 @@ dnl Perform a sanity check on the cgicc installation, making sure all dnl headers are present. dnl -AC_DEFUN(CGICC_CHECK_HEADERS, [ +AC_DEFUN([CGICC_CHECK_HEADERS], [ AC_REQUIRE([CGICC_CHECK_CONFIG]) missing= AC_MSG_CHECKING(whether cgicc headers look good) @@ -76,7 +76,7 @@ dnl Verify that the installed version of cgicc is at least dnl MINIMUM-VERSION, if specified, otherwise 3.2.1 dnl -AC_DEFUN(CGICC_CHECK_VERSION, [ +AC_DEFUN([CGICC_CHECK_VERSION], [ AC_REQUIRE([CGICC_CHECK_CONFIG]) cgicc_min_version=ifelse([$1], ,3.2.1,$1) AC_MSG_CHECKING(for cgicc version >= $cgicc_min_version) @@ -106,7 +106,7 @@ dnl - Presence of the 'cgicc-config' script [in PREFIX] dnl - Presence of all headers [in INCLUDEDIR] dnl - Installed version >= 3.2.1 [or MINIMUM-VERSION if specified] -AC_DEFUN(CGICC_CHECK_INSTALLATION,[ +AC_DEFUN([CGICC_CHECK_INSTALLATION],[ CGICC_CHECK_CONFIG($1) CGICC_CHECK_HEADERS($2) CGICC_CHECK_VERSION($3)