1 AC_INIT(support/easy-vsnprintf.c)
3 AM_CONFIG_HEADER(config.h)
4 AM_INIT_AUTOMAKE(gnome-common, 1.2.1)
8 AM_CONDITIONAL(INSIDE_GNOME_COMMON, true)
10 AC_ARG_ENABLE(platform-gnome-2, [ --enable-platform-gnome-2 enable GNOME 2.x platform [default=no]],[platform_gnome_2="$enableval"],[platform_gnome_2=no])
11 if test "x$platform_gnome_2" != "xyes" ; then
15 AM_CONDITIONAL(PLATFORM_GNOME_2, test $platform_gnome_2 = yes)
17 AC_DEFUN([AC_FYI], [echo "FYI: " $1])
28 if test $platform_gnome_2 = yes; then
29 GNOME_INTERFACE_VERSION=2
30 AC_FYI(Enabling GNOME 2 Platform)
31 AC_PATH_PROG(PKG_CONFIG, pkg-config)
32 if ! test -x "$PKG_CONFIG" ; then
34 *** You need the latest pkg-config.
35 *** Get the latest version of pkg-config from
36 *** http://pkgconfig.sourceforce.net.])
41 GNOME_INTERFACE_VERSION=1
43 AC_SUBST(GNOME_INTERFACE_VERSION)
54 support/gnome-support-2.0.pc])