From: oetiker Date: Mon, 16 May 2005 20:02:26 +0000 (+0000) Subject: fix extra argument when testing for PERLCC problem -- Simon Leinen X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7dd484b527dadcb7e20193603f5205dcbe770ed0;p=rrdtool-all.git fix extra argument when testing for PERLCC problem -- Simon Leinen git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@568 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/configure.ac b/program/configure.ac index 3ac93fc2..243465e2 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -313,9 +313,9 @@ else AC_MSG_CHECKING(for the C compiler perl wants to use to build its modules) perlcc=`$PERL -MConfig -e 'print $Config{cc}'` AC_MSG_RESULT($perlcc) - if test ! -x $perlcc; then + if test ! -x "$perlcc"; then AC_PATH_PROG(PERLCC, ${perlcc}, no) - if test -x "x$PERLCC" = "xno"; then + if test "x$PERLCC" = "xno"; then AC_MSG_WARN([ I would not find the Compiler ($perlcc) that was originally used to compile your perl binary. You should either make sure that this compiler is available on your