projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0adc8f8
)
configure: Only set the Perl interpreter if the argument is a file.
author
Florian Forster
<octo@collectd.org>
Tue, 25 Sep 2012 10:32:50 +0000
(12:32 +0200)
committer
Florian Forster
<octo@collectd.org>
Tue, 25 Sep 2012 10:32:50 +0000
(12:32 +0200)
This fixes Github issue #137.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
43e3329
..
39a99ea
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-2672,7
+2672,7
@@
AM_CONDITIONAL(BUILD_WITH_LIBPCAP, test "x$with_libpcap" = "xyes")
perl_interpreter="perl"
AC_ARG_WITH(libperl, [AS_HELP_STRING([--with-libperl@<:@=PREFIX@:>@], [Path to libperl.])],
[
- if test -x "$withval"
+ if test -
f "$withval" && test -
x "$withval"
then
perl_interpreter="$withval"
with_libperl="yes"