Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-27 Thread Bob Proulx
Jim Lynch wrote: > I'd really like a way to enable this for specific applications, not > as a site default. ... ... ... If not, I'll just have to go back to > my cludgy way of adding my own rules to copy it to a hard coded > /etc, (Ugh). What I do is to keep a configure.sh script in the parent di

RE: program specific LDFLAGS

2007-01-27 Thread David Byron
On Saturday, January 27, 2007 @ 7:52a, Ralf Wildenhues wrote: > Surely writing libfoo.a is a problem when using MSVC + LIB for archive > creation. But then again that doesn't work well out of the > box anyway; > you could be using Libtool, name it libfoo.la and put -static in > libfoo_la_LDFLAGS

Re: prog_DEPENDENCIES

2007-01-27 Thread Ralf Wildenhues
Hi Bob, * Bob Rossi wrote on Sat, Jan 27, 2007 at 02:32:30PM CET: > > -std_btree_driver_LDADD = -ladt > +std_btree_driver_LDADD = libadt.a > > -std_btree_driver_DEPENDENCIES = $(top_builddir)/various/adt/src > +std_btree_driver_DEPENDENCIES = libadt.a Hmm. If libadt.a is built in the s

Re: program specific LDFLAGS

2007-01-27 Thread Ralf Wildenhues
Hello David, Bob, all, * Bob Rossi wrote on Sat, Jan 27, 2007 at 02:38:23PM CET: > On Fri, Jan 26, 2007 at 11:04:36PM -0800, David Byron wrote: > > > > # Use these flags for all the programs built here > > LDADD = $(top_builddir)/util/util.a $(BOOST_LIBS) ${PTHREAD_LIBS} > > # testrunner needs t

Re: program specific LDFLAGS

2007-01-27 Thread Bob Rossi
On Fri, Jan 26, 2007 at 11:04:36PM -0800, David Byron wrote: > I'm trying to conditionally add a program-specific linker flag but I'm > having trouble. > > Part of my Makefile.am looks like this: > > noinst_PROGRAMS = zombie immOutTester testrunner > > # Use these flags for all the programs buil

prog_DEPENDENCIES

2007-01-27 Thread Bob Rossi
Hi, I've been using the autotools more and more. I now I have a question about how the prog_DEPENDENCIES work. I recieved a patch recently that looked like this, -std_btree_driver_LDADD = -ladt +std_btree_driver_LDADD = libadt.a -std_btree_driver_DEPENDENCIES = $(top_builddir)/various/adt/

program specific LDFLAGS

2007-01-27 Thread David Byron
I'm trying to conditionally add a program-specific linker flag but I'm having trouble. Part of my Makefile.am looks like this: noinst_PROGRAMS = zombie immOutTester testrunner # Use these flags for all the programs built here LDADD = $(top_builddir)/util/util.a $(BOOST_LIBS) ${PTHREAD_LIBS} # t