[81171] trunk/base
afb at macports.org
afb at macports.org
Tue Jul 26 03:51:13 PDT 2011
Revision: 81171
http://trac.macports.org/changeset/81171
Author: afb at macports.org
Date: 2011-07-26 03:51:10 -0700 (Tue, 26 Jul 2011)
Log Message:
-----------
add lzma_path and xz_path to configure
Modified Paths:
--------------
trunk/base/configure
trunk/base/configure.ac
trunk/base/src/port1.0/port_autoconf.tcl.in
Modified: trunk/base/configure
===================================================================
--- trunk/base/configure 2011-07-26 09:20:16 UTC (rev 81170)
+++ trunk/base/configure 2011-07-26 10:51:10 UTC (rev 81171)
@@ -683,6 +683,8 @@
PAX
MKBOM
LSBOM
+XZ
+LZMA
BZIP2
GNUPATCH
GNUMAKE
@@ -837,6 +839,8 @@
BSDMAKE
GNUMAKE
BZIP2
+LZMA
+XZ
XAR
OPEN
OBJCPP
@@ -1521,6 +1525,8 @@
BSDMAKE path to bsdmake/pmake command
GNUMAKE path to gnumake command
BZIP2 path to bzip2 command
+ LZMA path to lzma command
+ XZ path to xz command
XAR path to xar command
OPEN path to open command
OBJCPP Objective C preprocessor
@@ -5497,6 +5503,86 @@
fi
+# Extract the first word of "lzma", so it can be a program name with args.
+set dummy lzma; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_LZMA+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $LZMA in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_LZMA="$LZMA" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_LZMA="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+LZMA=$ac_cv_path_LZMA
+if test -n "$LZMA"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LZMA" >&5
+$as_echo "$LZMA" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "xz", so it can be a program name with args.
+set dummy xz; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_XZ+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $XZ in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_XZ="$XZ" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ ac_cv_path_XZ="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+XZ=$ac_cv_path_XZ
+if test -n "$XZ"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
+$as_echo "$XZ" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
# Extract the first word of "lsbom", so it can be a program name with args.
set dummy lsbom; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
@@ -5715,6 +5801,8 @@
+
+
# Extract the first word of "sed", so it can be a program name with args.
set dummy sed; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac 2011-07-26 09:20:16 UTC (rev 81170)
+++ trunk/base/configure.ac 2011-07-26 10:51:10 UTC (rev 81171)
@@ -119,6 +119,8 @@
AC_PATH_PROGS(GNUMAKE, [gnumake gmake], [], [$PATH:/usr/local/bin])
AC_PATH_PROGS(GNUPATCH, [gnupatch gpatch], [], [$PATH:/usr/local/bin])
AC_PATH_PROG(BZIP2, [bzip2], [])
+AC_PATH_PROG(LZMA, [lzma], [])
+AC_PATH_PROG(XZ, [xz], [])
AC_PATH_PROG(LSBOM, [lsbom], [])
AC_PATH_PROG(MKBOM, [mkbom], [])
AC_PATH_PROG(PAX, [pax], [])
@@ -138,6 +140,8 @@
AC_ARG_VAR(BSDMAKE, [path to bsdmake/pmake command])
AC_ARG_VAR(GNUMAKE, [path to gnumake command])
AC_ARG_VAR(BZIP2, [path to bzip2 command])
+AC_ARG_VAR(LZMA, [path to lzma command])
+AC_ARG_VAR(XZ, [path to xz command])
AC_ARG_VAR(XAR, [path to xar command])
AC_ARG_VAR(OPEN, [path to open command])
Modified: trunk/base/src/port1.0/port_autoconf.tcl.in
===================================================================
--- trunk/base/src/port1.0/port_autoconf.tcl.in 2011-07-26 09:20:16 UTC (rev 81170)
+++ trunk/base/src/port1.0/port_autoconf.tcl.in 2011-07-26 10:51:10 UTC (rev 81171)
@@ -33,6 +33,8 @@
namespace eval portutil::autoconf {
variable bzip2_path "@BZIP2@"
+ variable lzma_path "@LZMA@"
+ variable xz_path "@XZ@"
variable cp_path "@CP@"
variable cpio_path "@CPIO@"
variable diff_path "@DIFF@"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110726/4ce3027e/attachment.html>
More information about the macports-changes
mailing list