source: trunk/third/gcalctool/configure.in @ 21357

Revision 21357, 2.1 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21356, 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_INIT(configure.in)
4AM_INIT_AUTOMAKE(gcalctool, 4.4.22)
5AM_CONFIG_HEADER(config.h)
6AM_MAINTAINER_MODE
7
8AC_PROG_INTLTOOL
9
10AC_ISC_POSIX
11AC_PROG_CC
12AM_PROG_CC_STDC
13AC_HEADER_STDC
14
15pkg_modules="gtk+-2.0 >= 1.3.13"
16PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
17AC_SUBST(PACKAGE_CFLAGS)
18AC_SUBST(PACKAGE_LIBS)
19
20LIBGNOME_REQUIRED=2.0.0
21LIBGNOMEUI_REQUIRED=2.0.0
22
23PKG_CHECK_MODULES(GNOME_UTILS, libgnome-2.0 >= $LIBGNOME_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED)
24AC_SUBST(GNOME_UTILS_CFLAGS)
25AC_SUBST(GNOME_UTILS_LIBS)
26
27PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 1.1.9)
28AC_SUBST(GCONF_CFLAGS)
29AC_SUBST(GCONF_LIBS)
30
31dnl ********************
32dnl scrollkeeper checks
33dnl ********************
34
35AC_PATH_PROG(SCROLLKEEPER_CONFIG, scrollkeeper-config,no)
36if test x$SCROLLKEEPER_CONFIG = xno; then
37  AC_MSG_ERROR(Couldn't find scrollkeeper-config. Please install the scrollkeeper package)
38fi
39
40dnl *******************************
41dnl Internationalization
42dnl *******************************
43
44GETTEXT_PACKAGE=gcalctool
45AC_PREREQ(2.53)
46AC_SUBST(GETTEXT_PACKAGE)
47AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
48
49dnl Add the languages which your application supports here.
50AM_PROG_LIBTOOL
51ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es eu fa fi fr ga gu he hi hr hu id it ja ko lt mk ml mn ms nb nl no or pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tk uk vi zh_CN zh_TW"
52AM_GLIB_GNU_GETTEXT
53
54dnl Use -Wall if we have gcc.
55changequote(,)dnl
56if test "x$GCC" = "xyes"; then
57  case " $CFLAGS " in
58  *[\ \ ]-Wall[\ \      ]*) ;;
59  *) CFLAGS="$CFLAGS -Wall" ;;
60  esac
61fi
62changequote([,])dnl
63
64dnl Checking for gconftool-2
65AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
66
67if test "x$GCONFTOOL" = xno; then
68  AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
69fi
70
71AM_GCONF_SOURCE_2
72
73AC_OUTPUT([
74Makefile
75gcalctool/Makefile
76po/Makefile.in
77help/Makefile
78help/C/Makefile
79help/de/Makefile
80help/es/Makefile
81help/fr/Makefile
82help/it/Makefile
83help/ja/Makefile
84help/ko/Makefile
85help/sv/Makefile
86help/zh_CN/Makefile
87help/zh_HK/Makefile
88help/zh_TW/Makefile
89])
Note: See TracBrowser for help on using the repository browser.