--- opensc-0.8.1/configure.in~ 2003-11-24 19:07:14 +0300 +++ opensc-0.8.1/configure.in 2003-11-24 19:08:30 +0300 @@ -151,14 +151,6 @@ AC_SUBST(LIBDL) AC_CHECK_LIB(dl, dlopen, [LIBDL="$LIBDL -ldl" ac_cv_func_dlopen_ldl=yes], ac_cv_func_dlopen_ldl=no) -dnl See if socket() is found from libsocket -AC_CHECK_LIB(socket, socket, [LIBS="$LIBS -lsocket" ac_cv_func_socket_in_lsocket=yes], ac_cv_func_socket_in_lsocket=no) - -ac_cv_func_res_query_in_lresolv=no -if test x$ac_cv_func_socket_in_lsocket = xyes; then - AC_CHECK_LIB(resolv, res_query, [LIBS="$LIBS -lresolv" ac_cv_func_res_query_in_lresolv=yes]) -fi - AC_SUBST(GETOPTSRC) AC_CHECK_FUNC(getopt_long, AC_DEFINE(HAVE_GETOPT_LONG, 1, [Define if you have the `getopt_long' function.]), [GETOPTSRC="$GETOPTSRC \$(top_srcdir)/src/common/getopt.c \$(top_srcdir)/src/common/getopt1.c"