File: pandora_clock_gettime.m4

package info (click to toggle)
libmemcached 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,912 kB
  • sloc: cpp: 39,309; ansic: 18,449; sh: 11,864; python: 603; yacc: 437; lex: 195; makefile: 116
file content (15 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dnl Copyright (C) 2010 Monty Taylor
dnl This file is free software; Monty Taylor
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

#--------------------------------------------------------------------
# Check for clock_gettime
#--------------------------------------------------------------------

AC_DEFUN([PANDORA_CLOCK_GETTIME],[
  AC_SEARCH_LIBS([clock_gettime],[rt])
  AS_IF([test "x${ac_cv_search_clock_gettime}" != "xno"],[
    AC_DEFINE([HAVE_CLOCK_GETTIME],[1],[Have a working clock_gettime function])
  ])
])