ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
43 lines
962 B
Plaintext
43 lines
962 B
Plaintext
AC_INIT([libpthread-stubs],
|
|
0.5,
|
|
[xcb@lists.freedesktop.org])
|
|
AC_CONFIG_SRCDIR([pthread-stubs.pc.in])
|
|
AM_INIT_AUTOMAKE([foreign dist-xz])
|
|
|
|
dnl Check if the following functions have stubs.
|
|
dnl See the README for specifics about the list.
|
|
funclist="\
|
|
pthread_condattr_destroy \
|
|
pthread_condattr_init \
|
|
pthread_cond_broadcast \
|
|
pthread_cond_destroy \
|
|
pthread_cond_init \
|
|
pthread_cond_signal \
|
|
pthread_cond_timedwait \
|
|
pthread_cond_wait \
|
|
pthread_equal \
|
|
pthread_exit \
|
|
pthread_mutex_destroy \
|
|
pthread_mutex_init \
|
|
pthread_mutex_lock \
|
|
pthread_mutex_unlock \
|
|
pthread_self"
|
|
|
|
AC_CHECK_FUNCS($funclist, [], [HAVE_STUBS=no])
|
|
|
|
|
|
if test "x$HAVE_STUBS" != xno; then
|
|
PKG_CONFIG_CFLAGS=
|
|
PKG_CONFIG_LIBS=
|
|
else
|
|
dnl See the README why '-pthread' is deemed sufficient.
|
|
PKG_CONFIG_CFLAGS="-pthread"
|
|
PKG_CONFIG_LIBS="-pthread"
|
|
fi
|
|
|
|
AC_SUBST([PKG_CONFIG_CFLAGS])
|
|
AC_SUBST([PKG_CONFIG_LIBS])
|
|
|
|
AC_CONFIG_FILES([Makefile pthread-stubs.pc])
|
|
AC_OUTPUT
|