motion: fix postgresql support
commit1092c8f612229aeca7ef7453debdb0e7b501004b
authorPeter Seiderer <ps.report@gmx.net>
Mon, 17 Oct 2016 20:01:28 +0000 (17 22:01 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 19 Oct 2016 21:36:48 +0000 (19 23:36 +0200)
tree513c2724bf107cba11f732c05f91a103de78cb2c
parentb905df0df790ddf462e25bede08da84e048a28e1
motion: fix postgresql support

The commandline paramter to enable/disable postgresql support is
called '--with-pgsql/--without-pgsql' and not '--with-postgresql/
--without-postgresql'.

Fixes [1] in case postgresql development files are installed on the host:

  checking for PostgreSQL... testing
  checking autodect pgsql headers... yes /usr/include/postgresql
  checking autodect pgsql libs... /usr/lib64
  checking for PQconnectStart in -lpq... no
  configure: error: PostgreSQL support can't build without PostgreSQL libraries

[1] http://autobuild.buildroot.net/results/749/7497730da2affffe0e5b9b790081de10c269f416

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/motion/motion.mk