configure: Ensure that config.h can be safely included multiple times.

Use AH_TOP and AH_BOTTOM macros so that the standard include guard
mechanisms are emitted by autoheader into the generated config.h file.
This commit is contained in:
Carl Worth
2010-06-17 15:25:07 -07:00
parent a32305a8bd
commit 60c67e46b1
+4
View File
@@ -30,6 +30,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Checks for library functions.
AC_HEADER_STDC
AH_TOP([#ifndef GLSL_CONFIG_H
#define GLSL_CONFIG_H])
AH_BOTTOM([#endif /* GLSL_CONFIG_H */])
PKG_CHECK_MODULES([talloc], [talloc >= 2.0])
AC_ARG_ENABLE([debug],