3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- libesmtp-1.0.1/configure.in~configure 2003-09-11 17:23:26.000000000 -0400
7 +++ libesmtp-1.0.1/configure.in 2004-01-20 11:59:35.000000000 -0500
9 if test x$enable_emulate_getaddrinfo != xyes ; then
10 AC_MSG_ERROR([getaddrinfo not found: try --with-lwres or --enable-emulate-getaddrinfo])
12 - LIBOBJS="$LIBOBJS getaddrinfo.o"
13 + AC_LIBOBJ([getaddrinfo])
16 if test x"$enable_emulate_getaddrinfo" != xno ; then
18 AC_SEARCH_LIBS(gethostbyname, resolv bind nsl, ,
19 [AC_MSG_ERROR([cannot find gethostbyname])])
21 - LIBOBJS="$LIBOBJS gethostbyname.o"
22 + AC_LIBOBJ([gethostbyname])
24 AC_CACHE_CHECK([for IPv6 support], acx_cv_sys_use_ipv6, [
27 dnl #########################################################################
28 dnl Check that snprintf works correctly.
29 dnl #########################################################################
30 -ACX_SNPRINTF(,[LIBOBJS="$LIBOBJS snprintf.o"])
31 +ACX_SNPRINTF(,[AC_LIBOBJ([snprintf])])
33 dnl #########################################################################
34 dnl Make substitutions
39 -LTLIBOBJS=`echo "$LIBOBJS" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
41 +#LTLIBOBJS=`echo "$LIBOBJS" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`
43 LTALLOCA=`echo "$ALLOCA" | sed ['s/\.[^.]* /.lo /g;s/\.[^.]*$/.lo/']`