summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b3bf09b)
raw | patch | inline | side by side (parent: b3bf09b)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 14 Dec 2002 22:30:41 +0000 (22:30 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Sat, 14 Dec 2002 22:30:41 +0000 (22:30 +0000) |
-- Russell Van Tassell <russell@loosenut.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@170 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 7f02e71114f68ec2d20a7e0564b824d71947166f..7b7155e9813f67f5f4654308e251d2e1358aa6a2 100644 (file)
--- a/configure.ac
+++ b/configure.ac
SO_EXT=`$PERL -e 'use Config; if (defined $Config{so} and $Config{so} ne 'a') {print "$Config{so}\n"} else {print "so\n"};'`
AC_MSG_RESULT($SO_EXT)
AC_MSG_CHECKING(for the C compiler perl wants to use to build its modules)
- PROBLEMCC=`$PERL -e 'use Config; map {if (-x "$_/$Config{cc}"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'`
+ PROBLEMCC=`$PERL -e 'use Config; ($cc = $Config{cc}) =~ s/\s.*//; exit 0 if -x $cc; map {if (-x "$_/$cc"){exit 0}} split /:/, $ENV{PATH};print $Config{cc}'`
if test x$PROBLEMCC != x; then
AC_MSG_RESULT(no)
echo Could not find the Compiler: '"'$PROBLEMCC'"'