Skip to content

Avoid unportable `==' test(1) operator in configure.ac - #3709

Closed
iamleot wants to merge 1 commit into
curl:masterfrom
iamleot:configure-test-portability
Closed

Avoid unportable `==' test(1) operator in configure.ac#3709
iamleot wants to merge 1 commit into
curl:masterfrom
iamleot:configure-test-portability

Conversation

@iamleot

@iamleot iamleot commented Mar 27, 2019

Copy link
Copy Markdown
Contributor

When updating www/curl package in pkgsrc the pkgsrc checks spotted
the non-portable == operator (= can be used instead).

@bagder

bagder commented Mar 27, 2019

Copy link
Copy Markdown
Member

Oops, how silly. How did you catch this? Thinking what we should do to catch the next mistake like this...

@bagder bagder added the build label Mar 27, 2019
@iamleot

iamleot commented Mar 27, 2019 via email

Copy link
Copy Markdown
Contributor Author

@dfandrich

dfandrich commented Mar 27, 2019 via email

Copy link
Copy Markdown
Contributor

@bagder

bagder commented Mar 27, 2019

Copy link
Copy Markdown
Member

I tried checkbashisms (from the Debian devscripts package, version 2.19.4) but when I run it against configure (with the bashism @iamleot reported still present) it finds nothing to report. If I run it against configure.ac instead it finds it, but it then also complains on a lot of other things that seem to be because it isn't actually a shell script...

@bagder

bagder commented Mar 27, 2019

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 8759e33 Mar 27, 2019
@michael-o

Copy link
Copy Markdown
Contributor

Had the same issue on HP-UX:

checking whether to enable Amiga native SSL/TLS (AmiSSL)... ./configure[22255]: ==: A test command parameter is not valid.

@bagder

bagder commented May 27, 2019

Copy link
Copy Markdown
Member

@michael-o in 7.65.0 ?

@michael-o

Copy link
Copy Markdown
Contributor

@bagder No, just tried 7.65.0 and it is fine now.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

4 participants