Re: Request for configure override for AC_FUNC_MALLOC

2005-02-23 Thread Marc Singer
On Tue, Feb 22, 2005 at 05:18:33PM -0800, Ben Pfaff wrote: > Marc Singer <[EMAIL PROTECTED]> writes: > > > The trouble is that I want to be able to cross compile a large > > number of packages without going through the effort to patch > > and add this function. > > If programs fail because of thi

HTML manual down?

2005-02-23 Thread Justin Pence
Hello, my name is Justin Pence and I am a webmaster for the GNU project. We've recently gotten a few emails about the fact that you guys no longer have the autoconf manual online in HTML form. Is there a reason for this? If not, can you please get it back online? (I prefer that the project maintain

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Paul Eggert
Hugh Sasse Staff Elec Eng <[EMAIL PROTECTED]> writes: > I'm proposing that Autoconf tell me as much as possible when things > go wrong. "Possible" includes knowledge that the authors of a > configuration have. But typically the information that the authors have is quite limited, compared to the

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Hugh Sasse Staff Elec Eng
On Wed, 23 Feb 2005, Paul Eggert wrote: Hugh Sasse Staff Elec Eng <[EMAIL PROTECTED]> writes: I'm proposing that Autoconf tell me as much as possible when things go wrong. "Possible" includes knowledge that the authors of a configuration have. But typically the information that the authors have is

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Hugh Sasse Staff Elec Eng
On Tue, 22 Feb 2005, Jacob Meuser wrote: On Wed, Feb 23, 2005 at 01:24:06AM +, Hugh Sasse Staff Elec Eng wrote: too soon implemented. Autoconf cannot test for versions of packages, because there is no standard way to present this even with a --version option. But we can say that you need GNU

_AS_ECHO_N_PREPARE questions

2005-02-23 Thread Stepan Kasal
Hi, I read the macro _AS_ECHO_N_PREPARE: m4_defun([_AS_ECHO_N_PREPARE], [case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac ]) I have several

can I use dmesg to detect CPU type?

2005-02-23 Thread odfiz-homepage
Hi, i'm a newbie, and i need to have my library optimized for the cpu installed in the system of the user. Can I use dmesg messages to do it? there is a better way? thanks Bracco ___ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Ava

Re: can I use dmesg to detect CPU type?

2005-02-23 Thread Harald Dunkel
[EMAIL PROTECTED] wrote: Hi, i'm a newbie, and i need to have my library optimized for the cpu installed in the system of the user. Can I use dmesg messages to do it? there is a better way? AC_CANONICAL_TARGET? Regards Harri ___ Autoconf mailing list Aut

lib_LIBRARIES must be set with `=' before using `+='

2005-02-23 Thread Harald Dunkel
Hi folks, Automake gave me this message: mylib/Makefile.inc:19: lib_LIBRARIES must be set with `=' before using `+=' Makefile.am:5: `mylib/Makefile.inc' included from here I would not like to add any assumption to Makefile.inc whether lib_LIBRARIES has been set before. So I have added lib

Re: can I use dmesg to detect CPU type?

2005-02-23 Thread Dimitri Ognibene
On Wed, 23 Feb 2005 16:35:23 +0100, Harald Dunkel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Hi, i'm a newbie, and i need to have my library optimized for the cpu > > installed > > in the system of the user. Can I use dmesg messages to do it? there is a > > better > > way? > > AC_

Re: can I use dmesg to detect CPU type?

2005-02-23 Thread Sascha Silbe
On Wed, Feb 23, 2005 at 05:31:49PM +0100, Dimitri Ognibene wrote: I'd like to choose cpu specific CFLAGS, for Athlon,pentium 3,4,5,6,7... Let the user choose the CFLAGS. Just give a hint in the README about adding optimized CFLAGS. Otherwise the package will always work only on hosts with exactl

Re: Request for configure override for AC_FUNC_MALLOC

2005-02-23 Thread Ben Pfaff
Marc Singer <[EMAIL PROTECTED]> writes: > On Tue, Feb 22, 2005 at 05:18:33PM -0800, Ben Pfaff wrote: >> Marc Singer <[EMAIL PROTECTED]> writes: >> >> > The trouble is that I want to be able to cross compile a large >> > number of packages without going through the effort to patch >> > and add thi

Re: Request for configure override for AC_FUNC_MALLOC

2005-02-23 Thread Ben Pfaff
Marc Singer <[EMAIL PROTECTED]> writes: > It is clear to me the intention of the AC_FUNC_MALLOC in protecting > programs from non-conforming malloc() implementations. By the way, malloc(0) returning a null pointer is perfectly conforming. It is just not what some programs want. -- I love deadli

configure: error: invalid package name: module

2005-02-23 Thread Sam Steingold
Hi, I get this error on cygwin: configure: error: invalid package name: module from a subdirectory configure script which is invoked by the master configure. I get this error quite reliably, but each time from a different subdirectory configure. the top-level invocation is: ./configure --with-

Re: can I use dmesg to detect CPU type?

2005-02-23 Thread Dimitri Ognibene
On Wed, 23 Feb 2005 17:51:33 +0100, Sascha Silbe <[EMAIL PROTECTED]> wrote: > On Wed, Feb 23, 2005 at 05:31:49PM +0100, Dimitri Ognibene wrote: > > > I'd like to choose cpu specific CFLAGS, for Athlon,pentium > > 3,4,5,6,7... > Let the user choose the CFLAGS. Just give a hint in the README about >

Re: configure: error: invalid package name: module

2005-02-23 Thread Paul Eggert
Sam Steingold <[EMAIL PROTECTED]> writes: > I get this error on cygwin: > > configure: error: invalid package name: module > > ... what can be done about this? You can try to track down the problem, e.g., with "sh -x configure". Here's the relevant lines: expr "x$ac_package" : ".*[^-_$as_cr

Re: _AS_ECHO_N_PREPARE questions

2005-02-23 Thread Paul Eggert
Thanks; I installed this patch (which incorporates a further idea to save a process in the usual case where echo -n works). 2005-02-23 Paul Eggert <[EMAIL PROTECTED]> * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to newline if neither \c nor -n work, as that would

Re: HTML manual down?

2005-02-23 Thread Paul Eggert
Justin Pence <[EMAIL PROTECTED]> writes: > We've recently gotten a few emails about the fact that you guys no > longer have the autoconf manual online in HTML form. Is there a reason > for this? If not, can you please get it back online? Thanks for mentioning this. It is a copyright-notice probl

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Paul Eggert
Hugh Sasse Staff Elec Eng <[EMAIL PROTECTED]> writes: > But we have already agreed that we would be testing for features, > not version numbers, Then I'm afraid I still don't understand your proposal. Autoconf already tests for features. Perhaps you can flesh it out a bit more by saying exactly

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Hugh Sasse Staff Elec Eng
On Wed, 23 Feb 2005, Paul Eggert wrote: Perhaps you can flesh it out a bit more by saying exactly what should go into the DEPENDENCIES file for Autoconf itself, and what "configure" should do in some common cases. To be honest, I still don't really understand what you're proposing. I'm sorry, I t

AC_PROG_LEX doesn't notice when lex isn't installed

2005-02-23 Thread Brian Sammon
I notice that on a computer without some version of lex installed, the AC_PROG_LEX macro assumes that some version of lex is installed. I would prefer that AC_PROG_LEX error out if lex is not installed. I think it's safe to assume that packages that use AC_PROG_LEX require lex to build. I'm w

AC_CHECK_LIB doesn't find existing, linkable libraries

2005-02-23 Thread Harry Mangalam
Hi All, First post for me - couldn't find the answer after googling and examining examples for several hours so here goes: (This problem exists on a dual opteron system: uname reports: Linux xxx.xxx.uci.edu 2.6.8.1-4-amd64-k8-smp #1 SMP Fri Jan 14 11:33:56 UTC 2005 x86_64 GNU/Linux, running ub

Re: RFE: configure -> dependency list on exit.

2005-02-23 Thread Paul Eggert
Hugh Sasse Staff Elec Eng <[EMAIL PROTECTED]> writes: >* some macro such as AC_NEEDS(Tthis, That) expresses the idea > that This feature is KNOWN to depend on the existence of That > feature. This is a bit vague. Can you give some specific examples of invocations of this macro? F

Re: AC_PROG_LEX doesn't notice when lex isn't installed

2005-02-23 Thread Paul Eggert
Brian Sammon <[EMAIL PROTECTED]> writes: > I think it's safe to assume that packages that use AC_PROG_LEX > require lex to build. No, because people typically ship lex's output as part of the source code. Can't you do something like this? AC_PROG_LEX case $LEX in :) AC_MSG_ERROR([No lex program

Re: lib_LIBRARIES must be set with `=' before using `+='

2005-02-23 Thread Andre Caldas
Hello, Harald! > I would not like to add any assumption to Makefile.inc > whether lib_LIBRARIES has been set before. So I have added > > lib_LIBRARIES = > > to the beginning of the top level Makefile.am as a workaround. > But of course this is pretty ugly. There might be billions of > other var

Re: AC_CHECK_LIB doesn't find existing, linkable libraries

2005-02-23 Thread Noah Misch
On Wed, Feb 23, 2005 at 03:24:11PM -0800, Harry Mangalam wrote: > Can anyone provide some insight as to why this isn't working? > > Is there a way to verify where AC_CHECK_LIB is looking? Look in `config.log'; it shows all the test commands `configure' runs, their output, and the input to comma

Re: AC_PROG_LEX doesn't notice when lex isn't installed

2005-02-23 Thread Stepan Kasal
Hi, On Wed, Feb 23, 2005 at 03:51:06PM -0800, Paul Eggert wrote: > No, because people typically ship lex's output as part of the source code. I agree with Paul. Let me explain that this means that lex is not called unless you modify the lex source. > AC_PROG_LEX > case $LEX in > :) AC_MSG_ERROR

Re: configure: error: invalid package name: module

2005-02-23 Thread Sam Steingold
> * Paul Eggert <[EMAIL PROTECTED]> [2005-02-23 10:52:05 -0800]: > > Sam Steingold <[EMAIL PROTECTED]> writes: > >> I get this error on cygwin: >> >> configure: error: invalid package name: module >> >> ... what can be done about this? > > You can try to track down the problem, e.g., with "sh -x co