blob: d25f4fbd6e5e94972b2c5c8c652e0873a2cd49a3 (
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
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
|
# generated 2004/4/12 12:12:12 EDT by amp8165@localhost.(none)
# using glademm V2.0.0
AC_INIT(configure.in)
AM_INIT_AUTOMAKE(%{APPNAMELC}, %{VERSION})
AM_CONFIG_HEADER(config.h)
dnl Pick up the Gnome macros.
AM_ACLOCAL_INCLUDE(macros)
AM_MAINTAINER_MODE
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AC_PROG_CPP
AC_PROG_CXX
AC_PROG_CXXCPP
AM_PROG_LIBTOOL
# GNOME--:
# (These macros are in the 'macros' directory)
# GNOME_INIT sets the GNOME_CONFIG variable, among other things:
GNOME_INIT
GNOME_COMMON_INIT
GNOME_COMPILE_WARNINGS
dnl *************************************************
dnl gettext support
dnl *************************************************
GETTEXT_PACKAGE=gnome2mm
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
dnl Add the languages which your application supports here.
ALL_LINGUAS=""
AM_GLIB_GNU_GETTEXT
dnl Set PACKAGE_LOCALE_DIR in config.h.
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale")
else
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale")
fi
AC_LANG_CPLUSPLUS
AM_PATH_GNOMEMM(1.2.2,, AC_MSG_ERROR(Cannot find a matching GNOME-- library: Please install version 1.2.2 or newer))
# GNOME-CONFIG script knows about gnomemm:
# ('gnome-config' is installed by GNOME)
#GNOMEMM_CFLAGS="`$GNOME_CONFIG --cflags gnomemm gnomeui`"
#GNOMEMM_LIBS="`$GNOME_CONFIG --libs gnomemm gnomeui`"
#AC_SUBST(GNOMEMM_CFLAGS)
#AC_SUBST(GNOMEMM_LIBS)
AC_OUTPUT(Makefile src/Makefile)
|