Changeset 17114 for trunk/base


Ignore:
Timestamp:
Mar 21, 2006, 8:10:18 PM (14 years ago)
Author:
jberry
Message:

Discover path to rsync at autoconf time (not yet looked at by rsync-using code in dp)
Mark CVS, TAR, GNUTAR, and RSYNC as additional precious variables that can be overridden in configure environment at time of configure to customize the location of these tools.
Note that these tools are not found in the dp prefix, as PATH is sanitized of references to prefix. But you could override the precious variables to acheive that if you really want to shoot yourself.

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure.ac

    r15732 r17114  
    1515AC_PROG_LN_S
    1616AC_PATH_PROG(CVS, [cvs], [])
     17AC_PATH_PROG(RSYNC, [rsync], [])
    1718AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
    1819AC_PATH_PROG(LAUNCHCTL, [launchctl], [])
    1920AC_PATH_PROG(XCODEBUILD, [xcodebuild], [])
     21
     22# Define some precious variables allowing user to override PATH for some programs
     23AC_ARG_VAR(CVS, [path to cvs command])
     24AC_ARG_VAR(RSYNC, [path to rsync command])
     25AC_ARG_VAR(TAR, [path to tar command])
     26AC_ARG_VAR(GNUTAR, [path to gnutar command])
    2027
    2128OD_TAR_NO_SAME_OWNER
  • trunk/base/src/port1.0/port_autoconf.tcl.in

    r13738 r17114  
    11# port_autoconf.tcl.in
    2 # $Id: port_autoconf.tcl.in,v 1.7 2005/08/27 00:07:30 pguyot Exp $
     2# $Id: port_autoconf.tcl.in,v 1.8 2006/03/21 20:10:18 jberry Exp $
    33#
    44# Copyright (c) 2002 - 2004 Apple Computer, Inc.
     
    3333namespace eval portutil::autoconf {
    3434        variable cvs_path "@CVS@"
     35        variable rsync_path "@RSYNC@"
    3536        variable tar_command "@TAR_CMD@"
    3637        variable enable_launchd_support "@ENABLE_LAUNCHD_SUPPORT@"
Note: See TracChangeset for help on using the changeset viewer.