Changeset 332 for trunk/configure.in


Ignore:
Timestamp:
03/24/10 11:09:47 (12 years ago)
Author:
bas
Message:

Added a new configure option --with-install_user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.in

    r325 r332  
    1212AC_SUBST(trac_user)
    1313AC_SUBST(mta_user)
     14AC_SUBST(install_user)
    1415AC_SUBST(sysconfdir)
    1516
     
    2526AC_SUBST(DEBUG)
    2627
    27 if test "x$INSTALL_USER" = "x";then
    28   INSTALL_USER="root"
    29 fi
    30 AC_SUBST(INSTALL_USER)
     28# What user must be used for installation (default: root)
     29#
     30AC_ARG_WITH(install_user,
     31[
     32  --with-install_user=USER    Specify the name of the user that we must use for installation,
     33                          default=root],
     34
     35  [case "${withval}" in
     36        *) install_user="${withval}" ;;
     37  esac],
     38
     39  [install_user="root"]
     40)dnl           
    3141
    3242# Now a user can specify the TRAC user
Note: See TracChangeset for help on using the changeset viewer.