Changeset 24 for emailtotracscript/trunk/configure.in
- Timestamp:
- 01/15/06 13:46:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
emailtotracscript/trunk/configure.in
- Property svn:keywords set to Id
r23 r24 1 # 2 # Author: Bas van der Vlies <basv@sara.nl> 3 # Desc. : Simple configure script for email2trac package 4 # SVN INFO: 5 # $Id$ 6 # 7 # 1 8 AC_INIT(email2trac.py.in) 2 9 AC_SUBST(prefix) … … 5 12 AC_SUBST(trac_user) 6 13 AC_SUBST(mta_user) 14 AC_SUBST(sysconfdir) 7 15 8 16 AM_PATH_PYTHON 9 17 AC_PROG_GCC_TRADITIONAL 10 18 11 19 # Now a user can specify the TRAC user 20 # 12 21 AC_ARG_WITH(trac_user, 13 22 [ … … 22 31 )dnl 23 32 33 # Now a user can specify MTA TRAC user 34 # 24 35 AC_ARG_WITH(mta_user, 25 36 [ … … 33 44 [mta_user="nobody"] 34 45 )dnl 46 47 dnl ##### Path to email2trac.conf 48 dnl This ugly kludge to get the sysconfdir path is needed because 49 dnl autoconf doesn't actually set the prefix variable until later. 50 if test "$sysconfdir" = '${prefix}/etc'; then 51 if test "x$prefix" = xNONE; then 52 email2trac_conf="$ac_default_prefix/etc/email2trac.conf" 53 else 54 email2trac_conf="$prefix/etc/email2trac.conf" 55 fi 56 else 57 email2trac_conf="$sysconfdir/email2trac.conf" 58 fi 59 AC_DEFINE_UNQUOTED(SYSTEM_EMAIL2TRAC_CONF, "$email2trac_conf", 60 [Full path for the system-wide email2trac.conf file.]) 61 62 AC_SUBST(email2trac_conf) 63 AC_SUBST(SYSTEM_EMAIL2TRAC_CONF) 64 65 35 66 AC_OUTPUT( 36 67 Makefile
Note: See TracChangeset
for help on using the changeset viewer.