| Server IP : 82.208.35.60 / Your IP : 216.73.217.116 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/finance/quickfix/files/ |
Upload File : |
--- m4/ax_python.m4.orig 2018-04-16 02:40:31 UTC
+++ m4/ax_python.m4
@@ -18,10 +18,13 @@ AC_ARG_WITH(python2,
has_python3=false
AC_ARG_WITH(python3,
[ --with-python3 will use $PYTHON to find python],
- [
+ [if test $withval == "no"
+ then
+ has_python3=false
+ else
has_python=true
has_python3=true
- ],
+ fi],
has_python3=false
)
@@ -54,10 +57,10 @@ fi
if test $has_python3 = true
then
- PYTHON3_INCLUDE_PATH=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
+ PYTHON3_INCLUDE_PATH=[`python3.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_inc(1) )'`]
PYTHON3_CFLAGS="-I${PYTHON3_INCLUDE_PATH}"
AC_SUBST(PYTHON3_CFLAGS)
- PYTHON3_SITE_PACKAGES=[`python3 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
+ PYTHON3_SITE_PACKAGES=[`python3.7 -c 'from distutils import sysconfig; print( sysconfig.get_python_lib(1) )'`]
AC_SUBST(PYTHON3_SITE_PACKAGES)
AC_DEFINE(HAVE_PYTHON3, 1, Define if you have python3)
fi