]> git.lyx.org Git - lyx.git/commitdiff
Changes to make distcheck work, slight cleanup of autoconf/make initialization
authorLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 23 Dec 2005 18:16:18 +0000 (18:16 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Fri, 23 Dec 2005 18:16:18 +0000 (18:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10680 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
autogen.sh
config/ChangeLog
config/common.am
config/lyxinclude.m4
configure.ac

index ff59cbfa0fd4233cde9d9bf9d02a84120056ba2a..e74d21ee59def45733c35f9b74897e65058d441b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-12-23  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       * autogen.sh (AUTOMAKE): add --force-missing to args.
+
+       * configure.ac: add am args to AM_INIT_AUTOMAKE, modify AC_INIT to
+       contain tar name as well, use AC_CONFIG_HEADERS instead of
+       AM_CONFIG_HEADER, remove unused variable VERSION
+
 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * configure.ac: add to SOCKET_LIBS the libraries required by
index c1740d5928061cb617ddbd8fdf6d85b6e75cef16..c94a14dc63c25910fb72b7595d3928e2fc2a8a01 100755 (executable)
@@ -2,7 +2,7 @@
 
 ACLOCAL="aclocal -I ${PWD}/m4"
 AUTOHEADER="autoheader"
-AUTOMAKE="automake -a -c --foreign"
+AUTOMAKE="automake --add-missing --copy --force-missing --foreign"
 AUTOCONF="autoconf"
 ACINCLUDE_FILES="lyxinclude.m4 libtool.m4 xforms.m4 qt.m4 gtk--.m4 gnome--.m4 gnome.m4 spell.m4 cygwin.m4 pkg.m4"
 
index 82d90a8590154ec01c99a545123a563be5514864..36b265a171246c3a638c77c1e67e99423cb4cca9 100644 (file)
@@ -1,3 +1,11 @@
+2005-12-23  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       * common.am (AUTOMAKE_OPTIONS): deleted, we now setupt am args
+       from configure.ac 
+
+       * lyxinclude.m4: use AC_PACKAGE_VERSION instead of VERSION, use
+       AC_PROGLIB_TOOL instead of AM_PROG_LIBTOOL
+
 2005-10-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        * lyxinclude.m4 (LYX_USE_PACKAGING): set PACKAGE depending on
index 12c7d3d07d08369d8d1be32f4c32db0de276c99e..0f0619266b9fd1af86cbf323c37d6b87b3eb7953 100644 (file)
@@ -1,5 +1,3 @@
-AUTOMAKE_OPTIONS = foreign dist-bzip2
-
 CLEANFILES = pch.h.gch
 
 DISTCLEANFILES= pch.h.gch.dep *.orig *.rej *~ *.bak core
index 40400e0c2192d940f3231a38d66e5100f12d4578..dadb8ff13f907ee04b022b32413c9faad331ea17 100644 (file)
@@ -8,14 +8,14 @@ dnl Usage LYX_CHECK_VERSION   Displays version of LyX being built and
 dnl sets variables "lyx_devel_version" and "lyx_prerelease"
 AC_DEFUN([LYX_CHECK_VERSION],[
 echo "configuring LyX version $VERSION"
-if echo "$VERSION" | grep 'cvs' >/dev/null ; then
+if echo AC_PACKAGE_VERSION | grep 'cvs' >/dev/null ; then
   lyx_devel_version=yes
   AC_DEFINE(DEVEL_VERSION, 1, [Define if you are building a development version of LyX])
   echo "WARNING: This is a development version. Expect bugs."
 else
   lyx_devel_version=no
 fi
-if echo "$VERSION" | grep 'pre' > /dev/null ; then
+if echo AC_PACKAGE_VERSION | grep 'pre' > /dev/null ; then
     lyx_prerelease=yes
     echo "WARNING: This is a prerelease. Be careful and backup your documents."
 else
@@ -637,7 +637,7 @@ ac_save_cc=$CC
 ac_save_cflags="$CFLAGS"
 CC=$CXX
 CFLAGS="$CXXFLAGS"
-AM_PROG_LIBTOOL dnl for libraries
+AC_PROG_LIBTOOL dnl for libraries
 CC=$ac_save_cc
 CFLAGS="$ac_save_cflags"
 ])
index 4fb2b20495832ac81e120646ea9ddd156d2fc833..9d1b05738322830476883f665df51f0f601e66b6 100644 (file)
@@ -1,16 +1,16 @@
 dnl Process with autoconf to generate configure script   -*- sh -*-
 
-AC_INIT(lyx,1.4.0cvs,lyx-devel@lists.lyx.org)
+AC_INIT(LyX,1.4.0cvs,[lyx-devel@lists.lyx.org],[lyx])
 AC_PREREQ(2.52)
 AC_CONFIG_SRCDIR(src/main.C)
-AM_CONFIG_HEADER([src/config.h])
+AC_CONFIG_HEADERS([src/config.h])
 
 AC_CONFIG_AUX_DIR(config)
 
-# first the version
-VERSION="1.4.0cvs"
+# First check the version
 LYX_CHECK_VERSION
 AC_CANONICAL_TARGET
+
 # Check how the files should be packaged
 LYX_USE_PACKAGING
 LYX_VERSION_SUFFIX
@@ -21,7 +21,7 @@ if test "${enable_maintainer_mode+set}" != set; then
 fi
 AM_MAINTAINER_MODE
 
-AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
+AM_INIT_AUTOMAKE([foreign dist-bzip2 tar-ustar])
 
 ### Set the execute permissions of the various scripts correctly
 for file in config/install-sh config/mkinstalldirs lib/configure ; do