Fix autotools

This commit is contained in:
Alexander Kojevnikov 2011-02-18 17:54:24 +08:00
parent 00e7e82866
commit b9f65718ea
3 changed files with 6 additions and 7 deletions

View File

@ -2,9 +2,9 @@
# Run this to generate all the initial makefiles, etc.
test -n "$srcdir" || srcdir=$(dirname "$0")
test -n "$srcdir" || srcdit=.
test -n "$srcdir" || srcdir=.
(
cd "$srcdir" &&
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv -Wall
) || exit
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"

View File

@ -1,6 +1,6 @@
# configure.ac
AC_INIT([spek], [0.6])
AC_INIT([spek],[0.6])
AC_CONFIG_SRCDIR([src/spek.vala])
AC_CONFIG_HEADERS([config.h])
@ -22,7 +22,7 @@ AC_PROG_CC
AC_PROG_CC_STDC
AM_PROG_VALAC([0.7.0])
AC_PROG_INSTALL
AC_PROG_INTLTOOL([0.35])
IT_PROG_INTLTOOL([0.35])
pkg_modules="gtk+-2.0 >= 2.18.0 libavformat libavcodec >= 52.56.0 libavutil"
PKG_CHECK_MODULES(SPEK, [$pkg_modules])
@ -47,8 +47,7 @@ fi
GETTEXT_PACKAGE=spek
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
AC_SUBST(GETTEXT_PACKAGE)
AM_GLIB_GNU_GETTEXT
AM_GNU_GETTEXT_VERSION([1.11])
AM_GLIB_GNU_GETTEXT
AC_CONFIG_FILES([

View File

@ -14,6 +14,6 @@ namespace Config {
public const string PKGDATADIR; /* /usr/local/share/spek */
public const string PKGLIBDIR; /* /usr/local/lib/spek */
/* linux*, mingw*, or darwin* */
/* freebsd*, linux*, mingw*, darwin*, etc. */
public const string HOST_OS;
}