Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configure.ac contains Bash-specific syntax #2604

Closed
0mp opened this issue Dec 28, 2018 · 1 comment
Closed

configure.ac contains Bash-specific syntax #2604

0mp opened this issue Dec 28, 2018 · 1 comment

Comments

@0mp
Copy link
Contributor

0mp commented Dec 28, 2018

I'm trying to port Nix to FreeBSD and I've come across a problem when running ./configure.

It turns out that the configure file that is generated from configure.ac has Bash-specific syntax although the shebang line specifies /bin/sh.

The offending line is here:

declare -a aws_version_tokens=($(printf '#include <aws/core/VersionConfig.h>\nAWS_SDK_VERSION_STRING' | $CPP $CPPFLAGS - | grep -v '^#.*' | sed 's/"//g' | tr '.' ' '))

Is this a bug or the shebang line should refer to Bash (if so then how can I tell autoconf the path to my Bash binary)?

@0mp
Copy link
Contributor Author

0mp commented May 8, 2019

I've found a way around it.

If you'd like to help with porting Nix to FreeBSD then follow this issue first: https://reviews.freebsd.org/D17766

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant