Opened 12 years ago

Closed 12 years ago

#1688 closed defect (fixed)

Passing a bogus value to --with-jsondir=XXX does not make any noise

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.0.0
Component: build Version: master
Keywords: Cc:

Description

Try ./configure —with-jsondir=/tmp

It won't error out. It'll go looking around for your library and if found would tell you json is enabled.

Didn't try not having the library but I suspect it would just tell you json is disabled.

I think it should error out instead, as the user specification must be meaningful.

Change History (2)

comment:1 by strk, 12 years ago

For comparison: ./configure —with-pgconfig=/tmp errors out:

configure: error: the user-specified pg_config file /tmp does not exist

comment:2 by strk, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r9503

Note: See TracTickets for help on using tickets.