diff options
author | Jason Parker <jparker@digium.com> | 2007-08-22 18:54:30 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-08-22 18:54:30 +0000 |
commit | 30f27bd09a5994529e10058b0448e4db6268de9c (patch) | |
tree | c756c4268e8076ab7f3f4289c3f297a3dfafb6ea /build_tools/make_buildopts_h | |
parent | 553e5254e4eca9c9d4b8b7a2ff6639069d58602d (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: https://origsvn.digium.com/svn/asterisk/trunk@80331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-x | build_tools/make_buildopts_h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h index c8249558c..0be011744 100755 --- a/build_tools/make_buildopts_h +++ b/build_tools/make_buildopts_h @@ -7,16 +7,16 @@ 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 -TMP=`grep MENUSELECT_BUILD_DEPS menuselect.makeopts | sed 's/MENUSELECT_BUILD_DEPS\=//g'` +TMP=`${GREP} MENUSELECT_BUILD_DEPS menuselect.makeopts | sed 's/MENUSELECT_BUILD_DEPS\=//g'` for x in ${TMP}; do x2=`echo ${x} | tr a-z A-Z` echo "#define AST_MODULE_${x2} 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 |