]> git.pld-linux.org Git - packages/giflib.git/commitdiff
- fix configure --without-x
authorsparky <sparky@pld-linux.org>
Tue, 4 Nov 2008 22:13:02 +0000 (22:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    giflib-no_x11.patch -> 1.1

giflib-no_x11.patch [new file with mode: 0644]

diff --git a/giflib-no_x11.patch b/giflib-no_x11.patch
new file mode 100644 (file)
index 0000000..35f4411
--- /dev/null
@@ -0,0 +1,15 @@
+--- giflib-4.1.4/configure.ac~orig     2008-11-04 23:06:29.000000000 +0100
++++ giflib-4.1.4/configure.ac  2008-11-04 23:07:37.000000000 +0100
+@@ -31,9 +31,12 @@
+                              AC_DEFINE(HAVE_LIBGL_S, [1], [Define if the gl_s library is installed (SGI GL library)])
+                  COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2iris"],, $X_LIBS)
++    X11_LIB=""
++if test "x$with_x" != xno; then
+     AC_CHECK_LIB(X11, main, [X11_LIB="${X11_LIB} $X_LIBS ${X_EXTRA_LIBS} -lX11"
+                              AC_DEFINE(HAVE_LIBX11, [1], [Define if the X11 library is installed])
+                  COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2x11"],, $X_LIBS)
++fi
+     DEVS="${GL_S_LIB} ${X11_LIB}" 
+     AC_SUBST(DEVS)
+     AC_SUBST(COMPILABLE_EXTRAS)
This page took 0.111045 seconds and 4 git commands to generate.