aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'nxcompshad/configure.in')
-rw-r--r--nxcompshad/configure.in15
1 files changed, 1 insertions, 14 deletions
diff --git a/nxcompshad/configure.in b/nxcompshad/configure.in
index 13149b3a0..a76c6b9a1 100644
--- a/nxcompshad/configure.in
+++ b/nxcompshad/configure.in
@@ -269,19 +269,6 @@ fi
dnl Find makedepend somewhere.
AC_SUBST(MAKEDEPEND)
-
-if test -x "../nx-X11/config/makedepend/makedepend" ; then
- MAKEDEPEND=../nx-X11/config/makedepend/makedepend
-else
- if test -x "/usr/X11R6/bin/makedepend" ; then
- MAKEDEPEND=/usr/X11R6/bin/makedepend
- else
- if test -x "/usr/openwin/bin/makedepend" ; then
- MAKEDEPEND=/usr/openwin/bin/makedepend
- else
- MAKEDEPEND=makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
AC_OUTPUT(Makefile)