pike.git / src / configure.in

version» Context lines:

pike.git/src/configure.in:1: - AC_REVISION("$Id: configure.in,v 1.917 2005/09/01 13:09:00 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.918 2005/10/13 14:47:33 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)      rm -f config.warnings 2>/dev/null      if_autoconf(2,50,[    if test "x$cache_file" = "x/dev/null"; then    cache_file=./config.cache    if test -r "$cache_file"; then    echo "loading cache $cache_file"
pike.git/src/configure.in:2450:      #############################################################################      # Script to translate from POSIX paths to native paths.   echo "Creating posix_to_native.sh..."   if test "x$PIKE_PATH_TRANSLATE" = "x"; then    if test "x$pike_cv_is_mingw" = "xyes"; then    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.917 2005/09/01 13:09:00 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.918 2005/10/13 14:47:33 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"   native_prefix="/"   case "$posix_name" in    /*) ;;    *) posix_name="`pwd`/$posix_name" ;;   esac   case "$posix_name" in   EOF
pike.git/src/configure.in:2488:    cat <<\EOF   esac   echo "$posix_name" | \    sed -e "s,^$posix_prefix,$native_prefix," | \    sed -e 's/\/\//\//g'   EOF    else    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.917 2005/09/01 13:09:00 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.918 2005/10/13 14:47:33 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF    fi   else    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.917 2005/09/01 13:09:00 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.918 2005/10/13 14:47:33 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF   fi >posix_to_native.sh      chmod a+x posix_to_native.sh      #############################################################################      if test ! -d modules/. ; then
pike.git/src/configure.in:3041:      if test "x$YACC" = "xNone" ; then    AC_MSG_RESULT([Get bison if you want to do "make export"])    YACC="bison -y"   else    AC_MSG_RESULT($YACC)   fi      #############################################################################    + AC_MSG_CHECKING(how bison uses short) + AC_CACHE_VAL(pike_cv_short_use, + [ +  pike_cv_short_use=unknown +  for short_use in CT_SHORT CT_SHORT_INT; do +  cat >conftest.y <<EOF + %{ + #define $short_use + #ifdef CT_SHORT + #define short int + #else + #define short + #endif + void parse(); + void yyerror(char *); + %} + %% + foo: 'f' x y ; + x: 'o' ; + y: 'o' ; + %% + int context = 0; +  + int yylex(YYSTYPE *yylval) + { +  switch(context++) +  { +  case 0: return 'f'; +  case 1: return 'o'; +  case 2: return 'o'; +  default: return 0; +  } + } +  + int errors=0; + void yyerror(char *fel) { errors++; } + EOF +  if $YACC -d conftest.y 1>&AC_FD_CC 2>&AC_FD_CC; then +  AC_TRY_COMPILE([ + #include "y.tab.c" + ],[ + yyparse(); + exit(errors); + ],ok=yes,ok=no) +  if test "$ok" = "yes"; then +  pike_cv_short_use=$short_use +  break +  fi +  fi +  done + ]) +  + case "$pike_cv_short_use" in +  CT_SHORT) +  AC_MSG_RESULT(short) +  AC_DEFINE(BISON_SHORT_EXPANSION,int) +  ;; +  CT_SHORT_INT) +  AC_MSG_RESULT(short int) +  AC_DEFINE(BISON_SHORT_EXPANSION,[]) +  ;; +  *) +  AC_MSG_RESULT(unknown) +  ;; + esac +  + ############################################################################# +    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   %{   #include <stdio.h>