Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Morten Eriksen
F Labrosse <[EMAIL PROTECTED]> writes: [snip] > No I have the following problem. When I check for qt with: > > AC_CHECK_LIB(qt, main, [snip] I had the exact same problem. Solved it by using AC_TRY_LINK instead. BTW, I've already written a pretty extensive Qt-check macro. Feel free to chec

Re: Testing for a library with a function different from main() (Was: Testing for a library with $CXX (instead of $CC))

2000-04-06 Thread Morten Eriksen
Tom Tromey <[EMAIL PROTECTED]> writes: > >>>>> "Morten" == Morten Eriksen <[EMAIL PROTECTED]> writes: > > Morten> BTW, I've already written a pretty extensive Qt-check macro. Feel free > Morten> to check it out, its part of our SoQ

Re: Changing the name of the PACKAGE at configure time

2000-05-10 Thread Morten Eriksen
Tom Tromey <[EMAIL PROTECTED]> writes: > tom> There are a few tools like this. GNU stow is one. There is at least > tom> one other one whose name I forgot. > > Paul> I think you're thinking of depot. > > It wasn't depot -- I forgot all about that one. So there's still > one more out there.

Re: Changing the name of the PACKAGE at configure time

2000-05-10 Thread Morten Eriksen
Tom Tromey <[EMAIL PROTECTED]> writes: [about making it possible to set PACKAGE] > We could add it, but it doesn't seem that useful in general. It'd be nice to be able to name ``libmyfancylib'' as ``libmyfancylibdbg'' depending on a --disable-debug option to configue, for instance, to make it po

[PATCH] SGI MIPSpro dependency tracking

2000-06-02 Thread Morten Eriksen
Morten Eriksen <[EMAIL PROTECTED]> + +* depcomp: tell SGI MIPSpro compilers to generate dependencies +through the pre-processor (only CVS libtool has the -Wc option +yet). + 2000-05-15 Brendan O'Dea <[EMAIL PROTECTED]> * missing: Add supp

Problem in depcomp due to SGI IRIX sed

2000-06-02 Thread Morten Eriksen
Hi, I discovered an unpleasant problem in the depcomp "sgi" dependency generation code: the first line of the .Plo file will get truncated on IRIX systems with SGI sed where the line is > 8192 characters (i.e. a sourcefile with a large set of dependencies). This can (and more often than not _wil

Re: Problem in depcomp due to SGI IRIX sed

2000-06-02 Thread Morten Eriksen
..] This seems to be the same as PR21, BTW. Here's a suggestion for a fix: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2000-06-02 Morten Eriksen <[EMAIL PROTECTED]> * depcomp: workaround for problem with SGI IRIX sed (it can only handle line

Re: Problem in depcomp due to SGI IRIX sed

2000-06-02 Thread Morten Eriksen
Another suggestion for a fix -- I don't know if this is to be considered worse or better than the previous patch. Is this way of using tail portable? (The _only_ other use of tail I could find in Autoconf and Automake is in depcomp.) Regards, Morten Index: depcomp ===

[PATCH] Another sgi dependency tracking bugfix

2000-06-04 Thread Morten Eriksen
ite a dummy Makefile comment to the "$depfile". Regards, Morten Eriksen Index: ChangeLog === RCS file: /cvs/automake/automake/ChangeLog,v retrieving revision 1.872 diff -u -r1.872 ChangeLog --- ChangeLog 2000/06/02 23:27:02

Re: user-dep-gen-branch question

2000-06-23 Thread Morten Eriksen
ompiling your sources and the .Po files still only contains "#dummy" afterwards, the configure script probably couldn't figure out a way to get your compiler to output dependency information (not that it tries particularly hard, there's room for improvement, I believe). Regards, Morten Eriksen

[Morten Eriksen ] [PATCH] Another sgi dependency tracking bugfix

2000-06-28 Thread Morten Eriksen
quot; scheme. This patch will check if a "$tmpdepfile" was actually written for each source file, and if not; just write a dummy Makefile comment to the "$depfile". Regards, Morten Eriksen Index: ChangeLog ==

Re: C++ shared libraries

2000-08-16 Thread Morten Eriksen
Simon Richter <[EMAIL PROTECTED]> writes: > probably this is a FAQ, [...] I don't think there's a decent FAQ for any of the trio of configure/build tools, so you should be on safe ground. :^) > but i couldn't find an answer: How can I tell automake to check for > a C++ library (i.e. that contai

Re: configure.in in subdirectories

2000-08-18 Thread Morten Eriksen
Diego Sevilla Ruiz <[EMAIL PROTECTED]> writes: > [...] AC_CONFIG_SUBDIRS [...] does automake support this macro and > descend to the subdirectories to build Makefile.in, etc? No. > (and autoconf for generating its corresonding subdir/configure? No. > or must I do it myself? Yes. If you know

[PATCH] compare header files before installing

2000-10-02 Thread Morten Eriksen
Hi, it'd be nice if something like the attached patch could go into Automake. It'd save a lot of recompiling for developers writing libraries. 2000-10-02 Morten Eriksen <[EMAIL PROTECTED]> * header.am (install-@DIR@HEADERS): Don't install a header file if

[PATCH] SGI dependency tracking bugfix

2000-10-02 Thread Morten Eriksen
Re-resending this patch. 2000-06-04 Morten Eriksen <[EMAIL PROTECTED]> * depcomp: fixed bug in sgi dependency tracking mode with sourcecode files which does not contain any dependencies to other source files. Regards, Morten Hi, this patch was never appli

[PATCH] Fix for CRLF problem

2000-10-09 Thread Morten Eriksen
/cvs/automake/automake/ChangeLog,v retrieving revision 1.891 diff -u -r1.891 ChangeLog --- ChangeLog 2000/10/06 22:49:14 1.891 +++ ChangeLog 2000/10/09 10:59:37 @@ -1,3 +1,8 @@ +2000-10-09 Morten Eriksen <[EMAIL PROTECTED]> + + * aclocal.in (write_aclocal): Don't write acl

Re: [PATCH] Fix for CRLF problem

2000-10-09 Thread Morten Eriksen
=== RCS file: /cvs/automake/automake/ChangeLog,v retrieving revision 1.891 diff -u -r1.891 ChangeLog --- ChangeLog 2000/10/06 22:49:14 1.891 +++ ChangeLog 2000/10/09 14:43:56 @@ -1,3 +1,12 @@ +2000-10-09 Morten Eriksen <[EM

[PATCH] Dependency tracking for Microsoft Visual C/C++

2000-10-09 Thread Morten Eriksen
/ChangeLog,v retrieving revision 1.891 diff -u -r1.891 ChangeLog --- ChangeLog 2000/10/06 22:49:14 1.891 +++ ChangeLog 2000/10/09 17:46:26 @@ -1,3 +1,8 @@ +2000-10-09 Morten Eriksen <[EMAIL PROTECTED]> + + * depcomp (msvisualcpp): New dependency tracking mode, this one + work

[PATCH] Output files with LF only

2000-11-15 Thread Morten Eriksen
04 diff -u -r1.904 ChangeLog --- ChangeLog 2000/10/23 18:58:33 1.904 +++ ChangeLog 2000/11/15 11:41:42 @@ -1,3 +1,8 @@ +2000-11-15 Morten Eriksen <[EMAIL PROTECTED]> + + * aclocal.in (write_aclocal): Set ``binmode'' after file has been + opened, otherwise it ha

Re: Automake shooting in its foot

2001-01-24 Thread Morten Eriksen
Akim, > In fact, I am still against generic hooks because that's a bad thing > to do. Nobody where ever imagine doing this in another programming > language. [...] Emacs Lisp comes to mind.. ;-) Regards, Morten

Re: depcomp changes for IRIX

2001-03-16 Thread Morten Eriksen
David, [depcomp with SGI MIPSpro] > The second is optional; to shorten some very long dependency lines I > pruned out all the system headers (all headers with absolute paths). The problem you're probably seeing without your patch is probably lines that are cut off, thereby giving you faulty depe