# HG changeset patch # User rosfran # Date 1179262445 -3600 # Node ID 49f79548b1cc5fdf61c78d7018b3516585458e14 # Parent ad1457d65f7400c52abe19859711d9f9a723eed9 [svn r662] Fixed an error when dealing with the AC_CHECK_PROG m4 tags. diff -r ad1457d65f74 -r 49f79548b1cc gmyth/configure.ac --- a/gmyth/configure.ac Tue May 15 21:39:04 2007 +0100 +++ b/gmyth/configure.ac Tue May 15 21:54:05 2007 +0100 @@ -240,35 +240,35 @@ # checks if the indent tool can be found AC_CHECK_PROG(HAVE_INDENT, indent, [Found!]) -if test -z "$HAVE_INDENT"; then +if test -n "$HAVE_INDENT"; then AC_DEFINE(HAVE_INDENT, 1, [AutoIndent found!]) fi -AM_CONDITIONAL(HAVE_INDENT, test -z "$HAVE_INDENT") +AM_CONDITIONAL(HAVE_INDENT, test -n "$HAVE_INDENT") # checks if the gprof tool can be found AC_CHECK_PROG(HAVE_GPROF, gprof, [Found!]) -if test -z "$HAVE_GPROF"; then +if test -n "$HAVE_GPROF"; then AC_DEFINE(HAVE_GPROF, 1, [Gnu Profiling tool found!]) fi -AM_CONDITIONAL(HAVE_GPROF, test -z "$HAVE_GPROF") +AM_CONDITIONAL(HAVE_GPROF, test -n "$HAVE_GPROF") # checks if the gcov tool can be found AC_CHECK_PROG(HAVE_GCOV, gcov, [Found!]) -if test -z "$HAVE_GCOV"; then +if test -n "$HAVE_GCOV"; then AC_DEFINE(HAVE_GCOV, 1, [Gnu Coverage tool found!]) fi -AM_CONDITIONAL(HAVE_GCOV, test -z "$HAVE_GCOV") +AM_CONDITIONAL(HAVE_GCOV, test -n "$HAVE_GCOV") # checks if the genhtml tool can be found AC_CHECK_PROG(HAVE_GENHTML, genhtml, [Found!]) -if test -z "$HAVE_GENHTML"; then +if test -n "$HAVE_GENHTML"; then AC_DEFINE(HAVE_GENHTML, 1, [Gnu Coverage HTML report generator found!]) fi -AM_CONDITIONAL(HAVE_GENHTML, test -z "$HAVE_GENHTML") +AM_CONDITIONAL(HAVE_GENHTML, test -n "$HAVE_GENHTML") AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS)