$NetBSD: patch-aa,v 1.3 2006/10/08 05:22:19 salo Exp $

--- configure.orig	2006-04-28 21:53:45.000000000 +0200
+++ configure	2006-10-08 07:11:50.000000000 +0200
@@ -6076,7 +6076,7 @@ fi
   if test "$ogg_found" = "no"; then
     { { echo "$as_me:$LINENO: error: Could not find the Ogg library" >&5
 echo "$as_me: error: Could not find the Ogg library" >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
   fi
 
 for ac_header in ogg/ogg.h
@@ -6232,7 +6232,7 @@ done
   if test "$ogg_found" = "no"; then
     { { echo "$as_me:$LINENO: error: Could not find the Ogg header files" >&5
 echo "$as_me: error: Could not find the Ogg header files" >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
   fi
 
 
@@ -6312,7 +6312,7 @@ fi
   if test "$vorbis_found" = "no"; then
     { { echo "$as_me:$LINENO: error: Could not find the Vorbis library" >&5
 echo "$as_me: error: Could not find the Vorbis library" >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
   fi
 
 for ac_header in vorbis/codec.h
@@ -6468,7 +6468,7 @@ done
   if test "$vorbis_found" = "no"; then
     { { echo "$as_me:$LINENO: error: Could not find the Vorbis header files" >&5
 echo "$as_me: error: Could not find the Vorbis header files" >&2;}
-   { (exit 1); exit 1; }; }
+   { (true); true; }; }
   fi
 
 
@@ -8620,7 +8620,7 @@ if test "${ac_cv_lib_magic_magic_open+se
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmagic  $LIBS"
+LIBS="-lmagic -lz $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -8678,7 +8678,7 @@ fi
 echo "$as_me:$LINENO: result: $ac_cv_lib_magic_magic_open" >&5
 echo "${ECHO_T}$ac_cv_lib_magic_magic_open" >&6
 if test $ac_cv_lib_magic_magic_open = yes; then
-   MAGIC_LIBS="-lmagic"
+   MAGIC_LIBS="-lmagic -lz"
 fi
 
 
