how many times can you botch a gettimeofday mirtoconf check?

This commit is contained in:
tg 2012-12-03 13:07:11 +00:00
parent 6e41c9c2ee
commit 2213c5887a

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.595 2012/12/01 14:22:09 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.596 2012/12/03 13:07:11 tg Exp $'
#- #-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 # 2011, 2012
@ -1481,7 +1481,7 @@ else
#define EXTERN #define EXTERN
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.595 2012/12/01 14:22:09 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.596 2012/12/03 13:07:11 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); } int main(void) { printf("Hello, World!\n"); return (0); }
EOF EOF
case $cm in case $cm in
@ -1578,7 +1578,7 @@ EOF
ac_test gettimeofday <<-'EOF' ac_test gettimeofday <<-'EOF'
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
int main(void) { struct timeval; return (gettimeofday(&tv, NULL)); } int main(void) { struct timeval tv; return (gettimeofday(&tv, NULL)); }
EOF EOF
ac_test killpg <<-'EOF' ac_test killpg <<-'EOF'