From: Ken Raeburn Date: Thu, 11 Oct 2001 18:39:36 +0000 (+0000) Subject: check-for-makefile-fragments-for-systype-at-configure-time-20011011 X-Git-Tag: openafs-devel-1_3_0~212 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=99ba2ae4b6774d33cf26d132c0cdcedc8ea5bffd;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/configure-libafs.in b/configure-libafs.in index 9c2762e45..684e35f41 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 e7fe47424..6b94ae19e 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 \