diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2023-02-14 20:55:51 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2023-02-14 20:55:51 +0000 |
commit | 65f32084580007bbafc0913677520eed03c6a36b (patch) | |
tree | d75798148c6ac4f7476a1af3e39b7da145c8a1e3 | |
parent | 941924ed6da1b67e077bc2f825a57cff51c5a5e9 (diff) |
Autoconf: Refine reporting of os-proto.h. [skip ci]
(same as in tcpdump and tcpslice)
-rw-r--r-- | aclocal.m4 | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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]) |