2010-06-26 17:39:20 +01:00
|
|
|
AC_PRERQ([2.60])
|
2013-06-22 17:17:04 +01:00
|
|
|
AC_INIT([OpenAFS],
|
|
|
|
m4_esyscmd([build-tools/git-version .]),
|
2013-06-22 17:28:01 +01:00
|
|
|
[openafs-bugs@openafs.org], [],
|
2013-06-22 17:17:04 +01:00
|
|
|
[http://www.openafs.org/])
|
2010-07-15 01:29:34 +01:00
|
|
|
AC_CONFIG_AUX_DIR([build-tools])
|
2013-06-22 17:28:01 +01:00
|
|
|
AC_CONFIG_SRCDIR([src/libafs/Makefile.common.in])
|
2013-06-22 17:20:22 +01:00
|
|
|
AM_INIT_AUTOMAKE([foreign])
|
2010-06-26 17:39:20 +01:00
|
|
|
|
2013-06-22 17:28:01 +01:00
|
|
|
AC_CONFIG_HEADER([src/config/afsconfig.h])
|
2010-08-12 05:33:58 +01:00
|
|
|
MACOS_VERSION=1.5.76
|
2007-10-11 18:51:56 +01:00
|
|
|
|
2013-06-22 17:28:01 +01:00
|
|
|
AC_SUBST([MACOS_VERSION])
|
2001-08-29 21:17:19 +01: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 16:48:25 +01:00
|
|
|
OPENAFS_CONFIGURE_COMMON
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2013-06-22 17:28:01 +01:00
|
|
|
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
|
|
|
|
])
|