[kazehakase-svn] [3773] Use pkg-config method for libgnutls

Back to archive index

svnno****@sourc***** svnno****@sourc*****
Sun May 31 00:22:05 JST 2009


Revision: 3773
          http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3773
Author:   mtasaka
Date:     2009-05-31 00:22:05 +0900 (Sun, 31 May 2009)

Log Message:
-----------
Use pkg-config method for libgnutls

Modified Paths:
--------------
    kazehakase/trunk/ChangeLog
    kazehakase/trunk/configure.ac

Modified: kazehakase/trunk/ChangeLog
===================================================================
--- kazehakase/trunk/ChangeLog	2009-05-05 00:30:54 UTC (rev 3772)
+++ kazehakase/trunk/ChangeLog	2009-05-30 15:22:05 UTC (rev 3773)
@@ -1,3 +1,9 @@
+2009-05-31  Mamoru Tasaka <mtasa****@ioa*****>
+
+	* configure.ac:
+	Use PKG_CHECK_MODULES instead of AM_PATH_LIBGNUTLS for
+	checking libgnutls.
+
 2009-05-05  Shunichi Fuji <palgl****@gmail*****>
 
 	* src/kz-downloader.c:

Modified: kazehakase/trunk/configure.ac
===================================================================
--- kazehakase/trunk/configure.ac	2009-05-05 00:30:54 UTC (rev 3772)
+++ kazehakase/trunk/configure.ac	2009-05-30 15:22:05 UTC (rev 3773)
@@ -198,10 +198,12 @@
  			  Disable GNU TLS suport],,
 			  disable_ssl=no)
 if test x"$disable_ssl" = "xno"; then
-   AM_PATH_LIBGNUTLS(1.2.0,
+   PKG_CHECK_MODULES(LIBGNUTLS, gnutls >= 1.2.0,
 	AC_DEFINE(USE_SSL, 1, [Define using GNU TLS]),
 	AC_MSG_WARN([[libgnutls was not found.]]))
 fi
+AC_SUBST([LIBGNUTLS_CFLAGS])
+AC_SUBST([LIBGNUTLS_LIBS])
 AM_CONDITIONAL(ENABLE_SSL, test x"$disable_ssl" = "xno")
 
 dnl **************************************************************




More information about the Kazehakase-cvs mailing list
Back to archive index