From 5a45cb64923465a28a959744d9173d9ab7b61782 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 2 Sep 2006 15:48:21 +0000 Subject: [PATCH] -lm needs to come before -laudio to avoid link errors in the NAS check. patch by Bernd Ernesti, mplayer-dev-eng [{at}] lists [{dot}] veego [{dot}] de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19640 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fd2f93d092..3ea67dfb77 100755 --- a/configure +++ b/configure @@ -4592,7 +4592,7 @@ if test "$_nas" = auto ; then int main(void) { return 0; } EOF _nas=no - cc_check -laudio -lXt $_ld_x11 $_ld_lm && _nas=yes + cc_check $_ld_lm -laudio -lXt $_ld_x11 && _nas=yes fi if test "$_nas" = yes ; then _def_nas='#define HAVE_NAS 1'