Module: wine
Branch: master
Commit: 2eda9c72cd646ee37b8d94feae78206172928cd3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2eda9c72cd646ee37b8d94fea…
Author: Andrew Nguyen <arethusa26(a)gmail.com>
Date: Tue May 25 22:20:14 2010 -0500
configure: Don't enable maintainer mode if it is explicitly not requested.
---
configure | 12 ++++++------
configure.ac | 9 +++++----
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
index 54573a4..cf2fc9d 100755
--- a/configure
+++ b/configure
@@ -671,6 +671,7 @@ CPP
OPENGL_LIBS
XLIB
PRELINK
+MAINTAINER_MODE
ICOTOOL
CONVERT
RSVG
@@ -715,7 +716,6 @@ build_os
build_vendor
build_cpu
build
-MAINTAINER_MODE
target_alias
host_alias
build_alias
@@ -2490,9 +2490,6 @@ fi
# Check whether --enable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then :
enableval=$enable_maintainer_mode;
-else
- MAINTAINER_MODE=\#
-
fi
@@ -5106,8 +5103,11 @@ done
test -n "$ICOTOOL" || ICOTOOL="false"
-if test "${enable_maintainer_mode+set}" = set
+if test "x$enable_maintainer_mode" != "xyes"
then
+ MAINTAINER_MODE=\#
+
+else
if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings "|fontforge is missing, fonts can't be rebuilt."; fi
if test "$RSVG" = "false"; then as_fn_append wine_warnings "|rsvg is missing, icons can't be rebuilt."; fi
@@ -11895,7 +11895,7 @@ $as_echo "$ac_cv_c_string_h_warnings" >&6; }
EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
fi
- if test "${enable_maintainer_mode+set}" = set
+ if test "x$enable_maintainer_mode" = "xyes"
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
$as_echo_n "checking whether the compiler supports -Werror... " >&6; }
diff --git a/configure.ac b/configure.ac
index 4c0cdbe..8d2dffe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,8 +25,7 @@ dnl **** Command-line arguments ****
AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 support]))
AC_ARG_ENABLE(win64, AS_HELP_STRING([--enable-win64],[build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],[do not build the regression tests]))
-AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules]),
- ,[AC_SUBST([MAINTAINER_MODE],[\#])])
+AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules]))
AC_ARG_WITH(alsa, AS_HELP_STRING([--without-alsa],[do not use the Alsa sound support]),
[if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi])
@@ -286,8 +285,10 @@ AC_CHECK_PROGS(RSVG, rsvg, false)
AC_CHECK_PROGS(CONVERT, convert, false)
AC_CHECK_PROGS(ICOTOOL, icotool, false)
-if test "${enable_maintainer_mode+set}" = set
+if test "x$enable_maintainer_mode" != "xyes"
then
+ AC_SUBST([MAINTAINER_MODE],[\#])
+else
if test "$FONTFORGE" = "false"; then WINE_WARNING([fontforge is missing, fonts can't be rebuilt.]); fi
if test "$RSVG" = "false"; then WINE_WARNING([rsvg is missing, icons can't be rebuilt.]); fi
@@ -1610,7 +1611,7 @@ then
fi
dnl Enable -Werror for maintainer mode
- if test "${enable_maintainer_mode+set}" = set
+ if test "x$enable_maintainer_mode" = "xyes"
then
WINE_TRY_CFLAGS([-Werror])
fi
Module: wine
Branch: master
Commit: b4d895b3d2705de41474137f7ace743173a479a5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4d895b3d2705de41474137f7…
Author: André Hentschel <nerv(a)dawncrow.de>
Date: Tue May 25 19:12:30 2010 +0200
winejack.drv: Use jack_client_open instead of deprecated function.
---
dlls/winejack.drv/audio.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dlls/winejack.drv/audio.c b/dlls/winejack.drv/audio.c
index ffaffae..da04824 100644
--- a/dlls/winejack.drv/audio.c
+++ b/dlls/winejack.drv/audio.c
@@ -68,10 +68,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(wave);
#define MAKE_FUNCPTR(f) static typeof(f) * fp_##f = NULL;
/* Function pointers for dynamic loading of libjack */
-/* these are prefixed with "fp_", ie. "fp_jack_client_new" */
+/* these are prefixed with "fp_", ie. "fp_jack_client_open" */
MAKE_FUNCPTR(jack_activate);
MAKE_FUNCPTR(jack_connect);
-MAKE_FUNCPTR(jack_client_new);
+MAKE_FUNCPTR(jack_client_open);
MAKE_FUNCPTR(jack_client_close);
MAKE_FUNCPTR(jack_deactivate);
MAKE_FUNCPTR(jack_set_process_callback);
@@ -633,12 +633,12 @@ static int JACK_OpenWaveOutDevice(WINE_WAVEOUT* wwo)
/* try to become a client of the JACK server */
snprintf(client_name, sizeof(client_name), "wine_jack_out_%d", wwo->wDevID);
TRACE("client name '%s'\n", client_name);
- if ((client = fp_jack_client_new (client_name)) == 0)
+ if ((client = fp_jack_client_open (client_name, JackUseExactName, NULL)) == 0)
{
/* jack has problems with shutting down clients, so lets */
/* wait a short while and try once more before we give up */
Sleep(250);
- if ((client = fp_jack_client_new (client_name)) == 0)
+ if ((client = fp_jack_client_open (client_name, JackUseExactName, NULL)) == 0)
{
ERR("jack server not running?\n");
return 0;
@@ -904,7 +904,7 @@ static LONG JACK_WaveInit(void)
#define LOAD_FUNCPTR(f) if((fp_##f = wine_dlsym(jackhandle, #f, NULL, 0)) == NULL) goto sym_not_found;
LOAD_FUNCPTR(jack_activate);
LOAD_FUNCPTR(jack_connect);
- LOAD_FUNCPTR(jack_client_new);
+ LOAD_FUNCPTR(jack_client_open);
LOAD_FUNCPTR(jack_client_close);
LOAD_FUNCPTR(jack_deactivate);
LOAD_FUNCPTR(jack_set_process_callback);
@@ -1911,12 +1911,12 @@ static int JACK_OpenWaveInDevice(WINE_WAVEIN* wwi, WORD nChannels)
/* try to become a client of the JACK server */
snprintf(client_name, sizeof(client_name), "wine_jack_in_%d", wwi->wDevID);
TRACE("client name '%s'\n", client_name);
- if ((client = fp_jack_client_new (client_name)) == 0)
+ if ((client = fp_jack_client_open (client_name, JackUseExactName, NULL)) == 0)
{
/* jack has problems with shutting down clients, so lets */
/* wait a short while and try once more before we give up */
Sleep(250);
- if ((client = fp_jack_client_new (client_name)) == 0)
+ if ((client = fp_jack_client_open (client_name, JackUseExactName, NULL)) == 0)
{
ERR("jack server not running?\n");
return 0;