aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2015-02-10 23:49:31 -0600
committerBrent Cook <bcook@openbsd.org>2015-03-31 09:25:21 -0500
commitfe3f7fc6365bfaac3418a72256b8c11603e80cbf (patch)
treeac6ee47f5ecb73a5645bb4bdbe2dc97ff8aa02fd /configure.ac
parent20101fd6b33d712e45f74c5297f79ea4225c183c (diff)
downloadportable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.tar.gz
portable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.tar.bz2
portable-fe3f7fc6365bfaac3418a72256b8c11603e80cbf.zip
Add experimental AIX support.
This includes a WIP failsafe issetugid for now, while research continues on the proper way to do this in a race-free fashion in AIX.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 67266cb..75a1ec2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,10 @@ LT_INIT
18CFLAGS="$CFLAGS -Wall -std=gnu99" 18CFLAGS="$CFLAGS -Wall -std=gnu99"
19 19
20case $host_os in 20case $host_os in
21 *aix*)
22 HOST_OS=aix
23 AC_SUBST([PLATFORM_LDADD], ['-lperfstat -lpthread'])
24 ;;
21 *cygwin*) 25 *cygwin*)
22 HOST_OS=cygwin 26 HOST_OS=cygwin
23 ;; 27 ;;
@@ -68,6 +72,7 @@ case $host_os in
68 *) ;; 72 *) ;;
69esac 73esac
70 74
75AM_CONDITIONAL([HOST_AIX], [test x$HOST_OS = xaix])
71AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin]) 76AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin])
72AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) 77AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin])
73AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd]) 78AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd])