CVS: tmda-cgi configure,1.19,1.20

Jim Ramsay <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv12523

Modified Files:
	configure 
Log Message:
Reversed search order - Check for gcc first before checking for cc


Index: configure
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/configure,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- configure	10 Dec 2003 18:04:31 -0000	1.19
+++ configure	10 Dec 2003 19:35:08 -0000	1.20
@@ -43,7 +43,7 @@
     -C <executable name>
     --cc <executable name>
        Specify a different C compiler besides the two defaults we check for
-       (cc and gcc)
+       (gcc and then cc)
        Current default: %(CC)s
 
     -d <path>
@@ -307,7 +307,7 @@
   elif os.path.isdir("/usr/local/lib/python2.2/site-packages/TMDA"):
     OptD["Base"] = "/usr/local/lib/python2.2/site-packages/"
 
-for compiler in ( "cc", "gcc" ):
+for compiler in ( "gcc", "cc" ):
   cmdline = "which %s" % compiler
   ( i, o, e ) = os.popen3( cmdline )
   if len( o.read() ) > 0:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.