summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-27 01:22:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-03-27 01:22:59 +0000
commit8d7a4231075eaf72244dbf0da82052f71a89be58 (patch)
treefe95fd54c53c5d0ee5084fd51c3eacfc858b85ff /configure
parent1e1e483f9199bb8745aa7a5613305bc9bd3294bf (diff)
Fixed a dumb -eq bug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@917 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 393943ef6..cc603917b 100755
--- a/configure
+++ b/configure
@@ -103,8 +103,8 @@ exists () { # because some shells don't have test -e
echo "#include <string.h>">.test.cpp
echo "#include <stdio.h>">>.test.cpp
echo "int main() { char a[10]; char b[10]; strlcpy(a,b,10); printf(\"%d\\n\",999); }" >>.test.cpp
-g++ -o .test .test.cpp
-HAS_STRLCPY=`./.test`
+g++ -o .test .test.cpp 2>&1
+HAS_STRLCPY=`./.test 2>&1`
rm -f .test.cpp .test
clear
@@ -408,6 +408,7 @@ echo -e "\033[0;37m"
echo "Writing cache file for future ./configures ..."
+COPY_CONF=0
if [ "$CONFIG_DIR" != "$ME/conf" ] ; then
COPY_CONF=1
fi