kopia lustrzana https://github.com/Hamlib/Hamlib
* rigctld depends on pthread
* enable pthread CFLAGS for everyone when pthread present git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2239 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.7
rodzic
e10bd43b84
commit
ee28cc5bbb
11
configure.ac
11
configure.ac
|
@ -76,6 +76,16 @@ AC_CHECK_HEADERS([dev/ppbus/ppi.h dev/ppbus/ppbconf.h])
|
|||
dnl Check for Mingw support
|
||||
GR_PWIN32
|
||||
|
||||
dnl Check whether to compile rigctld (requires pthread)
|
||||
RIGCTLD=""
|
||||
ACX_PTHREAD([ RIGCTLD="rigctld" ])
|
||||
if test x"$acx_pthread_ok" = xyes; then
|
||||
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
||||
CXXFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
||||
fi
|
||||
AC_MSG_CHECKING(whether to build rigctld)
|
||||
AC_MSG_RESULT($acx_pthread_ok)
|
||||
|
||||
AC_SYS_POSIX_TERMIOS()
|
||||
|
||||
INCLUDES="${INCLUDES} -I\$(top_srcdir)/include -I\$(top_srcdir)/src -I\$(top_srcdir)/lib"
|
||||
|
@ -459,6 +469,7 @@ AC_SUBST(BINDING_UNINSTALL)
|
|||
AC_SUBST(BINDING_LIST)
|
||||
AC_SUBST(BINDING_LIB_TARGETS)
|
||||
|
||||
AC_SUBST(RIGCTLD)
|
||||
AC_SUBST(INCLUDES)
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
|
|
Ładowanie…
Reference in New Issue