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
 
ACLOCAL_AMFLAGS = -I m4
 

	
 
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
 

	
 
include_HEADERS = src/client/distren.h
 

	
 
lib_LTLIBRARIES = libdistren.la
 
pkglib_LTLIBRARIES = libdistrencommon.la
 

	
 
nodist_pkgconfig_DATA = libdistren.pc
configure.ac
Show inline comments
 
@@ -65,22 +65,19 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([#includ
 
	return 0;])], [AC_DEFINE([HAVE_LIST_BRAG], [], [Define if liblist has list_brag.])], [])
 
LIBS="$LIBS_save"
 
CFLAGS="$CFLAGS_save"
 

	
 
PKG_CHECK_MODULES([CHECK], [check >= 0.9.3])
 

	
 
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
 
])
 

	
 
AC_OUTPUT
0 comments (0 inline, 0 general)