CelestiaProject / Celestia

Real-time 3D visualization of space.
https://celestiaproject.space
GNU General Public License v2.0
1.82k stars 307 forks source link

Fix build issues arising from syntax error in acinclude.m4 #2173

Closed afontenot closed 5 months ago

afontenot commented 5 months ago

The acinclude.m4 file places the closing fi in the wrong location, resulting in builds on some systems failing, e.g. Arch Linux: https://aur.archlinux.org/packages/celestia

The fi belongs where it is placed by this commit because there is no if inside the AC_CACHE_VAL. Rather, the statement is intended to close the conditional if test -n "$LIBJPEG".

375gnu commented 5 months ago

M4 is nightmare ) thanks