forked from premiere/premiere-libtorrent
fix configure scripts to work on mac with updated macports
This commit is contained in:
parent
b3372dced6
commit
bf84616aca
|
@ -1,14 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
rm -f config.cache
|
rm -f config.cache
|
||||||
rm -fr autom4te.cache
|
rm -fr autom4te.cache
|
||||||
|
rm -rf config.log
|
||||||
|
rm -rf Makefile
|
||||||
chmod a-x docs/*.rst docs/*.htm*
|
chmod a-x docs/*.rst docs/*.htm*
|
||||||
|
|
||||||
/opt/local/bin/autoheader
|
autoheader
|
||||||
/opt/local/bin/aclocal -I m4
|
aclocal -I m4
|
||||||
/opt/local/bin/glibtool -f
|
glibtoolize -f
|
||||||
/opt/local/bin/automake -ac
|
automake -ac
|
||||||
/opt/local/bin/autoconf
|
autoconf
|
||||||
./configure --enable-python-binding --with-zlib=shipped --enable-examples=yes --enable-tests=yes
|
./configure --enable-python-binding --with-zlib=shipped --enable-examples=yes --enable-tests=yes --with-boost-system=mt --with-boost-python=mt --with-boost-thread=mt --with-boost-filesystem=mt --with-boost-regex=mt --with-boost-program-options=mt
|
||||||
# --with-boost-python=mt-1_35 --with-boost-thread=mt-1_35 --with-boost-system=mt-1_35 --with-boost-filesystem=mt-1_35 --with-boost-regex=mt-1_35 --with-boost-program-options=mt-1_35
|
make -j 8 dist check
|
||||||
make dist check
|
|
||||||
|
|
||||||
|
|
|
@ -59,13 +59,18 @@ AC_DEFUN([AX_PYTHON],
|
||||||
[AC_MSG_CHECKING(for python build information)
|
[AC_MSG_CHECKING(for python build information)
|
||||||
AC_MSG_RESULT([])
|
AC_MSG_RESULT([])
|
||||||
for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
|
for python in python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python; do
|
||||||
AC_CHECK_PROGS(PYTHON_BIN, [$python])
|
# AC_CHECK_PROGS(PYTHON_BIN, [$python])
|
||||||
|
PYTHON_BIN=$python
|
||||||
ax_python_bin=$PYTHON_BIN
|
ax_python_bin=$PYTHON_BIN
|
||||||
if test x$ax_python_bin != x; then
|
if test x$ax_python_bin != x; then
|
||||||
AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
|
AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
|
||||||
AC_CHECK_HEADER([$ax_python_bin/Python.h],
|
AC_CHECK_HEADER([$ax_python_bin/Python.h], ax_python_header=/usr/include/$ax_python_bin, ax_python_header=no)
|
||||||
ax_python_header=/usr/include/$ax_python_bin,
|
if test $ax_python_lib != no; then
|
||||||
ax_python_header=no)
|
if test $ax_python_header != no; then
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
AC_CHECK_HEADER([$ax_python_bin/Python.h], ax_python_header=/opt/local/include/$ax_python_bin, ax_python_header=no)
|
||||||
if test $ax_python_lib != no; then
|
if test $ax_python_lib != no; then
|
||||||
if test $ax_python_header != no; then
|
if test $ax_python_header != no; then
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue