dockapps/wmacpiload-0.1.2/acinclude.m4
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00

28 lines
454 B
Bash

#!/bin/sh
# $Id: acinclude.m4,v 1.3 1999/07/24 22:01:51 daeron Exp $
dnl
dnl DA_CHECK_LIB(NAME, FUNCTION, EXTRALIBS)
dnl
AC_DEFUN(DA_CHECK_LIB,
[
LDFLAGS_old="$LDFLAGS"
LDFLAGS="$LDFLAGS $lib_search_path"
AC_CHECK_LIB([$1],[$2],yes=yes,no=no,[$3])
LDFLAGS="$LDFLAGS_old"
])
dnl
dnl DA_CHECK_HEADER(NAME)
dnl
AC_DEFUN(DA_CHECK_HEADER,
[
CPPFLAGS_old="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $inc_search_path"
AC_CHECK_HEADER([$1])
CPPFLAGS="$CPPFLAGS_old"
])