[asterisk-commits] branch group/autoconf_and_menuselect r19887 - in /team/group/autoconf_and_men...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Apr 13 13:05:51 MST 2006


Author: kpfleming
Date: Thu Apr 13 15:05:51 2006
New Revision: 19887

URL: http://svn.digium.com/view/asterisk?rev=19887&view=rev
Log:
add support for MTX_PROFILE
ignore lines from makeopts files that don't start with MENUSELECT
fix header error (weird)

Modified:
    team/group/autoconf_and_menuselect/build_tools/cflags.xml
    team/group/autoconf_and_menuselect/build_tools/menuselect.c
    team/group/autoconf_and_menuselect/include/asterisk/compat.h

Modified: team/group/autoconf_and_menuselect/build_tools/cflags.xml
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/build_tools/cflags.xml?rev=19887&r1=19886&r2=19887&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/build_tools/cflags.xml (original)
+++ team/group/autoconf_and_menuselect/build_tools/cflags.xml Thu Apr 13 15:05:51 2006
@@ -8,4 +8,5 @@
 		<member name="-DMUFFIN_POWER"/>
 		<member name="-DRADIO_RELAX"/>
 		<member name="-DTRACE_FRAMES"/>
+		<member name="-DMTX_PROFILE"/>
 	</category>

Modified: team/group/autoconf_and_menuselect/build_tools/menuselect.c
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/build_tools/menuselect.c?rev=19887&r1=19886&r2=19887&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/build_tools/menuselect.c (original)
+++ team/group/autoconf_and_menuselect/build_tools/menuselect.c Thu Apr 13 15:05:51 2006
@@ -502,6 +502,10 @@
 		if (strlen_zero(buf))
 			continue;
 
+		/* skip lines that are not for this tool */
+		if (strncasecmp(buf, "MENUSELECT_", strlen("MENUSELECT_")))
+			continue;
+
 		parse = buf;
 		parse = skip_blanks(parse);
 		if (strlen_zero(parse))

Modified: team/group/autoconf_and_menuselect/include/asterisk/compat.h
URL: http://svn.digium.com/view/asterisk/team/group/autoconf_and_menuselect/include/asterisk/compat.h?rev=19887&r1=19886&r2=19887&view=diff
==============================================================================
--- team/group/autoconf_and_menuselect/include/asterisk/compat.h (original)
+++ team/group/autoconf_and_menuselect/include/asterisk/compat.h Thu Apr 13 15:05:51 2006
@@ -80,7 +80,7 @@
 #endif
 #endif /* __CYGWIN__ */
 
-#ifdef __linux_-
+#ifdef __linux_
 #include <inttypes.h>
 #endif
 



More information about the asterisk-commits mailing list