diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-14 02:27:23 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-12-14 02:27:23 +0000 |
| commit | e73818789d33c0cc4a3bc483b04eb56c543a58e8 (patch) | |
| tree | bcbb6fbfd018596cedea8201b35f64db083a3849 | |
| parent | 4ba1119822120de84b61ef7d503117b248119720 (diff) | |
Add Cygwin/MingW support for winmm library... (STR #1121)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | configure.in | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/configure.in b/configure.in index cacd44433..59ee1d8c4 100644 --- a/configure.in +++ b/configure.in @@ -426,13 +426,22 @@ AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL)) dnl Check for audio libraries... AUDIOLIBS="" -AC_CHECK_HEADER(alsa/asoundlib.h, - AC_DEFINE(HAVE_ALSA_ASOUNDLIB_H) - AUDIOLIBS="-lasound") +case $uname in + CYGWIN* | MINGW*) + dnl Cygwin environment... + AUDIOLIBS="-lwinmm" + ;; -if test x$uname = xDarwin; then - AUDIOLIBS="-framework CoreAudio" -fi + Darwin*) + AUDIOLIBS="-framework CoreAudio" + ;; + + *) + AC_CHECK_HEADER(alsa/asoundlib.h, + AC_DEFINE(HAVE_ALSA_ASOUNDLIB_H) + AUDIOLIBS="-lasound") + ;; +esac AC_SUBST(AUDIOLIBS) |
