You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/freebsd/dependencies/imlib/files/patch-giflib-ungif.diff

25 lines
810 B

Index: b/configure.in
===================================================================
--- a/configure.in
+++ b/configure.in
@@ -250,12 +250,13 @@
AC_CHECK_HEADER(gif_lib.h,
- [AC_CHECK_LIB(ungif, DGifOpenFileName,
- [GIFLIBS="-lungif"
- SUPPORT_LIBS="$SUPPORT_LIBS -lungif"; AC_DEFINE(HAVE_LIBGIF, 1, [ ])],
- [AC_CHECK_LIB(gif, DGifOpenFileName,
- [GIFLIBS="-lgif"
- SUPPORT_LIBS="$SUPPORT_LIBS -lgif"
+ [AC_CHECK_LIB(gif, DGifOpenFileName,
+ [GIFLIBS="-lgif"
+ SUPPORT_LIBS="$SUPPORT_LIBS -lgif"
+ AC_DEFINE(HAVE_LIBGIF, 1, [ ])],
+ [AC_CHECK_LIB(ungif, DGifOpenFileName,
+ [GIFLIBS="-lungif"
+ SUPPORT_LIBS="$SUPPORT_LIBS -lungif"
AC_DEFINE(HAVE_LIBGIF, 1, [ ])],
[AC_MSG_ERROR(*** GIF library file not found ***)],
$GX_LIBS)],