~ubuntu-branches/ubuntu/precise/wmclockmon/precise

« back to all changes in this revision

Viewing changes to acinclude.m4

  • Committer: Bazaar Package Importer
  • Author(s): Marc 'HE' Brockschmidt
  • Date: 2004-06-03 20:24:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040603202421-r6p3d4iba4q5quqy
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# $Id: acinclude.m4,v 1.3 1999/07/24 22:01:51 daeron Exp $
 
4
 
 
5
dnl
 
6
dnl DA_CHECK_LIB(NAME, FUNCTION, EXTRALIBS)
 
7
dnl
 
8
AC_DEFUN(DA_CHECK_LIB,
 
9
[
 
10
LDFLAGS_old="$LDFLAGS"
 
11
LDFLAGS="$LDFLAGS $lib_search_path"
 
12
AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3])
 
13
LDFLAGS="$LDFLAGS_old"
 
14
])
 
15
 
 
16
 
 
17
dnl
 
18
dnl DA_CHECK_HEADER(NAME)
 
19
dnl
 
20
AC_DEFUN(DA_CHECK_HEADER,
 
21
[
 
22
CPPFLAGS_old="$CPPFLAGS"
 
23
CPPFLAGS="$CPPFLAGS $inc_search_path"
 
24
AC_CHECK_HEADER([$1])
 
25
CPPFLAGS="$CPPFLAGS_old"
 
26
])
 
27