1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-28 21:50:02 +02:00
gnupg/scripts/autogen.sh

43 lines
882 B
Bash
Raw Normal View History

1998-10-17 16:47:14 +02:00
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
PGM=GnuPG
DIE=no
1998-10-18 17:21:22 +02:00
if (autoconf --version) < /dev/null > /dev/null 2>&1 ; then
:
else
1998-10-17 16:47:14 +02:00
echo
echo "**Error**: You must have "\`autoconf\'" installed to compile $PGM."
echo ' (version 2.10 or newer is required'
1998-10-18 17:21:22 +02:00
DIE="yes"
fi
1998-10-17 16:47:14 +02:00
1998-10-18 17:21:22 +02:00
if (automake --version) < /dev/null > /dev/null 2>&1 ; then
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
:
else
1998-10-17 16:47:14 +02:00
echo
echo "**Error**: Missing "\`aclocal\'". The version of "\`automake\'
echo " installed doesn't appear recent enough."
1998-10-18 17:21:22 +02:00
DIE="yes"
fi
else
echo
echo "**Error**: You must have "\`automake\'" installed to compile $PGM."
echo ' (version 1.3 or newer is required)'
DIE="yes"
fi
1998-10-17 16:47:14 +02:00
if test "$DIE" = "yes"; then
exit 1
fi
aclocal
autoheader
automake --gnu;
autoheader
autoconf