Fixes NE10 configure problem
authorJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 1 Nov 2016 22:41:23 +0000 (18:41 -0400)
committerJean-Marc Valin <jmvalin@jmvalin.ca>
Tue, 1 Nov 2016 22:41:23 +0000 (18:41 -0400)
As reported by agatx in https://trac.xiph.org/ticket/2291

configure.ac

index 7131008..5b90482 100644 (file)
@@ -421,8 +421,8 @@ AC_DEFUN([OPUS_PATH_NE10],
       fi
 
       AC_MSG_CHECKING(for NE10)
-      save_CFLAGS="$CFLAGS"; CFLAGS="$NE10_CFLAGS"
-      save_LIBS="$LIBS"; LIBS="$NE10_LIBS $LIBM"
+      save_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS $NE10_CFLAGS"
+      save_LIBS="$LIBS"; LIBS="$LIBS $NE10_LIBS $LIBM"
       AC_LINK_IFELSE(
          [
             AC_LANG_PROGRAM(