File: configure.ac

package info (click to toggle)
metatheme-gilouche 11.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, sid, squeeze, stretch, wheezy
  • size: 2,216 kB
  • ctags: 66
  • sloc: sh: 9,768; xml: 421; makefile: 272
file content (78 lines) | stat: -rw-r--r-- 2,027 bytes parent folder | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)

AC_INIT(metatheme-gilouche, 11.1.2)
AC_CONFIG_SRCDIR(config.h.in)
AC_COPYRIGHT([Copyright 2002-2008 Novell, Inc.])

AM_INIT_AUTOMAKE([1.9 tar-ustar])
AM_CONFIG_HEADER(config.h)

AC_PROG_INSTALL

GETTEXT_PACKAGE=metatheme-gilouche
ALL_LINGUAS="cs"
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT

AC_PROG_INTLTOOL([0.34.1])


### Check for gtk-engines including Gilouche engine
PKG_CHECK_EXISTS(gtk-engines-2 >= 2.6.0,,
   AC_MSG_ERROR([gtk-engines >= 2.6.0 is required to use metatheme-gilouche]))

### Icon naming utils check
UTILS_REQUIRED=0.6.0

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 metatheme-gilouche])
fi

AC_SUBST(iconthemedir, ${datadir}/icons/Gilouche)
AC_SUBST(themedir, ${datadir}/themes/Gilouche)

AC_CONFIG_FILES([
Makefile
gtk-2.0/Makefile
icons/Makefile
icons/16x16/Makefile
icons/16x16/actions/Makefile
icons/16x16/places/Makefile
icons/16x16/status/Makefile
icons/22x22/Makefile
icons/22x22/actions/Makefile
icons/22x22/places/Makefile
icons/22x22/status/Makefile
icons/24x24/Makefile
icons/24x24/actions/Makefile
icons/24x24/places/Makefile
icons/24x24/status/Makefile
icons/32x32/Makefile
icons/32x32/actions/Makefile
icons/32x32/places/Makefile
icons/32x32/status/Makefile
icons/48x48/Makefile
icons/48x48/animations/Makefile
icons/48x48/actions/Makefile
icons/48x48/places/Makefile
icons/48x48/status/Makefile
icons/256x256/Makefile
icons/256x256/actions/Makefile
icons/256x256/places/Makefile
icons/256x256/status/Makefile
metacity-1/Makefile
po/Makefile.in
])

AC_OUTPUT