Revision 18625,
1.0 KB
checked in by ghudson, 22 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r18624,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | AC_INIT(README) |
---|
2 | # Save this value here, since automake will set cflags later |
---|
3 | cflags_set=${CFLAGS+set} |
---|
4 | |
---|
5 | AM_INIT_AUTOMAKE(gtk-engines, 2.2.0) |
---|
6 | |
---|
7 | dnl Initialize maintainer mode |
---|
8 | AM_MAINTAINER_MODE |
---|
9 | |
---|
10 | ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
---|
11 | |
---|
12 | AC_PROG_CC |
---|
13 | AM_PROG_CC_STDC |
---|
14 | AC_PROG_INSTALL |
---|
15 | AC_PROG_MAKE_SET |
---|
16 | |
---|
17 | changequote(,)dnl |
---|
18 | if test "x$GCC" = "xyes"; then |
---|
19 | case " $CFLAGS " in |
---|
20 | *[\ \ ]-Wall[\ \ ]*) ;; |
---|
21 | *) CFLAGS="$CFLAGS -Wall" ;; |
---|
22 | esac |
---|
23 | fi |
---|
24 | changequote([,])dnl |
---|
25 | |
---|
26 | dnl Initialize libtool |
---|
27 | AM_DISABLE_STATIC |
---|
28 | AM_PROG_LIBTOOL |
---|
29 | |
---|
30 | PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 1.3.12,, |
---|
31 | AC_MSG_ERROR([GTK+-2.0 is required to compile gtk-engines])) |
---|
32 | |
---|
33 | GTK_VERSION=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0` |
---|
34 | AC_SUBST(GTK_CFLAGS) |
---|
35 | AC_SUBST(GTK_LIBS) |
---|
36 | AC_SUBST(GTK_VERSION) |
---|
37 | |
---|
38 | # Save ACLOCAL_FLAGS |
---|
39 | ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" |
---|
40 | |
---|
41 | AC_OUTPUT([ |
---|
42 | gtk-engines.spec |
---|
43 | Makefile |
---|
44 | metal/Makefile |
---|
45 | metal/Theme/Makefile |
---|
46 | metal/Theme/gtk-2.0/Makefile |
---|
47 | pixbuf/Makefile |
---|
48 | redmond95/Makefile |
---|
49 | redmond95/Theme/Makefile |
---|
50 | redmond95/Theme/gtk-2.0/Makefile |
---|
51 | gtk-engines-2.pc |
---|
52 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.