changeset 11632:2d1db11b1470 octave-forge

Corrected configure check for pg_config.
author i7tiol
date Tue, 16 Apr 2013 15:32:11 +0000
parents 7f910799533a
children 5d87258abc1a
files main/database/src/configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/database/src/configure.ac	Tue Apr 16 15:05:41 2013 +0000
+++ b/main/database/src/configure.ac	Tue Apr 16 15:32:11 2013 +0000
@@ -10,7 +10,7 @@
 AC_CHECK_PROG(OCTAVE, octave, octave)
 AC_CHECK_PROG(MKOCTFILE, mkoctfile, mkoctfile)
 AC_CHECK_PROG(PG_CONFIG, pg_config, pg_config)
-if test "x$PG_CONFIG" != "xpg_config"; then exit 1; fi
+if test -z "$PG_CONFIG"; then exit 1; fi
 
 # Checks for libraries.
 AC_CHECK_LIB([pq], [PQconnectdb])