diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-17 23:49:55 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2015-04-17 23:49:55 -0300 |
commit | bf42a95568f5efffcc87a9b5a7683b7b270a098f (patch) | |
tree | 4d3ea13c85bc34b609271ce0bf3b35cdf5a98c6f /configure.ac | |
parent | da54782672331c68fc7c412f4ebe27a9738342eb (diff) | |
download | blogc-bf42a95568f5efffcc87a9b5a7683b7b270a098f.tar.gz blogc-bf42a95568f5efffcc87a9b5a7683b7b270a098f.tar.bz2 blogc-bf42a95568f5efffcc87a9b5a7683b7b270a098f.zip |
replaced leg-based parser with handmade parser for templates
yay! no leg parser needed anymore. parsers still needs some work and
error handling, though.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/configure.ac b/configure.ac index f6b73db..5736a33 100644 --- a/configure.ac +++ b/configure.ac @@ -16,16 +16,6 @@ AS_IF([test "x$ac_cv_prog_cc_c99" = "xno"], [ AC_MSG_ERROR([no C99 compiler found, blogc requires a C99 compiler.]) ]) -AC_ARG_ENABLE([examples], AS_HELP_STRING([--enable-examples], [build examples])) -AS_IF([test "x$enable_examples" = "xyes"], [ - build_examples=yes - EXAMPLES="enabled" -], [ - build_examples=no - EXAMPLES="disabled" -]) -AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$build_examples" = "xyes"]) - AC_ARG_ENABLE([valgrind], AS_HELP_STRING([--disable-valgrind], [ignore presence of valgrind])) AS_IF([test "x$enable_valgrind" != "xno"], [ @@ -45,25 +35,6 @@ AM_CONDITIONAL([USE_VALGRIND], [test "x$have_valgrind" = "xyes"]) VALGRIND="$ac_cv_path_valgrind" AC_SUBST(VALGRIND) -AC_ARG_ENABLE([leg], AS_HELP_STRING([--disable-leg], - [ignore presence of peg/leg and disable parser grammar regeneration])) -AS_IF([test "x$enable_leg" != "xno"], [ - AC_PATH_PROG([leg], [leg]) - AS_IF([test "x$ac_cv_path_leg" = "x"], [ - have_leg=no - ], [ - have_leg=yes - ]) -]) -AS_IF([test "x$have_leg" = "xyes"], , [ - AS_IF([test "x$enable_leg" = "xyes"], [ - AC_MSG_ERROR([peg/leg requested but not found]) - ]) -]) -AM_CONDITIONAL([USE_LEG], [test "x$have_leg" = "xyes"]) -LEG="$ac_cv_path_leg" -AC_SUBST(LEG) - AC_ARG_ENABLE([cmocka], AS_HELP_STRING([--disable-cmocka], [ignore presence of cmocka. this will disable unit tests])) AS_IF([test "x$enable_cmocka" != "xno"], [ @@ -99,9 +70,7 @@ AS_ECHO(" cflags: ${CFLAGS} ldflags: ${LDFLAGS} - examples: ${EXAMPLES} cmocka: ${CMOCKA} valgrind: ${VALGRIND} - leg: ${LEG} ") |