Skip to content

Commit

Permalink
Applying a patch by Erik de Castro Lopo for checking against pkg-conf…
Browse files Browse the repository at this point in the history
…ig when running autogen.sh.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5128 ea778897-0a13-0410-b9d1-a72fbfd435f5
  • Loading branch information
frlan committed Aug 10, 2010
1 parent 47e3799 commit e5dc587
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>

* autogen.sh:
Applying a patch by Erik de Castro Lopo for checking against
pkg-config when running autogen.sh. Thanks for the patch.


2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

* src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
Expand Down
8 changes: 8 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ DIE=0
}
}

(pkg-config --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have pkg-config installed to compile $package."
echo "Download the appropriate package for your distribution."
result="no"
DIE=1
}

(automake --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have \`automake' (1.7 or later) installed."
Expand Down

0 comments on commit e5dc587

Please sign in to comment.