mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-26 02:48:31 +01:00
automake: define pkg-config variables
This commit is contained in:
parent
1686a0f905
commit
0d70522eda
@ -28,6 +28,10 @@ AC_HEADER_STDC
|
|||||||
AC_CHECK_HEADERS(sys/types.h)
|
AC_CHECK_HEADERS(sys/types.h)
|
||||||
AC_CHECK_HEADERS(pthread.h,, [AC_MSG_ERROR([pthread.h required])])
|
AC_CHECK_HEADERS(pthread.h,, [AC_MSG_ERROR([pthread.h required])])
|
||||||
|
|
||||||
|
# pc variables
|
||||||
|
AC_SUBST(RTLSDR_PC_LIBS,["$LIBS"])
|
||||||
|
AC_SUBST(RTLSDR_PC_CFLAGS,["$CFLAGS"])
|
||||||
|
|
||||||
dnl checks for required libraries
|
dnl checks for required libraries
|
||||||
dnl pthreads
|
dnl pthreads
|
||||||
AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
|
AC_CHECK_LIB(pthread, pthread_create, [LIBS="$LIBS -lpthread"])
|
||||||
|
Loading…
Reference in New Issue
Block a user