Fix some True64 issues which were reported from Aron Griffis.

2000-02-23  Martin Baulig  <martin@home-of-linux.org>

	Fix some True64 issues which were reported from Aron Griffis.

	* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): Check for
	<sys/bittype.h> and use AC_LIBGTOP_CHECK_TYPE, not AC_CHECK_TYPE.

	* include/glibtop/global.h: #include <sys/bittypes.h>.

	* ltmain.sh: Added this from libtool 1.3.4 (only used on Solaris).
This commit is contained in:
Martin Baulig
2000-02-22 23:30:56 +00:00
committed by Martin Baulig
parent 6c6d8e006e
commit 350e4e799d
6 changed files with 4033 additions and 13 deletions

View File

@@ -20,7 +20,6 @@ libgtop-1.*.*
libgtop-mirror.sh.swp libgtop-mirror.sh.swp
libgtopConf.sh libgtopConf.sh
libtool libtool
ltmain.sh
macros macros
stamp-h stamp-h
stamp-h.in stamp-h.in

View File

@@ -1,3 +1,14 @@
2000-02-23 Martin Baulig <martin@home-of-linux.org>
Fix some True64 issues which were reported from Aron Griffis.
* libgtop-sysdeps.m4 (GNOME_LIBGTOP_TYPES_PRIVATE): Check for
<sys/bittype.h> and use AC_LIBGTOP_CHECK_TYPE, not AC_CHECK_TYPE.
* include/glibtop/global.h: #include <sys/bittypes.h>.
* ltmain.sh: Added this from libtool 1.3.4 (only used on Solaris).
2000-02-22 Martin Baulig <martin@home-of-linux.org> 2000-02-22 Martin Baulig <martin@home-of-linux.org>
* lib/init-backends.c (glibtop_backend_*): Removed external declaration. * lib/init-backends.c (glibtop_backend_*): Removed external declaration.

View File

@@ -76,6 +76,11 @@
# endif # endif
#endif #endif
/* For Tru64 UNIX */
#ifdef HAVE_SYS_BITTYPES_H
#include <sys/bittypes.h>
#endif
#ifdef NEED_GNOMESUPPORT_H #ifdef NEED_GNOMESUPPORT_H
#include <gnomesupport.h> #include <gnomesupport.h>
#endif #endif

View File

@@ -2,10 +2,11 @@ dnl This is used internally for <glibtop-config.h>.
AC_DEFUN([GNOME_LIBGTOP_TYPES_PRIVATE], AC_DEFUN([GNOME_LIBGTOP_TYPES_PRIVATE],
[ [
AC_CHECK_TYPE(u_int64_t, unsigned long long int) AC_CHECK_HEADERS(sys/bitypes.h)
AC_CHECK_TYPE(int64_t, signed long long int) AC_LIBGTOP_CHECK_TYPE(u_int64_t, unsigned long long int)
AC_CHECK_TYPE(u_int8_t, unsigned char) AC_LIBGTOP_CHECK_TYPE(int64_t, signed long long int)
AC_CHECK_TYPE(int8_t, signed char) AC_LIBGTOP_CHECK_TYPE(u_int8_t, unsigned char)
AC_LIBGTOP_CHECK_TYPE(int8_t, signed char)
]) ])
dnl This file is intended for use both internally in libgtop and in every program dnl This file is intended for use both internally in libgtop and in every program

View File

@@ -1454,14 +1454,6 @@ else
solaris2.[0-5] | solaris2.[0-5].*) ;; solaris2.[0-5] | solaris2.[0-5].*) ;;
*) # Supported since Solaris 2.6 (maybe 2.5.1?) *) # Supported since Solaris 2.6 (maybe 2.5.1?)
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
esac
case "$host_os" in
solaris2.7)
# Ugly hack, but sysdeps/solaris/libgtop_sysdeps.la won't work otherwise (we need to make
# sure stuff from libgcc.a gets linked in).
# Feb 22, 2000 Martin Baulig
archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-h $wl$soname ${wl}-G -o $lib'
;;
esac esac
;; ;;

4012
ltmain.sh Normal file

File diff suppressed because it is too large Load Diff