/[cvs]/ccvs/configure
ViewVC logotype

Diff of /ccvs/configure

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.406 by dprice, Fri Aug 12 20:58:52 2005 UTC revision 1.407 by dprice, Wed Aug 31 16:53:25 2005 UTC
# Line 961  Optional Features: Line 961  Optional Features:
961                            smaller executable once your scripting hooks have                            smaller executable once your scripting hooks have
962                            been updated to use the new *info format strings                            been updated to use the new *info format strings
963                            (default).                            (default).
964      --enable-config-override
965                              Set to a comma-seperated list of paths to
966                              directories (designated by trailing `/') and files,
967                              specifies the path prefixes (for directories) and
968                              paths to files the CVS server commands will allow
969                              configuration to be read from. Specify
970                              `--enable-config-override=no' to disable config file
971                              overrides completely and
972                              `--enable-config-override=/' or simply
973                              `--enable-config-override' to allow all paths.
974                              (Defaults to `SYSCONFDIR/cvs.conf,SYSCONFDIR/cvs/')
975    
976  Optional Packages:  Optional Packages:
977    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
# Line 40852  cat >>confdefs.h <<\_ACEOF Line 40863  cat >>confdefs.h <<\_ACEOF
40863  _ACEOF  _ACEOF
40864    
40865  fi  fi
40866    
40867    
40868    
40869    
40870    # Check whether --enable-config-override or --disable-config-override was given.
40871    if test "${enable_config_override+set}" = set; then
40872      enableval="$enable_config_override"
40873    
40874    else
40875      # $sysconfdir may still contain variable references.
40876       eval enable_config_override=`echo $sysconfdir/cvs.conf,$sysconfdir/cvs/`
40877    fi;
40878    
40879    if test x"$enable_config_override" = xyes; then
40880      enable_config_override=/
40881    fi
40882    
40883    if test x"$enable_config_override" = xno; then :; else
40884      save_IFS=$IFS
40885      IFS=,
40886      arrayinit=""
40887      for path in $enable_config_override; do
40888        IFS=$save_IFS
40889        case "$path" in
40890          [\\/$]* | ?:[\\/]* )
40891            arrayinit="$arrayinit\"$path\", "
40892            ;;
40893          *)  { { echo "$as_me:$LINENO: error: expected comma separated list of absolute directory
40894                            names for --enable-config-override, or \`no', not:
40895                            \`$enable_config_override' (\`$path' invalid.)" >&5
40896    echo "$as_me: error: expected comma separated list of absolute directory
40897                            names for --enable-config-override, or \`no', not:
40898                            \`$enable_config_override' (\`$path' invalid.)" >&2;}
40899       { (exit 1); exit 1; }; };;
40900        esac
40901      done
40902      arrayinit="${arrayinit}NULL"
40903    
40904    
40905    cat >>confdefs.h <<_ACEOF
40906    #define ALLOW_CONFIG_OVERRIDE $arrayinit
40907    _ACEOF
40908    
40909    fi
40910    
40911    
40912    

Legend:
Removed from v.1.406  
changed lines
  Added in v.1.407

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26