summaryrefslogtreecommitdiff
path: root/recipes/qwo/qwo-0.4/check_lib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qwo/qwo-0.4/check_lib.patch')
-rw-r--r--recipes/qwo/qwo-0.4/check_lib.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/qwo/qwo-0.4/check_lib.patch b/recipes/qwo/qwo-0.4/check_lib.patch
new file mode 100644
index 0000000000..c22ec20312
--- /dev/null
+++ b/recipes/qwo/qwo-0.4/check_lib.patch
@@ -0,0 +1,20 @@
+diff --git a/configure.ac b/configure.ac
+index 8a66f96..61063a9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -19,15 +19,7 @@ AC_CHECK_LIB(config, config_read)
+
+ dnl Check for imlib2 library
+
+-AC_PATH_PROG(IMLIB2_CONFIG, imlib2-config, no)
+-
+-if test "$IMLIB2_CONFIG" = "no" ; then
+- AC_MSG_ERROR([
+-*** Unable to find Imlib2 library.])
+-else
+- CFLAGS="$CFLAGS `$IMLIB2_CONFIG --cflags`"
+- LIBS="$LIBS `$IMLIB2_CONFIG --libs`"
+-fi
++AC_CHECK_LIB(Imlib2, imlib_create_image)
+
+ dnl Check for help2man