ibmi: add support for IBM i to autotools build
PR-URL: https://github.com/libuv/libuv/pull/2148 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
8d62d933ef
commit
ca02c36c6d
18
Makefile.am
18
Makefile.am
@ -334,6 +334,12 @@ test_run_tests_CFLAGS += -D_UNIX03_THREADS \
|
||||
-qFLOAT=IEEE
|
||||
endif
|
||||
|
||||
if OS400
|
||||
test_run_tests_CFLAGS += -D_ALL_SOURCE \
|
||||
-D_XOPEN_SOURCE=500 \
|
||||
-D_LINUX_SOURCE_COMPAT
|
||||
endif
|
||||
|
||||
if AIX
|
||||
libuv_la_CFLAGS += -D_ALL_SOURCE \
|
||||
-D_XOPEN_SOURCE=500 \
|
||||
@ -479,6 +485,18 @@ libuv_la_SOURCES += src/unix/pthread-fixes.c \
|
||||
src/unix/os390-syscalls.c \
|
||||
src/unix/proctitle.c
|
||||
endif
|
||||
if OS400
|
||||
libuv_la_CFLAGS += -D_ALL_SOURCE \
|
||||
-D_XOPEN_SOURCE=500 \
|
||||
-D_LINUX_SOURCE_COMPAT \
|
||||
-D_THREAD_SAFE
|
||||
uvinclude_HEADERS += include/uv/posix.h
|
||||
libuv_la_SOURCES += src/unix/aix-common.c \
|
||||
src/unix/ibmi.c \
|
||||
src/unix/posix-poll.c \
|
||||
src/unix/no-fsevents.c \
|
||||
src/unix/no-proctitle.c
|
||||
endif
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = @PACKAGE_NAME@.pc
|
||||
|
||||
@ -60,6 +60,7 @@ AM_CONDITIONAL([HURD], [AS_CASE([$host_os],[gnu*], [true], [false])
|
||||
AM_CONDITIONAL([LINUX], [AS_CASE([$host_os],[linux*], [true], [false])])
|
||||
AM_CONDITIONAL([MSYS], [AS_CASE([$host_os],[msys*], [true], [false])])
|
||||
AM_CONDITIONAL([NETBSD], [AS_CASE([$host_os],[netbsd*], [true], [false])])
|
||||
AM_CONDITIONAL([OS400], [AS_CASE([$host_os],[os400*], [true], [false])])
|
||||
AM_CONDITIONAL([OPENBSD], [AS_CASE([$host_os],[openbsd*], [true], [false])])
|
||||
AM_CONDITIONAL([OS390], [AS_CASE([$host_os],[openedition*], [true], [false])])
|
||||
AM_CONDITIONAL([SUNOS], [AS_CASE([$host_os],[solaris*], [true], [false])])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user