diff mbox

Remove lynx check from configure[.ac]. It's no longer used.

Message ID 1380901278-26237-1-git-send-email-ryan.arnold@linaro.org
State New
Headers show

Commit Message

Ryan S. Arnold Oct. 4, 2013, 3:41 p.m. UTC
From: "Ryan S. Arnold" <ryan.arnold@linaro.org>

Lynx is no longer needed in cbuildv2.  This patch removes it from configure.ac and regenerates configure.

Ryan S. Arnold

---
 configure     | 46 ----------------------------------------------
 configure.ac  |  5 -----
 lib/common.sh |  1 -
 3 files changed, 52 deletions(-)

Comments

Rob Savoye Oct. 4, 2013, 3:53 p.m. UTC | #1
On 10/04/2013 09:41 AM, Ryan S. Arnold wrote:
> "Ryan S. Arnold" <ryan.arnold@linaro.org>
  Applied and pushed to repo.

    - rob -
diff mbox

Patch

diff --git a/configure b/configure
index 33422f9..2c8d95c 100755
--- a/configure
+++ b/configure
@@ -606,7 +606,6 @@  LOCAL_SNAPSHOTS
 SYSROOTS
 CBUILD_TOP
 BUILDDATE
-LYNX
 AUTOGEN
 BISON
 FLEX
@@ -3565,51 +3564,6 @@  if test x"${AUTOGEN}" = x; then
    as_fn_error $? "You need 'autogen' to run configure properly!" "$LINENO" 5
 fi
 
-# Extract the first word of "lynx", so it can be a program name with args.
-set dummy lynx; 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_LYNX+:} false; then :
-  $as_echo_n "(cached) " >&6
-else
-  case $LYNX in
-  [\\/]* | ?:[\\/]*)
-  ac_cv_path_LYNX="$LYNX" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
-    ac_cv_path_LYNX="$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
-LYNX=$ac_cv_path_LYNX
-if test -n "$LYNX"; then
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LYNX" >&5
-$as_echo "$LYNX" >&6; }
-else
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-if test x"${LYNX}" = x; then
-   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You need 'lsync' to fully run cbuild!" >&5
-$as_echo "$as_me: WARNING: You need 'lsync' to fully run cbuild!" >&2;}
-fi
-
 # Extract the first word of "wget", so it can be a program name with args.
 set dummy wget; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
diff --git a/configure.ac b/configure.ac
index 6108f45..90a8151 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,11 +58,6 @@  if test x"${AUTOGEN}" = x; then
    AC_MSG_ERROR([You need 'autogen' to run configure properly!])
 fi
 
-AC_PATH_PROG(LYNX, lynx)
-if test x"${LYNX}" = x; then
-   AC_MSG_WARN([You need 'lsync' to fully run cbuild!])
-fi
-
 AC_PATH_PROG(WGET, wget)
 if test x"${WGET}" = x; then
    AC_MSG_ERROR([You need 'wget' to run configure properly!])
diff --git a/lib/common.sh b/lib/common.sh
index e30e6a7..41b45e0 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -333,7 +333,6 @@  find_snapshot()
     fi
 
 #    snapshot="`grep $1 ${local_snapshots}/${dir}md5sums | cut -d ' ' -f 3`"
-#    snapshot="`lynx -dump ${remote_snapshots} | egrep -v "\.asc" | cut -d ']' -f 2 | grep "$1" | sed -e 's@.*$1@@' -e 's: .*::'`"
     if test x"${snapshot}" = x; then
 	error "No results for $1!"
 	return 1