mirror of
https://github.com/alexkay/spek.git
synced 2025-06-07 02:43:24 +03:00
Fix autotools
This commit is contained in:
parent
00e7e82866
commit
b9f65718ea
@ -2,9 +2,9 @@
|
|||||||
# Run this to generate all the initial makefiles, etc.
|
# Run this to generate all the initial makefiles, etc.
|
||||||
|
|
||||||
test -n "$srcdir" || srcdir=$(dirname "$0")
|
test -n "$srcdir" || srcdir=$(dirname "$0")
|
||||||
test -n "$srcdir" || srcdit=.
|
test -n "$srcdir" || srcdir=.
|
||||||
(
|
(
|
||||||
cd "$srcdir" &&
|
cd "$srcdir" &&
|
||||||
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv
|
AUTOPOINT='intltoolize --automake --copy' autoreconf -fiv -Wall
|
||||||
) || exit
|
) || exit
|
||||||
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
|
test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@"
|
@ -1,6 +1,6 @@
|
|||||||
# configure.ac
|
# configure.ac
|
||||||
|
|
||||||
AC_INIT([spek], [0.6])
|
AC_INIT([spek],[0.6])
|
||||||
AC_CONFIG_SRCDIR([src/spek.vala])
|
AC_CONFIG_SRCDIR([src/spek.vala])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ AC_PROG_CC
|
|||||||
AC_PROG_CC_STDC
|
AC_PROG_CC_STDC
|
||||||
AM_PROG_VALAC([0.7.0])
|
AM_PROG_VALAC([0.7.0])
|
||||||
AC_PROG_INSTALL
|
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_modules="gtk+-2.0 >= 2.18.0 libavformat libavcodec >= 52.56.0 libavutil"
|
||||||
PKG_CHECK_MODULES(SPEK, [$pkg_modules])
|
PKG_CHECK_MODULES(SPEK, [$pkg_modules])
|
||||||
@ -47,8 +47,7 @@ fi
|
|||||||
GETTEXT_PACKAGE=spek
|
GETTEXT_PACKAGE=spek
|
||||||
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
|
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext Package])
|
||||||
AC_SUBST(GETTEXT_PACKAGE)
|
AC_SUBST(GETTEXT_PACKAGE)
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GNU_GETTEXT_VERSION([1.11])
|
||||||
|
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
|
@ -14,6 +14,6 @@ namespace Config {
|
|||||||
public const string PKGDATADIR; /* /usr/local/share/spek */
|
public const string PKGDATADIR; /* /usr/local/share/spek */
|
||||||
public const string PKGLIBDIR; /* /usr/local/lib/spek */
|
public const string PKGLIBDIR; /* /usr/local/lib/spek */
|
||||||
|
|
||||||
/* linux*, mingw*, or darwin* */
|
/* freebsd*, linux*, mingw*, darwin*, etc. */
|
||||||
public const string HOST_OS;
|
public const string HOST_OS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user