aboutsummaryrefslogtreecommitdiff
path: root/nxcompext/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'nxcompext/configure.in')
-rw-r--r--nxcompext/configure.in15
1 files changed, 1 insertions, 14 deletions
diff --git a/nxcompext/configure.in b/nxcompext/configure.in
index 08c48a751..6159e84c1 100644
--- a/nxcompext/configure.in
+++ b/nxcompext/configure.in
@@ -219,20 +219,7 @@ CFLAGS="$CFLAGS -DVERSION=\\\"${VERSION}\\\""
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=/usr/bin/makedepend
- fi
- fi
-fi
+MAKEDEPEND="$(which makedepend)"
dnl Determine what to build based on the platform.
dnl Override the LIBS settings on Cygwin32 so that