source: trunk/third/gtk-engines/configure.in @ 18286

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