[PATCH] configure.in better gethostbyname_r detection
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Centrium GmbH |
| Message-ID | <[email protected]> |
Hi List, attached you can find patch that adds imo better gethostbyname_r detection. This should work on cygwin and also freebsd better as we now have in cvs. Please cygwin and freebsd/openbsd/*bsd people, test it! Comments are very welcome... -- Best regards / Mit besten Grüßen aus Düsseldorf Dipl.-Ing. Alexander Malysh ___________________________________ Centrium GmbH Vogelsanger Weg 80 40470 Düsseldorf Fon: +49 (0211) 74 84 51 80 Fax: +49 (0211) 277 49 109 email: a.malysh at centrium.de web: http://www.centrium.de msn: olek2002 at hotmail.com icq: 98063111 ___________________________________________ Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html
configure_gethostbyname_r.diff
(text/x-diff, 47.8 KB)
Index: configure.in
===================================================================
RCS file: /home/cvs/gateway/configure.in,v
retrieving revision 1.129
diff -a -u -r1.129 configure.in
--- configure.in 30 Oct 2003 18:00:22 -0000 1.129
+++ configure.in 1 Nov 2003 20:06:13 -0000
@@ -114,20 +114,10 @@
AC_SUBST(LIBOBJS)
dnl Check if we have reentrant gethostbyname and which one
-dnl Unfortunatly Cygwin seems to get trapped in the checking, so avoid
-case "$host" in
- *-cygwin*)
- ac_cv_func_which_gethostname_r="no"
- ;;
- *)
- AC_FUNC_WHICH_GETHOSTBYNAME_R
- ;;
-esac
-
-if test "$ac_cv_func_which_gethostname_r" = "no" ; then
- dnl no gethostbyname_r found try to find gethostbyname
- AC_CHECK_FUNC(gethostbyname)
-fi
+AC_CHECK_FUNC(gethostbyname_r, [ AC_FUNC_WHICH_GETHOSTBYNAME_R ], [
+ AC_CHECK_FUNC(gethostbyname,[], [
+ AC_MSG_ERROR([Couldnot find gethostbyname_r nor gethostbyname functions])])]
+)
dnl Extra feature checks
Index: configure
===================================================================
RCS file: /home/cvs/gateway/configure,v
retrieving revision 1.126
diff -a -u -r1.126 configure
--- configure 30 Oct 2003 18:00:22 -0000 1.126
+++ configure 1 Nov 2003 20:06:14 -0000
@@ -2021,19 +2021,57 @@
-case "$host" in
- *-cygwin*)
- ac_cv_func_which_gethostname_r="no"
- ;;
- *)
- echo $ac_n "checking for which type of gethostbyname_r""... $ac_c" 1>&6
-echo "configure:2031: checking for which type of gethostbyname_r" >&5
+echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
+echo "configure:2026: checking for gethostbyname_r" >&5
+if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 2031 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char gethostbyname_r(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char gethostbyname_r();
+
+int main() {
+
+/* 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_gethostbyname_r) || defined (__stub___gethostbyname_r)
+choke me
+#else
+gethostbyname_r();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_gethostbyname_r=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_gethostbyname_r=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'gethostbyname_r`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ echo $ac_n "checking for which type of gethostbyname_r""... $ac_c" 1>&6
+echo "configure:2069: checking for which type of gethostbyname_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_which_gethostname_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2037 "configure"
+#line 2075 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -2047,7 +2085,7 @@
; return 0; }
EOF
-if { (eval echo configure:2051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_func_which_gethostname_r=3
else
@@ -2056,7 +2094,7 @@
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 2060 "configure"
+#line 2098 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -2072,7 +2110,7 @@
; return 0; }
EOF
-if { (eval echo configure:2076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_func_which_gethostname_r=6
else
@@ -2081,7 +2119,7 @@
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 2085 "configure"
+#line 2123 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -2097,7 +2135,7 @@
; return 0; }
EOF
-if { (eval echo configure:2101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_func_which_gethostname_r=5
else
@@ -2134,18 +2172,17 @@
elif test $ac_cv_func_which_gethostname_r -eq 0; then
ac_cv_func_which_gethostname_r = no
fi
+
+else
+ echo "$ac_t""no" 1>&6
- ;;
-esac
-
-if test "$ac_cv_func_which_gethostname_r" = "no" ; then
- echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
-echo "configure:2144: checking for gethostbyname" >&5
+ echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
+echo "configure:2181: checking for gethostbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2149 "configure"
+#line 2186 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gethostbyname(); below. */
@@ -2168,7 +2205,7 @@
; return 0; }
EOF
-if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_gethostbyname=yes"
else
@@ -2185,8 +2222,11 @@
:
else
echo "$ac_t""no" 1>&6
+
+ { echo "configure: error: Couldnot find gethostbyname_r nor gethostbyname functions" 1>&2; exit 1; }
fi
+
fi
@@ -2195,13 +2235,14 @@
+
echo $ac_n "checking for socklen_t in <sys/socket.h>""... $ac_c" 1>&6
-echo "configure:2200: checking for socklen_t in <sys/socket.h>" >&5
+echo "configure:2241: checking for socklen_t in <sys/socket.h>" >&5
if eval "test \"`echo '$''{'gw_cv_type_HAVE_SOCKLEN_T'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2205 "configure"
+#line 2246 "configure"
#include "confdefs.h"
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
@@ -2212,7 +2253,7 @@
socklen_t foo;
; return 0; }
EOF
-if { (eval echo configure:2216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gw_cv_type_HAVE_SOCKLEN_T=yes
else
@@ -2235,19 +2276,19 @@
echo $ac_n "checking for getopt in <stdio.h>""... $ac_c" 1>&6
-echo "configure:2239: checking for getopt in <stdio.h>" >&5
+echo "configure:2280: checking for getopt in <stdio.h>" >&5
if eval "test \"`echo '$''{'gw_cv_func_HAVE_GETOPT_IN_STDIO_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2244 "configure"
+#line 2285 "configure"
#include "confdefs.h"
#include <stdio.h>
int main() {
void *foo = getopt;
; return 0; }
EOF
-if { (eval echo configure:2251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gw_cv_func_HAVE_GETOPT_IN_STDIO_H=yes
else
@@ -2269,19 +2310,19 @@
echo $ac_n "checking for getopt in <unistd.h>""... $ac_c" 1>&6
-echo "configure:2273: checking for getopt in <unistd.h>" >&5
+echo "configure:2314: checking for getopt in <unistd.h>" >&5
if eval "test \"`echo '$''{'gw_cv_func_HAVE_GETOPT_IN_UNISTD_H'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2278 "configure"
+#line 2319 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() {
void *foo = getopt;
; return 0; }
EOF
-if { (eval echo configure:2285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
gw_cv_func_HAVE_GETOPT_IN_UNISTD_H=yes
else
@@ -2308,17 +2349,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2312: checking for $ac_hdr" >&5
+echo "configure:2353: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2317 "configure"
+#line 2358 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2340,12 +2381,12 @@
EOF
echo $ac_n "checking for regcomp""... $ac_c" 1>&6
-echo "configure:2344: checking for regcomp" >&5
+echo "configure:2385: checking for regcomp" >&5
if eval "test \"`echo '$''{'ac_cv_func_regcomp'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2349 "configure"
+#line 2390 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char regcomp(); below. */
@@ -2368,7 +2409,7 @@
; return 0; }
EOF
-if { (eval echo configure:2372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_regcomp=yes"
else
@@ -2408,12 +2449,12 @@
echo "${nl}${T_MD}Checking for POSIX threads support ...${T_ME}"
echo $ac_n "checking for working pthreads""... $ac_c" 1>&6
-echo "configure:2412: checking for working pthreads" >&5
+echo "configure:2453: checking for working pthreads" >&5
if test "$cross_compiling" = yes; then
echo Cross compiling - assuming they work
else
cat > conftest.$ac_ext <<EOF
-#line 2417 "configure"
+#line 2458 "configure"
#include "confdefs.h"
#include <pthread.h>
#include <unistd.h>
@@ -2439,7 +2480,7 @@
}
EOF
-if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo yes
else
@@ -2465,7 +2506,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2469: checking for $ac_word" >&5
+echo "configure:2510: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2505,7 +2546,7 @@
{ echo "configure: error: You MUST have the libxml2 (aka gnome-xml) library installed" 1>&2; exit 1; }
else
echo $ac_n "checking libxml version""... $ac_c" 1>&6
-echo "configure:2509: checking libxml version" >&5
+echo "configure:2550: checking libxml version" >&5
xml_version=`$XML_CONFIG --version`
echo "$ac_t""$xml_version" 1>&6
@@ -2549,7 +2590,7 @@
echo "${nl}${T_MD}Configuring for PCRE support ...${T_ME}"
echo $ac_n "checking whether to compile with PCRE support""... $ac_c" 1>&6
-echo "configure:2553: checking whether to compile with PCRE support" >&5
+echo "configure:2594: checking whether to compile with PCRE support" >&5
# Check whether --enable-pcre or --disable-pcre was given.
if test "${enable_pcre+set}" = set; then
enableval="$enable_pcre"
@@ -2563,7 +2604,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2567: checking for $ac_word" >&5
+echo "configure:2608: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PCRE_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2603,11 +2644,11 @@
{ echo "configure: error: Unable to find pcre-config in path for PCRE support" 1>&2; exit 1; }
else
echo $ac_n "checking PCRE version""... $ac_c" 1>&6
-echo "configure:2607: checking PCRE version" >&5
+echo "configure:2648: checking PCRE version" >&5
pcre_version=`$PCRE_CONFIG --version`
echo "$ac_t""$pcre_version" 1>&6
echo $ac_n "checking for POSIX regex provider""... $ac_c" 1>&6
-echo "configure:2611: checking for POSIX regex provider" >&5
+echo "configure:2652: checking for POSIX regex provider" >&5
if test "x$has_posix_regex" != "x" ; then
LIBS="$LIBS `$PCRE_CONFIG --libs`"
CFLAGS="$CFLAGS `$PCRE_CONFIG --cflags`"
@@ -2620,17 +2661,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2624: checking for $ac_hdr" >&5
+echo "configure:2665: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2629 "configure"
+#line 2670 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2657,7 +2698,7 @@
done
echo $ac_n "checking for regcomp in -lpcreposix""... $ac_c" 1>&6
-echo "configure:2661: checking for regcomp in -lpcreposix" >&5
+echo "configure:2702: checking for regcomp in -lpcreposix" >&5
ac_lib_var=`echo pcreposix'_'regcomp | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2665,7 +2706,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lpcreposix $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2669 "configure"
+#line 2710 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2676,7 +2717,7 @@
regcomp()
; return 0; }
EOF
-if { (eval echo configure:2680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -2708,17 +2749,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:2712: checking for $ac_hdr" >&5
+echo "configure:2753: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2717 "configure"
+#line 2758 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -2747,12 +2788,12 @@
for ac_func in pcre_compile
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:2751: checking for $ac_func" >&5
+echo "configure:2792: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2756 "configure"
+#line 2797 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -2775,7 +2816,7 @@
; return 0; }
EOF
-if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -2828,7 +2869,7 @@
# Extract the first word of "jade", so it can be a program name with args.
set dummy jade; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2832: checking for $ac_word" >&5
+echo "configure:2873: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_JADE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2858,7 +2899,7 @@
# Extract the first word of "jadetex", so it can be a program name with args.
set dummy jadetex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2862: checking for $ac_word" >&5
+echo "configure:2903: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_JADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2888,7 +2929,7 @@
# Extract the first word of "pdfjadetex", so it can be a program name with args.
set dummy pdfjadetex; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2892: checking for $ac_word" >&5
+echo "configure:2933: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_PDFJADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2918,7 +2959,7 @@
# Extract the first word of "dvips", so it can be a program name with args.
set dummy dvips; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2922: checking for $ac_word" >&5
+echo "configure:2963: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_DVIPS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2948,7 +2989,7 @@
# Extract the first word of "fig2dev", so it can be a program name with args.
set dummy fig2dev; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2952: checking for $ac_word" >&5
+echo "configure:2993: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_FIG2DEV'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -2978,7 +3019,7 @@
# Extract the first word of "convert", so it can be a program name with args.
set dummy convert; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2982: checking for $ac_word" >&5
+echo "configure:3023: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CONVERT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3019,7 +3060,7 @@
ac_safe=`echo "$file" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $file""... $ac_c" 1>&6
-echo "configure:3023: checking for $file" >&5
+echo "configure:3064: checking for $file" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3059,7 +3100,7 @@
ac_safe=`echo "$file" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $file""... $ac_c" 1>&6
-echo "configure:3063: checking for $file" >&5
+echo "configure:3104: checking for $file" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3203,7 +3244,7 @@
if test "x$SUFFIX" != "x" ; then
echo $ac_n "checking whether to append suffix to binary""... $ac_c" 1>&6
-echo "configure:3207: checking whether to append suffix to binary" >&5
+echo "configure:3248: checking whether to append suffix to binary" >&5
echo "$ac_t""$SUFFIX" 1>&6
fi
@@ -3242,7 +3283,7 @@
echo $ac_n "checking which malloc to use""... $ac_c" 1>&6
-echo "configure:3246: checking which malloc to use" >&5
+echo "configure:3287: checking which malloc to use" >&5
# Check whether --with-malloc or --without-malloc was given.
if test "${with_malloc+set}" = set; then
withval="$with_malloc"
@@ -3333,7 +3374,7 @@
if test "$enableval" = "yes"
then
echo $ac_n "checking for pam_end in -lpam""... $ac_c" 1>&6
-echo "configure:3337: checking for pam_end in -lpam" >&5
+echo "configure:3378: checking for pam_end in -lpam" >&5
ac_lib_var=`echo pam'_'pam_end | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3341,7 +3382,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lpam $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3345 "configure"
+#line 3386 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3352,7 +3393,7 @@
pam_end()
; return 0; }
EOF
-if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3380,7 +3421,7 @@
fi
echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
-echo "configure:3384: checking for main in -ldl" >&5
+echo "configure:3425: checking for main in -ldl" >&5
ac_lib_var=`echo dl'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3388,14 +3429,14 @@
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3392 "configure"
+#line 3433 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:3399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3426,17 +3467,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:3430: checking for $ac_hdr" >&5
+echo "configure:3471: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3435 "configure"
+#line 3476 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -3631,7 +3672,7 @@
echo $ac_n "checking whether to compile with SSL support""... $ac_c" 1>&6
-echo "configure:3635: checking whether to compile with SSL support" >&5
+echo "configure:3676: checking whether to compile with SSL support" >&5
# Check whether --enable-ssl or --disable-ssl was given.
if test "${enable_ssl+set}" = set; then
enableval="$enable_ssl"
@@ -3676,7 +3717,7 @@
# Extract the first word of "openssl", so it can be a program name with args.
set dummy openssl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3680: checking for $ac_word" >&5
+echo "configure:3721: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_OPENSSL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -3711,12 +3752,12 @@
if test "$OPENSSL" = "yes"; then
echo $ac_n "checking openssl version""... $ac_c" 1>&6
-echo "configure:3715: checking openssl version" >&5
+echo "configure:3756: checking openssl version" >&5
openssl_version=`$OPENSSL version | awk '{print $2}'`
echo "$ac_t""$openssl_version" 1>&6
fi
echo $ac_n "checking for CRYPTO_lock in -lcrypto""... $ac_c" 1>&6
-echo "configure:3720: checking for CRYPTO_lock in -lcrypto" >&5
+echo "configure:3761: checking for CRYPTO_lock in -lcrypto" >&5
ac_lib_var=`echo crypto'_'CRYPTO_lock | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3724,7 +3765,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3728 "configure"
+#line 3769 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3735,7 +3776,7 @@
CRYPTO_lock()
; return 0; }
EOF
-if { (eval echo configure:3739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3752,7 +3793,7 @@
echo "$ac_t""yes" 1>&6
LIBS="$LIBS -lcrypto"
echo $ac_n "checking for SSL_library_init in -lssl""... $ac_c" 1>&6
-echo "configure:3756: checking for SSL_library_init in -lssl" >&5
+echo "configure:3797: checking for SSL_library_init in -lssl" >&5
ac_lib_var=`echo ssl'_'SSL_library_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3760,7 +3801,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lssl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3764 "configure"
+#line 3805 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3771,7 +3812,7 @@
SSL_library_init()
; return 0; }
EOF
-if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3787,7 +3828,7 @@
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
echo $ac_n "checking for SSL_connect in -lssl""... $ac_c" 1>&6
-echo "configure:3791: checking for SSL_connect in -lssl" >&5
+echo "configure:3832: checking for SSL_connect in -lssl" >&5
ac_lib_var=`echo ssl'_'SSL_connect | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -3795,7 +3836,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lssl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3799 "configure"
+#line 3840 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -3806,7 +3847,7 @@
SSL_connect()
; return 0; }
EOF
-if { (eval echo configure:3810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3838,17 +3879,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:3842: checking for $ac_hdr" >&5
+echo "configure:3883: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3847 "configure"
+#line 3888 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:3893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -3875,13 +3916,13 @@
done
echo $ac_n "checking whether the OpenSSL library is multithread-enabled""... $ac_c" 1>&6
-echo "configure:3879: checking whether the OpenSSL library is multithread-enabled" >&5
+echo "configure:3920: checking whether the OpenSSL library is multithread-enabled" >&5
if test "$cross_compiling" = yes; then
echo "Cross-compiling; make sure your SSL library is multithread-enabled"
else
cat > conftest.$ac_ext <<EOF
-#line 3885 "configure"
+#line 3926 "configure"
#include "confdefs.h"
#define OPENSSL_THREAD_DEFINES
@@ -3897,7 +3938,7 @@
}
EOF
-if { (eval echo configure:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6
@@ -3907,7 +3948,7 @@
LIBS="$LIBS -lssl"
echo $ac_n "checking whether to compile with SSL support""... $ac_c" 1>&6
-echo "configure:3911: checking whether to compile with SSL support" >&5
+echo "configure:3952: checking whether to compile with SSL support" >&5
echo "$ac_t""yes" 1>&6
else
@@ -3965,7 +4006,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:3969: checking for $ac_word" >&5
+echo "configure:4010: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MYSQL_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4003,15 +4044,15 @@
if test "$MYSQL_CONFIG" != "no"; then
echo $ac_n "checking mysql version""... $ac_c" 1>&6
-echo "configure:4007: checking mysql version" >&5
+echo "configure:4048: checking mysql version" >&5
mysql_version=`$MYSQL_CONFIG --version`
echo "$ac_t""$mysql_version" 1>&6
echo $ac_n "checking mysql libs""... $ac_c" 1>&6
-echo "configure:4011: checking mysql libs" >&5
+echo "configure:4052: checking mysql libs" >&5
LIBS="$LIBS `$MYSQL_CONFIG --libs`"
echo "$ac_t""`$MYSQL_CONFIG --libs`" 1>&6
echo $ac_n "checking mysql compiler flags""... $ac_c" 1>&6
-echo "configure:4015: checking mysql compiler flags" >&5
+echo "configure:4056: checking mysql compiler flags" >&5
CFLAGS="$CFLAGS `$MYSQL_CONFIG --cflags`"
echo "$ac_t""`$MYSQL_CONFIG --cflags`" 1>&6
fi
@@ -4025,7 +4066,7 @@
echo $ac_n "checking whether to compile with MySQL support""... $ac_c" 1>&6
-echo "configure:4029: checking whether to compile with MySQL support" >&5
+echo "configure:4070: checking whether to compile with MySQL support" >&5
# Check whether --enable-mysql or --disable-mysql was given.
if test "${enable_mysql+set}" = set; then
enableval="$enable_mysql"
@@ -4040,7 +4081,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4044: checking for $ac_word" >&5
+echo "configure:4085: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_MYSQL_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4081,12 +4122,12 @@
for loc in /usr /usr/local ; do
if test "x$found" = "x" ; then
echo $ac_n "checking for MySQL client support in""... $ac_c" 1>&6
-echo "configure:4085: checking for MySQL client support in" >&5
+echo "configure:4126: checking for MySQL client support in" >&5
echo "$ac_t""$loc" 1>&6
ac_safe=`echo ""$loc/include/mysql/mysql.h"" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for "$loc/include/mysql/mysql.h"""... $ac_c" 1>&6
-echo "configure:4090: checking for "$loc/include/mysql/mysql.h"" >&5
+echo "configure:4131: checking for "$loc/include/mysql/mysql.h"" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4108,7 +4149,7 @@
ac_safe=`echo ""$loc/include/mysql.h"" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for "$loc/include/mysql.h"""... $ac_c" 1>&6
-echo "configure:4112: checking for "$loc/include/mysql.h"" >&5
+echo "configure:4153: checking for "$loc/include/mysql.h"" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4141,7 +4182,7 @@
fi
else
echo $ac_n "checking mysql version""... $ac_c" 1>&6
-echo "configure:4145: checking mysql version" >&5
+echo "configure:4186: checking mysql version" >&5
mysql_version=`$MYSQL_CONFIG --version`
echo "$ac_t""$mysql_version" 1>&6
LIBS="$LIBS `$MYSQL_CONFIG --libs`"
@@ -4152,7 +4193,7 @@
ac_safe=`echo ""$mysqlloc/include/mysql/mysql.h"" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for "$mysqlloc/include/mysql/mysql.h"""... $ac_c" 1>&6
-echo "configure:4156: checking for "$mysqlloc/include/mysql/mysql.h"" >&5
+echo "configure:4197: checking for "$mysqlloc/include/mysql/mysql.h"" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4174,7 +4215,7 @@
ac_safe=`echo ""$mysqlloc/include/mysql.h"" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for "$mysqlloc/include/mysql.h"""... $ac_c" 1>&6
-echo "configure:4178: checking for "$mysqlloc/include/mysql.h"" >&5
+echo "configure:4219: checking for "$mysqlloc/include/mysql.h"" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4205,17 +4246,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4209: checking for $ac_hdr" >&5
+echo "configure:4250: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4214 "configure"
+#line 4255 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -4242,7 +4283,7 @@
done
echo $ac_n "checking for mysql_init in -lmysqlclient""... $ac_c" 1>&6
-echo "configure:4246: checking for mysql_init in -lmysqlclient" >&5
+echo "configure:4287: checking for mysql_init in -lmysqlclient" >&5
ac_lib_var=`echo mysqlclient'_'mysql_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4250,7 +4291,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lmysqlclient $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4254 "configure"
+#line 4295 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4261,7 +4302,7 @@
mysql_init()
; return 0; }
EOF
-if { (eval echo configure:4265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4293,7 +4334,7 @@
EOF
echo $ac_n "checking whether to compile with MySQL support""... $ac_c" 1>&6
-echo "configure:4297: checking whether to compile with MySQL support" >&5
+echo "configure:4338: checking whether to compile with MySQL support" >&5
echo "$ac_t""yes" 1>&6
MYSQL="yes"
fi
@@ -4308,7 +4349,7 @@
echo $ac_n "checking whether to compile with LibSDB support""... $ac_c" 1>&6
-echo "configure:4312: checking whether to compile with LibSDB support" >&5
+echo "configure:4353: checking whether to compile with LibSDB support" >&5
# Check whether --enable-sdb or --disable-sdb was given.
if test "${enable_sdb+set}" = set; then
enableval="$enable_sdb"
@@ -4322,7 +4363,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4326: checking for $ac_word" >&5
+echo "configure:4367: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SDB_CONFIG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4362,7 +4403,7 @@
{ echo "configure: error: Unable to find sdb-config in path for SDB support" 1>&2; exit 1; }
else
echo $ac_n "checking sdb version""... $ac_c" 1>&6
-echo "configure:4366: checking sdb version" >&5
+echo "configure:4407: checking sdb version" >&5
sdb_version=`$SDB_CONFIG --version`
echo "$ac_t""$sdb_version" 1>&6
LIBS="$LIBS `$SDB_CONFIG --libs`"
@@ -4371,17 +4412,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4375: checking for $ac_hdr" >&5
+echo "configure:4416: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4380 "configure"
+#line 4421 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -4410,12 +4451,12 @@
for ac_func in sdb_init
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:4414: checking for $ac_func" >&5
+echo "configure:4455: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4419 "configure"
+#line 4460 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -4438,7 +4479,7 @@
; return 0; }
EOF
-if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -4484,7 +4525,7 @@
echo $ac_n "checking whether to compile with SQLite support""... $ac_c" 1>&6
-echo "configure:4488: checking whether to compile with SQLite support" >&5
+echo "configure:4529: checking whether to compile with SQLite support" >&5
# Check whether --enable-sqlite or --disable-sqlite was given.
if test "${enable_sqlite+set}" = set; then
enableval="$enable_sqlite"
@@ -4497,17 +4538,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4501: checking for $ac_hdr" >&5
+echo "configure:4542: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4506 "configure"
+#line 4547 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4511: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -4535,7 +4576,7 @@
LIBS="$LIBS -L/usr/local/lib"
echo $ac_n "checking for sqlite_open in -lsqlite""... $ac_c" 1>&6
-echo "configure:4539: checking for sqlite_open in -lsqlite" >&5
+echo "configure:4580: checking for sqlite_open in -lsqlite" >&5
ac_lib_var=`echo sqlite'_'sqlite_open | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4543,7 +4584,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lsqlite $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4547 "configure"
+#line 4588 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4554,7 +4595,7 @@
sqlite_open()
; return 0; }
EOF
-if { (eval echo configure:4558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4579,7 +4620,7 @@
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:4583: checking for $ac_word" >&5
+echo "configure:4624: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SQLITE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -4616,7 +4657,7 @@
test -n "$SQLITE" || SQLITE="no"
echo $ac_n "checking sqlite version""... $ac_c" 1>&6
-echo "configure:4620: checking sqlite version" >&5
+echo "configure:4661: checking sqlite version" >&5
sqlite_version=`$SQLITE -version`
echo "$ac_t""$sqlite_version" 1>&6
cat >> confdefs.h <<\EOF
@@ -4636,7 +4677,7 @@
echo $ac_n "checking whether to compile with Oracle support""... $ac_c" 1>&6
-echo "configure:4640: checking whether to compile with Oracle support" >&5
+echo "configure:4681: checking whether to compile with Oracle support" >&5
# Check whether --enable-oracle or --disable-oracle was given.
if test "${enable_oracle+set}" = set; then
enableval="$enable_oracle"
@@ -4656,14 +4697,14 @@
CPPFLAGS="$CPPFLAGS -I$a"
done
echo $ac_n "checking for oci.h ""... $ac_c" 1>&6
-echo "configure:4660: checking for oci.h " >&5
+echo "configure:4701: checking for oci.h " >&5
cat > conftest.$ac_ext <<EOF
-#line 4662 "configure"
+#line 4703 "configure"
#include "confdefs.h"
#include <oci.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:4708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@@ -4692,7 +4733,7 @@
LIBS="$LIBS -L$a"
done
echo $ac_n "checking for OCIEnvCreate in -lclntsh""... $ac_c" 1>&6
-echo "configure:4696: checking for OCIEnvCreate in -lclntsh" >&5
+echo "configure:4737: checking for OCIEnvCreate in -lclntsh" >&5
ac_lib_var=`echo clntsh'_'OCIEnvCreate | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4700,7 +4741,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lclntsh $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4704 "configure"
+#line 4745 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4711,7 +4752,7 @@
OCIEnvCreate()
; return 0; }
EOF
-if { (eval echo configure:4715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4735,7 +4776,7 @@
if test -f "$ORACLE_HOME/lib/libwtc8.so"
then
echo $ac_n "checking for wtcstu in -lwtc8""... $ac_c" 1>&6
-echo "configure:4739: checking for wtcstu in -lwtc8" >&5
+echo "configure:4780: checking for wtcstu in -lwtc8" >&5
ac_lib_var=`echo wtc8'_'wtcstu | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4743,7 +4784,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lwtc8 $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4747 "configure"
+#line 4788 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4754,7 +4795,7 @@
wtcstu()
; return 0; }
EOF
-if { (eval echo configure:4758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4777,7 +4818,7 @@
else
echo $ac_n "checking for wtcstu in -lwtc9""... $ac_c" 1>&6
-echo "configure:4781: checking for wtcstu in -lwtc9" >&5
+echo "configure:4822: checking for wtcstu in -lwtc9" >&5
ac_lib_var=`echo wtc9'_'wtcstu | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4785,7 +4826,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lwtc9 $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4789 "configure"
+#line 4830 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4796,7 +4837,7 @@
wtcstu()
; return 0; }
EOF
-if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4824,7 +4865,7 @@
EOF
echo $ac_n "checking whether to compile with Oracle support""... $ac_c" 1>&6
-echo "configure:4828: checking whether to compile with Oracle support" >&5
+echo "configure:4869: checking whether to compile with Oracle support" >&5
echo "$ac_t""yes" 1>&6
else
@@ -4844,7 +4885,7 @@
for myval in $withval; do
echo $ac_n "checking for DLR storage type $myval""... $ac_c" 1>&6
-echo "configure:4848: checking for DLR storage type $myval" >&5
+echo "configure:4889: checking for DLR storage type $myval" >&5
case "$myval" in
internal)
;;
@@ -4902,14 +4943,14 @@
echo "${nl}${T_MD}Configuring WTLS support ...${T_ME}"
echo $ac_n "checking for WTLS library""... $ac_c" 1>&6
-echo "configure:4906: checking for WTLS library" >&5
+echo "configure:4947: checking for WTLS library" >&5
echo "$ac_t""$withval" 1>&6
case "$withval" in
openssl)
OLDLIBS="$LIBS"
LIBS="$LIBS -L/usr/local/ssl/lib -lcrypto"
echo $ac_n "checking for RSA_new in -lcrypto""... $ac_c" 1>&6
-echo "configure:4913: checking for RSA_new in -lcrypto" >&5
+echo "configure:4954: checking for RSA_new in -lcrypto" >&5
ac_lib_var=`echo crypto'_'RSA_new | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -4917,7 +4958,7 @@
ac_save_LIBS="$LIBS"
LIBS="-lcrypto $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 4921 "configure"
+#line 4962 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -4928,7 +4969,7 @@
RSA_new()
; return 0; }
EOF
-if { (eval echo configure:4932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -4947,17 +4988,17 @@
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4951: checking for $ac_hdr" >&5
+echo "configure:4992: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4956 "configure"
+#line 4997 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:5002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQA/pBNGnX3e5W+uJ0ERAuZCAKCqDkV1TlSE681665WFdSMrWAvrlwCeOB2F BaNTJqVlPLGRDhAhLsbQ7aA= =EANt -----END PGP SIGNATURE-----