check for pkg-config in autogen.sh

This commit is contained in:
Dimitur Kirov 2006-10-15 10:32:17 +00:00
parent 1fcea90561
commit f04b5c3902
3 changed files with 12 additions and 0 deletions

View File

@ -90,6 +90,7 @@ You will need GNU autotools in order to install Gajim from svn. This includes:
<li>autoconf &gt;= 2.59 </li>
<li>libtool</li>
<li>intltool-0.35.0 </li>
<li>pkgconfig &gt;= 0.19</li>
</ul>
</p>
steps to compile gajim:
@ -98,6 +99,11 @@ steps to compile gajim:
$ ./configure
$ make
</pre>
Alternatively, if you don't want to install all these packages, you can get a nightly snapshot from <a href="http://www.gajim.org/downloads/snap/">here</a> and procede as usual:
<pre>
$ ./configure
$ make
</pre>
<h2>Uninstallation Procedure</h2>
<p>
su -c make uninstall<br/>

View File

@ -3,6 +3,11 @@
&& ls -1 -U data/gajim.desktop.in.in data/glade/*.glade \
src/*py src/common/*py src/common/zeroconf/*.py >> \
po/POTFILES.in || exit 1
if test -z `which pkg-config 2>/dev/null`;then
echo "***Error: pkg-config not found***"
echo "See README.html for build requirements."
exit 1
fi
set -x
intltoolize --force --automake \
&& aclocal -I ./m4 \

View File

@ -7,6 +7,7 @@ AC_CONFIG_MACRO_DIR([m4])
AM_MAINTAINER_MODE
IT_PROG_INTLTOOL([0.35.0])
PKG_PROG_PKG_CONFIG([0.19])
AM_DISABLE_STATIC
AC_ENABLE_SHARED(yes)