Develop and Download Open Source Software

Browse CVS Repository

Diff of /freewnn/FreeWnn/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.6 by ura, Sun Jan 16 06:46:03 2000 UTC revision 1.7 by ura, Sun Jan 16 06:55:27 2000 UTC
# Line 872  fi Line 872  fi
872  echo "$ac_t""$CPP" 1>&6  echo "$ac_t""$CPP" 1>&6
873    
874    
 for ac_prog in 'bison -y' byacc  
 do  
 # Extract the first word of "$ac_prog", so it can be a program name with args.  
 set dummy $ac_prog; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:881: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$YACC"; then  
   ac_cv_prog_YACC="$YACC" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_YACC="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
 fi  
 fi  
 YACC="$ac_cv_prog_YACC"  
 if test -n "$YACC"; then  
   echo "$ac_t""$YACC" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 test -n "$YACC" && break  
 done  
 test -n "$YACC" || YACC="yacc"  
   
 # Extract the first word of "flex", so it can be a program name with args.  
 set dummy flex; ac_word=$2  
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:913: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test -n "$LEX"; then  
   ac_cv_prog_LEX="$LEX" # Let the user override the test.  
 else  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"  
   for ac_dir in $PATH; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_LEX="flex"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
   test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"  
 fi  
 fi  
 LEX="$ac_cv_prog_LEX"  
 if test -n "$LEX"; then  
   echo "$ac_t""$LEX" 1>&6  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 if test -z "$LEXLIB"  
 then  
   case "$LEX" in  
   flex*) ac_lib=fl ;;  
   *) ac_lib=l ;;  
   esac  
   echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6  
 echo "configure:946: checking for yywrap in -l$ac_lib" >&5  
 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-l$ac_lib  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 954 "configure"  
 #include "confdefs.h"  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char yywrap();  
   
 int main() {  
 yywrap()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   LEXLIB="-l$ac_lib"  
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 fi  
   
875  ac_aux_dir=  ac_aux_dir=
876  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
877    if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
# Line 1013  ac_configure=$ac_aux_dir/configure # Thi Line 902  ac_configure=$ac_aux_dir/configure # Thi
902  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
903  # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
904  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6  echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
905  echo "configure:1017: checking for a BSD compatible install" >&5  echo "configure:906: checking for a BSD compatible install" >&5
906  if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
907  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
908    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1063  test -z "$INSTALL_PROGRAM" && INSTALL_PR Line 952  test -z "$INSTALL_PROGRAM" && INSTALL_PR
952  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
953    
954  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
955  echo "configure:1067: checking whether ln -s works" >&5  echo "configure:956: checking whether ln -s works" >&5
956  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
957    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
958  else  else
# Line 1084  else Line 973  else
973  fi  fi
974    
975  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6  echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
976  echo "configure:1088: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:977: checking whether ${MAKE-make} sets \${MAKE}" >&5
977  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
978  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
979    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1113  fi Line 1002  fi
1002  # Extract the first word of "ranlib", so it can be a program name with args.  # Extract the first word of "ranlib", so it can be a program name with args.
1003  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
1004  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1005  echo "configure:1117: checking for $ac_word" >&5  echo "configure:1006: checking for $ac_word" >&5
1006  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1007    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1008  else  else
# Line 1142  fi Line 1031  fi
1031    
1032    
1033    
 echo $ac_n "checking for main in -lFS""... $ac_c" 1>&6  
 echo "configure:1147: checking for main in -lFS" >&5  
 ac_lib_var=`echo FS'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lFS  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1155 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo FS | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lFS $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lFresco""... $ac_c" 1>&6  
 echo "configure:1190: checking for main in -lFresco" >&5  
 ac_lib_var=`echo Fresco'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lFresco  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1198 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Fresco | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lFresco $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6  
 echo "configure:1233: checking for main in -lICE" >&5  
 ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lICE  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1241 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo ICE | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lICE $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lPEX5""... $ac_c" 1>&6  
 echo "configure:1276: checking for main in -lPEX5" >&5  
 ac_lib_var=`echo PEX5'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lPEX5  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1284 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo PEX5 | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lPEX5 $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6  
 echo "configure:1319: checking for main in -lSM" >&5  
 ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lSM  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1327 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo SM | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lSM $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  
 echo "configure:1362: checking for main in -lX11" >&5  
 ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lX11  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1370 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo X11 | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lX11 $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXIE""... $ac_c" 1>&6  
 echo "configure:1405: checking for main in -lXIE" >&5  
 ac_lib_var=`echo XIE'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXIE  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1413 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo XIE | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXIE $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXau""... $ac_c" 1>&6  
 echo "configure:1448: checking for main in -lXau" >&5  
 ac_lib_var=`echo Xau'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXau  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1456 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xau | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXau $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  
 echo "configure:1491: checking for main in -lXaw" >&5  
 ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXaw  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1499 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xaw | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXaw $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6  
 echo "configure:1534: checking for main in -lXbsd" >&5  
 ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXbsd  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1542 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xbsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXbsd $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXdmcp""... $ac_c" 1>&6  
 echo "configure:1577: checking for main in -lXdmcp" >&5  
 ac_lib_var=`echo Xdmcp'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXdmcp  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1585 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xdmcp | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXdmcp $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  
 echo "configure:1620: checking for main in -lXext" >&5  
 ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXext  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1628 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xext | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXext $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXi""... $ac_c" 1>&6  
 echo "configure:1663: checking for main in -lXi" >&5  
 ac_lib_var=`echo Xi'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXi  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1671 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xi | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXi $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  
 echo "configure:1706: checking for main in -lXmu" >&5  
 ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXmu  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1714 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xmu | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXmu $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  
 echo "configure:1749: checking for main in -lXt" >&5  
 ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXt  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1757 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xt | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXt $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXtf""... $ac_c" 1>&6  
 echo "configure:1792: checking for main in -lXtf" >&5  
 ac_lib_var=`echo Xtf'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXtf  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1800 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xtf | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXtf $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lXtst""... $ac_c" 1>&6  
 echo "configure:1835: checking for main in -lXtst" >&5  
 ac_lib_var=`echo Xtst'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lXtst  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1843 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo Xtst | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lXtst $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6  
 echo "configure:1878: checking for main in -lcurses" >&5  
 ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lcurses  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1886 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lcurses $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lfl""... $ac_c" 1>&6  
 echo "configure:1921: checking for main in -lfl" >&5  
 ac_lib_var=`echo fl'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lfl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1929 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo fl | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lfl $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lfont""... $ac_c" 1>&6  
 echo "configure:1964: checking for main in -lfont" >&5  
 ac_lib_var=`echo font'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lfont  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 1972 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo font | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lfont $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -loldX""... $ac_c" 1>&6  
 echo "configure:2007: checking for main in -loldX" >&5  
 ac_lib_var=`echo oldX'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-loldX  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 2015 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo oldX | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-loldX $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lphigs""... $ac_c" 1>&6  
 echo "configure:2050: checking for main in -lphigs" >&5  
 ac_lib_var=`echo phigs'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lphigs  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 2058 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo phigs | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lphigs $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 echo $ac_n "checking for main in -lxpg4""... $ac_c" 1>&6  
 echo "configure:2093: checking for main in -lxpg4" >&5  
 ac_lib_var=`echo xpg4'_'main | sed 'y%./+-%__p_%'`  
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   ac_save_LIBS="$LIBS"  
 LIBS="-lxpg4  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 2101 "configure"  
 #include "confdefs.h"  
   
 int main() {  
 main()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=yes"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_lib_$ac_lib_var=no"  
 fi  
 rm -f conftest*  
 LIBS="$ac_save_LIBS"  
   
 fi  
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
     ac_tr_lib=HAVE_LIB`echo xpg4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \  
     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`  
   cat >> confdefs.h <<EOF  
 #define $ac_tr_lib 1  
 EOF  
   
   LIBS="-lxpg4 $LIBS"  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
1034    
1035  echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6
1036  echo "configure:2137: checking for main in -lcrypt" >&5  echo "configure:1037: checking for main in -lcrypt" >&5
1037  ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`
1038  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1039    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2141  else Line 1041  else
1041    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1042  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
1043  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1044  #line 2145 "configure"  #line 1045 "configure"
1045  #include "confdefs.h"  #include "confdefs.h"
1046    
1047  int main() {  int main() {
1048  main()  main()
1049  ; return 0; }  ; return 0; }
1050  EOF  EOF
1051  if { (eval echo configure:2152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1052    rm -rf conftest*    rm -rf conftest*
1053    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1054  else  else
# Line 2176  else Line 1076  else
1076  fi  fi
1077    
1078  echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
1079  echo "configure:2180: checking for main in -lsocket" >&5  echo "configure:1080: checking for main in -lsocket" >&5
1080  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
1081  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2184  else Line 1084  else
1084    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1085  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
1086  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1087  #line 2188 "configure"  #line 1088 "configure"
1088  #include "confdefs.h"  #include "confdefs.h"
1089    
1090  int main() {  int main() {
1091  main()  main()
1092  ; return 0; }  ; return 0; }
1093  EOF  EOF
1094  if { (eval echo configure:2195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1095    rm -rf conftest*    rm -rf conftest*
1096    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1097  else  else
# Line 2219  else Line 1119  else
1119  fi  fi
1120    
1121  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
1122  echo "configure:2223: checking for main in -lnsl" >&5  echo "configure:1123: checking for main in -lnsl" >&5
1123  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
1124  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1125    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2227  else Line 1127  else
1127    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1128  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
1129  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1130  #line 2231 "configure"  #line 1131 "configure"
1131  #include "confdefs.h"  #include "confdefs.h"
1132    
1133  int main() {  int main() {
1134  main()  main()
1135  ; return 0; }  ; return 0; }
1136  EOF  EOF
1137  if { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1138    rm -rf conftest*    rm -rf conftest*
1139    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1140  else  else
# Line 2267  fi Line 1167  fi
1167  # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
1168  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
1169  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
1170  echo "configure:2271: checking for X" >&5  echo "configure:1171: checking for X" >&5
1171    
1172  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
1173  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 2329  if test "$ac_x_includes" = NO; then Line 1229  if test "$ac_x_includes" = NO; then
1229    
1230    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
1231  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1232  #line 2333 "configure"  #line 1233 "configure"
1233  #include "confdefs.h"  #include "confdefs.h"
1234  #include <$x_direct_test_include>  #include <$x_direct_test_include>
1235  EOF  EOF
1236  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1237  { (eval echo configure:2338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1238  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
1239  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1240    rm -rf conftest*    rm -rf conftest*
# Line 2403  if test "$ac_x_libraries" = NO; then Line 1303  if test "$ac_x_libraries" = NO; then
1303    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1304    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
1305  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1306  #line 2407 "configure"  #line 1307 "configure"
1307  #include "confdefs.h"  #include "confdefs.h"
1308    
1309  int main() {  int main() {
1310  ${x_direct_test_function}()  ${x_direct_test_function}()
1311  ; return 0; }  ; return 0; }
1312  EOF  EOF
1313  if { (eval echo configure:2414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1314    rm -rf conftest*    rm -rf conftest*
1315    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
1316  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 2497  else Line 1397  else
1397  fi  fi
1398    
1399  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6  echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1400  echo "configure:2501: checking for ANSI C header files" >&5  echo "configure:1401: checking for ANSI C header files" >&5
1401  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1402    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1403  else  else
1404    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1405  #line 2506 "configure"  #line 1406 "configure"
1406  #include "confdefs.h"  #include "confdefs.h"
1407  #include <stdlib.h>  #include <stdlib.h>
1408  #include <stdarg.h>  #include <stdarg.h>
# Line 2510  else Line 1410  else
1410  #include <float.h>  #include <float.h>
1411  EOF  EOF
1412  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1413  { (eval echo configure:2514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1414  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
1415  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1416    rm -rf conftest*    rm -rf conftest*
# Line 2527  rm -f conftest* Line 1427  rm -f conftest*
1427  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
1428    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1429  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1430  #line 2531 "configure"  #line 1431 "configure"
1431  #include "confdefs.h"  #include "confdefs.h"
1432  #include <string.h>  #include <string.h>
1433  EOF  EOF
# Line 2545  fi Line 1445  fi
1445  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
1446    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1447  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1448  #line 2549 "configure"  #line 1449 "configure"
1449  #include "confdefs.h"  #include "confdefs.h"
1450  #include <stdlib.h>  #include <stdlib.h>
1451  EOF  EOF
# Line 2566  if test "$cross_compiling" = yes; then Line 1466  if test "$cross_compiling" = yes; then
1466    :    :
1467  else  else
1468    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1469  #line 2570 "configure"  #line 1470 "configure"
1470  #include "confdefs.h"  #include "confdefs.h"
1471  #include <ctype.h>  #include <ctype.h>
1472  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 2577  if (XOR (islower (i), ISLOWER (i)) || to Line 1477  if (XOR (islower (i), ISLOWER (i)) || to
1477  exit (0); }  exit (0); }
1478    
1479  EOF  EOF
1480  if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1481  then  then
1482    :    :
1483  else  else
# Line 2601  EOF Line 1501  EOF
1501  fi  fi
1502    
1503  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6  echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1504  echo "configure:2605: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:1505: checking for sys/wait.h that is POSIX.1 compatible" >&5
1505  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1506    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1507  else  else
1508    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1509  #line 2610 "configure"  #line 1510 "configure"
1510  #include "confdefs.h"  #include "confdefs.h"
1511  #include <sys/types.h>  #include <sys/types.h>
1512  #include <sys/wait.h>  #include <sys/wait.h>
# Line 2622  wait (&s); Line 1522  wait (&s);
1522  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1523  ; return 0; }  ; return 0; }
1524  EOF  EOF
1525  if { (eval echo configure:2626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1526    rm -rf conftest*    rm -rf conftest*
1527    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
1528  else  else
# Line 2646  for ac_hdr in fcntl.h limits.h malloc.h Line 1546  for ac_hdr in fcntl.h limits.h malloc.h
1546  do  do
1547  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1548  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1549  echo "configure:2650: checking for $ac_hdr" >&5  echo "configure:1550: checking for $ac_hdr" >&5
1550  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1551    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1552  else  else
1553    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1554  #line 2655 "configure"  #line 1555 "configure"
1555  #include "confdefs.h"  #include "confdefs.h"
1556  #include <$ac_hdr>  #include <$ac_hdr>
1557  EOF  EOF
1558  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1559  { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1560  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
1561  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1562    rm -rf conftest*    rm -rf conftest*
# Line 2684  done Line 1584  done
1584    
1585    
1586  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
1587  echo "configure:2688: checking for mode_t" >&5  echo "configure:1588: checking for mode_t" >&5
1588  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
1589    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1590  else  else
1591    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1592  #line 2693 "configure"  #line 1593 "configure"
1593  #include "confdefs.h"  #include "confdefs.h"
1594  #include <sys/types.h>  #include <sys/types.h>
1595  #if STDC_HEADERS  #if STDC_HEADERS
# Line 2717  EOF Line 1617  EOF
1617  fi  fi
1618    
1619  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6  echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1620  echo "configure:2721: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:1621: checking whether time.h and sys/time.h may both be included" >&5
1621  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1622    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1623  else  else
1624    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1625  #line 2726 "configure"  #line 1626 "configure"
1626  #include "confdefs.h"  #include "confdefs.h"
1627  #include <sys/types.h>  #include <sys/types.h>
1628  #include <sys/time.h>  #include <sys/time.h>
# Line 2731  int main() { Line 1631  int main() {
1631  struct tm *tp;  struct tm *tp;
1632  ; return 0; }  ; return 0; }
1633  EOF  EOF
1634  if { (eval echo configure:2735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1635    rm -rf conftest*    rm -rf conftest*
1636    ac_cv_header_time=yes    ac_cv_header_time=yes
1637  else  else
# Line 2754  fi Line 1654  fi
1654    
1655  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
1656      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
1657  echo "configure:2758: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:1658: checking whether ${CC-cc} needs -traditional" >&5
1658  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
1659    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1660  else  else
1661      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
1662    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1663  #line 2764 "configure"  #line 1664 "configure"
1664  #include "confdefs.h"  #include "confdefs.h"
1665  #include <sgtty.h>  #include <sgtty.h>
1666  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 2778  rm -f conftest* Line 1678  rm -f conftest*
1678    
1679    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
1680      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
1681  #line 2782 "configure"  #line 1682 "configure"
1682  #include "confdefs.h"  #include "confdefs.h"
1683  #include <termio.h>  #include <termio.h>
1684  Autoconf TCGETA  Autoconf TCGETA
# Line 2800  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 1700  echo "$ac_t""$ac_cv_prog_gcc_traditional
1700  fi  fi
1701    
1702  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6  echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
1703  echo "configure:2804: checking for 8-bit clean memcmp" >&5  echo "configure:1704: checking for 8-bit clean memcmp" >&5
1704  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
1705    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1706  else  else
# Line 2808  else Line 1708  else
1708    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
1709  else  else
1710    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1711  #line 2812 "configure"  #line 1712 "configure"
1712  #include "confdefs.h"  #include "confdefs.h"
1713    
1714  main()  main()
# Line 2818  main() Line 1718  main()
1718  }  }
1719    
1720  EOF  EOF
1721  if { (eval echo configure:2822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1722  then  then
1723    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
1724  else  else
# Line 2836  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 1736  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
1736  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
1737    
1738  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6  echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
1739  echo "configure:2840: checking return type of signal handlers" >&5  echo "configure:1740: checking return type of signal handlers" >&5
1740  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
1741    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1742  else  else
1743    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1744  #line 2845 "configure"  #line 1745 "configure"
1745  #include "confdefs.h"  #include "confdefs.h"
1746  #include <sys/types.h>  #include <sys/types.h>
1747  #include <signal.h>  #include <signal.h>
# Line 2858  int main() { Line 1758  int main() {
1758  int i;  int i;
1759  ; return 0; }  ; return 0; }
1760  EOF  EOF
1761  if { (eval echo configure:2862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1762    rm -rf conftest*    rm -rf conftest*
1763    ac_cv_type_signal=void    ac_cv_type_signal=void
1764  else  else
# Line 2877  EOF Line 1777  EOF
1777    
1778    
1779  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6  echo $ac_n "checking for wait3 that fills in rusage""... $ac_c" 1>&6
1780  echo "configure:2881: checking for wait3 that fills in rusage" >&5  echo "configure:1781: checking for wait3 that fills in rusage" >&5
1781  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
1782    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1783  else  else
# Line 2885  else Line 1785  else
1785    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
1786  else  else
1787    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1788  #line 2889 "configure"  #line 1789 "configure"
1789  #include "confdefs.h"  #include "confdefs.h"
1790  #include <sys/types.h>  #include <sys/types.h>
1791  #include <sys/time.h>  #include <sys/time.h>
# Line 2916  main() { Line 1816  main() {
1816    }    }
1817  }  }
1818  EOF  EOF
1819  if { (eval echo configure:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1820  then  then
1821    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
1822  else  else
# Line 2941  fi Line 1841  fi
1841  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
1842  do  do
1843  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1844  echo "configure:2945: checking for $ac_func" >&5  echo "configure:1845: checking for $ac_func" >&5
1845  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1846    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1847  else  else
1848    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1849  #line 2950 "configure"  #line 1850 "configure"
1850  #include "confdefs.h"  #include "confdefs.h"
1851  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1852      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2969  $ac_func(); Line 1869  $ac_func();
1869    
1870  ; return 0; }  ; return 0; }
1871  EOF  EOF
1872  if { (eval echo configure:2973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1873    rm -rf conftest*    rm -rf conftest*
1874    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1875  else  else
# Line 3130  s%@mandir@%$mandir%g Line 2030  s%@mandir@%$mandir%g
2030  s%@abs_top_srcdir@%$abs_top_srcdir%g  s%@abs_top_srcdir@%$abs_top_srcdir%g
2031  s%@CC@%$CC%g  s%@CC@%$CC%g
2032  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
 s%@YACC@%$YACC%g  
 s%@LEX@%$LEX%g  
 s%@LEXLIB@%$LEXLIB%g  
2033  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g  s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2034  s%@INSTALL_DATA@%$INSTALL_DATA%g  s%@INSTALL_DATA@%$INSTALL_DATA%g
2035  s%@LN_S@%$LN_S%g  s%@LN_S@%$LN_S%g

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26