This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does GCC-3.0 break ecos-CVS?


Bart Veer wrote:
> 
> Explicitly matching /usr/include
> in the various configure.in should suffice. I am not too worried about
> cross-compilation issues: cross-compilation of the eCos host tools is
> pretty rare. I'll look into this when I get a chance.

Okay?

Index: configure.in
===================================================================
RCS file: /home/cvs/ecc/host/libcdl/configure.in,v
retrieving revision 1.2
diff -u -5 -p -r1.2 configure.in
--- configure.in	2000/08/18 16:43:10	1.2
+++ configure.in	2001/07/09 15:37:37
@@ -110,11 +110,15 @@ dnl This should probably be fixed in aut
 dnl but for now this suffices. It is also necessary to worry about
 dnl infra_incdir and tcl_incdir
 if test "${MSVC}" = "yes" ; then
   INCLUDES="\"-I`cygpath -w ${srcdir} | tr \\\\\\\\ /`\"
\"-I${cyg_ac_infra_incdir}\" \"-I${cyg_ac_tcl_incdir}\""
 else
-  INCLUDES="-I${cyg_ac_infra_incdir} -I${cyg_ac_tcl_incdir}"
+  if test "${cyg_ac_tcl_incdir}" = "/usr/include" ; then
+    INCLUDES="-I${cyg_ac_infra_incdir}"
+  else
+    INCLUDES="-I${cyg_ac_infra_incdir} -I${cyg_ac_tcl_incdir}"
+  fi
 fi
 AC_SUBST(INCLUDES)
 
 dnl --------------------------------------------------------------------
 AM_CONFIG_HEADER(cdlconfig.h:config.h.in)

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]