• Craig Silverstein's avatar
    · ee441911
    Craig Silverstein authored
    A user reported a bug that configure should die when g++ isn't
    installed, but wasn't:
    http://code.google.com/p/google-perftools/issues/detail?id=217
    
    This turned out to be a bug in autoconf:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=357378
    
    The workaround is simple: check for CXX before checking for
    CC.  This means that if g++ is installed but gcc isn't, we
    won't die (at cc-checking time), but I tested, and the
    configure script dies later.  In any case, it seems unlikely
    someone would have a c++ compiler installed but not a c
    compiler.
    
    This fixes the 4 opensource projects I work on that are
    susceptible to this.
    
    R=iant
    DELTA=1437  (694 added, 694 deleted, 49 changed)
    
    
    Revision created by MOE tool push_codebase.
    MOE_MIGRATION=3222
    
    
    git-svn-id: https://gflags.googlecode.com/svn/trunk@66 6586e3c6-dcc4-952a-343f-ff74eb82781d
    ee441911
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
packages Loading commit data...
src Loading commit data...
vsprojects Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
Makefile.in Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README_windows.txt Loading commit data...
aclocal.m4 Loading commit data...
autogen.sh Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
depcomp Loading commit data...
google-gflags.sln Loading commit data...
install-sh Loading commit data...
ltmain.sh Loading commit data...
missing Loading commit data...