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
5 dnl ... but libresample isn't generally installed as a system library...
7 - LIBRESAMPLE_SYSTEM_AVAILABLE="no"
8 + AC_CHECK_LIB(resample, resample_open,
9 + libresample_found="yes",
10 + libresample_found="no")
12 + AC_CHECK_HEADER(libresample.h,
13 + libresample_h_found="yes",
14 + libresample_h_found="no")
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])
21 + LIBRESAMPLE_SYSTEM_AVAILABLE="no"
22 + AC_MSG_NOTICE([Libresample libraries are NOT available as system libraries])
25 dnl see if libresample is available locally