Changeset - f852203444ee
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 16 years ago 2009-10-03 10:24:46
ohnobinki@ohnopublishing.net
removed AM_PATH_XML2 macro, use pkg-config exclusively
2 files changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
configure.ac
Show inline comments
 
@@ -16,25 +16,24 @@
 
# along with DistRen.  If not, see <http://www.gnu.org/licenses/>.
 

	
 
AC_PREREQ(2.61)
 
AC_INIT([distren],[0.0],[ohnobinki@ohnopublishing.net])
 
AC_CONFIG_SRCDIR([src/server/distrend.c])
 

	
 
AC_PROG_CC
 
AC_PROG_LIBTOOL
 
#AC_PROG_RANLIB #don't add this even if autoscan says to, because AC_PROG_LIBTOOL is enough
 

	
 
AM_INIT_AUTOMAKE
 
AM_PROG_CC_C_O
 
AM_PATH_XML2(2.6.26)
 

	
 
#basic low-level checks (suggested by autoscan)
 
AC_CHECK_FUNCS([dup2])
 
AC_CHECK_FUNCS([memset])
 
AC_CHECK_FUNCS([strdup])
 

	
 
AC_CHECK_HEADERS([fcntl.h])
 
AC_CHECK_HEADERS([malloc.h])
 

	
 
AC_FUNC_FORK
 
AC_FUNC_MALLOC
 

	
src/client/Makefile.am
Show inline comments
 
@@ -4,18 +4,18 @@ distren_LDADD = @DISTLIBS_LIBS@libdistre
 
distren_CFLAGS = @DISTLIBS_CFLAGS@
 

	
 

	
 
include_HEADERS = distren.h
 

	
 
#see http://sources.redhat.com/autobook/autobook/autobook_106.html#SEC106
 
#libdistren:
 

	
 
lib_LTLIBRARIES = libdistren.la
 

	
 
libdistren_la_SOURCES = distren.h libdistren.h libdistren.c libdistren_job.c libdistren_unbias.c libdistren_config.c
 
#evidently the following should not be LDADD, but LDFLAGS because automake doesn't like the idea of LDADD for libraries for some reason... or I am very confused
 
libdistren_la_LIBADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la @XML_LIBS@
 
libdistren_la_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common @XML_CPPFLAGS@
 
libdistren_la_LIBADD = @DISTLIBS_LIBS@ @top_builddir@/src/common/libdistrencommon.la
 
libdistren_la_CFLAGS = @DISTLIBS_CFLAGS@ -I@top_srcdir@/src/common
 

	
 
#see http://sources.redhat.com/autobook/autobook/autobook_91.html
 
# either increase the revision number or the interface number each release!
 
libdistren_la_LDFLAGS = -version-info 0:0:0
0 comments (0 inline, 0 general)