Changeset - 120992cc1f14
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 15 years ago 2010-08-16 00:09:02
ohnobinki@ohnopublishing.net
Add -lrt in the correct place.
2 files changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
Makefile.am
Show inline comments
 
@@ -5,13 +5,14 @@ pkgconfigdir = $(libdir)/pkgconfig
 
# both srcdir and builddir are needed because config.h ends up in builddir
 
AM_CPPFLAGS = -DSYSCONFDIR='"$(sysconfdir)"' \
 
	-DLOCALSTATEDIR='"$(localstatedir)"' \
 
	-I$(top_srcdir)/src \
 
	-I$(top_builddir)/src
 
AM_CFLAGS = $(DISTLIBS_CFLAGS)
 
LIBS = $(DISTLIBS_LIBS)
 
# we need the clock_gettime() function
 
LIBS = $(DISTLIBS_LIBS) -lrt
 

	
 
bin_PROGRAMS = distren
 
if ENABLE_SERVER
 
bin_PROGRAMS += distrend distrenslave distrensimpleslave
 
endif
 

	
configure.ac
Show inline comments
 
@@ -71,15 +71,12 @@ PKG_CHECK_MODULES([CHECK], [check >= 0.9
 
dnl define paths for configuration files until a better arrangement is
 
dnl made:
 

	
 
AC_DEFINE_DIR([LOCALSTATEDIR], [localstatedir], [Default directory for storing state information])
 
AC_DEFINE_DIR([RUNSTATEDIR], [localstatedir/run], [Default directory for registering runtime information like pid-files])
 

	
 
# we need the clock_gettime() function
 
LIBS="$LIBS -lrt"
 

	
 
AC_CONFIG_FILES([Makefile
 
	libdistren.pc
 
	etc/distrendaemon.conf
 
	etc/distrenslave.conf
 
])
 

	
0 comments (0 inline, 0 general)