Some patches

Assar Westerlund assar at stacken.kth.se
Fri Jun 16 23:11:29 CEST 2000


Adrian Bridgett <adrian.bridgett at iname.com> writes:

> I've decided to try to use the existing com_err library shipped with
> Debian as part of the ext2fs packages. To accomplish this requires
> building with the KTH compile_et and include files, but linking
> against the ext2fs library. In theory this isn't guaranteed to work,
> but in practice it seems to work ok, and anything else fails.

I see.  In that case, care to test these patches? (You need to re-run
autoconf after having applied it.)

/assar

Index: lib/sl/ss.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/lib/sl/ss.c,v
retrieving revision 1.1
diff -u -w -u -w -r1.1 ss.c
--- lib/sl/ss.c	2000/03/07 22:08:49	1.1
+++ lib/sl/ss.c	2000/06/16 21:10:20
@@ -32,7 +32,11 @@
  */
 
 #include "sl_locl.h"
+#if defined(HAVE_COM_ERR_H)
 #include <com_err.h>
+#elif defined(HAVE_ET_COM_ERR_H)
+#include <et/com_err.h>
+#endif
 #include "ss.h"
 
 RCSID("$Id: ss.c,v 1.1 2000/03/07 22:08:49 assar Exp $");
Index: configure.in
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/arla/configure.in,v
retrieving revision 1.425
diff -u -w -u -w -r1.425 configure.in
--- configure.in	2000/06/05 20:40:32	1.425
+++ configure.in	2000/06/16 21:10:43
@@ -865,6 +865,7 @@
 AC_HAVE_TYPES(register_t)
 AC_HAVE_TYPES(intptr_t)
 AC_HAVE_TYPES(off64_t)
+AC_CHECK_HEADERS(com_err.h et/com_err.h)
 CPPFLAGS="${save_CPPFLAGS}"
 
 AC_TYPE_SIGNAL





More information about the Arla-drinkers mailing list