Changeset 1055 for trunk/configure


Ignore:
Timestamp:
Jun 23, 2008, 4:15:25 PM (11 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1049 r1055  
    739739PYTHON_DISTUTILS
    740740RUBY
    741 SVN_VERSION
    742741RP_BASE
    743742SHLIB_LDFLAGS
     
    18871886
    18881887
     1888
     1889set -e
    18891890
    18901891#------------------------------------------------------------------------
     
    88388839PYTHON_LIB=""
    88398840PYTHON_LIBDIR=""
     8841PYTHON_SITE_DIR=""
    88408842PYTHON_SITE_PACKAGES=""
    8841 PYTHON_SITE_DIR=""
    88428843PYTHON_VERSION=""
    88438844pythondir=""
     
    89378938  { $as_echo "$as_me:$LINENO: checking for python distutils" >&5
    89388939$as_echo_n "checking for python distutils... " >&6; }
    8939   python_result="`${PYTHON} -c 'import distutils;' 2>&1`"
    8940   if test "x${python_result}" = "x" ; then
     8940  ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \
     8941        build build_ext 2>&1 > /dev/null
     8942  if test $? = 0 ; then
    89418943    PYTHON_DISTUTILS="yes"
    89428944  else
     
    89538955$as_echo_n "checking for Python include path... " >&6; }
    89548956    if test "x${PYTHON_CPPFLAGS}" = "x"; then
    8955       python_path=`${PYTHON} -c "import distutils.sysconfig; \
     8957      incdir_path=`${PYTHON} -c "import distutils.sysconfig; \
    89568958       print distutils.sysconfig.get_python_inc();"`
    8957       if test -n "${python_path}"; then
    8958         python_path="-I$python_path"
     8959      if test -n "${incdir}"; then
     8960        python_path="-I${incdir}"
    89598961      fi
    89608962      PYTHON_CPPFLAGS=$python_path
     
    89798981
    89808982echo "PYTHON=${PYTHON}"
     8983echo "PYTHON_CPPFLAGS=${PYTHON_CPPFLAGS}"
     8984echo "PYTHON_DISTUTILS=${PYTHON_DISTUTILS}"
    89818985echo "PYTHON_INCLUDES=${PYTHON_INCLUDES}"
    8982 echo "PYTHON_DISTUTILS=${PYTHON_DISTUTILS}"
    8983 echo "PYTHON_CPPFLAGS=${PYTHON_CPPFLAGS}"
     8986echo "PYTHON_LDFLAGS=${PYTHON_LDFLAGS}"
     8987echo "PYTHON_LIB=${PYTHON_LIB}"
     8988echo "PYTHON_LIBDIR=${PYTHON_LIBDIR}"
     8989echo "PYTHON_SITE_DIR=${PYTHON_SITE_DIR}"
    89848990echo "PYTHON_SITE_PACKAGES=${PYTHON_SITE_PACKAGES}"
    8985 echo "PYTHON_SUBDIR=${PYTHON_SUBDIR}"
    8986 echo "PYTHON_SITE_DIR=${PYTHON_SITE_DIR}"
    89878991echo "PYTHON_VERSION=${PYTHON_VERSION}"
    89888992echo "pythondir=${pythondir}"
     
    90619065fi
    90629066
    9063 SVN_VERSION=`svnversion $srcdir`
    9064 
    90659067{ $as_echo "$as_me:$LINENO: result: ${RUBY}" >&5
    90669068$as_echo "${RUBY}" >&6; }
     
    91869188fi
    91879189
     9190ac_configure_args="--disable-threads --enable-shared"
    91889191
    91899192
Note: See TracChangeset for help on using the changeset viewer.