FBSD: in libafs, define LIBAFSNONFS
[openafs.git] / configure-libafs.ac
1 AC_PRERQ([2.60])
2 AC_INIT([OpenAFS], m4_esyscmd([build-tools/git-version .]))
3 AC_CONFIG_AUX_DIR([build-tools])
4 AC_CONFIG_SRCDIR(src/libafs/Makefile.common.in)
5 AM_INIT_AUTOMAKE
6
7 AC_CONFIG_HEADER(src/config/afsconfig.h)
8 MACOS_VERSION=1.5.76
9
10 AC_SUBST(MACOS_VERSION)
11
12 dnl If the user hasn't specified CFLAGS don't let configure pick -g -O2
13 AS_IF([test -z "$CFLAGS"], [CFLAGS=" "], [])
14 AC_PROG_CC
15
16 OPENAFS_CONFIGURE_COMMON
17
18 AC_OUTPUT(             \
19 Makefile               \
20 src/config/Makefile    \
21 src/config/Makefile.config \
22 src/config/Makefile.version-CML \
23 src/config/Makefile.version-NOCML \
24 src/libafs/Makefile.common \
25 src/libafs/MakefileProto \
26 )