1.1 --- a/gmyth/configure.ac Wed May 09 16:01:14 2007 +0100
1.2 +++ b/gmyth/configure.ac Thu May 17 21:58:17 2007 +0100
1.3 @@ -240,35 +240,35 @@
1.4
1.5 # checks if the indent tool can be found
1.6 AC_CHECK_PROG(HAVE_INDENT, indent, [Found!])
1.7 -if test -z "$HAVE_INDENT"; then
1.8 +if test -n "$HAVE_INDENT"; then
1.9 AC_DEFINE(HAVE_INDENT, 1, [AutoIndent found!])
1.10 fi
1.11
1.12 -AM_CONDITIONAL(HAVE_INDENT, test -z "$HAVE_INDENT")
1.13 +AM_CONDITIONAL(HAVE_INDENT, test -n "$HAVE_INDENT")
1.14
1.15 # checks if the gprof tool can be found
1.16 AC_CHECK_PROG(HAVE_GPROF, gprof, [Found!])
1.17 -if test -z "$HAVE_GPROF"; then
1.18 +if test -n "$HAVE_GPROF"; then
1.19 AC_DEFINE(HAVE_GPROF, 1, [Gnu Profiling tool found!])
1.20 fi
1.21
1.22 -AM_CONDITIONAL(HAVE_GPROF, test -z "$HAVE_GPROF")
1.23 +AM_CONDITIONAL(HAVE_GPROF, test -n "$HAVE_GPROF")
1.24
1.25 # checks if the gcov tool can be found
1.26 AC_CHECK_PROG(HAVE_GCOV, gcov, [Found!])
1.27 -if test -z "$HAVE_GCOV"; then
1.28 +if test -n "$HAVE_GCOV"; then
1.29 AC_DEFINE(HAVE_GCOV, 1, [Gnu Coverage tool found!])
1.30 fi
1.31
1.32 -AM_CONDITIONAL(HAVE_GCOV, test -z "$HAVE_GCOV")
1.33 +AM_CONDITIONAL(HAVE_GCOV, test -n "$HAVE_GCOV")
1.34
1.35 # checks if the genhtml tool can be found
1.36 AC_CHECK_PROG(HAVE_GENHTML, genhtml, [Found!])
1.37 -if test -z "$HAVE_GENHTML"; then
1.38 +if test -n "$HAVE_GENHTML"; then
1.39 AC_DEFINE(HAVE_GENHTML, 1, [Gnu Coverage HTML report generator found!])
1.40 fi
1.41
1.42 -AM_CONDITIONAL(HAVE_GENHTML, test -z "$HAVE_GENHTML")
1.43 +AM_CONDITIONAL(HAVE_GENHTML, test -n "$HAVE_GENHTML")
1.44
1.45 AC_SUBST(CFLAGS)
1.46 AC_SUBST(LDFLAGS)