On 2026-04-12 10:15, Dennis Clarke wrote:

Sadly I can not find a line that looks exactly like that.

OK, then please try the attached patch against grep-3.12's configure.


There is nothing of interest in the config.log.

Oh, sorry, the debug output is sent not to config.log, but to stderr when you run './configure'. Here's the part of that output that I see, when I used the attached patch and build on Ubuntu 25.10. What do you see?

...
checking how to run the C preprocessor... gcc -E
+ printf '%s\n' 'configure:8136: checking for egrep -e'
+ printf %s 'checking for egrep -e... '
checking for egrep -e... + test
+ case e in
+ test -z ''
+ ac_path_EGREP_TRADITIONAL_found=false
+ as_save_IFS='         
'
+ IFS=:
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/home/eggert/bin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/home/eggert/bin/grep
+ as_fn_executable_p /home/eggert/bin/grep
+ test -f /home/eggert/bin/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/home/eggert/bin/ggrep
+ as_fn_executable_p /home/eggert/bin/ggrep
+ test -f /home/eggert/bin/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/usr/games/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/games/grep
+ as_fn_executable_p /usr/games/grep
+ test -f /usr/games/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/games/ggrep
+ as_fn_executable_p /usr/games/ggrep
+ test -f /usr/games/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/usr/local/games/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/games/grep
+ as_fn_executable_p /usr/local/games/grep
+ test -f /usr/local/games/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/games/ggrep
+ as_fn_executable_p /usr/local/games/ggrep
+ test -f /usr/local/games/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/snap/bin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/snap/bin/grep
+ as_fn_executable_p /snap/bin/grep
+ test -f /snap/bin/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/snap/bin/ggrep
+ as_fn_executable_p /snap/bin/ggrep
+ test -f /snap/bin/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/snap/bin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/snap/bin/grep
+ as_fn_executable_p /snap/bin/grep
+ test -f /snap/bin/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/snap/bin/ggrep
+ as_fn_executable_p /snap/bin/ggrep
+ test -f /snap/bin/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/usr/local/bin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/bin/grep
+ as_fn_executable_p /usr/local/bin/grep
+ test -f /usr/local/bin/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/bin/ggrep
+ as_fn_executable_p /usr/local/bin/ggrep
+ test -f /usr/local/bin/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/usr/local/sbin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/sbin/grep
+ as_fn_executable_p /usr/local/sbin/grep
+ test -f /usr/local/sbin/grep
+ continue
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/local/sbin/ggrep
+ as_fn_executable_p /usr/local/sbin/ggrep
+ test -f /usr/local/sbin/ggrep
+ continue
+ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
+ IFS='         
'
+ case $as_dir in
+ as_dir=/usr/bin/
+ for ac_prog in grep ggrep
+ for ac_exec_ext in '' $ac_executable_extensions
+ ac_path_EGREP_TRADITIONAL=/usr/bin/grep
+ as_fn_executable_p /usr/bin/grep
+ test -f /usr/bin/grep
+ test -x /usr/bin/grep
+ case `"$ac_path_EGREP_TRADITIONAL" --version 2>&1` in
++ /usr/bin/grep --version
+ ac_cv_path_EGREP_TRADITIONAL=/usr/bin/grep
+ ac_path_EGREP_TRADITIONAL_found=:
+ :
+ break 3
+ IFS='         
'
+ test -z /usr/bin/grep
+ test /usr/bin/grep
+ :
+ ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E'
+ printf '%s\n' 'configure:8266: result: /usr/bin/grep -E'
+ printf '%s\n' '/usr/bin/grep -E'
/usr/bin/grep -E
+ EGREP_TRADITIONAL='/usr/bin/grep -E'
+ set +x
checking for Minix Amsterdam compiler... no
...
diff -ru grep-3.12/configure grep-3.12a/configure
--- grep-3.12/configure	2025-04-10 09:02:07.000000000 -0700
+++ grep-3.12a/configure	2026-04-12 10:20:30.446800680 -0700
@@ -8132,6 +8132,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+set -x
 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: checking for egrep -e" >&5
 printf %s "checking for egrep -e... " >&6; }
 if test ${ac_cv_path_EGREP_TRADITIONAL+y}
@@ -8265,6 +8266,7 @@
 { printf '%s\n' "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP_TRADITIONAL" >&5
 printf '%s\n' "$ac_cv_path_EGREP_TRADITIONAL" >&6; }
  EGREP_TRADITIONAL=$ac_cv_path_EGREP_TRADITIONAL
+set +x
 
 
 
@@ -63016,5 +63018,3 @@
   { printf '%s\n' "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 printf '%s\n' "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
-
-
Only in grep-3.12a: configure~

Reply via email to