1 --- a/configure.~1~ 2015-08-31 13:06:19.000000000 +0300
2 +++ b/configure 2015-11-25 16:33:41.977839326 +0300
6 # Guess values for system-dependent variables and create Makefiles.
7 # Generated by GNU Autoconf 2.68 for unixODBC 2.3.4.
13 -SHELL=${CONFIG_SHELL-/bin/sh}
14 +SHELL=${CONFIG_SHELL-/bin/bash}
16 # Unset more variables known to interfere with behavior of common tools.
17 CLICOLOR_FORCE= GREP_OPTIONS=
22 -SHELL=${CONFIG_SHELL-/bin/sh}
23 +SHELL=${CONFIG_SHELL-/bin/bash}
25 lt_dlopen_dir="$lt_ltdl_dir"
28 datadir='${datarootdir}'
29 sysconfdir='${prefix}/etc'
30 sharedstatedir='${prefix}/com'
31 -localstatedir='${prefix}/var'
33 includedir='${prefix}/include'
34 oldincludedir='/usr/include'
35 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
37 ac_cpp='$CPP $CPPFLAGS'
38 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
44 am__api_version='1.11'
46 $as_echo_n "(cached) " >&6
48 cat >conftest.make <<\_ACEOF
52 @echo '@@@%%%=$(MAKE)=@@@%%%'
55 ac_cpp='$CPP $CPPFLAGS'
56 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
60 if test -n "$ac_tool_prefix"; then
61 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
62 set dummy ${ac_tool_prefix}gcc; ac_word=$2
64 for i in 1 2 3 4 5 6; do
65 echo '#include "conftst'$i'.h"' >> sub/conftest.c
66 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
67 - # Solaris 8's {/usr,}/bin/sh.
68 + # Solaris 8's {/usr,}/bin/bash.
71 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
73 for i in 1 2 3 4 5 6; do
74 echo '#include "conftst'$i'.h"' >> sub/conftest.c
75 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
76 - # Solaris 8's {/usr,}/bin/sh.
77 + # Solaris 8's {/usr,}/bin/bash.
80 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
82 $as_echo_n "(cached) " >&6
84 cat >conftest.make <<\_ACEOF
88 @echo '@@@%%%=$(MAKE)=@@@%%%'
91 for i in 1 2 3 4 5 6 7 8 ; do
92 teststring=$teststring$teststring
94 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
95 + SHELL=${SHELL-${CONFIG_SHELL-/bin/bash}}
96 # If test is not a shell built-in, we'll probably end up computing a
97 # maximum length that is only half of the actual maximum length, but
99 @@ -15598,6 +15598,7 @@
103 +#error "We want to use libpthread and not libthread."
107 @@ -15687,7 +15688,7 @@
108 if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then
109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
110 $as_echo "yes" >&6; }
111 - CFLAGS="$CFLAGS -pthread"
114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
116 @@ -15760,7 +15761,7 @@
117 if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then
118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
119 $as_echo "yes" >&6; }
120 - CFLAGS="$CFLAGS -pthread"
123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
125 @@ -15798,7 +15799,7 @@
126 if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then
127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
128 $as_echo "yes" >&6; }
129 - CFLAGS="$CFLAGS -pthread"
132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
134 @@ -15838,7 +15839,7 @@
136 $as_echo "#define HAVE_LIBPTHREAD 1" >>confdefs.h
138 - THREADLIB="-pthread -lc_r"
139 + THREADLIB="-lpthread -lposix4"
143 @@ -15851,7 +15852,7 @@
145 if test "x$gotthread" = "xno"; then
147 - CFLAGS="$CFLAGS -D_THREAD_SAFE -D_ALL_SOURCE -D_LONG_LONG"
148 + CFLAGS="$CFLAGS -D_REENTRANT -D_THREAD_SAFE -D_ALL_SOURCE -D_LONG_LONG"
149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5
150 $as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; }
152 @@ -15999,7 +16000,7 @@
153 ac_cpp='$CPP $CPPFLAGS'
154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
156 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
157 +ac_compiler_gnu="no"
160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for semundo union" >&5
161 @@ -16048,6 +16049,8 @@
165 +export drivers="true"
166 +export driverc="true"
168 # Check whether --with-msql-lib was given.
169 if test "${with_msql_lib+set}" = set; then :
170 @@ -16265,6 +16268,8 @@
174 +export use_builtin_libtool="no"
176 if test "x$use_builtin_libtool" = "xyes" ; then
179 @@ -16815,6 +16820,8 @@
183 +export LIBS="${LIBS} -lsocket -lnsl -lgen -z ignore"
184 +export LD_OPTIONS="-lsocket -lnsl -lgen -z ignore"
186 for ac_func in putenv socket strdup strstr setenv setlocale strchr