projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39deefc
)
Check harder for -lresolv
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Fri, 10 Sep 2010 12:11:23 +0000
(15:11 +0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 13 Sep 2010 22:40:46 +0000
(07:40 +0900)
Older Debians and friends expose __ns_initparse and their resolv.h
defines ns_initparse is __ns_initparse.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
baeff4a
..
0906b51
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-172,8
+172,9
@@
AM_CONDITIONAL(MEEGO_BUILTIN, test "${enable_meego}" = "builtin")
AC_CHECK_HEADERS(resolv.h, dummy=yes,
AC_MSG_ERROR(resolver header files are required))
-AC_CHECK_LIB(resolv, ns_initparse, dummy=yes,
- AC_MSG_ERROR(resolver library support is required))
+AC_CHECK_LIB(resolv, ns_initparse, dummy=yes,[
+ AC_CHECK_LIB(resolv, __ns_initparse, dummy=yes,
+ AC_MSG_ERROR(resolver library support is required))])
AC_CHECK_LIB(dl, dlopen, dummy=yes,
AC_MSG_ERROR(dynamic linking loader is required))