Last change
on this file since 22 was
22,
checked in by bas, 18 years ago
|
EmailtoTracScript?:
Email2trac:
- Deleted delete_spam.py, email2trac.py
- Added delete_spam.py.in, email2trac.py.in
- Added configure options for mta_user and trac_user
- Check C-compiler
|
File size:
732 bytes
|
Rev | Line | |
---|
[21] | 1 | AC_INIT(email2trac.py) |
---|
| 2 | AC_SUBST(prefix) |
---|
| 3 | AC_SUBST(exec_prefix) |
---|
| 4 | AC_SUBST(pyexecdir) |
---|
[22] | 5 | AC_SUBST(trac_user) |
---|
| 6 | AC_SUBST(mta_user) |
---|
[21] | 7 | |
---|
| 8 | AM_PATH_PYTHON |
---|
[22] | 9 | AC_PROG_GCC_TRADITIONAL |
---|
[21] | 10 | |
---|
[22] | 11 | |
---|
| 12 | AC_ARG_WITH(trac_user, |
---|
| 13 | [ |
---|
| 14 | --with-trac_user=USER Specify the name of the user that trac use, |
---|
| 15 | default=www-data], |
---|
| 16 | |
---|
| 17 | [case "${withval}" in |
---|
| 18 | *) trac_user="${withval}" ;; |
---|
| 19 | esac], |
---|
| 20 | |
---|
| 21 | [trac_user="www-data"] |
---|
| 22 | )dnl |
---|
| 23 | |
---|
| 24 | AC_ARG_WITH(mta_user, |
---|
| 25 | [ |
---|
| 26 | --with-mta_user=USER Specify the name of the user that your MTA use, |
---|
| 27 | default=nobody], |
---|
| 28 | |
---|
| 29 | [case "${withval}" in |
---|
| 30 | *) mta_user="${withval}" ;; |
---|
| 31 | esac], |
---|
| 32 | |
---|
| 33 | [mta_user="nobody"] |
---|
| 34 | )dnl |
---|
[21] | 35 | AC_OUTPUT( |
---|
| 36 | Makefile |
---|
[22] | 37 | email2trac.py |
---|
| 38 | delete_spam.py |
---|
[21] | 39 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.