Fixed output in AC_ETHEREAL_UCDSNMP_CHECK. AC_MSG_CHECKING should

not be called with d is xNONE, and if called, it should always be followed
by an AC_MSG_RESULT() in order to get a newline printed.

svn path=/trunk/; revision=1172
This commit is contained in:
Gilbert Ramirez 1999-11-30 22:45:09 +00:00
parent 5d25bd8275
commit ada449cf1b

View File

@ -1,6 +1,8 @@
dnl Macros that test for specific features. dnl Macros that test for specific features.
dnl This file is part of Autoconf. dnl This file is part of the Autoconf packaging for Ethereal.
dnl Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. dnl Copyright (C) 1998-2000 by Gerald Combs.
dnl
dnl $Id: acinclude.m4,v 1.15 1999/11/30 22:45:09 gram Exp $
dnl dnl
dnl This program is free software; you can redistribute it and/or modify dnl This 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 it under the terms of the GNU General Public License as published by
@ -232,13 +234,18 @@ AC_DEFUN(AC_ETHEREAL_UCDSNMP_CHECK,
for d in $ucdsnmp_user_dir $prefix for d in $ucdsnmp_user_dir $prefix
do do
AC_MSG_CHECKING($d) if test x$d != xNONE
if test x$d != x/usr/local && test -f $d/include/ucd-snmp/snmp.h
then then
AC_MSG_RESULT(found ucd-snmp in $d) AC_MSG_CHECKING($d for ucd-snmp)
ucdsnmpdir=$d
break if test x$d != x/usr/local && test -f $d/include/ucd-snmp/snmp.h
then
AC_MSG_RESULT(found)
ucdsnmpdir=$d
break
else
AC_MSG_RESULT(not found)
fi
fi fi
done done