File fix-telnet.dif of Package krb5-appl.import5593

diff -u krb5-appl-1.0//configure.ac krb5-appl-1.0.1//configure.ac
--- krb5-appl-1.0//configure.ac	2009-11-21 22:46:39.000000000 +0100
+++ krb5-appl-1.0.1//configure.ac	2010-05-22 14:08:50.000000000 +0200
@@ -105,12 +105,18 @@
 
 AC_CHECK_FUNCS(_getpty cgetent getcwd getenv gettosbyname getusershell getutmp)
 AC_CHECK_FUNCS(getutmpx grantpt inet_aton initgroups isatty killpg killpg)
-AC_CHECK_FUNCS(line_push logwtmp openpty ptsname revoke rmufile rresvport_af)
+AC_CHECK_FUNCS(line_push ptsname revoke rmufile rresvport_af)
 AC_CHECK_FUNCS(seteuid setlogin setpgid setpriority setresuid setreuid)
 AC_CHECK_FUNCS(setutent setutsent setutxent strsave tcgetpgrp tcsetpgrp)
 AC_CHECK_FUNCS(ttyname unsetenv updwtmp updwtmpx utimes utmpname utmpxname)
 AC_CHECK_FUNCS(vhangup vsnprintf waitpid)
 
+# Check for functions found in libutil.
+old_LIBS="$LIBS"
+LIBS="$UTIL_LIB $LIBS"
+AC_CHECK_FUNCS(logwtmp openpty)
+LIBS="$old_LIBS"
+
 # Determine which functions to define in libmissing.
 AC_REPLACE_FUNCS(daemon getdtablesize getopt herror parsetos setenv setsid)
 AC_REPLACE_FUNCS(strcasecmp strdup strerror strftime strlcpy asprintf)
Gemeinsame Unterverzeichnisse: krb5-appl-1.0//gssftp und krb5-appl-1.0.1//gssftp.
Gemeinsame Unterverzeichnisse: krb5-appl-1.0//libmissing und krb5-appl-1.0.1//libmissing.
Gemeinsame Unterverzeichnisse: krb5-appl-1.0//libpty und krb5-appl-1.0.1//libpty.
Gemeinsame Unterverzeichnisse: krb5-appl-1.0//telnet und krb5-appl-1.0.1//telnet.
Gemeinsame Unterverzeichnisse: krb5-appl-1.0//tests und krb5-appl-1.0.1//tests.
openSUSE Build Service is sponsored by