aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-05 20:15:43 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-05 20:15:43 +0000
commit2b2913cd7a8dd72045eef8ae6e311a8b9e3bc1eb (patch)
tree4501a6409dec1fe0540c52364daf0bad868a9607 /configure.ac
parent8c814ff84357dbf8704d8b5a0b437e717496b241 (diff)
update OSS so it works again
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37086 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 5 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 2097a3a1c..acdc55187 100644
--- a/configure.ac
+++ b/configure.ac
@@ -445,23 +445,22 @@ AST_EXT_LIB_CHECK([OGG], [ogg], [ogg_sync_init], [])
AST_EXT_LIB_CHECK([OSPTK], [osptk], [OSPPCryptoDecrypt], [osp/osp.h], [-lcrypto -lssl])
-PBX_LIBOSS=0
+PBX_OSS=0
AC_CHECK_HEADER([linux/soundcard.h],
[
- PBX_LIBOSS=1
+ PBX_OSS=1
AC_DEFINE_UNQUOTED([HAVE_OSS], 1, [Define to indicate the Open Sound System library])
])
-if test "$PBX_LIBOSS" = "0"; then
+if test "$PBX_OSS" = "0"; then
AC_CHECK_HEADER([sys/soundcard.h],
[
- PBX_LIBossaudio=1
+ PBX_OSS=1
AC_DEFINE_UNQUOTED([HAVE_OSS], 1, [Define to indicate the Open Sound System library])
])
fi
-if test "$PBX_LIBOSS" = "0"; then
+if test "$PBX_OSS" = "0"; then
AST_EXT_LIB_CHECK([OSS], [ossaudio], [oss_ioctl_mixer], [soundcard.h])
fi
-AC_SUBST([PBX_LIBOSS])
PG_CONFIG=No
if test "${USE_PGSQL}" != "no"; then