2
1

0001-configure-use-user-set-pcre-config.patch 979 B

123456789101112131415161718192021222324252627282930313233
  1. From: Baruch Siach <baruch@tkos.co.il>
  2. Date: Thu, 3 Mar 2016 23:14:39 +0200
  3. Subject: [PATCH] configure: use user set pcre-config
  4. Setting a non default configuration script location is common practice when
  5. cross compiling, since the target library might need different flags. zsh
  6. configure scripts allows the user to set pcre-config location but doesn't
  7. actually use it. Fix this.
  8. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  9. ---
  10. Patch status: sent upstream
  11. (http://www.zsh.org/mla/workers/2016/msg00619.html)
  12. configure.ac | 2 +-
  13. 1 file changed, 1 insertion(+), 1 deletion(-)
  14. diff --git a/configure.ac b/configure.ac
  15. index c3bd713c126a..9947b16066b6 100644
  16. --- a/configure.ac
  17. +++ b/configure.ac
  18. @@ -925,7 +925,7 @@ fi
  19. if test x$enable_pcre = xyes; then
  20. dnl pcre-config should probably be employed here
  21. dnl AC_SEARCH_LIBS(pcre_compile, pcre)
  22. - LIBS="`pcre-config --libs` $LIBS"
  23. + LIBS="`$ac_cv_prog_PCRECONF --libs` $LIBS"
  24. fi
  25. dnl ---------------------
  26. --
  27. 2.7.0