pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Unicode support on Linux? 3+ messages / 1 participants [nested] [flat]
* Unicode support on Linux? @ 2004-01-30 17:16 Jon Willeke <willeke@users.sourceforge.net> 2004-01-30 20:42 ` Re: Unicode support on Linux? Jon Willeke <willeke@users.sourceforge.net> 2004-01-30 21:08 ` Re: Unicode support on Linux? Jon Willeke <willeke@users.sourceforge.net> 0 siblings, 2 replies; 3+ messages in thread From: Jon Willeke @ 2004-01-30 17:16 UTC (permalink / raw) To: pgsql-odbc I'm using psqlodbc 07.03.0200 on SuSE Linux 8.2. Is it possible to build the driver with Unicode support on Linux? The wide APIs aren't included in the source distribution. I got the full source from CVS, but I'm not sure how to build it. Other packages I've built from CVS include an autogen.sh script that generates a configure script. ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Unicode support on Linux? 2004-01-30 17:16 Unicode support on Linux? Jon Willeke <willeke@users.sourceforge.net> @ 2004-01-30 20:42 ` Jon Willeke <willeke@users.sourceforge.net> 1 sibling, 0 replies; 3+ messages in thread From: Jon Willeke @ 2004-01-30 20:42 UTC (permalink / raw) To: pgsql-odbc I'm using libtool 1.4.3, autoconf 2.57, and automake 1.7.6 on SuSE Linux. I was able to build from CVS after modifying configure.ac (patch attached). At 1/30/2004, Jon Willeke wrote: >I got the full source from CVS, but I'm not sure how to build it. Other >packages I've built from CVS include an autogen.sh script that generates a >configure script. Attachments:^ permalink raw reply [nested|flat] 3+ messages in threadpsqlodbc-07.03.0205-ac.patch (text/plain, 2.9K) download
Index: configure.ac =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/configure.ac,v retrieving revision 1.10 diff -p -u -r1.10 configure.ac --- configure.ac 6 Jan 2004 09:58:19 -0000 1.10 +++ configure.ac 30 Jan 2004 20:26:25 -0000 @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(psqlodbc, 07.03.0205, [pgsql-odbc@postgresql.org]) +AC_INIT(psqlodbc.c) AC_PREREQ(2.52) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE(psqlodbc, 07.03.0205) AC_CONFIG_SRCDIR([bind.c]) AM_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE @@ -10,12 +10,12 @@ AM_MAINTAINER_MODE AC_DEFINE(DRIVER_CURSOR_IMPLEMENT, 1, [Define to 1 to build with driver cursors option)]) -PGAC_ARG_BOOL(with, unixodbc, no, +AC_ARG_WITH(unixodbc, [ --with-unixodbc build ODBC driver for unixODBC], [AC_DEFINE(WITH_UNIXODBC, 1, [Define to 1 to build with unixODBC support (--with-unixodbc)])]) -PGAC_ARG_BOOL(with, iodbc, no, +AC_ARG_WITH(iodbc, [ --with-iodbc build ODBC driver for iODBC], [AC_DEFINE(WITH_IODBC, 1, [Define to 1 to build with iODBC support (--with-iodbc)])]) @@ -28,20 +28,20 @@ fi # Default odbc version number (--with-odbcver), default 0x0300 # AC_MSG_CHECKING([for ODBC version number]) -PGAC_ARG_REQ(with, odbcver, [ --with-odbcver=VERSION change default ODBC version number +AC_ARG_WITH(odbcver, [ --with-odbcver=VERSION change default ODBC version number [0x0300]], [AC_DEFINE_UNQUOTED(ODBCVER, ${withval}, [Define to ODBC version (--with-odbcver)])]) AC_MSG_RESULT([$with_odbcver]) -AM_CONDITIONAL(with_unixodbc, [test $with_unixodbc = yes]) -AM_CONDITIONAL(with_iodbc, [test $with_iodbc = yes]) +AM_CONDITIONAL(with_unixodbc, [test x"$with_unixodbc-no" = xno]) +AM_CONDITIONAL(with_iodbc, [test x"$with_iodbc-no" != xno]) AC_CHECK_FUNCS(strtoul strtoll) AC_CHECK_LIB(socket, socket) # to implement the thread-safe driver -PGAC_ARG_BOOL(enable, pthreads, no, +AC_ARG_ENABLE(pthreads, [ --enable-pthreads build pthread implementation if possible], [AC_DEFINE(POSIX_MULTITHREAD_SUPPORT, 1, [Define to 1 to build with pthreads support (--enable-pthreads)]) @@ -71,7 +71,7 @@ PGAC_ARG_BOOL(enable, pthreads, no, # Allow for overriding the default location of the odbcinst.ini # file which is normally ${sysconfdir} (i.e., ${prefix}/etc). -PGAC_ARG_REQ(with, odbcinst, +AC_ARG_WITH(odbcinst, [ --with-odbcinst=DIR default directory for odbcinst.ini [sysconfdir]], [odbcinst_ini_dir=$withval], [odbcinst_ini_dir="\${sysconfdir}"]) @@ -87,7 +87,7 @@ AC_PROG_LIBTOOL AC_CHECK_HEADERS([locale.h]) AC_CHECK_HEADERS([sys/un.h]) AC_CHECK_TYPES(uint8) -PGAC_VAR_INT_TIMEZONE +AC_STRUCT_TIMEZONE AC_C_CONST AC_TYPE_SIZE_T
* Re: Unicode support on Linux? 2004-01-30 17:16 Unicode support on Linux? Jon Willeke <willeke@users.sourceforge.net> @ 2004-01-30 21:08 ` Jon Willeke <willeke@users.sourceforge.net> 1 sibling, 0 replies; 3+ messages in thread From: Jon Willeke @ 2004-01-30 21:08 UTC (permalink / raw) To: pgsql-odbc Sorry, the patch had a typo. At 1/30/2004, Jon Willeke wrote: >I'm using libtool 1.4.3, autoconf 2.57, and automake 1.7.6 on SuSE >Linux. I was able to build from CVS after modifying configure.ac (patch >attached). Attachments:^ permalink raw reply [nested|flat] 3+ messages in threadpsqlodbc-07.03.0205-ac.patch (text/plain, 2.9K) download
Index: configure.ac =================================================================== RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/configure.ac,v retrieving revision 1.10 diff -p -u -r1.10 configure.ac --- configure.ac 6 Jan 2004 09:58:19 -0000 1.10 +++ configure.ac 30 Jan 2004 21:04:31 -0000 @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(psqlodbc, 07.03.0205, [pgsql-odbc@postgresql.org]) +AC_INIT(psqlodbc.c) AC_PREREQ(2.52) -AM_INIT_AUTOMAKE +AM_INIT_AUTOMAKE(psqlodbc, 07.03.0205) AC_CONFIG_SRCDIR([bind.c]) AM_CONFIG_HEADER([config.h]) AM_MAINTAINER_MODE @@ -10,12 +10,12 @@ AM_MAINTAINER_MODE AC_DEFINE(DRIVER_CURSOR_IMPLEMENT, 1, [Define to 1 to build with driver cursors option)]) -PGAC_ARG_BOOL(with, unixodbc, no, +AC_ARG_WITH(unixodbc, [ --with-unixodbc build ODBC driver for unixODBC], [AC_DEFINE(WITH_UNIXODBC, 1, [Define to 1 to build with unixODBC support (--with-unixodbc)])]) -PGAC_ARG_BOOL(with, iodbc, no, +AC_ARG_WITH(iodbc, [ --with-iodbc build ODBC driver for iODBC], [AC_DEFINE(WITH_IODBC, 1, [Define to 1 to build with iODBC support (--with-iodbc)])]) @@ -28,20 +28,20 @@ fi # Default odbc version number (--with-odbcver), default 0x0300 # AC_MSG_CHECKING([for ODBC version number]) -PGAC_ARG_REQ(with, odbcver, [ --with-odbcver=VERSION change default ODBC version number +AC_ARG_WITH(odbcver, [ --with-odbcver=VERSION change default ODBC version number [0x0300]], [AC_DEFINE_UNQUOTED(ODBCVER, ${withval}, [Define to ODBC version (--with-odbcver)])]) AC_MSG_RESULT([$with_odbcver]) -AM_CONDITIONAL(with_unixodbc, [test $with_unixodbc = yes]) -AM_CONDITIONAL(with_iodbc, [test $with_iodbc = yes]) +AM_CONDITIONAL(with_unixodbc, [test x"$with_unixodbc-no" != xno]) +AM_CONDITIONAL(with_iodbc, [test x"$with_iodbc-no" != xno]) AC_CHECK_FUNCS(strtoul strtoll) AC_CHECK_LIB(socket, socket) # to implement the thread-safe driver -PGAC_ARG_BOOL(enable, pthreads, no, +AC_ARG_ENABLE(pthreads, [ --enable-pthreads build pthread implementation if possible], [AC_DEFINE(POSIX_MULTITHREAD_SUPPORT, 1, [Define to 1 to build with pthreads support (--enable-pthreads)]) @@ -71,7 +71,7 @@ PGAC_ARG_BOOL(enable, pthreads, no, # Allow for overriding the default location of the odbcinst.ini # file which is normally ${sysconfdir} (i.e., ${prefix}/etc). -PGAC_ARG_REQ(with, odbcinst, +AC_ARG_WITH(odbcinst, [ --with-odbcinst=DIR default directory for odbcinst.ini [sysconfdir]], [odbcinst_ini_dir=$withval], [odbcinst_ini_dir="\${sysconfdir}"]) @@ -87,7 +87,7 @@ AC_PROG_LIBTOOL AC_CHECK_HEADERS([locale.h]) AC_CHECK_HEADERS([sys/un.h]) AC_CHECK_TYPES(uint8) -PGAC_VAR_INT_TIMEZONE +AC_STRUCT_TIMEZONE AC_C_CONST AC_TYPE_SIZE_T
end of thread, other threads:[~2004-01-30 21:08 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2004-01-30 17:16 Unicode support on Linux? Jon Willeke <willeke@users.sourceforge.net> 2004-01-30 20:42 ` Jon Willeke <willeke@users.sourceforge.net> 2004-01-30 21:08 ` Jon Willeke <willeke@users.sourceforge.net>
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