Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#843 closed defect (fixed)

Postgres check is wrng

Reported by: muhoo Owned by:
Priority: major Milestone: 0.7.0
Component: programming Keywords:
Cc: Parent Tickets:

Description

In configure.ac, postgres check is wrong.

This fixes it:

diff --git a/configure.ac b/configure.ac
index e56a55a..098b300 100644
--- a/configure.ac
+++ b/configure.ac
@@ -147,7 +147,7 @@ AC_PROG_INSTALL

# Check for a supported database program
AC_PATH_PROG([SQLITE], [sqlite3])

-AC_PATH_PROG([POSTGRES], [postgres])
+AC_PATH_PROG([POSTGRES], [pg])

AS_IF([test "x$SQLITE" = x -a "x$POSTGRES" = "x"],

[AC_MSG_ERROR([SQLite or PostgreSQL is required])])


Change History (2)

comment:1 by Christopher Allan Webber, 10 years ago

Resolution: fixed
Status: newclosed

Hm, you're right, but pg is not the postgres binary, that's the pagewise browser on my system. But you're right that postgres is wrong... I switched this to psql. Pushed to master. Thanks!

comment:2 by Christopher Allan Webber, 10 years ago

Milestone: 0.7.0
Note: See TracTickets for help on using tickets.