Ticket #46260: configure.patch

File configure.patch, 1.8 KB (added by jmroot (Joshua Root), 10 years ago)
  • configure

    old new  
    35413541   { (exit 1); exit 1; }; }
    35423542fi
    35433543
    3544 if test -n "$bison_v" && test "$bison_v" -eq 20
     3544if test -n "$bison_v" && test "$bison_v" -gt 21
     3545then
     3546        echo "$as_me:$LINENO: result: setting bison lalr1 yychar variable name to yychar" >&5
     3547echo "${ECHO_T}setting bison lalr1 yychar variable name to yychar" >&6
     3548
     3549cat >>confdefs.h <<\_ACEOF
     3550#define YYCHAR_NAME yychar
     3551_ACEOF
     3552
     3553elif test -n "$bison_v" && test "$bison_v" -eq 20
    35453554then
    35463555        echo "$as_me:$LINENO: result: setting bison lalr1 yychar variable name to yylooka_" >&5
    35473556echo "${ECHO_T}setting bison lalr1 yychar variable name to yylooka_" >&6
     
    37113720if test "${am_cv_python_pythondir+set}" = set; then
    37123721  echo $ECHO_N "(cached) $ECHO_C" >&6
    37133722else
    3714   am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
     3723  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0)" 2>/dev/null ||
    37153724     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
    37163725fi
    37173726echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
     
    37283737if test "${am_cv_python_pyexecdir+set}" = set; then
    37293738  echo $ECHO_N "(cached) $ECHO_C" >&6
    37303739else
    3731   am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
     3740  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0)" 2>/dev/null ||
    37323741     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
    37333742fi
    37343743echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5