freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "freddy77" <Frediano.Ziglio AT vodafoneomnitel.it>
- To: freetds AT franklin.oit.unc.edu
- Subject: RE: Error compiling
- Date: Thu, 11 Jul 2002 15:47:15 -0400
>
> That won't work today. I decided to leave cvs a little broken, rather than
> adding a file that might not belong there.
>
> My thought was, there are two kinds of developers:
>
> A. CVS users, who need the GNU autotools to generate the configure
> script
> B. Tarball users, who just run ./configure
>
> The question is, should Type A users ;) also be required to have Perl,
> because that's what generates tds_willconvert.h. Or, is it better just to
> put big warnings on tds_willconvert.h that say, "Please Don't Edit Me, edit
> convert.c intead" (in the appropriate Billy Goat Gruff voice).
>
> If the answer is, No Perl Needed (for anyone), I'll check in the file and
> hope no one touches it with vi. As long as everyone plays nice, that's the
> easier route. It's really really easy to edit the "truth table" in
> convert.c and run
>
> As a practical matter, I don't see the file changing very much. Right now,
> it holds what's *supposed* to be convertible, according to Sybase. Once
> Bill is done with TDS convert, Sybase's answer and ours will be the same, so
> there won't be an ongoing need to tweak the file with changing yes/no
> answers.
>
> Hope that makes the implications clearer. :)
>
Perhaps a patch like this is useful:
Index: src/tds/.cvsignore
===================================================================
RCS file: /cvsroot/freetds/freetds/src/tds/.cvsignore,v
retrieving revision 1.3
diff -u -r1.3 .cvsignore
--- src/tds/.cvsignore 21 Nov 2001 04:31:03 -0000 1.3
+++ src/tds/.cvsignore 11 Jul 2002 19:42:42 -0000
@@ -4,3 +4,4 @@
*.lo
*.la
.deps
+tds_willconvert.h
Index: src/tds/Makefile.am
===================================================================
RCS file: /cvsroot/freetds/freetds/src/tds/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- src/tds/Makefile.am 5 Jul 2002 20:23:49 -0000 1.6
+++ src/tds/Makefile.am 11 Jul 2002 19:42:42 -0000
@@ -1,7 +1,15 @@
SUBDIRS = unittests
lib_LTLIBRARIES = libtds.la
-libtds_la_SOURCES = mem.c token.c util.c login.c read.c write.c
convert.c
numeric.c config.c query.c iconv.c locale.c challenge.c threadsafe.c
+libtds_la_SOURCES = mem.c token.c util.c login.c read.c write.c \
+ convert.c numeric.c config.c query.c iconv.c locale.c challenge.c \
+ threadsafe.c tds_willconvert.h
INCLUDES = -I$(top_srcdir)/include
LIBS = @LIBICONV@
libtds_la_LIBADD = $(NETWORK_LIBS)
+
+convert.o: tds_willconvert.h
+convert.lo: tds_willconvert.h
+
+tds_willconvert.h: convert.c
+ perl -x $< > $@
freddy77
-
Error compiling,
ZIGLIO Frediano, 07/11/2002
- <Possible follow-up(s)>
- RE: Error compiling, Lowden, James K, 07/11/2002
- RE: Error compiling, Eric Deutsch, 07/11/2002
- RE: Error compiling, Lowden, James K, 07/11/2002
- RE: Error compiling, freddy77, 07/11/2002
- RE: Error compiling, James K. Lowden, 07/11/2002
- RE: Error compiling, Brian Bruns, 07/11/2002
- RE: Error compiling, Lowden, James K, 07/12/2002
- RE: Error compiling, freddy77, 07/13/2002
Archive powered by MHonArc 2.6.24.