bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110480] Generated configure script has errors


From: anonymous
Subject: [sr #110480] Generated configure script has errors
Date: Mon, 3 May 2021 12:00:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0

URL:
  <https://savannah.gnu.org/support/?110480>

                 Summary: Generated configure script has errors
                 Project: Autoconf
            Submitted by: None
            Submitted on: Mon 03 May 2021 04:00:09 PM UTC
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: skelband@gmail.com
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

A user of the SANE project has an issue with a generated configure script.

A reference to the original conversation is here:

https://gitlab.com/sane-project/backends/-/issues/468

They are running autoconf 2.71. Attached at the above bug report can be found
their generated configure script.

The issue seems to be related to the generation of this segment in a couple of
places which has invalid syntax:


...
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    ''
 as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
...
IFS=$as_save_IFS


In other areas this segment has valid syntax:

...
for as_dir in $PATH
do
  IFS=$as_save_IFS
  case $as_dir in #(((
    '') as_dir=./ ;;
    */) ;;
    *) as_dir=$as_dir/ ;;
  esac
    for ac_exec_ext in '' $ac_executable_extensions; do
  if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    printf "%s\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
    break 2
  fi
done
...


Any hints as to how we can track this down would be appreciated.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?110480>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]