----- Original Message ----- 
From: "Robert Connolly" <[email protected]>
To: "LFS Developers Mailinglist" <[email protected]>
Sent: Saturday, May 29, 2010 2:27 AM
Subject: Re: fun about re_compile_pattern test result

On Friday May 28 2010 04:46:13 pm Gilles Espinasse wrote:
>> Looking at the difference between diffutils-2.9/3.0 compilation log, I
find
>> this
>>
>> grep re_compile_pattern ./*
>> ./coreutils-8.5:checking for working re_compile_pattern... yes
>> ./diffutils-2.9:checking for working re_compile_pattern... no
>> ./diffutils-3.0:checking for working re_compile_pattern... yes
>> ./findutils-4.4.2:checking for working re_compile_pattern... yes
>> ./findutils-4.4.2:checking for working re_compile_pattern... (cached) yes
>> ./gettext-0.17:checking for working re_compile_pattern... no
>> ./grep-2.6.3:checking for working re_compile_pattern... yes
>> ./m4-1.4.14:checking for working re_compile_pattern... no
>> ./sed-4.2.1:checking for working re_compile_pattern... yes
>> ./tar-1.23:checking for working re_compile_pattern... no
>>
>> More recent and older look to find yes and use glibc version when
>> midle-aged answer no and use gnulib flavor.
>>
>> That's a gnulib change
>>
http://old.nabble.com/-PATCH--ensure-that-the-regexp--b-a--is-diagnosed-as-
>>invalid-td27438813.html
>>
>> Gilles
>
> Try --without-included-regex to use Glibc's regex library.
>
> robert

Thank
Look to work for tar and m4

tar log diff is so.

@@ -24,9 +24,11 @@
 patching file tests/remfiles03.at
 patching file tests/sigpipe.at
 patching file tests/testsuite.at
+# fix a bug in gnulib for regex detection with --without-included-regex
 cd /usr/src/tar-1.23 && ./configure --prefix=/usr \
      --bindir=/bin \
-     --libexecdir=/usr/sbin
+     --libexecdir=/usr/sbin \
+     --without-included-regex
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
@@ -478,11 +480,6 @@
 checking for rawmemchr... yes
 checking whether readlink signature is correct... yes
 checking whether readlink handles trailing slash correctly... yes
-checking for working re_compile_pattern... no
-checking libintl.h usability... yes
-checking libintl.h presence... yes
-checking for libintl.h... yes
-checking whether isblank is declared... yes
 checking for rmdir... yes
 checking whether rmdir works... yes
 checking for rpmatch... yes
@@ -821,7 +818,6 @@
   CC     printf-parse.o
   CC     quote.o
   CC     quotearg.o
-  CC     regex.o
   CC     safe-read.o
   CC     safe-write.o
   CC     same.o

So m4 and tar should use --without-included-regex
But for gettext, in fact I already had --without-included-regex and
configure still use
checking for working re_compile_pattern... no

Gilles

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to