Removed S48_CFLAG_CKR, which has been obsolete since at least 1997

when I stayed at NECI and was hacking on an SGI box.
This commit is contained in:
sperber 2003-04-16 12:41:36 +00:00
parent bd70ccb03d
commit 3c3c539446
1 changed files with 0 additions and 21 deletions

View File

@ -3,27 +3,7 @@ dnl
dnl We might want AC_WORDS_BIGENDIAN in the future. dnl We might want AC_WORDS_BIGENDIAN in the future.
dnl We might want AC_CHAR_UNSIGNED in the future. dnl We might want AC_CHAR_UNSIGNED in the future.
dnl dnl
dnl The -cckr (K&R) flag is for the IRIX C compiler. If this is left
dnl out, scheme48vm.c breaks because the rather pedantic SGI compiler
dnl decides that a char is not the same thing as an unsigned char.
dnl - Bryan O'Sullivan 3/94
dnl Note, this test didn't work correctly on Sun's which take -cckr as a
dnl synonym for -c. (HCC)
define(S48_CFLAG_CKR, [dnl
if test "z$GCC" = z; then
AC_MSG_CHECKING([-cckr])
oldCFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -cckr"
AC_TRY_RUN([int main() { return 0;}],
[AC_MSG_RESULT(yes)],
[AC_MSG_RESULT(no)
CFLAGS="$oldCFLAGS"],
[AC_MSG_RESULT(no)
CFLAGS="$oldCFLAGS"])
fi
])dnl
dnl
define(S48_POSIX_LIBC, [dnl define(S48_POSIX_LIBC, [dnl
echo checking for RISC/OS POSIX library lossage echo checking for RISC/OS POSIX library lossage
if test -f /usr/posix/usr/lib/libc.a; then if test -f /usr/posix/usr/lib/libc.a; then
@ -200,7 +180,6 @@ AC_INIT(c/scheme48vm.c)
SCSH_LINUX_STATIC_DEBUG SCSH_LINUX_STATIC_DEBUG
dnl set the cross-compile flag before we try anything. dnl set the cross-compile flag before we try anything.
AC_TRY_RUN([int main() { return 0;}], [], [], [true]) AC_TRY_RUN([int main() { return 0;}], [], [], [true])
S48_CFLAG_CKR
AC_PROG_INSTALL AC_PROG_INSTALL
AC_PROG_RANLIB AC_PROG_RANLIB
AC_C_CONST AC_C_CONST