* configure.in: Modernize calls to AC_INIT, AM_INIT_AUTOMAKE and
AC_OUTPUT. Require Autoconf >= 2.57 and Automake >= 1.6.3. Remove many superfluous AC_SUBSTs. svn: r1984
This commit is contained in:
parent
9cc4ef8db9
commit
27611d6366
@ -1,7 +1,10 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl May need to run automake && aclocal first
|
dnl May need to run automake && aclocal first
|
||||||
AC_INIT(src/gramps.py)
|
|
||||||
AM_INIT_AUTOMAKE(gramps, 0.9.3)
|
AC_PREREQ(2.57)
|
||||||
|
AC_INIT(gramps, 0.9.3, gramps-bugs@lists.sourceforge.net)
|
||||||
|
AC_CONFIG_SRCDIR(src/gramps.py)
|
||||||
|
AM_INIT_AUTOMAKE(1.6.3)
|
||||||
RELEASE=0.CVS$(date +%G%m%d)
|
RELEASE=0.CVS$(date +%G%m%d)
|
||||||
|
|
||||||
VERSIONSTRING=$VERSION
|
VERSIONSTRING=$VERSION
|
||||||
@ -10,13 +13,10 @@ then
|
|||||||
VERSIONSTRING="$VERSION-$RELEASE"
|
VERSIONSTRING="$VERSION-$RELEASE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(PACKAGE)
|
|
||||||
AC_SUBST(VERSION)
|
|
||||||
AC_SUBST(RELEASE)
|
AC_SUBST(RELEASE)
|
||||||
AC_SUBST(VERSIONSTRING)
|
AC_SUBST(VERSIONSTRING)
|
||||||
|
|
||||||
AC_PATH_PROG(MSGFMT, msgfmt)
|
AC_PATH_PROG(MSGFMT, msgfmt)
|
||||||
AC_SUBST(MSGFMT)
|
|
||||||
|
|
||||||
LANGUAGES="cs da_DK de es fr it nl pl pt_BR ro ru sv"
|
LANGUAGES="cs da_DK de es fr it nl pl pt_BR ro ru sv"
|
||||||
AC_SUBST(LANGUAGES)
|
AC_SUBST(LANGUAGES)
|
||||||
@ -53,9 +53,6 @@ fi
|
|||||||
|
|
||||||
AC_PATH_PROG(ZIP, zip)
|
AC_PATH_PROG(ZIP, zip)
|
||||||
|
|
||||||
AC_PROG_INSTALL
|
|
||||||
AC_PROG_MAKE_SET
|
|
||||||
|
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
|
||||||
AC_CHECK_HEADER(libintl.h)
|
AC_CHECK_HEADER(libintl.h)
|
||||||
@ -249,24 +246,15 @@ dnl ======================================================
|
|||||||
SCROLLKEEPER_BUILD_REQUIRED=0.3.5
|
SCROLLKEEPER_BUILD_REQUIRED=0.3.5
|
||||||
AC_SUBST(SCROLLKEEPER_BUILD_REQUIRED)
|
AC_SUBST(SCROLLKEEPER_BUILD_REQUIRED)
|
||||||
|
|
||||||
AC_SUBST(BINSH)
|
|
||||||
AC_SUBST(SWIG)
|
|
||||||
AC_SUBST(PYTHON)
|
|
||||||
AC_SUBST(PYTHON_VERSION)
|
|
||||||
AC_SUBST(GNOMEHELP)
|
AC_SUBST(GNOMEHELP)
|
||||||
AC_SUBST(LIBS)
|
|
||||||
AC_SUBST(GPREFIX)
|
AC_SUBST(GPREFIX)
|
||||||
|
|
||||||
AC_SUBST(P15_INCLUDES)
|
|
||||||
AC_SUBST(P20_INCLUDES)
|
|
||||||
AC_SUBST(P21_INCLUDES)
|
|
||||||
AC_SUBST(P22_INCLUDES)
|
AC_SUBST(P22_INCLUDES)
|
||||||
AC_SUBST(GNOMEINC)
|
AC_SUBST(GNOMEINC)
|
||||||
AC_SUBST(GNOMELIB)
|
AC_SUBST(GNOMELIB)
|
||||||
AC_SUBST(GPREF)
|
|
||||||
AC_SUBST(INTLLIBS)
|
AC_SUBST(INTLLIBS)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/const.py
|
src/const.py
|
||||||
@ -284,3 +272,4 @@ example/Makefile
|
|||||||
example/gramps/Makefile
|
example/gramps/Makefile
|
||||||
gramps.spec
|
gramps.spec
|
||||||
gramps.sh])
|
gramps.sh])
|
||||||
|
AC_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user