Skip to content
New issue

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

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

Already on GitHub? # to your account

fix misplaced "fi"s #193

Merged
merged 1 commit into from
Feb 20, 2024
Merged

fix misplaced "fi"s #193

merged 1 commit into from
Feb 20, 2024

Conversation

sharkcz
Copy link
Contributor

@sharkcz sharkcz commented Feb 20, 2024

When configure.ac is processed with autoconf 2.72, then configure fails with

checking for lua... yes:
    LUA_CCFLAGS=-I/usr/include
    LUA_DIR=/usr
    LUA_LIBS=-L/usr/lib64 -llua -lm -ldl
./configure: line 7936: syntax error near unexpected token `fi'
./configure: line 7936: `      fi'

I believe some of the "fi"s in KSW_HAVE_LUA and KSW_HAVE_LUALIB are not placed correctly, so fix that.

@sharkcz
Copy link
Contributor Author

sharkcz commented Feb 20, 2024

With this fix I am able to build mm3d for Fedora Rawhide with autotools 2.72 and it doesn't break anything for earlier Fedora releases with autoconf 2.71. Lua is found in both cases correctly.

When configure.ac is processed with autoconf 2.72, then configure fails
with

checking for lua... yes:
    LUA_CCFLAGS=-I/usr/include
    LUA_DIR=/usr
    LUA_LIBS=-L/usr/lib64 -llua -lm -ldl
./configure: line 7936: syntax error near unexpected token `fi'
./configure: line 7936: `      fi'

I believe some of the "fi"s in KSW_HAVE_LUA and KSW_HAVE_LUALIB are not
placed correctly, so fix that.
@zturtleman zturtleman merged commit 32ffb6d into clover-moe:master Feb 20, 2024
5 checks passed
@zturtleman
Copy link
Member

Thanks.

(I amended the commit message to add "configure: " prefix.)

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

Successfully merging this pull request may close these issues.

2 participants