Build: Rework git version detection
[openafs.git] / configure-libafs.in
1 AC_PRERQ([2.60])
2 AC_INIT([OpenAFS], m4_esyscmd([build-tools/git-version .]))
3 AC_CONFIG_SRCDIR(src/libafs/Makefile.common.in)
4 AM_INIT_AUTOMAKE
5
6 AC_CONFIG_HEADER(src/config/afsconfig.h)
7 MACOS_VERSION=1.5.74f1
8 LINUX_PKGVER=1.5.74.1
9 #LINUX_PKGREL=0.pre3
10 LINUX_PKGREL=1.1
11
12 AC_SUBST(MACOS_VERSION)
13 AC_SUBST(LINUX_PKGVER)
14 AC_SUBST(LINUX_PKGREL)
15
16 AC_PROG_CC
17 OPENAFS_CONFIGURE_COMMON
18
19 AC_OUTPUT(             \
20 Makefile               \
21 src/config/Makefile    \
22 src/config/Makefile.config \
23 src/config/Makefile.version-CML \
24 src/config/Makefile.version-NOCML \
25 src/libafs/Makefile.common \
26 src/libafs/MakefileProto \
27 )