Imported from libpng-1.2.17rc3.tar

This commit is contained in:
Glenn Randers-Pehrson
2007-05-09 14:08:41 -05:00
parent e8f6605642
commit 999bceb413
47 changed files with 139 additions and 105 deletions

View File

@@ -18,12 +18,12 @@ AC_PREREQ(2.59)
dnl Version number stuff here:
AC_INIT([libpng], [1.2.17rc2], [png-mng-implement@lists.sourceforge.net])
AC_INIT([libpng], [1.2.17rc3], [png-mng-implement@lists.sourceforge.net])
AM_INIT_AUTOMAKE
dnl stop configure from automagically running automake
AM_MAINTAINER_MODE
PNGLIB_VERSION=1.2.17rc2
PNGLIB_VERSION=1.2.17rc3
PNGLIB_MAJOR=1
PNGLIB_MINOR=2
PNGLIB_RELEASE=17
@@ -84,6 +84,17 @@ else
fi
AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes")
if test "$have_ld_version_script" = "yes"; then
AC_MSG_CHECKING([for symbol prefix])
SYMBOL_PREFIX=`echo "PREFIX=__USER_LABEL_PREFIX__" \
| ${CPP-${CC-gcc} -E} - 2>&1 \
| ${EGREP-grep} "^PREFIX=" \
| ${SED-sed} "s:^PREFIX=::"`
AC_SUBST(SYMBOL_PREFIX)
test "x$SYMBOL_PREFIX" = x && SYMBOL_PREFIX="none needed!"
AC_MSG_RESULT($SYMBOL_PREFIX)
fi
# Substitutions for .in files
AC_SUBST(PNGLIB_VERSION)
AC_SUBST(PNGLIB_MAJOR)