Ignore:
Timestamp:
01/15/06 13:46:09 (17 years ago)
Author:
bas
Message:

EmailtoTracScript?:

email2trac:

  • we can now set the default poth for the config file with configure for email2trac.py
  • Added svn keywords for all the files
  • Updated the install doc
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#
    18AC_INIT(email2trac.py.in)
    29AC_SUBST(prefix)
     
    512AC_SUBST(trac_user)
    613AC_SUBST(mta_user)
     14AC_SUBST(sysconfdir)
    715
    816AM_PATH_PYTHON
    917AC_PROG_GCC_TRADITIONAL
    1018
    11 
     19# Now a user can specify the TRAC user
     20#
    1221AC_ARG_WITH(trac_user,
    1322[
     
    2231)dnl           
    2332
     33# Now a user can specify MTA TRAC user
     34#
    2435AC_ARG_WITH(mta_user,
    2536[
     
    3344  [mta_user="nobody"]
    3445)dnl           
     46
     47dnl ##### Path to email2trac.conf
     48dnl This ugly kludge to get the sysconfdir path is needed because
     49dnl autoconf doesn't actually set the prefix variable until later.
     50if 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
     56else
     57  email2trac_conf="$sysconfdir/email2trac.conf"
     58fi
     59AC_DEFINE_UNQUOTED(SYSTEM_EMAIL2TRAC_CONF, "$email2trac_conf",
     60                   [Full path for the system-wide email2trac.conf file.])
     61
     62AC_SUBST(email2trac_conf)
     63AC_SUBST(SYSTEM_EMAIL2TRAC_CONF)
     64
     65
    3566AC_OUTPUT(
    3667        Makefile
Note: See TracChangeset for help on using the changeset viewer.