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/make_buildopts_h | |
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/make_buildopts_h')
-rwxr-xr-x | build_tools/make_buildopts_h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h index 6993e7083..ac41a006a 100755 --- a/build_tools/make_buildopts_h +++ b/build_tools/make_buildopts_h @@ -7,11 +7,11 @@ cat << END */ END -TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed 's/MENUSELECT_CFLAGS\=//g' | sed 's/-D//g'` +TMP=`${GREP} MENUSELECT_CFLAGS menuselect.makeopts | sed 's/MENUSELECT_CFLAGS\=//g' | sed 's/-D//g'` for x in ${TMP}; do echo "#define ${x} 1" done -if grep AST_DEVMODE makeopts | grep -q yes +if ${GREP} AST_DEVMODE makeopts | ${GREP} -q yes then echo "#define AST_DEVMODE 1" fi |