Files
zimg/zimg-5.0.0.patch

21 lines
566 B
Diff
Raw Normal View History

--- configure.in
+++ configure.in
@@ -41,7 +41,7 @@ AC_PREREQ(1.12)
AC_REVISION($Revision: 1.106 $)
AC_CONFIG_AUX_DIR(.)
-VERSION=`head -1 VERSION`
+VERSION=`head -n 1 VERSION`
AC_SUBST(VERSION)
AM_INIT_AUTOMAKE(zimg, $VERSION)
@@ -69,7 +69,7 @@ AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
-if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
+if if test -x libtool; then ${CONFIG_SHELL} ./libtool --features; else libtool --features; fi | grep "enable static" >/dev/null; then
STATIC=-static
else
STATIC=