pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
To: Алексей Лутовинин <al@mnppsaturn.ru>
To: pgsql-odbc@postgresql.org
Subject: Re: non-unicode compiling bug
Date: Mon, 14 May 2007 03:20:17 +0900
Message-ID: <026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244> (raw)
References: <46472504.6080100@mnppsaturn.ru>

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

view thread (2+ messages)

Message-ID: <026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244>
Permalink:  ../026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244/
Also on:    postgresql.org/message-id/026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: z-saito@guitar.ocn.ne.jp, al@mnppsaturn.ru
  Subject: Re: non-unicode compiling bug
  In-Reply-To: <026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244>
  References: <46472504.6080100@mnppsaturn.ru> <026e01c7958b$5c4f1d70$0c01a8c0@hiroshi6e67244>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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