# # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # local automake definitions for ntop ## (this file is processed with 'automake' to produce Makefile.in) # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # # Copyright (c) 1998, 2000 Luca Deri # Updated 1Q 2000 Rocco Carbone # # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # dnl> dnl> Check for an ANSI C typedef in a header dnl> dnl> configure.in: dnl> AC_CHECK_TYPEDEF(,
) dnl> acconfig.h: dnl> #undef HAVE_ dnl> AC_DEFUN([AC_CHECK_TYPEDEF],[dnl AC_REQUIRE([AC_HEADER_STDC])dnl AC_MSG_CHECKING(for typedef $1) AC_CACHE_VAL(ac_cv_typedef_$1, [AC_EGREP_CPP(dnl changequote(<<,>>)dnl <<(^|[^a-zA-Z_0-9])$1[^a-zA-Z_0-9]>>dnl changequote([,]), [ #include <$2> ], ac_cv_typedef_$1=yes, ac_cv_typedef_$1=no)])dnl AC_MSG_RESULT($ac_cv_typedef_$1) if test $ac_cv_typedef_$1 = yes; then AC_DEFINE(HAVE_[]translit($1, [a-z], [A-Z])) fi ]) dnl> dnl> Check whether compiler option works dnl> dnl> configure.in: dnl> AC_COMPILER_OPTION(, ,