diff to fix recent linux crashes

Mike Frantzen mike2 at w4g.org
Wed Aug 23 15:57:10 CEST 2006


Index: libminisip/configure.ac
===================================================================
--- libminisip/configure.ac	(revision 2722)
+++ libminisip/configure.ac	(working copy)
@@ -93,14 +93,15 @@
 AC_ARG_ENABLE(oss,
     AS_HELP_STRING([--disable-oss], 
     	[disables OSS sound IO support (default enabled)]),
-    [ if test "${enable_oss}" = "no"
-      then
-      	AC_DEFINE(NO_OSS, [], [No OSS support])
-      else
-        AC_DEFINE(ENABLE_OSS, [], [OSS support])
-      fi ])
+)
+if test "${enable_oss}" = "no"
+then
+      AC_DEFINE(NO_OSS, [], [No OSS support])
+else
+      AC_DEFINE(ENABLE_OSS, [], [OSS support])
+fi
 
-AM_CONDITIONAL(ENABLE_OSS, [test "${enable_oss}" = "yes"])
+AM_CONDITIONAL(ENABLE_OSS, [test "${enable_oss}" != "no"])
 
 
 


More information about the Minisip-devel mailing list