2001-08-29 21:17:19 +01:00
|
|
|
AC_INIT(Makefile.common)
|
2003-04-11 00:36:01 +01:00
|
|
|
AM_INIT_AUTOMAKE(openafs-libafs,1.2.9)
|
2001-09-12 07:03:49 +01:00
|
|
|
AC_CONFIG_HEADER(config/afsconfig.h)
|
2001-10-13 06:36:14 +01:00
|
|
|
define(OPENAFS_CONFIGURE_LIBAFS)
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2002-08-21 21:54:26 +01:00
|
|
|
AC_PROG_CC
|
2001-10-13 06:36:14 +01:00
|
|
|
OPENAFS_CONFIGURE_COMMON
|
2001-08-29 21:17:19 +01:00
|
|
|
|
2001-09-11 06:00:29 +01:00
|
|
|
TOP_SRCDIR="${SRCDIR_PARENT}"
|
2001-09-10 22:50:43 +01:00
|
|
|
TOP_INCDIR="${SRCDIR_PARENT}/include"
|
|
|
|
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
|
2001-10-13 06:36:14 +01:00
|
|
|
if test "${DEST}x" = "x"; then
|
|
|
|
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
|
2001-09-10 22:50:43 +01:00
|
|
|
fi
|
|
|
|
|
2001-10-13 06:36:14 +01:00
|
|
|
# Check for files involved in porting. Report errors, don't make the
|
|
|
|
# user hunt through the configure log after the build fails!
|
|
|
|
if test ! -r config/Makefile.${AFS_SYSNAME}.in ; then
|
|
|
|
AC_MSG_ERROR(no source file config/Makefile.${AFS_SYSNAME}.in)
|
2001-08-29 21:17:19 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
|
|
|
config/Makefile.${AFS_SYSNAME} \
|
|
|
|
)
|