[libpng17] Make autogen.sh work with automake 1.13 as well as 1.14. Do this

by always removing the 1.14 'compile' script but never checking for it.
This commit is contained in:
John Bowler
2013-10-06 09:02:09 -05:00
committed by Glenn Randers-Pehrson
parent 091fab713c
commit 72c2577302
3 changed files with 10 additions and 2 deletions

View File

@@ -74,8 +74,11 @@ done
#
# The autotools generated files:
libpng_autotools_files="Makefile.in aclocal.m4 config.guess config.h.in\
config.sub configure depcomp install-sh ltmain.sh missing test-driver\
compile"
config.sub configure depcomp install-sh ltmain.sh missing test-driver"
#
# Files generated by versions of configue >2.68 or automake >1.13 (i.e. later
# versions than those reqiured by configure.ac):
libpng_autotools_extra="compile"
#
# These are separate because 'maintainer-clean' does not remove them.
libpng_libtool_files="scripts/libtool.m4 scripts/ltoptions.m4\
@@ -95,6 +98,7 @@ libpng_configure_dirs=".deps"
# of Makefile. These functions do the two bits of cleaning.
clean_autotools(){
rm -rf $libpng_autotools_files $libpng_libtool_files $libpng_autotools_dirs
rm -rf $libpng_autotools_extra
}
clean_configure(){