From 3ffab3993e1e9d920884d11ee33f69fc569c1b98 Mon Sep 17 00:00:00 2001 From: curt Date: Wed, 3 Jun 1998 00:41:53 +0000 Subject: [PATCH] Found some engine sounds on the net. Added a test for the OSS sound system to autoconf. Added a Lib/Audio subdirectory. --- Thanks | 6 ++++++ aclocal.m4 | 13 +++++++++++++ configure.in | 4 ++++ 3 files changed, 23 insertions(+) diff --git a/Thanks b/Thanks index 0f08839d7..fc366066a 100644 --- a/Thanks +++ b/Thanks @@ -95,6 +95,12 @@ Alan Murta Created the Generic Polygon Clipping library +Oscar + 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 Author of the Triangle program. Triangle is used to calculate the Delauney triangulation of our irregular terrain. diff --git a/aclocal.m4 b/aclocal.m4 index c4446b1ca..6163ea140 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -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, diff --git a/configure.in b/configure.in index cc9b8d3ed..d29ba87b5 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.39.5