use the same gcc test for AIX as HP-UX

This commit is contained in:
Brent Cook 2015-04-27 08:25:54 -05:00
parent 97c910ecfd
commit 91f01629b9

View File

@ -23,7 +23,7 @@ CFLAGS="$CFLAGS -Wall -std=gnu99"
case $host_os in
*aix*)
HOST_OS=aix
if [ $CC != "gcc" ]; then
if test "`echo $CC | cut -d ' ' -f 1`" != "gcc" ; then
CFLAGS="$USER_CFLAGS"
fi
AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread'])