diff options
author | Explorer09 <explorer09@gmail.com> | 2016-10-31 21:15:41 +0800 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2016-11-14 14:23:27 -0500 |
commit | 5d71e9ffb98e3ed719b5bf7ed2c52d8b6f26e65f (patch) | |
tree | 2de82bdcae6468ec7e94a72ca929685b9a24d45c /configure.ac | |
parent | 347652c32b4614995acd4ee0d686499da2070d9e (diff) |
build: Add --disable-libfl configure option.
Disabling libfl is useful when building flex for a cross-toolchain.
Fixes: GH-99
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 75fa9d5..362740a 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,12 @@ AC_ARG_ENABLE([warnings], AC_SUBST([WARNINGFLAGS]) +AC_ARG_ENABLE([libfl], + [AS_HELP_STRING([--disable-libfl], + [do not build -lfl runtime support library])], + [], [enable_libfl=yes]) +AM_CONDITIONAL([ENABLE_LIBFL], [test "$enable_libfl" = yes]) + AC_PATH_PROG([BISON], bison, no) AS_IF([test "$BISON" != no],[], [ AC_SUBST([BISON], [\${top_srcdir}/build-aux/missing bison]) |