openafs/configure-libafs.in
Nathan Neulinger 838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00

26 lines
707 B
Plaintext

AC_INIT(Makefile.common)
AM_INIT_AUTOMAKE(openafs-libafs,devel)
AC_CONFIG_HEADER(config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
OPENAFS_CONFIGURE_COMMON
TOP_SRCDIR="${SRCDIR_PARENT}"
TOP_INCDIR="${SRCDIR_PARENT}/include"
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
if test "${DEST}x" = "x"; then
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
fi
# 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)
fi
AC_OUTPUT( \
Makefile \
config/Makefile.config \
config/Makefile.${AFS_SYSNAME} \
)