Ticket #11283: patch-configure.diff
| File patch-configure.diff, 150.3 KB (added by blb@…, 12 months ago) |
|---|
-
configure
old new 92179 92179 else 92180 92180 92181 92181 92182 unset ac_cv_lib_bind_res_nmkquery92183 unset ac_cv_lib_bind___res_nmkquery92184 unset found92185 echo $ac_n "checking for res_nmkquery in -lbind""... $ac_c" 1>&692186 echo "configure:92187: checking for res_nmkquery in -lbind" >&592187 ac_lib_var=`echo bind'_'res_nmkquery | sed 'y%./+-%__p_%'`92188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then92189 echo $ac_n "(cached) $ac_c" 1>&692190 else92191 ac_save_LIBS="$LIBS"92192 LIBS="-lbind $LIBS"92193 cat > conftest.$ac_ext <<EOF92194 #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 gcc292198 builtin and then its argument prototype would still apply. */92199 char res_nmkquery();92200 92201 int main() {92202 res_nmkquery()92203 ; return 0; }92204 EOF92205 if { (eval echo configure:92206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92206 rm -rf conftest*92207 eval "ac_cv_lib_$ac_lib_var=yes"92208 else92209 echo "configure: failed program was:" >&592210 cat conftest.$ac_ext >&592211 rm -rf conftest*92212 eval "ac_cv_lib_$ac_lib_var=no"92213 fi92214 rm -f conftest*92215 LIBS="$ac_save_LIBS"92216 92217 fi92218 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then92219 echo "$ac_t""yes" 1>&692220 found=yes92221 else92222 echo "$ac_t""no" 1>&692223 92224 echo $ac_n "checking for __res_nmkquery in -lbind""... $ac_c" 1>&692225 echo "configure:92226: checking for __res_nmkquery in -lbind" >&592226 ac_lib_var=`echo bind'_'__res_nmkquery | sed 'y%./+-%__p_%'`92227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then92228 echo $ac_n "(cached) $ac_c" 1>&692229 else92230 ac_save_LIBS="$LIBS"92231 LIBS="-lbind $LIBS"92232 cat > conftest.$ac_ext <<EOF92233 #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 gcc292237 builtin and then its argument prototype would still apply. */92238 char __res_nmkquery();92239 92240 int main() {92241 __res_nmkquery()92242 ; return 0; }92243 EOF92244 if { (eval echo configure:92245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92245 rm -rf conftest*92246 eval "ac_cv_lib_$ac_lib_var=yes"92247 else92248 echo "configure: failed program was:" >&592249 cat conftest.$ac_ext >&592250 rm -rf conftest*92251 eval "ac_cv_lib_$ac_lib_var=no"92252 fi92253 rm -f conftest*92254 LIBS="$ac_save_LIBS"92255 92256 fi92257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then92258 echo "$ac_t""yes" 1>&692259 found=yes92260 else92261 echo "$ac_t""no" 1>&692262 found=no92263 fi92264 92265 92266 fi92267 92268 92269 if test "$found" = "yes"; then92270 ac_libs=$LIBS92271 LIBS="$LIBS -lbind"92272 if test "$cross_compiling" = yes; then92273 found=no92274 else92275 cat > conftest.$ac_ext <<EOF92276 #line 92277 "configure"92277 #include "confdefs.h"92278 main() { return (0); }92279 EOF92280 if { (eval echo configure:92281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92281 then92282 found=yes92283 else92284 echo "configure: failed program was:" >&592285 cat conftest.$ac_ext >&592286 rm -fr conftest*92287 found=no92288 fi92289 rm -fr conftest*92290 fi92291 92292 LIBS=$ac_libs92293 fi92294 92295 if test "$found" = "yes"; then92296 92297 92298 case bind in92299 c|c_r|pthread*) ;;92300 *)92301 LIBS="-lbind $LIBS"92302 ;;92303 esac92304 92305 92306 cat >> confdefs.h <<\EOF92307 #define HAVE_RES_NMKQUERY 192308 EOF92309 92310 cat >> confdefs.h <<\EOF92311 #define HAVE_LIBBIND 192312 EOF92313 92314 ac_cv_func_res_nmkquery=yes92315 else92316 92317 92318 92182 unset ac_cv_lib_socket_res_nmkquery 92319 92183 unset ac_cv_lib_socket___res_nmkquery 92320 92184 unset found 92321 92185 echo $ac_n "checking for res_nmkquery in -lsocket""... $ac_c" 1>&6 92322 echo "configure:92 323: checking for res_nmkquery in -lsocket" >&592186 echo "configure:92187: checking for res_nmkquery in -lsocket" >&5 92323 92187 ac_lib_var=`echo socket'_'res_nmkquery | sed 'y%./+-%__p_%'` 92324 92188 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92325 92189 echo $ac_n "(cached) $ac_c" 1>&6 … … 92327 92191 ac_save_LIBS="$LIBS" 92328 92192 LIBS="-lsocket $LIBS" 92329 92193 cat > conftest.$ac_ext <<EOF 92330 #line 92 331"configure"92194 #line 92195 "configure" 92331 92195 #include "confdefs.h" 92332 92196 /* Override any gcc2 internal prototype to avoid an error. */ 92333 92197 /* We use char because int might match the return type of a gcc2 … … 92338 92202 res_nmkquery() 92339 92203 ; return 0; } 92340 92204 EOF 92341 if { (eval echo configure:92 342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92205 if { (eval echo configure:92206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92342 92206 rm -rf conftest* 92343 92207 eval "ac_cv_lib_$ac_lib_var=yes" 92344 92208 else … … 92358 92222 echo "$ac_t""no" 1>&6 92359 92223 92360 92224 echo $ac_n "checking for __res_nmkquery in -lsocket""... $ac_c" 1>&6 92361 echo "configure:92 362: checking for __res_nmkquery in -lsocket" >&592225 echo "configure:92226: checking for __res_nmkquery in -lsocket" >&5 92362 92226 ac_lib_var=`echo socket'_'__res_nmkquery | sed 'y%./+-%__p_%'` 92363 92227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92364 92228 echo $ac_n "(cached) $ac_c" 1>&6 … … 92366 92230 ac_save_LIBS="$LIBS" 92367 92231 LIBS="-lsocket $LIBS" 92368 92232 cat > conftest.$ac_ext <<EOF 92369 #line 92 370"configure"92233 #line 92234 "configure" 92370 92234 #include "confdefs.h" 92371 92235 /* Override any gcc2 internal prototype to avoid an error. */ 92372 92236 /* We use char because int might match the return type of a gcc2 … … 92377 92241 __res_nmkquery() 92378 92242 ; return 0; } 92379 92243 EOF 92380 if { (eval echo configure:92 381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92244 if { (eval echo configure:92245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92381 92245 rm -rf conftest* 92382 92246 eval "ac_cv_lib_$ac_lib_var=yes" 92383 92247 else … … 92409 92273 found=no 92410 92274 else 92411 92275 cat > conftest.$ac_ext <<EOF 92412 #line 92 413"configure"92276 #line 92277 "configure" 92413 92277 #include "confdefs.h" 92414 92278 main() { return (0); } 92415 92279 EOF 92416 if { (eval echo configure:92 417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92280 if { (eval echo configure:92281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 92417 92281 then 92418 92282 found=yes 92419 92283 else … … 92457 92321 92458 92322 fi 92459 92323 92460 92461 fi92462 92463 92324 ;; 92464 92325 92465 92326 esac … … 92470 92331 unset found 92471 92332 92472 92333 echo $ac_n "checking for res_nsend""... $ac_c" 1>&6 92473 echo "configure:92 474: checking for res_nsend" >&592334 echo "configure:92335: checking for res_nsend" >&5 92474 92335 if eval "test \"`echo '$''{'ac_cv_func_res_nsend'+set}'`\" = set"; then 92475 92336 echo $ac_n "(cached) $ac_c" 1>&6 92476 92337 else 92477 92338 cat > conftest.$ac_ext <<EOF 92478 #line 92 479"configure"92339 #line 92340 "configure" 92479 92340 #include "confdefs.h" 92480 92341 /* System header to define __stub macros and hopefully few prototypes, 92481 92342 which can conflict with char res_nsend(); below. */ … … 92498 92359 92499 92360 ; return 0; } 92500 92361 EOF 92501 if { (eval echo configure:92 502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92362 if { (eval echo configure:92363: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92502 92363 rm -rf conftest* 92503 92364 eval "ac_cv_func_res_nsend=yes" 92504 92365 else … … 92516 92377 else 92517 92378 echo "$ac_t""no" 1>&6 92518 92379 echo $ac_n "checking for __res_nsend""... $ac_c" 1>&6 92519 echo "configure:92 520: checking for __res_nsend" >&592380 echo "configure:92381: checking for __res_nsend" >&5 92520 92381 if eval "test \"`echo '$''{'ac_cv_func___res_nsend'+set}'`\" = set"; then 92521 92382 echo $ac_n "(cached) $ac_c" 1>&6 92522 92383 else 92523 92384 cat > conftest.$ac_ext <<EOF 92524 #line 92 525"configure"92385 #line 92386 "configure" 92525 92386 #include "confdefs.h" 92526 92387 /* System header to define __stub macros and hopefully few prototypes, 92527 92388 which can conflict with char __res_nsend(); below. */ … … 92544 92405 92545 92406 ; return 0; } 92546 92407 EOF 92547 if { (eval echo configure:92 548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92408 if { (eval echo configure:92409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92548 92409 rm -rf conftest* 92549 92410 eval "ac_cv_func___res_nsend=yes" 92550 92411 else … … 92582 92443 unset ac_cv_lib_resolv___res_nsend 92583 92444 unset found 92584 92445 echo $ac_n "checking for res_nsend in -lresolv""... $ac_c" 1>&6 92585 echo "configure:92 586: checking for res_nsend in -lresolv" >&592446 echo "configure:92447: checking for res_nsend in -lresolv" >&5 92586 92447 ac_lib_var=`echo resolv'_'res_nsend | sed 'y%./+-%__p_%'` 92587 92448 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92588 92449 echo $ac_n "(cached) $ac_c" 1>&6 … … 92590 92451 ac_save_LIBS="$LIBS" 92591 92452 LIBS="-lresolv $LIBS" 92592 92453 cat > conftest.$ac_ext <<EOF 92593 #line 92 594"configure"92454 #line 92455 "configure" 92594 92455 #include "confdefs.h" 92595 92456 /* Override any gcc2 internal prototype to avoid an error. */ 92596 92457 /* We use char because int might match the return type of a gcc2 … … 92601 92462 res_nsend() 92602 92463 ; return 0; } 92603 92464 EOF 92604 if { (eval echo configure:92 605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92465 if { (eval echo configure:92466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92605 92466 rm -rf conftest* 92606 92467 eval "ac_cv_lib_$ac_lib_var=yes" 92607 92468 else … … 92621 92482 echo "$ac_t""no" 1>&6 92622 92483 92623 92484 echo $ac_n "checking for __res_nsend in -lresolv""... $ac_c" 1>&6 92624 echo "configure:92 625: checking for __res_nsend in -lresolv" >&592485 echo "configure:92486: checking for __res_nsend in -lresolv" >&5 92625 92486 ac_lib_var=`echo resolv'_'__res_nsend | sed 'y%./+-%__p_%'` 92626 92487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92627 92488 echo $ac_n "(cached) $ac_c" 1>&6 … … 92629 92490 ac_save_LIBS="$LIBS" 92630 92491 LIBS="-lresolv $LIBS" 92631 92492 cat > conftest.$ac_ext <<EOF 92632 #line 92 633"configure"92493 #line 92494 "configure" 92633 92494 #include "confdefs.h" 92634 92495 /* Override any gcc2 internal prototype to avoid an error. */ 92635 92496 /* We use char because int might match the return type of a gcc2 … … 92640 92501 __res_nsend() 92641 92502 ; return 0; } 92642 92503 EOF 92643 if { (eval echo configure:92 644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92504 if { (eval echo configure:92505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92644 92505 rm -rf conftest* 92645 92506 eval "ac_cv_lib_$ac_lib_var=yes" 92646 92507 else … … 92672 92533 found=no 92673 92534 else 92674 92535 cat > conftest.$ac_ext <<EOF 92675 #line 92 676"configure"92536 #line 92537 "configure" 92676 92537 #include "confdefs.h" 92677 92538 main() { return (0); } 92678 92539 EOF 92679 if { (eval echo configure:92 680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92540 if { (eval echo configure:92541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 92680 92541 then 92681 92542 found=yes 92682 92543 else … … 92714 92575 else 92715 92576 92716 92577 92717 unset ac_cv_lib_bind_res_nsend92718 unset ac_cv_lib_bind___res_nsend92719 unset found92720 echo $ac_n "checking for res_nsend in -lbind""... $ac_c" 1>&692721 echo "configure:92722: checking for res_nsend in -lbind" >&592722 ac_lib_var=`echo bind'_'res_nsend | sed 'y%./+-%__p_%'`92723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then92724 echo $ac_n "(cached) $ac_c" 1>&692725 else92726 ac_save_LIBS="$LIBS"92727 LIBS="-lbind $LIBS"92728 cat > conftest.$ac_ext <<EOF92729 #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 gcc292733 builtin and then its argument prototype would still apply. */92734 char res_nsend();92735 92736 int main() {92737 res_nsend()92738 ; return 0; }92739 EOF92740 if { (eval echo configure:92741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92741 rm -rf conftest*92742 eval "ac_cv_lib_$ac_lib_var=yes"92743 else92744 echo "configure: failed program was:" >&592745 cat conftest.$ac_ext >&592746 rm -rf conftest*92747 eval "ac_cv_lib_$ac_lib_var=no"92748 fi92749 rm -f conftest*92750 LIBS="$ac_save_LIBS"92751 92752 fi92753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then92754 echo "$ac_t""yes" 1>&692755 found=yes92756 else92757 echo "$ac_t""no" 1>&692758 92759 echo $ac_n "checking for __res_nsend in -lbind""... $ac_c" 1>&692760 echo "configure:92761: checking for __res_nsend in -lbind" >&592761 ac_lib_var=`echo bind'_'__res_nsend | sed 'y%./+-%__p_%'`92762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then92763 echo $ac_n "(cached) $ac_c" 1>&692764 else92765 ac_save_LIBS="$LIBS"92766 LIBS="-lbind $LIBS"92767 cat > conftest.$ac_ext <<EOF92768 #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 gcc292772 builtin and then its argument prototype would still apply. */92773 char __res_nsend();92774 92775 int main() {92776 __res_nsend()92777 ; return 0; }92778 EOF92779 if { (eval echo configure:92780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92780 rm -rf conftest*92781 eval "ac_cv_lib_$ac_lib_var=yes"92782 else92783 echo "configure: failed program was:" >&592784 cat conftest.$ac_ext >&592785 rm -rf conftest*92786 eval "ac_cv_lib_$ac_lib_var=no"92787 fi92788 rm -f conftest*92789 LIBS="$ac_save_LIBS"92790 92791 fi92792 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then92793 echo "$ac_t""yes" 1>&692794 found=yes92795 else92796 echo "$ac_t""no" 1>&692797 found=no92798 fi92799 92800 92801 fi92802 92803 92804 if test "$found" = "yes"; then92805 ac_libs=$LIBS92806 LIBS="$LIBS -lbind"92807 if test "$cross_compiling" = yes; then92808 found=no92809 else92810 cat > conftest.$ac_ext <<EOF92811 #line 92812 "configure"92812 #include "confdefs.h"92813 main() { return (0); }92814 EOF92815 if { (eval echo configure:92816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92816 then92817 found=yes92818 else92819 echo "configure: failed program was:" >&592820 cat conftest.$ac_ext >&592821 rm -fr conftest*92822 found=no92823 fi92824 rm -fr conftest*92825 fi92826 92827 LIBS=$ac_libs92828 fi92829 92830 if test "$found" = "yes"; then92831 92832 92833 case bind in92834 c|c_r|pthread*) ;;92835 *)92836 LIBS="-lbind $LIBS"92837 ;;92838 esac92839 92840 92841 cat >> confdefs.h <<\EOF92842 #define HAVE_RES_NSEND 192843 EOF92844 92845 cat >> confdefs.h <<\EOF92846 #define HAVE_LIBBIND 192847 EOF92848 92849 ac_cv_func_res_nsend=yes92850 else92851 92852 92853 92578 unset ac_cv_lib_socket_res_nsend 92854 92579 unset ac_cv_lib_socket___res_nsend 92855 92580 unset found 92856 92581 echo $ac_n "checking for res_nsend in -lsocket""... $ac_c" 1>&6 92857 echo "configure:92 858: checking for res_nsend in -lsocket" >&592582 echo "configure:92583: checking for res_nsend in -lsocket" >&5 92858 92583 ac_lib_var=`echo socket'_'res_nsend | sed 'y%./+-%__p_%'` 92859 92584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92860 92585 echo $ac_n "(cached) $ac_c" 1>&6 … … 92862 92587 ac_save_LIBS="$LIBS" 92863 92588 LIBS="-lsocket $LIBS" 92864 92589 cat > conftest.$ac_ext <<EOF 92865 #line 92 866"configure"92590 #line 92591 "configure" 92866 92591 #include "confdefs.h" 92867 92592 /* Override any gcc2 internal prototype to avoid an error. */ 92868 92593 /* We use char because int might match the return type of a gcc2 … … 92873 92598 res_nsend() 92874 92599 ; return 0; } 92875 92600 EOF 92876 if { (eval echo configure:92 877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92601 if { (eval echo configure:92602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92877 92602 rm -rf conftest* 92878 92603 eval "ac_cv_lib_$ac_lib_var=yes" 92879 92604 else … … 92893 92618 echo "$ac_t""no" 1>&6 92894 92619 92895 92620 echo $ac_n "checking for __res_nsend in -lsocket""... $ac_c" 1>&6 92896 echo "configure:92 897: checking for __res_nsend in -lsocket" >&592621 echo "configure:92622: checking for __res_nsend in -lsocket" >&5 92897 92622 ac_lib_var=`echo socket'_'__res_nsend | sed 'y%./+-%__p_%'` 92898 92623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 92899 92624 echo $ac_n "(cached) $ac_c" 1>&6 … … 92901 92626 ac_save_LIBS="$LIBS" 92902 92627 LIBS="-lsocket $LIBS" 92903 92628 cat > conftest.$ac_ext <<EOF 92904 #line 92 905"configure"92629 #line 92630 "configure" 92905 92630 #include "confdefs.h" 92906 92631 /* Override any gcc2 internal prototype to avoid an error. */ 92907 92632 /* We use char because int might match the return type of a gcc2 … … 92912 92637 __res_nsend() 92913 92638 ; return 0; } 92914 92639 EOF 92915 if { (eval echo configure:92 916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92640 if { (eval echo configure:92641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 92916 92641 rm -rf conftest* 92917 92642 eval "ac_cv_lib_$ac_lib_var=yes" 92918 92643 else … … 92944 92669 found=no 92945 92670 else 92946 92671 cat > conftest.$ac_ext <<EOF 92947 #line 92 948"configure"92672 #line 92673 "configure" 92948 92673 #include "confdefs.h" 92949 92674 main() { return (0); } 92950 92675 EOF 92951 if { (eval echo configure:92 952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92676 if { (eval echo configure:92677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 92952 92677 then 92953 92678 found=yes 92954 92679 else … … 92992 92717 92993 92718 fi 92994 92719 92995 92996 fi92997 92998 92720 ;; 92999 92721 93000 92722 esac … … 93005 92727 unset found 93006 92728 93007 92729 echo $ac_n "checking for dn_expand""... $ac_c" 1>&6 93008 echo "configure:9 3009: checking for dn_expand" >&592730 echo "configure:92731: checking for dn_expand" >&5 93009 92731 if eval "test \"`echo '$''{'ac_cv_func_dn_expand'+set}'`\" = set"; then 93010 92732 echo $ac_n "(cached) $ac_c" 1>&6 93011 92733 else 93012 92734 cat > conftest.$ac_ext <<EOF 93013 #line 9 3014"configure"92735 #line 92736 "configure" 93014 92736 #include "confdefs.h" 93015 92737 /* System header to define __stub macros and hopefully few prototypes, 93016 92738 which can conflict with char dn_expand(); below. */ … … 93033 92755 93034 92756 ; return 0; } 93035 92757 EOF 93036 if { (eval echo configure:9 3037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92758 if { (eval echo configure:92759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 93037 92759 rm -rf conftest* 93038 92760 eval "ac_cv_func_dn_expand=yes" 93039 92761 else … … 93051 92773 else 93052 92774 echo "$ac_t""no" 1>&6 93053 92775 echo $ac_n "checking for __dn_expand""... $ac_c" 1>&6 93054 echo "configure:9 3055: checking for __dn_expand" >&592776 echo "configure:92777: checking for __dn_expand" >&5 93055 92777 if eval "test \"`echo '$''{'ac_cv_func___dn_expand'+set}'`\" = set"; then 93056 92778 echo $ac_n "(cached) $ac_c" 1>&6 93057 92779 else 93058 92780 cat > conftest.$ac_ext <<EOF 93059 #line 9 3060"configure"92781 #line 92782 "configure" 93060 92782 #include "confdefs.h" 93061 92783 /* System header to define __stub macros and hopefully few prototypes, 93062 92784 which can conflict with char __dn_expand(); below. */ … … 93079 92801 93080 92802 ; return 0; } 93081 92803 EOF 93082 if { (eval echo configure:9 3083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92804 if { (eval echo configure:92805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 93083 92805 rm -rf conftest* 93084 92806 eval "ac_cv_func___dn_expand=yes" 93085 92807 else … … 93117 92839 unset ac_cv_lib_resolv___dn_expand 93118 92840 unset found 93119 92841 echo $ac_n "checking for dn_expand in -lresolv""... $ac_c" 1>&6 93120 echo "configure:9 3121: checking for dn_expand in -lresolv" >&592842 echo "configure:92843: checking for dn_expand in -lresolv" >&5 93121 92843 ac_lib_var=`echo resolv'_'dn_expand | sed 'y%./+-%__p_%'` 93122 92844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 93123 92845 echo $ac_n "(cached) $ac_c" 1>&6 … … 93125 92847 ac_save_LIBS="$LIBS" 93126 92848 LIBS="-lresolv $LIBS" 93127 92849 cat > conftest.$ac_ext <<EOF 93128 #line 9 3129"configure"92850 #line 92851 "configure" 93129 92851 #include "confdefs.h" 93130 92852 /* Override any gcc2 internal prototype to avoid an error. */ 93131 92853 /* We use char because int might match the return type of a gcc2 … … 93136 92858 dn_expand() 93137 92859 ; return 0; } 93138 92860 EOF 93139 if { (eval echo configure:9 3140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92861 if { (eval echo configure:92862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 93140 92862 rm -rf conftest* 93141 92863 eval "ac_cv_lib_$ac_lib_var=yes" 93142 92864 else … … 93156 92878 echo "$ac_t""no" 1>&6 93157 92879 93158 92880 echo $ac_n "checking for __dn_expand in -lresolv""... $ac_c" 1>&6 93159 echo "configure:9 3160: checking for __dn_expand in -lresolv" >&592881 echo "configure:92882: checking for __dn_expand in -lresolv" >&5 93160 92882 ac_lib_var=`echo resolv'_'__dn_expand | sed 'y%./+-%__p_%'` 93161 92883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 93162 92884 echo $ac_n "(cached) $ac_c" 1>&6 … … 93164 92886 ac_save_LIBS="$LIBS" 93165 92887 LIBS="-lresolv $LIBS" 93166 92888 cat > conftest.$ac_ext <<EOF 93167 #line 9 3168"configure"92889 #line 92890 "configure" 93168 92890 #include "confdefs.h" 93169 92891 /* Override any gcc2 internal prototype to avoid an error. */ 93170 92892 /* We use char because int might match the return type of a gcc2 … … 93175 92897 __dn_expand() 93176 92898 ; return 0; } 93177 92899 EOF 93178 if { (eval echo configure:9 3179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then92900 if { (eval echo configure:92901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 93179 92901 rm -rf conftest* 93180 92902 eval "ac_cv_lib_$ac_lib_var=yes" 93181 92903 else … … 93207 92929 found=no 93208 92930 else 93209 92931 cat > conftest.$ac_ext <<EOF 93210 #line 9 3211"configure"92932 #line 92933 "configure" 93211 92933 #include "confdefs.h" 93212 92934 main() { return (0); } 93213 92935 EOF 93214 if { (eval echo configure:9 3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null92936 if { (eval echo configure:92937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 93215 92937 then 93216 92938 found=yes 93217 92939 else … … 93249 92971 else 93250 92972 93251 92973 93252 unset ac_cv_lib_bind_dn_expand93253 unset ac_cv_lib_bind___dn_expand93254 unset found93255 echo $ac_n "checking for dn_expand in -lbind""... $ac_c" 1>&693256 echo "configure:93257: checking for dn_expand in -lbind" >&593257 ac_lib_var=`echo bind'_'dn_expand | sed 'y%./+-%__p_%'`93258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then93259 echo $ac_n "(cached) $ac_c" 1>&693260 else93261 ac_save_LIBS="$LIBS"93262 LIBS="-lbind $LIBS"93263 cat > conftest.$ac_ext <<EOF93264 #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 gcc293268 builtin and then its argument prototype would still apply. */93269 char dn_expand();93270 93271 int main() {93272 dn_expand()93273 ; return 0; }93274 EOF93275 if { (eval echo configure:93276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then93276 rm -rf conftest*93277 eval "ac_cv_lib_$ac_lib_var=yes"93278 else93279 echo "configure: failed program was:" >&593280 cat conftest.$ac_ext >&593281 rm -rf conftest*93282 eval "ac_cv_lib_$ac_lib_var=no"93283 fi93284 rm -f conftest*93285 LIBS="$ac_save_LIBS"93286 93287 fi93288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then93289 echo "$ac_t""yes" 1>&693290 found=yes93291 else93292 echo "$ac_t""no" 1>&693293 93294 echo $ac_n "checking for __dn_expand in -lbind""... $ac_c" 1>&693295 echo "configure:93296: checking for __dn_expand in -lbind" >&593296 ac_lib_var=`echo bind'_'__dn_expand | sed 'y%./+-%__p_%'`93297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var

