$NetBSD: patch-aa,v 1.34 2004/05/10 18:12:24 wiz Exp $ --- configure.orig 2004-04-18 14:51:57.000000000 +0200 +++ configure @@ -4816,6 +4816,9 @@ EOF ;; esac +# pkgsrc handles any rpath settings this package needs +need_dash_r= + # Allow user to specify flags # Check whether --with-cflags or --without-cflags was given. @@ -17263,12 +17266,20 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext if test -z "$conf_utmpx_location"; then if test x"$system_utmpx_path" = x"no" ; then - cat >>confdefs.h <<\EOF + for f in /var/run/utmpx; do + if test -f $f ; then + conf_utmpx_location=$f + fi + done + if test -z "$conf_utmpx_location"; then + cat >>confdefs.h <<\EOF #define DISABLE_UTMPX 1 EOF + fi fi -else +fi +if test -n "$conf_utmpx_location"; then cat >>confdefs.h <>confdefs.h <<\EOF + for f in /var/log/wtmpx; do + if test -f $f ; then + conf_wtmpx_location=$f + fi + done + if test -z "$conf_wtmpx_location"; then + cat >>confdefs.h <<\EOF #define DISABLE_WTMPX 1 EOF + fi fi -else +fi +if test -n "$conf_wtmpx_location"; then cat >>confdefs.h <