configure (60484) | configure (61843) |
---|---|
1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. --- 39 unchanged lines hidden (view full) --- 48nonopt=NONE 49no_recursion= 50prefix=NONE 51program_prefix=NONE 52program_suffix=NONE 53program_transform_name=s,x,x, 54silent= 55site= | 1#! /bin/sh 2 3# Guess values for system-dependent variables and create Makefiles. 4# Generated automatically using autoconf version 2.13 5# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 6# 7# This configure script is free software; the Free Software Foundation 8# gives unlimited permission to copy, distribute and modify it. --- 39 unchanged lines hidden (view full) --- 48nonopt=NONE 49no_recursion= 50prefix=NONE 51program_prefix=NONE 52program_suffix=NONE 53program_transform_name=s,x,x, 54silent= 55site= |
56sitefile= | |
57srcdir= 58target=NONE 59verbose= 60x_includes=NONE 61x_libraries=NONE 62bindir='${exec_prefix}/bin' 63sbindir='${exec_prefix}/sbin' 64libexecdir='${exec_prefix}/libexec' --- 98 unchanged lines hidden (view full) --- 163 cat << EOF 164Usage: configure [options] [host] 165Options: [defaults in brackets after descriptions] 166Configuration: 167 --cache-file=FILE cache test results in FILE 168 --help print this message 169 --no-create do not create output files 170 --quiet, --silent do not print \`checking...' messages | 56srcdir= 57target=NONE 58verbose= 59x_includes=NONE 60x_libraries=NONE 61bindir='${exec_prefix}/bin' 62sbindir='${exec_prefix}/sbin' 63libexecdir='${exec_prefix}/libexec' --- 98 unchanged lines hidden (view full) --- 162 cat << EOF 163Usage: configure [options] [host] 164Options: [defaults in brackets after descriptions] 165Configuration: 166 --cache-file=FILE cache test results in FILE 167 --help print this message 168 --no-create do not create output files 169 --quiet, --silent do not print \`checking...' messages |
171 --site-file=FILE use FILE as the site file | |
172 --version print the version of autoconf that created configure 173Directory and file names: 174 --prefix=PREFIX install architecture-independent files in PREFIX 175 [$ac_default_prefix] 176 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 177 [same as prefix] 178 --bindir=DIR user executables in DIR [EPREFIX/bin] 179 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --- 154 unchanged lines hidden (view full) --- 334 | --sha=* | --sh=*) 335 sharedstatedir="$ac_optarg" ;; 336 337 -site | --site | --sit) 338 ac_prev=site ;; 339 -site=* | --site=* | --sit=*) 340 site="$ac_optarg" ;; 341 | 170 --version print the version of autoconf that created configure 171Directory and file names: 172 --prefix=PREFIX install architecture-independent files in PREFIX 173 [$ac_default_prefix] 174 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 175 [same as prefix] 176 --bindir=DIR user executables in DIR [EPREFIX/bin] 177 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] --- 154 unchanged lines hidden (view full) --- 332 | --sha=* | --sh=*) 333 sharedstatedir="$ac_optarg" ;; 334 335 -site | --site | --sit) 336 ac_prev=site ;; 337 -site=* | --site=* | --sit=*) 338 site="$ac_optarg" ;; 339 |
342 -site-file | --site-file | --site-fil | --site-fi | --site-f) 343 ac_prev=sitefile ;; 344 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*) 345 sitefile="$ac_optarg" ;; 346 | |
347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 348 ac_prev=srcdir ;; 349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 350 srcdir="$ac_optarg" ;; 351 352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 353 | --syscon | --sysco | --sysc | --sys | --sy) 354 ac_prev=sysconfdir ;; --- 149 unchanged lines hidden (view full) --- 504 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 505 else 506 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 507 fi 508fi 509srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 510 511# Prefer explicitly selected file to automatically selected ones. | 340 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 341 ac_prev=srcdir ;; 342 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 343 srcdir="$ac_optarg" ;; 344 345 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 346 | --syscon | --sysco | --sysc | --sys | --sy) 347 ac_prev=sysconfdir ;; --- 149 unchanged lines hidden (view full) --- 497 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 498 else 499 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 500 fi 501fi 502srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 503 504# Prefer explicitly selected file to automatically selected ones. |
512if test -z "$sitefile"; then 513 if test -z "$CONFIG_SITE"; then 514 if test "x$prefix" != xNONE; then 515 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 516 else 517 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 518 fi | 505if test -z "$CONFIG_SITE"; then 506 if test "x$prefix" != xNONE; then 507 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" 508 else 509 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
519 fi | 510 fi |
520else 521 CONFIG_SITE="$sitefile" | |
522fi 523for ac_site_file in $CONFIG_SITE; do 524 if test -r "$ac_site_file"; then 525 echo "loading site script $ac_site_file" 526 . "$ac_site_file" 527 fi 528done 529 --- 70 unchanged lines hidden (view full) --- 600 601 602# Make sure we can run config.sub. 603if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 604else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 605fi 606 607echo $ac_n "checking host system type""... $ac_c" 1>&6 | 511fi 512for ac_site_file in $CONFIG_SITE; do 513 if test -r "$ac_site_file"; then 514 echo "loading site script $ac_site_file" 515 . "$ac_site_file" 516 fi 517done 518 --- 70 unchanged lines hidden (view full) --- 589 590 591# Make sure we can run config.sub. 592if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : 593else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } 594fi 595 596echo $ac_n "checking host system type""... $ac_c" 1>&6 |
608echo "configure:609: checking host system type" >&5 | 597echo "configure:598: checking host system type" >&5 |
609 610host_alias=$host 611case "$host_alias" in 612NONE) 613 case $nonopt in 614 NONE) 615 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 616 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } --- 4 unchanged lines hidden (view full) --- 621 622host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 623host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 624host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 625host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 626echo "$ac_t""$host" 1>&6 627 628echo $ac_n "checking target system type""... $ac_c" 1>&6 | 598 599host_alias=$host 600case "$host_alias" in 601NONE) 602 case $nonopt in 603 NONE) 604 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : 605 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } --- 4 unchanged lines hidden (view full) --- 610 611host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` 612host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 613host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 614host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 615echo "$ac_t""$host" 1>&6 616 617echo $ac_n "checking target system type""... $ac_c" 1>&6 |
629echo "configure:630: checking target system type" >&5 | 618echo "configure:619: checking target system type" >&5 |
630 631target_alias=$target 632case "$target_alias" in 633NONE) 634 case $nonopt in 635 NONE) target_alias=$host_alias ;; 636 *) target_alias=$nonopt ;; 637 esac ;; 638esac 639 640target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 641target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 642target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 643target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 644echo "$ac_t""$target" 1>&6 645 646echo $ac_n "checking build system type""... $ac_c" 1>&6 | 619 620target_alias=$target 621case "$target_alias" in 622NONE) 623 case $nonopt in 624 NONE) target_alias=$host_alias ;; 625 *) target_alias=$nonopt ;; 626 esac ;; 627esac 628 629target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` 630target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 631target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 632target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 633echo "$ac_t""$target" 1>&6 634 635echo $ac_n "checking build system type""... $ac_c" 1>&6 |
647echo "configure:648: checking build system type" >&5 | 636echo "configure:637: checking build system type" >&5 |
648 649build_alias=$build 650case "$build_alias" in 651NONE) 652 case $nonopt in 653 NONE) build_alias=$host_alias ;; 654 *) build_alias=$nonopt ;; 655 esac ;; --- 8 unchanged lines hidden (view full) --- 664test "$host_alias" != "$target_alias" && 665 test "$program_prefix$program_suffix$program_transform_name" = \ 666 NONENONEs,x,x, && 667 program_prefix=${target_alias}- 668 669# Extract the first word of "gcc", so it can be a program name with args. 670set dummy gcc; ac_word=$2 671echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 637 638build_alias=$build 639case "$build_alias" in 640NONE) 641 case $nonopt in 642 NONE) build_alias=$host_alias ;; 643 *) build_alias=$nonopt ;; 644 esac ;; --- 8 unchanged lines hidden (view full) --- 653test "$host_alias" != "$target_alias" && 654 test "$program_prefix$program_suffix$program_transform_name" = \ 655 NONENONEs,x,x, && 656 program_prefix=${target_alias}- 657 658# Extract the first word of "gcc", so it can be a program name with args. 659set dummy gcc; ac_word=$2 660echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
672echo "configure:673: checking for $ac_word" >&5 | 661echo "configure:662: checking for $ac_word" >&5 |
673if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 674 echo $ac_n "(cached) $ac_c" 1>&6 675else 676 if test -n "$CC"; then 677 ac_cv_prog_CC="$CC" # Let the user override the test. 678else 679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 680 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 694else 695 echo "$ac_t""no" 1>&6 696fi 697 698if test -z "$CC"; then 699 # Extract the first word of "cc", so it can be a program name with args. 700set dummy cc; ac_word=$2 701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 662if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 663 echo $ac_n "(cached) $ac_c" 1>&6 664else 665 if test -n "$CC"; then 666 ac_cv_prog_CC="$CC" # Let the user override the test. 667else 668 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 669 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 683else 684 echo "$ac_t""no" 1>&6 685fi 686 687if test -z "$CC"; then 688 # Extract the first word of "cc", so it can be a program name with args. 689set dummy cc; ac_word=$2 690echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
702echo "configure:703: checking for $ac_word" >&5 | 691echo "configure:692: checking for $ac_word" >&5 |
703if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 704 echo $ac_n "(cached) $ac_c" 1>&6 705else 706 if test -n "$CC"; then 707 ac_cv_prog_CC="$CC" # Let the user override the test. 708else 709 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 710 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 745fi 746 747 if test -z "$CC"; then 748 case "`uname -s`" in 749 *win32* | *WIN32*) 750 # Extract the first word of "cl", so it can be a program name with args. 751set dummy cl; ac_word=$2 752echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 692if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 693 echo $ac_n "(cached) $ac_c" 1>&6 694else 695 if test -n "$CC"; then 696 ac_cv_prog_CC="$CC" # Let the user override the test. 697else 698 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 699 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 734fi 735 736 if test -z "$CC"; then 737 case "`uname -s`" in 738 *win32* | *WIN32*) 739 # Extract the first word of "cl", so it can be a program name with args. 740set dummy cl; ac_word=$2 741echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
753echo "configure:754: checking for $ac_word" >&5 | 742echo "configure:743: checking for $ac_word" >&5 |
754if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 755 echo $ac_n "(cached) $ac_c" 1>&6 756else 757 if test -n "$CC"; then 758 ac_cv_prog_CC="$CC" # Let the user override the test. 759else 760 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 761 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 777fi 778 ;; 779 esac 780 fi 781 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 782fi 783 784echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 743if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 744 echo $ac_n "(cached) $ac_c" 1>&6 745else 746 if test -n "$CC"; then 747 ac_cv_prog_CC="$CC" # Let the user override the test. 748else 749 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 750 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 766fi 767 ;; 768 esac 769 fi 770 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 771fi 772 773echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
785echo "configure:786: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 774echo "configure:775: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
786 787ac_ext=c 788# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 789ac_cpp='$CPP $CPPFLAGS' 790ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 791ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 792cross_compiling=$ac_cv_prog_cc_cross 793 794cat > conftest.$ac_ext << EOF 795 | 775 776ac_ext=c 777# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 778ac_cpp='$CPP $CPPFLAGS' 779ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 780ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 781cross_compiling=$ac_cv_prog_cc_cross 782 783cat > conftest.$ac_ext << EOF 784 |
796#line 797 "configure" | 785#line 786 "configure" |
797#include "confdefs.h" 798 799main(){return(0);} 800EOF | 786#include "confdefs.h" 787 788main(){return(0);} 789EOF |
801if { (eval echo configure:802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 790if { (eval echo configure:791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
802 ac_cv_prog_cc_works=yes 803 # If we can't run a trivial program, we are probably using a cross compiler. 804 if (./conftest; exit) 2>/dev/null; then 805 ac_cv_prog_cc_cross=no 806 else 807 ac_cv_prog_cc_cross=yes 808 fi 809else --- 9 unchanged lines hidden (view full) --- 819ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 820cross_compiling=$ac_cv_prog_cc_cross 821 822echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 823if test $ac_cv_prog_cc_works = no; then 824 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 825fi 826echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 791 ac_cv_prog_cc_works=yes 792 # If we can't run a trivial program, we are probably using a cross compiler. 793 if (./conftest; exit) 2>/dev/null; then 794 ac_cv_prog_cc_cross=no 795 else 796 ac_cv_prog_cc_cross=yes 797 fi 798else --- 9 unchanged lines hidden (view full) --- 808ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 809cross_compiling=$ac_cv_prog_cc_cross 810 811echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 812if test $ac_cv_prog_cc_works = no; then 813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 814fi 815echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
827echo "configure:828: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 816echo "configure:817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
828echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 829cross_compiling=$ac_cv_prog_cc_cross 830 831echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 817echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 818cross_compiling=$ac_cv_prog_cc_cross 819 820echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
832echo "configure:833: checking whether we are using GNU C" >&5 | 821echo "configure:822: checking whether we are using GNU C" >&5 |
833if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 834 echo $ac_n "(cached) $ac_c" 1>&6 835else 836 cat > conftest.c <<EOF 837#ifdef __GNUC__ 838 yes; 839#endif 840EOF | 822if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 823 echo $ac_n "(cached) $ac_c" 1>&6 824else 825 cat > conftest.c <<EOF 826#ifdef __GNUC__ 827 yes; 828#endif 829EOF |
841if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 830if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
842 ac_cv_prog_gcc=yes 843else 844 ac_cv_prog_gcc=no 845fi 846fi 847 848echo "$ac_t""$ac_cv_prog_gcc" 1>&6 849 850if test $ac_cv_prog_gcc = yes; then 851 GCC=yes 852else 853 GCC= 854fi 855 856ac_test_CFLAGS="${CFLAGS+set}" 857ac_save_CFLAGS="$CFLAGS" 858CFLAGS= 859echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 831 ac_cv_prog_gcc=yes 832else 833 ac_cv_prog_gcc=no 834fi 835fi 836 837echo "$ac_t""$ac_cv_prog_gcc" 1>&6 838 839if test $ac_cv_prog_gcc = yes; then 840 GCC=yes 841else 842 GCC= 843fi 844 845ac_test_CFLAGS="${CFLAGS+set}" 846ac_save_CFLAGS="$CFLAGS" 847CFLAGS= 848echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
860echo "configure:861: checking whether ${CC-cc} accepts -g" >&5 | 849echo "configure:850: checking whether ${CC-cc} accepts -g" >&5 |
861if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 862 echo $ac_n "(cached) $ac_c" 1>&6 863else 864 echo 'void f(){}' > conftest.c 865if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 866 ac_cv_prog_cc_g=yes 867else 868 ac_cv_prog_cc_g=no --- 15 unchanged lines hidden (view full) --- 884 if test "$GCC" = yes; then 885 CFLAGS="-O2" 886 else 887 CFLAGS= 888 fi 889fi 890 891echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 850if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 851 echo $ac_n "(cached) $ac_c" 1>&6 852else 853 echo 'void f(){}' > conftest.c 854if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 855 ac_cv_prog_cc_g=yes 856else 857 ac_cv_prog_cc_g=no --- 15 unchanged lines hidden (view full) --- 873 if test "$GCC" = yes; then 874 CFLAGS="-O2" 875 else 876 CFLAGS= 877 fi 878fi 879 880echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
892echo "configure:893: checking for POSIXized ISC" >&5 | 881echo "configure:882: checking for POSIXized ISC" >&5 |
893if test -d /etc/conf/kconfig.d && 894 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 895then 896 echo "$ac_t""yes" 1>&6 897 ISC=yes # If later tests want to check for ISC. 898 cat >> confdefs.h <<\EOF 899#define _POSIX_SOURCE 1 900EOF --- 16 unchanged lines hidden (view full) --- 917# SunOS /usr/etc/install 918# IRIX /sbin/install 919# AIX /bin/install 920# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 921# AFS /usr/afsws/bin/install, which mishandles nonexistent args 922# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 923# ./install, which can be erroneously created by make from ./install.sh. 924echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 882if test -d /etc/conf/kconfig.d && 883 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 884then 885 echo "$ac_t""yes" 1>&6 886 ISC=yes # If later tests want to check for ISC. 887 cat >> confdefs.h <<\EOF 888#define _POSIX_SOURCE 1 889EOF --- 16 unchanged lines hidden (view full) --- 906# SunOS /usr/etc/install 907# IRIX /sbin/install 908# AIX /bin/install 909# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 910# AFS /usr/afsws/bin/install, which mishandles nonexistent args 911# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 912# ./install, which can be erroneously created by make from ./install.sh. 913echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
925echo "configure:926: checking for a BSD compatible install" >&5 | 914echo "configure:915: checking for a BSD compatible install" >&5 |
926if test -z "$INSTALL"; then 927if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 928 echo $ac_n "(cached) $ac_c" 1>&6 929else 930 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 931 for ac_dir in $PATH; do 932 # Account for people who put trailing slashes in PATH elements. 933 case "$ac_dir/" in --- 36 unchanged lines hidden (view full) --- 970# It thinks the first close brace ends the variable substitution. 971test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 972 973test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 974 975test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 976 977echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 915if test -z "$INSTALL"; then 916if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 917 echo $ac_n "(cached) $ac_c" 1>&6 918else 919 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 920 for ac_dir in $PATH; do 921 # Account for people who put trailing slashes in PATH elements. 922 case "$ac_dir/" in --- 36 unchanged lines hidden (view full) --- 959# It thinks the first close brace ends the variable substitution. 960test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 961 962test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 963 964test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 965 966echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
978echo "configure:979: checking whether build environment is sane" >&5 | 967echo "configure:968: checking whether build environment is sane" >&5 |
979# Just in case 980sleep 1 981echo timestamp > conftestfile 982# Do `set' in a subshell so we don't clobber the current shell's 983# arguments. Must try -L first in case configure is actually a 984# symlink; some systems play weird games with the mod time of symlinks 985# (eg FreeBSD returns the mod time of the symlink's containing 986# directory). --- 40 unchanged lines hidden (view full) --- 1027# Use a double $ so make ignores it. 1028test "$program_suffix" != NONE && 1029 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 1030 1031# sed with no file args requires a program. 1032test "$program_transform_name" = "" && program_transform_name="s,x,x," 1033 1034echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 968# Just in case 969sleep 1 970echo timestamp > conftestfile 971# Do `set' in a subshell so we don't clobber the current shell's 972# arguments. Must try -L first in case configure is actually a 973# symlink; some systems play weird games with the mod time of symlinks 974# (eg FreeBSD returns the mod time of the symlink's containing 975# directory). --- 40 unchanged lines hidden (view full) --- 1016# Use a double $ so make ignores it. 1017test "$program_suffix" != NONE && 1018 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 1019 1020# sed with no file args requires a program. 1021test "$program_transform_name" = "" && program_transform_name="s,x,x," 1022 1023echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
1035echo "configure:1036: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 1024echo "configure:1025: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1036set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1037if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1038 echo $ac_n "(cached) $ac_c" 1>&6 1039else 1040 cat > conftestmake <<\EOF 1041all: 1042 @echo 'ac_maketemp="${MAKE}"' 1043EOF --- 12 unchanged lines hidden (view full) --- 1056else 1057 echo "$ac_t""no" 1>&6 1058 SET_MAKE="MAKE=${MAKE-make}" 1059fi 1060 1061 1062PACKAGE=bfd 1063 | 1025set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 1026if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 1027 echo $ac_n "(cached) $ac_c" 1>&6 1028else 1029 cat > conftestmake <<\EOF 1030all: 1031 @echo 'ac_maketemp="${MAKE}"' 1032EOF --- 12 unchanged lines hidden (view full) --- 1045else 1046 echo "$ac_t""no" 1>&6 1047 SET_MAKE="MAKE=${MAKE-make}" 1048fi 1049 1050 1051PACKAGE=bfd 1052 |
1064VERSION=2.9.5 | 1053VERSION=2.10 |
1065 1066if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1067 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1068fi 1069cat >> confdefs.h <<EOF 1070#define PACKAGE "$PACKAGE" 1071EOF 1072 1073cat >> confdefs.h <<EOF 1074#define VERSION "$VERSION" 1075EOF 1076 1077 1078 1079missing_dir=`cd $ac_aux_dir && pwd` 1080echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 1054 1055if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 1056 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 1057fi 1058cat >> confdefs.h <<EOF 1059#define PACKAGE "$PACKAGE" 1060EOF 1061 1062cat >> confdefs.h <<EOF 1063#define VERSION "$VERSION" 1064EOF 1065 1066 1067 1068missing_dir=`cd $ac_aux_dir && pwd` 1069echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
1081echo "configure:1082: checking for working aclocal" >&5 | 1070echo "configure:1071: checking for working aclocal" >&5 |
1082# Run test in a subshell; some versions of sh will print an error if 1083# an executable is not found, even if stderr is redirected. 1084# Redirect stdin to placate older versions of autoconf. Sigh. 1085if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1086 ACLOCAL=aclocal 1087 echo "$ac_t""found" 1>&6 1088else 1089 ACLOCAL="$missing_dir/missing aclocal" 1090 echo "$ac_t""missing" 1>&6 1091fi 1092 1093echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 1071# Run test in a subshell; some versions of sh will print an error if 1072# an executable is not found, even if stderr is redirected. 1073# Redirect stdin to placate older versions of autoconf. Sigh. 1074if (aclocal --version) < /dev/null > /dev/null 2>&1; then 1075 ACLOCAL=aclocal 1076 echo "$ac_t""found" 1>&6 1077else 1078 ACLOCAL="$missing_dir/missing aclocal" 1079 echo "$ac_t""missing" 1>&6 1080fi 1081 1082echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
1094echo "configure:1095: checking for working autoconf" >&5 | 1083echo "configure:1084: checking for working autoconf" >&5 |
1095# Run test in a subshell; some versions of sh will print an error if 1096# an executable is not found, even if stderr is redirected. 1097# Redirect stdin to placate older versions of autoconf. Sigh. 1098if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1099 AUTOCONF=autoconf 1100 echo "$ac_t""found" 1>&6 1101else 1102 AUTOCONF="$missing_dir/missing autoconf" 1103 echo "$ac_t""missing" 1>&6 1104fi 1105 1106echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 1084# Run test in a subshell; some versions of sh will print an error if 1085# an executable is not found, even if stderr is redirected. 1086# Redirect stdin to placate older versions of autoconf. Sigh. 1087if (autoconf --version) < /dev/null > /dev/null 2>&1; then 1088 AUTOCONF=autoconf 1089 echo "$ac_t""found" 1>&6 1090else 1091 AUTOCONF="$missing_dir/missing autoconf" 1092 echo "$ac_t""missing" 1>&6 1093fi 1094 1095echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
1107echo "configure:1108: checking for working automake" >&5 | 1096echo "configure:1097: checking for working automake" >&5 |
1108# Run test in a subshell; some versions of sh will print an error if 1109# an executable is not found, even if stderr is redirected. 1110# Redirect stdin to placate older versions of autoconf. Sigh. 1111if (automake --version) < /dev/null > /dev/null 2>&1; then 1112 AUTOMAKE=automake 1113 echo "$ac_t""found" 1>&6 1114else 1115 AUTOMAKE="$missing_dir/missing automake" 1116 echo "$ac_t""missing" 1>&6 1117fi 1118 1119echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 1097# Run test in a subshell; some versions of sh will print an error if 1098# an executable is not found, even if stderr is redirected. 1099# Redirect stdin to placate older versions of autoconf. Sigh. 1100if (automake --version) < /dev/null > /dev/null 2>&1; then 1101 AUTOMAKE=automake 1102 echo "$ac_t""found" 1>&6 1103else 1104 AUTOMAKE="$missing_dir/missing automake" 1105 echo "$ac_t""missing" 1>&6 1106fi 1107 1108echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
1120echo "configure:1121: checking for working autoheader" >&5 | 1109echo "configure:1110: checking for working autoheader" >&5 |
1121# Run test in a subshell; some versions of sh will print an error if 1122# an executable is not found, even if stderr is redirected. 1123# Redirect stdin to placate older versions of autoconf. Sigh. 1124if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1125 AUTOHEADER=autoheader 1126 echo "$ac_t""found" 1>&6 1127else 1128 AUTOHEADER="$missing_dir/missing autoheader" 1129 echo "$ac_t""missing" 1>&6 1130fi 1131 1132echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 1110# Run test in a subshell; some versions of sh will print an error if 1111# an executable is not found, even if stderr is redirected. 1112# Redirect stdin to placate older versions of autoconf. Sigh. 1113if (autoheader --version) < /dev/null > /dev/null 2>&1; then 1114 AUTOHEADER=autoheader 1115 echo "$ac_t""found" 1>&6 1116else 1117 AUTOHEADER="$missing_dir/missing autoheader" 1118 echo "$ac_t""missing" 1>&6 1119fi 1120 1121echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
1133echo "configure:1134: checking for working makeinfo" >&5 | 1122echo "configure:1123: checking for working makeinfo" >&5 |
1134# Run test in a subshell; some versions of sh will print an error if 1135# an executable is not found, even if stderr is redirected. 1136# Redirect stdin to placate older versions of autoconf. Sigh. 1137if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1138 MAKEINFO=makeinfo 1139 echo "$ac_t""found" 1>&6 1140else 1141 MAKEINFO="$missing_dir/missing makeinfo" --- 6 unchanged lines hidden (view full) --- 1148 ac_tool_prefix=${host_alias}- 1149else 1150 ac_tool_prefix= 1151fi 1152 1153# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1154set dummy ${ac_tool_prefix}ar; ac_word=$2 1155echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1123# Run test in a subshell; some versions of sh will print an error if 1124# an executable is not found, even if stderr is redirected. 1125# Redirect stdin to placate older versions of autoconf. Sigh. 1126if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 1127 MAKEINFO=makeinfo 1128 echo "$ac_t""found" 1>&6 1129else 1130 MAKEINFO="$missing_dir/missing makeinfo" --- 6 unchanged lines hidden (view full) --- 1137 ac_tool_prefix=${host_alias}- 1138else 1139 ac_tool_prefix= 1140fi 1141 1142# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. 1143set dummy ${ac_tool_prefix}ar; ac_word=$2 1144echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1156echo "configure:1157: checking for $ac_word" >&5 | 1145echo "configure:1146: checking for $ac_word" >&5 |
1157if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1158 echo $ac_n "(cached) $ac_c" 1>&6 1159else 1160 if test -n "$AR"; then 1161 ac_cv_prog_AR="$AR" # Let the user override the test. 1162else 1163 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1164 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1180 echo "$ac_t""no" 1>&6 1181fi 1182 1183 1184 1185# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1186set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1187echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1146if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then 1147 echo $ac_n "(cached) $ac_c" 1>&6 1148else 1149 if test -n "$AR"; then 1150 ac_cv_prog_AR="$AR" # Let the user override the test. 1151else 1152 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1153 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1169 echo "$ac_t""no" 1>&6 1170fi 1171 1172 1173 1174# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 1175set dummy ${ac_tool_prefix}ranlib; ac_word=$2 1176echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1188echo "configure:1189: checking for $ac_word" >&5 | 1177echo "configure:1178: checking for $ac_word" >&5 |
1189if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1190 echo $ac_n "(cached) $ac_c" 1>&6 1191else 1192 if test -n "$RANLIB"; then 1193 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1194else 1195 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1196 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1212fi 1213 1214 1215if test -z "$ac_cv_prog_RANLIB"; then 1216if test -n "$ac_tool_prefix"; then 1217 # Extract the first word of "ranlib", so it can be a program name with args. 1218set dummy ranlib; ac_word=$2 1219echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1178if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1179 echo $ac_n "(cached) $ac_c" 1>&6 1180else 1181 if test -n "$RANLIB"; then 1182 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1183else 1184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1185 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1201fi 1202 1203 1204if test -z "$ac_cv_prog_RANLIB"; then 1205if test -n "$ac_tool_prefix"; then 1206 # Extract the first word of "ranlib", so it can be a program name with args. 1207set dummy ranlib; ac_word=$2 1208echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1220echo "configure:1221: checking for $ac_word" >&5 | 1209echo "configure:1210: checking for $ac_word" >&5 |
1221if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1222 echo $ac_n "(cached) $ac_c" 1>&6 1223else 1224 if test -n "$RANLIB"; then 1225 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1226else 1227 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1228 ac_dummy="$PATH" --- 89 unchanged lines hidden (view full) --- 1318esac 1319else 1320 enable_fast_install=yes 1321fi 1322 1323# Extract the first word of "ranlib", so it can be a program name with args. 1324set dummy ranlib; ac_word=$2 1325echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1210if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1211 echo $ac_n "(cached) $ac_c" 1>&6 1212else 1213 if test -n "$RANLIB"; then 1214 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1215else 1216 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1217 ac_dummy="$PATH" --- 89 unchanged lines hidden (view full) --- 1307esac 1308else 1309 enable_fast_install=yes 1310fi 1311 1312# Extract the first word of "ranlib", so it can be a program name with args. 1313set dummy ranlib; ac_word=$2 1314echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1326echo "configure:1327: checking for $ac_word" >&5 | 1315echo "configure:1316: checking for $ac_word" >&5 |
1327if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1328 echo $ac_n "(cached) $ac_c" 1>&6 1329else 1330 if test -n "$RANLIB"; then 1331 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1332else 1333 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1334 ac_dummy="$PATH" --- 22 unchanged lines hidden (view full) --- 1357else 1358 with_gnu_ld=no 1359fi 1360 1361ac_prog=ld 1362if test "$ac_cv_prog_gcc" = yes; then 1363 # Check if gcc -print-prog-name=ld gives a path. 1364 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | 1316if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then 1317 echo $ac_n "(cached) $ac_c" 1>&6 1318else 1319 if test -n "$RANLIB"; then 1320 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 1321else 1322 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1323 ac_dummy="$PATH" --- 22 unchanged lines hidden (view full) --- 1346else 1347 with_gnu_ld=no 1348fi 1349 1350ac_prog=ld 1351if test "$ac_cv_prog_gcc" = yes; then 1352 # Check if gcc -print-prog-name=ld gives a path. 1353 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
1365echo "configure:1366: checking for ld used by GCC" >&5 | 1354echo "configure:1355: checking for ld used by GCC" >&5 |
1366 ac_prog=`($CC -print-prog-name=ld) 2>&5` 1367 case "$ac_prog" in 1368 # Accept absolute paths. 1369 [\\/]* | [A-Za-z]:[\\/]*) 1370 re_direlt='/[^/][^/]*/\.\./' 1371 # Canonicalize the path of ld 1372 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 1373 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do --- 7 unchanged lines hidden (view full) --- 1381 ;; 1382 *) 1383 # If it is relative, then search for the first ld in PATH. 1384 with_gnu_ld=unknown 1385 ;; 1386 esac 1387elif test "$with_gnu_ld" = yes; then 1388 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | 1355 ac_prog=`($CC -print-prog-name=ld) 2>&5` 1356 case "$ac_prog" in 1357 # Accept absolute paths. 1358 [\\/]* | [A-Za-z]:[\\/]*) 1359 re_direlt='/[^/][^/]*/\.\./' 1360 # Canonicalize the path of ld 1361 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 1362 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do --- 7 unchanged lines hidden (view full) --- 1370 ;; 1371 *) 1372 # If it is relative, then search for the first ld in PATH. 1373 with_gnu_ld=unknown 1374 ;; 1375 esac 1376elif test "$with_gnu_ld" = yes; then 1377 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
1389echo "configure:1390: checking for GNU ld" >&5 | 1378echo "configure:1379: checking for GNU ld" >&5 |
1390else 1391 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | 1379else 1380 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
1392echo "configure:1393: checking for non-GNU ld" >&5 | 1381echo "configure:1382: checking for non-GNU ld" >&5 |
1393fi 1394if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then 1395 echo $ac_n "(cached) $ac_c" 1>&6 1396else 1397 if test -z "$LD"; then 1398 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1399 for ac_dir in $PATH; do 1400 test -z "$ac_dir" && ac_dir=. --- 18 unchanged lines hidden (view full) --- 1419LD="$ac_cv_path_LD" 1420if test -n "$LD"; then 1421 echo "$ac_t""$LD" 1>&6 1422else 1423 echo "$ac_t""no" 1>&6 1424fi 1425test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1426echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | 1382fi 1383if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then 1384 echo $ac_n "(cached) $ac_c" 1>&6 1385else 1386 if test -z "$LD"; then 1387 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 1388 for ac_dir in $PATH; do 1389 test -z "$ac_dir" && ac_dir=. --- 18 unchanged lines hidden (view full) --- 1408LD="$ac_cv_path_LD" 1409if test -n "$LD"; then 1410 echo "$ac_t""$LD" 1>&6 1411else 1412 echo "$ac_t""no" 1>&6 1413fi 1414test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } 1415echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
1427echo "configure:1428: checking if the linker ($LD) is GNU ld" >&5 | 1416echo "configure:1417: checking if the linker ($LD) is GNU ld" >&5 |
1428if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then 1429 echo $ac_n "(cached) $ac_c" 1>&6 1430else 1431 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1432if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1433 ac_cv_prog_gnu_ld=yes 1434else 1435 ac_cv_prog_gnu_ld=no 1436fi 1437fi 1438 1439echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1440 1441 1442echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | 1417if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then 1418 echo $ac_n "(cached) $ac_c" 1>&6 1419else 1420 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 1421if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then 1422 ac_cv_prog_gnu_ld=yes 1423else 1424 ac_cv_prog_gnu_ld=no 1425fi 1426fi 1427 1428echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 1429 1430 1431echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
1443echo "configure:1444: checking for BSD-compatible nm" >&5 | 1432echo "configure:1433: checking for BSD-compatible nm" >&5 |
1444if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then 1445 echo $ac_n "(cached) $ac_c" 1>&6 1446else 1447 if test -n "$NM"; then 1448 # Let the user override the test. 1449 ac_cv_path_NM="$NM" 1450else 1451 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" --- 19 unchanged lines hidden (view full) --- 1471 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm 1472fi 1473fi 1474 1475NM="$ac_cv_path_NM" 1476echo "$ac_t""$NM" 1>&6 1477 1478echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1433if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then 1434 echo $ac_n "(cached) $ac_c" 1>&6 1435else 1436 if test -n "$NM"; then 1437 # Let the user override the test. 1438 ac_cv_path_NM="$NM" 1439else 1440 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" --- 19 unchanged lines hidden (view full) --- 1460 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm 1461fi 1462fi 1463 1464NM="$ac_cv_path_NM" 1465echo "$ac_t""$NM" 1>&6 1466 1467echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1479echo "configure:1480: checking whether ln -s works" >&5 | 1468echo "configure:1469: checking whether ln -s works" >&5 |
1480if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1481 echo $ac_n "(cached) $ac_c" 1>&6 1482else 1483 rm -f conftestdata 1484if ln -s X conftestdata 2>/dev/null 1485then 1486 rm -f conftestdata 1487 ac_cv_prog_LN_S="ln -s" --- 32 unchanged lines hidden (view full) --- 1520test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1521test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1522 1523# Some flags need to be propagated to the compiler or linker for good 1524# libtool support. 1525case "$lt_target" in 1526*-*-irix6*) 1527 # Find out which ABI we are using. | 1469if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1470 echo $ac_n "(cached) $ac_c" 1>&6 1471else 1472 rm -f conftestdata 1473if ln -s X conftestdata 2>/dev/null 1474then 1475 rm -f conftestdata 1476 ac_cv_prog_LN_S="ln -s" --- 32 unchanged lines hidden (view full) --- 1509test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock" 1510test x"$silent" = xyes && libtool_flags="$libtool_flags --silent" 1511 1512# Some flags need to be propagated to the compiler or linker for good 1513# libtool support. 1514case "$lt_target" in 1515*-*-irix6*) 1516 # Find out which ABI we are using. |
1528 echo '#line 1529 "configure"' > conftest.$ac_ext 1529 if { (eval echo configure:1530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1517 echo '#line 1518 "configure"' > conftest.$ac_ext 1518 if { (eval echo configure:1519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1530 case "`/usr/bin/file conftest.o`" in 1531 *32-bit*) 1532 LD="${LD-ld} -32" 1533 ;; 1534 *N32*) 1535 LD="${LD-ld} -n32" 1536 ;; 1537 *64-bit*) --- 4 unchanged lines hidden (view full) --- 1542 rm -rf conftest* 1543 ;; 1544 1545*-*-sco3.2v5*) 1546 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1547 SAVE_CFLAGS="$CFLAGS" 1548 CFLAGS="$CFLAGS -belf" 1549 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | 1519 case "`/usr/bin/file conftest.o`" in 1520 *32-bit*) 1521 LD="${LD-ld} -32" 1522 ;; 1523 *N32*) 1524 LD="${LD-ld} -n32" 1525 ;; 1526 *64-bit*) --- 4 unchanged lines hidden (view full) --- 1531 rm -rf conftest* 1532 ;; 1533 1534*-*-sco3.2v5*) 1535 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 1536 SAVE_CFLAGS="$CFLAGS" 1537 CFLAGS="$CFLAGS -belf" 1538 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
1550echo "configure:1551: checking whether the C compiler needs -belf" >&5 | 1539echo "configure:1540: checking whether the C compiler needs -belf" >&5 |
1551if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1552 echo $ac_n "(cached) $ac_c" 1>&6 1553else 1554 cat > conftest.$ac_ext <<EOF | 1540if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then 1541 echo $ac_n "(cached) $ac_c" 1>&6 1542else 1543 cat > conftest.$ac_ext <<EOF |
1555#line 1556 "configure" | 1544#line 1545 "configure" |
1556#include "confdefs.h" 1557 1558int main() { 1559 1560; return 0; } 1561EOF | 1545#include "confdefs.h" 1546 1547int main() { 1548 1549; return 0; } 1550EOF |
1562if { (eval echo configure:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1551if { (eval echo configure:1552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1563 rm -rf conftest* 1564 lt_cv_cc_needs_belf=yes 1565else 1566 echo "configure: failed program was:" >&5 1567 cat conftest.$ac_ext >&5 1568 rm -rf conftest* 1569 lt_cv_cc_needs_belf=no 1570fi --- 155 unchanged lines hidden (view full) --- 1726test "$program_suffix" != NONE && 1727 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 1728 1729# sed with no file args requires a program. 1730test "$program_transform_name" = "" && program_transform_name="s,x,x," 1731 1732 1733echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 1552 rm -rf conftest* 1553 lt_cv_cc_needs_belf=yes 1554else 1555 echo "configure: failed program was:" >&5 1556 cat conftest.$ac_ext >&5 1557 rm -rf conftest* 1558 lt_cv_cc_needs_belf=no 1559fi --- 155 unchanged lines hidden (view full) --- 1715test "$program_suffix" != NONE && 1716 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" 1717 1718# sed with no file args requires a program. 1719test "$program_transform_name" = "" && program_transform_name="s,x,x," 1720 1721 1722echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
1734echo "configure:1735: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 1723echo "configure:1724: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
1735 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1736if test "${enable_maintainer_mode+set}" = set; then 1737 enableval="$enable_maintainer_mode" 1738 USE_MAINTAINER_MODE=$enableval 1739else 1740 USE_MAINTAINER_MODE=no 1741fi 1742 --- 6 unchanged lines hidden (view full) --- 1749else 1750 MAINTAINER_MODE_TRUE='#' 1751 MAINTAINER_MODE_FALSE= 1752fi 1753 MAINT=$MAINTAINER_MODE_TRUE 1754 1755 1756echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 1724 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. 1725if test "${enable_maintainer_mode+set}" = set; then 1726 enableval="$enable_maintainer_mode" 1727 USE_MAINTAINER_MODE=$enableval 1728else 1729 USE_MAINTAINER_MODE=no 1730fi 1731 --- 6 unchanged lines hidden (view full) --- 1738else 1739 MAINTAINER_MODE_TRUE='#' 1740 MAINTAINER_MODE_FALSE= 1741fi 1742 MAINT=$MAINTAINER_MODE_TRUE 1743 1744 1745echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
1757echo "configure:1758: checking for Cygwin environment" >&5 | 1746echo "configure:1747: checking for Cygwin environment" >&5 |
1758if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 1759 echo $ac_n "(cached) $ac_c" 1>&6 1760else 1761 cat > conftest.$ac_ext <<EOF | 1747if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then 1748 echo $ac_n "(cached) $ac_c" 1>&6 1749else 1750 cat > conftest.$ac_ext <<EOF |
1762#line 1763 "configure" | 1751#line 1752 "configure" |
1763#include "confdefs.h" 1764 1765int main() { 1766 1767#ifndef __CYGWIN__ 1768#define __CYGWIN__ __CYGWIN32__ 1769#endif 1770return __CYGWIN__; 1771; return 0; } 1772EOF | 1752#include "confdefs.h" 1753 1754int main() { 1755 1756#ifndef __CYGWIN__ 1757#define __CYGWIN__ __CYGWIN32__ 1758#endif 1759return __CYGWIN__; 1760; return 0; } 1761EOF |
1773if { (eval echo configure:1774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1762if { (eval echo configure:1763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1774 rm -rf conftest* 1775 ac_cv_cygwin=yes 1776else 1777 echo "configure: failed program was:" >&5 1778 cat conftest.$ac_ext >&5 1779 rm -rf conftest* 1780 ac_cv_cygwin=no 1781fi 1782rm -f conftest* 1783rm -f conftest* 1784fi 1785 1786echo "$ac_t""$ac_cv_cygwin" 1>&6 1787CYGWIN= 1788test "$ac_cv_cygwin" = yes && CYGWIN=yes 1789echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 1763 rm -rf conftest* 1764 ac_cv_cygwin=yes 1765else 1766 echo "configure: failed program was:" >&5 1767 cat conftest.$ac_ext >&5 1768 rm -rf conftest* 1769 ac_cv_cygwin=no 1770fi 1771rm -f conftest* 1772rm -f conftest* 1773fi 1774 1775echo "$ac_t""$ac_cv_cygwin" 1>&6 1776CYGWIN= 1777test "$ac_cv_cygwin" = yes && CYGWIN=yes 1778echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
1790echo "configure:1791: checking for mingw32 environment" >&5 | 1779echo "configure:1780: checking for mingw32 environment" >&5 |
1791if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 1792 echo $ac_n "(cached) $ac_c" 1>&6 1793else 1794 cat > conftest.$ac_ext <<EOF | 1780if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then 1781 echo $ac_n "(cached) $ac_c" 1>&6 1782else 1783 cat > conftest.$ac_ext <<EOF |
1795#line 1796 "configure" | 1784#line 1785 "configure" |
1796#include "confdefs.h" 1797 1798int main() { 1799return __MINGW32__; 1800; return 0; } 1801EOF | 1785#include "confdefs.h" 1786 1787int main() { 1788return __MINGW32__; 1789; return 0; } 1790EOF |
1802if { (eval echo configure:1803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1791if { (eval echo configure:1792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1803 rm -rf conftest* 1804 ac_cv_mingw32=yes 1805else 1806 echo "configure: failed program was:" >&5 1807 cat conftest.$ac_ext >&5 1808 rm -rf conftest* 1809 ac_cv_mingw32=no 1810fi 1811rm -f conftest* 1812rm -f conftest* 1813fi 1814 1815echo "$ac_t""$ac_cv_mingw32" 1>&6 1816MINGW32= 1817test "$ac_cv_mingw32" = yes && MINGW32=yes 1818 1819 1820echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 1792 rm -rf conftest* 1793 ac_cv_mingw32=yes 1794else 1795 echo "configure: failed program was:" >&5 1796 cat conftest.$ac_ext >&5 1797 rm -rf conftest* 1798 ac_cv_mingw32=no 1799fi 1800rm -f conftest* 1801rm -f conftest* 1802fi 1803 1804echo "$ac_t""$ac_cv_mingw32" 1>&6 1805MINGW32= 1806test "$ac_cv_mingw32" = yes && MINGW32=yes 1807 1808 1809echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
1821echo "configure:1822: checking for executable suffix" >&5 | 1810echo "configure:1811: checking for executable suffix" >&5 |
1822if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1823 echo $ac_n "(cached) $ac_c" 1>&6 1824else 1825 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1826 ac_cv_exeext=.exe 1827else 1828 rm -f conftest* 1829 echo 'int main () { return 0; }' > conftest.$ac_ext 1830 ac_cv_exeext= | 1811if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then 1812 echo $ac_n "(cached) $ac_c" 1>&6 1813else 1814 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then 1815 ac_cv_exeext=.exe 1816else 1817 rm -f conftest* 1818 echo 'int main () { return 0; }' > conftest.$ac_ext 1819 ac_cv_exeext= |
1831 if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 1820 if { (eval echo configure:1821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
1832 for file in conftest.*; do 1833 case $file in | 1821 for file in conftest.*; do 1822 case $file in |
1834 *.c | *.o | *.obj | *.ilk | *.pdb) ;; | 1823 *.c | *.o | *.obj) ;; |
1835 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1836 esac 1837 done 1838 else 1839 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1840 fi 1841 rm -f conftest* 1842 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no --- 9 unchanged lines hidden (view full) --- 1852host64=false 1853target64=false 1854 1855# host stuff: 1856 1857# Extract the first word of "gcc", so it can be a program name with args. 1858set dummy gcc; ac_word=$2 1859echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1824 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; 1825 esac 1826 done 1827 else 1828 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } 1829 fi 1830 rm -f conftest* 1831 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no --- 9 unchanged lines hidden (view full) --- 1841host64=false 1842target64=false 1843 1844# host stuff: 1845 1846# Extract the first word of "gcc", so it can be a program name with args. 1847set dummy gcc; ac_word=$2 1848echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1860echo "configure:1861: checking for $ac_word" >&5 | 1849echo "configure:1850: checking for $ac_word" >&5 |
1861if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1862 echo $ac_n "(cached) $ac_c" 1>&6 1863else 1864 if test -n "$CC"; then 1865 ac_cv_prog_CC="$CC" # Let the user override the test. 1866else 1867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1868 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 1882else 1883 echo "$ac_t""no" 1>&6 1884fi 1885 1886if test -z "$CC"; then 1887 # Extract the first word of "cc", so it can be a program name with args. 1888set dummy cc; ac_word=$2 1889echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1850if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1851 echo $ac_n "(cached) $ac_c" 1>&6 1852else 1853 if test -n "$CC"; then 1854 ac_cv_prog_CC="$CC" # Let the user override the test. 1855else 1856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1857 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 1871else 1872 echo "$ac_t""no" 1>&6 1873fi 1874 1875if test -z "$CC"; then 1876 # Extract the first word of "cc", so it can be a program name with args. 1877set dummy cc; ac_word=$2 1878echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1890echo "configure:1891: checking for $ac_word" >&5 | 1879echo "configure:1880: checking for $ac_word" >&5 |
1891if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1892 echo $ac_n "(cached) $ac_c" 1>&6 1893else 1894 if test -n "$CC"; then 1895 ac_cv_prog_CC="$CC" # Let the user override the test. 1896else 1897 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1898 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 1933fi 1934 1935 if test -z "$CC"; then 1936 case "`uname -s`" in 1937 *win32* | *WIN32*) 1938 # Extract the first word of "cl", so it can be a program name with args. 1939set dummy cl; ac_word=$2 1940echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1880if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1881 echo $ac_n "(cached) $ac_c" 1>&6 1882else 1883 if test -n "$CC"; then 1884 ac_cv_prog_CC="$CC" # Let the user override the test. 1885else 1886 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1887 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 1922fi 1923 1924 if test -z "$CC"; then 1925 case "`uname -s`" in 1926 *win32* | *WIN32*) 1927 # Extract the first word of "cl", so it can be a program name with args. 1928set dummy cl; ac_word=$2 1929echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1941echo "configure:1942: checking for $ac_word" >&5 | 1930echo "configure:1931: checking for $ac_word" >&5 |
1942if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1943 echo $ac_n "(cached) $ac_c" 1>&6 1944else 1945 if test -n "$CC"; then 1946 ac_cv_prog_CC="$CC" # Let the user override the test. 1947else 1948 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1949 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1965fi 1966 ;; 1967 esac 1968 fi 1969 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1970fi 1971 1972echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1931if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 1932 echo $ac_n "(cached) $ac_c" 1>&6 1933else 1934 if test -n "$CC"; then 1935 ac_cv_prog_CC="$CC" # Let the user override the test. 1936else 1937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1938 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 1954fi 1955 ;; 1956 esac 1957 fi 1958 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 1959fi 1960 1961echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
1973echo "configure:1974: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1962echo "configure:1963: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
1974 1975ac_ext=c 1976# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1977ac_cpp='$CPP $CPPFLAGS' 1978ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1979ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1980cross_compiling=$ac_cv_prog_cc_cross 1981 1982cat > conftest.$ac_ext << EOF 1983 | 1963 1964ac_ext=c 1965# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1966ac_cpp='$CPP $CPPFLAGS' 1967ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1968ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1969cross_compiling=$ac_cv_prog_cc_cross 1970 1971cat > conftest.$ac_ext << EOF 1972 |
1984#line 1985 "configure" | 1973#line 1974 "configure" |
1985#include "confdefs.h" 1986 1987main(){return(0);} 1988EOF | 1974#include "confdefs.h" 1975 1976main(){return(0);} 1977EOF |
1989if { (eval echo configure:1990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1978if { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1990 ac_cv_prog_cc_works=yes 1991 # If we can't run a trivial program, we are probably using a cross compiler. 1992 if (./conftest; exit) 2>/dev/null; then 1993 ac_cv_prog_cc_cross=no 1994 else 1995 ac_cv_prog_cc_cross=yes 1996 fi 1997else --- 9 unchanged lines hidden (view full) --- 2007ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2008cross_compiling=$ac_cv_prog_cc_cross 2009 2010echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2011if test $ac_cv_prog_cc_works = no; then 2012 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2013fi 2014echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1979 ac_cv_prog_cc_works=yes 1980 # If we can't run a trivial program, we are probably using a cross compiler. 1981 if (./conftest; exit) 2>/dev/null; then 1982 ac_cv_prog_cc_cross=no 1983 else 1984 ac_cv_prog_cc_cross=yes 1985 fi 1986else --- 9 unchanged lines hidden (view full) --- 1996ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1997cross_compiling=$ac_cv_prog_cc_cross 1998 1999echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 2000if test $ac_cv_prog_cc_works = no; then 2001 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 2002fi 2003echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2015echo "configure:2016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 2004echo "configure:2005: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2016echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2017cross_compiling=$ac_cv_prog_cc_cross 2018 2019echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 2005echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 2006cross_compiling=$ac_cv_prog_cc_cross 2007 2008echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2020echo "configure:2021: checking whether we are using GNU C" >&5 | 2009echo "configure:2010: checking whether we are using GNU C" >&5 |
2021if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2022 echo $ac_n "(cached) $ac_c" 1>&6 2023else 2024 cat > conftest.c <<EOF 2025#ifdef __GNUC__ 2026 yes; 2027#endif 2028EOF | 2010if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 2011 echo $ac_n "(cached) $ac_c" 1>&6 2012else 2013 cat > conftest.c <<EOF 2014#ifdef __GNUC__ 2015 yes; 2016#endif 2017EOF |
2029if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 2018if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2030 ac_cv_prog_gcc=yes 2031else 2032 ac_cv_prog_gcc=no 2033fi 2034fi 2035 2036echo "$ac_t""$ac_cv_prog_gcc" 1>&6 2037 2038if test $ac_cv_prog_gcc = yes; then 2039 GCC=yes 2040else 2041 GCC= 2042fi 2043 2044ac_test_CFLAGS="${CFLAGS+set}" 2045ac_save_CFLAGS="$CFLAGS" 2046CFLAGS= 2047echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 2019 ac_cv_prog_gcc=yes 2020else 2021 ac_cv_prog_gcc=no 2022fi 2023fi 2024 2025echo "$ac_t""$ac_cv_prog_gcc" 1>&6 2026 2027if test $ac_cv_prog_gcc = yes; then 2028 GCC=yes 2029else 2030 GCC= 2031fi 2032 2033ac_test_CFLAGS="${CFLAGS+set}" 2034ac_save_CFLAGS="$CFLAGS" 2035CFLAGS= 2036echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2048echo "configure:2049: checking whether ${CC-cc} accepts -g" >&5 | 2037echo "configure:2038: checking whether ${CC-cc} accepts -g" >&5 |
2049if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2050 echo $ac_n "(cached) $ac_c" 1>&6 2051else 2052 echo 'void f(){}' > conftest.c 2053if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2054 ac_cv_prog_cc_g=yes 2055else 2056 ac_cv_prog_cc_g=no --- 17 unchanged lines hidden (view full) --- 2074 else 2075 CFLAGS= 2076 fi 2077fi 2078 2079 2080ALL_LINGUAS= 2081echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 2038if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 2039 echo $ac_n "(cached) $ac_c" 1>&6 2040else 2041 echo 'void f(){}' > conftest.c 2042if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 2043 ac_cv_prog_cc_g=yes 2044else 2045 ac_cv_prog_cc_g=no --- 17 unchanged lines hidden (view full) --- 2063 else 2064 CFLAGS= 2065 fi 2066fi 2067 2068 2069ALL_LINGUAS= 2070echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
2082echo "configure:2083: checking how to run the C preprocessor" >&5 | 2071echo "configure:2072: checking how to run the C preprocessor" >&5 |
2083# On Suns, sometimes $CPP names a directory. 2084if test -n "$CPP" && test -d "$CPP"; then 2085 CPP= 2086fi 2087if test -z "$CPP"; then 2088if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 2089 echo $ac_n "(cached) $ac_c" 1>&6 2090else 2091 # This must be in double quotes, not single quotes, because CPP may get 2092 # substituted into the Makefile and "${CC-cc}" will confuse make. 2093 CPP="${CC-cc} -E" 2094 # On the NeXT, cc -E runs the code through the compiler's parser, 2095 # not just through cpp. 2096 cat > conftest.$ac_ext <<EOF | 2072# On Suns, sometimes $CPP names a directory. 2073if test -n "$CPP" && test -d "$CPP"; then 2074 CPP= 2075fi 2076if test -z "$CPP"; then 2077if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 2078 echo $ac_n "(cached) $ac_c" 1>&6 2079else 2080 # This must be in double quotes, not single quotes, because CPP may get 2081 # substituted into the Makefile and "${CC-cc}" will confuse make. 2082 CPP="${CC-cc} -E" 2083 # On the NeXT, cc -E runs the code through the compiler's parser, 2084 # not just through cpp. 2085 cat > conftest.$ac_ext <<EOF |
2097#line 2098 "configure" | 2086#line 2087 "configure" |
2098#include "confdefs.h" 2099#include <assert.h> 2100Syntax Error 2101EOF 2102ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2087#include "confdefs.h" 2088#include <assert.h> 2089Syntax Error 2090EOF 2091ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2103{ (eval echo configure:2104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2092{ (eval echo configure:2093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2104ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2105if test -z "$ac_err"; then 2106 : 2107else 2108 echo "$ac_err" >&5 2109 echo "configure: failed program was:" >&5 2110 cat conftest.$ac_ext >&5 2111 rm -rf conftest* 2112 CPP="${CC-cc} -E -traditional-cpp" 2113 cat > conftest.$ac_ext <<EOF | 2093ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2094if test -z "$ac_err"; then 2095 : 2096else 2097 echo "$ac_err" >&5 2098 echo "configure: failed program was:" >&5 2099 cat conftest.$ac_ext >&5 2100 rm -rf conftest* 2101 CPP="${CC-cc} -E -traditional-cpp" 2102 cat > conftest.$ac_ext <<EOF |
2114#line 2115 "configure" | 2103#line 2104 "configure" |
2115#include "confdefs.h" 2116#include <assert.h> 2117Syntax Error 2118EOF 2119ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2104#include "confdefs.h" 2105#include <assert.h> 2106Syntax Error 2107EOF 2108ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2120{ (eval echo configure:2121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2109{ (eval echo configure:2110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2121ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2122if test -z "$ac_err"; then 2123 : 2124else 2125 echo "$ac_err" >&5 2126 echo "configure: failed program was:" >&5 2127 cat conftest.$ac_ext >&5 2128 rm -rf conftest* 2129 CPP="${CC-cc} -nologo -E" 2130 cat > conftest.$ac_ext <<EOF | 2110ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2111if test -z "$ac_err"; then 2112 : 2113else 2114 echo "$ac_err" >&5 2115 echo "configure: failed program was:" >&5 2116 cat conftest.$ac_ext >&5 2117 rm -rf conftest* 2118 CPP="${CC-cc} -nologo -E" 2119 cat > conftest.$ac_ext <<EOF |
2131#line 2132 "configure" | 2120#line 2121 "configure" |
2132#include "confdefs.h" 2133#include <assert.h> 2134Syntax Error 2135EOF 2136ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2121#include "confdefs.h" 2122#include <assert.h> 2123Syntax Error 2124EOF 2125ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2137{ (eval echo configure:2138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2126{ (eval echo configure:2127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2138ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2139if test -z "$ac_err"; then 2140 : 2141else 2142 echo "$ac_err" >&5 2143 echo "configure: failed program was:" >&5 2144 cat conftest.$ac_ext >&5 2145 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 2154fi 2155 CPP="$ac_cv_prog_CPP" 2156else 2157 ac_cv_prog_CPP="$CPP" 2158fi 2159echo "$ac_t""$CPP" 1>&6 2160 2161echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 2127ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2128if test -z "$ac_err"; then 2129 : 2130else 2131 echo "$ac_err" >&5 2132 echo "configure: failed program was:" >&5 2133 cat conftest.$ac_ext >&5 2134 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 2143fi 2144 CPP="$ac_cv_prog_CPP" 2145else 2146 ac_cv_prog_CPP="$CPP" 2147fi 2148echo "$ac_t""$CPP" 1>&6 2149 2150echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2162echo "configure:2163: checking for ANSI C header files" >&5 | 2151echo "configure:2152: checking for ANSI C header files" >&5 |
2163if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2164 echo $ac_n "(cached) $ac_c" 1>&6 2165else 2166 cat > conftest.$ac_ext <<EOF | 2152if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2153 echo $ac_n "(cached) $ac_c" 1>&6 2154else 2155 cat > conftest.$ac_ext <<EOF |
2167#line 2168 "configure" | 2156#line 2157 "configure" |
2168#include "confdefs.h" 2169#include <stdlib.h> 2170#include <stdarg.h> 2171#include <string.h> 2172#include <float.h> 2173EOF 2174ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2157#include "confdefs.h" 2158#include <stdlib.h> 2159#include <stdarg.h> 2160#include <string.h> 2161#include <float.h> 2162EOF 2163ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2175{ (eval echo configure:2176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2164{ (eval echo configure:2165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2176ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2177if test -z "$ac_err"; then 2178 rm -rf conftest* 2179 ac_cv_header_stdc=yes 2180else 2181 echo "$ac_err" >&5 2182 echo "configure: failed program was:" >&5 2183 cat conftest.$ac_ext >&5 2184 rm -rf conftest* 2185 ac_cv_header_stdc=no 2186fi 2187rm -f conftest* 2188 2189if test $ac_cv_header_stdc = yes; then 2190 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2191cat > conftest.$ac_ext <<EOF | 2165ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2166if test -z "$ac_err"; then 2167 rm -rf conftest* 2168 ac_cv_header_stdc=yes 2169else 2170 echo "$ac_err" >&5 2171 echo "configure: failed program was:" >&5 2172 cat conftest.$ac_ext >&5 2173 rm -rf conftest* 2174 ac_cv_header_stdc=no 2175fi 2176rm -f conftest* 2177 2178if test $ac_cv_header_stdc = yes; then 2179 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2180cat > conftest.$ac_ext <<EOF |
2192#line 2193 "configure" | 2181#line 2182 "configure" |
2193#include "confdefs.h" 2194#include <string.h> 2195EOF 2196if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2197 egrep "memchr" >/dev/null 2>&1; then 2198 : 2199else 2200 rm -rf conftest* 2201 ac_cv_header_stdc=no 2202fi 2203rm -f conftest* 2204 2205fi 2206 2207if test $ac_cv_header_stdc = yes; then 2208 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2209cat > conftest.$ac_ext <<EOF | 2182#include "confdefs.h" 2183#include <string.h> 2184EOF 2185if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2186 egrep "memchr" >/dev/null 2>&1; then 2187 : 2188else 2189 rm -rf conftest* 2190 ac_cv_header_stdc=no 2191fi 2192rm -f conftest* 2193 2194fi 2195 2196if test $ac_cv_header_stdc = yes; then 2197 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2198cat > conftest.$ac_ext <<EOF |
2210#line 2211 "configure" | 2199#line 2200 "configure" |
2211#include "confdefs.h" 2212#include <stdlib.h> 2213EOF 2214if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2215 egrep "free" >/dev/null 2>&1; then 2216 : 2217else 2218 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 2223fi 2224 2225if test $ac_cv_header_stdc = yes; then 2226 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2227if test "$cross_compiling" = yes; then 2228 : 2229else 2230 cat > conftest.$ac_ext <<EOF | 2200#include "confdefs.h" 2201#include <stdlib.h> 2202EOF 2203if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2204 egrep "free" >/dev/null 2>&1; then 2205 : 2206else 2207 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 2212fi 2213 2214if test $ac_cv_header_stdc = yes; then 2215 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2216if test "$cross_compiling" = yes; then 2217 : 2218else 2219 cat > conftest.$ac_ext <<EOF |
2231#line 2232 "configure" | 2220#line 2221 "configure" |
2232#include "confdefs.h" 2233#include <ctype.h> 2234#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2235#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2236#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2237int main () { int i; for (i = 0; i < 256; i++) 2238if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2239exit (0); } 2240 2241EOF | 2221#include "confdefs.h" 2222#include <ctype.h> 2223#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2224#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2225#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2226int main () { int i; for (i = 0; i < 256; i++) 2227if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 2228exit (0); } 2229 2230EOF |
2242if { (eval echo configure:2243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2231if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2243then 2244 : 2245else 2246 echo "configure: failed program was:" >&5 2247 cat conftest.$ac_ext >&5 2248 rm -fr conftest* 2249 ac_cv_header_stdc=no 2250fi --- 7 unchanged lines hidden (view full) --- 2258if test $ac_cv_header_stdc = yes; then 2259 cat >> confdefs.h <<\EOF 2260#define STDC_HEADERS 1 2261EOF 2262 2263fi 2264 2265echo $ac_n "checking for working const""... $ac_c" 1>&6 | 2232then 2233 : 2234else 2235 echo "configure: failed program was:" >&5 2236 cat conftest.$ac_ext >&5 2237 rm -fr conftest* 2238 ac_cv_header_stdc=no 2239fi --- 7 unchanged lines hidden (view full) --- 2247if test $ac_cv_header_stdc = yes; then 2248 cat >> confdefs.h <<\EOF 2249#define STDC_HEADERS 1 2250EOF 2251 2252fi 2253 2254echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2266echo "configure:2267: checking for working const" >&5 | 2255echo "configure:2256: checking for working const" >&5 |
2267if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2268 echo $ac_n "(cached) $ac_c" 1>&6 2269else 2270 cat > conftest.$ac_ext <<EOF | 2256if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2257 echo $ac_n "(cached) $ac_c" 1>&6 2258else 2259 cat > conftest.$ac_ext <<EOF |
2271#line 2272 "configure" | 2260#line 2261 "configure" |
2272#include "confdefs.h" 2273 2274int main() { 2275 2276/* Ultrix mips cc rejects this. */ | 2261#include "confdefs.h" 2262 2263int main() { 2264 2265/* Ultrix mips cc rejects this. */ |
2277typedef int charset[2]; const charset x; | 2266typedef int charset[2]; const charset x = {0,0}; |
2278/* SunOS 4.1.1 cc rejects this. */ 2279char const *const *ccp; 2280char **p; 2281/* NEC SVR4.0.2 mips cc rejects this. */ 2282struct point {int x, y;}; 2283static struct point const zero = {0,0}; 2284/* AIX XL C 1.02.0.0 rejects this. 2285 It does not let you subtract one const X* pointer from another in an arm --- 26 unchanged lines hidden (view full) --- 2312 struct s *b; b->j = 5; 2313} 2314{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2315 const int foo = 10; 2316} 2317 2318; return 0; } 2319EOF | 2267/* SunOS 4.1.1 cc rejects this. */ 2268char const *const *ccp; 2269char **p; 2270/* NEC SVR4.0.2 mips cc rejects this. */ 2271struct point {int x, y;}; 2272static struct point const zero = {0,0}; 2273/* AIX XL C 1.02.0.0 rejects this. 2274 It does not let you subtract one const X* pointer from another in an arm --- 26 unchanged lines hidden (view full) --- 2301 struct s *b; b->j = 5; 2302} 2303{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 2304 const int foo = 10; 2305} 2306 2307; return 0; } 2308EOF |
2320if { (eval echo configure:2321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2309if { (eval echo configure:2310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2321 rm -rf conftest* 2322 ac_cv_c_const=yes 2323else 2324 echo "configure: failed program was:" >&5 2325 cat conftest.$ac_ext >&5 2326 rm -rf conftest* 2327 ac_cv_c_const=no 2328fi --- 4 unchanged lines hidden (view full) --- 2333if test $ac_cv_c_const = no; then 2334 cat >> confdefs.h <<\EOF 2335#define const 2336EOF 2337 2338fi 2339 2340echo $ac_n "checking for inline""... $ac_c" 1>&6 | 2310 rm -rf conftest* 2311 ac_cv_c_const=yes 2312else 2313 echo "configure: failed program was:" >&5 2314 cat conftest.$ac_ext >&5 2315 rm -rf conftest* 2316 ac_cv_c_const=no 2317fi --- 4 unchanged lines hidden (view full) --- 2322if test $ac_cv_c_const = no; then 2323 cat >> confdefs.h <<\EOF 2324#define const 2325EOF 2326 2327fi 2328 2329echo $ac_n "checking for inline""... $ac_c" 1>&6 |
2341echo "configure:2342: checking for inline" >&5 | 2330echo "configure:2331: checking for inline" >&5 |
2342if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2343 echo $ac_n "(cached) $ac_c" 1>&6 2344else 2345 ac_cv_c_inline=no 2346for ac_kw in inline __inline__ __inline; do 2347 cat > conftest.$ac_ext <<EOF | 2331if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2332 echo $ac_n "(cached) $ac_c" 1>&6 2333else 2334 ac_cv_c_inline=no 2335for ac_kw in inline __inline__ __inline; do 2336 cat > conftest.$ac_ext <<EOF |
2348#line 2349 "configure" | 2337#line 2338 "configure" |
2349#include "confdefs.h" 2350 2351int main() { | 2338#include "confdefs.h" 2339 2340int main() { |
2352} $ac_kw foo() { | 2341} int $ac_kw foo() { |
2353; return 0; } 2354EOF | 2342; return 0; } 2343EOF |
2355if { (eval echo configure:2356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 2344if { (eval echo configure:2345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2356 rm -rf conftest* 2357 ac_cv_c_inline=$ac_kw; break 2358else 2359 echo "configure: failed program was:" >&5 2360 cat conftest.$ac_ext >&5 2361fi 2362rm -f conftest* 2363done --- 9 unchanged lines hidden (view full) --- 2373 ;; 2374 *) cat >> confdefs.h <<EOF 2375#define inline $ac_cv_c_inline 2376EOF 2377 ;; 2378esac 2379 2380echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 2345 rm -rf conftest* 2346 ac_cv_c_inline=$ac_kw; break 2347else 2348 echo "configure: failed program was:" >&5 2349 cat conftest.$ac_ext >&5 2350fi 2351rm -f conftest* 2352done --- 9 unchanged lines hidden (view full) --- 2362 ;; 2363 *) cat >> confdefs.h <<EOF 2364#define inline $ac_cv_c_inline 2365EOF 2366 ;; 2367esac 2368 2369echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
2381echo "configure:2382: checking for off_t" >&5 | 2370echo "configure:2371: checking for off_t" >&5 |
2382if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2383 echo $ac_n "(cached) $ac_c" 1>&6 2384else 2385 cat > conftest.$ac_ext <<EOF | 2371if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 2372 echo $ac_n "(cached) $ac_c" 1>&6 2373else 2374 cat > conftest.$ac_ext <<EOF |
2386#line 2387 "configure" | 2375#line 2376 "configure" |
2387#include "confdefs.h" 2388#include <sys/types.h> 2389#if STDC_HEADERS 2390#include <stdlib.h> 2391#include <stddef.h> 2392#endif 2393EOF 2394if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 2406if test $ac_cv_type_off_t = no; then 2407 cat >> confdefs.h <<\EOF 2408#define off_t long 2409EOF 2410 2411fi 2412 2413echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 2376#include "confdefs.h" 2377#include <sys/types.h> 2378#if STDC_HEADERS 2379#include <stdlib.h> 2380#include <stddef.h> 2381#endif 2382EOF 2383if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 2395if test $ac_cv_type_off_t = no; then 2396 cat >> confdefs.h <<\EOF 2397#define off_t long 2398EOF 2399 2400fi 2401 2402echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
2414echo "configure:2415: checking for size_t" >&5 | 2403echo "configure:2404: checking for size_t" >&5 |
2415if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2416 echo $ac_n "(cached) $ac_c" 1>&6 2417else 2418 cat > conftest.$ac_ext <<EOF | 2404if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2405 echo $ac_n "(cached) $ac_c" 1>&6 2406else 2407 cat > conftest.$ac_ext <<EOF |
2419#line 2420 "configure" | 2408#line 2409 "configure" |
2420#include "confdefs.h" 2421#include <sys/types.h> 2422#if STDC_HEADERS 2423#include <stdlib.h> 2424#include <stddef.h> 2425#endif 2426EOF 2427if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 13 unchanged lines hidden (view full) --- 2441#define size_t unsigned 2442EOF 2443 2444fi 2445 2446# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2447# for constant arguments. Useless! 2448echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 | 2409#include "confdefs.h" 2410#include <sys/types.h> 2411#if STDC_HEADERS 2412#include <stdlib.h> 2413#include <stddef.h> 2414#endif 2415EOF 2416if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 13 unchanged lines hidden (view full) --- 2430#define size_t unsigned 2431EOF 2432 2433fi 2434 2435# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 2436# for constant arguments. Useless! 2437echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
2449echo "configure:2450: checking for working alloca.h" >&5 | 2438echo "configure:2439: checking for working alloca.h" >&5 |
2450if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2451 echo $ac_n "(cached) $ac_c" 1>&6 2452else 2453 cat > conftest.$ac_ext <<EOF | 2439if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2440 echo $ac_n "(cached) $ac_c" 1>&6 2441else 2442 cat > conftest.$ac_ext <<EOF |
2454#line 2455 "configure" | 2443#line 2444 "configure" |
2455#include "confdefs.h" 2456#include <alloca.h> 2457int main() { | 2444#include "confdefs.h" 2445#include <alloca.h> 2446int main() { |
2458char *p = alloca(2 * sizeof(int)); | 2447void *p = alloca(2 * sizeof(int)); |
2459; return 0; } 2460EOF | 2448; return 0; } 2449EOF |
2461if { (eval echo configure:2462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2450if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2462 rm -rf conftest* 2463 ac_cv_header_alloca_h=yes 2464else 2465 echo "configure: failed program was:" >&5 2466 cat conftest.$ac_ext >&5 2467 rm -rf conftest* 2468 ac_cv_header_alloca_h=no 2469fi --- 4 unchanged lines hidden (view full) --- 2474if test $ac_cv_header_alloca_h = yes; then 2475 cat >> confdefs.h <<\EOF 2476#define HAVE_ALLOCA_H 1 2477EOF 2478 2479fi 2480 2481echo $ac_n "checking for alloca""... $ac_c" 1>&6 | 2451 rm -rf conftest* 2452 ac_cv_header_alloca_h=yes 2453else 2454 echo "configure: failed program was:" >&5 2455 cat conftest.$ac_ext >&5 2456 rm -rf conftest* 2457 ac_cv_header_alloca_h=no 2458fi --- 4 unchanged lines hidden (view full) --- 2463if test $ac_cv_header_alloca_h = yes; then 2464 cat >> confdefs.h <<\EOF 2465#define HAVE_ALLOCA_H 1 2466EOF 2467 2468fi 2469 2470echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
2482echo "configure:2483: checking for alloca" >&5 | 2471echo "configure:2472: checking for alloca" >&5 |
2483if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2484 echo $ac_n "(cached) $ac_c" 1>&6 2485else 2486 cat > conftest.$ac_ext <<EOF | 2472if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2473 echo $ac_n "(cached) $ac_c" 1>&6 2474else 2475 cat > conftest.$ac_ext <<EOF |
2487#line 2488 "configure" | 2476#line 2477 "configure" |
2488#include "confdefs.h" 2489 2490#ifdef __GNUC__ 2491# define alloca __builtin_alloca 2492#else 2493# ifdef _MSC_VER 2494# include <malloc.h> 2495# define alloca _alloca --- 11 unchanged lines hidden (view full) --- 2507# endif 2508# endif 2509#endif 2510 2511int main() { 2512char *p = (char *) alloca(1); 2513; return 0; } 2514EOF | 2477#include "confdefs.h" 2478 2479#ifdef __GNUC__ 2480# define alloca __builtin_alloca 2481#else 2482# ifdef _MSC_VER 2483# include <malloc.h> 2484# define alloca _alloca --- 11 unchanged lines hidden (view full) --- 2496# endif 2497# endif 2498#endif 2499 2500int main() { 2501char *p = (char *) alloca(1); 2502; return 0; } 2503EOF |
2515if { (eval echo configure:2516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2504if { (eval echo configure:2505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2516 rm -rf conftest* 2517 ac_cv_func_alloca_works=yes 2518else 2519 echo "configure: failed program was:" >&5 2520 cat conftest.$ac_ext >&5 2521 rm -rf conftest* 2522 ac_cv_func_alloca_works=no 2523fi --- 15 unchanged lines hidden (view full) --- 2539 # use ar to extract alloca.o from them instead of compiling alloca.c. 2540 ALLOCA=alloca.${ac_objext} 2541 cat >> confdefs.h <<\EOF 2542#define C_ALLOCA 1 2543EOF 2544 2545 2546echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 | 2505 rm -rf conftest* 2506 ac_cv_func_alloca_works=yes 2507else 2508 echo "configure: failed program was:" >&5 2509 cat conftest.$ac_ext >&5 2510 rm -rf conftest* 2511 ac_cv_func_alloca_works=no 2512fi --- 15 unchanged lines hidden (view full) --- 2528 # use ar to extract alloca.o from them instead of compiling alloca.c. 2529 ALLOCA=alloca.${ac_objext} 2530 cat >> confdefs.h <<\EOF 2531#define C_ALLOCA 1 2532EOF 2533 2534 2535echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
2547echo "configure:2548: checking whether alloca needs Cray hooks" >&5 | 2536echo "configure:2537: checking whether alloca needs Cray hooks" >&5 |
2548if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2549 echo $ac_n "(cached) $ac_c" 1>&6 2550else 2551 cat > conftest.$ac_ext <<EOF | 2537if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2538 echo $ac_n "(cached) $ac_c" 1>&6 2539else 2540 cat > conftest.$ac_ext <<EOF |
2552#line 2553 "configure" | 2541#line 2542 "configure" |
2553#include "confdefs.h" 2554#if defined(CRAY) && ! defined(CRAY2) 2555webecray 2556#else 2557wenotbecray 2558#endif 2559 2560EOF --- 8 unchanged lines hidden (view full) --- 2569rm -f conftest* 2570 2571fi 2572 2573echo "$ac_t""$ac_cv_os_cray" 1>&6 2574if test $ac_cv_os_cray = yes; then 2575for ac_func in _getb67 GETB67 getb67; do 2576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2542#include "confdefs.h" 2543#if defined(CRAY) && ! defined(CRAY2) 2544webecray 2545#else 2546wenotbecray 2547#endif 2548 2549EOF --- 8 unchanged lines hidden (view full) --- 2558rm -f conftest* 2559 2560fi 2561 2562echo "$ac_t""$ac_cv_os_cray" 1>&6 2563if test $ac_cv_os_cray = yes; then 2564for ac_func in _getb67 GETB67 getb67; do 2565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2577echo "configure:2578: checking for $ac_func" >&5 | 2566echo "configure:2567: checking for $ac_func" >&5 |
2578if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2579 echo $ac_n "(cached) $ac_c" 1>&6 2580else 2581 cat > conftest.$ac_ext <<EOF | 2567if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2568 echo $ac_n "(cached) $ac_c" 1>&6 2569else 2570 cat > conftest.$ac_ext <<EOF |
2582#line 2583 "configure" | 2571#line 2572 "configure" |
2583#include "confdefs.h" 2584/* System header to define __stub macros and hopefully few prototypes, 2585 which can conflict with char $ac_func(); below. */ 2586#include <assert.h> 2587/* Override any gcc2 internal prototype to avoid an error. */ 2588/* We use char because int might match the return type of a gcc2 2589 builtin and then its argument prototype would still apply. */ 2590char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2597#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2598choke me 2599#else 2600$ac_func(); 2601#endif 2602 2603; return 0; } 2604EOF | 2572#include "confdefs.h" 2573/* System header to define __stub macros and hopefully few prototypes, 2574 which can conflict with char $ac_func(); below. */ 2575#include <assert.h> 2576/* Override any gcc2 internal prototype to avoid an error. */ 2577/* We use char because int might match the return type of a gcc2 2578 builtin and then its argument prototype would still apply. */ 2579char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2586#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2587choke me 2588#else 2589$ac_func(); 2590#endif 2591 2592; return 0; } 2593EOF |
2605if { (eval echo configure:2606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2594if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2606 rm -rf conftest* 2607 eval "ac_cv_func_$ac_func=yes" 2608else 2609 echo "configure: failed program was:" >&5 2610 cat conftest.$ac_ext >&5 2611 rm -rf conftest* 2612 eval "ac_cv_func_$ac_func=no" 2613fi --- 10 unchanged lines hidden (view full) --- 2624else 2625 echo "$ac_t""no" 1>&6 2626fi 2627 2628done 2629fi 2630 2631echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 | 2595 rm -rf conftest* 2596 eval "ac_cv_func_$ac_func=yes" 2597else 2598 echo "configure: failed program was:" >&5 2599 cat conftest.$ac_ext >&5 2600 rm -rf conftest* 2601 eval "ac_cv_func_$ac_func=no" 2602fi --- 10 unchanged lines hidden (view full) --- 2613else 2614 echo "$ac_t""no" 1>&6 2615fi 2616 2617done 2618fi 2619 2620echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
2632echo "configure:2633: checking stack direction for C alloca" >&5 | 2621echo "configure:2622: checking stack direction for C alloca" >&5 |
2633if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2634 echo $ac_n "(cached) $ac_c" 1>&6 2635else 2636 if test "$cross_compiling" = yes; then 2637 ac_cv_c_stack_direction=0 2638else 2639 cat > conftest.$ac_ext <<EOF | 2622if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2623 echo $ac_n "(cached) $ac_c" 1>&6 2624else 2625 if test "$cross_compiling" = yes; then 2626 ac_cv_c_stack_direction=0 2627else 2628 cat > conftest.$ac_ext <<EOF |
2640#line 2641 "configure" | 2629#line 2630 "configure" |
2641#include "confdefs.h" 2642find_stack_direction () 2643{ 2644 static char *addr = 0; 2645 auto char dummy; 2646 if (addr == 0) 2647 { 2648 addr = &dummy; 2649 return find_stack_direction (); 2650 } 2651 else 2652 return (&dummy > addr) ? 1 : -1; 2653} 2654main () 2655{ 2656 exit (find_stack_direction() < 0); 2657} 2658EOF | 2630#include "confdefs.h" 2631find_stack_direction () 2632{ 2633 static char *addr = 0; 2634 auto char dummy; 2635 if (addr == 0) 2636 { 2637 addr = &dummy; 2638 return find_stack_direction (); 2639 } 2640 else 2641 return (&dummy > addr) ? 1 : -1; 2642} 2643main () 2644{ 2645 exit (find_stack_direction() < 0); 2646} 2647EOF |
2659if { (eval echo configure:2660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2648if { (eval echo configure:2649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2660then 2661 ac_cv_c_stack_direction=1 2662else 2663 echo "configure: failed program was:" >&5 2664 cat conftest.$ac_ext >&5 2665 rm -fr conftest* 2666 ac_cv_c_stack_direction=-1 2667fi --- 8 unchanged lines hidden (view full) --- 2676EOF 2677 2678fi 2679 2680for ac_hdr in unistd.h 2681do 2682ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2683echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2649then 2650 ac_cv_c_stack_direction=1 2651else 2652 echo "configure: failed program was:" >&5 2653 cat conftest.$ac_ext >&5 2654 rm -fr conftest* 2655 ac_cv_c_stack_direction=-1 2656fi --- 8 unchanged lines hidden (view full) --- 2665EOF 2666 2667fi 2668 2669for ac_hdr in unistd.h 2670do 2671ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2672echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2684echo "configure:2685: checking for $ac_hdr" >&5 | 2673echo "configure:2674: checking for $ac_hdr" >&5 |
2685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2686 echo $ac_n "(cached) $ac_c" 1>&6 2687else 2688 cat > conftest.$ac_ext <<EOF | 2674if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2675 echo $ac_n "(cached) $ac_c" 1>&6 2676else 2677 cat > conftest.$ac_ext <<EOF |
2689#line 2690 "configure" | 2678#line 2679 "configure" |
2690#include "confdefs.h" 2691#include <$ac_hdr> 2692EOF 2693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2679#include "confdefs.h" 2680#include <$ac_hdr> 2681EOF 2682ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2694{ (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2683{ (eval echo configure:2684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2696if test -z "$ac_err"; then 2697 rm -rf conftest* 2698 eval "ac_cv_header_$ac_safe=yes" 2699else 2700 echo "$ac_err" >&5 2701 echo "configure: failed program was:" >&5 2702 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 2715else 2716 echo "$ac_t""no" 1>&6 2717fi 2718done 2719 2720for ac_func in getpagesize 2721do 2722echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2684ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2685if test -z "$ac_err"; then 2686 rm -rf conftest* 2687 eval "ac_cv_header_$ac_safe=yes" 2688else 2689 echo "$ac_err" >&5 2690 echo "configure: failed program was:" >&5 2691 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 2704else 2705 echo "$ac_t""no" 1>&6 2706fi 2707done 2708 2709for ac_func in getpagesize 2710do 2711echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2723echo "configure:2724: checking for $ac_func" >&5 | 2712echo "configure:2713: checking for $ac_func" >&5 |
2724if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2725 echo $ac_n "(cached) $ac_c" 1>&6 2726else 2727 cat > conftest.$ac_ext <<EOF | 2713if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2714 echo $ac_n "(cached) $ac_c" 1>&6 2715else 2716 cat > conftest.$ac_ext <<EOF |
2728#line 2729 "configure" | 2717#line 2718 "configure" |
2729#include "confdefs.h" 2730/* System header to define __stub macros and hopefully few prototypes, 2731 which can conflict with char $ac_func(); below. */ 2732#include <assert.h> 2733/* Override any gcc2 internal prototype to avoid an error. */ 2734/* We use char because int might match the return type of a gcc2 2735 builtin and then its argument prototype would still apply. */ 2736char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2743#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2744choke me 2745#else 2746$ac_func(); 2747#endif 2748 2749; return 0; } 2750EOF | 2718#include "confdefs.h" 2719/* System header to define __stub macros and hopefully few prototypes, 2720 which can conflict with char $ac_func(); below. */ 2721#include <assert.h> 2722/* Override any gcc2 internal prototype to avoid an error. */ 2723/* We use char because int might match the return type of a gcc2 2724 builtin and then its argument prototype would still apply. */ 2725char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2732#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2733choke me 2734#else 2735$ac_func(); 2736#endif 2737 2738; return 0; } 2739EOF |
2751if { (eval echo configure:2752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2740if { (eval echo configure:2741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2752 rm -rf conftest* 2753 eval "ac_cv_func_$ac_func=yes" 2754else 2755 echo "configure: failed program was:" >&5 2756 cat conftest.$ac_ext >&5 2757 rm -rf conftest* 2758 eval "ac_cv_func_$ac_func=no" 2759fi --- 8 unchanged lines hidden (view full) --- 2768EOF 2769 2770else 2771 echo "$ac_t""no" 1>&6 2772fi 2773done 2774 2775echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 2741 rm -rf conftest* 2742 eval "ac_cv_func_$ac_func=yes" 2743else 2744 echo "configure: failed program was:" >&5 2745 cat conftest.$ac_ext >&5 2746 rm -rf conftest* 2747 eval "ac_cv_func_$ac_func=no" 2748fi --- 8 unchanged lines hidden (view full) --- 2757EOF 2758 2759else 2760 echo "$ac_t""no" 1>&6 2761fi 2762done 2763 2764echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
2776echo "configure:2777: checking for working mmap" >&5 | 2765echo "configure:2766: checking for working mmap" >&5 |
2777if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2778 echo $ac_n "(cached) $ac_c" 1>&6 2779else 2780 if test "$cross_compiling" = yes; then 2781 ac_cv_func_mmap_fixed_mapped=no 2782else 2783 cat > conftest.$ac_ext <<EOF | 2766if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2767 echo $ac_n "(cached) $ac_c" 1>&6 2768else 2769 if test "$cross_compiling" = yes; then 2770 ac_cv_func_mmap_fixed_mapped=no 2771else 2772 cat > conftest.$ac_ext <<EOF |
2784#line 2785 "configure" | 2773#line 2774 "configure" |
2785#include "confdefs.h" 2786 2787/* Thanks to Mike Haertel and Jim Avera for this test. 2788 Here is a matrix of mmap possibilities: 2789 mmap private not fixed 2790 mmap private fixed at somewhere currently unmapped 2791 mmap private fixed at somewhere already mapped 2792 mmap shared not fixed --- 10 unchanged lines hidden (view full) --- 2803 2804 Grep wants private fixed already mapped. 2805 The main things grep needs to know about mmap are: 2806 * does it exist and is it safe to write into the mmap'd area 2807 * how to use it (BSD variants) */ 2808#include <sys/types.h> 2809#include <fcntl.h> 2810#include <sys/mman.h> | 2774#include "confdefs.h" 2775 2776/* Thanks to Mike Haertel and Jim Avera for this test. 2777 Here is a matrix of mmap possibilities: 2778 mmap private not fixed 2779 mmap private fixed at somewhere currently unmapped 2780 mmap private fixed at somewhere already mapped 2781 mmap shared not fixed --- 10 unchanged lines hidden (view full) --- 2792 2793 Grep wants private fixed already mapped. 2794 The main things grep needs to know about mmap are: 2795 * does it exist and is it safe to write into the mmap'd area 2796 * how to use it (BSD variants) */ 2797#include <sys/types.h> 2798#include <fcntl.h> 2799#include <sys/mman.h> |
2800#include <stdlib.h> 2801#include <sys/stat.h> |
|
2811 | 2802 |
2803#ifdef HAVE_UNISTD_H 2804# include <unistd.h> 2805#endif 2806 |
|
2812/* This mess was copied from the GNU getpagesize.h. */ 2813#ifndef HAVE_GETPAGESIZE | 2807/* This mess was copied from the GNU getpagesize.h. */ 2808#ifndef HAVE_GETPAGESIZE |
2814# ifdef HAVE_UNISTD_H 2815# include <unistd.h> 2816# endif | |
2817 2818/* Assume that all systems that can run configure have sys/param.h. */ 2819# ifndef HAVE_SYS_PARAM_H 2820# define HAVE_SYS_PARAM_H 1 2821# endif 2822 2823# ifdef _SC_PAGESIZE 2824# define getpagesize() sysconf(_SC_PAGESIZE) --- 38 unchanged lines hidden (view full) --- 2863 int i, pagesize; 2864 int fd; 2865 2866 pagesize = getpagesize(); 2867 2868 /* 2869 * First, make a file with some known garbage in it. 2870 */ | 2809 2810/* Assume that all systems that can run configure have sys/param.h. */ 2811# ifndef HAVE_SYS_PARAM_H 2812# define HAVE_SYS_PARAM_H 1 2813# endif 2814 2815# ifdef _SC_PAGESIZE 2816# define getpagesize() sysconf(_SC_PAGESIZE) --- 38 unchanged lines hidden (view full) --- 2855 int i, pagesize; 2856 int fd; 2857 2858 pagesize = getpagesize(); 2859 2860 /* 2861 * First, make a file with some known garbage in it. 2862 */ |
2871 data = malloc(pagesize); | 2863 data = (char*)malloc(pagesize); |
2872 if (!data) 2873 exit(1); 2874 for (i = 0; i < pagesize; ++i) 2875 *(data + i) = rand(); 2876 umask(0); 2877 fd = creat("conftestmmap", 0600); 2878 if (fd < 0) 2879 exit(1); --- 4 unchanged lines hidden (view full) --- 2884 /* 2885 * Next, try to mmap the file at a fixed address which 2886 * already has something else allocated at it. If we can, 2887 * also make sure that we see the same garbage. 2888 */ 2889 fd = open("conftestmmap", O_RDWR); 2890 if (fd < 0) 2891 exit(1); | 2864 if (!data) 2865 exit(1); 2866 for (i = 0; i < pagesize; ++i) 2867 *(data + i) = rand(); 2868 umask(0); 2869 fd = creat("conftestmmap", 0600); 2870 if (fd < 0) 2871 exit(1); --- 4 unchanged lines hidden (view full) --- 2876 /* 2877 * Next, try to mmap the file at a fixed address which 2878 * already has something else allocated at it. If we can, 2879 * also make sure that we see the same garbage. 2880 */ 2881 fd = open("conftestmmap", O_RDWR); 2882 if (fd < 0) 2883 exit(1); |
2892 data2 = malloc(2 * pagesize); | 2884 data2 = (char*)malloc(2 * pagesize); |
2893 if (!data2) 2894 exit(1); 2895 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 2896 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 2897 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 2898 exit(1); 2899 for (i = 0; i < pagesize; ++i) 2900 if (*(data + i) != *(data2 + i)) 2901 exit(1); 2902 2903 /* 2904 * Finally, make sure that changes to the mapped area 2905 * do not percolate back to the file as seen by read(). 2906 * (This is a bug on some variants of i386 svr4.0.) 2907 */ 2908 for (i = 0; i < pagesize; ++i) 2909 *(data2 + i) = *(data2 + i) + 1; | 2885 if (!data2) 2886 exit(1); 2887 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 2888 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 2889 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 2890 exit(1); 2891 for (i = 0; i < pagesize; ++i) 2892 if (*(data + i) != *(data2 + i)) 2893 exit(1); 2894 2895 /* 2896 * Finally, make sure that changes to the mapped area 2897 * do not percolate back to the file as seen by read(). 2898 * (This is a bug on some variants of i386 svr4.0.) 2899 */ 2900 for (i = 0; i < pagesize; ++i) 2901 *(data2 + i) = *(data2 + i) + 1; |
2910 data3 = malloc(pagesize); | 2902 data3 = (char*)malloc(pagesize); |
2911 if (!data3) 2912 exit(1); 2913 if (read(fd, data3, pagesize) != pagesize) 2914 exit(1); 2915 for (i = 0; i < pagesize; ++i) 2916 if (*(data + i) != *(data3 + i)) 2917 exit(1); 2918 close(fd); 2919 unlink("conftestmmap"); 2920 exit(0); 2921} 2922 2923EOF | 2903 if (!data3) 2904 exit(1); 2905 if (read(fd, data3, pagesize) != pagesize) 2906 exit(1); 2907 for (i = 0; i < pagesize; ++i) 2908 if (*(data + i) != *(data3 + i)) 2909 exit(1); 2910 close(fd); 2911 unlink("conftestmmap"); 2912 exit(0); 2913} 2914 2915EOF |
2924if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2916if { (eval echo configure:2917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2925then 2926 ac_cv_func_mmap_fixed_mapped=yes 2927else 2928 echo "configure: failed program was:" >&5 2929 cat conftest.$ac_ext >&5 2930 rm -fr conftest* 2931 ac_cv_func_mmap_fixed_mapped=no 2932fi --- 11 unchanged lines hidden (view full) --- 2944fi 2945 2946 2947 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 2948unistd.h values.h sys/param.h 2949do 2950ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2951echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 2917then 2918 ac_cv_func_mmap_fixed_mapped=yes 2919else 2920 echo "configure: failed program was:" >&5 2921 cat conftest.$ac_ext >&5 2922 rm -fr conftest* 2923 ac_cv_func_mmap_fixed_mapped=no 2924fi --- 11 unchanged lines hidden (view full) --- 2936fi 2937 2938 2939 for ac_hdr in argz.h limits.h locale.h nl_types.h malloc.h string.h \ 2940unistd.h values.h sys/param.h 2941do 2942ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2943echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2952echo "configure:2953: checking for $ac_hdr" >&5 | 2944echo "configure:2945: checking for $ac_hdr" >&5 |
2953if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2954 echo $ac_n "(cached) $ac_c" 1>&6 2955else 2956 cat > conftest.$ac_ext <<EOF | 2945if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2946 echo $ac_n "(cached) $ac_c" 1>&6 2947else 2948 cat > conftest.$ac_ext <<EOF |
2957#line 2958 "configure" | 2949#line 2950 "configure" |
2958#include "confdefs.h" 2959#include <$ac_hdr> 2960EOF 2961ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2950#include "confdefs.h" 2951#include <$ac_hdr> 2952EOF 2953ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2962{ (eval echo configure:2963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2954{ (eval echo configure:2955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2963ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2964if test -z "$ac_err"; then 2965 rm -rf conftest* 2966 eval "ac_cv_header_$ac_safe=yes" 2967else 2968 echo "$ac_err" >&5 2969 echo "configure: failed program was:" >&5 2970 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 2984 echo "$ac_t""no" 1>&6 2985fi 2986done 2987 2988 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ 2989__argz_count __argz_stringify __argz_next 2990do 2991echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2955ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2956if test -z "$ac_err"; then 2957 rm -rf conftest* 2958 eval "ac_cv_header_$ac_safe=yes" 2959else 2960 echo "$ac_err" >&5 2961 echo "configure: failed program was:" >&5 2962 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 2976 echo "$ac_t""no" 1>&6 2977fi 2978done 2979 2980 for ac_func in getcwd munmap putenv setenv setlocale strchr strcasecmp \ 2981__argz_count __argz_stringify __argz_next 2982do 2983echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2992echo "configure:2993: checking for $ac_func" >&5 | 2984echo "configure:2985: checking for $ac_func" >&5 |
2993if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2994 echo $ac_n "(cached) $ac_c" 1>&6 2995else 2996 cat > conftest.$ac_ext <<EOF | 2985if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2986 echo $ac_n "(cached) $ac_c" 1>&6 2987else 2988 cat > conftest.$ac_ext <<EOF |
2997#line 2998 "configure" | 2989#line 2990 "configure" |
2998#include "confdefs.h" 2999/* System header to define __stub macros and hopefully few prototypes, 3000 which can conflict with char $ac_func(); below. */ 3001#include <assert.h> 3002/* Override any gcc2 internal prototype to avoid an error. */ 3003/* We use char because int might match the return type of a gcc2 3004 builtin and then its argument prototype would still apply. */ 3005char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3012#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3013choke me 3014#else 3015$ac_func(); 3016#endif 3017 3018; return 0; } 3019EOF | 2990#include "confdefs.h" 2991/* System header to define __stub macros and hopefully few prototypes, 2992 which can conflict with char $ac_func(); below. */ 2993#include <assert.h> 2994/* Override any gcc2 internal prototype to avoid an error. */ 2995/* We use char because int might match the return type of a gcc2 2996 builtin and then its argument prototype would still apply. */ 2997char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3004#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3005choke me 3006#else 3007$ac_func(); 3008#endif 3009 3010; return 0; } 3011EOF |
3020if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3012if { (eval echo configure:3013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3021 rm -rf conftest* 3022 eval "ac_cv_func_$ac_func=yes" 3023else 3024 echo "configure: failed program was:" >&5 3025 cat conftest.$ac_ext >&5 3026 rm -rf conftest* 3027 eval "ac_cv_func_$ac_func=no" 3028fi --- 12 unchanged lines hidden (view full) --- 3041fi 3042done 3043 3044 3045 if test "${ac_cv_func_stpcpy+set}" != "set"; then 3046 for ac_func in stpcpy 3047do 3048echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3013 rm -rf conftest* 3014 eval "ac_cv_func_$ac_func=yes" 3015else 3016 echo "configure: failed program was:" >&5 3017 cat conftest.$ac_ext >&5 3018 rm -rf conftest* 3019 eval "ac_cv_func_$ac_func=no" 3020fi --- 12 unchanged lines hidden (view full) --- 3033fi 3034done 3035 3036 3037 if test "${ac_cv_func_stpcpy+set}" != "set"; then 3038 for ac_func in stpcpy 3039do 3040echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3049echo "configure:3050: checking for $ac_func" >&5 | 3041echo "configure:3042: checking for $ac_func" >&5 |
3050if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3051 echo $ac_n "(cached) $ac_c" 1>&6 3052else 3053 cat > conftest.$ac_ext <<EOF | 3042if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3043 echo $ac_n "(cached) $ac_c" 1>&6 3044else 3045 cat > conftest.$ac_ext <<EOF |
3054#line 3055 "configure" | 3046#line 3047 "configure" |
3055#include "confdefs.h" 3056/* System header to define __stub macros and hopefully few prototypes, 3057 which can conflict with char $ac_func(); below. */ 3058#include <assert.h> 3059/* Override any gcc2 internal prototype to avoid an error. */ 3060/* We use char because int might match the return type of a gcc2 3061 builtin and then its argument prototype would still apply. */ 3062char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3069#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3070choke me 3071#else 3072$ac_func(); 3073#endif 3074 3075; return 0; } 3076EOF | 3047#include "confdefs.h" 3048/* System header to define __stub macros and hopefully few prototypes, 3049 which can conflict with char $ac_func(); below. */ 3050#include <assert.h> 3051/* Override any gcc2 internal prototype to avoid an error. */ 3052/* We use char because int might match the return type of a gcc2 3053 builtin and then its argument prototype would still apply. */ 3054char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3061#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3062choke me 3063#else 3064$ac_func(); 3065#endif 3066 3067; return 0; } 3068EOF |
3077if { (eval echo configure:3078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3069if { (eval echo configure:3070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3078 rm -rf conftest* 3079 eval "ac_cv_func_$ac_func=yes" 3080else 3081 echo "configure: failed program was:" >&5 3082 cat conftest.$ac_ext >&5 3083 rm -rf conftest* 3084 eval "ac_cv_func_$ac_func=no" 3085fi --- 17 unchanged lines hidden (view full) --- 3103 cat >> confdefs.h <<\EOF 3104#define HAVE_STPCPY 1 3105EOF 3106 3107 fi 3108 3109 if test $ac_cv_header_locale_h = yes; then 3110 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 | 3070 rm -rf conftest* 3071 eval "ac_cv_func_$ac_func=yes" 3072else 3073 echo "configure: failed program was:" >&5 3074 cat conftest.$ac_ext >&5 3075 rm -rf conftest* 3076 eval "ac_cv_func_$ac_func=no" 3077fi --- 17 unchanged lines hidden (view full) --- 3095 cat >> confdefs.h <<\EOF 3096#define HAVE_STPCPY 1 3097EOF 3098 3099 fi 3100 3101 if test $ac_cv_header_locale_h = yes; then 3102 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 |
3111echo "configure:3112: checking for LC_MESSAGES" >&5 | 3103echo "configure:3104: checking for LC_MESSAGES" >&5 |
3112if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3113 echo $ac_n "(cached) $ac_c" 1>&6 3114else 3115 cat > conftest.$ac_ext <<EOF | 3104if eval "test \"`echo '$''{'am_cv_val_LC_MESSAGES'+set}'`\" = set"; then 3105 echo $ac_n "(cached) $ac_c" 1>&6 3106else 3107 cat > conftest.$ac_ext <<EOF |
3116#line 3117 "configure" | 3108#line 3109 "configure" |
3117#include "confdefs.h" 3118#include <locale.h> 3119int main() { 3120return LC_MESSAGES 3121; return 0; } 3122EOF | 3109#include "confdefs.h" 3110#include <locale.h> 3111int main() { 3112return LC_MESSAGES 3113; return 0; } 3114EOF |
3123if { (eval echo configure:3124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3115if { (eval echo configure:3116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3124 rm -rf conftest* 3125 am_cv_val_LC_MESSAGES=yes 3126else 3127 echo "configure: failed program was:" >&5 3128 cat conftest.$ac_ext >&5 3129 rm -rf conftest* 3130 am_cv_val_LC_MESSAGES=no 3131fi --- 4 unchanged lines hidden (view full) --- 3136 if test $am_cv_val_LC_MESSAGES = yes; then 3137 cat >> confdefs.h <<\EOF 3138#define HAVE_LC_MESSAGES 1 3139EOF 3140 3141 fi 3142 fi 3143 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 | 3116 rm -rf conftest* 3117 am_cv_val_LC_MESSAGES=yes 3118else 3119 echo "configure: failed program was:" >&5 3120 cat conftest.$ac_ext >&5 3121 rm -rf conftest* 3122 am_cv_val_LC_MESSAGES=no 3123fi --- 4 unchanged lines hidden (view full) --- 3128 if test $am_cv_val_LC_MESSAGES = yes; then 3129 cat >> confdefs.h <<\EOF 3130#define HAVE_LC_MESSAGES 1 3131EOF 3132 3133 fi 3134 fi 3135 echo $ac_n "checking whether NLS is requested""... $ac_c" 1>&6 |
3144echo "configure:3145: checking whether NLS is requested" >&5 | 3136echo "configure:3137: checking whether NLS is requested" >&5 |
3145 # Check whether --enable-nls or --disable-nls was given. 3146if test "${enable_nls+set}" = set; then 3147 enableval="$enable_nls" 3148 USE_NLS=$enableval 3149else 3150 USE_NLS=yes 3151fi 3152 3153 echo "$ac_t""$USE_NLS" 1>&6 3154 3155 3156 USE_INCLUDED_LIBINTL=no 3157 3158 if test "$USE_NLS" = "yes"; then 3159 cat >> confdefs.h <<\EOF 3160#define ENABLE_NLS 1 3161EOF 3162 3163 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 | 3137 # Check whether --enable-nls or --disable-nls was given. 3138if test "${enable_nls+set}" = set; then 3139 enableval="$enable_nls" 3140 USE_NLS=$enableval 3141else 3142 USE_NLS=yes 3143fi 3144 3145 echo "$ac_t""$USE_NLS" 1>&6 3146 3147 3148 USE_INCLUDED_LIBINTL=no 3149 3150 if test "$USE_NLS" = "yes"; then 3151 cat >> confdefs.h <<\EOF 3152#define ENABLE_NLS 1 3153EOF 3154 3155 echo $ac_n "checking whether included gettext is requested""... $ac_c" 1>&6 |
3164echo "configure:3165: checking whether included gettext is requested" >&5 | 3156echo "configure:3157: checking whether included gettext is requested" >&5 |
3165 # Check whether --with-included-gettext or --without-included-gettext was given. 3166if test "${with_included_gettext+set}" = set; then 3167 withval="$with_included_gettext" 3168 nls_cv_force_use_gnu_gettext=$withval 3169else 3170 nls_cv_force_use_gnu_gettext=no 3171fi 3172 3173 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 3174 3175 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 3176 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 3177 nls_cv_header_intl= 3178 nls_cv_header_libgt= 3179 CATOBJEXT=NONE 3180 3181 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3182echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 | 3157 # Check whether --with-included-gettext or --without-included-gettext was given. 3158if test "${with_included_gettext+set}" = set; then 3159 withval="$with_included_gettext" 3160 nls_cv_force_use_gnu_gettext=$withval 3161else 3162 nls_cv_force_use_gnu_gettext=no 3163fi 3164 3165 echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 3166 3167 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" 3168 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then 3169 nls_cv_header_intl= 3170 nls_cv_header_libgt= 3171 CATOBJEXT=NONE 3172 3173 ac_safe=`echo "libintl.h" | sed 'y%./+-%__p_%'` 3174echo $ac_n "checking for libintl.h""... $ac_c" 1>&6 |
3183echo "configure:3184: checking for libintl.h" >&5 | 3175echo "configure:3176: checking for libintl.h" >&5 |
3184if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3185 echo $ac_n "(cached) $ac_c" 1>&6 3186else 3187 cat > conftest.$ac_ext <<EOF | 3176if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3177 echo $ac_n "(cached) $ac_c" 1>&6 3178else 3179 cat > conftest.$ac_ext <<EOF |
3188#line 3189 "configure" | 3180#line 3181 "configure" |
3189#include "confdefs.h" 3190#include <libintl.h> 3191EOF 3192ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3181#include "confdefs.h" 3182#include <libintl.h> 3183EOF 3184ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3193{ (eval echo configure:3194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3185{ (eval echo configure:3186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3194ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3195if test -z "$ac_err"; then 3196 rm -rf conftest* 3197 eval "ac_cv_header_$ac_safe=yes" 3198else 3199 echo "$ac_err" >&5 3200 echo "configure: failed program was:" >&5 3201 cat conftest.$ac_ext >&5 3202 rm -rf conftest* 3203 eval "ac_cv_header_$ac_safe=no" 3204fi 3205rm -f conftest* 3206fi 3207if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3208 echo "$ac_t""yes" 1>&6 3209 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 | 3186ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3187if test -z "$ac_err"; then 3188 rm -rf conftest* 3189 eval "ac_cv_header_$ac_safe=yes" 3190else 3191 echo "$ac_err" >&5 3192 echo "configure: failed program was:" >&5 3193 cat conftest.$ac_ext >&5 3194 rm -rf conftest* 3195 eval "ac_cv_header_$ac_safe=no" 3196fi 3197rm -f conftest* 3198fi 3199if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3200 echo "$ac_t""yes" 1>&6 3201 echo $ac_n "checking for gettext in libc""... $ac_c" 1>&6 |
3210echo "configure:3211: checking for gettext in libc" >&5 | 3202echo "configure:3203: checking for gettext in libc" >&5 |
3211if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3212 echo $ac_n "(cached) $ac_c" 1>&6 3213else 3214 cat > conftest.$ac_ext <<EOF | 3203if eval "test \"`echo '$''{'gt_cv_func_gettext_libc'+set}'`\" = set"; then 3204 echo $ac_n "(cached) $ac_c" 1>&6 3205else 3206 cat > conftest.$ac_ext <<EOF |
3215#line 3216 "configure" | 3207#line 3208 "configure" |
3216#include "confdefs.h" 3217#include <libintl.h> 3218int main() { 3219return (int) gettext ("") 3220; return 0; } 3221EOF | 3208#include "confdefs.h" 3209#include <libintl.h> 3210int main() { 3211return (int) gettext ("") 3212; return 0; } 3213EOF |
3222if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3214if { (eval echo configure:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3223 rm -rf conftest* 3224 gt_cv_func_gettext_libc=yes 3225else 3226 echo "configure: failed program was:" >&5 3227 cat conftest.$ac_ext >&5 3228 rm -rf conftest* 3229 gt_cv_func_gettext_libc=no 3230fi 3231rm -f conftest* 3232fi 3233 3234echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 3235 3236 if test "$gt_cv_func_gettext_libc" != "yes"; then 3237 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 | 3215 rm -rf conftest* 3216 gt_cv_func_gettext_libc=yes 3217else 3218 echo "configure: failed program was:" >&5 3219 cat conftest.$ac_ext >&5 3220 rm -rf conftest* 3221 gt_cv_func_gettext_libc=no 3222fi 3223rm -f conftest* 3224fi 3225 3226echo "$ac_t""$gt_cv_func_gettext_libc" 1>&6 3227 3228 if test "$gt_cv_func_gettext_libc" != "yes"; then 3229 echo $ac_n "checking for bindtextdomain in -lintl""... $ac_c" 1>&6 |
3238echo "configure:3239: checking for bindtextdomain in -lintl" >&5 | 3230echo "configure:3231: checking for bindtextdomain in -lintl" >&5 |
3239ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3240if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3241 echo $ac_n "(cached) $ac_c" 1>&6 3242else 3243 ac_save_LIBS="$LIBS" 3244LIBS="-lintl $LIBS" 3245cat > conftest.$ac_ext <<EOF | 3231ac_lib_var=`echo intl'_'bindtextdomain | sed 'y%./+-%__p_%'` 3232if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 3233 echo $ac_n "(cached) $ac_c" 1>&6 3234else 3235 ac_save_LIBS="$LIBS" 3236LIBS="-lintl $LIBS" 3237cat > conftest.$ac_ext <<EOF |
3246#line 3247 "configure" | 3238#line 3239 "configure" |
3247#include "confdefs.h" 3248/* Override any gcc2 internal prototype to avoid an error. */ 3249/* We use char because int might match the return type of a gcc2 3250 builtin and then its argument prototype would still apply. */ 3251char bindtextdomain(); 3252 3253int main() { 3254bindtextdomain() 3255; return 0; } 3256EOF | 3239#include "confdefs.h" 3240/* Override any gcc2 internal prototype to avoid an error. */ 3241/* We use char because int might match the return type of a gcc2 3242 builtin and then its argument prototype would still apply. */ 3243char bindtextdomain(); 3244 3245int main() { 3246bindtextdomain() 3247; return 0; } 3248EOF |
3257if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3249if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3258 rm -rf conftest* 3259 eval "ac_cv_lib_$ac_lib_var=yes" 3260else 3261 echo "configure: failed program was:" >&5 3262 cat conftest.$ac_ext >&5 3263 rm -rf conftest* 3264 eval "ac_cv_lib_$ac_lib_var=no" 3265fi 3266rm -f conftest* 3267LIBS="$ac_save_LIBS" 3268 3269fi 3270if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3271 echo "$ac_t""yes" 1>&6 3272 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 | 3250 rm -rf conftest* 3251 eval "ac_cv_lib_$ac_lib_var=yes" 3252else 3253 echo "configure: failed program was:" >&5 3254 cat conftest.$ac_ext >&5 3255 rm -rf conftest* 3256 eval "ac_cv_lib_$ac_lib_var=no" 3257fi 3258rm -f conftest* 3259LIBS="$ac_save_LIBS" 3260 3261fi 3262if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 3263 echo "$ac_t""yes" 1>&6 3264 echo $ac_n "checking for gettext in libintl""... $ac_c" 1>&6 |
3273echo "configure:3274: checking for gettext in libintl" >&5 | 3265echo "configure:3266: checking for gettext in libintl" >&5 |
3274if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3275 echo $ac_n "(cached) $ac_c" 1>&6 3276else 3277 cat > conftest.$ac_ext <<EOF | 3266if eval "test \"`echo '$''{'gt_cv_func_gettext_libintl'+set}'`\" = set"; then 3267 echo $ac_n "(cached) $ac_c" 1>&6 3268else 3269 cat > conftest.$ac_ext <<EOF |
3278#line 3279 "configure" | 3270#line 3271 "configure" |
3279#include "confdefs.h" 3280 3281int main() { 3282return (int) gettext ("") 3283; return 0; } 3284EOF | 3271#include "confdefs.h" 3272 3273int main() { 3274return (int) gettext ("") 3275; return 0; } 3276EOF |
3285if { (eval echo configure:3286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3277if { (eval echo configure:3278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3286 rm -rf conftest* 3287 gt_cv_func_gettext_libintl=yes 3288else 3289 echo "configure: failed program was:" >&5 3290 cat conftest.$ac_ext >&5 3291 rm -rf conftest* 3292 gt_cv_func_gettext_libintl=no 3293fi --- 11 unchanged lines hidden (view full) --- 3305 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3306 cat >> confdefs.h <<\EOF 3307#define HAVE_GETTEXT 1 3308EOF 3309 3310 # Extract the first word of "msgfmt", so it can be a program name with args. 3311set dummy msgfmt; ac_word=$2 3312echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3278 rm -rf conftest* 3279 gt_cv_func_gettext_libintl=yes 3280else 3281 echo "configure: failed program was:" >&5 3282 cat conftest.$ac_ext >&5 3283 rm -rf conftest* 3284 gt_cv_func_gettext_libintl=no 3285fi --- 11 unchanged lines hidden (view full) --- 3297 || test "$gt_cv_func_gettext_libintl" = "yes"; then 3298 cat >> confdefs.h <<\EOF 3299#define HAVE_GETTEXT 1 3300EOF 3301 3302 # Extract the first word of "msgfmt", so it can be a program name with args. 3303set dummy msgfmt; ac_word=$2 3304echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3313echo "configure:3314: checking for $ac_word" >&5 | 3305echo "configure:3306: checking for $ac_word" >&5 |
3314if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3315 echo $ac_n "(cached) $ac_c" 1>&6 3316else 3317 case "$MSGFMT" in 3318 /*) 3319 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3320 ;; 3321 *) --- 17 unchanged lines hidden (view full) --- 3339 echo "$ac_t""$MSGFMT" 1>&6 3340else 3341 echo "$ac_t""no" 1>&6 3342fi 3343 if test "$MSGFMT" != "no"; then 3344 for ac_func in dcgettext 3345do 3346echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 3306if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3307 echo $ac_n "(cached) $ac_c" 1>&6 3308else 3309 case "$MSGFMT" in 3310 /*) 3311 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3312 ;; 3313 *) --- 17 unchanged lines hidden (view full) --- 3331 echo "$ac_t""$MSGFMT" 1>&6 3332else 3333 echo "$ac_t""no" 1>&6 3334fi 3335 if test "$MSGFMT" != "no"; then 3336 for ac_func in dcgettext 3337do 3338echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3347echo "configure:3348: checking for $ac_func" >&5 | 3339echo "configure:3340: checking for $ac_func" >&5 |
3348if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3349 echo $ac_n "(cached) $ac_c" 1>&6 3350else 3351 cat > conftest.$ac_ext <<EOF | 3340if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3341 echo $ac_n "(cached) $ac_c" 1>&6 3342else 3343 cat > conftest.$ac_ext <<EOF |
3352#line 3353 "configure" | 3344#line 3345 "configure" |
3353#include "confdefs.h" 3354/* System header to define __stub macros and hopefully few prototypes, 3355 which can conflict with char $ac_func(); below. */ 3356#include <assert.h> 3357/* Override any gcc2 internal prototype to avoid an error. */ 3358/* We use char because int might match the return type of a gcc2 3359 builtin and then its argument prototype would still apply. */ 3360char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3367#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3368choke me 3369#else 3370$ac_func(); 3371#endif 3372 3373; return 0; } 3374EOF | 3345#include "confdefs.h" 3346/* System header to define __stub macros and hopefully few prototypes, 3347 which can conflict with char $ac_func(); below. */ 3348#include <assert.h> 3349/* Override any gcc2 internal prototype to avoid an error. */ 3350/* We use char because int might match the return type of a gcc2 3351 builtin and then its argument prototype would still apply. */ 3352char $ac_func(); --- 6 unchanged lines hidden (view full) --- 3359#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 3360choke me 3361#else 3362$ac_func(); 3363#endif 3364 3365; return 0; } 3366EOF |
3375if { (eval echo configure:3376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3367if { (eval echo configure:3368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3376 rm -rf conftest* 3377 eval "ac_cv_func_$ac_func=yes" 3378else 3379 echo "configure: failed program was:" >&5 3380 cat conftest.$ac_ext >&5 3381 rm -rf conftest* 3382 eval "ac_cv_func_$ac_func=no" 3383fi --- 10 unchanged lines hidden (view full) --- 3394else 3395 echo "$ac_t""no" 1>&6 3396fi 3397done 3398 3399 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3400set dummy gmsgfmt; ac_word=$2 3401echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3368 rm -rf conftest* 3369 eval "ac_cv_func_$ac_func=yes" 3370else 3371 echo "configure: failed program was:" >&5 3372 cat conftest.$ac_ext >&5 3373 rm -rf conftest* 3374 eval "ac_cv_func_$ac_func=no" 3375fi --- 10 unchanged lines hidden (view full) --- 3386else 3387 echo "$ac_t""no" 1>&6 3388fi 3389done 3390 3391 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3392set dummy gmsgfmt; ac_word=$2 3393echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3402echo "configure:3403: checking for $ac_word" >&5 | 3394echo "configure:3395: checking for $ac_word" >&5 |
3403if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3404 echo $ac_n "(cached) $ac_c" 1>&6 3405else 3406 case "$GMSGFMT" in 3407 /*) 3408 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3409 ;; 3410 ?:/*) --- 19 unchanged lines hidden (view full) --- 3430 echo "$ac_t""$GMSGFMT" 1>&6 3431else 3432 echo "$ac_t""no" 1>&6 3433fi 3434 3435 # Extract the first word of "xgettext", so it can be a program name with args. 3436set dummy xgettext; ac_word=$2 3437echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3395if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3396 echo $ac_n "(cached) $ac_c" 1>&6 3397else 3398 case "$GMSGFMT" in 3399 /*) 3400 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3401 ;; 3402 ?:/*) --- 19 unchanged lines hidden (view full) --- 3422 echo "$ac_t""$GMSGFMT" 1>&6 3423else 3424 echo "$ac_t""no" 1>&6 3425fi 3426 3427 # Extract the first word of "xgettext", so it can be a program name with args. 3428set dummy xgettext; ac_word=$2 3429echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3438echo "configure:3439: checking for $ac_word" >&5 | 3430echo "configure:3431: checking for $ac_word" >&5 |
3439if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3440 echo $ac_n "(cached) $ac_c" 1>&6 3441else 3442 case "$XGETTEXT" in 3443 /*) 3444 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3445 ;; 3446 *) --- 15 unchanged lines hidden (view full) --- 3462XGETTEXT="$ac_cv_path_XGETTEXT" 3463if test -n "$XGETTEXT"; then 3464 echo "$ac_t""$XGETTEXT" 1>&6 3465else 3466 echo "$ac_t""no" 1>&6 3467fi 3468 3469 cat > conftest.$ac_ext <<EOF | 3431if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3432 echo $ac_n "(cached) $ac_c" 1>&6 3433else 3434 case "$XGETTEXT" in 3435 /*) 3436 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3437 ;; 3438 *) --- 15 unchanged lines hidden (view full) --- 3454XGETTEXT="$ac_cv_path_XGETTEXT" 3455if test -n "$XGETTEXT"; then 3456 echo "$ac_t""$XGETTEXT" 1>&6 3457else 3458 echo "$ac_t""no" 1>&6 3459fi 3460 3461 cat > conftest.$ac_ext <<EOF |
3470#line 3471 "configure" | 3462#line 3463 "configure" |
3471#include "confdefs.h" 3472 3473int main() { 3474extern int _nl_msg_cat_cntr; 3475 return _nl_msg_cat_cntr 3476; return 0; } 3477EOF | 3463#include "confdefs.h" 3464 3465int main() { 3466extern int _nl_msg_cat_cntr; 3467 return _nl_msg_cat_cntr 3468; return 0; } 3469EOF |
3478if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3470if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3479 rm -rf conftest* 3480 CATOBJEXT=.gmo 3481 DATADIRNAME=share 3482else 3483 echo "configure: failed program was:" >&5 3484 cat conftest.$ac_ext >&5 3485 rm -rf conftest* 3486 CATOBJEXT=.mo --- 15 unchanged lines hidden (view full) --- 3502 fi 3503 fi 3504 3505 if test "$nls_cv_use_gnu_gettext" = "yes"; then 3506 INTLOBJS="\$(GETTOBJS)" 3507 # Extract the first word of "msgfmt", so it can be a program name with args. 3508set dummy msgfmt; ac_word=$2 3509echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3471 rm -rf conftest* 3472 CATOBJEXT=.gmo 3473 DATADIRNAME=share 3474else 3475 echo "configure: failed program was:" >&5 3476 cat conftest.$ac_ext >&5 3477 rm -rf conftest* 3478 CATOBJEXT=.mo --- 15 unchanged lines hidden (view full) --- 3494 fi 3495 fi 3496 3497 if test "$nls_cv_use_gnu_gettext" = "yes"; then 3498 INTLOBJS="\$(GETTOBJS)" 3499 # Extract the first word of "msgfmt", so it can be a program name with args. 3500set dummy msgfmt; ac_word=$2 3501echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3510echo "configure:3511: checking for $ac_word" >&5 | 3502echo "configure:3503: checking for $ac_word" >&5 |
3511if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3512 echo $ac_n "(cached) $ac_c" 1>&6 3513else 3514 case "$MSGFMT" in 3515 /*) 3516 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3517 ;; 3518 *) --- 17 unchanged lines hidden (view full) --- 3536 echo "$ac_t""$MSGFMT" 1>&6 3537else 3538 echo "$ac_t""no" 1>&6 3539fi 3540 3541 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3542set dummy gmsgfmt; ac_word=$2 3543echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3503if eval "test \"`echo '$''{'ac_cv_path_MSGFMT'+set}'`\" = set"; then 3504 echo $ac_n "(cached) $ac_c" 1>&6 3505else 3506 case "$MSGFMT" in 3507 /*) 3508 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 3509 ;; 3510 *) --- 17 unchanged lines hidden (view full) --- 3528 echo "$ac_t""$MSGFMT" 1>&6 3529else 3530 echo "$ac_t""no" 1>&6 3531fi 3532 3533 # Extract the first word of "gmsgfmt", so it can be a program name with args. 3534set dummy gmsgfmt; ac_word=$2 3535echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3544echo "configure:3545: checking for $ac_word" >&5 | 3536echo "configure:3537: checking for $ac_word" >&5 |
3545if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3546 echo $ac_n "(cached) $ac_c" 1>&6 3547else 3548 case "$GMSGFMT" in 3549 /*) 3550 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3551 ;; 3552 ?:/*) --- 19 unchanged lines hidden (view full) --- 3572 echo "$ac_t""$GMSGFMT" 1>&6 3573else 3574 echo "$ac_t""no" 1>&6 3575fi 3576 3577 # Extract the first word of "xgettext", so it can be a program name with args. 3578set dummy xgettext; ac_word=$2 3579echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 3537if eval "test \"`echo '$''{'ac_cv_path_GMSGFMT'+set}'`\" = set"; then 3538 echo $ac_n "(cached) $ac_c" 1>&6 3539else 3540 case "$GMSGFMT" in 3541 /*) 3542 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 3543 ;; 3544 ?:/*) --- 19 unchanged lines hidden (view full) --- 3564 echo "$ac_t""$GMSGFMT" 1>&6 3565else 3566 echo "$ac_t""no" 1>&6 3567fi 3568 3569 # Extract the first word of "xgettext", so it can be a program name with args. 3570set dummy xgettext; ac_word=$2 3571echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3580echo "configure:3581: checking for $ac_word" >&5 | 3572echo "configure:3573: checking for $ac_word" >&5 |
3581if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3582 echo $ac_n "(cached) $ac_c" 1>&6 3583else 3584 case "$XGETTEXT" in 3585 /*) 3586 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3587 ;; 3588 *) --- 73 unchanged lines hidden (view full) --- 3662 3663 3664 3665 if test "x$CATOBJEXT" != "x"; then 3666 if test "x$ALL_LINGUAS" = "x"; then 3667 LINGUAS= 3668 else 3669 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 | 3573if eval "test \"`echo '$''{'ac_cv_path_XGETTEXT'+set}'`\" = set"; then 3574 echo $ac_n "(cached) $ac_c" 1>&6 3575else 3576 case "$XGETTEXT" in 3577 /*) 3578 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 3579 ;; 3580 *) --- 73 unchanged lines hidden (view full) --- 3654 3655 3656 3657 if test "x$CATOBJEXT" != "x"; then 3658 if test "x$ALL_LINGUAS" = "x"; then 3659 LINGUAS= 3660 else 3661 echo $ac_n "checking for catalogs to be installed""... $ac_c" 1>&6 |
3670echo "configure:3671: checking for catalogs to be installed" >&5 | 3662echo "configure:3663: checking for catalogs to be installed" >&5 |
3671 NEW_LINGUAS= 3672 for lang in ${LINGUAS=$ALL_LINGUAS}; do 3673 case "$ALL_LINGUAS" in 3674 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 3675 esac 3676 done 3677 LINGUAS=$NEW_LINGUAS 3678 echo "$ac_t""$LINGUAS" 1>&6 --- 11 unchanged lines hidden (view full) --- 3690/* The system does not provide the header <locale.h>. Take care yourself. */" 3691 fi 3692 3693 3694 if test -f $srcdir/po2tbl.sed.in; then 3695 if test "$CATOBJEXT" = ".cat"; then 3696 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 3697echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 | 3663 NEW_LINGUAS= 3664 for lang in ${LINGUAS=$ALL_LINGUAS}; do 3665 case "$ALL_LINGUAS" in 3666 *$lang*) NEW_LINGUAS="$NEW_LINGUAS $lang" ;; 3667 esac 3668 done 3669 LINGUAS=$NEW_LINGUAS 3670 echo "$ac_t""$LINGUAS" 1>&6 --- 11 unchanged lines hidden (view full) --- 3682/* The system does not provide the header <locale.h>. Take care yourself. */" 3683 fi 3684 3685 3686 if test -f $srcdir/po2tbl.sed.in; then 3687 if test "$CATOBJEXT" = ".cat"; then 3688 ac_safe=`echo "linux/version.h" | sed 'y%./+-%__p_%'` 3689echo $ac_n "checking for linux/version.h""... $ac_c" 1>&6 |
3698echo "configure:3699: checking for linux/version.h" >&5 | 3690echo "configure:3691: checking for linux/version.h" >&5 |
3699if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3700 echo $ac_n "(cached) $ac_c" 1>&6 3701else 3702 cat > conftest.$ac_ext <<EOF | 3691if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3692 echo $ac_n "(cached) $ac_c" 1>&6 3693else 3694 cat > conftest.$ac_ext <<EOF |
3703#line 3704 "configure" | 3695#line 3696 "configure" |
3704#include "confdefs.h" 3705#include <linux/version.h> 3706EOF 3707ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3696#include "confdefs.h" 3697#include <linux/version.h> 3698EOF 3699ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3708{ (eval echo configure:3709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3700{ (eval echo configure:3701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3709ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3710if test -z "$ac_err"; then 3711 rm -rf conftest* 3712 eval "ac_cv_header_$ac_safe=yes" 3713else 3714 echo "$ac_err" >&5 3715 echo "configure: failed program was:" >&5 3716 cat conftest.$ac_ext >&5 --- 61 unchanged lines hidden (view full) --- 3778# SunOS /usr/etc/install 3779# IRIX /sbin/install 3780# AIX /bin/install 3781# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3782# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3783# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3784# ./install, which can be erroneously created by make from ./install.sh. 3785echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 3701ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3702if test -z "$ac_err"; then 3703 rm -rf conftest* 3704 eval "ac_cv_header_$ac_safe=yes" 3705else 3706 echo "$ac_err" >&5 3707 echo "configure: failed program was:" >&5 3708 cat conftest.$ac_ext >&5 --- 61 unchanged lines hidden (view full) --- 3770# SunOS /usr/etc/install 3771# IRIX /sbin/install 3772# AIX /bin/install 3773# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3774# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3775# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3776# ./install, which can be erroneously created by make from ./install.sh. 3777echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3786echo "configure:3787: checking for a BSD compatible install" >&5 | 3778echo "configure:3779: checking for a BSD compatible install" >&5 |
3787if test -z "$INSTALL"; then 3788if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 3789 echo $ac_n "(cached) $ac_c" 1>&6 3790else 3791 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3792 for ac_dir in $PATH; do 3793 # Account for people who put trailing slashes in PATH elements. 3794 case "$ac_dir/" in --- 66 unchanged lines hidden (view full) --- 3861 fi 3862fi 3863 3864# Also set EXEEXT_FOR_BUILD. 3865if test "x$cross_compiling" = "xno"; then 3866 EXEEXT_FOR_BUILD='$(EXEEXT)' 3867else 3868 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 | 3779if test -z "$INSTALL"; then 3780if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 3781 echo $ac_n "(cached) $ac_c" 1>&6 3782else 3783 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 3784 for ac_dir in $PATH; do 3785 # Account for people who put trailing slashes in PATH elements. 3786 case "$ac_dir/" in --- 66 unchanged lines hidden (view full) --- 3853 fi 3854fi 3855 3856# Also set EXEEXT_FOR_BUILD. 3857if test "x$cross_compiling" = "xno"; then 3858 EXEEXT_FOR_BUILD='$(EXEEXT)' 3859else 3860 echo $ac_n "checking for build system executable suffix""... $ac_c" 1>&6 |
3869echo "configure:3870: checking for build system executable suffix" >&5 | 3861echo "configure:3862: checking for build system executable suffix" >&5 |
3870if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 3871 echo $ac_n "(cached) $ac_c" 1>&6 3872else 3873 rm -f conftest* 3874 echo 'int main () { return 0; }' > conftest.c 3875 bfd_cv_build_exeext= 3876 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 3877 for file in conftest.*; do --- 11 unchanged lines hidden (view full) --- 3889 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} 3890fi 3891 3892 3893for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h 3894do 3895ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3896echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3862if eval "test \"`echo '$''{'bfd_cv_build_exeext'+set}'`\" = set"; then 3863 echo $ac_n "(cached) $ac_c" 1>&6 3864else 3865 rm -f conftest* 3866 echo 'int main () { return 0; }' > conftest.c 3867 bfd_cv_build_exeext= 3868 ${CC_FOR_BUILD} -o conftest conftest.c 1>&5 2>&5 3869 for file in conftest.*; do --- 11 unchanged lines hidden (view full) --- 3881 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext} 3882fi 3883 3884 3885for ac_hdr in stddef.h string.h strings.h stdlib.h time.h unistd.h 3886do 3887ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3888echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3897echo "configure:3898: checking for $ac_hdr" >&5 | 3889echo "configure:3890: checking for $ac_hdr" >&5 |
3898if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3899 echo $ac_n "(cached) $ac_c" 1>&6 3900else 3901 cat > conftest.$ac_ext <<EOF | 3890if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3891 echo $ac_n "(cached) $ac_c" 1>&6 3892else 3893 cat > conftest.$ac_ext <<EOF |
3902#line 3903 "configure" | 3894#line 3895 "configure" |
3903#include "confdefs.h" 3904#include <$ac_hdr> 3905EOF 3906ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3895#include "confdefs.h" 3896#include <$ac_hdr> 3897EOF 3898ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3907{ (eval echo configure:3908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3899{ (eval echo configure:3900: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3908ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3909if test -z "$ac_err"; then 3910 rm -rf conftest* 3911 eval "ac_cv_header_$ac_safe=yes" 3912else 3913 echo "$ac_err" >&5 3914 echo "configure: failed program was:" >&5 3915 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 3929 echo "$ac_t""no" 1>&6 3930fi 3931done 3932 3933for ac_hdr in fcntl.h sys/file.h sys/time.h 3934do 3935ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3936echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 3900ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3901if test -z "$ac_err"; then 3902 rm -rf conftest* 3903 eval "ac_cv_header_$ac_safe=yes" 3904else 3905 echo "$ac_err" >&5 3906 echo "configure: failed program was:" >&5 3907 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 3921 echo "$ac_t""no" 1>&6 3922fi 3923done 3924 3925for ac_hdr in fcntl.h sys/file.h sys/time.h 3926do 3927ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3928echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
3937echo "configure:3938: checking for $ac_hdr" >&5 | 3929echo "configure:3930: checking for $ac_hdr" >&5 |
3938if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3939 echo $ac_n "(cached) $ac_c" 1>&6 3940else 3941 cat > conftest.$ac_ext <<EOF | 3930if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3931 echo $ac_n "(cached) $ac_c" 1>&6 3932else 3933 cat > conftest.$ac_ext <<EOF |
3942#line 3943 "configure" | 3934#line 3935 "configure" |
3943#include "confdefs.h" 3944#include <$ac_hdr> 3945EOF 3946ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 3935#include "confdefs.h" 3936#include <$ac_hdr> 3937EOF 3938ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3947{ (eval echo configure:3948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 3939{ (eval echo configure:3940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3948ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3949if test -z "$ac_err"; then 3950 rm -rf conftest* 3951 eval "ac_cv_header_$ac_safe=yes" 3952else 3953 echo "$ac_err" >&5 3954 echo "configure: failed program was:" >&5 3955 cat conftest.$ac_ext >&5 --- 10 unchanged lines hidden (view full) --- 3966EOF 3967 3968else 3969 echo "$ac_t""no" 1>&6 3970fi 3971done 3972 3973echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 3940ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3941if test -z "$ac_err"; then 3942 rm -rf conftest* 3943 eval "ac_cv_header_$ac_safe=yes" 3944else 3945 echo "$ac_err" >&5 3946 echo "configure: failed program was:" >&5 3947 cat conftest.$ac_ext >&5 --- 10 unchanged lines hidden (view full) --- 3958EOF 3959 3960else 3961 echo "$ac_t""no" 1>&6 3962fi 3963done 3964 3965echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3974echo "configure:3975: checking whether time.h and sys/time.h may both be included" >&5 | 3966echo "configure:3967: checking whether time.h and sys/time.h may both be included" >&5 |
3975if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 3976 echo $ac_n "(cached) $ac_c" 1>&6 3977else 3978 cat > conftest.$ac_ext <<EOF | 3967if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 3968 echo $ac_n "(cached) $ac_c" 1>&6 3969else 3970 cat > conftest.$ac_ext <<EOF |
3979#line 3980 "configure" | 3971#line 3972 "configure" |
3980#include "confdefs.h" 3981#include <sys/types.h> 3982#include <sys/time.h> 3983#include <time.h> 3984int main() { 3985struct tm *tp; 3986; return 0; } 3987EOF | 3972#include "confdefs.h" 3973#include <sys/types.h> 3974#include <sys/time.h> 3975#include <time.h> 3976int main() { 3977struct tm *tp; 3978; return 0; } 3979EOF |
3988if { (eval echo configure:3989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3980if { (eval echo configure:3981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3989 rm -rf conftest* 3990 ac_cv_header_time=yes 3991else 3992 echo "configure: failed program was:" >&5 3993 cat conftest.$ac_ext >&5 3994 rm -rf conftest* 3995 ac_cv_header_time=no 3996fi --- 8 unchanged lines hidden (view full) --- 4005 4006fi 4007 4008ac_header_dirent=no 4009for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 4010do 4011ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4012echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 3981 rm -rf conftest* 3982 ac_cv_header_time=yes 3983else 3984 echo "configure: failed program was:" >&5 3985 cat conftest.$ac_ext >&5 3986 rm -rf conftest* 3987 ac_cv_header_time=no 3988fi --- 8 unchanged lines hidden (view full) --- 3997 3998fi 3999 4000ac_header_dirent=no 4001for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h 4002do 4003ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4004echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
4013echo "configure:4014: checking for $ac_hdr that defines DIR" >&5 | 4005echo "configure:4006: checking for $ac_hdr that defines DIR" >&5 |
4014if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4015 echo $ac_n "(cached) $ac_c" 1>&6 4016else 4017 cat > conftest.$ac_ext <<EOF | 4006if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then 4007 echo $ac_n "(cached) $ac_c" 1>&6 4008else 4009 cat > conftest.$ac_ext <<EOF |
4018#line 4019 "configure" | 4010#line 4011 "configure" |
4019#include "confdefs.h" 4020#include <sys/types.h> 4021#include <$ac_hdr> 4022int main() { 4023DIR *dirp = 0; 4024; return 0; } 4025EOF | 4011#include "confdefs.h" 4012#include <sys/types.h> 4013#include <$ac_hdr> 4014int main() { 4015DIR *dirp = 0; 4016; return 0; } 4017EOF |
4026if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4018if { (eval echo configure:4019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4027 rm -rf conftest* 4028 eval "ac_cv_header_dirent_$ac_safe=yes" 4029else 4030 echo "configure: failed program was:" >&5 4031 cat conftest.$ac_ext >&5 4032 rm -rf conftest* 4033 eval "ac_cv_header_dirent_$ac_safe=no" 4034fi --- 8 unchanged lines hidden (view full) --- 4043 ac_header_dirent=$ac_hdr; break 4044else 4045 echo "$ac_t""no" 1>&6 4046fi 4047done 4048# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4049if test $ac_header_dirent = dirent.h; then 4050echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 4019 rm -rf conftest* 4020 eval "ac_cv_header_dirent_$ac_safe=yes" 4021else 4022 echo "configure: failed program was:" >&5 4023 cat conftest.$ac_ext >&5 4024 rm -rf conftest* 4025 eval "ac_cv_header_dirent_$ac_safe=no" 4026fi --- 8 unchanged lines hidden (view full) --- 4035 ac_header_dirent=$ac_hdr; break 4036else 4037 echo "$ac_t""no" 1>&6 4038fi 4039done 4040# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. 4041if test $ac_header_dirent = dirent.h; then 4042echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
4051echo "configure:4052: checking for opendir in -ldir" >&5 | 4043echo "configure:4044: checking for opendir in -ldir" >&5 |
4052ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4053if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4054 echo $ac_n "(cached) $ac_c" 1>&6 4055else 4056 ac_save_LIBS="$LIBS" 4057LIBS="-ldir $LIBS" 4058cat > conftest.$ac_ext <<EOF | 4044ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` 4045if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4046 echo $ac_n "(cached) $ac_c" 1>&6 4047else 4048 ac_save_LIBS="$LIBS" 4049LIBS="-ldir $LIBS" 4050cat > conftest.$ac_ext <<EOF |
4059#line 4060 "configure" | 4051#line 4052 "configure" |
4060#include "confdefs.h" 4061/* Override any gcc2 internal prototype to avoid an error. */ 4062/* We use char because int might match the return type of a gcc2 4063 builtin and then its argument prototype would still apply. */ 4064char opendir(); 4065 4066int main() { 4067opendir() 4068; return 0; } 4069EOF | 4052#include "confdefs.h" 4053/* Override any gcc2 internal prototype to avoid an error. */ 4054/* We use char because int might match the return type of a gcc2 4055 builtin and then its argument prototype would still apply. */ 4056char opendir(); 4057 4058int main() { 4059opendir() 4060; return 0; } 4061EOF |
4070if { (eval echo configure:4071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4062if { (eval echo configure:4063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4071 rm -rf conftest* 4072 eval "ac_cv_lib_$ac_lib_var=yes" 4073else 4074 echo "configure: failed program was:" >&5 4075 cat conftest.$ac_ext >&5 4076 rm -rf conftest* 4077 eval "ac_cv_lib_$ac_lib_var=no" 4078fi --- 5 unchanged lines hidden (view full) --- 4084 echo "$ac_t""yes" 1>&6 4085 LIBS="$LIBS -ldir" 4086else 4087 echo "$ac_t""no" 1>&6 4088fi 4089 4090else 4091echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 4063 rm -rf conftest* 4064 eval "ac_cv_lib_$ac_lib_var=yes" 4065else 4066 echo "configure: failed program was:" >&5 4067 cat conftest.$ac_ext >&5 4068 rm -rf conftest* 4069 eval "ac_cv_lib_$ac_lib_var=no" 4070fi --- 5 unchanged lines hidden (view full) --- 4076 echo "$ac_t""yes" 1>&6 4077 LIBS="$LIBS -ldir" 4078else 4079 echo "$ac_t""no" 1>&6 4080fi 4081 4082else 4083echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
4092echo "configure:4093: checking for opendir in -lx" >&5 | 4084echo "configure:4085: checking for opendir in -lx" >&5 |
4093ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4094if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4095 echo $ac_n "(cached) $ac_c" 1>&6 4096else 4097 ac_save_LIBS="$LIBS" 4098LIBS="-lx $LIBS" 4099cat > conftest.$ac_ext <<EOF | 4085ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` 4086if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4087 echo $ac_n "(cached) $ac_c" 1>&6 4088else 4089 ac_save_LIBS="$LIBS" 4090LIBS="-lx $LIBS" 4091cat > conftest.$ac_ext <<EOF |
4100#line 4101 "configure" | 4092#line 4093 "configure" |
4101#include "confdefs.h" 4102/* Override any gcc2 internal prototype to avoid an error. */ 4103/* We use char because int might match the return type of a gcc2 4104 builtin and then its argument prototype would still apply. */ 4105char opendir(); 4106 4107int main() { 4108opendir() 4109; return 0; } 4110EOF | 4093#include "confdefs.h" 4094/* Override any gcc2 internal prototype to avoid an error. */ 4095/* We use char because int might match the return type of a gcc2 4096 builtin and then its argument prototype would still apply. */ 4097char opendir(); 4098 4099int main() { 4100opendir() 4101; return 0; } 4102EOF |
4111if { (eval echo configure:4112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4103if { (eval echo configure:4104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4112 rm -rf conftest* 4113 eval "ac_cv_lib_$ac_lib_var=yes" 4114else 4115 echo "configure: failed program was:" >&5 4116 cat conftest.$ac_ext >&5 4117 rm -rf conftest* 4118 eval "ac_cv_lib_$ac_lib_var=no" 4119fi --- 8 unchanged lines hidden (view full) --- 4128 echo "$ac_t""no" 1>&6 4129fi 4130 4131fi 4132 4133for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid 4134do 4135echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 4104 rm -rf conftest* 4105 eval "ac_cv_lib_$ac_lib_var=yes" 4106else 4107 echo "configure: failed program was:" >&5 4108 cat conftest.$ac_ext >&5 4109 rm -rf conftest* 4110 eval "ac_cv_lib_$ac_lib_var=no" 4111fi --- 8 unchanged lines hidden (view full) --- 4120 echo "$ac_t""no" 1>&6 4121fi 4122 4123fi 4124 4125for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid 4126do 4127echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4136echo "configure:4137: checking for $ac_func" >&5 | 4128echo "configure:4129: checking for $ac_func" >&5 |
4137if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4138 echo $ac_n "(cached) $ac_c" 1>&6 4139else 4140 cat > conftest.$ac_ext <<EOF | 4129if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 4130 echo $ac_n "(cached) $ac_c" 1>&6 4131else 4132 cat > conftest.$ac_ext <<EOF |
4141#line 4142 "configure" | 4133#line 4134 "configure" |
4142#include "confdefs.h" 4143/* System header to define __stub macros and hopefully few prototypes, 4144 which can conflict with char $ac_func(); below. */ 4145#include <assert.h> 4146/* Override any gcc2 internal prototype to avoid an error. */ 4147/* We use char because int might match the return type of a gcc2 4148 builtin and then its argument prototype would still apply. */ 4149char $ac_func(); --- 6 unchanged lines hidden (view full) --- 4156#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4157choke me 4158#else 4159$ac_func(); 4160#endif 4161 4162; return 0; } 4163EOF | 4134#include "confdefs.h" 4135/* System header to define __stub macros and hopefully few prototypes, 4136 which can conflict with char $ac_func(); below. */ 4137#include <assert.h> 4138/* Override any gcc2 internal prototype to avoid an error. */ 4139/* We use char because int might match the return type of a gcc2 4140 builtin and then its argument prototype would still apply. */ 4141char $ac_func(); --- 6 unchanged lines hidden (view full) --- 4148#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4149choke me 4150#else 4151$ac_func(); 4152#endif 4153 4154; return 0; } 4155EOF |
4164if { (eval echo configure:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 4156if { (eval echo configure:4157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4165 rm -rf conftest* 4166 eval "ac_cv_func_$ac_func=yes" 4167else 4168 echo "configure: failed program was:" >&5 4169 cat conftest.$ac_ext >&5 4170 rm -rf conftest* 4171 eval "ac_cv_func_$ac_func=no" 4172fi --- 18 unchanged lines hidden (view full) --- 4191*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 4192 cat >> confdefs.h <<\EOF 4193#define USE_BINARY_FOPEN 1 4194EOF 4195 ;; 4196esac 4197 4198echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 | 4157 rm -rf conftest* 4158 eval "ac_cv_func_$ac_func=yes" 4159else 4160 echo "configure: failed program was:" >&5 4161 cat conftest.$ac_ext >&5 4162 rm -rf conftest* 4163 eval "ac_cv_func_$ac_func=no" 4164fi --- 18 unchanged lines hidden (view full) --- 4183*-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*) 4184 cat >> confdefs.h <<\EOF 4185#define USE_BINARY_FOPEN 1 4186EOF 4187 ;; 4188esac 4189 4190echo $ac_n "checking whether strstr must be declared""... $ac_c" 1>&6 |
4199echo "configure:4200: checking whether strstr must be declared" >&5 | 4191echo "configure:4192: checking whether strstr must be declared" >&5 |
4200if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4201 echo $ac_n "(cached) $ac_c" 1>&6 4202else 4203 cat > conftest.$ac_ext <<EOF | 4192if eval "test \"`echo '$''{'bfd_cv_decl_needed_strstr'+set}'`\" = set"; then 4193 echo $ac_n "(cached) $ac_c" 1>&6 4194else 4195 cat > conftest.$ac_ext <<EOF |
4204#line 4205 "configure" | 4196#line 4197 "configure" |
4205#include "confdefs.h" 4206 4207#include <stdio.h> 4208#ifdef HAVE_STRING_H 4209#include <string.h> 4210#else 4211#ifdef HAVE_STRINGS_H 4212#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4217#endif 4218#ifdef HAVE_UNISTD_H 4219#include <unistd.h> 4220#endif 4221int main() { 4222char *(*pfn) = (char *(*)) strstr 4223; return 0; } 4224EOF | 4197#include "confdefs.h" 4198 4199#include <stdio.h> 4200#ifdef HAVE_STRING_H 4201#include <string.h> 4202#else 4203#ifdef HAVE_STRINGS_H 4204#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4209#endif 4210#ifdef HAVE_UNISTD_H 4211#include <unistd.h> 4212#endif 4213int main() { 4214char *(*pfn) = (char *(*)) strstr 4215; return 0; } 4216EOF |
4225if { (eval echo configure:4226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4217if { (eval echo configure:4218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4226 rm -rf conftest* 4227 bfd_cv_decl_needed_strstr=no 4228else 4229 echo "configure: failed program was:" >&5 4230 cat conftest.$ac_ext >&5 4231 rm -rf conftest* 4232 bfd_cv_decl_needed_strstr=yes 4233fi --- 4 unchanged lines hidden (view full) --- 4238if test $bfd_cv_decl_needed_strstr = yes; then 4239 cat >> confdefs.h <<\EOF 4240#define NEED_DECLARATION_STRSTR 1 4241EOF 4242 4243fi 4244 4245echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 | 4218 rm -rf conftest* 4219 bfd_cv_decl_needed_strstr=no 4220else 4221 echo "configure: failed program was:" >&5 4222 cat conftest.$ac_ext >&5 4223 rm -rf conftest* 4224 bfd_cv_decl_needed_strstr=yes 4225fi --- 4 unchanged lines hidden (view full) --- 4230if test $bfd_cv_decl_needed_strstr = yes; then 4231 cat >> confdefs.h <<\EOF 4232#define NEED_DECLARATION_STRSTR 1 4233EOF 4234 4235fi 4236 4237echo $ac_n "checking whether malloc must be declared""... $ac_c" 1>&6 |
4246echo "configure:4247: checking whether malloc must be declared" >&5 | 4238echo "configure:4239: checking whether malloc must be declared" >&5 |
4247if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then 4248 echo $ac_n "(cached) $ac_c" 1>&6 4249else 4250 cat > conftest.$ac_ext <<EOF | 4239if eval "test \"`echo '$''{'bfd_cv_decl_needed_malloc'+set}'`\" = set"; then 4240 echo $ac_n "(cached) $ac_c" 1>&6 4241else 4242 cat > conftest.$ac_ext <<EOF |
4251#line 4252 "configure" | 4243#line 4244 "configure" |
4252#include "confdefs.h" 4253 4254#include <stdio.h> 4255#ifdef HAVE_STRING_H 4256#include <string.h> 4257#else 4258#ifdef HAVE_STRINGS_H 4259#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4264#endif 4265#ifdef HAVE_UNISTD_H 4266#include <unistd.h> 4267#endif 4268int main() { 4269char *(*pfn) = (char *(*)) malloc 4270; return 0; } 4271EOF | 4244#include "confdefs.h" 4245 4246#include <stdio.h> 4247#ifdef HAVE_STRING_H 4248#include <string.h> 4249#else 4250#ifdef HAVE_STRINGS_H 4251#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4256#endif 4257#ifdef HAVE_UNISTD_H 4258#include <unistd.h> 4259#endif 4260int main() { 4261char *(*pfn) = (char *(*)) malloc 4262; return 0; } 4263EOF |
4272if { (eval echo configure:4273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4264if { (eval echo configure:4265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4273 rm -rf conftest* 4274 bfd_cv_decl_needed_malloc=no 4275else 4276 echo "configure: failed program was:" >&5 4277 cat conftest.$ac_ext >&5 4278 rm -rf conftest* 4279 bfd_cv_decl_needed_malloc=yes 4280fi --- 4 unchanged lines hidden (view full) --- 4285if test $bfd_cv_decl_needed_malloc = yes; then 4286 cat >> confdefs.h <<\EOF 4287#define NEED_DECLARATION_MALLOC 1 4288EOF 4289 4290fi 4291 4292echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 | 4265 rm -rf conftest* 4266 bfd_cv_decl_needed_malloc=no 4267else 4268 echo "configure: failed program was:" >&5 4269 cat conftest.$ac_ext >&5 4270 rm -rf conftest* 4271 bfd_cv_decl_needed_malloc=yes 4272fi --- 4 unchanged lines hidden (view full) --- 4277if test $bfd_cv_decl_needed_malloc = yes; then 4278 cat >> confdefs.h <<\EOF 4279#define NEED_DECLARATION_MALLOC 1 4280EOF 4281 4282fi 4283 4284echo $ac_n "checking whether realloc must be declared""... $ac_c" 1>&6 |
4293echo "configure:4294: checking whether realloc must be declared" >&5 | 4285echo "configure:4286: checking whether realloc must be declared" >&5 |
4294if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then 4295 echo $ac_n "(cached) $ac_c" 1>&6 4296else 4297 cat > conftest.$ac_ext <<EOF | 4286if eval "test \"`echo '$''{'bfd_cv_decl_needed_realloc'+set}'`\" = set"; then 4287 echo $ac_n "(cached) $ac_c" 1>&6 4288else 4289 cat > conftest.$ac_ext <<EOF |
4298#line 4299 "configure" | 4290#line 4291 "configure" |
4299#include "confdefs.h" 4300 4301#include <stdio.h> 4302#ifdef HAVE_STRING_H 4303#include <string.h> 4304#else 4305#ifdef HAVE_STRINGS_H 4306#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4311#endif 4312#ifdef HAVE_UNISTD_H 4313#include <unistd.h> 4314#endif 4315int main() { 4316char *(*pfn) = (char *(*)) realloc 4317; return 0; } 4318EOF | 4291#include "confdefs.h" 4292 4293#include <stdio.h> 4294#ifdef HAVE_STRING_H 4295#include <string.h> 4296#else 4297#ifdef HAVE_STRINGS_H 4298#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4303#endif 4304#ifdef HAVE_UNISTD_H 4305#include <unistd.h> 4306#endif 4307int main() { 4308char *(*pfn) = (char *(*)) realloc 4309; return 0; } 4310EOF |
4319if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4311if { (eval echo configure:4312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4320 rm -rf conftest* 4321 bfd_cv_decl_needed_realloc=no 4322else 4323 echo "configure: failed program was:" >&5 4324 cat conftest.$ac_ext >&5 4325 rm -rf conftest* 4326 bfd_cv_decl_needed_realloc=yes 4327fi --- 4 unchanged lines hidden (view full) --- 4332if test $bfd_cv_decl_needed_realloc = yes; then 4333 cat >> confdefs.h <<\EOF 4334#define NEED_DECLARATION_REALLOC 1 4335EOF 4336 4337fi 4338 4339echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 | 4312 rm -rf conftest* 4313 bfd_cv_decl_needed_realloc=no 4314else 4315 echo "configure: failed program was:" >&5 4316 cat conftest.$ac_ext >&5 4317 rm -rf conftest* 4318 bfd_cv_decl_needed_realloc=yes 4319fi --- 4 unchanged lines hidden (view full) --- 4324if test $bfd_cv_decl_needed_realloc = yes; then 4325 cat >> confdefs.h <<\EOF 4326#define NEED_DECLARATION_REALLOC 1 4327EOF 4328 4329fi 4330 4331echo $ac_n "checking whether free must be declared""... $ac_c" 1>&6 |
4340echo "configure:4341: checking whether free must be declared" >&5 | 4332echo "configure:4333: checking whether free must be declared" >&5 |
4341if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4342 echo $ac_n "(cached) $ac_c" 1>&6 4343else 4344 cat > conftest.$ac_ext <<EOF | 4333if eval "test \"`echo '$''{'bfd_cv_decl_needed_free'+set}'`\" = set"; then 4334 echo $ac_n "(cached) $ac_c" 1>&6 4335else 4336 cat > conftest.$ac_ext <<EOF |
4345#line 4346 "configure" | 4337#line 4338 "configure" |
4346#include "confdefs.h" 4347 4348#include <stdio.h> 4349#ifdef HAVE_STRING_H 4350#include <string.h> 4351#else 4352#ifdef HAVE_STRINGS_H 4353#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4358#endif 4359#ifdef HAVE_UNISTD_H 4360#include <unistd.h> 4361#endif 4362int main() { 4363char *(*pfn) = (char *(*)) free 4364; return 0; } 4365EOF | 4338#include "confdefs.h" 4339 4340#include <stdio.h> 4341#ifdef HAVE_STRING_H 4342#include <string.h> 4343#else 4344#ifdef HAVE_STRINGS_H 4345#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4350#endif 4351#ifdef HAVE_UNISTD_H 4352#include <unistd.h> 4353#endif 4354int main() { 4355char *(*pfn) = (char *(*)) free 4356; return 0; } 4357EOF |
4366if { (eval echo configure:4367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4358if { (eval echo configure:4359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4367 rm -rf conftest* 4368 bfd_cv_decl_needed_free=no 4369else 4370 echo "configure: failed program was:" >&5 4371 cat conftest.$ac_ext >&5 4372 rm -rf conftest* 4373 bfd_cv_decl_needed_free=yes 4374fi --- 4 unchanged lines hidden (view full) --- 4379if test $bfd_cv_decl_needed_free = yes; then 4380 cat >> confdefs.h <<\EOF 4381#define NEED_DECLARATION_FREE 1 4382EOF 4383 4384fi 4385 4386echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 | 4359 rm -rf conftest* 4360 bfd_cv_decl_needed_free=no 4361else 4362 echo "configure: failed program was:" >&5 4363 cat conftest.$ac_ext >&5 4364 rm -rf conftest* 4365 bfd_cv_decl_needed_free=yes 4366fi --- 4 unchanged lines hidden (view full) --- 4371if test $bfd_cv_decl_needed_free = yes; then 4372 cat >> confdefs.h <<\EOF 4373#define NEED_DECLARATION_FREE 1 4374EOF 4375 4376fi 4377 4378echo $ac_n "checking whether getenv must be declared""... $ac_c" 1>&6 |
4387echo "configure:4388: checking whether getenv must be declared" >&5 | 4379echo "configure:4380: checking whether getenv must be declared" >&5 |
4388if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 4389 echo $ac_n "(cached) $ac_c" 1>&6 4390else 4391 cat > conftest.$ac_ext <<EOF | 4380if eval "test \"`echo '$''{'bfd_cv_decl_needed_getenv'+set}'`\" = set"; then 4381 echo $ac_n "(cached) $ac_c" 1>&6 4382else 4383 cat > conftest.$ac_ext <<EOF |
4392#line 4393 "configure" | 4384#line 4385 "configure" |
4393#include "confdefs.h" 4394 4395#include <stdio.h> 4396#ifdef HAVE_STRING_H 4397#include <string.h> 4398#else 4399#ifdef HAVE_STRINGS_H 4400#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4405#endif 4406#ifdef HAVE_UNISTD_H 4407#include <unistd.h> 4408#endif 4409int main() { 4410char *(*pfn) = (char *(*)) getenv 4411; return 0; } 4412EOF | 4385#include "confdefs.h" 4386 4387#include <stdio.h> 4388#ifdef HAVE_STRING_H 4389#include <string.h> 4390#else 4391#ifdef HAVE_STRINGS_H 4392#include <strings.h> --- 4 unchanged lines hidden (view full) --- 4397#endif 4398#ifdef HAVE_UNISTD_H 4399#include <unistd.h> 4400#endif 4401int main() { 4402char *(*pfn) = (char *(*)) getenv 4403; return 0; } 4404EOF |
4413if { (eval echo configure:4414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4405if { (eval echo configure:4406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4414 rm -rf conftest* 4415 bfd_cv_decl_needed_getenv=no 4416else 4417 echo "configure: failed program was:" >&5 4418 cat conftest.$ac_ext >&5 4419 rm -rf conftest* 4420 bfd_cv_decl_needed_getenv=yes 4421fi --- 15 unchanged lines hidden (view full) --- 4437TRAD_HEADER= 4438if test "${target}" = "${host}"; then 4439 case "${host}" in 4440 alpha*-*-linux-gnu*) 4441 COREFILE=trad-core.lo 4442 TRAD_HEADER='"hosts/alphalinux.h"' 4443 ;; 4444 alpha*-*-netbsd*) COREFILE=netbsd-core.lo ;; | 4406 rm -rf conftest* 4407 bfd_cv_decl_needed_getenv=no 4408else 4409 echo "configure: failed program was:" >&5 4410 cat conftest.$ac_ext >&5 4411 rm -rf conftest* 4412 bfd_cv_decl_needed_getenv=yes 4413fi --- 15 unchanged lines hidden (view full) --- 4429TRAD_HEADER= 4430if test "${target}" = "${host}"; then 4431 case "${host}" in 4432 alpha*-*-linux-gnu*) 4433 COREFILE=trad-core.lo 4434 TRAD_HEADER='"hosts/alphalinux.h"' 4435 ;; 4436 alpha*-*-netbsd*) COREFILE=netbsd-core.lo ;; |
4437 alpha*-*-freebsd*) ;; |
|
4445 alpha*-*-*) COREFILE=osf-core.lo ;; 4446 arm-*-riscix) COREFILE=trad-core.lo ;; 4447 hppa*-*-hpux*) COREFILE=hpux-core.lo ;; 4448 hppa*-*-hiux*) COREFILE=hpux-core.lo ;; 4449 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;; 4450 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" 4451 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; 4452 i370-*-*) --- 158 unchanged lines hidden (view full) --- 4611 esac 4612 4613 # ELF corefile support has several flavors, but all of 4614 # them use something called <sys/procfs.h> 4615 for ac_hdr in sys/procfs.h 4616do 4617ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4618echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4438 alpha*-*-*) COREFILE=osf-core.lo ;; 4439 arm-*-riscix) COREFILE=trad-core.lo ;; 4440 hppa*-*-hpux*) COREFILE=hpux-core.lo ;; 4441 hppa*-*-hiux*) COREFILE=hpux-core.lo ;; 4442 hppa*-*-mpeix*) COREFILE=hpux-core.lo ;; 4443 hppa*-*-bsd*) COREFILE="hpux-core.lo hppabsd-core.lo" 4444 COREFLAG="-DHPUX_CORE -DHPPABSD_CORE" ;; 4445 i370-*-*) --- 158 unchanged lines hidden (view full) --- 4604 esac 4605 4606 # ELF corefile support has several flavors, but all of 4607 # them use something called <sys/procfs.h> 4608 for ac_hdr in sys/procfs.h 4609do 4610ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4611echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4619echo "configure:4620: checking for $ac_hdr" >&5 | 4612echo "configure:4613: checking for $ac_hdr" >&5 |
4620if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4621 echo $ac_n "(cached) $ac_c" 1>&6 4622else 4623 cat > conftest.$ac_ext <<EOF | 4613if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4614 echo $ac_n "(cached) $ac_c" 1>&6 4615else 4616 cat > conftest.$ac_ext <<EOF |
4624#line 4625 "configure" | 4617#line 4618 "configure" |
4625#include "confdefs.h" 4626#include <$ac_hdr> 4627EOF 4628ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 4618#include "confdefs.h" 4619#include <$ac_hdr> 4620EOF 4621ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4629{ (eval echo configure:4630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 4622{ (eval echo configure:4623: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4630ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4631if test -z "$ac_err"; then 4632 rm -rf conftest* 4633 eval "ac_cv_header_$ac_safe=yes" 4634else 4635 echo "$ac_err" >&5 4636 echo "configure: failed program was:" >&5 4637 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 4649 4650else 4651 echo "$ac_t""no" 1>&6 4652fi 4653done 4654 4655 if test "$ac_cv_header_sys_procfs_h" = yes; then 4656 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 | 4623ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4624if test -z "$ac_err"; then 4625 rm -rf conftest* 4626 eval "ac_cv_header_$ac_safe=yes" 4627else 4628 echo "$ac_err" >&5 4629 echo "configure: failed program was:" >&5 4630 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 4642 4643else 4644 echo "$ac_t""no" 1>&6 4645fi 4646done 4647 4648 if test "$ac_cv_header_sys_procfs_h" = yes; then 4649 echo $ac_n "checking for prstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
4657echo "configure:4658: checking for prstatus_t in sys/procfs.h" >&5 | 4650echo "configure:4651: checking for prstatus_t in sys/procfs.h" >&5 |
4658 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 4659 echo $ac_n "(cached) $ac_c" 1>&6 4660else 4661 cat > conftest.$ac_ext <<EOF | 4651 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prstatus_t'+set}'`\" = set"; then 4652 echo $ac_n "(cached) $ac_c" 1>&6 4653else 4654 cat > conftest.$ac_ext <<EOF |
4662#line 4663 "configure" | 4655#line 4656 "configure" |
4663#include "confdefs.h" 4664#include <sys/procfs.h> 4665int main() { 4666prstatus_t avar 4667; return 0; } 4668EOF | 4656#include "confdefs.h" 4657#include <sys/procfs.h> 4658int main() { 4659prstatus_t avar 4660; return 0; } 4661EOF |
4669if { (eval echo configure:4670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4662if { (eval echo configure:4663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4670 rm -rf conftest* 4671 bfd_cv_have_sys_procfs_type_prstatus_t=yes 4672else 4673 echo "configure: failed program was:" >&5 4674 cat conftest.$ac_ext >&5 4675 rm -rf conftest* 4676 bfd_cv_have_sys_procfs_type_prstatus_t=no 4677 --- 5 unchanged lines hidden (view full) --- 4683 cat >> confdefs.h <<\EOF 4684#define HAVE_PRSTATUS_T 1 4685EOF 4686 4687 fi 4688 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus_t" 1>&6 4689 4690 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 | 4663 rm -rf conftest* 4664 bfd_cv_have_sys_procfs_type_prstatus_t=yes 4665else 4666 echo "configure: failed program was:" >&5 4667 cat conftest.$ac_ext >&5 4668 rm -rf conftest* 4669 bfd_cv_have_sys_procfs_type_prstatus_t=no 4670 --- 5 unchanged lines hidden (view full) --- 4676 cat >> confdefs.h <<\EOF 4677#define HAVE_PRSTATUS_T 1 4678EOF 4679 4680 fi 4681 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prstatus_t" 1>&6 4682 4683 echo $ac_n "checking for prstatus_t.pr_who in sys/procfs.h""... $ac_c" 1>&6 |
4691echo "configure:4692: checking for prstatus_t.pr_who in sys/procfs.h" >&5 | 4684echo "configure:4685: checking for prstatus_t.pr_who in sys/procfs.h" >&5 |
4692 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 4693 echo $ac_n "(cached) $ac_c" 1>&6 4694else 4695 cat > conftest.$ac_ext <<EOF | 4685 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who'+set}'`\" = set"; then 4686 echo $ac_n "(cached) $ac_c" 1>&6 4687else 4688 cat > conftest.$ac_ext <<EOF |
4696#line 4697 "configure" | 4689#line 4690 "configure" |
4697#include "confdefs.h" 4698#include <sys/procfs.h> 4699int main() { 4700prstatus_t avar; void* aref = (void*) &avar.pr_who 4701; return 0; } 4702EOF | 4690#include "confdefs.h" 4691#include <sys/procfs.h> 4692int main() { 4693prstatus_t avar; void* aref = (void*) &avar.pr_who 4694; return 0; } 4695EOF |
4703if { (eval echo configure:4704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4696if { (eval echo configure:4697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4704 rm -rf conftest* 4705 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes 4706else 4707 echo "configure: failed program was:" >&5 4708 cat conftest.$ac_ext >&5 4709 rm -rf conftest* 4710 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no 4711 --- 5 unchanged lines hidden (view full) --- 4717 cat >> confdefs.h <<\EOF 4718#define HAVE_PRSTATUS_T_PR_WHO 1 4719EOF 4720 4721 fi 4722 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" 1>&6 4723 4724 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 | 4697 rm -rf conftest* 4698 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes 4699else 4700 echo "configure: failed program was:" >&5 4701 cat conftest.$ac_ext >&5 4702 rm -rf conftest* 4703 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no 4704 --- 5 unchanged lines hidden (view full) --- 4710 cat >> confdefs.h <<\EOF 4711#define HAVE_PRSTATUS_T_PR_WHO 1 4712EOF 4713 4714 fi 4715 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" 1>&6 4716 4717 echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
4725echo "configure:4726: checking for pstatus_t in sys/procfs.h" >&5 | 4718echo "configure:4719: checking for pstatus_t in sys/procfs.h" >&5 |
4726 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 4727 echo $ac_n "(cached) $ac_c" 1>&6 4728else 4729 cat > conftest.$ac_ext <<EOF | 4719 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then 4720 echo $ac_n "(cached) $ac_c" 1>&6 4721else 4722 cat > conftest.$ac_ext <<EOF |
4730#line 4731 "configure" | 4723#line 4724 "configure" |
4731#include "confdefs.h" 4732#include <sys/procfs.h> 4733int main() { 4734pstatus_t avar 4735; return 0; } 4736EOF | 4724#include "confdefs.h" 4725#include <sys/procfs.h> 4726int main() { 4727pstatus_t avar 4728; return 0; } 4729EOF |
4737if { (eval echo configure:4738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4730if { (eval echo configure:4731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4738 rm -rf conftest* 4739 bfd_cv_have_sys_procfs_type_pstatus_t=yes 4740else 4741 echo "configure: failed program was:" >&5 4742 cat conftest.$ac_ext >&5 4743 rm -rf conftest* 4744 bfd_cv_have_sys_procfs_type_pstatus_t=no 4745 --- 5 unchanged lines hidden (view full) --- 4751 cat >> confdefs.h <<\EOF 4752#define HAVE_PSTATUS_T 1 4753EOF 4754 4755 fi 4756 echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6 4757 4758 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 | 4731 rm -rf conftest* 4732 bfd_cv_have_sys_procfs_type_pstatus_t=yes 4733else 4734 echo "configure: failed program was:" >&5 4735 cat conftest.$ac_ext >&5 4736 rm -rf conftest* 4737 bfd_cv_have_sys_procfs_type_pstatus_t=no 4738 --- 5 unchanged lines hidden (view full) --- 4744 cat >> confdefs.h <<\EOF 4745#define HAVE_PSTATUS_T 1 4746EOF 4747 4748 fi 4749 echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6 4750 4751 echo $ac_n "checking for prpsinfo_t in sys/procfs.h""... $ac_c" 1>&6 |
4759echo "configure:4760: checking for prpsinfo_t in sys/procfs.h" >&5 | 4752echo "configure:4753: checking for prpsinfo_t in sys/procfs.h" >&5 |
4760 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 4761 echo $ac_n "(cached) $ac_c" 1>&6 4762else 4763 cat > conftest.$ac_ext <<EOF | 4753 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prpsinfo_t'+set}'`\" = set"; then 4754 echo $ac_n "(cached) $ac_c" 1>&6 4755else 4756 cat > conftest.$ac_ext <<EOF |
4764#line 4765 "configure" | 4757#line 4758 "configure" |
4765#include "confdefs.h" 4766#include <sys/procfs.h> 4767int main() { 4768prpsinfo_t avar 4769; return 0; } 4770EOF | 4758#include "confdefs.h" 4759#include <sys/procfs.h> 4760int main() { 4761prpsinfo_t avar 4762; return 0; } 4763EOF |
4771if { (eval echo configure:4772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4764if { (eval echo configure:4765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4772 rm -rf conftest* 4773 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes 4774else 4775 echo "configure: failed program was:" >&5 4776 cat conftest.$ac_ext >&5 4777 rm -rf conftest* 4778 bfd_cv_have_sys_procfs_type_prpsinfo_t=no 4779 --- 5 unchanged lines hidden (view full) --- 4785 cat >> confdefs.h <<\EOF 4786#define HAVE_PRPSINFO_T 1 4787EOF 4788 4789 fi 4790 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prpsinfo_t" 1>&6 4791 4792 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 | 4765 rm -rf conftest* 4766 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes 4767else 4768 echo "configure: failed program was:" >&5 4769 cat conftest.$ac_ext >&5 4770 rm -rf conftest* 4771 bfd_cv_have_sys_procfs_type_prpsinfo_t=no 4772 --- 5 unchanged lines hidden (view full) --- 4778 cat >> confdefs.h <<\EOF 4779#define HAVE_PRPSINFO_T 1 4780EOF 4781 4782 fi 4783 echo "$ac_t""$bfd_cv_have_sys_procfs_type_prpsinfo_t" 1>&6 4784 4785 echo $ac_n "checking for psinfo_t in sys/procfs.h""... $ac_c" 1>&6 |
4793echo "configure:4794: checking for psinfo_t in sys/procfs.h" >&5 | 4786echo "configure:4787: checking for psinfo_t in sys/procfs.h" >&5 |
4794 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 4795 echo $ac_n "(cached) $ac_c" 1>&6 4796else 4797 cat > conftest.$ac_ext <<EOF | 4787 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_psinfo_t'+set}'`\" = set"; then 4788 echo $ac_n "(cached) $ac_c" 1>&6 4789else 4790 cat > conftest.$ac_ext <<EOF |
4798#line 4799 "configure" | 4791#line 4792 "configure" |
4799#include "confdefs.h" 4800#include <sys/procfs.h> 4801int main() { 4802psinfo_t avar 4803; return 0; } 4804EOF | 4792#include "confdefs.h" 4793#include <sys/procfs.h> 4794int main() { 4795psinfo_t avar 4796; return 0; } 4797EOF |
4805if { (eval echo configure:4806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4798if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4806 rm -rf conftest* 4807 bfd_cv_have_sys_procfs_type_psinfo_t=yes 4808else 4809 echo "configure: failed program was:" >&5 4810 cat conftest.$ac_ext >&5 4811 rm -rf conftest* 4812 bfd_cv_have_sys_procfs_type_psinfo_t=no 4813 --- 5 unchanged lines hidden (view full) --- 4819 cat >> confdefs.h <<\EOF 4820#define HAVE_PSINFO_T 1 4821EOF 4822 4823 fi 4824 echo "$ac_t""$bfd_cv_have_sys_procfs_type_psinfo_t" 1>&6 4825 4826 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 | 4799 rm -rf conftest* 4800 bfd_cv_have_sys_procfs_type_psinfo_t=yes 4801else 4802 echo "configure: failed program was:" >&5 4803 cat conftest.$ac_ext >&5 4804 rm -rf conftest* 4805 bfd_cv_have_sys_procfs_type_psinfo_t=no 4806 --- 5 unchanged lines hidden (view full) --- 4812 cat >> confdefs.h <<\EOF 4813#define HAVE_PSINFO_T 1 4814EOF 4815 4816 fi 4817 echo "$ac_t""$bfd_cv_have_sys_procfs_type_psinfo_t" 1>&6 4818 4819 echo $ac_n "checking for lwpstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
4827echo "configure:4828: checking for lwpstatus_t in sys/procfs.h" >&5 | 4820echo "configure:4821: checking for lwpstatus_t in sys/procfs.h" >&5 |
4828 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 4829 echo $ac_n "(cached) $ac_c" 1>&6 4830else 4831 cat > conftest.$ac_ext <<EOF | 4821 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_lwpstatus_t'+set}'`\" = set"; then 4822 echo $ac_n "(cached) $ac_c" 1>&6 4823else 4824 cat > conftest.$ac_ext <<EOF |
4832#line 4833 "configure" | 4825#line 4826 "configure" |
4833#include "confdefs.h" 4834#include <sys/procfs.h> 4835int main() { 4836lwpstatus_t avar 4837; return 0; } 4838EOF | 4826#include "confdefs.h" 4827#include <sys/procfs.h> 4828int main() { 4829lwpstatus_t avar 4830; return 0; } 4831EOF |
4839if { (eval echo configure:4840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4832if { (eval echo configure:4833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4840 rm -rf conftest* 4841 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes 4842else 4843 echo "configure: failed program was:" >&5 4844 cat conftest.$ac_ext >&5 4845 rm -rf conftest* 4846 bfd_cv_have_sys_procfs_type_lwpstatus_t=no 4847 --- 5 unchanged lines hidden (view full) --- 4853 cat >> confdefs.h <<\EOF 4854#define HAVE_LWPSTATUS_T 1 4855EOF 4856 4857 fi 4858 echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpstatus_t" 1>&6 4859 4860 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 | 4833 rm -rf conftest* 4834 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes 4835else 4836 echo "configure: failed program was:" >&5 4837 cat conftest.$ac_ext >&5 4838 rm -rf conftest* 4839 bfd_cv_have_sys_procfs_type_lwpstatus_t=no 4840 --- 5 unchanged lines hidden (view full) --- 4846 cat >> confdefs.h <<\EOF 4847#define HAVE_LWPSTATUS_T 1 4848EOF 4849 4850 fi 4851 echo "$ac_t""$bfd_cv_have_sys_procfs_type_lwpstatus_t" 1>&6 4852 4853 echo $ac_n "checking for lwpstatus_t.pr_context in sys/procfs.h""... $ac_c" 1>&6 |
4861echo "configure:4862: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 | 4854echo "configure:4855: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5 |
4862 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 4863 echo $ac_n "(cached) $ac_c" 1>&6 4864else 4865 cat > conftest.$ac_ext <<EOF | 4855 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context'+set}'`\" = set"; then 4856 echo $ac_n "(cached) $ac_c" 1>&6 4857else 4858 cat > conftest.$ac_ext <<EOF |
4866#line 4867 "configure" | 4859#line 4860 "configure" |
4867#include "confdefs.h" 4868#include <sys/procfs.h> 4869int main() { 4870lwpstatus_t avar; void* aref = (void*) &avar.pr_context 4871; return 0; } 4872EOF | 4860#include "confdefs.h" 4861#include <sys/procfs.h> 4862int main() { 4863lwpstatus_t avar; void* aref = (void*) &avar.pr_context 4864; return 0; } 4865EOF |
4873if { (eval echo configure:4874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4866if { (eval echo configure:4867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4874 rm -rf conftest* 4875 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes 4876else 4877 echo "configure: failed program was:" >&5 4878 cat conftest.$ac_ext >&5 4879 rm -rf conftest* 4880 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no 4881 --- 5 unchanged lines hidden (view full) --- 4887 cat >> confdefs.h <<\EOF 4888#define HAVE_LWPSTATUS_T_PR_CONTEXT 1 4889EOF 4890 4891 fi 4892 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" 1>&6 4893 4894 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 | 4867 rm -rf conftest* 4868 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes 4869else 4870 echo "configure: failed program was:" >&5 4871 cat conftest.$ac_ext >&5 4872 rm -rf conftest* 4873 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no 4874 --- 5 unchanged lines hidden (view full) --- 4880 cat >> confdefs.h <<\EOF 4881#define HAVE_LWPSTATUS_T_PR_CONTEXT 1 4882EOF 4883 4884 fi 4885 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" 1>&6 4886 4887 echo $ac_n "checking for lwpstatus_t.pr_reg in sys/procfs.h""... $ac_c" 1>&6 |
4895echo "configure:4896: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 | 4888echo "configure:4889: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5 |
4896 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 4897 echo $ac_n "(cached) $ac_c" 1>&6 4898else 4899 cat > conftest.$ac_ext <<EOF | 4889 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg'+set}'`\" = set"; then 4890 echo $ac_n "(cached) $ac_c" 1>&6 4891else 4892 cat > conftest.$ac_ext <<EOF |
4900#line 4901 "configure" | 4893#line 4894 "configure" |
4901#include "confdefs.h" 4902#include <sys/procfs.h> 4903int main() { 4904lwpstatus_t avar; void* aref = (void*) &avar.pr_reg 4905; return 0; } 4906EOF | 4894#include "confdefs.h" 4895#include <sys/procfs.h> 4896int main() { 4897lwpstatus_t avar; void* aref = (void*) &avar.pr_reg 4898; return 0; } 4899EOF |
4907if { (eval echo configure:4908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4900if { (eval echo configure:4901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4908 rm -rf conftest* 4909 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes 4910else 4911 echo "configure: failed program was:" >&5 4912 cat conftest.$ac_ext >&5 4913 rm -rf conftest* 4914 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no 4915 --- 5 unchanged lines hidden (view full) --- 4921 cat >> confdefs.h <<\EOF 4922#define HAVE_LWPSTATUS_T_PR_REG 1 4923EOF 4924 4925 fi 4926 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" 1>&6 4927 4928 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 | 4901 rm -rf conftest* 4902 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes 4903else 4904 echo "configure: failed program was:" >&5 4905 cat conftest.$ac_ext >&5 4906 rm -rf conftest* 4907 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no 4908 --- 5 unchanged lines hidden (view full) --- 4914 cat >> confdefs.h <<\EOF 4915#define HAVE_LWPSTATUS_T_PR_REG 1 4916EOF 4917 4918 fi 4919 echo "$ac_t""$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" 1>&6 4920 4921 echo $ac_n "checking for win32_pstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
4929echo "configure:4930: checking for win32_pstatus_t in sys/procfs.h" >&5 | 4922echo "configure:4923: checking for win32_pstatus_t in sys/procfs.h" >&5 |
4930 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 4931 echo $ac_n "(cached) $ac_c" 1>&6 4932else 4933 cat > conftest.$ac_ext <<EOF | 4923 if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_win32_pstatus_t'+set}'`\" = set"; then 4924 echo $ac_n "(cached) $ac_c" 1>&6 4925else 4926 cat > conftest.$ac_ext <<EOF |
4934#line 4935 "configure" | 4927#line 4928 "configure" |
4935#include "confdefs.h" 4936#include <sys/procfs.h> 4937int main() { 4938win32_pstatus_t avar 4939; return 0; } 4940EOF | 4928#include "confdefs.h" 4929#include <sys/procfs.h> 4930int main() { 4931win32_pstatus_t avar 4932; return 0; } 4933EOF |
4941if { (eval echo configure:4942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 4934if { (eval echo configure:4935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4942 rm -rf conftest* 4943 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes 4944else 4945 echo "configure: failed program was:" >&5 4946 cat conftest.$ac_ext >&5 4947 rm -rf conftest* 4948 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no 4949 --- 343 unchanged lines hidden (view full) --- 5293test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" 5294test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" 5295 5296 5297for ac_hdr in unistd.h 5298do 5299ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5300echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 4935 rm -rf conftest* 4936 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes 4937else 4938 echo "configure: failed program was:" >&5 4939 cat conftest.$ac_ext >&5 4940 rm -rf conftest* 4941 bfd_cv_have_sys_procfs_type_win32_pstatus_t=no 4942 --- 343 unchanged lines hidden (view full) --- 5286test -n "${selarchs}" && tdefaults="${tdefaults} -DSELECT_ARCHITECTURES='${selarchs}'" 5287test -n "${havevecs}" && tdefaults="${tdefaults} ${havevecs}" 5288 5289 5290for ac_hdr in unistd.h 5291do 5292ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5293echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5301echo "configure:5302: checking for $ac_hdr" >&5 | 5294echo "configure:5295: checking for $ac_hdr" >&5 |
5302if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5303 echo $ac_n "(cached) $ac_c" 1>&6 5304else 5305 cat > conftest.$ac_ext <<EOF | 5295if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5296 echo $ac_n "(cached) $ac_c" 1>&6 5297else 5298 cat > conftest.$ac_ext <<EOF |
5306#line 5307 "configure" | 5299#line 5300 "configure" |
5307#include "confdefs.h" 5308#include <$ac_hdr> 5309EOF 5310ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5300#include "confdefs.h" 5301#include <$ac_hdr> 5302EOF 5303ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5311{ (eval echo configure:5312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5304{ (eval echo configure:5305: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5312ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5313if test -z "$ac_err"; then 5314 rm -rf conftest* 5315 eval "ac_cv_header_$ac_safe=yes" 5316else 5317 echo "$ac_err" >&5 5318 echo "configure: failed program was:" >&5 5319 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 5332else 5333 echo "$ac_t""no" 1>&6 5334fi 5335done 5336 5337for ac_func in getpagesize 5338do 5339echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5305ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5306if test -z "$ac_err"; then 5307 rm -rf conftest* 5308 eval "ac_cv_header_$ac_safe=yes" 5309else 5310 echo "$ac_err" >&5 5311 echo "configure: failed program was:" >&5 5312 cat conftest.$ac_ext >&5 --- 12 unchanged lines hidden (view full) --- 5325else 5326 echo "$ac_t""no" 1>&6 5327fi 5328done 5329 5330for ac_func in getpagesize 5331do 5332echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5340echo "configure:5341: checking for $ac_func" >&5 | 5333echo "configure:5334: checking for $ac_func" >&5 |
5341if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5342 echo $ac_n "(cached) $ac_c" 1>&6 5343else 5344 cat > conftest.$ac_ext <<EOF | 5334if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5335 echo $ac_n "(cached) $ac_c" 1>&6 5336else 5337 cat > conftest.$ac_ext <<EOF |
5345#line 5346 "configure" | 5338#line 5339 "configure" |
5346#include "confdefs.h" 5347/* System header to define __stub macros and hopefully few prototypes, 5348 which can conflict with char $ac_func(); below. */ 5349#include <assert.h> 5350/* Override any gcc2 internal prototype to avoid an error. */ 5351/* We use char because int might match the return type of a gcc2 5352 builtin and then its argument prototype would still apply. */ 5353char $ac_func(); --- 6 unchanged lines hidden (view full) --- 5360#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5361choke me 5362#else 5363$ac_func(); 5364#endif 5365 5366; return 0; } 5367EOF | 5339#include "confdefs.h" 5340/* System header to define __stub macros and hopefully few prototypes, 5341 which can conflict with char $ac_func(); below. */ 5342#include <assert.h> 5343/* Override any gcc2 internal prototype to avoid an error. */ 5344/* We use char because int might match the return type of a gcc2 5345 builtin and then its argument prototype would still apply. */ 5346char $ac_func(); --- 6 unchanged lines hidden (view full) --- 5353#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5354choke me 5355#else 5356$ac_func(); 5357#endif 5358 5359; return 0; } 5360EOF |
5368if { (eval echo configure:5369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5361if { (eval echo configure:5362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5369 rm -rf conftest* 5370 eval "ac_cv_func_$ac_func=yes" 5371else 5372 echo "configure: failed program was:" >&5 5373 cat conftest.$ac_ext >&5 5374 rm -rf conftest* 5375 eval "ac_cv_func_$ac_func=no" 5376fi --- 8 unchanged lines hidden (view full) --- 5385EOF 5386 5387else 5388 echo "$ac_t""no" 1>&6 5389fi 5390done 5391 5392echo $ac_n "checking for working mmap""... $ac_c" 1>&6 | 5362 rm -rf conftest* 5363 eval "ac_cv_func_$ac_func=yes" 5364else 5365 echo "configure: failed program was:" >&5 5366 cat conftest.$ac_ext >&5 5367 rm -rf conftest* 5368 eval "ac_cv_func_$ac_func=no" 5369fi --- 8 unchanged lines hidden (view full) --- 5378EOF 5379 5380else 5381 echo "$ac_t""no" 1>&6 5382fi 5383done 5384 5385echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
5393echo "configure:5394: checking for working mmap" >&5 | 5386echo "configure:5387: checking for working mmap" >&5 |
5394if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 5395 echo $ac_n "(cached) $ac_c" 1>&6 5396else 5397 if test "$cross_compiling" = yes; then 5398 ac_cv_func_mmap_fixed_mapped=no 5399else 5400 cat > conftest.$ac_ext <<EOF | 5387if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 5388 echo $ac_n "(cached) $ac_c" 1>&6 5389else 5390 if test "$cross_compiling" = yes; then 5391 ac_cv_func_mmap_fixed_mapped=no 5392else 5393 cat > conftest.$ac_ext <<EOF |
5401#line 5402 "configure" | 5394#line 5395 "configure" |
5402#include "confdefs.h" 5403 5404/* Thanks to Mike Haertel and Jim Avera for this test. 5405 Here is a matrix of mmap possibilities: 5406 mmap private not fixed 5407 mmap private fixed at somewhere currently unmapped 5408 mmap private fixed at somewhere already mapped 5409 mmap shared not fixed --- 10 unchanged lines hidden (view full) --- 5420 5421 Grep wants private fixed already mapped. 5422 The main things grep needs to know about mmap are: 5423 * does it exist and is it safe to write into the mmap'd area 5424 * how to use it (BSD variants) */ 5425#include <sys/types.h> 5426#include <fcntl.h> 5427#include <sys/mman.h> | 5395#include "confdefs.h" 5396 5397/* Thanks to Mike Haertel and Jim Avera for this test. 5398 Here is a matrix of mmap possibilities: 5399 mmap private not fixed 5400 mmap private fixed at somewhere currently unmapped 5401 mmap private fixed at somewhere already mapped 5402 mmap shared not fixed --- 10 unchanged lines hidden (view full) --- 5413 5414 Grep wants private fixed already mapped. 5415 The main things grep needs to know about mmap are: 5416 * does it exist and is it safe to write into the mmap'd area 5417 * how to use it (BSD variants) */ 5418#include <sys/types.h> 5419#include <fcntl.h> 5420#include <sys/mman.h> |
5421#include <stdlib.h> 5422#include <sys/stat.h> |
|
5428 | 5423 |
5424#ifdef HAVE_UNISTD_H 5425# include <unistd.h> 5426#endif 5427 |
|
5429/* This mess was copied from the GNU getpagesize.h. */ 5430#ifndef HAVE_GETPAGESIZE | 5428/* This mess was copied from the GNU getpagesize.h. */ 5429#ifndef HAVE_GETPAGESIZE |
5431# ifdef HAVE_UNISTD_H 5432# include <unistd.h> 5433# endif | |
5434 5435/* Assume that all systems that can run configure have sys/param.h. */ 5436# ifndef HAVE_SYS_PARAM_H 5437# define HAVE_SYS_PARAM_H 1 5438# endif 5439 5440# ifdef _SC_PAGESIZE 5441# define getpagesize() sysconf(_SC_PAGESIZE) --- 38 unchanged lines hidden (view full) --- 5480 int i, pagesize; 5481 int fd; 5482 5483 pagesize = getpagesize(); 5484 5485 /* 5486 * First, make a file with some known garbage in it. 5487 */ | 5430 5431/* Assume that all systems that can run configure have sys/param.h. */ 5432# ifndef HAVE_SYS_PARAM_H 5433# define HAVE_SYS_PARAM_H 1 5434# endif 5435 5436# ifdef _SC_PAGESIZE 5437# define getpagesize() sysconf(_SC_PAGESIZE) --- 38 unchanged lines hidden (view full) --- 5476 int i, pagesize; 5477 int fd; 5478 5479 pagesize = getpagesize(); 5480 5481 /* 5482 * First, make a file with some known garbage in it. 5483 */ |
5488 data = malloc(pagesize); | 5484 data = (char*)malloc(pagesize); |
5489 if (!data) 5490 exit(1); 5491 for (i = 0; i < pagesize; ++i) 5492 *(data + i) = rand(); 5493 umask(0); 5494 fd = creat("conftestmmap", 0600); 5495 if (fd < 0) 5496 exit(1); --- 4 unchanged lines hidden (view full) --- 5501 /* 5502 * Next, try to mmap the file at a fixed address which 5503 * already has something else allocated at it. If we can, 5504 * also make sure that we see the same garbage. 5505 */ 5506 fd = open("conftestmmap", O_RDWR); 5507 if (fd < 0) 5508 exit(1); | 5485 if (!data) 5486 exit(1); 5487 for (i = 0; i < pagesize; ++i) 5488 *(data + i) = rand(); 5489 umask(0); 5490 fd = creat("conftestmmap", 0600); 5491 if (fd < 0) 5492 exit(1); --- 4 unchanged lines hidden (view full) --- 5497 /* 5498 * Next, try to mmap the file at a fixed address which 5499 * already has something else allocated at it. If we can, 5500 * also make sure that we see the same garbage. 5501 */ 5502 fd = open("conftestmmap", O_RDWR); 5503 if (fd < 0) 5504 exit(1); |
5509 data2 = malloc(2 * pagesize); | 5505 data2 = (char*)malloc(2 * pagesize); |
5510 if (!data2) 5511 exit(1); 5512 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 5513 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 5514 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 5515 exit(1); 5516 for (i = 0; i < pagesize; ++i) 5517 if (*(data + i) != *(data2 + i)) 5518 exit(1); 5519 5520 /* 5521 * Finally, make sure that changes to the mapped area 5522 * do not percolate back to the file as seen by read(). 5523 * (This is a bug on some variants of i386 svr4.0.) 5524 */ 5525 for (i = 0; i < pagesize; ++i) 5526 *(data2 + i) = *(data2 + i) + 1; | 5506 if (!data2) 5507 exit(1); 5508 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); 5509 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, 5510 MAP_PRIVATE | MAP_FIXED, fd, 0L)) 5511 exit(1); 5512 for (i = 0; i < pagesize; ++i) 5513 if (*(data + i) != *(data2 + i)) 5514 exit(1); 5515 5516 /* 5517 * Finally, make sure that changes to the mapped area 5518 * do not percolate back to the file as seen by read(). 5519 * (This is a bug on some variants of i386 svr4.0.) 5520 */ 5521 for (i = 0; i < pagesize; ++i) 5522 *(data2 + i) = *(data2 + i) + 1; |
5527 data3 = malloc(pagesize); | 5523 data3 = (char*)malloc(pagesize); |
5528 if (!data3) 5529 exit(1); 5530 if (read(fd, data3, pagesize) != pagesize) 5531 exit(1); 5532 for (i = 0; i < pagesize; ++i) 5533 if (*(data + i) != *(data3 + i)) 5534 exit(1); 5535 close(fd); 5536 unlink("conftestmmap"); 5537 exit(0); 5538} 5539 5540EOF | 5524 if (!data3) 5525 exit(1); 5526 if (read(fd, data3, pagesize) != pagesize) 5527 exit(1); 5528 for (i = 0; i < pagesize; ++i) 5529 if (*(data + i) != *(data3 + i)) 5530 exit(1); 5531 close(fd); 5532 unlink("conftestmmap"); 5533 exit(0); 5534} 5535 5536EOF |
5541if { (eval echo configure:5542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5537if { (eval echo configure:5538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5542then 5543 ac_cv_func_mmap_fixed_mapped=yes 5544else 5545 echo "configure: failed program was:" >&5 5546 cat conftest.$ac_ext >&5 5547 rm -fr conftest* 5548 ac_cv_func_mmap_fixed_mapped=no 5549fi --- 8 unchanged lines hidden (view full) --- 5558#define HAVE_MMAP 1 5559EOF 5560 5561fi 5562 5563for ac_func in madvise mprotect 5564do 5565echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 5538then 5539 ac_cv_func_mmap_fixed_mapped=yes 5540else 5541 echo "configure: failed program was:" >&5 5542 cat conftest.$ac_ext >&5 5543 rm -fr conftest* 5544 ac_cv_func_mmap_fixed_mapped=no 5545fi --- 8 unchanged lines hidden (view full) --- 5554#define HAVE_MMAP 1 5555EOF 5556 5557fi 5558 5559for ac_func in madvise mprotect 5560do 5561echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5566echo "configure:5567: checking for $ac_func" >&5 | 5562echo "configure:5563: checking for $ac_func" >&5 |
5567if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5568 echo $ac_n "(cached) $ac_c" 1>&6 5569else 5570 cat > conftest.$ac_ext <<EOF | 5563if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 5564 echo $ac_n "(cached) $ac_c" 1>&6 5565else 5566 cat > conftest.$ac_ext <<EOF |
5571#line 5572 "configure" | 5567#line 5568 "configure" |
5572#include "confdefs.h" 5573/* System header to define __stub macros and hopefully few prototypes, 5574 which can conflict with char $ac_func(); below. */ 5575#include <assert.h> 5576/* Override any gcc2 internal prototype to avoid an error. */ 5577/* We use char because int might match the return type of a gcc2 5578 builtin and then its argument prototype would still apply. */ 5579char $ac_func(); --- 6 unchanged lines hidden (view full) --- 5586#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5587choke me 5588#else 5589$ac_func(); 5590#endif 5591 5592; return 0; } 5593EOF | 5568#include "confdefs.h" 5569/* System header to define __stub macros and hopefully few prototypes, 5570 which can conflict with char $ac_func(); below. */ 5571#include <assert.h> 5572/* Override any gcc2 internal prototype to avoid an error. */ 5573/* We use char because int might match the return type of a gcc2 5574 builtin and then its argument prototype would still apply. */ 5575char $ac_func(); --- 6 unchanged lines hidden (view full) --- 5582#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5583choke me 5584#else 5585$ac_func(); 5586#endif 5587 5588; return 0; } 5589EOF |
5594if { (eval echo configure:5595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5590if { (eval echo configure:5591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5595 rm -rf conftest* 5596 eval "ac_cv_func_$ac_func=yes" 5597else 5598 echo "configure: failed program was:" >&5 5599 cat conftest.$ac_ext >&5 5600 rm -rf conftest* 5601 eval "ac_cv_func_$ac_func=no" 5602fi --- 451 unchanged lines hidden --- | 5591 rm -rf conftest* 5592 eval "ac_cv_func_$ac_func=yes" 5593else 5594 echo "configure: failed program was:" >&5 5595 cat conftest.$ac_ext >&5 5596 rm -rf conftest* 5597 eval "ac_cv_func_$ac_func=no" 5598fi --- 451 unchanged lines hidden --- |