-# Allow the old version number library, libpng.so, to be removed from
-# the build
-AC_ARG_WITH(libpng-compat,
- AC_HELP_STRING([--with-libpng-compat],
- [Generate the obsolete libpng.so library @<:@default=yes@:>@]),
- [if test "${withval}" = no; then
- compatlib=
- AC_MSG_NOTICE([libpng.so will not be built])
- else
- compatlib=libpng.la
- fi],
- [compatlib=libpng.la])
-AC_SUBST([compatlib])
-