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.4 by ura, Sun Jan 16 06:01:37 2000 UTC revision 1.5 by ura, Sun Jan 16 06:37:12 2000 UTC
# Line 521  fi Line 521  fi
521    
522    
523    
524    case "$top_srcdir" in
525      .)  abs_top_srcdir=`pwd` ;;
526      /*) abs_top_srcdir=top_srcdir;;
527      *) # Relative path.
528        abs_top_srcdir=`pwd`$ac_dots$ac_given_srcdir ;;
529    esac
530    
531    
532    
533    
534  # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
535  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
536  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
537  echo "configure:528: checking for $ac_word" >&5  echo "configure:538: checking for $ac_word" >&5
538  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
539    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
540  else  else
# Line 553  if test -z "$CC"; then Line 563  if test -z "$CC"; then
563    # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
564  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
565  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
566  echo "configure:557: checking for $ac_word" >&5  echo "configure:567: checking for $ac_word" >&5
567  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
568    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
569  else  else
# Line 601  fi Line 611  fi
611  fi  fi
612    
613  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
614  echo "configure:605: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:615: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
615    
616  ac_ext=c  ac_ext=c
617  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# Line 611  ac_link='${CC-cc} -o conftest $CFLAGS $C Line 621  ac_link='${CC-cc} -o conftest $CFLAGS $C
621  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
622    
623  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
624  #line 615 "configure"  #line 625 "configure"
625  #include "confdefs.h"  #include "confdefs.h"
626  main(){return(0);}  main(){return(0);}
627  EOF  EOF
628  if { (eval echo configure:619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
629    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
630    # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
631    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 635  if test $ac_cv_prog_cc_works = no; then Line 645  if test $ac_cv_prog_cc_works = no; then
645    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
646  fi  fi
647  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
648  echo "configure:639: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:649: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
649  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
650  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
651    
652  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
653  echo "configure:644: checking whether we are using GNU C" >&5  echo "configure:654: checking whether we are using GNU C" >&5
654  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
655    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
656  else  else
# Line 649  else Line 659  else
659    yes;    yes;
660  #endif  #endif
661  EOF  EOF
662  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:653: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
663    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
664  else  else
665    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 664  if test $ac_cv_prog_gcc = yes; then Line 674  if test $ac_cv_prog_gcc = yes; then
674    ac_save_CFLAGS="$CFLAGS"    ac_save_CFLAGS="$CFLAGS"
675    CFLAGS=    CFLAGS=
676    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
677  echo "configure:668: checking whether ${CC-cc} accepts -g" >&5  echo "configure:678: checking whether ${CC-cc} accepts -g" >&5
678  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
679    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
680  else  else
# Line 692  else Line 702  else
702  fi  fi
703    
704  echo $ac_n "checking for cpp""... $ac_c" 1>&6  echo $ac_n "checking for cpp""... $ac_c" 1>&6
705  echo "configure:696: checking for cpp" >&5  echo "configure:706: checking for cpp" >&5
706  hosttype=`uname`  hosttype=`uname`
707  CCOPTIONS=""  CCOPTIONS=""
708  CDEBUGFLAGS=-O  CDEBUGFLAGS=-O
# Line 759  case $hosttype in Line 769  case $hosttype in
769            CPP=/lib/cpp            CPP=/lib/cpp
770        fi        fi
771        ;;        ;;
772        B.10.*|B.11.*)
773          if test -x /opt/langtools/lbin/cpp; then
774              CPP=/opt/langtools/lbin/cpp
775          fi
776          ;;
777        *)
778          { echo "configure: error: "This system is not supported."" 1>&2; exit 1; }
779          ;;
780        esac
781        ;;
782    "BeOS")
783            case `uname -m` in
784        "BePC")
785              CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
786              CDEBUGFLAGS="-O2 -fno-strength-reduce"
787              if test -x /boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp; then
788                CPP=/boot/develop/tools/gnupro/lib/gcc-lib/i586-beos/2.9-beos-980929/cpp
789              fi
790            ;;
791        "BeBox"|"BeMac")
792              CCOPTIONS="-DBEOS -D_POSIX_SOURCE -D_BSD_SOURCE"
793              NON_GNU_CPP=/boot/apps/GeekGadgets/bin/cpp
794            ;;
795      *)      *)
796        { echo "configure: error: "This system is not supported."" 1>&2; exit 1; }        { echo "configure: error: "This system is not supported."" 1>&2; exit 1; }
797        ;;        ;;
# Line 769  case $hosttype in Line 802  case $hosttype in
802      ;;      ;;
803  esac  esac
804  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
805  echo "configure:731: checking how to run the C preprocessor" >&5  echo "configure:806: checking how to run the C preprocessor" >&5
806  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
807  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
808    CPP=    CPP=
# Line 784  else Line 817  else
817    # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
818    # not just through cpp.    # not just through cpp.
819    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
820  #line 746 "configure"  #line 821 "configure"
821  #include "confdefs.h"  #include "confdefs.h"
822  #include <assert.h>  #include <assert.h>
823  Syntax Error  Syntax Error
824  EOF  EOF
825  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
826  { (eval echo configure:752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
827  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
828  if test -z "$ac_err"; then  if test -z "$ac_err"; then
829    :    :
# Line 801  else Line 834  else
834    rm -rf conftest*    rm -rf conftest*
835    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
836    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
837  #line 763 "configure"  #line 838 "configure"
838  #include "confdefs.h"  #include "confdefs.h"
839  #include <assert.h>  #include <assert.h>
840  Syntax Error  Syntax Error
841  EOF  EOF
842  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
843  { (eval echo configure:769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
844  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
845  if test -z "$ac_err"; then  if test -z "$ac_err"; then
846    :    :
# Line 835  do Line 868  do
868  # Extract the first word of "$ac_prog", so it can be a program name with args.  # Extract the first word of "$ac_prog", so it can be a program name with args.
869  set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
870  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
871  echo "configure:797: checking for $ac_word" >&5  echo "configure:872: checking for $ac_word" >&5
872  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
873    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
874  else  else
# Line 867  test -n "$YACC" || YACC="yacc" Line 900  test -n "$YACC" || YACC="yacc"
900  # Extract the first word of "flex", so it can be a program name with args.  # Extract the first word of "flex", so it can be a program name with args.
901  set dummy flex; ac_word=$2  set dummy flex; ac_word=$2
902  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
903  echo "configure:829: checking for $ac_word" >&5  echo "configure:904: checking for $ac_word" >&5
904  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
905    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
906  else  else
# Line 900  then Line 933  then
933    *) ac_lib=l ;;    *) ac_lib=l ;;
934    esac    esac
935    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6    echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
936  echo "configure:862: checking for yywrap in -l$ac_lib" >&5  echo "configure:937: checking for yywrap in -l$ac_lib" >&5
937  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`  ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
938  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
939    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 908  else Line 941  else
941    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
942  LIBS="-l$ac_lib  $LIBS"  LIBS="-l$ac_lib  $LIBS"
943  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
944  #line 870 "configure"  #line 945 "configure"
945  #include "confdefs.h"  #include "confdefs.h"
946  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
947  /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
# Line 919  int main() { Line 952  int main() {
952  yywrap()  yywrap()
953  ; return 0; }  ; return 0; }
954  EOF  EOF
955  if { (eval echo configure:881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
956    rm -rf conftest*    rm -rf conftest*
957    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
958  else  else
# Line 941  fi Line 974  fi
974    
975  fi  fi
976    
977    ac_aux_dir=
978    for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
979      if test -f $ac_dir/install-sh; then
980        ac_aux_dir=$ac_dir
981        ac_install_sh="$ac_aux_dir/install-sh -c"
982        break
983      elif test -f $ac_dir/install.sh; then
984        ac_aux_dir=$ac_dir
985        ac_install_sh="$ac_aux_dir/install.sh -c"
986        break
987      fi
988    done
989    if test -z "$ac_aux_dir"; then
990      { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
991    fi
992    ac_config_guess=$ac_aux_dir/config.guess
993    ac_config_sub=$ac_aux_dir/config.sub
994    ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
995    
996    # Find a good install program.  We prefer a C program (faster),
997    # so one script is as good as another.  But avoid the broken or
998    # incompatible versions:
999    # SysV /etc/install, /usr/sbin/install
1000    # SunOS /usr/etc/install
1001    # IRIX /sbin/install
1002    # AIX /bin/install
1003    # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1004    # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1005    # ./install, which can be erroneously created by make from ./install.sh.
1006    echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1007    echo "configure:1008: checking for a BSD compatible install" >&5
1008    if test -z "$INSTALL"; then
1009    if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1010      echo $ac_n "(cached) $ac_c" 1>&6
1011    else
1012        IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
1013      for ac_dir in $PATH; do
1014        # Account for people who put trailing slashes in PATH elements.
1015        case "$ac_dir/" in
1016        /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1017        *)
1018          # OSF1 and SCO ODT 3.0 have their own names for install.
1019          for ac_prog in ginstall installbsd scoinst install; do
1020            if test -f $ac_dir/$ac_prog; then
1021              if test $ac_prog = install &&
1022                grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1023                # AIX install.  It has an incompatible calling convention.
1024                # OSF/1 installbsd also uses dspmsg, but is usable.
1025                :
1026              else
1027                ac_cv_path_install="$ac_dir/$ac_prog -c"
1028                break 2
1029              fi
1030            fi
1031          done
1032          ;;
1033        esac
1034      done
1035      IFS="$ac_save_IFS"
1036    
1037    fi
1038      if test "${ac_cv_path_install+set}" = set; then
1039        INSTALL="$ac_cv_path_install"
1040      else
1041        # As a last resort, use the slow shell script.  We don't cache a
1042        # path for INSTALL within a source directory, because that will
1043        # break other packages using the cache if that directory is
1044        # removed, or if the path is relative.
1045        INSTALL="$ac_install_sh"
1046      fi
1047    fi
1048    echo "$ac_t""$INSTALL" 1>&6
1049    
1050    # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1051    # It thinks the first close brace ends the variable substitution.
1052    test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1053    
1054    test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1055    
1056  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6  echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1057  echo "configure:904: checking whether ln -s works" >&5  echo "configure:1058: checking whether ln -s works" >&5
1058  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1059    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1060  else  else
# Line 963  else Line 1075  else
1075  fi  fi
1076    
1077  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
1078  echo "configure:925: checking whether ${MAKE-make} sets \${MAKE}" >&5  echo "configure:1079: checking whether ${MAKE-make} sets \${MAKE}" >&5
1079  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1080  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
1081    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 992  fi Line 1104  fi
1104  # 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.
1105  set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
1106  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1107  echo "configure:954: checking for $ac_word" >&5  echo "configure:1108: checking for $ac_word" >&5
1108  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1109    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1110  else  else
# Line 1022  fi Line 1134  fi
1134    
1135    
1136  echo $ac_n "checking for main in -lFS""... $ac_c" 1>&6  echo $ac_n "checking for main in -lFS""... $ac_c" 1>&6
1137  echo "configure:984: checking for main in -lFS" >&5  echo "configure:1138: checking for main in -lFS" >&5
1138  ac_lib_var=`echo FS'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo FS'_'main | sed 'y%./+-%__p_%'`
1139  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
1140    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1030  else Line 1142  else
1142    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1143  LIBS="-lFS  $LIBS"  LIBS="-lFS  $LIBS"
1144  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1145  #line 992 "configure"  #line 1146 "configure"
1146  #include "confdefs.h"  #include "confdefs.h"
1147    
1148  int main() {  int main() {
1149  main()  main()
1150  ; return 0; }  ; return 0; }
1151  EOF  EOF
1152  if { (eval echo configure:999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1153    rm -rf conftest*    rm -rf conftest*
1154    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1155  else  else
# Line 1065  else Line 1177  else
1177  fi  fi
1178    
1179  echo $ac_n "checking for main in -lFresco""... $ac_c" 1>&6  echo $ac_n "checking for main in -lFresco""... $ac_c" 1>&6
1180  echo "configure:1027: checking for main in -lFresco" >&5  echo "configure:1181: checking for main in -lFresco" >&5
1181  ac_lib_var=`echo Fresco'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Fresco'_'main | sed 'y%./+-%__p_%'`
1182  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
1183    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1073  else Line 1185  else
1185    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1186  LIBS="-lFresco  $LIBS"  LIBS="-lFresco  $LIBS"
1187  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1188  #line 1035 "configure"  #line 1189 "configure"
1189  #include "confdefs.h"  #include "confdefs.h"
1190    
1191  int main() {  int main() {
1192  main()  main()
1193  ; return 0; }  ; return 0; }
1194  EOF  EOF
1195  if { (eval echo configure:1042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1196    rm -rf conftest*    rm -rf conftest*
1197    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1198  else  else
# Line 1108  else Line 1220  else
1220  fi  fi
1221    
1222  echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6  echo $ac_n "checking for main in -lICE""... $ac_c" 1>&6
1223  echo "configure:1070: checking for main in -lICE" >&5  echo "configure:1224: checking for main in -lICE" >&5
1224  ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'main | sed 'y%./+-%__p_%'`
1225  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
1226    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1116  else Line 1228  else
1228    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1229  LIBS="-lICE  $LIBS"  LIBS="-lICE  $LIBS"
1230  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1231  #line 1078 "configure"  #line 1232 "configure"
1232  #include "confdefs.h"  #include "confdefs.h"
1233    
1234  int main() {  int main() {
1235  main()  main()
1236  ; return 0; }  ; return 0; }
1237  EOF  EOF
1238  if { (eval echo configure:1085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1239    rm -rf conftest*    rm -rf conftest*
1240    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1241  else  else
# Line 1151  else Line 1263  else
1263  fi  fi
1264    
1265  echo $ac_n "checking for main in -lPEX5""... $ac_c" 1>&6  echo $ac_n "checking for main in -lPEX5""... $ac_c" 1>&6
1266  echo "configure:1113: checking for main in -lPEX5" >&5  echo "configure:1267: checking for main in -lPEX5" >&5
1267  ac_lib_var=`echo PEX5'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo PEX5'_'main | sed 'y%./+-%__p_%'`
1268  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
1269    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1159  else Line 1271  else
1271    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1272  LIBS="-lPEX5  $LIBS"  LIBS="-lPEX5  $LIBS"
1273  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1274  #line 1121 "configure"  #line 1275 "configure"
1275  #include "confdefs.h"  #include "confdefs.h"
1276    
1277  int main() {  int main() {
1278  main()  main()
1279  ; return 0; }  ; return 0; }
1280  EOF  EOF
1281  if { (eval echo configure:1128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1282    rm -rf conftest*    rm -rf conftest*
1283    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1284  else  else
# Line 1194  else Line 1306  else
1306  fi  fi
1307    
1308  echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6  echo $ac_n "checking for main in -lSM""... $ac_c" 1>&6
1309  echo "configure:1156: checking for main in -lSM" >&5  echo "configure:1310: checking for main in -lSM" >&5
1310  ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo SM'_'main | sed 'y%./+-%__p_%'`
1311  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
1312    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1202  else Line 1314  else
1314    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1315  LIBS="-lSM  $LIBS"  LIBS="-lSM  $LIBS"
1316  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1317  #line 1164 "configure"  #line 1318 "configure"
1318  #include "confdefs.h"  #include "confdefs.h"
1319    
1320  int main() {  int main() {
1321  main()  main()
1322  ; return 0; }  ; return 0; }
1323  EOF  EOF
1324  if { (eval echo configure:1171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1325    rm -rf conftest*    rm -rf conftest*
1326    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1327  else  else
# Line 1237  else Line 1349  else
1349  fi  fi
1350    
1351  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6  echo $ac_n "checking for main in -lX11""... $ac_c" 1>&6
1352  echo "configure:1199: checking for main in -lX11" >&5  echo "configure:1353: checking for main in -lX11" >&5
1353  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo X11'_'main | sed 'y%./+-%__p_%'`
1354  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
1355    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1245  else Line 1357  else
1357    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1358  LIBS="-lX11  $LIBS"  LIBS="-lX11  $LIBS"
1359  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1360  #line 1207 "configure"  #line 1361 "configure"
1361  #include "confdefs.h"  #include "confdefs.h"
1362    
1363  int main() {  int main() {
1364  main()  main()
1365  ; return 0; }  ; return 0; }
1366  EOF  EOF
1367  if { (eval echo configure:1214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1368    rm -rf conftest*    rm -rf conftest*
1369    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1370  else  else
# Line 1280  else Line 1392  else
1392  fi  fi
1393    
1394  echo $ac_n "checking for main in -lXIE""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXIE""... $ac_c" 1>&6
1395  echo "configure:1242: checking for main in -lXIE" >&5  echo "configure:1396: checking for main in -lXIE" >&5
1396  ac_lib_var=`echo XIE'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo XIE'_'main | sed 'y%./+-%__p_%'`
1397  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
1398    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1288  else Line 1400  else
1400    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1401  LIBS="-lXIE  $LIBS"  LIBS="-lXIE  $LIBS"
1402  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1403  #line 1250 "configure"  #line 1404 "configure"
1404  #include "confdefs.h"  #include "confdefs.h"
1405    
1406  int main() {  int main() {
1407  main()  main()
1408  ; return 0; }  ; return 0; }
1409  EOF  EOF
1410  if { (eval echo configure:1257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1411    rm -rf conftest*    rm -rf conftest*
1412    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1413  else  else
# Line 1323  else Line 1435  else
1435  fi  fi
1436    
1437  echo $ac_n "checking for main in -lXau""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXau""... $ac_c" 1>&6
1438  echo "configure:1285: checking for main in -lXau" >&5  echo "configure:1439: checking for main in -lXau" >&5
1439  ac_lib_var=`echo Xau'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xau'_'main | sed 'y%./+-%__p_%'`
1440  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
1441    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1331  else Line 1443  else
1443    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1444  LIBS="-lXau  $LIBS"  LIBS="-lXau  $LIBS"
1445  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1446  #line 1293 "configure"  #line 1447 "configure"
1447  #include "confdefs.h"  #include "confdefs.h"
1448    
1449  int main() {  int main() {
1450  main()  main()
1451  ; return 0; }  ; return 0; }
1452  EOF  EOF
1453  if { (eval echo configure:1300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1454    rm -rf conftest*    rm -rf conftest*
1455    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1456  else  else
# Line 1366  else Line 1478  else
1478  fi  fi
1479    
1480  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXaw""... $ac_c" 1>&6
1481  echo "configure:1328: checking for main in -lXaw" >&5  echo "configure:1482: checking for main in -lXaw" >&5
1482  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xaw'_'main | sed 'y%./+-%__p_%'`
1483  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
1484    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1374  else Line 1486  else
1486    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1487  LIBS="-lXaw  $LIBS"  LIBS="-lXaw  $LIBS"
1488  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1489  #line 1336 "configure"  #line 1490 "configure"
1490  #include "confdefs.h"  #include "confdefs.h"
1491    
1492  int main() {  int main() {
1493  main()  main()
1494  ; return 0; }  ; return 0; }
1495  EOF  EOF
1496  if { (eval echo configure:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1497    rm -rf conftest*    rm -rf conftest*
1498    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1499  else  else
# Line 1409  else Line 1521  else
1521  fi  fi
1522    
1523  echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXbsd""... $ac_c" 1>&6
1524  echo "configure:1371: checking for main in -lXbsd" >&5  echo "configure:1525: checking for main in -lXbsd" >&5
1525  ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xbsd'_'main | sed 'y%./+-%__p_%'`
1526  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
1527    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1417  else Line 1529  else
1529    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1530  LIBS="-lXbsd  $LIBS"  LIBS="-lXbsd  $LIBS"
1531  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1532  #line 1379 "configure"  #line 1533 "configure"
1533  #include "confdefs.h"  #include "confdefs.h"
1534    
1535  int main() {  int main() {
1536  main()  main()
1537  ; return 0; }  ; return 0; }
1538  EOF  EOF
1539  if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1540    rm -rf conftest*    rm -rf conftest*
1541    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1542  else  else
# Line 1452  else Line 1564  else
1564  fi  fi
1565    
1566  echo $ac_n "checking for main in -lXdmcp""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXdmcp""... $ac_c" 1>&6
1567  echo "configure:1414: checking for main in -lXdmcp" >&5  echo "configure:1568: checking for main in -lXdmcp" >&5
1568  ac_lib_var=`echo Xdmcp'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xdmcp'_'main | sed 'y%./+-%__p_%'`
1569  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
1570    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1460  else Line 1572  else
1572    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1573  LIBS="-lXdmcp  $LIBS"  LIBS="-lXdmcp  $LIBS"
1574  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1575  #line 1422 "configure"  #line 1576 "configure"
1576  #include "confdefs.h"  #include "confdefs.h"
1577    
1578  int main() {  int main() {
1579  main()  main()
1580  ; return 0; }  ; return 0; }
1581  EOF  EOF
1582  if { (eval echo configure:1429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1583    rm -rf conftest*    rm -rf conftest*
1584    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1585  else  else
# Line 1495  else Line 1607  else
1607  fi  fi
1608    
1609  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXext""... $ac_c" 1>&6
1610  echo "configure:1457: checking for main in -lXext" >&5  echo "configure:1611: checking for main in -lXext" >&5
1611  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xext'_'main | sed 'y%./+-%__p_%'`
1612  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
1613    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1503  else Line 1615  else
1615    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1616  LIBS="-lXext  $LIBS"  LIBS="-lXext  $LIBS"
1617  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1618  #line 1465 "configure"  #line 1619 "configure"
1619  #include "confdefs.h"  #include "confdefs.h"
1620    
1621  int main() {  int main() {
1622  main()  main()
1623  ; return 0; }  ; return 0; }
1624  EOF  EOF
1625  if { (eval echo configure:1472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1626    rm -rf conftest*    rm -rf conftest*
1627    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1628  else  else
# Line 1538  else Line 1650  else
1650  fi  fi
1651    
1652  echo $ac_n "checking for main in -lXi""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXi""... $ac_c" 1>&6
1653  echo "configure:1500: checking for main in -lXi" >&5  echo "configure:1654: checking for main in -lXi" >&5
1654  ac_lib_var=`echo Xi'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xi'_'main | sed 'y%./+-%__p_%'`
1655  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
1656    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1546  else Line 1658  else
1658    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1659  LIBS="-lXi  $LIBS"  LIBS="-lXi  $LIBS"
1660  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1661  #line 1508 "configure"  #line 1662 "configure"
1662  #include "confdefs.h"  #include "confdefs.h"
1663    
1664  int main() {  int main() {
1665  main()  main()
1666  ; return 0; }  ; return 0; }
1667  EOF  EOF
1668  if { (eval echo configure:1515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1669    rm -rf conftest*    rm -rf conftest*
1670    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1671  else  else
# Line 1581  else Line 1693  else
1693  fi  fi
1694    
1695  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXmu""... $ac_c" 1>&6
1696  echo "configure:1543: checking for main in -lXmu" >&5  echo "configure:1697: checking for main in -lXmu" >&5
1697  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xmu'_'main | sed 'y%./+-%__p_%'`
1698  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
1699    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1589  else Line 1701  else
1701    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1702  LIBS="-lXmu  $LIBS"  LIBS="-lXmu  $LIBS"
1703  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1704  #line 1551 "configure"  #line 1705 "configure"
1705  #include "confdefs.h"  #include "confdefs.h"
1706    
1707  int main() {  int main() {
1708  main()  main()
1709  ; return 0; }  ; return 0; }
1710  EOF  EOF
1711  if { (eval echo configure:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1712    rm -rf conftest*    rm -rf conftest*
1713    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1714  else  else
# Line 1624  else Line 1736  else
1736  fi  fi
1737    
1738  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXt""... $ac_c" 1>&6
1739  echo "configure:1586: checking for main in -lXt" >&5  echo "configure:1740: checking for main in -lXt" >&5
1740  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xt'_'main | sed 'y%./+-%__p_%'`
1741  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
1742    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1632  else Line 1744  else
1744    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1745  LIBS="-lXt  $LIBS"  LIBS="-lXt  $LIBS"
1746  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1747  #line 1594 "configure"  #line 1748 "configure"
1748  #include "confdefs.h"  #include "confdefs.h"
1749    
1750  int main() {  int main() {
1751  main()  main()
1752  ; return 0; }  ; return 0; }
1753  EOF  EOF
1754  if { (eval echo configure:1601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1755    rm -rf conftest*    rm -rf conftest*
1756    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1757  else  else
# Line 1667  else Line 1779  else
1779  fi  fi
1780    
1781  echo $ac_n "checking for main in -lXtf""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXtf""... $ac_c" 1>&6
1782  echo "configure:1629: checking for main in -lXtf" >&5  echo "configure:1783: checking for main in -lXtf" >&5
1783  ac_lib_var=`echo Xtf'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xtf'_'main | sed 'y%./+-%__p_%'`
1784  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
1785    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1675  else Line 1787  else
1787    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1788  LIBS="-lXtf  $LIBS"  LIBS="-lXtf  $LIBS"
1789  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1790  #line 1637 "configure"  #line 1791 "configure"
1791  #include "confdefs.h"  #include "confdefs.h"
1792    
1793  int main() {  int main() {
1794  main()  main()
1795  ; return 0; }  ; return 0; }
1796  EOF  EOF
1797  if { (eval echo configure:1644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1798    rm -rf conftest*    rm -rf conftest*
1799    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1800  else  else
# Line 1710  else Line 1822  else
1822  fi  fi
1823    
1824  echo $ac_n "checking for main in -lXtst""... $ac_c" 1>&6  echo $ac_n "checking for main in -lXtst""... $ac_c" 1>&6
1825  echo "configure:1672: checking for main in -lXtst" >&5  echo "configure:1826: checking for main in -lXtst" >&5
1826  ac_lib_var=`echo Xtst'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo Xtst'_'main | sed 'y%./+-%__p_%'`
1827  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
1828    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1718  else Line 1830  else
1830    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1831  LIBS="-lXtst  $LIBS"  LIBS="-lXtst  $LIBS"
1832  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1833  #line 1680 "configure"  #line 1834 "configure"
1834  #include "confdefs.h"  #include "confdefs.h"
1835    
1836  int main() {  int main() {
1837  main()  main()
1838  ; return 0; }  ; return 0; }
1839  EOF  EOF
1840  if { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1841    rm -rf conftest*    rm -rf conftest*
1842    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1843  else  else
# Line 1753  else Line 1865  else
1865  fi  fi
1866    
1867  echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6  echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
1868  echo "configure:1715: checking for main in -lcurses" >&5  echo "configure:1869: checking for main in -lcurses" >&5
1869  ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo curses'_'main | sed 'y%./+-%__p_%'`
1870  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
1871    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1761  else Line 1873  else
1873    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1874  LIBS="-lcurses  $LIBS"  LIBS="-lcurses  $LIBS"
1875  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1876  #line 1723 "configure"  #line 1877 "configure"
1877  #include "confdefs.h"  #include "confdefs.h"
1878    
1879  int main() {  int main() {
1880  main()  main()
1881  ; return 0; }  ; return 0; }
1882  EOF  EOF
1883  if { (eval echo configure:1730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1884    rm -rf conftest*    rm -rf conftest*
1885    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1886  else  else
# Line 1796  else Line 1908  else
1908  fi  fi
1909    
1910  echo $ac_n "checking for main in -lfl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lfl""... $ac_c" 1>&6
1911  echo "configure:1758: checking for main in -lfl" >&5  echo "configure:1912: checking for main in -lfl" >&5
1912  ac_lib_var=`echo fl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo fl'_'main | sed 'y%./+-%__p_%'`
1913  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
1914    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1804  else Line 1916  else
1916    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1917  LIBS="-lfl  $LIBS"  LIBS="-lfl  $LIBS"
1918  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1919  #line 1766 "configure"  #line 1920 "configure"
1920  #include "confdefs.h"  #include "confdefs.h"
1921    
1922  int main() {  int main() {
1923  main()  main()
1924  ; return 0; }  ; return 0; }
1925  EOF  EOF
1926  if { (eval echo configure:1773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1927    rm -rf conftest*    rm -rf conftest*
1928    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1929  else  else
# Line 1839  else Line 1951  else
1951  fi  fi
1952    
1953  echo $ac_n "checking for main in -lfont""... $ac_c" 1>&6  echo $ac_n "checking for main in -lfont""... $ac_c" 1>&6
1954  echo "configure:1801: checking for main in -lfont" >&5  echo "configure:1955: checking for main in -lfont" >&5
1955  ac_lib_var=`echo font'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo font'_'main | sed 'y%./+-%__p_%'`
1956  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
1957    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1847  else Line 1959  else
1959    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
1960  LIBS="-lfont  $LIBS"  LIBS="-lfont  $LIBS"
1961  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
1962  #line 1809 "configure"  #line 1963 "configure"
1963  #include "confdefs.h"  #include "confdefs.h"
1964    
1965  int main() {  int main() {
1966  main()  main()
1967  ; return 0; }  ; return 0; }
1968  EOF  EOF
1969  if { (eval echo configure:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1970    rm -rf conftest*    rm -rf conftest*
1971    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
1972  else  else
# Line 1882  else Line 1994  else
1994  fi  fi
1995    
1996  echo $ac_n "checking for main in -loldX""... $ac_c" 1>&6  echo $ac_n "checking for main in -loldX""... $ac_c" 1>&6
1997  echo "configure:1844: checking for main in -loldX" >&5  echo "configure:1998: checking for main in -loldX" >&5
1998  ac_lib_var=`echo oldX'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo oldX'_'main | sed 'y%./+-%__p_%'`
1999  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
2000    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1890  else Line 2002  else
2002    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2003  LIBS="-loldX  $LIBS"  LIBS="-loldX  $LIBS"
2004  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2005  #line 1852 "configure"  #line 2006 "configure"
2006  #include "confdefs.h"  #include "confdefs.h"
2007    
2008  int main() {  int main() {
2009  main()  main()
2010  ; return 0; }  ; return 0; }
2011  EOF  EOF
2012  if { (eval echo configure:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2013    rm -rf conftest*    rm -rf conftest*
2014    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2015  else  else
# Line 1925  else Line 2037  else
2037  fi  fi
2038    
2039  echo $ac_n "checking for main in -lphigs""... $ac_c" 1>&6  echo $ac_n "checking for main in -lphigs""... $ac_c" 1>&6
2040  echo "configure:1887: checking for main in -lphigs" >&5  echo "configure:2041: checking for main in -lphigs" >&5
2041  ac_lib_var=`echo phigs'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo phigs'_'main | sed 'y%./+-%__p_%'`
2042  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
2043    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1933  else Line 2045  else
2045    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2046  LIBS="-lphigs  $LIBS"  LIBS="-lphigs  $LIBS"
2047  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2048  #line 1895 "configure"  #line 2049 "configure"
2049  #include "confdefs.h"  #include "confdefs.h"
2050    
2051  int main() {  int main() {
2052  main()  main()
2053  ; return 0; }  ; return 0; }
2054  EOF  EOF
2055  if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2056    rm -rf conftest*    rm -rf conftest*
2057    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2058  else  else
# Line 1968  else Line 2080  else
2080  fi  fi
2081    
2082  echo $ac_n "checking for main in -lxpg4""... $ac_c" 1>&6  echo $ac_n "checking for main in -lxpg4""... $ac_c" 1>&6
2083  echo "configure:1930: checking for main in -lxpg4" >&5  echo "configure:2084: checking for main in -lxpg4" >&5
2084  ac_lib_var=`echo xpg4'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo xpg4'_'main | sed 'y%./+-%__p_%'`
2085  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
2086    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1976  else Line 2088  else
2088    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2089  LIBS="-lxpg4  $LIBS"  LIBS="-lxpg4  $LIBS"
2090  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2091  #line 1938 "configure"  #line 2092 "configure"
2092  #include "confdefs.h"  #include "confdefs.h"
2093    
2094  int main() {  int main() {
2095  main()  main()
2096  ; return 0; }  ; return 0; }
2097  EOF  EOF
2098  if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2099    rm -rf conftest*    rm -rf conftest*
2100    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2101  else  else
# Line 2012  fi Line 2124  fi
2124    
2125    
2126  echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6  echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6
2127  echo "configure:1974: checking for main in -lcrypt" >&5  echo "configure:2128: checking for main in -lcrypt" >&5
2128  ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'`
2129  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
2130    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2020  else Line 2132  else
2132    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2133  LIBS="-lcrypt  $LIBS"  LIBS="-lcrypt  $LIBS"
2134  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2135  #line 1982 "configure"  #line 2136 "configure"
2136  #include "confdefs.h"  #include "confdefs.h"
2137    
2138  int main() {  int main() {
2139  main()  main()
2140  ; return 0; }  ; return 0; }
2141  EOF  EOF
2142  if { (eval echo configure:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2143    rm -rf conftest*    rm -rf conftest*
2144    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2145  else  else
# Line 2055  else Line 2167  else
2167  fi  fi
2168    
2169  echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6  echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
2170  echo "configure:2017: checking for main in -lsocket" >&5  echo "configure:2171: checking for main in -lsocket" >&5
2171  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
2172  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
2173    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2063  else Line 2175  else
2175    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2176  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
2177  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2178  #line 2025 "configure"  #line 2179 "configure"
2179  #include "confdefs.h"  #include "confdefs.h"
2180    
2181  int main() {  int main() {
2182  main()  main()
2183  ; return 0; }  ; return 0; }
2184  EOF  EOF
2185  if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2186    rm -rf conftest*    rm -rf conftest*
2187    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2188  else  else
# Line 2098  else Line 2210  else
2210  fi  fi
2211    
2212  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
2213  echo "configure:2060: checking for main in -lnsl" >&5  echo "configure:2214: checking for main in -lnsl" >&5
2214  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
2215  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
2216    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2106  else Line 2218  else
2218    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2219  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2220  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2221  #line 2068 "configure"  #line 2222 "configure"
2222  #include "confdefs.h"  #include "confdefs.h"
2223    
2224  int main() {  int main() {
2225  main()  main()
2226  ; return 0; }  ; return 0; }
2227  EOF  EOF
2228  if { (eval echo configure:2075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2229    rm -rf conftest*    rm -rf conftest*
2230    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2231  else  else
# Line 2146  fi Line 2258  fi
2258  # 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.
2259  # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
2260  echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
2261  echo "configure:2108: checking for X" >&5  echo "configure:2262: checking for X" >&5
2262    
2263  # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
2264  if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
# Line 2208  if test "$ac_x_includes" = NO; then Line 2320  if test "$ac_x_includes" = NO; then
2320    
2321    # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
2322  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2323  #line 2170 "configure"  #line 2324 "configure"
2324  #include "confdefs.h"  #include "confdefs.h"
2325  #include <$x_direct_test_include>  #include <$x_direct_test_include>
2326  EOF  EOF
2327  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2328  { (eval echo configure:2175: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2329  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
2330  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2331    rm -rf conftest*    rm -rf conftest*
# Line 2282  if test "$ac_x_libraries" = NO; then Line 2394  if test "$ac_x_libraries" = NO; then
2394    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2395    LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
2396  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2397  #line 2244 "configure"  #line 2398 "configure"
2398  #include "confdefs.h"  #include "confdefs.h"
2399    
2400  int main() {  int main() {
2401  ${x_direct_test_function}()  ${x_direct_test_function}()
2402  ; return 0; }  ; return 0; }
2403  EOF  EOF
2404  if { (eval echo configure:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2405    rm -rf conftest*    rm -rf conftest*
2406    LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
2407  # We can link X programs with no special library path.  # We can link X programs with no special library path.
# Line 2376  else Line 2488  else
2488  fi  fi
2489    
2490  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
2491  echo "configure:2338: checking for ANSI C header files" >&5  echo "configure:2492: checking for ANSI C header files" >&5
2492  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2493    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2494  else  else
2495    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2496  #line 2343 "configure"  #line 2497 "configure"
2497  #include "confdefs.h"  #include "confdefs.h"
2498  #include <stdlib.h>  #include <stdlib.h>
2499  #include <stdarg.h>  #include <stdarg.h>
# Line 2389  else Line 2501  else
2501  #include <float.h>  #include <float.h>
2502  EOF  EOF
2503  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2504  { (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2505  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
2506  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2507    rm -rf conftest*    rm -rf conftest*
# Line 2406  rm -f conftest* Line 2518  rm -f conftest*
2518  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
2519    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2520  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2521  #line 2368 "configure"  #line 2522 "configure"
2522  #include "confdefs.h"  #include "confdefs.h"
2523  #include <string.h>  #include <string.h>
2524  EOF  EOF
# Line 2424  fi Line 2536  fi
2536  if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
2537    # 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.
2538  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2539  #line 2386 "configure"  #line 2540 "configure"
2540  #include "confdefs.h"  #include "confdefs.h"
2541  #include <stdlib.h>  #include <stdlib.h>
2542  EOF  EOF
# Line 2445  if test "$cross_compiling" = yes; then Line 2557  if test "$cross_compiling" = yes; then
2557    :    :
2558  else  else
2559    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2560  #line 2407 "configure"  #line 2561 "configure"
2561  #include "confdefs.h"  #include "confdefs.h"
2562  #include <ctype.h>  #include <ctype.h>
2563  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
# Line 2456  if (XOR (islower (i), ISLOWER (i)) || to Line 2568  if (XOR (islower (i), ISLOWER (i)) || to
2568  exit (0); }  exit (0); }
2569    
2570  EOF  EOF
2571  if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2572  then  then
2573    :    :
2574  else  else
# Line 2480  EOF Line 2592  EOF
2592  fi  fi
2593    
2594  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
2595  echo "configure:2442: checking for sys/wait.h that is POSIX.1 compatible" >&5  echo "configure:2596: checking for sys/wait.h that is POSIX.1 compatible" >&5
2596  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
2597    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2598  else  else
2599    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2600  #line 2447 "configure"  #line 2601 "configure"
2601  #include "confdefs.h"  #include "confdefs.h"
2602  #include <sys/types.h>  #include <sys/types.h>
2603  #include <sys/wait.h>  #include <sys/wait.h>
# Line 2501  wait (&s); Line 2613  wait (&s);
2613  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2614  ; return 0; }  ; return 0; }
2615  EOF  EOF
2616  if { (eval echo configure:2463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2617    rm -rf conftest*    rm -rf conftest*
2618    ac_cv_header_sys_wait_h=yes    ac_cv_header_sys_wait_h=yes
2619  else  else
# Line 2525  for ac_hdr in fcntl.h limits.h malloc.h Line 2637  for ac_hdr in fcntl.h limits.h malloc.h
2637  do  do
2638  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2639  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2640  echo "configure:2487: checking for $ac_hdr" >&5  echo "configure:2641: checking for $ac_hdr" >&5
2641  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2642    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2643  else  else
2644    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2645  #line 2492 "configure"  #line 2646 "configure"
2646  #include "confdefs.h"  #include "confdefs.h"
2647  #include <$ac_hdr>  #include <$ac_hdr>
2648  EOF  EOF
2649  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2650  { (eval echo configure:2497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2651  ac_err=`grep -v '^ *+' conftest.out`  ac_err=`grep -v '^ *+' conftest.out`
2652  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2653    rm -rf conftest*    rm -rf conftest*
# Line 2563  done Line 2675  done
2675    
2676    
2677  echo $ac_n "checking for mode_t""... $ac_c" 1>&6  echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2678  echo "configure:2525: checking for mode_t" >&5  echo "configure:2679: checking for mode_t" >&5
2679  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2680    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2681  else  else
2682    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2683  #line 2530 "configure"  #line 2684 "configure"
2684  #include "confdefs.h"  #include "confdefs.h"
2685  #include <sys/types.h>  #include <sys/types.h>
2686  #if STDC_HEADERS  #if STDC_HEADERS
# Line 2596  EOF Line 2708  EOF
2708  fi  fi
2709    
2710  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
2711  echo "configure:2558: checking whether time.h and sys/time.h may both be included" >&5  echo "configure:2712: checking whether time.h and sys/time.h may both be included" >&5
2712  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2713    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2714  else  else
2715    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2716  #line 2563 "configure"  #line 2717 "configure"
2717  #include "confdefs.h"  #include "confdefs.h"
2718  #include <sys/types.h>  #include <sys/types.h>
2719  #include <sys/time.h>  #include <sys/time.h>
# Line 2610  int main() { Line 2722  int main() {
2722  struct tm *tp;  struct tm *tp;
2723  ; return 0; }  ; return 0; }
2724  EOF  EOF
2725  if { (eval echo configure:2572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2726    rm -rf conftest*    rm -rf conftest*
2727    ac_cv_header_time=yes    ac_cv_header_time=yes
2728  else  else
# Line 2633  fi Line 2745  fi
2745    
2746  if test $ac_cv_prog_gcc = yes; then  if test $ac_cv_prog_gcc = yes; then
2747      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
2748  echo "configure:2595: checking whether ${CC-cc} needs -traditional" >&5  echo "configure:2749: checking whether ${CC-cc} needs -traditional" >&5
2749  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
2750    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2751  else  else
2752      ac_pattern="Autoconf.*'x'"      ac_pattern="Autoconf.*'x'"
2753    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2754  #line 2601 "configure"  #line 2755 "configure"
2755  #include "confdefs.h"  #include "confdefs.h"
2756  #include <sgtty.h>  #include <sgtty.h>
2757  Autoconf TIOCGETP  Autoconf TIOCGETP
# Line 2657  rm -f conftest* Line 2769  rm -f conftest*
2769    
2770    if test $ac_cv_prog_gcc_traditional = no; then    if test $ac_cv_prog_gcc_traditional = no; then
2771      cat > conftest.$ac_ext <<EOF      cat > conftest.$ac_ext <<EOF
2772  #line 2619 "configure"  #line 2773 "configure"
2773  #include "confdefs.h"  #include "confdefs.h"
2774  #include <termio.h>  #include <termio.h>
2775  Autoconf TCGETA  Autoconf TCGETA
# Line 2679  echo "$ac_t""$ac_cv_prog_gcc_traditional Line 2791  echo "$ac_t""$ac_cv_prog_gcc_traditional
2791  fi  fi
2792    
2793  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
2794  echo "configure:2641: checking for 8-bit clean memcmp" >&5  echo "configure:2795: checking for 8-bit clean memcmp" >&5
2795  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2796    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2797  else  else
# Line 2687  else Line 2799  else
2799    ac_cv_func_memcmp_clean=no    ac_cv_func_memcmp_clean=no
2800  else  else
2801    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2802  #line 2649 "configure"  #line 2803 "configure"
2803  #include "confdefs.h"  #include "confdefs.h"
2804    
2805  main()  main()
# Line 2697  main() Line 2809  main()
2809  }  }
2810    
2811  EOF  EOF
2812  if { (eval echo configure:2659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2813  then  then
2814    ac_cv_func_memcmp_clean=yes    ac_cv_func_memcmp_clean=yes
2815  else  else
# Line 2715  echo "$ac_t""$ac_cv_func_memcmp_clean" 1 Line 2827  echo "$ac_t""$ac_cv_func_memcmp_clean" 1
2827  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"  test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
2828    
2829  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
2830  echo "configure:2677: checking return type of signal handlers" >&5  echo "configure:2831: checking return type of signal handlers" >&5
2831  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2832    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2833  else  else
2834    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2835  #line 2682 "configure"  #line 2836 "configure"
2836  #include "confdefs.h"  #include "confdefs.h"
2837  #include <sys/types.h>  #include <sys/types.h>
2838  #include <signal.h>  #include <signal.h>
# Line 2737  int main() { Line 2849  int main() {
2849  int i;  int i;
2850  ; return 0; }  ; return 0; }
2851  EOF  EOF
2852  if { (eval echo configure:2699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2853    rm -rf conftest*    rm -rf conftest*
2854    ac_cv_type_signal=void    ac_cv_type_signal=void
2855  else  else
# Line 2756  EOF Line 2868  EOF
2868    
2869    
2870  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
2871  echo "configure:2718: checking for wait3 that fills in rusage" >&5  echo "configure:2872: checking for wait3 that fills in rusage" >&5
2872  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_wait3_rusage'+set}'`\" = set"; then
2873    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2874  else  else
# Line 2764  else Line 2876  else
2876    ac_cv_func_wait3_rusage=no    ac_cv_func_wait3_rusage=no
2877  else  else
2878    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2879  #line 2726 "configure"  #line 2880 "configure"
2880  #include "confdefs.h"  #include "confdefs.h"
2881  #include <sys/types.h>  #include <sys/types.h>
2882  #include <sys/time.h>  #include <sys/time.h>
# Line 2795  main() { Line 2907  main() {
2907    }    }
2908  }  }
2909  EOF  EOF
2910  if { (eval echo configure:2757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2911  then  then
2912    ac_cv_func_wait3_rusage=yes    ac_cv_func_wait3_rusage=yes
2913  else  else
# Line 2820  fi Line 2932  fi
2932  for ac_func in gethostname mkdir select socket strtol  for ac_func in gethostname mkdir select socket strtol
2933  do  do
2934  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2935  echo "configure:2782: checking for $ac_func" >&5  echo "configure:2936: checking for $ac_func" >&5
2936  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2937    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2938  else  else
2939    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2940  #line 2787 "configure"  #line 2941 "configure"
2941  #include "confdefs.h"  #include "confdefs.h"
2942  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2943      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 2848  $ac_func(); Line 2960  $ac_func();
2960    
2961  ; return 0; }  ; return 0; }
2962  EOF  EOF
2963  if { (eval echo configure:2810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  if { (eval echo configure:2964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2964    rm -rf conftest*    rm -rf conftest*
2965    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
2966  else  else
# Line 2873  fi Line 2985  fi
2985  done  done
2986    
2987    
2988    
2989    
2990  trap '' 1 2 15  trap '' 1 2 15
2991  cat > confcache <<\EOF  cat > confcache <<\EOF
2992  # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
# Line 2936  fi Line 3050  fi
3050    
3051  trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15  trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3052    
3053  # Transform confdefs.h into DEFS.  DEFS=-DHAVE_CONFIG_H
 # Protect against shell expansion while executing Makefile rules.  
 # Protect against Makefile macro expansion.  
 cat > conftest.defs <<\EOF  
 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g  
 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g  
 s%\[%\\&%g  
 s%\]%\\&%g  
 s%\$%$$%g  
 EOF  
 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`  
 rm -f conftest.defs  
   
3054    
3055  # Without the "./", some shells look in PATH for config.status.  # Without the "./", some shells look in PATH for config.status.
3056  : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
# Line 2984  do Line 3086  do
3086  done  done
3087    
3088  ac_given_srcdir=$srcdir  ac_given_srcdir=$srcdir
3089    ac_given_INSTALL="$INSTALL"
3090    
3091  trap 'rm -fr `echo "Wnn/man/2.env/wnn/Makefile Wnn/pubdic/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile Pubdic/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15  trap 'rm -fr `echo "makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdic/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile Pubdic/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3092  EOF  EOF
3093  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
3094    
# Line 3015  s%@includedir@%$includedir%g Line 3118  s%@includedir@%$includedir%g
3118  s%@oldincludedir@%$oldincludedir%g  s%@oldincludedir@%$oldincludedir%g
3119  s%@infodir@%$infodir%g  s%@infodir@%$infodir%g
3120  s%@mandir@%$mandir%g  s%@mandir@%$mandir%g
3121    s%@abs_top_srcdir@%$abs_top_srcdir%g
3122  s%@CC@%$CC%g  s%@CC@%$CC%g
3123  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
3124  s%@YACC@%$YACC%g  s%@YACC@%$YACC%g
3125  s%@LEX@%$LEX%g  s%@LEX@%$LEX%g
3126  s%@LEXLIB@%$LEXLIB%g  s%@LEXLIB@%$LEXLIB%g
3127    s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3128    s%@INSTALL_DATA@%$INSTALL_DATA%g
3129  s%@LN_S@%$LN_S%g  s%@LN_S@%$LN_S%g
3130  s%@SET_MAKE@%$SET_MAKE%g  s%@SET_MAKE@%$SET_MAKE%g
3131  s%@RANLIB@%$RANLIB%g  s%@RANLIB@%$RANLIB%g
# Line 3067  EOF Line 3173  EOF
3173    
3174  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
3175    
3176  CONFIG_FILES=\${CONFIG_FILES-"Wnn/man/2.env/wnn/Makefile Wnn/pubdic/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile Pubdic/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile"}  CONFIG_FILES=\${CONFIG_FILES-"makerule.mk Wnn/man/2.env/wnn/Makefile Wnn/pubdic/Makefile cWnn/uum/Makefile cWnn/man/6.jutil/Makefile cWnn/man/Makefile Wnn/man/4.cmd/Makefile kWnn/uum/Makefile cWnn/td/rk/Makefile cWnn/include/Makefile Wnn/jd/rk.vi/Makefile Wnn/jd/Makefile Makefile kWnn/include/Makefile Wnn/ld/Makefile Wnn/man/2.env/dic/Makefile Wnn/man/2.env/Makefile Wnn/man/3.libwnn/Makefile Wnn/man/6.jutil/Makefile Wnn/uum/Makefile cWnn/man/1.intro/Makefile cWnn/conv/Makefile Wnn/jd/rk/Makefile cWnn/td/Makefile Wnn/man/Makefile cWnn/td/rk_z/Makefile kWnn/conv/Makefile cWnn/man/4.cmd/Makefile cWnn/jlib/Makefile Wnn/include/Makefile Wnn/jutil/Makefile kWnn/jlib/Makefile cWnn/cd/rk_z/Makefile cWnn/Makefile cWnn/cdic/Makefile cWnn/man/2.env/Makefile Wnn/man/3.libwnn/js_lib/Makefile Wnn/man/3.libwnn/rk_lib/Makefile Contrib/dic/gerodic/Makefile kWnn/Makefile cWnn/jserver/Makefile kWnn/kdic/Makefile cWnn/tdic/Makefile Wnn/romkan/Makefile cWnn/cd/Makefile cWnn/jutil/Makefile cWnn/romkan/Makefile kWnn/jserver/Makefile Wnn/Makefile Wnn/man/3.libwnn/jl_lib/Makefile kWnn/romkan/Makefile kWnn/jutil/Makefile Pubdic/Makefile Wnn/conv/Makefile cWnn/cd/rk/Makefile cWnn/td/rk_p/Makefile Wnn/jlib.V3/Makefile kWnn/kd/Makefile Wnn/ld/rk/Makefile cWnn/etc/Makefile Wnn/jlib/Makefile Wnn/jserver/Makefile Wnn/wnncons/dic/Makefile cWnn/cd/rk_p/Makefile kWnn/kd/rk/Makefile Wnn/wnncons/Makefile Wnn/man/3.libwnn/misc_lib/Makefile kWnn/etc/Makefile"}
3177  EOF  EOF
3178  cat >> $CONFIG_STATUS <<\EOF  cat >> $CONFIG_STATUS <<\EOF
3179  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Line 3102  for ac_file in .. $CONFIG_FILES; do if t Line 3208  for ac_file in .. $CONFIG_FILES; do if t
3208      top_srcdir="$ac_dots$ac_given_srcdir" ;;      top_srcdir="$ac_dots$ac_given_srcdir" ;;
3209    esac    esac
3210    
3211      case "$ac_given_INSTALL" in
3212      [/$]*) INSTALL="$ac_given_INSTALL" ;;
3213      *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3214      esac
3215    
3216    echo creating "$ac_file"    echo creating "$ac_file"
3217    rm -f "$ac_file"    rm -f "$ac_file"
# Line 3117  for ac_file in .. $CONFIG_FILES; do if t Line 3227  for ac_file in .. $CONFIG_FILES; do if t
3227  s%@configure_input@%$configure_input%g  s%@configure_input@%$configure_input%g
3228  s%@srcdir@%$srcdir%g  s%@srcdir@%$srcdir%g
3229  s%@top_srcdir@%$top_srcdir%g  s%@top_srcdir@%$top_srcdir%g
3230    s%@INSTALL@%$INSTALL%g
3231  " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file  " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3232  fi; done  fi; done
3233  rm -f conftest.s*  rm -f conftest.s*
3234    
3235    # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3236    # NAME is the cpp macro being defined and VALUE is the value it is being given.
3237    #
3238    # ac_d sets the value in "#define NAME VALUE" lines.
3239    ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
3240    ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
3241    ac_dC='\3'
3242    ac_dD='%g'
3243    # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3244    ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3245    ac_uB='\([      ]\)%\1#\2define\3'
3246    ac_uC=' '
3247    ac_uD='\4%g'
3248    # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3249    ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3250    ac_eB='$%\1#\2define\3'
3251    ac_eC=' '
3252    ac_eD='%g'
3253    
3254    if test "${CONFIG_HEADERS+set}" != set; then
3255    EOF
3256    cat >> $CONFIG_STATUS <<EOF
3257      CONFIG_HEADERS="config.h"
3258    EOF
3259    cat >> $CONFIG_STATUS <<\EOF
3260    fi
3261    for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3262      # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3263      case "$ac_file" in
3264      *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3265           ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3266      *) ac_file_in="${ac_file}.in" ;;
3267      esac
3268    
3269      echo creating $ac_file
3270    
3271      rm -f conftest.frag conftest.in conftest.out
3272      ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3273      cat $ac_file_inputs > conftest.in
3274    
3275    EOF
3276    
3277    # Transform confdefs.h into a sed script conftest.vals that substitutes
3278    # the proper values into config.h.in to produce config.h.  And first:
3279    # Protect against being on the right side of a sed subst in config.status.
3280    # Protect against being in an unquoted here document in config.status.
3281    rm -f conftest.vals
3282    cat > conftest.hdr <<\EOF
3283    s/[\\&%]/\\&/g
3284    s%[\\$`]%\\&%g
3285    s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3286    s%ac_d%ac_u%gp
3287    s%ac_u%ac_e%gp
3288    EOF
3289    sed -n -f conftest.hdr confdefs.h > conftest.vals
3290    rm -f conftest.hdr
3291    
3292    # This sed command replaces #undef with comments.  This is necessary, for
3293    # example, in the case of _POSIX_SOURCE, which is predefined and required
3294    # on some systems where configure will not decide to define it.
3295    cat >> conftest.vals <<\EOF
3296    s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3297    EOF
3298    
3299    # Break up conftest.vals because some shells have a limit on
3300    # the size of here documents, and old seds have small limits too.
3301    
3302    rm -f conftest.tail
3303    while :
3304    do
3305      ac_lines=`grep -c . conftest.vals`
3306      # grep -c gives empty output for an empty file on some AIX systems.
3307      if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3308      # Write a limited-size here document to conftest.frag.
3309      echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3310      sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3311      echo 'CEOF
3312      sed -f conftest.frag conftest.in > conftest.out
3313      rm -f conftest.in
3314      mv conftest.out conftest.in
3315    ' >> $CONFIG_STATUS
3316      sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3317      rm -f conftest.vals
3318      mv conftest.tail conftest.vals
3319    done
3320    rm -f conftest.vals
3321    
3322    cat >> $CONFIG_STATUS <<\EOF
3323      rm -f conftest.frag conftest.h
3324      echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
3325      cat conftest.in >> conftest.h
3326      rm -f conftest.in
3327      if cmp -s $ac_file conftest.h 2>/dev/null; then
3328        echo "$ac_file is unchanged"
3329        rm -f conftest.h
3330      else
3331        # Remove last slash and all that follows it.  Not all systems have dirname.
3332          ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3333          if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3334          # The file is in a subdirectory.
3335          test ! -d "$ac_dir" && mkdir "$ac_dir"
3336        fi
3337        rm -f $ac_file
3338        mv conftest.h $ac_file
3339      fi
3340    fi; done
3341    
3342  EOF  EOF
3343  cat >> $CONFIG_STATUS <<EOF  cat >> $CONFIG_STATUS <<EOF
3344    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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