adjusted autogen.sh to work on Solaris
This commit is contained in:
parent
d22c4b1483
commit
c485ed9edd
10
autogen.sh
10
autogen.sh
|
@ -1,6 +1,7 @@
|
||||||
# !/bin/sh -e
|
# !/bin/sh -e
|
||||||
|
|
||||||
if test -z `which autoreconf`; then
|
AUTORECONF=`which autoreconf 2>/dev/null`
|
||||||
|
if test $? -ne 0; then
|
||||||
echo "No 'autoreconf' found. You must install the autoconf package."
|
echo "No 'autoreconf' found. You must install the autoconf package."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -9,15 +10,16 @@ fi
|
||||||
mkdir m4 2>/dev/null
|
mkdir m4 2>/dev/null
|
||||||
|
|
||||||
GTKDOCIZE=`which gtkdocize 2>/dev/null`
|
GTKDOCIZE=`which gtkdocize 2>/dev/null`
|
||||||
if test -z $GTKDOCIZE; then
|
if test $? -ne 0; then
|
||||||
echo "No gtk-doc support found. You can't build the docs."
|
echo "No gtk-doc support found. You can't build the docs."
|
||||||
echo "EXTRA_DIST =" >gtk-doc.make
|
echo "EXTRA_DIST =" >gtk-doc.make
|
||||||
echo "CLEANFILES =" >>gtk-doc.make
|
echo "CLEANFILES =" >>gtk-doc.make
|
||||||
|
GTKDOCIZE=""
|
||||||
else
|
else
|
||||||
gtkdocize || exit $?
|
$GTKDOCIZE || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
autoreconf --install --force --symlink || exit $?
|
$AUTORECONF --install --force --symlink || exit $?
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "----------------------------------------------------------------"
|
echo "----------------------------------------------------------------"
|
||||||
|
|
Loading…
Reference in New Issue