| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/net-mgmt/aircrack-ng/files/ |
Upload File : |
--- build/m4/aircrack_ng_pcre.m4.orig 2018-12-09 22:53:44 UTC
+++ build/m4/aircrack_ng_pcre.m4
@@ -38,21 +38,27 @@ dnl If you delete this exception statement from all so
dnl program, then also delete it here.
AC_DEFUN([AIRCRACK_NG_PCRE], [
+
+AC_ARG_ENABLE([pcre],
+ AS_HELP_STRING([--disable-pcre],[Disable PCRE (libpcre).]))
+
AC_ARG_ENABLE(static-pcre,
AS_HELP_STRING([--enable-static-pcre],
[Enable statically linked PCRE libpcre.]),
[static_pcre=$enableval], [static_pcre=no])
+HAVE_PCRE=no
+
if test "x$static_pcre" != "xno"; then
AC_REQUIRE([AX_EXT_HAVE_STATIC_LIB_DETECT])
AX_EXT_HAVE_STATIC_LIB(PCRE, ${DEFAULT_STATIC_LIB_SEARCH_PATHS}, pcre libpcre, pcre_version)
if test "x$PCRE_FOUND" = xyes; then
HAVE_PCRE=yes
- else
- HAVE_PCRE=no
fi
else
+ if test x$enable_pcre != xno; then
PKG_CHECK_MODULES(PCRE, libpcre, HAVE_PCRE=yes, HAVE_PCRE=no)
+ fi
fi
AS_IF([test "x$HAVE_PCRE" = "xyes"], [