<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- configure.ac.orig	2012-08-13 02:35:26.000000000 -0500
+++ configure.ac	2013-02-07 18:07:04.000000000 -0600
@@ -56,7 +56,7 @@
 dnl&gt; generate the config header
 dnl&gt;
 umask 002
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
 
 HAS_ERROR=
 HAS_WARNING=
@@ -324,23 +324,6 @@
 echo
 echo "Checking C compiler program and features..."
 echo
-AM_PROG_CC_STDC
-if test ".${ac_cv_prog_cc_stdc}" = ".no"; then
-    echo
-    echo "*******************************************************************"
-    echo "*"
-    echo "* WARNING: Attempting to configure for non ANSI standard C."
-    echo "*"
-    echo "*&gt;&gt;&gt; This is unsupported."
-    echo "*&gt;&gt;&gt; It will probably fail."
-    echo "*"
-    echo "*    You are welcome to try - but please, keep the ntop-dev"
-    echo "*    mailing list updated with your successes or failures..."
-    echo "*"
-    echo "*******************************************************************"
-    echo
-    HAS_WARNING="yes"
-fi
 
 dnl&gt; NTOPCONFIGDEBUG_SETTINGS([After cc stdc test])
 
@@ -469,10 +452,6 @@
     LOCALEDIR="/usr/lib/locale"
 fi
 
-dnl&gt; Add /usr/local/ /opt/local
-CFLAGS="${CFLAGS} -I/usr/local/include -I/opt/local/include"
-CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/opt/local/include"
-LDFLAGS="${LDFLAGS} -L/usr/local/lib -L/opt/local/lib"
 
 PWD=`pwd`
 
@@ -1465,25 +1444,8 @@
 dnl&gt; PYTHON
 dnl&gt;
   AC_CHECK_TOOL(PYTHON, python-config)
-  PYTHON_CONFIG=""
+  PYTHON_CONFIG="$ac_cv_prog_ac_ct_PYTHON"
 
-  if test "x$ac_cv_prog_ac_ct_PYTHON" != "xpython-config"; then   
-       if test -f "/etc/debian_version"; then
-       	   AC_MSG_RESULT(Please install python-dev and rerun configure)
-	   exit 1
-	else
-	AC_MSG_RESULT(&gt;&gt;&gt;&gt; Unable to locate python-config: using workaround &lt;&lt;&lt;&lt;)
-        dnl&gt; Silly workaround for RedHat-like distro
-        AC_CHECK_TOOL(PYTHON, python)
-        if test "x$ac_cv_prog_ac_ct_PYTHON" = "xpython"; then
-          PYTHON_CONFIG="./configureextra/python-config"
-        else
-          PYTHON_CONFIG="python-config"
-        fi
-     fi
-  else
-     PYTHON_CONFIG="python-config"
-  fi
 
   if test "x$PYTHON_CONFIG" != "x"; then
     PYTHON_LIBS="`$PYTHON_CONFIG --libs`"
@@ -1981,22 +1943,8 @@
 echo "#endif /* MEMORY_DEBUG */" &gt;&gt; version.c
 
 case "${host}" in
-    *darwin* )
-	if test -f /usr/bin/glibtool; then
-		ln -s  /usr/bin/glibtool libtool
-		echo
-		echo "Copying patched versions of some configure-related files for Mac OS X"
-        	cp packages/MacOSX/lt* .
-		rm -f libtool
-	else
-		if test -f /usr/bin/libtool; then
-			ln -s  /usr/bin/libtool libtool
-		fi 		
-	fi
-        echo
-        ;;
 	*)
-	LIBTOOL_PATH="/usr/bin/libtool"
+	LIBTOOL_PATH="${prefix}/bin/glibtool"
 	if test -x ${LIBTOOL_PATH}; then
 	   rm -f libtool
 	   ln -s ${LIBTOOL_PATH} libtool
</pre></body></html>