[svn r662] Fixed an error when dealing with the AC_CHECK_PROG m4 tags. trunk
authorrosfran
Tue May 15 21:54:05 2007 +0100 (2007-05-15)
branchtrunk
changeset 65649f79548b1cc
parent 655 ad1457d65f74
child 657 0469baf4217c
[svn r662] Fixed an error when dealing with the AC_CHECK_PROG m4 tags.
gmyth/configure.ac
     1.1 --- a/gmyth/configure.ac	Tue May 15 21:39:04 2007 +0100
     1.2 +++ b/gmyth/configure.ac	Tue May 15 21:54:05 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)