configure (69216) | configure (75937) |
---|---|
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. --- 679 unchanged lines hidden (view full) --- 688 echo "$ac_t""yes" 1>&6 689 SET_MAKE= 690else 691 echo "$ac_t""no" 1>&6 692 SET_MAKE="MAKE=${MAKE-make}" 693fi 694 695 | 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. --- 679 unchanged lines hidden (view full) --- 688 echo "$ac_t""yes" 1>&6 689 SET_MAKE= 690else 691 echo "$ac_t""no" 1>&6 692 SET_MAKE="MAKE=${MAKE-make}" 693fi 694 695 |
696 | |
697PACKAGE=file 698 | 696PACKAGE=file 697 |
699VERSION=3.33 | 698VERSION=3.35 |
700 701if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 702 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 703fi 704cat >> confdefs.h <<EOF 705#define PACKAGE "$PACKAGE" 706EOF 707 708cat >> confdefs.h <<EOF 709#define VERSION "$VERSION" 710EOF 711 712 713 714missing_dir=`cd $ac_aux_dir && pwd` 715echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 699 700if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then 701 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } 702fi 703cat >> confdefs.h <<EOF 704#define PACKAGE "$PACKAGE" 705EOF 706 707cat >> confdefs.h <<EOF 708#define VERSION "$VERSION" 709EOF 710 711 712 713missing_dir=`cd $ac_aux_dir && pwd` 714echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
716echo "configure:717: checking for working aclocal" >&5 | 715echo "configure:716: checking for working aclocal" >&5 |
717# Run test in a subshell; some versions of sh will print an error if 718# an executable is not found, even if stderr is redirected. 719# Redirect stdin to placate older versions of autoconf. Sigh. 720if (aclocal --version) < /dev/null > /dev/null 2>&1; then 721 ACLOCAL=aclocal 722 echo "$ac_t""found" 1>&6 723else 724 ACLOCAL="$missing_dir/missing aclocal" 725 echo "$ac_t""missing" 1>&6 726fi 727 728echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 716# Run test in a subshell; some versions of sh will print an error if 717# an executable is not found, even if stderr is redirected. 718# Redirect stdin to placate older versions of autoconf. Sigh. 719if (aclocal --version) < /dev/null > /dev/null 2>&1; then 720 ACLOCAL=aclocal 721 echo "$ac_t""found" 1>&6 722else 723 ACLOCAL="$missing_dir/missing aclocal" 724 echo "$ac_t""missing" 1>&6 725fi 726 727echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
729echo "configure:730: checking for working autoconf" >&5 | 728echo "configure:729: checking for working autoconf" >&5 |
730# Run test in a subshell; some versions of sh will print an error if 731# an executable is not found, even if stderr is redirected. 732# Redirect stdin to placate older versions of autoconf. Sigh. 733if (autoconf --version) < /dev/null > /dev/null 2>&1; then 734 AUTOCONF=autoconf 735 echo "$ac_t""found" 1>&6 736else 737 AUTOCONF="$missing_dir/missing autoconf" 738 echo "$ac_t""missing" 1>&6 739fi 740 741echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 729# Run test in a subshell; some versions of sh will print an error if 730# an executable is not found, even if stderr is redirected. 731# Redirect stdin to placate older versions of autoconf. Sigh. 732if (autoconf --version) < /dev/null > /dev/null 2>&1; then 733 AUTOCONF=autoconf 734 echo "$ac_t""found" 1>&6 735else 736 AUTOCONF="$missing_dir/missing autoconf" 737 echo "$ac_t""missing" 1>&6 738fi 739 740echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
742echo "configure:743: checking for working automake" >&5 | 741echo "configure:742: checking for working automake" >&5 |
743# Run test in a subshell; some versions of sh will print an error if 744# an executable is not found, even if stderr is redirected. 745# Redirect stdin to placate older versions of autoconf. Sigh. 746if (automake --version) < /dev/null > /dev/null 2>&1; then 747 AUTOMAKE=automake 748 echo "$ac_t""found" 1>&6 749else 750 AUTOMAKE="$missing_dir/missing automake" 751 echo "$ac_t""missing" 1>&6 752fi 753 754echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 742# Run test in a subshell; some versions of sh will print an error if 743# an executable is not found, even if stderr is redirected. 744# Redirect stdin to placate older versions of autoconf. Sigh. 745if (automake --version) < /dev/null > /dev/null 2>&1; then 746 AUTOMAKE=automake 747 echo "$ac_t""found" 1>&6 748else 749 AUTOMAKE="$missing_dir/missing automake" 750 echo "$ac_t""missing" 1>&6 751fi 752 753echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
755echo "configure:756: checking for working autoheader" >&5 | 754echo "configure:755: checking for working autoheader" >&5 |
756# Run test in a subshell; some versions of sh will print an error if 757# an executable is not found, even if stderr is redirected. 758# Redirect stdin to placate older versions of autoconf. Sigh. 759if (autoheader --version) < /dev/null > /dev/null 2>&1; then 760 AUTOHEADER=autoheader 761 echo "$ac_t""found" 1>&6 762else 763 AUTOHEADER="$missing_dir/missing autoheader" 764 echo "$ac_t""missing" 1>&6 765fi 766 767echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 755# Run test in a subshell; some versions of sh will print an error if 756# an executable is not found, even if stderr is redirected. 757# Redirect stdin to placate older versions of autoconf. Sigh. 758if (autoheader --version) < /dev/null > /dev/null 2>&1; then 759 AUTOHEADER=autoheader 760 echo "$ac_t""found" 1>&6 761else 762 AUTOHEADER="$missing_dir/missing autoheader" 763 echo "$ac_t""missing" 1>&6 764fi 765 766echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
768echo "configure:769: checking for working makeinfo" >&5 | 767echo "configure:768: checking for working makeinfo" >&5 |
769# Run test in a subshell; some versions of sh will print an error if 770# an executable is not found, even if stderr is redirected. 771# Redirect stdin to placate older versions of autoconf. Sigh. 772if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 773 MAKEINFO=makeinfo 774 echo "$ac_t""found" 1>&6 775else 776 MAKEINFO="$missing_dir/missing makeinfo" 777 echo "$ac_t""missing" 1>&6 778fi 779 780 781 782 783 784 785echo $ac_n "checking for builtin ELF support""... $ac_c" 1>&6 | 768# Run test in a subshell; some versions of sh will print an error if 769# an executable is not found, even if stderr is redirected. 770# Redirect stdin to placate older versions of autoconf. Sigh. 771if (makeinfo --version) < /dev/null > /dev/null 2>&1; then 772 MAKEINFO=makeinfo 773 echo "$ac_t""found" 1>&6 774else 775 MAKEINFO="$missing_dir/missing makeinfo" 776 echo "$ac_t""missing" 1>&6 777fi 778 779 780 781 782 783 784echo $ac_n "checking for builtin ELF support""... $ac_c" 1>&6 |
786echo "configure:787: checking for builtin ELF support" >&5 | 785echo "configure:786: checking for builtin ELF support" >&5 |
787# Check whether --enable-elf or --disable-elf was given. 788if test "${enable_elf+set}" = set; then 789 enableval="$enable_elf" 790 if test "${enableval}" = yes; then 791 echo "$ac_t""yes" 1>&6 792 cat >> confdefs.h <<\EOF 793#define BUILTIN_ELF 1 794EOF --- 9 unchanged lines hidden (view full) --- 804#define BUILTIN_ELF 1 805EOF 806 807 808fi 809 810 811echo $ac_n "checking for ELF core file support""... $ac_c" 1>&6 | 786# Check whether --enable-elf or --disable-elf was given. 787if test "${enable_elf+set}" = set; then 788 enableval="$enable_elf" 789 if test "${enableval}" = yes; then 790 echo "$ac_t""yes" 1>&6 791 cat >> confdefs.h <<\EOF 792#define BUILTIN_ELF 1 793EOF --- 9 unchanged lines hidden (view full) --- 803#define BUILTIN_ELF 1 804EOF 805 806 807fi 808 809 810echo $ac_n "checking for ELF core file support""... $ac_c" 1>&6 |
812echo "configure:813: checking for ELF core file support" >&5 | 811echo "configure:812: checking for ELF core file support" >&5 |
813# Check whether --enable-elf-core or --disable-elf-core was given. 814if test "${enable_elf_core+set}" = set; then 815 enableval="$enable_elf_core" 816 if test "${enableval}" = yes; then 817 echo "$ac_t""yes" 1>&6 818 cat >> confdefs.h <<\EOF 819#define ELFCORE 1 820EOF --- 11 unchanged lines hidden (view full) --- 832 833 834fi 835 836 837# Extract the first word of "gcc", so it can be a program name with args. 838set dummy gcc; ac_word=$2 839echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 812# Check whether --enable-elf-core or --disable-elf-core was given. 813if test "${enable_elf_core+set}" = set; then 814 enableval="$enable_elf_core" 815 if test "${enableval}" = yes; then 816 echo "$ac_t""yes" 1>&6 817 cat >> confdefs.h <<\EOF 818#define ELFCORE 1 819EOF --- 11 unchanged lines hidden (view full) --- 831 832 833fi 834 835 836# Extract the first word of "gcc", so it can be a program name with args. 837set dummy gcc; ac_word=$2 838echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
840echo "configure:841: checking for $ac_word" >&5 | 839echo "configure:840: checking for $ac_word" >&5 |
841if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 842 echo $ac_n "(cached) $ac_c" 1>&6 843else 844 if test -n "$CC"; then 845 ac_cv_prog_CC="$CC" # Let the user override the test. 846else 847 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 848 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 862else 863 echo "$ac_t""no" 1>&6 864fi 865 866if test -z "$CC"; then 867 # Extract the first word of "cc", so it can be a program name with args. 868set dummy cc; ac_word=$2 869echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 840if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 841 echo $ac_n "(cached) $ac_c" 1>&6 842else 843 if test -n "$CC"; then 844 ac_cv_prog_CC="$CC" # Let the user override the test. 845else 846 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 847 ac_dummy="$PATH" --- 13 unchanged lines hidden (view full) --- 861else 862 echo "$ac_t""no" 1>&6 863fi 864 865if test -z "$CC"; then 866 # Extract the first word of "cc", so it can be a program name with args. 867set dummy cc; ac_word=$2 868echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
870echo "configure:871: checking for $ac_word" >&5 | 869echo "configure:870: checking for $ac_word" >&5 |
871if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 872 echo $ac_n "(cached) $ac_c" 1>&6 873else 874 if test -n "$CC"; then 875 ac_cv_prog_CC="$CC" # Let the user override the test. 876else 877 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 878 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 913fi 914 915 if test -z "$CC"; then 916 case "`uname -s`" in 917 *win32* | *WIN32*) 918 # Extract the first word of "cl", so it can be a program name with args. 919set dummy cl; ac_word=$2 920echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 870if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 871 echo $ac_n "(cached) $ac_c" 1>&6 872else 873 if test -n "$CC"; then 874 ac_cv_prog_CC="$CC" # Let the user override the test. 875else 876 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 877 ac_prog_rejected=no --- 34 unchanged lines hidden (view full) --- 912fi 913 914 if test -z "$CC"; then 915 case "`uname -s`" in 916 *win32* | *WIN32*) 917 # Extract the first word of "cl", so it can be a program name with args. 918set dummy cl; ac_word=$2 919echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
921echo "configure:922: checking for $ac_word" >&5 | 920echo "configure:921: checking for $ac_word" >&5 |
922if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 923 echo $ac_n "(cached) $ac_c" 1>&6 924else 925 if test -n "$CC"; then 926 ac_cv_prog_CC="$CC" # Let the user override the test. 927else 928 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 929 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 945fi 946 ;; 947 esac 948 fi 949 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 950fi 951 952echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 921if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 922 echo $ac_n "(cached) $ac_c" 1>&6 923else 924 if test -n "$CC"; then 925 ac_cv_prog_CC="$CC" # Let the user override the test. 926else 927 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 928 ac_dummy="$PATH" --- 15 unchanged lines hidden (view full) --- 944fi 945 ;; 946 esac 947 fi 948 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 949fi 950 951echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
953echo "configure:954: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 952echo "configure:953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
954 955ac_ext=c 956# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 957ac_cpp='$CPP $CPPFLAGS' 958ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 959ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 960cross_compiling=$ac_cv_prog_cc_cross 961 962cat > conftest.$ac_ext << EOF 963 | 953 954ac_ext=c 955# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 956ac_cpp='$CPP $CPPFLAGS' 957ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 958ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 959cross_compiling=$ac_cv_prog_cc_cross 960 961cat > conftest.$ac_ext << EOF 962 |
964#line 965 "configure" | 963#line 964 "configure" |
965#include "confdefs.h" 966 967main(){return(0);} 968EOF | 964#include "confdefs.h" 965 966main(){return(0);} 967EOF |
969if { (eval echo configure:970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 968if { (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
970 ac_cv_prog_cc_works=yes 971 # If we can't run a trivial program, we are probably using a cross compiler. 972 if (./conftest; exit) 2>/dev/null; then 973 ac_cv_prog_cc_cross=no 974 else 975 ac_cv_prog_cc_cross=yes 976 fi 977else --- 9 unchanged lines hidden (view full) --- 987ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 988cross_compiling=$ac_cv_prog_cc_cross 989 990echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 991if test $ac_cv_prog_cc_works = no; then 992 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 993fi 994echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 969 ac_cv_prog_cc_works=yes 970 # If we can't run a trivial program, we are probably using a cross compiler. 971 if (./conftest; exit) 2>/dev/null; then 972 ac_cv_prog_cc_cross=no 973 else 974 ac_cv_prog_cc_cross=yes 975 fi 976else --- 9 unchanged lines hidden (view full) --- 986ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 987cross_compiling=$ac_cv_prog_cc_cross 988 989echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 990if test $ac_cv_prog_cc_works = no; then 991 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 992fi 993echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
995echo "configure:996: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 994echo "configure:995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
996echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 997cross_compiling=$ac_cv_prog_cc_cross 998 999echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 995echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 996cross_compiling=$ac_cv_prog_cc_cross 997 998echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
1000echo "configure:1001: checking whether we are using GNU C" >&5 | 999echo "configure:1000: checking whether we are using GNU C" >&5 |
1001if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1002 echo $ac_n "(cached) $ac_c" 1>&6 1003else 1004 cat > conftest.c <<EOF 1005#ifdef __GNUC__ 1006 yes; 1007#endif 1008EOF | 1000if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 1001 echo $ac_n "(cached) $ac_c" 1>&6 1002else 1003 cat > conftest.c <<EOF 1004#ifdef __GNUC__ 1005 yes; 1006#endif 1007EOF |
1009if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1008if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
1010 ac_cv_prog_gcc=yes 1011else 1012 ac_cv_prog_gcc=no 1013fi 1014fi 1015 1016echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1017 1018if test $ac_cv_prog_gcc = yes; then 1019 GCC=yes 1020else 1021 GCC= 1022fi 1023 1024ac_test_CFLAGS="${CFLAGS+set}" 1025ac_save_CFLAGS="$CFLAGS" 1026CFLAGS= 1027echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1009 ac_cv_prog_gcc=yes 1010else 1011 ac_cv_prog_gcc=no 1012fi 1013fi 1014 1015echo "$ac_t""$ac_cv_prog_gcc" 1>&6 1016 1017if test $ac_cv_prog_gcc = yes; then 1018 GCC=yes 1019else 1020 GCC= 1021fi 1022 1023ac_test_CFLAGS="${CFLAGS+set}" 1024ac_save_CFLAGS="$CFLAGS" 1025CFLAGS= 1026echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
1028echo "configure:1029: checking whether ${CC-cc} accepts -g" >&5 | 1027echo "configure:1028: checking whether ${CC-cc} accepts -g" >&5 |
1029if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1030 echo $ac_n "(cached) $ac_c" 1>&6 1031else 1032 echo 'void f(){}' > conftest.c 1033if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1034 ac_cv_prog_cc_g=yes 1035else 1036 ac_cv_prog_cc_g=no --- 26 unchanged lines hidden (view full) --- 1063# SunOS /usr/etc/install 1064# IRIX /sbin/install 1065# AIX /bin/install 1066# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1067# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1068# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1069# ./install, which can be erroneously created by make from ./install.sh. 1070echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 1028if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 1029 echo $ac_n "(cached) $ac_c" 1>&6 1030else 1031 echo 'void f(){}' > conftest.c 1032if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1033 ac_cv_prog_cc_g=yes 1034else 1035 ac_cv_prog_cc_g=no --- 26 unchanged lines hidden (view full) --- 1062# SunOS /usr/etc/install 1063# IRIX /sbin/install 1064# AIX /bin/install 1065# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1066# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1067# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1068# ./install, which can be erroneously created by make from ./install.sh. 1069echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
1071echo "configure:1072: checking for a BSD compatible install" >&5 | 1070echo "configure:1071: checking for a BSD compatible install" >&5 |
1072if test -z "$INSTALL"; then 1073if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1074 echo $ac_n "(cached) $ac_c" 1>&6 1075else 1076 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1077 for ac_dir in $PATH; do 1078 # Account for people who put trailing slashes in PATH elements. 1079 case "$ac_dir/" in --- 36 unchanged lines hidden (view full) --- 1116# It thinks the first close brace ends the variable substitution. 1117test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1118 1119test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1120 1121test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1122 1123echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | 1071if test -z "$INSTALL"; then 1072if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1073 echo $ac_n "(cached) $ac_c" 1>&6 1074else 1075 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1076 for ac_dir in $PATH; do 1077 # Account for people who put trailing slashes in PATH elements. 1078 case "$ac_dir/" in --- 36 unchanged lines hidden (view full) --- 1115# It thinks the first close brace ends the variable substitution. 1116test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1117 1118test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 1119 1120test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1121 1122echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
1124echo "configure:1125: checking whether ln -s works" >&5 | 1123echo "configure:1124: checking whether ln -s works" >&5 |
1125if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1126 echo $ac_n "(cached) $ac_c" 1>&6 1127else 1128 rm -f conftestdata 1129if ln -s X conftestdata 2>/dev/null 1130then 1131 rm -f conftestdata 1132 ac_cv_prog_LN_S="ln -s" --- 5 unchanged lines hidden (view full) --- 1138if test "$ac_cv_prog_LN_S" = "ln -s"; then 1139 echo "$ac_t""yes" 1>&6 1140else 1141 echo "$ac_t""no" 1>&6 1142fi 1143 1144 1145echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 1124if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1125 echo $ac_n "(cached) $ac_c" 1>&6 1126else 1127 rm -f conftestdata 1128if ln -s X conftestdata 2>/dev/null 1129then 1130 rm -f conftestdata 1131 ac_cv_prog_LN_S="ln -s" --- 5 unchanged lines hidden (view full) --- 1137if test "$ac_cv_prog_LN_S" = "ln -s"; then 1138 echo "$ac_t""yes" 1>&6 1139else 1140 echo "$ac_t""no" 1>&6 1141fi 1142 1143 1144echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
1146echo "configure:1147: checking how to run the C preprocessor" >&5 | 1145echo "configure:1146: checking how to run the C preprocessor" >&5 |
1147# On Suns, sometimes $CPP names a directory. 1148if test -n "$CPP" && test -d "$CPP"; then 1149 CPP= 1150fi 1151if test -z "$CPP"; then 1152if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 1153 echo $ac_n "(cached) $ac_c" 1>&6 1154else 1155 # This must be in double quotes, not single quotes, because CPP may get 1156 # substituted into the Makefile and "${CC-cc}" will confuse make. 1157 CPP="${CC-cc} -E" 1158 # On the NeXT, cc -E runs the code through the compiler's parser, 1159 # not just through cpp. 1160 cat > conftest.$ac_ext <<EOF | 1146# On Suns, sometimes $CPP names a directory. 1147if test -n "$CPP" && test -d "$CPP"; then 1148 CPP= 1149fi 1150if test -z "$CPP"; then 1151if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 1152 echo $ac_n "(cached) $ac_c" 1>&6 1153else 1154 # This must be in double quotes, not single quotes, because CPP may get 1155 # substituted into the Makefile and "${CC-cc}" will confuse make. 1156 CPP="${CC-cc} -E" 1157 # On the NeXT, cc -E runs the code through the compiler's parser, 1158 # not just through cpp. 1159 cat > conftest.$ac_ext <<EOF |
1161#line 1162 "configure" | 1160#line 1161 "configure" |
1162#include "confdefs.h" 1163#include <assert.h> 1164Syntax Error 1165EOF 1166ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1161#include "confdefs.h" 1162#include <assert.h> 1163Syntax Error 1164EOF 1165ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1167{ (eval echo configure:1168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1166{ (eval echo configure:1167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1168ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1169if test -z "$ac_err"; then 1170 : 1171else 1172 echo "$ac_err" >&5 1173 echo "configure: failed program was:" >&5 1174 cat conftest.$ac_ext >&5 1175 rm -rf conftest* 1176 CPP="${CC-cc} -E -traditional-cpp" 1177 cat > conftest.$ac_ext <<EOF | 1167ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1168if test -z "$ac_err"; then 1169 : 1170else 1171 echo "$ac_err" >&5 1172 echo "configure: failed program was:" >&5 1173 cat conftest.$ac_ext >&5 1174 rm -rf conftest* 1175 CPP="${CC-cc} -E -traditional-cpp" 1176 cat > conftest.$ac_ext <<EOF |
1178#line 1179 "configure" | 1177#line 1178 "configure" |
1179#include "confdefs.h" 1180#include <assert.h> 1181Syntax Error 1182EOF 1183ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1178#include "confdefs.h" 1179#include <assert.h> 1180Syntax Error 1181EOF 1182ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1184{ (eval echo configure:1185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1183{ (eval echo configure:1184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1185ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1186if test -z "$ac_err"; then 1187 : 1188else 1189 echo "$ac_err" >&5 1190 echo "configure: failed program was:" >&5 1191 cat conftest.$ac_ext >&5 1192 rm -rf conftest* 1193 CPP="${CC-cc} -nologo -E" 1194 cat > conftest.$ac_ext <<EOF | 1184ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1185if test -z "$ac_err"; then 1186 : 1187else 1188 echo "$ac_err" >&5 1189 echo "configure: failed program was:" >&5 1190 cat conftest.$ac_ext >&5 1191 rm -rf conftest* 1192 CPP="${CC-cc} -nologo -E" 1193 cat > conftest.$ac_ext <<EOF |
1195#line 1196 "configure" | 1194#line 1195 "configure" |
1196#include "confdefs.h" 1197#include <assert.h> 1198Syntax Error 1199EOF 1200ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1195#include "confdefs.h" 1196#include <assert.h> 1197Syntax Error 1198EOF 1199ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1201{ (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1200{ (eval echo configure:1201: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1202ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1203if test -z "$ac_err"; then 1204 : 1205else 1206 echo "$ac_err" >&5 1207 echo "configure: failed program was:" >&5 1208 cat conftest.$ac_ext >&5 1209 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 1218fi 1219 CPP="$ac_cv_prog_CPP" 1220else 1221 ac_cv_prog_CPP="$CPP" 1222fi 1223echo "$ac_t""$CPP" 1>&6 1224 1225echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 1201ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1202if test -z "$ac_err"; then 1203 : 1204else 1205 echo "$ac_err" >&5 1206 echo "configure: failed program was:" >&5 1207 cat conftest.$ac_ext >&5 1208 rm -rf conftest* --- 8 unchanged lines hidden (view full) --- 1217fi 1218 CPP="$ac_cv_prog_CPP" 1219else 1220 ac_cv_prog_CPP="$CPP" 1221fi 1222echo "$ac_t""$CPP" 1>&6 1223 1224echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
1226echo "configure:1227: checking for ANSI C header files" >&5 | 1225echo "configure:1226: checking for ANSI C header files" >&5 |
1227if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1228 echo $ac_n "(cached) $ac_c" 1>&6 1229else 1230 cat > conftest.$ac_ext <<EOF | 1226if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1227 echo $ac_n "(cached) $ac_c" 1>&6 1228else 1229 cat > conftest.$ac_ext <<EOF |
1231#line 1232 "configure" | 1230#line 1231 "configure" |
1232#include "confdefs.h" 1233#include <stdlib.h> 1234#include <stdarg.h> 1235#include <string.h> 1236#include <float.h> 1237EOF 1238ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1231#include "confdefs.h" 1232#include <stdlib.h> 1233#include <stdarg.h> 1234#include <string.h> 1235#include <float.h> 1236EOF 1237ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1239{ (eval echo configure:1240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1238{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1240ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1241if test -z "$ac_err"; then 1242 rm -rf conftest* 1243 ac_cv_header_stdc=yes 1244else 1245 echo "$ac_err" >&5 1246 echo "configure: failed program was:" >&5 1247 cat conftest.$ac_ext >&5 1248 rm -rf conftest* 1249 ac_cv_header_stdc=no 1250fi 1251rm -f conftest* 1252 1253if test $ac_cv_header_stdc = yes; then 1254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1255cat > conftest.$ac_ext <<EOF | 1239ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1240if test -z "$ac_err"; then 1241 rm -rf conftest* 1242 ac_cv_header_stdc=yes 1243else 1244 echo "$ac_err" >&5 1245 echo "configure: failed program was:" >&5 1246 cat conftest.$ac_ext >&5 1247 rm -rf conftest* 1248 ac_cv_header_stdc=no 1249fi 1250rm -f conftest* 1251 1252if test $ac_cv_header_stdc = yes; then 1253 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1254cat > conftest.$ac_ext <<EOF |
1256#line 1257 "configure" | 1255#line 1256 "configure" |
1257#include "confdefs.h" 1258#include <string.h> 1259EOF 1260if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1261 egrep "memchr" >/dev/null 2>&1; then 1262 : 1263else 1264 rm -rf conftest* 1265 ac_cv_header_stdc=no 1266fi 1267rm -f conftest* 1268 1269fi 1270 1271if test $ac_cv_header_stdc = yes; then 1272 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1273cat > conftest.$ac_ext <<EOF | 1256#include "confdefs.h" 1257#include <string.h> 1258EOF 1259if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1260 egrep "memchr" >/dev/null 2>&1; then 1261 : 1262else 1263 rm -rf conftest* 1264 ac_cv_header_stdc=no 1265fi 1266rm -f conftest* 1267 1268fi 1269 1270if test $ac_cv_header_stdc = yes; then 1271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1272cat > conftest.$ac_ext <<EOF |
1274#line 1275 "configure" | 1273#line 1274 "configure" |
1275#include "confdefs.h" 1276#include <stdlib.h> 1277EOF 1278if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1279 egrep "free" >/dev/null 2>&1; then 1280 : 1281else 1282 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 1287fi 1288 1289if test $ac_cv_header_stdc = yes; then 1290 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1291if test "$cross_compiling" = yes; then 1292 : 1293else 1294 cat > conftest.$ac_ext <<EOF | 1274#include "confdefs.h" 1275#include <stdlib.h> 1276EOF 1277if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1278 egrep "free" >/dev/null 2>&1; then 1279 : 1280else 1281 rm -rf conftest* --- 4 unchanged lines hidden (view full) --- 1286fi 1287 1288if test $ac_cv_header_stdc = yes; then 1289 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 1290if test "$cross_compiling" = yes; then 1291 : 1292else 1293 cat > conftest.$ac_ext <<EOF |
1295#line 1296 "configure" | 1294#line 1295 "configure" |
1296#include "confdefs.h" 1297#include <ctype.h> 1298#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1299#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1300#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1301int main () { int i; for (i = 0; i < 256; i++) 1302if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1303exit (0); } 1304 1305EOF | 1295#include "confdefs.h" 1296#include <ctype.h> 1297#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 1298#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 1299#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 1300int main () { int i; for (i = 0; i < 256; i++) 1301if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); 1302exit (0); } 1303 1304EOF |
1306if { (eval echo configure:1307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1305if { (eval echo configure:1306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1307then 1308 : 1309else 1310 echo "configure: failed program was:" >&5 1311 cat conftest.$ac_ext >&5 1312 rm -fr conftest* 1313 ac_cv_header_stdc=no 1314fi --- 7 unchanged lines hidden (view full) --- 1322if test $ac_cv_header_stdc = yes; then 1323 cat >> confdefs.h <<\EOF 1324#define STDC_HEADERS 1 1325EOF 1326 1327fi 1328 1329echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 | 1306then 1307 : 1308else 1309 echo "configure: failed program was:" >&5 1310 cat conftest.$ac_ext >&5 1311 rm -fr conftest* 1312 ac_cv_header_stdc=no 1313fi --- 7 unchanged lines hidden (view full) --- 1321if test $ac_cv_header_stdc = yes; then 1322 cat >> confdefs.h <<\EOF 1323#define STDC_HEADERS 1 1324EOF 1325 1326fi 1327 1328echo $ac_n "checking whether sys/types.h defines makedev""... $ac_c" 1>&6 |
1330echo "configure:1331: checking whether sys/types.h defines makedev" >&5 | 1329echo "configure:1330: checking whether sys/types.h defines makedev" >&5 |
1331if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then 1332 echo $ac_n "(cached) $ac_c" 1>&6 1333else 1334 cat > conftest.$ac_ext <<EOF | 1330if eval "test \"`echo '$''{'ac_cv_header_sys_types_h_makedev'+set}'`\" = set"; then 1331 echo $ac_n "(cached) $ac_c" 1>&6 1332else 1333 cat > conftest.$ac_ext <<EOF |
1335#line 1336 "configure" | 1334#line 1335 "configure" |
1336#include "confdefs.h" 1337#include <sys/types.h> 1338int main() { 1339return makedev(0, 0); 1340; return 0; } 1341EOF | 1335#include "confdefs.h" 1336#include <sys/types.h> 1337int main() { 1338return makedev(0, 0); 1339; return 0; } 1340EOF |
1342if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1341if { (eval echo configure:1342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1343 rm -rf conftest* 1344 ac_cv_header_sys_types_h_makedev=yes 1345else 1346 echo "configure: failed program was:" >&5 1347 cat conftest.$ac_ext >&5 1348 rm -rf conftest* 1349 ac_cv_header_sys_types_h_makedev=no 1350fi 1351rm -f conftest* 1352 1353fi 1354 1355echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 1356 1357if test $ac_cv_header_sys_types_h_makedev = no; then 1358ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` 1359echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 | 1342 rm -rf conftest* 1343 ac_cv_header_sys_types_h_makedev=yes 1344else 1345 echo "configure: failed program was:" >&5 1346 cat conftest.$ac_ext >&5 1347 rm -rf conftest* 1348 ac_cv_header_sys_types_h_makedev=no 1349fi 1350rm -f conftest* 1351 1352fi 1353 1354echo "$ac_t""$ac_cv_header_sys_types_h_makedev" 1>&6 1355 1356if test $ac_cv_header_sys_types_h_makedev = no; then 1357ac_safe=`echo "sys/mkdev.h" | sed 'y%./+-%__p_%'` 1358echo $ac_n "checking for sys/mkdev.h""... $ac_c" 1>&6 |
1360echo "configure:1361: checking for sys/mkdev.h" >&5 | 1359echo "configure:1360: checking for sys/mkdev.h" >&5 |
1361if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1362 echo $ac_n "(cached) $ac_c" 1>&6 1363else 1364 cat > conftest.$ac_ext <<EOF | 1360if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1361 echo $ac_n "(cached) $ac_c" 1>&6 1362else 1363 cat > conftest.$ac_ext <<EOF |
1365#line 1366 "configure" | 1364#line 1365 "configure" |
1366#include "confdefs.h" 1367#include <sys/mkdev.h> 1368EOF 1369ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1365#include "confdefs.h" 1366#include <sys/mkdev.h> 1367EOF 1368ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1370{ (eval echo configure:1371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1369{ (eval echo configure:1370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1371ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1372if test -z "$ac_err"; then 1373 rm -rf conftest* 1374 eval "ac_cv_header_$ac_safe=yes" 1375else 1376 echo "$ac_err" >&5 1377 echo "configure: failed program was:" >&5 1378 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1390else 1391 echo "$ac_t""no" 1>&6 1392fi 1393 1394 1395 if test $ac_cv_header_sys_mkdev_h = no; then 1396ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` 1397echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 | 1370ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1371if test -z "$ac_err"; then 1372 rm -rf conftest* 1373 eval "ac_cv_header_$ac_safe=yes" 1374else 1375 echo "$ac_err" >&5 1376 echo "configure: failed program was:" >&5 1377 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1389else 1390 echo "$ac_t""no" 1>&6 1391fi 1392 1393 1394 if test $ac_cv_header_sys_mkdev_h = no; then 1395ac_safe=`echo "sys/sysmacros.h" | sed 'y%./+-%__p_%'` 1396echo $ac_n "checking for sys/sysmacros.h""... $ac_c" 1>&6 |
1398echo "configure:1399: checking for sys/sysmacros.h" >&5 | 1397echo "configure:1398: checking for sys/sysmacros.h" >&5 |
1399if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1400 echo $ac_n "(cached) $ac_c" 1>&6 1401else 1402 cat > conftest.$ac_ext <<EOF | 1398if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1399 echo $ac_n "(cached) $ac_c" 1>&6 1400else 1401 cat > conftest.$ac_ext <<EOF |
1403#line 1404 "configure" | 1402#line 1403 "configure" |
1404#include "confdefs.h" 1405#include <sys/sysmacros.h> 1406EOF 1407ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1403#include "confdefs.h" 1404#include <sys/sysmacros.h> 1405EOF 1406ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1408{ (eval echo configure:1409: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1407{ (eval echo configure:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1409ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1410if test -z "$ac_err"; then 1411 rm -rf conftest* 1412 eval "ac_cv_header_$ac_safe=yes" 1413else 1414 echo "$ac_err" >&5 1415 echo "configure: failed program was:" >&5 1416 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1428else 1429 echo "$ac_t""no" 1>&6 1430fi 1431 1432 fi 1433fi 1434 1435echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 1408ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1409if test -z "$ac_err"; then 1410 rm -rf conftest* 1411 eval "ac_cv_header_$ac_safe=yes" 1412else 1413 echo "$ac_err" >&5 1414 echo "configure: failed program was:" >&5 1415 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1427else 1428 echo "$ac_t""no" 1>&6 1429fi 1430 1431 fi 1432fi 1433 1434echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
1436echo "configure:1437: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 1435echo "configure:1436: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
1437if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1438 echo $ac_n "(cached) $ac_c" 1>&6 1439else 1440 cat > conftest.$ac_ext <<EOF | 1436if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then 1437 echo $ac_n "(cached) $ac_c" 1>&6 1438else 1439 cat > conftest.$ac_ext <<EOF |
1441#line 1442 "configure" | 1440#line 1441 "configure" |
1442#include "confdefs.h" 1443#include <sys/types.h> 1444#include <sys/wait.h> 1445#ifndef WEXITSTATUS 1446#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 1447#endif 1448#ifndef WIFEXITED 1449#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 1450#endif 1451int main() { 1452int s; 1453wait (&s); 1454s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 1455; return 0; } 1456EOF | 1441#include "confdefs.h" 1442#include <sys/types.h> 1443#include <sys/wait.h> 1444#ifndef WEXITSTATUS 1445#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) 1446#endif 1447#ifndef WIFEXITED 1448#define WIFEXITED(stat_val) (((stat_val) & 255) == 0) 1449#endif 1450int main() { 1451int s; 1452wait (&s); 1453s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; 1454; return 0; } 1455EOF |
1457if { (eval echo configure:1458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1456if { (eval echo configure:1457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1458 rm -rf conftest* 1459 ac_cv_header_sys_wait_h=yes 1460else 1461 echo "configure: failed program was:" >&5 1462 cat conftest.$ac_ext >&5 1463 rm -rf conftest* 1464 ac_cv_header_sys_wait_h=no 1465fi --- 7 unchanged lines hidden (view full) --- 1473EOF 1474 1475fi 1476 1477for ac_hdr in unistd.h 1478do 1479ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1480echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1457 rm -rf conftest* 1458 ac_cv_header_sys_wait_h=yes 1459else 1460 echo "configure: failed program was:" >&5 1461 cat conftest.$ac_ext >&5 1462 rm -rf conftest* 1463 ac_cv_header_sys_wait_h=no 1464fi --- 7 unchanged lines hidden (view full) --- 1472EOF 1473 1474fi 1475 1476for ac_hdr in unistd.h 1477do 1478ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1479echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1481echo "configure:1482: checking for $ac_hdr" >&5 | 1480echo "configure:1481: checking for $ac_hdr" >&5 |
1482if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1483 echo $ac_n "(cached) $ac_c" 1>&6 1484else 1485 cat > conftest.$ac_ext <<EOF | 1481if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1482 echo $ac_n "(cached) $ac_c" 1>&6 1483else 1484 cat > conftest.$ac_ext <<EOF |
1486#line 1487 "configure" | 1485#line 1486 "configure" |
1487#include "confdefs.h" 1488#include <$ac_hdr> 1489EOF 1490ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1486#include "confdefs.h" 1487#include <$ac_hdr> 1488EOF 1489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1491{ (eval echo configure:1492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1490{ (eval echo configure:1491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1492ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1493if test -z "$ac_err"; then 1494 rm -rf conftest* 1495 eval "ac_cv_header_$ac_safe=yes" 1496else 1497 echo "$ac_err" >&5 1498 echo "configure: failed program was:" >&5 1499 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 1513 echo "$ac_t""no" 1>&6 1514fi 1515done 1516 1517for ac_hdr in locale.h 1518do 1519ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1520echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 1491ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1492if test -z "$ac_err"; then 1493 rm -rf conftest* 1494 eval "ac_cv_header_$ac_safe=yes" 1495else 1496 echo "$ac_err" >&5 1497 echo "configure: failed program was:" >&5 1498 cat conftest.$ac_ext >&5 --- 13 unchanged lines hidden (view full) --- 1512 echo "$ac_t""no" 1>&6 1513fi 1514done 1515 1516for ac_hdr in locale.h 1517do 1518ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1519echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
1521echo "configure:1522: checking for $ac_hdr" >&5 | 1520echo "configure:1521: checking for $ac_hdr" >&5 |
1522if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1523 echo $ac_n "(cached) $ac_c" 1>&6 1524else 1525 cat > conftest.$ac_ext <<EOF | 1521if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1522 echo $ac_n "(cached) $ac_c" 1>&6 1523else 1524 cat > conftest.$ac_ext <<EOF |
1526#line 1527 "configure" | 1525#line 1526 "configure" |
1527#include "confdefs.h" 1528#include <$ac_hdr> 1529EOF 1530ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1526#include "confdefs.h" 1527#include <$ac_hdr> 1528EOF 1529ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1531{ (eval echo configure:1532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1530{ (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1532ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1533if test -z "$ac_err"; then 1534 rm -rf conftest* 1535 eval "ac_cv_header_$ac_safe=yes" 1536else 1537 echo "$ac_err" >&5 1538 echo "configure: failed program was:" >&5 1539 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1551 1552else 1553 echo "$ac_t""no" 1>&6 1554fi 1555done 1556 1557 1558echo $ac_n "checking for working const""... $ac_c" 1>&6 | 1531ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1532if test -z "$ac_err"; then 1533 rm -rf conftest* 1534 eval "ac_cv_header_$ac_safe=yes" 1535else 1536 echo "$ac_err" >&5 1537 echo "configure: failed program was:" >&5 1538 cat conftest.$ac_ext >&5 --- 11 unchanged lines hidden (view full) --- 1550 1551else 1552 echo "$ac_t""no" 1>&6 1553fi 1554done 1555 1556 1557echo $ac_n "checking for working const""... $ac_c" 1>&6 |
1559echo "configure:1560: checking for working const" >&5 | 1558echo "configure:1559: checking for working const" >&5 |
1560if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1561 echo $ac_n "(cached) $ac_c" 1>&6 1562else 1563 cat > conftest.$ac_ext <<EOF | 1559if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 1560 echo $ac_n "(cached) $ac_c" 1>&6 1561else 1562 cat > conftest.$ac_ext <<EOF |
1564#line 1565 "configure" | 1563#line 1564 "configure" |
1565#include "confdefs.h" 1566 1567int main() { 1568 1569/* Ultrix mips cc rejects this. */ 1570typedef int charset[2]; const charset x; 1571/* SunOS 4.1.1 cc rejects this. */ 1572char const *const *ccp; --- 32 unchanged lines hidden (view full) --- 1605 struct s *b; b->j = 5; 1606} 1607{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 1608 const int foo = 10; 1609} 1610 1611; return 0; } 1612EOF | 1564#include "confdefs.h" 1565 1566int main() { 1567 1568/* Ultrix mips cc rejects this. */ 1569typedef int charset[2]; const charset x; 1570/* SunOS 4.1.1 cc rejects this. */ 1571char const *const *ccp; --- 32 unchanged lines hidden (view full) --- 1604 struct s *b; b->j = 5; 1605} 1606{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 1607 const int foo = 10; 1608} 1609 1610; return 0; } 1611EOF |
1613if { (eval echo configure:1614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1612if { (eval echo configure:1613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1614 rm -rf conftest* 1615 ac_cv_c_const=yes 1616else 1617 echo "configure: failed program was:" >&5 1618 cat conftest.$ac_ext >&5 1619 rm -rf conftest* 1620 ac_cv_c_const=no 1621fi --- 4 unchanged lines hidden (view full) --- 1626if test $ac_cv_c_const = no; then 1627 cat >> confdefs.h <<\EOF 1628#define const 1629EOF 1630 1631fi 1632 1633echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 1613 rm -rf conftest* 1614 ac_cv_c_const=yes 1615else 1616 echo "configure: failed program was:" >&5 1617 cat conftest.$ac_ext >&5 1618 rm -rf conftest* 1619 ac_cv_c_const=no 1620fi --- 4 unchanged lines hidden (view full) --- 1625if test $ac_cv_c_const = no; then 1626 cat >> confdefs.h <<\EOF 1627#define const 1628EOF 1629 1630fi 1631 1632echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
1634echo "configure:1635: checking for off_t" >&5 | 1633echo "configure:1634: checking for off_t" >&5 |
1635if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1636 echo $ac_n "(cached) $ac_c" 1>&6 1637else 1638 cat > conftest.$ac_ext <<EOF | 1634if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then 1635 echo $ac_n "(cached) $ac_c" 1>&6 1636else 1637 cat > conftest.$ac_ext <<EOF |
1639#line 1640 "configure" | 1638#line 1639 "configure" |
1640#include "confdefs.h" 1641#include <sys/types.h> 1642#if STDC_HEADERS 1643#include <stdlib.h> 1644#include <stddef.h> 1645#endif 1646EOF 1647if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1659if test $ac_cv_type_off_t = no; then 1660 cat >> confdefs.h <<\EOF 1661#define off_t long 1662EOF 1663 1664fi 1665 1666echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 1639#include "confdefs.h" 1640#include <sys/types.h> 1641#if STDC_HEADERS 1642#include <stdlib.h> 1643#include <stddef.h> 1644#endif 1645EOF 1646if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1658if test $ac_cv_type_off_t = no; then 1659 cat >> confdefs.h <<\EOF 1660#define off_t long 1661EOF 1662 1663fi 1664 1665echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
1667echo "configure:1668: checking for size_t" >&5 | 1666echo "configure:1667: checking for size_t" >&5 |
1668if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1669 echo $ac_n "(cached) $ac_c" 1>&6 1670else 1671 cat > conftest.$ac_ext <<EOF | 1667if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 1668 echo $ac_n "(cached) $ac_c" 1>&6 1669else 1670 cat > conftest.$ac_ext <<EOF |
1672#line 1673 "configure" | 1671#line 1672 "configure" |
1673#include "confdefs.h" 1674#include <sys/types.h> 1675#if STDC_HEADERS 1676#include <stdlib.h> 1677#include <stddef.h> 1678#endif 1679EOF 1680if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1692if test $ac_cv_type_size_t = no; then 1693 cat >> confdefs.h <<\EOF 1694#define size_t unsigned 1695EOF 1696 1697fi 1698 1699echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 | 1672#include "confdefs.h" 1673#include <sys/types.h> 1674#if STDC_HEADERS 1675#include <stdlib.h> 1676#include <stddef.h> 1677#endif 1678EOF 1679if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1691if test $ac_cv_type_size_t = no; then 1692 cat >> confdefs.h <<\EOF 1693#define size_t unsigned 1694EOF 1695 1696fi 1697 1698echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6 |
1700echo "configure:1701: checking for st_rdev in struct stat" >&5 | 1699echo "configure:1700: checking for st_rdev in struct stat" >&5 |
1701if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then 1702 echo $ac_n "(cached) $ac_c" 1>&6 1703else 1704 cat > conftest.$ac_ext <<EOF | 1700if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then 1701 echo $ac_n "(cached) $ac_c" 1>&6 1702else 1703 cat > conftest.$ac_ext <<EOF |
1705#line 1706 "configure" | 1704#line 1705 "configure" |
1706#include "confdefs.h" 1707#include <sys/types.h> 1708#include <sys/stat.h> 1709int main() { 1710struct stat s; s.st_rdev; 1711; return 0; } 1712EOF | 1705#include "confdefs.h" 1706#include <sys/types.h> 1707#include <sys/stat.h> 1708int main() { 1709struct stat s; s.st_rdev; 1710; return 0; } 1711EOF |
1713if { (eval echo configure:1714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1712if { (eval echo configure:1713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1714 rm -rf conftest* 1715 ac_cv_struct_st_rdev=yes 1716else 1717 echo "configure: failed program was:" >&5 1718 cat conftest.$ac_ext >&5 1719 rm -rf conftest* 1720 ac_cv_struct_st_rdev=no 1721fi --- 5 unchanged lines hidden (view full) --- 1727 cat >> confdefs.h <<\EOF 1728#define HAVE_ST_RDEV 1 1729EOF 1730 1731fi 1732 1733 1734echo $ac_n "checking for uint8_t""... $ac_c" 1>&6 | 1713 rm -rf conftest* 1714 ac_cv_struct_st_rdev=yes 1715else 1716 echo "configure: failed program was:" >&5 1717 cat conftest.$ac_ext >&5 1718 rm -rf conftest* 1719 ac_cv_struct_st_rdev=no 1720fi --- 5 unchanged lines hidden (view full) --- 1726 cat >> confdefs.h <<\EOF 1727#define HAVE_ST_RDEV 1 1728EOF 1729 1730fi 1731 1732 1733echo $ac_n "checking for uint8_t""... $ac_c" 1>&6 |
1735echo "configure:1736: checking for uint8_t" >&5 | 1734echo "configure:1735: checking for uint8_t" >&5 |
1736if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then 1737 echo $ac_n "(cached) $ac_c" 1>&6 1738else 1739 cat > conftest.$ac_ext <<EOF | 1735if eval "test \"`echo '$''{'ac_cv_type_uint8_t'+set}'`\" = set"; then 1736 echo $ac_n "(cached) $ac_c" 1>&6 1737else 1738 cat > conftest.$ac_ext <<EOF |
1740#line 1741 "configure" | 1739#line 1740 "configure" |
1741#include "confdefs.h" 1742#include <sys/types.h> 1743#if STDC_HEADERS 1744#include <stdlib.h> 1745#include <stddef.h> 1746#endif 1747EOF 1748if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1760if test $ac_cv_type_uint8_t = no; then 1761 cat >> confdefs.h <<\EOF 1762#define uint8_t unsigned char 1763EOF 1764 1765fi 1766 1767echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 | 1740#include "confdefs.h" 1741#include <sys/types.h> 1742#if STDC_HEADERS 1743#include <stdlib.h> 1744#include <stddef.h> 1745#endif 1746EOF 1747if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1759if test $ac_cv_type_uint8_t = no; then 1760 cat >> confdefs.h <<\EOF 1761#define uint8_t unsigned char 1762EOF 1763 1764fi 1765 1766echo $ac_n "checking for uint16_t""... $ac_c" 1>&6 |
1768echo "configure:1769: checking for uint16_t" >&5 | 1767echo "configure:1768: checking for uint16_t" >&5 |
1769if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then 1770 echo $ac_n "(cached) $ac_c" 1>&6 1771else 1772 cat > conftest.$ac_ext <<EOF | 1768if eval "test \"`echo '$''{'ac_cv_type_uint16_t'+set}'`\" = set"; then 1769 echo $ac_n "(cached) $ac_c" 1>&6 1770else 1771 cat > conftest.$ac_ext <<EOF |
1773#line 1774 "configure" | 1772#line 1773 "configure" |
1774#include "confdefs.h" 1775#include <sys/types.h> 1776#if STDC_HEADERS 1777#include <stdlib.h> 1778#include <stddef.h> 1779#endif 1780EOF 1781if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1793if test $ac_cv_type_uint16_t = no; then 1794 cat >> confdefs.h <<\EOF 1795#define uint16_t unsigned short 1796EOF 1797 1798fi 1799 1800echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 | 1773#include "confdefs.h" 1774#include <sys/types.h> 1775#if STDC_HEADERS 1776#include <stdlib.h> 1777#include <stddef.h> 1778#endif 1779EOF 1780if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 11 unchanged lines hidden (view full) --- 1792if test $ac_cv_type_uint16_t = no; then 1793 cat >> confdefs.h <<\EOF 1794#define uint16_t unsigned short 1795EOF 1796 1797fi 1798 1799echo $ac_n "checking for uint32_t""... $ac_c" 1>&6 |
1801echo "configure:1802: checking for uint32_t" >&5 | 1800echo "configure:1801: checking for uint32_t" >&5 |
1802if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then 1803 echo $ac_n "(cached) $ac_c" 1>&6 1804else 1805 cat > conftest.$ac_ext <<EOF | 1801if eval "test \"`echo '$''{'ac_cv_type_uint32_t'+set}'`\" = set"; then 1802 echo $ac_n "(cached) $ac_c" 1>&6 1803else 1804 cat > conftest.$ac_ext <<EOF |
1806#line 1807 "configure" | 1805#line 1806 "configure" |
1807#include "confdefs.h" 1808#include <sys/types.h> 1809#if STDC_HEADERS 1810#include <stdlib.h> 1811#include <stddef.h> 1812#endif 1813EOF 1814if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 12 unchanged lines hidden (view full) --- 1827 cat >> confdefs.h <<\EOF 1828#define uint32_t unsigned int 1829EOF 1830 1831fi 1832 1833 1834echo $ac_n "checking for long long""... $ac_c" 1>&6 | 1806#include "confdefs.h" 1807#include <sys/types.h> 1808#if STDC_HEADERS 1809#include <stdlib.h> 1810#include <stddef.h> 1811#endif 1812EOF 1813if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 12 unchanged lines hidden (view full) --- 1826 cat >> confdefs.h <<\EOF 1827#define uint32_t unsigned int 1828EOF 1829 1830fi 1831 1832 1833echo $ac_n "checking for long long""... $ac_c" 1>&6 |
1835echo "configure:1836: checking for long long" >&5 | 1834echo "configure:1835: checking for long long" >&5 |
1836if eval "test \"`echo '$''{'ac_cv_c_long_long'+set}'`\" = set"; then 1837 echo $ac_n "(cached) $ac_c" 1>&6 1838else 1839 if test "$GCC" = yes; then 1840 ac_cv_c_long_long=yes 1841else 1842if test "$cross_compiling" = yes; then 1843 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1844else 1845 cat > conftest.$ac_ext <<EOF | 1835if eval "test \"`echo '$''{'ac_cv_c_long_long'+set}'`\" = set"; then 1836 echo $ac_n "(cached) $ac_c" 1>&6 1837else 1838 if test "$GCC" = yes; then 1839 ac_cv_c_long_long=yes 1840else 1841if test "$cross_compiling" = yes; then 1842 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1843else 1844 cat > conftest.$ac_ext <<EOF |
1846#line 1847 "configure" | 1845#line 1846 "configure" |
1847#include "confdefs.h" 1848int main() { 1849long long foo = 0; 1850exit(sizeof(long long) < sizeof(long)); } 1851EOF | 1846#include "confdefs.h" 1847int main() { 1848long long foo = 0; 1849exit(sizeof(long long) < sizeof(long)); } 1850EOF |
1852if { (eval echo configure:1853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1851if { (eval echo configure:1852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1853then 1854 ac_cv_c_long_long=yes 1855else 1856 echo "configure: failed program was:" >&5 1857 cat conftest.$ac_ext >&5 1858 rm -fr conftest* 1859 ac_cv_c_long_long=no 1860fi --- 12 unchanged lines hidden (view full) --- 1873fi 1874 1875if test $ac_cv_c_long_long = yes; then 1876 long64='unsigned long long'; 1877else 1878 long64='unsigned long'; 1879fi 1880echo $ac_n "checking for uint64_t""... $ac_c" 1>&6 | 1852then 1853 ac_cv_c_long_long=yes 1854else 1855 echo "configure: failed program was:" >&5 1856 cat conftest.$ac_ext >&5 1857 rm -fr conftest* 1858 ac_cv_c_long_long=no 1859fi --- 12 unchanged lines hidden (view full) --- 1872fi 1873 1874if test $ac_cv_c_long_long = yes; then 1875 long64='unsigned long long'; 1876else 1877 long64='unsigned long'; 1878fi 1879echo $ac_n "checking for uint64_t""... $ac_c" 1>&6 |
1881echo "configure:1882: checking for uint64_t" >&5 | 1880echo "configure:1881: checking for uint64_t" >&5 |
1882if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then 1883 echo $ac_n "(cached) $ac_c" 1>&6 1884else 1885 cat > conftest.$ac_ext <<EOF | 1881if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then 1882 echo $ac_n "(cached) $ac_c" 1>&6 1883else 1884 cat > conftest.$ac_ext <<EOF |
1886#line 1887 "configure" | 1885#line 1886 "configure" |
1887#include "confdefs.h" 1888#include <sys/types.h> 1889#if STDC_HEADERS 1890#include <stdlib.h> 1891#include <stddef.h> 1892#endif 1893EOF 1894if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 14 unchanged lines hidden (view full) --- 1909 cat >> confdefs.h <<EOF 1910#define uint64_t $long64 1911EOF 1912 1913fi 1914 1915 1916echo $ac_n "checking size of uint8_t""... $ac_c" 1>&6 | 1886#include "confdefs.h" 1887#include <sys/types.h> 1888#if STDC_HEADERS 1889#include <stdlib.h> 1890#include <stddef.h> 1891#endif 1892EOF 1893if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | --- 14 unchanged lines hidden (view full) --- 1908 cat >> confdefs.h <<EOF 1909#define uint64_t $long64 1910EOF 1911 1912fi 1913 1914 1915echo $ac_n "checking size of uint8_t""... $ac_c" 1>&6 |
1917echo "configure:1918: checking size of uint8_t" >&5 | 1916echo "configure:1917: checking size of uint8_t" >&5 |
1918if eval "test \"`echo '$''{'ac_cv_sizeof_uint8_t'+set}'`\" = set"; then 1919 echo $ac_n "(cached) $ac_c" 1>&6 1920else 1921 if test "$cross_compiling" = yes; then 1922 ac_cv_sizeof_uint8_t=0 1923else 1924 cat > conftest.$ac_ext <<EOF | 1917if eval "test \"`echo '$''{'ac_cv_sizeof_uint8_t'+set}'`\" = set"; then 1918 echo $ac_n "(cached) $ac_c" 1>&6 1919else 1920 if test "$cross_compiling" = yes; then 1921 ac_cv_sizeof_uint8_t=0 1922else 1923 cat > conftest.$ac_ext <<EOF |
1925#line 1926 "configure" | 1924#line 1925 "configure" |
1926#include "confdefs.h" 1927#include <sys/types.h> 1928#ifdef STDC_HEADERS 1929#include <stdlib.h> 1930#endif 1931 1932#include <stdio.h> 1933main() 1934{ 1935 FILE *f=fopen("conftestval", "w"); 1936 if (!f) exit(1); 1937 fprintf(f, "%d\n", sizeof(uint8_t)); 1938 exit(0); 1939} 1940EOF | 1925#include "confdefs.h" 1926#include <sys/types.h> 1927#ifdef STDC_HEADERS 1928#include <stdlib.h> 1929#endif 1930 1931#include <stdio.h> 1932main() 1933{ 1934 FILE *f=fopen("conftestval", "w"); 1935 if (!f) exit(1); 1936 fprintf(f, "%d\n", sizeof(uint8_t)); 1937 exit(0); 1938} 1939EOF |
1941if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1940if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1942then 1943 ac_cv_sizeof_uint8_t=`cat conftestval` 1944else 1945 echo "configure: failed program was:" >&5 1946 cat conftest.$ac_ext >&5 1947 rm -fr conftest* 1948 ac_cv_sizeof_uint8_t=0 1949fi --- 4 unchanged lines hidden (view full) --- 1954echo "$ac_t""$ac_cv_sizeof_uint8_t" 1>&6 1955cat >> confdefs.h <<EOF 1956#define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t 1957EOF 1958 1959 1960 1961echo $ac_n "checking size of uint16_t""... $ac_c" 1>&6 | 1941then 1942 ac_cv_sizeof_uint8_t=`cat conftestval` 1943else 1944 echo "configure: failed program was:" >&5 1945 cat conftest.$ac_ext >&5 1946 rm -fr conftest* 1947 ac_cv_sizeof_uint8_t=0 1948fi --- 4 unchanged lines hidden (view full) --- 1953echo "$ac_t""$ac_cv_sizeof_uint8_t" 1>&6 1954cat >> confdefs.h <<EOF 1955#define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t 1956EOF 1957 1958 1959 1960echo $ac_n "checking size of uint16_t""... $ac_c" 1>&6 |
1962echo "configure:1963: checking size of uint16_t" >&5 | 1961echo "configure:1962: checking size of uint16_t" >&5 |
1963if eval "test \"`echo '$''{'ac_cv_sizeof_uint16_t'+set}'`\" = set"; then 1964 echo $ac_n "(cached) $ac_c" 1>&6 1965else 1966 if test "$cross_compiling" = yes; then 1967 ac_cv_sizeof_uint16_t=0 1968else 1969 cat > conftest.$ac_ext <<EOF | 1962if eval "test \"`echo '$''{'ac_cv_sizeof_uint16_t'+set}'`\" = set"; then 1963 echo $ac_n "(cached) $ac_c" 1>&6 1964else 1965 if test "$cross_compiling" = yes; then 1966 ac_cv_sizeof_uint16_t=0 1967else 1968 cat > conftest.$ac_ext <<EOF |
1970#line 1971 "configure" | 1969#line 1970 "configure" |
1971#include "confdefs.h" 1972#include <sys/types.h> 1973#ifdef STDC_HEADERS 1974#include <stdlib.h> 1975#endif 1976 1977#include <stdio.h> 1978main() 1979{ 1980 FILE *f=fopen("conftestval", "w"); 1981 if (!f) exit(1); 1982 fprintf(f, "%d\n", sizeof(uint16_t)); 1983 exit(0); 1984} 1985EOF | 1970#include "confdefs.h" 1971#include <sys/types.h> 1972#ifdef STDC_HEADERS 1973#include <stdlib.h> 1974#endif 1975 1976#include <stdio.h> 1977main() 1978{ 1979 FILE *f=fopen("conftestval", "w"); 1980 if (!f) exit(1); 1981 fprintf(f, "%d\n", sizeof(uint16_t)); 1982 exit(0); 1983} 1984EOF |
1986if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 1985if { (eval echo configure:1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
1987then 1988 ac_cv_sizeof_uint16_t=`cat conftestval` 1989else 1990 echo "configure: failed program was:" >&5 1991 cat conftest.$ac_ext >&5 1992 rm -fr conftest* 1993 ac_cv_sizeof_uint16_t=0 1994fi --- 4 unchanged lines hidden (view full) --- 1999echo "$ac_t""$ac_cv_sizeof_uint16_t" 1>&6 2000cat >> confdefs.h <<EOF 2001#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t 2002EOF 2003 2004 2005 2006echo $ac_n "checking size of uint32_t""... $ac_c" 1>&6 | 1986then 1987 ac_cv_sizeof_uint16_t=`cat conftestval` 1988else 1989 echo "configure: failed program was:" >&5 1990 cat conftest.$ac_ext >&5 1991 rm -fr conftest* 1992 ac_cv_sizeof_uint16_t=0 1993fi --- 4 unchanged lines hidden (view full) --- 1998echo "$ac_t""$ac_cv_sizeof_uint16_t" 1>&6 1999cat >> confdefs.h <<EOF 2000#define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t 2001EOF 2002 2003 2004 2005echo $ac_n "checking size of uint32_t""... $ac_c" 1>&6 |
2007echo "configure:2008: checking size of uint32_t" >&5 | 2006echo "configure:2007: checking size of uint32_t" >&5 |
2008if eval "test \"`echo '$''{'ac_cv_sizeof_uint32_t'+set}'`\" = set"; then 2009 echo $ac_n "(cached) $ac_c" 1>&6 2010else 2011 if test "$cross_compiling" = yes; then 2012 ac_cv_sizeof_uint32_t=0 2013else 2014 cat > conftest.$ac_ext <<EOF | 2007if eval "test \"`echo '$''{'ac_cv_sizeof_uint32_t'+set}'`\" = set"; then 2008 echo $ac_n "(cached) $ac_c" 1>&6 2009else 2010 if test "$cross_compiling" = yes; then 2011 ac_cv_sizeof_uint32_t=0 2012else 2013 cat > conftest.$ac_ext <<EOF |
2015#line 2016 "configure" | 2014#line 2015 "configure" |
2016#include "confdefs.h" 2017#include <sys/types.h> 2018#ifdef STDC_HEADERS 2019#include <stdlib.h> 2020#endif 2021 2022#include <stdio.h> 2023main() 2024{ 2025 FILE *f=fopen("conftestval", "w"); 2026 if (!f) exit(1); 2027 fprintf(f, "%d\n", sizeof(uint32_t)); 2028 exit(0); 2029} 2030EOF | 2015#include "confdefs.h" 2016#include <sys/types.h> 2017#ifdef STDC_HEADERS 2018#include <stdlib.h> 2019#endif 2020 2021#include <stdio.h> 2022main() 2023{ 2024 FILE *f=fopen("conftestval", "w"); 2025 if (!f) exit(1); 2026 fprintf(f, "%d\n", sizeof(uint32_t)); 2027 exit(0); 2028} 2029EOF |
2031if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2030if { (eval echo configure:2031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2032then 2033 ac_cv_sizeof_uint32_t=`cat conftestval` 2034else 2035 echo "configure: failed program was:" >&5 2036 cat conftest.$ac_ext >&5 2037 rm -fr conftest* 2038 ac_cv_sizeof_uint32_t=0 2039fi --- 4 unchanged lines hidden (view full) --- 2044echo "$ac_t""$ac_cv_sizeof_uint32_t" 1>&6 2045cat >> confdefs.h <<EOF 2046#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t 2047EOF 2048 2049 2050 2051echo $ac_n "checking size of uint64_t""... $ac_c" 1>&6 | 2031then 2032 ac_cv_sizeof_uint32_t=`cat conftestval` 2033else 2034 echo "configure: failed program was:" >&5 2035 cat conftest.$ac_ext >&5 2036 rm -fr conftest* 2037 ac_cv_sizeof_uint32_t=0 2038fi --- 4 unchanged lines hidden (view full) --- 2043echo "$ac_t""$ac_cv_sizeof_uint32_t" 1>&6 2044cat >> confdefs.h <<EOF 2045#define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t 2046EOF 2047 2048 2049 2050echo $ac_n "checking size of uint64_t""... $ac_c" 1>&6 |
2052echo "configure:2053: checking size of uint64_t" >&5 | 2051echo "configure:2052: checking size of uint64_t" >&5 |
2053if eval "test \"`echo '$''{'ac_cv_sizeof_uint64_t'+set}'`\" = set"; then 2054 echo $ac_n "(cached) $ac_c" 1>&6 2055else 2056 if test "$cross_compiling" = yes; then 2057 ac_cv_sizeof_uint64_t=0 2058else 2059 cat > conftest.$ac_ext <<EOF | 2052if eval "test \"`echo '$''{'ac_cv_sizeof_uint64_t'+set}'`\" = set"; then 2053 echo $ac_n "(cached) $ac_c" 1>&6 2054else 2055 if test "$cross_compiling" = yes; then 2056 ac_cv_sizeof_uint64_t=0 2057else 2058 cat > conftest.$ac_ext <<EOF |
2060#line 2061 "configure" | 2059#line 2060 "configure" |
2061#include "confdefs.h" 2062#include <sys/types.h> 2063#ifdef STDC_HEADERS 2064#include <stdlib.h> 2065#endif 2066 2067#include <stdio.h> 2068main() 2069{ 2070 FILE *f=fopen("conftestval", "w"); 2071 if (!f) exit(1); 2072 fprintf(f, "%d\n", sizeof(uint64_t)); 2073 exit(0); 2074} 2075EOF | 2060#include "confdefs.h" 2061#include <sys/types.h> 2062#ifdef STDC_HEADERS 2063#include <stdlib.h> 2064#endif 2065 2066#include <stdio.h> 2067main() 2068{ 2069 FILE *f=fopen("conftestval", "w"); 2070 if (!f) exit(1); 2071 fprintf(f, "%d\n", sizeof(uint64_t)); 2072 exit(0); 2073} 2074EOF |
2076if { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 2075if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2077then 2078 ac_cv_sizeof_uint64_t=`cat conftestval` 2079else 2080 echo "configure: failed program was:" >&5 2081 cat conftest.$ac_ext >&5 2082 rm -fr conftest* 2083 ac_cv_sizeof_uint64_t=0 2084fi --- 7 unchanged lines hidden (view full) --- 2092EOF 2093 2094 2095 2096 2097for ac_func in strerror strtoul 2098do 2099echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 2076then 2077 ac_cv_sizeof_uint64_t=`cat conftestval` 2078else 2079 echo "configure: failed program was:" >&5 2080 cat conftest.$ac_ext >&5 2081 rm -fr conftest* 2082 ac_cv_sizeof_uint64_t=0 2083fi --- 7 unchanged lines hidden (view full) --- 2091EOF 2092 2093 2094 2095 2096for ac_func in strerror strtoul 2097do 2098echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2100echo "configure:2101: checking for $ac_func" >&5 | 2099echo "configure:2100: checking for $ac_func" >&5 |
2101if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2102 echo $ac_n "(cached) $ac_c" 1>&6 2103else 2104 cat > conftest.$ac_ext <<EOF | 2100if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2101 echo $ac_n "(cached) $ac_c" 1>&6 2102else 2103 cat > conftest.$ac_ext <<EOF |
2105#line 2106 "configure" | 2104#line 2105 "configure" |
2106#include "confdefs.h" 2107/* System header to define __stub macros and hopefully few prototypes, 2108 which can conflict with char $ac_func(); below. */ 2109#include <assert.h> 2110/* Override any gcc2 internal prototype to avoid an error. */ 2111/* We use char because int might match the return type of a gcc2 2112 builtin and then its argument prototype would still apply. */ 2113char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2120#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2121choke me 2122#else 2123$ac_func(); 2124#endif 2125 2126; return 0; } 2127EOF | 2105#include "confdefs.h" 2106/* System header to define __stub macros and hopefully few prototypes, 2107 which can conflict with char $ac_func(); below. */ 2108#include <assert.h> 2109/* Override any gcc2 internal prototype to avoid an error. */ 2110/* We use char because int might match the return type of a gcc2 2111 builtin and then its argument prototype would still apply. */ 2112char $ac_func(); --- 6 unchanged lines hidden (view full) --- 2119#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 2120choke me 2121#else 2122$ac_func(); 2123#endif 2124 2125; return 0; } 2126EOF |
2128if { (eval echo configure:2129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2127if { (eval echo configure:2128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2129 rm -rf conftest* 2130 eval "ac_cv_func_$ac_func=yes" 2131else 2132 echo "configure: failed program was:" >&5 2133 cat conftest.$ac_ext >&5 2134 rm -rf conftest* 2135 eval "ac_cv_func_$ac_func=no" 2136fi --- 384 unchanged lines hidden --- | 2128 rm -rf conftest* 2129 eval "ac_cv_func_$ac_func=yes" 2130else 2131 echo "configure: failed program was:" >&5 2132 cat conftest.$ac_ext >&5 2133 rm -rf conftest* 2134 eval "ac_cv_func_$ac_func=no" 2135fi --- 384 unchanged lines hidden --- |