1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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)],
|