incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1175698 - /incubator/ooo/trunk/main/acinclude.m4
Date Mon, 26 Sep 2011 07:16:31 GMT
Author: hdu
Date: Mon Sep 26 07:16:30 2011
New Revision: 1175698

URL: http://svn.apache.org/viewvc?rev=1175698&view=rev
Log:
solve warnings for newer autoconf versions (author=ariel)

The patch was contributed to the Apache project by Ariel Constenla-Haile
Mail Reference: 4E7C5355.9080605@apache.org

Modified:
    incubator/ooo/trunk/main/acinclude.m4

Modified: incubator/ooo/trunk/main/acinclude.m4
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/acinclude.m4?rev=1175698&r1=1175697&r2=1175698&view=diff
==============================================================================
--- incubator/ooo/trunk/main/acinclude.m4 (original)
+++ incubator/ooo/trunk/main/acinclude.m4 Mon Sep 26 07:16:30 2011
@@ -33,7 +33,7 @@ ac_cv_func_which_getspnam_r=unknown
 # assuming an implicit prototype. In which case, we're out of luck.
 #
 AC_COMPILE_IFELSE(
-    AC_LANG_PROGRAM(
+    [AC_LANG_PROGRAM(
 	[[
 	    #include <sys/types.h>
 	    #include <shadow.h>
@@ -41,7 +41,7 @@ AC_COMPILE_IFELSE(
 	[[
 	    const char *name = "myname";
 	    getspnam_r(name) /* ; */
-	]]),
+	]])],
     ac_cv_func_which_getspnam_r=no)
 
 #
@@ -51,7 +51,7 @@ AC_COMPILE_IFELSE(
 if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
 
 AC_COMPILE_IFELSE(
-    AC_LANG_PROGRAM(
+    [AC_LANG_PROGRAM(
 	[[
 	    #include <sys/types.h>
 	    #include <shadow.h>
@@ -61,7 +61,7 @@ AC_COMPILE_IFELSE(
 	    struct spwd spwdStruct;
 	    const char *name = "myname";
 	    getspnam_r(name, &spwdStruct, buffer, sizeof buffer, 0) /* ; */
-	]]),
+	]])],
     ac_cv_func_which_getspnam_r=five)
 
 fi
@@ -73,7 +73,7 @@ fi
 if test "$ac_cv_func_which_getspnam_r" = "unknown"; then
 
 AC_COMPILE_IFELSE(
-    AC_LANG_PROGRAM(
+    [AC_LANG_PROGRAM(
 	[[
 	    #include <sys/types.h>
 	    #include <shadow.h>
@@ -83,7 +83,7 @@ AC_COMPILE_IFELSE(
 	    struct spwd spwdStruct;
 	    const char *name = "myname";
 	    getspnam_r(name, &spwdStruct, buffer, sizeof buffer) /* ; */
-	]]),
+	]])],
     ac_cv_func_which_getspnam_r=four)
 
 fi



Mime
View raw message