using alliance.m4 macro
This commit is contained in:
parent
a363d1675a
commit
b1ec989b80
|
@ -9,10 +9,6 @@ AC_SUBST(RING_MAJOR_VERSION)
|
||||||
AC_SUBST(RING_MINOR_VERSION)
|
AC_SUBST(RING_MINOR_VERSION)
|
||||||
AC_SUBST(RING_VERSION)
|
AC_SUBST(RING_VERSION)
|
||||||
|
|
||||||
# libtool versioning
|
|
||||||
LT_RELEASE=$RING_MAJOR_VERSION.$RING_MINOR_VERSION
|
|
||||||
AC_SUBST(LT_RELEASE)
|
|
||||||
|
|
||||||
# For automake.
|
# For automake.
|
||||||
VERSION=$RING_VERSION
|
VERSION=$RING_VERSION
|
||||||
PACKAGE=ring
|
PACKAGE=ring
|
||||||
|
@ -20,27 +16,17 @@ PACKAGE=ring
|
||||||
dnl Initialize automake stuff
|
dnl Initialize automake stuff
|
||||||
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
|
||||||
|
|
||||||
dnl Specify a configuration file
|
|
||||||
dnl AM_CONFIG_HEADER(config.h)
|
|
||||||
|
|
||||||
dnl Checks for programs.
|
dnl Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AM_PROG_LEX
|
AM_PROG_LEX
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
|
AC_PROG_RANLIB
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
||||||
changequote(,)dnl
|
|
||||||
INCLUDES=-I${ALLIANCE_TOP}/include
|
|
||||||
LDFLAGS=-L${ALLIANCE_TOP}/lib
|
|
||||||
changequote([,])dnl
|
|
||||||
|
|
||||||
AC_SUBST(INCLUDES)
|
|
||||||
AC_SUBST(LDFLAGS)
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
|
|
||||||
dnl Checks for library functions.
|
AM_ALLIANCE
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
|
|
Loading…
Reference in New Issue