diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-30 22:45:09 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-11-30 22:45:09 +0000 |
commit | 00b7b8f763486431c01ad7251eef6dd523ac4806 (patch) | |
tree | 1390b83d971a99db08cd5543446f8e4bcf646eac /acinclude.m4 | |
parent | ee8d6469f6bf7656e96badb7ec767610a8ff61a1 (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1172 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 43f0408ab0..06c6b165d8 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,6 +1,8 @@ dnl Macros that test for specific features. -dnl This file is part of Autoconf. -dnl Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. +dnl This file is part of the Autoconf packaging for Ethereal. +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 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 @@ -232,13 +234,18 @@ AC_DEFUN(AC_ETHEREAL_UCDSNMP_CHECK, for d in $ucdsnmp_user_dir $prefix do - AC_MSG_CHECKING($d) - - if test x$d != x/usr/local && test -f $d/include/ucd-snmp/snmp.h + if test x$d != xNONE then - AC_MSG_RESULT(found ucd-snmp in $d) - ucdsnmpdir=$d - break + AC_MSG_CHECKING($d for ucd-snmp) + + 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 done |