aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJason Woodward2010-02-22 21:45:00 -0500
committerJason Woodward2010-02-22 21:59:31 -0500
commit733bcf5f308e8f42a57d6064388dbe0af0cd089b (patch)
treef346b200fa7c95b27c0840086544c242d6e22e3c /configure.in
parente77afc7c0b639e335bae8809f55a1037f7951e42 (diff)
downloadgslapt-733bcf5f308e8f42a57d6064388dbe0af0cd089b.tar.gz
build system updates
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/configure.in b/configure.in
index 0420d6e..20cccd4 100644
--- a/configure.in
+++ b/configure.in
@@ -1,10 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT
+AC_INIT([gslapt], [0.5.3], [woodwardj@jaos.org])
AC_CONFIG_SRCDIR([configure.in])
-AM_INIT_AUTOMAKE(gslapt, 0.5.3)
+AM_INIT_AUTOMAKE([-Wall foreign])
AM_CONFIG_HEADER(config.h)
-AM_MAINTAINER_MODE
+AC_CONFIG_SRCDIR([src/])
+IT_PROG_INTLTOOL([0.35.0])
AC_CANONICAL_HOST
@@ -41,21 +42,20 @@ AC_CHECK_LIB(gpgme,gpgme_new, [
], [AC_MSG_WARN(gpg support disabled)])
dnl AC_CHECK_MEMBER([slapt_rc_config.use_priority], [LIBS="$LIBS -lslapt"], [AC_MSG_ERROR([libslapt 0.10.2 or greater is required])], [[#include <slapt.h>]])
AC_CHECK_LIB(slapt,slapt_disk_space_check, [], [AC_MSG_ERROR(libslapt 0.10.2b or greater is required)])
-LIBS="$LIBS -lglib-2.0 -lgthread-2.0"
-
-pkg_modules="gtk+-2.0 >= 2.4.0"
-PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
-AC_SUBST(PACKAGE_CFLAGS)
-AC_SUBST(PACKAGE_LIBS)
+glib_modules="glib-2.0 gthread-2.0"
+PKG_CHECK_MODULES(GLIB, [$glib_modules])
+AC_SUBST(GLIB_CFLAGS)
+AC_SUBST(GLIB_LIBS)
+gtk_modules="gtk+-2.0 >= 2.4.0"
+PKG_CHECK_MODULES(GTK, [$gtk_modules])
+AC_SUBST(GTK_CFLAGS)
+AC_SUBST(GTK_LIBS)
GETTEXT_PACKAGE=gslapt
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
-
-dnl Add the languages which your application supports here.
-ALL_LINGUAS="bg de el en es fr gl_ES id it ja nl pl pt pt_BR ru sk sv tr uk vi zh_CN"
AM_GLIB_GNU_GETTEXT
AC_CONFIG_FILES([