Skip to Content.
Sympa Menu

freetds - RE: [freetds] using default port 4000

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] using default port 4000
  • Date: Thu, 20 Feb 2003 18:25:34 -0500

> -----Original Message-----
> From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
> Sent: February 19, 2003 5:24 AM
> To: 'FreeTDS Development Group'
> Subject: RE: [freetds] using default port 4000
>
> I used also version from date (like 20030219), but has some
> drawback (you
> have to rerun autogen to create another distro).

Maybe not, maybe m4 cleverness will save us. Does this work for you:

Index: configure.in
===================================================================
RCS file: /cvsroot/freetds/freetds/configure.in,v
retrieving revision 1.85
diff -u -u -r1.85 configure.in
--- configure.in 20 Feb 2003 02:46:10 -0000 1.85
+++ configure.in 20 Feb 2003 23:21:09 -0000
@@ -12,7 +12,8 @@
dnl ------------------------------------------------------------
AC_INIT(src/dblib/dblib.c)
AC_PREREQ(2.53)
-AM_INIT_AUTOMAKE(freetds, 0.61)
+define(TDSDATE, esyscmd(echo -n esyscmd(date +"%Y%m%d")))
+AM_INIT_AUTOMAKE(freetds, 0.62.dev.TDSDATE)
AM_CONFIG_HEADER(include/config.h)
AC_PREFIX_DEFAULT(/usr/local)

I'm using the m4 builtin "esyscmd" to get the date in YYYYMMDD format, and
"echo -n" to trim the newline. My configure output:

$ grep 0.62 configure
VERSION=0.62.dev.20030220

You like?

--jkl


The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.





Archive powered by MHonArc 2.6.24.

Top of Page