[24872] branches/dp2mp-move/base/configure

source_changes at macosforge.org source_changes at macosforge.org
Sun May 6 20:25:59 PDT 2007


Revision: 24872
          http://trac.macosforge.org/projects/macports/changeset/24872
Author:   jmpp at macports.org
Date:     2007-05-06 20:25:59 -0700 (Sun, 06 May 2007)

Log Message:
-----------
Autoreconf for svn path detection.

Modified Paths:
--------------
    branches/dp2mp-move/base/configure

Modified: branches/dp2mp-move/base/configure
===================================================================
--- branches/dp2mp-move/base/configure	2007-05-07 03:17:59 UTC (rev 24871)
+++ branches/dp2mp-move/base/configure	2007-05-07 03:25:59 UTC (rev 24872)
@@ -679,6 +679,7 @@
 LN_S
 MTREE
 CVS
+SVN
 RSYNC
 HAVE_LAUNCHD
 LAUNCHCTL
@@ -755,6 +756,7 @@
 CPPFLAGS
 MTREE
 CVS
+SVN
 RSYNC
 TAR
 GNUTAR
@@ -1372,6 +1374,7 @@
               you have headers in a nonstandard directory <include dir>
   MTREE       path to mtree command
   CVS         path to cvs command
+  SVN         path to svn command
   RSYNC       path to rsync command
   TAR         path to tar command
   GNUTAR      path to gnutar command
@@ -3119,6 +3122,46 @@
 fi
 
 
+# Extract the first word of "svn", so it can be a program name with args.
+set dummy svn; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_path_SVN+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  case $SVN in
+  [\\/]* | ?:[\\/]*)
+  ac_cv_path_SVN="$SVN" # 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_SVN="$as_dir/$ac_word$ac_exec_ext"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
+
+  ;;
+esac
+fi
+SVN=$ac_cv_path_SVN
+if test -n "$SVN"; then
+  { echo "$as_me:$LINENO: result: $SVN" >&5
+echo "${ECHO_T}$SVN" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+
 # Extract the first word of "rsync", so it can be a program name with args.
 set dummy rsync; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -3408,6 +3451,7 @@
 
 
 
+
 	# Extract the first word of "tar", so it can be a program name with args.
 set dummy tar; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
@@ -10221,6 +10265,7 @@
 LN_S!$LN_S$ac_delim
 MTREE!$MTREE$ac_delim
 CVS!$CVS$ac_delim
+SVN!$SVN$ac_delim
 RSYNC!$RSYNC$ac_delim
 HAVE_LAUNCHD!$HAVE_LAUNCHD$ac_delim
 LAUNCHCTL!$LAUNCHCTL$ac_delim
@@ -10254,7 +10299,6 @@
 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
 X_LIBS!$X_LIBS$ac_delim
 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
-TCL_VERSION!$TCL_VERSION$ac_delim
 _ACEOF
 
   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
@@ -10296,6 +10340,7 @@
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   cat >conf$$subs.sed <<_ACEOF
+TCL_VERSION!$TCL_VERSION$ac_delim
 TCL_BIN_DIR!$TCL_BIN_DIR$ac_delim
 TCL_SRC_DIR!$TCL_SRC_DIR$ac_delim
 TCL_LIB_FILE!$TCL_LIB_FILE$ac_delim
@@ -10329,7 +10374,7 @@
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070506/0d49332b/attachment.html


More information about the macports-changes mailing list