# HG changeset patch # User Mike Miller # Date 1493958816 25200 # Node ID 9b34c17cb0fbeed6154dc7c97d57010132ad594d # Parent 6b9de18b4bdda98ffba7e913e43001a8c65e7f70 maint: update m4 macros from autoconf-archive * m4/ax_python_devel.m4: Import updated file from autoconf-archive. diff -r 6b9de18b4bdd -r 9b34c17cb0fb m4/ax_python_devel.m4 --- a/m4/ax_python_devel.m4 Thu May 04 21:15:07 2017 -0700 +++ b/m4/ax_python_devel.m4 Thu May 04 21:33:36 2017 -0700 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_python_devel.html +# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html # =========================================================================== # # SYNOPSIS @@ -52,7 +52,7 @@ # Public License for more details. # # You should have received a copy of the GNU General Public License along -# with this program. If not, see . +# with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure @@ -67,7 +67,7 @@ # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. -#serial 18 +#serial 20 AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL]) AC_DEFUN([AX_PYTHON_DEVEL],[ @@ -137,7 +137,7 @@ # AC_MSG_CHECKING([for the distutils Python package]) ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` - if test -z "$ac_distutils_result"; then + if test $? -eq 0; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no])