forked from pool/pidgin
18 lines
640 B
Diff
18 lines
640 B
Diff
|
Fix autoreconf for latest version of check.
|
||
|
|
||
|
--- configure.ac
|
||
|
+++ configure.ac
|
||
|
@@ -1938,11 +1938,7 @@
|
||
|
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)
|