[devel] Added -D_ALLSOURCE in configure.ac, makefile.aix, and CMakeLists.txt

when building on AIX.
This commit is contained in:
Glenn Randers-Pehrson
2010-02-19 12:48:10 -06:00
parent 1beadafcc7
commit 64af5394f5
7 changed files with 21 additions and 16 deletions

8
configure vendored
View File

@@ -11415,7 +11415,13 @@ else
fi
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG
case $host_os in
aix*)
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG -D_ALLSOURCE;;
*)
LIBPNG_DEFINES=-DPNG_CONFIGURE_LIBPNG;;
esac
endif
LIBPNG_DEFINES=$LIBPNG_DEFINES