• OSF/1, PW32: speed up mirtoconf test for sig_t (which does not exist)

• OSF/1: need _XOPEN_SOURCE_EXTENDED for mknod(2) decl
This commit is contained in:
tg 2008-03-05 17:12:08 +00:00
parent 3d9bd0e1f0
commit f25151387d
1 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.282 2008/03/05 17:06:49 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.283 2008/03/05 17:12:08 tg Exp $'
#- #-
# Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS # Environment used: CC CFLAGS CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI # CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NOPWNAM MKSH_NOVI
@ -312,7 +312,8 @@ NetBSD)
OpenBSD) OpenBSD)
;; ;;
OSF1) OSF1)
HAVE_SIG_T=0; CPPFLAGS="$CPPFLAGS -Dsig_t=nosig_t" HAVE_SIG_T=0; HAVE_SIGHANDLER_T=0; HAVE___SIGHANDLER_T=0
CPPFLAGS="$CPPFLAGS -Dsig_t=nosig_t -D_XOPEN_SOURCE_EXTENDED"
warn=' and is still experimental' warn=' and is still experimental'
;; ;;
Plan9) Plan9)
@ -321,7 +322,8 @@ Plan9)
warn=' and will currently not work' warn=' and will currently not work'
;; ;;
PW32*) PW32*)
HAVE_SIG_T=0; CPPFLAGS="$CPPFLAGS -Dsig_t=nosig_t" HAVE_SIG_T=0; HAVE_SIGHANDLER_T=0; HAVE___SIGHANDLER_T=0
CPPFLAGS="$CPPFLAGS -Dsig_t=nosig_t"
warn=' and will currently not work' warn=' and will currently not work'
# missing: killpg() getrlimit() # missing: killpg() getrlimit()
;; ;;