[svn-commits] russell: trunk r471 - /trunk/menuselect.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 11 09:11:17 CST 2009


Author: russell
Date: Wed Feb 11 09:11:17 2009
New Revision: 471

URL: http://svn.digium.com/svn-view/menuselect?view=rev&rev=471
Log:
Revert rev 468.  This caused a regression.

This change assumed that the makeopts files in /etc/or ~/ were full makeopts files.
For example, if you had a makeopts file in ~/ that only had one line to ensure
that you always built with DEBUG_THREADS enabled, it would no longer work, because
the menuselect sanity check would freak out.

Modified:
    trunk/menuselect.c

Modified: trunk/menuselect.c
URL: http://svn.digium.com/svn-view/menuselect/trunk/menuselect.c?view=diff&rev=471&r1=470&r2=471
==============================================================================
--- trunk/menuselect.c (original)
+++ trunk/menuselect.c Wed Feb 11 09:11:17 2009
@@ -1443,7 +1443,7 @@
 			check_deps = 1;
 		else {
 			res = parse_existing_config(argv[x]);
-			if (!res) {
+			if (!res && !strcasecmp(argv[x], OUTPUT_MAKEOPTS_DEFAULT)) {
 				existing_config = 1;
 			}
 			res = 0;




More information about the svn-commits mailing list