summaryrefslogtreecommitdiff
path: root/build_tools/make_buildopts_h
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2008-03-17 22:10:06 +0000
committerTerry Wilson <twilson@digium.com>2008-03-17 22:10:06 +0000
commite727d15d34036bd60686480ed6ac199e6562bae7 (patch)
treed01ed4464488cb441104c082e90234a9159115d0 /build_tools/make_buildopts_h
parentb246e010d5d1a3e9498412e50e54ba1588e2a7ca (diff)
Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
This does introduce a dependency on the GMime library for handling HTTP POSTs, but it is available in most distros. If the library is present, then the compile flag for ENABLE_UPLOADS is enabled by default in menuselect. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@109229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'build_tools/make_buildopts_h')
-rwxr-xr-xbuild_tools/make_buildopts_h4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h
index ace404555..00b3eeded 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} -e ^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} -e ^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"