diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 04:36:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 04:36:33 +0000 |
commit | 8b04f597c489d0805f7d9bfa689076ce98b15e6a (patch) | |
tree | 9fece329213123ae5f5550b4580526fc3a830f4e /configure.in | |
parent | 057736f440786917e24e6ff22b05d4dabf86738c (diff) | |
download | zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.tar.gz zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.tar.xz zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.zip |
zsh-workers/9889
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 9937383f7..502acffc5 100644 --- a/configure.in +++ b/configure.in @@ -1086,9 +1086,9 @@ if test $zsh_cv_header_unistd_h_sbrk_proto = yes; then AC_DEFINE(HAVE_SBRK_PROTO) fi -dnl ------------------------ -dnl ioctl prototypes for OSF -dnl ------------------------ +dnl ---------------------------------- +dnl ioctl and mknod prototypes for OSF +dnl ---------------------------------- if test "$ac_cv_prog_cc_stdc" != no; then AC_CACHE_CHECK(for ioctl prototype in <sys/ioctl.h>, @@ -1100,6 +1100,15 @@ if test "$ac_cv_prog_cc_stdc" != no; then if test $zsh_cv_header_sys_ioctl_h_ioctl_proto = yes; then AC_DEFINE(HAVE_IOCTL_PROTO) fi + AC_CACHE_CHECK(for mknod prototype in <sys/stat.h>, + zsh_cv_header_sys_stat_h_mknod_proto, + [AC_TRY_COMPILE([#include <sys/stat.h> + int mknod(double x);], [int i;], + zsh_cv_header_sys_stat_h_mknod_proto=no, + zsh_cv_header_sys_stat_h_mknod_proto=yes)]) + if test $zsh_cv_header_sys_stat_h_mknod_proto = yes; then + AC_DEFINE(HAVE_MKNOD_PROTO) + fi fi dnl ------------------- |