]>
git.ipfire.org Git - thirdparty/util-linux.git/blob - autogen.sh
48197c3eb7c651eea13bb0b42e03ceb3d7146c74
4 # Helps generate autoconf/automake stuff, when code is checked out from SCM.
6 # Copyright (C) 2006 - Karel Zak <kzak@redhat.com>
10 test -z "$srcdir" && srcdir
=.
16 (autopoint
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
18 echo "You must have autopoint installed to generate util-linux-ng build system.."
19 echo "Download the appropriate package for your distribution,"
20 echo "or see http://www.gnu.org/software/gettext"
23 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
25 echo "You must have autoconf installed to generate util-linux-ng build system."
27 echo "Download the appropriate package for your distribution,"
28 echo "or see http://www.gnu.org/software/autoconf"
31 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
33 echo "You must have automake installed to generate util-linux-ng build system."
35 echo "Download the appropriate package for your distribution,"
36 echo "or see http://www.gnu.org/software/automake"
39 (autoheader
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
41 echo "You must have autoheader installed to generate util-linux-ng build system."
43 echo "Download the appropriate package for your distribution,"
44 echo "or see http://www.gnu.org/software/autoheader"
47 (libtool
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
49 echo "You must have libtool installed to generate util-linux build-system."
50 echo "Download the appropriate package for your distribution,"
51 echo "or see http://www.gnu.org/software/libtool"
54 if test "$DIE" -eq 1; then
58 test -f mount
/mount.c ||
{
59 echo "You must run this script in the top-level util-linux-ng directory"
65 libtoolize
--copy --force
69 automake
--add-missing
74 echo "Now type './configure' and 'make' to compile."