Branch: Tag:

2002-09-24

2002-09-24 14:59:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Disabled redundant -Ysystem when using tcc.

Rev: src/configure.in:1.627

1: - AC_REVISION("$Id: configure.in,v 1.626 2002/09/13 15:34:08 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.627 2002/09/24 14:59:57 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1455:    # Yikes! We're using the TenDRA compiler!       # Make sure we can use the system headerfiles... -  AC_SYS_COMPILER_FLAG(-Ysystem, ysystem, CPPFLAGS) +  # Already done by the CC test in aclocal.m4. +  # AC_SYS_COMPILER_FLAG(-Ysystem, ysystem, CPPFLAGS)       # Use lenient ANSI compliance...    #AC_SYS_COMPILER_FLAG(-Xa, xa, CFLAGS)
2052:      #############################################################################    - AC_MSG_CHECKING(for the type of the last argument to __yy_memcpy) + AC_MSG_CHECKING(for the type of __yy_memcpy)   AC_CACHE_VAL(pike_cv___yy_memcpy_count_type, [ -  +  pike_cv___yy_memcpy_from_const=    pike_cv___yy_memcpy_count_type=unknown    for count_type in "unsigned int" "size_t" "unsigned long" "int"; do -  +  for from_const in "const" ""; do    cat >conftest.y <<EOF   %pure_parser   %{
2063:      #ifndef __GNUC__   #ifndef __cplusplus - static void __yy_memcpy(char *to, char *from, $count_type count); + static void __yy_memcpy(char *to, $from_const char *from, $count_type count);   #endif /* !__cplusplus */   #endif /* !__GNUC__ */   
2088:    exit(0);    ], [    pike_cv___yy_memcpy_count_type=$count_type +  pike_cv___yy_memcpy_from_const="$from_const"    break    ])    fi    done -  +  if test "x$pike_cv___yy_memcpy_count_type" = "xunknown"; then :; else +  break +  fi +  done   ]) - AC_MSG_RESULT($pike_cv___yy_memcpy_count_type) +    if test "x$pike_cv___yy_memcpy_count_type" = "xunknown"; then -  +  AC_MSG_RESULT($pike_cv___yy_memcpy_count_type)    AC_MSG_WARN([Defaulting to unsigned int.])    YY_COUNT_TYPE="unsigned int" -  +  YY_FROM_CONST=""   else -  +  AC_MSG_RESULT(void __yy_memcpy(char *, $pike_cv___yy_memcpy_from_const char *, $pike_cv___yy_memcpy_count_type))    YY_COUNT_TYPE="$pike_cv___yy_memcpy_count_type" -  +  YY_FROM_CONST="$pike_cv___yy_memcpy_from_const"   fi   AC_SUBST(YY_COUNT_TYPE) -  + AC_SUBST(YY_FROM_CONST)      #############################################################################