* configure.in: fix some AC_DEFINE macros

* macros/autogen.sh: a bit more work on the version searches.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8282 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2003-05-09 00:58:23 +00:00
parent b9546bb9cc
commit 942578370a
3 changed files with 27 additions and 23 deletions

View File

@@ -88,21 +88,19 @@ find_program()
fi
echo
echo "**Error**: You must have at least version $vers of $prog installed."
echo "Please check your distribution or the appropriate web site."
echo "**Warning**: Could not find a $prog that identifies itself >= $vers."
echo
DIE=1
return 1
program="$prog"
}
find_program "$AUTOCONF" autoconf 2.53 "2.5 2.5x"
[ "$?" = 0 ] && AUTOCONF="$program"
find_program "$AUTOHEADER" autoheader 2.53 "2.5 2.5x"
[ "$?" = 0 ] && AUTOHEADER="$program"
find_program "$AUTOCONF" autoconf 2.53
AUTOCONF="$program"
find_program "$AUTOHEADER" autoheader 2.53
AUTOHEADER="$program"
find_program "$AUTOMAKE" automake 1.5 "1.6 1.7"
[ "$?" = 0 ] && AUTOMAKE="$program"
AUTOMAKE="$program"
find_program "$ACLOCAL" aclocal 1.5 "1.6 1.7"
[ "$?" = 0 ] && ACLOCAL="$program"
ACLOCAL="$program"
(${AUTOCONF} --version) < /dev/null > /dev/null 2>&1 || {