Should not need -D_POSIX_PTHREAD_SEMANTICS.

pull/850/head
Nicholas Marriott 2017-03-22 07:49:27 +00:00
parent 080080fa23
commit 223ed4a989
2 changed files with 3 additions and 2 deletions

View File

@ -41,9 +41,9 @@ endif
# Set flags for Solaris.
if IS_SUNOS
if IS_GCC
AM_CPPFLAGS += -D_XPG6 -D_POSIX_PTHREAD_SEMANTICS
AM_CPPFLAGS += -D_XPG6
else
AM_CPPFLAGS += -D_XPG4_2 -D_POSIX_PTHREAD_SEMANTICS
AM_CPPFLAGS += -D_XPG4_2
endif
endif

View File

@ -23,6 +23,7 @@ SAVED_LDFLAGS="$LDFLAGS"
# Set up the compiler in two different ways and say yes we may want to install.
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CC_C99
AC_PROG_CPP
AC_PROG_EGREP
AC_PROG_INSTALL