Bug 603773 - com_err.h doesn't exist on Solaris
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 18 Apr 2010 14:34:23 +0000 (10:34 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 18 Apr 2010 14:34:56 +0000 (10:34 -0400)
camel/camel-sasl-gssapi.c
m4/evo_krb5_support.m4

index e2d05b3..8abbc0b 100644 (file)
 #ifdef HAVE_ET_COM_ERR_H
 #include <et/com_err.h>
 #else
+#ifdef HAVE_COM_ERR_H
 #include <com_err.h>
 #endif
+#endif
 #ifdef HAVE_MIT_KRB5
 #include <gssapi/gssapi.h>
 #include <gssapi/gssapi_generic.h>
index fd27581..109eeb1 100644 (file)
@@ -87,13 +87,13 @@ AC_DEFUN([EVO_KRB5_SUPPORT],[
        AM_CONDITIONAL(ENABLE_KRB5, [test "x$with_krb5" != "xno"])
 
        AC_CHECK_HEADER([et/com_err.h],
-               [AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have <et/comm_err.h>])],,
+               [AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have <et/com_err.h>])],,
                [[      #if HAVE_ET_COM_ERR_H
                        #include <com_err.h>
                        #endif
                ]])
        AC_CHECK_HEADER([com_err.h],
-               [AC_DEFINE([HAVE_COM_ERR_H], 1, [Have <comm_err.h>])],,
+               [AC_DEFINE([HAVE_COM_ERR_H], 1, [Have <com_err.h>])],,
                [[      #if HAVE_COM_ERR_H
                        #include <com_err.h>
                        #endif