Setting the macro makes no difference on AIX 7.1, see also libpcap
commit
be724d5.
#
set(MAN_FILE_FORMATS 5)
set(MAN_MISC_INFO 7)
#
set(MAN_FILE_FORMATS 5)
set(MAN_MISC_INFO 7)
-if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
- # Workaround to enable certain features
- set(_SUN TRUE)
-elseif(CMAKE_SYSTEM_NAME STREQUAL "HP-UX")
+if(CMAKE_SYSTEM_NAME STREQUAL "HP-UX")
#
# Use System V conventions for man pages.
#
#
# Use System V conventions for man pages.
#
/* define if should drop privileges by default */
#cmakedefine WITH_USER "@WITH_USER@"
/* define if should drop privileges by default */
#cmakedefine WITH_USER "@WITH_USER@"
-/* define on AIX to get certain functions */
-#cmakedefine _SUN 1
-
/* Define to `uint16_t' if u_int16_t not defined. */
#cmakedefine u_int16_t 1
/* Define to `uint16_t' if u_int16_t not defined. */
#cmakedefine u_int16_t 1
MAN_MISC_INFO=7
case "$host_os" in
MAN_MISC_INFO=7
case "$host_os" in
-aix*)
- dnl Workaround to enable certain features
- AC_DEFINE(_SUN,1,[define on AIX to get certain functions])
- ;;
-
hpux*)
#
# Use System V conventions for man pages.
hpux*)
#
# Use System V conventions for man pages.