configure: remember to initialize 'strndup' to "no"
authorJens Axboe <axboe@kernel.dk>
Thu, 8 Jun 2017 15:58:40 +0000 (09:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Jun 2017 15:58:40 +0000 (09:58 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
configure

index 929b3569d627782506a981acaadb7e773284a0d1..afb88cacea2c5e7aeba13e8b53aedeb97668471b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1972,6 +1972,7 @@ print_config "bool" "$have_bool"
 
 ##########################################
 # Check whether we have strndup()
 
 ##########################################
 # Check whether we have strndup()
+strndup="no"
 cat > $TMPC << EOF
 #include <string.h>
 #include <stdlib.h>
 cat > $TMPC << EOF
 #include <string.h>
 #include <stdlib.h>