]> git.sesse.net Git - vlc/commitdiff
* configure.ac: link dvdcss with dvdread on win32/darwin.
authorGildas Bazin <gbazin@videolan.org>
Thu, 1 Jul 2004 10:32:26 +0000 (10:32 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 1 Jul 2004 10:32:26 +0000 (10:32 +0000)
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