Changeset cbea730


Ignore:
Timestamp:
Oct 5, 2006, 2:05:03 PM (18 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:
1566886
Parents:
6a52f29
Message:

add -no-undefined on cygwin and mingw, define CPPFLAGS on darwin
add -no-undefined on cygwin and mingw, define CPPFLAGS on darwin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r6a52f29 rcbea730  
    8181AM_CONDITIONAL(MINGW, false)
    8282AM_CONDITIONAL(DARWIN, false)
    83 case "${host_os}" in
    84 *mingw*)
     83case "${build_os}" in
     84*mingw* | *cygwin*)
    8585  mingw32_support="yes"
    8686  AC_CHECK_HEADER(windows.h)
    8787  AM_CONDITIONAL(MINGW, true)
     88  LDFLAGS="$LDFLAGS -no-undefined"
    8889  ;;
    89 *darwin*)
     90*darwin* | *rhapsody* | *macosx*)
    9091  dnl on macosx, cosf went to -lmx
    9192  LDFLAGS="$LDFLAGS -lmx"
    9293  dnl as long double doesn't sit well with -Wall -Werror
    9394  AUBIO_CFLAGS="$AUBIO_CFLAGS -Wno-long-double"
     95  dnl Workaround darwin autoconf bug
     96  CPPFLAGS="$CPPFLAGS -I${prefix}/include"
    9497  AC_ISC_POSIX
    9598  AM_CONDITIONAL(DARWIN, true)
     
    106109AC_HEADER_STDC
    107110AC_CHECK_HEADERS([string.h stdlib.h stdio.h math.h errno.h stdarg.h unistd.h signal.h],,)
    108 AC_CHECK_HEADERS(fftw3.h  ,,AC_MSG_ERROR([Ouch! missing fftw3.h header]))
     111AC_CHECK_HEADERS(fftw3.h,,AC_MSG_ERROR([Ouch! missing fftw3.h header]))
    109112AC_ARG_ENABLE(complex,
    110113  AC_HELP_STRING([--enable-complex],[compile with complex.h [[default=auto]]]),
Note: See TracChangeset for help on using the changeset viewer.