blob: 862b74fad2e2b2900ac5de677a3ebbc7d56b1654 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Index: hsetroot-1.0.2/configure.ac
===================================================================
--- hsetroot-1.0.2.orig/configure.ac 2003-09-05 21:41:38.000000000 +0000
+++ hsetroot-1.0.2/configure.ac 2007-08-09 21:14:09.000000000 +0000
@@ -39,16 +39,7 @@
AC_C_CONST
# Check for imlib2
-AC_CHECK_PROGS(imlib2config_cmd, imlib2-config)
-if test x$imlib2config_cmd = "x"; then
- AC_MSG_ERROR([error. Imlib2 is required to compile.])
-fi
-
-IMLIB2_CFLAGS=`$imlib2config_cmd --cflags`
-AC_SUBST(IMLIB2_CFLAGS)
-
-IMLIB2_LIBS=`$imlib2config_cmd --libs`
-AC_SUBST(IMLIB2_LIBS)
+PKG_CHECK_MODULES(IMLIB2, imlib2)
# Some extra definitions for config.h
AC_DEFINE(DESCRIPTION, "yet another wallpaper application", [single line package description])
|