- commit
- f0b36abc7cce2855447198fe7e88e4b9e76a11f1
- parent
- 40cc1a2061635889088450e4e983e044c1d3a615
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2010-11-19 19:01
check for wx
Diffstat
| M | configure.ac | 20 | +++++++++++++++++--- |
1 files changed, 17 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
@@ -34,8 +34,22 @@ else 34 34 fi 35 35 36 36 # Checks for libraries.37 -1 PKG_CHECK_MODULES([SDL],[sdl])38 -1 PKG_CHECK_MODULES([sndfile],[sndfile])-1 37 AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes, no) -1 38 if test x$HAVE_PKG_CONFIG = xno ; then -1 39 AC_MSG_ERROR([pkg-config is required for compilation!]) -1 40 fi -1 41 -1 42 AC_CHECK_PROG(HAVE_WX_CONFIG, wx-config, yes, no) -1 43 if test x$HAVE_WX_CONFIG = xno ; then -1 44 AC_MSG_ERROR([wx-config is required for compilation! Is wxWidgets installed?]) -1 45 fi -1 46 -1 47 AC_CHECK_PROG(HAVE_SDL_CONFIG, sdl-config, yes, no) -1 48 if test x$HAVE_SDL_CONFIG = xno ; then -1 49 AC_MSG_ERROR([sdl-config is required for compilation! Is SDL installed?]) -1 50 fi -1 51 -1 52 PKG_CHECK_MODULES([SNDFILE],[sndfile]) 39 53 40 54 PKG_CHECK_MODULES([RubberBand],[rubberband >= 1.4], 41 55 [ @@ -47,7 +61,7 @@ PKG_CHECK_MODULES([RubberBand],[rubberband >= 1.4], 47 61 echo " Compiling without RubberBand support!" 48 62 ]) 49 6350 -1 PKG_CHECK_MODULES([mad],[mad],-1 64 PKG_CHECK_MODULES([MAD],[mad], 51 65 [ 52 66 _CFLAGS="$_CFLAGS -DENABLE_MP3" 53 67 # _PKGC="$_PKGC rubberband"