1 --- cgicc-3.2.12/configure.ac.orig 2014-01-01 11:23:25.000000000 +0100
2 +++ cgicc-3.2.12/configure.ac 2014-01-04 21:13:33.860863704 +0100
4 dnl Checks for libraries.
6 dnl setup for networking functions
7 -AC_CHECK_LIB(nsl, gethostbyaddr, LIB_NET="-lnsl")
8 +AC_CHECK_FUNC([gethostbyaddr], , [AC_CHECK_LIB(nsl, gethostbyaddr, LIB_NET="-lnsl")])
11 dnl check whether to link against libstdc++