From 9e0001d31525e4b4301a5408660f41db4ad3c3b2 Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 18 Jan 2007 00:16:26 +0000 Subject: [PATCH] pasto, and add more comments --- Build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Build.sh b/Build.sh index 5e68179..feea002 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $MirOS: src/bin/mksh/Build.sh,v 1.137 2007/01/18 00:10:16 tg Exp $ +# $MirOS: src/bin/mksh/Build.sh,v 1.138 2007/01/18 00:16:26 tg Exp $ #- # Env: CC, CFLAGS, CPP, CPPFLAGS, LDFLAGS, LIBS, NOWARN, NROFF, TARGET_OS # CPPFLAGS recognised: MKSH_SMALL MKSH_NOPWNAM @@ -320,6 +320,7 @@ ac_test rlim_t <<-'EOF' int main(void) { return ((int)(rlim_t)0); } EOF +# only testn: added later below ac_testn sig_t <<-'EOF' #include #include @@ -341,7 +342,7 @@ ac_testn __sighandler_t '!' sig_t 0 <<-'EOF' #include int main(void) { return ((int)(__sighandler_t)0); } EOF -if test 1 = $HAVE_SIGHANDLER_T; then +if test 1 = $HAVE___SIGHANDLER_T; then CPPFLAGS="$CPPFLAGS -Dsig_t=__sighandler_t" HAVE_SIG_T=1 fi @@ -374,6 +375,7 @@ else NEED_MKSH_SIGNAME=0 fi +# only testn: added later below ac_testn sys_siglist '' 'the sys_siglist[] array' <<-'EOF' extern const char *const sys_siglist[]; int main(void) { return (sys_siglist[0][0]); }