aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2023-02-14 20:55:51 +0000
committerDenis Ovsienko <denis@ovsienko.info>2023-02-14 20:55:51 +0000
commit65f32084580007bbafc0913677520eed03c6a36b (patch)
treed75798148c6ac4f7476a1af3e39b7da145c8a1e3
parent941924ed6da1b67e077bc2f825a57cff51c5a5e9 (diff)
Autoconf: Refine reporting of os-proto.h. [skip ci]
(same as in tcpdump and tcpslice)
-rw-r--r--aclocal.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 1b801177..5aff656e 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -742,14 +742,16 @@ testme(unsigned short a)
# .devel file; why should the ABI for which we produce code
# depend on .devel?
#
+ AC_MSG_CHECKING([whether to use an os-proto.h header])
os=`echo $host_os | sed -e 's/\([[0-9]][[0-9]]*\)[[^0-9]].*$/\1/'`
name="lbl/os-$os.h"
if test -f $name ; then
+ AC_MSG_RESULT([yes, at "$name"])
ln -s $name os-proto.h
AC_DEFINE(HAVE_OS_PROTO_H, 1,
- [if there's an os_proto.h for this platform, to use additional prototypes])
+ [if there's an os-proto.h for this platform, to use additional prototypes])
else
- AC_MSG_WARN(can't find $name)
+ AC_MSG_RESULT([no])
fi
fi])