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