Opened 11 years ago
Closed 11 years ago
#2785 closed defect (duplicate)
sfcgal-config check should be constrained to accept only file
Reported by: | giohappy | Owned by: | colivier |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | sfcgal | Version: | master |
Keywords: | configure, build | Cc: |
Description
As reported in [1] if sfcgal-config is given a folder path and not a file path, configuration goes on but sets wrong variables for SFCGAL linking.
Probably line 27 of configure.ac should be changed to:
if [ -x "$SFCGAL_CONFIG" ] && [ -f "$SFCGAL_CONFIG" ]; then
Note:
See TracTickets
for help on using tickets.
And probably add a check on SFCGAL_VERSION value to be a valid result…