Ticket #1688 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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/upgrade/install Version: trunk
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

Changed 3 years ago by strk

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

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

Changed 3 years ago by strk

  • status changed from new to closed
  • resolution set to fixed

Fixed in r9503

Note: See TracTickets for help on using tickets.