Changeset d09cad2


Ignore:
Timestamp:
May 30, 2005, 10:07:40 AM (20 years ago)
Author:
Paul Brossier <piem@altern.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
8e25b1b
Parents:
80c0417
Message:

fix compilation of swig/python on macosx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r80c0417 rd09cad2  
    161161AM_PATH_PYTHON
    162162AM_CONDITIONAL(PYTHONFOUND, test "${PYTHON}" != "no")
     163
     164#if PYTHONFOUND
     165case "${host_os}" in
     166darwin*)
     167  SWCFLAGS="-Wno-long-double"
     168  SWLDFLAGS="-bundle -framework python -L${prefix}/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
     169  ;;
     170*)
     171  SWLDFLAGS="-shared"
     172  ;;
     173esac
     174
     175AC_SUBST(SWCFLAGS)
     176AC_SUBST(SWLDFLAGS)
    163177
    164178AC_PATH_PROG(DOCBOOK_TO_MAN,docbook-to-man,no)
Note: See TracChangeset for help on using the changeset viewer.