1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-30 06:35:23 +00:00

Seed PKG_CONFIG_PATH with the default libshout shout.pc location

(ported from ices0 version)

svn path=/trunk/m4/; revision=5016
This commit is contained in:
brendan 2003-06-26 19:34:00 +00:00
parent 52dbe24523
commit b0e5216528

View File

@ -3,7 +3,7 @@ dnl Jack Moffitt <jack@icecast.org> 08-06-2001
dnl Rewritten for libshout 2
dnl Brendan Cully <brendan@xiph.org> 20030612
dnl
dnl $Id: shout.m4,v 1.8 2003/06/25 17:03:55 brendan Exp $
dnl $Id: shout.m4,v 1.9 2003/06/26 19:34:00 brendan Exp $
# XIPH_PATH_SHOUT([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
# Test for libshout, and define SHOUT_CFLAGS and SHOUT_LIBS
@ -16,6 +16,9 @@ SHOUT_LIBS=""
# NB: PKG_CHECK_MODULES exits if pkg-config is unavailable on the targe
# system, so we can't use it.
# seed pkg-config with the default libshout location
PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/local/lib/pkgconfig}
# Step 1: Use pkg-config if available
AC_PATH_PROG([PKGCONFIG], [pkg-config], [no])
if test "$PKGCONFIG" != "no" && `$PKGCONFIG --exists shout`