diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2014-01-03 08:10:48 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-01-03 08:10:48 +0000 |
commit | 12bf8a8fcd1dc244c254982977a2f16a09fb9817 (patch) | |
tree | 0288c7017471598d16226788450c9bf69ccc66c4 /configure | |
parent | Merge branch 'bug/doc-ascii' (diff) | |
parent | Use pkg-config to build with imlib2 1.4.6 (diff) | |
download | w3m-12bf8a8fcd1dc244c254982977a2f16a09fb9817.tar.gz w3m-12bf8a8fcd1dc244c254982977a2f16a09fb9817.zip |
Merge branch 'bug/imlib2-config'
Diffstat (limited to '')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -6811,6 +6811,9 @@ $as_echo "$with_imagelib" >&6; } fi;; imlib2) with_imlib2="yes" + if test x"$PKG_CONFIG" = x; then + PKG_CONFIG=pkg-config + fi if test x"$IMLIB2_CONFIG" = x; then IMLIB2_CONFIG=imlib2-config fi;; @@ -6955,7 +6958,7 @@ $as_echo "$as_me: WARNING: Imlib2 is not installed. Install Imlib2 (version >= $as_echo "#define USE_IMLIB2 1" >>confdefs.h IMGX11CFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGX11LDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGX11LDFLAGS="-lX11 `${PKG_CONFIG} --libs imlib2`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with X11 support" >&5 $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;} @@ -6991,7 +6994,7 @@ $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with X11 support" >&2;} IMGOBJS="$IMGOBJS fb/fb_w3mimg.o fb/fb.o fb/fb_img.o" IMGFBCFLAGS="`${IMLIB2_CONFIG} --cflags`" - IMGFBLDFLAGS="`${IMLIB2_CONFIG} --libs`" + IMGFBLDFLAGS="`${PKG_CONFIG} --libs imlib2`" else { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unable to build w3mimgdisplay with FB support" >&5 $as_echo "$as_me: WARNING: unable to build w3mimgdisplay with FB support" >&2;} |