changeset 1269:13aa577c1dd2

[xemacs-hg @ 2003-02-07 15:33:34 by james] Search XEmacs directories first for include files (noted by Raymond Toy).
author james
date Fri, 07 Feb 2003 15:33:35 +0000
parents fffe735e63ee
children d65d8a05e272
files lib-src/ChangeLog lib-src/ellcc.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog	Fri Feb 07 11:50:54 2003 +0000
+++ b/lib-src/ChangeLog	Fri Feb 07 15:33:35 2003 +0000
@@ -1,3 +1,8 @@
+2003-01-14  Jerry James  <james@xemacs.org>
+
+	* ellcc.c (do_compile_mode): Search XEmacs directories first for
+	include files.  Thanks to Raymond Toy.
+
 2003-01-28  Steve Youngs  <youngs@xemacs.org>
 
 	* rcs2log: Synch to GNU version.
--- a/lib-src/ellcc.c	Fri Feb 07 11:50:54 2003 +0000
+++ b/lib-src/ellcc.c	Fri Feb 07 15:33:35 2003 +0000
@@ -613,6 +613,7 @@
   char **exec_argv = xnew (exec_argc + 20, char *);
 
   exec_argv = add_to_argv (exec_argv, ellcc);
+  exec_argv = add_to_argv (exec_argv, ELLCC_CF_ALL);
   exec_argv = add_to_argv (exec_argv, ellcflags);
   exec_argv = add_to_argv (exec_argv, ellpicflags);
   exec_argv = add_to_argv (exec_argv, "-DPIC");
@@ -623,7 +624,6 @@
   exec_argv = add_to_argv (exec_argv, "-Dxemacs");
 #endif
   exec_argv = add_to_argv (exec_argv, "-Demacs");
-  exec_argv = add_to_argv (exec_argv, ELLCC_CF_ALL);
   for (i = 1; i < exec_argc; i++)
     {
       exec_argv = add_string (exec_argv, xstrdup (prog_argv[exec_args[i]]));