$NetBSD: patch-aa,v 1.42 2007/02/15 08:05:52 adam Exp $

--- configure.orig	2007-02-10 21:49:48.000000000 +0100
+++ configure
@@ -19001,9 +19001,6 @@ fi
 # Enable building/use of libltdl if we are building shared libraries regardless
 # of whether modules are built or not.
 with_ltdl='no'
-if test "$libtool_build_shared_libs" != 'no' ; then
-  with_ltdl='yes'
-fi
 
  if test "$with_ltdl" != 'no'; then
   WITH_LTDL_TRUE=
@@ -34663,7 +34660,7 @@ cat >>confdefs.h <<\_ACEOF
 #define HasFONTCONFIG 1
 _ACEOF
 
-  if test "$with_modules" == 'no' ; then
+  if test "$with_modules" = 'no' ; then
     CPPFLAGS="$FONTCONFIG_CFLAGS $CPPFLAGS"
   fi
 fi
@@ -36781,7 +36778,7 @@ cat >>confdefs.h <<\_ACEOF
 #define HasGVC 1
 _ACEOF
 
-  if test "$with_modules" == 'no' ; then
+  if test "$with_modules" = 'no' ; then
     CPPFLAGS="$GVC_CFLAGS $CPPFLAGS"
   fi
 fi
@@ -37326,7 +37323,7 @@ cat >>confdefs.h <<\_ACEOF
 #define HasRSVG 1
 _ACEOF
 
-  if test "$with_modules" == 'no' ; then
+  if test "$with_modules" = 'no' ; then
     CPPFLAGS="$RSVG_CFLAGS $CPPFLAGS"
   fi
 fi
