]> git.sesse.net Git - vlc/commitdiff
- Improve DIST_SUBDIR
authorRémi Denis-Courmont <rem@videolan.org>
Sun, 11 Mar 2007 11:04:38 +0000 (11:04 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sun, 11 Mar 2007 11:04:38 +0000 (11:04 +0000)
- Require automake 1.9 to fix some libtool plugin build problems
- Remove useless libs/Makefile

Makefile.am
bootstrap
configure.ac
libs/Makefile.am [deleted file]

index 5790052068d97cabce610aa9944ef5daddc64c23..e14312774cbbe663c292023aacd861cb0bc4be44 100644 (file)
@@ -12,8 +12,9 @@ NULL =
 #  - . should come before mozilla/bindings because the plugin needs libvlc.a
 #  - po should come before . because VLC.app needs the pofiles
 #  - loader should come before modules because some plugins need it
-SUBDIRS = intl libs src modules po . mozilla bindings activex share m4 doc
-DIST_SUBDIRS = $(SUBDIRS)  ipkg
+SUBDIRS = intl po libs/loader libs/srtp src modules . \
+               mozilla bindings activex share doc
+DIST_SUBDIRS = $(SUBDIRS) m4 ipkg
 
 EXTRA_DIST = \
        HACKING \
index 54c112c3e6f8f9c340730927ab4c982a8ae5c331..915dc63f7c45fc3050b4aef81328262c2f38ea8e 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -64,7 +64,7 @@ esac
 
 # Check for automake
 amvers="no"
-for v in "-1.10" "110" "-1.9" "19" "-1.8" "18" "-1.7" "17"; do
+for v in "-1.10" "110" "-1.9" "19"; do
   if automake${v} --version >/dev/null 2>&1; then
     amsuff="${v}"
     amvers="`echo ${v} | sed -e 's/^-//'`"
@@ -78,9 +78,9 @@ if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then
 fi
 
 case "${amvers}" in
-  no|1.[0123456]|1.[0123456].*|1[0123456]|1.[0123456]-*)
+  no|1.[012345678]|1.[0123456].*|1[0123456]|1.[0123456]-*)
     set +x
-    echo "$0: you need automake version 1.7 or later"
+    echo "$0: you need automake version 1.9 or later"
     exit 1
     ;;
 esac
index a55d546c256d4eb0c3728f3419239a7ff737f64c..c34e1c655ee5603c201289727901ded32bf6391a 100644 (file)
@@ -9,13 +9,13 @@ VERSION_EXTRA="svn"
 CONFIGURE_LINE="`echo "$0 $ac_configure_args" | sed -e 's/\\\/\\\\\\\/g'`"
 CODENAME="Grishenko"
 
-AC_PREREQ(2.59)
+AC_PREREQ(2.59) dnl this really should be 2.59c
 AC_CONFIG_SRCDIR(src/libvlc.c)
 AC_CONFIG_AUX_DIR(autotools)
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST
 
-AM_INIT_AUTOMAKE([1.7 check-news dist-bzip2])
+AM_INIT_AUTOMAKE([1.9 check-news dist-bzip2 no-dist-gzip -Wall])
 AM_CONFIG_HEADER(config.h)
 
 dnl Too many people are not aware of maintainer mode:
@@ -26,8 +26,6 @@ dnl can't expect you to enable it manually.
 
 AS_IF([test "x${enable_maintainer_mode}" != "xno"],
        [enable_maintainer_mode="yes"])
-
-dnl HA! HA!
 AM_MAINTAINER_MODE
 
 dnl
@@ -5774,7 +5772,6 @@ AC_CONFIG_FILES([
   doc/Makefile
   intl/Makefile
   ipkg/Makefile
-  libs/Makefile
   libs/loader/Makefile
   libs/srtp/Makefile
   modules/Makefile
diff --git a/libs/Makefile.am b/libs/Makefile.am
deleted file mode 100644 (file)
index 8c829b8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-SUBDIRS = loader srtp