aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-04-27 08:25:54 -0500
committerBrent Cook <bcook@openbsd.org>2015-04-27 08:26:22 -0500
commit91f01629b9b1492b2a7447ef7e746f6135a6edbf (patch)
tree3c5dbc3d632b3f3e02781c353c73d57473bdfab5
parent97c910ecfd2da58b3572693ad1117a8cd1c29467 (diff)
downloadportable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.tar.gz
portable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.tar.bz2
portable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.zip
use the same gcc test for AIX as HP-UX
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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"
23case $host_os in 23case $host_os in
24 *aix*) 24 *aix*)
25 HOST_OS=aix 25 HOST_OS=aix
26 if [ $CC != "gcc" ]; then 26 if test "`echo $CC | cut -d ' ' -f 1`" != "gcc" ; then
27 CFLAGS="$USER_CFLAGS" 27 CFLAGS="$USER_CFLAGS"
28 fi 28 fi
29 AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread']) 29 AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread'])