# HG changeset patch # User pl # Date 1005997569 0 # Node ID 369dfb35fbdbbd91267f91684ee585d60d1f10a1 # Parent 987c77cbb4de6707f2f863b38d8d63f43bb8647e missing C sources tests termcap typo that was breaking autodetection diff -r 987c77cbb4de -r 369dfb35fbdb configure --- a/configure Sat Nov 17 11:26:26 2001 +0000 +++ b/configure Sat Nov 17 11:46:09 2001 +0000 @@ -981,6 +981,9 @@ echocheck "posix4" +cat > $TMPC << EOF +int main(void) { return 0; } +EOF _posix4=no cc_check -lposix4 && _posix4=yes if test "$_posix4" = yes ; then @@ -1101,12 +1104,12 @@ echocheck "termcap" -if test "$termcap" = auto ; then +if test "$_termcap" = auto ; then _termcap=no cat > $TMPC < $TMPC << EOF +#include +int main(void) { return 0; } +EOF _sdl=no if "$_sdlconfig" --version >/dev/null 2>&1 ; then if cc_check `$_sdlconfig --cflags` `$_sdlconfig --libs` ; then