gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Did a recent change to configure break it?


From: Camm Maguire
Subject: Re: [Gcl-devel] Did a recent change to configure break it?
Date: 18 Dec 2001 14:56:01 -0500

Greetings!

Here are the changes I've made to configure.in, none of which I
thought should affect windows stuff.  Note the useful cvs command!
Could you please post the full configure output?

And also, if you could send the gclincl.h, and maybe cmpinclude.h,
that would be great too.  I'm assuming your symptoms are the same.  

Might want to see my separate post to David, and try some of those
suggestions.

Take care,
=============================================================================

wisdom:/fix/f/debian/mm/gcl/gcl.test2$ cvs -z9 rdiff -r 1.10 -r 1.12 -u 
gcl/configure.in
Index: gcl/configure.in
diff -u gcl/configure.in:1.10 gcl/configure.in:1.12
--- gcl/configure.in:1.10       Tue Jul  3 14:09:44 2001
+++ gcl/configure.in    Sun Dec 16 11:24:55 2001
@@ -36,11 +36,16 @@
 # addresses, in calculating a page for an address in the heap.
 
 AC_PROG_CC
-if test "${GCC}" -eq "yes" ; then
-GCC=gcc
+# 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
+AC_SUBST(GCC)
 
 
 AC_MSG_CHECKING("finding DBEGIN")
@@ -391,7 +396,7 @@
      use=vax;;
 
      i*cygwin32)
-       if gcc -v 2>&1 | fgrep ming > /dev/null ;
+       if $CC -v 2>&1 | fgrep ming > /dev/null ;
             then use=mingw
           else  use=gnuwin95
         fi;;
@@ -476,7 +481,7 @@
 
        fi
        echo 'foo() {}' > conftest1.c
-       gcc -S conftest1.c
+       $CC -S conftest1.c
        use_underscore=0        
        if fgrep _foo conftest1.s ; then use_underscore=1 ; fi
        if test $use_underscore = 0 ; then
@@ -485,11 +490,11 @@
             MPI_FILE=mpi-386d.o
         fi
        AC_SUBST(MPI_FILE)
-        GCC=gcc
+#       GCC=$CC
 #        if test -x  /usr/bin/i386-glibc20-linux-gcc ; then
 #          GCC=/usr/bin/i386-glibc20-linux-gcc
 #       fi
-       AC_SUBST(GCC)
+#      AC_SUBST(GCC)
 
 fi
 
@@ -508,7 +513,7 @@
 
 AC_MSG_CHECKING([emacs site lisp directory])
 EMACS_SITE_LISP=unknown
-EMACS_SITE_LISP=`emacs -q -batch -l conftest.el 2>&1 | sed -e /Loading/d `
+EMACS_SITE_LISP=`emacs -q -batch --no-site-file -l conftest.el 2>&1 | sed -e 
/Loading/d `
 AC_MSG_RESULT($EMACS_SITE_LISP)
 AC_SUBST(EMACS_SITE_LISP)
 
@@ -525,7 +530,7 @@
 EOF
 
 AC_MSG_CHECKING([emacs default.el])
-EMACS_DEFAULT_EL=`emacs -q -batch -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 `
 if  test -f "${EMACS_DEFAULT_EL}"  ; then true;else
   EMACS_DEFAULT_EL=${EMACS_SITE_LISP}/default.el
 fi
@@ -547,7 +552,7 @@
 EOF
 
 AC_MSG_CHECKING([emacs info/dir])
-INFO_DIR=`emacs -q -batch -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 `
 if  test -f "${INFO_DIR}dir"  ; then true;else
 if test -f /usr/info/dir ; then
   INFO_DIR=/usr/info/
@@ -740,7 +745,7 @@
  AC_MSG_CHECKING([use_gmp=yes, doing configure in gmp directory])
  case "${canonical}" in
    i[[5-9]]86* | pentium* | k6* | athlon*)
-      (cd gmp ; ./configure --target=pentium) ;;
+      (cd gmp ; ./configure --target=i486) ;;
    *)
       (cd gmp ; ./configure) ;;
  esac
@@ -755,7 +760,7 @@
 # redhat/cygnus released for some reason a buggy version of gcc,
 # which no one else released.   Catch that here.
 AC_MSG_CHECKING([Checking for buggy gcc version from redhat])
-if  2>&1 gcc -v | fgrep 2.96 > /dev/null 
+if  2>&1 $CC -v | fgrep "gcc version 2.96" > /dev/null 
    then 
         BROKEN_O4_OPT=1
         AC_DEFINE(BROKEN_O4_OPT)
=============================================================================

Dan Stanger <address@hidden> writes:

> As of 12/17 at 20:27 US mountain time, configure could not determine the
> machine using
> cygwin.  It worked before this.
> Dan
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



reply via email to

[Prev in Thread] Current Thread [Next in Thread]