changeset 19634:7ec9c72264bc

-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
author diego
date Sat, 02 Sep 2006 15:48:21 +0000
parents 7f1da6f584c0
children 4a64fecfb425
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat Sep 02 15:20:54 2006 +0000
+++ b/configure	Sat Sep 02 15:48:21 2006 +0000
@@ -4592,7 +4592,7 @@
 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'