Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #11283: patch-configure.diff

File patch-configure.diff, 150.3 KB (added by blb@…, 12 months ago)

Patch file for configure (add to patchfiles)

  • configure

    old new  
    9217992179  else 
    9218092180     
    9218192181   
    92182   unset ac_cv_lib_bind_res_nmkquery 
    92183   unset ac_cv_lib_bind___res_nmkquery 
    92184   unset found 
    92185   echo $ac_n "checking for res_nmkquery in -lbind""... $ac_c" 1>&6 
    92186 echo "configure:92187: checking for res_nmkquery in -lbind" >&5 
    92187 ac_lib_var=`echo bind'_'res_nmkquery | sed 'y%./+-%__p_%'` 
    92188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    92189   echo $ac_n "(cached) $ac_c" 1>&6 
    92190 else 
    92191   ac_save_LIBS="$LIBS" 
    92192 LIBS="-lbind  $LIBS" 
    92193 cat > conftest.$ac_ext <<EOF 
    92194 #line 92195 "configure" 
    92195 #include "confdefs.h" 
    92196 /* Override any gcc2 internal prototype to avoid an error.  */ 
    92197 /* We use char because int might match the return type of a gcc2 
    92198     builtin and then its argument prototype would still apply.  */ 
    92199 char res_nmkquery(); 
    92200  
    92201 int main() { 
    92202 res_nmkquery() 
    92203 ; return 0; } 
    92204 EOF 
    92205 if { (eval echo configure:92206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    92206   rm -rf conftest* 
    92207   eval "ac_cv_lib_$ac_lib_var=yes" 
    92208 else 
    92209   echo "configure: failed program was:" >&5 
    92210   cat conftest.$ac_ext >&5 
    92211   rm -rf conftest* 
    92212   eval "ac_cv_lib_$ac_lib_var=no" 
    92213 fi 
    92214 rm -f conftest* 
    92215 LIBS="$ac_save_LIBS" 
    92216  
    92217 fi 
    92218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    92219   echo "$ac_t""yes" 1>&6 
    92220   found=yes 
    92221 else 
    92222   echo "$ac_t""no" 1>&6 
    92223  
    92224     echo $ac_n "checking for __res_nmkquery in -lbind""... $ac_c" 1>&6 
    92225 echo "configure:92226: checking for __res_nmkquery in -lbind" >&5 
    92226 ac_lib_var=`echo bind'_'__res_nmkquery | sed 'y%./+-%__p_%'` 
    92227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    92228   echo $ac_n "(cached) $ac_c" 1>&6 
    92229 else 
    92230   ac_save_LIBS="$LIBS" 
    92231 LIBS="-lbind  $LIBS" 
    92232 cat > conftest.$ac_ext <<EOF 
    92233 #line 92234 "configure" 
    92234 #include "confdefs.h" 
    92235 /* Override any gcc2 internal prototype to avoid an error.  */ 
    92236 /* We use char because int might match the return type of a gcc2 
    92237     builtin and then its argument prototype would still apply.  */ 
    92238 char __res_nmkquery(); 
    92239  
    92240 int main() { 
    92241 __res_nmkquery() 
    92242 ; return 0; } 
    92243 EOF 
    92244 if { (eval echo configure:92245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    92245   rm -rf conftest* 
    92246   eval "ac_cv_lib_$ac_lib_var=yes" 
    92247 else 
    92248   echo "configure: failed program was:" >&5 
    92249   cat conftest.$ac_ext >&5 
    92250   rm -rf conftest* 
    92251   eval "ac_cv_lib_$ac_lib_var=no" 
    92252 fi 
    92253 rm -f conftest* 
    92254 LIBS="$ac_save_LIBS" 
    92255  
    92256 fi 
    92257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    92258   echo "$ac_t""yes" 1>&6 
    92259   found=yes 
    92260 else 
    92261   echo "$ac_t""no" 1>&6 
    92262 found=no 
    92263 fi 
    92264  
    92265    
    92266 fi 
    92267  
    92268  
    92269   if test "$found" = "yes"; then 
    92270     ac_libs=$LIBS 
    92271     LIBS="$LIBS -lbind" 
    92272     if test "$cross_compiling" = yes; then 
    92273   found=no 
    92274 else 
    92275   cat > conftest.$ac_ext <<EOF 
    92276 #line 92277 "configure" 
    92277 #include "confdefs.h" 
    92278 main() { return (0); } 
    92279 EOF 
    92280 if { (eval echo configure:92281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    92281 then 
    92282   found=yes 
    92283 else 
    92284   echo "configure: failed program was:" >&5 
    92285   cat conftest.$ac_ext >&5 
    92286   rm -fr conftest* 
    92287   found=no 
    92288 fi 
    92289 rm -fr conftest* 
    92290 fi 
    92291  
    92292     LIBS=$ac_libs 
    92293   fi 
    92294  
    92295   if test "$found" = "yes"; then 
    92296      
    92297    
    92298   case bind in 
    92299   c|c_r|pthread*) ;; 
    92300   *)  
    92301       LIBS="-lbind $LIBS"  
    92302    ;; 
    92303   esac 
    92304  
    92305  
    92306     cat >> confdefs.h <<\EOF 
    92307 #define HAVE_RES_NMKQUERY 1 
    92308 EOF 
    92309  
    92310     cat >> confdefs.h <<\EOF 
    92311 #define HAVE_LIBBIND 1 
    92312 EOF 
    92313  
    92314     ac_cv_func_res_nmkquery=yes 
    92315   else 
    92316      
    92317    
    9231892182  unset ac_cv_lib_socket_res_nmkquery 
    9231992183  unset ac_cv_lib_socket___res_nmkquery 
    9232092184  unset found 
    9232192185  echo $ac_n "checking for res_nmkquery in -lsocket""... $ac_c" 1>&6 
    92322 echo "configure:92323: checking for res_nmkquery in -lsocket" >&5 
     92186echo "configure:92187: checking for res_nmkquery in -lsocket" >&5 
    9232392187ac_lib_var=`echo socket'_'res_nmkquery | sed 'y%./+-%__p_%'` 
    9232492188if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9232592189  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9232792191  ac_save_LIBS="$LIBS" 
    9232892192LIBS="-lsocket  $LIBS" 
    9232992193cat > conftest.$ac_ext <<EOF 
    92330 #line 92331 "configure" 
     92194#line 92195 "configure" 
    9233192195#include "confdefs.h" 
    9233292196/* Override any gcc2 internal prototype to avoid an error.  */ 
    9233392197/* We use char because int might match the return type of a gcc2 
     
    9233892202res_nmkquery() 
    9233992203; return 0; } 
    9234092204EOF 
    92341 if { (eval echo configure:92342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92205if { (eval echo configure:92206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9234292206  rm -rf conftest* 
    9234392207  eval "ac_cv_lib_$ac_lib_var=yes" 
    9234492208else 
     
    9235892222  echo "$ac_t""no" 1>&6 
    9235992223 
    9236092224    echo $ac_n "checking for __res_nmkquery in -lsocket""... $ac_c" 1>&6 
    92361 echo "configure:92362: checking for __res_nmkquery in -lsocket" >&5 
     92225echo "configure:92226: checking for __res_nmkquery in -lsocket" >&5 
    9236292226ac_lib_var=`echo socket'_'__res_nmkquery | sed 'y%./+-%__p_%'` 
    9236392227if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9236492228  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9236692230  ac_save_LIBS="$LIBS" 
    9236792231LIBS="-lsocket  $LIBS" 
    9236892232cat > conftest.$ac_ext <<EOF 
    92369 #line 92370 "configure" 
     92233#line 92234 "configure" 
    9237092234#include "confdefs.h" 
    9237192235/* Override any gcc2 internal prototype to avoid an error.  */ 
    9237292236/* We use char because int might match the return type of a gcc2 
     
    9237792241__res_nmkquery() 
    9237892242; return 0; } 
    9237992243EOF 
    92380 if { (eval echo configure:92381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92244if { (eval echo configure:92245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9238192245  rm -rf conftest* 
    9238292246  eval "ac_cv_lib_$ac_lib_var=yes" 
    9238392247else 
     
    9240992273  found=no 
    9241092274else 
    9241192275  cat > conftest.$ac_ext <<EOF 
    92412 #line 92413 "configure" 
     92276#line 92277 "configure" 
    9241392277#include "confdefs.h" 
    9241492278main() { return (0); } 
    9241592279EOF 
    92416 if { (eval echo configure:92417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     92280if { (eval echo configure:92281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    9241792281then 
    9241892282  found=yes 
    9241992283else 
     
    9245792321 
    9245892322  fi 
    9245992323   
    92460  
    92461   fi 
    92462    
    9246392324 ;; 
    9246492325   
    9246592326  esac 
     
    9247092331  unset found 
    9247192332   
    9247292333  echo $ac_n "checking for res_nsend""... $ac_c" 1>&6 
    92473 echo "configure:92474: checking for res_nsend" >&5 
     92334echo "configure:92335: checking for res_nsend" >&5 
    9247492335if eval "test \"`echo '$''{'ac_cv_func_res_nsend'+set}'`\" = set"; then 
    9247592336  echo $ac_n "(cached) $ac_c" 1>&6 
    9247692337else 
    9247792338  cat > conftest.$ac_ext <<EOF 
    92478 #line 92479 "configure" 
     92339#line 92340 "configure" 
    9247992340#include "confdefs.h" 
    9248092341/* System header to define __stub macros and hopefully few prototypes, 
    9248192342    which can conflict with char res_nsend(); below.  */ 
     
    9249892359 
    9249992360; return 0; } 
    9250092361EOF 
    92501 if { (eval echo configure:92502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92362if { (eval echo configure:92363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9250292363  rm -rf conftest* 
    9250392364  eval "ac_cv_func_res_nsend=yes" 
    9250492365else 
     
    9251692377else 
    9251792378  echo "$ac_t""no" 1>&6 
    9251892379 echo $ac_n "checking for __res_nsend""... $ac_c" 1>&6 
    92519 echo "configure:92520: checking for __res_nsend" >&5 
     92380echo "configure:92381: checking for __res_nsend" >&5 
    9252092381if eval "test \"`echo '$''{'ac_cv_func___res_nsend'+set}'`\" = set"; then 
    9252192382  echo $ac_n "(cached) $ac_c" 1>&6 
    9252292383else 
    9252392384  cat > conftest.$ac_ext <<EOF 
    92524 #line 92525 "configure" 
     92385#line 92386 "configure" 
    9252592386#include "confdefs.h" 
    9252692387/* System header to define __stub macros and hopefully few prototypes, 
    9252792388    which can conflict with char __res_nsend(); below.  */ 
     
    9254492405 
    9254592406; return 0; } 
    9254692407EOF 
    92547 if { (eval echo configure:92548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92408if { (eval echo configure:92409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9254892409  rm -rf conftest* 
    9254992410  eval "ac_cv_func___res_nsend=yes" 
    9255092411else 
     
    9258292443  unset ac_cv_lib_resolv___res_nsend 
    9258392444  unset found 
    9258492445  echo $ac_n "checking for res_nsend in -lresolv""... $ac_c" 1>&6 
    92585 echo "configure:92586: checking for res_nsend in -lresolv" >&5 
     92446echo "configure:92447: checking for res_nsend in -lresolv" >&5 
    9258692447ac_lib_var=`echo resolv'_'res_nsend | sed 'y%./+-%__p_%'` 
    9258792448if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9258892449  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9259092451  ac_save_LIBS="$LIBS" 
    9259192452LIBS="-lresolv  $LIBS" 
    9259292453cat > conftest.$ac_ext <<EOF 
    92593 #line 92594 "configure" 
     92454#line 92455 "configure" 
    9259492455#include "confdefs.h" 
    9259592456/* Override any gcc2 internal prototype to avoid an error.  */ 
    9259692457/* We use char because int might match the return type of a gcc2 
     
    9260192462res_nsend() 
    9260292463; return 0; } 
    9260392464EOF 
    92604 if { (eval echo configure:92605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92465if { (eval echo configure:92466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9260592466  rm -rf conftest* 
    9260692467  eval "ac_cv_lib_$ac_lib_var=yes" 
    9260792468else 
     
    9262192482  echo "$ac_t""no" 1>&6 
    9262292483 
    9262392484    echo $ac_n "checking for __res_nsend in -lresolv""... $ac_c" 1>&6 
    92624 echo "configure:92625: checking for __res_nsend in -lresolv" >&5 
     92485echo "configure:92486: checking for __res_nsend in -lresolv" >&5 
    9262592486ac_lib_var=`echo resolv'_'__res_nsend | sed 'y%./+-%__p_%'` 
    9262692487if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9262792488  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9262992490  ac_save_LIBS="$LIBS" 
    9263092491LIBS="-lresolv  $LIBS" 
    9263192492cat > conftest.$ac_ext <<EOF 
    92632 #line 92633 "configure" 
     92493#line 92494 "configure" 
    9263392494#include "confdefs.h" 
    9263492495/* Override any gcc2 internal prototype to avoid an error.  */ 
    9263592496/* We use char because int might match the return type of a gcc2 
     
    9264092501__res_nsend() 
    9264192502; return 0; } 
    9264292503EOF 
    92643 if { (eval echo configure:92644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92504if { (eval echo configure:92505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9264492505  rm -rf conftest* 
    9264592506  eval "ac_cv_lib_$ac_lib_var=yes" 
    9264692507else 
     
    9267292533  found=no 
    9267392534else 
    9267492535  cat > conftest.$ac_ext <<EOF 
    92675 #line 92676 "configure" 
     92536#line 92537 "configure" 
    9267692537#include "confdefs.h" 
    9267792538main() { return (0); } 
    9267892539EOF 
    92679 if { (eval echo configure:92680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     92540if { (eval echo configure:92541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    9268092541then 
    9268192542  found=yes 
    9268292543else 
     
    9271492575  else 
    9271592576     
    9271692577   
    92717   unset ac_cv_lib_bind_res_nsend 
    92718   unset ac_cv_lib_bind___res_nsend 
    92719   unset found 
    92720   echo $ac_n "checking for res_nsend in -lbind""... $ac_c" 1>&6 
    92721 echo "configure:92722: checking for res_nsend in -lbind" >&5 
    92722 ac_lib_var=`echo bind'_'res_nsend | sed 'y%./+-%__p_%'` 
    92723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    92724   echo $ac_n "(cached) $ac_c" 1>&6 
    92725 else 
    92726   ac_save_LIBS="$LIBS" 
    92727 LIBS="-lbind  $LIBS" 
    92728 cat > conftest.$ac_ext <<EOF 
    92729 #line 92730 "configure" 
    92730 #include "confdefs.h" 
    92731 /* Override any gcc2 internal prototype to avoid an error.  */ 
    92732 /* We use char because int might match the return type of a gcc2 
    92733     builtin and then its argument prototype would still apply.  */ 
    92734 char res_nsend(); 
    92735  
    92736 int main() { 
    92737 res_nsend() 
    92738 ; return 0; } 
    92739 EOF 
    92740 if { (eval echo configure:92741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    92741   rm -rf conftest* 
    92742   eval "ac_cv_lib_$ac_lib_var=yes" 
    92743 else 
    92744   echo "configure: failed program was:" >&5 
    92745   cat conftest.$ac_ext >&5 
    92746   rm -rf conftest* 
    92747   eval "ac_cv_lib_$ac_lib_var=no" 
    92748 fi 
    92749 rm -f conftest* 
    92750 LIBS="$ac_save_LIBS" 
    92751  
    92752 fi 
    92753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    92754   echo "$ac_t""yes" 1>&6 
    92755   found=yes 
    92756 else 
    92757   echo "$ac_t""no" 1>&6 
    92758  
    92759     echo $ac_n "checking for __res_nsend in -lbind""... $ac_c" 1>&6 
    92760 echo "configure:92761: checking for __res_nsend in -lbind" >&5 
    92761 ac_lib_var=`echo bind'_'__res_nsend | sed 'y%./+-%__p_%'` 
    92762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    92763   echo $ac_n "(cached) $ac_c" 1>&6 
    92764 else 
    92765   ac_save_LIBS="$LIBS" 
    92766 LIBS="-lbind  $LIBS" 
    92767 cat > conftest.$ac_ext <<EOF 
    92768 #line 92769 "configure" 
    92769 #include "confdefs.h" 
    92770 /* Override any gcc2 internal prototype to avoid an error.  */ 
    92771 /* We use char because int might match the return type of a gcc2 
    92772     builtin and then its argument prototype would still apply.  */ 
    92773 char __res_nsend(); 
    92774  
    92775 int main() { 
    92776 __res_nsend() 
    92777 ; return 0; } 
    92778 EOF 
    92779 if { (eval echo configure:92780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    92780   rm -rf conftest* 
    92781   eval "ac_cv_lib_$ac_lib_var=yes" 
    92782 else 
    92783   echo "configure: failed program was:" >&5 
    92784   cat conftest.$ac_ext >&5 
    92785   rm -rf conftest* 
    92786   eval "ac_cv_lib_$ac_lib_var=no" 
    92787 fi 
    92788 rm -f conftest* 
    92789 LIBS="$ac_save_LIBS" 
    92790  
    92791 fi 
    92792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    92793   echo "$ac_t""yes" 1>&6 
    92794   found=yes 
    92795 else 
    92796   echo "$ac_t""no" 1>&6 
    92797 found=no 
    92798 fi 
    92799  
    92800    
    92801 fi 
    92802  
    92803  
    92804   if test "$found" = "yes"; then 
    92805     ac_libs=$LIBS 
    92806     LIBS="$LIBS -lbind" 
    92807     if test "$cross_compiling" = yes; then 
    92808   found=no 
    92809 else 
    92810   cat > conftest.$ac_ext <<EOF 
    92811 #line 92812 "configure" 
    92812 #include "confdefs.h" 
    92813 main() { return (0); } 
    92814 EOF 
    92815 if { (eval echo configure:92816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    92816 then 
    92817   found=yes 
    92818 else 
    92819   echo "configure: failed program was:" >&5 
    92820   cat conftest.$ac_ext >&5 
    92821   rm -fr conftest* 
    92822   found=no 
    92823 fi 
    92824 rm -fr conftest* 
    92825 fi 
    92826  
    92827     LIBS=$ac_libs 
    92828   fi 
    92829  
    92830   if test "$found" = "yes"; then 
    92831      
    92832    
    92833   case bind in 
    92834   c|c_r|pthread*) ;; 
    92835   *)  
    92836       LIBS="-lbind $LIBS"  
    92837    ;; 
    92838   esac 
    92839  
    92840  
    92841     cat >> confdefs.h <<\EOF 
    92842 #define HAVE_RES_NSEND 1 
    92843 EOF 
    92844  
    92845     cat >> confdefs.h <<\EOF 
    92846 #define HAVE_LIBBIND 1 
    92847 EOF 
    92848  
    92849     ac_cv_func_res_nsend=yes 
    92850   else 
    92851      
    92852    
    9285392578  unset ac_cv_lib_socket_res_nsend 
    9285492579  unset ac_cv_lib_socket___res_nsend 
    9285592580  unset found 
    9285692581  echo $ac_n "checking for res_nsend in -lsocket""... $ac_c" 1>&6 
    92857 echo "configure:92858: checking for res_nsend in -lsocket" >&5 
     92582echo "configure:92583: checking for res_nsend in -lsocket" >&5 
    9285892583ac_lib_var=`echo socket'_'res_nsend | sed 'y%./+-%__p_%'` 
    9285992584if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9286092585  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9286292587  ac_save_LIBS="$LIBS" 
    9286392588LIBS="-lsocket  $LIBS" 
    9286492589cat > conftest.$ac_ext <<EOF 
    92865 #line 92866 "configure" 
     92590#line 92591 "configure" 
    9286692591#include "confdefs.h" 
    9286792592/* Override any gcc2 internal prototype to avoid an error.  */ 
    9286892593/* We use char because int might match the return type of a gcc2 
     
    9287392598res_nsend() 
    9287492599; return 0; } 
    9287592600EOF 
    92876 if { (eval echo configure:92877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92601if { (eval echo configure:92602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9287792602  rm -rf conftest* 
    9287892603  eval "ac_cv_lib_$ac_lib_var=yes" 
    9287992604else 
     
    9289392618  echo "$ac_t""no" 1>&6 
    9289492619 
    9289592620    echo $ac_n "checking for __res_nsend in -lsocket""... $ac_c" 1>&6 
    92896 echo "configure:92897: checking for __res_nsend in -lsocket" >&5 
     92621echo "configure:92622: checking for __res_nsend in -lsocket" >&5 
    9289792622ac_lib_var=`echo socket'_'__res_nsend | sed 'y%./+-%__p_%'` 
    9289892623if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9289992624  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9290192626  ac_save_LIBS="$LIBS" 
    9290292627LIBS="-lsocket  $LIBS" 
    9290392628cat > conftest.$ac_ext <<EOF 
    92904 #line 92905 "configure" 
     92629#line 92630 "configure" 
    9290592630#include "confdefs.h" 
    9290692631/* Override any gcc2 internal prototype to avoid an error.  */ 
    9290792632/* We use char because int might match the return type of a gcc2 
     
    9291292637__res_nsend() 
    9291392638; return 0; } 
    9291492639EOF 
    92915 if { (eval echo configure:92916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92640if { (eval echo configure:92641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9291692641  rm -rf conftest* 
    9291792642  eval "ac_cv_lib_$ac_lib_var=yes" 
    9291892643else 
     
    9294492669  found=no 
    9294592670else 
    9294692671  cat > conftest.$ac_ext <<EOF 
    92947 #line 92948 "configure" 
     92672#line 92673 "configure" 
    9294892673#include "confdefs.h" 
    9294992674main() { return (0); } 
    9295092675EOF 
    92951 if { (eval echo configure:92952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     92676if { (eval echo configure:92677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    9295292677then 
    9295392678  found=yes 
    9295492679else 
     
    9299292717 
    9299392718  fi 
    9299492719   
    92995  
    92996   fi 
    92997    
    9299892720 ;; 
    9299992721   
    9300092722  esac 
     
    9300592727  unset found 
    9300692728   
    9300792729  echo $ac_n "checking for dn_expand""... $ac_c" 1>&6 
    93008 echo "configure:93009: checking for dn_expand" >&5 
     92730echo "configure:92731: checking for dn_expand" >&5 
    9300992731if eval "test \"`echo '$''{'ac_cv_func_dn_expand'+set}'`\" = set"; then 
    9301092732  echo $ac_n "(cached) $ac_c" 1>&6 
    9301192733else 
    9301292734  cat > conftest.$ac_ext <<EOF 
    93013 #line 93014 "configure" 
     92735#line 92736 "configure" 
    9301492736#include "confdefs.h" 
    9301592737/* System header to define __stub macros and hopefully few prototypes, 
    9301692738    which can conflict with char dn_expand(); below.  */ 
     
    9303392755 
    9303492756; return 0; } 
    9303592757EOF 
    93036 if { (eval echo configure:93037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92758if { (eval echo configure:92759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9303792759  rm -rf conftest* 
    9303892760  eval "ac_cv_func_dn_expand=yes" 
    9303992761else 
     
    9305192773else 
    9305292774  echo "$ac_t""no" 1>&6 
    9305392775 echo $ac_n "checking for __dn_expand""... $ac_c" 1>&6 
    93054 echo "configure:93055: checking for __dn_expand" >&5 
     92776echo "configure:92777: checking for __dn_expand" >&5 
    9305592777if eval "test \"`echo '$''{'ac_cv_func___dn_expand'+set}'`\" = set"; then 
    9305692778  echo $ac_n "(cached) $ac_c" 1>&6 
    9305792779else 
    9305892780  cat > conftest.$ac_ext <<EOF 
    93059 #line 93060 "configure" 
     92781#line 92782 "configure" 
    9306092782#include "confdefs.h" 
    9306192783/* System header to define __stub macros and hopefully few prototypes, 
    9306292784    which can conflict with char __dn_expand(); below.  */ 
     
    9307992801 
    9308092802; return 0; } 
    9308192803EOF 
    93082 if { (eval echo configure:93083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92804if { (eval echo configure:92805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9308392805  rm -rf conftest* 
    9308492806  eval "ac_cv_func___dn_expand=yes" 
    9308592807else 
     
    9311792839  unset ac_cv_lib_resolv___dn_expand 
    9311892840  unset found 
    9311992841  echo $ac_n "checking for dn_expand in -lresolv""... $ac_c" 1>&6 
    93120 echo "configure:93121: checking for dn_expand in -lresolv" >&5 
     92842echo "configure:92843: checking for dn_expand in -lresolv" >&5 
    9312192843ac_lib_var=`echo resolv'_'dn_expand | sed 'y%./+-%__p_%'` 
    9312292844if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9312392845  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9312592847  ac_save_LIBS="$LIBS" 
    9312692848LIBS="-lresolv  $LIBS" 
    9312792849cat > conftest.$ac_ext <<EOF 
    93128 #line 93129 "configure" 
     92850#line 92851 "configure" 
    9312992851#include "confdefs.h" 
    9313092852/* Override any gcc2 internal prototype to avoid an error.  */ 
    9313192853/* We use char because int might match the return type of a gcc2 
     
    9313692858dn_expand() 
    9313792859; return 0; } 
    9313892860EOF 
    93139 if { (eval echo configure:93140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92861if { (eval echo configure:92862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9314092862  rm -rf conftest* 
    9314192863  eval "ac_cv_lib_$ac_lib_var=yes" 
    9314292864else 
     
    9315692878  echo "$ac_t""no" 1>&6 
    9315792879 
    9315892880    echo $ac_n "checking for __dn_expand in -lresolv""... $ac_c" 1>&6 
    93159 echo "configure:93160: checking for __dn_expand in -lresolv" >&5 
     92881echo "configure:92882: checking for __dn_expand in -lresolv" >&5 
    9316092882ac_lib_var=`echo resolv'_'__dn_expand | sed 'y%./+-%__p_%'` 
    9316192883if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    9316292884  echo $ac_n "(cached) $ac_c" 1>&6 
     
    9316492886  ac_save_LIBS="$LIBS" 
    9316592887LIBS="-lresolv  $LIBS" 
    9316692888cat > conftest.$ac_ext <<EOF 
    93167 #line 93168 "configure" 
     92889#line 92890 "configure" 
    9316892890#include "confdefs.h" 
    9316992891/* Override any gcc2 internal prototype to avoid an error.  */ 
    9317092892/* We use char because int might match the return type of a gcc2 
     
    9317592897__dn_expand() 
    9317692898; return 0; } 
    9317792899EOF 
    93178 if { (eval echo configure:93179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
     92900if { (eval echo configure:92901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    9317992901  rm -rf conftest* 
    9318092902  eval "ac_cv_lib_$ac_lib_var=yes" 
    9318192903else 
     
    9320792929  found=no 
    9320892930else 
    9320992931  cat > conftest.$ac_ext <<EOF 
    93210 #line 93211 "configure" 
     92932#line 92933 "configure" 
    9321192933#include "confdefs.h" 
    9321292934main() { return (0); } 
    9321392935EOF 
    93214 if { (eval echo configure:93215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
     92936if { (eval echo configure:92937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 
    9321592937then 
    9321692938  found=yes 
    9321792939else 
     
    9324992971  else 
    9325092972     
    9325192973   
    93252   unset ac_cv_lib_bind_dn_expand 
    93253   unset ac_cv_lib_bind___dn_expand 
    93254   unset found 
    93255   echo $ac_n "checking for dn_expand in -lbind""... $ac_c" 1>&6 
    93256 echo "configure:93257: checking for dn_expand in -lbind" >&5 
    93257 ac_lib_var=`echo bind'_'dn_expand | sed 'y%./+-%__p_%'` 
    93258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 
    93259   echo $ac_n "(cached) $ac_c" 1>&6 
    93260 else 
    93261   ac_save_LIBS="$LIBS" 
    93262 LIBS="-lbind  $LIBS" 
    93263 cat > conftest.$ac_ext <<EOF 
    93264 #line 93265 "configure" 
    93265 #include "confdefs.h" 
    93266 /* Override any gcc2 internal prototype to avoid an error.  */ 
    93267 /* We use char because int might match the return type of a gcc2 
    93268     builtin and then its argument prototype would still apply.  */ 
    93269 char dn_expand(); 
    93270  
    93271 int main() { 
    93272 dn_expand() 
    93273 ; return 0; } 
    93274 EOF 
    93275 if { (eval echo configure:93276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 
    93276   rm -rf conftest* 
    93277   eval "ac_cv_lib_$ac_lib_var=yes" 
    93278 else 
    93279   echo "configure: failed program was:" >&5 
    93280   cat conftest.$ac_ext >&5 
    93281   rm -rf conftest* 
    93282   eval "ac_cv_lib_$ac_lib_var=no" 
    93283 fi 
    93284 rm -f conftest* 
    93285 LIBS="$ac_save_LIBS" 
    93286  
    93287 fi 
    93288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 
    93289   echo "$ac_t""yes" 1>&6 
    93290   found=yes 
    93291 else 
    93292   echo "$ac_t""no" 1>&6 
    93293  
    93294     echo $ac_n "checking for __dn_expand in -lbind""... $ac_c" 1>&6 
    93295 echo "configure:93296: checking for __dn_expand in -lbind" >&5 
    93296 ac_lib_var=`echo bind'_'__dn_expand | sed 'y%./+-%__p_%'` 
    93297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var