summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2024-02-12 03:00:06 +0100
committerGuillem Jover <guillem@hadrons.org>2024-02-25 04:19:24 +0100
commit605614d6423083863c7c71bf53786bfec77bbf6a (patch)
tree80a66794b5eb3e7e30e70f5c44d5f90974cd7b36
parentec7f5ee984c55659f77c73db00457d3bcbeb040c (diff)
build: Add support for AIX
-rw-r--r--configure.ac46
-rw-r--r--include/bsd/md5.h2
2 files changed, 48 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1df73de..bedc615 100644
--- a/configure.ac
+++ b/configure.ac
@@ -299,6 +299,52 @@ AS_CASE([$host_os],
abi_vis=yes
abi_wcsl=yes
],
+ [aix*], [
+ abi_accmode=yes
+ abi_arc4random=yes
+ abi_arc4random_stir=yes
+ abi_asprintf=yes
+ abi_bsd_getopt=yes
+ abi_closefrom=yes
+ abi_err=yes
+ abi_errc=yes
+ abi_expand_number=yes
+ abi_explicit_bzero=yes
+ abi_fgetln=yes
+ abi_flopen=yes
+ abi_fmtcheck=yes
+ abi_fpurge=no
+ abi_freezero=yes
+ abi_funopen=no
+ abi_getbsize=yes
+ abi_getpeereid=yes
+ abi_humanize_number=yes
+ abi_id_from_name=yes
+ abi_inet_net_pton=no
+ # On libmd.
+ abi_md5=no
+ abi_name_from_id=yes
+ abi_nlist=no
+ abi_pidfile=yes
+ abi_proctitle=yes
+ abi_progname=yes
+ abi_readpassphrase=yes
+ abi_reallocarray=yes
+ abi_reallocf=yes
+ abi_recallocarray=yes
+ abi_stringlist=yes
+ abi_sort=yes
+ abi_strl=yes
+ abi_strmode=yes
+ abi_strnstr=yes
+ abi_strtonum=yes
+ abi_strtox=yes
+ abi_timeconv=yes
+ # On libmd.
+ abi_transparent_libmd=no
+ abi_vis=yes
+ abi_wcsl=yes
+ ],
[mingw*], [
is_windows=yes
],
diff --git a/include/bsd/md5.h b/include/bsd/md5.h
index 5bd58d8..bfeecfd 100644
--- a/include/bsd/md5.h
+++ b/include/bsd/md5.h
@@ -24,8 +24,10 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _AIX
#ifdef LIBBSD_OVERLAY
#include_next <md5.h>
#else
#include <md5.h>
#endif
+#endif