lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1526 - nss-pam-ldapd

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1526 - nss-pam-ldapd



Author: arthur
Date: Mon Aug 29 21:16:21 2011
New Revision: 1526
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1526

Log:
silence autoconf warnings, patch by Jakub Hrozek

Modified:
   nss-pam-ldapd/configure.ac

Modified: nss-pam-ldapd/configure.ac
==============================================================================
--- nss-pam-ldapd/configure.ac  Mon Aug 29 21:01:12 2011        (r1525)
+++ nss-pam-ldapd/configure.ac  Mon Aug 29 21:16:21 2011        (r1526)
@@ -93,7 +93,7 @@
                  DESIRED_CFLAGS="$DESIRED_CFLAGS -Wextra 
-Wdeclaration-after-statement -Werror-implicit-function-declaration"
                fi])
 test_gcc_flag() {
-  AC_LANG_CONFTEST([int main() {}])
+  AC_LANG_CONFTEST([AC_LANG_PROGRAM([int main() {}])])
   $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
   ret=$?
   rm -f conftest.o
@@ -310,7 +310,7 @@
 
 # check for support for the __thread keyword
 AC_CACHE_CHECK([whether $CC supports '__thread'], [mn_cv_c___thread_supported],
-               [AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[static __thread i;]], []),
+               [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[static __thread i;]], 
[])],
                        [mn_cv_c___thread_supported=yes],
                        [mn_cv_c___thread_supported=no])])
 if test $mn_cv_c___thread_supported != yes
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits