mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
configure/m4: add ax_pthread.m4 for pthread checks
This commit is contained in:
parent
86bae29d78
commit
98b815be8e
3 changed files with 501 additions and 4 deletions
|
@ -221,6 +221,8 @@ AC_C_STRINGIZE
|
|||
AC_C_FLEXIBLE_ARRAY_MEMBER
|
||||
AC_SYS_POSIX_TERMIOS
|
||||
|
||||
AX_PTHREAD
|
||||
|
||||
dnl AC_PROG_CC_C99, someday.
|
||||
|
||||
AC_PATH_X
|
||||
|
@ -244,10 +246,16 @@ AC_SUBST(TIRPCINC)
|
|||
AC_SUBST(TIRPCLIB)
|
||||
|
||||
|
||||
dnl set CPPFLAGS, CFLAGS, and CXXFLAGS
|
||||
dnl set CPPFLAGS, CFLAGS, and CXXFLAGS.
|
||||
dnl The Autoconf manual says that these are user variables and
|
||||
dnl shouldn't be modified. It suggests that you create a special
|
||||
dnl variable and presumably add those to your Makefile.am files. We
|
||||
dnl have 192 of these currently, so... The user will just have to
|
||||
dnl deal, or modify them here directly.
|
||||
CPPFLAGS="${CPPFLAGS} ${SOURCE_CPP_DEFINES} ${CPP_COMPILER_FLAGS} ${OSVERSION}"
|
||||
CFLAGS="${CFLAGS} ${C_COMPILER_FLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS} ${CXX_COMPILER_FLAGS}"
|
||||
CFLAGS="${CFLAGS} ${C_COMPILER_FLAGS} ${PTHREAD_CFLAGS}"
|
||||
CXXFLAGS="${CXXFLAGS} ${CXX_COMPILER_FLAGS} ${PTHREAD_CFLAGS}"
|
||||
LIBS="${LIBS} ${PTHREAD_LIBS}"
|
||||
|
||||
dnl All of the makefiles we need to generate go here...
|
||||
AC_CONFIG_FILES([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue