apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr configure.in
Date Wed, 01 Oct 2003 17:36:37 GMT
jorton      2003/10/01 10:36:37

  Modified:    .        configure.in
  Log:
  * configure.in: Fix and simplify check for hstrerror in
  previous commit.
  
  Revision  Changes    Path
  1.542     +2 -2      apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.541
  retrieving revision 1.542
  diff -u -u -r1.541 -r1.542
  --- configure.in	1 Oct 2003 17:06:42 -0000	1.541
  +++ configure.in	1 Oct 2003 17:36:37 -0000	1.542
  @@ -1833,8 +1833,8 @@
   # hstrerror is only needed if IPv6 is not enabled,
   # so getaddrinfo/gai_strerror are not used.
   if test $have_ipv6 = 0; then
  -  AC_CHECK_LIB(hstrerror, resolv)
  -  AC_CHECK_FUNCS(hstrerror)
  +  AC_SEARCH_LIBS(hstrerror, resolv,
  +    [AC_DEFINE(HAVE_HSTRERROR, 1, [Define if hstrerror is present])])
   fi
   
   dnl Check for langinfo support
  
  
  

Mime
View raw message