This is the mail archive of the ecos-patches@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]
Other format: [Raw text]

Re: [ECOS] tcl in none standard place


> So it looks like the autoconfigure is broken somewhere. Its probably
> something trivial, but i don't understand all this stuff. Can anyone
> help?

Two steps forward, one step back.....

The root of the problem appears to be in acsupport/acinclude.m4. Its
correctly finding the library, but then forgets to add the directory
to the library path. This patch fixes that problem....

But, you then need to rebuild all the configure scripts in the
tree. Is there any easy way to do that? Should the configure scripts
actually be part of CVS? Shouldn't they really be build by autoconf
every time?

      Andrew

Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/acsupport/ChangeLog,v
retrieving revision 1.2
diff -u -r1.2 ChangeLog
--- ChangeLog   27 Aug 2002 20:05:42 -0000      1.2
+++ ChangeLog   20 Sep 2002 17:33:48 -0000
@@ -1,3 +1,8 @@
+2002-09-20  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+       * acinclude.m4: (ECOS_PATH_TCL): having found the library remember to add the
+       path to ecos_LDADD so its propergated into the Makefile.
+
 2002-08-27  Robin Farine  <robin.farine@acn-group.ch>

        * acinclude.m4 (ECOS_PATH_TCL): having found tclConfig.sh in
Index: acinclude.m4
===================================================================
RCS file: /cvs/ecos/ecos/acsupport/acinclude.m4,v
retrieving revision 1.2
diff -u -r1.2 acinclude.m4
--- acinclude.m4        27 Aug 2002 20:05:42 -0000      1.2
+++ acinclude.m4        20 Sep 2002 17:33:49 -0000
@@ -502,6 +502,7 @@
         else
             . ${ecos_tcl_libdir}/tclConfig.sh
             ecos_LIBS="${ecos_LIBS} -ltcl${ecos_tcl_version} ${TCL_LIBS}"
+            ecos_LDADD="${ecos_LDADD} -L${ecos_tcl_libdir}"
         fi

         possible_tk_libdir=`echo ${ecos_tcl_libdir} | sed -e 's,tcl,tk,'`


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