Branch: Tag:

2002-10-04

2002-10-04 17:49:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved support for tcc.

Rev: src/acconfig.h:1.105
Rev: src/aclocal.m4:1.54
Rev: src/configure.in:1.632

1: - AC_REVISION("$Id: configure.in,v 1.631 2002/10/03 23:15:57 kiwi Exp $") + AC_REVISION("$Id: configure.in,v 1.632 2002/10/04 17:49:28 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
305:    AC_MSG_RESULT(yes)    fi    fi + else +  if test "x$TCC" = "xyes"; then +  AC_MSG_CHECKING(if we can use pragma TenDRA longlong) +  AC_CACHE_VAL(pike_cv_pragma_tendra_longlong, [ +  AC_TRY_COMPILE([ + #pragma TenDRA longlong type allow + int main(int argc, char **argv) + { +  exit(0); + } +  ], [ pike_cv_pragma_tendra_longlong=yes +  ], [ pike_cv_pragma_tendra_longlong=no ]) +  ]) +  if test "x$pike_cv_pragma_tendra_longlong" = "xyes"; then +  AC_MSG_RESULT(yes) +  AC_DEFINE(HAVE_PRAGMA_TENDRA_LONGLONG) +  else +  AC_MSG_RESULT(no)    fi    -  +  AC_MSG_CHECKING(if we can use pragma TenDRA set longlong type) +  AC_CACHE_VAL(pike_cv_pragma_tendra_set_longlong_type, [ +  AC_TRY_COMPILE([ + #ifdef HAVE_TENDRA_LONGLONG + #pragma TenDRA longlong type allow + #endif /* HAVE_TENDRA_LONGLONG */ + #pragma TenDRA set longlong type : long long +  + long long foo; +  + int main(int argc, char **argv) + { +  exit(0); + } +  ], [ pike_cv_pragma_tendra_set_longlong_type=yes +  ], [ pike_cv_pragma_tendra_set_longlong_type=no ]) +  ]) +  if test "x$pike_cv_pragma_tendra_set_longlong_type" = "xyes"; then +  AC_MSG_RESULT(yes) +  AC_DEFINE(HAVE_PRAGMA_TENDRA_SET_LONGLONG_TYPE) +  else +  AC_MSG_RESULT(no) +  fi +  else :; fi + fi +    #############################################################################      if test "x$enable_binary" != "xno"; then