From 14d734298e0d75fdbbc9425d73730528c84ea9fc Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 7 Nov 2011 15:50:52 +0000 Subject: [PATCH] Add -lrt to the test for ALSA Originally committed to SVN as r5827. --- aegisub/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/configure.in b/aegisub/configure.in index 5fba16144..f72ef7f1c 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -526,7 +526,7 @@ fi if test "$with_alsa" != "no"; then aegisub_save_LDFLAGS="$LDFLAGS" LDFLAGS="$ALSA_LDFLAGS" - AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound"; with_alsa="yes"], [with_alsa="no"]) + AC_CHECK_LIB([asound], [snd_pcm_open], [ALSA_LDFLAGS="-lasound -lrt"; with_alsa="yes"], [with_alsa="no"]) LDFLAGS="$aegisub_save_LDFLAGS" fi