~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_clock_gettime.m4

  • Committer: Brian Aker
  • Date: 2010-02-14 02:02:48 UTC
  • mfrom: (1273.13.64 fix_is)
  • Revision ID: brian@gaz-20100214020248-bhovaejhz9fmer3q
MergeĀ inĀ data_dictionary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Copyright (C) 2010 Monty Taylor
 
2
dnl This file is free software; Monty Taylor
 
3
dnl gives unlimited permission to copy and/or distribute it,
 
4
dnl with or without modifications, as long as this notice is preserved.
 
5
 
 
6
#--------------------------------------------------------------------
 
7
# Check for clock_gettime
 
8
#--------------------------------------------------------------------
 
9
 
 
10
AC_DEFUN([PANDORA_CLOCK_GETTIME],[
 
11
  AC_SEARCH_LIBS([clock_gettime],[rt])
 
12
  AS_IF([test "x${ac_cv_search_clock_gettime}" != "xno"],[
 
13
    AC_DEFINE([HAVE_CLOCK_GETTIME],[1],[Have a working clock_gettime function])
 
14
  ])
 
15
])