diff options
| author | 2014-10-16 15:11:10 +0200 | |
|---|---|---|
| committer | 2014-10-16 15:11:10 +0200 | |
| commit | 4e8740a05e820777edee97f1c6531aeecd467e96 (patch) | |
| tree | 206fbca1e1c0242c8ed666e2559b5362cf6f49e6 /autogen.sh | |
| parent | a5c5f0a9f479b492204382d8528cfccd874ac34b (diff) | |
| download | usbmuxd-4e8740a05e820777edee97f1c6531aeecd467e96.tar.gz usbmuxd-4e8740a05e820777edee97f1c6531aeecd467e96.tar.bz2 | |
Add a pkg-config requirement check in autogen.sh
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -9,6 +9,10 @@ aclocal -I m4 | |||
| 9 | autoheader | 9 | autoheader |
| 10 | automake --add-missing | 10 | automake --add-missing |
| 11 | autoconf | 11 | autoconf |
| 12 | requires_pkgconfig=`which pkg-config 2>&1 >/dev/null` | ||
| 13 | if [ $? -ne 0 ]; then | ||
| 14 | echo "Missing required pkg-config. Please install it on your system and run again." | ||
| 15 | fi | ||
| 12 | 16 | ||
| 13 | if [ -z "$NOCONFIGURE" ]; then | 17 | if [ -z "$NOCONFIGURE" ]; then |
| 14 | ./configure "$@" | 18 | ./configure "$@" |
