* configure.ac.in: fixed libid3tag detection.
authorGildas Bazin <gbazin@videolan.org>
Sun, 2 Mar 2003 19:07:01 +0000 (19:07 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 2 Mar 2003 19:07:01 +0000 (19:07 +0000)
configure.ac.in

index 8bfb7bb..f3c706c 100644 (file)
@@ -1479,8 +1479,9 @@ dnl
 dnl   libid3tag support
 dnl
 AC_CHECK_HEADERS(id3tag.h, [
-  LDFLAGS_id3tag="${LDFLAGS_id3tag} -lz -lid3tag"
-  PLUGINS="${PLUGINS} id3tag"])
+  AC_CHECK_HEADERS(zlib.h, [
+    LDFLAGS_id3tag="${LDFLAGS_id3tag} -lid3tag -lz"
+    PLUGINS="${PLUGINS} id3tag"]) ])
 
 dnl
 dnl  ffmpeg decoder plugin