3 m4_define([package_name], [gmpc-awn])
5 m4_define([package_major_version], [0])
6 m4_define([package_minor_version], [20])
7 m4_define([package_micro_version], [95])
8 m4_define([package_version], [package_major_version.package_minor_version.package_micro_version])
10 AC_INIT([gmpc-awn], [0.20.95], [qball@sarine.nl])
11 AM_CONFIG_HEADER([config.h])
14 AC_DEFINE(MAJOR_VERSION, package_major_version, [Major version number.])
15 AC_DEFINE(MINOR_VERSION, package_minor_version, [Minor version number.])
16 AC_DEFINE(MICRO_VERSION, package_micro_version, [Micro version number.])
18 AC_PROG_INTLTOOL([0.21])
21 dnl please keep them in alphabetical order
24 GETTEXT_PACKAGE=package_name
25 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[gettext package name.])
28 if test "x${prefix}" = "xNONE"; then
29 PACKAGE_PREFIX="${ac_default_prefix}"
31 PACKAGE_PREFIX="${prefix}"
33 PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
34 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,"$PACKAGE_LOCALE_DIR",[The package's locale path for gettext])
41 PKG_CHECK_MODULES([gmpcawn],
47 AC_SUBST(gmpcawn_LIBS)
48 AC_SUBST(gmpcawn_CFLAGS)
50 AC_OUTPUT([Makefile src/Makefile po/Makefile.in])