configure.ac: Add missing double include guard

This is primarily a sanity check (identified by clang-tidy).

Change-Id: I92d05fdfed0e32c0e39cc2f8ce412b613c0a38fc
Reviewed-on: https://gerrit.openafs.org/13333
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
Pat Riehecky 2018-09-19 15:51:00 -05:00 committed by Benjamin Kaduk
parent 441c00c430
commit ec45ae6053
2 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,7 @@ dnl NB: Because this code is a macro, references to positional shell
dnl parameters must be done like $[]1 instead of $1
AC_DEFUN([OPENAFS_CONFIGURE_COMMON],[
OPENAFS_AUTOHEADER_TOP
OPENAFS_AUTOHEADER_BOTTOM
AC_CANONICAL_HOST
SRCDIR_PARENT=`pwd`

View File

@ -1,3 +1,8 @@
AC_DEFUN([OPENAFS_AUTOHEADER_TOP],[
AH_TOP([
#ifndef __AFSCONFIG_H
#define __AFSCONFIG_H 1])
])
AC_DEFUN([OPENAFS_AUTOHEADER_BOTTOM],[
AH_BOTTOM([
#undef HAVE_RES_SEARCH
@ -57,5 +62,6 @@ AC_DEFUN([OPENAFS_AUTOHEADER_BOTTOM],[
#undef ENABLE_REDHAT_BUILDSYS
#if defined(ENABLE_REDHAT_BUILDSYS) && defined(KERNEL) && defined(REDHAT_FIX)
# include "redhat-fix.h"
#endif])
#endif
#endif /* __AFSCONFIG_H */])
])