Changeset 17db1cd for configure.ac
- Timestamp:
- Sep 29, 2006, 4:15:56 PM (18 years ago)
- 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:
- 5a405dd
- Parents:
- 8a1f9a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r8a1f9a4 r17db1cd 29 29 fi 30 30 AC_PROG_INSTALL 31 32 AUBIO_CFLAGS= 31 33 32 34 dnl Enable debugging (no) … … 38 40 then 39 41 AC_DEFINE(DEBUG,1,[Define to enable debug]) 40 CFLAGS="$CFLAGS-g"42 AUBIO_CFLAGS="$(AUBIO_CFLAGS) -g" 41 43 fi 42 44 … … 54 56 AC_COMPILE_IFELSE([void foo (void) {}], 55 57 ac_cv_cc_wextra=yes, ac_cv_cc_wextra=no) 58 CFLAGS="$old_CFLAGS" 56 59 ]) 57 60 if test "$ac_cv_cc_wextra" = "yes" 58 61 then 59 CFLAGS="$old_CFLAGS -Wall -Wextra"62 AUBIO_CFLAGS="$AUBIO_CFLAGS -Wall -Wextra" 60 63 else 61 CFLAGS="$old_CFLAGS -Wall"64 AUBIO_CFLAGS="$AUBIO_CFLAGS -Wall" 62 65 fi 63 66 fi … … 66 69 [ --enable-fwarn[[=value]] fail on compilation warnings [[default=yes]]], 67 70 with_warnme="no", 68 CFLAGS="$CFLAGS -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter")71 AUBIO_CFLAGS="$AUBIO_CFLAGS -Werror -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter") 69 72 70 73 dnl Check for libtool … … 85 88 LDFLAGS="$LDFLAGS -lmx" 86 89 dnl as long double doesn't sit well with -Wall -Werror 87 CFLAGS="$CFLAGS -Wno-long-double"90 AUBIO_CFLAGS="$AUBIO_CFLAGS -Wno-long-double" 88 91 AC_ISC_POSIX 89 92 ;;
Note: See TracChangeset
for help on using the changeset viewer.