[Libsysio-commit] RedStorm: libsysio configure.in
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-09-27 20:20:55
|
Update of /cvsroot/libsysio/libsysio In directory sc8-pr-cvs1:/tmp/cvs-serv15049 Modified Files: Tag: RedStorm configure.in Log Message: Updated with recent changes in HEAD branch. Index: configure.in =================================================================== RCS file: /cvsroot/libsysio/libsysio/configure.in,v retrieving revision 1.5.6.5 retrieving revision 1.5.6.6 diff -u -w -b -B -p -r1.5.6.5 -r1.5.6.6 --- configure.in 26 Sep 2003 21:28:33 -0000 1.5.6.5 +++ configure.in 27 Sep 2003 20:20:40 -0000 1.5.6.6 @@ -3,7 +3,7 @@ AC_INIT(libsysio, 0.1) AC_CANONICAL_HOST case "$host_os" in - linux-gnu) + linux*) ;; *) AC_MSG_WARN('***' ${host_os}: Unsupported OS target) @@ -25,8 +25,8 @@ AC_ARG_WITH(native_driver, yes) ;; no) ;; *) AC_MSG_ERROR(bad value ${withval} for --with-native-driver) ;; - esac], - [with_native_driver=yes]) + esac;], + [with_native_driver=yes;]) AM_CONDITIONAL(WITH_NATIVE_DRIVER, test x$with_native_driver = xyes) AC_ARG_WITH(incore-driver, @@ -211,8 +211,10 @@ else _syscallnum=SYS_fdatasync fi AC_TRY_COMPILE([ -#include <syscall.h>], [ -syscall($_syscallnum, 0);], +#include <syscall.h> +extern int syscall();], +[int fd = 0; +syscall(SYS_fdatasync, fd);], syscall_fdatasync_exists=yes, syscall_fdatasync_exists=no) AC_MSG_RESULT($syscall_fdatasync_exists) |