$NetBSD: patch-af,v 1.4 2000/01/11 01:08:24 simonb Exp $

--- configure.orig	Wed Dec 11 03:55:16 1996
+++ configure	Tue Jan 11 10:23:21 2000
@@ -2126,7 +2126,7 @@
 fvwm_icons="$x_includes/X11/bitmaps:$x_includes/X11/pixmaps:$prefix/icons"
 
 if test "x$x_libraries" != x ; then
-  x_libraries="-L$x_libraries"
+  x_libraries="-L$x_libraries -Wl,-R$x_libraries"
 fi
 if test "x$x_includes" != x ; then
   x_includes="-I$x_includes"
@@ -2247,7 +2247,6 @@
           libs/Makefile \
           mini-icons/Makefile \
           utils/Makefile \
-          xpmroot/Makefile \
           sample.fvwmrc/Makefile \
           modules/Makefile \
           modules/FvwmAudio/Makefile \
@@ -2329,7 +2328,6 @@
           libs/Makefile \
           mini-icons/Makefile \
           utils/Makefile \
-          xpmroot/Makefile \
           sample.fvwmrc/Makefile \
           modules/Makefile \
           modules/FvwmAudio/Makefile \
