shishi-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS shishi/gl/m4


From: shishi-commit
Subject: CVS shishi/gl/m4
Date: Thu, 02 Sep 2004 21:43:31 +0200

Update of /home/cvs/shishi/gl/m4
In directory dopio:/tmp/cvs-serv5618/gl/m4

Modified Files:
        gnulib.m4 
Added Files:
        getpass.m4 
Log Message:
Add getpass.

--- /home/cvs/shishi/gl/m4/gnulib.m4    2004/08/25 17:02:18     1.7
+++ /home/cvs/shishi/gl/m4/gnulib.m4    2004/09/02 19:43:30     1.8
@@ -8,7 +8,7 @@
 # Generated by gnulib-tool.
 #
 # Invoked as: gnulib-tool --import
-# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl 
--m4-base=gl/m4 --libtool alloca allocsa error exit exitfail extensions getdate 
getdomainname gethostname getline getopt getsubopt gettext gettime gettimeofday 
mktime progname readlink realloc restrict setenv stdbool strcase strchrnul 
strdup strndup strnlen timegm time_r timespec unlocked-io vasnprintf vasprintf 
xalloc xalloc-die xgetdomainname xgethostname xreadlink xsize xstrndup
+# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gl 
--m4-base=gl/m4 --libtool alloca allocsa error exit exitfail extensions getdate 
getdomainname gethostname getline getopt getpass getsubopt gettext gettime 
gettimeofday mktime progname readlink realloc restrict setenv stdbool strcase 
strchrnul strdup strndup strnlen timegm time_r timespec unlocked-io vasnprintf 
vasprintf xalloc xalloc-die xgetdomainname xgethostname xreadlink xsize xstrndup
 
 AC_DEFUN([gl_EARLY],
 [
@@ -28,6 +28,7 @@
   gl_FUNC_GETHOSTNAME
   AM_FUNC_GETLINE
   gl_GETOPT
+  gl_FUNC_GETPASS
   gl_FUNC_GETSUBOPT
   dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac.
   gl_GETTIME

--- /home/cvs/shishi/gl/m4/getpass.m4   2004/09/02 19:43:30     NONE
+++ /home/cvs/shishi/gl/m4/getpass.m4   2004/09/02 19:43:30     1.1
# getpass.m4 serial 4
dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License.  As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.

# Provide a getpass() function if the system doesn't have it.
AC_DEFUN([gl_FUNC_GETPASS],
[
  AC_REPLACE_FUNCS(getpass)
  AC_CHECK_DECLS_ONCE(getpass)
  if test $ac_cv_func_getpass = no; then
    gl_PREREQ_GETPASS
  fi
])

# Provide the GNU getpass() implementation. It supports passwords of
# arbitrary length (not just 8 bytes as on HP-UX).
AC_DEFUN([gl_FUNC_GETPASS_GNU],
[
  AC_CHECK_DECLS_ONCE(getpass)
  dnl TODO: Detect when GNU getpass() is already found in glibc.
  AC_LIBOBJ(getpass)
  gl_PREREQ_GETPASS
  dnl We must choose a different name for our function, since on ELF systems
  dnl an unusable getpass() in libc.so would override our getpass() if it is
  dnl compiled into a shared library.
  AC_DEFINE([getpass], [gnu_getpass],
    [Define to a replacement function name for getpass().])
])

# Prerequisites of lib/getpass.c.
AC_DEFUN([gl_PREREQ_GETPASS], [
  AC_CHECK_HEADERS_ONCE(stdio_ext.h)
  :
])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]