2010-06-26 17:39:20 +01:00
|
|
|
AC_PRERQ([2.60])
|
2010-06-29 21:45:36 +01:00
|
|
|
AC_INIT([OpenAFS], m4_esyscmd([build-tools/git-version .]))
|
2010-07-14 17:29:34 -07:00
|
|
|
AC_CONFIG_AUX_DIR([build-tools])
|
2010-06-26 17:39:20 +01:00
|
|
|
AC_CONFIG_SRCDIR(src/libafs/Makefile.common.in)
|
|
|
|
AM_INIT_AUTOMAKE
|
|
|
|
|
2002-10-16 04:58:13 +00:00
|
|
|
AC_CONFIG_HEADER(src/config/afsconfig.h)
|
2014-05-10 20:00:59 +02:00
|
|
|
MACOS_VERSION=1.6.8
|
2007-10-11 17:51:56 +00:00
|
|
|
|
|
|
|
AC_SUBST(MACOS_VERSION)
|
2001-08-29 20:17:19 +00:00
|
|
|
|
2010-10-04 13:45:53 +01:00
|
|
|
dnl If the user hasn't specified CFLAGS don't let configure pick -g -O2
|
|
|
|
AS_IF([test -z "$CFLAGS"], [CFLAGS=" "], [])
|
2002-02-16 18:23:44 +00:00
|
|
|
AC_PROG_CC
|
2010-10-04 13:45:53 +01:00
|
|
|
|
2001-10-09 15:48:25 +00:00
|
|
|
OPENAFS_CONFIGURE_COMMON
|
2001-08-29 20:17:19 +00:00
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
2010-05-24 22:03:49 -05:00
|
|
|
src/config/Makefile \
|
2002-10-16 04:58:13 +00:00
|
|
|
src/config/Makefile.config \
|
2010-05-24 22:03:49 -05:00
|
|
|
src/config/Makefile.version-CML \
|
|
|
|
src/config/Makefile.version-NOCML \
|
2002-10-16 04:58:13 +00:00
|
|
|
src/libafs/Makefile.common \
|
2010-05-24 22:03:49 -05:00
|
|
|
src/libafs/MakefileProto \
|
2001-08-29 20:17:19 +00:00
|
|
|
)
|