Kaydet (Commit) e9e07bf5 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix ugly configure output (follow up to #6943)

üst 3281067e
#! /bin/sh #! /bin/sh
# From configure.in Revision: 78467 . # From configure.in Revision: 78817 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7. # Generated by GNU Autoconf 2.61 for python 2.7.
# #
...@@ -15610,31 +15610,7 @@ echo "${ECHO_T}no" >&6; } ...@@ -15610,31 +15610,7 @@ echo "${ECHO_T}no" >&6; }
fi fi
# Check for use of the system expat library if test -n "$ac_tool_prefix"; then
{ echo "$as_me:$LINENO: checking for --with-system-expat" >&5
echo $ECHO_N "checking for --with-system-expat... $ECHO_C" >&6; }
# Check whether --with-system_expat was given.
if test "${with_system_expat+set}" = set; then
withval=$with_system_expat;
fi
{ echo "$as_me:$LINENO: result: $with_system_expat" >&5
echo "${ECHO_T}$with_system_expat" >&6; }
# Check for use of the system libffi library
{ echo "$as_me:$LINENO: checking for --with-system-ffi" >&5
echo $ECHO_N "checking for --with-system-ffi... $ECHO_C" >&6; }
# Check whether --with-system_ffi was given.
if test "${with_system_ffi+set}" = set; then
withval=$with_system_ffi;
fi
if test "$with_system_ffi" = "yes"; then
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
{ echo "$as_me:$LINENO: checking for $ac_word" >&5 { echo "$as_me:$LINENO: checking for $ac_word" >&5
...@@ -15736,6 +15712,31 @@ else ...@@ -15736,6 +15712,31 @@ else
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
fi fi
# Check for use of the system expat library
{ echo "$as_me:$LINENO: checking for --with-system-expat" >&5
echo $ECHO_N "checking for --with-system-expat... $ECHO_C" >&6; }
# Check whether --with-system_expat was given.
if test "${with_system_expat+set}" = set; then
withval=$with_system_expat;
fi
{ echo "$as_me:$LINENO: result: $with_system_expat" >&5
echo "${ECHO_T}$with_system_expat" >&6; }
# Check for use of the system libffi library
{ echo "$as_me:$LINENO: checking for --with-system-ffi" >&5
echo $ECHO_N "checking for --with-system-ffi... $ECHO_C" >&6; }
# Check whether --with-system_ffi was given.
if test "${with_system_ffi+set}" = set; then
withval=$with_system_ffi;
fi
if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`" LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
else else
LIBFFI_INCLUDEDIR="" LIBFFI_INCLUDEDIR=""
......
...@@ -2039,6 +2039,8 @@ LIBS="$withval $LIBS" ...@@ -2039,6 +2039,8 @@ LIBS="$withval $LIBS"
], ],
[AC_MSG_RESULT(no)]) [AC_MSG_RESULT(no)])
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
# Check for use of the system expat library # Check for use of the system expat library
AC_MSG_CHECKING(for --with-system-expat) AC_MSG_CHECKING(for --with-system-expat)
AC_ARG_WITH(system_expat, AC_ARG_WITH(system_expat,
...@@ -2051,8 +2053,7 @@ AC_MSG_CHECKING(for --with-system-ffi) ...@@ -2051,8 +2053,7 @@ AC_MSG_CHECKING(for --with-system-ffi)
AC_ARG_WITH(system_ffi, AC_ARG_WITH(system_ffi,
AC_HELP_STRING(--with-system-ffi, build _ctypes module using an installed ffi library)) AC_HELP_STRING(--with-system-ffi, build _ctypes module using an installed ffi library))
if test "$with_system_ffi" = "yes"; then if test "$with_system_ffi" = "yes" && test -n "$PKG_CONFIG"; then
AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`" LIBFFI_INCLUDEDIR="`"$PKG_CONFIG" libffi --cflags-only-I 2>/dev/null | sed -e 's/^-I//;s/ *$//'`"
else else
LIBFFI_INCLUDEDIR="" LIBFFI_INCLUDEDIR=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment