PATH setting mistake of else.
authorHiroshi Saito <hiroshi@winpg.jp>
Thu, 26 Apr 2007 13:59:06 +0000 (13:59 +0000)
committerHiroshi Saito <hiroshi@winpg.jp>
Thu, 26 Apr 2007 13:59:06 +0000 (13:59 +0000)
configure.ac

index 9be7900e30af4a23d908f926e5542ffd71933742..c79256b3b04f75efc12f50aa715b4acb175d3448 100644 (file)
@@ -261,8 +261,8 @@ AC_ARG_WITH(pgconf,
    fi],[PG_CONFIG="pg_config"])
 
 # get the full path
-AC_PATH_PROGS(PG_CONFIG_PATH, ${PG_CONFIG})
-AC_MSG_CHECKING(${PG_CONFIG_PATH})
+AC_PATH_PROGS(PG_CONFIG_PATH, ${PG_CONFIG},${PG_CONFIG})
+#AC_MSG_CHECKING(${PG_CONFIG_PATH})
 
 if test ! -f "${PG_CONFIG_PATH}" ;then
    AC_MSG_ERROR([you must specify a valid pg_config of PostgreSQL installation with --with-pgconf=pg_config])