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.verplant.org/?a=commitdiff_plain;h=5874ea5c8b849a7b74fb7d8543bb7713f3165c93;p=rrdtool.git fix extra argument when testing for PERLCC problem -- Simon Leinen git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@568 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index 3ac93fc..243465e 100644 --- a/configure.ac +++ b/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