Commit Graph

25 Commits

Author SHA1 Message Date
Ruediger Meier f8d75a6647 build-sys: fix autopoint gettext version fun
We avoid or fix many portability issues.

The first more generic "sort --version-sort" solution was almost
useless anyway because autopoint itself can also only deal with
a few hardcoded versions.

Signed-off-by: Ruediger Meier <>
2014-06-10 20:20:35 +02:00
Ruediger Meier 91c520bc9b build-sys: use gettext 0.18.3 if possible
We add a little hack for backward compatibility on systems with
older gettext installed

See 0576dbd3 and 81ed13ed.

Signed-off-by: Ruediger Meier <>
2014-06-10 13:41:11 +02:00
Sami Kerola 54e6639071 build-sys: remove unnecessary environment variable
The addition to original removal done in commit 952f1d79.

Signed-off-by: Sami Kerola <>
2013-08-23 10:58:34 +02:00
Karel Zak d2feb47fb1 build-sys: convert mount/ to module, rename to mount-deprecated/
Signed-off-by: Karel Zak <>
2012-06-26 20:48:22 +02:00
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.

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

Signed-off-by: Sami Kerola <>
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.

[ - generate .tarball-version and .version files in
                    top level
                  - delete autom4te.cache in]

Signed-off-by: Sami Kerola <>
Signed-off-by: Karel Zak <>
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/' seems to ignore the --datarootdir setting

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

Signed-off-by: Sami Kerola <>
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 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 <>
2011-01-05 13:17:12 +01:00
Karel Zak 93e0319d30 build-sys: cleanup
Reported-by: Jon Grant <>
Signed-off-by: Karel Zak <>
2011-01-05 12:49:05 +01:00
Karel Zak 7c2ee1d26c build-sys: remove generated po/
Signed-off-by: Karel Zak <>
2010-12-29 20:51:58 +01:00
Karel Zak 601d12fb10 rename util-linux-ng back to util-linux
Signed-off-by: Karel Zak <>
2010-11-30 11:41:59 +01:00
Karel Zak 952f1d791a build-sys: remove gtkdocize from
Signed-off-by: Karel Zak <>
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/
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 <>
2009-10-12 15:20:27 +02:00
Karel Zak 1e018c1571 libblkid: gtkdocize (API docs generated by gtk-docs)
Signed-off-by: Karel Zak <>
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 <>
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 ./ script
after checkout from git repository.

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

  $ AM_OPTS="--copy" ./

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

Signed-off-by: Stepan Kasal <>
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  So it is more natural to call "autoconf" before

Signed-off-by: Stepan Kasal <>
2007-05-08 00:38:36 +02:00
Mike Frysinger f2c166ffdb check exit status of autotools
Make sure each autotool run in worked and if not, abort.
Signed-off-by: Mike Frysinger <>
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 <>
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 ./ For more details see README.devel.

Signed-off-by: Karel Zak <>
2007-01-03 22:20:44 +01:00