~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_canonical.m4

  • Committer: Brian Aker
  • Date: 2010-11-27 13:38:27 UTC
  • mfrom: (1955.1.3 quick)
  • Revision ID: brian@tangent.org-20101127133827-fowoi26sizq1zneg
Rollup of staging, mostly UDL

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
    AC_DEFINE([TIME_T_UNSIGNED], 1, [Define to 1 if time_t is unsigned])
202
202
  ])
203
203
 
204
 
  AC_CACHE_CHECK([if system defines RUSAGE_THREAD], [ac_cv_rusage_thread],[
205
 
  AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
206
 
      [[
207
 
#include <sys/time.h>
208
 
#include <sys/resource.h>
209
 
      ]],[[
210
 
      int x= RUSAGE_THREAD;
211
 
      ]])
212
 
    ],[
213
 
      ac_cv_rusage_thread=yes
214
 
    ],[
215
 
      ac_cv_rusage_thread=no
216
 
    ])
217
 
  ])
218
 
  AS_IF([test "$ac_cv_rusage_thread" = "no"],[
219
 
    AC_DEFINE([RUSAGE_THREAD], [RUSAGE_SELF],
220
 
      [Define if system doesn't define])
221
 
  ])
222
 
 
223
204
  AC_CHECK_LIBM
224
205
  dnl Bug on FreeBSD - LIBM check doesn't set the damn variable
225
206
  AC_SUBST([LIBM])