$NetBSD: patch-ab,v 1.1 2006/10/14 01:21:48 rillig Exp $ --- configure.orig 2006-10-14 03:19:13.000000000 +0200 +++ configure 2006-10-14 03:20:45.000000000 +0200 @@ -4304,12 +4304,12 @@ else enable_gnetopt=no fi; -if test "x$enable_gnetopt" == "xyes" +if test "x$enable_gnetopt" = "xyes" then want_gnet2_opt=yes fi -if test "x$want_gnet2_opt" == "xyes" +if test "x$want_gnet2_opt" = "xyes" then succeeded=no @@ -6653,7 +6653,7 @@ rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$gnet_save_LIBS $dash_pthread" - if test "x$dash_pthread" == "x"; then + if test "x$dash_pthread" = "x"; then echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then @@ -6808,7 +6808,7 @@ fi -if test "x$want_gnet2_opt" == "xyes"; then +if test "x$want_gnet2_opt" = "xyes"; then GNET_OPT_TRUE= GNET_OPT_FALSE='#' else @@ -8802,7 +8802,7 @@ cat >>confdefs.h <<\_ACEOF _ACEOF - if test "x$want_gnet2_opt" == "xyes" + if test "x$want_gnet2_opt" = "xyes" then GTHREAD_CFLAGS="-no-cpp-precomp $GTHREAD_CFLAGS" fi @@ -8894,7 +8894,7 @@ fi -if test "x$winos" == "xyes"; then +if test "x$winos" = "xyes"; then OS_WIN32_TRUE= OS_WIN32_FALSE='#' else @@ -8912,10 +8912,10 @@ else enable_pollopt=no fi; -if test "x$winos" == "xno"; then - if test "x$have_sys_poll_h" == "xno" +if test "x$winos" = "xno"; then + if test "x$have_sys_poll_h" = "xno" then - if test "x$have_poll_h" == "xno" + if test "x$have_poll_h" = "xno" then cat >>confdefs.h <<_ACEOF @@ -8925,7 +8925,7 @@ _ACEOF fi fi - if test "x$enable_pollopt" == "xyes" + if test "x$enable_pollopt" = "xyes" then cat >>confdefs.h <<_ACEOF @@ -8956,7 +8956,7 @@ fi; if test "x$enable_systray" != "xyes"; then GUI_CFLAGS="-DGUI_DISABLE_SYSTRAY $GUI_CFLAGS" - if test "x$systray_default" == "xyes"; then + if test "x$systray_default" = "xyes"; then { echo "$as_me:$LINENO: Systray icon: DISABLED" >&5 echo "$as_me: Systray icon: DISABLED" >&6;} else @@ -8979,9 +8979,9 @@ echo "$as_me: Systray icon: enabled (de fi -if test "x$want_gnet2_opt" == "xyes" +if test "x$want_gnet2_opt" = "xyes" then - if test "x$enable_gnetopt" == "xyes" + if test "x$enable_gnetopt" = "xyes" then { echo "$as_me:$LINENO: Gnet2 library: build and link statically (--enable-static-gnet2 specified)" >&5 echo "$as_me: Gnet2 library: build and link statically (--enable-static-gnet2 specified)" >&6;}