aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/configure.in
diff options
context:
space:
mode:
authorClemens Lang <cal@macports.org>2015-03-15 17:22:38 +0100
committerMihai Moldovan <ionic@ionic.de>2015-03-15 17:24:35 +0100
commit5464a6dba5742a9f22ba18c9b307d4ee42394378 (patch)
tree88925f47223f2153450481837956a34f99183251 /nxcomp/configure.in
parentc460e090bce0b01effcb2409a28bc20cf7a0f013 (diff)
downloadnx-libs-5464a6dba5742a9f22ba18c9b307d4ee42394378.tar.gz
nx-libs-5464a6dba5742a9f22ba18c9b307d4ee42394378.tar.bz2
nx-libs-5464a6dba5742a9f22ba18c9b307d4ee42394378.zip
nx{comp{,ext,shad},proxy}: use path discovery for finding makedepend. Remove old cruft.
Diffstat (limited to 'nxcomp/configure.in')
-rw-r--r--nxcomp/configure.in15
1 files changed, 1 insertions, 14 deletions
diff --git a/nxcomp/configure.in b/nxcomp/configure.in
index 6fa9757a7..2378a9398 100644
--- a/nxcomp/configure.in
+++ b/nxcomp/configure.in
@@ -362,20 +362,7 @@ 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=/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