fixed aix portability problems

This commit is contained in:
TLINDEN
2013-11-17 16:53:20 +01:00
parent 91cc164f8d
commit 9a3431654e
20 changed files with 496 additions and 24 deletions

11
configure vendored
View File

@@ -12364,7 +12364,9 @@ for ac_func in \
be32toh \
htobe32 \
umask \
towlower
towlower \
getopt_long \
vasprintf
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
@@ -12476,10 +12478,13 @@ $as_echo "no" >&6; }
fi
# Check for some target-specific stuff
case "$host" in
*-*-aix*) ;;
*aix*)
# libm is required as well
CFLAGS="$CFLAGS -D_AIX_SOURCE=1"
LDFLAGS="$LDFLAGS -lm"
;;
*-*-android*) ;;
*-*-cygwin*) ;;
*-*-dgux*) ;;