mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 17:16:44 +02:00
27 lines
915 B
Diff
27 lines
915 B
Diff
diff --git a/configure.in b/configure.in
|
|
index 7eac592..eb68ad2 100644
|
|
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -94,15 +94,15 @@ LIBS="$LIBS $Xext_lib"
|
|
|
|
dnl Imlib2 detection
|
|
|
|
-AC_PATH_GENERIC(imlib2, , [
|
|
- AC_SUBST(IMLIB_LIBS)
|
|
- AC_SUBST(IMLIB_CXXFLAGS) ],
|
|
- AC_MSG_ERROR(Cannot find imlib2: Is imlib2-config in the path?
|
|
- You need Imlib2 to build Idesk. Verify that you have Imlib2-dev))
|
|
+# AC_PATH_GENERIC(imlib2, , [
|
|
+# AC_SUBST(IMLIB_LIBS)
|
|
+# AC_SUBST(IMLIB_CXXFLAGS) ],
|
|
+# AC_MSG_ERROR(Cannot find imlib2: Is imlib2-config in the path?
|
|
+# You need Imlib2 to build Idesk. Verify that you have Imlib2-dev))
|
|
|
|
dnl the above doesn't work for some reason :/
|
|
-IMLIB_LIBS=`imlib2-config --libs`
|
|
-IMLIB_CFLAGS=`imlib2-config --cflags`
|
|
+IMLIB_LIBS=`pkg-config --libs imlib2`
|
|
+IMLIB_CFLAGS=`pkg-config --cflags imlib2`
|
|
AC_SUBST(IMLIB_LIBS)
|
|
AC_SUBST(IMLIB_CXXFLAGS)
|
|
|