summaryrefslogtreecommitdiffstats
path: root/autogen.sh
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: improve bison version detectionKarel Zak2018-04-301-1/+1
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/630 Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add parse-date.yKarel Zak2017-03-041-0/+20
| | | | | | | | | | | | | * add lib/parse-date.y to build system * add necessary autotools stuff to generate .c on the fly (autotools are smart enough to add generated file to tarball) * check for bison version by ./autogen.sh * add non-wanted junk to .gitignore With some modification by J William Piggott with regard to moving the parse-date API into timeutils.h Signed-off-by: J William Piggott <elseifthen@gmx.com>
* build-sys: fix [g]libtoolize version for OSXRuediger Meier2016-02-181-1/+1
| | | | | | follow-up 0024583c Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: fix libtoolize for OSXRuediger Meier2016-02-121-11/+17
| | | | | | autoreconf would also call glibtoolize on Darwin. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: allow gettext 0.17 to be usedKir Kolyshkin2015-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The requirement for gettext 0.18 was introduced by commit e3e16717 to pass --no-wrap option to msgmerge tool, which I guess improves the process of updating po files for translators. At the same time, unfortunately, it makes building from git fail on a RHEL/CentOS 6 system, as it comes with gettext 0.17. Use the existing hack in autogen.sh to allow building with gettext 0.17, with an appropriate warning so that the user is aware: warning: forcing autopoint to use old gettext 0.17 The only negative side effect of this patch I am aware of is if gettext-0.17 is used, then --no-wrap is not being passed to msgmerge (although msgmerge 1.17 already supports it), because Makefile.in.in that comes with gettext 0.17 doesn't have MSGMERGE_OPTIONS. From my POV, this is way better than to not being able to build. NOTE if gettext 0.18.3 is installed, it is used and this patch doesn't change anything; it only allows gettext 1.17 to be used if this is all we have. Cc: Benno Schulenberg <bensberg@justemail.net> Cc: Sami Kerola <kerolasa@iki.fi> Signed-off-by: Kir Kolyshkin <kir@openvz.org>
* build-sys: make autogen.sh more robustKarel Zak2015-06-291-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: improve wording and punctuation of several messagesBenno Schulenberg2015-02-021-9/+9
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* build-sys: check for libtoolize rather than libtoolHelmut Grohne2014-10-141-1/+1
| | | | | | | | | | The system libtool program has architecture dependent behaviour. It is therefore unavailable in cross build environments. The only place it was used in util-linux is autogen.sh to determine the availability of libtool. All other places correctly use libtoolize or $(top_builddir)/libtool. Signed-off-by: Helmut Grohne <helmut@subdivi.de>
* build-sys: fix autopoint gettext version funRuediger Meier2014-06-101-12/+9Star
| | | | | | | | | | 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 <ruediger.meier@ga-group.nl>
* build-sys: use gettext 0.18.3 if possibleRuediger Meier2014-06-101-1/+30
| | | | | | | | | We add a little hack for backward compatibility on systems with older gettext installed See 0576dbd3 and 81ed13ed. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* build-sys: remove unnecessary environment variableSami Kerola2013-08-231-1/+0Star
| | | | | | The addition to original removal done in commit 952f1d79. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: convert mount/ to module, rename to mount-deprecated/Karel Zak2012-06-261-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: enhance error message for missing libtoolizeSami Kerola2011-10-101-0/+1
| | | | | | | | | 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>
* build-sys: use git-version-gen to distinct git and release versionsSami Kerola2011-04-051-0/+2
| | | | | | | | | | | 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>
* build-sys: do not ignore datarootdirSami Kerola2011-03-221-0/+5
| | | | | | | | | | 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>
* build-sys: shell syntax fix in autogen.shSami Kerola2011-01-311-1/+1
| | | | | | | 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>
* build-sys: use generated libtool-2 stuffKarel Zak2011-01-051-13/+13
| | | | | | | | | The commit 60a4edd66200be829560dce0d41a02fc70cef4f5 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>
* build-sys: cleanup autogen.shKarel Zak2011-01-051-30/+24Star
| | | | | Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove generated po/POTFILES.inKarel Zak2010-12-291-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-6/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: remove gtkdocize from autogen.shKarel Zak2009-11-071-8/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: clean up gtk-doc usageKarel Zak2009-10-121-12/+7Star
| | | | | | | | | | | 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>
* libblkid: gtkdocize (API docs generated by gtk-docs)Karel Zak2009-09-161-1/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add temporary libtool *.m4 stuffKarel Zak2009-02-161-14/+14
| | | | | | | | | | 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>
* build-sys: libtoolize by libtool-2Karel Zak2009-02-131-2/+19
| | | | | | | | | | 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>
* build-sys: autogen.sh reports versions of autotools nowKarel Zak2007-09-021-2/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: add ${AC,AP,AM,AH}_OPTS to autogen.shKarel Zak2007-07-251-5/+5
| | | | | | | | | 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>
* build-sys: remove libtoolKarel Zak2007-07-111-8/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: fix the final message of autogen.shStepan Kasal2007-05-081-1/+1
| | | | | | The message shall not recommend calling ./configure when srcdir != "." . Signed-off-by: Stepan Kasal <skasal@redhat.com>
* build-sys: call automake after autoconfStepan Kasal2007-05-081-1/+1
| | | | | | | | "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>
* check exit status of autotoolsMike Frysinger2007-04-111-0/+1
| | | | | Make sure each autotool run in autogen.sh worked and if not, abort. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tests: add library for LD_PRELOAD to manipulate with time() in testsKarel Zak2007-03-141-1/+8
| | | | | | | | 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>
* build-sys: remove generated autotools stuff from gitKarel Zak2007-01-031-0/+69
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>