--- configure.orig	Tue Sep  7 10:21:06 1999
+++ configure	Thu Sep  7 13:33:07 2000
@@ -1783,7 +1783,7 @@
 aix*)
   ac_symcode='[BCDTU]'
   ;;
-sunos* | cygwin32* | mingw32*)
+sunos* | cygwin32* | mingw32* | openbsd*)
   ac_sympat='_\([_A-Za-z][_A-Za-z0-9]*\)'
   ac_symxfrm='_\1 \1'
   ;;
@@ -3868,13 +3868,13 @@
   done
 done
 
+ac_kde_libraries="$kde_libdir"
 
 if test -n "$ac_kde_libraries" && test ! -r "$ac_kde_libraries/libkdecore.la"; then
 { echo "configure: error: 
 in the prefix, you've chosen, are no KDE libraries installed. This will fail.
 So, check this please and use another prefix!" 1>&2; exit 1; }
 fi
-ac_kde_libraries="$kde_libdir"
 
 if test "$ac_kde_includes" = NO || test "$ac_kde_libraries" = NO; then
   ac_cv_have_kde="have_kde=no"
@@ -6000,7 +6000,7 @@
 for ac_hdr in fcntl.h sys/time.h unistd.h crypt.h sys/select.h \
 	sys/ioctl.h sys/stropts.h termio.h termios.h lastlog.h malloc.h \
 	sys/sockio.h krb5/krb5.h rpc/rpc.h rpc/key_prot.h sys/m_wait.h \
-	sys/param.h ncurses.h paths.h login_cap.h syslog.h
+	sys/param.h ncurses.h paths.h syslog.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
