[master] Define _ALL_SOURCE in configure.ac, makefile.aix, and CMakeLists.txt

when using the AIX compiler.
This commit is contained in:
Glenn Randers-Pehrson
2010-02-19 19:22:08 -06:00
parent 2445ad4331
commit 5928ee97ca
7 changed files with 46 additions and 40 deletions

View File

@@ -125,6 +125,10 @@ set(pngtest_sources
add_definitions(-DPNG_CONFIGURE_LIBPNG)
if(_AIX)
add_definitions(-D_ALL_SOURCE)
endif(_AIX)
if(MSVC)
add_definitions(-DPNG_NO_MODULEDEF -D_CRT_SECURE_NO_DEPRECATE)
endif(MSVC)
@@ -209,7 +213,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libpng-config.in
# SET UP LINKS
if(PNG_SHARED)
set_target_properties(${PNG_LIB_NAME} PROPERTIES
# VERSION 14.${PNGLIB_RELEASE}.1.4.1rc03
# VERSION 14.${PNGLIB_RELEASE}.1.4.1rc04
VERSION 14.${PNGLIB_RELEASE}.0
SOVERSION 14
CLEAN_DIRECT_OUTPUT 1)