summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-22 21:33:10 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-22 21:33:10 -0800
commite1174f5ea6ff0a51738830e10a92819135a22b32 (patch)
tree1f0059bfc36238cd987b16e7da02588a7dfecc4b
parentd9f00cc8a2cb018377e7cd7ea44d35f7ce710f07 (diff)
downloadtxr-e1174f5ea6ff0a51738830e10a92819135a22b32.tar.gz
txr-e1174f5ea6ff0a51738830e10a92819135a22b32.tar.bz2
txr-e1174f5ea6ff0a51738830e10a92819135a22b32.zip
* configure: Fix environ test case for C++.
-rw-r--r--ChangeLog4
-rwxr-xr-xconfigure2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1bc94dcf..ad2864d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2011-11-22 Kaz Kylheku <kaz@kylheku.com>
+ * configure: Fix environ test case for C++.
+
+2011-11-22 Kaz Kylheku <kaz@kylheku.com>
+
* match.c (search_form): Bugfix: we must search to one character
position after the end of the line, otherwise we can never match
@(eol).
diff --git a/configure b/configure
index 405e6499..1c2ad994 100755
--- a/configure
+++ b/configure
@@ -881,6 +881,8 @@ fi
printf "Checking whether we have environ ... "
cat > conftest.c <<!
+#include <stdio.h>
+
int main(void)
{
extern char **environ;