Update of /cvsroot/alsa/alsa-driver/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28850

Modified Files:
        mod-deps.c 
Log Message:
No more duplicates in card-specific acinlude.m4 output

Index: mod-deps.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/utils/mod-deps.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod-deps.c  18 Mar 2004 09:56:50 -0000      1.7
+++ mod-deps.c  30 Mar 2004 07:20:31 -0000      1.8
@@ -857,16 +857,18 @@
                return;
        if (dep->hitflag)
                return;
-       dep->hitflag = 1;
        for (nsel = dep->sel; nsel; nsel = nsel->next) {
                if (nsel->hitflag)
                        continue;
                nsel->hitflag = 1;
                sel_print_acinclude(nsel);
-               printf("\t\tCONFIG_%s=\"%c\"\n", nsel->name,
-                       (nsel->dep && nsel->dep->is_bool) ? 'y' : 'm');
-               printf("\t\tAC_DEFINE(CONFIG_%s%s)\n", nsel->name,
-                       (nsel->dep && nsel->dep->is_bool) ? "" : "_MODULE");
+               if (!nsel->dep->hitflag) {
+                       nsel->dep->hitflag = 1;
+                       printf("\t\tCONFIG_%s=\"%c\"\n", nsel->name,
+                               (nsel->dep && nsel->dep->is_bool) ? 'y' : 'm');
+                       printf("\t\tAC_DEFINE(CONFIG_%s%s)\n", nsel->name,
+                               (nsel->dep && nsel->dep->is_bool) ? "" : "_MODULE");
+               }
        }
 }
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to