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 |
|
|
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; |
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 ; |
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 |
|
|