~ubuntu-branches/ubuntu/lucid/autoconf-archive/lucid

« back to all changes in this revision

Viewing changes to html/ac_check_user.html

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue
  • Date: 2009-05-12 17:30:18 UTC
  • mfrom: (1.1.9 upstream) (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090512173018-s7y88nfoxpaauztk
Tags: 20090426-1
* New upstream release.
* Update Standard-Version to 3.8.1:
  + List original Debianizer.
  + Point to versioned license file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
   Autoconf Macro: ac_check_user
7
7
  </title>
8
8
  <link rel="stylesheet" type="text/css" href="autoconf-archive.css">
 
9
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
9
10
 </head>
10
11
 <body>
11
12
  <table summary="web navigation" style="width:100%;">
12
13
   <tbody>
13
14
    <tr>
14
 
     <td style="width:25%;" align="center" valign="top">
15
 
      <a href="http://autoconf-archive.cryp.to/ac_check_user.m4">Download M4
16
 
      Source</a>
 
15
     <td style="width:33%;" align="center" valign="top">
 
16
      <a href="macros-by-category.html">Macros by Category</a>
17
17
     </td>
18
 
     <td style="width:25%;" align="center" valign="top">
 
18
     <td style="width:33%;" align="center" valign="top">
19
19
      <a href=
20
 
      "http://git.cryp.to/autoconf-archive?a=history;f=ac_check_user.m4">Macro
 
20
      "http://git.cryp.to/autoconf-archive/history/master:/ac_check_user.m4">Revision
21
21
      History</a>
22
22
     </td>
23
 
     <td style="width:25%;" align="center" valign="top">
24
 
      <a href="macros-by-category.html">Category Index</a>
25
 
     </td>
26
 
     <td style="width:25%;" align="center" valign="top">
 
23
     <td style="width:33%;" align="center" valign="top">
27
24
      <form method="get" action="http://www.google.com/search">
28
25
       <div>
29
26
        <input name="sitesearch" value="autoconf-archive.cryp.to" type=
30
 
        "hidden"><a href="http://www.google.com/">Search</a>: <input name="q"
31
 
        size="10" maxlength="255" type="text">
 
27
        "hidden">Search: <input name="q" maxlength="255" type="text">
32
28
       </div>
33
29
      </form>
34
30
     </td>
40
36
   ac_check_user
41
37
  </h1>
42
38
  <h2>
43
 
   Synopsis
 
39
   SYNOPSIS
44
40
  </h2>
45
41
  <p class="indent" style="white-space:nowrap;">
46
42
   <code>AC_CHECK_USER</code>
47
43
  </p>
48
44
  <h2>
49
 
   Description
 
45
   DESCRIPTION
50
46
  </h2>
51
47
  <div class="indent">
52
48
   <p>
73
69
</pre>
74
70
  </div>
75
71
  <h2>
76
 
   Author
77
 
  </h2>
78
 
  <p class="indent">
79
 
   Gleen Salmon &lt;gleensalmon@yahoo.com&gt;
80
 
  </p>
81
 
  <h2>
82
 
   Last Modified
83
 
  </h2>
84
 
  <p class="indent">
85
 
   2008-04-12
86
 
  </p>
87
 
  <h2>
88
 
   M4 Source Code
89
 
  </h2>
90
 
  <div class="indent">
91
 
   <pre class="m4source">
92
 
AC_DEFUN([AC_CHECK_USER],[
93
 
AC_MSG_CHECKING([for user $2])
94
 
if grep ^$2: /etc/passwd &gt; /dev/null; then
95
 
        $1=$2
96
 
        USER_HOME=`grep ^$2: /etc/passwd | sed "s/^\([[^:]]*:\)\{5\}\([[^:]]*\):[[^:]]*$/\2/"`
97
 
        AC_MSG_RESULT([yes])
98
 
else
99
 
        unset $1
100
 
        unset USER_HOME
101
 
        AC_MSG_RESULT([no])
102
 
fi;dnl
103
 
])
104
 
</pre>
105
 
  </div>
106
 
  <h2>
107
 
   License
108
 
  </h2>
109
 
  <div class="indent">
110
 
   <span style="white-space:nowrap;">Copyright &copy; 2008 Gleen Salmon
111
 
   &lt;gleensalmon@yahoo.com&gt;</span>
 
72
   SOURCE CODE
 
73
  </h2>
 
74
  <p class="indent">
 
75
   <a href=
 
76
   "http://autoconf-archive.cryp.to/ac_check_user.m4">http://autoconf-archive.cryp.to/ac_check_user.m4</a>
 
77
  </p>
 
78
  <h2>
 
79
   LICENSE
 
80
  </h2>
 
81
  <div class="indent">
 
82
   <p style="white-space:nowrap;">
 
83
    Copyright &copy; 2008 Gleen Salmon &lt;gleensalmon@yahoo.com&gt;
 
84
   </p>
112
85
   <p>
113
86
    This program is free software; you can redistribute it and/or modify it
114
87
    under the terms of the GNU General Public License as published by the Free
137
110
   </p>
138
111
   <p>
139
112
    This special exception to the GPL applies to versions of the Autoconf Macro
140
 
    released by the Autoconf Macro Archive. When you make and distribute a
141
 
    modified version of the Autoconf Macro, you may extend this special
142
 
    exception to the GPL to apply to your modified version as well.
 
113
    released by the Autoconf Archive. When you make and distribute a modified
 
114
    version of the Autoconf Macro, you may extend this special exception to the
 
115
    GPL to apply to your modified version as well.
143
116
   </p>
144
117
  </div>
145
118
 </body>