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
libgtopConf.sh
libtool
ltmain.sh
macros
stamp-h
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>
* lib/init-backends.c (glibtop_backend_*): Removed external declaration.

View File

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

View File

@@ -2,10 +2,11 @@ dnl This is used internally for <glibtop-config.h>.
AC_DEFUN([GNOME_LIBGTOP_TYPES_PRIVATE],
[
AC_CHECK_TYPE(u_int64_t, unsigned long long int)
AC_CHECK_TYPE(int64_t, signed long long int)
AC_CHECK_TYPE(u_int8_t, unsigned char)
AC_CHECK_TYPE(int8_t, signed char)
AC_CHECK_HEADERS(sys/bitypes.h)
AC_LIBGTOP_CHECK_TYPE(u_int64_t, unsigned long long int)
AC_LIBGTOP_CHECK_TYPE(int64_t, signed long long int)
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

View File

@@ -1455,14 +1455,6 @@ else
*) # Supported since Solaris 2.6 (maybe 2.5.1?)
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
;;
sunos4*)

4012
ltmain.sh Normal file

File diff suppressed because it is too large Load Diff