]> git.pld-linux.org Git - packages/audacity.git/blob - audacity-system-libs.patch
- updated gettext BR
[packages/audacity.git] / audacity-system-libs.patch
1 --- audacity-src-1.3.2-beta/m4/audacity_checklib_libresample.m4.orig    2006-12-29 17:01:36.794372000 +0100
2 +++ audacity-src-1.3.2-beta/m4/audacity_checklib_libresample.m4 2006-12-29 17:23:30.465234287 +0100
3 @@ -133,7 +151,22 @@
4  
5     dnl ... but libresample isn't generally installed as a system library...
6  
7 -   LIBRESAMPLE_SYSTEM_AVAILABLE="no"
8 +   AC_CHECK_LIB(resample, resample_open,
9 +                libresample_found="yes",
10 +                libresample_found="no")
11 +
12 +   AC_CHECK_HEADER(libresample.h,
13 +                   libresample_h_found="yes",
14 +                   libresample_h_found="no")
15 +
16 +   if test "x$libresample_found" = "xyes" && test "x$libresample_h_found" = "xyes" ; then
17 +      LIBRESAMPLE_SYSTEM_AVAILABLE="yes"
18 +      LIBRESAMPLE_SYSTEM_LIBS=-lresample
19 +      AC_MSG_NOTICE([Libresample libraries are available as system libraries])
20 +   else
21 +      LIBRESAMPLE_SYSTEM_AVAILABLE="no"
22 +      AC_MSG_NOTICE([Libresample libraries are NOT available as system libraries])
23 +   fi
24  
25     dnl see if libresample is available locally
26  
This page took 0.029572 seconds and 3 git commands to generate.