Commit Graph

21 Commits

Author SHA1 Message Date
Sami Kerola 13ba1df87d build-sys: enhance error message for missing libtoolize
The commit will will use `You must have libtool version...' message
when libtoolize is missing.  Earlier the error message less helpful.

./autogen.sh: line 59: test: =: unary operator expected

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-10-10 13:56:53 +02:00
Sami Kerola 38c75b59e3 build-sys: use git-version-gen to distinct git and release versions
The script is copied as is from gnulib.

[kzak@redhat.com: - generate .tarball-version and .version files in
                    top level Makefile.am
                  - delete autom4te.cache in autogen.sh]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-04-05 16:34:00 +02:00
Sami Kerola cc3c3fdd29 build-sys: do not ignore datarootdir
Fix to the ./configure warning which has been printed since
autotools version 2.59c (released at April 2006).

WARNING:  'po/Makefile.in.in' seems to ignore the --datarootdir setting

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-03-22 10:17:50 +01:00
Sami Kerola aada54e028 build-sys: shell syntax fix in autogen.sh
Use of == as synonym of single = sign backfires on systems where
/bin/sh is dash, like with Ubuntu.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-31 17:22:30 +01:00
Karel Zak 4b2ede3ef2 build-sys: use generated libtool-2 stuff
The commit 60a4edd662 temporary disabled
libtool-2 in autogen.sh. It seems that libtool-2 in available in
many distributions now, so we don't have to manage the generated .m4
libtool files in git anymore.

Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05 13:17:12 +01:00
Karel Zak 93e0319d30 build-sys: cleanup autogen.sh
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05 12:49:05 +01:00
Karel Zak 7c2ee1d26c build-sys: remove generated po/POTFILES.in
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-12-29 20:51:58 +01:00
Karel Zak 601d12fb10 rename util-linux-ng back to util-linux
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-11-30 11:41:59 +01:00
Karel Zak 952f1d791a build-sys: remove gtkdocize from autogen.sh
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-11-07 00:06:53 +01:00
Karel Zak a77bfc3a00 build-sys: clean up gtk-doc usage
Currently gtk-doc is optional. Unfortunately, the ./configure script
still depends on GTK_DOC_CHECK macro and shlibs/blkid/docs/Makefile.am
depends on gtk-doc.make.

It seems that the best solution is to add gtk-doc.[make,m4] files to
the repository.

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-10-12 15:20:27 +02:00
Karel Zak 1e018c1571 libblkid: gtkdocize (API docs generated by gtk-docs)
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-09-16 21:39:37 +02:00
Karel Zak 60a4edd662 build-sys: add temporary libtool *.m4 stuff
We require libtool-2 (because old 1.5.x is crap). Unfortunately,
libtool-2 is still not available in many Linux distributions  -- now I
see it in unstable distributions only. The painless way how to resolve
this problem is to __temporary__ commit generated libtool-2 stuff to
our repository.

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-16 10:40:25 +01:00
Karel Zak b12991dd5c build-sys: libtoolize by libtool-2
We need an infrastructure for stared libraries. The latest libtool-2
seems useful and it's definitely better than the old 1.5 crap.

You need to install libtool-2 when you want to run ./autogen.sh script
after checkout from git repository.

Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-13 11:37:00 +01:00
Karel Zak 952a06cfa8 build-sys: autogen.sh reports versions of autotools now
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-09-02 13:43:31 +02:00
Karel Zak 1eca726f65 build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.sh
With this patch, you can define autotool options when you
need to generate build-system. For example:

  $ AM_OPTS="--copy" ./autogen.sh

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-25 18:45:01 +02:00
Karel Zak db0aaaa6a8 build-sys: remove libtool
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-11 00:59:49 +02:00
Stepan Kasal e1bc6da937 build-sys: fix the final message of autogen.sh
The message shall not recommend calling ./configure when srcdir != "." .

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-08 00:39:13 +02:00
Stepan Kasal 5a2300248f build-sys: call automake after autoconf
"automake" calls "autoconf" internally, to trace the expansion of
configure.ac.  So it is more natural to call "autoconf" before
"automake".

Signed-off-by: Stepan Kasal <skasal@redhat.com>
2007-05-08 00:38:36 +02:00
Mike Frysinger f2c166ffdb check exit status of autotools
Make sure each autotool run in autogen.sh worked and if not, abort.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2007-04-11 10:58:12 +02:00
Karel Zak 82640b11ba tests: add library for LD_PRELOAD to manipulate with time() in tests
The cal command generates output that depends on time(). For reliable
regression tests we need to use still same time. It seems that LD_PRELOAD is
pretty simple way.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-03-14 14:10:18 +01:00
Karel Zak 8eeb575c0d build-sys: remove generated autotools stuff from git
The generated autotools stuff shouldn't be maintained by SCM. After check out
from git use ./autogen.sh. For more details see README.devel.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-03 22:20:44 +01:00