openafs/configure-libafs.ac
Christof Hanke 2c32a3b294 out-of-tree-build: extend configuration,
namely libafsdep-files and configure-libafs.ac
so that building the kernel-module on linux in a separate
obj-directory works.

Reviewed-on: http://gerrit.openafs.org/8012
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit c2b1345849)

Change-Id: I85d3f9b998f45966af1fef65bd4748ad0c38ee99
Reviewed-on: http://gerrit.openafs.org/9933
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
2013-05-24 03:32:12 -07:00

28 lines
676 B
Plaintext

AC_PRERQ([2.60])
AC_INIT([OpenAFS], m4_esyscmd([build-tools/git-version .]))
AC_CONFIG_AUX_DIR([build-tools])
AC_CONFIG_SRCDIR(src/libafs/Makefile.common.in)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADER(src/config/afsconfig.h)
MACOS_VERSION=1.7.1
AC_SUBST(MACOS_VERSION)
dnl If the user hasn't specified CFLAGS don't let configure pick -g -O2
AS_IF([test -z "$CFLAGS"], [CFLAGS=" "], [])
AC_PROG_CC
OPENAFS_CONFIGURE_COMMON
AC_OUTPUT( \
Makefile \
src/config/Makefile \
src/config/Makefile.config \
src/config/Makefile.lwp \
src/config/Makefile.version-CML \
src/config/Makefile.version-NOCML \
src/libafs/Makefile.common \
src/libafs/MakefileProto \
)