chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Import release 0.1.10
[secnet.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index 3fc0cd21f2404f6c750eea1dfd9cde615a9a0b95..8bc960e3ad69dd07986c7dfc8ef7d2735fc53bac 100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-21,12
+21,18
@@
AC_CHECK_SIZEOF(unsigned int)
AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned char)
AC_CHECK_SIZEOF(unsigned short)
AC_CHECK_SIZEOF(unsigned char)
+dnl the order in which libraries is checked is important
+dnl eg. adns on Solaris 2.5.1 depends on -lnsl and -lsocket
AC_CHECK_LIB(gmp,mpz_init_set_str)
AC_CHECK_LIB(gmp2,mpz_init_set_str)
AC_CHECK_LIB(gmp,mpz_init_set_str)
AC_CHECK_LIB(gmp2,mpz_init_set_str)
+AC_CHECK_LIB(gmp,__gmpz_init_set_str)
AC_CHECK_LIB(fl,yywrap)
AC_CHECK_LIB(fl,yywrap)
-AC_CHECK_LIB(
adns,adns_init
)
+AC_CHECK_LIB(
nsl,inet_ntoa
)
AC_CHECK_LIB(getopt,getopt_long)
AC_CHECK_LIB(gnugetopt,getopt_long)
AC_CHECK_LIB(getopt,getopt_long)
AC_CHECK_LIB(gnugetopt,getopt_long)
+AC_CHECK_LIB(socket,socket)
+AC_CHECK_LIB(resolv,inet_aton)
+AC_CHECK_LIB(adns,adns_init)
dnl check for getopt in standard library
AC_SUBST(LIBOBJS)
dnl check for getopt in standard library
AC_SUBST(LIBOBJS)