From: Robert Colquhoun Date: Tue, 1 Jun 1999 09:56:09 +0000 (+0000) Subject: Changes to configure to look for the logout() function in utmp.h X-Git-Tag: v40pl2-rjc9~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588b2bcbb17267ba58734bd52bc28fe8b574ff81;p=thirdparty%2FHylaFAX.git Changes to configure to look for the logout() function in utmp.h --- diff --git a/configure b/configure index 96b66587..059eb59f 100755 --- a/configure +++ b/configure @@ -2616,8 +2616,10 @@ BuildPortDotH() } CheckForLibrary logout -lutil && { echo '#define HAS_LOGOUT 1' - Note "... configure use of logout (BSD-style utmp support)" - AddFuncDecl logout 'int logout(const char*);' + Note "... configure use of logout (BSD-style utmp support)" + CheckForFuncDecl logout utmp.h || { + AddFuncDecl logout 'int logout(const char*);' + } } } CheckDefine _PATH_DEV '_PATH_DEV "/dev/"' paths.h