From dc34db7f6202bafd67d20ddb3edeab107df2a51d Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sun, 12 Apr 2009 10:48:20 +0000 Subject: [PATCH] Early morning code-o, setting AM_CONDITIONAL _after_ the Makefiles are generated isn't going to work very well. Originally committed to SVN as r2793. --- aegisub/configure.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/aegisub/configure.in b/aegisub/configure.in index ec56dbbc1..53d6cf129 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -1310,6 +1310,14 @@ fi AC_DEFINE_UNQUOTED([DEFAULT_PLAYER_AUDIO], ["$default_player_audio"], [Default audio player.]) + +############### +# Misc settings +############### +AM_CONDITIONAL([FOUND_AUDIO_PLAYER], [test "$found_audio_player" = "yes"]) +AM_CONDITIONAL([FOUND_VIDEO_PROVIDER], [test "$found_video_provider" = "yes"]) + + # Makefiles AC_CONFIG_FILES([ Makefile @@ -1334,7 +1342,6 @@ scripts/osx-bundle.sed AC_OUTPUT -AM_CONDITIONAL([FOUND_AUDIO_PLAYER], [test -z "$found_audio_player"]) if test -z "$found_audio_player"; then AC_MSG_NOTICE([ @@ -1352,7 +1359,6 @@ if test -z "$found_audio_player"; then ]) fi -AM_CONDITIONAL([FOUND_VIDEO_PROVIDER], [test -z "$found_video_provider"]) if test -z "$found_video_provider"; then AC_MSG_NOTICE([