Opened 10 years ago

Closed 10 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

Change History (2)

comment:1 by giohappy, 10 years ago

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

comment:2 by vmo, 10 years ago

Resolution: duplicate
Status: newclosed

Duplicates #2784

Note: See TracTickets for help on using tickets.