~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_fdatasync.m4

pandora-build v0.103 - fix macros for cross-compiling. Fix stack direction check.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
AC_DEFUN([PANDORA_WORKING_FDATASYNC],[
12
12
  AC_CACHE_CHECK([working fdatasync],[ac_cv_func_fdatasync],[
13
13
    AC_LANG_PUSH(C++)
14
 
    AC_RUN_IFELSE([AC_LANG_PROGRAM([[
 
14
    AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
15
15
#include <unistd.h>
16
16
      ]],[[
17
17
fdatasync(4);
22
22
  ])
23
23
  AS_IF([test "x${ac_cv_func_fdatasync}" = "xyes"],
24
24
    [AC_DEFINE([HAVE_FDATASYNC],[1],[If the system has a working fdatasync])])
25
 
])
 
 
b'\\ No newline at end of file'
 
25
])