Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
autopoint --force &&
AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"
20 changes: 11 additions & 9 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

AC_INIT([Snrmga], [0.0.2], [[email protected]], [snrmga])
AC_INIT([Snrmga], [0.0.2], [[email protected]], [snrmga], [http://www.snrmga.org])
# This line initializes autoconf and tells it that our package is named
# "Snrmga", current version is "0.0.1", bugs can be reported to
# "[email protected]" and that tarball should be named snrmga.tar.gz
# "http://www.snrmga.org is the homepage of the project"

AC_PREREQ(2.63)
AC_PREREQ([2.64])
# This line simply sets required version of autoconf.

AC_CONFIG_SRCDIR([src/snrmga.c])
Expand All @@ -31,12 +32,11 @@ AC_CONFIG_HEADERS([config.h])
# This line instructs build system to create config.h header file instead of
# passing all macros on command line.

AM_INIT_AUTOMAKE([1.10])
# Initialize automake (we require 1.10 version here).
AM_INIT_AUTOMAKE([1.11])
# Initialize automake (we require 1.11 version here).

m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# This line turns on silent rules if they are supported (this needs
# automake-1.11).
AM_SILENT_RULES([yes])
# This line turns on silent rules.

AC_PROG_CC
# This line searches for C compiler and sets CC variable.
Expand All @@ -46,9 +46,11 @@ AM_PROG_CC_C_O
# will be explained in greater detail later when we come to Makefile.am).

IT_PROG_INTLTOOL([0.40])

AM_GNU_GETTEXT_VERSION([0.17])
AM_GNU_GETTEXT([external])

AC_SUBST([GETTEXT_PACKAGE], [snrmga])
AM_GNU_GETTEXT_VERSION([0.11])
AM_GLIB_GNU_GETTEXT
AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the package name.])
# These lines enable support for multiple languages in application. They
# initialize intltool and gettext (used to extract translatable strings) and
Expand Down