From 99ba2ae4b6774d33cf26d132c0cdcedc8ea5bffd Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 11 Oct 2001 18:39:36 +0000 Subject: [PATCH] check-for-makefile-fragments-for-systype-at-configure-time-20011011 don't succeed configuring if we can't build for them ==================== This delta was composed from multiple commits as part of the CVS->Git migration. The checkin message with each commit was inconsistent. The following are the additional commit messages. ==================== don't look at the generated files --- configure-libafs.in | 6 ++++++ configure.in | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/configure-libafs.in b/configure-libafs.in index 9c2762e..684e35f 100644 --- a/configure-libafs.in +++ b/configure-libafs.in @@ -12,6 +12,12 @@ 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} \ diff --git a/configure.in b/configure.in index e7fe474..6b94ae1 100644 --- a/configure.in +++ b/configure.in @@ -11,6 +11,12 @@ 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 src/config/Makefile.${AFS_SYSNAME}.in ; then + AC_MSG_ERROR(no source file src/config/Makefile.${AFS_SYSNAME}.in) +fi + AC_OUTPUT( \ Makefile \ src/afs/Makefile \ -- 1.9.4