[m-rev.] diff: fix underquoted definitions

Zoltan Somogyi zs at unimelb.edu.au
Tue Mar 27 16:16:37 AEDT 2012


Julien has already reviewed this diff.

Zoltan.

m4/mercury.m4:
	Fix underquoted definitions.

cvs diff: Diffing m4
Index: m4/mercury.m4
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/m4/mercury.m4,v
retrieving revision 1.5
diff -u -b -r1.5 mercury.m4
--- m4/mercury.m4	15 Jan 2012 23:38:21 -0000	1.5
+++ m4/mercury.m4	26 Mar 2012 11:42:45 -0000
@@ -11,7 +11,7 @@
 # We ought to move most of the code in configure.in into this file...
 #
 #-----------------------------------------------------------------------------#
-AC_DEFUN(MERCURY_CHECK_FOR_HEADERS,
+AC_DEFUN([MERCURY_CHECK_FOR_HEADERS],
 [
     for mercury_cv_header in $1; do
 	mercury_cv_header_define="MR_HAVE_`echo $mercury_cv_header | \
@@ -23,12 +23,12 @@
     done
 ])
 #-----------------------------------------------------------------------------#
-AC_DEFUN(MERCURY_CHECK_FOR_IEEEFP_H,
+AC_DEFUN([MERCURY_CHECK_FOR_IEEEFP_H],
 [
 	MERCURY_CHECK_FOR_HEADERS(ieeefp.h)
 ])
 
-AC_DEFUN(MERCURY_CHECK_FOR_IEEE_FUNC,
+AC_DEFUN([MERCURY_CHECK_FOR_IEEE_FUNC],
 [
 AC_REQUIRE([MERCURY_CHECK_FOR_IEEEFP_H])
 AC_MSG_CHECKING(for $1 function)
@@ -98,7 +98,7 @@
 # when preprocessing the C code generated by the Mercury compiler's LLDS
 # back-end.
 #
-AC_DEFUN(MERCURY_CHECK_CC_NEEDS_TRAD_CPP,
+AC_DEFUN([MERCURY_CHECK_CC_NEEDS_TRAD_CPP],
 [
 AC_REQUIRE([AC_PROG_CC])
 AC_MSG_CHECKING(whether C compiler needs -no-cpp-precomp)
@@ -127,7 +127,7 @@
 # GNU C normally searches /usr/local/include by default;
 # to keep things consistent, we do the same for other C compilers.
 #
-AC_DEFUN(MERCURY_CHECK_LOCAL_C_INCL_DIRS,
+AC_DEFUN([MERCURY_CHECK_LOCAL_C_INCL_DIRS],
 [
 AC_REQUIRE([AC_PROG_CC])
 AC_MSG_CHECKING(whether to pass -I/usr/local/include to C compiler)
@@ -158,7 +158,7 @@
 # Set ALL_LOCAL_C_LIB_DIRS to any extra directories we need to add to the
 # search path for libraries.
 #
-AC_DEFUN(MERCURY_CHECK_LOCAL_C_LIB_DIRS,
+AC_DEFUN([MERCURY_CHECK_LOCAL_C_LIB_DIRS],
 [
 AC_MSG_CHECKING(whether to pass -L/usr/local/lib to the linker)
 
@@ -180,7 +180,7 @@
 #
 # Check for readline and related header files and libraries
 #
-AC_DEFUN(MERCURY_CHECK_READLINE,
+AC_DEFUN([MERCURY_CHECK_READLINE],
 [
 AC_ARG_WITH(readline,
 [  --without-readline      Don't use the GPL'd GNU readline library],
@@ -226,7 +226,7 @@
 #
 # Microsoft.NET configuration
 #
-AC_DEFUN(MERCURY_CHECK_DOTNET,
+AC_DEFUN([MERCURY_CHECK_DOTNET],
 [
 AC_PATH_PROG(ILASM, ilasm)
 AC_PATH_PROG(GACUTIL, gacutil)
@@ -332,7 +332,7 @@
 #
 # Java configuration
 #
-AC_DEFUN(MERCURY_CHECK_JAVA,
+AC_DEFUN([MERCURY_CHECK_JAVA],
 [
 # jikes requires the usual Java SDK to run, so if we checked for javac first,
 # then that's what we'd get. If the user has jikes installed, then that
@@ -430,7 +430,7 @@
 AC_SUBST(JAR)
 ])
 
-AC_DEFUN(MERCURY_CHECK_JAVAC_HEAP_SIZE,
+AC_DEFUN([MERCURY_CHECK_JAVAC_HEAP_SIZE],
 [
 # The default maximum heap size is too small to build the standard library and
 # other programs so we need to increase it.  The option to do that is
@@ -487,7 +487,7 @@
 fi
 ])
 
-AC_DEFUN(MERCURY_CHECK_ERLANG,
+AC_DEFUN([MERCURY_CHECK_ERLANG],
 [
 MERCURY_ERLANG_PATH_ERLC
 MERCURY_ERLANG_PATH_ERL
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list