projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a32305a
)
configure: Ensure that config.h can be safely included multiple times.
author
Carl Worth
<cworth@cworth.org>
Thu, 17 Jun 2010 22:25:07 +0000
(15:25 -0700)
committer
Carl Worth
<cworth@cworth.org>
Wed, 23 Jun 2010 23:13:31 +0000
(16:13 -0700)
Use AH_TOP and AH_BOTTOM macros so that the standard include guard
mechanisms are emitted by autoheader into the generated config.h file.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
74dd661
..
73ce67d
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-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],