1feae90395
you attempt "int main(int argc, char *argv)" but clang does.
15 lines
381 B
Text
15 lines
381 B
Text
$NetBSD: patch-configure,v 1.1 2011/09/04 23:55:00 dholland Exp $
|
|
|
|
Use valid C in test programs.
|
|
|
|
--- configure~ 1997-03-03 03:45:05.000000000 +0000
|
|
+++ configure
|
|
@@ -600,7 +600,7 @@ CC="$CC $opt"
|
|
cat > conftest.c <<EOF
|
|
#include "confdefs.h"
|
|
|
|
-int main(int argc, char *argv) { void *ptr; exit(0); }
|
|
+int main(int argc, char **argv) { void *ptr; exit(0); }
|
|
|
|
EOF
|
|
eval $compile
|