Sha256: 17f1a3b5e8efbccc3b8491a842f373c0f478718636c3264bee127eeaa99b0b97

Contents?: true

Size: 1.18 KB

Versions: 2

Compression:

Stored size: 1.18 KB

Contents

dnl Copyright (C) 2010 Monty Taylor
dnl Copyright (C) 2010 Hartmut Holzgraefe
dnl This file is free software; Monty Taylor and Hartmut Holzgraefe
dnl give unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([_PANDORA_SEARCH_BISON],[

  dnl --------------------------------------------------------------------
  dnl  Check for bison
  dnl --------------------------------------------------------------------

  AC_CHECK_PROGS([YACC], ['bison -y'], [:])
  AS_IF([test "x$YACC" = "x:"],[
    pandora_have_bison=no
    YACC='if test -f "$@"; then echo "WARNING: no proper bison binary found, ignoring changes to $<"; exit 0; else echo "ERROR: no proper bison binary found"; exit 1; fi;'
    ],[
    pandora_have_bison=yes
    ])

  AM_CONDITIONAL(HAVE_BISON, [test "x${pandora_have_bison}" = "xyes"])
])

AC_DEFUN([PANDORA_HAVE_BISON],[
  AC_REQUIRE([_PANDORA_SEARCH_BISON])
])

AC_DEFUN([PANDORA_REQUIRE_BISON],[
  AC_REQUIRE([PANDORA_HAVE_BISON])
  AS_IF([test "x${pandora_have_bison}" = "xno" -a "$pandora_building_from_bzr" = "yes"],
      AC_MSG_ERROR(["bison is required for ${PACKAGE} to build from a bzr branch"])
      )
])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
couchbase-memcached-1.2.9 ext/libmemcached-0.50/m4/pandora_bison.m4
couchbase-memcached-1.2.8 ext/libmemcached-0.50/m4/pandora_bison.m4