Skip to content

Commit

Permalink
Actually run pkg-config and autoreconf
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 31, 2016
1 parent 9643943 commit f0bb435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#! /bin/sh

if [ ! -x $(which pkg-config) ]; then
if ! pkg-config --version > /dev/null 2>&1 ; then
echo 'pkg-config not found.' >&2
echo 'Make sure that pkg-config is installed on your system.' >&2
exit 1
fi

if [ -x "`which autoreconf 2>/dev/null`" ] ; then
if autoreconf --version > /dev/null 2>&1 ; then
exec autoreconf -ivf
fi

Expand Down

0 comments on commit f0bb435

Please sign in to comment.