Changeset 852 in openpam for trunk/autogen.des


Ignore:
Timestamp:
Jan 15, 2015, 5:18:03 PM (6 years ago)
Author:
Dag-Erling Smørgrav
Message:

BullseyeCoverage? needs to know exactly which compiler we're using.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autogen.des

    r691 r852  
    1111export CONFIG_SHELL=/bin/sh
    1212
     13# BullseyeCoverage needs to know exactly which compiler we're using
     14if [ -z "$CC" -a -z "$CPP" -a -z "$CXX" ] ; then
     15        if $(which clang clang++ >/dev/null) ; then
     16                export CC=${CC:-clang}
     17                export CPP=${CPP:-clang -E}
     18                export CXX=${CXX:-clang++}
     19        elif $(which gcc g++ >/dev/null) ; then
     20                export CC=${CC:-gcc}
     21                export CPP=${CPP:-gcc -E}
     22                export CXX=${CXX:-g++}
     23        fi
     24fi
     25
    1326./configure \
    1427        --with-oath \
Note: See TracChangeset for help on using the changeset viewer.