aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools/mkpkgconfig
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 18:54:30 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-22 18:54:30 +0000
commit6203f85f62c15c327b5498b304dc3910532341dd (patch)
treec756c4268e8076ab7f3f4289c3f297a3dfafb6ea /build_tools/mkpkgconfig
parentf7a10e2229b7dfbf94c7d57cc346d64b8e5272ca (diff)
Merged revisions 80330 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r80330 | qwell | 2007-08-22 13:53:18 -0500 (Wed, 22 Aug 2007) | 7 lines Fix a few build issues in Solaris (and likely others). Use GREP and ID variables from autoconf. Reported to me in #asterisk-dev I forgot who reported this - sorry. :( ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@80331 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/mkpkgconfig')
-rwxr-xr-xbuild_tools/mkpkgconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_tools/mkpkgconfig b/build_tools/mkpkgconfig
index f36c380a9..ceea7ebc0 100755
--- a/build_tools/mkpkgconfig
+++ b/build_tools/mkpkgconfig
@@ -14,7 +14,7 @@ if [ ! -d $PPATH ]; then
fi
#Solaris (and some others) don't have sed -r. perl -p is equivalent
-if [[ `echo "xxx" | sed -r 's/x/y/g' 2>/dev/null | grep -c "yyy"` != 0 ]]; then
+if [[ `echo "xxx" | sed -r 's/x/y/g' 2>/dev/null | ${GREP} -c "yyy"` != 0 ]]; then
EXTREGEX="sed -r -e"
else
EXTREGEX="perl -pe"