summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-03-11 16:44:59 +0000
committerRoy Marples <roy@marples.name>2016-03-11 16:44:59 +0000
commit932aed3cf263491fc53f8fb74dae66cb213b91d7 (patch)
tree7001df2606aea1c0627bd0e56388caf267df69f1 /configure
parent29aea02981889b58eb175063a1622f77788fadd4 (diff)
downloaddhcpcd-932aed3cf263491fc53f8fb74dae66cb213b91d7.tar.xz
Fix configure tests
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 20ef6e5b..867b05e7 100755
--- a/configure
+++ b/configure
@@ -689,7 +689,8 @@ if [ -z "$STRTOI" ]; then
#include <inttypes.h>
int main(void) {
int e;
- return strtoi("1234", NULL, 0, 0, INT32_MAX, &e);
+ strtoi("1234", NULL, 0, 0, INT32_MAX, &e);
+ return 0;
}
EOF
if $XCC _strtoi.c -o _strtoi 2>&3; then
@@ -977,6 +978,7 @@ if [ -z "$BE64ENC" ]; then
#include <stdlib.h>
int main(void) {
be64enc(NULL, 0);
+ return 0;
}
EOF
if $XCC _be64enc.c -o _be64enc 2>&3; then