New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81171


Ignore:
Timestamp:
07/26/11 03:51:10 (4 years ago)
Author:
afb@…
Message:

add lzma_path and xz_path to configure

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r81119 r81171  
    684684MKBOM 
    685685LSBOM 
     686XZ 
     687LZMA 
    686688BZIP2 
    687689GNUPATCH 
     
    838840GNUMAKE 
    839841BZIP2 
     842LZMA 
     843XZ 
    840844XAR 
    841845OPEN 
     
    15221526  GNUMAKE     path to gnumake command 
    15231527  BZIP2       path to bzip2 command 
     1528  LZMA        path to lzma command 
     1529  XZ          path to xz command 
    15241530  XAR         path to xar command 
    15251531  OPEN        path to open command 
     
    54985504 
    54995505 
     5506# Extract the first word of "lzma", so it can be a program name with args. 
     5507set dummy lzma; ac_word=$2 
     5508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     5509$as_echo_n "checking for $ac_word... " >&6; } 
     5510if ${ac_cv_path_LZMA+:} false; then : 
     5511  $as_echo_n "(cached) " >&6 
     5512else 
     5513  case $LZMA in 
     5514  [\\/]* | ?:[\\/]*) 
     5515  ac_cv_path_LZMA="$LZMA" # Let the user override the test with a path. 
     5516  ;; 
     5517  *) 
     5518  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     5519for as_dir in $PATH 
     5520do 
     5521  IFS=$as_save_IFS 
     5522  test -z "$as_dir" && as_dir=. 
     5523    for ac_exec_ext in '' $ac_executable_extensions; do 
     5524  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     5525    ac_cv_path_LZMA="$as_dir/$ac_word$ac_exec_ext" 
     5526    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     5527    break 2 
     5528  fi 
     5529done 
     5530  done 
     5531IFS=$as_save_IFS 
     5532 
     5533  ;; 
     5534esac 
     5535fi 
     5536LZMA=$ac_cv_path_LZMA 
     5537if test -n "$LZMA"; then 
     5538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5 
     5539$as_echo "$LZMA" >&6; } 
     5540else 
     5541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5542$as_echo "no" >&6; } 
     5543fi 
     5544 
     5545 
     5546# Extract the first word of "xz", so it can be a program name with args. 
     5547set dummy xz; ac_word=$2 
     5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 
     5549$as_echo_n "checking for $ac_word... " >&6; } 
     5550if ${ac_cv_path_XZ+:} false; then : 
     5551  $as_echo_n "(cached) " >&6 
     5552else 
     5553  case $XZ in 
     5554  [\\/]* | ?:[\\/]*) 
     5555  ac_cv_path_XZ="$XZ" # Let the user override the test with a path. 
     5556  ;; 
     5557  *) 
     5558  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     5559for as_dir in $PATH 
     5560do 
     5561  IFS=$as_save_IFS 
     5562  test -z "$as_dir" && as_dir=. 
     5563    for ac_exec_ext in '' $ac_executable_extensions; do 
     5564  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 
     5565    ac_cv_path_XZ="$as_dir/$ac_word$ac_exec_ext" 
     5566    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 
     5567    break 2 
     5568  fi 
     5569done 
     5570  done 
     5571IFS=$as_save_IFS 
     5572 
     5573  ;; 
     5574esac 
     5575fi 
     5576XZ=$ac_cv_path_XZ 
     5577if test -n "$XZ"; then 
     5578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5 
     5579$as_echo "$XZ" >&6; } 
     5580else 
     5581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 
     5582$as_echo "no" >&6; } 
     5583fi 
     5584 
     5585 
    55005586# Extract the first word of "lsbom", so it can be a program name with args. 
    55015587set dummy lsbom; ac_word=$2 
     
    57005786 
    57015787# Define some precious variables allowing user to override PATH for some programs 
     5788 
     5789 
    57025790 
    57035791 
  • trunk/base/configure.ac

    r81119 r81171  
    120120AC_PATH_PROGS(GNUPATCH, [gnupatch gpatch], [], [$PATH:/usr/local/bin]) 
    121121AC_PATH_PROG(BZIP2, [bzip2], []) 
     122AC_PATH_PROG(LZMA, [lzma], []) 
     123AC_PATH_PROG(XZ, [xz], []) 
    122124AC_PATH_PROG(LSBOM, [lsbom], []) 
    123125AC_PATH_PROG(MKBOM, [mkbom], []) 
     
    139141AC_ARG_VAR(GNUMAKE, [path to gnumake command]) 
    140142AC_ARG_VAR(BZIP2, [path to bzip2 command]) 
     143AC_ARG_VAR(LZMA, [path to lzma command]) 
     144AC_ARG_VAR(XZ, [path to xz command]) 
    141145AC_ARG_VAR(XAR, [path to xar command]) 
    142146AC_ARG_VAR(OPEN, [path to open command]) 
  • trunk/base/src/port1.0/port_autoconf.tcl.in

    r79593 r81171  
    3434namespace eval portutil::autoconf { 
    3535        variable bzip2_path "@BZIP2@" 
     36        variable lzma_path "@LZMA@" 
     37        variable xz_path "@XZ@" 
    3638        variable cp_path "@CP@" 
    3739        variable cpio_path "@CPIO@" 
Note: See TracChangeset for help on using the changeset viewer.