21625f40b5
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.
28 lines
460 B
Bash
28 lines
460 B
Bash
#!/bin/sh
|
|
|
|
# $Id: acinclude.m4,v 1.1.1.1 2003/09/15 14:21:33 onkelflo 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"
|
|
])
|
|
|