]> git.pld-linux.org Git - packages/giflib4.git/blob - giflib-no_x11.patch
- proper struct object declaration
[packages/giflib4.git] / giflib-no_x11.patch
1 --- giflib-4.1.4/configure.ac~orig      2008-11-04 23:06:29.000000000 +0100
2 +++ giflib-4.1.4/configure.ac   2008-11-04 23:07:37.000000000 +0100
3 @@ -31,9 +31,12 @@
4                               AC_DEFINE(HAVE_LIBGL_S, [1], [Define if the gl_s library is installed (SGI GL library)])
5                   COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2iris"],, $X_LIBS)
6  
7 +    X11_LIB=""
8 +if test "x$with_x" != xno; then
9      AC_CHECK_LIB(X11, main, [X11_LIB="${X11_LIB} $X_LIBS ${X_EXTRA_LIBS} -lX11"
10                               AC_DEFINE(HAVE_LIBX11, [1], [Define if the X11 library is installed])
11                   COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2x11"],, $X_LIBS)
12 +fi
13      DEVS="${GL_S_LIB} ${X11_LIB}" 
14      AC_SUBST(DEVS)
15      AC_SUBST(COMPILABLE_EXTRAS)
This page took 0.076276 seconds and 3 git commands to generate.