0001-configure-Check-for-flex-if-lex-is-not-found.patch 833 B

1234567891011121314151617181920212223242526272829
  1. From 4d09032741475c4e9d3de62c8187597f3f72f934 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Sun, 22 Nov 2020 12:32:01 -0800
  4. Subject: [PATCH] configure: Check for flex if lex is not found
  5. lex is already checked by this time, therefore check should be to find
  6. flex
  7. Upstream-Status: Submitted [https://github.com/pikhq/musl-nscd/pull/12]
  8. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  9. ---
  10. configure | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. diff --git a/configure b/configure
  13. index 256824a..4c94568 100755
  14. --- a/configure
  15. +++ b/configure
  16. @@ -249,7 +249,7 @@ printf "checking for lex... "
  17. trylex ${CROSS_COMPILE}lex
  18. trylex lex
  19. trylex ${CROSS_COMPILE}flex
  20. -trylex lex
  21. +trylex flex
  22. printf "%s\n" "$LEX"
  23. test -n "$LEX" || echo "$0: cannot find lex. Will try to use pre-provided source."
  24. --
  25. 2.29.2