Changeset 3163


Ignore:
Timestamp:
Oct 31, 2008, 1:29:31 AM (11 years ago)
Author:
bsittler
Message:

allow CC, CXX and MACOSX_SDK_FRAMEWORKS to be overridden using exported environment variables at configure-time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r3155 r3163  
    263263      ;;
    264264    esac
    265     CC=gcc-${GCC_VERSION}
    266     CXX=g++-${GCC_VERSION}
    267     MACOSX_SDK_FRAMEWORKS="-F${MACOSX_SDK}/System/Library/Frameworks"
     265    CC="${CC:-gcc-${GCC_VERSION}}"
     266    CXX="${CXX:-g++-${GCC_VERSION}}"
     267    MACOSX_SDK_FRAMEWORKS="${MACOSX_SDK_FRAMEWORKS:--F${MACOSX_SDK}/System/Library/Frameworks}"
    268268    CPPFLAGS="${CPPFLAGS} ${ARCH} ${MACOSX_SDK_FRAMEWORKS}"
    269269    CFLAGS="${CFLAGS} ${MACOSX_SDK_CFLAGS}"
Note: See TracChangeset for help on using the changeset viewer.