summaryrefslogtreecommitdiffstats
path: root/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/configurehack.patch
blob: 35fe60596c6ab0e3b2c1e63d45287c6776a8c66f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Index: moblin-icon-theme-0.3/configure.ac
===================================================================
--- moblin-icon-theme-0.3.orig/configure.ac	2009-05-16 17:49:28.000000000 +0100
+++ moblin-icon-theme-0.3/configure.ac	2009-05-16 17:53:34.000000000 +0100
@@ -10,20 +10,9 @@
 
 UTILS_REQUIRED=0.8.7
 
-AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED])
-PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED,
-                 have_utils=yes, have_utils=no)
-if test "x$have_utils" = "xyes"; then
-   UTILS_PATH="`$PKG_CONFIG --variable=program_path icon-naming-utils`"
-   ICONMAP="$UTILS_PATH/icon-name-mapping"
-   AC_SUBST(ICONMAP)
-   AC_MSG_RESULT([yes])
-else
-   AC_MSG_RESULT([no])
-   AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build
-                 and install sato-icon-theme])
-fi
 
+AC_PATH_PROG(ICONMAP, icon-name-mapping, icon-name-mapping)
+AC_SUBST(ICONMAP)
 
 AC_CONFIG_FILES([
 Makefile