/[classpath]/classpath/acinclude.m4
ViewVC logotype

Diff of /classpath/acinclude.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.45 by tromey, Sat Dec 25 23:10:06 2004 UTC revision 1.46 by mark, Sun Jan 2 20:08:50 2005 UTC
# Line 371  AC_DEFUN([CLASSPATH_ENABLE_GJDOC], Line 371  AC_DEFUN([CLASSPATH_ENABLE_GJDOC],
371    AM_CONDITIONAL(CREATE_API_DOCS, test "x${ENABLE_GJDOC}" = xyes)    AM_CONDITIONAL(CREATE_API_DOCS, test "x${ENABLE_GJDOC}" = xyes)
372  ])  ])
373    
374    dnl -----------------------------------------------------------
375    dnl Enable regeneration of parsers using jay
376    dnl http://www.informatik.uni-osnabrueck.de/alumni/bernd/jay/
377    dnl -----------------------------------------------------------
378    AC_DEFUN([REGEN_WITH_JAY],
379    [
380      AC_ARG_WITH([jay],
381                  [AS_HELP_STRING(--with-jay,Regenerate the parsers with jay must be given the path to the jay executable)],
382      [
383        if test -d "${withval}"; then
384          JAY_DIR_PATH="${withval}"
385          AC_PATH_PROG(JAY, jay, "no", ${JAY_DIR_PATH})
386          if test "x${JAY}" = xno; then
387            AC_MSG_ERROR("jay executable not found");
388          fi
389        else
390          JAY_DIR_PATH=$(dirname "${withval}")
391          JAY="${withval}"
392          AC_SUBST(JAY)
393        fi
394        JAY_SKELETON="${JAY_DIR_PATH}/skeleton"
395        AC_CHECK_FILE(${JAY_SKELETON}, AC_SUBST(JAY_SKELETON),
396            AC_MSG_ERROR("Expected skeleton file in $(dirname ${withval})"))
397        JAY_FOUND=yes
398      ],
399      [
400        JAY_FOUND=no
401      ])
402      AM_CONDITIONAL(REGEN_PARSERS, test "x${JAY_FOUND}" = xyes)
403    ])

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26