Develop and Download Open Source Software

Browse CVS Repository

Contents of /gticker/gticker/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Aug 15 07:07:32 2005 UTC (18 years, 7 months ago) by bluedwarf
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Trivial changes

1 AC_INIT(gticker, 0.1, bluedwarf@openoffice.org)
2 AM_INIT_AUTOMAKE
3 AC_CONFIG_SRCDIR([main.cxx])
4 AC_CONFIG_HEADER([config.h])
5
6 PACKAGE=gticker
7 VERSION=0.1
8
9 AC_PROG_MAKE_SET
10 AC_PROG_LIBTOOL
11
12 # Checks for programs.
13 AC_PROG_CXX
14 AC_PROG_INSTALL
15
16 # Checks for libraries.
17 PKG_CHECK_MODULES(GTK,gtk+-2.0,,AC_MSG_ERROR("Cannot find gtk+-2.0"))
18 PKG_CHECK_MODULES(XML,libxml-2.0,,AC_MSG_ERROR("Cannot find libxml-2.0"))
19 PKG_CHECK_MODULES(GCONF,gconf-2.0,,AC_MSG_ERROR("Cannot find gconf-2.0"))
20 CFLAGS="$CFLAGS $GTK_CFLAGS $XML_CFLAGS $GCONF_CFLAGS -Wall"
21 CXXFLAGS="$CFLAGS $GTK_CFLAGS $XML_CFLAGS $GCONF_CFLAGS -Wall"
22 LIBS="$LIBS $GTK_LIBS $XML_LIBS $GCONF_LIBS -Wall"
23
24 # Checks for gconftool-2
25 AC_PATH_PROG(GCONFTOOL, gconftool-2, no)
26
27 if test "x$GCONFTOOL" = xno; then
28 AC_MSG_ERROR([gconftool-2 executable not found in your path - should be installed with GConf])
29 fi
30
31 AM_GCONF_SOURCE_2
32
33 # Checks for header files.
34 AC_HEADER_DIRENT
35 AC_HEADER_STDC
36 AC_CHECK_HEADERS([libintl.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h unistd.h])
37
38 # Checks for typedefs, structures, and compiler characteristics.
39 AC_HEADER_STDBOOL
40 AC_C_CONST
41 AC_TYPE_SIZE_T
42
43 # Checks for gettext
44 ALL_LINGUAS="ja"
45 AM_GNU_GETTEXT
46 LDFLAGS="$LDFLAGS $INTLLIBS"
47 localedir='${prefix}/share/locale'
48 AC_SUBST(localedir)
49 AC_DEFINE(HAVE_CATGETS, 1,
50 Define as 1 if you have catgets and don't want to use GNU gettext.)
51 AC_DEFINE(HAVE_GETTEXT, 1,
52 Define as 1 if you have GNU gettext.)
53 AC_DEFINE(HAVE_LC_MESSAGES, 1,
54 Define as 1 if you have LC_MESSAGES.)
55 AC_DEFINE(HAVE_STPCPY, 1,
56 Define as 1 if you have stpcpy() function.)
57 AC_DEFINE(ENABLE_NLS, 1,
58 Define as 1 if you want to use NLS.)
59
60 # Checks for library functions.
61 AC_FUNC_CLOSEDIR_VOID
62 AC_CHECK_FUNCS([bzero gethostbyname setlocale socket])
63 AC_OUTPUT(Makefile src/Makefile mngwin/Makefile intl/Makefile po/Makefile.in)

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26