|
Lines 1471-1506
AC_ARG_WITH([skey],
Link Here
|
| 1471 |
LDNS_MSG="no" |
1471 |
LDNS_MSG="no" |
| 1472 |
AC_ARG_WITH(ldns, |
1472 |
AC_ARG_WITH(ldns, |
| 1473 |
[ --with-ldns[[=PATH]] Use ldns for DNSSEC support (optionally in PATH)], |
1473 |
[ --with-ldns[[=PATH]] Use ldns for DNSSEC support (optionally in PATH)], |
| 1474 |
[ |
1474 |
[ |
| 1475 |
if test "x$withval" != "xno" ; then |
1475 |
ldns="" |
|
|
1476 |
if test "x$withval" = "xyes" ; then |
| 1477 |
AC_PATH_TOOL([LDNSCONFIG], [ldns-config], [no]) |
| 1478 |
if test "x$PKGCONFIG" = "xno"; then |
| 1479 |
CPPFLAGS="$CPPFLAGS -I${withval}/include" |
| 1480 |
LDFLAGS="$LDFLAGS -L${withval}/lib" |
| 1481 |
LIBS="-lldns $LIBS" |
| 1482 |
ldns=yes |
| 1483 |
else |
| 1484 |
LIBS="$LIBS `$LDNSCONFIG --libs`" |
| 1485 |
CPPFLAGS="$CPPFLAGS `$LDNSCONFIG --cflags`" |
| 1486 |
fi |
| 1487 |
elif test "x$withval" != "xno" ; then |
| 1488 |
CPPFLAGS="$CPPFLAGS -I${withval}/include" |
| 1489 |
LDFLAGS="$LDFLAGS -L${withval}/lib" |
| 1490 |
LIBS="-lldns $LIBS" |
| 1491 |
ldns=yes |
| 1492 |
fi |
| 1476 |
|
1493 |
|
| 1477 |
if test "x$withval" != "xyes" ; then |
1494 |
# Verify that it works. |
| 1478 |
CPPFLAGS="$CPPFLAGS -I${withval}/include" |
1495 |
if test "x$ldns" = "xyes" ; then |
| 1479 |
LDFLAGS="$LDFLAGS -L${withval}/lib" |
1496 |
AC_DEFINE(HAVE_LDNS, 1, [Define if you want ldns support]) |
| 1480 |
fi |
1497 |
LDNS_MSG="yes" |
| 1481 |
|
1498 |
AC_MSG_CHECKING([for ldns support]) |
| 1482 |
AC_DEFINE(HAVE_LDNS, 1, [Define if you want ldns support]) |
1499 |
AC_LINK_IFELSE( |
| 1483 |
LIBS="-lldns $LIBS" |
1500 |
[AC_LANG_SOURCE([[ |
| 1484 |
LDNS_MSG="yes" |
|
|
| 1485 |
|
| 1486 |
AC_MSG_CHECKING([for ldns support]) |
| 1487 |
AC_LINK_IFELSE( |
| 1488 |
[AC_LANG_SOURCE([[ |
| 1489 |
#include <stdio.h> |
1501 |
#include <stdio.h> |
| 1490 |
#include <stdlib.h> |
1502 |
#include <stdlib.h> |
| 1491 |
#include <stdint.h> |
1503 |
#include <stdint.h> |
| 1492 |
#include <ldns/ldns.h> |
1504 |
#include <ldns/ldns.h> |
| 1493 |
int main() { ldns_status status = ldns_verify_trusted(NULL, NULL, NULL, NULL); status=LDNS_STATUS_OK; exit(0); } |
1505 |
int main() { ldns_status status = ldns_verify_trusted(NULL, NULL, NULL, NULL); status=LDNS_STATUS_OK; exit(0); } |
| 1494 |
]]) |
1506 |
]]) |
| 1495 |
], |
1507 |
], |
| 1496 |
[AC_MSG_RESULT(yes)], |
1508 |
[AC_MSG_RESULT(yes)], |
| 1497 |
[ |
1509 |
[ |
| 1498 |
AC_MSG_RESULT(no) |
1510 |
AC_MSG_RESULT(no) |
| 1499 |
AC_MSG_ERROR([** Incomplete or missing ldns libraries.]) |
1511 |
AC_MSG_ERROR([** Incomplete or missing ldns libraries.]) |
| 1500 |
]) |
1512 |
]) |
| 1501 |
fi |
1513 |
fi |
| 1502 |
] |
1514 |
]) |
| 1503 |
) |
|
|
| 1504 |
|
1515 |
|
| 1505 |
# Check whether user wants libedit support |
1516 |
# Check whether user wants libedit support |
| 1506 |
LIBEDIT_MSG="no" |
1517 |
LIBEDIT_MSG="no" |
|
Lines 5083-5088
echo " Smartcard support: $SCARD_MSG"
Link Here
|
| 5083 |
echo " S/KEY support: $SKEY_MSG" |
5094 |
echo " S/KEY support: $SKEY_MSG" |
| 5084 |
echo " MD5 password support: $MD5_MSG" |
5095 |
echo " MD5 password support: $MD5_MSG" |
| 5085 |
echo " libedit support: $LIBEDIT_MSG" |
5096 |
echo " libedit support: $LIBEDIT_MSG" |
|
|
5097 |
echo " libldns support: $LDNS_MSG" |
| 5086 |
echo " Solaris process contract support: $SPC_MSG" |
5098 |
echo " Solaris process contract support: $SPC_MSG" |
| 5087 |
echo " Solaris project support: $SP_MSG" |
5099 |
echo " Solaris project support: $SP_MSG" |
| 5088 |
echo " Solaris privilege support: $SPP_MSG" |
5100 |
echo " Solaris privilege support: $SPP_MSG" |