diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:53:18 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-22 18:53:18 +0000 |
commit | 7cb9ccbb92d63e9f186aeaa8953516070d3014c5 (patch) | |
tree | e8ce5aa842ad44665df26780fd058370f7e89d2c /build_tools/mkpkgconfig | |
parent | 784d266100e2d5fd71b6e9e801e035a79338a421 (diff) |
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/branches/1.4@80330 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/mkpkgconfig')
-rwxr-xr-x | build_tools/mkpkgconfig | 2 |
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" |