aboutsummaryrefslogtreecommitdiff
path: root/nxcompext
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 /nxcompext
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 'nxcompext')
-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