mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-21 22:50:08 +03:00
configure: remove unused checks for libraries
These libraries are queried for, but no code cares about the results, so remove the checks.
This commit is contained in:
parent
0aad075c6b
commit
1a013ba711
@ -177,9 +177,7 @@ else()
|
||||
check_function_exists(isinf HAVE_ISINF)
|
||||
check_function_exists(isnan HAVE_ISNAN)
|
||||
check_library_exists(history append_history "" HAVE_LIBHISTORY)
|
||||
check_library_exists(pthread pthread_join "" HAVE_LIBPTHREAD)
|
||||
check_library_exists(readline readline "" HAVE_LIBREADLINE)
|
||||
check_library_exists(z gzread "" HAVE_LIBZ)
|
||||
check_include_files(limits.h HAVE_LIMITS_H)
|
||||
check_function_exists(localtime HAVE_LOCALTIME)
|
||||
check_include_files(malloc.h HAVE_MALLOC_H)
|
||||
|
@ -64,9 +64,6 @@
|
||||
/* Define if history library is there (-lhistory) */
|
||||
#cmakedefine HAVE_LIBHISTORY 1
|
||||
|
||||
/* Define if pthread library is there (-lpthread) */
|
||||
#cmakedefine HAVE_LIBPTHREAD 1
|
||||
|
||||
/* Define if readline library is there (-lreadline) */
|
||||
#cmakedefine HAVE_LIBREADLINE 1
|
||||
|
||||
|
@ -1062,7 +1062,6 @@ else
|
||||
AC_CHECK_HEADER(pthread.h,
|
||||
AC_CHECK_LIB(pthread, pthread_join,[
|
||||
THREAD_LIBS="-lpthread"
|
||||
AC_DEFINE([HAVE_LIBPTHREAD], [], [Define if pthread library is there (-lpthread)])
|
||||
AC_DEFINE([HAVE_PTHREAD_H], [], [Define if <pthread.h> is there])
|
||||
WITH_THREADS="1"]))
|
||||
fi
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define PACKAGE
|
||||
#define VERSION
|
||||
|
||||
#undef HAVE_LIBZ
|
||||
#undef HAVE_LIBM
|
||||
#undef HAVE_ISINF
|
||||
#undef HAVE_ISNAN
|
||||
@ -17,7 +16,6 @@
|
||||
#undef HAVE_LIBREADLINE
|
||||
|
||||
#define XML_SOCKLEN_T socklen_t
|
||||
#define HAVE_LIBPTHREAD
|
||||
#define HAVE_PTHREAD_H
|
||||
#define LIBXML_THREAD_ENABLED
|
||||
|
||||
|
@ -63,15 +63,9 @@
|
||||
/* Define if history library is there (-lhistory) */
|
||||
#undef HAVE_LIBHISTORY
|
||||
|
||||
/* Define if pthread library is there (-lpthread) */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define if readline library is there (-lreadline) */
|
||||
#undef HAVE_LIBREADLINE
|
||||
|
||||
/* Have compression library */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <limits.h> header file. */
|
||||
#define HAVE_LIMITS_H 1
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#undef PACKAGE
|
||||
#undef VERSION
|
||||
#undef HAVE_LIBZ
|
||||
#undef HAVE_LIBM
|
||||
#undef HAVE_ISINF
|
||||
#if defined(_IEEE_FP) && (__CRTL_VER >= 60200000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user