Re: Troubles with conditional adding files to library

2009-03-27 Thread Russ Allbery
"Gerald I. Evenden" writes: > I use both functions quite frequently but do nothing special about > library use or using alternate source. I just assumed they are part of > the standard library. I do not understand why there is anything special > about these routines and did wonder why the speci

Re: Troubles with conditional adding files to library

2009-03-27 Thread Gerald I. Evenden
On Friday 27 March 2009 10:52:33 am Russ Allbery wrote: > "Gerald I. Evenden" writes: > > Then I ran autoconfig followed by "autoconfig -vfi" and got messages: > > ... > > configure.ac:34: required file `src/malloc.c' not found > > configure.ac:34: required file `src/strtod.c' not found > > autore

Re: Troubles with conditional adding files to library

2009-03-27 Thread Russ Allbery
"Gerald I. Evenden" writes: > Then I ran autoconfig followed by "autoconfig -vfi" and got messages: > ... > configure.ac:34: required file `src/malloc.c' not found > configure.ac:34: required file `src/strtod.c' not found > autoreconf: automake failed with exit status: 1 > > I commented out AC_FU

Re: Troubles with conditional adding files to library

2009-03-27 Thread Gerald I. Evenden
On Friday 27 March 2009 12:38:16 am Russ Allbery wrote: > "Gerald I. Evenden" writes: > > On Thursday 26 March 2009 10:26:13 pm Russ Allbery wrote: > >> However, more fundamentally, you're reinventing AC_REPLACE_FUNC, which > >> you probably don't want to do. Check the Autoconf manual for > >> AC

Re: [PATCH v2 0/3] Improved support for generated Make rules

2009-03-27 Thread Allan Caffee
On Wed, Mar 4, 2009 at 10:39 PM, Allan Caffee wrote: > The patch series that follows is intended to improve (hopefully replace) the > existing macro AX_ADD_AM_MACRO.  The purpose being to address the fact that > this macro does _not_ create rules for Automake but rather writes a file to be > inclu

Re: Troubles with conditional adding files to library

2009-03-27 Thread Jan Engelhardt
On Friday 2009-03-27 03:26, Russ Allbery wrote: >> In Makefile.am I added the lines: >> >> if NOCASECMP >> libproject_la_sources += strcasecmp.c strncasecmp.c > >You need an endif here, which may also be part of the problem with the >errors you're seeing. > >Taking yet another step back, do yo