mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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/branches/1.4@80330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user