]> git.sesse.net Git - vlc/commitdiff
* configure.ac: fixed libdts detection (libm linking problem) and dtsdec url.
authorGildas Bazin <gbazin@videolan.org>
Tue, 16 Mar 2004 22:41:52 +0000 (22:41 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 16 Mar 2004 22:41:52 +0000 (22:41 +0000)
configure.ac

index ef70165ebbe6daf4531d55b450b5afff72b896f0..e0580aef68ea377c51c66f66107d408eca8e247e 100644 (file)
@@ -2155,16 +2155,18 @@ if test "${enable_dts}" != "no"; then
       AC_MSG_ERROR([the specified tree doesn't have dts.h])
     fi
   else
+    LDFLAGS="${LDFLAGS_save} ${LDFLAGS_dtstofloat32}"
     AC_CHECK_HEADERS(dts.h, [
       AC_CHECK_LIB(dts, dts_free, [
         AX_ADD_PLUGINS([dtstofloat32])
         AX_ADD_LDFLAGS([dtstofloat32],[-ldts])
       ],[
         if test "${enable_dts}" = "yes"; then
-          AC_MSG_ERROR([Could not find libdts on your system: you may get it from http://www.videolan.org/dtsdec.])
+          AC_MSG_ERROR([Could not find libdts on your system: you may get it from http://www.videolan.org/dtsdec.html])
         fi
       ])
     ])
+    LDFLAGS="${LDFLAGS_save}"
   fi
 fi