[devel] Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE,

$AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
This commit is contained in:
Glenn Randers-Pehrson 2010-09-14 16:06:08 -05:00
parent 4f8e7e5f41
commit a2218a4b6d
3 changed files with 29 additions and 14 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.5.0beta48 - September 11, 2010 Libpng 1.5.0beta48 - September 14, 2010
This is not intended to be a public release. It will be replaced This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version. within a few weeks by a public version or by another test version.
@ -226,7 +226,7 @@ version 1.5.0beta24 [May 7, 2010]
offset of the png_ptr->rowbuf pointer into png_ptr->big_row_buf. offset of the png_ptr->rowbuf pointer into png_ptr->big_row_buf.
Added more blank lines for readability. Added more blank lines for readability.
version 1.5.0beta25 [September 11, 2010] version 1.5.0beta25 [September 14, 2010]
In pngpread.c: png_push_have_row() add check for new_row > height In pngpread.c: png_push_have_row() add check for new_row > height
Removed the now-redundant check for out-of-bounds new_row from example.c Removed the now-redundant check for out-of-bounds new_row from example.c
@ -397,7 +397,10 @@ Version 1.5.0beta47 [September 11, 2010]
Fixed a number of problems with 64-bit compilation reported by Visual Fixed a number of problems with 64-bit compilation reported by Visual
Studio 2010 (John Bowler). Studio 2010 (John Bowler).
Version 1.5.0beta48 [September 11, 2010] Version 1.5.0beta48 [September 14, 2010]
Updated CMakeLists.txt (Philip Lowman).
Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE, $AUTOHEADER,
$AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
Send comments/corrections/commendations to png-mng-implement at lists.sf.net: Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit (subscription required; visit

View File

@ -3034,7 +3034,10 @@ Version 1.5.0beta47 [September 11, 2010]
Fixed a number of problems with 64-bit compilation reported by Visual Fixed a number of problems with 64-bit compilation reported by Visual
Studio 2010 (John Bowler). Studio 2010 (John Bowler).
Version 1.5.0beta48 [September 11, 2010] Version 1.5.0beta48 [September 14, 2010]
Updated CMakeLists.txt (Philip Lowman).
Revised autogen.sh to recognize and use $AUTOCONF, $AUTOMAKE, $AUTOHEADER,
$AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
Send comments/corrections/commendations to png-mng-implement at lists.sf.net Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit (subscription required; visit

View File

@ -4,22 +4,31 @@
# #
# WARNING: if you run this you will change the versions # WARNING: if you run this you will change the versions
# of the tools which are used and, maybe, required! # of the tools which are used and, maybe, required!
# You can define your own replacements in your environment.
# $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
touch Makefile.am configure.ac touch Makefile.am configure.ac
{ {
echo "running libtoolize" >&2 LT=${LIBTOOLIZE-libtoolize}
libtoolize --force --copy --automake echo "running $LT" >&2
$LT --force --copy --automake
} && { } && {
echo "running aclocal" >&2 AL=${ACLOCAL-aclocal}
aclocal echo "running $AL" >&2
$AL
} && { } && {
echo "running autoheader [ignore the warnings]" >&2 AH=${AUTOHEADER-autoheader}
autoheader echo "running $AH [ignore the warnings]" >&2
$AH
} && { } && {
echo "running automake" >&2 AM=${AUTOMAKE-automake}
automake --force-missing --foreign -a -c echo "running $AM" >&2
$AM --force-missing --foreign -a -c
} && { } && {
echo "running autoconf" >&2 AC=${AUTOCONF-autoconf}
autoconf echo "running $AC" >&2
$AC
} && } &&
echo "autogen complete" >&2 || echo "autogen complete" >&2 ||
echo "ERROR: autogen.sh failed, autogen is incomplete" >&2 echo "ERROR: autogen.sh failed, autogen is incomplete" >&2