summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m411
1 files changed, 9 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 374a68db2e7d..1ad668080bd6 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -825,6 +825,11 @@ dnl os-proto.h (symlinked)
dnl
AC_DEFUN(AC_LBL_DEVEL,
[rm -f os-proto.h
+ #
+ # MKDEP defaults to no-op (":") if we don't test whether the compiler
+ # supports generating dependencies
+ #
+ MKDEP=:
if test "${LBL_CFLAGS+set}" = set; then
$1="$$1 ${LBL_CFLAGS}"
fi
@@ -901,14 +906,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])