~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/pandora_flex.m4

  • Committer: Monty Taylor
  • Date: 2010-10-08 17:50:28 UTC
  • mto: This revision was merged to the branch mainline in revision 1833.
  • Revision ID: mordred@inaugust.com-20101008175028-8gssuh4e75xnqko2
Updated pandora-build files to version 0.158

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  dnl  Check for flex
11
11
  dnl --------------------------------------------------------------------
12
12
 
13
 
  AC_CHECK_PROGS(LEX, ['flex'], [:])
 
13
  AC_CHECK_PROGS([LEX], ['flex'], [:])
14
14
  AS_IF([test "x$LEX" = "x:"],[
15
15
    pandora_have_flex=no
16
16
    LEX='if test -f "$@"; then echo "WARNING: no proper flex binary found, ignoring changes to $<"; exit 0; else echo "ERROR: no proper flex binary found"; exit 1; fi;'
29
29
  AC_REQUIRE([PANDORA_HAVE_FLEX])
30
30
  AS_IF([test "x${pandora_have_flex}" = "xno" -a "$pandora_building_from_bzr" = "yes"],
31
31
      AC_MSG_ERROR(["flex is required for ${PACKAGE} to build from a bzr branch"])
 
32
      )
32
33
])