pidgin: f16870e8: Fix some quoting for AC_LANG_PROGRAM.

qulogic at pidgin.im qulogic at pidgin.im
Sat Jul 11 03:05:39 EDT 2009


-----------------------------------------------------------------
Revision: f16870e8dd591a9e962df6d058c15a07dda28fc4
Ancestor: 39b90ee2c4d49d80e4f9befbc80cb9684cf05209
Author: qulogic at pidgin.im
Date: 2009-07-11T06:49:43
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f16870e8dd591a9e962df6d058c15a07dda28fc4

Modified files:
        configure.ac

ChangeLog: 

Fix some quoting for AC_LANG_PROGRAM.

-------------- next part --------------
============================================================
--- configure.ac	d46f51e840af61fb507e318a930ea9e0440b5ccc
+++ configure.ac	f68b547755dd2f8be217245d78a8f20fe2b19541
@@ -1731,8 +1731,8 @@ if test "x$enable_gnutls" = "xyes"; then
 	LIBS="$LIBS $GNUTLS_LIBS"
 	CPPFLAGS_save="$CPPFLAGS"
 	CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
-	AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <gnutls/gnutls.h>],
-                                        [gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL);])],
+	AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gnutls/gnutls.h>]],
+                                        [[gnutls_session s; gnutls_priority_set_direct(s, NULL, NULL);]])],
 	               [AC_DEFINE([HAVE_GNUTLS_PRIORITY_FUNCS], 1,
                                   [Define if your gnutls has gnutls_priority_set_direct and friends])
 	                AC_MSG_RESULT(yes)],
@@ -2027,9 +2027,9 @@ if test "x$enable_nss" = "xyes"; then
 	LIBS="$LIBS $NSS_LIBS"
 	CPPFLAGS_save="$CPPFLAGS"
 	CPPFLAGS="$CPPFLAGS $NSS_CFLAGS"
-	AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <nss.h>
-#include <secmod.h>],
-                                        [NSS_SetAlgorithmPolicy(SEC_OID_MD2, 0, 0);])],
+	AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <nss.h>
+#include <secmod.h>]],
+                                        [[NSS_SetAlgorithmPolicy(SEC_OID_MD2, 0, 0);]])],
 	               [AC_DEFINE([NEED_NSS_WEAK_ALGORITHMS], 1,
                                   [Define if your NSS needs weak algorithms activated with NSS_SetAlgorithmPolicy])
 	                AC_MSG_RESULT(yes)],


More information about the Commits mailing list