mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 06:50:12 +00:00
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:
parent
441c00c430
commit
ec45ae6053
@ -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`
|
||||
|
@ -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 */])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user