Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build: fix SunOS and AIX build with autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Mar 12, 2014
1 parent bbcc0c9 commit 7233796
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ endif # WINNT

TESTS = test/run-tests
check_PROGRAMS = test/run-tests
test_run_tests_CFLAGS =
test_run_tests_SOURCES = test/blackhole-server.c \
test/dns-server.c \
test/echo-server.c \
Expand Down Expand Up @@ -219,6 +220,13 @@ test_run_tests_SOURCES += test/runner-unix.c \
test/runner-unix.h
endif

if AIX
test_run_tests_CFLAGS += -D_ALL_SOURCE -D_XOPEN_SOURCE=500
endif

if SUNOS
test_run_tests_CFLAGS += -D__EXTENSIONS__ -D_XOPEN_SOURCE=500
endif


if AIX
Expand Down

0 comments on commit 7233796

Please sign in to comment.