$OpenBSD: patch-configure,v 1.2 2006/02/19 17:32:59 alek Exp $
--- configure.orig	Wed Mar  8 18:43:57 2000
+++ configure	Sun Feb 19 15:31:11 2006
@@ -892,7 +892,7 @@ if test -z "install_sh"; then
 fi
 
 # Specify the liba2ps version number
-LIBVERSION=1:0:0
+LIBVERSION=2:0:0
 
 GNU_PACKAGE="GNU $PACKAGE"
 cat >>confdefs.h <<EOF
@@ -4937,7 +4937,7 @@ if test "${ac_cv_lib_intl_strftime+set}"
   echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat >conftest.$ac_ext <<EOF
 #line 4943 "configure"
 #include "confdefs.h"
@@ -4973,7 +4973,7 @@ if test $ac_cv_lib_intl_strftime = yes; 
 #define HAVE_STRFTIME 1
 EOF
 
-LIBS="-lintl $LIBS"
+LIBS="-lintl -liconv $LIBS"
 fi
 
 fi
@@ -7447,7 +7447,7 @@ if test "${ac_cv_lib_intl_bindtextdomain
   echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv $LIBS"
 cat >conftest.$ac_ext <<EOF
 #line 7453 "configure"
 #include "confdefs.h"
@@ -7485,7 +7485,7 @@ if test "${ac_cv_lib_intl_gettext+set}" 
   echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lintl  $LIBS"
+LIBS="-lintl -liconv  $LIBS"
 cat >conftest.$ac_ext <<EOF
 #line 7491 "configure"
 #include "confdefs.h"
@@ -7521,7 +7521,7 @@ if test $ac_cv_lib_intl_gettext = yes; t
 #define HAVE_LIBINTL 1
 EOF
 
-  LIBS="-lintl $LIBS"
+  LIBS="-lintl -liconv $LIBS"
 
 fi
 
@@ -8531,7 +8531,7 @@ fi
    esac
 
 # How to send things in the printer queue
-for ac_prog in lp lpr
+for ac_prog in lpr
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
