]> git.pld-linux.org Git - packages/ntop.git/commitdiff
- fix am to build xmldump
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Jan 2006 13:47:31 +0000 (13:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ntop-am.patch -> 1.4

ntop-am.patch

index 6a542b8ef4b78c74191f0e405af59ddf6aa19f30..9f0b9bd98c975448c7b675e1c3c774a22a1de268 100644 (file)
  
  echo
  echo "Welcome to $PACKAGE_NAME, Version $PACKAGE_VERSION $NTOP_VERSION_EXTRA"
+diff -ur ntop-3.2/Makefile.am ntop-3.2.am/Makefile.am
+--- ntop-3.2/Makefile.am       2006-01-02 12:32:14.000000000 +0200
++++ ntop-3.2.am/Makefile.am    2006-01-02 12:28:11.000000000 +0200
+@@ -46,13 +46,6 @@
+ CLEANFILES     = $(DISTCLEANFILES)
+ INSTALLCLEANFILES = addressQueue.db dnsCache.db
+-#
+-# Fake out the missing tests for the auto* tools
+-#
+-ACLOCAL = /bin/sh ./missing --run echo
+-AUTOCONF = /bin/sh ./missing --run echo
+-AUTOMAKE = /bin/sh ./missing --run echo
+-AUTOHEADER = /bin/sh ./missing --run echo
+ # A list of all the files in the current directory which can be regenerated
+ MAINTAINERCLEANFILES = COPYING Makefile.in aclocal.m4 config.guess \
+diff -ur ntop-3.2/configure.in ntop-3.2.am/configure.in
+--- ntop-3.2/configure.in      2006-01-02 12:32:14.000000000 +0200
++++ ntop-3.2.am/configure.in   2006-01-02 12:27:48.000000000 +0200
+@@ -1827,6 +1827,7 @@
+       AC_DEFINE(HAVE_ISINF,1,we have the isinf function)],[AC_MSG_RESULT(no)])])
+ dnl> XML dump (plugin)
++AM_PATH_GLIB_2_0(2.0.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib2 distribution not found.), gmodule)
+ AC_CHECK_HEADERS(glib.h glibconfig.h)
+ AC_CHECK_HEADERS(gdome.h)
+diff -u ntop-3.2/configure.in ntop-3.2.gdome/configure.in
+--- ntop-3.2/configure.in      2006-01-02 15:42:02.000000000 +0200
++++ ntop-3.2.gdome/configure.in        2006-01-02 14:45:38.000000000 +0200
+@@ -1827,9 +1827,21 @@
+       AC_DEFINE(HAVE_ISINF,1,we have the isinf function)],[AC_MSG_RESULT(no)])])
+ dnl> XML dump (plugin)
+-AM_PATH_GLIB_2_0(2.0.0, CFLAGS="$CFLAGS $GLIB_CFLAGS", AC_MSG_ERROR(GLib2 distribution not found.), gmodule)
++AM_PATH_GLIB_2_0(2.0.0, , AC_MSG_ERROR(GLib2 distribution not found.), gmodule)
++
++CPPFLAGS_save="$CPPFLAGS"
++CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
+ AC_CHECK_HEADERS(glib.h glibconfig.h)
++CPPFLAGS="$CPPFLAGS_save"
++
++PKG_CHECK_MODULES(GDOME, gdome2 >= 0.7.0,, AC_MSG_ERROR(could not find Gdome2))
++AC_SUBST(GDOME_CFLAGS)
++AC_SUBST(GDOME_LIBS)
++
++CPPFLAGS_save="$CPPFLAGS"
++CPPFLAGS="$CPPFLAGS $GDOME_CFLAGS"
+ AC_CHECK_HEADERS(gdome.h)
++CPPFLAGS="$CPPFLAGS_save"
+ AC_TYPE_PID_T
+ dnl> Autoconf2: AC_CHECK_TYPE(pid_t, int)
+diff -u ntop-3.2/plugins/Makefile.am ntop-3.2.gdome/plugins/Makefile.am
+--- ntop-3.2/plugins/Makefile.am       2006-01-02 15:42:02.000000000 +0200
++++ ntop-3.2.gdome/plugins/Makefile.am 2006-01-02 15:41:18.000000000 +0200
+@@ -84,7 +84,7 @@
+ libxmldumpPlugin_la_SOURCES = xmldumpPlugin.c
+ libxmldumpPlugin_la_LDFLAGS = -shared -release @PACKAGE_VERSION@ @DYN_FLAGS@
+-libxmldumpPlugin_la_CFLAGS = $(AM_CFLAGS)
++libxmldumpPlugin_la_CFLAGS = $(AM_CFLAGS) $(GDOME_CFLAGS) $(GLIB_CFLAGS)
+ #
+ # Dependencies to allow ntop loading plugins on-place
This page took 0.041535 seconds and 4 git commands to generate.