summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2013-07-04 21:53:08 +0200
committerLuca Barbato <lu_zero@gentoo.org>2013-07-04 21:54:32 +0200
commitd3635f3ab0a234c830dfb4ddb9c6a4ea2677dace (patch)
treec6243a135a0b7dbcc5c5bcdffbbdcfc032724a34 /configure
parent0420c810ceb430003f9f2793c5cfa1fe84657f3d (diff)
compat: wrap math.h to avoid AIX-specific clashes
AIX defines a class() function in its math.h header without any guard.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index db591e8836..e1edbe6996 100755
--- a/configure
+++ b/configure
@@ -3049,6 +3049,9 @@ enabled spic && enable_weak pic
# OS specific
case $target_os in
+ aix)
+ add_cppflags '-I\$(SRC_PATH)/compat/aix'
+ ;;
haiku)
prefix_default="/boot/common"
network_extralibs="-lnetwork"