[vlc-devel] commit: Fix configure syntax. Please test. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Feb 11 19:32:03 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Feb 11 19:31:04 2009 +0100| [3f15f9d9c02cf11f45fe18924fcc71809a38be18] | committer: Jean-Baptiste Kempf 

Fix configure syntax. Please test.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f15f9d9c02cf11f45fe18924fcc71809a38be18
---

 configure.ac |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index f9dafbc..b0af3a2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -888,8 +888,8 @@ then
       MINIZIP_LIBS="-lminizip -lz"
     ], [
       have_minizip=no
-      MINIZIP_CFLAGS="-I\$(top_builddir)/libs/unzip"
-      MINIZIP_LIBS="\$(top_builddir)/libs/unzip/libunzip.la"
+      MINIZIP_CFLAGS="-I../../../@top_srcdir@//libs/unzip"
+      MINIZIP_LIBS="../../../libs/unzip/libunzip.la"
     ])
   ])
   AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
@@ -3001,11 +3001,11 @@ AC_ARG_ENABLE( id3tag,
 [  --disable-id3tag        id3tag metadata reader plugin (default disabled)])
 AS_IF([test "${enable_id3tag}" = "yes"], [
   AC_CHECK_HEADERS(id3tag.h, [
-    if test "${have_zlib}" = "yes"
-      VLC_ADD_LIBS([id3tag],[-lid3tag -lz])
-      VLC_ADD_PLUGIN([id3tag])
-    fi
-  ])
+      AS_IF([test "${have_zlib}" = "yes"],[
+          VLC_ADD_LIBS([id3tag],[-lid3tag -lz])
+          VLC_ADD_PLUGIN([id3tag])
+       ])
+    ])
 ])
 
 dnl




More information about the vlc-devel mailing list