1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00

(pkg_major): New M4 macro.

(pkg_minor): Likewise.
(pkg_extra): Likewise.
(pkg_maintainer): Likewise.
(mkvers): Likewise.
(AC_INIT): Use them to form package-version and maintainer strings.
(PKG_MAJOR): New shell variable.
(PKG_MINOR): Likewise.
(PKG_EXTRA): Likewise.
(PKG_MAINTAINER): Likewise.
(AC_CONFIG_FILES): Mention include/libunwind-common.h.

(Logical change 1.261)
This commit is contained in:
mostang.com!davidm 2004-09-08 17:36:28 +00:00
parent 88a3e7efcd
commit 6cd917c633

View file

@ -1,5 +1,10 @@
define(pkg_major, 0)
define(pkg_minor, 98)
define(pkg_extra, -alpha)
define(pkg_maintainer, libunwind@linux.hpl.hp.com)
define(mkvers, $1.$2$3)
dnl Process this file with autoconf to produce a configure script.
AC_INIT(libunwind, 0.98-alpha, libunwind@linux.hpl.hp.com)
AC_INIT(libunwind, mkvers(pkg_major, pkg_minor, pkg_extra), pkg_maintainer)
AC_CONFIG_SRCDIR(src/mi/backtrace.c)
AC_CONFIG_AUX_DIR(config)
AC_CANONICAL_SYSTEM
@ -104,12 +109,22 @@ CCASFLAGS="${CCASFLAGS} ${CPPFLAGS}"
arch="$target_arch"
ARCH=`echo $target_arch | tr [a-z] [A-Z]`
dnl create shell variables from the M4 macros:
PKG_MAJOR=pkg_major
PKG_MINOR=pkg_minor
PKG_EXTRA=pkg_extra
PKG_MAINTAINER=pkg_maintainer
AC_SUBST(build_arch)
AC_SUBST(target_os)
AC_SUBST(arch)
AC_SUBST(ARCH)
AC_SUBST(LDFLAGS_STATIC_LIBCXA)
AC_SUBST(PKG_MAJOR)
AC_SUBST(PKG_MINOR)
AC_SUBST(PKG_EXTRA)
AC_SUBST(PKG_MAINTAINER)
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh
doc/Makefile doc/common.tex)
doc/Makefile doc/common.tex include/libunwind-common.h)
AC_OUTPUT