summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2020-03-02 16:15:07 -0800
committerGuy Harris <guy@alum.mit.edu>2020-03-02 16:15:07 -0800
commit91e2aa9b13cab87d9855095662af396fe0901a4a (patch)
tree2696ec10ef425b8bdde88734060aa225cb4676b7
parentf763b30f67bed382f9080bd4dda8769dfb1034cd (diff)
downloadtcpdump-91e2aa9b13cab87d9855095662af396fe0901a4a.tar.gz
Look for mkdep in the top-level source directory.
Not currently a problem for tcpdump, as we have no subdirectories, but this will leave us prepared for subdirectories if we ever add any.
-rw-r--r--Makefile.in1
-rw-r--r--aclocal.m42
-rwxr-xr-xconfigure2
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index c23d462a..547528e9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,6 +32,7 @@ mandir = @mandir@
# VPATH
srcdir = @srcdir@
+top_srcdir = @top_srcdir@
VPATH = @srcdir@
#
diff --git a/aclocal.m4 b/aclocal.m4
index 6abc82be..14690144 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -366,7 +366,7 @@ AC_DEFUN(AC_LBL_CHECK_DEPENDENCY_GENERATION_OPT,
if AC_RUN_LOG([eval "$CC $ac_lbl_dependency_flag conftest.c >/dev/null 2>&1"]); then
AC_MSG_RESULT([yes, with $ac_lbl_dependency_flag])
DEPENDENCY_CFLAG="$ac_lbl_dependency_flag"
- MKDEP='${srcdir}/mkdep'
+ MKDEP='${top_srcdir}/mkdep'
else
AC_MSG_RESULT([no])
#
diff --git a/configure b/configure
index 3135e68c..c1b46405 100755
--- a/configure
+++ b/configure
@@ -7453,7 +7453,7 @@ _ACEOF
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with $ac_lbl_dependency_flag" >&5
$as_echo "yes, with $ac_lbl_dependency_flag" >&6; }
DEPENDENCY_CFLAG="$ac_lbl_dependency_flag"
- MKDEP='${srcdir}/mkdep'
+ MKDEP='${top_srcdir}/mkdep'
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }