[gnumeric] configure: add check for OO_NS_LOCALC_EXT



commit a984eb67a52702f704eb2c08f84236911befc0b8
Author: Morten Welinder <terra gnome org>
Date:   Sun Jan 25 17:22:43 2015 -0500

    configure: add check for OO_NS_LOCALC_EXT

 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dbd9cba..301bf5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -593,6 +593,13 @@ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pango/pango.h>]],
                AC_MSG_RESULT(yes)],
               [AC_MSG_RESULT(no)])
 
+AC_MSG_CHECKING([for OO_NS_LOCALC_EXT])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <gsf/gfs.h>]],
+                               [[(void)(OO_NS_LOCALC_EXT == OO_NS_LOCALC_EXT);]])],
+               [AC_DEFINE(HAVE_OO_NS_LOCALC_EXT, 1, [Define if OO_NS_LOCALC_EXT is available])
+               AC_MSG_RESULT(yes)],
+              [AC_MSG_RESULT(no)])
+
 CFLAGS=$SAVE_CFLAGS
 LIBS=$SAVE_LIBS
 


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