chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Print error message string in hostaddr.
[adns.git]
/
aclocal.m4
diff --git
a/aclocal.m4
b/aclocal.m4
index cdc58030ae02a8e8ee747118bfb9de0e46ca471f..b2d9e9f2a56f29a8dfb4636eeb9d7dfdb33fbb26 100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-53,3
+53,11
@@
define(ADNS_C_GCCATTRIB,[
AC_MSG_RESULT(no)),
AC_MSG_RESULT(no))
])
AC_MSG_RESULT(no)),
AC_MSG_RESULT(no))
])
+
+define(ADNS_C_GETFUNC,[
+ AC_CHECK_FUNC([$1],,[
+ AC_CHECK_LIB([$2],[$1],[$3],[
+ AC_MSG_ERROR([cannot find library function $1])
+ ])
+ ])
+])