File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -664,12 +664,12 @@ dnl ===========================================================================
664664AC_ARG_WITH ( [ sfcgal] ,
665665[ AS_HELP_STRING ( [ --with-sfcgal=PATH] , [ Add SFCGAL support. ARG allows to specify an alternate PATH to sfcgal-config] ) ] ,
666666[ SFCGAL_CONFIG="$withval"] ,
667- [ with_sfcgal=yes ] )
667+ [ with_sfcgal=auto ] )
668668
669669HAVE_SFCGAL="no"
670670
671671if test "x$with_sfcgal" != "xno"; then
672- if test "x$with_sfcgal" = "xyes"; then
672+ if test "x$with_sfcgal" = "xyes" -o "x$with_sfcgal" = "xauto" ; then
673673 AC_PATH_PROG ( [ SFCGAL_CONFIG] , [ sfcgal-config] , [ ] )
674674 fi
675675if test -x "$SFCGAL_CONFIG"; then
@@ -695,7 +695,7 @@ if test "x$with_sfcgal" != "xno"; then
695695fi
696696
697697else
698- if test "x$with_sfcgal" != "x "; then
698+ if test "x$with_sfcgal" != "xauto "; then
699699AC_MSG_ERROR ( [ sfcgal-config cannot be found. Please install sfcgal] )
700700fi
701701fi
You can’t perform that action at this time.
0 commit comments