1 --- syslog-ng-1.6.6/configure.in.orig 2005-02-04 13:27:00.000000000 +0100
2 +++ syslog-ng-1.6.6/configure.in 2005-02-06 15:51:45.089776184 +0100
4 AC_CHECK_LIB(resolv, __res_init)
5 AC_CHECK_LIB(door, door_create)
6 AC_CHECK_LIB(socket, socket)
7 -AC_CHECK_LIB(nsl, gethostbyname)
8 +AC_SEARCH_LIBS(gethostbyname, nsl)
9 AC_CHECK_FUNCS(select snprintf vsnprintf strerror inet_aton strncpy getutent)
10 AC_CHECK_FUNCS(getopt_long strcasecmp strptime)
13 if test "$enable_full_static" = "yes"; then
14 LIBS="-static $LIBS $LEXLIB $LIBWRAP_LIBS $LIBNET_LIBS $LIBOL_LIBS"
16 - LIBS="$LIBS $LIBOL_LIBS -Wl,-Bstatic $LEXLIB $LIBWRAP_LIBS $LIBNET_LIBS -Wl,-Bdynamic"
17 + LIBS="$LIBS $LIBOL_LIBS $LIBWRAP_LIBS $LIBNET_LIBS -Wl,-Bstatic $LEXLIB -Wl,-Bdynamic"