$NetBSD: patch-aa,v 1.5 2008/04/28 12:47:44 wiz Exp $ --- configure.orig 2008-04-24 19:29:25.000000000 +0200 +++ configure @@ -24530,7 +24530,7 @@ fi if test "$ac_snd_have_extension_language" = no ; then if test "$ac_snd_have_gui" = no ; then if test "$ac_cv_header_dlfcn_h" = yes ; then - LDFLAGS="$LDFLAGS -ldl" + LDFLAGS="$LDFLAGS ${DL_LDFLAGS} ${DL_LIBS}" fi { $as_echo "$as_me:$LINENO: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free, normally prepackaged and ready-to-use. As currently configured, this version of Snd is useless." >&5 $as_echo "$as_me: WARNING: Snd needs either an extension language (Guile or Ruby), or a graphics toolkit (Gtk or Motif), or preferably both. All four packages are available free, normally prepackaged and ready-to-use. As currently configured, this version of Snd is useless." >&2;}