forked from pool/pidgin
20 lines
738 B
Diff
20 lines
738 B
Diff
Fix autoreconf for latest version of check.
|
|
|
|
Index: configure.ac
|
|
===================================================================
|
|
--- configure.ac.orig
|
|
+++ configure.ac
|
|
@@ -2243,11 +2243,7 @@ fi
|
|
dnl #######################################################################
|
|
dnl # Check for check
|
|
dnl #######################################################################
|
|
-PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[
|
|
- ifdef([[AM_PATH_CHECK]],
|
|
- [AM_PATH_CHECK(0.8.2,:,:)],
|
|
- [AC_MSG_RESULT([no, testing is disabled])])
|
|
- ])
|
|
+PKG_CHECK_MODULES(CHECK,[check >= 0.9.4],:,[AC_MSG_RESULT([no, testing is disabled])])
|
|
AM_CONDITIONAL(HAVE_CHECK, [test "x$CHECK_LIBS" != "x"])
|
|
AC_SUBST(CHECK_CFLAGS)
|
|
AC_SUBST(CHECK_LIBS)
|