mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
buildsys: cleanup libtool and autoconf initialization
- Use LT_INIT over AC_PROG_LIBTOOL, as the latter is a deprecated alias for the former. - Remove redundant macros which are called implicitly by LT_INIT. - Remove unneeded AC_PROG_CXX call (we don't use c++ anywhere) - Add AC_CONFIG_MACRO_DIR([m4]) -- not strictly necessary, but added for consistency with autogen.sh and Makefile.am ref: http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
parent
793eff3704
commit
5f77402577
@ -55,11 +55,13 @@ m4_define([pacman_version],
|
|||||||
AC_INIT([pacman], [pacman_version], [pacman-dev@archlinux.org])
|
AC_INIT([pacman], [pacman_version], [pacman-dev@archlinux.org])
|
||||||
AC_CONFIG_SRCDIR([config.h.in])
|
AC_CONFIG_SRCDIR([config.h.in])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
AC_CANONICAL_HOST
|
||||||
AM_INIT_AUTOMAKE([1.11])
|
AM_INIT_AUTOMAKE([1.11])
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
|
LT_INIT
|
||||||
LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision
|
LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision
|
||||||
LIB_VERSION_INFO="lib_current:lib_revision:lib_age"
|
LIB_VERSION_INFO="lib_current:lib_revision:lib_age"
|
||||||
|
|
||||||
@ -138,12 +140,7 @@ AC_SYS_LARGEFILE
|
|||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_AWK
|
AC_PROG_AWK
|
||||||
AC_PROG_CC_C99
|
AC_PROG_CC_C99
|
||||||
AC_PROG_CXX
|
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_PROG_LN_S
|
|
||||||
AC_PROG_MAKE_SET
|
|
||||||
AC_PROG_LIBTOOL
|
|
||||||
AC_PROG_RANLIB
|
|
||||||
AC_CHECK_PROGS([PYTHON], [python2.7 python2.6 python2.5 python2 python], [false])
|
AC_CHECK_PROGS([PYTHON], [python2.7 python2.6 python2.5 python2 python], [false])
|
||||||
AC_PATH_PROGS([BASH_SHELL], [bash bash4 bash3], [false])
|
AC_PATH_PROGS([BASH_SHELL], [bash bash4 bash3], [false])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user