diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-17 20:40:03 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:42 +1000 |
commit | dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01 (patch) | |
tree | 24f0ad89ac92052b10c51f2e28f90c4fc7f81d64 /source4/ntvfs/sysdep/wscript_configure | |
parent | 54e26fcb48e385cf62161cd62f102dd34d1c6b3b (diff) | |
download | samba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.tar.gz samba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.tar.bz2 samba-dd05b6512ab2d5c8fc2d0fe18fcd19b62fee6f01.zip |
build: improve autoconf macros
- enable headers to be specified
- enable both forms of DECL check
- more libreplace checks
- more heimdal checks
- more sysdep checks
Diffstat (limited to 'source4/ntvfs/sysdep/wscript_configure')
-rw-r--r-- | source4/ntvfs/sysdep/wscript_configure | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/ntvfs/sysdep/wscript_configure b/source4/ntvfs/sysdep/wscript_configure index 2d2064843e..6cfa4abe91 100644 --- a/source4/ntvfs/sysdep/wscript_configure +++ b/source4/ntvfs/sysdep/wscript_configure @@ -3,5 +3,7 @@ conf.CHECK_HEADERS('linux/inotify.h asm/unistd.h sys/inotify.h', add_headers=Fal conf.CHECK_FUNCS('inotify_init') conf.CHECK_VARIABLE('__NR_inotify_init') -conf.CHECK_VARIABLE('F_SETLEASE') -conf.CHECK_VARIABLE('SA_SIGINFO') +conf.CHECK_DECLS('F_SETLEASE', headers='linux/fcntl.h', reverse=True) +conf.CHECK_DECLS('SA_SIGINFO', headers='signal.h', reverse=True) + +conf.CHECK_DECLS('__NR_inotify_init', reverse=True, headers='asm/unistd.h') |