head 1.8; access; symbols SNMPDX_1_0_0:1.8 SNMPDX_0_2_11:1.7 SNMPDX_0_2_10:1.6 SNMPDX_0_2_9:1.5 SNMPDX_0_2_8:1.5 SNMPDX_0_2_7:1.5 SNMPDX_0_2_6:1.5 SNMPDX_0_2_5:1.3 SNMPDX_0_2_4:1.2 SNMPDX_0_2_3:1.2 SNMPDX_0_2_2:1.2 SNMPDX_0_2_1:1.2 SNMPDX_0_2_0:1.1; locks; strict; comment @# @; 1.8 date 2007.03.01.10.52.38; author rse; state Exp; branches; next 1.7; commitid FNuFlqR2Qo3fkn8s; 1.7 date 2005.10.05.17.42.13; author rse; state Exp; branches; next 1.6; 1.6 date 2004.07.30.09.30.04; author thl; state Exp; branches; next 1.5; 1.5 date 2003.09.10.14.17.05; author rse; state Exp; branches; next 1.4; 1.4 date 2003.09.10.13.54.33; author rse; state Exp; branches; next 1.3; 1.3 date 2003.09.10.13.30.47; author rse; state Exp; branches; next 1.2; 1.2 date 2003.09.09.12.50.04; author thl; state Exp; branches; next 1.1; 1.1 date 2003.09.09.09.24.28; author thl; state Exp; branches; next ; desc @@ 1.8 log @Upgrade build environment to GNU shtool 2.0.6 and GNU autoconf 2.60 @ text @## ## OSSP snmpdx - SNMP Daemon Extension ## Copyright (c) 2003-2007 Ralf S. Engelschall ## Copyright (c) 2003-2007 The OSSP Project ## Copyright (c) 2003-2005 Cable & Wireless ## ## This file is part of OSSP snmpd, a SNMP Daemon Extension which ## can be found at http://www.ossp.org/pkg/tool/snmpdx/. ## ## 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.0 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 file; if not, write to the Free Software ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 ## USA, or contact Ralf S. Engelschall . ## ## configure.ac: auto-configuration source (syntax: Autoconf) ## dnl # standard Autoconf prolog AC_PREREQ(2.61) AC_INIT dnl # standard OSSP style header V=`./shtool version -ltxt -dlong VERSION` ./shtool echo -e "Configuring %BOSSP snmpdx%b, Version %B${V}%b" echo "Copyright (c) 2003-2007 Ralf S. Engelschall " echo "Copyright (c) 2003-2007 The OSSP Project " echo "Copyright (c) 2003-2005 Cable & Wireless " dnl # check for OpenPKG AC_MSG_CHECKING(for openpkg instance) AC_ARG_WITH(openpkg,dnl [ --with-openpkg=PATH force the use of a particular OpenPKG instance], with_openpkg="$withval", dnl # find any OpenPKG 2.x if test ".$with_openpkg" = .; then for i in `cat /dev/null` fi )dnl if test ".$snmp_prefix" = .; then AC_MSG_ERROR([path to net-snmp package not found (specify with --with-snmp=PREFIX]) fi snmp_mibdir=`find $snmp_prefix/share/ -type d -name "mibs" -print 2>/dev/null | head -1 | sed -e 's;//*;/;g'` if test ".$snmp_mibdir" = .; then snmp_mibdir=`find $snmp_prefix/ -type d -name "mibs" -print 2>/dev/null | head -1 | sed -e 's;//*;/;g'` fi if test ".$snmp_mibdir" = .; then AC_MSG_ERROR([net-snmp MIB directory not found under $snmp_prefix]) fi snmpmibdir="$snmp_mibdir" AC_SUBST(snmpmibdir) AC_MSG_RESULT($snmpmibdir) dnl # check for make(1) AC_SET_MAKE dnl # standard Autoconf epilog AC_CONFIG_FILES([Makefile]) AC_OUTPUT @ 1.7 log @flush pending changes @ text @d3 2 a4 2 ## Copyright (c) 2003-2005 Ralf S. Engelschall ## Copyright (c) 2003-2005 The OSSP Project d29 1 a29 1 AC_PREREQ(2.53) d35 2 a36 2 echo "Copyright (c) 2003-2005 Ralf S. Engelschall " echo "Copyright (c) 2003-2005 The OSSP Project " @ 1.6 log @support a configurable OpenPKG instance @ text @d3 3 a5 3 ## Copyright (c) 2003 Ralf S. Engelschall ## Copyright (c) 2003 The OSSP Project ## Copyright (c) 2003 Cable & Wireless d35 3 a37 3 echo "Copyright (c) 2003-2004 Ralf S. Engelschall " echo "Copyright (c) 2003-2004 The OSSP Project " echo "Copyright (c) 2003-2004 Cable & Wireless " @ 1.5 log @Add Autoconf option --with-snmp=PREFIX for specifying installation prefix of net-snmp package in order to find the net-snmp MIB directory. @ text @d35 35 a69 3 echo "Copyright (c) 2003 Ralf S. Engelschall " echo "Copyright (c) 2003 The OSSP Project " echo "Copyright (c) 2003 Cable & Wireless " @ 1.4 log @Find pod2man(1) side-by-side with perl(1) executable. @ text @d28 1 d32 1 d39 2 a40 1 AC_MSG_CHECKING(for Perl program) d54 24 d80 1 @ 1.3 log @source tree polishing @ text @d48 2 @ 1.2 log @flush pending changes before tagging @ text @a2 1 ## d5 1 a5 1 ## Copyright (c) 2003 Cable & Wireless Germany d11 2 a12 2 ## modify it under the terms of the GNU General Public License ## as published by the Free Software Foundation; either version d20 1 a20 1 ## You should have received a copy of the GNU General Public License d35 1 a35 1 echo "Copyright (c) 2003 Cable & Wireless Germany " a50 1 ##AC_CONFIG_HEADERS(config.h) @ 1.1 log @flush pending changes before tagging @ text @d52 1 a52 1 AC_CONFIG_HEADERS(config.h) @