Re: Is AC_FUNC_MALLOC more trouble than it's worth?

2003-02-06 Thread John Burger
ou need to special-case when the computation results in zero, unless you know malloc(0) works. - John Burger MITRE

Re: How do I make a portable test??

2003-02-13 Thread John Burger
chance they can be empty, e.g., if test "$gsl_inc_count" = 0 && ... Historically, the really retentive thing to do is something like: if test x"$gsl_inc_count" = x0 && ... or, I suppose, for a numeric comparison this would work: if test 0"$gsl_inc_

Re: backward compatability of tools

2003-02-21 Thread John Burger
esence of the modern feature, and die with an intelligent error message if it isn't found. - John Burger MITRE

Re: Newbie Question --debug

2003-02-27 Thread John Burger
?) configure scripts. It contains everything that configure spews to stdout, plus lots more information, like the compiler calls, etc., all keyed by the relevant line number of the configure script. - John Burger MITRE

Re: configure.ac

2003-03-09 Thread John Burger
ously, this isn't possible if both of the comparands (!) are variables, but that's an unusual case, in my (limited) experience. Or is the reversal of the usual idiom just too jarring? Of course, this is recommended by some for C code, to catch = vs == typos. - John Burger MITRE

Re: AC_DEFINE

2003-03-13 Thread John Burger
with -DENABLE_XMMS in the compiler flags, e.g., using @DEFS@ Which, if any, of these routes are you taking? - John Burger MITRE

Re: Default for libexecdir

2003-04-03 Thread John Burger
r=${libexecdir}' for the same reason as above - if someone changes prefix or libexecdir at install time via the make command line, your executable is going to have the wrong value hard-coded into it. - John Burger MITRE

Re: Default for libexecdir

2003-04-03 Thread John Burger
is "edit" the value after AC_INIT happens, taking some care to check that the user didn't explicitly set it on the command line - I'm not sure how to do this without using internal details of the generated configure script ... - John Burger MITRE

Re: AC_C_INLINE and AIX C++ compiler

2003-06-24 Thread John Burger
This issue was recently discussed: http://mail.gnu.org/archive/cgi-bin/ namazu.cgi?query=c%2B%2B+inline&submit=Search%21&idxname=autoconf&max=10 &result=normal&sort=date%3Alate (Careful of line-broken URL.) - John Burger MITRE

Re: Get rid of `-g' in CXXFLAGS

2003-08-02 Thread John Burger
of most configure command-line parameters. - John Burger MITRE