[evolution-data-server] Bug 590697 – Build regression detecting com_err.h



commit c0f626638216eb5eb382ff40fc583a410eb80824
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Aug 4 11:44:43 2009 -0400

    Bug 590697 â?? Build regression detecting com_err.h

 configure.ac |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index def9e05..69ec389 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1230,16 +1230,8 @@ fi
 
 AM_CONDITIONAL(ENABLE_KRB5, [test x$with_krb5 != xno])
 
-AC_CHECK_HEADER([et/com_err.h],,,
-[[#if HAVE_ET_COM_ERR_H
-#include <et/com_err.h>
-#endif
-]])
-AC_CHECK_HEADER([com_err.h],,,
-[[#if HAVE_ET_COM_ERR_H
-#include <com_err.h>
-#endif
-]])
+AC_CHECK_HEADER([et/com_err.h], [AC_DEFINE([HAVE_ET_COM_ERR_H], 1, [Have <et/comm_err.h>])])
+AC_CHECK_HEADER([com_err.h], [AC_DEFINE([HAVE_COM_ERR_H], 1, [Have <comm_err.h>])])
 
 msg_krb4="no"
 if test "x${with_krb4}" != "xno"; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]