libmng: make this build again.

This commit is contained in:
Juan RP 2012-05-23 11:54:45 +02:00
parent 643c5fb9a7
commit 20ea73e25a
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,13 @@
--- makefiles/configure.in.orig 2012-05-23 11:52:20.653259562 +0200
+++ makefiles/configure.in 2012-05-23 11:52:25.517142443 +0200
@@ -15,10 +15,6 @@ AC_SUBST(VERSION)
dnl Checks for programs.
AC_PROG_CC
AC_ISC_POSIX
-AM_C_PROTOTYPES
-if test "x$U" != "x"; then
- AC_MSG_ERROR(Compiler not ANSI compliant)
-fi
AM_PROG_LIBTOOL
AC_PROG_INSTALL

View File

@ -20,10 +20,8 @@ Add_dependency build jpeg-devel
Add_dependency build zlib-devel
Add_dependency build lcms-devel
pre_configure()
{
cd $wrksrc
pre_configure() {
ln -s makefiles/configure.in .
ln -s makefiles/Makefile.am .
autoreconf -f -i
autoreconf -fi
}