source: trunk/third/file-roller/configure.in @ 21345

Revision 21345, 3.0 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21344, which included commits to RCS files with non-trunk default branches.
Line 
1dnl Process this file with autoconf to produce a configure script.
2
3AC_PREREQ(2.52)
4 
5AC_INIT(file-roller, 2.8.4)
6AC_CONFIG_SRCDIR(src/main.c)
7AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
8AM_CONFIG_HEADER(config.h)
9
10AM_PROG_LIBTOOL
11
12dnl ==========================================================================
13dnl
14dnl If you add a version number here, you *must* add an AC_SUBST line for
15dnl it too, or it will never make it into the spec file!
16dnl
17dnl ==========================================================================
18
19GLIB_REQUIRED=2.0.0
20GTK_REQUIRED=2.1.0
21LIBGNOME_REQUIRED=2.1.0
22LIBGNOMEUI_REQUIRED=2.1.0
23GNOME_VFS_REQUIRED=2.1.3
24LIBGLADE_REQUIRED=2.0.0
25BONOBO_ACTIVATION_REQUIRED=1.0.0
26LIBBONOBO_REQUIRED=2.0.0
27LIBBONOBOUI_REQUIRED=2.0.0
28
29AC_SUBST(GLIB_REQUIRED)
30AC_SUBST(GTK_REQUIRED)
31AC_SUBST(LIBGNOME_REQUIRED)
32AC_SUBST(LIBGNOMEUI_REQUIRED)
33AC_SUBST(GNOME_VFS_REQUIRED)
34AC_SUBST(LIBGLADE_REQUIRED)
35AC_SUBST(BONOBO_ACTIVATION_REQUIRED)
36AC_SUBST(LIBBONOBO_REQUIRED)
37AC_SUBST(LIBBONOBOUI_REQUIRED)
38
39dnl ===========================================================================
40
41PKG_CHECK_MODULES(FR,           \
42        glib-2.0                \
43        gthread-2.0             \
44        gtk+-2.0                \
45        libgnome-2.0            \
46        libgnomeui-2.0          \
47        gnome-vfs-2.0           \
48        gnome-vfs-module-2.0    \
49        libglade-2.0            \
50        bonobo-activation-2.0)
51AC_SUBST(FR_CFLAGS)
52AC_SUBST(FR_LIBS)
53
54AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
55
56dnl ******************************
57
58ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gu he hi hr hu id is it ja kn ko lt lv mk ml mn ms nb ne nl nn no pa pl pt pt_BR ro ru sk sl sq sr sr@ije sr@Latn sv ta th tk tr uk vi zh_CN zh_TW"
59
60GETTEXT_PACKAGE=file-roller
61AC_SUBST(GETTEXT_PACKAGE)
62AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package])
63
64AM_GLIB_GNU_GETTEXT
65AC_PROG_INTLTOOL
66
67if test "x${prefix}" = "xNONE"; then
68  AC_DEFINE_UNQUOTED(LOCALEDIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [Locale dir])
69else
70  AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/${DATADIRNAME}/locale", [Locale dir])
71fi
72
73dnl ******************************
74
75AC_ARG_ENABLE(deprecations,AC_HELP_STRING([--enable-deprecations],[warn about deprecated usages]))
76
77AM_CONDITIONAL(ENABLE_DEPRECATIONS, test "x$enable_deprecations" = xyes)
78
79dnl ******************************
80
81AC_ARG_ENABLE(schemas-install,AC_HELP_STRING([--disable-schemas-install],
82                                             [Disable installation of the gconf schemas]))
83
84AM_CONDITIONAL(SCHEMAS_INSTALL, test x$enable_schemas_install != xno)
85
86AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
87if test x"$GCONFTOOL" = xno; then
88        AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
89fi
90AM_GCONF_SOURCE_2
91
92dnl ******************************
93
94AC_OUTPUT([
95Makefile
96file-roller.spec
97src/Makefile
98src/icons/Makefile
99src/recent-files/Makefile
100component/Makefile
101po/Makefile.in
102help/Makefile
103help/C/Makefile
104help/de/Makefile
105help/es/Makefile
106help/fr/Makefile
107help/it/Makefile
108help/ja/Makefile
109help/ko/Makefile
110help/ru/Makefile
111help/sv/Makefile
112help/uk/Makefile
113help/zh_CN/Makefile
114help/zh_HK/Makefile
115help/zh_TW/Makefile
116])
Note: See TracBrowser for help on using the repository browser.