~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2008-10-03 20:04:48 UTC
  • Revision ID: monty@inaugust.com-20081003200448-9uteg759k4lvdoy2
Moved GNU_SOURCE define to configure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
275
275
AC_DEFINE_UNQUOTED([likely(x)],[__builtin_expect((x),1)],[Branch is likely])
276
276
AC_DEFINE_UNQUOTED([unlikely(x)],[__builtin_expect((x),0)],[Branch is unlikely])
277
277
 
 
278
dnl TODO: This needs to go away and be replaced with _ISOC99_SOURCE
 
279
if test "$ac_cv_compiler_gnu" = "yes" -o "$target_os" = "linux-gnu"
 
280
then
 
281
  AC_DEFINE([_GNU_SOURCE],[1],[Fix problem with S_ISLNK() on Linux])
 
282
fi
 
283
 
278
284
dnl  Solaris 9 include file <sys/feature_tests.h> refers to X/Open document
279
285
 
280
286
dnl  System Interfaces and Headers, Issue 5