2013-09-17 07:01:21 +00:00
AC_INIT([Astrognome], [0.1], [gergely@polonkai.eu], [astrognome])
2013-07-17 15:02:53 +00:00
AC_CONFIG_HEADERS([config.h])
2013-08-21 23:44:01 +00:00
AM_INIT_AUTOMAKE([-Wall foreign])
2013-07-17 15:02:53 +00:00
AM_SILENT_RULES([yes])
2013-09-21 16:54:59 +00:00
AC_CONFIG_MACRO_DIR([m4])
2013-07-08 23:15:13 +00:00
AC_PROG_CC
2013-07-14 12:40:26 +00:00
AM_PROG_CC_C_O
2013-07-08 23:15:13 +00:00
AM_PROG_AR
2013-07-08 23:31:39 +00:00
AC_PROG_LIBTOOL
2014-07-13 20:44:15 +00:00
AC_SEARCH_LIBS([fabs], [m], [], [
AC_MSG_ERROR([Unable to find the fabs() function])
])
2013-09-06 14:22:16 +00:00
AC_PATH_PROGS(PERL, [perl5 perl])
2013-09-09 20:56:09 +00:00
AC_PATH_PROGS(WGET, [wget])
AC_PATH_PROGS(CURL, [curl])
AC_PATH_PROGS(UNZIP, [unzip])
2013-09-06 14:22:16 +00:00
have_geonames_perl_modules=no
AX_PROG_PERL_MODULES([XML::Writer IO::File], [have_geonames_perl_modules=yes], AC_MSG_WARN([XML::Writer and IO::File perl modules are required if you want to regenerate geodata.xml!]))
AC_SUBST([have_geonames_perl_modules])
2013-07-17 15:02:03 +00:00
IT_PROG_INTLTOOL([0.35.0])
2013-08-21 22:48:00 +00:00
GETTEXT_PACKAGE=astrognome
2013-07-17 15:02:03 +00:00
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT package name])
2014-07-08 19:12:28 +00:00
AM_GLIB_GNU_GETTEXT
2013-07-17 15:02:53 +00:00
LT_INIT
2013-09-11 09:02:33 +00:00
YELP_HELP_INIT
2013-08-25 23:50:32 +00:00
GTK_DOC_CHECK([1.19], [--flavour no-tmpl])
2013-07-08 23:15:13 +00:00
PKG_PROG_PKG_CONFIG
2013-09-21 12:03:23 +00:00
GLIB_GSETTINGS
2013-09-01 11:52:18 +00:00
AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
2014-06-29 14:53:52 +00:00
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.38])
2013-09-01 11:52:18 +00:00
PKG_CHECK_MODULES([GOBJECT], [gobject-2.0])
2013-09-12 20:39:12 +00:00
PKG_CHECK_MODULES([GTK], [gtk+-3.0 >= 3.8])
2013-09-17 16:32:56 +00:00
PKG_CHECK_MODULES([LIBXML], [libxml-2.0])
2013-09-19 15:26:32 +00:00
PKG_CHECK_MODULES([LIBXSLT], [libexslt])
2014-07-08 19:04:45 +00:00
PKG_CHECK_MODULES([WEBKIT], [webkit2gtk-3.0])
2014-07-20 21:13:56 +00:00
PKG_CHECK_MODULES([GDA], [libgda-5.0 libgda-sqlite-5.0])
2014-07-16 22:17:38 +00:00
PKG_CHECK_MODULES([SWE_GLIB], [swe-glib >= 2.1.0])
2013-07-14 12:40:26 +00:00
2013-07-08 23:15:13 +00:00
AC_CONFIG_FILES([
2013-08-25 23:50:32 +00:00
Makefile
src/Makefile
2013-09-11 09:02:33 +00:00
help/Makefile
2013-08-25 23:50:32 +00:00
po/Makefile.in
2013-09-19 21:08:43 +00:00
data/Makefile
2013-09-21 20:33:23 +00:00
data/astrognome.desktop.in
2013-09-06 14:22:16 +00:00
data/geonames/Makefile
2013-09-09 11:51:40 +00:00
data/icons/Makefile
2013-07-08 23:15:13 +00:00
])
AC_OUTPUT