From 91f01629b9b1492b2a7447ef7e746f6135a6edbf Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Mon, 27 Apr 2015 08:25:54 -0500 Subject: use the same gcc test for AIX as HP-UX --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index dd4cff3..966cdc9 100644 --- a/configure.ac +++ b/configure.ac @@ -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']) -- cgit v1.2.3-55-g6feb