svn rev #3302: branches/krb5-appl-1-0/
ghudson@MIT.EDU
ghudson at MIT.EDU
Sat May 22 08:08:50 EDT 2010
Commit By: ghudson
Log Message:
Pull up r3300 from trunk.
------------------------------------------------------------------------
r3300 | ghudson | 2010-05-21 23:27:18 -0400 (Fri, 21 May 2010) | 5 lines
ticket: 6732
When checking for functions from libutil, include -lutil in LIBS.
Based on a patch from nalin at redhat.com.
Changed Files:
U branches/krb5-appl-1-0/configure.ac
Modified: branches/krb5-appl-1-0/configure.ac
===================================================================
--- branches/krb5-appl-1-0/configure.ac 2010-05-22 04:05:07 UTC (rev 3301)
+++ branches/krb5-appl-1-0/configure.ac 2010-05-22 12:08:50 UTC (rev 3302)
@@ -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)
More information about the Krb5-appl-commits
mailing list