configure (136644) | configure (157184) |
---|---|
1#! /bin/sh | 1#! /bin/sh |
2# From configure.in for Readline 5.0, version 2.52, from autoconf version AC_ACVERSION. | 2# From configure.in for Readline 5.1, version 2.58. |
3# Guess values for system-dependent variables and create Makefiles. | 3# Guess values for system-dependent variables and create Makefiles. |
4# Generated by GNU Autoconf 2.57 for readline 5.0-rc1. | 4# Generated by GNU Autoconf 2.59 for readline 5.1-beta1. |
5# 6# Report bugs to <bug-readline@gnu.org>. 7# | 5# 6# Report bugs to <bug-readline@gnu.org>. 7# |
8# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 9# Free Software Foundation, Inc. | 8# Copyright (C) 2003 Free Software Foundation, Inc. |
10# This configure script is free software; the Free Software Foundation 11# gives unlimited permission to copy, distribute and modify it. 12## --------------------- ## 13## M4sh Initialization. ## 14## --------------------- ## 15 16# Be Bourne compatible 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18 emulate sh 19 NULLCMD=: 20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 24 set -o posix 25fi | 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## --------------------- ## 12## M4sh Initialization. ## 13## --------------------- ## 14 15# Be Bourne compatible 16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 emulate sh 18 NULLCMD=: 19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 20 # is contrary to our usage. Disable this feature. 21 alias -g '${1+"$@"}'='"$@"' 22elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 23 set -o posix 24fi |
25DUALCASE=1; export DUALCASE # for MKS sh |
|
26 27# Support unset when possible. | 26 27# Support unset when possible. |
28if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 28if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
29 as_unset=unset 30else 31 as_unset=false 32fi 33 34 35# Work around bugs in pre-3.0 UWIN ksh. 36$as_unset ENV MAIL MAILPATH 37PS1='$ ' 38PS2='> ' 39PS4='+ ' 40 41# NLS nuisances. 42for as_var in \ 43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 45 LC_TELEPHONE LC_TIME 46do | 29 as_unset=unset 30else 31 as_unset=false 32fi 33 34 35# Work around bugs in pre-3.0 UWIN ksh. 36$as_unset ENV MAIL MAILPATH 37PS1='$ ' 38PS2='> ' 39PS4='+ ' 40 41# NLS nuisances. 42for as_var in \ 43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 45 LC_TELEPHONE LC_TIME 46do |
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
48 eval $as_var=C; export $as_var 49 else 50 $as_unset $as_var 51 fi 52done 53 54# Required to use basename. 55if expr a : '\(a\)' >/dev/null 2>&1; then --- 160 unchanged lines hidden (view full) --- 216else 217 as_ln_s='cp -p' 218fi 219rm -f conf$$ conf$$.exe conf$$.file 220 221if mkdir -p . 2>/dev/null; then 222 as_mkdir_p=: 223else | 48 eval $as_var=C; export $as_var 49 else 50 $as_unset $as_var 51 fi 52done 53 54# Required to use basename. 55if expr a : '\(a\)' >/dev/null 2>&1; then --- 160 unchanged lines hidden (view full) --- 216else 217 as_ln_s='cp -p' 218fi 219rm -f conf$$ conf$$.exe conf$$.file 220 221if mkdir -p . 2>/dev/null; then 222 as_mkdir_p=: 223else |
224 test -d ./-p && rmdir ./-p |
|
224 as_mkdir_p=false 225fi 226 227as_executable_p="test -f" 228 229# Sed expression to map a string onto a valid CPP name. | 225 as_mkdir_p=false 226fi 227 228as_executable_p="test -f" 229 230# Sed expression to map a string onto a valid CPP name. |
230as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 231as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
231 232# Sed expression to map a string onto a valid variable name. | 232 233# Sed expression to map a string onto a valid variable name. |
233as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 234as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
234 235 236# IFS 237# We need space, tab and new line, in precisely that order. 238as_nl=' 239' 240IFS=" $as_nl" 241 --- 22 unchanged lines hidden (view full) --- 264# Maximum number of lines to put in a shell here document. 265# This variable seems obsolete. It should probably be removed, and 266# only ac_max_sed_lines should be used. 267: ${ac_max_here_lines=38} 268 269# Identity of this package. 270PACKAGE_NAME='readline' 271PACKAGE_TARNAME='readline' | 235 236 237# IFS 238# We need space, tab and new line, in precisely that order. 239as_nl=' 240' 241IFS=" $as_nl" 242 --- 22 unchanged lines hidden (view full) --- 265# Maximum number of lines to put in a shell here document. 266# This variable seems obsolete. It should probably be removed, and 267# only ac_max_sed_lines should be used. 268: ${ac_max_here_lines=38} 269 270# Identity of this package. 271PACKAGE_NAME='readline' 272PACKAGE_TARNAME='readline' |
272PACKAGE_VERSION='5.0-rc1' 273PACKAGE_STRING='readline 5.0-rc1' | 273PACKAGE_VERSION='5.1-beta1' 274PACKAGE_STRING='readline 5.1-beta1' |
274PACKAGE_BUGREPORT='bug-readline@gnu.org' 275 276ac_unique_file="readline.h" 277# Factoring default headers for most tests. 278ac_includes_default="\ 279#include <stdio.h> 280#if HAVE_SYS_TYPES_H 281# include <sys/types.h> --- 24 unchanged lines hidden (view full) --- 306# if HAVE_STDINT_H 307# include <stdint.h> 308# endif 309#endif 310#if HAVE_UNISTD_H 311# include <unistd.h> 312#endif" 313 | 275PACKAGE_BUGREPORT='bug-readline@gnu.org' 276 277ac_unique_file="readline.h" 278# Factoring default headers for most tests. 279ac_includes_default="\ 280#include <stdio.h> 281#if HAVE_SYS_TYPES_H 282# include <sys/types.h> --- 24 unchanged lines hidden (view full) --- 307# if HAVE_STDINT_H 308# include <stdint.h> 309# endif 310#endif 311#if HAVE_UNISTD_H 312# include <unistd.h> 313#endif" 314 |
314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR RANLIB ac_ct_RANLIB MAKE_SHELL SHOBJ_CC SHOBJ_CFLAGS SHOBJ_LD SHOBJ_LDFLAGS SHOBJ_XLDFLAGS SHOBJ_LIBS SHOBJ_STATUS SHLIB_STATUS SHLIB_XLDFLAGS SHLIB_LIBSUFF SHLIB_LIBVERSION SHLIB_LIBS SHLIB_MAJOR SHLIB_MINOR STATIC_TARGET SHARED_TARGET STATIC_INSTALL_TARGET SHARED_INSTALL_TARGET BUILD_DIR LOCAL_CFLAGS LOCAL_LDFLAGS LOCAL_DEFS ARFLAGS LIBVERSION TERMCAP_LIB LIBOBJS LTLIBOBJS' | 315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CROSS_COMPILE SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR RANLIB ac_ct_RANLIB MAKE_SHELL SHOBJ_CC SHOBJ_CFLAGS SHOBJ_LD SHOBJ_LDFLAGS SHOBJ_XLDFLAGS SHOBJ_LIBS SHOBJ_STATUS SHLIB_STATUS SHLIB_XLDFLAGS SHLIB_DOT SHLIB_LIBPREF SHLIB_LIBSUFF SHLIB_LIBVERSION SHLIB_DLLVERSION SHLIB_LIBS SHLIB_MAJOR SHLIB_MINOR STATIC_TARGET SHARED_TARGET STATIC_INSTALL_TARGET SHARED_INSTALL_TARGET PURIFY BUILD_DIR LOCAL_CFLAGS LOCAL_LDFLAGS LOCAL_DEFS ARFLAGS LIBVERSION TERMCAP_LIB LIBOBJS LTLIBOBJS' |
315ac_subst_files='' 316 317# Initialize some variables set by options. 318ac_init_help= 319ac_init_version=false 320# The variables have the same names as the options, with 321# dashes changed to underlines. 322cache_file=/dev/null --- 342 unchanged lines hidden (view full) --- 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 668 esac 669done 670 671# Be sure to have absolute paths. 672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 316ac_subst_files='' 317 318# Initialize some variables set by options. 319ac_init_help= 320ac_init_version=false 321# The variables have the same names as the options, with 322# dashes changed to underlines. 323cache_file=/dev/null --- 342 unchanged lines hidden (view full) --- 666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 668 { (exit 1); exit 1; }; };; 669 esac 670done 671 672# Be sure to have absolute paths. 673for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
673 localstatedir libdir includedir oldincludedir infodir mandir | 674 localstatedir libdir includedir oldincludedir infodir mandir |
674do 675 eval ac_val=$`echo $ac_var` 676 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 680 esac 681done --- 23 unchanged lines hidden (view full) --- 705 706 707# Find the source files, if location was not specified. 708if test -z "$srcdir"; then 709 ac_srcdir_defaulted=yes 710 # Try the directory containing this script, then its parent. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 675do 676 eval ac_val=$`echo $ac_var` 677 case $ac_val in 678 [\\/$]* | ?:[\\/]* ) ;; 679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 680 { (exit 1); exit 1; }; };; 681 esac 682done --- 23 unchanged lines hidden (view full) --- 706 707 708# Find the source files, if location was not specified. 709if test -z "$srcdir"; then 710 ac_srcdir_defaulted=yes 711 # Try the directory containing this script, then its parent. 712 ac_confdir=`(dirname "$0") 2>/dev/null || 713$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || | 714 X"$0" : 'X\(//\)[^/]' \| \ 715 X"$0" : 'X\(//\)$' \| \ 716 X"$0" : 'X\(/\)' \| \ 717 . : '\(.\)' 2>/dev/null || |
717echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 723 srcdir=$ac_confdir 724 if test ! -r $srcdir/$ac_unique_file; then --- 50 unchanged lines hidden (view full) --- 775 776# 777# Report the --help message. 778# 779if test "$ac_init_help" = "long"; then 780 # Omit some internal or obsolete options to make the list less imposing. 781 # This message is too long to be a string in the A/UX 3.1 sh. 782 cat <<_ACEOF | 718echo X"$0" | 719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 720 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 721 /^X\(\/\/\)$/{ s//\1/; q; } 722 /^X\(\/\).*/{ s//\1/; q; } 723 s/.*/./; q'` 724 srcdir=$ac_confdir 725 if test ! -r $srcdir/$ac_unique_file; then --- 50 unchanged lines hidden (view full) --- 776 777# 778# Report the --help message. 779# 780if test "$ac_init_help" = "long"; then 781 # Omit some internal or obsolete options to make the list less imposing. 782 # This message is too long to be a string in the A/UX 3.1 sh. 783 cat <<_ACEOF |
783\`configure' configures readline 5.0-rc1 to adapt to many kinds of systems. | 784\`configure' configures readline 5.1-beta1 to adapt to many kinds of systems. |
784 785Usage: $0 [OPTION]... [VAR=VALUE]... 786 787To assign environment variables (e.g., CC, CFLAGS...), specify them as 788VAR=VALUE. See below for descriptions of some of the useful variables. 789 790Defaults for the options are specified in brackets. 791 --- 8 unchanged lines hidden (view full) --- 800 -n, --no-create do not create output files 801 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 802 803_ACEOF 804 805 cat <<_ACEOF 806Installation directories: 807 --prefix=PREFIX install architecture-independent files in PREFIX | 785 786Usage: $0 [OPTION]... [VAR=VALUE]... 787 788To assign environment variables (e.g., CC, CFLAGS...), specify them as 789VAR=VALUE. See below for descriptions of some of the useful variables. 790 791Defaults for the options are specified in brackets. 792 --- 8 unchanged lines hidden (view full) --- 801 -n, --no-create do not create output files 802 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 803 804_ACEOF 805 806 cat <<_ACEOF 807Installation directories: 808 --prefix=PREFIX install architecture-independent files in PREFIX |
808 [$ac_default_prefix] | 809 [$ac_default_prefix] |
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 810 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
810 [PREFIX] | 811 [PREFIX] |
811 812By default, \`make install' will install all the files in 813\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 814an installation prefix other than \`$ac_default_prefix' using \`--prefix', 815for instance \`--prefix=\$HOME'. 816 817For better control, use the options below. 818 --- 17 unchanged lines hidden (view full) --- 836System types: 837 --build=BUILD configure for building on BUILD [guessed] 838 --host=HOST cross-compile to build programs to run on HOST [BUILD] 839_ACEOF 840fi 841 842if test -n "$ac_init_help"; then 843 case $ac_init_help in | 812 813By default, \`make install' will install all the files in 814\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 815an installation prefix other than \`$ac_default_prefix' using \`--prefix', 816for instance \`--prefix=\$HOME'. 817 818For better control, use the options below. 819 --- 17 unchanged lines hidden (view full) --- 837System types: 838 --build=BUILD configure for building on BUILD [guessed] 839 --host=HOST cross-compile to build programs to run on HOST [BUILD] 840_ACEOF 841fi 842 843if test -n "$ac_init_help"; then 844 case $ac_init_help in |
844 short | recursive ) echo "Configuration of readline 5.0-rc1:";; | 845 short | recursive ) echo "Configuration of readline 5.1-beta1:";; |
845 esac 846 cat <<\_ACEOF 847 848Optional Features: 849 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 850 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 851 --enable-multibyte enable multibyte characters if OS supports them 852 --enable-shared build shared libraries [default=YES] 853 --enable-static build static libraries [default=YES] 854 855Optional Packages: 856 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 857 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 858 --with-curses use the curses library instead of the termcap 859 library | 846 esac 847 cat <<\_ACEOF 848 849Optional Features: 850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 852 --enable-multibyte enable multibyte characters if OS supports them 853 --enable-shared build shared libraries [default=YES] 854 --enable-static build static libraries [default=YES] 855 856Optional Packages: 857 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 858 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 859 --with-curses use the curses library instead of the termcap 860 library |
861 --with-purify configure to postprocess with purify |
|
860 861Some influential environment variables: 862 CC C compiler command 863 CFLAGS C compiler flags 864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 865 nonstandard directory <lib dir> 866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 867 headers in a nonstandard directory <include dir> --- 31 unchanged lines hidden (view full) --- 899 fi ;; 900 [\\/]* | ?:[\\/]* ) # Absolute path. 901 ac_srcdir=$srcdir$ac_dir_suffix; 902 ac_top_srcdir=$srcdir ;; 903 *) # Relative path. 904 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 905 ac_top_srcdir=$ac_top_builddir$srcdir ;; 906esac | 862 863Some influential environment variables: 864 CC C compiler command 865 CFLAGS C compiler flags 866 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 867 nonstandard directory <lib dir> 868 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 869 headers in a nonstandard directory <include dir> --- 31 unchanged lines hidden (view full) --- 901 fi ;; 902 [\\/]* | ?:[\\/]* ) # Absolute path. 903 ac_srcdir=$srcdir$ac_dir_suffix; 904 ac_top_srcdir=$srcdir ;; 905 *) # Relative path. 906 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 907 ac_top_srcdir=$ac_top_builddir$srcdir ;; 908esac |
907# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 908# absolute. 909ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 910ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 911ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 912ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
913 | 909 |
910# Do not use `cd foo && pwd` to compute absolute paths, because 911# the directories may not exist. 912case `pwd` in 913.) ac_abs_builddir="$ac_dir";; 914*) 915 case "$ac_dir" in 916 .) ac_abs_builddir=`pwd`;; 917 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 918 *) ac_abs_builddir=`pwd`/"$ac_dir";; 919 esac;; 920esac 921case $ac_abs_builddir in 922.) ac_abs_top_builddir=${ac_top_builddir}.;; 923*) 924 case ${ac_top_builddir}. in 925 .) ac_abs_top_builddir=$ac_abs_builddir;; 926 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 927 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 928 esac;; 929esac 930case $ac_abs_builddir in 931.) ac_abs_srcdir=$ac_srcdir;; 932*) 933 case $ac_srcdir in 934 .) ac_abs_srcdir=$ac_abs_builddir;; 935 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 936 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 937 esac;; 938esac 939case $ac_abs_builddir in 940.) ac_abs_top_srcdir=$ac_top_srcdir;; 941*) 942 case $ac_top_srcdir in 943 .) ac_abs_top_srcdir=$ac_abs_builddir;; 944 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 945 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 946 esac;; 947esac 948 |
|
914 cd $ac_dir 915 # Check for guested configure; otherwise get Cygnus style configure. 916 if test -f $ac_srcdir/configure.gnu; then 917 echo 918 $SHELL $ac_srcdir/configure.gnu --help=recursive 919 elif test -f $ac_srcdir/configure; then 920 echo 921 $SHELL $ac_srcdir/configure --help=recursive 922 elif test -f $ac_srcdir/configure.ac || | 949 cd $ac_dir 950 # Check for guested configure; otherwise get Cygnus style configure. 951 if test -f $ac_srcdir/configure.gnu; then 952 echo 953 $SHELL $ac_srcdir/configure.gnu --help=recursive 954 elif test -f $ac_srcdir/configure; then 955 echo 956 $SHELL $ac_srcdir/configure --help=recursive 957 elif test -f $ac_srcdir/configure.ac || |
923 test -f $ac_srcdir/configure.in; then | 958 test -f $ac_srcdir/configure.in; then |
924 echo 925 $ac_configure --help 926 else 927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 928 fi 929 cd $ac_popdir 930 done 931fi 932 933test -n "$ac_init_help" && exit 0 934if $ac_init_version; then 935 cat <<\_ACEOF | 959 echo 960 $ac_configure --help 961 else 962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 963 fi 964 cd $ac_popdir 965 done 966fi 967 968test -n "$ac_init_help" && exit 0 969if $ac_init_version; then 970 cat <<\_ACEOF |
936readline configure 5.0-rc1 937generated by GNU Autoconf 2.57 | 971readline configure 5.1-beta1 972generated by GNU Autoconf 2.59 |
938 | 973 |
939Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 940Free Software Foundation, Inc. | 974Copyright (C) 2003 Free Software Foundation, Inc. |
941This configure script is free software; the Free Software Foundation 942gives unlimited permission to copy, distribute and modify it. 943_ACEOF 944 exit 0 945fi 946exec 5>config.log 947cat >&5 <<_ACEOF 948This file contains any messages produced by compilers while 949running configure, to aid debugging if configure makes a mistake. 950 | 975This configure script is free software; the Free Software Foundation 976gives unlimited permission to copy, distribute and modify it. 977_ACEOF 978 exit 0 979fi 980exec 5>config.log 981cat >&5 <<_ACEOF 982This file contains any messages produced by compilers while 983running configure, to aid debugging if configure makes a mistake. 984 |
951It was created by readline $as_me 5.0-rc1, which was 952generated by GNU Autoconf 2.57. Invocation command line was | 985It was created by readline $as_me 5.1-beta1, which was 986generated by GNU Autoconf 2.59. Invocation command line was |
953 954 $ $0 $@ 955 956_ACEOF 957{ 958cat <<_ASUNAME 959## --------- ## 960## Platform. ## --- 60 unchanged lines hidden (view full) --- 1021 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1022 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1023 esac 1024 case $ac_pass in 1025 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1026 2) 1027 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1028 if test $ac_must_keep_next = true; then | 987 988 $ $0 $@ 989 990_ACEOF 991{ 992cat <<_ASUNAME 993## --------- ## 994## Platform. ## --- 60 unchanged lines hidden (view full) --- 1055 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1056 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1057 esac 1058 case $ac_pass in 1059 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1060 2) 1061 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1062 if test $ac_must_keep_next = true; then |
1029 ac_must_keep_next=false # Got value, back to normal. | 1063 ac_must_keep_next=false # Got value, back to normal. |
1030 else | 1064 else |
1031 case $ac_arg in 1032 *=* | --config-cache | -C | -disable-* | --disable-* \ 1033 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1034 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1035 | -with-* | --with-* | -without-* | --without-* | --x) 1036 case "$ac_configure_args0 " in 1037 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1038 esac 1039 ;; 1040 -* ) ac_must_keep_next=true ;; 1041 esac | 1065 case $ac_arg in 1066 *=* | --config-cache | -C | -disable-* | --disable-* \ 1067 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1068 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1069 | -with-* | --with-* | -without-* | --without-* | --x) 1070 case "$ac_configure_args0 " in 1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1072 esac 1073 ;; 1074 -* ) ac_must_keep_next=true ;; 1075 esac |
1042 fi 1043 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1044 # Get rid of the leading space. 1045 ac_sep=" " 1046 ;; 1047 esac 1048 done 1049done --- 17 unchanged lines hidden (view full) --- 1067_ASBOX 1068 echo 1069 # The following way of writing the cache mishandles newlines in values, 1070{ 1071 (set) 2>&1 | 1072 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1073 *ac_space=\ *) 1074 sed -n \ | 1076 fi 1077 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1078 # Get rid of the leading space. 1079 ac_sep=" " 1080 ;; 1081 esac 1082 done 1083done --- 17 unchanged lines hidden (view full) --- 1101_ASBOX 1102 echo 1103 # The following way of writing the cache mishandles newlines in values, 1104{ 1105 (set) 2>&1 | 1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1107 *ac_space=\ *) 1108 sed -n \ |
1075 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1077 ;; 1078 *) 1079 sed -n \ | 1111 ;; 1112 *) 1113 sed -n \ |
1080 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1081 ;; 1082 esac; 1083} 1084 echo 1085 1086 cat <<\_ASBOX 1087## ----------------- ## 1088## Output variables. ## --- 12 unchanged lines hidden (view full) --- 1101## ------------- ## 1102## Output files. ## 1103## ------------- ## 1104_ASBOX 1105 echo 1106 for ac_var in $ac_subst_files 1107 do 1108 eval ac_val=$`echo $ac_var` | 1115 ;; 1116 esac; 1117} 1118 echo 1119 1120 cat <<\_ASBOX 1121## ----------------- ## 1122## Output variables. ## --- 12 unchanged lines hidden (view full) --- 1135## ------------- ## 1136## Output files. ## 1137## ------------- ## 1138_ASBOX 1139 echo 1140 for ac_var in $ac_subst_files 1141 do 1142 eval ac_val=$`echo $ac_var` |
1109 echo "$ac_var='"'"'$ac_val'"'"'" | 1143 echo "$ac_var='"'"'$ac_val'"'"'" |
1110 done | sort 1111 echo 1112 fi 1113 1114 if test -s confdefs.h; then 1115 cat <<\_ASBOX 1116## ----------- ## 1117## confdefs.h. ## 1118## ----------- ## 1119_ASBOX 1120 echo 1121 sed "/^$/d" confdefs.h | sort 1122 echo 1123 fi 1124 test "$ac_signal" != 0 && 1125 echo "$as_me: caught signal $ac_signal" 1126 echo "$as_me: exit $exit_status" 1127 } >&5 | 1144 done | sort 1145 echo 1146 fi 1147 1148 if test -s confdefs.h; then 1149 cat <<\_ASBOX 1150## ----------- ## 1151## confdefs.h. ## 1152## ----------- ## 1153_ASBOX 1154 echo 1155 sed "/^$/d" confdefs.h | sort 1156 echo 1157 fi 1158 test "$ac_signal" != 0 && 1159 echo "$as_me: caught signal $ac_signal" 1160 echo "$as_me: exit $exit_status" 1161 } >&5 |
1128 rm -f core core.* *.core && | 1162 rm -f core *.core && |
1129 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1130 exit $exit_status 1131 ' 0 1132for ac_signal in 1 2 13 15; do 1133 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1134done 1135ac_signal=0 1136 --- 63 unchanged lines hidden (view full) --- 1200echo "$as_me: creating cache $cache_file" >&6;} 1201 >$cache_file 1202fi 1203 1204# Check that the precious variables saved in the cache have kept the same 1205# value. 1206ac_cache_corrupted=false 1207for ac_var in `(set) 2>&1 | | 1163 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1164 exit $exit_status 1165 ' 0 1166for ac_signal in 1 2 13 15; do 1167 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1168done 1169ac_signal=0 1170 --- 63 unchanged lines hidden (view full) --- 1234echo "$as_me: creating cache $cache_file" >&6;} 1235 >$cache_file 1236fi 1237 1238# Check that the precious variables saved in the cache have kept the same 1239# value. 1240ac_cache_corrupted=false 1241for ac_var in `(set) 2>&1 | |
1208 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 1242 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1209 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1210 eval ac_new_set=\$ac_env_${ac_var}_set 1211 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1212 eval ac_new_val="\$ac_env_${ac_var}_value" 1213 case $ac_old_set,$ac_new_set in 1214 set,) 1215 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1216echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1217 ac_cache_corrupted=: ;; 1218 ,set) 1219 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1220echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1221 ac_cache_corrupted=: ;; 1222 ,);; 1223 *) 1224 if test "x$ac_old_val" != "x$ac_new_val"; then | 1243 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1244 eval ac_new_set=\$ac_env_${ac_var}_set 1245 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1246 eval ac_new_val="\$ac_env_${ac_var}_value" 1247 case $ac_old_set,$ac_new_set in 1248 set,) 1249 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1250echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1251 ac_cache_corrupted=: ;; 1252 ,set) 1253 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1254echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1255 ac_cache_corrupted=: ;; 1256 ,);; 1257 *) 1258 if test "x$ac_old_val" != "x$ac_new_val"; then |
1225 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1226echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 1260echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1227 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 | 1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1228echo "$as_me: former value: $ac_old_val" >&2;} | 1262echo "$as_me: former value: $ac_old_val" >&2;} |
1229 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 | 1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1230echo "$as_me: current value: $ac_new_val" >&2;} | 1264echo "$as_me: current value: $ac_new_val" >&2;} |
1231 ac_cache_corrupted=: | 1265 ac_cache_corrupted=: |
1232 fi;; 1233 esac 1234 # Pass precious variables to config.status. 1235 if test "$ac_new_set" = set; then 1236 case $ac_new_val in 1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1238 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1239 *) ac_arg=$ac_var=$ac_new_val ;; --- 71 unchanged lines hidden (view full) --- 1311fi 1312ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1313ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1314ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1315 1316 ac_config_headers="$ac_config_headers config.h" 1317 1318 | 1266 fi;; 1267 esac 1268 # Pass precious variables to config.status. 1269 if test "$ac_new_set" = set; then 1270 case $ac_new_val in 1271 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1272 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1273 *) ac_arg=$ac_var=$ac_new_val ;; --- 71 unchanged lines hidden (view full) --- 1345fi 1346ac_config_guess="$SHELL $ac_aux_dir/config.guess" 1347ac_config_sub="$SHELL $ac_aux_dir/config.sub" 1348ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 1349 1350 ac_config_headers="$ac_config_headers config.h" 1351 1352 |
1319LIBVERSION=5.0 | 1353LIBVERSION=5.1 |
1320 1321# Make sure we can run config.sub. 1322$ac_config_sub sun4 >/dev/null 2>&1 || 1323 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1324echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1325 { (exit 1); exit 1; }; } 1326 1327echo "$as_me:$LINENO: checking build system type" >&5 --- 41 unchanged lines hidden (view full) --- 1369host=$ac_cv_host 1370host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1371host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1372host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1373 1374 1375 1376opt_curses=no | 1354 1355# Make sure we can run config.sub. 1356$ac_config_sub sun4 >/dev/null 2>&1 || 1357 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1358echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1359 { (exit 1); exit 1; }; } 1360 1361echo "$as_me:$LINENO: checking build system type" >&5 --- 41 unchanged lines hidden (view full) --- 1403host=$ac_cv_host 1404host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 1405host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 1406host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1407 1408 1409 1410opt_curses=no |
1411opt_purify=no |
|
1377 1378 1379# Check whether --with-curses or --without-curses was given. 1380if test "${with_curses+set}" = set; then 1381 withval="$with_curses" 1382 opt_curses=$withval 1383fi; 1384 | 1412 1413 1414# Check whether --with-curses or --without-curses was given. 1415if test "${with_curses+set}" = set; then 1416 withval="$with_curses" 1417 opt_curses=$withval 1418fi; 1419 |
1420# Check whether --with-purify or --without-purify was given. 1421if test "${with_purify+set}" = set; then 1422 withval="$with_purify" 1423 opt_purify=$withval 1424fi; 1425 |
|
1385if test "$opt_curses" = "yes"; then 1386 prefer_curses=yes 1387fi 1388 | 1426if test "$opt_curses" = "yes"; then 1427 prefer_curses=yes 1428fi 1429 |
1430if test "$opt_purify" = yes; then 1431 PURIFY="purify" 1432else 1433 PURIFY= 1434fi 1435 |
|
1389opt_multibyte=yes 1390opt_static_libs=yes 1391opt_shared_libs=yes 1392 1393# Check whether --enable-multibyte or --disable-multibyte was given. 1394if test "${enable_multibyte+set}" = set; then 1395 enableval="$enable_multibyte" 1396 opt_multibyte=$enableval --- 11 unchanged lines hidden (view full) --- 1408 1409if test $opt_multibyte = no; then 1410cat >>confdefs.h <<\_ACEOF 1411#define NO_MULTIBYTE_SUPPORT 1 1412_ACEOF 1413 1414fi 1415 | 1436opt_multibyte=yes 1437opt_static_libs=yes 1438opt_shared_libs=yes 1439 1440# Check whether --enable-multibyte or --disable-multibyte was given. 1441if test "${enable_multibyte+set}" = set; then 1442 enableval="$enable_multibyte" 1443 opt_multibyte=$enableval --- 11 unchanged lines hidden (view full) --- 1455 1456if test $opt_multibyte = no; then 1457cat >>confdefs.h <<\_ACEOF 1458#define NO_MULTIBYTE_SUPPORT 1 1459_ACEOF 1460 1461fi 1462 |
1463 1464 1465if test "x$cross_compiling" = "xyes"; then 1466 case "${host}" in 1467 *-cygwin*) 1468 cross_cache=${srcdir}/cross-build/cygwin.cache 1469 ;; 1470 *-mingw*) 1471 cross_cache=${srcdir}/cross-build/mingw.cache 1472 ;; 1473 i[3456]86-*-beos*) 1474 cross_cache=${srcdir}/cross-build/x86-beos.cache 1475 ;; 1476 *) echo "configure: cross-compiling for $host is not supported" >&2 1477 ;; 1478 esac 1479 if test -n "${cross_cache}" && test -r "${cross_cache}"; then 1480 echo "loading cross-build cache file ${cross_cache}" 1481 . ${cross_cache} 1482 fi 1483 unset cross_cache 1484 CROSS_COMPILE='-DCROSS_COMPILING' 1485 1486fi 1487 |
|
1416echo "" 1417echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_vendor}-${host_os}" 1418echo "" 1419 1420# We want these before the checks, so the checks can modify their values. 1421test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1 1422 1423echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1424echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 | 1488echo "" 1489echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_vendor}-${host_os}" 1490echo "" 1491 1492# We want these before the checks, so the checks can modify their values. 1493test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1 1494 1495echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 1496echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 |
1425set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'` | 1497set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` |
1426if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1427 echo $ECHO_N "(cached) $ECHO_C" >&6 1428else 1429 cat >conftest.make <<\_ACEOF 1430all: 1431 @echo 'ac_maketemp="$(MAKE)"' 1432_ACEOF 1433# GNU make sometimes prints "make[1]: Entering...", which would confuse us. --- 346 unchanged lines hidden (view full) --- 1780 (exit $ac_status); } 1781{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1782 (eval $ac_compiler -V </dev/null >&5) 2>&5 1783 ac_status=$? 1784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1785 (exit $ac_status); } 1786 1787cat >conftest.$ac_ext <<_ACEOF | 1498if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then 1499 echo $ECHO_N "(cached) $ECHO_C" >&6 1500else 1501 cat >conftest.make <<\_ACEOF 1502all: 1503 @echo 'ac_maketemp="$(MAKE)"' 1504_ACEOF 1505# GNU make sometimes prints "make[1]: Entering...", which would confuse us. --- 346 unchanged lines hidden (view full) --- 1852 (exit $ac_status); } 1853{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1854 (eval $ac_compiler -V </dev/null >&5) 2>&5 1855 ac_status=$? 1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1857 (exit $ac_status); } 1858 1859cat >conftest.$ac_ext <<_ACEOF |
1788#line $LINENO "configure" | |
1789/* confdefs.h. */ 1790_ACEOF 1791cat confdefs.h >>conftest.$ac_ext 1792cat >>conftest.$ac_ext <<_ACEOF 1793/* end confdefs.h. */ 1794 1795int 1796main () 1797{ 1798 1799 ; 1800 return 0; 1801} 1802_ACEOF 1803ac_clean_files_save=$ac_clean_files 1804ac_clean_files="$ac_clean_files a.out a.exe b.out" 1805# Try to create an executable without -o first, disregard a.out. 1806# It will help us diagnose broken compilers, and finding out an intuition 1807# of exeext. | 1860/* confdefs.h. */ 1861_ACEOF 1862cat confdefs.h >>conftest.$ac_ext 1863cat >>conftest.$ac_ext <<_ACEOF 1864/* end confdefs.h. */ 1865 1866int 1867main () 1868{ 1869 1870 ; 1871 return 0; 1872} 1873_ACEOF 1874ac_clean_files_save=$ac_clean_files 1875ac_clean_files="$ac_clean_files a.out a.exe b.out" 1876# Try to create an executable without -o first, disregard a.out. 1877# It will help us diagnose broken compilers, and finding out an intuition 1878# of exeext. |
1808echo "$as_me:$LINENO: checking for C compiler default output" >&5 1809echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 | 1879echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1880echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 |
1810ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1811if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1812 (eval $ac_link_default) 2>&5 1813 ac_status=$? 1814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1815 (exit $ac_status); }; then 1816 # Find the output, starting from the most likely. This scheme is 1817# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1818# resort. 1819 1820# Be careful to initialize this variable, since it used to be cached. 1821# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1822ac_cv_exeext= 1823# b.out is created by i960 compilers. 1824for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1825do 1826 test -f "$ac_file" || continue 1827 case $ac_file in 1828 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 1881ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1882if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1883 (eval $ac_link_default) 2>&5 1884 ac_status=$? 1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1886 (exit $ac_status); }; then 1887 # Find the output, starting from the most likely. This scheme is 1888# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1889# resort. 1890 1891# Be careful to initialize this variable, since it used to be cached. 1892# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1893ac_cv_exeext= 1894# b.out is created by i960 compilers. 1895for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1896do 1897 test -f "$ac_file" || continue 1898 case $ac_file in 1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) |
1829 ;; | 1900 ;; |
1830 conftest.$ac_ext ) | 1901 conftest.$ac_ext ) |
1831 # This is the source file. 1832 ;; | 1902 # This is the source file. 1903 ;; |
1833 [ab].out ) | 1904 [ab].out ) |
1834 # We found the default executable, but exeext='' is most 1835 # certainly right. 1836 break;; | 1905 # We found the default executable, but exeext='' is most 1906 # certainly right. 1907 break;; |
1837 *.* ) | 1908 *.* ) |
1838 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1839 # FIXME: I believe we export ac_cv_exeext for Libtool, 1840 # but it would be cool to find out if it's true. Does anybody 1841 # maintain Libtool? --akim. 1842 export ac_cv_exeext 1843 break;; | 1909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1910 # FIXME: I believe we export ac_cv_exeext for Libtool, 1911 # but it would be cool to find out if it's true. Does anybody 1912 # maintain Libtool? --akim. 1913 export ac_cv_exeext 1914 break;; |
1844 * ) | 1915 * ) |
1845 break;; | 1916 break;; |
1846 esac 1847done 1848else 1849 echo "$as_me: failed program was:" >&5 1850sed 's/^/| /' conftest.$ac_ext >&5 1851 1852{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1853See \`config.log' for more details." >&5 --- 57 unchanged lines hidden (view full) --- 1911# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1912# work properly (i.e., refer to `conftest.exe'), while it won't with 1913# `rm'. 1914for ac_file in conftest.exe conftest conftest.*; do 1915 test -f "$ac_file" || continue 1916 case $ac_file in 1917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1918 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 1917 esac 1918done 1919else 1920 echo "$as_me: failed program was:" >&5 1921sed 's/^/| /' conftest.$ac_ext >&5 1922 1923{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 1924See \`config.log' for more details." >&5 --- 57 unchanged lines hidden (view full) --- 1982# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1983# work properly (i.e., refer to `conftest.exe'), while it won't with 1984# `rm'. 1985for ac_file in conftest.exe conftest conftest.*; do 1986 test -f "$ac_file" || continue 1987 case $ac_file in 1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
1919 export ac_cv_exeext 1920 break;; | 1990 export ac_cv_exeext 1991 break;; |
1921 * ) break;; 1922 esac 1923done 1924else 1925 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1926See \`config.log' for more details." >&5 1927echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1928See \`config.log' for more details." >&2;} --- 8 unchanged lines hidden (view full) --- 1937EXEEXT=$ac_cv_exeext 1938ac_exeext=$EXEEXT 1939echo "$as_me:$LINENO: checking for suffix of object files" >&5 1940echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1941if test "${ac_cv_objext+set}" = set; then 1942 echo $ECHO_N "(cached) $ECHO_C" >&6 1943else 1944 cat >conftest.$ac_ext <<_ACEOF | 1992 * ) break;; 1993 esac 1994done 1995else 1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1997See \`config.log' for more details." >&5 1998echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1999See \`config.log' for more details." >&2;} --- 8 unchanged lines hidden (view full) --- 2008EXEEXT=$ac_cv_exeext 2009ac_exeext=$EXEEXT 2010echo "$as_me:$LINENO: checking for suffix of object files" >&5 2011echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 2012if test "${ac_cv_objext+set}" = set; then 2013 echo $ECHO_N "(cached) $ECHO_C" >&6 2014else 2015 cat >conftest.$ac_ext <<_ACEOF |
1945#line $LINENO "configure" | |
1946/* confdefs.h. */ 1947_ACEOF 1948cat confdefs.h >>conftest.$ac_ext 1949cat >>conftest.$ac_ext <<_ACEOF 1950/* end confdefs.h. */ 1951 1952int 1953main () --- 34 unchanged lines hidden (view full) --- 1988OBJEXT=$ac_cv_objext 1989ac_objext=$OBJEXT 1990echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1991echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1992if test "${ac_cv_c_compiler_gnu+set}" = set; then 1993 echo $ECHO_N "(cached) $ECHO_C" >&6 1994else 1995 cat >conftest.$ac_ext <<_ACEOF | 2016/* confdefs.h. */ 2017_ACEOF 2018cat confdefs.h >>conftest.$ac_ext 2019cat >>conftest.$ac_ext <<_ACEOF 2020/* end confdefs.h. */ 2021 2022int 2023main () --- 34 unchanged lines hidden (view full) --- 2058OBJEXT=$ac_cv_objext 2059ac_objext=$OBJEXT 2060echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2061echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 2062if test "${ac_cv_c_compiler_gnu+set}" = set; then 2063 echo $ECHO_N "(cached) $ECHO_C" >&6 2064else 2065 cat >conftest.$ac_ext <<_ACEOF |
1996#line $LINENO "configure" | |
1997/* confdefs.h. */ 1998_ACEOF 1999cat confdefs.h >>conftest.$ac_ext 2000cat >>conftest.$ac_ext <<_ACEOF 2001/* end confdefs.h. */ 2002 2003int 2004main () 2005{ 2006#ifndef __GNUC__ 2007 choke me 2008#endif 2009 2010 ; 2011 return 0; 2012} 2013_ACEOF 2014rm -f conftest.$ac_objext 2015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2066/* confdefs.h. */ 2067_ACEOF 2068cat confdefs.h >>conftest.$ac_ext 2069cat >>conftest.$ac_ext <<_ACEOF 2070/* end confdefs.h. */ 2071 2072int 2073main () 2074{ 2075#ifndef __GNUC__ 2076 choke me 2077#endif 2078 2079 ; 2080 return 0; 2081} 2082_ACEOF 2083rm -f conftest.$ac_objext 2084if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2016 (eval $ac_compile) 2>&5 | 2085 (eval $ac_compile) 2>conftest.er1 |
2017 ac_status=$? | 2086 ac_status=$? |
2087 grep -v '^ *+' conftest.er1 >conftest.err 2088 rm -f conftest.er1 2089 cat conftest.err >&5 |
|
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2019 (exit $ac_status); } && | 2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2091 (exit $ac_status); } && |
2020 { ac_try='test -s conftest.$ac_objext' | 2092 { ac_try='test -z "$ac_c_werror_flag" 2093 || test ! -s conftest.err' |
2021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2022 (eval $ac_try) 2>&5 2023 ac_status=$? 2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2095 (eval $ac_try) 2>&5 2096 ac_status=$? 2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2098 (exit $ac_status); }; } && 2099 { ac_try='test -s conftest.$ac_objext' 2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2101 (eval $ac_try) 2>&5 2102 ac_status=$? 2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2025 (exit $ac_status); }; }; then 2026 ac_compiler_gnu=yes 2027else 2028 echo "$as_me: failed program was:" >&5 2029sed 's/^/| /' conftest.$ac_ext >&5 2030 2031ac_compiler_gnu=no 2032fi | 2104 (exit $ac_status); }; }; then 2105 ac_compiler_gnu=yes 2106else 2107 echo "$as_me: failed program was:" >&5 2108sed 's/^/| /' conftest.$ac_ext >&5 2109 2110ac_compiler_gnu=no 2111fi |
2033rm -f conftest.$ac_objext conftest.$ac_ext | 2112rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2034ac_cv_c_compiler_gnu=$ac_compiler_gnu 2035 2036fi 2037echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2038echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2039GCC=`test $ac_compiler_gnu = yes && echo yes` 2040ac_test_CFLAGS=${CFLAGS+set} 2041ac_save_CFLAGS=$CFLAGS 2042CFLAGS="-g" 2043echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2044echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2045if test "${ac_cv_prog_cc_g+set}" = set; then 2046 echo $ECHO_N "(cached) $ECHO_C" >&6 2047else 2048 cat >conftest.$ac_ext <<_ACEOF | 2113ac_cv_c_compiler_gnu=$ac_compiler_gnu 2114 2115fi 2116echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2117echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2118GCC=`test $ac_compiler_gnu = yes && echo yes` 2119ac_test_CFLAGS=${CFLAGS+set} 2120ac_save_CFLAGS=$CFLAGS 2121CFLAGS="-g" 2122echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2123echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2124if test "${ac_cv_prog_cc_g+set}" = set; then 2125 echo $ECHO_N "(cached) $ECHO_C" >&6 2126else 2127 cat >conftest.$ac_ext <<_ACEOF |
2049#line $LINENO "configure" | |
2050/* confdefs.h. */ 2051_ACEOF 2052cat confdefs.h >>conftest.$ac_ext 2053cat >>conftest.$ac_ext <<_ACEOF 2054/* end confdefs.h. */ 2055 2056int 2057main () 2058{ 2059 2060 ; 2061 return 0; 2062} 2063_ACEOF 2064rm -f conftest.$ac_objext 2065if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2128/* confdefs.h. */ 2129_ACEOF 2130cat confdefs.h >>conftest.$ac_ext 2131cat >>conftest.$ac_ext <<_ACEOF 2132/* end confdefs.h. */ 2133 2134int 2135main () 2136{ 2137 2138 ; 2139 return 0; 2140} 2141_ACEOF 2142rm -f conftest.$ac_objext 2143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2066 (eval $ac_compile) 2>&5 | 2144 (eval $ac_compile) 2>conftest.er1 |
2067 ac_status=$? | 2145 ac_status=$? |
2146 grep -v '^ *+' conftest.er1 >conftest.err 2147 rm -f conftest.er1 2148 cat conftest.err >&5 |
|
2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2069 (exit $ac_status); } && | 2149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2150 (exit $ac_status); } && |
2070 { ac_try='test -s conftest.$ac_objext' | 2151 { ac_try='test -z "$ac_c_werror_flag" 2152 || test ! -s conftest.err' |
2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2072 (eval $ac_try) 2>&5 2073 ac_status=$? 2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2154 (eval $ac_try) 2>&5 2155 ac_status=$? 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2157 (exit $ac_status); }; } && 2158 { ac_try='test -s conftest.$ac_objext' 2159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2160 (eval $ac_try) 2>&5 2161 ac_status=$? 2162 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2075 (exit $ac_status); }; }; then 2076 ac_cv_prog_cc_g=yes 2077else 2078 echo "$as_me: failed program was:" >&5 2079sed 's/^/| /' conftest.$ac_ext >&5 2080 2081ac_cv_prog_cc_g=no 2082fi | 2163 (exit $ac_status); }; }; then 2164 ac_cv_prog_cc_g=yes 2165else 2166 echo "$as_me: failed program was:" >&5 2167sed 's/^/| /' conftest.$ac_ext >&5 2168 2169ac_cv_prog_cc_g=no 2170fi |
2083rm -f conftest.$ac_objext conftest.$ac_ext | 2171rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2084fi 2085echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2086echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2087if test "$ac_test_CFLAGS" = set; then 2088 CFLAGS=$ac_save_CFLAGS 2089elif test $ac_cv_prog_cc_g = yes; then 2090 if test "$GCC" = yes; then 2091 CFLAGS="-g -O2" --- 10 unchanged lines hidden (view full) --- 2102echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2103echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2104if test "${ac_cv_prog_cc_stdc+set}" = set; then 2105 echo $ECHO_N "(cached) $ECHO_C" >&6 2106else 2107 ac_cv_prog_cc_stdc=no 2108ac_save_CC=$CC 2109cat >conftest.$ac_ext <<_ACEOF | 2172fi 2173echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2174echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 2175if test "$ac_test_CFLAGS" = set; then 2176 CFLAGS=$ac_save_CFLAGS 2177elif test $ac_cv_prog_cc_g = yes; then 2178 if test "$GCC" = yes; then 2179 CFLAGS="-g -O2" --- 10 unchanged lines hidden (view full) --- 2190echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2191echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2192if test "${ac_cv_prog_cc_stdc+set}" = set; then 2193 echo $ECHO_N "(cached) $ECHO_C" >&6 2194else 2195 ac_cv_prog_cc_stdc=no 2196ac_save_CC=$CC 2197cat >conftest.$ac_ext <<_ACEOF |
2110#line $LINENO "configure" | |
2111/* confdefs.h. */ 2112_ACEOF 2113cat confdefs.h >>conftest.$ac_ext 2114cat >>conftest.$ac_ext <<_ACEOF 2115/* end confdefs.h. */ 2116#include <stdarg.h> 2117#include <stdio.h> 2118#include <sys/types.h> --- 11 unchanged lines hidden (view full) --- 2130{ 2131 char *s; 2132 va_list v; 2133 va_start (v,p); 2134 s = g (p, va_arg (v,int)); 2135 va_end (v); 2136 return s; 2137} | 2198/* confdefs.h. */ 2199_ACEOF 2200cat confdefs.h >>conftest.$ac_ext 2201cat >>conftest.$ac_ext <<_ACEOF 2202/* end confdefs.h. */ 2203#include <stdarg.h> 2204#include <stdio.h> 2205#include <sys/types.h> --- 11 unchanged lines hidden (view full) --- 2217{ 2218 char *s; 2219 va_list v; 2220 va_start (v,p); 2221 s = g (p, va_arg (v,int)); 2222 va_end (v); 2223 return s; 2224} |
2225 2226/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2227 function prototypes and stuff, but not '\xHH' hex character constants. 2228 These don't provoke an error unfortunately, instead are silently treated 2229 as 'x'. The following induces an error, until -std1 is added to get 2230 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2231 array size at least. It's necessary to write '\x00'==0 to get something 2232 that's true only with -std1. */ 2233int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2234 |
|
2138int test (int i, double x); 2139struct s1 {int (*f) (int a);}; 2140struct s2 {int (*f) (double a);}; 2141int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2142int argc; 2143char **argv; 2144int 2145main () --- 10 unchanged lines hidden (view full) --- 2156# HP-UX 10.20 and later -Ae 2157# HP-UX older versions -Aa -D_HPUX_SOURCE 2158# SVR4 -Xc -D__EXTENSIONS__ 2159for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2160do 2161 CC="$ac_save_CC $ac_arg" 2162 rm -f conftest.$ac_objext 2163if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2235int test (int i, double x); 2236struct s1 {int (*f) (int a);}; 2237struct s2 {int (*f) (double a);}; 2238int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2239int argc; 2240char **argv; 2241int 2242main () --- 10 unchanged lines hidden (view full) --- 2253# HP-UX 10.20 and later -Ae 2254# HP-UX older versions -Aa -D_HPUX_SOURCE 2255# SVR4 -Xc -D__EXTENSIONS__ 2256for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2257do 2258 CC="$ac_save_CC $ac_arg" 2259 rm -f conftest.$ac_objext 2260if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2164 (eval $ac_compile) 2>&5 | 2261 (eval $ac_compile) 2>conftest.er1 |
2165 ac_status=$? | 2262 ac_status=$? |
2263 grep -v '^ *+' conftest.er1 >conftest.err 2264 rm -f conftest.er1 2265 cat conftest.err >&5 |
|
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2167 (exit $ac_status); } && | 2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2267 (exit $ac_status); } && |
2168 { ac_try='test -s conftest.$ac_objext' | 2268 { ac_try='test -z "$ac_c_werror_flag" 2269 || test ! -s conftest.err' |
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2170 (eval $ac_try) 2>&5 2171 ac_status=$? 2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2271 (eval $ac_try) 2>&5 2272 ac_status=$? 2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2274 (exit $ac_status); }; } && 2275 { ac_try='test -s conftest.$ac_objext' 2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2277 (eval $ac_try) 2>&5 2278 ac_status=$? 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2173 (exit $ac_status); }; }; then 2174 ac_cv_prog_cc_stdc=$ac_arg 2175break 2176else 2177 echo "$as_me: failed program was:" >&5 2178sed 's/^/| /' conftest.$ac_ext >&5 2179 2180fi | 2280 (exit $ac_status); }; }; then 2281 ac_cv_prog_cc_stdc=$ac_arg 2282break 2283else 2284 echo "$as_me: failed program was:" >&5 2285sed 's/^/| /' conftest.$ac_ext >&5 2286 2287fi |
2181rm -f conftest.$ac_objext | 2288rm -f conftest.err conftest.$ac_objext |
2182done 2183rm -f conftest.$ac_ext conftest.$ac_objext 2184CC=$ac_save_CC 2185 2186fi 2187 2188case "x$ac_cv_prog_cc_stdc" in 2189 x|xno) --- 11 unchanged lines hidden (view full) --- 2201# the declaration of exit, since it's the most demanding environment. 2202cat >conftest.$ac_ext <<_ACEOF 2203#ifndef __cplusplus 2204 choke me 2205#endif 2206_ACEOF 2207rm -f conftest.$ac_objext 2208if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2289done 2290rm -f conftest.$ac_ext conftest.$ac_objext 2291CC=$ac_save_CC 2292 2293fi 2294 2295case "x$ac_cv_prog_cc_stdc" in 2296 x|xno) --- 11 unchanged lines hidden (view full) --- 2308# the declaration of exit, since it's the most demanding environment. 2309cat >conftest.$ac_ext <<_ACEOF 2310#ifndef __cplusplus 2311 choke me 2312#endif 2313_ACEOF 2314rm -f conftest.$ac_objext 2315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2209 (eval $ac_compile) 2>&5 | 2316 (eval $ac_compile) 2>conftest.er1 |
2210 ac_status=$? | 2317 ac_status=$? |
2318 grep -v '^ *+' conftest.er1 >conftest.err 2319 rm -f conftest.er1 2320 cat conftest.err >&5 |
|
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2212 (exit $ac_status); } && | 2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2322 (exit $ac_status); } && |
2213 { ac_try='test -s conftest.$ac_objext' | 2323 { ac_try='test -z "$ac_c_werror_flag" 2324 || test ! -s conftest.err' |
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2215 (eval $ac_try) 2>&5 2216 ac_status=$? 2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2326 (eval $ac_try) 2>&5 2327 ac_status=$? 2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2329 (exit $ac_status); }; } && 2330 { ac_try='test -s conftest.$ac_objext' 2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2332 (eval $ac_try) 2>&5 2333 ac_status=$? 2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2218 (exit $ac_status); }; }; then 2219 for ac_declaration in \ | 2335 (exit $ac_status); }; }; then 2336 for ac_declaration in \ |
2220 ''\ 2221 '#include <stdlib.h>' \ | 2337 '' \ |
2222 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2223 'extern "C" void std::exit (int); using std::exit;' \ 2224 'extern "C" void exit (int) throw ();' \ 2225 'extern "C" void exit (int);' \ 2226 'void exit (int);' 2227do 2228 cat >conftest.$ac_ext <<_ACEOF | 2338 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2339 'extern "C" void std::exit (int); using std::exit;' \ 2340 'extern "C" void exit (int) throw ();' \ 2341 'extern "C" void exit (int);' \ 2342 'void exit (int);' 2343do 2344 cat >conftest.$ac_ext <<_ACEOF |
2229#line $LINENO "configure" | |
2230/* confdefs.h. */ 2231_ACEOF 2232cat confdefs.h >>conftest.$ac_ext 2233cat >>conftest.$ac_ext <<_ACEOF 2234/* end confdefs.h. */ | 2345/* confdefs.h. */ 2346_ACEOF 2347cat confdefs.h >>conftest.$ac_ext 2348cat >>conftest.$ac_ext <<_ACEOF 2349/* end confdefs.h. */ |
2235#include <stdlib.h> | |
2236$ac_declaration | 2350$ac_declaration |
2351#include <stdlib.h> |
|
2237int 2238main () 2239{ 2240exit (42); 2241 ; 2242 return 0; 2243} 2244_ACEOF 2245rm -f conftest.$ac_objext 2246if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2352int 2353main () 2354{ 2355exit (42); 2356 ; 2357 return 0; 2358} 2359_ACEOF 2360rm -f conftest.$ac_objext 2361if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2247 (eval $ac_compile) 2>&5 | 2362 (eval $ac_compile) 2>conftest.er1 |
2248 ac_status=$? | 2363 ac_status=$? |
2364 grep -v '^ *+' conftest.er1 >conftest.err 2365 rm -f conftest.er1 2366 cat conftest.err >&5 |
|
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2250 (exit $ac_status); } && | 2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2368 (exit $ac_status); } && |
2251 { ac_try='test -s conftest.$ac_objext' | 2369 { ac_try='test -z "$ac_c_werror_flag" 2370 || test ! -s conftest.err' |
2252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2253 (eval $ac_try) 2>&5 2254 ac_status=$? 2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2372 (eval $ac_try) 2>&5 2373 ac_status=$? 2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2375 (exit $ac_status); }; } && 2376 { ac_try='test -s conftest.$ac_objext' 2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2378 (eval $ac_try) 2>&5 2379 ac_status=$? 2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2256 (exit $ac_status); }; }; then 2257 : 2258else 2259 echo "$as_me: failed program was:" >&5 2260sed 's/^/| /' conftest.$ac_ext >&5 2261 2262continue 2263fi | 2381 (exit $ac_status); }; }; then 2382 : 2383else 2384 echo "$as_me: failed program was:" >&5 2385sed 's/^/| /' conftest.$ac_ext >&5 2386 2387continue 2388fi |
2264rm -f conftest.$ac_objext conftest.$ac_ext | 2389rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2265 cat >conftest.$ac_ext <<_ACEOF | 2390 cat >conftest.$ac_ext <<_ACEOF |
2266#line $LINENO "configure" | |
2267/* confdefs.h. */ 2268_ACEOF 2269cat confdefs.h >>conftest.$ac_ext 2270cat >>conftest.$ac_ext <<_ACEOF 2271/* end confdefs.h. */ 2272$ac_declaration 2273int 2274main () 2275{ 2276exit (42); 2277 ; 2278 return 0; 2279} 2280_ACEOF 2281rm -f conftest.$ac_objext 2282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2391/* confdefs.h. */ 2392_ACEOF 2393cat confdefs.h >>conftest.$ac_ext 2394cat >>conftest.$ac_ext <<_ACEOF 2395/* end confdefs.h. */ 2396$ac_declaration 2397int 2398main () 2399{ 2400exit (42); 2401 ; 2402 return 0; 2403} 2404_ACEOF 2405rm -f conftest.$ac_objext 2406if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2283 (eval $ac_compile) 2>&5 | 2407 (eval $ac_compile) 2>conftest.er1 |
2284 ac_status=$? | 2408 ac_status=$? |
2409 grep -v '^ *+' conftest.er1 >conftest.err 2410 rm -f conftest.er1 2411 cat conftest.err >&5 |
|
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2286 (exit $ac_status); } && | 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2413 (exit $ac_status); } && |
2287 { ac_try='test -s conftest.$ac_objext' | 2414 { ac_try='test -z "$ac_c_werror_flag" 2415 || test ! -s conftest.err' |
2288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2289 (eval $ac_try) 2>&5 2290 ac_status=$? 2291 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2417 (eval $ac_try) 2>&5 2418 ac_status=$? 2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2420 (exit $ac_status); }; } && 2421 { ac_try='test -s conftest.$ac_objext' 2422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2423 (eval $ac_try) 2>&5 2424 ac_status=$? 2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2292 (exit $ac_status); }; }; then 2293 break 2294else 2295 echo "$as_me: failed program was:" >&5 2296sed 's/^/| /' conftest.$ac_ext >&5 2297 2298fi | 2426 (exit $ac_status); }; }; then 2427 break 2428else 2429 echo "$as_me: failed program was:" >&5 2430sed 's/^/| /' conftest.$ac_ext >&5 2431 2432fi |
2299rm -f conftest.$ac_objext conftest.$ac_ext | 2433rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2300done 2301rm -f conftest* 2302if test -n "$ac_declaration"; then 2303 echo '#ifdef __cplusplus' >>confdefs.h 2304 echo $ac_declaration >>confdefs.h 2305 echo '#endif' >>confdefs.h 2306fi 2307 2308else 2309 echo "$as_me: failed program was:" >&5 2310sed 's/^/| /' conftest.$ac_ext >&5 2311 2312fi | 2434done 2435rm -f conftest* 2436if test -n "$ac_declaration"; then 2437 echo '#ifdef __cplusplus' >>confdefs.h 2438 echo $ac_declaration >>confdefs.h 2439 echo '#endif' >>confdefs.h 2440fi 2441 2442else 2443 echo "$as_me: failed program was:" >&5 2444sed 's/^/| /' conftest.$ac_ext >&5 2445 2446fi |
2313rm -f conftest.$ac_objext conftest.$ac_ext | 2447rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2314ac_ext=c 2315ac_cpp='$CPP $CPPFLAGS' 2316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2318ac_compiler_gnu=$ac_cv_c_compiler_gnu 2319 2320 2321ac_ext=c --- 19 unchanged lines hidden (view full) --- 2341do 2342 # Use a header file that comes with gcc, so configuring glibc 2343 # with a fresh cross-compiler works. 2344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2345 # <limits.h> exists even on freestanding compilers. 2346 # On the NeXT, cc -E runs the code through the compiler's parser, 2347 # not just through cpp. "Syntax error" is here to catch this case. 2348 cat >conftest.$ac_ext <<_ACEOF | 2448ac_ext=c 2449ac_cpp='$CPP $CPPFLAGS' 2450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2452ac_compiler_gnu=$ac_cv_c_compiler_gnu 2453 2454 2455ac_ext=c --- 19 unchanged lines hidden (view full) --- 2475do 2476 # Use a header file that comes with gcc, so configuring glibc 2477 # with a fresh cross-compiler works. 2478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2479 # <limits.h> exists even on freestanding compilers. 2480 # On the NeXT, cc -E runs the code through the compiler's parser, 2481 # not just through cpp. "Syntax error" is here to catch this case. 2482 cat >conftest.$ac_ext <<_ACEOF |
2349#line $LINENO "configure" | |
2350/* confdefs.h. */ 2351_ACEOF 2352cat confdefs.h >>conftest.$ac_ext 2353cat >>conftest.$ac_ext <<_ACEOF 2354/* end confdefs.h. */ 2355#ifdef __STDC__ 2356# include <limits.h> 2357#else 2358# include <assert.h> 2359#endif | 2483/* confdefs.h. */ 2484_ACEOF 2485cat confdefs.h >>conftest.$ac_ext 2486cat >>conftest.$ac_ext <<_ACEOF 2487/* end confdefs.h. */ 2488#ifdef __STDC__ 2489# include <limits.h> 2490#else 2491# include <assert.h> 2492#endif |
2360 Syntax error | 2493 Syntax error |
2361_ACEOF 2362if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2364 ac_status=$? 2365 grep -v '^ *+' conftest.er1 >conftest.err 2366 rm -f conftest.er1 2367 cat conftest.err >&5 2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2369 (exit $ac_status); } >/dev/null; then 2370 if test -s conftest.err; then 2371 ac_cpp_err=$ac_c_preproc_warn_flag | 2494_ACEOF 2495if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2497 ac_status=$? 2498 grep -v '^ *+' conftest.er1 >conftest.err 2499 rm -f conftest.er1 2500 cat conftest.err >&5 2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2502 (exit $ac_status); } >/dev/null; then 2503 if test -s conftest.err; then 2504 ac_cpp_err=$ac_c_preproc_warn_flag |
2505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
2372 else 2373 ac_cpp_err= 2374 fi 2375else 2376 ac_cpp_err=yes 2377fi 2378if test -z "$ac_cpp_err"; then 2379 : --- 4 unchanged lines hidden (view full) --- 2384 # Broken: fails on valid input. 2385continue 2386fi 2387rm -f conftest.err conftest.$ac_ext 2388 2389 # OK, works on sane cases. Now check whether non-existent headers 2390 # can be detected and how. 2391 cat >conftest.$ac_ext <<_ACEOF | 2506 else 2507 ac_cpp_err= 2508 fi 2509else 2510 ac_cpp_err=yes 2511fi 2512if test -z "$ac_cpp_err"; then 2513 : --- 4 unchanged lines hidden (view full) --- 2518 # Broken: fails on valid input. 2519continue 2520fi 2521rm -f conftest.err conftest.$ac_ext 2522 2523 # OK, works on sane cases. Now check whether non-existent headers 2524 # can be detected and how. 2525 cat >conftest.$ac_ext <<_ACEOF |
2392#line $LINENO "configure" | |
2393/* confdefs.h. */ 2394_ACEOF 2395cat confdefs.h >>conftest.$ac_ext 2396cat >>conftest.$ac_ext <<_ACEOF 2397/* end confdefs.h. */ 2398#include <ac_nonexistent.h> 2399_ACEOF 2400if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2402 ac_status=$? 2403 grep -v '^ *+' conftest.er1 >conftest.err 2404 rm -f conftest.er1 2405 cat conftest.err >&5 2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 (exit $ac_status); } >/dev/null; then 2408 if test -s conftest.err; then 2409 ac_cpp_err=$ac_c_preproc_warn_flag | 2526/* confdefs.h. */ 2527_ACEOF 2528cat confdefs.h >>conftest.$ac_ext 2529cat >>conftest.$ac_ext <<_ACEOF 2530/* end confdefs.h. */ 2531#include <ac_nonexistent.h> 2532_ACEOF 2533if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2535 ac_status=$? 2536 grep -v '^ *+' conftest.er1 >conftest.err 2537 rm -f conftest.er1 2538 cat conftest.err >&5 2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2540 (exit $ac_status); } >/dev/null; then 2541 if test -s conftest.err; then 2542 ac_cpp_err=$ac_c_preproc_warn_flag |
2543 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
2410 else 2411 ac_cpp_err= 2412 fi 2413else 2414 ac_cpp_err=yes 2415fi 2416if test -z "$ac_cpp_err"; then 2417 # Broken: success on invalid input. --- 30 unchanged lines hidden (view full) --- 2448do 2449 # Use a header file that comes with gcc, so configuring glibc 2450 # with a fresh cross-compiler works. 2451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2452 # <limits.h> exists even on freestanding compilers. 2453 # On the NeXT, cc -E runs the code through the compiler's parser, 2454 # not just through cpp. "Syntax error" is here to catch this case. 2455 cat >conftest.$ac_ext <<_ACEOF | 2544 else 2545 ac_cpp_err= 2546 fi 2547else 2548 ac_cpp_err=yes 2549fi 2550if test -z "$ac_cpp_err"; then 2551 # Broken: success on invalid input. --- 30 unchanged lines hidden (view full) --- 2582do 2583 # Use a header file that comes with gcc, so configuring glibc 2584 # with a fresh cross-compiler works. 2585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2586 # <limits.h> exists even on freestanding compilers. 2587 # On the NeXT, cc -E runs the code through the compiler's parser, 2588 # not just through cpp. "Syntax error" is here to catch this case. 2589 cat >conftest.$ac_ext <<_ACEOF |
2456#line $LINENO "configure" | |
2457/* confdefs.h. */ 2458_ACEOF 2459cat confdefs.h >>conftest.$ac_ext 2460cat >>conftest.$ac_ext <<_ACEOF 2461/* end confdefs.h. */ 2462#ifdef __STDC__ 2463# include <limits.h> 2464#else 2465# include <assert.h> 2466#endif | 2590/* confdefs.h. */ 2591_ACEOF 2592cat confdefs.h >>conftest.$ac_ext 2593cat >>conftest.$ac_ext <<_ACEOF 2594/* end confdefs.h. */ 2595#ifdef __STDC__ 2596# include <limits.h> 2597#else 2598# include <assert.h> 2599#endif |
2467 Syntax error | 2600 Syntax error |
2468_ACEOF 2469if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2471 ac_status=$? 2472 grep -v '^ *+' conftest.er1 >conftest.err 2473 rm -f conftest.er1 2474 cat conftest.err >&5 2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2476 (exit $ac_status); } >/dev/null; then 2477 if test -s conftest.err; then 2478 ac_cpp_err=$ac_c_preproc_warn_flag | 2601_ACEOF 2602if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2603 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2604 ac_status=$? 2605 grep -v '^ *+' conftest.er1 >conftest.err 2606 rm -f conftest.er1 2607 cat conftest.err >&5 2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2609 (exit $ac_status); } >/dev/null; then 2610 if test -s conftest.err; then 2611 ac_cpp_err=$ac_c_preproc_warn_flag |
2612 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
2479 else 2480 ac_cpp_err= 2481 fi 2482else 2483 ac_cpp_err=yes 2484fi 2485if test -z "$ac_cpp_err"; then 2486 : --- 4 unchanged lines hidden (view full) --- 2491 # Broken: fails on valid input. 2492continue 2493fi 2494rm -f conftest.err conftest.$ac_ext 2495 2496 # OK, works on sane cases. Now check whether non-existent headers 2497 # can be detected and how. 2498 cat >conftest.$ac_ext <<_ACEOF | 2613 else 2614 ac_cpp_err= 2615 fi 2616else 2617 ac_cpp_err=yes 2618fi 2619if test -z "$ac_cpp_err"; then 2620 : --- 4 unchanged lines hidden (view full) --- 2625 # Broken: fails on valid input. 2626continue 2627fi 2628rm -f conftest.err conftest.$ac_ext 2629 2630 # OK, works on sane cases. Now check whether non-existent headers 2631 # can be detected and how. 2632 cat >conftest.$ac_ext <<_ACEOF |
2499#line $LINENO "configure" | |
2500/* confdefs.h. */ 2501_ACEOF 2502cat confdefs.h >>conftest.$ac_ext 2503cat >>conftest.$ac_ext <<_ACEOF 2504/* end confdefs.h. */ 2505#include <ac_nonexistent.h> 2506_ACEOF 2507if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2508 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2509 ac_status=$? 2510 grep -v '^ *+' conftest.er1 >conftest.err 2511 rm -f conftest.er1 2512 cat conftest.err >&5 2513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2514 (exit $ac_status); } >/dev/null; then 2515 if test -s conftest.err; then 2516 ac_cpp_err=$ac_c_preproc_warn_flag | 2633/* confdefs.h. */ 2634_ACEOF 2635cat confdefs.h >>conftest.$ac_ext 2636cat >>conftest.$ac_ext <<_ACEOF 2637/* end confdefs.h. */ 2638#include <ac_nonexistent.h> 2639_ACEOF 2640if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2641 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2642 ac_status=$? 2643 grep -v '^ *+' conftest.er1 >conftest.err 2644 rm -f conftest.er1 2645 cat conftest.err >&5 2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2647 (exit $ac_status); } >/dev/null; then 2648 if test -s conftest.err; then 2649 ac_cpp_err=$ac_c_preproc_warn_flag |
2650 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
2517 else 2518 ac_cpp_err= 2519 fi 2520else 2521 ac_cpp_err=yes 2522fi 2523if test -z "$ac_cpp_err"; then 2524 # Broken: success on invalid input. --- 44 unchanged lines hidden (view full) --- 2569 2570 2571echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2572echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2573if test "${ac_cv_header_stdc+set}" = set; then 2574 echo $ECHO_N "(cached) $ECHO_C" >&6 2575else 2576 cat >conftest.$ac_ext <<_ACEOF | 2651 else 2652 ac_cpp_err= 2653 fi 2654else 2655 ac_cpp_err=yes 2656fi 2657if test -z "$ac_cpp_err"; then 2658 # Broken: success on invalid input. --- 44 unchanged lines hidden (view full) --- 2703 2704 2705echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2706echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2707if test "${ac_cv_header_stdc+set}" = set; then 2708 echo $ECHO_N "(cached) $ECHO_C" >&6 2709else 2710 cat >conftest.$ac_ext <<_ACEOF |
2577#line $LINENO "configure" | |
2578/* confdefs.h. */ 2579_ACEOF 2580cat confdefs.h >>conftest.$ac_ext 2581cat >>conftest.$ac_ext <<_ACEOF 2582/* end confdefs.h. */ 2583#include <stdlib.h> 2584#include <stdarg.h> 2585#include <string.h> --- 4 unchanged lines hidden (view full) --- 2590{ 2591 2592 ; 2593 return 0; 2594} 2595_ACEOF 2596rm -f conftest.$ac_objext 2597if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2711/* confdefs.h. */ 2712_ACEOF 2713cat confdefs.h >>conftest.$ac_ext 2714cat >>conftest.$ac_ext <<_ACEOF 2715/* end confdefs.h. */ 2716#include <stdlib.h> 2717#include <stdarg.h> 2718#include <string.h> --- 4 unchanged lines hidden (view full) --- 2723{ 2724 2725 ; 2726 return 0; 2727} 2728_ACEOF 2729rm -f conftest.$ac_objext 2730if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2598 (eval $ac_compile) 2>&5 | 2731 (eval $ac_compile) 2>conftest.er1 |
2599 ac_status=$? | 2732 ac_status=$? |
2733 grep -v '^ *+' conftest.er1 >conftest.err 2734 rm -f conftest.er1 2735 cat conftest.err >&5 |
|
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2601 (exit $ac_status); } && | 2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2737 (exit $ac_status); } && |
2602 { ac_try='test -s conftest.$ac_objext' | 2738 { ac_try='test -z "$ac_c_werror_flag" 2739 || test ! -s conftest.err' |
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2604 (eval $ac_try) 2>&5 2605 ac_status=$? 2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2741 (eval $ac_try) 2>&5 2742 ac_status=$? 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2744 (exit $ac_status); }; } && 2745 { ac_try='test -s conftest.$ac_objext' 2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2747 (eval $ac_try) 2>&5 2748 ac_status=$? 2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2607 (exit $ac_status); }; }; then 2608 ac_cv_header_stdc=yes 2609else 2610 echo "$as_me: failed program was:" >&5 2611sed 's/^/| /' conftest.$ac_ext >&5 2612 2613ac_cv_header_stdc=no 2614fi | 2750 (exit $ac_status); }; }; then 2751 ac_cv_header_stdc=yes 2752else 2753 echo "$as_me: failed program was:" >&5 2754sed 's/^/| /' conftest.$ac_ext >&5 2755 2756ac_cv_header_stdc=no 2757fi |
2615rm -f conftest.$ac_objext conftest.$ac_ext | 2758rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2616 2617if test $ac_cv_header_stdc = yes; then 2618 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2619 cat >conftest.$ac_ext <<_ACEOF | 2759 2760if test $ac_cv_header_stdc = yes; then 2761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2762 cat >conftest.$ac_ext <<_ACEOF |
2620#line $LINENO "configure" | |
2621/* confdefs.h. */ 2622_ACEOF 2623cat confdefs.h >>conftest.$ac_ext 2624cat >>conftest.$ac_ext <<_ACEOF 2625/* end confdefs.h. */ 2626#include <string.h> 2627 2628_ACEOF --- 5 unchanged lines hidden (view full) --- 2634fi 2635rm -f conftest* 2636 2637fi 2638 2639if test $ac_cv_header_stdc = yes; then 2640 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2641 cat >conftest.$ac_ext <<_ACEOF | 2763/* confdefs.h. */ 2764_ACEOF 2765cat confdefs.h >>conftest.$ac_ext 2766cat >>conftest.$ac_ext <<_ACEOF 2767/* end confdefs.h. */ 2768#include <string.h> 2769 2770_ACEOF --- 5 unchanged lines hidden (view full) --- 2776fi 2777rm -f conftest* 2778 2779fi 2780 2781if test $ac_cv_header_stdc = yes; then 2782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2783 cat >conftest.$ac_ext <<_ACEOF |
2642#line $LINENO "configure" | |
2643/* confdefs.h. */ 2644_ACEOF 2645cat confdefs.h >>conftest.$ac_ext 2646cat >>conftest.$ac_ext <<_ACEOF 2647/* end confdefs.h. */ 2648#include <stdlib.h> 2649 2650_ACEOF --- 8 unchanged lines hidden (view full) --- 2659fi 2660 2661if test $ac_cv_header_stdc = yes; then 2662 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2663 if test "$cross_compiling" = yes; then 2664 : 2665else 2666 cat >conftest.$ac_ext <<_ACEOF | 2784/* confdefs.h. */ 2785_ACEOF 2786cat confdefs.h >>conftest.$ac_ext 2787cat >>conftest.$ac_ext <<_ACEOF 2788/* end confdefs.h. */ 2789#include <stdlib.h> 2790 2791_ACEOF --- 8 unchanged lines hidden (view full) --- 2800fi 2801 2802if test $ac_cv_header_stdc = yes; then 2803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2804 if test "$cross_compiling" = yes; then 2805 : 2806else 2807 cat >conftest.$ac_ext <<_ACEOF |
2667#line $LINENO "configure" | |
2668/* confdefs.h. */ 2669_ACEOF 2670cat confdefs.h >>conftest.$ac_ext 2671cat >>conftest.$ac_ext <<_ACEOF 2672/* end confdefs.h. */ 2673#include <ctype.h> 2674#if ((' ' & 0x0FF) == 0x020) 2675# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2676# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2677#else 2678# define ISLOWER(c) \ | 2808/* confdefs.h. */ 2809_ACEOF 2810cat confdefs.h >>conftest.$ac_ext 2811cat >>conftest.$ac_ext <<_ACEOF 2812/* end confdefs.h. */ 2813#include <ctype.h> 2814#if ((' ' & 0x0FF) == 0x020) 2815# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2816# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2817#else 2818# define ISLOWER(c) \ |
2679 (('a' <= (c) && (c) <= 'i') \ 2680 || ('j' <= (c) && (c) <= 'r') \ 2681 || ('s' <= (c) && (c) <= 'z')) | 2819 (('a' <= (c) && (c) <= 'i') \ 2820 || ('j' <= (c) && (c) <= 'r') \ 2821 || ('s' <= (c) && (c) <= 'z')) |
2682# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2683#endif 2684 2685#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2686int 2687main () 2688{ 2689 int i; 2690 for (i = 0; i < 256; i++) 2691 if (XOR (islower (i), ISLOWER (i)) | 2822# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2823#endif 2824 2825#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2826int 2827main () 2828{ 2829 int i; 2830 for (i = 0; i < 256; i++) 2831 if (XOR (islower (i), ISLOWER (i)) |
2692 || toupper (i) != TOUPPER (i)) | 2832 || toupper (i) != TOUPPER (i)) |
2693 exit(2); 2694 exit (0); 2695} 2696_ACEOF 2697rm -f conftest$ac_exeext 2698if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2699 (eval $ac_link) 2>&5 2700 ac_status=$? --- 8 unchanged lines hidden (view full) --- 2709else 2710 echo "$as_me: program exited with status $ac_status" >&5 2711echo "$as_me: failed program was:" >&5 2712sed 's/^/| /' conftest.$ac_ext >&5 2713 2714( exit $ac_status ) 2715ac_cv_header_stdc=no 2716fi | 2833 exit(2); 2834 exit (0); 2835} 2836_ACEOF 2837rm -f conftest$ac_exeext 2838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2839 (eval $ac_link) 2>&5 2840 ac_status=$? --- 8 unchanged lines hidden (view full) --- 2849else 2850 echo "$as_me: program exited with status $ac_status" >&5 2851echo "$as_me: failed program was:" >&5 2852sed 's/^/| /' conftest.$ac_ext >&5 2853 2854( exit $ac_status ) 2855ac_cv_header_stdc=no 2856fi |
2717rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 2857rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2718fi 2719fi 2720fi 2721echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2722echo "${ECHO_T}$ac_cv_header_stdc" >&6 2723if test $ac_cv_header_stdc = yes; then 2724 2725cat >>confdefs.h <<\_ACEOF --- 8 unchanged lines hidden (view full) --- 2734 2735 2736 2737 2738 2739 2740 2741for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 2858fi 2859fi 2860fi 2861echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2862echo "${ECHO_T}$ac_cv_header_stdc" >&6 2863if test $ac_cv_header_stdc = yes; then 2864 2865cat >>confdefs.h <<\_ACEOF --- 8 unchanged lines hidden (view full) --- 2874 2875 2876 2877 2878 2879 2880 2881for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
2742 inttypes.h stdint.h unistd.h | 2882 inttypes.h stdint.h unistd.h |
2743do 2744as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2745echo "$as_me:$LINENO: checking for $ac_header" >&5 2746echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2747if eval "test \"\${$as_ac_Header+set}\" = set"; then 2748 echo $ECHO_N "(cached) $ECHO_C" >&6 2749else 2750 cat >conftest.$ac_ext <<_ACEOF | 2883do 2884as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2885echo "$as_me:$LINENO: checking for $ac_header" >&5 2886echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2887if eval "test \"\${$as_ac_Header+set}\" = set"; then 2888 echo $ECHO_N "(cached) $ECHO_C" >&6 2889else 2890 cat >conftest.$ac_ext <<_ACEOF |
2751#line $LINENO "configure" | |
2752/* confdefs.h. */ 2753_ACEOF 2754cat confdefs.h >>conftest.$ac_ext 2755cat >>conftest.$ac_ext <<_ACEOF 2756/* end confdefs.h. */ 2757$ac_includes_default 2758 2759#include <$ac_header> 2760_ACEOF 2761rm -f conftest.$ac_objext 2762if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2891/* confdefs.h. */ 2892_ACEOF 2893cat confdefs.h >>conftest.$ac_ext 2894cat >>conftest.$ac_ext <<_ACEOF 2895/* end confdefs.h. */ 2896$ac_includes_default 2897 2898#include <$ac_header> 2899_ACEOF 2900rm -f conftest.$ac_objext 2901if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2763 (eval $ac_compile) 2>&5 | 2902 (eval $ac_compile) 2>conftest.er1 |
2764 ac_status=$? | 2903 ac_status=$? |
2904 grep -v '^ *+' conftest.er1 >conftest.err 2905 rm -f conftest.er1 2906 cat conftest.err >&5 |
|
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2766 (exit $ac_status); } && | 2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2908 (exit $ac_status); } && |
2767 { ac_try='test -s conftest.$ac_objext' | 2909 { ac_try='test -z "$ac_c_werror_flag" 2910 || test ! -s conftest.err' |
2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2769 (eval $ac_try) 2>&5 2770 ac_status=$? 2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2912 (eval $ac_try) 2>&5 2913 ac_status=$? 2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2915 (exit $ac_status); }; } && 2916 { ac_try='test -s conftest.$ac_objext' 2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2918 (eval $ac_try) 2>&5 2919 ac_status=$? 2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2772 (exit $ac_status); }; }; then 2773 eval "$as_ac_Header=yes" 2774else 2775 echo "$as_me: failed program was:" >&5 2776sed 's/^/| /' conftest.$ac_ext >&5 2777 2778eval "$as_ac_Header=no" 2779fi | 2921 (exit $ac_status); }; }; then 2922 eval "$as_ac_Header=yes" 2923else 2924 echo "$as_me: failed program was:" >&5 2925sed 's/^/| /' conftest.$ac_ext >&5 2926 2927eval "$as_ac_Header=no" 2928fi |
2780rm -f conftest.$ac_objext conftest.$ac_ext | 2929rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2781fi 2782echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2783echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2784if test `eval echo '${'$as_ac_Header'}'` = yes; then 2785 cat >>confdefs.h <<_ACEOF 2786#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2787_ACEOF 2788 --- 10 unchanged lines hidden (view full) --- 2799fi 2800echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 2801echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 2802else 2803 # Is the header compilable? 2804echo "$as_me:$LINENO: checking minix/config.h usability" >&5 2805echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 2806cat >conftest.$ac_ext <<_ACEOF | 2930fi 2931echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2932echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2933if test `eval echo '${'$as_ac_Header'}'` = yes; then 2934 cat >>confdefs.h <<_ACEOF 2935#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2936_ACEOF 2937 --- 10 unchanged lines hidden (view full) --- 2948fi 2949echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5 2950echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6 2951else 2952 # Is the header compilable? 2953echo "$as_me:$LINENO: checking minix/config.h usability" >&5 2954echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6 2955cat >conftest.$ac_ext <<_ACEOF |
2807#line $LINENO "configure" | |
2808/* confdefs.h. */ 2809_ACEOF 2810cat confdefs.h >>conftest.$ac_ext 2811cat >>conftest.$ac_ext <<_ACEOF 2812/* end confdefs.h. */ 2813$ac_includes_default 2814#include <minix/config.h> 2815_ACEOF 2816rm -f conftest.$ac_objext 2817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 2956/* confdefs.h. */ 2957_ACEOF 2958cat confdefs.h >>conftest.$ac_ext 2959cat >>conftest.$ac_ext <<_ACEOF 2960/* end confdefs.h. */ 2961$ac_includes_default 2962#include <minix/config.h> 2963_ACEOF 2964rm -f conftest.$ac_objext 2965if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2818 (eval $ac_compile) 2>&5 | 2966 (eval $ac_compile) 2>conftest.er1 |
2819 ac_status=$? | 2967 ac_status=$? |
2968 grep -v '^ *+' conftest.er1 >conftest.err 2969 rm -f conftest.er1 2970 cat conftest.err >&5 |
|
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2821 (exit $ac_status); } && | 2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972 (exit $ac_status); } && |
2822 { ac_try='test -s conftest.$ac_objext' | 2973 { ac_try='test -z "$ac_c_werror_flag" 2974 || test ! -s conftest.err' |
2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2824 (eval $ac_try) 2>&5 2825 ac_status=$? 2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2976 (eval $ac_try) 2>&5 2977 ac_status=$? 2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2979 (exit $ac_status); }; } && 2980 { ac_try='test -s conftest.$ac_objext' 2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2982 (eval $ac_try) 2>&5 2983 ac_status=$? 2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
2827 (exit $ac_status); }; }; then 2828 ac_header_compiler=yes 2829else 2830 echo "$as_me: failed program was:" >&5 2831sed 's/^/| /' conftest.$ac_ext >&5 2832 2833ac_header_compiler=no 2834fi | 2985 (exit $ac_status); }; }; then 2986 ac_header_compiler=yes 2987else 2988 echo "$as_me: failed program was:" >&5 2989sed 's/^/| /' conftest.$ac_ext >&5 2990 2991ac_header_compiler=no 2992fi |
2835rm -f conftest.$ac_objext conftest.$ac_ext | 2993rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2836echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 2837echo "${ECHO_T}$ac_header_compiler" >&6 2838 2839# Is the header present? 2840echo "$as_me:$LINENO: checking minix/config.h presence" >&5 2841echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 2842cat >conftest.$ac_ext <<_ACEOF | 2994echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 2995echo "${ECHO_T}$ac_header_compiler" >&6 2996 2997# Is the header present? 2998echo "$as_me:$LINENO: checking minix/config.h presence" >&5 2999echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6 3000cat >conftest.$ac_ext <<_ACEOF |
2843#line $LINENO "configure" | |
2844/* confdefs.h. */ 2845_ACEOF 2846cat confdefs.h >>conftest.$ac_ext 2847cat >>conftest.$ac_ext <<_ACEOF 2848/* end confdefs.h. */ 2849#include <minix/config.h> 2850_ACEOF 2851if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2853 ac_status=$? 2854 grep -v '^ *+' conftest.er1 >conftest.err 2855 rm -f conftest.er1 2856 cat conftest.err >&5 2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2858 (exit $ac_status); } >/dev/null; then 2859 if test -s conftest.err; then 2860 ac_cpp_err=$ac_c_preproc_warn_flag | 3001/* confdefs.h. */ 3002_ACEOF 3003cat confdefs.h >>conftest.$ac_ext 3004cat >>conftest.$ac_ext <<_ACEOF 3005/* end confdefs.h. */ 3006#include <minix/config.h> 3007_ACEOF 3008if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3010 ac_status=$? 3011 grep -v '^ *+' conftest.er1 >conftest.err 3012 rm -f conftest.er1 3013 cat conftest.err >&5 3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3015 (exit $ac_status); } >/dev/null; then 3016 if test -s conftest.err; then 3017 ac_cpp_err=$ac_c_preproc_warn_flag |
3018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
2861 else 2862 ac_cpp_err= 2863 fi 2864else 2865 ac_cpp_err=yes 2866fi 2867if test -z "$ac_cpp_err"; then 2868 ac_header_preproc=yes 2869else 2870 echo "$as_me: failed program was:" >&5 2871sed 's/^/| /' conftest.$ac_ext >&5 2872 2873 ac_header_preproc=no 2874fi 2875rm -f conftest.err conftest.$ac_ext 2876echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 2877echo "${ECHO_T}$ac_header_preproc" >&6 2878 2879# So? What about this header? | 3019 else 3020 ac_cpp_err= 3021 fi 3022else 3023 ac_cpp_err=yes 3024fi 3025if test -z "$ac_cpp_err"; then 3026 ac_header_preproc=yes 3027else 3028 echo "$as_me: failed program was:" >&5 3029sed 's/^/| /' conftest.$ac_ext >&5 3030 3031 ac_header_preproc=no 3032fi 3033rm -f conftest.err conftest.$ac_ext 3034echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 3035echo "${ECHO_T}$ac_header_preproc" >&6 3036 3037# So? What about this header? |
2880case $ac_header_compiler:$ac_header_preproc in 2881 yes:no ) | 3038case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 3039 yes:no: ) |
2882 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 2883echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | 3040 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5 3041echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
2884 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 2885echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} 2886 ( 2887 cat <<\_ASBOX 2888## ------------------------------------ ## 2889## Report this to bug-autoconf@gnu.org. ## 2890## ------------------------------------ ## 2891_ASBOX 2892 ) | 2893 sed "s/^/$as_me: WARNING: /" >&2 | 3042 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5 3043echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;} 3044 ac_header_preproc=yes |
2894 ;; | 3045 ;; |
2895 no:yes ) | 3046 no:yes:* ) |
2896 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 2897echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} | 3047 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5 3048echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;} |
2898 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 2899echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} | 3049 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5 3050echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;} 3051 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5 3052echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;} 3053 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5 3054echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;} |
2900 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 2901echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} | 3055 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5 3056echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;} |
3057 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5 3058echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;} |
|
2902 ( 2903 cat <<\_ASBOX | 3059 ( 3060 cat <<\_ASBOX |
2904## ------------------------------------ ## 2905## Report this to bug-autoconf@gnu.org. ## 2906## ------------------------------------ ## | 3061## ----------------------------------- ## 3062## Report this to bug-readline@gnu.org ## 3063## ----------------------------------- ## |
2907_ASBOX 2908 ) | 2909 sed "s/^/$as_me: WARNING: /" >&2 2910 ;; 2911esac 2912echo "$as_me:$LINENO: checking for minix/config.h" >&5 2913echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 2914if test "${ac_cv_header_minix_config_h+set}" = set; then --- 37 unchanged lines hidden (view full) --- 2952if test $ac_cv_c_compiler_gnu = yes; then 2953 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 2954echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 2955if test "${ac_cv_prog_gcc_traditional+set}" = set; then 2956 echo $ECHO_N "(cached) $ECHO_C" >&6 2957else 2958 ac_pattern="Autoconf.*'x'" 2959 cat >conftest.$ac_ext <<_ACEOF | 3064_ASBOX 3065 ) | 3066 sed "s/^/$as_me: WARNING: /" >&2 3067 ;; 3068esac 3069echo "$as_me:$LINENO: checking for minix/config.h" >&5 3070echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6 3071if test "${ac_cv_header_minix_config_h+set}" = set; then --- 37 unchanged lines hidden (view full) --- 3109if test $ac_cv_c_compiler_gnu = yes; then 3110 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 3111echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 3112if test "${ac_cv_prog_gcc_traditional+set}" = set; then 3113 echo $ECHO_N "(cached) $ECHO_C" >&6 3114else 3115 ac_pattern="Autoconf.*'x'" 3116 cat >conftest.$ac_ext <<_ACEOF |
2960#line $LINENO "configure" | |
2961/* confdefs.h. */ 2962_ACEOF 2963cat confdefs.h >>conftest.$ac_ext 2964cat >>conftest.$ac_ext <<_ACEOF 2965/* end confdefs.h. */ 2966#include <sgtty.h> 2967Autoconf TIOCGETP 2968_ACEOF 2969if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2970 $EGREP "$ac_pattern" >/dev/null 2>&1; then 2971 ac_cv_prog_gcc_traditional=yes 2972else 2973 ac_cv_prog_gcc_traditional=no 2974fi 2975rm -f conftest* 2976 2977 2978 if test $ac_cv_prog_gcc_traditional = no; then 2979 cat >conftest.$ac_ext <<_ACEOF | 3117/* confdefs.h. */ 3118_ACEOF 3119cat confdefs.h >>conftest.$ac_ext 3120cat >>conftest.$ac_ext <<_ACEOF 3121/* end confdefs.h. */ 3122#include <sgtty.h> 3123Autoconf TIOCGETP 3124_ACEOF 3125if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3126 $EGREP "$ac_pattern" >/dev/null 2>&1; then 3127 ac_cv_prog_gcc_traditional=yes 3128else 3129 ac_cv_prog_gcc_traditional=no 3130fi 3131rm -f conftest* 3132 3133 3134 if test $ac_cv_prog_gcc_traditional = no; then 3135 cat >conftest.$ac_ext <<_ACEOF |
2980#line $LINENO "configure" | |
2981/* confdefs.h. */ 2982_ACEOF 2983cat confdefs.h >>conftest.$ac_ext 2984cat >>conftest.$ac_ext <<_ACEOF 2985/* end confdefs.h. */ 2986#include <termio.h> 2987Autoconf TCGETA 2988_ACEOF --- 18 unchanged lines hidden (view full) --- 3007# SysV /etc/install, /usr/sbin/install 3008# SunOS /usr/etc/install 3009# IRIX /sbin/install 3010# AIX /bin/install 3011# AmigaOS /C/install, which installs bootblocks on floppy discs 3012# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3013# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3014# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 3136/* confdefs.h. */ 3137_ACEOF 3138cat confdefs.h >>conftest.$ac_ext 3139cat >>conftest.$ac_ext <<_ACEOF 3140/* end confdefs.h. */ 3141#include <termio.h> 3142Autoconf TCGETA 3143_ACEOF --- 18 unchanged lines hidden (view full) --- 3162# SysV /etc/install, /usr/sbin/install 3163# SunOS /usr/etc/install 3164# IRIX /sbin/install 3165# AIX /bin/install 3166# AmigaOS /C/install, which installs bootblocks on floppy discs 3167# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3168# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3169# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3170# OS/2's system install, which has a completely different semantic |
|
3015# ./install, which can be erroneously created by make from ./install.sh. 3016echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3017echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3018if test -z "$INSTALL"; then 3019if test "${ac_cv_path_install+set}" = set; then 3020 echo $ECHO_N "(cached) $ECHO_C" >&6 3021else 3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3023for as_dir in $PATH 3024do 3025 IFS=$as_save_IFS 3026 test -z "$as_dir" && as_dir=. 3027 # Account for people who put trailing slashes in PATH elements. 3028case $as_dir/ in 3029 ./ | .// | /cC/* | \ 3030 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 3171# ./install, which can be erroneously created by make from ./install.sh. 3172echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 3173echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 3174if test -z "$INSTALL"; then 3175if test "${ac_cv_path_install+set}" = set; then 3176 echo $ECHO_N "(cached) $ECHO_C" >&6 3177else 3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3179for as_dir in $PATH 3180do 3181 IFS=$as_save_IFS 3182 test -z "$as_dir" && as_dir=. 3183 # Account for people who put trailing slashes in PATH elements. 3184case $as_dir/ in 3185 ./ | .// | /cC/* | \ 3186 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
3187 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
|
3031 /usr/ucb/* ) ;; 3032 *) 3033 # OSF1 and SCO ODT 3.0 have their own names for install. 3034 # Don't use installbsd from OSF since it installs stuff as root 3035 # by default. 3036 for ac_prog in ginstall scoinst install; do 3037 for ac_exec_ext in '' $ac_executable_extensions; do | 3188 /usr/ucb/* ) ;; 3189 *) 3190 # OSF1 and SCO ODT 3.0 have their own names for install. 3191 # Don't use installbsd from OSF since it installs stuff as root 3192 # by default. 3193 for ac_prog in ginstall scoinst install; do 3194 for ac_exec_ext in '' $ac_executable_extensions; do |
3038 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3039 if test $ac_prog = install && 3040 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3041 # AIX install. It has an incompatible calling convention. 3042 : 3043 elif test $ac_prog = install && 3044 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3045 # program-specific install script used by HP pwplus--don't use. 3046 : 3047 else 3048 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3049 break 3 3050 fi 3051 fi | 3195 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3196 if test $ac_prog = install && 3197 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3198 # AIX install. It has an incompatible calling convention. 3199 : 3200 elif test $ac_prog = install && 3201 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3202 # program-specific install script used by HP pwplus--don't use. 3203 : 3204 else 3205 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3206 break 3 3207 fi 3208 fi |
3052 done 3053 done 3054 ;; 3055esac 3056done 3057 3058 3059fi --- 140 unchanged lines hidden (view full) --- 3200 3201 3202echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3203echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3204if test "${ac_cv_c_const+set}" = set; then 3205 echo $ECHO_N "(cached) $ECHO_C" >&6 3206else 3207 cat >conftest.$ac_ext <<_ACEOF | 3209 done 3210 done 3211 ;; 3212esac 3213done 3214 3215 3216fi --- 140 unchanged lines hidden (view full) --- 3357 3358 3359echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 3360echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 3361if test "${ac_cv_c_const+set}" = set; then 3362 echo $ECHO_N "(cached) $ECHO_C" >&6 3363else 3364 cat >conftest.$ac_ext <<_ACEOF |
3208#line $LINENO "configure" | |
3209/* confdefs.h. */ 3210_ACEOF 3211cat confdefs.h >>conftest.$ac_ext 3212cat >>conftest.$ac_ext <<_ACEOF 3213/* end confdefs.h. */ 3214 3215int 3216main () --- 46 unchanged lines hidden (view full) --- 3263#endif 3264 3265 ; 3266 return 0; 3267} 3268_ACEOF 3269rm -f conftest.$ac_objext 3270if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3365/* confdefs.h. */ 3366_ACEOF 3367cat confdefs.h >>conftest.$ac_ext 3368cat >>conftest.$ac_ext <<_ACEOF 3369/* end confdefs.h. */ 3370 3371int 3372main () --- 46 unchanged lines hidden (view full) --- 3419#endif 3420 3421 ; 3422 return 0; 3423} 3424_ACEOF 3425rm -f conftest.$ac_objext 3426if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3271 (eval $ac_compile) 2>&5 | 3427 (eval $ac_compile) 2>conftest.er1 |
3272 ac_status=$? | 3428 ac_status=$? |
3429 grep -v '^ *+' conftest.er1 >conftest.err 3430 rm -f conftest.er1 3431 cat conftest.err >&5 |
|
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3274 (exit $ac_status); } && | 3432 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 (exit $ac_status); } && |
3275 { ac_try='test -s conftest.$ac_objext' | 3434 { ac_try='test -z "$ac_c_werror_flag" 3435 || test ! -s conftest.err' |
3276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3277 (eval $ac_try) 2>&5 3278 ac_status=$? 3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3437 (eval $ac_try) 2>&5 3438 ac_status=$? 3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3440 (exit $ac_status); }; } && 3441 { ac_try='test -s conftest.$ac_objext' 3442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3443 (eval $ac_try) 2>&5 3444 ac_status=$? 3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3280 (exit $ac_status); }; }; then 3281 ac_cv_c_const=yes 3282else 3283 echo "$as_me: failed program was:" >&5 3284sed 's/^/| /' conftest.$ac_ext >&5 3285 3286ac_cv_c_const=no 3287fi | 3446 (exit $ac_status); }; }; then 3447 ac_cv_c_const=yes 3448else 3449 echo "$as_me: failed program was:" >&5 3450sed 's/^/| /' conftest.$ac_ext >&5 3451 3452ac_cv_c_const=no 3453fi |
3288rm -f conftest.$ac_objext conftest.$ac_ext | 3454rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3289fi 3290echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3291echo "${ECHO_T}$ac_cv_c_const" >&6 3292if test $ac_cv_c_const = no; then 3293 3294cat >>confdefs.h <<\_ACEOF 3295#define const 3296_ACEOF --- 22 unchanged lines hidden (view full) --- 3319 3320 3321echo "$as_me:$LINENO: checking whether char is unsigned" >&5 3322echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 3323if test "${ac_cv_c_char_unsigned+set}" = set; then 3324 echo $ECHO_N "(cached) $ECHO_C" >&6 3325else 3326 cat >conftest.$ac_ext <<_ACEOF | 3455fi 3456echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 3457echo "${ECHO_T}$ac_cv_c_const" >&6 3458if test $ac_cv_c_const = no; then 3459 3460cat >>confdefs.h <<\_ACEOF 3461#define const 3462_ACEOF --- 22 unchanged lines hidden (view full) --- 3485 3486 3487echo "$as_me:$LINENO: checking whether char is unsigned" >&5 3488echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6 3489if test "${ac_cv_c_char_unsigned+set}" = set; then 3490 echo $ECHO_N "(cached) $ECHO_C" >&6 3491else 3492 cat >conftest.$ac_ext <<_ACEOF |
3327#line $LINENO "configure" | |
3328/* confdefs.h. */ 3329_ACEOF 3330cat confdefs.h >>conftest.$ac_ext 3331cat >>conftest.$ac_ext <<_ACEOF 3332/* end confdefs.h. */ 3333$ac_includes_default 3334int 3335main () 3336{ 3337static int test_array [1 - 2 * !(((char) -1) < 0)]; 3338test_array [0] = 0 3339 3340 ; 3341 return 0; 3342} 3343_ACEOF 3344rm -f conftest.$ac_objext 3345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3493/* confdefs.h. */ 3494_ACEOF 3495cat confdefs.h >>conftest.$ac_ext 3496cat >>conftest.$ac_ext <<_ACEOF 3497/* end confdefs.h. */ 3498$ac_includes_default 3499int 3500main () 3501{ 3502static int test_array [1 - 2 * !(((char) -1) < 0)]; 3503test_array [0] = 0 3504 3505 ; 3506 return 0; 3507} 3508_ACEOF 3509rm -f conftest.$ac_objext 3510if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3346 (eval $ac_compile) 2>&5 | 3511 (eval $ac_compile) 2>conftest.er1 |
3347 ac_status=$? | 3512 ac_status=$? |
3513 grep -v '^ *+' conftest.er1 >conftest.err 3514 rm -f conftest.er1 3515 cat conftest.err >&5 |
|
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3349 (exit $ac_status); } && | 3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3517 (exit $ac_status); } && |
3350 { ac_try='test -s conftest.$ac_objext' | 3518 { ac_try='test -z "$ac_c_werror_flag" 3519 || test ! -s conftest.err' |
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3352 (eval $ac_try) 2>&5 3353 ac_status=$? 3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3521 (eval $ac_try) 2>&5 3522 ac_status=$? 3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3524 (exit $ac_status); }; } && 3525 { ac_try='test -s conftest.$ac_objext' 3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3527 (eval $ac_try) 2>&5 3528 ac_status=$? 3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3355 (exit $ac_status); }; }; then 3356 ac_cv_c_char_unsigned=no 3357else 3358 echo "$as_me: failed program was:" >&5 3359sed 's/^/| /' conftest.$ac_ext >&5 3360 3361ac_cv_c_char_unsigned=yes 3362fi | 3530 (exit $ac_status); }; }; then 3531 ac_cv_c_char_unsigned=no 3532else 3533 echo "$as_me: failed program was:" >&5 3534sed 's/^/| /' conftest.$ac_ext >&5 3535 3536ac_cv_c_char_unsigned=yes 3537fi |
3363rm -f conftest.$ac_objext conftest.$ac_ext | 3538rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3364fi 3365echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 3366echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 3367if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 3368 cat >>confdefs.h <<\_ACEOF 3369#define __CHAR_UNSIGNED__ 1 3370_ACEOF 3371 3372fi 3373 3374 3375echo "$as_me:$LINENO: checking return type of signal handlers" >&5 3376echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 3377if test "${ac_cv_type_signal+set}" = set; then 3378 echo $ECHO_N "(cached) $ECHO_C" >&6 3379else 3380 cat >conftest.$ac_ext <<_ACEOF | 3539fi 3540echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5 3541echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6 3542if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then 3543 cat >>confdefs.h <<\_ACEOF 3544#define __CHAR_UNSIGNED__ 1 3545_ACEOF 3546 3547fi 3548 3549 3550echo "$as_me:$LINENO: checking return type of signal handlers" >&5 3551echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 3552if test "${ac_cv_type_signal+set}" = set; then 3553 echo $ECHO_N "(cached) $ECHO_C" >&6 3554else 3555 cat >conftest.$ac_ext <<_ACEOF |
3381#line $LINENO "configure" | |
3382/* confdefs.h. */ 3383_ACEOF 3384cat confdefs.h >>conftest.$ac_ext 3385cat >>conftest.$ac_ext <<_ACEOF 3386/* end confdefs.h. */ 3387#include <sys/types.h> 3388#include <signal.h> 3389#ifdef signal --- 10 unchanged lines hidden (view full) --- 3400{ 3401int i; 3402 ; 3403 return 0; 3404} 3405_ACEOF 3406rm -f conftest.$ac_objext 3407if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3556/* confdefs.h. */ 3557_ACEOF 3558cat confdefs.h >>conftest.$ac_ext 3559cat >>conftest.$ac_ext <<_ACEOF 3560/* end confdefs.h. */ 3561#include <sys/types.h> 3562#include <signal.h> 3563#ifdef signal --- 10 unchanged lines hidden (view full) --- 3574{ 3575int i; 3576 ; 3577 return 0; 3578} 3579_ACEOF 3580rm -f conftest.$ac_objext 3581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3408 (eval $ac_compile) 2>&5 | 3582 (eval $ac_compile) 2>conftest.er1 |
3409 ac_status=$? | 3583 ac_status=$? |
3584 grep -v '^ *+' conftest.er1 >conftest.err 3585 rm -f conftest.er1 3586 cat conftest.err >&5 |
|
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3411 (exit $ac_status); } && | 3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3588 (exit $ac_status); } && |
3412 { ac_try='test -s conftest.$ac_objext' | 3589 { ac_try='test -z "$ac_c_werror_flag" 3590 || test ! -s conftest.err' |
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3414 (eval $ac_try) 2>&5 3415 ac_status=$? 3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3592 (eval $ac_try) 2>&5 3593 ac_status=$? 3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3595 (exit $ac_status); }; } && 3596 { ac_try='test -s conftest.$ac_objext' 3597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3598 (eval $ac_try) 2>&5 3599 ac_status=$? 3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3417 (exit $ac_status); }; }; then 3418 ac_cv_type_signal=void 3419else 3420 echo "$as_me: failed program was:" >&5 3421sed 's/^/| /' conftest.$ac_ext >&5 3422 3423ac_cv_type_signal=int 3424fi | 3601 (exit $ac_status); }; }; then 3602 ac_cv_type_signal=void 3603else 3604 echo "$as_me: failed program was:" >&5 3605sed 's/^/| /' conftest.$ac_ext >&5 3606 3607ac_cv_type_signal=int 3608fi |
3425rm -f conftest.$ac_objext conftest.$ac_ext | 3609rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3426fi 3427echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 3428echo "${ECHO_T}$ac_cv_type_signal" >&6 3429 3430cat >>confdefs.h <<_ACEOF 3431#define RETSIGTYPE $ac_cv_type_signal 3432_ACEOF 3433 3434 3435 3436echo "$as_me:$LINENO: checking for size_t" >&5 3437echo $ECHO_N "checking for size_t... $ECHO_C" >&6 3438if test "${ac_cv_type_size_t+set}" = set; then 3439 echo $ECHO_N "(cached) $ECHO_C" >&6 3440else 3441 cat >conftest.$ac_ext <<_ACEOF | 3610fi 3611echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 3612echo "${ECHO_T}$ac_cv_type_signal" >&6 3613 3614cat >>confdefs.h <<_ACEOF 3615#define RETSIGTYPE $ac_cv_type_signal 3616_ACEOF 3617 3618 3619 3620echo "$as_me:$LINENO: checking for size_t" >&5 3621echo $ECHO_N "checking for size_t... $ECHO_C" >&6 3622if test "${ac_cv_type_size_t+set}" = set; then 3623 echo $ECHO_N "(cached) $ECHO_C" >&6 3624else 3625 cat >conftest.$ac_ext <<_ACEOF |
3442#line $LINENO "configure" | |
3443/* confdefs.h. */ 3444_ACEOF 3445cat confdefs.h >>conftest.$ac_ext 3446cat >>conftest.$ac_ext <<_ACEOF 3447/* end confdefs.h. */ 3448$ac_includes_default 3449int 3450main () 3451{ 3452if ((size_t *) 0) 3453 return 0; 3454if (sizeof (size_t)) 3455 return 0; 3456 ; 3457 return 0; 3458} 3459_ACEOF 3460rm -f conftest.$ac_objext 3461if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3626/* confdefs.h. */ 3627_ACEOF 3628cat confdefs.h >>conftest.$ac_ext 3629cat >>conftest.$ac_ext <<_ACEOF 3630/* end confdefs.h. */ 3631$ac_includes_default 3632int 3633main () 3634{ 3635if ((size_t *) 0) 3636 return 0; 3637if (sizeof (size_t)) 3638 return 0; 3639 ; 3640 return 0; 3641} 3642_ACEOF 3643rm -f conftest.$ac_objext 3644if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3462 (eval $ac_compile) 2>&5 | 3645 (eval $ac_compile) 2>conftest.er1 |
3463 ac_status=$? | 3646 ac_status=$? |
3647 grep -v '^ *+' conftest.er1 >conftest.err 3648 rm -f conftest.er1 3649 cat conftest.err >&5 |
|
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3465 (exit $ac_status); } && | 3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3651 (exit $ac_status); } && |
3466 { ac_try='test -s conftest.$ac_objext' | 3652 { ac_try='test -z "$ac_c_werror_flag" 3653 || test ! -s conftest.err' |
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3468 (eval $ac_try) 2>&5 3469 ac_status=$? 3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3655 (eval $ac_try) 2>&5 3656 ac_status=$? 3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3658 (exit $ac_status); }; } && 3659 { ac_try='test -s conftest.$ac_objext' 3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3661 (eval $ac_try) 2>&5 3662 ac_status=$? 3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3471 (exit $ac_status); }; }; then 3472 ac_cv_type_size_t=yes 3473else 3474 echo "$as_me: failed program was:" >&5 3475sed 's/^/| /' conftest.$ac_ext >&5 3476 3477ac_cv_type_size_t=no 3478fi | 3664 (exit $ac_status); }; }; then 3665 ac_cv_type_size_t=yes 3666else 3667 echo "$as_me: failed program was:" >&5 3668sed 's/^/| /' conftest.$ac_ext >&5 3669 3670ac_cv_type_size_t=no 3671fi |
3479rm -f conftest.$ac_objext conftest.$ac_ext | 3672rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3480fi 3481echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 3482echo "${ECHO_T}$ac_cv_type_size_t" >&6 3483if test $ac_cv_type_size_t = yes; then 3484 : 3485else 3486 3487cat >>confdefs.h <<_ACEOF 3488#define size_t unsigned 3489_ACEOF 3490 3491fi 3492 3493echo "$as_me:$LINENO: checking for ssize_t" >&5 3494echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 3495if test "${ac_cv_type_ssize_t+set}" = set; then 3496 echo $ECHO_N "(cached) $ECHO_C" >&6 3497else 3498 cat >conftest.$ac_ext <<_ACEOF | 3673fi 3674echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 3675echo "${ECHO_T}$ac_cv_type_size_t" >&6 3676if test $ac_cv_type_size_t = yes; then 3677 : 3678else 3679 3680cat >>confdefs.h <<_ACEOF 3681#define size_t unsigned 3682_ACEOF 3683 3684fi 3685 3686echo "$as_me:$LINENO: checking for ssize_t" >&5 3687echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 3688if test "${ac_cv_type_ssize_t+set}" = set; then 3689 echo $ECHO_N "(cached) $ECHO_C" >&6 3690else 3691 cat >conftest.$ac_ext <<_ACEOF |
3499#line $LINENO "configure" | |
3500/* confdefs.h. */ 3501_ACEOF 3502cat confdefs.h >>conftest.$ac_ext 3503cat >>conftest.$ac_ext <<_ACEOF 3504/* end confdefs.h. */ 3505$ac_includes_default 3506int 3507main () 3508{ 3509if ((ssize_t *) 0) 3510 return 0; 3511if (sizeof (ssize_t)) 3512 return 0; 3513 ; 3514 return 0; 3515} 3516_ACEOF 3517rm -f conftest.$ac_objext 3518if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3692/* confdefs.h. */ 3693_ACEOF 3694cat confdefs.h >>conftest.$ac_ext 3695cat >>conftest.$ac_ext <<_ACEOF 3696/* end confdefs.h. */ 3697$ac_includes_default 3698int 3699main () 3700{ 3701if ((ssize_t *) 0) 3702 return 0; 3703if (sizeof (ssize_t)) 3704 return 0; 3705 ; 3706 return 0; 3707} 3708_ACEOF 3709rm -f conftest.$ac_objext 3710if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3519 (eval $ac_compile) 2>&5 | 3711 (eval $ac_compile) 2>conftest.er1 |
3520 ac_status=$? | 3712 ac_status=$? |
3713 grep -v '^ *+' conftest.er1 >conftest.err 3714 rm -f conftest.er1 3715 cat conftest.err >&5 |
|
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3522 (exit $ac_status); } && | 3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3717 (exit $ac_status); } && |
3523 { ac_try='test -s conftest.$ac_objext' | 3718 { ac_try='test -z "$ac_c_werror_flag" 3719 || test ! -s conftest.err' |
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3525 (eval $ac_try) 2>&5 3526 ac_status=$? 3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3721 (eval $ac_try) 2>&5 3722 ac_status=$? 3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3724 (exit $ac_status); }; } && 3725 { ac_try='test -s conftest.$ac_objext' 3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3727 (eval $ac_try) 2>&5 3728 ac_status=$? 3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3528 (exit $ac_status); }; }; then 3529 ac_cv_type_ssize_t=yes 3530else 3531 echo "$as_me: failed program was:" >&5 3532sed 's/^/| /' conftest.$ac_ext >&5 3533 3534ac_cv_type_ssize_t=no 3535fi | 3730 (exit $ac_status); }; }; then 3731 ac_cv_type_ssize_t=yes 3732else 3733 echo "$as_me: failed program was:" >&5 3734sed 's/^/| /' conftest.$ac_ext >&5 3735 3736ac_cv_type_ssize_t=no 3737fi |
3536rm -f conftest.$ac_objext conftest.$ac_ext | 3738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3537fi 3538echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 3539echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 3540if test $ac_cv_type_ssize_t = yes; then 3541 : 3542else 3543 3544cat >>confdefs.h <<_ACEOF --- 4 unchanged lines hidden (view full) --- 3549 3550 3551echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3552echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3553if test "${ac_cv_header_stdc+set}" = set; then 3554 echo $ECHO_N "(cached) $ECHO_C" >&6 3555else 3556 cat >conftest.$ac_ext <<_ACEOF | 3739fi 3740echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5 3741echo "${ECHO_T}$ac_cv_type_ssize_t" >&6 3742if test $ac_cv_type_ssize_t = yes; then 3743 : 3744else 3745 3746cat >>confdefs.h <<_ACEOF --- 4 unchanged lines hidden (view full) --- 3751 3752 3753echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3754echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3755if test "${ac_cv_header_stdc+set}" = set; then 3756 echo $ECHO_N "(cached) $ECHO_C" >&6 3757else 3758 cat >conftest.$ac_ext <<_ACEOF |
3557#line $LINENO "configure" | |
3558/* confdefs.h. */ 3559_ACEOF 3560cat confdefs.h >>conftest.$ac_ext 3561cat >>conftest.$ac_ext <<_ACEOF 3562/* end confdefs.h. */ 3563#include <stdlib.h> 3564#include <stdarg.h> 3565#include <string.h> --- 4 unchanged lines hidden (view full) --- 3570{ 3571 3572 ; 3573 return 0; 3574} 3575_ACEOF 3576rm -f conftest.$ac_objext 3577if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3759/* confdefs.h. */ 3760_ACEOF 3761cat confdefs.h >>conftest.$ac_ext 3762cat >>conftest.$ac_ext <<_ACEOF 3763/* end confdefs.h. */ 3764#include <stdlib.h> 3765#include <stdarg.h> 3766#include <string.h> --- 4 unchanged lines hidden (view full) --- 3771{ 3772 3773 ; 3774 return 0; 3775} 3776_ACEOF 3777rm -f conftest.$ac_objext 3778if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3578 (eval $ac_compile) 2>&5 | 3779 (eval $ac_compile) 2>conftest.er1 |
3579 ac_status=$? | 3780 ac_status=$? |
3781 grep -v '^ *+' conftest.er1 >conftest.err 3782 rm -f conftest.er1 3783 cat conftest.err >&5 |
|
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && | 3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3785 (exit $ac_status); } && |
3582 { ac_try='test -s conftest.$ac_objext' | 3786 { ac_try='test -z "$ac_c_werror_flag" 3787 || test ! -s conftest.err' |
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3584 (eval $ac_try) 2>&5 3585 ac_status=$? 3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 3788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3789 (eval $ac_try) 2>&5 3790 ac_status=$? 3791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3792 (exit $ac_status); }; } && 3793 { ac_try='test -s conftest.$ac_objext' 3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3795 (eval $ac_try) 2>&5 3796 ac_status=$? 3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3587 (exit $ac_status); }; }; then 3588 ac_cv_header_stdc=yes 3589else 3590 echo "$as_me: failed program was:" >&5 3591sed 's/^/| /' conftest.$ac_ext >&5 3592 3593ac_cv_header_stdc=no 3594fi | 3798 (exit $ac_status); }; }; then 3799 ac_cv_header_stdc=yes 3800else 3801 echo "$as_me: failed program was:" >&5 3802sed 's/^/| /' conftest.$ac_ext >&5 3803 3804ac_cv_header_stdc=no 3805fi |
3595rm -f conftest.$ac_objext conftest.$ac_ext | 3806rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3596 3597if test $ac_cv_header_stdc = yes; then 3598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3599 cat >conftest.$ac_ext <<_ACEOF | 3807 3808if test $ac_cv_header_stdc = yes; then 3809 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3810 cat >conftest.$ac_ext <<_ACEOF |
3600#line $LINENO "configure" | |
3601/* confdefs.h. */ 3602_ACEOF 3603cat confdefs.h >>conftest.$ac_ext 3604cat >>conftest.$ac_ext <<_ACEOF 3605/* end confdefs.h. */ 3606#include <string.h> 3607 3608_ACEOF --- 5 unchanged lines hidden (view full) --- 3614fi 3615rm -f conftest* 3616 3617fi 3618 3619if test $ac_cv_header_stdc = yes; then 3620 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3621 cat >conftest.$ac_ext <<_ACEOF | 3811/* confdefs.h. */ 3812_ACEOF 3813cat confdefs.h >>conftest.$ac_ext 3814cat >>conftest.$ac_ext <<_ACEOF 3815/* end confdefs.h. */ 3816#include <string.h> 3817 3818_ACEOF --- 5 unchanged lines hidden (view full) --- 3824fi 3825rm -f conftest* 3826 3827fi 3828 3829if test $ac_cv_header_stdc = yes; then 3830 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3831 cat >conftest.$ac_ext <<_ACEOF |
3622#line $LINENO "configure" | |
3623/* confdefs.h. */ 3624_ACEOF 3625cat confdefs.h >>conftest.$ac_ext 3626cat >>conftest.$ac_ext <<_ACEOF 3627/* end confdefs.h. */ 3628#include <stdlib.h> 3629 3630_ACEOF --- 8 unchanged lines hidden (view full) --- 3639fi 3640 3641if test $ac_cv_header_stdc = yes; then 3642 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3643 if test "$cross_compiling" = yes; then 3644 : 3645else 3646 cat >conftest.$ac_ext <<_ACEOF | 3832/* confdefs.h. */ 3833_ACEOF 3834cat confdefs.h >>conftest.$ac_ext 3835cat >>conftest.$ac_ext <<_ACEOF 3836/* end confdefs.h. */ 3837#include <stdlib.h> 3838 3839_ACEOF --- 8 unchanged lines hidden (view full) --- 3848fi 3849 3850if test $ac_cv_header_stdc = yes; then 3851 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3852 if test "$cross_compiling" = yes; then 3853 : 3854else 3855 cat >conftest.$ac_ext <<_ACEOF |
3647#line $LINENO "configure" | |
3648/* confdefs.h. */ 3649_ACEOF 3650cat confdefs.h >>conftest.$ac_ext 3651cat >>conftest.$ac_ext <<_ACEOF 3652/* end confdefs.h. */ 3653#include <ctype.h> 3654#if ((' ' & 0x0FF) == 0x020) 3655# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3656# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3657#else 3658# define ISLOWER(c) \ | 3856/* confdefs.h. */ 3857_ACEOF 3858cat confdefs.h >>conftest.$ac_ext 3859cat >>conftest.$ac_ext <<_ACEOF 3860/* end confdefs.h. */ 3861#include <ctype.h> 3862#if ((' ' & 0x0FF) == 0x020) 3863# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3864# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3865#else 3866# define ISLOWER(c) \ |
3659 (('a' <= (c) && (c) <= 'i') \ 3660 || ('j' <= (c) && (c) <= 'r') \ 3661 || ('s' <= (c) && (c) <= 'z')) | 3867 (('a' <= (c) && (c) <= 'i') \ 3868 || ('j' <= (c) && (c) <= 'r') \ 3869 || ('s' <= (c) && (c) <= 'z')) |
3662# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3663#endif 3664 3665#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3666int 3667main () 3668{ 3669 int i; 3670 for (i = 0; i < 256; i++) 3671 if (XOR (islower (i), ISLOWER (i)) | 3870# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3871#endif 3872 3873#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3874int 3875main () 3876{ 3877 int i; 3878 for (i = 0; i < 256; i++) 3879 if (XOR (islower (i), ISLOWER (i)) |
3672 || toupper (i) != TOUPPER (i)) | 3880 || toupper (i) != TOUPPER (i)) |
3673 exit(2); 3674 exit (0); 3675} 3676_ACEOF 3677rm -f conftest$ac_exeext 3678if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3679 (eval $ac_link) 2>&5 3680 ac_status=$? --- 8 unchanged lines hidden (view full) --- 3689else 3690 echo "$as_me: program exited with status $ac_status" >&5 3691echo "$as_me: failed program was:" >&5 3692sed 's/^/| /' conftest.$ac_ext >&5 3693 3694( exit $ac_status ) 3695ac_cv_header_stdc=no 3696fi | 3881 exit(2); 3882 exit (0); 3883} 3884_ACEOF 3885rm -f conftest$ac_exeext 3886if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3887 (eval $ac_link) 2>&5 3888 ac_status=$? --- 8 unchanged lines hidden (view full) --- 3897else 3898 echo "$as_me: program exited with status $ac_status" >&5 3899echo "$as_me: failed program was:" >&5 3900sed 's/^/| /' conftest.$ac_ext >&5 3901 3902( exit $ac_status ) 3903ac_cv_header_stdc=no 3904fi |
3697rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 3905rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3698fi 3699fi 3700fi 3701echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3702echo "${ECHO_T}$ac_cv_header_stdc" >&6 3703if test $ac_cv_header_stdc = yes; then 3704 3705cat >>confdefs.h <<\_ACEOF --- 4 unchanged lines hidden (view full) --- 3710 3711 3712echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 3713echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 3714if test "${ac_cv_header_stat_broken+set}" = set; then 3715 echo $ECHO_N "(cached) $ECHO_C" >&6 3716else 3717 cat >conftest.$ac_ext <<_ACEOF | 3906fi 3907fi 3908fi 3909echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3910echo "${ECHO_T}$ac_cv_header_stdc" >&6 3911if test $ac_cv_header_stdc = yes; then 3912 3913cat >>confdefs.h <<\_ACEOF --- 4 unchanged lines hidden (view full) --- 3918 3919 3920echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5 3921echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6 3922if test "${ac_cv_header_stat_broken+set}" = set; then 3923 echo $ECHO_N "(cached) $ECHO_C" >&6 3924else 3925 cat >conftest.$ac_ext <<_ACEOF |
3718#line $LINENO "configure" | |
3719/* confdefs.h. */ 3720_ACEOF 3721cat confdefs.h >>conftest.$ac_ext 3722cat >>conftest.$ac_ext <<_ACEOF 3723/* end confdefs.h. */ 3724#include <sys/types.h> 3725#include <sys/stat.h> 3726 --- 50 unchanged lines hidden (view full) --- 3777for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3778 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 3779echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 3780echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 3781if eval "test \"\${$as_ac_Header+set}\" = set"; then 3782 echo $ECHO_N "(cached) $ECHO_C" >&6 3783else 3784 cat >conftest.$ac_ext <<_ACEOF | 3926/* confdefs.h. */ 3927_ACEOF 3928cat confdefs.h >>conftest.$ac_ext 3929cat >>conftest.$ac_ext <<_ACEOF 3930/* end confdefs.h. */ 3931#include <sys/types.h> 3932#include <sys/stat.h> 3933 --- 50 unchanged lines hidden (view full) --- 3984for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do 3985 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` 3986echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 3987echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6 3988if eval "test \"\${$as_ac_Header+set}\" = set"; then 3989 echo $ECHO_N "(cached) $ECHO_C" >&6 3990else 3991 cat >conftest.$ac_ext <<_ACEOF |
3785#line $LINENO "configure" | |
3786/* confdefs.h. */ 3787_ACEOF 3788cat confdefs.h >>conftest.$ac_ext 3789cat >>conftest.$ac_ext <<_ACEOF 3790/* end confdefs.h. */ 3791#include <sys/types.h> 3792#include <$ac_hdr> 3793 3794int 3795main () 3796{ 3797if ((DIR *) 0) 3798return 0; 3799 ; 3800 return 0; 3801} 3802_ACEOF 3803rm -f conftest.$ac_objext 3804if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 3992/* confdefs.h. */ 3993_ACEOF 3994cat confdefs.h >>conftest.$ac_ext 3995cat >>conftest.$ac_ext <<_ACEOF 3996/* end confdefs.h. */ 3997#include <sys/types.h> 3998#include <$ac_hdr> 3999 4000int 4001main () 4002{ 4003if ((DIR *) 0) 4004return 0; 4005 ; 4006 return 0; 4007} 4008_ACEOF 4009rm -f conftest.$ac_objext 4010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3805 (eval $ac_compile) 2>&5 | 4011 (eval $ac_compile) 2>conftest.er1 |
3806 ac_status=$? | 4012 ac_status=$? |
4013 grep -v '^ *+' conftest.er1 >conftest.err 4014 rm -f conftest.er1 4015 cat conftest.err >&5 |
|
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3808 (exit $ac_status); } && | 4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4017 (exit $ac_status); } && |
3809 { ac_try='test -s conftest.$ac_objext' | 4018 { ac_try='test -z "$ac_c_werror_flag" 4019 || test ! -s conftest.err' |
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3811 (eval $ac_try) 2>&5 3812 ac_status=$? 3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4021 (eval $ac_try) 2>&5 4022 ac_status=$? 4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4024 (exit $ac_status); }; } && 4025 { ac_try='test -s conftest.$ac_objext' 4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4027 (eval $ac_try) 2>&5 4028 ac_status=$? 4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3814 (exit $ac_status); }; }; then 3815 eval "$as_ac_Header=yes" 3816else 3817 echo "$as_me: failed program was:" >&5 3818sed 's/^/| /' conftest.$ac_ext >&5 3819 3820eval "$as_ac_Header=no" 3821fi | 4030 (exit $ac_status); }; }; then 4031 eval "$as_ac_Header=yes" 4032else 4033 echo "$as_me: failed program was:" >&5 4034sed 's/^/| /' conftest.$ac_ext >&5 4035 4036eval "$as_ac_Header=no" 4037fi |
3822rm -f conftest.$ac_objext conftest.$ac_ext | 4038rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
3823fi 3824echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 3825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 3826if test `eval echo '${'$as_ac_Header'}'` = yes; then 3827 cat >>confdefs.h <<_ACEOF 3828#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 3829_ACEOF 3830 --- 6 unchanged lines hidden (view full) --- 3837 echo "$as_me:$LINENO: checking for library containing opendir" >&5 3838echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 3839if test "${ac_cv_search_opendir+set}" = set; then 3840 echo $ECHO_N "(cached) $ECHO_C" >&6 3841else 3842 ac_func_search_save_LIBS=$LIBS 3843ac_cv_search_opendir=no 3844cat >conftest.$ac_ext <<_ACEOF | 4039fi 4040echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4041echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4042if test `eval echo '${'$as_ac_Header'}'` = yes; then 4043 cat >>confdefs.h <<_ACEOF 4044#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 4045_ACEOF 4046 --- 6 unchanged lines hidden (view full) --- 4053 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4054echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4055if test "${ac_cv_search_opendir+set}" = set; then 4056 echo $ECHO_N "(cached) $ECHO_C" >&6 4057else 4058 ac_func_search_save_LIBS=$LIBS 4059ac_cv_search_opendir=no 4060cat >conftest.$ac_ext <<_ACEOF |
3845#line $LINENO "configure" | |
3846/* confdefs.h. */ 3847_ACEOF 3848cat confdefs.h >>conftest.$ac_ext 3849cat >>conftest.$ac_ext <<_ACEOF 3850/* end confdefs.h. */ 3851 3852/* Override any gcc2 internal prototype to avoid an error. */ 3853#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 3861{ 3862opendir (); 3863 ; 3864 return 0; 3865} 3866_ACEOF 3867rm -f conftest.$ac_objext conftest$ac_exeext 3868if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4061/* confdefs.h. */ 4062_ACEOF 4063cat confdefs.h >>conftest.$ac_ext 4064cat >>conftest.$ac_ext <<_ACEOF 4065/* end confdefs.h. */ 4066 4067/* Override any gcc2 internal prototype to avoid an error. */ 4068#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 4076{ 4077opendir (); 4078 ; 4079 return 0; 4080} 4081_ACEOF 4082rm -f conftest.$ac_objext conftest$ac_exeext 4083if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3869 (eval $ac_link) 2>&5 | 4084 (eval $ac_link) 2>conftest.er1 |
3870 ac_status=$? | 4085 ac_status=$? |
4086 grep -v '^ *+' conftest.er1 >conftest.err 4087 rm -f conftest.er1 4088 cat conftest.err >&5 |
|
3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3872 (exit $ac_status); } && | 4089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4090 (exit $ac_status); } && |
3873 { ac_try='test -s conftest$ac_exeext' | 4091 { ac_try='test -z "$ac_c_werror_flag" 4092 || test ! -s conftest.err' |
3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3875 (eval $ac_try) 2>&5 3876 ac_status=$? 3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4094 (eval $ac_try) 2>&5 4095 ac_status=$? 4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4097 (exit $ac_status); }; } && 4098 { ac_try='test -s conftest$ac_exeext' 4099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4100 (eval $ac_try) 2>&5 4101 ac_status=$? 4102 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3878 (exit $ac_status); }; }; then 3879 ac_cv_search_opendir="none required" 3880else 3881 echo "$as_me: failed program was:" >&5 3882sed 's/^/| /' conftest.$ac_ext >&5 3883 3884fi | 4103 (exit $ac_status); }; }; then 4104 ac_cv_search_opendir="none required" 4105else 4106 echo "$as_me: failed program was:" >&5 4107sed 's/^/| /' conftest.$ac_ext >&5 4108 4109fi |
3885rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4110rm -f conftest.err conftest.$ac_objext \ 4111 conftest$ac_exeext conftest.$ac_ext |
3886if test "$ac_cv_search_opendir" = no; then 3887 for ac_lib in dir; do 3888 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3889 cat >conftest.$ac_ext <<_ACEOF | 4112if test "$ac_cv_search_opendir" = no; then 4113 for ac_lib in dir; do 4114 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4115 cat >conftest.$ac_ext <<_ACEOF |
3890#line $LINENO "configure" | |
3891/* confdefs.h. */ 3892_ACEOF 3893cat confdefs.h >>conftest.$ac_ext 3894cat >>conftest.$ac_ext <<_ACEOF 3895/* end confdefs.h. */ 3896 3897/* Override any gcc2 internal prototype to avoid an error. */ 3898#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 3906{ 3907opendir (); 3908 ; 3909 return 0; 3910} 3911_ACEOF 3912rm -f conftest.$ac_objext conftest$ac_exeext 3913if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4116/* confdefs.h. */ 4117_ACEOF 4118cat confdefs.h >>conftest.$ac_ext 4119cat >>conftest.$ac_ext <<_ACEOF 4120/* end confdefs.h. */ 4121 4122/* Override any gcc2 internal prototype to avoid an error. */ 4123#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 4131{ 4132opendir (); 4133 ; 4134 return 0; 4135} 4136_ACEOF 4137rm -f conftest.$ac_objext conftest$ac_exeext 4138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3914 (eval $ac_link) 2>&5 | 4139 (eval $ac_link) 2>conftest.er1 |
3915 ac_status=$? | 4140 ac_status=$? |
4141 grep -v '^ *+' conftest.er1 >conftest.err 4142 rm -f conftest.er1 4143 cat conftest.err >&5 |
|
3916 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3917 (exit $ac_status); } && | 4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4145 (exit $ac_status); } && |
3918 { ac_try='test -s conftest$ac_exeext' | 4146 { ac_try='test -z "$ac_c_werror_flag" 4147 || test ! -s conftest.err' |
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3920 (eval $ac_try) 2>&5 3921 ac_status=$? 3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4149 (eval $ac_try) 2>&5 4150 ac_status=$? 4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4152 (exit $ac_status); }; } && 4153 { ac_try='test -s conftest$ac_exeext' 4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4155 (eval $ac_try) 2>&5 4156 ac_status=$? 4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3923 (exit $ac_status); }; }; then 3924 ac_cv_search_opendir="-l$ac_lib" 3925break 3926else 3927 echo "$as_me: failed program was:" >&5 3928sed 's/^/| /' conftest.$ac_ext >&5 3929 3930fi | 4158 (exit $ac_status); }; }; then 4159 ac_cv_search_opendir="-l$ac_lib" 4160break 4161else 4162 echo "$as_me: failed program was:" >&5 4163sed 's/^/| /' conftest.$ac_ext >&5 4164 4165fi |
3931rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4166rm -f conftest.err conftest.$ac_objext \ 4167 conftest$ac_exeext conftest.$ac_ext |
3932 done 3933fi 3934LIBS=$ac_func_search_save_LIBS 3935fi 3936echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 3937echo "${ECHO_T}$ac_cv_search_opendir" >&6 3938if test "$ac_cv_search_opendir" != no; then 3939 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" --- 4 unchanged lines hidden (view full) --- 3944 echo "$as_me:$LINENO: checking for library containing opendir" >&5 3945echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 3946if test "${ac_cv_search_opendir+set}" = set; then 3947 echo $ECHO_N "(cached) $ECHO_C" >&6 3948else 3949 ac_func_search_save_LIBS=$LIBS 3950ac_cv_search_opendir=no 3951cat >conftest.$ac_ext <<_ACEOF | 4168 done 4169fi 4170LIBS=$ac_func_search_save_LIBS 4171fi 4172echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4173echo "${ECHO_T}$ac_cv_search_opendir" >&6 4174if test "$ac_cv_search_opendir" != no; then 4175 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" --- 4 unchanged lines hidden (view full) --- 4180 echo "$as_me:$LINENO: checking for library containing opendir" >&5 4181echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6 4182if test "${ac_cv_search_opendir+set}" = set; then 4183 echo $ECHO_N "(cached) $ECHO_C" >&6 4184else 4185 ac_func_search_save_LIBS=$LIBS 4186ac_cv_search_opendir=no 4187cat >conftest.$ac_ext <<_ACEOF |
3952#line $LINENO "configure" | |
3953/* confdefs.h. */ 3954_ACEOF 3955cat confdefs.h >>conftest.$ac_ext 3956cat >>conftest.$ac_ext <<_ACEOF 3957/* end confdefs.h. */ 3958 3959/* Override any gcc2 internal prototype to avoid an error. */ 3960#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 3968{ 3969opendir (); 3970 ; 3971 return 0; 3972} 3973_ACEOF 3974rm -f conftest.$ac_objext conftest$ac_exeext 3975if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4188/* confdefs.h. */ 4189_ACEOF 4190cat confdefs.h >>conftest.$ac_ext 4191cat >>conftest.$ac_ext <<_ACEOF 4192/* end confdefs.h. */ 4193 4194/* Override any gcc2 internal prototype to avoid an error. */ 4195#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 4203{ 4204opendir (); 4205 ; 4206 return 0; 4207} 4208_ACEOF 4209rm -f conftest.$ac_objext conftest$ac_exeext 4210if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3976 (eval $ac_link) 2>&5 | 4211 (eval $ac_link) 2>conftest.er1 |
3977 ac_status=$? | 4212 ac_status=$? |
4213 grep -v '^ *+' conftest.er1 >conftest.err 4214 rm -f conftest.er1 4215 cat conftest.err >&5 |
|
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3979 (exit $ac_status); } && | 4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4217 (exit $ac_status); } && |
3980 { ac_try='test -s conftest$ac_exeext' | 4218 { ac_try='test -z "$ac_c_werror_flag" 4219 || test ! -s conftest.err' |
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3982 (eval $ac_try) 2>&5 3983 ac_status=$? 3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4221 (eval $ac_try) 2>&5 4222 ac_status=$? 4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4224 (exit $ac_status); }; } && 4225 { ac_try='test -s conftest$ac_exeext' 4226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4227 (eval $ac_try) 2>&5 4228 ac_status=$? 4229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3985 (exit $ac_status); }; }; then 3986 ac_cv_search_opendir="none required" 3987else 3988 echo "$as_me: failed program was:" >&5 3989sed 's/^/| /' conftest.$ac_ext >&5 3990 3991fi | 4230 (exit $ac_status); }; }; then 4231 ac_cv_search_opendir="none required" 4232else 4233 echo "$as_me: failed program was:" >&5 4234sed 's/^/| /' conftest.$ac_ext >&5 4235 4236fi |
3992rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4237rm -f conftest.err conftest.$ac_objext \ 4238 conftest$ac_exeext conftest.$ac_ext |
3993if test "$ac_cv_search_opendir" = no; then 3994 for ac_lib in x; do 3995 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 3996 cat >conftest.$ac_ext <<_ACEOF | 4239if test "$ac_cv_search_opendir" = no; then 4240 for ac_lib in x; do 4241 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4242 cat >conftest.$ac_ext <<_ACEOF |
3997#line $LINENO "configure" | |
3998/* confdefs.h. */ 3999_ACEOF 4000cat confdefs.h >>conftest.$ac_ext 4001cat >>conftest.$ac_ext <<_ACEOF 4002/* end confdefs.h. */ 4003 4004/* Override any gcc2 internal prototype to avoid an error. */ 4005#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 4013{ 4014opendir (); 4015 ; 4016 return 0; 4017} 4018_ACEOF 4019rm -f conftest.$ac_objext conftest$ac_exeext 4020if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4243/* confdefs.h. */ 4244_ACEOF 4245cat confdefs.h >>conftest.$ac_ext 4246cat >>conftest.$ac_ext <<_ACEOF 4247/* end confdefs.h. */ 4248 4249/* Override any gcc2 internal prototype to avoid an error. */ 4250#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 4258{ 4259opendir (); 4260 ; 4261 return 0; 4262} 4263_ACEOF 4264rm -f conftest.$ac_objext conftest$ac_exeext 4265if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4021 (eval $ac_link) 2>&5 | 4266 (eval $ac_link) 2>conftest.er1 |
4022 ac_status=$? | 4267 ac_status=$? |
4268 grep -v '^ *+' conftest.er1 >conftest.err 4269 rm -f conftest.er1 4270 cat conftest.err >&5 |
|
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4024 (exit $ac_status); } && | 4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4272 (exit $ac_status); } && |
4025 { ac_try='test -s conftest$ac_exeext' | 4273 { ac_try='test -z "$ac_c_werror_flag" 4274 || test ! -s conftest.err' |
4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4027 (eval $ac_try) 2>&5 4028 ac_status=$? 4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4276 (eval $ac_try) 2>&5 4277 ac_status=$? 4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4279 (exit $ac_status); }; } && 4280 { ac_try='test -s conftest$ac_exeext' 4281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4282 (eval $ac_try) 2>&5 4283 ac_status=$? 4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4030 (exit $ac_status); }; }; then 4031 ac_cv_search_opendir="-l$ac_lib" 4032break 4033else 4034 echo "$as_me: failed program was:" >&5 4035sed 's/^/| /' conftest.$ac_ext >&5 4036 4037fi | 4285 (exit $ac_status); }; }; then 4286 ac_cv_search_opendir="-l$ac_lib" 4287break 4288else 4289 echo "$as_me: failed program was:" >&5 4290sed 's/^/| /' conftest.$ac_ext >&5 4291 4292fi |
4038rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4293rm -f conftest.err conftest.$ac_objext \ 4294 conftest$ac_exeext conftest.$ac_ext |
4039 done 4040fi 4041LIBS=$ac_func_search_save_LIBS 4042fi 4043echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4044echo "${ECHO_T}$ac_cv_search_opendir" >&6 4045if test "$ac_cv_search_opendir" != no; then 4046 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4047 4048fi 4049 4050fi 4051 4052 4053 4054 4055 | 4295 done 4296fi 4297LIBS=$ac_func_search_save_LIBS 4298fi 4299echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 4300echo "${ECHO_T}$ac_cv_search_opendir" >&6 4301if test "$ac_cv_search_opendir" != no; then 4302 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS" 4303 4304fi 4305 4306fi 4307 4308 4309 4310 4311 |
4312for ac_func in fcntl kill lstat 4313do 4314as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4315echo "$as_me:$LINENO: checking for $ac_func" >&5 4316echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4317if eval "test \"\${$as_ac_var+set}\" = set"; then 4318 echo $ECHO_N "(cached) $ECHO_C" >&6 4319else 4320 cat >conftest.$ac_ext <<_ACEOF 4321/* confdefs.h. */ 4322_ACEOF 4323cat confdefs.h >>conftest.$ac_ext 4324cat >>conftest.$ac_ext <<_ACEOF 4325/* end confdefs.h. */ 4326/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4327 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4328#define $ac_func innocuous_$ac_func |
|
4056 | 4329 |
4330/* System header to define __stub macros and hopefully few prototypes, 4331 which can conflict with char $ac_func (); below. 4332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4333 <limits.h> exists even on freestanding compilers. */ |
|
4057 | 4334 |
4335#ifdef __STDC__ 4336# include <limits.h> 4337#else 4338# include <assert.h> 4339#endif |
|
4058 | 4340 |
4341#undef $ac_func |
|
4059 | 4342 |
4343/* Override any gcc2 internal prototype to avoid an error. */ 4344#ifdef __cplusplus 4345extern "C" 4346{ 4347#endif 4348/* We use char because int might match the return type of a gcc2 4349 builtin and then its argument prototype would still apply. */ 4350char $ac_func (); 4351/* The GNU C library defines this for functions which it implements 4352 to always fail with ENOSYS. Some functions are actually named 4353 something starting with __ and the normal name is an alias. */ 4354#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4355choke me 4356#else 4357char (*f) () = $ac_func; 4358#endif 4359#ifdef __cplusplus 4360} 4361#endif |
|
4060 | 4362 |
4363int 4364main () 4365{ 4366return f != $ac_func; 4367 ; 4368 return 0; 4369} 4370_ACEOF 4371rm -f conftest.$ac_objext conftest$ac_exeext 4372if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4373 (eval $ac_link) 2>conftest.er1 4374 ac_status=$? 4375 grep -v '^ *+' conftest.er1 >conftest.err 4376 rm -f conftest.er1 4377 cat conftest.err >&5 4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4379 (exit $ac_status); } && 4380 { ac_try='test -z "$ac_c_werror_flag" 4381 || test ! -s conftest.err' 4382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4383 (eval $ac_try) 2>&5 4384 ac_status=$? 4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4386 (exit $ac_status); }; } && 4387 { ac_try='test -s conftest$ac_exeext' 4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4389 (eval $ac_try) 2>&5 4390 ac_status=$? 4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4392 (exit $ac_status); }; }; then 4393 eval "$as_ac_var=yes" 4394else 4395 echo "$as_me: failed program was:" >&5 4396sed 's/^/| /' conftest.$ac_ext >&5 |
|
4061 | 4397 |
4398eval "$as_ac_var=no" 4399fi 4400rm -f conftest.err conftest.$ac_objext \ 4401 conftest$ac_exeext conftest.$ac_ext 4402fi 4403echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4404echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4405if test `eval echo '${'$as_ac_var'}'` = yes; then 4406 cat >>confdefs.h <<_ACEOF 4407#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4408_ACEOF |
|
4062 | 4409 |
4410fi 4411done |
|
4063 4064 | 4412 4413 |
4065for ac_func in lstat memmove putenv select setenv setlocale \ 4066 strcasecmp strpbrk tcgetattr vsnprintf isascii isxdigit | 4414 4415 4416 4417 4418 4419 4420 4421 4422for ac_func in memmove putenv select setenv setlocale \ 4423 strcasecmp strpbrk tcgetattr vsnprintf |
4067do 4068as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4069echo "$as_me:$LINENO: checking for $ac_func" >&5 4070echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4071if eval "test \"\${$as_ac_var+set}\" = set"; then 4072 echo $ECHO_N "(cached) $ECHO_C" >&6 4073else 4074 cat >conftest.$ac_ext <<_ACEOF | 4424do 4425as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4426echo "$as_me:$LINENO: checking for $ac_func" >&5 4427echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4428if eval "test \"\${$as_ac_var+set}\" = set"; then 4429 echo $ECHO_N "(cached) $ECHO_C" >&6 4430else 4431 cat >conftest.$ac_ext <<_ACEOF |
4075#line $LINENO "configure" | |
4076/* confdefs.h. */ 4077_ACEOF 4078cat confdefs.h >>conftest.$ac_ext 4079cat >>conftest.$ac_ext <<_ACEOF 4080/* end confdefs.h. */ | 4432/* confdefs.h. */ 4433_ACEOF 4434cat confdefs.h >>conftest.$ac_ext 4435cat >>conftest.$ac_ext <<_ACEOF 4436/* end confdefs.h. */ |
4437/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4438 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4439#define $ac_func innocuous_$ac_func 4440 |
|
4081/* System header to define __stub macros and hopefully few prototypes, 4082 which can conflict with char $ac_func (); below. 4083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4084 <limits.h> exists even on freestanding compilers. */ | 4441/* System header to define __stub macros and hopefully few prototypes, 4442 which can conflict with char $ac_func (); below. 4443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4444 <limits.h> exists even on freestanding compilers. */ |
4445 |
|
4085#ifdef __STDC__ 4086# include <limits.h> 4087#else 4088# include <assert.h> 4089#endif | 4446#ifdef __STDC__ 4447# include <limits.h> 4448#else 4449# include <assert.h> 4450#endif |
4451 4452#undef $ac_func 4453 |
|
4090/* Override any gcc2 internal prototype to avoid an error. */ 4091#ifdef __cplusplus 4092extern "C" 4093{ 4094#endif 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 $ac_func (); --- 14 unchanged lines hidden (view full) --- 4112{ 4113return f != $ac_func; 4114 ; 4115 return 0; 4116} 4117_ACEOF 4118rm -f conftest.$ac_objext conftest$ac_exeext 4119if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 4454/* Override any gcc2 internal prototype to avoid an error. */ 4455#ifdef __cplusplus 4456extern "C" 4457{ 4458#endif 4459/* We use char because int might match the return type of a gcc2 4460 builtin and then its argument prototype would still apply. */ 4461char $ac_func (); --- 14 unchanged lines hidden (view full) --- 4476{ 4477return f != $ac_func; 4478 ; 4479 return 0; 4480} 4481_ACEOF 4482rm -f conftest.$ac_objext conftest$ac_exeext 4483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4120 (eval $ac_link) 2>&5 | 4484 (eval $ac_link) 2>conftest.er1 |
4121 ac_status=$? | 4485 ac_status=$? |
4486 grep -v '^ *+' conftest.er1 >conftest.err 4487 rm -f conftest.er1 4488 cat conftest.err >&5 |
|
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4123 (exit $ac_status); } && | 4489 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4490 (exit $ac_status); } && |
4124 { ac_try='test -s conftest$ac_exeext' | 4491 { ac_try='test -z "$ac_c_werror_flag" 4492 || test ! -s conftest.err' |
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4126 (eval $ac_try) 2>&5 4127 ac_status=$? 4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4494 (eval $ac_try) 2>&5 4495 ac_status=$? 4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4497 (exit $ac_status); }; } && 4498 { ac_try='test -s conftest$ac_exeext' 4499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4500 (eval $ac_try) 2>&5 4501 ac_status=$? 4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4129 (exit $ac_status); }; }; then 4130 eval "$as_ac_var=yes" 4131else 4132 echo "$as_me: failed program was:" >&5 4133sed 's/^/| /' conftest.$ac_ext >&5 4134 4135eval "$as_ac_var=no" 4136fi | 4503 (exit $ac_status); }; }; then 4504 eval "$as_ac_var=yes" 4505else 4506 echo "$as_me: failed program was:" >&5 4507sed 's/^/| /' conftest.$ac_ext >&5 4508 4509eval "$as_ac_var=no" 4510fi |
4137rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 4511rm -f conftest.err conftest.$ac_objext \ 4512 conftest$ac_exeext conftest.$ac_ext |
4138fi 4139echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4140echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4141if test `eval echo '${'$as_ac_var'}'` = yes; then 4142 cat >>confdefs.h <<_ACEOF 4143#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4144_ACEOF 4145 4146fi 4147done 4148 4149 | 4513fi 4514echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4515echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4516if test `eval echo '${'$as_ac_var'}'` = yes; then 4517 cat >>confdefs.h <<_ACEOF 4518#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4519_ACEOF 4520 4521fi 4522done 4523 4524 |
4525 4526for ac_func in isascii isxdigit 4527do 4528as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4529echo "$as_me:$LINENO: checking for $ac_func" >&5 4530echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4531if eval "test \"\${$as_ac_var+set}\" = set"; then 4532 echo $ECHO_N "(cached) $ECHO_C" >&6 4533else 4534 cat >conftest.$ac_ext <<_ACEOF 4535/* confdefs.h. */ 4536_ACEOF 4537cat confdefs.h >>conftest.$ac_ext 4538cat >>conftest.$ac_ext <<_ACEOF 4539/* end confdefs.h. */ 4540/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4541 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4542#define $ac_func innocuous_$ac_func 4543 4544/* System header to define __stub macros and hopefully few prototypes, 4545 which can conflict with char $ac_func (); below. 4546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4547 <limits.h> exists even on freestanding compilers. */ 4548 4549#ifdef __STDC__ 4550# include <limits.h> 4551#else 4552# include <assert.h> 4553#endif 4554 4555#undef $ac_func 4556 4557/* Override any gcc2 internal prototype to avoid an error. */ 4558#ifdef __cplusplus 4559extern "C" 4560{ 4561#endif 4562/* We use char because int might match the return type of a gcc2 4563 builtin and then its argument prototype would still apply. */ 4564char $ac_func (); 4565/* The GNU C library defines this for functions which it implements 4566 to always fail with ENOSYS. Some functions are actually named 4567 something starting with __ and the normal name is an alias. */ 4568#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4569choke me 4570#else 4571char (*f) () = $ac_func; 4572#endif 4573#ifdef __cplusplus 4574} 4575#endif 4576 4577int 4578main () 4579{ 4580return f != $ac_func; 4581 ; 4582 return 0; 4583} 4584_ACEOF 4585rm -f conftest.$ac_objext conftest$ac_exeext 4586if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4587 (eval $ac_link) 2>conftest.er1 4588 ac_status=$? 4589 grep -v '^ *+' conftest.er1 >conftest.err 4590 rm -f conftest.er1 4591 cat conftest.err >&5 4592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4593 (exit $ac_status); } && 4594 { ac_try='test -z "$ac_c_werror_flag" 4595 || test ! -s conftest.err' 4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4597 (eval $ac_try) 2>&5 4598 ac_status=$? 4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4600 (exit $ac_status); }; } && 4601 { ac_try='test -s conftest$ac_exeext' 4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4603 (eval $ac_try) 2>&5 4604 ac_status=$? 4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4606 (exit $ac_status); }; }; then 4607 eval "$as_ac_var=yes" 4608else 4609 echo "$as_me: failed program was:" >&5 4610sed 's/^/| /' conftest.$ac_ext >&5 4611 4612eval "$as_ac_var=no" 4613fi 4614rm -f conftest.err conftest.$ac_objext \ 4615 conftest$ac_exeext conftest.$ac_ext 4616fi 4617echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4618echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4619if test `eval echo '${'$as_ac_var'}'` = yes; then 4620 cat >>confdefs.h <<_ACEOF 4621#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4622_ACEOF 4623 4624fi 4625done 4626 4627 4628 4629 4630for ac_func in getpwent getpwnam getpwuid 4631do 4632as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4633echo "$as_me:$LINENO: checking for $ac_func" >&5 4634echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4635if eval "test \"\${$as_ac_var+set}\" = set"; then 4636 echo $ECHO_N "(cached) $ECHO_C" >&6 4637else 4638 cat >conftest.$ac_ext <<_ACEOF 4639/* confdefs.h. */ 4640_ACEOF 4641cat confdefs.h >>conftest.$ac_ext 4642cat >>conftest.$ac_ext <<_ACEOF 4643/* end confdefs.h. */ 4644/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. 4645 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4646#define $ac_func innocuous_$ac_func 4647 4648/* System header to define __stub macros and hopefully few prototypes, 4649 which can conflict with char $ac_func (); below. 4650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4651 <limits.h> exists even on freestanding compilers. */ 4652 4653#ifdef __STDC__ 4654# include <limits.h> 4655#else 4656# include <assert.h> 4657#endif 4658 4659#undef $ac_func 4660 4661/* Override any gcc2 internal prototype to avoid an error. */ 4662#ifdef __cplusplus 4663extern "C" 4664{ 4665#endif 4666/* We use char because int might match the return type of a gcc2 4667 builtin and then its argument prototype would still apply. */ 4668char $ac_func (); 4669/* The GNU C library defines this for functions which it implements 4670 to always fail with ENOSYS. Some functions are actually named 4671 something starting with __ and the normal name is an alias. */ 4672#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4673choke me 4674#else 4675char (*f) () = $ac_func; 4676#endif 4677#ifdef __cplusplus 4678} 4679#endif 4680 4681int 4682main () 4683{ 4684return f != $ac_func; 4685 ; 4686 return 0; 4687} 4688_ACEOF 4689rm -f conftest.$ac_objext conftest$ac_exeext 4690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4691 (eval $ac_link) 2>conftest.er1 4692 ac_status=$? 4693 grep -v '^ *+' conftest.er1 >conftest.err 4694 rm -f conftest.er1 4695 cat conftest.err >&5 4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4697 (exit $ac_status); } && 4698 { ac_try='test -z "$ac_c_werror_flag" 4699 || test ! -s conftest.err' 4700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4701 (eval $ac_try) 2>&5 4702 ac_status=$? 4703 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4704 (exit $ac_status); }; } && 4705 { ac_try='test -s conftest$ac_exeext' 4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4707 (eval $ac_try) 2>&5 4708 ac_status=$? 4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4710 (exit $ac_status); }; }; then 4711 eval "$as_ac_var=yes" 4712else 4713 echo "$as_me: failed program was:" >&5 4714sed 's/^/| /' conftest.$ac_ext >&5 4715 4716eval "$as_ac_var=no" 4717fi 4718rm -f conftest.err conftest.$ac_objext \ 4719 conftest$ac_exeext conftest.$ac_ext 4720fi 4721echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 4722echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4723if test `eval echo '${'$as_ac_var'}'` = yes; then 4724 cat >>confdefs.h <<_ACEOF 4725#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4726_ACEOF 4727 4728fi 4729done 4730 4731 |
|
4150echo "$as_me:$LINENO: checking for working strcoll" >&5 4151echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6 4152if test "${ac_cv_func_strcoll_works+set}" = set; then 4153 echo $ECHO_N "(cached) $ECHO_C" >&6 4154else 4155 if test "$cross_compiling" = yes; then 4156 ac_cv_func_strcoll_works=no 4157else 4158 cat >conftest.$ac_ext <<_ACEOF | 4732echo "$as_me:$LINENO: checking for working strcoll" >&5 4733echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6 4734if test "${ac_cv_func_strcoll_works+set}" = set; then 4735 echo $ECHO_N "(cached) $ECHO_C" >&6 4736else 4737 if test "$cross_compiling" = yes; then 4738 ac_cv_func_strcoll_works=no 4739else 4740 cat >conftest.$ac_ext <<_ACEOF |
4159#line $LINENO "configure" | |
4160/* confdefs.h. */ 4161_ACEOF 4162cat confdefs.h >>conftest.$ac_ext 4163cat >>conftest.$ac_ext <<_ACEOF 4164/* end confdefs.h. */ 4165$ac_includes_default 4166int 4167main () --- 20 unchanged lines hidden (view full) --- 4188else 4189 echo "$as_me: program exited with status $ac_status" >&5 4190echo "$as_me: failed program was:" >&5 4191sed 's/^/| /' conftest.$ac_ext >&5 4192 4193( exit $ac_status ) 4194ac_cv_func_strcoll_works=no 4195fi | 4741/* confdefs.h. */ 4742_ACEOF 4743cat confdefs.h >>conftest.$ac_ext 4744cat >>conftest.$ac_ext <<_ACEOF 4745/* end confdefs.h. */ 4746$ac_includes_default 4747int 4748main () --- 20 unchanged lines hidden (view full) --- 4769else 4770 echo "$as_me: program exited with status $ac_status" >&5 4771echo "$as_me: failed program was:" >&5 4772sed 's/^/| /' conftest.$ac_ext >&5 4773 4774( exit $ac_status ) 4775ac_cv_func_strcoll_works=no 4776fi |
4196rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 4777rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4197fi 4198fi 4199echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5 4200echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6 4201if test $ac_cv_func_strcoll_works = yes; then 4202 4203cat >>confdefs.h <<\_ACEOF 4204#define HAVE_STRCOLL 1 --- 11 unchanged lines hidden (view full) --- 4216 4217 4218 4219 4220 4221 4222 4223 | 4778fi 4779fi 4780echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5 4781echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6 4782if test $ac_cv_func_strcoll_works = yes; then 4783 4784cat >>confdefs.h <<\_ACEOF 4785#define HAVE_STRCOLL 1 --- 11 unchanged lines hidden (view full) --- 4797 4798 4799 4800 4801 4802 4803 4804 |
4224 4225 4226 4227for ac_header in unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \ 4228 limits.h sys/ptem.h sys/pte.h sys/stream.h sys/select.h \ 4229 termcap.h termios.h termio.h sys/file.h locale.h memory.h | 4805for ac_header in fcntl.h unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \ 4806 limits.h locale.h pwd.h memory.h termcap.h termios.h termio.h |
4230do 4231as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4232if eval "test \"\${$as_ac_Header+set}\" = set"; then 4233 echo "$as_me:$LINENO: checking for $ac_header" >&5 4234echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4235if eval "test \"\${$as_ac_Header+set}\" = set"; then 4236 echo $ECHO_N "(cached) $ECHO_C" >&6 4237fi 4238echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4239echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4240else 4241 # Is the header compilable? 4242echo "$as_me:$LINENO: checking $ac_header usability" >&5 4243echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4244cat >conftest.$ac_ext <<_ACEOF | 4807do 4808as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4809if eval "test \"\${$as_ac_Header+set}\" = set"; then 4810 echo "$as_me:$LINENO: checking for $ac_header" >&5 4811echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4812if eval "test \"\${$as_ac_Header+set}\" = set"; then 4813 echo $ECHO_N "(cached) $ECHO_C" >&6 4814fi 4815echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4816echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4817else 4818 # Is the header compilable? 4819echo "$as_me:$LINENO: checking $ac_header usability" >&5 4820echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4821cat >conftest.$ac_ext <<_ACEOF |
4245#line $LINENO "configure" | |
4246/* confdefs.h. */ 4247_ACEOF 4248cat confdefs.h >>conftest.$ac_ext 4249cat >>conftest.$ac_ext <<_ACEOF 4250/* end confdefs.h. */ 4251$ac_includes_default 4252#include <$ac_header> 4253_ACEOF 4254rm -f conftest.$ac_objext 4255if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 4822/* confdefs.h. */ 4823_ACEOF 4824cat confdefs.h >>conftest.$ac_ext 4825cat >>conftest.$ac_ext <<_ACEOF 4826/* end confdefs.h. */ 4827$ac_includes_default 4828#include <$ac_header> 4829_ACEOF 4830rm -f conftest.$ac_objext 4831if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4256 (eval $ac_compile) 2>&5 | 4832 (eval $ac_compile) 2>conftest.er1 |
4257 ac_status=$? | 4833 ac_status=$? |
4834 grep -v '^ *+' conftest.er1 >conftest.err 4835 rm -f conftest.er1 4836 cat conftest.err >&5 |
|
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4259 (exit $ac_status); } && | 4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4838 (exit $ac_status); } && |
4260 { ac_try='test -s conftest.$ac_objext' | 4839 { ac_try='test -z "$ac_c_werror_flag" 4840 || test ! -s conftest.err' |
4261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4262 (eval $ac_try) 2>&5 4263 ac_status=$? 4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 4841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4842 (eval $ac_try) 2>&5 4843 ac_status=$? 4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4845 (exit $ac_status); }; } && 4846 { ac_try='test -s conftest.$ac_objext' 4847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4848 (eval $ac_try) 2>&5 4849 ac_status=$? 4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4265 (exit $ac_status); }; }; then 4266 ac_header_compiler=yes 4267else 4268 echo "$as_me: failed program was:" >&5 4269sed 's/^/| /' conftest.$ac_ext >&5 4270 4271ac_header_compiler=no 4272fi | 4851 (exit $ac_status); }; }; then 4852 ac_header_compiler=yes 4853else 4854 echo "$as_me: failed program was:" >&5 4855sed 's/^/| /' conftest.$ac_ext >&5 4856 4857ac_header_compiler=no 4858fi |
4273rm -f conftest.$ac_objext conftest.$ac_ext | 4859rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4274echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4275echo "${ECHO_T}$ac_header_compiler" >&6 4276 4277# Is the header present? 4278echo "$as_me:$LINENO: checking $ac_header presence" >&5 4279echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4280cat >conftest.$ac_ext <<_ACEOF | 4860echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4861echo "${ECHO_T}$ac_header_compiler" >&6 4862 4863# Is the header present? 4864echo "$as_me:$LINENO: checking $ac_header presence" >&5 4865echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4866cat >conftest.$ac_ext <<_ACEOF |
4281#line $LINENO "configure" | |
4282/* confdefs.h. */ 4283_ACEOF 4284cat confdefs.h >>conftest.$ac_ext 4285cat >>conftest.$ac_ext <<_ACEOF 4286/* end confdefs.h. */ 4287#include <$ac_header> 4288_ACEOF 4289if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4291 ac_status=$? 4292 grep -v '^ *+' conftest.er1 >conftest.err 4293 rm -f conftest.er1 4294 cat conftest.err >&5 4295 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4296 (exit $ac_status); } >/dev/null; then 4297 if test -s conftest.err; then 4298 ac_cpp_err=$ac_c_preproc_warn_flag | 4867/* confdefs.h. */ 4868_ACEOF 4869cat confdefs.h >>conftest.$ac_ext 4870cat >>conftest.$ac_ext <<_ACEOF 4871/* end confdefs.h. */ 4872#include <$ac_header> 4873_ACEOF 4874if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4876 ac_status=$? 4877 grep -v '^ *+' conftest.er1 >conftest.err 4878 rm -f conftest.er1 4879 cat conftest.err >&5 4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4881 (exit $ac_status); } >/dev/null; then 4882 if test -s conftest.err; then 4883 ac_cpp_err=$ac_c_preproc_warn_flag |
4884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
4299 else 4300 ac_cpp_err= 4301 fi 4302else 4303 ac_cpp_err=yes 4304fi 4305if test -z "$ac_cpp_err"; then 4306 ac_header_preproc=yes 4307else 4308 echo "$as_me: failed program was:" >&5 4309sed 's/^/| /' conftest.$ac_ext >&5 4310 4311 ac_header_preproc=no 4312fi 4313rm -f conftest.err conftest.$ac_ext 4314echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4315echo "${ECHO_T}$ac_header_preproc" >&6 4316 4317# So? What about this header? | 4885 else 4886 ac_cpp_err= 4887 fi 4888else 4889 ac_cpp_err=yes 4890fi 4891if test -z "$ac_cpp_err"; then 4892 ac_header_preproc=yes 4893else 4894 echo "$as_me: failed program was:" >&5 4895sed 's/^/| /' conftest.$ac_ext >&5 4896 4897 ac_header_preproc=no 4898fi 4899rm -f conftest.err conftest.$ac_ext 4900echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4901echo "${ECHO_T}$ac_header_preproc" >&6 4902 4903# So? What about this header? |
4318case $ac_header_compiler:$ac_header_preproc in 4319 yes:no ) | 4904case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4905 yes:no: ) |
4320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4321echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 4906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4907echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4909echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4910 ac_header_preproc=yes 4911 ;; 4912 no:yes:* ) 4913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4914echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4916echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4918echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4920echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
4322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4323echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 4921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4922echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4924echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
4324 ( 4325 cat <<\_ASBOX | 4925 ( 4926 cat <<\_ASBOX |
4326## ------------------------------------ ## 4327## Report this to bug-autoconf@gnu.org. ## 4328## ------------------------------------ ## | 4927## ----------------------------------- ## 4928## Report this to bug-readline@gnu.org ## 4929## ----------------------------------- ## |
4329_ASBOX 4330 ) | 4331 sed "s/^/$as_me: WARNING: /" >&2 4332 ;; | 4930_ASBOX 4931 ) | 4932 sed "s/^/$as_me: WARNING: /" >&2 4933 ;; |
4333 no:yes ) | 4934esac 4935echo "$as_me:$LINENO: checking for $ac_header" >&5 4936echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4937if eval "test \"\${$as_ac_Header+set}\" = set"; then 4938 echo $ECHO_N "(cached) $ECHO_C" >&6 4939else 4940 eval "$as_ac_Header=\$ac_header_preproc" 4941fi 4942echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4943echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4944 4945fi 4946if test `eval echo '${'$as_ac_Header'}'` = yes; then 4947 cat >>confdefs.h <<_ACEOF 4948#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4949_ACEOF 4950 4951fi 4952 4953done 4954 4955 4956 4957 4958 4959for ac_header in sys/pte.h sys/stream.h sys/select.h sys/file.h 4960do 4961as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4962if eval "test \"\${$as_ac_Header+set}\" = set"; then 4963 echo "$as_me:$LINENO: checking for $ac_header" >&5 4964echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4965if eval "test \"\${$as_ac_Header+set}\" = set"; then 4966 echo $ECHO_N "(cached) $ECHO_C" >&6 4967fi 4968echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4969echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4970else 4971 # Is the header compilable? 4972echo "$as_me:$LINENO: checking $ac_header usability" >&5 4973echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4974cat >conftest.$ac_ext <<_ACEOF 4975/* confdefs.h. */ 4976_ACEOF 4977cat confdefs.h >>conftest.$ac_ext 4978cat >>conftest.$ac_ext <<_ACEOF 4979/* end confdefs.h. */ 4980$ac_includes_default 4981#include <$ac_header> 4982_ACEOF 4983rm -f conftest.$ac_objext 4984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4985 (eval $ac_compile) 2>conftest.er1 4986 ac_status=$? 4987 grep -v '^ *+' conftest.er1 >conftest.err 4988 rm -f conftest.er1 4989 cat conftest.err >&5 4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4991 (exit $ac_status); } && 4992 { ac_try='test -z "$ac_c_werror_flag" 4993 || test ! -s conftest.err' 4994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4995 (eval $ac_try) 2>&5 4996 ac_status=$? 4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4998 (exit $ac_status); }; } && 4999 { ac_try='test -s conftest.$ac_objext' 5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5001 (eval $ac_try) 2>&5 5002 ac_status=$? 5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5004 (exit $ac_status); }; }; then 5005 ac_header_compiler=yes 5006else 5007 echo "$as_me: failed program was:" >&5 5008sed 's/^/| /' conftest.$ac_ext >&5 5009 5010ac_header_compiler=no 5011fi 5012rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5013echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5014echo "${ECHO_T}$ac_header_compiler" >&6 5015 5016# Is the header present? 5017echo "$as_me:$LINENO: checking $ac_header presence" >&5 5018echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5019cat >conftest.$ac_ext <<_ACEOF 5020/* confdefs.h. */ 5021_ACEOF 5022cat confdefs.h >>conftest.$ac_ext 5023cat >>conftest.$ac_ext <<_ACEOF 5024/* end confdefs.h. */ 5025#include <$ac_header> 5026_ACEOF 5027if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5028 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5029 ac_status=$? 5030 grep -v '^ *+' conftest.er1 >conftest.err 5031 rm -f conftest.er1 5032 cat conftest.err >&5 5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5034 (exit $ac_status); } >/dev/null; then 5035 if test -s conftest.err; then 5036 ac_cpp_err=$ac_c_preproc_warn_flag 5037 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 5038 else 5039 ac_cpp_err= 5040 fi 5041else 5042 ac_cpp_err=yes 5043fi 5044if test -z "$ac_cpp_err"; then 5045 ac_header_preproc=yes 5046else 5047 echo "$as_me: failed program was:" >&5 5048sed 's/^/| /' conftest.$ac_ext >&5 5049 5050 ac_header_preproc=no 5051fi 5052rm -f conftest.err conftest.$ac_ext 5053echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5054echo "${ECHO_T}$ac_header_preproc" >&6 5055 5056# So? What about this header? 5057case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 5058 yes:no: ) 5059 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5060echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5062echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5063 ac_header_preproc=yes 5064 ;; 5065 no:yes:* ) |
4334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4335echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 5066 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5067echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4337echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 5068 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5069echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5070 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5071echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5072 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5073echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4339echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 5074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5075echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
5076 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5077echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
4340 ( 4341 cat <<\_ASBOX | 5078 ( 5079 cat <<\_ASBOX |
4342## ------------------------------------ ## 4343## Report this to bug-autoconf@gnu.org. ## 4344## ------------------------------------ ## | 5080## ----------------------------------- ## 5081## Report this to bug-readline@gnu.org ## 5082## ----------------------------------- ## |
4345_ASBOX 4346 ) | 4347 sed "s/^/$as_me: WARNING: /" >&2 4348 ;; 4349esac 4350echo "$as_me:$LINENO: checking for $ac_header" >&5 4351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4352if eval "test \"\${$as_ac_Header+set}\" = set"; then 4353 echo $ECHO_N "(cached) $ECHO_C" >&6 4354else | 5083_ASBOX 5084 ) | 5085 sed "s/^/$as_me: WARNING: /" >&2 5086 ;; 5087esac 5088echo "$as_me:$LINENO: checking for $ac_header" >&5 5089echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5090if eval "test \"\${$as_ac_Header+set}\" = set"; then 5091 echo $ECHO_N "(cached) $ECHO_C" >&6 5092else |
4355 eval "$as_ac_Header=$ac_header_preproc" | 5093 eval "$as_ac_Header=\$ac_header_preproc" |
4356fi 4357echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4358echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4359 4360fi 4361if test `eval echo '${'$as_ac_Header'}'` = yes; then 4362 cat >>confdefs.h <<_ACEOF 4363#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4364_ACEOF 4365 4366fi 4367 4368done 4369 4370 4371 | 5094fi 5095echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5096echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5097 5098fi 5099if test `eval echo '${'$as_ac_Header'}'` = yes; then 5100 cat >>confdefs.h <<_ACEOF 5101#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5102_ACEOF 5103 5104fi 5105 5106done 5107 5108 5109 |
5110for ac_header in sys/ptem.h 5111do 5112as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5113echo "$as_me:$LINENO: checking for $ac_header" >&5 5114echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 5115if eval "test \"\${$as_ac_Header+set}\" = set"; then 5116 echo $ECHO_N "(cached) $ECHO_C" >&6 5117else 5118 cat >conftest.$ac_ext <<_ACEOF 5119/* confdefs.h. */ 5120_ACEOF 5121cat confdefs.h >>conftest.$ac_ext 5122cat >>conftest.$ac_ext <<_ACEOF 5123/* end confdefs.h. */ 5124 5125#if HAVE_SYS_STREAM_H 5126# include <sys/stream.h> 5127#endif 5128 5129 5130#include <$ac_header> 5131_ACEOF 5132rm -f conftest.$ac_objext 5133if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 5134 (eval $ac_compile) 2>conftest.er1 5135 ac_status=$? 5136 grep -v '^ *+' conftest.er1 >conftest.err 5137 rm -f conftest.er1 5138 cat conftest.err >&5 5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5140 (exit $ac_status); } && 5141 { ac_try='test -z "$ac_c_werror_flag" 5142 || test ! -s conftest.err' 5143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5144 (eval $ac_try) 2>&5 5145 ac_status=$? 5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5147 (exit $ac_status); }; } && 5148 { ac_try='test -s conftest.$ac_objext' 5149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5150 (eval $ac_try) 2>&5 5151 ac_status=$? 5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5153 (exit $ac_status); }; }; then 5154 eval "$as_ac_Header=yes" 5155else 5156 echo "$as_me: failed program was:" >&5 5157sed 's/^/| /' conftest.$ac_ext >&5 5158 5159eval "$as_ac_Header=no" 5160fi 5161rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 5162fi 5163echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5164echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5165if test `eval echo '${'$as_ac_Header'}'` = yes; then 5166 cat >>confdefs.h <<_ACEOF 5167#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5168_ACEOF 5169 5170fi 5171 5172done 5173 5174 5175 |
|
4372echo "$as_me:$LINENO: checking for type of signal functions" >&5 4373echo $ECHO_N "checking for type of signal functions... $ECHO_C" >&6 4374if test "${bash_cv_signal_vintage+set}" = set; then 4375 echo $ECHO_N "(cached) $ECHO_C" >&6 4376else 4377 4378 cat >conftest.$ac_ext <<_ACEOF | 5176echo "$as_me:$LINENO: checking for type of signal functions" >&5 5177echo $ECHO_N "checking for type of signal functions... $ECHO_C" >&6 5178if test "${bash_cv_signal_vintage+set}" = set; then 5179 echo $ECHO_N "(cached) $ECHO_C" >&6 5180else 5181 5182 cat >conftest.$ac_ext <<_ACEOF |
4379#line $LINENO "configure" | |
4380/* confdefs.h. */ 4381_ACEOF 4382cat confdefs.h >>conftest.$ac_ext 4383cat >>conftest.$ac_ext <<_ACEOF 4384/* end confdefs.h. */ 4385#include <signal.h> 4386int 4387main () --- 6 unchanged lines hidden (view full) --- 4394 sigprocmask(SIG_BLOCK, &ss, (sigset_t *) 0); 4395 4396 ; 4397 return 0; 4398} 4399_ACEOF 4400rm -f conftest.$ac_objext conftest$ac_exeext 4401if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5183/* confdefs.h. */ 5184_ACEOF 5185cat confdefs.h >>conftest.$ac_ext 5186cat >>conftest.$ac_ext <<_ACEOF 5187/* end confdefs.h. */ 5188#include <signal.h> 5189int 5190main () --- 6 unchanged lines hidden (view full) --- 5197 sigprocmask(SIG_BLOCK, &ss, (sigset_t *) 0); 5198 5199 ; 5200 return 0; 5201} 5202_ACEOF 5203rm -f conftest.$ac_objext conftest$ac_exeext 5204if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4402 (eval $ac_link) 2>&5 | 5205 (eval $ac_link) 2>conftest.er1 |
4403 ac_status=$? | 5206 ac_status=$? |
5207 grep -v '^ *+' conftest.er1 >conftest.err 5208 rm -f conftest.er1 5209 cat conftest.err >&5 |
|
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4405 (exit $ac_status); } && | 5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5211 (exit $ac_status); } && |
4406 { ac_try='test -s conftest$ac_exeext' | 5212 { ac_try='test -z "$ac_c_werror_flag" 5213 || test ! -s conftest.err' |
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4408 (eval $ac_try) 2>&5 4409 ac_status=$? 4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5215 (eval $ac_try) 2>&5 5216 ac_status=$? 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5218 (exit $ac_status); }; } && 5219 { ac_try='test -s conftest$ac_exeext' 5220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5221 (eval $ac_try) 2>&5 5222 ac_status=$? 5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4411 (exit $ac_status); }; }; then 4412 bash_cv_signal_vintage=posix 4413else 4414 echo "$as_me: failed program was:" >&5 4415sed 's/^/| /' conftest.$ac_ext >&5 4416 4417 4418 cat >conftest.$ac_ext <<_ACEOF | 5224 (exit $ac_status); }; }; then 5225 bash_cv_signal_vintage=posix 5226else 5227 echo "$as_me: failed program was:" >&5 5228sed 's/^/| /' conftest.$ac_ext >&5 5229 5230 5231 cat >conftest.$ac_ext <<_ACEOF |
4419#line $LINENO "configure" | |
4420/* confdefs.h. */ 4421_ACEOF 4422cat confdefs.h >>conftest.$ac_ext 4423cat >>conftest.$ac_ext <<_ACEOF 4424/* end confdefs.h. */ 4425#include <signal.h> 4426int 4427main () 4428{ 4429 4430 int mask = sigmask(SIGINT); 4431 sigsetmask(mask); sigblock(mask); sigpause(mask); 4432 4433 ; 4434 return 0; 4435} 4436_ACEOF 4437rm -f conftest.$ac_objext conftest$ac_exeext 4438if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5232/* confdefs.h. */ 5233_ACEOF 5234cat confdefs.h >>conftest.$ac_ext 5235cat >>conftest.$ac_ext <<_ACEOF 5236/* end confdefs.h. */ 5237#include <signal.h> 5238int 5239main () 5240{ 5241 5242 int mask = sigmask(SIGINT); 5243 sigsetmask(mask); sigblock(mask); sigpause(mask); 5244 5245 ; 5246 return 0; 5247} 5248_ACEOF 5249rm -f conftest.$ac_objext conftest$ac_exeext 5250if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4439 (eval $ac_link) 2>&5 | 5251 (eval $ac_link) 2>conftest.er1 |
4440 ac_status=$? | 5252 ac_status=$? |
5253 grep -v '^ *+' conftest.er1 >conftest.err 5254 rm -f conftest.er1 5255 cat conftest.err >&5 |
|
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4442 (exit $ac_status); } && | 5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5257 (exit $ac_status); } && |
4443 { ac_try='test -s conftest$ac_exeext' | 5258 { ac_try='test -z "$ac_c_werror_flag" 5259 || test ! -s conftest.err' |
4444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4445 (eval $ac_try) 2>&5 4446 ac_status=$? 4447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5261 (eval $ac_try) 2>&5 5262 ac_status=$? 5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5264 (exit $ac_status); }; } && 5265 { ac_try='test -s conftest$ac_exeext' 5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5267 (eval $ac_try) 2>&5 5268 ac_status=$? 5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4448 (exit $ac_status); }; }; then 4449 bash_cv_signal_vintage=4.2bsd 4450else 4451 echo "$as_me: failed program was:" >&5 4452sed 's/^/| /' conftest.$ac_ext >&5 4453 4454 4455 cat >conftest.$ac_ext <<_ACEOF | 5270 (exit $ac_status); }; }; then 5271 bash_cv_signal_vintage=4.2bsd 5272else 5273 echo "$as_me: failed program was:" >&5 5274sed 's/^/| /' conftest.$ac_ext >&5 5275 5276 5277 cat >conftest.$ac_ext <<_ACEOF |
4456#line $LINENO "configure" | |
4457/* confdefs.h. */ 4458_ACEOF 4459cat confdefs.h >>conftest.$ac_ext 4460cat >>conftest.$ac_ext <<_ACEOF 4461/* end confdefs.h. */ 4462 4463 #include <signal.h> 4464 RETSIGTYPE foo() { } --- 6 unchanged lines hidden (view full) --- 4471 sighold(SIGINT); sigpause(SIGINT); 4472 4473 ; 4474 return 0; 4475} 4476_ACEOF 4477rm -f conftest.$ac_objext conftest$ac_exeext 4478if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5278/* confdefs.h. */ 5279_ACEOF 5280cat confdefs.h >>conftest.$ac_ext 5281cat >>conftest.$ac_ext <<_ACEOF 5282/* end confdefs.h. */ 5283 5284 #include <signal.h> 5285 RETSIGTYPE foo() { } --- 6 unchanged lines hidden (view full) --- 5292 sighold(SIGINT); sigpause(SIGINT); 5293 5294 ; 5295 return 0; 5296} 5297_ACEOF 5298rm -f conftest.$ac_objext conftest$ac_exeext 5299if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4479 (eval $ac_link) 2>&5 | 5300 (eval $ac_link) 2>conftest.er1 |
4480 ac_status=$? | 5301 ac_status=$? |
5302 grep -v '^ *+' conftest.er1 >conftest.err 5303 rm -f conftest.er1 5304 cat conftest.err >&5 |
|
4481 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4482 (exit $ac_status); } && | 5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5306 (exit $ac_status); } && |
4483 { ac_try='test -s conftest$ac_exeext' | 5307 { ac_try='test -z "$ac_c_werror_flag" 5308 || test ! -s conftest.err' |
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4485 (eval $ac_try) 2>&5 4486 ac_status=$? 4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5310 (eval $ac_try) 2>&5 5311 ac_status=$? 5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5313 (exit $ac_status); }; } && 5314 { ac_try='test -s conftest$ac_exeext' 5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5316 (eval $ac_try) 2>&5 5317 ac_status=$? 5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4488 (exit $ac_status); }; }; then 4489 bash_cv_signal_vintage=svr3 4490else 4491 echo "$as_me: failed program was:" >&5 4492sed 's/^/| /' conftest.$ac_ext >&5 4493 4494bash_cv_signal_vintage=v7 4495 4496fi | 5319 (exit $ac_status); }; }; then 5320 bash_cv_signal_vintage=svr3 5321else 5322 echo "$as_me: failed program was:" >&5 5323sed 's/^/| /' conftest.$ac_ext >&5 5324 5325bash_cv_signal_vintage=v7 5326 5327fi |
4497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5328rm -f conftest.err conftest.$ac_objext \ 5329 conftest$ac_exeext conftest.$ac_ext |
4498 4499fi | 5330 5331fi |
4500rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5332rm -f conftest.err conftest.$ac_objext \ 5333 conftest$ac_exeext conftest.$ac_ext |
4501 4502fi | 5334 5335fi |
4503rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5336rm -f conftest.err conftest.$ac_objext \ 5337 conftest$ac_exeext conftest.$ac_ext |
4504 4505fi 4506 4507echo "$as_me:$LINENO: result: $bash_cv_signal_vintage" >&5 4508echo "${ECHO_T}$bash_cv_signal_vintage" >&6 4509if test "$bash_cv_signal_vintage" = posix; then 4510cat >>confdefs.h <<\_ACEOF 4511#define HAVE_POSIX_SIGNALS 1 --- 20 unchanged lines hidden (view full) --- 4532else 4533 if test "$cross_compiling" = yes; then 4534 { echo "$as_me:$LINENO: WARNING: cannot check signal handling if cross compiling -- defaulting to no" >&5 4535echo "$as_me: WARNING: cannot check signal handling if cross compiling -- defaulting to no" >&2;} 4536 bash_cv_must_reinstall_sighandlers=no 4537 4538else 4539 cat >conftest.$ac_ext <<_ACEOF | 5338 5339fi 5340 5341echo "$as_me:$LINENO: result: $bash_cv_signal_vintage" >&5 5342echo "${ECHO_T}$bash_cv_signal_vintage" >&6 5343if test "$bash_cv_signal_vintage" = posix; then 5344cat >>confdefs.h <<\_ACEOF 5345#define HAVE_POSIX_SIGNALS 1 --- 20 unchanged lines hidden (view full) --- 5366else 5367 if test "$cross_compiling" = yes; then 5368 { echo "$as_me:$LINENO: WARNING: cannot check signal handling if cross compiling -- defaulting to no" >&5 5369echo "$as_me: WARNING: cannot check signal handling if cross compiling -- defaulting to no" >&2;} 5370 bash_cv_must_reinstall_sighandlers=no 5371 5372else 5373 cat >conftest.$ac_ext <<_ACEOF |
4540#line $LINENO "configure" | |
4541/* confdefs.h. */ 4542_ACEOF 4543cat confdefs.h >>conftest.$ac_ext 4544cat >>conftest.$ac_ext <<_ACEOF 4545/* end confdefs.h. */ 4546 4547#include <signal.h> 4548#ifdef HAVE_UNISTD_H --- 54 unchanged lines hidden (view full) --- 4603else 4604 echo "$as_me: program exited with status $ac_status" >&5 4605echo "$as_me: failed program was:" >&5 4606sed 's/^/| /' conftest.$ac_ext >&5 4607 4608( exit $ac_status ) 4609bash_cv_must_reinstall_sighandlers=yes 4610fi | 5374/* confdefs.h. */ 5375_ACEOF 5376cat confdefs.h >>conftest.$ac_ext 5377cat >>conftest.$ac_ext <<_ACEOF 5378/* end confdefs.h. */ 5379 5380#include <signal.h> 5381#ifdef HAVE_UNISTD_H --- 54 unchanged lines hidden (view full) --- 5436else 5437 echo "$as_me: program exited with status $ac_status" >&5 5438echo "$as_me: failed program was:" >&5 5439sed 's/^/| /' conftest.$ac_ext >&5 5440 5441( exit $ac_status ) 5442bash_cv_must_reinstall_sighandlers=yes 5443fi |
4611rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5444rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4612fi 4613fi 4614 4615echo "$as_me:$LINENO: result: $bash_cv_must_reinstall_sighandlers" >&5 4616echo "${ECHO_T}$bash_cv_must_reinstall_sighandlers" >&6 4617if test $bash_cv_must_reinstall_sighandlers = yes; then 4618cat >>confdefs.h <<\_ACEOF 4619#define MUST_REINSTALL_SIGHANDLERS 1 --- 10 unchanged lines hidden (view full) --- 4630else 4631 if test "$cross_compiling" = yes; then 4632 { echo "$as_me:$LINENO: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to missing" >&5 4633echo "$as_me: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to missing" >&2;} 4634 bash_cv_func_sigsetjmp=missing 4635 4636else 4637 cat >conftest.$ac_ext <<_ACEOF | 5445fi 5446fi 5447 5448echo "$as_me:$LINENO: result: $bash_cv_must_reinstall_sighandlers" >&5 5449echo "${ECHO_T}$bash_cv_must_reinstall_sighandlers" >&6 5450if test $bash_cv_must_reinstall_sighandlers = yes; then 5451cat >>confdefs.h <<\_ACEOF 5452#define MUST_REINSTALL_SIGHANDLERS 1 --- 10 unchanged lines hidden (view full) --- 5463else 5464 if test "$cross_compiling" = yes; then 5465 { echo "$as_me:$LINENO: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to missing" >&5 5466echo "$as_me: WARNING: cannot check for sigsetjmp/siglongjmp if cross-compiling -- defaulting to missing" >&2;} 5467 bash_cv_func_sigsetjmp=missing 5468 5469else 5470 cat >conftest.$ac_ext <<_ACEOF |
4638#line $LINENO "configure" | |
4639/* confdefs.h. */ 4640_ACEOF 4641cat confdefs.h >>conftest.$ac_ext 4642cat >>conftest.$ac_ext <<_ACEOF 4643/* end confdefs.h. */ 4644 4645#ifdef HAVE_UNISTD_H 4646#include <unistd.h> --- 48 unchanged lines hidden (view full) --- 4695else 4696 echo "$as_me: program exited with status $ac_status" >&5 4697echo "$as_me: failed program was:" >&5 4698sed 's/^/| /' conftest.$ac_ext >&5 4699 4700( exit $ac_status ) 4701bash_cv_func_sigsetjmp=missing 4702fi | 5471/* confdefs.h. */ 5472_ACEOF 5473cat confdefs.h >>conftest.$ac_ext 5474cat >>conftest.$ac_ext <<_ACEOF 5475/* end confdefs.h. */ 5476 5477#ifdef HAVE_UNISTD_H 5478#include <unistd.h> --- 48 unchanged lines hidden (view full) --- 5527else 5528 echo "$as_me: program exited with status $ac_status" >&5 5529echo "$as_me: failed program was:" >&5 5530sed 's/^/| /' conftest.$ac_ext >&5 5531 5532( exit $ac_status ) 5533bash_cv_func_sigsetjmp=missing 5534fi |
4703rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5535rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4704fi 4705fi 4706 4707echo "$as_me:$LINENO: result: $bash_cv_func_sigsetjmp" >&5 4708echo "${ECHO_T}$bash_cv_func_sigsetjmp" >&6 4709if test $bash_cv_func_sigsetjmp = present; then 4710cat >>confdefs.h <<\_ACEOF 4711#define HAVE_POSIX_SIGSETJMP 1 4712_ACEOF 4713 4714fi 4715 4716echo "$as_me:$LINENO: checking for lstat" >&5 4717echo $ECHO_N "checking for lstat... $ECHO_C" >&6 4718if test "${bash_cv_func_lstat+set}" = set; then 4719 echo $ECHO_N "(cached) $ECHO_C" >&6 4720else 4721 cat >conftest.$ac_ext <<_ACEOF | 5536fi 5537fi 5538 5539echo "$as_me:$LINENO: result: $bash_cv_func_sigsetjmp" >&5 5540echo "${ECHO_T}$bash_cv_func_sigsetjmp" >&6 5541if test $bash_cv_func_sigsetjmp = present; then 5542cat >>confdefs.h <<\_ACEOF 5543#define HAVE_POSIX_SIGSETJMP 1 5544_ACEOF 5545 5546fi 5547 5548echo "$as_me:$LINENO: checking for lstat" >&5 5549echo $ECHO_N "checking for lstat... $ECHO_C" >&6 5550if test "${bash_cv_func_lstat+set}" = set; then 5551 echo $ECHO_N "(cached) $ECHO_C" >&6 5552else 5553 cat >conftest.$ac_ext <<_ACEOF |
4722#line $LINENO "configure" | |
4723/* confdefs.h. */ 4724_ACEOF 4725cat confdefs.h >>conftest.$ac_ext 4726cat >>conftest.$ac_ext <<_ACEOF 4727/* end confdefs.h. */ 4728 4729#include <sys/types.h> 4730#include <sys/stat.h> 4731 4732int 4733main () 4734{ 4735 lstat(".",(struct stat *)0); 4736 ; 4737 return 0; 4738} 4739_ACEOF 4740rm -f conftest.$ac_objext conftest$ac_exeext 4741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 5554/* confdefs.h. */ 5555_ACEOF 5556cat confdefs.h >>conftest.$ac_ext 5557cat >>conftest.$ac_ext <<_ACEOF 5558/* end confdefs.h. */ 5559 5560#include <sys/types.h> 5561#include <sys/stat.h> 5562 5563int 5564main () 5565{ 5566 lstat(".",(struct stat *)0); 5567 ; 5568 return 0; 5569} 5570_ACEOF 5571rm -f conftest.$ac_objext conftest$ac_exeext 5572if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4742 (eval $ac_link) 2>&5 | 5573 (eval $ac_link) 2>conftest.er1 |
4743 ac_status=$? | 5574 ac_status=$? |
5575 grep -v '^ *+' conftest.er1 >conftest.err 5576 rm -f conftest.er1 5577 cat conftest.err >&5 |
|
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4745 (exit $ac_status); } && | 5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5579 (exit $ac_status); } && |
4746 { ac_try='test -s conftest$ac_exeext' | 5580 { ac_try='test -z "$ac_c_werror_flag" 5581 || test ! -s conftest.err' |
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4748 (eval $ac_try) 2>&5 4749 ac_status=$? 4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5583 (eval $ac_try) 2>&5 5584 ac_status=$? 5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5586 (exit $ac_status); }; } && 5587 { ac_try='test -s conftest$ac_exeext' 5588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5589 (eval $ac_try) 2>&5 5590 ac_status=$? 5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4751 (exit $ac_status); }; }; then 4752 bash_cv_func_lstat=yes 4753else 4754 echo "$as_me: failed program was:" >&5 4755sed 's/^/| /' conftest.$ac_ext >&5 4756 4757bash_cv_func_lstat=no 4758fi | 5592 (exit $ac_status); }; }; then 5593 bash_cv_func_lstat=yes 5594else 5595 echo "$as_me: failed program was:" >&5 5596sed 's/^/| /' conftest.$ac_ext >&5 5597 5598bash_cv_func_lstat=no 5599fi |
4759rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 5600rm -f conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext |
4760fi 4761echo "$as_me:$LINENO: result: $bash_cv_func_lstat" >&5 4762echo "${ECHO_T}$bash_cv_func_lstat" >&6 4763if test $bash_cv_func_lstat = yes; then 4764 cat >>confdefs.h <<\_ACEOF 4765#define HAVE_LSTAT 1 4766_ACEOF 4767 --- 7 unchanged lines hidden (view full) --- 4775else 4776 if test "$cross_compiling" = yes; then 4777 { echo "$as_me:$LINENO: WARNING: cannot check strcoll if cross compiling -- defaulting to no" >&5 4778echo "$as_me: WARNING: cannot check strcoll if cross compiling -- defaulting to no" >&2;} 4779 bash_cv_func_strcoll_broken=no 4780 4781else 4782 cat >conftest.$ac_ext <<_ACEOF | 5602fi 5603echo "$as_me:$LINENO: result: $bash_cv_func_lstat" >&5 5604echo "${ECHO_T}$bash_cv_func_lstat" >&6 5605if test $bash_cv_func_lstat = yes; then 5606 cat >>confdefs.h <<\_ACEOF 5607#define HAVE_LSTAT 1 5608_ACEOF 5609 --- 7 unchanged lines hidden (view full) --- 5617else 5618 if test "$cross_compiling" = yes; then 5619 { echo "$as_me:$LINENO: WARNING: cannot check strcoll if cross compiling -- defaulting to no" >&5 5620echo "$as_me: WARNING: cannot check strcoll if cross compiling -- defaulting to no" >&2;} 5621 bash_cv_func_strcoll_broken=no 5622 5623else 5624 cat >conftest.$ac_ext <<_ACEOF |
4783#line $LINENO "configure" | |
4784/* confdefs.h. */ 4785_ACEOF 4786cat confdefs.h >>conftest.$ac_ext 4787cat >>conftest.$ac_ext <<_ACEOF 4788/* end confdefs.h. */ 4789 4790#include <stdio.h> 4791#if defined (HAVE_LOCALE_H) --- 46 unchanged lines hidden (view full) --- 4838else 4839 echo "$as_me: program exited with status $ac_status" >&5 4840echo "$as_me: failed program was:" >&5 4841sed 's/^/| /' conftest.$ac_ext >&5 4842 4843( exit $ac_status ) 4844bash_cv_func_strcoll_broken=no 4845fi | 5625/* confdefs.h. */ 5626_ACEOF 5627cat confdefs.h >>conftest.$ac_ext 5628cat >>conftest.$ac_ext <<_ACEOF 5629/* end confdefs.h. */ 5630 5631#include <stdio.h> 5632#if defined (HAVE_LOCALE_H) --- 46 unchanged lines hidden (view full) --- 5679else 5680 echo "$as_me: program exited with status $ac_status" >&5 5681echo "$as_me: failed program was:" >&5 5682sed 's/^/| /' conftest.$ac_ext >&5 5683 5684( exit $ac_status ) 5685bash_cv_func_strcoll_broken=no 5686fi |
4846rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5687rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4847fi 4848fi 4849 4850echo "$as_me:$LINENO: result: $bash_cv_func_strcoll_broken" >&5 4851echo "${ECHO_T}$bash_cv_func_strcoll_broken" >&6 4852if test $bash_cv_func_strcoll_broken = yes; then 4853cat >>confdefs.h <<\_ACEOF 4854#define STRCOLL_BROKEN 1 --- 9 unchanged lines hidden (view full) --- 4864else 4865 if test "$cross_compiling" = yes; then 4866 { echo "$as_me:$LINENO: WARNING: cannot check ctype macros if cross compiling -- defaulting to no" >&5 4867echo "$as_me: WARNING: cannot check ctype macros if cross compiling -- defaulting to no" >&2;} 4868 bash_cv_func_ctype_nonascii=no 4869 4870else 4871 cat >conftest.$ac_ext <<_ACEOF | 5688fi 5689fi 5690 5691echo "$as_me:$LINENO: result: $bash_cv_func_strcoll_broken" >&5 5692echo "${ECHO_T}$bash_cv_func_strcoll_broken" >&6 5693if test $bash_cv_func_strcoll_broken = yes; then 5694cat >>confdefs.h <<\_ACEOF 5695#define STRCOLL_BROKEN 1 --- 9 unchanged lines hidden (view full) --- 5705else 5706 if test "$cross_compiling" = yes; then 5707 { echo "$as_me:$LINENO: WARNING: cannot check ctype macros if cross compiling -- defaulting to no" >&5 5708echo "$as_me: WARNING: cannot check ctype macros if cross compiling -- defaulting to no" >&2;} 5709 bash_cv_func_ctype_nonascii=no 5710 5711else 5712 cat >conftest.$ac_ext <<_ACEOF |
4872#line $LINENO "configure" | |
4873/* confdefs.h. */ 4874_ACEOF 4875cat confdefs.h >>conftest.$ac_ext 4876cat >>conftest.$ac_ext <<_ACEOF 4877/* end confdefs.h. */ 4878 4879#ifdef HAVE_LOCALE_H 4880#include <locale.h> --- 41 unchanged lines hidden (view full) --- 4922else 4923 echo "$as_me: program exited with status $ac_status" >&5 4924echo "$as_me: failed program was:" >&5 4925sed 's/^/| /' conftest.$ac_ext >&5 4926 4927( exit $ac_status ) 4928bash_cv_func_ctype_nonascii=no 4929fi | 5713/* confdefs.h. */ 5714_ACEOF 5715cat confdefs.h >>conftest.$ac_ext 5716cat >>conftest.$ac_ext <<_ACEOF 5717/* end confdefs.h. */ 5718 5719#ifdef HAVE_LOCALE_H 5720#include <locale.h> --- 41 unchanged lines hidden (view full) --- 5762else 5763 echo "$as_me: program exited with status $ac_status" >&5 5764echo "$as_me: failed program was:" >&5 5765sed 's/^/| /' conftest.$ac_ext >&5 5766 5767( exit $ac_status ) 5768bash_cv_func_ctype_nonascii=no 5769fi |
4930rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 5770rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4931fi 4932fi 4933 4934echo "$as_me:$LINENO: result: $bash_cv_func_ctype_nonascii" >&5 4935echo "${ECHO_T}$bash_cv_func_ctype_nonascii" >&6 4936if test $bash_cv_func_ctype_nonascii = yes; then 4937cat >>confdefs.h <<\_ACEOF 4938#define CTYPE_NON_ASCII 1 4939_ACEOF 4940 4941fi 4942 4943 4944echo "$as_me:$LINENO: checking whether getpw functions are declared in pwd.h" >&5 4945echo $ECHO_N "checking whether getpw functions are declared in pwd.h... $ECHO_C" >&6 4946if test "${bash_cv_getpw_declared+set}" = set; then 4947 echo $ECHO_N "(cached) $ECHO_C" >&6 4948else 4949 cat >conftest.$ac_ext <<_ACEOF | 5771fi 5772fi 5773 5774echo "$as_me:$LINENO: result: $bash_cv_func_ctype_nonascii" >&5 5775echo "${ECHO_T}$bash_cv_func_ctype_nonascii" >&6 5776if test $bash_cv_func_ctype_nonascii = yes; then 5777cat >>confdefs.h <<\_ACEOF 5778#define CTYPE_NON_ASCII 1 5779_ACEOF 5780 5781fi 5782 5783 5784echo "$as_me:$LINENO: checking whether getpw functions are declared in pwd.h" >&5 5785echo $ECHO_N "checking whether getpw functions are declared in pwd.h... $ECHO_C" >&6 5786if test "${bash_cv_getpw_declared+set}" = set; then 5787 echo $ECHO_N "(cached) $ECHO_C" >&6 5788else 5789 cat >conftest.$ac_ext <<_ACEOF |
4950#line $LINENO "configure" | |
4951/* confdefs.h. */ 4952_ACEOF 4953cat confdefs.h >>conftest.$ac_ext 4954cat >>conftest.$ac_ext <<_ACEOF 4955/* end confdefs.h. */ 4956 4957#include <sys/types.h> 4958#ifdef HAVE_UNISTD_H --- 23 unchanged lines hidden (view full) --- 4982 4983 4984echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5 4985echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6 4986if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then 4987 echo $ECHO_N "(cached) $ECHO_C" >&6 4988else 4989 cat >conftest.$ac_ext <<_ACEOF | 5790/* confdefs.h. */ 5791_ACEOF 5792cat confdefs.h >>conftest.$ac_ext 5793cat >>conftest.$ac_ext <<_ACEOF 5794/* end confdefs.h. */ 5795 5796#include <sys/types.h> 5797#ifdef HAVE_UNISTD_H --- 23 unchanged lines hidden (view full) --- 5821 5822 5823echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5 5824echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6 5825if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then 5826 echo $ECHO_N "(cached) $ECHO_C" >&6 5827else 5828 cat >conftest.$ac_ext <<_ACEOF |
4990#line $LINENO "configure" | |
4991/* confdefs.h. */ 4992_ACEOF 4993cat confdefs.h >>conftest.$ac_ext 4994cat >>conftest.$ac_ext <<_ACEOF 4995/* end confdefs.h. */ 4996#include <sys/types.h> 4997#include <termios.h> 4998#ifdef TIOCGWINSZ --- 15 unchanged lines hidden (view full) --- 5014 5015if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then 5016 echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 5017echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6 5018if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then 5019 echo $ECHO_N "(cached) $ECHO_C" >&6 5020else 5021 cat >conftest.$ac_ext <<_ACEOF | 5829/* confdefs.h. */ 5830_ACEOF 5831cat confdefs.h >>conftest.$ac_ext 5832cat >>conftest.$ac_ext <<_ACEOF 5833/* end confdefs.h. */ 5834#include <sys/types.h> 5835#include <termios.h> 5836#ifdef TIOCGWINSZ --- 15 unchanged lines hidden (view full) --- 5852 5853if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then 5854 echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5 5855echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6 5856if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then 5857 echo $ECHO_N "(cached) $ECHO_C" >&6 5858else 5859 cat >conftest.$ac_ext <<_ACEOF |
5022#line $LINENO "configure" | |
5023/* confdefs.h. */ 5024_ACEOF 5025cat confdefs.h >>conftest.$ac_ext 5026cat >>conftest.$ac_ext <<_ACEOF 5027/* end confdefs.h. */ 5028#include <sys/types.h> 5029#include <sys/ioctl.h> 5030#ifdef TIOCGWINSZ --- 24 unchanged lines hidden (view full) --- 5055 5056 5057echo "$as_me:$LINENO: checking whether signal handlers are of type void" >&5 5058echo $ECHO_N "checking whether signal handlers are of type void... $ECHO_C" >&6 5059if test "${bash_cv_void_sighandler+set}" = set; then 5060 echo $ECHO_N "(cached) $ECHO_C" >&6 5061else 5062 cat >conftest.$ac_ext <<_ACEOF | 5860/* confdefs.h. */ 5861_ACEOF 5862cat confdefs.h >>conftest.$ac_ext 5863cat >>conftest.$ac_ext <<_ACEOF 5864/* end confdefs.h. */ 5865#include <sys/types.h> 5866#include <sys/ioctl.h> 5867#ifdef TIOCGWINSZ --- 24 unchanged lines hidden (view full) --- 5892 5893 5894echo "$as_me:$LINENO: checking whether signal handlers are of type void" >&5 5895echo $ECHO_N "checking whether signal handlers are of type void... $ECHO_C" >&6 5896if test "${bash_cv_void_sighandler+set}" = set; then 5897 echo $ECHO_N "(cached) $ECHO_C" >&6 5898else 5899 cat >conftest.$ac_ext <<_ACEOF |
5063#line $LINENO "configure" | |
5064/* confdefs.h. */ 5065_ACEOF 5066cat confdefs.h >>conftest.$ac_ext 5067cat >>conftest.$ac_ext <<_ACEOF 5068/* end confdefs.h. */ 5069#include <sys/types.h> 5070#include <signal.h> 5071#ifdef signal --- 8 unchanged lines hidden (view full) --- 5080{ 5081int i; 5082 ; 5083 return 0; 5084} 5085_ACEOF 5086rm -f conftest.$ac_objext 5087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5900/* confdefs.h. */ 5901_ACEOF 5902cat confdefs.h >>conftest.$ac_ext 5903cat >>conftest.$ac_ext <<_ACEOF 5904/* end confdefs.h. */ 5905#include <sys/types.h> 5906#include <signal.h> 5907#ifdef signal --- 8 unchanged lines hidden (view full) --- 5916{ 5917int i; 5918 ; 5919 return 0; 5920} 5921_ACEOF 5922rm -f conftest.$ac_objext 5923if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5088 (eval $ac_compile) 2>&5 | 5924 (eval $ac_compile) 2>conftest.er1 |
5089 ac_status=$? | 5925 ac_status=$? |
5926 grep -v '^ *+' conftest.er1 >conftest.err 5927 rm -f conftest.er1 5928 cat conftest.err >&5 |
|
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5091 (exit $ac_status); } && | 5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5930 (exit $ac_status); } && |
5092 { ac_try='test -s conftest.$ac_objext' | 5931 { ac_try='test -z "$ac_c_werror_flag" 5932 || test ! -s conftest.err' |
5093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5094 (eval $ac_try) 2>&5 5095 ac_status=$? 5096 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5934 (eval $ac_try) 2>&5 5935 ac_status=$? 5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5937 (exit $ac_status); }; } && 5938 { ac_try='test -s conftest.$ac_objext' 5939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5940 (eval $ac_try) 2>&5 5941 ac_status=$? 5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5097 (exit $ac_status); }; }; then 5098 bash_cv_void_sighandler=yes 5099else 5100 echo "$as_me: failed program was:" >&5 5101sed 's/^/| /' conftest.$ac_ext >&5 5102 5103bash_cv_void_sighandler=no 5104fi | 5943 (exit $ac_status); }; }; then 5944 bash_cv_void_sighandler=yes 5945else 5946 echo "$as_me: failed program was:" >&5 5947sed 's/^/| /' conftest.$ac_ext >&5 5948 5949bash_cv_void_sighandler=no 5950fi |
5105rm -f conftest.$ac_objext conftest.$ac_ext | 5951rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5106fi 5107echo "$as_me:$LINENO: result: $bash_cv_void_sighandler" >&5 5108echo "${ECHO_T}$bash_cv_void_sighandler" >&6 5109if test $bash_cv_void_sighandler = yes; then 5110cat >>confdefs.h <<\_ACEOF 5111#define VOID_SIGHANDLER 1 5112_ACEOF 5113 5114fi 5115 5116echo "$as_me:$LINENO: checking for TIOCSTAT in sys/ioctl.h" >&5 5117echo $ECHO_N "checking for TIOCSTAT in sys/ioctl.h... $ECHO_C" >&6 5118if test "${bash_cv_tiocstat_in_ioctl+set}" = set; then 5119 echo $ECHO_N "(cached) $ECHO_C" >&6 5120else 5121 cat >conftest.$ac_ext <<_ACEOF | 5952fi 5953echo "$as_me:$LINENO: result: $bash_cv_void_sighandler" >&5 5954echo "${ECHO_T}$bash_cv_void_sighandler" >&6 5955if test $bash_cv_void_sighandler = yes; then 5956cat >>confdefs.h <<\_ACEOF 5957#define VOID_SIGHANDLER 1 5958_ACEOF 5959 5960fi 5961 5962echo "$as_me:$LINENO: checking for TIOCSTAT in sys/ioctl.h" >&5 5963echo $ECHO_N "checking for TIOCSTAT in sys/ioctl.h... $ECHO_C" >&6 5964if test "${bash_cv_tiocstat_in_ioctl+set}" = set; then 5965 echo $ECHO_N "(cached) $ECHO_C" >&6 5966else 5967 cat >conftest.$ac_ext <<_ACEOF |
5122#line $LINENO "configure" | |
5123/* confdefs.h. */ 5124_ACEOF 5125cat confdefs.h >>conftest.$ac_ext 5126cat >>conftest.$ac_ext <<_ACEOF 5127/* end confdefs.h. */ 5128#include <sys/types.h> 5129#include <sys/ioctl.h> 5130int 5131main () 5132{ 5133int x = TIOCSTAT; 5134 ; 5135 return 0; 5136} 5137_ACEOF 5138rm -f conftest.$ac_objext 5139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 5968/* confdefs.h. */ 5969_ACEOF 5970cat confdefs.h >>conftest.$ac_ext 5971cat >>conftest.$ac_ext <<_ACEOF 5972/* end confdefs.h. */ 5973#include <sys/types.h> 5974#include <sys/ioctl.h> 5975int 5976main () 5977{ 5978int x = TIOCSTAT; 5979 ; 5980 return 0; 5981} 5982_ACEOF 5983rm -f conftest.$ac_objext 5984if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5140 (eval $ac_compile) 2>&5 | 5985 (eval $ac_compile) 2>conftest.er1 |
5141 ac_status=$? | 5986 ac_status=$? |
5987 grep -v '^ *+' conftest.er1 >conftest.err 5988 rm -f conftest.er1 5989 cat conftest.err >&5 |
|
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5143 (exit $ac_status); } && | 5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5991 (exit $ac_status); } && |
5144 { ac_try='test -s conftest.$ac_objext' | 5992 { ac_try='test -z "$ac_c_werror_flag" 5993 || test ! -s conftest.err' |
5145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5146 (eval $ac_try) 2>&5 5147 ac_status=$? 5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5995 (eval $ac_try) 2>&5 5996 ac_status=$? 5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5998 (exit $ac_status); }; } && 5999 { ac_try='test -s conftest.$ac_objext' 6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6001 (eval $ac_try) 2>&5 6002 ac_status=$? 6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5149 (exit $ac_status); }; }; then 5150 bash_cv_tiocstat_in_ioctl=yes 5151else 5152 echo "$as_me: failed program was:" >&5 5153sed 's/^/| /' conftest.$ac_ext >&5 5154 5155bash_cv_tiocstat_in_ioctl=no 5156fi | 6004 (exit $ac_status); }; }; then 6005 bash_cv_tiocstat_in_ioctl=yes 6006else 6007 echo "$as_me: failed program was:" >&5 6008sed 's/^/| /' conftest.$ac_ext >&5 6009 6010bash_cv_tiocstat_in_ioctl=no 6011fi |
5157rm -f conftest.$ac_objext conftest.$ac_ext | 6012rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5158fi 5159 5160echo "$as_me:$LINENO: result: $bash_cv_tiocstat_in_ioctl" >&5 5161echo "${ECHO_T}$bash_cv_tiocstat_in_ioctl" >&6 5162if test $bash_cv_tiocstat_in_ioctl = yes; then 5163cat >>confdefs.h <<\_ACEOF 5164#define TIOCSTAT_IN_SYS_IOCTL 1 5165_ACEOF 5166 5167fi 5168 5169echo "$as_me:$LINENO: checking for FIONREAD in sys/ioctl.h" >&5 5170echo $ECHO_N "checking for FIONREAD in sys/ioctl.h... $ECHO_C" >&6 5171if test "${bash_cv_fionread_in_ioctl+set}" = set; then 5172 echo $ECHO_N "(cached) $ECHO_C" >&6 5173else 5174 cat >conftest.$ac_ext <<_ACEOF | 6013fi 6014 6015echo "$as_me:$LINENO: result: $bash_cv_tiocstat_in_ioctl" >&5 6016echo "${ECHO_T}$bash_cv_tiocstat_in_ioctl" >&6 6017if test $bash_cv_tiocstat_in_ioctl = yes; then 6018cat >>confdefs.h <<\_ACEOF 6019#define TIOCSTAT_IN_SYS_IOCTL 1 6020_ACEOF 6021 6022fi 6023 6024echo "$as_me:$LINENO: checking for FIONREAD in sys/ioctl.h" >&5 6025echo $ECHO_N "checking for FIONREAD in sys/ioctl.h... $ECHO_C" >&6 6026if test "${bash_cv_fionread_in_ioctl+set}" = set; then 6027 echo $ECHO_N "(cached) $ECHO_C" >&6 6028else 6029 cat >conftest.$ac_ext <<_ACEOF |
5175#line $LINENO "configure" | |
5176/* confdefs.h. */ 5177_ACEOF 5178cat confdefs.h >>conftest.$ac_ext 5179cat >>conftest.$ac_ext <<_ACEOF 5180/* end confdefs.h. */ 5181#include <sys/types.h> 5182#include <sys/ioctl.h> 5183int 5184main () 5185{ 5186int x = FIONREAD; 5187 ; 5188 return 0; 5189} 5190_ACEOF 5191rm -f conftest.$ac_objext 5192if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6030/* confdefs.h. */ 6031_ACEOF 6032cat confdefs.h >>conftest.$ac_ext 6033cat >>conftest.$ac_ext <<_ACEOF 6034/* end confdefs.h. */ 6035#include <sys/types.h> 6036#include <sys/ioctl.h> 6037int 6038main () 6039{ 6040int x = FIONREAD; 6041 ; 6042 return 0; 6043} 6044_ACEOF 6045rm -f conftest.$ac_objext 6046if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5193 (eval $ac_compile) 2>&5 | 6047 (eval $ac_compile) 2>conftest.er1 |
5194 ac_status=$? | 6048 ac_status=$? |
6049 grep -v '^ *+' conftest.er1 >conftest.err 6050 rm -f conftest.er1 6051 cat conftest.err >&5 |
|
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5196 (exit $ac_status); } && | 6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6053 (exit $ac_status); } && |
5197 { ac_try='test -s conftest.$ac_objext' | 6054 { ac_try='test -z "$ac_c_werror_flag" 6055 || test ! -s conftest.err' |
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5199 (eval $ac_try) 2>&5 5200 ac_status=$? 5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6057 (eval $ac_try) 2>&5 6058 ac_status=$? 6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6060 (exit $ac_status); }; } && 6061 { ac_try='test -s conftest.$ac_objext' 6062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6063 (eval $ac_try) 2>&5 6064 ac_status=$? 6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5202 (exit $ac_status); }; }; then 5203 bash_cv_fionread_in_ioctl=yes 5204else 5205 echo "$as_me: failed program was:" >&5 5206sed 's/^/| /' conftest.$ac_ext >&5 5207 5208bash_cv_fionread_in_ioctl=no 5209fi | 6066 (exit $ac_status); }; }; then 6067 bash_cv_fionread_in_ioctl=yes 6068else 6069 echo "$as_me: failed program was:" >&5 6070sed 's/^/| /' conftest.$ac_ext >&5 6071 6072bash_cv_fionread_in_ioctl=no 6073fi |
5210rm -f conftest.$ac_objext conftest.$ac_ext | 6074rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5211fi 5212 5213echo "$as_me:$LINENO: result: $bash_cv_fionread_in_ioctl" >&5 5214echo "${ECHO_T}$bash_cv_fionread_in_ioctl" >&6 5215if test $bash_cv_fionread_in_ioctl = yes; then 5216cat >>confdefs.h <<\_ACEOF 5217#define FIONREAD_IN_SYS_IOCTL 1 5218_ACEOF 5219 5220fi 5221 5222echo "$as_me:$LINENO: checking for speed_t in sys/types.h" >&5 5223echo $ECHO_N "checking for speed_t in sys/types.h... $ECHO_C" >&6 5224if test "${bash_cv_speed_t_in_sys_types+set}" = set; then 5225 echo $ECHO_N "(cached) $ECHO_C" >&6 5226else 5227 cat >conftest.$ac_ext <<_ACEOF | 6075fi 6076 6077echo "$as_me:$LINENO: result: $bash_cv_fionread_in_ioctl" >&5 6078echo "${ECHO_T}$bash_cv_fionread_in_ioctl" >&6 6079if test $bash_cv_fionread_in_ioctl = yes; then 6080cat >>confdefs.h <<\_ACEOF 6081#define FIONREAD_IN_SYS_IOCTL 1 6082_ACEOF 6083 6084fi 6085 6086echo "$as_me:$LINENO: checking for speed_t in sys/types.h" >&5 6087echo $ECHO_N "checking for speed_t in sys/types.h... $ECHO_C" >&6 6088if test "${bash_cv_speed_t_in_sys_types+set}" = set; then 6089 echo $ECHO_N "(cached) $ECHO_C" >&6 6090else 6091 cat >conftest.$ac_ext <<_ACEOF |
5228#line $LINENO "configure" | |
5229/* confdefs.h. */ 5230_ACEOF 5231cat confdefs.h >>conftest.$ac_ext 5232cat >>conftest.$ac_ext <<_ACEOF 5233/* end confdefs.h. */ 5234#include <sys/types.h> 5235int 5236main () 5237{ 5238speed_t x; 5239 ; 5240 return 0; 5241} 5242_ACEOF 5243rm -f conftest.$ac_objext 5244if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6092/* confdefs.h. */ 6093_ACEOF 6094cat confdefs.h >>conftest.$ac_ext 6095cat >>conftest.$ac_ext <<_ACEOF 6096/* end confdefs.h. */ 6097#include <sys/types.h> 6098int 6099main () 6100{ 6101speed_t x; 6102 ; 6103 return 0; 6104} 6105_ACEOF 6106rm -f conftest.$ac_objext 6107if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5245 (eval $ac_compile) 2>&5 | 6108 (eval $ac_compile) 2>conftest.er1 |
5246 ac_status=$? | 6109 ac_status=$? |
6110 grep -v '^ *+' conftest.er1 >conftest.err 6111 rm -f conftest.er1 6112 cat conftest.err >&5 |
|
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5248 (exit $ac_status); } && | 6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6114 (exit $ac_status); } && |
5249 { ac_try='test -s conftest.$ac_objext' | 6115 { ac_try='test -z "$ac_c_werror_flag" 6116 || test ! -s conftest.err' |
5250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5251 (eval $ac_try) 2>&5 5252 ac_status=$? 5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6118 (eval $ac_try) 2>&5 6119 ac_status=$? 6120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6121 (exit $ac_status); }; } && 6122 { ac_try='test -s conftest.$ac_objext' 6123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6124 (eval $ac_try) 2>&5 6125 ac_status=$? 6126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5254 (exit $ac_status); }; }; then 5255 bash_cv_speed_t_in_sys_types=yes 5256else 5257 echo "$as_me: failed program was:" >&5 5258sed 's/^/| /' conftest.$ac_ext >&5 5259 5260bash_cv_speed_t_in_sys_types=no 5261fi | 6127 (exit $ac_status); }; }; then 6128 bash_cv_speed_t_in_sys_types=yes 6129else 6130 echo "$as_me: failed program was:" >&5 6131sed 's/^/| /' conftest.$ac_ext >&5 6132 6133bash_cv_speed_t_in_sys_types=no 6134fi |
5262rm -f conftest.$ac_objext conftest.$ac_ext | 6135rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5263fi 5264 5265echo "$as_me:$LINENO: result: $bash_cv_speed_t_in_sys_types" >&5 5266echo "${ECHO_T}$bash_cv_speed_t_in_sys_types" >&6 5267if test $bash_cv_speed_t_in_sys_types = yes; then 5268cat >>confdefs.h <<\_ACEOF 5269#define SPEED_T_IN_SYS_TYPES 1 5270_ACEOF 5271 5272fi 5273 5274echo "$as_me:$LINENO: checking for struct winsize in sys/ioctl.h and termios.h" >&5 5275echo $ECHO_N "checking for struct winsize in sys/ioctl.h and termios.h... $ECHO_C" >&6 5276if test "${bash_cv_struct_winsize_header+set}" = set; then 5277 echo $ECHO_N "(cached) $ECHO_C" >&6 5278else 5279 cat >conftest.$ac_ext <<_ACEOF | 6136fi 6137 6138echo "$as_me:$LINENO: result: $bash_cv_speed_t_in_sys_types" >&5 6139echo "${ECHO_T}$bash_cv_speed_t_in_sys_types" >&6 6140if test $bash_cv_speed_t_in_sys_types = yes; then 6141cat >>confdefs.h <<\_ACEOF 6142#define SPEED_T_IN_SYS_TYPES 1 6143_ACEOF 6144 6145fi 6146 6147echo "$as_me:$LINENO: checking for struct winsize in sys/ioctl.h and termios.h" >&5 6148echo $ECHO_N "checking for struct winsize in sys/ioctl.h and termios.h... $ECHO_C" >&6 6149if test "${bash_cv_struct_winsize_header+set}" = set; then 6150 echo $ECHO_N "(cached) $ECHO_C" >&6 6151else 6152 cat >conftest.$ac_ext <<_ACEOF |
5280#line $LINENO "configure" | |
5281/* confdefs.h. */ 5282_ACEOF 5283cat confdefs.h >>conftest.$ac_ext 5284cat >>conftest.$ac_ext <<_ACEOF 5285/* end confdefs.h. */ 5286#include <sys/types.h> 5287#include <sys/ioctl.h> 5288int 5289main () 5290{ 5291struct winsize x; 5292 ; 5293 return 0; 5294} 5295_ACEOF 5296rm -f conftest.$ac_objext 5297if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6153/* confdefs.h. */ 6154_ACEOF 6155cat confdefs.h >>conftest.$ac_ext 6156cat >>conftest.$ac_ext <<_ACEOF 6157/* end confdefs.h. */ 6158#include <sys/types.h> 6159#include <sys/ioctl.h> 6160int 6161main () 6162{ 6163struct winsize x; 6164 ; 6165 return 0; 6166} 6167_ACEOF 6168rm -f conftest.$ac_objext 6169if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5298 (eval $ac_compile) 2>&5 | 6170 (eval $ac_compile) 2>conftest.er1 |
5299 ac_status=$? | 6171 ac_status=$? |
6172 grep -v '^ *+' conftest.er1 >conftest.err 6173 rm -f conftest.er1 6174 cat conftest.err >&5 |
|
5300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5301 (exit $ac_status); } && | 6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6176 (exit $ac_status); } && |
5302 { ac_try='test -s conftest.$ac_objext' | 6177 { ac_try='test -z "$ac_c_werror_flag" 6178 || test ! -s conftest.err' |
5303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5304 (eval $ac_try) 2>&5 5305 ac_status=$? 5306 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6180 (eval $ac_try) 2>&5 6181 ac_status=$? 6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6183 (exit $ac_status); }; } && 6184 { ac_try='test -s conftest.$ac_objext' 6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6186 (eval $ac_try) 2>&5 6187 ac_status=$? 6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5307 (exit $ac_status); }; }; then 5308 bash_cv_struct_winsize_header=ioctl_h 5309else 5310 echo "$as_me: failed program was:" >&5 5311sed 's/^/| /' conftest.$ac_ext >&5 5312 5313cat >conftest.$ac_ext <<_ACEOF | 6189 (exit $ac_status); }; }; then 6190 bash_cv_struct_winsize_header=ioctl_h 6191else 6192 echo "$as_me: failed program was:" >&5 6193sed 's/^/| /' conftest.$ac_ext >&5 6194 6195cat >conftest.$ac_ext <<_ACEOF |
5314#line $LINENO "configure" | |
5315/* confdefs.h. */ 5316_ACEOF 5317cat confdefs.h >>conftest.$ac_ext 5318cat >>conftest.$ac_ext <<_ACEOF 5319/* end confdefs.h. */ 5320#include <sys/types.h> 5321#include <termios.h> 5322int 5323main () 5324{ 5325struct winsize x; 5326 ; 5327 return 0; 5328} 5329_ACEOF 5330rm -f conftest.$ac_objext 5331if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6196/* confdefs.h. */ 6197_ACEOF 6198cat confdefs.h >>conftest.$ac_ext 6199cat >>conftest.$ac_ext <<_ACEOF 6200/* end confdefs.h. */ 6201#include <sys/types.h> 6202#include <termios.h> 6203int 6204main () 6205{ 6206struct winsize x; 6207 ; 6208 return 0; 6209} 6210_ACEOF 6211rm -f conftest.$ac_objext 6212if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5332 (eval $ac_compile) 2>&5 | 6213 (eval $ac_compile) 2>conftest.er1 |
5333 ac_status=$? | 6214 ac_status=$? |
6215 grep -v '^ *+' conftest.er1 >conftest.err 6216 rm -f conftest.er1 6217 cat conftest.err >&5 |
|
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5335 (exit $ac_status); } && | 6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6219 (exit $ac_status); } && |
5336 { ac_try='test -s conftest.$ac_objext' | 6220 { ac_try='test -z "$ac_c_werror_flag" 6221 || test ! -s conftest.err' |
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5338 (eval $ac_try) 2>&5 5339 ac_status=$? 5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6223 (eval $ac_try) 2>&5 6224 ac_status=$? 6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6226 (exit $ac_status); }; } && 6227 { ac_try='test -s conftest.$ac_objext' 6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6229 (eval $ac_try) 2>&5 6230 ac_status=$? 6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5341 (exit $ac_status); }; }; then 5342 bash_cv_struct_winsize_header=termios_h 5343else 5344 echo "$as_me: failed program was:" >&5 5345sed 's/^/| /' conftest.$ac_ext >&5 5346 5347bash_cv_struct_winsize_header=other 5348fi | 6232 (exit $ac_status); }; }; then 6233 bash_cv_struct_winsize_header=termios_h 6234else 6235 echo "$as_me: failed program was:" >&5 6236sed 's/^/| /' conftest.$ac_ext >&5 6237 6238bash_cv_struct_winsize_header=other 6239fi |
5349rm -f conftest.$ac_objext conftest.$ac_ext | 6240rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5350 5351fi | 6241 6242fi |
5352rm -f conftest.$ac_objext conftest.$ac_ext | 6243rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5353fi 5354 5355if test $bash_cv_struct_winsize_header = ioctl_h; then 5356 echo "$as_me:$LINENO: result: sys/ioctl.h" >&5 5357echo "${ECHO_T}sys/ioctl.h" >&6 5358 cat >>confdefs.h <<\_ACEOF 5359#define STRUCT_WINSIZE_IN_SYS_IOCTL 1 5360_ACEOF --- 12 unchanged lines hidden (view full) --- 5373 5374 5375echo "$as_me:$LINENO: checking for struct dirent.d_ino" >&5 5376echo $ECHO_N "checking for struct dirent.d_ino... $ECHO_C" >&6 5377if test "${bash_cv_dirent_has_dino+set}" = set; then 5378 echo $ECHO_N "(cached) $ECHO_C" >&6 5379else 5380 cat >conftest.$ac_ext <<_ACEOF | 6244fi 6245 6246if test $bash_cv_struct_winsize_header = ioctl_h; then 6247 echo "$as_me:$LINENO: result: sys/ioctl.h" >&5 6248echo "${ECHO_T}sys/ioctl.h" >&6 6249 cat >>confdefs.h <<\_ACEOF 6250#define STRUCT_WINSIZE_IN_SYS_IOCTL 1 6251_ACEOF --- 12 unchanged lines hidden (view full) --- 6264 6265 6266echo "$as_me:$LINENO: checking for struct dirent.d_ino" >&5 6267echo $ECHO_N "checking for struct dirent.d_ino... $ECHO_C" >&6 6268if test "${bash_cv_dirent_has_dino+set}" = set; then 6269 echo $ECHO_N "(cached) $ECHO_C" >&6 6270else 6271 cat >conftest.$ac_ext <<_ACEOF |
5381#line $LINENO "configure" | |
5382/* confdefs.h. */ 5383_ACEOF 5384cat confdefs.h >>conftest.$ac_ext 5385cat >>conftest.$ac_ext <<_ACEOF 5386/* end confdefs.h. */ 5387 5388#include <stdio.h> 5389#include <sys/types.h> --- 22 unchanged lines hidden (view full) --- 5412struct dirent d; int z; z = d.d_ino; 5413 5414 ; 5415 return 0; 5416} 5417_ACEOF 5418rm -f conftest.$ac_objext 5419if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6272/* confdefs.h. */ 6273_ACEOF 6274cat confdefs.h >>conftest.$ac_ext 6275cat >>conftest.$ac_ext <<_ACEOF 6276/* end confdefs.h. */ 6277 6278#include <stdio.h> 6279#include <sys/types.h> --- 22 unchanged lines hidden (view full) --- 6302struct dirent d; int z; z = d.d_ino; 6303 6304 ; 6305 return 0; 6306} 6307_ACEOF 6308rm -f conftest.$ac_objext 6309if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5420 (eval $ac_compile) 2>&5 | 6310 (eval $ac_compile) 2>conftest.er1 |
5421 ac_status=$? | 6311 ac_status=$? |
6312 grep -v '^ *+' conftest.er1 >conftest.err 6313 rm -f conftest.er1 6314 cat conftest.err >&5 |
|
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5423 (exit $ac_status); } && | 6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6316 (exit $ac_status); } && |
5424 { ac_try='test -s conftest.$ac_objext' | 6317 { ac_try='test -z "$ac_c_werror_flag" 6318 || test ! -s conftest.err' |
5425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5426 (eval $ac_try) 2>&5 5427 ac_status=$? 5428 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6320 (eval $ac_try) 2>&5 6321 ac_status=$? 6322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6323 (exit $ac_status); }; } && 6324 { ac_try='test -s conftest.$ac_objext' 6325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6326 (eval $ac_try) 2>&5 6327 ac_status=$? 6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5429 (exit $ac_status); }; }; then 5430 bash_cv_dirent_has_dino=yes 5431else 5432 echo "$as_me: failed program was:" >&5 5433sed 's/^/| /' conftest.$ac_ext >&5 5434 5435bash_cv_dirent_has_dino=no 5436fi | 6329 (exit $ac_status); }; }; then 6330 bash_cv_dirent_has_dino=yes 6331else 6332 echo "$as_me: failed program was:" >&5 6333sed 's/^/| /' conftest.$ac_ext >&5 6334 6335bash_cv_dirent_has_dino=no 6336fi |
5437rm -f conftest.$ac_objext conftest.$ac_ext | 6337rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5438fi 5439 5440echo "$as_me:$LINENO: result: $bash_cv_dirent_has_dino" >&5 5441echo "${ECHO_T}$bash_cv_dirent_has_dino" >&6 5442if test $bash_cv_dirent_has_dino = yes; then 5443cat >>confdefs.h <<\_ACEOF 5444#define HAVE_STRUCT_DIRENT_D_INO 1 5445_ACEOF 5446 5447fi 5448 5449 5450echo "$as_me:$LINENO: checking for struct dirent.d_fileno" >&5 5451echo $ECHO_N "checking for struct dirent.d_fileno... $ECHO_C" >&6 5452if test "${bash_cv_dirent_has_d_fileno+set}" = set; then 5453 echo $ECHO_N "(cached) $ECHO_C" >&6 5454else 5455 cat >conftest.$ac_ext <<_ACEOF | 6338fi 6339 6340echo "$as_me:$LINENO: result: $bash_cv_dirent_has_dino" >&5 6341echo "${ECHO_T}$bash_cv_dirent_has_dino" >&6 6342if test $bash_cv_dirent_has_dino = yes; then 6343cat >>confdefs.h <<\_ACEOF 6344#define HAVE_STRUCT_DIRENT_D_INO 1 6345_ACEOF 6346 6347fi 6348 6349 6350echo "$as_me:$LINENO: checking for struct dirent.d_fileno" >&5 6351echo $ECHO_N "checking for struct dirent.d_fileno... $ECHO_C" >&6 6352if test "${bash_cv_dirent_has_d_fileno+set}" = set; then 6353 echo $ECHO_N "(cached) $ECHO_C" >&6 6354else 6355 cat >conftest.$ac_ext <<_ACEOF |
5456#line $LINENO "configure" | |
5457/* confdefs.h. */ 5458_ACEOF 5459cat confdefs.h >>conftest.$ac_ext 5460cat >>conftest.$ac_ext <<_ACEOF 5461/* end confdefs.h. */ 5462 5463#include <stdio.h> 5464#include <sys/types.h> --- 22 unchanged lines hidden (view full) --- 5487struct dirent d; int z; z = d.d_fileno; 5488 5489 ; 5490 return 0; 5491} 5492_ACEOF 5493rm -f conftest.$ac_objext 5494if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6356/* confdefs.h. */ 6357_ACEOF 6358cat confdefs.h >>conftest.$ac_ext 6359cat >>conftest.$ac_ext <<_ACEOF 6360/* end confdefs.h. */ 6361 6362#include <stdio.h> 6363#include <sys/types.h> --- 22 unchanged lines hidden (view full) --- 6386struct dirent d; int z; z = d.d_fileno; 6387 6388 ; 6389 return 0; 6390} 6391_ACEOF 6392rm -f conftest.$ac_objext 6393if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5495 (eval $ac_compile) 2>&5 | 6394 (eval $ac_compile) 2>conftest.er1 |
5496 ac_status=$? | 6395 ac_status=$? |
6396 grep -v '^ *+' conftest.er1 >conftest.err 6397 rm -f conftest.er1 6398 cat conftest.err >&5 |
|
5497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5498 (exit $ac_status); } && | 6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6400 (exit $ac_status); } && |
5499 { ac_try='test -s conftest.$ac_objext' | 6401 { ac_try='test -z "$ac_c_werror_flag" 6402 || test ! -s conftest.err' |
5500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5501 (eval $ac_try) 2>&5 5502 ac_status=$? 5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6404 (eval $ac_try) 2>&5 6405 ac_status=$? 6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6407 (exit $ac_status); }; } && 6408 { ac_try='test -s conftest.$ac_objext' 6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6410 (eval $ac_try) 2>&5 6411 ac_status=$? 6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5504 (exit $ac_status); }; }; then 5505 bash_cv_dirent_has_d_fileno=yes 5506else 5507 echo "$as_me: failed program was:" >&5 5508sed 's/^/| /' conftest.$ac_ext >&5 5509 5510bash_cv_dirent_has_d_fileno=no 5511fi | 6413 (exit $ac_status); }; }; then 6414 bash_cv_dirent_has_d_fileno=yes 6415else 6416 echo "$as_me: failed program was:" >&5 6417sed 's/^/| /' conftest.$ac_ext >&5 6418 6419bash_cv_dirent_has_d_fileno=no 6420fi |
5512rm -f conftest.$ac_objext conftest.$ac_ext | 6421rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5513fi 5514 5515echo "$as_me:$LINENO: result: $bash_cv_dirent_has_d_fileno" >&5 5516echo "${ECHO_T}$bash_cv_dirent_has_d_fileno" >&6 5517if test $bash_cv_dirent_has_d_fileno = yes; then 5518cat >>confdefs.h <<\_ACEOF 5519#define HAVE_STRUCT_DIRENT_D_FILENO 1 5520_ACEOF --- 16 unchanged lines hidden (view full) --- 5537 echo $ECHO_N "(cached) $ECHO_C" >&6 5538else 5539 echo "$as_me:$LINENO: checking for tgetent" >&5 5540echo $ECHO_N "checking for tgetent... $ECHO_C" >&6 5541if test "${ac_cv_func_tgetent+set}" = set; then 5542 echo $ECHO_N "(cached) $ECHO_C" >&6 5543else 5544 cat >conftest.$ac_ext <<_ACEOF | 6422fi 6423 6424echo "$as_me:$LINENO: result: $bash_cv_dirent_has_d_fileno" >&5 6425echo "${ECHO_T}$bash_cv_dirent_has_d_fileno" >&6 6426if test $bash_cv_dirent_has_d_fileno = yes; then 6427cat >>confdefs.h <<\_ACEOF 6428#define HAVE_STRUCT_DIRENT_D_FILENO 1 6429_ACEOF --- 16 unchanged lines hidden (view full) --- 6446 echo $ECHO_N "(cached) $ECHO_C" >&6 6447else 6448 echo "$as_me:$LINENO: checking for tgetent" >&5 6449echo $ECHO_N "checking for tgetent... $ECHO_C" >&6 6450if test "${ac_cv_func_tgetent+set}" = set; then 6451 echo $ECHO_N "(cached) $ECHO_C" >&6 6452else 6453 cat >conftest.$ac_ext <<_ACEOF |
5545#line $LINENO "configure" | |
5546/* confdefs.h. */ 5547_ACEOF 5548cat confdefs.h >>conftest.$ac_ext 5549cat >>conftest.$ac_ext <<_ACEOF 5550/* end confdefs.h. */ | 6454/* confdefs.h. */ 6455_ACEOF 6456cat confdefs.h >>conftest.$ac_ext 6457cat >>conftest.$ac_ext <<_ACEOF 6458/* end confdefs.h. */ |
6459/* Define tgetent to an innocuous variant, in case <limits.h> declares tgetent. 6460 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 6461#define tgetent innocuous_tgetent 6462 |
|
5551/* System header to define __stub macros and hopefully few prototypes, 5552 which can conflict with char tgetent (); below. 5553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5554 <limits.h> exists even on freestanding compilers. */ | 6463/* System header to define __stub macros and hopefully few prototypes, 6464 which can conflict with char tgetent (); below. 6465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6466 <limits.h> exists even on freestanding compilers. */ |
6467 |
|
5555#ifdef __STDC__ 5556# include <limits.h> 5557#else 5558# include <assert.h> 5559#endif | 6468#ifdef __STDC__ 6469# include <limits.h> 6470#else 6471# include <assert.h> 6472#endif |
6473 6474#undef tgetent 6475 |
|
5560/* Override any gcc2 internal prototype to avoid an error. */ 5561#ifdef __cplusplus 5562extern "C" 5563{ 5564#endif 5565/* We use char because int might match the return type of a gcc2 5566 builtin and then its argument prototype would still apply. */ 5567char tgetent (); --- 14 unchanged lines hidden (view full) --- 5582{ 5583return f != tgetent; 5584 ; 5585 return 0; 5586} 5587_ACEOF 5588rm -f conftest.$ac_objext conftest$ac_exeext 5589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6476/* Override any gcc2 internal prototype to avoid an error. */ 6477#ifdef __cplusplus 6478extern "C" 6479{ 6480#endif 6481/* We use char because int might match the return type of a gcc2 6482 builtin and then its argument prototype would still apply. */ 6483char tgetent (); --- 14 unchanged lines hidden (view full) --- 6498{ 6499return f != tgetent; 6500 ; 6501 return 0; 6502} 6503_ACEOF 6504rm -f conftest.$ac_objext conftest$ac_exeext 6505if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5590 (eval $ac_link) 2>&5 | 6506 (eval $ac_link) 2>conftest.er1 |
5591 ac_status=$? | 6507 ac_status=$? |
6508 grep -v '^ *+' conftest.er1 >conftest.err 6509 rm -f conftest.er1 6510 cat conftest.err >&5 |
|
5592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5593 (exit $ac_status); } && | 6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6512 (exit $ac_status); } && |
5594 { ac_try='test -s conftest$ac_exeext' | 6513 { ac_try='test -z "$ac_c_werror_flag" 6514 || test ! -s conftest.err' |
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5596 (eval $ac_try) 2>&5 5597 ac_status=$? 5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6516 (eval $ac_try) 2>&5 6517 ac_status=$? 6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6519 (exit $ac_status); }; } && 6520 { ac_try='test -s conftest$ac_exeext' 6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6522 (eval $ac_try) 2>&5 6523 ac_status=$? 6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5599 (exit $ac_status); }; }; then 5600 ac_cv_func_tgetent=yes 5601else 5602 echo "$as_me: failed program was:" >&5 5603sed 's/^/| /' conftest.$ac_ext >&5 5604 5605ac_cv_func_tgetent=no 5606fi | 6525 (exit $ac_status); }; }; then 6526 ac_cv_func_tgetent=yes 6527else 6528 echo "$as_me: failed program was:" >&5 6529sed 's/^/| /' conftest.$ac_ext >&5 6530 6531ac_cv_func_tgetent=no 6532fi |
5607rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6533rm -f conftest.err conftest.$ac_objext \ 6534 conftest$ac_exeext conftest.$ac_ext |
5608fi 5609echo "$as_me:$LINENO: result: $ac_cv_func_tgetent" >&5 5610echo "${ECHO_T}$ac_cv_func_tgetent" >&6 5611if test $ac_cv_func_tgetent = yes; then 5612 bash_cv_termcap_lib=libc 5613else 5614 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5 5615echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6 5616if test "${ac_cv_lib_termcap_tgetent+set}" = set; then 5617 echo $ECHO_N "(cached) $ECHO_C" >&6 5618else 5619 ac_check_lib_save_LIBS=$LIBS 5620LIBS="-ltermcap $LIBS" 5621cat >conftest.$ac_ext <<_ACEOF | 6535fi 6536echo "$as_me:$LINENO: result: $ac_cv_func_tgetent" >&5 6537echo "${ECHO_T}$ac_cv_func_tgetent" >&6 6538if test $ac_cv_func_tgetent = yes; then 6539 bash_cv_termcap_lib=libc 6540else 6541 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5 6542echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6 6543if test "${ac_cv_lib_termcap_tgetent+set}" = set; then 6544 echo $ECHO_N "(cached) $ECHO_C" >&6 6545else 6546 ac_check_lib_save_LIBS=$LIBS 6547LIBS="-ltermcap $LIBS" 6548cat >conftest.$ac_ext <<_ACEOF |
5622#line $LINENO "configure" | |
5623/* confdefs.h. */ 5624_ACEOF 5625cat confdefs.h >>conftest.$ac_ext 5626cat >>conftest.$ac_ext <<_ACEOF 5627/* end confdefs.h. */ 5628 5629/* Override any gcc2 internal prototype to avoid an error. */ 5630#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 5638{ 5639tgetent (); 5640 ; 5641 return 0; 5642} 5643_ACEOF 5644rm -f conftest.$ac_objext conftest$ac_exeext 5645if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6549/* confdefs.h. */ 6550_ACEOF 6551cat confdefs.h >>conftest.$ac_ext 6552cat >>conftest.$ac_ext <<_ACEOF 6553/* end confdefs.h. */ 6554 6555/* Override any gcc2 internal prototype to avoid an error. */ 6556#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 6564{ 6565tgetent (); 6566 ; 6567 return 0; 6568} 6569_ACEOF 6570rm -f conftest.$ac_objext conftest$ac_exeext 6571if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5646 (eval $ac_link) 2>&5 | 6572 (eval $ac_link) 2>conftest.er1 |
5647 ac_status=$? | 6573 ac_status=$? |
6574 grep -v '^ *+' conftest.er1 >conftest.err 6575 rm -f conftest.er1 6576 cat conftest.err >&5 |
|
5648 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5649 (exit $ac_status); } && | 6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6578 (exit $ac_status); } && |
5650 { ac_try='test -s conftest$ac_exeext' | 6579 { ac_try='test -z "$ac_c_werror_flag" 6580 || test ! -s conftest.err' |
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5652 (eval $ac_try) 2>&5 5653 ac_status=$? 5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6582 (eval $ac_try) 2>&5 6583 ac_status=$? 6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6585 (exit $ac_status); }; } && 6586 { ac_try='test -s conftest$ac_exeext' 6587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6588 (eval $ac_try) 2>&5 6589 ac_status=$? 6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5655 (exit $ac_status); }; }; then 5656 ac_cv_lib_termcap_tgetent=yes 5657else 5658 echo "$as_me: failed program was:" >&5 5659sed 's/^/| /' conftest.$ac_ext >&5 5660 5661ac_cv_lib_termcap_tgetent=no 5662fi | 6591 (exit $ac_status); }; }; then 6592 ac_cv_lib_termcap_tgetent=yes 6593else 6594 echo "$as_me: failed program was:" >&5 6595sed 's/^/| /' conftest.$ac_ext >&5 6596 6597ac_cv_lib_termcap_tgetent=no 6598fi |
5663rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6599rm -f conftest.err conftest.$ac_objext \ 6600 conftest$ac_exeext conftest.$ac_ext |
5664LIBS=$ac_check_lib_save_LIBS 5665fi 5666echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5 5667echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6 5668if test $ac_cv_lib_termcap_tgetent = yes; then 5669 bash_cv_termcap_lib=libtermcap 5670else 5671 echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5 5672echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6 5673if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then 5674 echo $ECHO_N "(cached) $ECHO_C" >&6 5675else 5676 ac_check_lib_save_LIBS=$LIBS 5677LIBS="-ltinfo $LIBS" 5678cat >conftest.$ac_ext <<_ACEOF | 6601LIBS=$ac_check_lib_save_LIBS 6602fi 6603echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5 6604echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6 6605if test $ac_cv_lib_termcap_tgetent = yes; then 6606 bash_cv_termcap_lib=libtermcap 6607else 6608 echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5 6609echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6 6610if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then 6611 echo $ECHO_N "(cached) $ECHO_C" >&6 6612else 6613 ac_check_lib_save_LIBS=$LIBS 6614LIBS="-ltinfo $LIBS" 6615cat >conftest.$ac_ext <<_ACEOF |
5679#line $LINENO "configure" | |
5680/* confdefs.h. */ 5681_ACEOF 5682cat confdefs.h >>conftest.$ac_ext 5683cat >>conftest.$ac_ext <<_ACEOF 5684/* end confdefs.h. */ 5685 5686/* Override any gcc2 internal prototype to avoid an error. */ 5687#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 5695{ 5696tgetent (); 5697 ; 5698 return 0; 5699} 5700_ACEOF 5701rm -f conftest.$ac_objext conftest$ac_exeext 5702if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6616/* confdefs.h. */ 6617_ACEOF 6618cat confdefs.h >>conftest.$ac_ext 6619cat >>conftest.$ac_ext <<_ACEOF 6620/* end confdefs.h. */ 6621 6622/* Override any gcc2 internal prototype to avoid an error. */ 6623#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 6631{ 6632tgetent (); 6633 ; 6634 return 0; 6635} 6636_ACEOF 6637rm -f conftest.$ac_objext conftest$ac_exeext 6638if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5703 (eval $ac_link) 2>&5 | 6639 (eval $ac_link) 2>conftest.er1 |
5704 ac_status=$? | 6640 ac_status=$? |
6641 grep -v '^ *+' conftest.er1 >conftest.err 6642 rm -f conftest.er1 6643 cat conftest.err >&5 |
|
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5706 (exit $ac_status); } && | 6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6645 (exit $ac_status); } && |
5707 { ac_try='test -s conftest$ac_exeext' | 6646 { ac_try='test -z "$ac_c_werror_flag" 6647 || test ! -s conftest.err' |
5708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5709 (eval $ac_try) 2>&5 5710 ac_status=$? 5711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6649 (eval $ac_try) 2>&5 6650 ac_status=$? 6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6652 (exit $ac_status); }; } && 6653 { ac_try='test -s conftest$ac_exeext' 6654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6655 (eval $ac_try) 2>&5 6656 ac_status=$? 6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5712 (exit $ac_status); }; }; then 5713 ac_cv_lib_tinfo_tgetent=yes 5714else 5715 echo "$as_me: failed program was:" >&5 5716sed 's/^/| /' conftest.$ac_ext >&5 5717 5718ac_cv_lib_tinfo_tgetent=no 5719fi | 6658 (exit $ac_status); }; }; then 6659 ac_cv_lib_tinfo_tgetent=yes 6660else 6661 echo "$as_me: failed program was:" >&5 6662sed 's/^/| /' conftest.$ac_ext >&5 6663 6664ac_cv_lib_tinfo_tgetent=no 6665fi |
5720rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6666rm -f conftest.err conftest.$ac_objext \ 6667 conftest$ac_exeext conftest.$ac_ext |
5721LIBS=$ac_check_lib_save_LIBS 5722fi 5723echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5 5724echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6 5725if test $ac_cv_lib_tinfo_tgetent = yes; then 5726 bash_cv_termcap_lib=libtinfo 5727else 5728 echo "$as_me:$LINENO: checking for tgetent in -lcurses" >&5 5729echo $ECHO_N "checking for tgetent in -lcurses... $ECHO_C" >&6 5730if test "${ac_cv_lib_curses_tgetent+set}" = set; then 5731 echo $ECHO_N "(cached) $ECHO_C" >&6 5732else 5733 ac_check_lib_save_LIBS=$LIBS 5734LIBS="-lcurses $LIBS" 5735cat >conftest.$ac_ext <<_ACEOF | 6668LIBS=$ac_check_lib_save_LIBS 6669fi 6670echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5 6671echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6 6672if test $ac_cv_lib_tinfo_tgetent = yes; then 6673 bash_cv_termcap_lib=libtinfo 6674else 6675 echo "$as_me:$LINENO: checking for tgetent in -lcurses" >&5 6676echo $ECHO_N "checking for tgetent in -lcurses... $ECHO_C" >&6 6677if test "${ac_cv_lib_curses_tgetent+set}" = set; then 6678 echo $ECHO_N "(cached) $ECHO_C" >&6 6679else 6680 ac_check_lib_save_LIBS=$LIBS 6681LIBS="-lcurses $LIBS" 6682cat >conftest.$ac_ext <<_ACEOF |
5736#line $LINENO "configure" | |
5737/* confdefs.h. */ 5738_ACEOF 5739cat confdefs.h >>conftest.$ac_ext 5740cat >>conftest.$ac_ext <<_ACEOF 5741/* end confdefs.h. */ 5742 5743/* Override any gcc2 internal prototype to avoid an error. */ 5744#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 5752{ 5753tgetent (); 5754 ; 5755 return 0; 5756} 5757_ACEOF 5758rm -f conftest.$ac_objext conftest$ac_exeext 5759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6683/* confdefs.h. */ 6684_ACEOF 6685cat confdefs.h >>conftest.$ac_ext 6686cat >>conftest.$ac_ext <<_ACEOF 6687/* end confdefs.h. */ 6688 6689/* Override any gcc2 internal prototype to avoid an error. */ 6690#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 6698{ 6699tgetent (); 6700 ; 6701 return 0; 6702} 6703_ACEOF 6704rm -f conftest.$ac_objext conftest$ac_exeext 6705if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5760 (eval $ac_link) 2>&5 | 6706 (eval $ac_link) 2>conftest.er1 |
5761 ac_status=$? | 6707 ac_status=$? |
6708 grep -v '^ *+' conftest.er1 >conftest.err 6709 rm -f conftest.er1 6710 cat conftest.err >&5 |
|
5762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5763 (exit $ac_status); } && | 6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6712 (exit $ac_status); } && |
5764 { ac_try='test -s conftest$ac_exeext' | 6713 { ac_try='test -z "$ac_c_werror_flag" 6714 || test ! -s conftest.err' |
5765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5766 (eval $ac_try) 2>&5 5767 ac_status=$? 5768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6716 (eval $ac_try) 2>&5 6717 ac_status=$? 6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6719 (exit $ac_status); }; } && 6720 { ac_try='test -s conftest$ac_exeext' 6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6722 (eval $ac_try) 2>&5 6723 ac_status=$? 6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5769 (exit $ac_status); }; }; then 5770 ac_cv_lib_curses_tgetent=yes 5771else 5772 echo "$as_me: failed program was:" >&5 5773sed 's/^/| /' conftest.$ac_ext >&5 5774 5775ac_cv_lib_curses_tgetent=no 5776fi | 6725 (exit $ac_status); }; }; then 6726 ac_cv_lib_curses_tgetent=yes 6727else 6728 echo "$as_me: failed program was:" >&5 6729sed 's/^/| /' conftest.$ac_ext >&5 6730 6731ac_cv_lib_curses_tgetent=no 6732fi |
5777rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6733rm -f conftest.err conftest.$ac_objext \ 6734 conftest$ac_exeext conftest.$ac_ext |
5778LIBS=$ac_check_lib_save_LIBS 5779fi 5780echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5 5781echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6 5782if test $ac_cv_lib_curses_tgetent = yes; then 5783 bash_cv_termcap_lib=libcurses 5784else 5785 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5 5786echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6 5787if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then 5788 echo $ECHO_N "(cached) $ECHO_C" >&6 5789else 5790 ac_check_lib_save_LIBS=$LIBS 5791LIBS="-lncurses $LIBS" 5792cat >conftest.$ac_ext <<_ACEOF | 6735LIBS=$ac_check_lib_save_LIBS 6736fi 6737echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5 6738echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6 6739if test $ac_cv_lib_curses_tgetent = yes; then 6740 bash_cv_termcap_lib=libcurses 6741else 6742 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5 6743echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6 6744if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then 6745 echo $ECHO_N "(cached) $ECHO_C" >&6 6746else 6747 ac_check_lib_save_LIBS=$LIBS 6748LIBS="-lncurses $LIBS" 6749cat >conftest.$ac_ext <<_ACEOF |
5793#line $LINENO "configure" | |
5794/* confdefs.h. */ 5795_ACEOF 5796cat confdefs.h >>conftest.$ac_ext 5797cat >>conftest.$ac_ext <<_ACEOF 5798/* end confdefs.h. */ 5799 5800/* Override any gcc2 internal prototype to avoid an error. */ 5801#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 5809{ 5810tgetent (); 5811 ; 5812 return 0; 5813} 5814_ACEOF 5815rm -f conftest.$ac_objext conftest$ac_exeext 5816if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 6750/* confdefs.h. */ 6751_ACEOF 6752cat confdefs.h >>conftest.$ac_ext 6753cat >>conftest.$ac_ext <<_ACEOF 6754/* end confdefs.h. */ 6755 6756/* Override any gcc2 internal prototype to avoid an error. */ 6757#ifdef __cplusplus --- 7 unchanged lines hidden (view full) --- 6765{ 6766tgetent (); 6767 ; 6768 return 0; 6769} 6770_ACEOF 6771rm -f conftest.$ac_objext conftest$ac_exeext 6772if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
5817 (eval $ac_link) 2>&5 | 6773 (eval $ac_link) 2>conftest.er1 |
5818 ac_status=$? | 6774 ac_status=$? |
6775 grep -v '^ *+' conftest.er1 >conftest.err 6776 rm -f conftest.er1 6777 cat conftest.err >&5 |
|
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5820 (exit $ac_status); } && | 6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6779 (exit $ac_status); } && |
5821 { ac_try='test -s conftest$ac_exeext' | 6780 { ac_try='test -z "$ac_c_werror_flag" 6781 || test ! -s conftest.err' |
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5823 (eval $ac_try) 2>&5 5824 ac_status=$? 5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6783 (eval $ac_try) 2>&5 6784 ac_status=$? 6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6786 (exit $ac_status); }; } && 6787 { ac_try='test -s conftest$ac_exeext' 6788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6789 (eval $ac_try) 2>&5 6790 ac_status=$? 6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5826 (exit $ac_status); }; }; then 5827 ac_cv_lib_ncurses_tgetent=yes 5828else 5829 echo "$as_me: failed program was:" >&5 5830sed 's/^/| /' conftest.$ac_ext >&5 5831 5832ac_cv_lib_ncurses_tgetent=no 5833fi | 6792 (exit $ac_status); }; }; then 6793 ac_cv_lib_ncurses_tgetent=yes 6794else 6795 echo "$as_me: failed program was:" >&5 6796sed 's/^/| /' conftest.$ac_ext >&5 6797 6798ac_cv_lib_ncurses_tgetent=no 6799fi |
5834rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 6800rm -f conftest.err conftest.$ac_objext \ 6801 conftest$ac_exeext conftest.$ac_ext |
5835LIBS=$ac_check_lib_save_LIBS 5836fi 5837echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5 5838echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6 5839if test $ac_cv_lib_ncurses_tgetent = yes; then 5840 bash_cv_termcap_lib=libncurses 5841else 5842 bash_cv_termcap_lib=gnutermcap --- 57 unchanged lines hidden (view full) --- 5900fi 5901echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 5902echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 5903else 5904 # Is the header compilable? 5905echo "$as_me:$LINENO: checking $ac_header usability" >&5 5906echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 5907cat >conftest.$ac_ext <<_ACEOF | 6802LIBS=$ac_check_lib_save_LIBS 6803fi 6804echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5 6805echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6 6806if test $ac_cv_lib_ncurses_tgetent = yes; then 6807 bash_cv_termcap_lib=libncurses 6808else 6809 bash_cv_termcap_lib=gnutermcap --- 57 unchanged lines hidden (view full) --- 6867fi 6868echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6869echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6870else 6871 # Is the header compilable? 6872echo "$as_me:$LINENO: checking $ac_header usability" >&5 6873echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6874cat >conftest.$ac_ext <<_ACEOF |
5908#line $LINENO "configure" | |
5909/* confdefs.h. */ 5910_ACEOF 5911cat confdefs.h >>conftest.$ac_ext 5912cat >>conftest.$ac_ext <<_ACEOF 5913/* end confdefs.h. */ 5914$ac_includes_default 5915#include <$ac_header> 5916_ACEOF 5917rm -f conftest.$ac_objext 5918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 6875/* confdefs.h. */ 6876_ACEOF 6877cat confdefs.h >>conftest.$ac_ext 6878cat >>conftest.$ac_ext <<_ACEOF 6879/* end confdefs.h. */ 6880$ac_includes_default 6881#include <$ac_header> 6882_ACEOF 6883rm -f conftest.$ac_objext 6884if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5919 (eval $ac_compile) 2>&5 | 6885 (eval $ac_compile) 2>conftest.er1 |
5920 ac_status=$? | 6886 ac_status=$? |
6887 grep -v '^ *+' conftest.er1 >conftest.err 6888 rm -f conftest.er1 6889 cat conftest.err >&5 |
|
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5922 (exit $ac_status); } && | 6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6891 (exit $ac_status); } && |
5923 { ac_try='test -s conftest.$ac_objext' | 6892 { ac_try='test -z "$ac_c_werror_flag" 6893 || test ! -s conftest.err' |
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5925 (eval $ac_try) 2>&5 5926 ac_status=$? 5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 6894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6895 (eval $ac_try) 2>&5 6896 ac_status=$? 6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6898 (exit $ac_status); }; } && 6899 { ac_try='test -s conftest.$ac_objext' 6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6901 (eval $ac_try) 2>&5 6902 ac_status=$? 6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
5928 (exit $ac_status); }; }; then 5929 ac_header_compiler=yes 5930else 5931 echo "$as_me: failed program was:" >&5 5932sed 's/^/| /' conftest.$ac_ext >&5 5933 5934ac_header_compiler=no 5935fi | 6904 (exit $ac_status); }; }; then 6905 ac_header_compiler=yes 6906else 6907 echo "$as_me: failed program was:" >&5 6908sed 's/^/| /' conftest.$ac_ext >&5 6909 6910ac_header_compiler=no 6911fi |
5936rm -f conftest.$ac_objext conftest.$ac_ext | 6912rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
5937echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5938echo "${ECHO_T}$ac_header_compiler" >&6 5939 5940# Is the header present? 5941echo "$as_me:$LINENO: checking $ac_header presence" >&5 5942echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 5943cat >conftest.$ac_ext <<_ACEOF | 6913echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6914echo "${ECHO_T}$ac_header_compiler" >&6 6915 6916# Is the header present? 6917echo "$as_me:$LINENO: checking $ac_header presence" >&5 6918echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6919cat >conftest.$ac_ext <<_ACEOF |
5944#line $LINENO "configure" | |
5945/* confdefs.h. */ 5946_ACEOF 5947cat confdefs.h >>conftest.$ac_ext 5948cat >>conftest.$ac_ext <<_ACEOF 5949/* end confdefs.h. */ 5950#include <$ac_header> 5951_ACEOF 5952if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 5953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 5954 ac_status=$? 5955 grep -v '^ *+' conftest.er1 >conftest.err 5956 rm -f conftest.er1 5957 cat conftest.err >&5 5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5959 (exit $ac_status); } >/dev/null; then 5960 if test -s conftest.err; then 5961 ac_cpp_err=$ac_c_preproc_warn_flag | 6920/* confdefs.h. */ 6921_ACEOF 6922cat confdefs.h >>conftest.$ac_ext 6923cat >>conftest.$ac_ext <<_ACEOF 6924/* end confdefs.h. */ 6925#include <$ac_header> 6926_ACEOF 6927if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6929 ac_status=$? 6930 grep -v '^ *+' conftest.er1 >conftest.err 6931 rm -f conftest.er1 6932 cat conftest.err >&5 6933 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6934 (exit $ac_status); } >/dev/null; then 6935 if test -s conftest.err; then 6936 ac_cpp_err=$ac_c_preproc_warn_flag |
6937 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
5962 else 5963 ac_cpp_err= 5964 fi 5965else 5966 ac_cpp_err=yes 5967fi 5968if test -z "$ac_cpp_err"; then 5969 ac_header_preproc=yes 5970else 5971 echo "$as_me: failed program was:" >&5 5972sed 's/^/| /' conftest.$ac_ext >&5 5973 5974 ac_header_preproc=no 5975fi 5976rm -f conftest.err conftest.$ac_ext 5977echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5978echo "${ECHO_T}$ac_header_preproc" >&6 5979 5980# So? What about this header? | 6938 else 6939 ac_cpp_err= 6940 fi 6941else 6942 ac_cpp_err=yes 6943fi 6944if test -z "$ac_cpp_err"; then 6945 ac_header_preproc=yes 6946else 6947 echo "$as_me: failed program was:" >&5 6948sed 's/^/| /' conftest.$ac_ext >&5 6949 6950 ac_header_preproc=no 6951fi 6952rm -f conftest.err conftest.$ac_ext 6953echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6954echo "${ECHO_T}$ac_header_preproc" >&6 6955 6956# So? What about this header? |
5981case $ac_header_compiler:$ac_header_preproc in 5982 yes:no ) | 6957case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6958 yes:no: ) |
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5984echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 6959 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6960echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5986echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5987 ( 5988 cat <<\_ASBOX 5989## ------------------------------------ ## 5990## Report this to bug-autoconf@gnu.org. ## 5991## ------------------------------------ ## 5992_ASBOX 5993 ) | 5994 sed "s/^/$as_me: WARNING: /" >&2 | 6961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6962echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6963 ac_header_preproc=yes |
5995 ;; | 6964 ;; |
5996 no:yes ) | 6965 no:yes:* ) |
5997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5998echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 6966 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6967echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6000echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 6968 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6969echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6970 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6971echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6972 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6973echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6002echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 6974 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6975echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
6976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6977echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
6003 ( 6004 cat <<\_ASBOX | 6978 ( 6979 cat <<\_ASBOX |
6005## ------------------------------------ ## 6006## Report this to bug-autoconf@gnu.org. ## 6007## ------------------------------------ ## | 6980## ----------------------------------- ## 6981## Report this to bug-readline@gnu.org ## 6982## ----------------------------------- ## |
6008_ASBOX 6009 ) | 6010 sed "s/^/$as_me: WARNING: /" >&2 6011 ;; 6012esac 6013echo "$as_me:$LINENO: checking for $ac_header" >&5 6014echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6015if eval "test \"\${$as_ac_Header+set}\" = set"; then 6016 echo $ECHO_N "(cached) $ECHO_C" >&6 6017else | 6983_ASBOX 6984 ) | 6985 sed "s/^/$as_me: WARNING: /" >&2 6986 ;; 6987esac 6988echo "$as_me:$LINENO: checking for $ac_header" >&5 6989echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6990if eval "test \"\${$as_ac_Header+set}\" = set"; then 6991 echo $ECHO_N "(cached) $ECHO_C" >&6 6992else |
6018 eval "$as_ac_Header=$ac_header_preproc" | 6993 eval "$as_ac_Header=\$ac_header_preproc" |
6019fi 6020echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6021echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6022 6023fi 6024if test `eval echo '${'$as_ac_Header'}'` = yes; then 6025 cat >>confdefs.h <<_ACEOF 6026#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 15 unchanged lines hidden (view full) --- 6042fi 6043echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6044echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6045else 6046 # Is the header compilable? 6047echo "$as_me:$LINENO: checking $ac_header usability" >&5 6048echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6049cat >conftest.$ac_ext <<_ACEOF | 6994fi 6995echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6996echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6997 6998fi 6999if test `eval echo '${'$as_ac_Header'}'` = yes; then 7000 cat >>confdefs.h <<_ACEOF 7001#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 15 unchanged lines hidden (view full) --- 7017fi 7018echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7019echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7020else 7021 # Is the header compilable? 7022echo "$as_me:$LINENO: checking $ac_header usability" >&5 7023echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7024cat >conftest.$ac_ext <<_ACEOF |
6050#line $LINENO "configure" | |
6051/* confdefs.h. */ 6052_ACEOF 6053cat confdefs.h >>conftest.$ac_ext 6054cat >>conftest.$ac_ext <<_ACEOF 6055/* end confdefs.h. */ 6056$ac_includes_default 6057#include <$ac_header> 6058_ACEOF 6059rm -f conftest.$ac_objext 6060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7025/* confdefs.h. */ 7026_ACEOF 7027cat confdefs.h >>conftest.$ac_ext 7028cat >>conftest.$ac_ext <<_ACEOF 7029/* end confdefs.h. */ 7030$ac_includes_default 7031#include <$ac_header> 7032_ACEOF 7033rm -f conftest.$ac_objext 7034if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6061 (eval $ac_compile) 2>&5 | 7035 (eval $ac_compile) 2>conftest.er1 |
6062 ac_status=$? | 7036 ac_status=$? |
7037 grep -v '^ *+' conftest.er1 >conftest.err 7038 rm -f conftest.er1 7039 cat conftest.err >&5 |
|
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6064 (exit $ac_status); } && | 7040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7041 (exit $ac_status); } && |
6065 { ac_try='test -s conftest.$ac_objext' | 7042 { ac_try='test -z "$ac_c_werror_flag" 7043 || test ! -s conftest.err' |
6066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6067 (eval $ac_try) 2>&5 6068 ac_status=$? 6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7045 (eval $ac_try) 2>&5 7046 ac_status=$? 7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7048 (exit $ac_status); }; } && 7049 { ac_try='test -s conftest.$ac_objext' 7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7051 (eval $ac_try) 2>&5 7052 ac_status=$? 7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6070 (exit $ac_status); }; }; then 6071 ac_header_compiler=yes 6072else 6073 echo "$as_me: failed program was:" >&5 6074sed 's/^/| /' conftest.$ac_ext >&5 6075 6076ac_header_compiler=no 6077fi | 7054 (exit $ac_status); }; }; then 7055 ac_header_compiler=yes 7056else 7057 echo "$as_me: failed program was:" >&5 7058sed 's/^/| /' conftest.$ac_ext >&5 7059 7060ac_header_compiler=no 7061fi |
6078rm -f conftest.$ac_objext conftest.$ac_ext | 7062rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6079echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6080echo "${ECHO_T}$ac_header_compiler" >&6 6081 6082# Is the header present? 6083echo "$as_me:$LINENO: checking $ac_header presence" >&5 6084echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6085cat >conftest.$ac_ext <<_ACEOF | 7063echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7064echo "${ECHO_T}$ac_header_compiler" >&6 7065 7066# Is the header present? 7067echo "$as_me:$LINENO: checking $ac_header presence" >&5 7068echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7069cat >conftest.$ac_ext <<_ACEOF |
6086#line $LINENO "configure" | |
6087/* confdefs.h. */ 6088_ACEOF 6089cat confdefs.h >>conftest.$ac_ext 6090cat >>conftest.$ac_ext <<_ACEOF 6091/* end confdefs.h. */ 6092#include <$ac_header> 6093_ACEOF 6094if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6096 ac_status=$? 6097 grep -v '^ *+' conftest.er1 >conftest.err 6098 rm -f conftest.er1 6099 cat conftest.err >&5 6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6101 (exit $ac_status); } >/dev/null; then 6102 if test -s conftest.err; then 6103 ac_cpp_err=$ac_c_preproc_warn_flag | 7070/* confdefs.h. */ 7071_ACEOF 7072cat confdefs.h >>conftest.$ac_ext 7073cat >>conftest.$ac_ext <<_ACEOF 7074/* end confdefs.h. */ 7075#include <$ac_header> 7076_ACEOF 7077if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7078 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7079 ac_status=$? 7080 grep -v '^ *+' conftest.er1 >conftest.err 7081 rm -f conftest.er1 7082 cat conftest.err >&5 7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7084 (exit $ac_status); } >/dev/null; then 7085 if test -s conftest.err; then 7086 ac_cpp_err=$ac_c_preproc_warn_flag |
7087 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
6104 else 6105 ac_cpp_err= 6106 fi 6107else 6108 ac_cpp_err=yes 6109fi 6110if test -z "$ac_cpp_err"; then 6111 ac_header_preproc=yes 6112else 6113 echo "$as_me: failed program was:" >&5 6114sed 's/^/| /' conftest.$ac_ext >&5 6115 6116 ac_header_preproc=no 6117fi 6118rm -f conftest.err conftest.$ac_ext 6119echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6120echo "${ECHO_T}$ac_header_preproc" >&6 6121 6122# So? What about this header? | 7088 else 7089 ac_cpp_err= 7090 fi 7091else 7092 ac_cpp_err=yes 7093fi 7094if test -z "$ac_cpp_err"; then 7095 ac_header_preproc=yes 7096else 7097 echo "$as_me: failed program was:" >&5 7098sed 's/^/| /' conftest.$ac_ext >&5 7099 7100 ac_header_preproc=no 7101fi 7102rm -f conftest.err conftest.$ac_ext 7103echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7104echo "${ECHO_T}$ac_header_preproc" >&6 7105 7106# So? What about this header? |
6123case $ac_header_compiler:$ac_header_preproc in 6124 yes:no ) | 7107case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7108 yes:no: ) |
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6126echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 7109 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7110echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6128echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6129 ( 6130 cat <<\_ASBOX 6131## ------------------------------------ ## 6132## Report this to bug-autoconf@gnu.org. ## 6133## ------------------------------------ ## 6134_ASBOX 6135 ) | 6136 sed "s/^/$as_me: WARNING: /" >&2 | 7111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7112echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7113 ac_header_preproc=yes |
6137 ;; | 7114 ;; |
6138 no:yes ) | 7115 no:yes:* ) |
6139 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6140echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 7116 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7117echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6141 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6142echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 7118 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7119echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7120 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7121echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7122 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7123echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6143 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6144echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 7124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7125echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7126 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7127echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
6145 ( 6146 cat <<\_ASBOX | 7128 ( 7129 cat <<\_ASBOX |
6147## ------------------------------------ ## 6148## Report this to bug-autoconf@gnu.org. ## 6149## ------------------------------------ ## | 7130## ----------------------------------- ## 7131## Report this to bug-readline@gnu.org ## 7132## ----------------------------------- ## |
6150_ASBOX 6151 ) | 6152 sed "s/^/$as_me: WARNING: /" >&2 6153 ;; 6154esac 6155echo "$as_me:$LINENO: checking for $ac_header" >&5 6156echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6157if eval "test \"\${$as_ac_Header+set}\" = set"; then 6158 echo $ECHO_N "(cached) $ECHO_C" >&6 6159else | 7133_ASBOX 7134 ) | 7135 sed "s/^/$as_me: WARNING: /" >&2 7136 ;; 7137esac 7138echo "$as_me:$LINENO: checking for $ac_header" >&5 7139echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7140if eval "test \"\${$as_ac_Header+set}\" = set"; then 7141 echo $ECHO_N "(cached) $ECHO_C" >&6 7142else |
6160 eval "$as_ac_Header=$ac_header_preproc" | 7143 eval "$as_ac_Header=\$ac_header_preproc" |
6161fi 6162echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6163echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6164 6165fi 6166if test `eval echo '${'$as_ac_Header'}'` = yes; then 6167 cat >>confdefs.h <<_ACEOF 6168#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 15 unchanged lines hidden (view full) --- 6184fi 6185echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6186echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6187else 6188 # Is the header compilable? 6189echo "$as_me:$LINENO: checking $ac_header usability" >&5 6190echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 6191cat >conftest.$ac_ext <<_ACEOF | 7144fi 7145echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7146echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7147 7148fi 7149if test `eval echo '${'$as_ac_Header'}'` = yes; then 7150 cat >>confdefs.h <<_ACEOF 7151#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 15 unchanged lines hidden (view full) --- 7167fi 7168echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7169echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7170else 7171 # Is the header compilable? 7172echo "$as_me:$LINENO: checking $ac_header usability" >&5 7173echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 7174cat >conftest.$ac_ext <<_ACEOF |
6192#line $LINENO "configure" | |
6193/* confdefs.h. */ 6194_ACEOF 6195cat confdefs.h >>conftest.$ac_ext 6196cat >>conftest.$ac_ext <<_ACEOF 6197/* end confdefs.h. */ 6198$ac_includes_default 6199#include <$ac_header> 6200_ACEOF 6201rm -f conftest.$ac_objext 6202if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7175/* confdefs.h. */ 7176_ACEOF 7177cat confdefs.h >>conftest.$ac_ext 7178cat >>conftest.$ac_ext <<_ACEOF 7179/* end confdefs.h. */ 7180$ac_includes_default 7181#include <$ac_header> 7182_ACEOF 7183rm -f conftest.$ac_objext 7184if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6203 (eval $ac_compile) 2>&5 | 7185 (eval $ac_compile) 2>conftest.er1 |
6204 ac_status=$? | 7186 ac_status=$? |
7187 grep -v '^ *+' conftest.er1 >conftest.err 7188 rm -f conftest.er1 7189 cat conftest.err >&5 |
|
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6206 (exit $ac_status); } && | 7190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7191 (exit $ac_status); } && |
6207 { ac_try='test -s conftest.$ac_objext' | 7192 { ac_try='test -z "$ac_c_werror_flag" 7193 || test ! -s conftest.err' |
6208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6209 (eval $ac_try) 2>&5 6210 ac_status=$? 6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7195 (eval $ac_try) 2>&5 7196 ac_status=$? 7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7198 (exit $ac_status); }; } && 7199 { ac_try='test -s conftest.$ac_objext' 7200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7201 (eval $ac_try) 2>&5 7202 ac_status=$? 7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6212 (exit $ac_status); }; }; then 6213 ac_header_compiler=yes 6214else 6215 echo "$as_me: failed program was:" >&5 6216sed 's/^/| /' conftest.$ac_ext >&5 6217 6218ac_header_compiler=no 6219fi | 7204 (exit $ac_status); }; }; then 7205 ac_header_compiler=yes 7206else 7207 echo "$as_me: failed program was:" >&5 7208sed 's/^/| /' conftest.$ac_ext >&5 7209 7210ac_header_compiler=no 7211fi |
6220rm -f conftest.$ac_objext conftest.$ac_ext | 7212rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6221echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6222echo "${ECHO_T}$ac_header_compiler" >&6 6223 6224# Is the header present? 6225echo "$as_me:$LINENO: checking $ac_header presence" >&5 6226echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 6227cat >conftest.$ac_ext <<_ACEOF | 7213echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7214echo "${ECHO_T}$ac_header_compiler" >&6 7215 7216# Is the header present? 7217echo "$as_me:$LINENO: checking $ac_header presence" >&5 7218echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 7219cat >conftest.$ac_ext <<_ACEOF |
6228#line $LINENO "configure" | |
6229/* confdefs.h. */ 6230_ACEOF 6231cat confdefs.h >>conftest.$ac_ext 6232cat >>conftest.$ac_ext <<_ACEOF 6233/* end confdefs.h. */ 6234#include <$ac_header> 6235_ACEOF 6236if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 6237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6238 ac_status=$? 6239 grep -v '^ *+' conftest.er1 >conftest.err 6240 rm -f conftest.er1 6241 cat conftest.err >&5 6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6243 (exit $ac_status); } >/dev/null; then 6244 if test -s conftest.err; then 6245 ac_cpp_err=$ac_c_preproc_warn_flag | 7220/* confdefs.h. */ 7221_ACEOF 7222cat confdefs.h >>conftest.$ac_ext 7223cat >>conftest.$ac_ext <<_ACEOF 7224/* end confdefs.h. */ 7225#include <$ac_header> 7226_ACEOF 7227if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 7228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7229 ac_status=$? 7230 grep -v '^ *+' conftest.er1 >conftest.err 7231 rm -f conftest.er1 7232 cat conftest.err >&5 7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7234 (exit $ac_status); } >/dev/null; then 7235 if test -s conftest.err; then 7236 ac_cpp_err=$ac_c_preproc_warn_flag |
7237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
6246 else 6247 ac_cpp_err= 6248 fi 6249else 6250 ac_cpp_err=yes 6251fi 6252if test -z "$ac_cpp_err"; then 6253 ac_header_preproc=yes 6254else 6255 echo "$as_me: failed program was:" >&5 6256sed 's/^/| /' conftest.$ac_ext >&5 6257 6258 ac_header_preproc=no 6259fi 6260rm -f conftest.err conftest.$ac_ext 6261echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6262echo "${ECHO_T}$ac_header_preproc" >&6 6263 6264# So? What about this header? | 7238 else 7239 ac_cpp_err= 7240 fi 7241else 7242 ac_cpp_err=yes 7243fi 7244if test -z "$ac_cpp_err"; then 7245 ac_header_preproc=yes 7246else 7247 echo "$as_me: failed program was:" >&5 7248sed 's/^/| /' conftest.$ac_ext >&5 7249 7250 ac_header_preproc=no 7251fi 7252rm -f conftest.err conftest.$ac_ext 7253echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7254echo "${ECHO_T}$ac_header_preproc" >&6 7255 7256# So? What about this header? |
6265case $ac_header_compiler:$ac_header_preproc in 6266 yes:no ) | 7257case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 7258 yes:no: ) |
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6268echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 7259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7260echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6270echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6271 ( 6272 cat <<\_ASBOX 6273## ------------------------------------ ## 6274## Report this to bug-autoconf@gnu.org. ## 6275## ------------------------------------ ## 6276_ASBOX 6277 ) | 6278 sed "s/^/$as_me: WARNING: /" >&2 | 7261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7262echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7263 ac_header_preproc=yes |
6279 ;; | 7264 ;; |
6280 no:yes ) | 7265 no:yes:* ) |
6281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6282echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 7266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7267echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
6283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6284echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 7268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7269echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7271echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7273echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
6285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6286echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 7274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7275echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
7276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7277echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
6287 ( 6288 cat <<\_ASBOX | 7278 ( 7279 cat <<\_ASBOX |
6289## ------------------------------------ ## 6290## Report this to bug-autoconf@gnu.org. ## 6291## ------------------------------------ ## | 7280## ----------------------------------- ## 7281## Report this to bug-readline@gnu.org ## 7282## ----------------------------------- ## |
6292_ASBOX 6293 ) | 6294 sed "s/^/$as_me: WARNING: /" >&2 6295 ;; 6296esac 6297echo "$as_me:$LINENO: checking for $ac_header" >&5 6298echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6299if eval "test \"\${$as_ac_Header+set}\" = set"; then 6300 echo $ECHO_N "(cached) $ECHO_C" >&6 6301else | 7283_ASBOX 7284 ) | 7285 sed "s/^/$as_me: WARNING: /" >&2 7286 ;; 7287esac 7288echo "$as_me:$LINENO: checking for $ac_header" >&5 7289echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7290if eval "test \"\${$as_ac_Header+set}\" = set"; then 7291 echo $ECHO_N "(cached) $ECHO_C" >&6 7292else |
6302 eval "$as_ac_Header=$ac_header_preproc" | 7293 eval "$as_ac_Header=\$ac_header_preproc" |
6303fi 6304echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 6305echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6306 6307fi 6308if test `eval echo '${'$as_ac_Header'}'` = yes; then 6309 cat >>confdefs.h <<_ACEOF 6310#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 5 unchanged lines hidden (view full) --- 6316 6317 6318echo "$as_me:$LINENO: checking for mbsrtowcs" >&5 6319echo $ECHO_N "checking for mbsrtowcs... $ECHO_C" >&6 6320if test "${ac_cv_func_mbsrtowcs+set}" = set; then 6321 echo $ECHO_N "(cached) $ECHO_C" >&6 6322else 6323 cat >conftest.$ac_ext <<_ACEOF | 7294fi 7295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 7296echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7297 7298fi 7299if test `eval echo '${'$as_ac_Header'}'` = yes; then 7300 cat >>confdefs.h <<_ACEOF 7301#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 --- 5 unchanged lines hidden (view full) --- 7307 7308 7309echo "$as_me:$LINENO: checking for mbsrtowcs" >&5 7310echo $ECHO_N "checking for mbsrtowcs... $ECHO_C" >&6 7311if test "${ac_cv_func_mbsrtowcs+set}" = set; then 7312 echo $ECHO_N "(cached) $ECHO_C" >&6 7313else 7314 cat >conftest.$ac_ext <<_ACEOF |
6324#line $LINENO "configure" | |
6325/* confdefs.h. */ 6326_ACEOF 6327cat confdefs.h >>conftest.$ac_ext 6328cat >>conftest.$ac_ext <<_ACEOF 6329/* end confdefs.h. */ | 7315/* confdefs.h. */ 7316_ACEOF 7317cat confdefs.h >>conftest.$ac_ext 7318cat >>conftest.$ac_ext <<_ACEOF 7319/* end confdefs.h. */ |
7320/* Define mbsrtowcs to an innocuous variant, in case <limits.h> declares mbsrtowcs. 7321 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7322#define mbsrtowcs innocuous_mbsrtowcs 7323 |
|
6330/* System header to define __stub macros and hopefully few prototypes, 6331 which can conflict with char mbsrtowcs (); below. 6332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6333 <limits.h> exists even on freestanding compilers. */ | 7324/* System header to define __stub macros and hopefully few prototypes, 7325 which can conflict with char mbsrtowcs (); below. 7326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7327 <limits.h> exists even on freestanding compilers. */ |
7328 |
|
6334#ifdef __STDC__ 6335# include <limits.h> 6336#else 6337# include <assert.h> 6338#endif | 7329#ifdef __STDC__ 7330# include <limits.h> 7331#else 7332# include <assert.h> 7333#endif |
7334 7335#undef mbsrtowcs 7336 |
|
6339/* Override any gcc2 internal prototype to avoid an error. */ 6340#ifdef __cplusplus 6341extern "C" 6342{ 6343#endif 6344/* We use char because int might match the return type of a gcc2 6345 builtin and then its argument prototype would still apply. */ 6346char mbsrtowcs (); --- 14 unchanged lines hidden (view full) --- 6361{ 6362return f != mbsrtowcs; 6363 ; 6364 return 0; 6365} 6366_ACEOF 6367rm -f conftest.$ac_objext conftest$ac_exeext 6368if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7337/* Override any gcc2 internal prototype to avoid an error. */ 7338#ifdef __cplusplus 7339extern "C" 7340{ 7341#endif 7342/* We use char because int might match the return type of a gcc2 7343 builtin and then its argument prototype would still apply. */ 7344char mbsrtowcs (); --- 14 unchanged lines hidden (view full) --- 7359{ 7360return f != mbsrtowcs; 7361 ; 7362 return 0; 7363} 7364_ACEOF 7365rm -f conftest.$ac_objext conftest$ac_exeext 7366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6369 (eval $ac_link) 2>&5 | 7367 (eval $ac_link) 2>conftest.er1 |
6370 ac_status=$? | 7368 ac_status=$? |
7369 grep -v '^ *+' conftest.er1 >conftest.err 7370 rm -f conftest.er1 7371 cat conftest.err >&5 |
|
6371 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6372 (exit $ac_status); } && | 7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7373 (exit $ac_status); } && |
6373 { ac_try='test -s conftest$ac_exeext' | 7374 { ac_try='test -z "$ac_c_werror_flag" 7375 || test ! -s conftest.err' |
6374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6375 (eval $ac_try) 2>&5 6376 ac_status=$? 6377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7377 (eval $ac_try) 2>&5 7378 ac_status=$? 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7380 (exit $ac_status); }; } && 7381 { ac_try='test -s conftest$ac_exeext' 7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7383 (eval $ac_try) 2>&5 7384 ac_status=$? 7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6378 (exit $ac_status); }; }; then 6379 ac_cv_func_mbsrtowcs=yes 6380else 6381 echo "$as_me: failed program was:" >&5 6382sed 's/^/| /' conftest.$ac_ext >&5 6383 6384ac_cv_func_mbsrtowcs=no 6385fi | 7386 (exit $ac_status); }; }; then 7387 ac_cv_func_mbsrtowcs=yes 7388else 7389 echo "$as_me: failed program was:" >&5 7390sed 's/^/| /' conftest.$ac_ext >&5 7391 7392ac_cv_func_mbsrtowcs=no 7393fi |
6386rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7394rm -f conftest.err conftest.$ac_objext \ 7395 conftest$ac_exeext conftest.$ac_ext |
6387fi 6388echo "$as_me:$LINENO: result: $ac_cv_func_mbsrtowcs" >&5 6389echo "${ECHO_T}$ac_cv_func_mbsrtowcs" >&6 6390if test $ac_cv_func_mbsrtowcs = yes; then 6391 cat >>confdefs.h <<\_ACEOF 6392#define HAVE_MBSRTOWCS 1 6393_ACEOF 6394 6395fi 6396 6397echo "$as_me:$LINENO: checking for mbrtowc" >&5 6398echo $ECHO_N "checking for mbrtowc... $ECHO_C" >&6 6399if test "${ac_cv_func_mbrtowc+set}" = set; then 6400 echo $ECHO_N "(cached) $ECHO_C" >&6 6401else 6402 cat >conftest.$ac_ext <<_ACEOF | 7396fi 7397echo "$as_me:$LINENO: result: $ac_cv_func_mbsrtowcs" >&5 7398echo "${ECHO_T}$ac_cv_func_mbsrtowcs" >&6 7399if test $ac_cv_func_mbsrtowcs = yes; then 7400 cat >>confdefs.h <<\_ACEOF 7401#define HAVE_MBSRTOWCS 1 7402_ACEOF 7403 7404fi 7405 7406echo "$as_me:$LINENO: checking for mbrtowc" >&5 7407echo $ECHO_N "checking for mbrtowc... $ECHO_C" >&6 7408if test "${ac_cv_func_mbrtowc+set}" = set; then 7409 echo $ECHO_N "(cached) $ECHO_C" >&6 7410else 7411 cat >conftest.$ac_ext <<_ACEOF |
6403#line $LINENO "configure" | |
6404/* confdefs.h. */ 6405_ACEOF 6406cat confdefs.h >>conftest.$ac_ext 6407cat >>conftest.$ac_ext <<_ACEOF 6408/* end confdefs.h. */ | 7412/* confdefs.h. */ 7413_ACEOF 7414cat confdefs.h >>conftest.$ac_ext 7415cat >>conftest.$ac_ext <<_ACEOF 7416/* end confdefs.h. */ |
7417/* Define mbrtowc to an innocuous variant, in case <limits.h> declares mbrtowc. 7418 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7419#define mbrtowc innocuous_mbrtowc 7420 |
|
6409/* System header to define __stub macros and hopefully few prototypes, 6410 which can conflict with char mbrtowc (); below. 6411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6412 <limits.h> exists even on freestanding compilers. */ | 7421/* System header to define __stub macros and hopefully few prototypes, 7422 which can conflict with char mbrtowc (); below. 7423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7424 <limits.h> exists even on freestanding compilers. */ |
7425 |
|
6413#ifdef __STDC__ 6414# include <limits.h> 6415#else 6416# include <assert.h> 6417#endif | 7426#ifdef __STDC__ 7427# include <limits.h> 7428#else 7429# include <assert.h> 7430#endif |
7431 7432#undef mbrtowc 7433 |
|
6418/* Override any gcc2 internal prototype to avoid an error. */ 6419#ifdef __cplusplus 6420extern "C" 6421{ 6422#endif 6423/* We use char because int might match the return type of a gcc2 6424 builtin and then its argument prototype would still apply. */ 6425char mbrtowc (); --- 14 unchanged lines hidden (view full) --- 6440{ 6441return f != mbrtowc; 6442 ; 6443 return 0; 6444} 6445_ACEOF 6446rm -f conftest.$ac_objext conftest$ac_exeext 6447if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7434/* Override any gcc2 internal prototype to avoid an error. */ 7435#ifdef __cplusplus 7436extern "C" 7437{ 7438#endif 7439/* We use char because int might match the return type of a gcc2 7440 builtin and then its argument prototype would still apply. */ 7441char mbrtowc (); --- 14 unchanged lines hidden (view full) --- 7456{ 7457return f != mbrtowc; 7458 ; 7459 return 0; 7460} 7461_ACEOF 7462rm -f conftest.$ac_objext conftest$ac_exeext 7463if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6448 (eval $ac_link) 2>&5 | 7464 (eval $ac_link) 2>conftest.er1 |
6449 ac_status=$? | 7465 ac_status=$? |
7466 grep -v '^ *+' conftest.er1 >conftest.err 7467 rm -f conftest.er1 7468 cat conftest.err >&5 |
|
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6451 (exit $ac_status); } && | 7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7470 (exit $ac_status); } && |
6452 { ac_try='test -s conftest$ac_exeext' | 7471 { ac_try='test -z "$ac_c_werror_flag" 7472 || test ! -s conftest.err' |
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6454 (eval $ac_try) 2>&5 6455 ac_status=$? 6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7474 (eval $ac_try) 2>&5 7475 ac_status=$? 7476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7477 (exit $ac_status); }; } && 7478 { ac_try='test -s conftest$ac_exeext' 7479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7480 (eval $ac_try) 2>&5 7481 ac_status=$? 7482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6457 (exit $ac_status); }; }; then 6458 ac_cv_func_mbrtowc=yes 6459else 6460 echo "$as_me: failed program was:" >&5 6461sed 's/^/| /' conftest.$ac_ext >&5 6462 6463ac_cv_func_mbrtowc=no 6464fi | 7483 (exit $ac_status); }; }; then 7484 ac_cv_func_mbrtowc=yes 7485else 7486 echo "$as_me: failed program was:" >&5 7487sed 's/^/| /' conftest.$ac_ext >&5 7488 7489ac_cv_func_mbrtowc=no 7490fi |
6465rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7491rm -f conftest.err conftest.$ac_objext \ 7492 conftest$ac_exeext conftest.$ac_ext |
6466fi 6467echo "$as_me:$LINENO: result: $ac_cv_func_mbrtowc" >&5 6468echo "${ECHO_T}$ac_cv_func_mbrtowc" >&6 6469if test $ac_cv_func_mbrtowc = yes; then 6470 cat >>confdefs.h <<\_ACEOF 6471#define HAVE_MBRTOWC 1 6472_ACEOF 6473 6474fi 6475 6476echo "$as_me:$LINENO: checking for mbrlen" >&5 6477echo $ECHO_N "checking for mbrlen... $ECHO_C" >&6 6478if test "${ac_cv_func_mbrlen+set}" = set; then 6479 echo $ECHO_N "(cached) $ECHO_C" >&6 6480else 6481 cat >conftest.$ac_ext <<_ACEOF | 7493fi 7494echo "$as_me:$LINENO: result: $ac_cv_func_mbrtowc" >&5 7495echo "${ECHO_T}$ac_cv_func_mbrtowc" >&6 7496if test $ac_cv_func_mbrtowc = yes; then 7497 cat >>confdefs.h <<\_ACEOF 7498#define HAVE_MBRTOWC 1 7499_ACEOF 7500 7501fi 7502 7503echo "$as_me:$LINENO: checking for mbrlen" >&5 7504echo $ECHO_N "checking for mbrlen... $ECHO_C" >&6 7505if test "${ac_cv_func_mbrlen+set}" = set; then 7506 echo $ECHO_N "(cached) $ECHO_C" >&6 7507else 7508 cat >conftest.$ac_ext <<_ACEOF |
6482#line $LINENO "configure" | |
6483/* confdefs.h. */ 6484_ACEOF 6485cat confdefs.h >>conftest.$ac_ext 6486cat >>conftest.$ac_ext <<_ACEOF 6487/* end confdefs.h. */ | 7509/* confdefs.h. */ 7510_ACEOF 7511cat confdefs.h >>conftest.$ac_ext 7512cat >>conftest.$ac_ext <<_ACEOF 7513/* end confdefs.h. */ |
7514/* Define mbrlen to an innocuous variant, in case <limits.h> declares mbrlen. 7515 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7516#define mbrlen innocuous_mbrlen 7517 |
|
6488/* System header to define __stub macros and hopefully few prototypes, 6489 which can conflict with char mbrlen (); below. 6490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6491 <limits.h> exists even on freestanding compilers. */ | 7518/* System header to define __stub macros and hopefully few prototypes, 7519 which can conflict with char mbrlen (); below. 7520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7521 <limits.h> exists even on freestanding compilers. */ |
7522 |
|
6492#ifdef __STDC__ 6493# include <limits.h> 6494#else 6495# include <assert.h> 6496#endif | 7523#ifdef __STDC__ 7524# include <limits.h> 7525#else 7526# include <assert.h> 7527#endif |
7528 7529#undef mbrlen 7530 |
|
6497/* Override any gcc2 internal prototype to avoid an error. */ 6498#ifdef __cplusplus 6499extern "C" 6500{ 6501#endif 6502/* We use char because int might match the return type of a gcc2 6503 builtin and then its argument prototype would still apply. */ 6504char mbrlen (); --- 14 unchanged lines hidden (view full) --- 6519{ 6520return f != mbrlen; 6521 ; 6522 return 0; 6523} 6524_ACEOF 6525rm -f conftest.$ac_objext conftest$ac_exeext 6526if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7531/* Override any gcc2 internal prototype to avoid an error. */ 7532#ifdef __cplusplus 7533extern "C" 7534{ 7535#endif 7536/* We use char because int might match the return type of a gcc2 7537 builtin and then its argument prototype would still apply. */ 7538char mbrlen (); --- 14 unchanged lines hidden (view full) --- 7553{ 7554return f != mbrlen; 7555 ; 7556 return 0; 7557} 7558_ACEOF 7559rm -f conftest.$ac_objext conftest$ac_exeext 7560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6527 (eval $ac_link) 2>&5 | 7561 (eval $ac_link) 2>conftest.er1 |
6528 ac_status=$? | 7562 ac_status=$? |
7563 grep -v '^ *+' conftest.er1 >conftest.err 7564 rm -f conftest.er1 7565 cat conftest.err >&5 |
|
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6530 (exit $ac_status); } && | 7566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7567 (exit $ac_status); } && |
6531 { ac_try='test -s conftest$ac_exeext' | 7568 { ac_try='test -z "$ac_c_werror_flag" 7569 || test ! -s conftest.err' |
6532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6533 (eval $ac_try) 2>&5 6534 ac_status=$? 6535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7571 (eval $ac_try) 2>&5 7572 ac_status=$? 7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7574 (exit $ac_status); }; } && 7575 { ac_try='test -s conftest$ac_exeext' 7576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7577 (eval $ac_try) 2>&5 7578 ac_status=$? 7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6536 (exit $ac_status); }; }; then 6537 ac_cv_func_mbrlen=yes 6538else 6539 echo "$as_me: failed program was:" >&5 6540sed 's/^/| /' conftest.$ac_ext >&5 6541 6542ac_cv_func_mbrlen=no 6543fi | 7580 (exit $ac_status); }; }; then 7581 ac_cv_func_mbrlen=yes 7582else 7583 echo "$as_me: failed program was:" >&5 7584sed 's/^/| /' conftest.$ac_ext >&5 7585 7586ac_cv_func_mbrlen=no 7587fi |
6544rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7588rm -f conftest.err conftest.$ac_objext \ 7589 conftest$ac_exeext conftest.$ac_ext |
6545fi 6546echo "$as_me:$LINENO: result: $ac_cv_func_mbrlen" >&5 6547echo "${ECHO_T}$ac_cv_func_mbrlen" >&6 6548if test $ac_cv_func_mbrlen = yes; then 6549 cat >>confdefs.h <<\_ACEOF 6550#define HAVE_MBRLEN 1 6551_ACEOF 6552 6553fi 6554 6555echo "$as_me:$LINENO: checking for wctomb" >&5 6556echo $ECHO_N "checking for wctomb... $ECHO_C" >&6 6557if test "${ac_cv_func_wctomb+set}" = set; then 6558 echo $ECHO_N "(cached) $ECHO_C" >&6 6559else 6560 cat >conftest.$ac_ext <<_ACEOF | 7590fi 7591echo "$as_me:$LINENO: result: $ac_cv_func_mbrlen" >&5 7592echo "${ECHO_T}$ac_cv_func_mbrlen" >&6 7593if test $ac_cv_func_mbrlen = yes; then 7594 cat >>confdefs.h <<\_ACEOF 7595#define HAVE_MBRLEN 1 7596_ACEOF 7597 7598fi 7599 7600echo "$as_me:$LINENO: checking for wctomb" >&5 7601echo $ECHO_N "checking for wctomb... $ECHO_C" >&6 7602if test "${ac_cv_func_wctomb+set}" = set; then 7603 echo $ECHO_N "(cached) $ECHO_C" >&6 7604else 7605 cat >conftest.$ac_ext <<_ACEOF |
6561#line $LINENO "configure" | |
6562/* confdefs.h. */ 6563_ACEOF 6564cat confdefs.h >>conftest.$ac_ext 6565cat >>conftest.$ac_ext <<_ACEOF 6566/* end confdefs.h. */ | 7606/* confdefs.h. */ 7607_ACEOF 7608cat confdefs.h >>conftest.$ac_ext 7609cat >>conftest.$ac_ext <<_ACEOF 7610/* end confdefs.h. */ |
7611/* Define wctomb to an innocuous variant, in case <limits.h> declares wctomb. 7612 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7613#define wctomb innocuous_wctomb 7614 |
|
6567/* System header to define __stub macros and hopefully few prototypes, 6568 which can conflict with char wctomb (); below. 6569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6570 <limits.h> exists even on freestanding compilers. */ | 7615/* System header to define __stub macros and hopefully few prototypes, 7616 which can conflict with char wctomb (); below. 7617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7618 <limits.h> exists even on freestanding compilers. */ |
7619 |
|
6571#ifdef __STDC__ 6572# include <limits.h> 6573#else 6574# include <assert.h> 6575#endif | 7620#ifdef __STDC__ 7621# include <limits.h> 7622#else 7623# include <assert.h> 7624#endif |
7625 7626#undef wctomb 7627 |
|
6576/* Override any gcc2 internal prototype to avoid an error. */ 6577#ifdef __cplusplus 6578extern "C" 6579{ 6580#endif 6581/* We use char because int might match the return type of a gcc2 6582 builtin and then its argument prototype would still apply. */ 6583char wctomb (); --- 14 unchanged lines hidden (view full) --- 6598{ 6599return f != wctomb; 6600 ; 6601 return 0; 6602} 6603_ACEOF 6604rm -f conftest.$ac_objext conftest$ac_exeext 6605if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7628/* Override any gcc2 internal prototype to avoid an error. */ 7629#ifdef __cplusplus 7630extern "C" 7631{ 7632#endif 7633/* We use char because int might match the return type of a gcc2 7634 builtin and then its argument prototype would still apply. */ 7635char wctomb (); --- 14 unchanged lines hidden (view full) --- 7650{ 7651return f != wctomb; 7652 ; 7653 return 0; 7654} 7655_ACEOF 7656rm -f conftest.$ac_objext conftest$ac_exeext 7657if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6606 (eval $ac_link) 2>&5 | 7658 (eval $ac_link) 2>conftest.er1 |
6607 ac_status=$? | 7659 ac_status=$? |
7660 grep -v '^ *+' conftest.er1 >conftest.err 7661 rm -f conftest.er1 7662 cat conftest.err >&5 |
|
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6609 (exit $ac_status); } && | 7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7664 (exit $ac_status); } && |
6610 { ac_try='test -s conftest$ac_exeext' | 7665 { ac_try='test -z "$ac_c_werror_flag" 7666 || test ! -s conftest.err' |
6611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6612 (eval $ac_try) 2>&5 6613 ac_status=$? 6614 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7668 (eval $ac_try) 2>&5 7669 ac_status=$? 7670 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7671 (exit $ac_status); }; } && 7672 { ac_try='test -s conftest$ac_exeext' 7673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7674 (eval $ac_try) 2>&5 7675 ac_status=$? 7676 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6615 (exit $ac_status); }; }; then 6616 ac_cv_func_wctomb=yes 6617else 6618 echo "$as_me: failed program was:" >&5 6619sed 's/^/| /' conftest.$ac_ext >&5 6620 6621ac_cv_func_wctomb=no 6622fi | 7677 (exit $ac_status); }; }; then 7678 ac_cv_func_wctomb=yes 7679else 7680 echo "$as_me: failed program was:" >&5 7681sed 's/^/| /' conftest.$ac_ext >&5 7682 7683ac_cv_func_wctomb=no 7684fi |
6623rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7685rm -f conftest.err conftest.$ac_objext \ 7686 conftest$ac_exeext conftest.$ac_ext |
6624fi 6625echo "$as_me:$LINENO: result: $ac_cv_func_wctomb" >&5 6626echo "${ECHO_T}$ac_cv_func_wctomb" >&6 6627if test $ac_cv_func_wctomb = yes; then 6628 cat >>confdefs.h <<\_ACEOF 6629#define HAVE_WCTOMB 1 6630_ACEOF 6631 6632fi 6633 6634echo "$as_me:$LINENO: checking for wcwidth" >&5 6635echo $ECHO_N "checking for wcwidth... $ECHO_C" >&6 6636if test "${ac_cv_func_wcwidth+set}" = set; then 6637 echo $ECHO_N "(cached) $ECHO_C" >&6 6638else 6639 cat >conftest.$ac_ext <<_ACEOF | 7687fi 7688echo "$as_me:$LINENO: result: $ac_cv_func_wctomb" >&5 7689echo "${ECHO_T}$ac_cv_func_wctomb" >&6 7690if test $ac_cv_func_wctomb = yes; then 7691 cat >>confdefs.h <<\_ACEOF 7692#define HAVE_WCTOMB 1 7693_ACEOF 7694 7695fi 7696 7697echo "$as_me:$LINENO: checking for wcwidth" >&5 7698echo $ECHO_N "checking for wcwidth... $ECHO_C" >&6 7699if test "${ac_cv_func_wcwidth+set}" = set; then 7700 echo $ECHO_N "(cached) $ECHO_C" >&6 7701else 7702 cat >conftest.$ac_ext <<_ACEOF |
6640#line $LINENO "configure" | |
6641/* confdefs.h. */ 6642_ACEOF 6643cat confdefs.h >>conftest.$ac_ext 6644cat >>conftest.$ac_ext <<_ACEOF 6645/* end confdefs.h. */ | 7703/* confdefs.h. */ 7704_ACEOF 7705cat confdefs.h >>conftest.$ac_ext 7706cat >>conftest.$ac_ext <<_ACEOF 7707/* end confdefs.h. */ |
7708/* Define wcwidth to an innocuous variant, in case <limits.h> declares wcwidth. 7709 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7710#define wcwidth innocuous_wcwidth 7711 |
|
6646/* System header to define __stub macros and hopefully few prototypes, 6647 which can conflict with char wcwidth (); below. 6648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6649 <limits.h> exists even on freestanding compilers. */ | 7712/* System header to define __stub macros and hopefully few prototypes, 7713 which can conflict with char wcwidth (); below. 7714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7715 <limits.h> exists even on freestanding compilers. */ |
7716 |
|
6650#ifdef __STDC__ 6651# include <limits.h> 6652#else 6653# include <assert.h> 6654#endif | 7717#ifdef __STDC__ 7718# include <limits.h> 7719#else 7720# include <assert.h> 7721#endif |
7722 7723#undef wcwidth 7724 |
|
6655/* Override any gcc2 internal prototype to avoid an error. */ 6656#ifdef __cplusplus 6657extern "C" 6658{ 6659#endif 6660/* We use char because int might match the return type of a gcc2 6661 builtin and then its argument prototype would still apply. */ 6662char wcwidth (); --- 14 unchanged lines hidden (view full) --- 6677{ 6678return f != wcwidth; 6679 ; 6680 return 0; 6681} 6682_ACEOF 6683rm -f conftest.$ac_objext conftest$ac_exeext 6684if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7725/* Override any gcc2 internal prototype to avoid an error. */ 7726#ifdef __cplusplus 7727extern "C" 7728{ 7729#endif 7730/* We use char because int might match the return type of a gcc2 7731 builtin and then its argument prototype would still apply. */ 7732char wcwidth (); --- 14 unchanged lines hidden (view full) --- 7747{ 7748return f != wcwidth; 7749 ; 7750 return 0; 7751} 7752_ACEOF 7753rm -f conftest.$ac_objext conftest$ac_exeext 7754if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6685 (eval $ac_link) 2>&5 | 7755 (eval $ac_link) 2>conftest.er1 |
6686 ac_status=$? | 7756 ac_status=$? |
7757 grep -v '^ *+' conftest.er1 >conftest.err 7758 rm -f conftest.er1 7759 cat conftest.err >&5 |
|
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6688 (exit $ac_status); } && | 7760 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7761 (exit $ac_status); } && |
6689 { ac_try='test -s conftest$ac_exeext' | 7762 { ac_try='test -z "$ac_c_werror_flag" 7763 || test ! -s conftest.err' |
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6691 (eval $ac_try) 2>&5 6692 ac_status=$? 6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7765 (eval $ac_try) 2>&5 7766 ac_status=$? 7767 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7768 (exit $ac_status); }; } && 7769 { ac_try='test -s conftest$ac_exeext' 7770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7771 (eval $ac_try) 2>&5 7772 ac_status=$? 7773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6694 (exit $ac_status); }; }; then 6695 ac_cv_func_wcwidth=yes 6696else 6697 echo "$as_me: failed program was:" >&5 6698sed 's/^/| /' conftest.$ac_ext >&5 6699 6700ac_cv_func_wcwidth=no 6701fi | 7774 (exit $ac_status); }; }; then 7775 ac_cv_func_wcwidth=yes 7776else 7777 echo "$as_me: failed program was:" >&5 7778sed 's/^/| /' conftest.$ac_ext >&5 7779 7780ac_cv_func_wcwidth=no 7781fi |
6702rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7782rm -f conftest.err conftest.$ac_objext \ 7783 conftest$ac_exeext conftest.$ac_ext |
6703fi 6704echo "$as_me:$LINENO: result: $ac_cv_func_wcwidth" >&5 6705echo "${ECHO_T}$ac_cv_func_wcwidth" >&6 6706if test $ac_cv_func_wcwidth = yes; then 6707 cat >>confdefs.h <<\_ACEOF 6708#define HAVE_WCWIDTH 1 6709_ACEOF 6710 6711fi 6712 6713echo "$as_me:$LINENO: checking for wcsdup" >&5 6714echo $ECHO_N "checking for wcsdup... $ECHO_C" >&6 6715if test "${ac_cv_func_wcsdup+set}" = set; then 6716 echo $ECHO_N "(cached) $ECHO_C" >&6 6717else 6718 cat >conftest.$ac_ext <<_ACEOF | 7784fi 7785echo "$as_me:$LINENO: result: $ac_cv_func_wcwidth" >&5 7786echo "${ECHO_T}$ac_cv_func_wcwidth" >&6 7787if test $ac_cv_func_wcwidth = yes; then 7788 cat >>confdefs.h <<\_ACEOF 7789#define HAVE_WCWIDTH 1 7790_ACEOF 7791 7792fi 7793 7794echo "$as_me:$LINENO: checking for wcsdup" >&5 7795echo $ECHO_N "checking for wcsdup... $ECHO_C" >&6 7796if test "${ac_cv_func_wcsdup+set}" = set; then 7797 echo $ECHO_N "(cached) $ECHO_C" >&6 7798else 7799 cat >conftest.$ac_ext <<_ACEOF |
6719#line $LINENO "configure" | |
6720/* confdefs.h. */ 6721_ACEOF 6722cat confdefs.h >>conftest.$ac_ext 6723cat >>conftest.$ac_ext <<_ACEOF 6724/* end confdefs.h. */ | 7800/* confdefs.h. */ 7801_ACEOF 7802cat confdefs.h >>conftest.$ac_ext 7803cat >>conftest.$ac_ext <<_ACEOF 7804/* end confdefs.h. */ |
7805/* Define wcsdup to an innocuous variant, in case <limits.h> declares wcsdup. 7806 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 7807#define wcsdup innocuous_wcsdup 7808 |
|
6725/* System header to define __stub macros and hopefully few prototypes, 6726 which can conflict with char wcsdup (); below. 6727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 6728 <limits.h> exists even on freestanding compilers. */ | 7809/* System header to define __stub macros and hopefully few prototypes, 7810 which can conflict with char wcsdup (); below. 7811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 7812 <limits.h> exists even on freestanding compilers. */ |
7813 |
|
6729#ifdef __STDC__ 6730# include <limits.h> 6731#else 6732# include <assert.h> 6733#endif | 7814#ifdef __STDC__ 7815# include <limits.h> 7816#else 7817# include <assert.h> 7818#endif |
7819 7820#undef wcsdup 7821 |
|
6734/* Override any gcc2 internal prototype to avoid an error. */ 6735#ifdef __cplusplus 6736extern "C" 6737{ 6738#endif 6739/* We use char because int might match the return type of a gcc2 6740 builtin and then its argument prototype would still apply. */ 6741char wcsdup (); --- 14 unchanged lines hidden (view full) --- 6756{ 6757return f != wcsdup; 6758 ; 6759 return 0; 6760} 6761_ACEOF 6762rm -f conftest.$ac_objext conftest$ac_exeext 6763if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7822/* Override any gcc2 internal prototype to avoid an error. */ 7823#ifdef __cplusplus 7824extern "C" 7825{ 7826#endif 7827/* We use char because int might match the return type of a gcc2 7828 builtin and then its argument prototype would still apply. */ 7829char wcsdup (); --- 14 unchanged lines hidden (view full) --- 7844{ 7845return f != wcsdup; 7846 ; 7847 return 0; 7848} 7849_ACEOF 7850rm -f conftest.$ac_objext conftest$ac_exeext 7851if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6764 (eval $ac_link) 2>&5 | 7852 (eval $ac_link) 2>conftest.er1 |
6765 ac_status=$? | 7853 ac_status=$? |
7854 grep -v '^ *+' conftest.er1 >conftest.err 7855 rm -f conftest.er1 7856 cat conftest.err >&5 |
|
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6767 (exit $ac_status); } && | 7857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7858 (exit $ac_status); } && |
6768 { ac_try='test -s conftest$ac_exeext' | 7859 { ac_try='test -z "$ac_c_werror_flag" 7860 || test ! -s conftest.err' |
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6770 (eval $ac_try) 2>&5 6771 ac_status=$? 6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7862 (eval $ac_try) 2>&5 7863 ac_status=$? 7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7865 (exit $ac_status); }; } && 7866 { ac_try='test -s conftest$ac_exeext' 7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7868 (eval $ac_try) 2>&5 7869 ac_status=$? 7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6773 (exit $ac_status); }; }; then 6774 ac_cv_func_wcsdup=yes 6775else 6776 echo "$as_me: failed program was:" >&5 6777sed 's/^/| /' conftest.$ac_ext >&5 6778 6779ac_cv_func_wcsdup=no 6780fi | 7871 (exit $ac_status); }; }; then 7872 ac_cv_func_wcsdup=yes 7873else 7874 echo "$as_me: failed program was:" >&5 7875sed 's/^/| /' conftest.$ac_ext >&5 7876 7877ac_cv_func_wcsdup=no 7878fi |
6781rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 7879rm -f conftest.err conftest.$ac_objext \ 7880 conftest$ac_exeext conftest.$ac_ext |
6782fi 6783echo "$as_me:$LINENO: result: $ac_cv_func_wcsdup" >&5 6784echo "${ECHO_T}$ac_cv_func_wcsdup" >&6 6785if test $ac_cv_func_wcsdup = yes; then 6786 cat >>confdefs.h <<\_ACEOF 6787#define HAVE_WCSDUP 1 6788_ACEOF 6789 6790fi 6791 6792 6793echo "$as_me:$LINENO: checking for mbstate_t" >&5 6794echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 6795if test "${bash_cv_have_mbstate_t+set}" = set; then 6796 echo $ECHO_N "(cached) $ECHO_C" >&6 6797else 6798 cat >conftest.$ac_ext <<_ACEOF | 7881fi 7882echo "$as_me:$LINENO: result: $ac_cv_func_wcsdup" >&5 7883echo "${ECHO_T}$ac_cv_func_wcsdup" >&6 7884if test $ac_cv_func_wcsdup = yes; then 7885 cat >>confdefs.h <<\_ACEOF 7886#define HAVE_WCSDUP 1 7887_ACEOF 7888 7889fi 7890 7891 7892echo "$as_me:$LINENO: checking for mbstate_t" >&5 7893echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6 7894if test "${bash_cv_have_mbstate_t+set}" = set; then 7895 echo $ECHO_N "(cached) $ECHO_C" >&6 7896else 7897 cat >conftest.$ac_ext <<_ACEOF |
6799#line $LINENO "configure" | |
6800/* confdefs.h. */ 6801_ACEOF 6802cat confdefs.h >>conftest.$ac_ext 6803cat >>conftest.$ac_ext <<_ACEOF 6804/* end confdefs.h. */ 6805 6806#include <wchar.h> 6807int --- 5 unchanged lines hidden (view full) --- 6813 psp = (mbstate_t *)0; 6814 6815 ; 6816 return 0; 6817} 6818_ACEOF 6819rm -f conftest.$ac_objext 6820if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 7898/* confdefs.h. */ 7899_ACEOF 7900cat confdefs.h >>conftest.$ac_ext 7901cat >>conftest.$ac_ext <<_ACEOF 7902/* end confdefs.h. */ 7903 7904#include <wchar.h> 7905int --- 5 unchanged lines hidden (view full) --- 7911 psp = (mbstate_t *)0; 7912 7913 ; 7914 return 0; 7915} 7916_ACEOF 7917rm -f conftest.$ac_objext 7918if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6821 (eval $ac_compile) 2>&5 | 7919 (eval $ac_compile) 2>conftest.er1 |
6822 ac_status=$? | 7920 ac_status=$? |
7921 grep -v '^ *+' conftest.er1 >conftest.err 7922 rm -f conftest.er1 7923 cat conftest.err >&5 |
|
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6824 (exit $ac_status); } && | 7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7925 (exit $ac_status); } && |
6825 { ac_try='test -s conftest.$ac_objext' | 7926 { ac_try='test -z "$ac_c_werror_flag" 7927 || test ! -s conftest.err' |
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6827 (eval $ac_try) 2>&5 6828 ac_status=$? 6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7929 (eval $ac_try) 2>&5 7930 ac_status=$? 7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7932 (exit $ac_status); }; } && 7933 { ac_try='test -s conftest.$ac_objext' 7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7935 (eval $ac_try) 2>&5 7936 ac_status=$? 7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6830 (exit $ac_status); }; }; then 6831 bash_cv_have_mbstate_t=yes 6832else 6833 echo "$as_me: failed program was:" >&5 6834sed 's/^/| /' conftest.$ac_ext >&5 6835 6836bash_cv_have_mbstate_t=no 6837fi | 7938 (exit $ac_status); }; }; then 7939 bash_cv_have_mbstate_t=yes 7940else 7941 echo "$as_me: failed program was:" >&5 7942sed 's/^/| /' conftest.$ac_ext >&5 7943 7944bash_cv_have_mbstate_t=no 7945fi |
6838rm -f conftest.$ac_objext conftest.$ac_ext | 7946rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
6839fi 6840echo "$as_me:$LINENO: result: $bash_cv_have_mbstate_t" >&5 6841echo "${ECHO_T}$bash_cv_have_mbstate_t" >&6 6842if test $bash_cv_have_mbstate_t = yes; then 6843 cat >>confdefs.h <<\_ACEOF 6844#define HAVE_MBSTATE_T 1 6845_ACEOF 6846 6847fi 6848 6849echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 6850echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 6851if test "${bash_cv_langinfo_codeset+set}" = set; then 6852 echo $ECHO_N "(cached) $ECHO_C" >&6 6853else 6854 cat >conftest.$ac_ext <<_ACEOF | 7947fi 7948echo "$as_me:$LINENO: result: $bash_cv_have_mbstate_t" >&5 7949echo "${ECHO_T}$bash_cv_have_mbstate_t" >&6 7950if test $bash_cv_have_mbstate_t = yes; then 7951 cat >>confdefs.h <<\_ACEOF 7952#define HAVE_MBSTATE_T 1 7953_ACEOF 7954 7955fi 7956 7957echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 7958echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 7959if test "${bash_cv_langinfo_codeset+set}" = set; then 7960 echo $ECHO_N "(cached) $ECHO_C" >&6 7961else 7962 cat >conftest.$ac_ext <<_ACEOF |
6855#line $LINENO "configure" | |
6856/* confdefs.h. */ 6857_ACEOF 6858cat confdefs.h >>conftest.$ac_ext 6859cat >>conftest.$ac_ext <<_ACEOF 6860/* end confdefs.h. */ 6861#include <langinfo.h> 6862int 6863main () 6864{ 6865char* cs = nl_langinfo(CODESET); 6866 ; 6867 return 0; 6868} 6869_ACEOF 6870rm -f conftest.$ac_objext conftest$ac_exeext 6871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 7963/* confdefs.h. */ 7964_ACEOF 7965cat confdefs.h >>conftest.$ac_ext 7966cat >>conftest.$ac_ext <<_ACEOF 7967/* end confdefs.h. */ 7968#include <langinfo.h> 7969int 7970main () 7971{ 7972char* cs = nl_langinfo(CODESET); 7973 ; 7974 return 0; 7975} 7976_ACEOF 7977rm -f conftest.$ac_objext conftest$ac_exeext 7978if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6872 (eval $ac_link) 2>&5 | 7979 (eval $ac_link) 2>conftest.er1 |
6873 ac_status=$? | 7980 ac_status=$? |
7981 grep -v '^ *+' conftest.er1 >conftest.err 7982 rm -f conftest.er1 7983 cat conftest.err >&5 |
|
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6875 (exit $ac_status); } && | 7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7985 (exit $ac_status); } && |
6876 { ac_try='test -s conftest$ac_exeext' | 7986 { ac_try='test -z "$ac_c_werror_flag" 7987 || test ! -s conftest.err' |
6877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 6878 (eval $ac_try) 2>&5 6879 ac_status=$? 6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 7988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7989 (eval $ac_try) 2>&5 7990 ac_status=$? 7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7992 (exit $ac_status); }; } && 7993 { ac_try='test -s conftest$ac_exeext' 7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 7995 (eval $ac_try) 2>&5 7996 ac_status=$? 7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
6881 (exit $ac_status); }; }; then 6882 bash_cv_langinfo_codeset=yes 6883else 6884 echo "$as_me: failed program was:" >&5 6885sed 's/^/| /' conftest.$ac_ext >&5 6886 6887bash_cv_langinfo_codeset=no 6888fi | 7998 (exit $ac_status); }; }; then 7999 bash_cv_langinfo_codeset=yes 8000else 8001 echo "$as_me: failed program was:" >&5 8002sed 's/^/| /' conftest.$ac_ext >&5 8003 8004bash_cv_langinfo_codeset=no 8005fi |
6889rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 8006rm -f conftest.err conftest.$ac_objext \ 8007 conftest$ac_exeext conftest.$ac_ext |
6890fi 6891echo "$as_me:$LINENO: result: $bash_cv_langinfo_codeset" >&5 6892echo "${ECHO_T}$bash_cv_langinfo_codeset" >&6 6893if test $bash_cv_langinfo_codeset = yes; then 6894 cat >>confdefs.h <<\_ACEOF 6895#define HAVE_LANGINFO_CODESET 1 6896_ACEOF 6897 --- 13 unchanged lines hidden (view full) --- 6911# shared library configuration section 6912# 6913# Shared object configuration section. These values are generated by 6914# ${srcdir}/support/shobj-conf 6915# 6916if test -f ${srcdir}/support/shobj-conf; then 6917 echo "$as_me:$LINENO: checking configuration for building shared libraries" >&5 6918echo $ECHO_N "checking configuration for building shared libraries... $ECHO_C" >&6 | 8008fi 8009echo "$as_me:$LINENO: result: $bash_cv_langinfo_codeset" >&5 8010echo "${ECHO_T}$bash_cv_langinfo_codeset" >&6 8011if test $bash_cv_langinfo_codeset = yes; then 8012 cat >>confdefs.h <<\_ACEOF 8013#define HAVE_LANGINFO_CODESET 1 8014_ACEOF 8015 --- 13 unchanged lines hidden (view full) --- 8029# shared library configuration section 8030# 8031# Shared object configuration section. These values are generated by 8032# ${srcdir}/support/shobj-conf 8033# 8034if test -f ${srcdir}/support/shobj-conf; then 8035 echo "$as_me:$LINENO: checking configuration for building shared libraries" >&5 8036echo $ECHO_N "checking configuration for building shared libraries... $ECHO_C" >&6 |
6919 eval `${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}` | 8037 eval `TERMCAP_LIB=$TERMCAP_LIB ${CONFIG_SHELL-/bin/sh} ${srcdir}/support/shobj-conf -C "${CC}" -c ${host_cpu} -o ${host_os} -v ${host_vendor}` |
6920 | 8038 |
8039# case "$SHLIB_LIBS" in 8040# *curses*|*termcap*|*termlib*) ;; 8041# *) SHLIB_LIBS="$SHLIB_LIBS $TERMCAP_LIB" ;; 8042# esac |
|
6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 | 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 |
8054 8055 8056 8057 8058 |
|
6932 echo "$as_me:$LINENO: result: $SHLIB_STATUS" >&5 6933echo "${ECHO_T}$SHLIB_STATUS" >&6 6934 6935 # SHLIB_STATUS is either `supported' or `unsupported'. If it's 6936 # `unsupported', turn off any default shared library building 6937 if test "$SHLIB_STATUS" = 'unsupported'; then 6938 opt_shared_libs=no 6939 fi --- 20 unchanged lines hidden (view full) --- 6960 6961 6962 6963case "$host_os" in 6964msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file 6965*) BUILD_DIR=`pwd` ;; 6966esac 6967 | 8059 echo "$as_me:$LINENO: result: $SHLIB_STATUS" >&5 8060echo "${ECHO_T}$SHLIB_STATUS" >&6 8061 8062 # SHLIB_STATUS is either `supported' or `unsupported'. If it's 8063 # `unsupported', turn off any default shared library building 8064 if test "$SHLIB_STATUS" = 'unsupported'; then 8065 opt_shared_libs=no 8066 fi --- 20 unchanged lines hidden (view full) --- 8087 8088 8089 8090case "$host_os" in 8091msdosdjgpp*) BUILD_DIR=`pwd.exe` ;; # to prevent //d/path/file 8092*) BUILD_DIR=`pwd` ;; 8093esac 8094 |
8095case "$BUILD_DIR" in 8096*\ *) BUILD_DIR=`echo "$BUILD_DIR" | sed 's: :\\\\ :g'` ;; 8097*) ;; 8098esac |
|
6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 | 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 |
8116 8117 |
|
6985 ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile shlib/Makefile" 6986 ac_config_commands="$ac_config_commands default" 6987cat >confcache <<\_ACEOF 6988# This file is a shell script that caches the results of configure 6989# tests run on this system so they can be shared between configure 6990# scripts and configure runs, see configure's option --config-cache. 6991# It is not useful on other systems. If it contains results you don't 6992# want to keep, you may remove or edit it. --- 14 unchanged lines hidden (view full) --- 7007# and sets the high bit in the cache file unless we assign to the vars. 7008{ 7009 (set) 2>&1 | 7010 case `(ac_space=' '; set | grep ac_space) 2>&1` in 7011 *ac_space=\ *) 7012 # `set' does not quote correctly, so add quotes (double-quote 7013 # substitution turns \\\\ into \\, and sed turns \\ into \). 7014 sed -n \ | 8118 ac_config_files="$ac_config_files Makefile doc/Makefile examples/Makefile shlib/Makefile" 8119 ac_config_commands="$ac_config_commands default" 8120cat >confcache <<\_ACEOF 8121# This file is a shell script that caches the results of configure 8122# tests run on this system so they can be shared between configure 8123# scripts and configure runs, see configure's option --config-cache. 8124# It is not useful on other systems. If it contains results you don't 8125# want to keep, you may remove or edit it. --- 14 unchanged lines hidden (view full) --- 8140# and sets the high bit in the cache file unless we assign to the vars. 8141{ 8142 (set) 2>&1 | 8143 case `(ac_space=' '; set | grep ac_space) 2>&1` in 8144 *ac_space=\ *) 8145 # `set' does not quote correctly, so add quotes (double-quote 8146 # substitution turns \\\\ into \\, and sed turns \\ into \). 8147 sed -n \ |
7015 "s/'/'\\\\''/g; 7016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 8148 "s/'/'\\\\''/g; 8149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
7017 ;; 7018 *) 7019 # `set' quotes correctly as required by POSIX, so do not add quotes. 7020 sed -n \ | 8150 ;; 8151 *) 8152 # `set' quotes correctly as required by POSIX, so do not add quotes. 8153 sed -n \ |
7021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 8154 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
7022 ;; 7023 esac; 7024} | 7025 sed ' 7026 t clear 7027 : clear 7028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7029 t end --- 13 unchanged lines hidden (view full) --- 7043# Let make expand exec_prefix. 7044test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7045 7046# VPATH may cause trouble with some makes, so we remove $(srcdir), 7047# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 7048# trailing colons and then remove the whole line if VPATH becomes empty 7049# (actually we leave an empty line to preserve line numbers). 7050if test "x$srcdir" = x.; then | 8155 ;; 8156 esac; 8157} | 8158 sed ' 8159 t clear 8160 : clear 8161 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 8162 t end --- 13 unchanged lines hidden (view full) --- 8176# Let make expand exec_prefix. 8177test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 8178 8179# VPATH may cause trouble with some makes, so we remove $(srcdir), 8180# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 8181# trailing colons and then remove the whole line if VPATH becomes empty 8182# (actually we leave an empty line to preserve line numbers). 8183if test "x$srcdir" = x.; then |
7051 ac_vpsub='/^[ ]*VPATH[ ]*=/{ | 8184 ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
7052s/:*\$(srcdir):*/:/; 7053s/:*\${srcdir}:*/:/; 7054s/:*@srcdir@:*/:/; | 8185s/:*\$(srcdir):*/:/; 8186s/:*\${srcdir}:*/:/; 8187s/:*@srcdir@:*/:/; |
7055s/^\([^=]*=[ ]*\):*/\1/; | 8188s/^\([^=]*=[ ]*\):*/\1/; |
7056s/:*$//; | 8189s/:*$//; |
7057s/^[^=]*=[ ]*$//; | 8190s/^[^=]*=[ ]*$//; |
7058}' 7059fi 7060 7061DEFS=-DHAVE_CONFIG_H 7062 7063ac_libobjs= 7064ac_ltlibobjs= 7065for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7066 # 1. Remove the extension, and $U if already installed. 7067 ac_i=`echo "$ac_i" | | 8191}' 8192fi 8193 8194DEFS=-DHAVE_CONFIG_H 8195 8196ac_libobjs= 8197ac_ltlibobjs= 8198for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 8199 # 1. Remove the extension, and $U if already installed. 8200 ac_i=`echo "$ac_i" | |
7068 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 8201 sed 's/\$U\././;s/\.o$//;s/\.obj$//'` |
7069 # 2. Add them. 7070 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 7071 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 7072done 7073LIBOBJS=$ac_libobjs 7074 7075LTLIBOBJS=$ac_ltlibobjs 7076 --- 27 unchanged lines hidden (view full) --- 7104 emulate sh 7105 NULLCMD=: 7106 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 7107 # is contrary to our usage. Disable this feature. 7108 alias -g '${1+"$@"}'='"$@"' 7109elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 7110 set -o posix 7111fi | 8202 # 2. Add them. 8203 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" 8204 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' 8205done 8206LIBOBJS=$ac_libobjs 8207 8208LTLIBOBJS=$ac_ltlibobjs 8209 --- 27 unchanged lines hidden (view full) --- 8237 emulate sh 8238 NULLCMD=: 8239 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 8240 # is contrary to our usage. Disable this feature. 8241 alias -g '${1+"$@"}'='"$@"' 8242elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 8243 set -o posix 8244fi |
8245DUALCASE=1; export DUALCASE # for MKS sh |
|
7112 7113# Support unset when possible. | 8246 8247# Support unset when possible. |
7114if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 8248if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
7115 as_unset=unset 7116else 7117 as_unset=false 7118fi 7119 7120 7121# Work around bugs in pre-3.0 UWIN ksh. 7122$as_unset ENV MAIL MAILPATH 7123PS1='$ ' 7124PS2='> ' 7125PS4='+ ' 7126 7127# NLS nuisances. 7128for as_var in \ 7129 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 7130 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 7131 LC_TELEPHONE LC_TIME 7132do | 8249 as_unset=unset 8250else 8251 as_unset=false 8252fi 8253 8254 8255# Work around bugs in pre-3.0 UWIN ksh. 8256$as_unset ENV MAIL MAILPATH 8257PS1='$ ' 8258PS2='> ' 8259PS4='+ ' 8260 8261# NLS nuisances. 8262for as_var in \ 8263 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 8264 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 8265 LC_TELEPHONE LC_TIME 8266do |
7133 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 8267 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then |
7134 eval $as_var=C; export $as_var 7135 else 7136 $as_unset $as_var 7137 fi 7138done 7139 7140# Required to use basename. 7141if expr a : '\(a\)' >/dev/null 2>&1; then --- 162 unchanged lines hidden (view full) --- 7304else 7305 as_ln_s='cp -p' 7306fi 7307rm -f conf$$ conf$$.exe conf$$.file 7308 7309if mkdir -p . 2>/dev/null; then 7310 as_mkdir_p=: 7311else | 8268 eval $as_var=C; export $as_var 8269 else 8270 $as_unset $as_var 8271 fi 8272done 8273 8274# Required to use basename. 8275if expr a : '\(a\)' >/dev/null 2>&1; then --- 162 unchanged lines hidden (view full) --- 8438else 8439 as_ln_s='cp -p' 8440fi 8441rm -f conf$$ conf$$.exe conf$$.file 8442 8443if mkdir -p . 2>/dev/null; then 8444 as_mkdir_p=: 8445else |
8446 test -d ./-p && rmdir ./-p |
|
7312 as_mkdir_p=false 7313fi 7314 7315as_executable_p="test -f" 7316 7317# Sed expression to map a string onto a valid CPP name. | 8447 as_mkdir_p=false 8448fi 8449 8450as_executable_p="test -f" 8451 8452# Sed expression to map a string onto a valid CPP name. |
7318as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 8453as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
7319 7320# Sed expression to map a string onto a valid variable name. | 8454 8455# Sed expression to map a string onto a valid variable name. |
7321as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 8456as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
7322 7323 7324# IFS 7325# We need space, tab and new line, in precisely that order. 7326as_nl=' 7327' 7328IFS=" $as_nl" 7329 --- 9 unchanged lines hidden (view full) --- 7339{ 7340 echo 7341 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7342## Running $as_me. ## 7343_ASBOX 7344} >&5 7345cat >&5 <<_CSEOF 7346 | 8457 8458 8459# IFS 8460# We need space, tab and new line, in precisely that order. 8461as_nl=' 8462' 8463IFS=" $as_nl" 8464 --- 9 unchanged lines hidden (view full) --- 8474{ 8475 echo 8476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 8477## Running $as_me. ## 8478_ASBOX 8479} >&5 8480cat >&5 <<_CSEOF 8481 |
7347This file was extended by readline $as_me 5.0-rc1, which was 7348generated by GNU Autoconf 2.57. Invocation command line was | 8482This file was extended by readline $as_me 5.1-beta1, which was 8483generated by GNU Autoconf 2.59. Invocation command line was |
7349 7350 CONFIG_FILES = $CONFIG_FILES 7351 CONFIG_HEADERS = $CONFIG_HEADERS 7352 CONFIG_LINKS = $CONFIG_LINKS 7353 CONFIG_COMMANDS = $CONFIG_COMMANDS 7354 $ $0 $@ 7355 7356_CSEOF --- 27 unchanged lines hidden (view full) --- 7384Usage: $0 [OPTIONS] [FILE]... 7385 7386 -h, --help print this help, then exit 7387 -V, --version print version number, then exit 7388 -q, --quiet do not print progress messages 7389 -d, --debug don't remove temporary files 7390 --recheck update $as_me by reconfiguring in the same conditions 7391 --file=FILE[:TEMPLATE] | 8484 8485 CONFIG_FILES = $CONFIG_FILES 8486 CONFIG_HEADERS = $CONFIG_HEADERS 8487 CONFIG_LINKS = $CONFIG_LINKS 8488 CONFIG_COMMANDS = $CONFIG_COMMANDS 8489 $ $0 $@ 8490 8491_CSEOF --- 27 unchanged lines hidden (view full) --- 8519Usage: $0 [OPTIONS] [FILE]... 8520 8521 -h, --help print this help, then exit 8522 -V, --version print version number, then exit 8523 -q, --quiet do not print progress messages 8524 -d, --debug don't remove temporary files 8525 --recheck update $as_me by reconfiguring in the same conditions 8526 --file=FILE[:TEMPLATE] |
7392 instantiate the configuration file FILE | 8527 instantiate the configuration file FILE |
7393 --header=FILE[:TEMPLATE] | 8528 --header=FILE[:TEMPLATE] |
7394 instantiate the configuration header FILE | 8529 instantiate the configuration header FILE |
7395 7396Configuration files: 7397$config_files 7398 7399Configuration headers: 7400$config_headers 7401 7402Configuration commands: 7403$config_commands 7404 7405Report bugs to <bug-autoconf@gnu.org>." 7406_ACEOF 7407 7408cat >>$CONFIG_STATUS <<_ACEOF 7409ac_cs_version="\\ | 8530 8531Configuration files: 8532$config_files 8533 8534Configuration headers: 8535$config_headers 8536 8537Configuration commands: 8538$config_commands 8539 8540Report bugs to <bug-autoconf@gnu.org>." 8541_ACEOF 8542 8543cat >>$CONFIG_STATUS <<_ACEOF 8544ac_cs_version="\\ |
7410readline config.status 5.0-rc1 7411configured by $0, generated by GNU Autoconf 2.57, | 8545readline config.status 5.1-beta1 8546configured by $0, generated by GNU Autoconf 2.59, |
7412 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 7413 | 8547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 8548 |
7414Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 7415Free Software Foundation, Inc. | 8549Copyright (C) 2003 Free Software Foundation, Inc. |
7416This config.status script is free software; the Free Software Foundation 7417gives unlimited permission to copy, distribute and modify it." 7418srcdir=$srcdir 7419INSTALL="$INSTALL" 7420_ACEOF 7421 7422cat >>$CONFIG_STATUS <<\_ACEOF 7423# If no file are specified by the user, then we need to provide default --- 181 unchanged lines hidden (view full) --- 7605s,@build@,$build,;t t 7606s,@build_cpu@,$build_cpu,;t t 7607s,@build_vendor@,$build_vendor,;t t 7608s,@build_os@,$build_os,;t t 7609s,@host@,$host,;t t 7610s,@host_cpu@,$host_cpu,;t t 7611s,@host_vendor@,$host_vendor,;t t 7612s,@host_os@,$host_os,;t t | 8550This config.status script is free software; the Free Software Foundation 8551gives unlimited permission to copy, distribute and modify it." 8552srcdir=$srcdir 8553INSTALL="$INSTALL" 8554_ACEOF 8555 8556cat >>$CONFIG_STATUS <<\_ACEOF 8557# If no file are specified by the user, then we need to provide default --- 181 unchanged lines hidden (view full) --- 8739s,@build@,$build,;t t 8740s,@build_cpu@,$build_cpu,;t t 8741s,@build_vendor@,$build_vendor,;t t 8742s,@build_os@,$build_os,;t t 8743s,@host@,$host,;t t 8744s,@host_cpu@,$host_cpu,;t t 8745s,@host_vendor@,$host_vendor,;t t 8746s,@host_os@,$host_os,;t t |
8747s,@CROSS_COMPILE@,$CROSS_COMPILE,;t t |
|
7613s,@SET_MAKE@,$SET_MAKE,;t t 7614s,@CC@,$CC,;t t 7615s,@CFLAGS@,$CFLAGS,;t t 7616s,@LDFLAGS@,$LDFLAGS,;t t 7617s,@CPPFLAGS@,$CPPFLAGS,;t t 7618s,@ac_ct_CC@,$ac_ct_CC,;t t 7619s,@EXEEXT@,$EXEEXT,;t t 7620s,@OBJEXT@,$OBJEXT,;t t --- 10 unchanged lines hidden (view full) --- 7631s,@SHOBJ_CFLAGS@,$SHOBJ_CFLAGS,;t t 7632s,@SHOBJ_LD@,$SHOBJ_LD,;t t 7633s,@SHOBJ_LDFLAGS@,$SHOBJ_LDFLAGS,;t t 7634s,@SHOBJ_XLDFLAGS@,$SHOBJ_XLDFLAGS,;t t 7635s,@SHOBJ_LIBS@,$SHOBJ_LIBS,;t t 7636s,@SHOBJ_STATUS@,$SHOBJ_STATUS,;t t 7637s,@SHLIB_STATUS@,$SHLIB_STATUS,;t t 7638s,@SHLIB_XLDFLAGS@,$SHLIB_XLDFLAGS,;t t | 8748s,@SET_MAKE@,$SET_MAKE,;t t 8749s,@CC@,$CC,;t t 8750s,@CFLAGS@,$CFLAGS,;t t 8751s,@LDFLAGS@,$LDFLAGS,;t t 8752s,@CPPFLAGS@,$CPPFLAGS,;t t 8753s,@ac_ct_CC@,$ac_ct_CC,;t t 8754s,@EXEEXT@,$EXEEXT,;t t 8755s,@OBJEXT@,$OBJEXT,;t t --- 10 unchanged lines hidden (view full) --- 8766s,@SHOBJ_CFLAGS@,$SHOBJ_CFLAGS,;t t 8767s,@SHOBJ_LD@,$SHOBJ_LD,;t t 8768s,@SHOBJ_LDFLAGS@,$SHOBJ_LDFLAGS,;t t 8769s,@SHOBJ_XLDFLAGS@,$SHOBJ_XLDFLAGS,;t t 8770s,@SHOBJ_LIBS@,$SHOBJ_LIBS,;t t 8771s,@SHOBJ_STATUS@,$SHOBJ_STATUS,;t t 8772s,@SHLIB_STATUS@,$SHLIB_STATUS,;t t 8773s,@SHLIB_XLDFLAGS@,$SHLIB_XLDFLAGS,;t t |
8774s,@SHLIB_DOT@,$SHLIB_DOT,;t t 8775s,@SHLIB_LIBPREF@,$SHLIB_LIBPREF,;t t |
|
7639s,@SHLIB_LIBSUFF@,$SHLIB_LIBSUFF,;t t 7640s,@SHLIB_LIBVERSION@,$SHLIB_LIBVERSION,;t t | 8776s,@SHLIB_LIBSUFF@,$SHLIB_LIBSUFF,;t t 8777s,@SHLIB_LIBVERSION@,$SHLIB_LIBVERSION,;t t |
8778s,@SHLIB_DLLVERSION@,$SHLIB_DLLVERSION,;t t |
|
7641s,@SHLIB_LIBS@,$SHLIB_LIBS,;t t 7642s,@SHLIB_MAJOR@,$SHLIB_MAJOR,;t t 7643s,@SHLIB_MINOR@,$SHLIB_MINOR,;t t 7644s,@STATIC_TARGET@,$STATIC_TARGET,;t t 7645s,@SHARED_TARGET@,$SHARED_TARGET,;t t 7646s,@STATIC_INSTALL_TARGET@,$STATIC_INSTALL_TARGET,;t t 7647s,@SHARED_INSTALL_TARGET@,$SHARED_INSTALL_TARGET,;t t | 8779s,@SHLIB_LIBS@,$SHLIB_LIBS,;t t 8780s,@SHLIB_MAJOR@,$SHLIB_MAJOR,;t t 8781s,@SHLIB_MINOR@,$SHLIB_MINOR,;t t 8782s,@STATIC_TARGET@,$STATIC_TARGET,;t t 8783s,@SHARED_TARGET@,$SHARED_TARGET,;t t 8784s,@STATIC_INSTALL_TARGET@,$STATIC_INSTALL_TARGET,;t t 8785s,@SHARED_INSTALL_TARGET@,$SHARED_INSTALL_TARGET,;t t |
8786s,@PURIFY@,$PURIFY,;t t |
|
7648s,@BUILD_DIR@,$BUILD_DIR,;t t 7649s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t 7650s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t 7651s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t 7652s,@ARFLAGS@,$ARFLAGS,;t t 7653s,@LIBVERSION@,$LIBVERSION,;t t 7654s,@TERMCAP_LIB@,$TERMCAP_LIB,;t t 7655s,@LIBOBJS@,$LIBOBJS,;t t --- 22 unchanged lines hidden (view full) --- 7678 else 7679 # The purpose of the label and of the branching condition is to 7680 # speed up the sed processing (if there are no `@' at all, there 7681 # is no need to browse any of the substitutions). 7682 # These are the two extra sed commands mentioned above. 7683 (echo ':t 7684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 7685 if test -z "$ac_sed_cmds"; then | 8787s,@BUILD_DIR@,$BUILD_DIR,;t t 8788s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t 8789s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t 8790s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t 8791s,@ARFLAGS@,$ARFLAGS,;t t 8792s,@LIBVERSION@,$LIBVERSION,;t t 8793s,@TERMCAP_LIB@,$TERMCAP_LIB,;t t 8794s,@LIBOBJS@,$LIBOBJS,;t t --- 22 unchanged lines hidden (view full) --- 8817 else 8818 # The purpose of the label and of the branching condition is to 8819 # speed up the sed processing (if there are no `@' at all, there 8820 # is no need to browse any of the substitutions). 8821 # These are the two extra sed commands mentioned above. 8822 (echo ':t 8823 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 8824 if test -z "$ac_sed_cmds"; then |
7686 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 8825 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
7687 else | 8826 else |
7688 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 8827 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
7689 fi 7690 ac_sed_frag=`expr $ac_sed_frag + 1` 7691 ac_beg=$ac_end 7692 ac_end=`expr $ac_end + $ac_max_sed_lines` 7693 fi 7694 done 7695 if test -z "$ac_sed_cmds"; then 7696 ac_sed_cmds=cat 7697 fi 7698fi # test -n "$CONFIG_FILES" 7699 7700_ACEOF 7701cat >>$CONFIG_STATUS <<\_ACEOF 7702for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 7703 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7704 case $ac_file in 7705 - | *:- | *:-:* ) # input from stdin | 8828 fi 8829 ac_sed_frag=`expr $ac_sed_frag + 1` 8830 ac_beg=$ac_end 8831 ac_end=`expr $ac_end + $ac_max_sed_lines` 8832 fi 8833 done 8834 if test -z "$ac_sed_cmds"; then 8835 ac_sed_cmds=cat 8836 fi 8837fi # test -n "$CONFIG_FILES" 8838 8839_ACEOF 8840cat >>$CONFIG_STATUS <<\_ACEOF 8841for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 8842 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 8843 case $ac_file in 8844 - | *:- | *:-:* ) # input from stdin |
7706 cat >$tmp/stdin 7707 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7708 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 8845 cat >$tmp/stdin 8846 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 8847 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7709 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 8848 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7710 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 8849 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7711 * ) ac_file_in=$ac_file.in ;; 7712 esac 7713 7714 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 7715 ac_dir=`(dirname "$ac_file") 2>/dev/null || 7716$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 8850 * ) ac_file_in=$ac_file.in ;; 8851 esac 8852 8853 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 8854 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8855$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7717 X"$ac_file" : 'X\(//\)[^/]' \| \ 7718 X"$ac_file" : 'X\(//\)$' \| \ 7719 X"$ac_file" : 'X\(/\)' \| \ 7720 . : '\(.\)' 2>/dev/null || | 8856 X"$ac_file" : 'X\(//\)[^/]' \| \ 8857 X"$ac_file" : 'X\(//\)$' \| \ 8858 X"$ac_file" : 'X\(/\)' \| \ 8859 . : '\(.\)' 2>/dev/null || |
7721echo X"$ac_file" | 7722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7723 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7724 /^X\(\/\/\)$/{ s//\1/; q; } 7725 /^X\(\/\).*/{ s//\1/; q; } 7726 s/.*/./; q'` 7727 { if $as_mkdir_p; then 7728 mkdir -p "$ac_dir" 7729 else 7730 as_dir="$ac_dir" 7731 as_dirs= 7732 while test ! -d "$as_dir"; do 7733 as_dirs="$as_dir $as_dirs" 7734 as_dir=`(dirname "$as_dir") 2>/dev/null || 7735$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 8860echo X"$ac_file" | 8861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8862 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8863 /^X\(\/\/\)$/{ s//\1/; q; } 8864 /^X\(\/\).*/{ s//\1/; q; } 8865 s/.*/./; q'` 8866 { if $as_mkdir_p; then 8867 mkdir -p "$ac_dir" 8868 else 8869 as_dir="$ac_dir" 8870 as_dirs= 8871 while test ! -d "$as_dir"; do 8872 as_dirs="$as_dir $as_dirs" 8873 as_dir=`(dirname "$as_dir") 2>/dev/null || 8874$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
7736 X"$as_dir" : 'X\(//\)[^/]' \| \ 7737 X"$as_dir" : 'X\(//\)$' \| \ 7738 X"$as_dir" : 'X\(/\)' \| \ 7739 . : '\(.\)' 2>/dev/null || | 8875 X"$as_dir" : 'X\(//\)[^/]' \| \ 8876 X"$as_dir" : 'X\(//\)$' \| \ 8877 X"$as_dir" : 'X\(/\)' \| \ 8878 . : '\(.\)' 2>/dev/null || |
7740echo X"$as_dir" | 7741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 7742 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 7743 /^X\(\/\/\)$/{ s//\1/; q; } 7744 /^X\(\/\).*/{ s//\1/; q; } 7745 s/.*/./; q'` 7746 done 7747 test ! -n "$as_dirs" || mkdir $as_dirs --- 21 unchanged lines hidden (view full) --- 7769 fi ;; 7770 [\\/]* | ?:[\\/]* ) # Absolute path. 7771 ac_srcdir=$srcdir$ac_dir_suffix; 7772 ac_top_srcdir=$srcdir ;; 7773 *) # Relative path. 7774 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 7775 ac_top_srcdir=$ac_top_builddir$srcdir ;; 7776esac | 8879echo X"$as_dir" | 8880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8881 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8882 /^X\(\/\/\)$/{ s//\1/; q; } 8883 /^X\(\/\).*/{ s//\1/; q; } 8884 s/.*/./; q'` 8885 done 8886 test ! -n "$as_dirs" || mkdir $as_dirs --- 21 unchanged lines hidden (view full) --- 8908 fi ;; 8909 [\\/]* | ?:[\\/]* ) # Absolute path. 8910 ac_srcdir=$srcdir$ac_dir_suffix; 8911 ac_top_srcdir=$srcdir ;; 8912 *) # Relative path. 8913 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8914 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8915esac |
7777# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 7778# absolute. 7779ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 7780ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 7781ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 7782ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
7783 | 8916 |
8917# Do not use `cd foo && pwd` to compute absolute paths, because 8918# the directories may not exist. 8919case `pwd` in 8920.) ac_abs_builddir="$ac_dir";; 8921*) 8922 case "$ac_dir" in 8923 .) ac_abs_builddir=`pwd`;; 8924 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 8925 *) ac_abs_builddir=`pwd`/"$ac_dir";; 8926 esac;; 8927esac 8928case $ac_abs_builddir in 8929.) ac_abs_top_builddir=${ac_top_builddir}.;; 8930*) 8931 case ${ac_top_builddir}. in 8932 .) ac_abs_top_builddir=$ac_abs_builddir;; 8933 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 8934 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 8935 esac;; 8936esac 8937case $ac_abs_builddir in 8938.) ac_abs_srcdir=$ac_srcdir;; 8939*) 8940 case $ac_srcdir in 8941 .) ac_abs_srcdir=$ac_abs_builddir;; 8942 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 8943 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 8944 esac;; 8945esac 8946case $ac_abs_builddir in 8947.) ac_abs_top_srcdir=$ac_top_srcdir;; 8948*) 8949 case $ac_top_srcdir in 8950 .) ac_abs_top_srcdir=$ac_abs_builddir;; 8951 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 8952 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 8953 esac;; 8954esac |
|
7784 | 8955 |
8956 |
|
7785 case $INSTALL in 7786 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 7787 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 7788 esac 7789 7790 if test x"$ac_file" != x-; then 7791 { echo "$as_me:$LINENO: creating $ac_file" >&5 7792echo "$as_me: creating $ac_file" >&6;} 7793 rm -f "$ac_file" 7794 fi 7795 # Let's still pretend it is `configure' which instantiates (i.e., don't 7796 # use $as_me), people would be surprised to read: 7797 # /* config.h. Generated by config.status. */ 7798 if test x"$ac_file" = x-; then 7799 configure_input= 7800 else 7801 configure_input="$ac_file. " 7802 fi 7803 configure_input=$configure_input"Generated from `echo $ac_file_in | | 8957 case $INSTALL in 8958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8959 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 8960 esac 8961 8962 if test x"$ac_file" != x-; then 8963 { echo "$as_me:$LINENO: creating $ac_file" >&5 8964echo "$as_me: creating $ac_file" >&6;} 8965 rm -f "$ac_file" 8966 fi 8967 # Let's still pretend it is `configure' which instantiates (i.e., don't 8968 # use $as_me), people would be surprised to read: 8969 # /* config.h. Generated by config.status. */ 8970 if test x"$ac_file" = x-; then 8971 configure_input= 8972 else 8973 configure_input="$ac_file. " 8974 fi 8975 configure_input=$configure_input"Generated from `echo $ac_file_in | |
7804 sed 's,.*/,,'` by configure." | 8976 sed 's,.*/,,'` by configure." |
7805 7806 # First look for the input files in the build tree, otherwise in the 7807 # src tree. 7808 ac_file_inputs=`IFS=: 7809 for f in $ac_file_in; do 7810 case $f in 7811 -) echo $tmp/stdin ;; 7812 [\\/$]*) | 8977 8978 # First look for the input files in the build tree, otherwise in the 8979 # src tree. 8980 ac_file_inputs=`IFS=: 8981 for f in $ac_file_in; do 8982 case $f in 8983 -) echo $tmp/stdin ;; 8984 [\\/$]*) |
7813 # Absolute (can't be DOS-style, as IFS=:) 7814 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 8985 # Absolute (can't be DOS-style, as IFS=:) 8986 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7815echo "$as_me: error: cannot find input file: $f" >&2;} 7816 { (exit 1); exit 1; }; } | 8987echo "$as_me: error: cannot find input file: $f" >&2;} 8988 { (exit 1); exit 1; }; } |
7817 echo $f;; | 8989 echo "$f";; |
7818 *) # Relative | 8990 *) # Relative |
7819 if test -f "$f"; then 7820 # Build tree 7821 echo $f 7822 elif test -f "$srcdir/$f"; then 7823 # Source tree 7824 echo $srcdir/$f 7825 else 7826 # /dev/null tree 7827 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 8991 if test -f "$f"; then 8992 # Build tree 8993 echo "$f" 8994 elif test -f "$srcdir/$f"; then 8995 # Source tree 8996 echo "$srcdir/$f" 8997 else 8998 # /dev/null tree 8999 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7828echo "$as_me: error: cannot find input file: $f" >&2;} 7829 { (exit 1); exit 1; }; } | 9000echo "$as_me: error: cannot find input file: $f" >&2;} 9001 { (exit 1); exit 1; }; } |
7830 fi;; | 9002 fi;; |
7831 esac 7832 done` || { (exit 1); exit 1; } 7833_ACEOF 7834cat >>$CONFIG_STATUS <<_ACEOF 7835 sed "$ac_vpsub 7836$extrasub 7837_ACEOF 7838cat >>$CONFIG_STATUS <<\_ACEOF --- 25 unchanged lines hidden (view full) --- 7864# 7865# CONFIG_HEADER section. 7866# 7867 7868# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 7869# NAME is the cpp macro being defined and VALUE is the value it is being given. 7870# 7871# ac_d sets the value in "#define NAME VALUE" lines. | 9003 esac 9004 done` || { (exit 1); exit 1; } 9005_ACEOF 9006cat >>$CONFIG_STATUS <<_ACEOF 9007 sed "$ac_vpsub 9008$extrasub 9009_ACEOF 9010cat >>$CONFIG_STATUS <<\_ACEOF --- 25 unchanged lines hidden (view full) --- 9036# 9037# CONFIG_HEADER section. 9038# 9039 9040# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where 9041# NAME is the cpp macro being defined and VALUE is the value it is being given. 9042# 9043# ac_d sets the value in "#define NAME VALUE" lines. |
7872ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 7873ac_dB='[ ].*$,\1#\2' | 9044ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 9045ac_dB='[ ].*$,\1#\2' |
7874ac_dC=' ' 7875ac_dD=',;t' 7876# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 9046ac_dC=' ' 9047ac_dD=',;t' 9048# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
7877ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | 9049ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
7878ac_uB='$,\1#\2define\3' 7879ac_uC=' ' 7880ac_uD=',;t' 7881 7882for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 7883 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 7884 case $ac_file in 7885 - | *:- | *:-:* ) # input from stdin | 9050ac_uB='$,\1#\2define\3' 9051ac_uC=' ' 9052ac_uD=',;t' 9053 9054for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue 9055 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 9056 case $ac_file in 9057 - | *:- | *:-:* ) # input from stdin |
7886 cat >$tmp/stdin 7887 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 7888 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 9058 cat >$tmp/stdin 9059 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 9060 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7889 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 9061 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
7890 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 9062 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
7891 * ) ac_file_in=$ac_file.in ;; 7892 esac 7893 7894 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 7895echo "$as_me: creating $ac_file" >&6;} 7896 7897 # First look for the input files in the build tree, otherwise in the 7898 # src tree. 7899 ac_file_inputs=`IFS=: 7900 for f in $ac_file_in; do 7901 case $f in 7902 -) echo $tmp/stdin ;; 7903 [\\/$]*) | 9063 * ) ac_file_in=$ac_file.in ;; 9064 esac 9065 9066 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 9067echo "$as_me: creating $ac_file" >&6;} 9068 9069 # First look for the input files in the build tree, otherwise in the 9070 # src tree. 9071 ac_file_inputs=`IFS=: 9072 for f in $ac_file_in; do 9073 case $f in 9074 -) echo $tmp/stdin ;; 9075 [\\/$]*) |
7904 # Absolute (can't be DOS-style, as IFS=:) 7905 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 9076 # Absolute (can't be DOS-style, as IFS=:) 9077 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7906echo "$as_me: error: cannot find input file: $f" >&2;} 7907 { (exit 1); exit 1; }; } | 9078echo "$as_me: error: cannot find input file: $f" >&2;} 9079 { (exit 1); exit 1; }; } |
7908 echo $f;; | 9080 # Do quote $f, to prevent DOS paths from being IFS'd. 9081 echo "$f";; |
7909 *) # Relative | 9082 *) # Relative |
7910 if test -f "$f"; then 7911 # Build tree 7912 echo $f 7913 elif test -f "$srcdir/$f"; then 7914 # Source tree 7915 echo $srcdir/$f 7916 else 7917 # /dev/null tree 7918 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 9083 if test -f "$f"; then 9084 # Build tree 9085 echo "$f" 9086 elif test -f "$srcdir/$f"; then 9087 # Source tree 9088 echo "$srcdir/$f" 9089 else 9090 # /dev/null tree 9091 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
7919echo "$as_me: error: cannot find input file: $f" >&2;} 7920 { (exit 1); exit 1; }; } | 9092echo "$as_me: error: cannot find input file: $f" >&2;} 9093 { (exit 1); exit 1; }; } |
7921 fi;; | 9094 fi;; |
7922 esac 7923 done` || { (exit 1); exit 1; } 7924 # Remove the trailing spaces. | 9095 esac 9096 done` || { (exit 1); exit 1; } 9097 # Remove the trailing spaces. |
7925 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | 9098 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
7926 7927_ACEOF 7928 7929# Transform confdefs.h into two sed scripts, `conftest.defines' and 7930# `conftest.undefs', that substitutes the proper values into 7931# config.h.in to produce config.h. The first handles `#define' 7932# templates, and the second `#undef' templates. 7933# And first: Protect against being on the right side of a sed subst in --- 6 unchanged lines hidden (view full) --- 7940# `end' is used to avoid that the second main sed command (meant for 7941# 0-ary CPP macros) applies to n-ary macro definitions. 7942# See the Autoconf documentation for `clear'. 7943cat >confdef2sed.sed <<\_ACEOF 7944s/[\\&,]/\\&/g 7945s,[\\$`],\\&,g 7946t clear 7947: clear | 9099 9100_ACEOF 9101 9102# Transform confdefs.h into two sed scripts, `conftest.defines' and 9103# `conftest.undefs', that substitutes the proper values into 9104# config.h.in to produce config.h. The first handles `#define' 9105# templates, and the second `#undef' templates. 9106# And first: Protect against being on the right side of a sed subst in --- 6 unchanged lines hidden (view full) --- 9113# `end' is used to avoid that the second main sed command (meant for 9114# 0-ary CPP macros) applies to n-ary macro definitions. 9115# See the Autoconf documentation for `clear'. 9116cat >confdef2sed.sed <<\_ACEOF 9117s/[\\&,]/\\&/g 9118s,[\\$`],\\&,g 9119t clear 9120: clear |
7948s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 9121s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
7949t end | 9122t end |
7950s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 9123s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
7951: end 7952_ACEOF 7953# If some macros were called several times there might be several times 7954# the same #defines, which is useless. Nevertheless, we may not want to 7955# sort them, since we want the *last* AC-DEFINE to be honored. 7956uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 7957sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 7958rm -f confdef2sed.sed 7959 7960# This sed command replaces #undef with comments. This is necessary, for 7961# example, in the case of _POSIX_SOURCE, which is predefined and required 7962# on some systems where configure will not decide to define it. 7963cat >>conftest.undefs <<\_ACEOF | 9124: end 9125_ACEOF 9126# If some macros were called several times there might be several times 9127# the same #defines, which is useless. Nevertheless, we may not want to 9128# sort them, since we want the *last* AC-DEFINE to be honored. 9129uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines 9130sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs 9131rm -f confdef2sed.sed 9132 9133# This sed command replaces #undef with comments. This is necessary, for 9134# example, in the case of _POSIX_SOURCE, which is predefined and required 9135# on some systems where configure will not decide to define it. 9136cat >>conftest.undefs <<\_ACEOF |
7964s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 9137s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
7965_ACEOF 7966 7967# Break up conftest.defines because some shells have a limit on the size 7968# of here documents, and old seds have small limits too (100 cmds). 7969echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 9138_ACEOF 9139 9140# Break up conftest.defines because some shells have a limit on the size 9141# of here documents, and old seds have small limits too (100 cmds). 9142echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
7970echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 9143echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
7971echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 7972echo ' :' >>$CONFIG_STATUS 7973rm -f conftest.tail 7974while grep . conftest.defines >/dev/null 7975do 7976 # Write a limited-size here document to $tmp/defines.sed. 7977 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 7978 # Speed up: don't consider the non `#define' lines. | 9144echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 9145echo ' :' >>$CONFIG_STATUS 9146rm -f conftest.tail 9147while grep . conftest.defines >/dev/null 9148do 9149 # Write a limited-size here document to $tmp/defines.sed. 9150 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 9151 # Speed up: don't consider the non `#define' lines. |
7979 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | 9152 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
7980 # Work around the forget-to-reset-the-flag bug. 7981 echo 't clr' >>$CONFIG_STATUS 7982 echo ': clr' >>$CONFIG_STATUS 7983 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 7984 echo 'CEOF 7985 sed -f $tmp/defines.sed $tmp/in >$tmp/out 7986 rm -f $tmp/in 7987 mv $tmp/out $tmp/in --- 10 unchanged lines hidden (view full) --- 7998# of here documents, and old seds have small limits too (100 cmds). 7999echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 8000rm -f conftest.tail 8001while grep . conftest.undefs >/dev/null 8002do 8003 # Write a limited-size here document to $tmp/undefs.sed. 8004 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 8005 # Speed up: don't consider the non `#undef' | 9153 # Work around the forget-to-reset-the-flag bug. 9154 echo 't clr' >>$CONFIG_STATUS 9155 echo ': clr' >>$CONFIG_STATUS 9156 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS 9157 echo 'CEOF 9158 sed -f $tmp/defines.sed $tmp/in >$tmp/out 9159 rm -f $tmp/in 9160 mv $tmp/out $tmp/in --- 10 unchanged lines hidden (view full) --- 9171# of here documents, and old seds have small limits too (100 cmds). 9172echo ' # Handle all the #undef templates' >>$CONFIG_STATUS 9173rm -f conftest.tail 9174while grep . conftest.undefs >/dev/null 9175do 9176 # Write a limited-size here document to $tmp/undefs.sed. 9177 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 9178 # Speed up: don't consider the non `#undef' |
8006 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | 9179 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
8007 # Work around the forget-to-reset-the-flag bug. 8008 echo 't clr' >>$CONFIG_STATUS 8009 echo ': clr' >>$CONFIG_STATUS 8010 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 8011 echo 'CEOF 8012 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 8013 rm -f $tmp/in 8014 mv $tmp/out $tmp/in --- 17 unchanged lines hidden (view full) --- 8032 rm -f $tmp/in 8033 if test x"$ac_file" != x-; then 8034 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 8035 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 8036echo "$as_me: $ac_file is unchanged" >&6;} 8037 else 8038 ac_dir=`(dirname "$ac_file") 2>/dev/null || 8039$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9180 # Work around the forget-to-reset-the-flag bug. 9181 echo 't clr' >>$CONFIG_STATUS 9182 echo ': clr' >>$CONFIG_STATUS 9183 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS 9184 echo 'CEOF 9185 sed -f $tmp/undefs.sed $tmp/in >$tmp/out 9186 rm -f $tmp/in 9187 mv $tmp/out $tmp/in --- 17 unchanged lines hidden (view full) --- 9205 rm -f $tmp/in 9206 if test x"$ac_file" != x-; then 9207 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then 9208 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 9209echo "$as_me: $ac_file is unchanged" >&6;} 9210 else 9211 ac_dir=`(dirname "$ac_file") 2>/dev/null || 9212$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8040 X"$ac_file" : 'X\(//\)[^/]' \| \ 8041 X"$ac_file" : 'X\(//\)$' \| \ 8042 X"$ac_file" : 'X\(/\)' \| \ 8043 . : '\(.\)' 2>/dev/null || | 9213 X"$ac_file" : 'X\(//\)[^/]' \| \ 9214 X"$ac_file" : 'X\(//\)$' \| \ 9215 X"$ac_file" : 'X\(/\)' \| \ 9216 . : '\(.\)' 2>/dev/null || |
8044echo X"$ac_file" | 8045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8046 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8047 /^X\(\/\/\)$/{ s//\1/; q; } 8048 /^X\(\/\).*/{ s//\1/; q; } 8049 s/.*/./; q'` 8050 { if $as_mkdir_p; then 8051 mkdir -p "$ac_dir" 8052 else 8053 as_dir="$ac_dir" 8054 as_dirs= 8055 while test ! -d "$as_dir"; do 8056 as_dirs="$as_dir $as_dirs" 8057 as_dir=`(dirname "$as_dir") 2>/dev/null || 8058$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9217echo X"$ac_file" | 9218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9219 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9220 /^X\(\/\/\)$/{ s//\1/; q; } 9221 /^X\(\/\).*/{ s//\1/; q; } 9222 s/.*/./; q'` 9223 { if $as_mkdir_p; then 9224 mkdir -p "$ac_dir" 9225 else 9226 as_dir="$ac_dir" 9227 as_dirs= 9228 while test ! -d "$as_dir"; do 9229 as_dirs="$as_dir $as_dirs" 9230 as_dir=`(dirname "$as_dir") 2>/dev/null || 9231$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8059 X"$as_dir" : 'X\(//\)[^/]' \| \ 8060 X"$as_dir" : 'X\(//\)$' \| \ 8061 X"$as_dir" : 'X\(/\)' \| \ 8062 . : '\(.\)' 2>/dev/null || | 9232 X"$as_dir" : 'X\(//\)[^/]' \| \ 9233 X"$as_dir" : 'X\(//\)$' \| \ 9234 X"$as_dir" : 'X\(/\)' \| \ 9235 . : '\(.\)' 2>/dev/null || |
8063echo X"$as_dir" | 8064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8065 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8066 /^X\(\/\/\)$/{ s//\1/; q; } 8067 /^X\(\/\).*/{ s//\1/; q; } 8068 s/.*/./; q'` 8069 done 8070 test ! -n "$as_dirs" || mkdir $as_dirs --- 15 unchanged lines hidden (view full) --- 8086# 8087# CONFIG_COMMANDS section. 8088# 8089for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 8090 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 8091 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 8092 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 8093$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 9236echo X"$as_dir" | 9237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9238 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9239 /^X\(\/\/\)$/{ s//\1/; q; } 9240 /^X\(\/\).*/{ s//\1/; q; } 9241 s/.*/./; q'` 9242 done 9243 test ! -n "$as_dirs" || mkdir $as_dirs --- 15 unchanged lines hidden (view full) --- 9259# 9260# CONFIG_COMMANDS section. 9261# 9262for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue 9263 ac_dest=`echo "$ac_file" | sed 's,:.*,,'` 9264 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` 9265 ac_dir=`(dirname "$ac_dest") 2>/dev/null || 9266$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
8094 X"$ac_dest" : 'X\(//\)[^/]' \| \ 8095 X"$ac_dest" : 'X\(//\)$' \| \ 8096 X"$ac_dest" : 'X\(/\)' \| \ 8097 . : '\(.\)' 2>/dev/null || | 9267 X"$ac_dest" : 'X\(//\)[^/]' \| \ 9268 X"$ac_dest" : 'X\(//\)$' \| \ 9269 X"$ac_dest" : 'X\(/\)' \| \ 9270 . : '\(.\)' 2>/dev/null || |
8098echo X"$ac_dest" | 8099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 8100 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 8101 /^X\(\/\/\)$/{ s//\1/; q; } 8102 /^X\(\/\).*/{ s//\1/; q; } 8103 s/.*/./; q'` | 9271echo X"$ac_dest" | 9272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9273 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9274 /^X\(\/\/\)$/{ s//\1/; q; } 9275 /^X\(\/\).*/{ s//\1/; q; } 9276 s/.*/./; q'` |
9277 { if $as_mkdir_p; then 9278 mkdir -p "$ac_dir" 9279 else 9280 as_dir="$ac_dir" 9281 as_dirs= 9282 while test ! -d "$as_dir"; do 9283 as_dirs="$as_dir $as_dirs" 9284 as_dir=`(dirname "$as_dir") 2>/dev/null || 9285$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9286 X"$as_dir" : 'X\(//\)[^/]' \| \ 9287 X"$as_dir" : 'X\(//\)$' \| \ 9288 X"$as_dir" : 'X\(/\)' \| \ 9289 . : '\(.\)' 2>/dev/null || 9290echo X"$as_dir" | 9291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 9292 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 9293 /^X\(\/\/\)$/{ s//\1/; q; } 9294 /^X\(\/\).*/{ s//\1/; q; } 9295 s/.*/./; q'` 9296 done 9297 test ! -n "$as_dirs" || mkdir $as_dirs 9298 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 9299echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} 9300 { (exit 1); exit 1; }; }; } 9301 |
|
8104 ac_builddir=. 8105 8106if test "$ac_dir" != .; then 8107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 8108 # A "../" for each directory in $ac_dir_suffix. 8109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 8110else 8111 ac_dir_suffix= ac_top_builddir= --- 9 unchanged lines hidden (view full) --- 8121 fi ;; 8122 [\\/]* | ?:[\\/]* ) # Absolute path. 8123 ac_srcdir=$srcdir$ac_dir_suffix; 8124 ac_top_srcdir=$srcdir ;; 8125 *) # Relative path. 8126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 8127 ac_top_srcdir=$ac_top_builddir$srcdir ;; 8128esac | 9302 ac_builddir=. 9303 9304if test "$ac_dir" != .; then 9305 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 9306 # A "../" for each directory in $ac_dir_suffix. 9307 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 9308else 9309 ac_dir_suffix= ac_top_builddir= --- 9 unchanged lines hidden (view full) --- 9319 fi ;; 9320 [\\/]* | ?:[\\/]* ) # Absolute path. 9321 ac_srcdir=$srcdir$ac_dir_suffix; 9322 ac_top_srcdir=$srcdir ;; 9323 *) # Relative path. 9324 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 9325 ac_top_srcdir=$ac_top_builddir$srcdir ;; 9326esac |
8129# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 8130# absolute. 8131ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 8132ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 8133ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 8134ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | |
8135 | 9327 |
9328# Do not use `cd foo && pwd` to compute absolute paths, because 9329# the directories may not exist. 9330case `pwd` in 9331.) ac_abs_builddir="$ac_dir";; 9332*) 9333 case "$ac_dir" in 9334 .) ac_abs_builddir=`pwd`;; 9335 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 9336 *) ac_abs_builddir=`pwd`/"$ac_dir";; 9337 esac;; 9338esac 9339case $ac_abs_builddir in 9340.) ac_abs_top_builddir=${ac_top_builddir}.;; 9341*) 9342 case ${ac_top_builddir}. in 9343 .) ac_abs_top_builddir=$ac_abs_builddir;; 9344 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 9345 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 9346 esac;; 9347esac 9348case $ac_abs_builddir in 9349.) ac_abs_srcdir=$ac_srcdir;; 9350*) 9351 case $ac_srcdir in 9352 .) ac_abs_srcdir=$ac_abs_builddir;; 9353 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 9354 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 9355 esac;; 9356esac 9357case $ac_abs_builddir in 9358.) ac_abs_top_srcdir=$ac_top_srcdir;; 9359*) 9360 case $ac_top_srcdir in 9361 .) ac_abs_top_srcdir=$ac_abs_builddir;; 9362 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 9363 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 9364 esac;; 9365esac |
|
8136 | 9366 |
9367 |
|
8137 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 8138echo "$as_me: executing $ac_dest commands" >&6;} 8139 case $ac_dest in 8140 default ) 8141# Makefile uses this timestamp file to record whether config.h is up to date. 8142echo > stamp-h 8143 ;; 8144 esac --- 32 unchanged lines hidden --- | 9368 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 9369echo "$as_me: executing $ac_dest commands" >&6;} 9370 case $ac_dest in 9371 default ) 9372# Makefile uses this timestamp file to record whether config.h is up to date. 9373echo > stamp-h 9374 ;; 9375 esac --- 32 unchanged lines hidden --- |