diff options
| author | dscho <dscho> | 2005-06-06 19:48:38 +0000 |
|---|---|---|
| committer | dscho <dscho> | 2005-06-06 19:48:38 +0000 |
| commit | 714bd045e7dc5bbd77773d63a2e7fec4bd54a7cd (patch) | |
| tree | d331f1c8d262a0ac4cf5017431aa228a73b75b85 /configure.ac | |
| parent | 89148d774ffe8f31f733683997974f50a522deb5 (diff) | |
| download | libtdevnc-714bd045e7dc5bbd77773d63a2e7fec4bd54a7cd.tar.gz libtdevnc-714bd045e7dc5bbd77773d63a2e7fec4bd54a7cd.zip | |
link to libmp3lame only if exists
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5f7a1b4..7f19072 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,10 @@ AC_ARG_WITH(ffmpeg, [ --with-ffmpeg=dir set ffmpeg home directory],,) AC_SUBST(with_ffmpeg) AM_CONDITIONAL(WITH_FFMPEG, test ! -z "$with_ffmpeg") - +if test ! -z "$with_ffmpeg"; then + AC_CHECK_LIB(mp3lame, lame_init, HAVE_MP3LAME="true", HAVE_MP3LAME="false" ) +fi +AM_CONDITIONAL(HAVE_MP3LAME, test "$HAVE_MP3LAME" = "true") # Seem to need this dummy here to induce the 'checking for egrep... grep -E', etc. # before it seemed to be inside the with_jpeg conditional. |
