2001-08-29 20:17:19 +00:00
|
|
|
AC_INIT(Makefile.common)
|
|
|
|
AM_INIT_AUTOMAKE(openafs-libafs,devel)
|
2001-09-12 06:00:46 +00:00
|
|
|
AC_CONFIG_HEADER(config/afsconfig.h)
|
2001-10-09 15:48:25 +00:00
|
|
|
define(OPENAFS_CONFIGURE_LIBAFS)
|
2001-08-29 20:17:19 +00:00
|
|
|
|
2002-02-16 18:23:44 +00:00
|
|
|
AC_PROG_CC
|
2001-10-09 15:48:25 +00:00
|
|
|
OPENAFS_CONFIGURE_COMMON
|
2001-08-29 20:17:19 +00:00
|
|
|
|
2001-09-11 05:00:29 +00:00
|
|
|
TOP_SRCDIR="${SRCDIR_PARENT}"
|
2001-09-10 21:50:43 +00:00
|
|
|
TOP_INCDIR="${SRCDIR_PARENT}/include"
|
|
|
|
TOP_LIBDIR="${SRCDIR_PARENT}/lib"
|
2001-10-09 15:48:25 +00:00
|
|
|
if test "${DEST}x" = "x"; then
|
|
|
|
DEST="${SRCDIR_PARENT}/${AFS_SYSNAME}/dest"
|
2001-09-10 21:50:43 +00:00
|
|
|
fi
|
2001-08-29 20:17:19 +00:00
|
|
|
|
2001-10-11 18:39:36 +00: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)
|
|
|
|
fi
|
|
|
|
|
2001-08-29 20:17:19 +00:00
|
|
|
AC_OUTPUT( \
|
|
|
|
Makefile \
|
2001-11-01 04:59:26 +00:00
|
|
|
config/Makefile.config \
|
2001-08-29 20:17:19 +00:00
|
|
|
config/Makefile.${AFS_SYSNAME} \
|
|
|
|
)
|