On 11/24, Darshit Shah wrote:
Good point. I'll amend this check and add it to bootstrap

Thanking You,
Darshit Shah
Sent from mobile device. Please excuse my brevity
On 24-Nov-2014 7:07 pm, "Giuseppe Scrivano" <[email protected]> wrote:

Darshit Shah <[email protected]> writes:

> Damn.. I didn't think of searching for that.
>
> We should use AC_PROG_LEX

I don't think we should check for it.  As we distribute the .c file with
the tarball, it is not needed for building wget.  It is only needed from
a git checkout, so the place for such a check should be the bootstrap
script (adding a dependency, if missed, in bootstrap.conf).

Regards,
Giuseppe


Here's an updated patch. Now check for flex using bootstrap.

--
Thanking You,
Darshit Shah
From fe0bfb5ee9cb605eaac10b1c818b07450948689a Mon Sep 17 00:00:00 2001
From: Darshit Shah <[email protected]>
Date: Tue, 25 Nov 2014 14:22:40 +0530
Subject: [PATCH] Check for flex when compiling from repository sources

---
 ChangeLog      | 5 +++++
 bootstrap.conf | 1 +
 2 files changed, 6 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index e7dbd6a..03b186e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-25  Darshit Shah  <[email protected]>
+
+	* bootstrap.conf: Add flex as a prerequisite to building Wget from the
+	repository sources
+
 2014-11-22  Darshit Shah  <[email protected]>
 
 	* build-aux/build_info.pl: Include version.h in the final C file generated
diff --git a/bootstrap.conf b/bootstrap.conf
index 71aa913..ee99f86 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -105,4 +105,5 @@ perl       5.5
 rsync      -
 tar        -
 xz         -
+flex       -
 "
-- 
2.1.3

Attachment: pgpfQd3TsiHfa.pgp
Description: PGP signature

Reply via email to