patch-configure_ac 1.1 KB

123456789101112131415161718192021222324252627282930
  1. --- flex-2.6.4.orig/configure.ac 2017-05-03 22:16:37.000000000 +0200
  2. +++ flex-2.6.4/configure.ac 2019-09-30 18:05:13.288027994 +0200
  3. @@ -25,8 +25,10 @@
  4. # autoconf requirements and initialization
  5. AC_INIT([the fast lexical analyser generator],[2.6.4],[flex-help@lists.sourceforge.net],[flex])
  6. +AC_PREREQ([2.60])
  7. AC_CONFIG_SRCDIR([src/scan.l])
  8. AC_CONFIG_AUX_DIR([build-aux])
  9. +AC_USE_SYSTEM_EXTENSIONS
  10. LT_INIT
  11. AM_INIT_AUTOMAKE([1.11.3 -Wno-portability foreign check-news std-options dist-lzip parallel-tests subdir-objects])
  12. AC_CONFIG_HEADER([src/config.h])
  13. @@ -37,8 +39,6 @@ AC_SUBST(SHARED_VERSION_INFO)
  14. # checks for programs
  15. -AM_GNU_GETTEXT([external])
  16. -AM_GNU_GETTEXT_VERSION([0.18])
  17. AC_PROG_YACC
  18. AS_IF([test "$YACC" != 'bison -y'], [
  19. YACC="\${top_srcdir}/build-aux/missing bison -y"
  20. @@ -166,6 +166,7 @@ strtol dnl
  21. AC_CHECK_FUNCS([dnl
  22. pow dnl Used only by "examples/manual/expr"
  23. setlocale dnl Needed only if NLS is enabled
  24. +reallocarr dnl NetBSD function. Use reallocarray if not available.
  25. reallocarray dnl OpenBSD function. We have replacement if not available.
  26. ])