]> git.mxchange.org Git - flightgear.git/commitdiff
Found some engine sounds on the net.
authorcurt <curt>
Wed, 3 Jun 1998 00:41:53 +0000 (00:41 +0000)
committercurt <curt>
Wed, 3 Jun 1998 00:41:53 +0000 (00:41 +0000)
Added a test for the OSS sound system to autoconf.
Added a Lib/Audio subdirectory.

Thanks
aclocal.m4
configure.in

diff --git a/Thanks b/Thanks
index 0f08839d7fc9c6a961f9df5b253751fc791c05c0..fc366066ae45b154358f9606d70991f9d77552d5 100644 (file)
--- a/Thanks
+++ b/Thanks
@@ -95,6 +95,12 @@ Alan Murta <amurta@cs.man.ac.uk>
   Created the Generic Polygon Clipping library
 
 
+Oscar <bigoc@premier.net>
+  Created single engine piston engine sounds as part of an F4U package
+  for FS98.  They are pretty cool and Oscar was happy to contribute
+  them to our little project.
+
+
 Jonathan R Shewchuk <Jonathan_R_Shewchuk@ux4.sp.cs.cmu.edu>
   Author of the Triangle program.  Triangle is used to calculate the
   Delauney triangulation of our irregular terrain.
index c4446b1ca4d097f3bd607bd563b1edfd1ec538f9..6163ea140e509439d796d64188f57910db970b54 100644 (file)
@@ -385,6 +385,19 @@ rm -f conftest*])
 CYGWIN32=
 test "$am_cv_cygwin32" = yes && CYGWIN32=yes])
 
+# Define a conditional.
+
+AC_DEFUN(AM_CONDITIONAL,
+[AC_SUBST($1_TRUE)
+AC_SUBST($1_FALSE)
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi])
+
 # Like AC_CONFIG_HEADER, but automatically create stamp file.
 
 AC_DEFUN(AM_CONFIG_HEADER,
index cc9b8d3ed83e5fe654223ee59de28535a3daed2c..d29ba87b53aa4a2100d513b7e1b4bd231a2d1871 100644 (file)
@@ -23,6 +23,10 @@ AM_MAINTAINER_MODE
 dnl Check to see if this `configure' is being run in the `Cygwin32' environment
 AM_CYGWIN32
 
+dnl Check for Linux style audio support
+AM_CONDITIONAL(HAVE_OSS_AUDIO, \
+       test -r /usr/include/soundcard.h -o -r /usr/include/linux/soundcard.h )
+
 AC_CHECK_HEADER(windows.h)
 
 dnl extra library and include directories