Skip to content

Commit 07a04df

Browse files
committed
Autoconf: Set the MKDEP default value
MKDEP defaults to no-op (":") if we don't test whether the compiler supports generating dependencies. This avoids: $ make depend -c clang-19 -m -s . -DHAVE_CONFIG_H -I. -I../libpcap fptype.c tcpdump.c <libnetdissect src list> /bin/sh: 1: c: not found
1 parent 9109061 commit 07a04df

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aclocal.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,11 @@ dnl os-proto.h (symlinked)
795795
dnl
796796
AC_DEFUN(AC_LBL_DEVEL,
797797
[rm -f os-proto.h
798+
#
799+
# MKDEP defaults to no-op (":") if we don't test whether the compiler
800+
# supports generating dependencies
801+
#
802+
MKDEP=:
798803
if test "${LBL_CFLAGS+set}" = set; then
799804
$1="$$1 ${LBL_CFLAGS}"
800805
fi

0 commit comments

Comments
 (0)