Re: PATCH: patsubst support

2001-01-24 Thread Akim Demaille
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: Pavel Hello! Trying to catch up with the mailing lists :-) Pavel I'm surprised that this patch has not been applied since Pavel October. I believe it's very valuable. I even considered doing Pavel it myself. We ended stuck with a portability

Re: PATCH: make install-strip in cross-compilation environments

2001-01-24 Thread Alexandre Duret-Lutz
"Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre On Jan 23, 2001, Alexandre Duret-Lutz [EMAIL PROTECTED] wrote: INSTALL_STRIP_PROGRAM=$$(topsrc_dir)/$(install_sh) -s and then install-strip: $(MAKE) INSTALL_PROGRAM='$(INSTALL_STRIP_PROGRAM)' install So that

Re: Automake shooting in its foot

2001-01-24 Thread Alexandre Oliva
On Jan 24, 2001, Akim Demaille [EMAIL PROTECTED] wrote: "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre Meanwhile, can't we just hide the uses of AC_PROG_CC and Alexandre _CXX from automake by adding ][ in the middle of their Alexandre names? Right, but the code is already

Re: Automake shooting in its foot

2001-01-24 Thread Alexandre Oliva
On Jan 24, 2001, Akim Demaille [EMAIL PROTECTED] wrote: "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre I think it's ok. But I agree the code is messy. We need Alexandre AC_HOOK(MACRO, BEFORE, AFTER) in autoconf. Wow! This sounds real hard, or at least, really expansive

Re: Automake shooting in its foot

2001-01-24 Thread Akim Demaille
"Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre On Jan 24, 2001, Akim Demaille [EMAIL PROTECTED] wrote: "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre I think it's ok. But I agree the code is messy. We need Alexandre AC_HOOK(MACRO, BEFORE, AFTER) in

Re: Automake shooting in its foot

2001-01-24 Thread Alexandre Oliva
On Jan 24, 2001, Akim Demaille [EMAIL PROTECTED] wrote: So to run a hook you need to insert something *inside* the pro/epi pair. Only if the macro is AC_DEFUNed. In which case, we might attempt to match pro/epi in the defn and insert the hooks before/after the actual DEFUN, i.e., between pro

Re: Automake shooting in its foot

2001-01-24 Thread Akim Demaille
The patch below gives this on the very CVS Automake package: % diff Makefile.in Makefile.in.old 63a64,67 CC = @CC@ CPP = @CPP@ CXX = @CXX@ CXXCPP = @CXXCPP@ Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * m4/depend.m4 (AM_DEPENDENCIES): Don't leave `AC_PROG_CC' etc. in

Re: Automake shooting in its foot

2001-01-24 Thread Alexandre Oliva
On Jan 24, 2001, Akim Demaille [EMAIL PROTECTED] wrote: "Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre In which case, we might attempt to match pro/epi in the Alexandre defn and insert the hooks before/after the actual DEFUN, Alexandre i.e., between pro and epi. Oh, just

Re: Automake shooting in its foot

2001-01-24 Thread Akim Demaille
"Alexandre" == Alexandre Oliva [EMAIL PROTECTED] writes: Alexandre Worst case, we can break AC_DEFUNed macros into two macros, Alexandre one with the actual name, that contains the prologue and Alexandre the epilogue and, between them, an invocation of another Alexandre macro, containing the

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: Automake shooting in its foot

2001-01-24 Thread Akim Demaille
"Morten" == Morten Eriksen [EMAIL PROTECTED] writes: Morten 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. [...] Morten Emacs Lisp comes to mind.. ;-) Not exactly: AFAIK, you can't

RE: Automake shooting in its foot

2001-01-24 Thread Tim Van Holder
Morten Emacs Lisp comes to mind.. ;-) Not exactly: AFAIK, you can't freely hook whatever function: you hook on existing hooks. Right? Yes the 'hook' concept in Emacs Lisp requires a function to explicitly run those hooks, i.e. hooks are only available if the person writing a routine makes

Autoconf 2.49c: Release candidate

2001-01-24 Thread Akim Demaille
The following message is a courtesy copy of an article that has been posted to gnu.utils.bug as well. The Autoconf team is extremely proud (and quite relieved) to announce the birth of Autoconf 2.49c, our release candidate. The core Autoconf is not expected to change before the release, while

Re: Portable, Provable, Path separator test?

2001-01-24 Thread Tom Tromey
"Tim" == Tim Van Holder [EMAIL PROTECTED] writes: Tim I'd like to add (at some point) a macro that detects the path Tim separator used on the _build_ system. It's fine with me. I'd check a patch implementing it into automake. I don't know the answer to your problems though. Tom

automake - libtool - lib.so - lib.a

2001-01-24 Thread François Chenais
Hello Using : ltmain.sh (GNU libtool) 1.3.5 (1.385.2.206 2000/05/27 11:12:27) Makefile.am : lib_la_LIBADD = /usr/local/lib/lib2.a ./lib.o ... I would like to make a lib.so library with an other static lib2.a library but I have *** Warning: inter-library dependencies are not known to