$OpenBSD: patch-configure,v 1.1 2004/10/07 01:08:36 naddy Exp $
--- configure.orig	Sat Jun 23 06:59:14 2001
+++ configure	Sun Oct  3 23:16:03 2004
@@ -3677,7 +3677,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3683 "configure"
 #include "confdefs.h"
@@ -3717,7 +3717,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$a
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3723 "configure"
 #include "confdefs.h"
