pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
non-unicode compiling bug
2+ messages / 2 participants
[nested] [flat]

* non-unicode compiling bug
@ 2007-05-13 14:47  Алексей Лутовинин <al@mnppsaturn.ru>
  0 siblings, 1 reply; 2+ messages in thread

From: Алексей Лутовинин @ 2007-05-13 14:47 UTC (permalink / raw)
  To: pgsql-odbc

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.

With best rgards...
Alex Lutovinin




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: non-unicode compiling bug
@ 2007-05-13 18:20  Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
  parent: Алексей Лутовинин <al@mnppsaturn.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Hiroshi Saito @ 2007-05-13 18:20 UTC (permalink / raw)
  To: Алексей Лутовинин <al@mnppsaturn.ru>; pgsql-odbc

Hi.

From: "Алексей Лутовинин" <al@mnppsaturn.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.

inline patch 1: configure.ac Mon May 14 03:06:57 2007 (+2/-1 lines) download inline-1.patch--- 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 ^ permalink raw reply [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-05-13 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-13 14:47 non-unicode compiling bug Алексей Лутовинин <al@mnppsaturn.ru>
2007-05-13 18:20 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox