I have the following configure.ac file:
AC_INIT([Dasyne], [1.0], [dmccall...@gmail.com])
AC_CONFIG_SRCDIR([Dasyne.hpp])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_PREREQ(2.65)
AC_CONFIG_HEADERS([libdasyne/DasyneConfig.hpp])
#Linker parameters to use when checking for features
LDFLAGS=-lboost_s
Yes, that did the trick.
Thanks!
--
View this message in context:
http://www.nabble.com/Specify-location-for-noinst_PROGRAMS-tf4623107.html#a13237339
Sent from the Gnu - Automake - General mailing list archive at Nabble.com.
Hello, I've got a few sample programs that I have included with my library.
Right now I use this:
noinst_PROGRAMS = udpclient udpserver
udpclient_SOURCES = examples/udpclient.cpp
udpserver_SOURCES = examples/udpserver.cpp
Which works fine, but the binaries get placed in the library's base
direc
I had a problem similar to yours, I have a networking library with some
example programs. I have it set up to compile the sample programs after the
library, but before anything is installed. This works, even though my simple
knowledge tells me the sample program requires the lib to be installed. I
Thanks everyone! I've now got it working. However, I had to make a few
changes:
AM_CXXFLAGS = -D_REENTRANT -Wall
AM_LDFLAGS = -lz
LDADD = libdconn.a
noinst_PROGRAMS = udpclient
udpclient_LDADD = libdconn.a
udpclient_SOURCES = examples/udpclient.cpp
Somehow, if I put -lz in LDADD, it doesn't get
I've been trying to use the autotools to compile a static library. The lib
itself compiles and installs OK, but I'm having trouble with the example
programs. These programs must be linked with the lib to compile. I keep
getting 'undefined reference' errors when I try to compile them, even if the
l