f0bcadfb033c78c78631c4430288a60aa639100f |
|
18-Apr-2018 |
Lukas Slebodnik <lslebodn@redhat.com> |
CONFIGURE: drop unused check
Related to: https://pagure.io/SSSD/sssd/issue/3656
Reviewed-by: Sumit Bose <sbose@redhat.com> |
9c5e4ae08ea41f9b1cdb3b3d0e9c35056baeab86 |
|
28-May-2015 |
Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com> |
BUILD: Add AM_PYTHON2_MODULE macro
Add AM_PYTHON2_MODULE - an autoconf macro checking for presence of
Python 2 modules. This is for use with the upcoming integration tests
configuration, but can be used by other code as well.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com> |
dc4c30bae512c0b45ff925d9e998337f8fe97e94 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
BUILD: Use python-config for detection *FLAGS
The script python-config was not available in older versions of python.
This patch simplify detection of python CFLAGS and LDFLAGS and increase
minimal required version of python to 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
e4796d5ed8e08be7f3767e12753389b18a2ce9f0 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_unicode_from_string
The function PyUnicode_FromString is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
03e9d9d6c1d8768a6f70217bababd82de29bc770 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove compatibility macro PyModule_AddIntMacro
The macro PyModule_AddIntMacro is defined in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
a63b368a025a61edf41a3d5ce34f325b03295cf6 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_check
The macro PySet_Check is defined in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
887edd6b7c53fde44eb9f9060e09db5cd981ba37 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_add
The function PySet_Add is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
9eabaad5e0f3f20a6bcec0629342584c244a79bc |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
UTIL: Remove python wrapper sss_python_set_new
The function PySet_New is available in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
d6c3de740c7bed8b007805d6a313220d8d974ee5 |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
BUILD: Remove detection of type Py_ssize_t
The type Py_ssize_t is defined in python >= 2.6
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
36458f3054020f046c4a9b81d0112c7ca2e1be1c |
|
25-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
BUILD: Remove unused variables
Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> |
e8058322725ba050014777ee2484f7e833ab1e3a |
|
13-Feb-2015 |
Lukas Slebodnik <lslebodn@redhat.com> |
Remove strict requirements of python2
* fix hashbangs
* remove strict requirements of python2 in build system
Resolves:
https://fedorahosted.org/sssd/ticket/2017
Reviewed-by: Petr Viktorin <pviktori@redhat.com> |
341a00311680a440d7f979f06c34c70d86c9367a |
|
13-Jan-2015 |
Bohuslav Kabrda <bkabrda@redhat.com> |
Python3 support in SSSD
https://fedorahosted.org/sssd/ticket/2017 |
b80e8b76ad377c24865bb2eb5931893279f1f042 |
|
20-Jun-2014 |
Lukas Slebodnik <lslebodn@redhat.com> |
CONFIGURE: Prefer python2
The configure script failed with python3
checking for python... /usr/bin/python
checking for python version... 3.3
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.3/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.3/site-packages
checking for headers required to compile python extensions... File "<string>", line 1
import sys; print sys.prefix
^
SyntaxError: invalid syntax
File "<string>", line 1
import sys; print sys.exec_prefix
^
SyntaxError: invalid syntax
not found
configure: error: Could not find python headers
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Reviewed-by: Pavel Reichl <preichl@redhat.com> |
711f8acc0f520487060c308870f70dbbfa84f272 |
|
09-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
AUTOTOOLS: Add missing AC_MSG_RESULT
AC_MSG_RESULT was not used everywhere after AC_MSG_CHECKING.
Therefore two lines from configure output was mixed in some cases. |
f705b1d1299b41e2f00722257db09d7b67167902 |
|
09-Sep-2013 |
Lukas Slebodnik <lslebodn@redhat.com> |
AUTOTOOLS: Add -LLIBDIR to PYTHON_LIBS
Detect directory with python libraries and add this
directory to the list of directories to be searched for linker. |
72e60fd4eabcfbcdbfe01e8c38b94052bc6c2067 |
|
13-Jul-2011 |
Jakub Hrozek <jhrozek@redhat.com> |
Fix python HBAC bindings for python <= 2.4
Several parts of the HBAC python bindings did not work with old Python
versions, such as the one shipped in RHEL5.
The changes include:
* a compatibility wrapper around python set object
* PyModule_AddIntMacro compat macro
* Py_ssize_t compat definition
* Do not use PyUnicode_FromFormat
* several function prototypes and structures used to have "char
arguments where they have "const char *" in recent versions.
This caused compilation warnings this patch mitigates by using
the discard_const hack on python 2.4 |
1c48b5a62f73234ed26bb20f0ab345ab61cda0ab |
|
18-Feb-2010 |
Stephen Gallagher <sgallagh@redhat.com> |
Rename server/ directory to src/
Also update BUILD.txt |