From 9550a76c3716acc1a591dd9604cbc958a92ad891 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 29 Dec 1999 02:32:22 +1100 Subject: - Applied another NetBSD portability patch from David Rankin - Fix --with-default-path option. --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index a232a746b..6d03beca7 100644 --- a/configure.in +++ b/configure.in @@ -302,6 +302,11 @@ AC_EGREP_HEADER(ut_tv, utmp.h, [AC_DEFINE(HAVE_TV_IN_UTMP) AC_MSG_RESULT(yes); ], [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_id field]) +AC_EGREP_HEADER(ut_id, utmp.h, + [AC_DEFINE(HAVE_ID_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) dnl Look for lastlog location AC_ARG_WITH(lastlog, @@ -440,7 +445,7 @@ AC_ARG_WITH(path, [ --with-default-path=PATH Specify default \$PATH environment for server], [ if test "x$withval" != "xno" ; then - AC_DEFINE_UNQUOTED(USER_PATH, $withval") + AC_DEFINE_UNQUOTED(USER_PATH, "$withval") fi ] ) -- cgit v1.2.3