summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-01-11 13:15:21 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-01-11 13:15:21 +0000
commit6f1e6fce7ecaf989e9132dad484998024784b6e2 (patch)
treef02786378809f4ef0a2abcfab6f6cadd98b7069c /include
parent38545e2c9fec080326e0ce1af3a5d68104e737cb (diff)
downloadATCD-6f1e6fce7ecaf989e9132dad484998024784b6e2.tar.gz
ChangeLogTag: Wed Jan 11 13:14:52 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/rules.local.GNU3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU
index 58fca89dc14..8d9371b54f3 100644
--- a/include/makeinclude/rules.local.GNU
+++ b/include/makeinclude/rules.local.GNU
@@ -412,7 +412,8 @@ endif
DEPGEN ?= $(ACE_ROOT)/bin/depgen.pl
-ifeq ($(notdir $(DEPGEN)), depgen.pl)
+# Use findstring just in case the script was preceded by /usr/bin/perl
+ifeq ($(findstring depgen.pl, $$(notdir $(DEPGEN))), depgen.pl)
DEPEND_CMD_ARGS += -i
ifeq ($(inline), 0)
DEPEND_CMD_ARGS += -n