/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

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

revision 1.12.2.7 by camm, Mon Jan 7 21:29:26 2002 UTC revision 1.12.2.8 by camm, Tue Jan 8 19:26:06 2002 UTC
# Line 309  case $canonical in Line 309  case $canonical in
309       *86-*-linux*)       *86-*-linux*)
310       use=386-linux;;       use=386-linux;;
311    
312         m68k-*-linux*)
313         use=m68k-linux;;
314    
315         alpha-*-linux*)
316         use=alpha-linux;;
317    
318         mips-*-linux*)
319         use=mips-linux;;
320    
321         sparc-*-linux*)
322         use=sparc-linux;;
323    
324         arm-*-linux*)
325         use=arm-linux;;
326    
327         s390-*-linux*)
328         use=s390-linux;;
329    
330         ia64-*-linux*)
331         use=ia64-linux;;
332    
333         hppa-*-linux*)
334         use=hppa-linux;;
335    
336         powerpc-*-linux*)
337         use=powerpc-linux;;
338    
339       alpha-dec-osf)       alpha-dec-osf)
340       use=alpha-osf1;;       use=alpha-osf1;;
341    
# Line 453  AC_MSG_RESULT(no)) Line 480  AC_MSG_RESULT(no))
480    
481    
482    
483  if test $use = "386-linux" ; then  #if test $use = "386-linux" ; then
484          AC_CHECK_HEADERS(asm/sigcontext.h)          AC_CHECK_HEADERS(asm/sigcontext.h)
485          AC_CHECK_HEADERS(asm/signal.h)          AC_CHECK_HEADERS(asm/signal.h)
486          AC_TRY_COMPILE([#include <signal.h>          AC_TRY_COMPILE([#include <signal.h>
487                          long code;                            long code;  
488         ],         ],
489         [         [
490          void *p = ((void *)(((struct sigcontext_struct *)(&code))->cr2));          void *p = ((void *)(((struct sigcontext_struct *)(&code))));
491         ],         ],
492         [         [
493          sigcontext_struct_works=1;          sigcontext_struct_works=1;
# Line 482  if test $use = "386-linux" ; then Line 509  if test $use = "386-linux" ; then
509               long code;               long code;
510            ],            ],
511          [          [
512          void *p = ((void *)(((struct sigcontext *)(&code))->cr2));          void *p = ((void *)(((struct sigcontext *)(&code))));
513          ],          ],
514          [          [
515          sigcontext_works=1 ;          sigcontext_works=1 ;
# Line 495  if test $use = "386-linux" ; then Line 522  if test $use = "386-linux" ; then
522    
523    
524         fi         fi
525          echo 'foo() {}' > conftest1.c  #       echo 'foo() {}' > conftest1.c
526          $CC -S conftest1.c  #       $CC -S conftest1.c
527          use_underscore=0          #       use_underscore=0        
528          if fgrep _foo conftest1.s ; then use_underscore=1 ; fi  #       if fgrep _foo conftest1.s ; then use_underscore=1 ; fi
529          if test $use_underscore = 0 ; then  #       if test $use_underscore = 0 ; then
530              MPI_FILE=mpi-386_no_under.o  #            MPI_FILE=mpi-386_no_under.o
531            else  #          else
532               MPI_FILE=mpi-386d.o  #            MPI_FILE=mpi-386d.o
533          fi  #        fi
534          AC_SUBST(MPI_FILE)  #       AC_SUBST(MPI_FILE)
535  #       GCC=$CC  #       GCC=$CC
536  #        if test -x  /usr/bin/i386-glibc20-linux-gcc ; then  #        if test -x  /usr/bin/i386-glibc20-linux-gcc ; then
537  #          GCC=/usr/bin/i386-glibc20-linux-gcc  #          GCC=/usr/bin/i386-glibc20-linux-gcc
538  #       fi  #       fi
539  #       AC_SUBST(GCC)  #       AC_SUBST(GCC)
540    
541  fi  #fi
542    
543  AC_PATH_PROG(EMACS,emacs)  AC_PATH_PROG(EMACS,emacs)
544    

Legend:
Removed from v.1.12.2.7  
changed lines
  Added in v.1.12.2.8

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