dnl -*-autoconf-*- dnl dnl Auto-configuration script for udpkey dnl dnl (c) 2012 Mark Wooding dnl dnl----- Licensing notice --------------------------------------------------- dnl dnl This file is part of udpkey. dnl dnl The udpkey program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl The udpkey program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the dnl GNU General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with udpkey; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl-------------------------------------------------------------------------- dnl Initialization. mdw_AUTO_VERSION AC_INIT([udpkey], AUTO_VERSION, [mdw@distorted.org.uk]) AC_CONFIG_SRCDIR([udpkey.c]) AC_CONFIG_AUX_DIR([config]) AM_INIT_AUTOMAKE([foreign]) mdw_SILENT_RULES dnl-------------------------------------------------------------------------- dnl C programming environment. AC_PROG_CC AM_PROG_CC_C_O AX_CFLAGS_WARN_ALL AC_SUBST([AM_CFLAGS]) PKG_CHECK_MODULES([mLib], [mLib >= 2.2.1]) PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.4]) AM_CFLAGS="$AM_CFLAGS $mLib_CFLAGS $catacomb_CFLAGS" dnl-------------------------------------------------------------------------- dnl Output. AC_CONFIG_FILES([Makefile]) AC_OUTPUT dnl----- That's all, folks --------------------------------------------------