Update of /cvsroot/eas-dev/eas-dev/build/unix
In directory sc8-pr-cvs1:/tmp/cvs-serv8063
Modified Files:
INSTALL config.h.in configure.in
Added Files:
acconfig.h
Removed Files:
config.h.top
Log Message:
config.h.top moved to acconfig.h; syslg check added to configure
--- NEW FILE: acconfig.h ---
#undef SAL_UNX
#undef HAVE_SYSLOG
@TOP@
Index: INSTALL
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/build/unix/INSTALL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- INSTALL 4 Feb 2003 07:52:25 -0000 1.3
+++ INSTALL 8 Feb 2003 03:24:48 -0000 1.4
@@ -22,19 +22,20 @@
NOTES ON OPENOFFICE.ORG SDK
===========================
-Install OpenOffice.Org SDK to somewhat directory (for example, /usr/local/odk),
-run `configure' script for it. Then move variables initialization from
-`setsdkenv_unix' script to your shell rc (.bashrc, .profile, etc.).
-Then add /usr/local/odk/[OS]/bin/ to PATH. ([OS] is a name of an operating
-system, for example, `linux').
+Install OpenOffice.Org SDK to somewhat directory (for example,
+/usr/local/odk), run `configure' script for it. Then move variables
+initialization from `setsdkenv_unix' script to your shell rc (.bashrc,
+.profile, etc.). Then add /usr/local/odk/[OS]/bin/ to PATH. ([OS]
+is a name of an operating system, for example, `linux').
-Currently it seems that OpenOffice.Org SDK needs OpenOffice installed. Please
-install corresponding OpenOffice version (for example, to /opt/openoffice) and
-if it will be needed, repair broken links from /usr/local/odk/[OS]/lib/ to
-let them point to corresponding libraries at /opt/openoffice/program.
+Currently it seems that OpenOffice.Org SDK needs OpenOffice itself be
+installed. Please install corresponding OpenOffice version (for example,
+to /opt/openoffice) and if it will be needed, repair broken links from
+/usr/local/odk/[OS]/lib/ to let them point to corresponding libraries
+at /opt/openoffice/program.
OpenOffice.Org SDK is available in source or binary form at
-http://udk.openoffice.org
+http://udk.openoffice.org/
Index: config.h.in
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/build/unix/config.h.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- config.h.in 28 Jan 2003 06:44:32 -0000 1.4
+++ config.h.in 8 Feb 2003 03:24:48 -0000 1.5
@@ -1,7 +1,6 @@
/* config.h.in. Generated automatically from configure.in by autoheader. */
-
-/* Define if you have UN*X-like operating system (for ODK) */
#undef SAL_UNX
+#undef HAVE_SYSLOG
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
@@ -11,6 +10,9 @@
/* The number of bytes in a size_t. */
#undef SIZEOF_SIZE_T
+
+/* Define if you have the syslog function. */
+#undef HAVE_SYSLOG
/* Define if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
Index: configure.in
===================================================================
RCS file: /cvsroot/eas-dev/eas-dev/build/unix/configure.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- configure.in 4 Feb 2003 04:17:13 -0000 1.14
+++ configure.in 8 Feb 2003 03:24:48 -0000 1.15
@@ -87,6 +87,16 @@
dnl Checks for libraries.
PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.2.0)
+dnl syslog
+AC_CHECK_FUNCS(syslog)
+if test $ac_cv_func_syslog = no; then
+ # syslog is not in the default libraries. See if it's in some other.
+ for lib in bsd socket inet; do
+ AC_CHECK_LIB($lib, syslog, [AC_DEFINE(HAVE_SYSLOG)
+ LIBS="$LIBS $lib"; break])
+ done
+fi
+
dnl
dnl Tools
dnl
@@ -132,4 +142,4 @@
../../libs/libsxmlstream/tests/Makefile
../../libs/libsmstorage/Makefile
../../libs/libsmstorage/src/Makefile
- ])
+ ])
\ No newline at end of file
--- config.h.top DELETED ---
|