From 56e9569c94674100e92c395deac7ca3b9baaf9ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 11 Mar 2007 11:04:38 +0000 Subject: [PATCH] - Improve DIST_SUBDIR - Require automake 1.9 to fix some libtool plugin build problems - Remove useless libs/Makefile --- Makefile.am | 5 +++-- bootstrap | 6 +++--- configure.ac | 7 ++----- libs/Makefile.am | 1 - 4 files changed, 8 insertions(+), 11 deletions(-) delete mode 100644 libs/Makefile.am diff --git a/Makefile.am b/Makefile.am index 5790052068..e14312774c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ diff --git a/bootstrap b/bootstrap index 54c112c3e6..915dc63f7c 100755 --- 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 diff --git a/configure.ac b/configure.ac index a55d546c25..c34e1c655e 100644 --- a/configure.ac +++ b/configure.ac @@ -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 index 8c829b8acb..0000000000 --- a/libs/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = loader srtp -- 2.39.2