openafs/configure-libafs.in
2002-09-25 23:14:52 +00:00

26 lines
693 B
Plaintext

AC_INIT(Makefile.common)
AM_INIT_AUTOMAKE(openafs-libafs,1.2.7)
AC_CONFIG_HEADER(config/afsconfig.h)
define(OPENAFS_CONFIGURE_LIBAFS)
AC_PROG_CC
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.${AFS_SYSNAME} \
)