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: 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

Re: Troubles with conditional adding files to library

2009-03-26 Thread Russ Allbery
"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_REPLACE_FUNC, which does exactly what you're trying to do, even

Re: Troubles with conditional adding files to library

2009-03-26 Thread Gerald I. Evenden
On Thursday 26 March 2009 10:26:13 pm Russ Allbery wrote: > "Gerald I. Evenden" writes: > > I am quite new to using this system but managed to get it to make a > > distribution of a shared library. The first try was, however, simple > > and straight forward. > > > > However, I want selectively ad

Re: Troubles with conditional adding files to library

2009-03-26 Thread Russ Allbery
"Gerald I. Evenden" writes: > I am quite new to using this system but managed to get it to make a > distribution of a shared library. The first try was, however, simple > and straight forward. > > However, I want selectively add two files to the library based upon the > condition that they are

Troubles with conditional adding files to library

2009-03-26 Thread Gerald I. Evenden
I am quite new to using this system but managed to get it to make a distribution of a shared library. The first try was, however, simple and straight forward. However, I want selectively add two files to the library based upon the condition that they are *not* present on the target computer.