autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #9926] AC_PROG_CC_FOR_BUILD: "test: =: unary operator expected"


From: anonymous
Subject: [patch #9926] AC_PROG_CC_FOR_BUILD: "test: =: unary operator expected"
Date: Wed, 22 Apr 2020 18:42:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0

URL:
  <https://savannah.gnu.org/patch/?9926>

                 Summary: AC_PROG_CC_FOR_BUILD: "test: =: unary operator
expected"
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Wed 22 Apr 2020 10:42:10 PM UTC
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

It seems that since commit 3715541f5605c821d992645cdf981331e05c5980, using
AC_PROG_CC_FOR_BUILD results in "test: =: unary operator expected" syntax
error in output of configure.


$ cat configure.ac
AC_INIT
AC_CONFIG_MACRO_DIR([m4])
AC_PROG_CC_FOR_BUILD
AC_OUTPUT
$ autoreconf
$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
./configure: line 3129: test: =: unary operator expected
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
configure: creating ./config.status





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9926>

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




reply via email to

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