/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.55 by camm, Fri Jul 12 22:00:47 2002 UTC revision 1.56 by camm, Thu Jul 25 19:08:24 2002 UTC
# Line 12  ac_help= Line 12  ac_help=
12  ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
13  # Any additions from configure.in:  # Any additions from configure.in:
14  ac_help="$ac_help  ac_help="$ac_help
 --enable-readine    enables command line completion via the readline library "  
 ac_help="$ac_help  
 --enable-ansi builds a large gcl aiming for ansi compliance,  
                     --disable-ansi builds the smaller traditional CLtL1 image"  
 ac_help="$ac_help  
  --disable-bfd prevents gcl from using libbfd.a for fast object loading and symbol table lookups  "  
 ac_help="$ac_help  
15   --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) "   --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each) "
16  ac_help="$ac_help  ac_help="$ac_help
17   --enable-vssize=XXXX will compile in a value stack of size XXX "   --enable-vssize=XXXX will compile in a value stack of size XXX "
# Line 34  ac_help="$ac_help Line 27  ac_help="$ac_help
27   --enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh  "   --enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh  "
28  ac_help="$ac_help  ac_help="$ac_help
29   --enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info  "   --enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info  "
30    ac_help="$ac_help
31     --enable-dlopen uses dlopen for loading objects, which can then not be retained  in saved images  "
32    ac_help="$ac_help
33     --disable-bfd prevents gcl from using libbfd.a for fast object loading and symbol table lookups  "
34    ac_help="$ac_help
35    --enable-readine    enables command line completion via the readline library "
36    ac_help="$ac_help
37    --enable-ansi builds a large gcl aiming for ansi compliance,
38                        --disable-ansi builds the smaller traditional CLtL1 image"
39    
40  # Initialize some variables set by options.  # Initialize some variables set by options.
41  # The variables have the same names as the options, with  # The variables have the same names as the options, with
# Line 547  fi Line 549  fi
549    
550  # some parts of this configure script are taken from the tcl configure.in  # some parts of this configure script are taken from the tcl configure.in
551    
552  # Step 1: set the variable "system" to hold the name and version number  #
553  # for the system.  This can usually be done via the "uname" command, but  # Arguments
554  # there are a few systems, like Next, where this doesn't work.  #
555    
556    help="--enable-maxpage=XXXX will compile in a page table of size XXX (default ${default_maxpage})"
557    # Check whether --enable-maxpage or --disable-maxpage was given.
558    if test "${enable_maxpage+set}" = set; then
559      enableval="$enable_maxpage"
560      cat >> confdefs.h <<EOF
561    #define MAXPAGE $enable_maxpage
562    EOF
563    
 echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6  
 echo "configure:557: checking system version (for dynamic loading)" >&5  
 if machine=`uname -m` ; then true; else machine=unknown ; fi  
564    
565  for ac_prog in gawk nawk awk  fi
566  do  
567  # Extract the first word of "$ac_prog", so it can be a program name with args.  
568  set dummy $ac_prog; ac_word=$2  # Check whether --enable-vssize or --disable-vssize was given.
569  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  if test "${enable_vssize+set}" = set; then
570  echo "configure:565: checking for $ac_word" >&5    enableval="$enable_vssize"
571  if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then    cat >> confdefs.h <<EOF
572    echo $ac_n "(cached) $ac_c" 1>&6  #define VSSIZE $enable_vssize
573    EOF
574    
575    
576    fi
577    
578    
579    # Check whether --enable-machine or --disable-machine was given.
580    if test "${enable_machine+set}" = set; then
581      enableval="$enable_machine"
582      enable_machine=$enableval
583  else  else
584    if test -n "$AWK"; then    enable_machine=""
585    ac_cv_prog_AWK="$AWK" # Let the user override the test.  fi
586    
587    
588    # Check whether --enable-gmp or --disable-gmp was given.
589    if test "${enable_gmp+set}" = set; then
590      enableval="$enable_gmp"
591      use_gmp=$enableval
592  else  else
593    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    use_gmp="yes"
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_AWK="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
594  fi  fi
595    
596    
597    # Check whether --enable-notify or --disable-notify was given.
598    if test "${enable_notify+set}" = set; then
599      enableval="$enable_notify"
600      enable_notify=$enableval
601    else
602      enable_notify="yes"
603  fi  fi
604  AWK="$ac_cv_prog_AWK"  
605  if test -n "$AWK"; then  
606    echo "$ac_t""$AWK" 1>&6  # Check whether --enable-tkconfig or --disable-tkconfig was given.
607    if test "${enable_tkconfig+set}" = set; then
608      enableval="$enable_tkconfig"
609      TK_CONFIG_PREFIX=$enableval
610  else  else
611    echo "$ac_t""no" 1>&6    TK_CONFIG_PREFIX="unknown"
612  fi  fi
613    
 test -n "$AWK" && break  
 done  
 test -n "$AWK" || AWK=""""  
614    
615    
616  for ac_prog in makeinfo  # Check whether --enable-tclconfig or --disable-tclconfig was given.
617  do  if test "${enable_tclconfig+set}" = set; then
618  # Extract the first word of "$ac_prog", so it can be a program name with args.    enableval="$enable_tclconfig"
619  set dummy $ac_prog; ac_word=$2    TCL_CONFIG_PREFIX=$enableval
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  
 echo "configure:601: checking for $ac_word" >&5  
 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
620  else  else
621    if test -n "$MAKEINFO"; then    TCL_CONFIG_PREFIX="unknown"
622    ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.  fi
623    
624    
625    # Check whether --enable-infodir or --disable-infodir was given.
626    if test "${enable_infodir+set}" = set; then
627      enableval="$enable_infodir"
628      INFO_DIR=$enableval
629  else  else
630    IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    INFO_DIR="unknown"
   ac_dummy="$PATH"  
   for ac_dir in $ac_dummy; do  
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/$ac_word; then  
       ac_cv_prog_MAKEINFO="$ac_prog"  
       break  
     fi  
   done  
   IFS="$ac_save_ifs"  
631  fi  fi
632    
633    
634    # Check whether --enable-dlopen or --disable-dlopen was given.
635    if test "${enable_dlopen+set}" = set; then
636      enableval="$enable_dlopen"
637      :
638    else
639      enable_dlopen="no"
640  fi  fi
641  MAKEINFO="$ac_cv_prog_MAKEINFO"  
642  if test -n "$MAKEINFO"; then  # Check whether --enable-bfd or --disable-bfd was given.
643    echo "$ac_t""$MAKEINFO" 1>&6  if test "${enable_bfd+set}" = set; then
644      enableval="$enable_bfd"
645      :
646  else  else
647    echo "$ac_t""no" 1>&6    enable_bfd="yes"
648  fi  fi
649    
650  test -n "$MAKEINFO" && break  
651    #
652    # Host information
653    #
654    
655    
656    ac_aux_dir=
657    for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
658      if test -f $ac_dir/install-sh; then
659        ac_aux_dir=$ac_dir
660        ac_install_sh="$ac_aux_dir/install-sh -c"
661        break
662      elif test -f $ac_dir/install.sh; then
663        ac_aux_dir=$ac_dir
664        ac_install_sh="$ac_aux_dir/install.sh -c"
665        break
666      fi
667  done  done
668  test -n "$MAKEINFO" || MAKEINFO=""false""  if test -z "$ac_aux_dir"; then
669      { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
670    fi
671    ac_config_guess=$ac_aux_dir/config.guess
672    ac_config_sub=$ac_aux_dir/config.sub
673    ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
674    
675    
676    # Make sure we can run config.sub.
677    if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
678    else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
679    fi
680    
681  if test -f /usr/lib/NextStep/software_version; then  echo $ac_n "checking host system type""... $ac_c" 1>&6
682      system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`  echo "configure:683: checking host system type" >&5
683  else  
684      system=`uname -s`-`uname -r`  host_alias=$host
685      if test "$?" -ne 0 ; then  case "$host_alias" in
686          echo "$ac_t""unknown (can't find uname command)" 1>&6  NONE)
687          system=unknown    case $nonopt in
688      else    NONE)
689          # Special check for weird MP-RAS system (uname returns weird      if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
690          # results, and the version is kept in special file).      else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
691            fi ;;
692          if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then    *) host_alias=$nonopt ;;
693              system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'`    esac ;;
694          fi  esac
695          if test "`uname -s`" = "AIX" ; then  
696              system=AIX-`uname -v`.`uname -r`  host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
697          fi  host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
698          echo "$ac_t""$system" 1>&6  host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
699      fi  host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
700    echo "$ac_t""$host" 1>&6
701    
702    canonical=$host
703    ## host=CPU-COMPANY-SYSTEM
704    echo "$ac_t""host=$host" 1>&6
705    
706    use=unknown
707    case $canonical in
708         older)
709         use=386-bsd;;
710    
711         *86*linux*)
712            use=386-linux;;
713    
714         m68k*linux*)
715            use=m68k-linux;;
716    
717         alpha*linux*)
718            use=alpha-linux;;
719    
720         mips*linux*)
721            use=mips-linux;;
722    
723         mipsel*linux*)
724            use=mipsel-linux;;
725    
726         sparc*linux*)
727            use=sparc-linux;;
728    
729         arm*linux*)
730            use=arm-linux;;
731    
732         s390*linux*)
733            use=s390-linux;;
734    
735         ia64*linux*)
736            use=ia64-linux;;
737    
738         hppa*linux*)
739            use=hppa-linux;;
740    
741         powerpc*linux*)
742            use=powerpc-linux;;
743    
744         alpha-dec-osf)
745         use=alpha-osf1;;
746    
747         mips-dec-ultrix)
748         use=dec3100;;
749    
750         old)
751         use=dos-go32;;
752    
753         *86*-freebsd)
754         use=FreeBSD;;
755    
756         hp3*-*hpux*)
757         use=hp300;;
758    
759         hp3*-*-*bsd*)
760         use=hp300-bsd;;
761    
762         hppa*-*hpux*)
763         use=hp800;;
764    
765         mips-sgi-irix)
766           case $system in
767               IRIX5*)
768                use=irix5;;
769               IRIX6*)
770                use=irix6;;
771               IRIX3*)
772                use=sgi4d;;
773           esac ;;
774    
775    
776         m68k-apple-aux*)
777         use=mac2;;
778    
779         old)
780         use=mp386;;
781    
782         *86-ncr-sysv4)
783         use=ncr;;
784    
785         *3-986-*netbsd*)
786         use=NetBSD;;
787    
788         old)
789         use=NeXT;;
790    
791         old)
792         use=NeXT30-m68k;;
793    
794         *86-*nextstep*)
795         use=NeXT32-i386;;
796    
797         *m68*-*nextstep*)
798         use=NeXT32-m68k;;
799    
800         *rs6000-*-aix4*)
801         use=rios;;
802    
803         *rs6000-*-aix3*)
804         use=rios-aix3;;
805    
806         old)
807         use=rt_aix;;
808    
809         old)
810         use=sgi;;
811    
812         sparc-sun-solaris*)
813         use=solaris;;
814    
815         i?86-pc-solaris*)
816         use=solaris-i386;;
817    
818         old)
819         use=sun2r3;;
820    
821         old)
822         use=sun3;;
823    
824         m68*-sunos*)
825         use=sun3-os4;;
826    
827         old)
828         use=sun386i;;
829    
830         sparc*sunos*)
831         use=sun4;;
832    
833         *86-sequent-dynix)
834         use=symmetry;;
835    
836         u370*aix)
837         use=u370_aix;;
838    
839         old)
840         use=vax;;
841    
842         i*cygwin*)
843            if $CC -v 2>&1 | fgrep ming > /dev/null ;
844                then use=mingw
845              else  use=gnuwin95
846            fi;;
847      
848    
849    esac
850    
851    echo enable_machine=$enable_machine
852    if test "x$enable_machine" != "x" ; then
853      use=$enable_machine
854  fi  fi
855    
856  # Find where Data begins.  This is used by the storage allocation  EXTRA_CFLAGS=""
857  # mechanism, in the PAGE macro.  This offset is subtracted from  case $use in
858  # addresses, in calculating a page for an address in the heap.       *linux)
859            ln -snf linux.defs h/$use.defs;
860            case $use in
861                    alpha*)
862                            EXTRA_CFLAGS=-mieee;
863                            enable_dlopen="yes" ;;
864                    mips*)
865                            enable_dlopen="yes" ;;
866                    ia64*)
867                            enable_dlopen="yes" ;;
868                    hppa*)
869                            enable_dlopen="yes" ;;
870            esac;;
871    esac
872    
873    ## finally warn if we did not find a recognized machine.s
874    ##
875    #if test "$use" = "unknown" ; then
876    #types=`echo h/*.defs` | sed -e "s:h/::g" -e "s:\.defs:g"`
877    #echo got canonical=$canonical, but was not recognized.
878    #echo Unable to guess type to use.  Try one of
879    #exit(1)
880    #fi
881    
882    echo "$ac_t""use=$use" 1>&6    
883    
884    
885    #
886    # System programs
887    #
888    
889    
890  # 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.
891  set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
892  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
893  echo "configure:661: checking for $ac_word" >&5  echo "configure:894: checking for $ac_word" >&5
894  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
895    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
896  else  else
# Line 687  if test -z "$CC"; then Line 920  if test -z "$CC"; then
920    # 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.
921  set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
922  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
923  echo "configure:691: checking for $ac_word" >&5  echo "configure:924: checking for $ac_word" >&5
924  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
925    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
926  else  else
# Line 738  fi Line 971  fi
971        # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
972  set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
973  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
974  echo "configure:742: checking for $ac_word" >&5  echo "configure:975: checking for $ac_word" >&5
975  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
976    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
977  else  else
# Line 770  fi Line 1003  fi
1003  fi  fi
1004    
1005  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
1006  echo "configure:774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:1007: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1007    
1008  ac_ext=c  ac_ext=c
1009  # 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 781  cross_compiling=$ac_cv_prog_cc_cross Line 1014  cross_compiling=$ac_cv_prog_cc_cross
1014    
1015  cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
1016    
1017  #line 785 "configure"  #line 1018 "configure"
1018  #include "confdefs.h"  #include "confdefs.h"
1019    
1020  main(){return(0);}  main(){return(0);}
1021  EOF  EOF
1022  if { (eval echo configure:790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1023    ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
1024    # 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.
1025    if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
# Line 812  if test $ac_cv_prog_cc_works = no; then Line 1045  if test $ac_cv_prog_cc_works = no; then
1045    { 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; }
1046  fi  fi
1047  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
1048  echo "configure:816: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:1049: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1049  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1050  cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
1051    
1052  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
1053  echo "configure:821: checking whether we are using GNU C" >&5  echo "configure:1054: checking whether we are using GNU C" >&5
1054  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1055    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1056  else  else
# Line 826  else Line 1059  else
1059    yes;    yes;
1060  #endif  #endif
1061  EOF  EOF
1062  if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:830: \"$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:1063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1063    ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
1064  else  else
1065    ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
# Line 845  ac_test_CFLAGS="${CFLAGS+set}" Line 1078  ac_test_CFLAGS="${CFLAGS+set}"
1078  ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
1079  CFLAGS=  CFLAGS=
1080  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
1081  echo "configure:849: checking whether ${CC-cc} accepts -g" >&5  echo "configure:1082: checking whether ${CC-cc} accepts -g" >&5
1082  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1083    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1084  else  else
# Line 876  else Line 1109  else
1109    fi    fi
1110  fi  fi
1111    
 # can only test for numbers -- CM  
 # if test "${GCC}" -eq "yes" ; then  
 if [ "${GCC}" = "yes" ] ; then  
 # Allog for environment variable overrides on compiler selection -- CM  
 GCC=$CC  
 else  
 GCC=""  
 fi  
 # subst GCC not only under 386-linux, but where available -- CM  
   
   
 echo $ac_n "checking size of long *""... $ac_c" 1>&6  
 echo "configure:892: checking size of long *" >&5  
 if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   if test "$cross_compiling" = yes; then  
   ac_cv_sizeof_long_p=0  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 900 "configure"  
 #include "confdefs.h"  
 #include <stdio.h>  
 main()  
 {  
   FILE *f=fopen("conftestval", "w");  
   if (!f) exit(1);  
   fprintf(f, "%d\n", sizeof(long *));  
   exit(0);  
 }  
 EOF  
 if { (eval echo configure:911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  
 then  
   ac_cv_sizeof_long_p=`cat conftestval`  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -fr conftest*  
   ac_cv_sizeof_long_p=0  
 fi  
 rm -fr conftest*  
 fi  
   
 fi  
 echo "$ac_t""$ac_cv_sizeof_long_p" 1>&6  
 cat >> confdefs.h <<EOF  
 #define SIZEOF_LONG_P $ac_cv_sizeof_long_p  
 EOF  
   
   
   
1112  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
1113  echo "configure:932: checking how to run the C preprocessor" >&5  echo "configure:1114: checking how to run the C preprocessor" >&5
1114  # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
1115  if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
1116    CPP=    CPP=
# Line 943  else Line 1125  else
1125    # 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,
1126    # not just through cpp.    # not just through cpp.
1127    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1128  #line 947 "configure"  #line 1129 "configure"
1129  #include "confdefs.h"  #include "confdefs.h"
1130  #include <assert.h>  #include <assert.h>
1131  Syntax Error  Syntax Error
1132  EOF  EOF
1133  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1134  { (eval echo configure:953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1135  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1136  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1137    :    :
# Line 960  else Line 1142  else
1142    rm -rf conftest*    rm -rf conftest*
1143    CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
1144    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1145  #line 964 "configure"  #line 1146 "configure"
1146  #include "confdefs.h"  #include "confdefs.h"
1147  #include <assert.h>  #include <assert.h>
1148  Syntax Error  Syntax Error
1149  EOF  EOF
1150  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1151  { (eval echo configure:970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1152  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1153  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1154    :    :
# Line 977  else Line 1159  else
1159    rm -rf conftest*    rm -rf conftest*
1160    CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
1161    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1162  #line 981 "configure"  #line 1163 "configure"
1163  #include "confdefs.h"  #include "confdefs.h"
1164  #include <assert.h>  #include <assert.h>
1165  Syntax Error  Syntax Error
1166  EOF  EOF
1167  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1168  { (eval echo configure:987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1169  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1170  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1171    :    :
# Line 1007  else Line 1189  else
1189  fi  fi
1190  echo "$ac_t""$CPP" 1>&6  echo "$ac_t""$CPP" 1>&6
1191    
1192    # can only test for numbers -- CM
1193    # if test "${GCC}" -eq "yes" ; then
1194    if [ "${GCC}" = "yes" ] ; then
1195    # Allog for environment variable overrides on compiler selection -- CM
1196    GCC=$CC
1197    else
1198    GCC=""
1199    fi
1200    # subst GCC not only under 386-linux, but where available -- CM
1201    
1202    
1203    
1204    # Step 1: set the variable "system" to hold the name and version number
1205    # for the system.  This can usually be done via the "uname" command, but
1206    # there are a few systems, like Next, where this doesn't work.
1207    
1208    echo $ac_n "checking system version (for dynamic loading)""... $ac_c" 1>&6
1209    echo "configure:1210: checking system version (for dynamic loading)" >&5
1210    if machine=`uname -m` ; then true; else machine=unknown ; fi
1211    
1212    for ac_prog in gawk nawk awk
1213    do
1214    # Extract the first word of "$ac_prog", so it can be a program name with args.
1215    set dummy $ac_prog; ac_word=$2
1216    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1217    echo "configure:1218: checking for $ac_word" >&5
1218    if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1219      echo $ac_n "(cached) $ac_c" 1>&6
1220    else
1221      if test -n "$AWK"; then
1222      ac_cv_prog_AWK="$AWK" # Let the user override the test.
1223    else
1224      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1225      ac_dummy="$PATH"
1226      for ac_dir in $ac_dummy; do
1227        test -z "$ac_dir" && ac_dir=.
1228        if test -f $ac_dir/$ac_word; then
1229          ac_cv_prog_AWK="$ac_prog"
1230          break
1231        fi
1232      done
1233      IFS="$ac_save_ifs"
1234    fi
1235    fi
1236    AWK="$ac_cv_prog_AWK"
1237    if test -n "$AWK"; then
1238      echo "$ac_t""$AWK" 1>&6
1239    else
1240      echo "$ac_t""no" 1>&6
1241    fi
1242    
1243    test -n "$AWK" && break
1244    done
1245    test -n "$AWK" || AWK=""""
1246    
1247    
1248    for ac_prog in makeinfo
1249    do
1250    # Extract the first word of "$ac_prog", so it can be a program name with args.
1251    set dummy $ac_prog; ac_word=$2
1252    echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1253    echo "configure:1254: checking for $ac_word" >&5
1254    if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
1255      echo $ac_n "(cached) $ac_c" 1>&6
1256    else
1257      if test -n "$MAKEINFO"; then
1258      ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1259    else
1260      IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1261      ac_dummy="$PATH"
1262      for ac_dir in $ac_dummy; do
1263        test -z "$ac_dir" && ac_dir=.
1264        if test -f $ac_dir/$ac_word; then
1265          ac_cv_prog_MAKEINFO="$ac_prog"
1266          break
1267        fi
1268      done
1269      IFS="$ac_save_ifs"
1270    fi
1271    fi
1272    MAKEINFO="$ac_cv_prog_MAKEINFO"
1273    if test -n "$MAKEINFO"; then
1274      echo "$ac_t""$MAKEINFO" 1>&6
1275    else
1276      echo "$ac_t""no" 1>&6
1277    fi
1278    
1279    test -n "$MAKEINFO" && break
1280    done
1281    test -n "$MAKEINFO" || MAKEINFO=""false""
1282    
1283    
1284    
1285    if test -f /usr/lib/NextStep/software_version; then
1286        system=NEXTSTEP-`${AWK} '/3/,/3/' /usr/lib/NextStep/software_version`
1287    else
1288        system=`uname -s`-`uname -r`
1289        if test "$?" -ne 0 ; then
1290            echo "$ac_t""unknown (can't find uname command)" 1>&6
1291            system=unknown
1292        else
1293            # Special check for weird MP-RAS system (uname returns weird
1294            # results, and the version is kept in special file).
1295        
1296            if test -r /etc/.relid -a "X`uname -n`" = "X`uname -s`" ; then
1297                system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'`
1298            fi
1299            if test "`uname -s`" = "AIX" ; then
1300                system=AIX-`uname -v`.`uname -r`
1301            fi
1302            echo "$ac_t""$system" 1>&6
1303        fi
1304    fi
1305    
1306    
1307    
1308    #
1309    # Dynamic loading
1310    #
1311    
1312    if test "$enable_dlopen" = "yes" ; then
1313    
1314            echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
1315    echo "configure:1316: checking for dlopen in -ldl" >&5
1316    ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
1317    if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1318      echo $ac_n "(cached) $ac_c" 1>&6
1319    else
1320      ac_save_LIBS="$LIBS"
1321    LIBS="-ldl  $LIBS"
1322    cat > conftest.$ac_ext <<EOF
1323    #line 1324 "configure"
1324    #include "confdefs.h"
1325    /* Override any gcc2 internal prototype to avoid an error.  */
1326    /* We use char because int might match the return type of a gcc2
1327        builtin and then its argument prototype would still apply.  */
1328    char dlopen();
1329    
1330    int main() {
1331    dlopen()
1332    ; return 0; }
1333    EOF
1334    if { (eval echo configure:1335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1335      rm -rf conftest*
1336      eval "ac_cv_lib_$ac_lib_var=yes"
1337    else
1338      echo "configure: failed program was:" >&5
1339      cat conftest.$ac_ext >&5
1340      rm -rf conftest*
1341      eval "ac_cv_lib_$ac_lib_var=no"
1342    fi
1343    rm -f conftest*
1344    LIBS="$ac_save_LIBS"
1345    
1346    fi
1347    if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1348      echo "$ac_t""yes" 1>&6
1349      have_dl=1
1350    else
1351      echo "$ac_t""no" 1>&6
1352    have_dl=0
1353    fi
1354    
1355            if test "$have_dl" = "0" ; then
1356                    echo "Cannot find dlopen in -dl"
1357                    exit 1
1358            fi
1359    
1360            LIBS="$LIBS -ldl -rdynamic"
1361            cat >> confdefs.h <<\EOF
1362    #define USE_DLOPEN 1
1363    EOF
1364    
1365    
1366    else    
1367    
1368            if test "$enable_bfd" = "yes" ; then
1369                    ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`
1370    echo $ac_n "checking for bfd.h""... $ac_c" 1>&6
1371    echo "configure:1372: checking for bfd.h" >&5
1372    if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1373      echo $ac_n "(cached) $ac_c" 1>&6
1374    else
1375      cat > conftest.$ac_ext <<EOF
1376    #line 1377 "configure"
1377    #include "confdefs.h"
1378    #include <bfd.h>
1379    EOF
1380    ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1381    { (eval echo configure:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1382    ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1383    if test -z "$ac_err"; then
1384      rm -rf conftest*
1385      eval "ac_cv_header_$ac_safe=yes"
1386    else
1387      echo "$ac_err" >&5
1388      echo "configure: failed program was:" >&5
1389      cat conftest.$ac_ext >&5
1390      rm -rf conftest*
1391      eval "ac_cv_header_$ac_safe=no"
1392    fi
1393    rm -f conftest*
1394    fi
1395    if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1396      echo "$ac_t""yes" 1>&6
1397      echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6
1398    echo "configure:1399: checking for bfd_init in -lbfd" >&5
1399    ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'`
1400    if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1401      echo $ac_n "(cached) $ac_c" 1>&6
1402    else
1403      ac_save_LIBS="$LIBS"
1404    LIBS="-lbfd -liberty $LIBS"
1405    cat > conftest.$ac_ext <<EOF
1406    #line 1407 "configure"
1407    #include "confdefs.h"
1408    /* Override any gcc2 internal prototype to avoid an error.  */
1409    /* We use char because int might match the return type of a gcc2
1410        builtin and then its argument prototype would still apply.  */
1411    char bfd_init();
1412    
1413    int main() {
1414    bfd_init()
1415    ; return 0; }
1416    EOF
1417    if { (eval echo configure:1418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1418      rm -rf conftest*
1419      eval "ac_cv_lib_$ac_lib_var=yes"
1420    else
1421      echo "configure: failed program was:" >&5
1422      cat conftest.$ac_ext >&5
1423      rm -rf conftest*
1424      eval "ac_cv_lib_$ac_lib_var=no"
1425    fi
1426    rm -f conftest*
1427    LIBS="$ac_save_LIBS"
1428    
1429    fi
1430    if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1431      echo "$ac_t""yes" 1>&6
1432      echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c
1433                                    MP=`$GCC  -Wl,-M  -static -o foo foo.c -lbfd -liberty 2>&1 | tr '()' '\012\012' | $AWK '{print $NF}' | sort | uniq`
1434                                    rm -f foo.c foo
1435                                    BFDLIB=`echo $MP | tr ' ' '\012' | grep libbfd.a`
1436                                    IBRLIB=`echo $MP | tr ' ' '\012' | grep libiberty.a`
1437            #
1438            # Old binutils appear to need CONST defined to const
1439            #
1440                                    echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6
1441    echo "configure:1442: checking if need to define CONST for bfd" >&5
1442                                    if test "$cross_compiling" = yes; then
1443      echo "$ac_t""cannot use bfd" 1>&6
1444    else
1445      cat > conftest.$ac_ext <<EOF
1446    #line 1447 "configure"
1447    #include "confdefs.h"
1448    #define IN_GCC
1449                                                #include <bfd.h>
1450                                                int main() { symbol_info t; return 0;}
1451    EOF
1452    if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1453    then
1454      echo "$ac_t""no" 1>&6
1455                                            cat >> confdefs.h <<\EOF
1456    #define HAVE_LIBBFD 1
1457    EOF
1458    
1459                                            LIBS="$LIBS  $BFDLIB $IBRLIB"
1460    else
1461      echo "configure: failed program was:" >&5
1462      cat conftest.$ac_ext >&5
1463      rm -fr conftest*
1464      if test "$cross_compiling" = yes; then
1465      echo "$ac_t""cannot use bfd" 1>&6
1466    else
1467      cat > conftest.$ac_ext <<EOF
1468    #line 1469 "configure"
1469    #include "confdefs.h"
1470    #define IN_GCC
1471                                                        #include <bfd.h>
1472                                                        #define CONST const
1473                                                        int main() {symbol_info t; return 0;}
1474    EOF
1475    if { (eval echo configure:1476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1476    then
1477      echo "$ac_t""yes" 1>&6
1478                                                    cat >> confdefs.h <<\EOF
1479    #define NEED_CONST 1
1480    EOF
1481    
1482                                                    cat >> confdefs.h <<\EOF
1483    #define HAVE_LIBBFD 1
1484    EOF
1485    
1486                                                    LIBS="$LIBS  $BFDLIB $IBRLIB"
1487    else
1488      echo "configure: failed program was:" >&5
1489      cat conftest.$ac_ext >&5
1490      rm -fr conftest*
1491      echo "$ac_t""cannot use bfd" 1>&6
1492    fi
1493    rm -fr conftest*
1494    fi
1495    
1496    fi
1497    rm -fr conftest*
1498    fi
1499    
1500                                                    
1501                                    
1502    else
1503      echo "$ac_t""no" 1>&6
1504    fi
1505    
1506    else
1507      echo "$ac_t""no" 1>&6
1508    fi
1509    
1510            fi
1511    
1512    fi
1513    
1514    # Find where Data begins.  This is used by the storage allocation
1515    # mechanism, in the PAGE macro.  This offset is subtracted from
1516    # addresses, in calculating a page for an address in the heap.
1517    
1518    echo $ac_n "checking size of long *""... $ac_c" 1>&6
1519    echo "configure:1520: checking size of long *" >&5
1520    if eval "test \"`echo '$''{'ac_cv_sizeof_long_p'+set}'`\" = set"; then
1521      echo $ac_n "(cached) $ac_c" 1>&6
1522    else
1523      if test "$cross_compiling" = yes; then
1524      ac_cv_sizeof_long_p=0
1525    else
1526      cat > conftest.$ac_ext <<EOF
1527    #line 1528 "configure"
1528    #include "confdefs.h"
1529    #include <stdio.h>
1530    main()
1531    {
1532      FILE *f=fopen("conftestval", "w");
1533      if (!f) exit(1);
1534      fprintf(f, "%d\n", sizeof(long *));
1535      exit(0);
1536    }
1537    EOF
1538    if { (eval echo configure:1539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1539    then
1540      ac_cv_sizeof_long_p=`cat conftestval`
1541    else
1542      echo "configure: failed program was:" >&5
1543      cat conftest.$ac_ext >&5
1544      rm -fr conftest*
1545      ac_cv_sizeof_long_p=0
1546    fi
1547    rm -fr conftest*
1548    fi
1549    
1550    fi
1551    echo "$ac_t""$ac_cv_sizeof_long_p" 1>&6
1552    cat >> confdefs.h <<EOF
1553    #define SIZEOF_LONG_P $ac_cv_sizeof_long_p
1554    EOF
1555    
1556    
1557    
1558  for ac_hdr in endian.h  for ac_hdr in endian.h
1559  do  do
1560  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1561  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1562  echo "configure:1015: checking for $ac_hdr" >&5  echo "configure:1563: checking for $ac_hdr" >&5
1563  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1564    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1565  else  else
1566    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1567  #line 1020 "configure"  #line 1568 "configure"
1568  #include "confdefs.h"  #include "confdefs.h"
1569  #include <$ac_hdr>  #include <$ac_hdr>
1570  EOF  EOF
1571  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1572  { (eval echo configure:1025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1573  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1574  if test -z "$ac_err"; then  if test -z "$ac_err"; then
1575    rm -rf conftest*    rm -rf conftest*
# Line 1042  if eval "test \"`echo '$ac_cv_header_'$a Line 1590  if eval "test \"`echo '$ac_cv_header_'$a
1590  #define $ac_tr_hdr 1  #define $ac_tr_hdr 1
1591  EOF  EOF
1592   echo $ac_n "checking "endianness"""... $ac_c" 1>&6   echo $ac_n "checking "endianness"""... $ac_c" 1>&6
1593  echo "configure:1046: checking "endianness"" >&5  echo "configure:1594: checking "endianness"" >&5
1594          if test "$cross_compiling" = yes; then          if test "$cross_compiling" = yes; then
1595    echo "$ac_t""big" 1>&6    echo "$ac_t""big" 1>&6
1596  else  else
1597    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1598  #line 1051 "configure"  #line 1599 "configure"
1599  #include "confdefs.h"  #include "confdefs.h"
1600  #define __ARMEB__  #define __ARMEB__
1601                  #include <endian.h>                  #include <endian.h>
1602                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}                  int main() { return BYTE_ORDER == __LITTLE_ENDIAN ? 0 : 1;}
1603  EOF  EOF
1604  if { (eval echo configure:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1605  then  then
1606    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1607  #define LITTLE_END 1  #define LITTLE_END 1
# Line 1076  done Line 1624  done
1624    
1625    
1626  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6  echo $ac_n "checking "finding DBEGIN"""... $ac_c" 1>&6
1627  echo "configure:1080: checking "finding DBEGIN"" >&5  echo "configure:1628: checking "finding DBEGIN"" >&5
1628  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1629    dbegin=0    dbegin=0
1630  else  else
1631    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1632  #line 1085 "configure"  #line 1633 "configure"
1633  #include "confdefs.h"  #include "confdefs.h"
1634  #include <stdio.h>  #include <stdio.h>
1635              #include <stdlib.h>              #include <stdlib.h>
# Line 1094  main() Line 1642  main()
1642    return 0;    return 0;
1643  }  }
1644  EOF  EOF
1645  if { (eval echo configure:1098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1646  then  then
1647    dbegin=`cat conftest1`    dbegin=`cat conftest1`
1648  else  else
# Line 1116  echo "$ac_t""got $dbegin" 1>&6 Line 1664  echo "$ac_t""got $dbegin" 1>&6
1664    
1665    
1666  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6  echo $ac_n "checking "finding CSTACK_ADDRESS"""... $ac_c" 1>&6
1667  echo "configure:1120: checking "finding CSTACK_ADDRESS"" >&5  echo "configure:1668: checking "finding CSTACK_ADDRESS"" >&5
1668  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1669    cstack_address=0    cstack_address=0
1670  else  else
1671    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1672  #line 1125 "configure"  #line 1673 "configure"
1673  #include "confdefs.h"  #include "confdefs.h"
1674  #include <stdio.h>  #include <stdio.h>
1675  main()  main()
# Line 1133  main() Line 1681  main()
1681    return 0;    return 0;
1682  }  }
1683  EOF  EOF
1684  if { (eval echo configure:1137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1685  then  then
1686    cstack_address=`cat conftest1`    cstack_address=`cat conftest1`
1687  else  else
# Line 1155  echo "$ac_t""got $cstack_address" 1>&6 Line 1703  echo "$ac_t""got $cstack_address" 1>&6
1703    
1704    
1705  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6  echo $ac_n "checking "sizeof long long int"""... $ac_c" 1>&6
1706  echo "configure:1159: checking "sizeof long long int"" >&5  echo "configure:1707: checking "sizeof long long int"" >&5
1707  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1708    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
1709    
1710  else  else
1711    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1712  #line 1165 "configure"  #line 1713 "configure"
1713  #include "confdefs.h"  #include "confdefs.h"
1714  #include <stdio.h>  #include <stdio.h>
1715  main()  main()
# Line 1171  main() Line 1719  main()
1719  }  }
1720    
1721  EOF  EOF
1722  if { (eval echo configure:1175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1723  then  then
1724    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
1725  #define HAVE_LONG_LONG 1  #define HAVE_LONG_LONG 1
# Line 1220  fi Line 1768  fi
1768    
1769  # pagewidth  # pagewidth
1770  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6  echo $ac_n "checking for pagewidth""... $ac_c" 1>&6
1771  echo "configure:1224: checking for pagewidth" >&5  echo "configure:1772: checking for pagewidth" >&5
1772  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
1773    PAGEWIDTH=0    PAGEWIDTH=0
1774  else  else
1775    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1776  #line 1229 "configure"  #line 1777 "configure"
1777  #include "confdefs.h"  #include "confdefs.h"
1778  #include <stdio.h>  #include <stdio.h>
1779              #include <unistd.h>              #include <unistd.h>
# Line 1235  int main() {size_t i=getpagesize(),j; Line 1783  int main() {size_t i=getpagesize(),j;
1783              fprintf(fp,"%u",j);              fprintf(fp,"%u",j);
1784              return 0;}              return 0;}
1785  EOF  EOF
1786  if { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1787  then  then
1788    PAGEWIDTH=`cat conftest1`    PAGEWIDTH=`cat conftest1`
1789  else  else
# Line 1254  EOF Line 1802  EOF
1802    
1803    
1804    
 # bfd probe  
   
 # Check whether --enable-bfd or --disable-bfd was given.  
 if test "${enable_bfd+set}" = set; then  
   enableval="$enable_bfd"  
   :  
 else  
   enable_bfd="yes"  
 fi  
   
   
   
1805  # Maximum number of pages  # Maximum number of pages
1806    
 help="--enable-maxpage=XXXX will compile in a page table of size XXX (default ${default_maxpage})"  
 # Check whether --enable-maxpage or --disable-maxpage was given.  
 if test "${enable_maxpage+set}" = set; then  
   enableval="$enable_maxpage"  
   cat >> confdefs.h <<EOF  
 #define MAXPAGE $enable_maxpage  
 EOF  
   
   
 fi  
   
   
 # Check whether --enable-vssize or --disable-vssize was given.  
 if test "${enable_vssize+set}" = set; then  
   enableval="$enable_vssize"  
   cat >> confdefs.h <<EOF  
 #define VSSIZE $enable_vssize  
 EOF  
   
   
 fi  
   
   
 # Check whether --enable-machine or --disable-machine was given.  
 if test "${enable_machine+set}" = set; then  
   enableval="$enable_machine"  
   enable_machine=$enableval  
 else  
   enable_machine=""  
 fi  
   
   
 # Check whether --enable-gmp or --disable-gmp was given.  
 if test "${enable_gmp+set}" = set; then  
   enableval="$enable_gmp"  
   use_gmp=$enableval  
 else  
   use_gmp="yes"  
 fi  
   
   
 # Check whether --enable-notify or --disable-notify was given.  
 if test "${enable_notify+set}" = set; then  
   enableval="$enable_notify"  
   enable_notify=$enableval  
 else  
   enable_notify="yes"  
 fi  
   
   
 # Check whether --enable-tkconfig or --disable-tkconfig was given.  
 if test "${enable_tkconfig+set}" = set; then  
   enableval="$enable_tkconfig"  
   TK_CONFIG_PREFIX=$enableval  
 else  
   TK_CONFIG_PREFIX="unknown"  
 fi  
   
   
   
 # Check whether --enable-tclconfig or --disable-tclconfig was given.  
 if test "${enable_tclconfig+set}" = set; then  
   enableval="$enable_tclconfig"  
   TCL_CONFIG_PREFIX=$enableval  
 else  
   TCL_CONFIG_PREFIX="unknown"  
 fi  
   
   
   
 # Check whether --enable-infodir or --disable-infodir was given.  
 if test "${enable_infodir+set}" = set; then  
   enableval="$enable_infodir"  
   INFO_DIR=$enableval  
 else  
   INFO_DIR="unknown"  
 fi  
   
   
   
1807    
1808    
1809  # Check if Posix compliant getcwd exists, if not we'll use getwd.  # Check if Posix compliant getcwd exists, if not we'll use getwd.
1810  for ac_func in getcwd  for ac_func in getcwd
1811  do  do
1812  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1813  echo "configure:1358: checking for $ac_func" >&5  echo "configure:1814: checking for $ac_func" >&5
1814  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1815    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1816  else  else
1817    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1818  #line 1363 "configure"  #line 1819 "configure"
1819  #include "confdefs.h"  #include "confdefs.h"
1820  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1821      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1382  $ac_func(); Line 1838  $ac_func();
1838    
1839  ; return 0; }  ; return 0; }
1840  EOF  EOF
1841  if { (eval echo configure:1386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1842    rm -rf conftest*    rm -rf conftest*
1843    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1844  else  else
# Line 1409  done Line 1865  done
1865  for ac_func in getwd  for ac_func in getwd
1866  do  do
1867  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1868  echo "configure:1413: checking for $ac_func" >&5  echo "configure:1869: checking for $ac_func" >&5
1869  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1870    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1871  else  else
1872    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1873  #line 1418 "configure"  #line 1874 "configure"
1874  #include "confdefs.h"  #include "confdefs.h"
1875  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1876      which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
# Line 1437  $ac_func(); Line 1893  $ac_func();
1893    
1894  ; return 0; }  ; return 0; }
1895  EOF  EOF
1896  if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1897    rm -rf conftest*    rm -rf conftest*
1898    eval "ac_cv_func_$ac_func=yes"    eval "ac_cv_func_$ac_func=yes"
1899  else  else
# Line 1462  fi Line 1918  fi
1918  done  done
1919    
1920  echo $ac_n "checking for uname""... $ac_c" 1>&6  echo $ac_n "checking for uname""... $ac_c" 1>&6
1921  echo "configure:1466: checking for uname" >&5  echo "configure:1922: checking for uname" >&5
1922  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
1923    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1924  else  else
1925    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1926  #line 1471 "configure"  #line 1927 "configure"
1927  #include "confdefs.h"  #include "confdefs.h"
1928  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1929      which can conflict with char uname(); below.  */      which can conflict with char uname(); below.  */
# Line 1490  uname(); Line 1946  uname();
1946    
1947  ; return 0; }  ; return 0; }
1948  EOF  EOF
1949  if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1950    rm -rf conftest*    rm -rf conftest*
1951    eval "ac_cv_func_uname=yes"    eval "ac_cv_func_uname=yes"
1952  else  else
# Line 1514  EOF Line 1970  EOF
1970  fi  fi
1971    
1972  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
1973  echo "configure:1518: checking for gettimeofday" >&5  echo "configure:1974: checking for gettimeofday" >&5
1974  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
1975    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
1976  else  else
1977    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
1978  #line 1523 "configure"  #line 1979 "configure"
1979  #include "confdefs.h"  #include "confdefs.h"
1980  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
1981      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1542  gettimeofday(); Line 1998  gettimeofday();
1998    
1999  ; return 0; }  ; return 0; }
2000  EOF  EOF
2001  if { (eval echo configure:1546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2002    rm -rf conftest*    rm -rf conftest*
2003    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
2004  else  else
# Line 1571  for ac_hdr in sys/ioctl.h Line 2027  for ac_hdr in sys/ioctl.h
2027  do  do
2028  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2029  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2030  echo "configure:1575: checking for $ac_hdr" >&5  echo "configure:2031: checking for $ac_hdr" >&5
2031  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2032    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2033  else  else
2034    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2035  #line 1580 "configure"  #line 2036 "configure"
2036  #include "confdefs.h"  #include "confdefs.h"
2037  #include <$ac_hdr>  #include <$ac_hdr>
2038  EOF  EOF
2039  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2040  { (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2041  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2042  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2043    rm -rf conftest*    rm -rf conftest*
# Line 1621  done Line 2077  done
2077  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2078    
2079  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for BSDgettimeofday""... $ac_c" 1>&6
2080  echo "configure:1625: checking for BSDgettimeofday" >&5  echo "configure:2081: checking for BSDgettimeofday" >&5
2081  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_BSDgettimeofday'+set}'`\" = set"; then
2082    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2083  else  else
2084    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2085  #line 1630 "configure"  #line 2086 "configure"
2086  #include "confdefs.h"  #include "confdefs.h"
2087  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2088      which can conflict with char BSDgettimeofday(); below.  */      which can conflict with char BSDgettimeofday(); below.  */
# Line 1649  BSDgettimeofday(); Line 2105  BSDgettimeofday();
2105    
2106  ; return 0; }  ; return 0; }
2107  EOF  EOF
2108  if { (eval echo configure:1653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2109    rm -rf conftest*    rm -rf conftest*
2110    eval "ac_cv_func_BSDgettimeofday=yes"    eval "ac_cv_func_BSDgettimeofday=yes"
2111  else  else
# Line 1670  EOF Line 2126  EOF
2126  else  else
2127    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2128  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday""... $ac_c" 1>&6
2129  echo "configure:1674: checking for gettimeofday" >&5  echo "configure:2130: checking for gettimeofday" >&5
2130  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gettimeofday'+set}'`\" = set"; then
2131    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2132  else  else
2133    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2134  #line 1679 "configure"  #line 2135 "configure"
2135  #include "confdefs.h"  #include "confdefs.h"
2136  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2137      which can conflict with char gettimeofday(); below.  */      which can conflict with char gettimeofday(); below.  */
# Line 1698  gettimeofday(); Line 2154  gettimeofday();
2154    
2155  ; return 0; }  ; return 0; }
2156  EOF  EOF
2157  if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2158    rm -rf conftest*    rm -rf conftest*
2159    eval "ac_cv_func_gettimeofday=yes"    eval "ac_cv_func_gettimeofday=yes"
2160  else  else
# Line 1724  fi Line 2180  fi
2180  fi  fi
2181    
2182  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6  echo $ac_n "checking for gettimeofday declaration""... $ac_c" 1>&6
2183  echo "configure:1728: checking for gettimeofday declaration" >&5  echo "configure:2184: checking for gettimeofday declaration" >&5
2184  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2185  #line 1730 "configure"  #line 2186 "configure"
2186  #include "confdefs.h"  #include "confdefs.h"
2187  #include <sys/time.h>  #include <sys/time.h>
2188  EOF  EOF
# Line 1749  rm -f conftest* Line 2205  rm -f conftest*
2205    
2206    
2207  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6  echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
2208  echo "configure:1753: checking for sin in -lm" >&5  echo "configure:2209: checking for sin in -lm" >&5
2209  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`  ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
2210  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
2211    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1757  else Line 2213  else
2213    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2214  LIBS="-lm  $LIBS"  LIBS="-lm  $LIBS"
2215  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2216  #line 1761 "configure"  #line 2217 "configure"
2217  #include "confdefs.h"  #include "confdefs.h"
2218  /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
2219  /* 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 1768  int main() { Line 2224  int main() {
2224  sin()  sin()
2225  ; return 0; }  ; return 0; }
2226  EOF  EOF
2227  if { (eval echo configure:1772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2228    rm -rf conftest*    rm -rf conftest*
2229    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2230  else  else
# Line 1790  true Line 2246  true
2246  fi  fi
2247    
2248  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6  echo $ac_n "checking for main in -lmingwex""... $ac_c" 1>&6
2249  echo "configure:1794: checking for main in -lmingwex" >&5  echo "configure:2250: checking for main in -lmingwex" >&5
2250  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo mingwex'_'main | sed 'y%./+-%__p_%'`
2251  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
2252    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 1798  else Line 2254  else
2254    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2255  LIBS="-lmingwex  $LIBS"  LIBS="-lmingwex  $LIBS"
2256  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2257  #line 1802 "configure"  #line 2258 "configure"
2258  #include "confdefs.h"  #include "confdefs.h"
2259    
2260  int main() {  int main() {
2261  main()  main()
2262  ; return 0; }  ; return 0; }
2263  EOF  EOF
2264  if { (eval echo configure:1809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2265    rm -rf conftest*    rm -rf conftest*
2266    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2267  else  else
# Line 1834  for ac_hdr in math.h Line 2290  for ac_hdr in math.h
2290  do  do
2291  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2292  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2293  echo "configure:1838: checking for $ac_hdr" >&5  echo "configure:2294: checking for $ac_hdr" >&5
2294  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2295    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2296  else  else
2297    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2298  #line 1843 "configure"  #line 2299 "configure"
2299  #include "confdefs.h"  #include "confdefs.h"
2300  #include <$ac_hdr>  #include <$ac_hdr>
2301  EOF  EOF
2302  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2303  { (eval echo configure:1848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2304  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2305  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2306    rm -rf conftest*    rm -rf conftest*
# Line 1881  for ac_hdr in values.h Line 2337  for ac_hdr in values.h
2337  do  do
2338  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2339  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2340  echo "configure:1885: checking for $ac_hdr" >&5  echo "configure:2341: checking for $ac_hdr" >&5
2341  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2342    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2343  else  else
2344    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2345  #line 1890 "configure"  #line 2346 "configure"
2346  #include "confdefs.h"  #include "confdefs.h"
2347  #include <$ac_hdr>  #include <$ac_hdr>
2348  EOF  EOF
2349  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2350  { (eval echo configure:1895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2351  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2352  if test -z "$ac_err"; then  if test -z "$ac_err"; then
2353    rm -rf conftest*    rm -rf conftest*
# Line 1927  done Line 2383  done
2383  # test makes sense.  CM  # test makes sense.  CM
2384  #  #
2385  echo $ac_n "checking for isnormal""... $ac_c" 1>&6  echo $ac_n "checking for isnormal""... $ac_c" 1>&6
2386  echo "configure:1931: checking for isnormal" >&5  echo "configure:2387: checking for isnormal" >&5
2387  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
2388    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6    HAVE_ISNORMAL=0 echo "$ac_t""no" 1>&6
2389  else  else
2390    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2391  #line 1936 "configure"  #line 2392 "configure"
2392  #include "confdefs.h"  #include "confdefs.h"
2393  #define _GNU_SOURCE  #define _GNU_SOURCE
2394              #include <math.h>              #include <math.h>
# Line 1941  else Line 2397  else
2397                  return isnormal(f) || !isnormal(f) ? 0 : 1;                  return isnormal(f) || !isnormal(f) ? 0 : 1;
2398                  }                  }
2399  EOF  EOF
2400  if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2401  then  then
2402    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2403  #define HAVE_ISNORMAL 1  #define HAVE_ISNORMAL 1
# Line 1952  else Line 2408  else
2408    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2409    rm -fr conftest*    rm -fr conftest*
2410    echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6    echo $ac_n "checking for fpclass in ieeefp.h""... $ac_c" 1>&6
2411  echo "configure:1956: checking for fpclass in ieeefp.h" >&5  echo "configure:2412: checking for fpclass in ieeefp.h" >&5
2412                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
2413    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6    HAVE_IEEEFP=0 echo "$ac_t""no" 1>&6
2414  else  else
2415    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2416  #line 1961 "configure"  #line 2417 "configure"
2417  #include "confdefs.h"  #include "confdefs.h"
2418  #include <ieeefp.h>  #include <ieeefp.h>
2419                              int main() {                              int main() {
# Line 1965  else Line 2421  else
2421                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;                                  return fpclass(f)>=FP_NZERO || fpclass(f)<FP_NZERO ? 0 : 1;
2422                                  }                                  }
2423  EOF  EOF
2424  if { (eval echo configure:1969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2425  then  then
2426    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2427  #define HAVE_IEEEFP 1  #define HAVE_IEEEFP 1
# Line 1987  fi Line 2443  fi
2443    
2444    
2445  echo $ac_n "checking for isfinite""... $ac_c" 1>&6  echo $ac_n "checking for isfinite""... $ac_c" 1>&6
2446  echo "configure:1991: checking for isfinite" >&5  echo "configure:2447: checking for isfinite" >&5
2447  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
2448    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6    HAVE_ISFINITE=0 echo "$ac_t""no" 1>&6
2449  else  else
2450    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2451  #line 1996 "configure"  #line 2452 "configure"
2452  #include "confdefs.h"  #include "confdefs.h"
2453  #define _GNU_SOURCE  #define _GNU_SOURCE
2454              #include <math.h>              #include <math.h>
# Line 2001  else Line 2457  else
2457                  return isfinite(f) || !isfinite(f) ? 0 : 1;                  return isfinite(f) || !isfinite(f) ? 0 : 1;
2458                  }                  }
2459  EOF  EOF
2460  if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2461  then  then
2462    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2463  #define HAVE_ISFINITE 1  #define HAVE_ISFINITE 1
# Line 2012  else Line 2468  else
2468    cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
2469    rm -fr conftest*    rm -fr conftest*
2470    echo $ac_n "checking for finite()""... $ac_c" 1>&6    echo $ac_n "checking for finite()""... $ac_c" 1>&6
2471  echo "configure:2016: checking for finite()" >&5  echo "configure:2472: checking for finite()" >&5
2472                  if test "$cross_compiling" = yes; then                  if test "$cross_compiling" = yes; then
2473    HAVE_FINITE=0 echo "$ac_t""no" 1>&6    HAVE_FINITE=0 echo "$ac_t""no" 1>&6
2474  else  else
2475    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2476  #line 2021 "configure"  #line 2477 "configure"
2477  #include "confdefs.h"  #include "confdefs.h"
2478  #include <math.h>  #include <math.h>
2479                              int main() {                              int main() {
# Line 2025  else Line 2481  else
2481                                  return finite(f) || !finite(f) ? 0 : 1;                                  return finite(f) || !finite(f) ? 0 : 1;
2482                                  }                                  }
2483  EOF  EOF
2484  if { (eval echo configure:2029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:2485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2485  then  then
2486    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2487  #define HAVE_FINITE 1  #define HAVE_FINITE 1
# Line 2066  fi Line 2522  fi
2522  #          if -lsocket doesn't work by itself.  #          if -lsocket doesn't work by itself.
2523  #--------------------------------------------------------------------  #--------------------------------------------------------------------
2524  echo $ac_n "checking for sockets""... $ac_c" 1>&6  echo $ac_n "checking for sockets""... $ac_c" 1>&6
2525  echo "configure:2070: checking for sockets" >&5  echo "configure:2526: checking for sockets" >&5
2526  tcl_checkBoth=0  tcl_checkBoth=0
2527  echo $ac_n "checking for connect""... $ac_c" 1>&6  echo $ac_n "checking for connect""... $ac_c" 1>&6
2528  echo "configure:2073: checking for connect" >&5  echo "configure:2529: checking for connect" >&5
2529  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
2530    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2531  else  else
2532    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2533  #line 2078 "configure"  #line 2534 "configure"
2534  #include "confdefs.h"  #include "confdefs.h"
2535  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2536      which can conflict with char connect(); below.  */      which can conflict with char connect(); below.  */
# Line 2097  connect(); Line 2553  connect();
2553    
2554  ; return 0; }  ; return 0; }
2555  EOF  EOF
2556  if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2557    rm -rf conftest*    rm -rf conftest*
2558    eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
2559  else  else
# Line 2119  fi Line 2575  fi
2575    
2576  if test "$tcl_checkSocket" = 1; then  if test "$tcl_checkSocket" = 1; then
2577      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6      echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
2578  echo "configure:2123: checking for main in -lsocket" >&5  echo "configure:2579: checking for main in -lsocket" >&5
2579  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'main | sed 'y%./+-%__p_%'`
2580  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
2581    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2127  else Line 2583  else
2583    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2584  LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
2585  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2586  #line 2131 "configure"  #line 2587 "configure"
2587  #include "confdefs.h"  #include "confdefs.h"
2588    
2589  int main() {  int main() {
2590  main()  main()
2591  ; return 0; }  ; return 0; }
2592  EOF  EOF
2593  if { (eval echo configure:2138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2594    rm -rf conftest*    rm -rf conftest*
2595    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2596  else  else
# Line 2162  if test "$tcl_checkBoth" = 1; then Line 2618  if test "$tcl_checkBoth" = 1; then
2618      tk_oldLibs=$LIBS      tk_oldLibs=$LIBS
2619      LIBS="$LIBS -lsocket -lnsl"      LIBS="$LIBS -lsocket -lnsl"
2620      echo $ac_n "checking for accept""... $ac_c" 1>&6      echo $ac_n "checking for accept""... $ac_c" 1>&6
2621  echo "configure:2166: checking for accept" >&5  echo "configure:2622: checking for accept" >&5
2622  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_accept'+set}'`\" = set"; then
2623    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2624  else  else
2625    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2626  #line 2171 "configure"  #line 2627 "configure"
2627  #include "confdefs.h"  #include "confdefs.h"
2628  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2629      which can conflict with char accept(); below.  */      which can conflict with char accept(); below.  */
# Line 2190  accept(); Line 2646  accept();
2646    
2647  ; return 0; }  ; return 0; }
2648  EOF  EOF
2649  if { (eval echo configure:2194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2650    rm -rf conftest*    rm -rf conftest*
2651    eval "ac_cv_func_accept=yes"    eval "ac_cv_func_accept=yes"
2652  else  else
# Line 2212  fi Line 2668  fi
2668    
2669  fi  fi
2670  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
2671  echo "configure:2216: checking for gethostbyname" >&5  echo "configure:2672: checking for gethostbyname" >&5
2672  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
2673    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2674  else  else
2675    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2676  #line 2221 "configure"  #line 2677 "configure"
2677  #include "confdefs.h"  #include "confdefs.h"
2678  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2679      which can conflict with char gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
# Line 2240  gethostbyname(); Line 2696  gethostbyname();
2696    
2697  ; return 0; }  ; return 0; }
2698  EOF  EOF
2699  if { (eval echo configure:2244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2700    rm -rf conftest*    rm -rf conftest*
2701    eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
2702  else  else
# Line 2258  if eval "test \"`echo '$ac_cv_func_'geth Line 2714  if eval "test \"`echo '$ac_cv_func_'geth
2714  else  else
2715    echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
2716  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6  echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
2717  echo "configure:2262: checking for main in -lnsl" >&5  echo "configure:2718: checking for main in -lnsl" >&5
2718  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
2719  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
2720    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2266  else Line 2722  else
2722    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2723  LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
2724  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2725  #line 2270 "configure"  #line 2726 "configure"
2726  #include "confdefs.h"  #include "confdefs.h"
2727    
2728  int main() {  int main() {
2729  main()  main()
2730  ; return 0; }  ; return 0; }
2731  EOF  EOF
2732  if { (eval echo configure:2277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2733    rm -rf conftest*    rm -rf conftest*
2734    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2735  else  else
# Line 2298  fi Line 2754  fi
2754    
2755  if test "$enable_readline" = "yes" ; then  if test "$enable_readline" = "yes" ; then
2756          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6          echo $ac_n "checking for main in -lreadline""... $ac_c" 1>&6
2757  echo "configure:2302: checking for main in -lreadline" >&5  echo "configure:2758: checking for main in -lreadline" >&5
2758  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo readline'_'main | sed 'y%./+-%__p_%'`
2759  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
2760    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 2306  else Line 2762  else
2762    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
2763  LIBS="-lreadline -lncurses $LIBS"  LIBS="-lreadline -lncurses $LIBS"
2764  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2765  #line 2310 "configure"  #line 2766 "configure"
2766  #include "confdefs.h"  #include "confdefs.h"
2767    
2768  int main() {  int main() {
2769  main()  main()
2770  ; return 0; }  ; return 0; }
2771  EOF  EOF
2772  if { (eval echo configure:2317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2773    rm -rf conftest*    rm -rf conftest*
2774    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
2775  else  else
# Line 2341  fi Line 2797  fi
2797    
2798  fi  fi
2799    
 if test "$enable_bfd" = "yes" ; then  
         ac_safe=`echo "bfd.h" | sed 'y%./+-%__p_%'`  
 echo $ac_n "checking for bfd.h""... $ac_c" 1>&6  
 echo "configure:2348: checking for bfd.h" >&5  
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  
   echo $ac_n "(cached) $ac_c" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 2353 "configure"  
 #include "confdefs.h"  
 #include <bfd.h>  
 EOF  
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:2358: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=yes"  
 else  
   echo "$ac_err" >&5  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -rf conftest*  
   eval "ac_cv_header_$ac_safe=no"  
 fi  
 rm -f conftest*  
 fi  
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  
   echo "$ac_t""yes" 1>&6  
   echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6  
 echo "configure:2375: checking for bfd_init in -lbfd" >&5  
 ac_lib_var=`echo bfd'_'bfd_init | 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="-lbfd -liberty $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 2383 "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 bfd_init();  
   
 int main() {  
 bfd_init()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:2394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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  
   echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c  
                         MP=`$GCC  -Wl,-M  -static -o foo foo.c -lbfd -liberty 2>&1 | tr '()' '\012\012' | $AWK '{print $NF}' | sort | uniq`  
                         rm -f foo.c foo  
                         BFDLIB=`echo $MP | tr ' ' '\012' | grep libbfd.a`  
                         IBRLIB=`echo $MP | tr ' ' '\012' | grep libiberty.a`  
 #  
 # Old binutils appear to need CONST defined to const  
 #  
                         echo $ac_n "checking if need to define CONST for bfd""... $ac_c" 1>&6  
 echo "configure:2418: checking if need to define CONST for bfd" >&5  
                         if test "$cross_compiling" = yes; then  
   echo "$ac_t""cannot use bfd" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 2423 "configure"  
 #include "confdefs.h"  
 #define IN_GCC  
                                     #include <bfd.h>  
                                     int main() { symbol_info t; return 0;}  
 EOF  
 if { (eval echo configure:2429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  
 then  
   echo "$ac_t""no" 1>&6  
                                 cat >> confdefs.h <<\EOF  
 #define HAVE_LIBBFD 1  
 EOF  
   
                                 LIBS="$LIBS  $BFDLIB $IBRLIB"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -fr conftest*  
   if test "$cross_compiling" = yes; then  
   echo "$ac_t""cannot use bfd" 1>&6  
 else  
   cat > conftest.$ac_ext <<EOF  
 #line 2445 "configure"  
 #include "confdefs.h"  
 #define IN_GCC  
                                             #include <bfd.h>  
                                             #define CONST const  
                                             int main() {symbol_info t; return 0;}  
 EOF  
 if { (eval echo configure:2452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  
 then  
   echo "$ac_t""yes" 1>&6  
                                         cat >> confdefs.h <<\EOF  
 #define NEED_CONST 1  
 EOF  
   
                                         cat >> confdefs.h <<\EOF  
 #define HAVE_LIBBFD 1  
 EOF  
   
                                         LIBS="$LIBS  $BFDLIB $IBRLIB"  
 else  
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5  
   rm -fr conftest*  
   echo "$ac_t""cannot use bfd" 1>&6  
 fi  
 rm -fr conftest*  
 fi  
   
 fi  
 rm -fr conftest*  
 fi  
   
                                           
                           
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 else  
   echo "$ac_t""no" 1>&6  
 fi  
   
 fi  
   
2800    
2801    
2802    
2803    
2804  echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6  echo $ac_n "checking For network code for nsocket.c""... $ac_c" 1>&6
2805  echo "configure:2494: checking For network code for nsocket.c" >&5  echo "configure:2806: checking For network code for nsocket.c" >&5
2806  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2807  #line 2496 "configure"  #line 2808 "configure"
2808  #include "confdefs.h"  #include "confdefs.h"
2809    
2810  #include <sys/time.h>  #include <sys/time.h>
# Line 2519  int main() { Line 2831  int main() {
2831                    
2832  ; return 0; }  ; return 0; }
2833  EOF  EOF
2834  if { (eval echo configure:2523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2835    rm -rf conftest*    rm -rf conftest*
2836    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2837  #define HAVE_NSOCKET 1  #define HAVE_NSOCKET 1
# Line 2536  rm -f conftest* Line 2848  rm -f conftest*
2848    
2849    
2850  echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6  echo $ac_n "checking check for listen using fcntl""... $ac_c" 1>&6
2851  echo "configure:2540: checking check for listen using fcntl" >&5  echo "configure:2852: checking check for listen using fcntl" >&5
2852  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
2853  #line 2542 "configure"  #line 2854 "configure"
2854  #include "confdefs.h"  #include "confdefs.h"
2855  #include <stdio.h>  #include <stdio.h>
2856  #include <fcntl.h>  #include <fcntl.h>
# Line 2551  FILE *fp=fopen("configure.in","r"); Line 2863  FILE *fp=fopen("configure.in","r");
2863    
2864  ; return 0; }  ; return 0; }
2865  EOF  EOF
2866  if { (eval echo configure:2555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2867    rm -rf conftest*    rm -rf conftest*
2868    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
2869  #define LISTEN_USE_FCNTL 1  #define LISTEN_USE_FCNTL 1
# Line 2570  rm -f conftest* Line 2882  rm -f conftest*
2882    
2883    
2884  echo $ac_n "checking for profil""... $ac_c" 1>&6  echo $ac_n "checking for profil""... $ac_c" 1>&6
2885  echo "configure:2574: checking for profil" >&5  echo "configure:2886: checking for profil" >&5
2886  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_profil'+set}'`\" = set"; then
2887    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2888  else  else
2889    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2890  #line 2579 "configure"  #line 2891 "configure"
2891  #include "confdefs.h"  #include "confdefs.h"
2892  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2893      which can conflict with char profil(); below.  */      which can conflict with char profil(); below.  */
# Line 2598  profil(); Line 2910  profil();
2910    
2911  ; return 0; }  ; return 0; }
2912  EOF  EOF
2913  if { (eval echo configure:2602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2914    rm -rf conftest*    rm -rf conftest*
2915    eval "ac_cv_func_profil=yes"    eval "ac_cv_func_profil=yes"
2916  else  else
# Line 2623  fi Line 2935  fi
2935    
2936    
2937  echo $ac_n "checking for setenv""... $ac_c" 1>&6  echo $ac_n "checking for setenv""... $ac_c" 1>&6
2938  echo "configure:2627: checking for setenv" >&5  echo "configure:2939: checking for setenv" >&5
2939  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
2940    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2941  else  else
2942    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2943  #line 2632 "configure"  #line 2944 "configure"
2944  #include "confdefs.h"  #include "confdefs.h"
2945  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
2946      which can conflict with char setenv(); below.  */      which can conflict with char setenv(); below.  */
# Line 2651  setenv(); Line 2963  setenv();
2963    
2964  ; return 0; }  ; return 0; }
2965  EOF  EOF
2966  if { (eval echo configure:2655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2967    rm -rf conftest*    rm -rf conftest*
2968    eval "ac_cv_func_setenv=yes"    eval "ac_cv_func_setenv=yes"
2969  else  else
# Line 2677  fi Line 2989  fi
2989    
2990  if test "$no_setenv" = "1" ; then  if test "$no_setenv" = "1" ; then
2991  echo $ac_n "checking for putenv""... $ac_c" 1>&6  echo $ac_n "checking for putenv""... $ac_c" 1>&6
2992  echo "configure:2681: checking for putenv" >&5  echo "configure:2993: checking for putenv" >&5
2993  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_putenv'+set}'`\" = set"; then
2994    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
2995  else  else
2996    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
2997  #line 2686 "configure"  #line 2998 "configure"
2998  #include "confdefs.h"  #include "confdefs.h"
2999  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3000      which can conflict with char putenv(); below.  */      which can conflict with char putenv(); below.  */
# Line 2705  putenv(); Line 3017  putenv();
3017    
3018  ; return 0; }  ; return 0; }
3019  EOF  EOF
3020  if { (eval echo configure:2709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3021    rm -rf conftest*    rm -rf conftest*
3022    eval "ac_cv_func_putenv=yes"    eval "ac_cv_func_putenv=yes"
3023  else  else
# Line 2731  fi Line 3043  fi
3043  fi  fi
3044    
3045  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6  echo $ac_n "checking for _cleanup""... $ac_c" 1>&6
3046  echo "configure:2735: checking for _cleanup" >&5  echo "configure:3047: checking for _cleanup" >&5
3047  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func__cleanup'+set}'`\" = set"; then
3048    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3049  else  else
3050    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3051  #line 2740 "configure"  #line 3052 "configure"
3052  #include "confdefs.h"  #include "confdefs.h"
3053  /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
3054      which can conflict with char _cleanup(); below.  */      which can conflict with char _cleanup(); below.  */
# Line 2759  _cleanup(); Line 3071  _cleanup();
3071    
3072  ; return 0; }  ; return 0; }
3073  EOF  EOF
3074  if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3075    rm -rf conftest*    rm -rf conftest*
3076    eval "ac_cv_func__cleanup=yes"    eval "ac_cv_func__cleanup=yes"
3077  else  else
# Line 2785  fi Line 3097  fi
3097  gcl_ok=no  gcl_ok=no
3098    
3099  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3100  #line 2789 "configure"  #line 3101 "configure"
3101  #include "confdefs.h"  #include "confdefs.h"
3102  #include <ctype.h>  #include <ctype.h>
3103  EOF  EOF
# Line 2813  fi Line 3125  fi
3125    
3126  # if test "x$enable_machine" = "x" ; then  # if test "x$enable_machine" = "x" ; then
3127  echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6  echo $ac_n "checking FIONBIO vs. O_NONBLOCK for nonblocking I/O""... $ac_c" 1>&6
3128  echo "configure:2817: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5  echo "configure:3129: checking FIONBIO vs. O_NONBLOCK for nonblocking I/O" >&5
3129    
3130  case $system in  case $system in
3131         OSF*)         OSF*)
# Line 2843  EOF Line 3155  EOF
3155  esac  esac
3156    
3157    
 ac_aux_dir=  
 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  
   if test -f $ac_dir/install-sh; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/install-sh -c"  
     break  
   elif test -f $ac_dir/install.sh; then  
     ac_aux_dir=$ac_dir  
     ac_install_sh="$ac_aux_dir/install.sh -c"  
     break  
   fi  
 done  
 if test -z "$ac_aux_dir"; then  
   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }  
 fi  
 ac_config_guess=$ac_aux_dir/config.guess  
 ac_config_sub=$ac_aux_dir/config.sub  
 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.  
   
   
 # Make sure we can run config.sub.  
 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :  
 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }  
 fi  
   
 echo $ac_n "checking host system type""... $ac_c" 1>&6  
 echo "configure:2873: checking host system type" >&5  
   
 host_alias=$host  
 case "$host_alias" in  
 NONE)  
   case $nonopt in  
   NONE)  
     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :  
     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }  
     fi ;;  
   *) host_alias=$nonopt ;;  
   esac ;;  
 esac  
   
 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`  
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 echo "$ac_t""$host" 1>&6  
   
 canonical=$host  
 ## host=CPU-COMPANY-SYSTEM  
 echo "$ac_t""host=$host" 1>&6  
   
 use=unknown  
 EXTRA_CFLAGS=""  
 case $canonical in  
      older)  
      use=386-bsd;;  
   
      *86-*-linux*)  
      use=386-linux; ln -snf linux.defs h/$use.defs;;  
   
      m68k-*-linux*)  
      use=m68k-linux; ln -snf linux.defs h/$use.defs;;  
   
      alpha*-*-linux*)  
      use=alpha-linux; EXTRA_CFLAGS=-mieee; ln -snf linux.defs h/$use.defs;;  
   
      mips-*-linux*)  
      use=mips-linux; ln -snf linux.defs h/$use.defs;;  
   
      mipsel-*-linux*)  
      use=mipsel-linux; ln -snf linux.defs h/$use.defs;;  
   
      sparc*-*-linux*)  
      use=sparc-linux; ln -snf linux.defs h/$use.defs;;  
   
      arm*-*-linux*)  
      use=arm-linux; ln -snf linux.defs h/$use.defs;;  
   
      s390-*-linux*)  
      use=s390-linux; ln -snf linux.defs h/$use.defs;;  
   
      ia64-*-linux*)  
      use=ia64-linux; ln -snf linux.defs h/$use.defs;;  
   
      hppa*-*-linux*)  
      use=hppa-linux; ln -snf linux.defs h/$use.defs;;  
   
      powerpc-*-linux*)  
      use=powerpc-linux; ln -snf linux.defs h/$use.defs;;  
   
      alpha-dec-osf)  
      use=alpha-osf1;;  
   
      mips-dec-ultrix)  
      use=dec3100;;  
   
      old)  
      use=dos-go32;;  
   
      *86*-freebsd)  
      use=FreeBSD;;  
   
      hp3*-*hpux*)  
      use=hp300;;  
   
      hp3*-*-*bsd*)  
      use=hp300-bsd;;  
   
      hppa*-*hpux*)  
      use=hp800;;  
   
      mips-sgi-irix)  
        case $system in  
            IRIX5*)  
             use=irix5;;  
            IRIX6*)  
             use=irix6;;  
            IRIX3*)  
             use=sgi4d;;  
        esac ;;  
   
   
      m68k-apple-aux*)  
      use=mac2;;  
   
      old)  
      use=mp386;;  
   
      *86-ncr-sysv4)  
      use=ncr;;  
   
      *3-986-*netbsd*)  
      use=NetBSD;;  
   
      old)  
      use=NeXT;;  
   
      old)  
      use=NeXT30-m68k;;  
   
      *86-*nextstep*)  
      use=NeXT32-i386;;  
   
      *m68*-*nextstep*)  
      use=NeXT32-m68k;;  
   
      *rs6000-*-aix4*)  
      use=rios;;  
   
      *rs6000-*-aix3*)  
      use=rios-aix3;;  
   
      old)  
      use=rt_aix;;  
   
      old)  
      use=sgi;;  
   
      sparc-sun-solaris*)  
      use=solaris;;  
   
      i?86-pc-solaris*)  
      use=solaris-i386;;  
   
      sparc-*-linux*)  
      use=sparc-linux;;  
   
      old)  
      use=sun2r3;;  
   
      old)  
      use=sun3;;  
   
      m68*-sunos*)  
      use=sun3-os4;;  
   
      old)  
      use=sun386i;;  
   
      sparc*sunos*)  
      use=sun4;;  
   
      *86-sequent-dynix)  
      use=symmetry;;  
   
      u370*aix)  
      use=u370_aix;;  
   
      old)  
      use=vax;;  
   
      i*cygwin*)  
         if $CC -v 2>&1 | fgrep ming > /dev/null ;  
             then use=mingw  
           else  use=gnuwin95  
         fi;;  
     
   
 esac  
3158  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6  echo $ac_n "checking check for SV_ONSTACK""... $ac_c" 1>&6
3159  echo "configure:3046: checking check for SV_ONSTACK" >&5  echo "configure:3160: checking check for SV_ONSTACK" >&5
3160  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3161  #line 3048 "configure"  #line 3162 "configure"
3162  #include "confdefs.h"  #include "confdefs.h"
3163  #include <signal.h>  #include <signal.h>
3164  int joe=SV_ONSTACK;  int joe=SV_ONSTACK;
# Line 3053  int main() { Line 3167  int main() {
3167    
3168  ; return 0; }  ; return 0; }
3169  EOF  EOF
3170  if { (eval echo configure:3057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3171    rm -rf conftest*    rm -rf conftest*
3172    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3173  #define HAVE_SV_ONSTACK 1  #define HAVE_SV_ONSTACK 1
# Line 3071  rm -f conftest* Line 3185  rm -f conftest*
3185    
3186    
3187  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6  echo $ac_n "checking check for SIGSYS""... $ac_c" 1>&6
3188  echo "configure:3075: checking check for SIGSYS" >&5  echo "configure:3189: checking check for SIGSYS" >&5
3189  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3190  #line 3077 "configure"  #line 3191 "configure"
3191  #include "confdefs.h"  #include "confdefs.h"
3192  #include <signal.h>  #include <signal.h>
3193  int joe=SIGSYS;  int joe=SIGSYS;
# Line 3082  int main() { Line 3196  int main() {
3196    
3197  ; return 0; }  ; return 0; }
3198  EOF  EOF
3199  if { (eval echo configure:3086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3200    rm -rf conftest*    rm -rf conftest*
3201    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3202  #define HAVE_SIGSYS 1  #define HAVE_SIGSYS 1
# Line 3100  rm -f conftest* Line 3214  rm -f conftest*
3214    
3215    
3216  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6  echo $ac_n "checking check for SIGEMT""... $ac_c" 1>&6
3217  echo "configure:3104: checking check for SIGEMT" >&5  echo "configure:3218: checking check for SIGEMT" >&5
3218  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3219  #line 3106 "configure"  #line 3220 "configure"
3220  #include "confdefs.h"  #include "confdefs.h"
3221  #include <signal.h>  #include <signal.h>
3222  int joe=SIGEMT;  int joe=SIGEMT;
# Line 3111  int main() { Line 3225  int main() {
3225    
3226  ; return 0; }  ; return 0; }
3227  EOF  EOF
3228  if { (eval echo configure:3115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3229    rm -rf conftest*    rm -rf conftest*
3230    cat >> confdefs.h <<\EOF    cat >> confdefs.h <<\EOF
3231  #define HAVE_SIGEMT 1  #define HAVE_SIGEMT 1
# Line 3135  rm -f conftest* Line 3249  rm -f conftest*
3249  do  do
3250  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3251  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3252  echo "configure:3139: checking for $ac_hdr" >&5  echo "configure:3253: checking for $ac_hdr" >&5
3253  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3254    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3255  else  else
3256    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3257  #line 3144 "configure"  #line 3258 "configure"
3258  #include "confdefs.h"  #include "confdefs.h"
3259  #include <$ac_hdr>  #include <$ac_hdr>
3260  EOF  EOF
3261  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3262  { (eval echo configure:3149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3263  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3264  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3265    rm -rf conftest*    rm -rf conftest*
# Line 3175  done Line 3289  done
3289  do  do
3290  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`  ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3291  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6  echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3292  echo "configure:3179: checking for $ac_hdr" >&5  echo "configure:3293: checking for $ac_hdr" >&5
3293  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3294    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3295  else  else
3296    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3297  #line 3184 "configure"  #line 3298 "configure"
3298  #include "confdefs.h"  #include "confdefs.h"
3299  #include <$ac_hdr>  #include <$ac_hdr>
3300  EOF  EOF
3301  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3302  { (eval echo configure:3189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3303: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3303  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3304  if test -z "$ac_err"; then  if test -z "$ac_err"; then
3305    rm -rf conftest*    rm -rf conftest*
# Line 3212  fi Line 3326  fi
3326  done  done
3327    
3328          cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
3329  #line 3216 "configure"  #line 3330 "configure"
3330  #include "confdefs.h"  #include "confdefs.h"
3331  #include <signal.h>  #include <signal.h>
3332                          long code;                            long code;  
# Line 3223  int main() { Line 3337  int main() {
3337                
3338  ; return 0; }  ; return 0; }
3339  EOF  EOF
3340  if { (eval echo configure:3227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3341    rm -rf conftest*    rm -rf conftest*
3342        
3343          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 3244  fi Line 3358  fi
3358  rm -f conftest*  rm -f conftest*
3359         if test "$sigcontext_struct_works" = 0 ; then         if test "$sigcontext_struct_works" = 0 ; then
3360         cat > conftest.$ac_ext <<EOF         cat > conftest.$ac_ext <<EOF
3361  #line 3248 "configure"  #line 3362 "configure"
3362  #include "confdefs.h"  #include "confdefs.h"
3363  #include <signal.h>  #include <signal.h>
3364               #ifdef HAVE_ASM_SIGCONTEXT_H                   #ifdef HAVE_ASM_SIGCONTEXT_H    
# Line 3261  int main() { Line 3375  int main() {
3375                    
3376  ; return 0; }  ; return 0; }
3377  EOF  EOF
3378  if { (eval echo configure:3265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3379    rm -rf conftest*    rm -rf conftest*
3380        
3381          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 3304  rm -f conftest* Line 3418  rm -f conftest*
3418  # Extract the first word of "emacs", so it can be a program name with args.  # Extract the first word of "emacs", so it can be a program name with args.
3419  set dummy emacs; ac_word=$2  set dummy emacs; ac_word=$2
3420  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3421  echo "configure:3308: checking for $ac_word" >&5  echo "configure:3422: checking for $ac_word" >&5
3422  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_path_EMACS'+set}'`\" = set"; then
3423    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3424  else  else
# Line 3352  cat >> conftest.el <<EOF Line 3466  cat >> conftest.el <<EOF
3466  EOF  EOF
3467    
3468  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6  echo $ac_n "checking emacs site lisp directory""... $ac_c" 1>&6
3469  echo "configure:3356: checking emacs site lisp directory" >&5  echo "configure:3470: checking emacs site lisp directory" >&5
3470  #EMACS_SITE_LISP=unknown  #EMACS_SITE_LISP=unknown
3471  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3472          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          EMACS_SITE_LISP=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
# Line 3375  cat >> conftest.el <<EOF Line 3489  cat >> conftest.el <<EOF
3489  EOF  EOF
3490    
3491  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6  echo $ac_n "checking emacs default.el""... $ac_c" 1>&6
3492  echo "configure:3379: checking emacs default.el" >&5  echo "configure:3493: checking emacs default.el" >&5
3493  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3494          EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          EMACS_DEFAULT_EL=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
3495  else  else
# Line 3404  cat >> conftest.el <<EOF Line 3518  cat >> conftest.el <<EOF
3518  EOF  EOF
3519    
3520  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6  echo $ac_n "checking emacs info/dir""... $ac_c" 1>&6
3521  echo "configure:3408: checking emacs info/dir" >&5  echo "configure:3522: checking emacs info/dir" >&5
3522  if [ "$EMACS" != "" ] ; then  if [ "$EMACS" != "" ] ; then
3523          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `          INFO_DIR=`$EMACS -q -batch --no-site-file -l conftest.el 2>&1 | sed -e /Loading/d | sed -e /load/d `
3524  fi  fi
# Line 3418  echo "$ac_t""$INFO_DIR" 1>&6 Line 3532  echo "$ac_t""$INFO_DIR" 1>&6
3532    
3533    
3534  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6  echo $ac_n "checking for tcl/tk""... $ac_c" 1>&6
3535  echo "configure:3422: checking for tcl/tk" >&5  echo "configure:3536: checking for tcl/tk" >&5
3536    
3537    
3538  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else  if test -d "${TCL_CONFIG_PREFIX}"  ; then true ; else
# Line 3441  EOF Line 3555  EOF
3555  # Extract the first word of "tclsh", so it can be a program name with args.  # Extract the first word of "tclsh", so it can be a program name with args.
3556  set dummy tclsh; ac_word=$2  set dummy tclsh; ac_word=$2
3557  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3558  echo "configure:3445: checking for $ac_word" >&5  echo "configure:3559: checking for $ac_word" >&5
3559  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_TCLSH'+set}'`\" = set"; then
3560    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
3561  else  else
# Line 3541  if test -f ${TCL_CONFIG_PREFIX}/../inclu Line 3655  if test -f ${TCL_CONFIG_PREFIX}/../inclu
3655    fi    fi
3656  fi  fi
3657  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6  echo $ac_n "checking for main in -llieee""... $ac_c" 1>&6
3658  echo "configure:3545: checking for main in -llieee" >&5  echo "configure:3659: checking for main in -llieee" >&5
3659  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`  ac_lib_var=`echo lieee'_'main | sed 'y%./+-%__p_%'`
3660  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
3661    echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
# Line 3549  else Line 3663  else
3663    ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
3664  LIBS="-llieee  $LIBS"  LIBS="-llieee  $LIBS"
3665  cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
3666  #line 3553 "configure"  #line 3667 "configure"
3667  #include "confdefs.h"  #include "confdefs.h"
3668    
3669  int main() {  int main() {
3670  main()  main()
3671  ; return 0; }  ; return 0; }
3672  EOF  EOF
3673  if { (eval echo configure:3560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3674    rm -rf conftest*    rm -rf conftest*
3675    eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
3676  else  else
# Line 3580  fi Line 3694  fi
3694  if test "$have_ieee" = "0" ; then  if test "$have_ieee" = "0" ; then
3695   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-lieee::g" `
3696  fi  fi
 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6  
 echo "configure:3585: checking for dlopen in -ldl" >&5  
 ac_lib_var=`echo dl'_'dlopen | 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="-ldl  $LIBS"  
 cat > conftest.$ac_ext <<EOF  
 #line 3593 "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 dlopen();  
   
 int main() {  
 dlopen()  
 ; return 0; }  
 EOF  
 if { (eval echo configure:3604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; 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  
   have_dl=1  
 else  
   echo "$ac_t""no" 1>&6  
 have_dl=0  
 fi  
   
3697  if test "$have_dl" = "0" ; then  if test "$have_dl" = "0" ; then
3698   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-ldl::g"`   TCL_LIBS=`echo ${TCL_LIBS} | sed -e "s:-ldl::g"`
3699  fi  fi
# Line 3654  fi Line 3727  fi
3727  NOTIFY=$enable_notify  NOTIFY=$enable_notify
3728    
3729    
   
   
   
   
 echo enable_machine=$enable_machine  
 if test "x$enable_machine" != "x" ; then  
   use=$enable_machine  
 fi  
   
 ## finally warn if we did not find a recognized machine.s  
 ##  
 #if test "$use" = "unknown" ; then  
 #types=`echo h/*.defs` | sed -e "s:h/::g" -e "s:\.defs:g"`  
 #echo got canonical=$canonical, but was not recognized.  
 #echo Unable to guess type to use.  Try one of  
 #exit(1)  
 #fi  
   
 echo "$ac_t""use=$use" 1>&6      
   
3730                
3731    
3732    
# Line 3682  echo "$ac_t""use=$use" 1>&6 Line 3735  echo "$ac_t""use=$use" 1>&6
3735  # the time handling for unixtime, add timezone  # the time handling for unixtime, add timezone
3736    
3737  echo $ac_n "checking alloca""... $ac_c" 1>&6  echo $ac_n "checking alloca""... $ac_c" 1>&6
3738  echo "configure:3686: checking alloca" >&5  echo "configure:3739: checking alloca" >&5
3739  if test "$cross_compiling" = yes; then  if test "$cross_compiling" = yes; then
3740    gcl_ok=no    gcl_ok=no
3741  else  else
3742    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3743  #line 3691 "configure"  #line 3744 "configure"
3744  #include "confdefs.h"  #include "confdefs.h"
3745  int main() { exit(alloca(500) != NULL ? 0 : 1);}  int main() { exit(alloca(500) != NULL ? 0 : 1);}
3746  EOF  EOF
3747  if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3748  then  then
3749    :    :
3750  else  else
# Line 3714  else Line 3767  else
3767    gcl_ok=no    gcl_ok=no
3768  else  else
3769    cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
3770  #line 3718 "configure"  #line 3771 "configure"
3771  #include "confdefs.h"  #include "confdefs.h"
3772  #include <alloca.h>  #include <alloca.h>
3773    int main() { exit(alloca(500) != NULL ? 0 : 1)}    int main() { exit(alloca(500) != NULL ? 0 : 1)}
3774  EOF  EOF
3775  if { (eval echo configure:3723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3776  then  then
3777    :    :
3778  else  else
# Line 3782  rm -f makedefsafter Line 3835  rm -f makedefsafter
3835  MP_INLCUDE=""  MP_INLCUDE=""
3836  if test $use_gmp = yes ; then  if test $use_gmp = yes ; then
3837   echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6   echo $ac_n "checking use_gmp=yes, doing configure in gmp directory""... $ac_c" 1>&6
3838  echo "configure:3786: checking use_gmp=yes, doing configure in gmp directory" >&5  echo "configure:3839: checking use_gmp=yes, doing configure in gmp directory" >&5
3839   case "${canonical}" in   case "${canonical}" in
3840  #   i[[5-9]]86* | pentium* | k6* | athlon*)  #   i[[5-9]]86* | pentium* | k6* | athlon*)
3841  #      (cd gmp ; ./configure --target=i486) ;;  #      (cd gmp ; ./configure --target=i486) ;;
# Line 3806  fi Line 3859  fi
3859  # redhat/cygnus released for some reason a buggy version of gcc,  # redhat/cygnus released for some reason a buggy version of gcc,
3860  # which no one else released.   Catch that here.  # which no one else released.   Catch that here.
3861  echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6  echo $ac_n "checking Checking for buggy gcc version from redhat""... $ac_c" 1>&6
3862  echo "configure:3810: checking Checking for buggy gcc version from redhat" >&5  echo "configure:3863: checking Checking for buggy gcc version from redhat" >&5
3863  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null  if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null
3864     then     then
3865          BROKEN_O4_OPT=1          BROKEN_O4_OPT=1
# Line 3958  s%@includedir@%$includedir%g Line 4011  s%@includedir@%$includedir%g
4011  s%@oldincludedir@%$oldincludedir%g  s%@oldincludedir@%$oldincludedir%g
4012  s%@infodir@%$infodir%g  s%@infodir@%$infodir%g
4013  s%@mandir@%$mandir%g  s%@mandir@%$mandir%g
4014  s%@AWK@%$AWK%g  s%@host@%$host%g
4015  s%@MAKEINFO@%$MAKEINFO%g  s%@host_alias@%$host_alias%g
4016    s%@host_cpu@%$host_cpu%g
4017    s%@host_vendor@%$host_vendor%g
4018    s%@host_os@%$host_os%g
4019  s%@CC@%$CC%g  s%@CC@%$CC%g
 s%@GCC@%$GCC%g  
4020  s%@CPP@%$CPP%g  s%@CPP@%$CPP%g
4021    s%@GCC@%$GCC%g
4022    s%@AWK@%$AWK%g
4023    s%@MAKEINFO@%$MAKEINFO%g
4024  s%@LITTLE_END@%$LITTLE_END%g  s%@LITTLE_END@%$LITTLE_END%g
4025  s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g  s%@HAVE_LONG_LONG@%$HAVE_LONG_LONG%g
4026  s%@FLISP@%$FLISP%g  s%@FLISP@%$FLISP%g
# Line 3974  s%@HAVE_SETENV@%$HAVE_SETENV%g Line 4032  s%@HAVE_SETENV@%$HAVE_SETENV%g
4032  s%@HAVE_PUTENV@%$HAVE_PUTENV%g  s%@HAVE_PUTENV@%$HAVE_PUTENV%g
4033  s%@USE_CLEANUP@%$USE_CLEANUP%g  s%@USE_CLEANUP@%$USE_CLEANUP%g
4034  s%@ENDIAN_ALREADY_DEFINED@%$ENDIAN_ALREADY_DEFINED%g  s%@ENDIAN_ALREADY_DEFINED@%$ENDIAN_ALREADY_DEFINED%g
 s%@host@%$host%g  
 s%@host_alias@%$host_alias%g  
 s%@host_cpu@%$host_cpu%g  
 s%@host_vendor@%$host_vendor%g  
 s%@host_os@%$host_os%g  
4035  s%@HAVE_SV_ONSTACK@%$HAVE_SV_ONSTACK%g  s%@HAVE_SV_ONSTACK@%$HAVE_SV_ONSTACK%g
4036  s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g  s%@EXTRA_CFLAGS@%$EXTRA_CFLAGS%g
4037  s%@HAVE_SIGSYS@%$HAVE_SIGSYS%g  s%@HAVE_SIGSYS@%$HAVE_SIGSYS%g

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26