mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Improvement by Pavel Roskin
This commit is contained in:
parent
dc68485554
commit
877896069d
2 changed files with 8 additions and 6 deletions
|
|
@ -42,8 +42,8 @@ AC_HEADER_TIME
|
|||
|
||||
dnl Checks for library functions.
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_CHECK_FUNC(hsearch_r, , [ COMPAT_SRCS="$COMPAT_SRCS hsearch_r.c" ])
|
||||
AC_SUBST(COMPAT_SRCS)
|
||||
AC_CHECK_FUNC([hsearch_r], [HAVE_HSEARCH_R=yes])
|
||||
AM_CONDITIONAL(ALSA_HSEARCH_R, [test "x$HAVE_HSEARCH_R" != xyes])
|
||||
|
||||
ALSA_CHECK_DRIVER
|
||||
SAVE_LIBRARY_VERSION
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
EXTRA_LTLIBRARIES = libcompat.la
|
||||
noinst_LTLIBRARIES = libcompat.la
|
||||
EXTRA_libcompat_la_SOURCES = hsearch_r.c
|
||||
|
||||
libcompat_la_SOURCES = empty.c @COMPAT_SRCS@
|
||||
|
||||
all: libcompat.la
|
||||
if ALSA_HSEARCH_R
|
||||
libcompat_la_SOURCES = empty.c hsearch_r.c
|
||||
else
|
||||
libcompat_la_SOURCES = empty.c
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue