diff options
author | Brent Cook <bcook@openbsd.org> | 2015-04-27 08:25:54 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-04-27 08:26:22 -0500 |
commit | 91f01629b9b1492b2a7447ef7e746f6135a6edbf (patch) | |
tree | 3c5dbc3d632b3f3e02781c353c73d57473bdfab5 | |
parent | 97c910ecfd2da58b3572693ad1117a8cd1c29467 (diff) | |
download | portable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.tar.gz portable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.tar.bz2 portable-91f01629b9b1492b2a7447ef7e746f6135a6edbf.zip |
use the same gcc test for AIX as HP-UX
-rw-r--r-- | configure.ac | 2 |
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" | |||
23 | case $host_os in | 23 | case $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']) |