aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 8b99b2ae..75ba4039 100755
--- a/configure
+++ b/configure
@@ -71,7 +71,11 @@ EOF
71# Helper functions 71# Helper functions
72 72
73find_program() { 73find_program() {
74 command -v "$1" 2>/dev/null 74 prog=`command -v "$1" 2>/dev/null`
75 if [ -n "$prog" ]
76 then
77 dirname "$prog"
78 fi
75} 79}
76 80
77die() { 81die() {