$OpenBSD: patch-configure,v 1.4 2004/08/11 22:48:26 naddy Exp $
--- configure.orig	Sun May 23 08:18:27 2004
+++ configure	Thu Aug 12 00:15:48 2004
@@ -1438,7 +1438,7 @@ test -n "$target_alias" &&
     NONENONEs,x,x, &&
   program_prefix=${target_alias}-
 
-TARGETS=base
+TARGETS='base docs'
 APPLICATIONS='icewm icewm-session icesh icewmhint icewmbg icewmtray'
 TESTCASES=`echo src/test*.cc | sed 's%src/\([^ ]*\)\.cc%\1%g'`
 TESTCASES="$TESTCASES iceview icesame iceicon icerun icelist" # iceclock
@@ -2330,7 +2330,6 @@ if { ac_try='rm conftest; $CC -o conftes
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; } >/dev/null 2>&1; then
   ice_prog_gxx=yes
-  CXX=$CC
 else
   ice_prog_gxx=no
 fi
@@ -10077,7 +10076,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -10126,7 +10125,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
 if test $ac_cv_lib_intl_bindtextdomain = yes; then
-   CORE_LIBS="${CORE_LIBS} -lintl"
+   CORE_LIBS="${CORE_LIBS} -lintl -liconv"
 
 else
    { { echo "$as_me:$LINENO: error: NLS (national language support) has been requested but
