aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-12-01 16:56:39 -0800
committerGravatar Carl Worth <cworth@cworth.org>2009-12-01 16:56:39 -0800
commite93520f1091ba67bfad317cfa9a75c4097e28db9 (patch)
tree7fde767d45c4fb79a9b303abcd8bf79f47c1ffa1 /configure
parent1466e249e741e3ef907e8c48c2861742b676e255 (diff)
configure: Move getlinetest.c down into config/have_getline.c.
This keeps configure-related clutter out of the main directory, and also gives a more direct correlation between the name of the test and the feature being tested for.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index bb1f0dbc..ef90a8ba 100755
--- a/configure
+++ b/configure
@@ -127,15 +127,15 @@ EOF
fi
printf "Checking for getline... "
-if ! gcc -o getlinetest getlinetest.c > /dev/null 2>&1
+if gcc -o config/have_getline config/have_getline.c > /dev/null 2>&1
then
- printf "No.\n"
- have_getline=0
-else
printf "Yes.\n"
have_getline=1
+else
+ printf "No (will use our own instead).\n"
+ have_getline=0
fi
-rm -f getlinetest
+rm -f config/have_getline
cat <<EOF