Always enable SMP support for Linux.
1999-01-06 Martin Baulig <martin@home-of-linux.org> * libgtop-sysdeps.m4: Always enable SMP support for Linux.
This commit is contained in:
committed by
Martin Baulig
parent
a66b6cc86d
commit
3b270123eb
@@ -1,3 +1,7 @@
|
||||
1999-01-06 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
* libgtop-sysdeps.m4: Always enable SMP support for Linux.
|
||||
|
||||
1999-01-03 Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
Released LibGTop 0.99.2.
|
||||
|
@@ -87,20 +87,14 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
||||
|
||||
if test $libgtop_smp = auto ; then
|
||||
AC_MSG_CHECKING(whether to enable SMP support)
|
||||
AC_TRY_RUN([
|
||||
#include <sys/utsname.h>
|
||||
#include <string.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
struct utsname name;
|
||||
|
||||
if (uname (&name)) exit (1);
|
||||
|
||||
exit (strstr (name.version, "SMP") ? 0 : 1);
|
||||
}
|
||||
], libgtop_smp=yes, libgtop_smp=no, libgtop_smp=no)
|
||||
case "$host_os" in
|
||||
linux*)
|
||||
libgtop_smp=yes
|
||||
;;
|
||||
*)
|
||||
libgtop_smp=no
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT($libgtop_smp)
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user