]> git.sesse.net Git - vlc/blobdiff - configure.ac
remember to enable it in the doc for 0.7.3
[vlc] / configure.ac
index 9c56a7c2a7229483ef28d3d717032c2d19e0afe6..57f20289942bc43fe97204869ab5389f4a8f03b4 100644 (file)
@@ -1221,6 +1221,12 @@ then
   [    --with-dvdread=PATH    libdvdread headers and libraries])
   AC_ARG_WITH(dvdread-tree,
   [    --with-dvdread-tree=PATH libdvdread tree for static linking])
+
+  dnl Temporary hack (yeah, sure ;)
+  if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
+      VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
+  fi
+
   if test -z "${with_dvdread}"
   then
     if test -z "${with_dvdread_tree}"
@@ -1272,12 +1278,6 @@ then
       AC_MSG_ERROR([cannot find ${with_dvdread}/include/dvdread/dvd_reader.h])
     fi
   fi
-
-  dnl Temporary hack (yeah, sure ;)
-  if test "${SYS}" = "mingw32" || test "${SYS}" = "darwin"; then
-      VLC_ADD_LDFLAGS([dvdread],[-ldvdcss])
-  fi
-
 fi
 
 dnl