mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Die immediately if the output file is a directory.
Thu Nov 9 16:01:47 2006 Søren Sandmann <sandmann@redhat.com> * sysprof-text.c (main): Die immediately if the output file is a directory. * autogen.sh (DIE): Also work when automake-1.9 is installed.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
0513ed87e8
commit
442a9b4f3c
12
autogen.sh
12
autogen.sh
@ -24,11 +24,13 @@ if automake-1.7 --version < /dev/null > /dev/null 2>&1 ; then
|
||||
AUTOMAKE=automake-1.7
|
||||
ACLOCAL=aclocal-1.7
|
||||
else
|
||||
echo
|
||||
echo "You must have automake 1.7.x installed to compile $PROJECT."
|
||||
echo "Install the appropriate package for your distribution,"
|
||||
echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
|
||||
DIE=1
|
||||
if automake-1.9 --version < /dev/null > /dev/null 2>&1 ; then
|
||||
AUTOMAKE=automake-1.9
|
||||
ACLOCAL=aclocal-1.9
|
||||
else
|
||||
AUTOMAKE=automake
|
||||
ACLOCAL=aclocal
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$DIE" -eq 1; then
|
||||
|
||||
Reference in New Issue
Block a user