From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
---|---|
To: | Алексей Лутовинин <al(at)mnppsaturn(dot)ru>, <pgsql-odbc(at)postgresql(dot)org> |
Subject: | Re: non-unicode compiling bug |
Date: | 2007-05-13 18:20:17 |
Message-ID: | 026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
Hi.
From: "Алексей Лутовинин" <al(at)mnppsaturn(dot)ru>
> Hi!
>
> I can't build non-unicode version of driver psqlodbc (08.02.0400) for linux.
>
> ./configure --with-unixodbc=/usr/local/bin/odbc_config --disable-unicode
> <cut>
> configure: error: conditional "enable_unicode" was never defined.
> Usually this means the macro was only invoked conditionally.
Oops, Sorry...
I did not notice the trouble. AM_CONDITIONAL doesn't accept disable.
Please change as follows.
--- configure.ac.org Mon May 14 02:36:54 2007
+++ configure.ac Mon May 14 03:06:57 2007
@@ -170,8 +170,9 @@
[enable_unicode="$enableval"],
[enable_unicode="yes"])
+AM_CONDITIONAL(enable_unicode, [test x$enable_unicode = xyes])
+
if test $enable_unicode = yes; then
- AM_CONDITIONAL(enable_unicode, [test x$enable_unicode = xyes])
AC_DEFINE(UNICODE_SUPPORT, 1,
[build with Unicode support])
AC_CHECK_FUNCS(iswascii)
P.S)
CVS-HEAD correctly understands it. from peter-san.....
Regards,
Hiroshi Saito
From | Date | Subject | |
---|---|---|---|
Next Message | Алексей Лутовинин | 2007-05-14 14:45:34 | SQLAllocHandle failed |
Previous Message | Алексей Лутовинин | 2007-05-13 14:47:32 | non-unicode compiling bug |