comparison configure @ 13907:2fcc9d0da3ae

fix --disable-termios, approved by Diego
author rathann
date Wed, 10 Nov 2004 00:26:41 +0000
parents 0109b5a6234f
children 07dadc3066f3
comparison
equal deleted inserted replaced
13906:db2f1e657dfe 13907:2fcc9d0da3ae
2858 if test "$_termios" = auto ; then 2858 if test "$_termios" = auto ; then
2859 cat > $TMPC <<EOF 2859 cat > $TMPC <<EOF
2860 #include <sys/termios.h> 2860 #include <sys/termios.h>
2861 int main(void) { return 0; } 2861 int main(void) { return 0; }
2862 EOF 2862 EOF
2863 _termios=no 2863 _termios=auto
2864 cc_check && _termios=yes 2864 cc_check && _termios=yes
2865 _def_termios_h_name='sys/termios.h' 2865 _def_termios_h_name='sys/termios.h'
2866 fi 2866 fi
2867 # second test: 2867 # second test:
2868 if test "$_termios" = no ; then 2868 if test "$_termios" = auto ; then
2869 cat > $TMPC <<EOF 2869 cat > $TMPC <<EOF
2870 #include <termios.h> 2870 #include <termios.h>
2871 int main(void) { return 0; } 2871 int main(void) { return 0; }
2872 EOF 2872 EOF
2873 _termios=no 2873 _termios=no