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
This commit is contained in:
parent
4ba1119822
commit
e73818789d
17
configure.in
17
configure.in
@ -426,13 +426,22 @@ AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL))
|
||||
dnl Check for audio libraries...
|
||||
AUDIOLIBS=""
|
||||
|
||||
case $uname in
|
||||
CYGWIN* | MINGW*)
|
||||
dnl Cygwin environment...
|
||||
AUDIOLIBS="-lwinmm"
|
||||
;;
|
||||
|
||||
Darwin*)
|
||||
AUDIOLIBS="-framework CoreAudio"
|
||||
;;
|
||||
|
||||
*)
|
||||
AC_CHECK_HEADER(alsa/asoundlib.h,
|
||||
AC_DEFINE(HAVE_ALSA_ASOUNDLIB_H)
|
||||
AUDIOLIBS="-lasound")
|
||||
|
||||
if test x$uname = xDarwin; then
|
||||
AUDIOLIBS="-framework CoreAudio"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(AUDIOLIBS)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user