This is a similar PR than the one for libimobiledevice: current AC_PYTHON_DEVEL macro (from m4/ac_python_devel.m4) clobbers CPPFLAGS without properly restoring it.
Fix that by updating the macro to the latest version provided by autoconf-archive (which is called AX_PYTHON_DEVEL and comes from the ax_python_devel.m4 file).
Also update ax_pthread to latest, although the only change is the upstream URL.
I cherry-picked two of the commits because I already pushed a commit for tha ac_python_devel.m4 -> ax_python_devel.m4 myself. Thanks for the contribution!
This is a similar PR than the one for libimobiledevice: current AC_PYTHON_DEVEL macro (from m4/ac_python_devel.m4) clobbers CPPFLAGS without properly restoring it.
Fix that by updating the macro to the latest version provided by autoconf-archive (which is called AX_PYTHON_DEVEL and comes from the ax_python_devel.m4 file).
Also update ax_pthread to latest, although the only change is the upstream URL.