$NetBSD: patch-ap,v 1.3 2010/06/13 22:44:45 wiz Exp $ --- configure.orig 2008-10-01 12:15:58.000000000 -0400 +++ configure @@ -23079,7 +23079,7 @@ _ACEOF fi -if test x$UCIL_AVCODEC == "xavcodec" ; then +if test x$UCIL_AVCODEC = "xavcodec" ; then HAVE_AVCODEC_TRUE= HAVE_AVCODEC_FALSE='#' else @@ -23201,7 +23201,7 @@ _ACEOF fi -if test x$UCIL_THEORA == "xogg/theora" ; then +if test x$UCIL_THEORA = "xogg/theora" ; then HAVE_THEORA_TRUE= HAVE_THEORA_FALSE='#' else @@ -23323,7 +23323,7 @@ _ACEOF fi -if test x$UCIL_ALSA == "xalsa" ; then +if test x$UCIL_ALSA = "xalsa" ; then HAVE_ALSA_TRUE= HAVE_ALSA_FALSE='#' else @@ -23445,7 +23445,7 @@ _ACEOF fi -if test x$UCIL_PNG == "xpng" ; then +if test x$UCIL_PNG = "xpng" ; then HAVE_PNG_TRUE= HAVE_PNG_FALSE='#' else @@ -25333,7 +25333,7 @@ else echo "${ECHO_T}yes" >&6; } HAVE_LIBRAW1394="yes";LIBRAW1394_VERSION="RAW1394_1_1_API" fi - if( test "$HAVE_LIBRAW1394" == "yes" ); then + if( test "$HAVE_LIBRAW1394" = "yes" ); then cat >>confdefs.h <<\_ACEOF #define RAW1394_1_1_API 1 @@ -25730,7 +25730,7 @@ echo "${ECHO_T} video-to-1394 plugin req fi fi -if test "x$VID21394" == "xyes"; then +if test "x$VID21394" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define BUILD_VID21394 1 @@ -25759,7 +25759,7 @@ echo "${ECHO_T} IIDC 1394 camera plugin fi fi -if test "x$DCAM" == "xyes"; then +if test "x$DCAM" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define BUILD_DCAM 1 @@ -25782,7 +25782,7 @@ else fi -if test "x$V4L" == "xyes"; then +if test "x$V4L" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define BUILD_V4L 1 @@ -25805,7 +25805,7 @@ else fi -if test "x$V4L2" == "xyes"; then +if test "x$V4L2" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define BUILD_V4L2 1 @@ -25827,7 +25827,7 @@ else fi -if test "x$USE_LIBV4L" == "xyes"; then +if test "x$USE_LIBV4L" = "xyes"; then pkg_failed=no { echo "$as_me:$LINENO: checking for LIBV4L" >&5 @@ -25899,7 +25899,7 @@ else echo "${ECHO_T}yes" >&6; } HAVE_LIBV4L="yes" fi - if test "x$HAVE_LIBV4L" == "xyes"; then + if test "x$HAVE_LIBV4L" = "xyes"; then { echo "$as_me:$LINENO: result: enable enable enable " >&5 echo "${ECHO_T}enable enable enable " >&6; } @@ -25917,7 +25917,7 @@ _ACEOF fi -if test x$HAVE_LIBV4L == "xyes" ; then +if test x$HAVE_LIBV4L = "xyes" ; then HAVE_LIBV4L_TRUE= HAVE_LIBV4L_FALSE='#' else @@ -25944,7 +25944,7 @@ fi # Check whether --enable-static-cpi was given. if test "${enable_static_cpi+set}" = set; then enableval=$enable_static_cpi; { - if test "x$enableval" == "xyes"; then + if test "x$enableval" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define ENABLE_STATIC_CPI 1 @@ -25972,7 +25972,7 @@ fi # Check whether --enable-thread-locking was given. if test "${enable_thread_locking+set}" = set; then enableval=$enable_thread_locking; { - if test "x$enableval" == "xyes"; then + if test "x$enableval" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define UNICAP_THREAD_LOCKING 1 @@ -25992,7 +25992,7 @@ fi # Check whether --enable-unicap-threads was given. if test "${enable_unicap_threads+set}" = set; then enableval=$enable_unicap_threads; { - if test "x$enableval" == "xyes"; then + if test "x$enableval" = "xyes"; then cat >>confdefs.h <<\_ACEOF #define UNICAP_THREADS 1 @@ -27969,7 +27971,7 @@ if test x$VID21394_VISCA = xyes; then VID21394="$VID21394 with visca support" fi -if test x$HAVE_LIBV4L == xyes && test x$V4L2 == xyes; then +if test x$HAVE_LIBV4L = xyes && test x$V4L2 = xyes; then V4L2="yes, with libv4l2 support" fi