~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_have_gcc_atomics.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:
13
13
  AC_CACHE_CHECK(
14
14
    [whether the compiler provides atomic builtins],
15
15
    [ac_cv_gcc_atomic_builtins],
16
 
    [AC_RUN_IFELSE(
 
16
    [AC_LINK_IFELSE(
17
17
      [AC_LANG_PROGRAM([],[[
18
18
        int foo= -10; int bar= 10;
19
19
        if (!__sync_fetch_and_add(&foo, bar) || foo)
34
34
              [Define to 1 if compiler provides atomic builtins.])
35
35
  ])
36
36
 
37
 
])
 
 
b'\\ No newline at end of file'
 
37
])