Module: wine
Branch: refs/heads/master
Commit: baf3f5d6f9fe0440c999ed4b2a9fbaeb2505c260
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=baf3f5d6f9fe0440c999ed4…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Jun 8 11:26:44 2006 +0200
configure: Make the font warning more explicit about what package is missing.
---
configure | 12 +++++++-----
configure.ac | 12 +++++++-----
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index fe99f62..b2cd31e 100755
--- a/configure
+++ b/configure
@@ -12237,9 +12237,6 @@ if test "$FONTFORGE" != "false" -a -n "$
then
FONTSSUBDIRS="fonts"
- wine_cv_msg_fonts=no
-else
- wine_cv_msg_fonts=yes
fi
{ echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
@@ -22836,10 +22833,15 @@ then
exitcode=1
fi
-if test "$wine_cv_msg_fonts" = "yes"
+if test -z "$FONTSSUBDIRS"
then
echo
- echo "*** Warning: FreeType or FontForge is missing."
+ if test "$FONTFORGE" = "false"
+ then
+ echo "*** Warning: FontForge is missing."
+ else
+ echo "*** Warning: FreeType is missing."
+ fi
echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
exitcode=1
fi
diff --git a/configure.ac b/configure.ac
index ba6b1b3..81c79b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -719,9 +719,6 @@ dnl Only build the fonts dir if we have
if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
then
AC_SUBST(FONTSSUBDIRS,"fonts")
- wine_cv_msg_fonts=no
-else
- wine_cv_msg_fonts=yes
fi
dnl **** Check for parport (currently Linux only) ****
@@ -1854,10 +1851,15 @@ then
exitcode=1
fi
-if test "$wine_cv_msg_fonts" = "yes"
+if test -z "$FONTSSUBDIRS"
then
echo
- echo "*** Warning: FreeType or FontForge is missing."
+ if test "$FONTFORGE" = "false"
+ then
+ echo "*** Warning: FontForge is missing."
+ else
+ echo "*** Warning: FreeType is missing."
+ fi
echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
exitcode=1
fi
Module: wine
Branch: refs/heads/master
Commit: 8e01c1b2a3dc7aa4a79f9444b5dff53dd4f6408e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=8e01c1b2a3dc7aa4a79f944…
Author: Robert Reif <reif(a)earthlink.net>
Date: Thu Jun 8 00:14:28 2006 -0400
include: Add lmmsg.h.
---
include/Makefile.in | 1 +
include/lm.h | 1 +
include/lmmsg.h | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 0 deletions(-)
create mode 100644 include/lmmsg.h
diff --git a/include/Makefile.in b/include/Makefile.in
index d9825c4..a7a4a74 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -162,6 +162,7 @@ WINDOWS_INCLUDES = \
lmcons.h \
lmerr.h \
lmjoin.h \
+ lmmsg.h \
lmserver.h \
lmshare.h \
lmstats.h \
diff --git a/include/lm.h b/include/lm.h
index 681440d..6151fd5 100644
--- a/include/lm.h
+++ b/include/lm.h
@@ -31,5 +31,6 @@ #include <lmwksta.h>
#include <lmapibuf.h>
#include <lmstats.h>
#include <lmjoin.h>
+#include <lmmsg.h>
#endif
diff --git a/include/lmmsg.h b/include/lmmsg.h
new file mode 100644
index 0000000..a6b395b
--- /dev/null
+++ b/include/lmmsg.h
@@ -0,0 +1,51 @@
+/*
+ * Copyright (C) 2006 Robert Reif
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#ifndef _LMMSG_
+#define _LMMSG_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define MSGNAME_NOT_FORWARDED 0x00
+#define MSGNAME_FORWARDED_TO 0x04
+#define MSGNAME_FORWARDED_FROM 0x10
+
+typedef struct _MSG_INFO_0
+{
+ LPWSTR msgi0_name;
+} MSG_INFO_0, *PMSG_INFO_0, *LPMSG_INFO_0;
+
+typedef struct _MSG_INFO_1
+{
+ LPWSTR msgi1_name;
+ DWORD msgi1_forward_flag;
+ LPWSTR msgi1_forward;
+} MSG_INFO_1, *PMSG_INFO_1, *LPMSG_INFO_1;
+
+NET_API_STATUS NET_API_FUNCTION NetMessageBufferSend(LPCWSTR,LPCWSTR,LPCWSTR,LPBYTE,DWORD);
+NET_API_STATUS NET_API_FUNCTION NetMessageNameAdd(LPCWSTR,LPCWSTR);
+NET_API_STATUS NET_API_FUNCTION NetMessageNameDel(LPCWSTR,LPCWSTR);
+NET_API_STATUS NET_API_FUNCTION NetMessageNameEnum(LPCWSTR,DWORD,LPBYTE*,DWORD,LPDWORD,LPDWORD,LPDWORD);
+NET_API_STATUS NET_API_FUNCTION NetMessageNameGetInfo(LPCWSTR,LPCWSTR,DWORD,PBYTE*);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif