Opened 9 years ago

Closed 9 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:


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 should be changed to:

if [ -x "$SFCGAL_CONFIG" ] && [ -f "$SFCGAL_CONFIG" ]; then

Change History (2)

comment:1 by giohappy, 9 years ago

And probably add a check on SFCGAL_VERSION value to be a valid result…

comment:2 by vmo, 9 years ago

Resolution: duplicate
Status: newclosed

Duplicates #2784

Note: See TracTickets for help on using tickets.