aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2013-10-15 11:45:24 +0000
committerTatsuya Kinoshita <tats@debian.org>2013-10-15 11:45:24 +0000
commit6b88d0ccfccdea54807bd63a1609167f57e3e880 (patch)
tree6a07113484c3031a17a545dcee20f5acaf9ecad7 /configure
parentRevert "Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5" (diff)
downloadw3m-6b88d0ccfccdea54807bd63a1609167f57e3e880.tar.gz
w3m-6b88d0ccfccdea54807bd63a1609167f57e3e880.zip
Explicitly add -lX11 to IMGX11LDFLAGS only when gtk2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 4c1bc06..30edf21 100755
--- a/configure
+++ b/configure
@@ -6927,7 +6927,7 @@ $as_echo "$as_me: WARNING: Imlib2 is not installed. Install Imlib2 (version >=
$as_echo "#define USE_GTK2 1" >>confdefs.h
IMGX11CFLAGS="`${PKG_CONFIG} --cflags gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`"
- IMGX11LDFLAGS="`${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`"
+ IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 gtk+-2.0`"
elif test x"$have_gdkpixbuf" = xyes; then
$as_echo "#define USE_W3MIMG_X11 1" >>confdefs.h