Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 48552 | Differences between
and this patch

Collapse All | Expand All

(-)old/configure.in (-11 / +16 lines)
Lines 88-104 Link Here
88
if test "$have_libmagic" = "no"; then
88
if test "$have_libmagic" = "no"; then
89
	AC_MSG_ERROR(libmagic not found. Please install libmagic.)
89
	AC_MSG_ERROR(libmagic not found. Please install libmagic.)
90
fi
90
fi
91
AC_CHECK_HEADER(libps/pslib.h)
91
AC_ARG_ENABLE(pslib, AC_HELP_STRING([--disable-pslib],[disable Pslib-support.]),, [enable_pslib="no"])
92
if test "$ac_cv_header_libps_pslib_h" = "no"; then
92
if test "$enable_pslib" == "yes"; then
93
	AC_MSG_WARN(libps.h not found. pslib will not be used.)
93
	AC_CHECK_HEADER(libps/pslib.h)
94
fi
94
	if test "$ac_cv_header_libps_pslib_h" = "no"; then
95
AC_CHECK_LIB(ps, PS_shutdown,[have_libps=yes],[have_libps=no])
95
		AC_MSG_WARN(libps.h not found. pslib will not be used.)
96
if test "$have_libps" = "no"; then
96
	fi
97
	AC_MSG_WARN(libps not found. pslib will not be used.)
97
	AC_CHECK_LIB(ps, PS_shutdown,[have_libps=yes],[have_libps=no])
98
fi
98
	if test "$have_libps" = "no"; then
99
if test "$have_libps" = "yes" -a "$ac_cv_header_libps_pslib_h" = "yes"; then
99
		AC_MSG_WARN(libps not found. pslib will not be used.)
100
	AC_DEFINE(HAVE_LIBPS,1,[whether libps is present or not])
100
	fi
101
	PS_LIBS="-lps"
101
	if test "$have_libps" = "yes" -a "$ac_cv_header_libps_pslib_h" = "yes"; then
102
		AC_DEFINE(HAVE_LIBPS,1,[whether libps is present or not])
103
		PS_LIBS="-lps"
104
	fi
105
else
106
	have_libps="no"
102
fi
107
fi
103
108
104
yzis_cv_curses=/usr
109
yzis_cv_curses=/usr

Return to bug 48552