Return-Path: X-Original-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 285677718 for ; Mon, 26 Sep 2011 07:16:53 +0000 (UTC) Received: (qmail 34661 invoked by uid 500); 26 Sep 2011 07:16:53 -0000 Delivered-To: apmail-incubator-ooo-commits-archive@incubator.apache.org Received: (qmail 34570 invoked by uid 500); 26 Sep 2011 07:16:52 -0000 Mailing-List: contact ooo-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-commits@incubator.apache.org Received: (qmail 34560 invoked by uid 99); 26 Sep 2011 07:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 07:16:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2011 07:16:51 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 2AAAE2388847; Mon, 26 Sep 2011 07:16:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1175698 - /incubator/ooo/trunk/main/acinclude.m4 Date: Mon, 26 Sep 2011 07:16:31 -0000 To: ooo-commits@incubator.apache.org From: hdu@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110926071631.2AAAE2388847@eris.apache.org> 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 #include @@ -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 #include @@ -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 #include @@ -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