aboutsummaryrefslogtreecommitdiff
path: root/ports/cgicc/fix-define.patch
blob: 2c3f9bca137c6b8ccd9983eebefb6c8cb777e25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/cgicc/config.h.in b/cgicc/config.h.in
index 6870cc2..ee7b5b4 100644
--- a/cgicc/config.h.in
+++ b/cgicc/config.h.in
@@ -76,7 +76,7 @@
 #undef HAVE__BOOL
 
 /* The host system cgicc was configured for */
-#undef HOST
+#cmakedefine HOST "@HOST@"
 
 /* Define to the sub-directory where libtool stores uninstalled libraries. */
 #undef LT_OBJDIR
@@ -106,7 +106,7 @@
 #undef STDC_HEADERS
 
 /* Version number of package */
-#undef VERSION
+#cmakedefine VERSION "@VERSION@"
 
 /* Define to `__inline__' or `__inline' if that's what the C compiler
    calls it, or to nothing if 'inline' is not supported under any name.  */