]> git.sesse.net Git - vlc/commitdiff
* test for sqrtf in -lmx. If present add to x264 compile flags
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 21 Jun 2005 21:31:28 +0000 (21:31 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 21 Jun 2005 21:31:28 +0000 (21:31 +0000)
configure.ac

index c4810db85229fce091c8896fbe5ae7e6ccef6479..25dcb4630311eef4359998ef013677814cd87183 100644 (file)
@@ -459,6 +459,9 @@ AC_CHECK_LIB(m,pow,[
 AC_CHECK_LIB(m,sqrt,[
   VLC_ADD_LDFLAGS([headphone_channel_mixer normvol speex],[-lm])
 ])
+AC_CHECK_LIB(mx,sqrtf,[
+  VLC_ADD_LDFLAGS([x264],[-lmx])
+])
 fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
 
 dnl Check for dynamic plugins