Add rules to avoid the infinite loop took before ./configure is run

git-svn-id: http://svn.osgeo.org/postgis/trunk@6472 b70326c6-7e19-0410-871a-916f4a2858ee
stable-2.0
Sandro Santilli 2010-12-22 18:24:27 +00:00
parent 42f41926b7
commit c28c20a6c4
1 changed files with 7 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# this file copied and adapted from PostgreSQL source
# to allow easy build on BSD systems
all install uninstall clean distclean maintainer-clean test check docs docs-install docs-uninstall utils:
all install uninstall clean distclean maintainer-clean test check docs docs-install docs-uninstall utils: GNUmakefile
@IFS=':' ; \
for dir in $$PATH; do \
for prog in gmake gnumake make; do \
@ -20,3 +20,9 @@ all install uninstall clean distclean maintainer-clean test check docs docs-inst
echo "You must use GNU make to build PostGIS." ; \
false; \
fi
configure: configure.in
./autogen.sh
GNUmakefile: GNUmakefile.in
./configure