comparison configure.ac @ 193:bd9704417d49

typographic fix: alignments in configure -h
author meillo@marmaro.de
date Thu, 15 Jul 2010 14:37:49 +0200
parents 89f951be358f
children 45acc5727493
comparison
equal deleted inserted replaced
192:89f951be358f 193:bd9704417d49
23 AC_SUBST(GLIB_LIBS) 23 AC_SUBST(GLIB_LIBS)
24 AC_SUBST(GLIB_CFLAGS) 24 AC_SUBST(GLIB_CFLAGS)
25 25
26 dnl resolver support (default is use it) 26 dnl resolver support (default is use it)
27 AC_ARG_ENABLE(resolver, 27 AC_ARG_ENABLE(resolver,
28 [ --disable-resolver disable resolver support], 28 [ --disable-resolver disable resolver support],
29 if test "$enable_resolver" != 'no'; then 29 if test "$enable_resolver" != 'no'; then
30 resolver_enabled='yes' 30 resolver_enabled='yes'
31 fi, 31 fi,
32 resolver_enabled='yes' 32 resolver_enabled='yes'
33 ) 33 )
86 AC_FUNC_VPRINTF 86 AC_FUNC_VPRINTF
87 AC_CHECK_FUNCS(select socket strerror strstr) 87 AC_CHECK_FUNCS(select socket strerror strstr)
88 88
89 dnl user and group configuration 89 dnl user and group configuration
90 AC_ARG_WITH(user, 90 AC_ARG_WITH(user,
91 [ --with-user=USER set user [mail]], 91 [ --with-user=USER set user [mail]],
92 ) 92 )
93 if test "x$with_user" = 'x'; then 93 if test "x$with_user" = 'x'; then
94 with_user='mail' 94 with_user='mail'
95 fi 95 fi
96 96
97 AC_ARG_WITH(group, 97 AC_ARG_WITH(group,
98 [ --with-group=GROUP set group [trusted]], 98 [ --with-group=GROUP set group [trusted]],
99 ) 99 )
100 if test "x$with_group" = 'x'; then 100 if test "x$with_group" = 'x'; then
101 with_group='trusted' 101 with_group='trusted'
102 fi 102 fi
103 103
104 dnl debugging support (default is use it) 104 dnl debugging support (default is use it)
105 AC_ARG_ENABLE(debug, 105 AC_ARG_ENABLE(debug,
106 [ --disable-debug disable debugging], 106 [ --disable-debug disable debugging],
107 if test "x$enable_debug" != 'xno'; then 107 if test "x$enable_debug" != 'xno'; then
108 debug_enabled='yes' 108 debug_enabled='yes'
109 fi, 109 fi,
110 debug_enabled='yes' 110 debug_enabled='yes'
111 ) 111 )
118 AC_DEFINE_UNQUOTED(DEF_MAIL_GROUP, "${with_group}", [The mail group]) 118 AC_DEFINE_UNQUOTED(DEF_MAIL_GROUP, "${with_group}", [The mail group])
119 AC_SUBST(with_group) 119 AC_SUBST(with_group)
120 120
121 dnl link glib statically? 121 dnl link glib statically?
122 AC_ARG_WITH(glib_static, 122 AC_ARG_WITH(glib_static,
123 [ --with-glib-static=path link glib statically (path mandatory!)], 123 [ --with-glib-static=path link glib statically (path mandatory!)],
124 ) 124 )
125 if test "x$with_glib_static" != 'x'; then 125 if test "x$with_glib_static" != 'x'; then
126 GLIB_LIBS=$with_glib_static 126 GLIB_LIBS=$with_glib_static
127 AC_SUBST(GLIB_LIBS) 127 AC_SUBST(GLIB_LIBS)
128 fi 128 fi
131 MD5_LIBS='' 131 MD5_LIBS=''
132 BASE64_LIBS='' 132 BASE64_LIBS=''
133 133
134 dnl smtp server support (default is use it) 134 dnl smtp server support (default is use it)
135 AC_ARG_ENABLE(smtp_server, 135 AC_ARG_ENABLE(smtp_server,
136 [ --disable-smtp-server disable smtp server support], 136 [ --disable-smtp-server disable smtp server support],
137 if test "x$enable_smtp_server" != 'xno'; then 137 if test "x$enable_smtp_server" != 'xno'; then
138 smtp_server_enabled='yes' 138 smtp_server_enabled='yes'
139 fi, 139 fi,
140 smtp_server_enabled='yes' 140 smtp_server_enabled='yes'
141 ) 141 )
143 AC_DEFINE(ENABLE_SMTP_SERVER, 1, [If the SMTP server is enabled]) 143 AC_DEFINE(ENABLE_SMTP_SERVER, 1, [If the SMTP server is enabled])
144 fi 144 fi
145 145
146 dnl auth support (default is to not use it) 146 dnl auth support (default is to not use it)
147 AC_ARG_ENABLE(auth, 147 AC_ARG_ENABLE(auth,
148 [ --enable-auth enable AUTH (RFC 2554) client support], 148 [ --enable-auth enable AUTH (RFC 2554) client support],
149 if test "x$enable_auth" != 'xno'; then 149 if test "x$enable_auth" != 'xno'; then
150 auth_enabled='yes' 150 auth_enabled='yes'
151 fi, 151 fi,
152 ) 152 )
153 if test "x$auth_enabled" = xyes; then 153 if test "x$auth_enabled" = xyes; then
158 fi 158 fi
159 AC_SUBST(BASE64_LIBS) 159 AC_SUBST(BASE64_LIBS)
160 160
161 dnl maildir support (default is to not use it) 161 dnl maildir support (default is to not use it)
162 AC_ARG_ENABLE(maildir, 162 AC_ARG_ENABLE(maildir,
163 [ --enable-maildir enable qmail style maildir support], 163 [ --enable-maildir enable qmail style maildir support],
164 if test "x$enable_maildir" != 'xno'; then 164 if test "x$enable_maildir" != 'xno'; then
165 maildir_enabled='yes' 165 maildir_enabled='yes'
166 fi, 166 fi,
167 ) 167 )
168 if test "x$maildir_enabled" = xyes; then 168 if test "x$maildir_enabled" = xyes; then
169 AC_DEFINE(ENABLE_MAILDIR, 1, [If Maildirs are enabled]) 169 AC_DEFINE(ENABLE_MAILDIR, 1, [If Maildirs are enabled])
170 fi 170 fi
171 171
172 dnl libcrypto 172 dnl libcrypto
173 AC_ARG_WITH(libcrypto, 173 AC_ARG_WITH(libcrypto,
174 [ --with-libcrypto use libcrypto], 174 [ --with-libcrypto use libcrypto],
175 ) 175 )
176 if test "x$with_libcrypto" != 'xyes'; then 176 if test "x$with_libcrypto" != 'xyes'; then
177 with_libcrypto='no' 177 with_libcrypto='no'
178 fi 178 fi
179 179
192 AC_SUBST(MD5_LIBS) 192 AC_SUBST(MD5_LIBS)
193 193
194 dnl ident support (default is to not use it) 194 dnl ident support (default is to not use it)
195 IDENT_LIBS='' 195 IDENT_LIBS=''
196 AC_ARG_ENABLE(ident, 196 AC_ARG_ENABLE(ident,
197 [ --enable-ident enable ident (RFC 1413) support], 197 [ --enable-ident enable ident (RFC 1413) support],
198 if test "x$enable_ident" != 'xno'; then 198 if test "x$enable_ident" != 'xno'; then
199 ident_enabled='yes' 199 ident_enabled='yes'
200 fi, 200 fi,
201 ) 201 )
202 AC_SUBST(has_ident) 202 AC_SUBST(has_ident)
206 fi 206 fi
207 AC_SUBST(IDENT_LIBS) 207 AC_SUBST(IDENT_LIBS)
208 208
209 dnl liblockfile 209 dnl liblockfile
210 AC_ARG_WITH(liblockfile, 210 AC_ARG_WITH(liblockfile,
211 [ --with-liblockfile use liblock (for Debian)], 211 [ --with-liblockfile use liblock (for Debian)],
212 ) 212 )
213 if test "x$with_liblockfile" = 'xno'; then 213 if test "x$with_liblockfile" = 'xno'; then
214 with_liblockfile='' 214 with_liblockfile=''
215 fi 215 fi
216 if test "x$with_liblockfile" != 'x'; then 216 if test "x$with_liblockfile" != 'x'; then
226 AC_SUBST(LOCKFILE_LIBS) 226 AC_SUBST(LOCKFILE_LIBS)
227 AC_SUBST(USE_LIBLOCKFILE) 227 AC_SUBST(USE_LIBLOCKFILE)
228 228
229 dnl log and spool directories 229 dnl log and spool directories
230 AC_ARG_WITH(logdir, 230 AC_ARG_WITH(logdir,
231 [ --with-logdir=DIR set log directory [/var/log/masqmail]], 231 [ --with-logdir=DIR set log directory [/var/log/masqmail]],
232 , 232 ,
233 with_logdir='/var/log/masqmail/' 233 with_logdir='/var/log/masqmail/'
234 ) 234 )
235 AC_DEFINE_UNQUOTED(LOG_DIR, "${with_logdir}", [The log directory]) 235 AC_DEFINE_UNQUOTED(LOG_DIR, "${with_logdir}", [The log directory])
236 AC_SUBST(with_logdir) 236 AC_SUBST(with_logdir)
237 237
238 AC_ARG_WITH(spooldir, 238 AC_ARG_WITH(spooldir,
239 [ --with-spooldir=DIR set spool directory [/var/spool/masqmail]], 239 [ --with-spooldir=DIR set spool directory [/var/spool/masqmail]],
240 , 240 ,
241 with_spooldir='/var/spool/masqmail/' 241 with_spooldir='/var/spool/masqmail/'
242 ) 242 )
243 AC_DEFINE_UNQUOTED(SPOOL_DIR, "${with_spooldir}", [The spool directory]) 243 AC_DEFINE_UNQUOTED(SPOOL_DIR, "${with_spooldir}", [The spool directory])
244 AC_SUBST(with_spooldir) 244 AC_SUBST(with_spooldir)
245 245
246 dnl configuration file 246 dnl configuration file
247 AC_ARG_WITH(confdir, 247 AC_ARG_WITH(confdir,
248 [ --with-confdir directory for configuration [/etc/masqmail]], 248 [ --with-confdir directory for configuration [/etc/masqmail]],
249 , 249 ,
250 with_confdir='/etc/masqmail' 250 with_confdir='/etc/masqmail'
251 ) 251 )
252 AC_DEFINE_UNQUOTED(CONF_DIR, "${with_confdir}", [The configuration file location]) 252 AC_DEFINE_UNQUOTED(CONF_DIR, "${with_confdir}", [The configuration file location])
253 AC_SUBST(with_confdir) 253 AC_SUBST(with_confdir)