svn rev #3300: trunk/
ghudson@MIT.EDU
ghudson at MIT.EDU
Fri May 21 23:27:18 EDT 2010
Commit By: ghudson
Log Message:
ticket: 6732
When checking for functions from libutil, include -lutil in LIBS.
Based on a patch from nalin at redhat.com.
Changed Files:
U trunk/configure.ac
Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac 2010-05-03 19:51:50 UTC (rev 3299)
+++ trunk/configure.ac 2010-05-22 03:27:18 UTC (rev 3300)
@@ -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