Skip to Content.
Sympa Menu

freetds - Re: [freetds] threadsafe

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: jklowden AT schemamania.org
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] threadsafe
  • Date: Tue, 29 Aug 2006 01:00:21 -0400

On Wed, Aug 23, 2006 at 09:59:05PM +0200, Frediano Ziglio wrote:
> I think you are right, if one don't want thread safety we shouldn't
> check for thread-safe functions although nowadays threads are very
> common so I don't suggest the use of this flag.

Hi Freddy,

Common, but not ubiquitous. Someone you know pretty well, someone I know
very well, uses NetBSD 2.0. At the moment I, er, he can't compile because
--disable-threadsafe stumbles. See attached.

The NetBSD kernel has threads, and its userland implement an M-N threading
model, but not every function is available, including some important
*_r functions. I keep tring to compile FreeTDS with threads with each new
version of NetBSD, but so far --disable-threadsafe is my best friend. Or
was. :-(

As a db-lib and Perl programmer, I have no use for threads. (Actually,
I have no use for them at all. I think they're a terrible idea that set
computing back 30 years.) So I'd be really glad to see this option
working again.

Regards,

--jkl


Making all in include
make all-am
echo '#define FREETDS_SYSCONFDIR "/usr/local/etc"' >freetds_sysconfdir.h
Making all in src
Making all in replacements
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
iconv.lo -MD -MP -MF ".deps/iconv.Tpo" -c -o iconv.lo
../../../src/replacements/iconv.c; then mv -f ".deps/iconv.Tpo"
".deps/iconv.Plo"; else rm -f ".deps/iconv.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
iconv.lo -MD -MP -MF .deps/iconv.Tpo -c ../../../src/replacements/iconv.c
-fPIC -DPIC -o .libs/iconv.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
iconv.lo -MD -MP -MF .deps/iconv.Tpo -c ../../../src/replacements/iconv.c -o
iconv.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
gettimeofday.lo -MD -MP -MF ".deps/gettimeofday.Tpo" -c -o gettimeofday.lo
../../../src/replacements/gettimeofday.c; then mv -f
".deps/gettimeofday.Tpo" ".deps/gettimeofday.Plo"; else rm -f
".deps/gettimeofday.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
gettimeofday.lo -MD -MP -MF .deps/gettimeofday.Tpo -c
../../../src/replacements/gettimeofday.c -fPIC -DPIC -o .libs/gettimeofday.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
gettimeofday.lo -MD -MP -MF .deps/gettimeofday.Tpo -c
../../../src/replacements/gettimeofday.c -o gettimeofday.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
readpassphrase.lo -MD -MP -MF ".deps/readpassphrase.Tpo" -c -o
readpassphrase.lo ../../../src/replacements/readpassphrase.c; then mv -f
".deps/readpassphrase.Tpo" ".deps/readpassphrase.Plo"; else rm -f
".deps/readpassphrase.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
readpassphrase.lo -MD -MP -MF .deps/readpassphrase.Tpo -c
../../../src/replacements/readpassphrase.c -fPIC -DPIC -o
.libs/readpassphrase.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/replacements -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
readpassphrase.lo -MD -MP -MF .deps/readpassphrase.Tpo -c
../../../src/replacements/readpassphrase.c -o readpassphrase.o >/dev/null 2>&1
/usr/pkg/bin/bash ../../libtool --tag=CC --mode=link gcc -pthread -g -O2
-o libreplacements.la iconv.lo gettimeofday.lo readpassphrase.lo
rm -fr .libs/libreplacements.a .libs/libreplacements.la
ar cru .libs/libreplacements.a .libs/iconv.o .libs/gettimeofday.o
.libs/readpassphrase.o
ranlib .libs/libreplacements.a
creating libreplacements.la
(cd .libs && rm -f libreplacements.la && ln -s ../libreplacements.la
libreplacements.la)
Making all in tds
perl ../../../src/tds/tds_willconvert.pl > tds_willconvert.h.tmp
mv tds_willconvert.h.tmp tds_willconvert.h
perl ../../../src/tds/encodings.pl ../../../src/tds > encodings.h.tmp 2>
/dev/null
mv encodings.h.tmp encodings.h
perl ../../../src/tds/num_limits.pl > num_limits.h.tmp
mv num_limits.h.tmp num_limits.h
make all-recursive
Making all in unittests
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT mem.lo -MD -MP -MF
".deps/mem.Tpo" -c -o mem.lo ../../../src/tds/mem.c; then mv -f
".deps/mem.Tpo" ".deps/mem.Plo"; else rm -f ".deps/mem.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
mem.lo -MD -MP -MF .deps/mem.Tpo -c ../../../src/tds/mem.c -fPIC -DPIC -o
.libs/mem.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
mem.lo -MD -MP -MF .deps/mem.Tpo -c ../../../src/tds/mem.c -o mem.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT token.lo -MD -MP -MF
".deps/token.Tpo" -c -o token.lo ../../../src/tds/token.c; then mv -f
".deps/token.Tpo" ".deps/token.Plo"; else rm -f ".deps/token.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
token.lo -MD -MP -MF .deps/token.Tpo -c ../../../src/tds/token.c -fPIC -DPIC
-o .libs/token.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
token.lo -MD -MP -MF .deps/token.Tpo -c ../../../src/tds/token.c -o token.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT util.lo -MD -MP -MF
".deps/util.Tpo" -c -o util.lo ../../../src/tds/util.c; then mv -f
".deps/util.Tpo" ".deps/util.Plo"; else rm -f ".deps/util.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
util.lo -MD -MP -MF .deps/util.Tpo -c ../../../src/tds/util.c -fPIC -DPIC -o
.libs/util.o
../../../src/tds/util.c:76: warning: `g_dump_mutex' defined but not used
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
util.lo -MD -MP -MF .deps/util.Tpo -c ../../../src/tds/util.c -o util.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT login.lo -MD -MP -MF
".deps/login.Tpo" -c -o login.lo ../../../src/tds/login.c; then mv -f
".deps/login.Tpo" ".deps/login.Plo"; else rm -f ".deps/login.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
login.lo -MD -MP -MF .deps/login.Tpo -c ../../../src/tds/login.c -fPIC -DPIC
-o .libs/login.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
login.lo -MD -MP -MF .deps/login.Tpo -c ../../../src/tds/login.c -o login.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT read.lo -MD -MP -MF
".deps/read.Tpo" -c -o read.lo ../../../src/tds/read.c; then mv -f
".deps/read.Tpo" ".deps/read.Plo"; else rm -f ".deps/read.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
read.lo -MD -MP -MF .deps/read.Tpo -c ../../../src/tds/read.c -fPIC -DPIC -o
.libs/read.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
read.lo -MD -MP -MF .deps/read.Tpo -c ../../../src/tds/read.c -o read.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT write.lo -MD -MP -MF
".deps/write.Tpo" -c -o write.lo ../../../src/tds/write.c; then mv -f
".deps/write.Tpo" ".deps/write.Plo"; else rm -f ".deps/write.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
write.lo -MD -MP -MF .deps/write.Tpo -c ../../../src/tds/write.c -fPIC -DPIC
-o .libs/write.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
write.lo -MD -MP -MF .deps/write.Tpo -c ../../../src/tds/write.c -o write.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT convert.lo -MD -MP
-MF ".deps/convert.Tpo" -c -o convert.lo ../../../src/tds/convert.c; then mv
-f ".deps/convert.Tpo" ".deps/convert.Plo"; else rm -f ".deps/convert.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
convert.lo -MD -MP -MF .deps/convert.Tpo -c ../../../src/tds/convert.c -fPIC
-DPIC -o .libs/convert.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
convert.lo -MD -MP -MF .deps/convert.Tpo -c ../../../src/tds/convert.c -o
convert.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT numeric.lo -MD -MP
-MF ".deps/numeric.Tpo" -c -o numeric.lo ../../../src/tds/numeric.c; then mv
-f ".deps/numeric.Tpo" ".deps/numeric.Plo"; else rm -f ".deps/numeric.Tpo";
exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
numeric.lo -MD -MP -MF .deps/numeric.Tpo -c ../../../src/tds/numeric.c -fPIC
-DPIC -o .libs/numeric.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
numeric.lo -MD -MP -MF .deps/numeric.Tpo -c ../../../src/tds/numeric.c -o
numeric.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT config.lo -MD -MP
-MF ".deps/config.Tpo" -c -o config.lo ../../../src/tds/config.c; then mv -f
".deps/config.Tpo" ".deps/config.Plo"; else rm -f ".deps/config.Tpo"; exit 1;
fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
config.lo -MD -MP -MF .deps/config.Tpo -c ../../../src/tds/config.c -fPIC
-DPIC -o .libs/config.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
config.lo -MD -MP -MF .deps/config.Tpo -c ../../../src/tds/config.c -o
config.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT query.lo -MD -MP -MF
".deps/query.Tpo" -c -o query.lo ../../../src/tds/query.c; then mv -f
".deps/query.Tpo" ".deps/query.Plo"; else rm -f ".deps/query.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
query.lo -MD -MP -MF .deps/query.Tpo -c ../../../src/tds/query.c -fPIC -DPIC
-o .libs/query.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
query.lo -MD -MP -MF .deps/query.Tpo -c ../../../src/tds/query.c -o query.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT iconv.lo -MD -MP -MF
".deps/iconv.Tpo" -c -o iconv.lo ../../../src/tds/iconv.c; then mv -f
".deps/iconv.Tpo" ".deps/iconv.Plo"; else rm -f ".deps/iconv.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
iconv.lo -MD -MP -MF .deps/iconv.Tpo -c ../../../src/tds/iconv.c -fPIC -DPIC
-o .libs/iconv.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
iconv.lo -MD -MP -MF .deps/iconv.Tpo -c ../../../src/tds/iconv.c -o iconv.o
>/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT locale.lo -MD -MP
-MF ".deps/locale.Tpo" -c -o locale.lo ../../../src/tds/locale.c; then mv -f
".deps/locale.Tpo" ".deps/locale.Plo"; else rm -f ".deps/locale.Tpo"; exit 1;
fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
locale.lo -MD -MP -MF .deps/locale.Tpo -c ../../../src/tds/locale.c -fPIC
-DPIC -o .libs/locale.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
locale.lo -MD -MP -MF .deps/locale.Tpo -c ../../../src/tds/locale.c -o
locale.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT challenge.lo -MD -MP
-MF ".deps/challenge.Tpo" -c -o challenge.lo ../../../src/tds/challenge.c;
then mv -f ".deps/challenge.Tpo" ".deps/challenge.Plo"; else rm -f
".deps/challenge.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
challenge.lo -MD -MP -MF .deps/challenge.Tpo -c ../../../src/tds/challenge.c
-fPIC -DPIC -o .libs/challenge.o
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
challenge.lo -MD -MP -MF .deps/challenge.Tpo -c ../../../src/tds/challenge.c
-o challenge.o >/dev/null 2>&1
if /usr/pkg/bin/bash ../../libtool --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include -I../../../include
-D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT threadsafe.lo -MD
-MP -MF ".deps/threadsafe.Tpo" -c -o threadsafe.lo
../../../src/tds/threadsafe.c; then mv -f ".deps/threadsafe.Tpo"
".deps/threadsafe.Plo"; else rm -f ".deps/threadsafe.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I../../../src/tds -I../../include
-I../../../include -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -pthread -g -O2 -MT
threadsafe.lo -MD -MP -MF .deps/threadsafe.Tpo -c
../../../src/tds/threadsafe.c -fPIC -DPIC -o .libs/threadsafe.o
../../../src/tds/threadsafe.c:279:2: #error gethostbyname_r style unknown
../../../src/tds/threadsafe.c: In function `tds_gethostbyname_r':
../../../src/tds/threadsafe.c:239: warning: control reaches end of non-void
function
../../../src/tds/threadsafe.c: In function `tds_getservbyname_r':
../../../src/tds/threadsafe.c:353: warning: implicit declaration of function
`getservbyname_r'
*** Error code 1

Stop.
make: stopped in
/usr/users/home/jklowden/projects/database/freetds/build/src/tds
*** Error code 1

Stop.
make: stopped in
/usr/users/home/jklowden/projects/database/freetds/build/src/tds
*** Error code 1

Stop.
make: stopped in
/usr/users/home/jklowden/projects/database/freetds/build/src/tds
*** Error code 1

Stop.
make: stopped in /usr/users/home/jklowden/projects/database/freetds/build/src
*** Error code 1

Stop.
make: stopped in /usr/users/home/jklowden/projects/database/freetds/build
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by FreeTDS configure 0.65.dev.20060829, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ../configure --config-cache --with-tdsver=7.0
--with-libiconv-prefix=/usr/pkg --enable-threadsafe=no --disable-libiconv

## --------- ##
## Platform. ##
## --------- ##

hostname = oak.schemamania.org
uname -m = i386
uname -r = 2.0
uname -s = NetBSD
uname -v = NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/users/home/jklowden/bin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/X11R6/bin
PATH: /usr/pkg/bin
PATH: /usr/pkg/sbin
PATH: /usr/games
PATH: /usr/local/bin
PATH: /usr/local/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1413: loading cache config.cache
configure:1552: checking for a BSD-compatible install
configure:1607: result: /usr/bin/install -c
configure:1618: checking whether build environment is sane
configure:1661: result: yes
configure:1726: checking for gawk
configure:1752: result: gawk
configure:1762: checking whether make sets $(MAKE)
configure:1782: result: yes
configure:1977: checking build system type
configure:1995: result: i386-unknown-netbsdelf2.0
configure:2003: checking host system type
configure:2017: result: i386-unknown-netbsdelf2.0
configure:2066: checking for style of include used by make
configure:2094: result: GNU
configure:2165: checking for gcc
configure:2191: result: gcc
configure:2435: checking for C compiler version
configure:2438: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (NetBSD nb3 20040520)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2441: $? = 0
configure:2443: gcc -v </dev/null >&5
Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
configure:2446: $? = 0
configure:2448: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2451: $? = 1
configure:2474: checking for C compiler default output file name
configure:2477: gcc conftest.c >&5
configure:2480: $? = 0
configure:2526: result: a.out
configure:2531: checking whether the C compiler works
configure:2537: ./a.out
configure:2540: $? = 0
configure:2557: result: yes
configure:2564: checking whether we are cross compiling
configure:2566: result: no
configure:2569: checking for suffix of executables
configure:2571: gcc -o conftest conftest.c >&5
configure:2574: $? = 0
configure:2599: result:
configure:2605: checking for suffix of object files
configure:2651: result: o
configure:2655: checking whether we are using the GNU C compiler
configure:2711: result: yes
configure:2717: checking whether gcc accepts -g
configure:2768: result: yes
configure:2785: checking for gcc option to accept ANSI C
configure:2892: result: none needed
configure:2910: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:2916: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3051: checking dependency style of gcc
configure:3141: result: gcc3
configure:3166: checking for special C compiler options needed for large files
configure:3265: result: no
configure:3271: checking for _FILE_OFFSET_BITS value needed for large files
configure:3386: result: no
configure:3396: checking for _LARGE_FILES value needed for large files
configure:3511: result: no
configure:3578: checking for gcc
configure:3604: result: gcc
configure:3848: checking for C compiler version
configure:3851: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 (NetBSD nb3 20040520)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3854: $? = 0
configure:3856: gcc -v </dev/null >&5
Using built-in specs.
Configured with:
/home/nick/work/netbsd/src/tools/gcc/../../gnu/dist/gcc/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=i386-unknown-netbsdelf --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 3.3.3 (NetBSD nb3 20040520)
configure:3859: $? = 0
configure:3861: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:3864: $? = 1
configure:3867: checking whether we are using the GNU C compiler
configure:3923: result: yes
configure:3929: checking whether gcc accepts -g
configure:3980: result: yes
configure:3997: checking for gcc option to accept ANSI C
configure:4104: result: none needed
configure:4122: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
conftest.c:2: error: parse error before "me"
configure:4128: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:4263: checking dependency style of gcc
configure:4353: result: gcc3
configure:4375: checking how to run the C preprocessor
configure:4493: result: gcc -E
configure:4517: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:4523: $? = 0
configure:4555: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
conftest.c:12:28: ac_nonexistent.h: No such file or directory
configure:4561: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4680: checking for a sed that does not truncate output
configure:4734: result: /usr/bin/sed
configure:4737: checking for egrep
configure:4747: result: grep -E
configure:4763: checking for ld used by gcc
configure:4830: result: /usr/bin/ld
configure:4839: checking if the linker (/usr/bin/ld) is GNU ld
configure:4854: result: yes
configure:4859: checking for /usr/bin/ld option to reload object files
configure:4866: result: -r
configure:4884: checking for BSD-compatible nm
configure:4926: result: /usr/bin/nm -B
configure:4930: checking whether ln -s works
configure:4934: result: yes
configure:4941: checking how to recognise dependent libraries
configure:5113: result: match_pattern /lib[^/]+(\.so|_pic\.a)$
configure:5564: checking for ANSI C header files
configure:5720: result: yes
configure:5744: checking for sys/types.h
configure:5790: result: yes
configure:5744: checking for sys/stat.h
configure:5790: result: yes
configure:5744: checking for stdlib.h
configure:5790: result: yes
configure:5744: checking for string.h
configure:5790: result: yes
configure:5744: checking for memory.h
configure:5790: result: yes
configure:5744: checking for strings.h
configure:5790: result: yes
configure:5744: checking for inttypes.h
configure:5790: result: yes
configure:5744: checking for stdint.h
configure:5790: result: yes
configure:5744: checking for unistd.h
configure:5790: result: yes
configure:5807: checking for dlfcn.h
configure:5812: result: yes
configure:5956: checking the maximum length of command line arguments
configure:6047: result: 65536
configure:6058: checking command to parse /usr/bin/nm -B output from gcc
object
configure:6257: result: ok
configure:6261: checking for objdir
configure:6276: result: .libs
configure:6366: checking for ar
configure:6393: result: ar
configure:6446: checking for ranlib
configure:6473: result: ranlib
configure:6526: checking for strip
configure:6553: result: strip
configure:6817: checking if gcc static flag works
configure:6840: result: yes
configure:6858: checking if gcc supports -fno-rtti -fno-exceptions
configure:6891: result: no
configure:6906: checking for gcc option to produce PIC
configure:7105: result: -fPIC
configure:7113: checking if gcc PIC flag -fPIC works
configure:7131: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE -fPIC -DPIC
conftest.c >&5
configure:7135: $? = 0
configure:7146: result: yes
configure:7170: checking if gcc supports -c -o file.o
configure:7215: result: yes
configure:7241: checking whether the gcc linker (/usr/bin/ld) supports shared
libraries
configure:8103: result: yes
configure:8129: checking whether -lc should be explicitly linked in
configure:8134: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:8137: $? = 0
configure:8151: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o
conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1
configure:8154: $? = 1
configure:8166: result: yes
configure:8174: checking dynamic linker characteristics
configure:8716: result: NetBSD ld.elf_so
configure:8720: checking how to hardcode library paths into programs
configure:8745: result: immediate
configure:8759: checking whether stripping libraries is possible
configure:8764: result: yes
configure:9594: checking if libtool supports shared libraries
configure:9596: result: yes
configure:9599: checking whether to build shared libraries
configure:9620: result: yes
configure:9623: checking whether to build static libraries
configure:9627: result: yes
configure:9719: creating libtool
configure:11486: libiconv disabled
configure:11494: checking for doxygen
configure:11520: result: doxygen
configure:11529: checking for odbc_config
configure:11558: result: no
configure:11638: checking for library containing socket
configure:11757: result: none required
configure:11764: checking for library containing gethostbyname
configure:11883: result: none required
configure:11914: checking for library containing tgetent
configure:12033: result: -lcurses
configure:12040: checking for readline in -lreadline
configure:12102: result: no
configure:12312: checking for the pthreads library -lpthreads
configure:12350: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c -lpthreads >&5
ld: cannot find -lpthreads
configure:12356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:12383: result: no
configure:12259: checking whether pthreads work without any flags
configure:12350: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
/var/tmp//ccaQxoNi.o(.text+0x11): In function `main':
/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:27:
undefined reference to `pthread_join'
/var/tmp//ccaQxoNi.o(.text+0x20):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread_attr_init'
/var/tmp//ccaQxoNi.o(.text+0x2d):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread__cleanup_push'
/var/tmp//ccaQxoNi.o(.text+0x3a):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread_create'
/var/tmp//ccaQxoNi.o(.text+0x45):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread__cleanup_pop'
configure:12356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:12383: result: no
configure:12264: checking whether pthreads work with -Kthread
configure:12350: gcc -o conftest -g -O2 -Kthread -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
gcc: unrecognized option `-Kthread'
/var/tmp//ccIaHX4I.o(.text+0x11): In function `main':
/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:27:
undefined reference to `pthread_join'
/var/tmp//ccIaHX4I.o(.text+0x20):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread_attr_init'
/var/tmp//ccIaHX4I.o(.text+0x2d):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread__cleanup_push'
/var/tmp//ccIaHX4I.o(.text+0x3a):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread_create'
/var/tmp//ccIaHX4I.o(.text+0x45):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread__cleanup_pop'
configure:12356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:12383: result: no
configure:12264: checking whether pthreads work with -kthread
configure:12350: gcc -o conftest -g -O2 -kthread -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
gcc: unrecognized option `-kthread'
/var/tmp//ccu6lvy5.o(.text+0x11): In function `main':
/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:27:
undefined reference to `pthread_join'
/var/tmp//ccu6lvy5.o(.text+0x20):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread_attr_init'
/var/tmp//ccu6lvy5.o(.text+0x2d):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:28:
undefined reference to `pthread__cleanup_push'
/var/tmp//ccu6lvy5.o(.text+0x3a):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread_create'
/var/tmp//ccu6lvy5.o(.text+0x45):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:29:
undefined reference to `pthread__cleanup_pop'
configure:12356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:12383: result: no
configure:12312: checking for the pthreads library -llthread
configure:12350: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c -llthread >&5
ld: cannot find -llthread
configure:12356: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h. */
| #include <pthread.h>
| int
| main ()
| {
| pthread_t th; pthread_join(th, 0);
| pthread_attr_init(0); pthread_cleanup_push(0, 0);
| pthread_create(0,0,0,0); pthread_cleanup_pop(0);
| ;
| return 0;
| }
configure:12383: result: no
configure:12264: checking whether pthreads work with -pthread
configure:12350: gcc -o conftest -g -O2 -pthread -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:12356: $? = 0
configure:12360: test -z
|| test ! -s conftest.err
configure:12363: $? = 0
configure:12366: test -s conftest
configure:12369: $? = 0
configure:12383: result: yes
configure:12402: checking for joinable pthread attribute
configure:12422: gcc -o conftest -g -O2 -pthread -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:12428: $? = 0
configure:12432: test -z
|| test ! -s conftest.err
configure:12435: $? = 0
configure:12438: test -s conftest
configure:12441: $? = 0
configure:12452: result: PTHREAD_CREATE_JOINABLE
configure:12462: checking if more special flags are required for pthreads
configure:12469: result: no
configure:12560: checking for ANSI C header files
configure:12716: result: yes
configure:12726: checking whether time.h and sys/time.h may both be included
configure:12781: result: yes
configure:12791: checking whether struct tm is in sys/time.h or time.h
configure:12844: result: time.h
configure:12854: checking for struct tm.tm_zone
configure:12959: result: yes
configure:13044: checking for struct tm.__tm_zone
configure:13149: result: no
configure:13181: checking for unistd.h
configure:13186: result: yes
configure:13181: checking for errno.h
configure:13186: result: yes
configure:13181: checking for wchar.h
configure:13186: result: yes
configure:13181: checking for sys/time.h
configure:13186: result: yes
configure:13181: checking for malloc.h
configure:13186: result: yes
configure:13181: checking for sys/types.h
configure:13186: result: yes
configure:13181: checking for sys/param.h
configure:13186: result: yes
configure:13181: checking for sys/stat.h
configure:13186: result: yes
configure:13181: checking for sys/wait.h
configure:13186: result: yes
configure:13190: checking limits.h usability
configure:13202: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:13208: $? = 0
configure:13212: test -z
|| test ! -s conftest.err
configure:13215: $? = 0
configure:13218: test -s conftest.o
configure:13221: $? = 0
configure:13231: result: yes
configure:13235: checking limits.h presence
configure:13245: gcc -E -D_FREETDS_LIBRARY_SOURCE conftest.c
configure:13251: $? = 0
configure:13271: result: yes
configure:13306: checking for limits.h
configure:13313: result: yes
configure:13181: checking for locale.h
configure:13186: result: yes
configure:13181: checking for odbcss.h
configure:13186: result: no
configure:13181: checking for readpassphrase.h
configure:13186: result: no
configure:13181: checking for signal.h
configure:13186: result: yes
configure:13181: checking for winsock2.h
configure:13186: result: no
configure:13343: checking for sys/socket.h
configure:13348: result: yes
configure:13343: checking for arpa/inet.h
configure:13348: result: yes
configure:13343: checking for netdb.h
configure:13348: result: yes
configure:13343: checking for netinet/in.h
configure:13348: result: yes
configure:13343: checking for netinet/tcp.h
configure:13348: result: yes
configure:13343: checking for paths.h
configure:13348: result: yes
configure:13343: checking for sys/ioctl.h
configure:13348: result: yes
configure:13343: checking for libgen.h
configure:13348: result: yes
configure:13343: checking for sys/select.h
configure:13348: result: yes
configure:13343: checking for regex.h
configure:13348: result: yes
configure:13343: checking for langinfo.h
configure:13348: result: yes
configure:13490: checking whether INADDR_NONE is defined
configure:13556: result: yes
configure:13571: checking for char
configure:13625: result: yes
configure:13628: checking size of char
configure:13978: result: 1
configure:13985: checking for short
configure:14039: result: yes
configure:14042: checking size of short
configure:14392: result: 2
configure:14399: checking for long
configure:14453: result: yes
configure:14456: checking size of long
configure:14806: result: 4
configure:14813: checking for int
configure:14867: result: yes
configure:14870: checking size of int
configure:15220: result: 4
configure:15227: checking for float
configure:15281: result: yes
configure:15284: checking size of float
configure:15634: result: 4
configure:15641: checking for double
configure:15695: result: yes
configure:15698: checking size of double
configure:16048: result: 8
configure:16055: checking for long double
configure:16109: result: yes
configure:16112: checking size of long double
configure:16462: result: 12
configure:16469: checking for long long
configure:16523: result: yes
configure:16526: checking size of long long
configure:16876: result: 8
configure:16883: checking for __int64
configure:16937: result: no
configure:16940: checking size of __int64
configure:17290: result: 0
configure:17297: checking for void *
configure:17351: result: yes
configure:17354: checking size of void *
configure:17704: result: 4
configure:17711: checking for wchar_t
configure:17769: result: yes
configure:17772: checking size of wchar_t
configure:18146: result: 4
configure:18222: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
conftest.c:65: error: parse error before "should"
configure:18228: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| /* end confdefs.h. */
|
| #if !defined(__MINGW32__) || !defined(__MSVCRT__)
| this should produce an error!
| #endif
|
| int
| main ()
| {
| return 0;
| ;
| return 0;
| }
configure:18282: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:18285: $? = 0
configure:18287: ./conftest
configure:18290: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| /* end confdefs.h. */
|
| #include <stdio.h>
| #include <string.h>
| int main() {
| char buf[20];
| long long ll = (((long long) 0x12345) << 32) + 0x6789abcd;
| sprintf(buf, "%ld", ll);
| return strcmp(buf, "320255973501901") != 0;
| }
|
configure:18282: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:18285: $? = 0
configure:18287: ./conftest
configure:18290: $? = 0
configure:18340: checking is FIONBIO defined
configure:18356: result: yes
configure:18392: checking for socklen_t
configure:18448: result: yes
configure:18552: checking whether byte ordering is bigendian
configure:18763: result: no
configure:18782: checking for an ANSI C-conforming const
configure:18879: result: yes
configure:18932: checking whether we can use -static-libgcc
configure:18945: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
-static-libgcc conftest.c >&5
/usr/lib/crt0.o(.text+0x86): In function `___start':
: undefined reference to `main'
configure:18951: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| #define TDS_I64_FORMAT "lld"
| /* end confdefs.h. */
|
configure:18976: result: no
configure:18932: checking whether we can use -Wl,-static-libgcc
configure:18945: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
-Wl,-static-libgcc conftest.c >&5
ld: unrecognized -a option `tic-libgcc'
configure:18951: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| #define TDS_I64_FORMAT "lld"
| /* end confdefs.h. */
|
configure:18976: result: no
configure:18992: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:18998: $? = 0
configure:19002: test -z
|| test ! -s conftest.err
configure:19005: $? = 0
configure:19008: test -s conftest.o
configure:19011: $? = 0
configure:19027: checking whether memset(0) sets pointers to NULL
configure:19123: result: yes
configure:19160: checking for vsnprintf
configure:19248: result: yes
configure:19160: checking for gettimeofday
configure:19248: result: yes
configure:19160: checking for nl_langinfo
configure:19248: result: yes
configure:19160: checking for locale_charset
configure:19248: result: no
configure:19160: checking for setenv
configure:19248: result: yes
configure:19160: checking for putenv
configure:19248: result: yes
configure:19160: checking for getuid
configure:19248: result: yes
configure:19160: checking for getpwuid
configure:19248: result: yes
configure:19160: checking for getpwuid_r
configure:19248: result: no
configure:19160: checking for fstat
configure:19248: result: yes
configure:19160: checking for alarm
configure:19248: result: yes
configure:19160: checking for gethrtime
configure:19217: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
/var/tmp//cc0N0e7g.o(.text+0x11): In function `main':
/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:115:
undefined reference to `gethrtime'
/var/tmp//cc0N0e7g.o(.data+0x0):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:114:
undefined reference to `gethrtime'
configure:19223: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| #define TDS_I64_FORMAT "lld"
| #define TDS_ATTRIBUTE_DESTRUCTOR 1
| #define NULL_REP_IS_ZERO_BYTES 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_SETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_GETUID 1
| #define HAVE_GETPWUID 1
| #define HAVE_FSTAT 1
| #define HAVE_ALARM 1
| /* end confdefs.h. */
| /* Define gethrtime to an innocuous variant, in case <limits.h> declares
gethrtime.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define gethrtime innocuous_gethrtime
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char gethrtime (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef gethrtime
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char gethrtime ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_gethrtime) || defined (__stub___gethrtime)
| choke me
| #else
| char (*f) () = gethrtime;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != gethrtime;
| ;
| return 0;
| }
configure:19248: result: no
configure:19276: checking for inet_ntoa_r
configure:19364: result: no
configure:19276: checking for getipnodebyaddr
configure:19364: result: no
configure:19276: checking for getipnodebyname
configure:19364: result: no
configure:19276: checking for freehostent
configure:19364: result: no
configure:19276: checking for getaddrinfo
configure:19364: result: yes
configure:19276: checking for getnameinfo
configure:19364: result: yes
configure:19276: checking for inet_ntop
configure:19364: result: yes
configure:19276: checking for inet_pton
configure:19364: result: yes
configure:19276: checking for gethostname
configure:19364: result: yes
configure:19276: checking for sethostent_r
configure:19364: result: no
configure:19276: checking for gethostent_r
configure:19364: result: no
configure:19387: checking for asprintf
configure:19475: result: yes
configure:19387: checking for vasprintf
configure:19475: result: yes
configure:19387: checking for atoll
configure:19475: result: yes
configure:19387: checking for strtok_r
configure:19475: result: yes
configure:19387: checking for readpassphrase
configure:19475: result: no
configure:19387: checking for strlcpy
configure:19475: result: yes
configure:19387: checking for strlcat
configure:19475: result: yes
configure:19387: checking for basename
configure:19475: result: yes
configure:19495: checking for _LARGEFILE_SOURCE value needed for large files
configure:19594: result: no
configure:19608: checking for fseeko
configure:19660: result: yes
configure:19674: checking for library containing clock_gettime
configure:19704: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
configure:19710: $? = 0
configure:19714: test -z
|| test ! -s conftest.err
configure:19717: $? = 0
configure:19720: test -s conftest
configure:19723: $? = 0
configure:19793: result: none required
configure:19811: checking if clock_gettime support CLOCK_MONOTONIC
configure:19834: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure:19840: $? = 0
configure:19844: test -z
|| test ! -s conftest.err
configure:19847: $? = 0
configure:19850: test -s conftest.o
configure:19853: $? = 0
configure:19863: result: yes
configure:19885: checking whether malloc_options variable is present
configure:19942: result: yes
configure:19955: result: checking compile-time options
configure:20091: checking for SQLConnect in -liodbc
configure:20153: result: no
configure:20302: checking for SQLConnect in -lodbc
configure:20364: result: no
configure:20846: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
conftest.c:92:22: sqltypes.h: No such file or directory
conftest.c: In function `main':
conftest.c:96: error: `SQLLEN' undeclared (first use in this function)
conftest.c:96: error: (Each undeclared identifier is reported only once
conftest.c:96: error: for each function it appears in.)
conftest.c:96: error: parse error before "len"
configure:20852: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| #define TDS_I64_FORMAT "lld"
| #define TDS_ATTRIBUTE_DESTRUCTOR 1
| #define NULL_REP_IS_ZERO_BYTES 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_SETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_GETUID 1
| #define HAVE_GETPWUID 1
| #define HAVE_FSTAT 1
| #define HAVE_ALARM 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_ASPRINTF 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ATOLL 1
| #define HAVE_STRTOK_R 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCAT 1
| #define HAVE_BASENAME 1
| #define HAVE_FSEEKO 1
| #define HAVE_CLOCK_GETTIME 1
| #define TDS_GETTIMEMILLI_CONST CLOCK_MONOTONIC
| #define HAVE_MALLOC_OPTIONS 1
| #define TDS70 1
| /* end confdefs.h. */
| #include <sqltypes.h>
| int
| main ()
| {
| SQLLEN len = 123;
| ;
| return 0;
| }
configure:20995: checking for SQLWCHAR
configure:21053: result: no
configure:21056: checking size of SQLWCHAR
configure:21430: result: 0
configure:21485: checking if openssl is wanted
configure:21520: result: no
configure:21613: checking threadsafety
configure:21631: result: disabled
configure:21649: checking for which type of gethostbyname_r
configure:21827: result: no
configure:21854: checking for which type of getservbyname_r
configure:22033: result: six
configure:22060: checking for which type of gethostbyaddr_r
configure:22253: result: no
configure:22280: checking for which type of getpwuid_r
configure:22488: result: no
configure:22518: checking for which type of localtime_r
configure:22578: result: struct
configure:22615: gcc -o conftest -g -O2 -D_FREETDS_LIBRARY_SOURCE
conftest.c >&5
/var/tmp//cc0n8kgV.o(.text+0x12): In function `main':
/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:100:
undefined reference to `pthread_mutex_lock'
/var/tmp//cc0n8kgV.o(.text+0x1e):/usr/users/home/jklowden/projects/database/freetds/build/conftest.c:101:
undefined reference to `pthread_mutex_unlock'
configure:22621: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "FreeTDS"
| #define PACKAGE_TARNAME "freetds"
| #define PACKAGE_VERSION "0.65.dev.20060829"
| #define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "freetds"
| #define VERSION "0.65.dev.20060829"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PTHREAD 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STRUCT_TM_TM_ZONE 1
| #define HAVE_TM_ZONE 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_NETINET_TCP_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_LANGINFO_H 1
| #define SIZEOF_CHAR 1
| #define SIZEOF_SHORT 2
| #define SIZEOF_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_FLOAT 4
| #define SIZEOF_DOUBLE 8
| #define SIZEOF_LONG_DOUBLE 12
| #define SIZEOF_LONG_LONG 8
| #define SIZEOF___INT64 0
| #define SIZEOF_VOID_P 4
| #define SIZEOF_WCHAR_T 4
| #define HAVE_INT64 1
| #define TDS_I64_FORMAT "lld"
| #define TDS_ATTRIBUTE_DESTRUCTOR 1
| #define NULL_REP_IS_ZERO_BYTES 1
| #define HAVE_VSNPRINTF 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_NL_LANGINFO 1
| #define HAVE_SETENV 1
| #define HAVE_PUTENV 1
| #define HAVE_GETUID 1
| #define HAVE_GETPWUID 1
| #define HAVE_FSTAT 1
| #define HAVE_ALARM 1
| #define HAVE_GETADDRINFO 1
| #define HAVE_GETNAMEINFO 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_GETHOSTNAME 1
| #define HAVE_ASPRINTF 1
| #define HAVE_VASPRINTF 1
| #define HAVE_ATOLL 1
| #define HAVE_STRTOK_R 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRLCAT 1
| #define HAVE_BASENAME 1
| #define HAVE_FSEEKO 1
| #define HAVE_CLOCK_GETTIME 1
| #define TDS_GETTIMEMILLI_CONST CLOCK_MONOTONIC
| #define HAVE_MALLOC_OPTIONS 1
| #define TDS70 1
| #define SIZEOF_SQLWCHAR 0
| #define HAVE_FUNC_GETSERVBYNAME_R_6 1
| #define HAVE_FUNC_LOCALTIME_R_TM 1
| /* end confdefs.h. */
| #include <pthread.h>
| pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
| int
| main ()
| {
| pthread_mutex_lock(&mutex);
| pthread_mutex_unlock(&mutex)
| ;
| return 0;
| }
configure:22658: debug enabled
configure:22738: checking CFLAGS for gcc -Wdeclaration-after-statement
configure:22809: result: no, unknown
configure:22832: result: done
configure:23060: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by FreeTDS config.status 0.65.dev.20060829, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on oak.schemamania.org

config.status:789: creating include/tdsver.h
config.status:789: creating include/tds_sysdep_public.h
config.status:789: creating Makefile
config.status:789: creating include/Makefile
config.status:789: creating doc/Makefile
config.status:789: creating samples/Makefile
config.status:789: creating src/Makefile
config.status:789: creating src/tds/Makefile
config.status:789: creating src/tds/unittests/Makefile
config.status:789: creating src/dblib/Makefile
config.status:789: creating src/dblib/unittests/Makefile
config.status:789: creating src/ctlib/Makefile
config.status:789: creating src/ctlib/unittests/Makefile
config.status:789: creating src/replacements/Makefile
config.status:789: creating src/server/Makefile
config.status:789: creating src/pool/Makefile
config.status:789: creating src/odbc/Makefile
config.status:789: creating src/odbc/unittests/Makefile
config.status:789: creating src/apps/Makefile
config.status:789: creating freetds.spec
config.status:789: creating win32/Makefile
config.status:789: creating win32/msvc6/Makefile
config.status:789: creating win32/dev-cpp/Makefile
config.status:789: creating win32/version.rc
config.status:789: creating win32/freetds.nsh
config.status:886: creating include/config.h
config.status:1356: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-unknown-netbsdelf2.0
ac_cv_build_alias=i386-unknown-netbsdelf2.0
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_cflags_gcc_option__Wdeclaration_after_statement='no, unknown'
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_f77_compiler_gnu=yes
ac_cv_func_alarm=yes
ac_cv_func_asprintf=yes
ac_cv_func_atoll=yes
ac_cv_func_basename=yes
ac_cv_func_freehostent=no
ac_cv_func_fseeko=yes
ac_cv_func_fstat=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_gethostent_r=no
ac_cv_func_gethostname=yes
ac_cv_func_gethrtime=no
ac_cv_func_getipnodebyaddr=no
ac_cv_func_getipnodebyname=no
ac_cv_func_getnameinfo=yes
ac_cv_func_getpwuid=yes
ac_cv_func_getpwuid_r=no
ac_cv_func_gettimeofday=yes
ac_cv_func_getuid=yes
ac_cv_func_inet_ntoa_r=no
ac_cv_func_inet_ntop=yes
ac_cv_func_inet_pton=yes
ac_cv_func_locale_charset=no
ac_cv_func_nl_langinfo=yes
ac_cv_func_putenv=yes
ac_cv_func_readpassphrase=no
ac_cv_func_setenv=yes
ac_cv_func_sethostent_r=no
ac_cv_func_strlcat=yes
ac_cv_func_strlcpy=yes
ac_cv_func_strtok_r=yes
ac_cv_func_vasprintf=yes
ac_cv_func_vsnprintf=yes
ac_cv_func_which_gethostbyaddr_r=no
ac_cv_func_which_gethostname_r=no
ac_cv_func_which_getpwuid_r=no
ac_cv_func_which_getservbyname_r=six
ac_cv_func_which_localtime_r=struct
ac_cv_have_inaddr_none=yes
ac_cv_have_malloc_options=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_langinfo_h=yes
ac_cv_header_libgen_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_tcp_h=yes
ac_cv_header_odbcss_h=no
ac_cv_header_paths_h=yes
ac_cv_header_readpassphrase_h=no
ac_cv_header_regex_h=yes
ac_cv_header_signal_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_wait_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_header_wchar_h=yes
ac_cv_header_winsock2_h=no
ac_cv_host=i386-unknown-netbsdelf2.0
ac_cv_host_alias=i386-unknown-netbsdelf2.0
ac_cv_lib_iodbc_SQLConnect=no
ac_cv_lib_odbc_SQLConnect=no
ac_cv_lib_readline_readline=no
ac_cv_member_struct_tm___tm_zone=no
ac_cv_member_struct_tm_tm_zone=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_DOXYGEN=doxygen
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_F77=g77
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_f77_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_clock_gettime='none required'
ac_cv_search_gethostbyname='none required'
ac_cv_search_pthread_create=-lpthread
ac_cv_search_socket='none required'
ac_cv_search_tgetent=-lcurses
ac_cv_sizeof_SQLWCHAR=0
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_double=8
ac_cv_sizeof_float=4
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_double=12
ac_cv_sizeof_long_long=8
ac_cv_sizeof_short=2
ac_cv_sizeof_void_p=4
ac_cv_sizeof_wchar_t=4
ac_cv_struct_tm=time.h
ac_cv_sys_file_offset_bits=no
ac_cv_sys_large_files=no
ac_cv_sys_largefile_CC=no
ac_cv_sys_largefile_source=no
ac_cv_type_SQLWCHAR=no
ac_cv_type___int64=no
ac_cv_type_char=yes
ac_cv_type_double=yes
ac_cv_type_float=yes
ac_cv_type_int=yes
ac_cv_type_long=yes
ac_cv_type_long_double=yes
ac_cv_type_long_long=yes
ac_cv_type_short=yes
ac_cv_type_socklen_t=yes
ac_cv_type_void_p=yes
ac_cv_type_wchar_t=yes
ac_cv_use_freetds_flag=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/usr/bin/sed
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_c_o_F77=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/
{\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/
{"\2", (lt_ptr) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int
\1;/p'\'''
lt_cv_sys_max_cmd_len=65536
lt_lt_cv_prog_compiler_c_o='"yes"'
lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
lt_lt_cv_prog_compiler_c_o_F77='"yes"'
lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[
]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][
]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"'
lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\)
\$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^
]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"'
lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern
int \\1;/p'\''"'
tds_cv_null_is_zero=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/users/home/jklowden/projects/database/freetds/missing
--run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/users/home/jklowden/projects/database/freetds/missing
--run tar'
AM_CFLAGS=' -pthread'
AR='ar'
AS='as'
AUTOCONF='${SHELL} /usr/users/home/jklowden/projects/database/freetds/missing
--run autoconf'
AUTOHEADER='${SHELL}
/usr/users/home/jklowden/projects/database/freetds/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/users/home/jklowden/projects/database/freetds/missing
--run automake-1.9'
AWK='gawk'
BUILD_NUMBER='6241'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=' -D_FREETDS_LIBRARY_SOURCE -DDEBUG=1 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wno-long-long'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DISTCHECK_BUILD_FALSE=''
DISTCHECK_BUILD_TRUE='#'
DLLTOOL='dlltool'
DOXYGEN='doxygen'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_THREADSAFE_FALSE=''
ENABLE_THREADSAFE_TRUE='#'
EXEEXT=''
FREETDS_LIBGCC=''
FREETDS_SYMBOLIC=''
HAVE_DOXYGEN_FALSE='#'
HAVE_DOXYGEN_TRUE=''
HAVE_OPENSSL=''
HAVE_PERL_SOURCES=''
HAVE_PERL_SOURCES_FALSE='#'
HAVE_PERL_SOURCES_TRUE=''
INCAPPS_FALSE='#'
INCAPPS_TRUE=''
INCODBC_FALSE='#'
INCODBC_TRUE=''
INCPOOL_FALSE='#'
INCPOOL_TRUE=''
INCSERVER_FALSE='#'
INCSERVER_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBICONV=''
LIBOBJS=' readpassphrase$U.o'
LIBS=' '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LN_S='ln -s'
LTLIBICONV=''
LTLIBOBJS=' readpassphrase$U.lo'
MAJOR='0'
MAKEINFO='${SHELL} /usr/users/home/jklowden/projects/database/freetds/missing
--run makeinfo'
MINGW32_FALSE=''
MINGW32_TRUE='#'
MINOR='64'
NETWORK_LIBS=''
OBJDUMP='objdump'
OBJEXT='o'
ODBC=''
ODBCINSTLIB=''
ODBCLIB=''
ODBCNODMLIB=''
ODBC_CONFIG=''
ODBC_FALSE=''
ODBC_INC=''
ODBC_TRUE='#'
PACKAGE='freetds'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='FreeTDS'
PACKAGE_STRING='FreeTDS 0.65.dev.20060829'
PACKAGE_TARNAME='freetds'
PACKAGE_VERSION='0.65.dev.20060829'
PATH_SEPARATOR=':'
PTHREAD_CC='gcc'
PTHREAD_CFLAGS='-pthread'
PTHREAD_LIBS=''
RANLIB='ranlib'
READLINE_LIBS=''
SET_MAKE=''
SHELL='/usr/pkg/bin/bash'
STRIP='strip'
SUBVERSION='9999'
SYBASE_COMPAT_FALSE=''
SYBASE_COMPAT_TRUE='#'
UNIXODBC_FALSE=''
UNIXODBC_TRUE='#'
VERSION='0.65.dev.20060829'
ac_ct_AR='ar'
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB='ranlib'
ac_ct_STRIP='strip'
acx_pthread_config=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-unknown-netbsdelf2.0'
build_alias=''
build_cpu='i386'
build_os='netbsdelf2.0'
build_vendor='unknown'
datadir='${prefix}/share'
dblib_define='#define SYBDBLIB 1'
exec_prefix='${prefix}'
host='i386-unknown-netbsdelf2.0'
host_alias=''
host_cpu='i386'
host_os='netbsdelf2.0'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/users/home/jklowden/projects/database/freetds/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
tds_sysdep_int16_type='short'
tds_sysdep_int32_type='int'
tds_sysdep_int64_type='long long'
tds_sysdep_intptr_type='int'
tds_sysdep_real32_type='float'
tds_sysdep_real64_type='double'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_ALARM 1
#define HAVE_ARPA_INET_H 1
#define HAVE_ASPRINTF 1
#define HAVE_ATOLL 1
#define HAVE_BASENAME 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_DLFCN_H 1
#define HAVE_ERRNO_H 1
#define HAVE_FSEEKO 1
#define HAVE_FSTAT 1
#define HAVE_FUNC_GETSERVBYNAME_R_6 1
#define HAVE_FUNC_LOCALTIME_R_TM 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETHOSTNAME 1
#define HAVE_GETNAMEINFO 1
#define HAVE_GETPWUID 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_GETUID 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_INT64 1
#define HAVE_INTTYPES_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MALLOC_H 1
#define HAVE_MALLOC_OPTIONS 1
#define HAVE_MEMORY_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NL_LANGINFO 1
#define HAVE_PATHS_H 1
#define HAVE_PTHREAD 1
#define HAVE_PUTENV 1
#define HAVE_REGEX_H 1
#define HAVE_SETENV 1
#define HAVE_SIGNAL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRLCAT 1
#define HAVE_STRLCPY 1
#define HAVE_STRTOK_R 1
#define HAVE_STRUCT_TM_TM_ZONE 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_TM_ZONE 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VASPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_WCHAR_H 1
#define NULL_REP_IS_ZERO_BYTES 1
#define PACKAGE "freetds"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "FreeTDS"
#define PACKAGE_STRING "FreeTDS 0.65.dev.20060829"
#define PACKAGE_TARNAME "freetds"
#define PACKAGE_VERSION "0.65.dev.20060829"
#define SIZEOF_CHAR 1
#define SIZEOF_DOUBLE 8
#define SIZEOF_FLOAT 4
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_LONG_DOUBLE 12
#define SIZEOF_LONG_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SQLWCHAR 0
#define SIZEOF_VOID_P 4
#define SIZEOF_WCHAR_T 4
#define SIZEOF___INT64 0
#define STDC_HEADERS 1
#define STDC_HEADERS 1
#define TDS70 1
#define TDS_ATTRIBUTE_DESTRUCTOR 1
#define TDS_GETTIMEMILLI_CONST CLOCK_MONOTONIC
#define TDS_I64_FORMAT "lld"
#define TIME_WITH_SYS_TIME 1
#define VERSION "0.65.dev.20060829"
#define _GNU_SOURCE 1

configure: exit 0



Archive powered by MHonArc 2.6.24.

Top of Page