m4/check.m4: fix test so it actually works when the normal check is used over debian...
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 9 Mar 2006 19:40:43 +0000 (19:40 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 9 Mar 2006 19:40:43 +0000 (19:40 +0000)
Original commit message from CVS:

* m4/check.m4:
fix test so it actually works when the normal check is used
over debian's/ubuntu's

ChangeLog
m4/check.m4

index 819c64c..c2b57b3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * m4/check.m4:
+         fix test so it actually works when the normal check is used
+         over debian's/ubuntu's
+
 2006-03-08  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * check.mak:
index 20a2406..19784ae 100644 (file)
@@ -24,6 +24,9 @@ AC_DEFUN([_AM_TRY_CHECK],
   AC_MSG_CHECKING(for check named $check_lib_name  - version >= $min_check_version)
 
   rm -f conf.check-test
+  dnl unset no_check, since in our second run it would have been set to yes
+  dnl before
+  no_check=
   AC_TRY_RUN([
 #include <stdio.h>
 #include <stdlib.h>