Doug Summers wrote:
4.1.3 from the 2.5 source works great. Can't build the new 4.1.4 version
(gcc or SunStudio 11):
Ralph - I tried applying this patch (got it from the giflib sourceforge
site) but it didn't work (complained about m4 & autoconf problems):
diff -ur giflib-4.1.4/configure.ac giflib-4.1.4-patched/configure.ac
--- giflib-4.1.4/configure.ac 2005-10-10 08:22:20.000000000 +0200
+++ giflib-4.1.4-patched/configure.ac 2005-11-22 13:39:52.226666000 +0100
@@ -59,17 +59,18 @@
dnl Find a way to define a 32 bit integer
foundint=no
-AC_CHECK_HEADERS([sys/types.h], [
- AC_DEFINE([UINT32], u_int32_t,
+
+AC_CHECK_TYPES([uint32_t], [
+ AC_DEFINE([UINT32], uint32_t,
[Set to an unsigned 32 bit integer available on this
system])
foundint=yes]
)
if test x$foundint != x'yes'; then
-AC_CHECK_HEADERS([stdint.h], [
- AC_DEFINE([UINT32], uint32_t,
+AC_CHECK_TYPES([u_int32_t], [
+ AC_DEFINE([UINT32], u_int32_t,
[Set to an unsigned 32 bit integer available on this
system])
- foundint=yes]
+ foundint=yes]
)
fi
Can you try it?
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]