mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
what build options were used. We agreed that we should remove this before making a 1.4 release, and then we can put it back in. Then, we can take a month or so to play around with it to get it how we want it. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 lines
317 B
Bash
Executable File
18 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cat << END
|
|
/*
|
|
* buildopts.h
|
|
* Automatically generated
|
|
*/
|
|
|
|
END
|
|
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
|
|
then
|
|
echo "#define AST_DEVMODE 1"
|
|
fi
|