to select vendor c compiler, may be better do :
if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc
(xlc) 2>&1 | grep -iv "not found" > /dev/null && CC=xlc
fi
2005/7/1, Henri Gomez <[EMAIL PROTECTED]>:
> Why did there is such code in config ?
>
> if [ "${SYSTEM}" = "AIX" ]; then # favor vendor cc over gcc
> (cc) 2>&1 | grep -iv "not found" > /dev/null && CC=cc
> fi
>
> With such code even if gcc was selected previously, we get flags to be
> used with XLC and so it make build failed ;(
>
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List [email protected]