blob: 0b1891288ea9ada587bd40d292e1ebc5bd606dd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Description: Discover makedepend in $PATH. Especially important for MacPorts (OS X.)
Author: Clemens Lang <cal@macports.org>
--- a/nxproxy/configure.in
+++ b/nxproxy/configure.in
@@ -167,19 +167,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)
|