configure: Remove no longer used checks for libkstat.
Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e39d5967c7
commit
028c9832fe
|
@ -639,7 +639,6 @@ VKD3D_CFLAGS
|
|||
NETAPI_LIBS
|
||||
NETAPI_CFLAGS
|
||||
PROCSTAT_LIBS
|
||||
KSTAT_LIBS
|
||||
MPG123_LIBS
|
||||
MPG123_CFLAGS
|
||||
TIFF_LIBS
|
||||
|
@ -7501,7 +7500,6 @@ for ac_header in \
|
|||
gsm/gsm.h \
|
||||
ieeefp.h \
|
||||
inet/mib2.h \
|
||||
kstat.h \
|
||||
libproc.h \
|
||||
link.h \
|
||||
linux/cdrom.h \
|
||||
|
@ -16480,54 +16478,6 @@ then
|
|||
enable_xaudio2_9=${enable_xaudio2_9:-no}
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_kstat_h" = "yes"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
|
||||
$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
|
||||
if ${ac_cv_lib_kstat_kstat_open+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
ac_check_lib_save_LIBS=$LIBS
|
||||
LIBS="-lkstat $LIBS"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
|
||||
/* Override any GCC internal prototype to avoid an error.
|
||||
Use char because int might match the return type of a GCC
|
||||
builtin and then its argument prototype would still apply. */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
char kstat_open ();
|
||||
int
|
||||
main ()
|
||||
{
|
||||
return kstat_open ();
|
||||
;
|
||||
return 0;
|
||||
}
|
||||
_ACEOF
|
||||
if ac_fn_c_try_link "$LINENO"; then :
|
||||
ac_cv_lib_kstat_kstat_open=yes
|
||||
else
|
||||
ac_cv_lib_kstat_kstat_open=no
|
||||
fi
|
||||
rm -f core conftest.err conftest.$ac_objext \
|
||||
conftest$ac_exeext conftest.$ac_ext
|
||||
LIBS=$ac_check_lib_save_LIBS
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
|
||||
$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
|
||||
if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
|
||||
|
||||
$as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
|
||||
|
||||
KSTAT_LIBS="-lkstat"
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if test "$ac_cv_header_libprocstat_h" = "yes"
|
||||
then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
|
||||
|
@ -20034,7 +19984,6 @@ TIFF_CFLAGS = $TIFF_CFLAGS
|
|||
TIFF_LIBS = $TIFF_LIBS
|
||||
MPG123_CFLAGS = $MPG123_CFLAGS
|
||||
MPG123_LIBS = $MPG123_LIBS
|
||||
KSTAT_LIBS = $KSTAT_LIBS
|
||||
PROCSTAT_LIBS = $PROCSTAT_LIBS
|
||||
NETAPI_CFLAGS = $NETAPI_CFLAGS
|
||||
NETAPI_LIBS = $NETAPI_LIBS
|
||||
|
|
|
@ -468,7 +468,6 @@ AC_CHECK_HEADERS(\
|
|||
gsm/gsm.h \
|
||||
ieeefp.h \
|
||||
inet/mib2.h \
|
||||
kstat.h \
|
||||
libproc.h \
|
||||
link.h \
|
||||
linux/cdrom.h \
|
||||
|
@ -1944,14 +1943,6 @@ then
|
|||
enable_xaudio2_9=${enable_xaudio2_9:-no}
|
||||
fi
|
||||
|
||||
dnl **** Check for libkstat ****
|
||||
if test "$ac_cv_header_kstat_h" = "yes"
|
||||
then
|
||||
AC_CHECK_LIB(kstat,kstat_open,
|
||||
[AC_DEFINE(HAVE_LIBKSTAT, 1, [Define to 1 if you have the `kstat' library (-lkstat).])
|
||||
AC_SUBST(KSTAT_LIBS,"-lkstat")])
|
||||
fi
|
||||
|
||||
dnl **** Check for libprocstat ****
|
||||
if test "$ac_cv_header_libprocstat_h" = "yes"
|
||||
then
|
||||
|
|
|
@ -234,9 +234,6 @@
|
|||
/* Define to 1 if you have the <krb5/krb5.h> header file. */
|
||||
#undef HAVE_KRB5_KRB5_H
|
||||
|
||||
/* Define to 1 if you have the <kstat.h> header file. */
|
||||
#undef HAVE_KSTAT_H
|
||||
|
||||
/* Define to 1 if you have the <lber.h> header file. */
|
||||
#undef HAVE_LBER_H
|
||||
|
||||
|
@ -279,9 +276,6 @@
|
|||
/* Define to 1 if you have the `gettextpo' library (-lgettextpo). */
|
||||
#undef HAVE_LIBGETTEXTPO
|
||||
|
||||
/* Define to 1 if you have the `kstat' library (-lkstat). */
|
||||
#undef HAVE_LIBKSTAT
|
||||
|
||||
/* Define to 1 if you have the `procstat' library (-lprocstat). */
|
||||
#undef HAVE_LIBPROCSTAT
|
||||
|
||||
|
|
Loading…
Reference in New Issue