Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 293835 | Differences between
and this patch

Collapse All | Expand All

(-)/root/csync2-1.34/Makefile.in (-1 / +4 lines)
Lines 81-86 Link Here
81
ECHO_N = @ECHO_N@
81
ECHO_N = @ECHO_N@
82
ECHO_T = @ECHO_T@
82
ECHO_T = @ECHO_T@
83
EXEEXT = @EXEEXT@
83
EXEEXT = @EXEEXT@
84
HAVE_LIBGNUTLS_FALSE = @HAVE_LIBGNUTLS_FALSE@
85
HAVE_LIBGNUTLS_TRUE = @HAVE_LIBGNUTLS_TRUE@
84
INSTALL_DATA = @INSTALL_DATA@
86
INSTALL_DATA = @INSTALL_DATA@
85
INSTALL_PROGRAM = @INSTALL_PROGRAM@
87
INSTALL_PROGRAM = @INSTALL_PROGRAM@
86
INSTALL_SCRIPT = @INSTALL_SCRIPT@
88
INSTALL_SCRIPT = @INSTALL_SCRIPT@
Lines 104-109 Link Here
104
PACKAGE_TARNAME = @PACKAGE_TARNAME@
106
PACKAGE_TARNAME = @PACKAGE_TARNAME@
105
PACKAGE_VERSION = @PACKAGE_VERSION@
107
PACKAGE_VERSION = @PACKAGE_VERSION@
106
PATH_SEPARATOR = @PATH_SEPARATOR@
108
PATH_SEPARATOR = @PATH_SEPARATOR@
109
PKG_CONFIG = @PKG_CONFIG@
107
PRIVATE_LIBRSYNC_FALSE = @PRIVATE_LIBRSYNC_FALSE@
110
PRIVATE_LIBRSYNC_FALSE = @PRIVATE_LIBRSYNC_FALSE@
108
PRIVATE_LIBRSYNC_TRUE = @PRIVATE_LIBRSYNC_TRUE@
111
PRIVATE_LIBRSYNC_TRUE = @PRIVATE_LIBRSYNC_TRUE@
109
PRIVATE_LIBSQLITE_FALSE = @PRIVATE_LIBSQLITE_FALSE@
112
PRIVATE_LIBSQLITE_FALSE = @PRIVATE_LIBSQLITE_FALSE@
Lines 215-221 Link Here
215
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
218
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
216
	COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
219
	COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
217
	cfgfile_parser.c cfgfile_parser.h cfgfile_scanner.c config.h.in \
220
	cfgfile_parser.c cfgfile_parser.h cfgfile_scanner.c config.h.in \
218
	configure.ac depcomp install-sh missing mkinstalldirs
221
	configure configure.ac depcomp install-sh missing mkinstalldirs
219
SOURCES = $(csync2_SOURCES)
222
SOURCES = $(csync2_SOURCES)
220
223
221
all: $(BUILT_SOURCES) config.h
224
all: $(BUILT_SOURCES) config.h
(-)/root/csync2-1.34/aclocal.m4 (-48 / +191 lines)
Lines 833-864 Link Here
833
Usually this means the macro was only invoked conditionally.])
833
Usually this means the macro was only invoked conditionally.])
834
fi])])
834
fi])])
835
835
836
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
837
838
# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
839
840
# This program is free software; you can redistribute it and/or modify
841
# it under the terms of the GNU General Public License as published by
842
# the Free Software Foundation; either version 2, or (at your option)
843
# any later version.
844
845
# This program is distributed in the hope that it will be useful,
846
# but WITHOUT ANY WARRANTY; without even the implied warranty of
847
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
848
# GNU General Public License for more details.
849
850
# You should have received a copy of the GNU General Public License
851
# along with this program; if not, write to the Free Software
852
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
853
# 02111-1307, USA.
854
855
AC_PREREQ([2.52])
856
857
# serial 6
858
859
# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
860
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
861
862
836
863
# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
837
# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
864
838
Lines 899-904 Link Here
899
# Configure paths for LIBGCRYPT
873
# Configure paths for LIBGCRYPT
900
# Shamelessly stolen from the one of XDELTA by Owen Taylor
874
# Shamelessly stolen from the one of XDELTA by Owen Taylor
901
# Werner Koch   99-12-09
875
# Werner Koch   99-12-09
876
# 10-years-old code is not as good as brandy would...
877
# gnutls now uses pkg-config and doesn't ship gnutls-config anymore.
878
# Giampaolo Tomassoni 2009-09-15
902
879
903
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
880
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
904
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS
881
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS
Lines 911-944 Link Here
911
          [  --with-libgnutls-prefix=PFX   Prefix where libgnutls is installed (optional)],
888
          [  --with-libgnutls-prefix=PFX   Prefix where libgnutls is installed (optional)],
912
          libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
889
          libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
913
890
914
  if test x$libgnutls_config_prefix != x ; then
915
     if test x${LIBGNUTLS_CONFIG+set} != xset ; then
916
        LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
917
     fi
918
  fi
919
920
  AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config, no)
921
  min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
891
  min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
922
  AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
892
  AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
923
  no_libgnutls=""
924
  if test "$LIBGNUTLS_CONFIG" = "no" ; then
925
    no_libgnutls=yes
926
  else
927
    LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
928
    LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
929
    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
930
893
894
  PKG_CHECK_EXISTS(
895
  	gnutls,
896
	[
897
		LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls`
898
		LIBGNUTLS_LIBS=`$PKG_CONFIG --libs gnutls`
899
		libgnutls_config_version=`$PKG_CONFIG --modversion gnutls`
900
	],
901
	[
902
		AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config,, [$libgnutls_config_prefix/bin$PATH_SEPARATOR$PATH])
903
		if test "$LIBGNUTLS_CONFIG"=no
904
		then
905
			no_libgnutls=yes
906
			echo "Can't obtain gnutls package info!" >&2
907
		fi
908
909
		LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
910
		LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
911
		libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
912
	]
913
  )
914
915
  if test "$no_libgnutls" != no
916
  then
917
    ac_save_CFLAGS="$CFLAGS"
918
    ac_save_LIBS="$LIBS"
919
    CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
920
    LIBS="$LIBS $LIBGNUTLS_LIBS"
931
921
932
      ac_save_CFLAGS="$CFLAGS"
933
      ac_save_LIBS="$LIBS"
934
      CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
935
      LIBS="$LIBS $LIBGNUTLS_LIBS"
936
dnl
922
dnl
937
dnl Now check if the installed libgnutls is sufficiently new. Also sanity
923
dnl Now check if the installed libgnutls is sufficiently new. Also sanity
938
dnl checks the results of libgnutls-config to some extent
924
dnl checks the results of libgnutls-config to some extent
939
dnl
925
dnl
940
      rm -f conf.libgnutlstest
926
    rm -f conf.libgnutlstest
941
      AC_TRY_RUN([
927
    AC_TRY_RUN([
942
#include <stdio.h>
928
#include <stdio.h>
943
#include <stdlib.h>
929
#include <stdlib.h>
944
#include <string.h>
930
#include <string.h>
Lines 1000-1005 Link Here
1000
  if test "x$no_libgnutls" = x ; then
986
  if test "x$no_libgnutls" = x ; then
1001
     AC_MSG_RESULT(yes)
987
     AC_MSG_RESULT(yes)
1002
     ifelse([$2], , :, [$2])
988
     ifelse([$2], , :, [$2])
989
990
     AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have the `gnutls' library (-lgnutls).])
1003
  else
991
  else
1004
     if test -f conf.libgnutlstest ; then
992
     if test -f conf.libgnutlstest ; then
1005
        :
993
        :
Lines 1045-1055 Link Here
1045
     LIBGNUTLS_CFLAGS=""
1033
     LIBGNUTLS_CFLAGS=""
1046
     LIBGNUTLS_LIBS=""
1034
     LIBGNUTLS_LIBS=""
1047
     ifelse([$3], , :, [$3])
1035
     ifelse([$3], , :, [$3])
1048
  fi
1036
   fi
1037
1049
  rm -f conf.libgnutlstest
1038
  rm -f conf.libgnutlstest
1050
  AC_SUBST(LIBGNUTLS_CFLAGS)
1039
  AC_SUBST(LIBGNUTLS_CFLAGS)
1051
  AC_SUBST(LIBGNUTLS_LIBS)
1040
  AC_SUBST(LIBGNUTLS_LIBS)
1052
])
1041
])
1053
1042
1054
dnl *-*wedit:notab*-*  Please keep this as the last line.
1043
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
1044
# 
1045
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
1046
#
1047
# This program is free software; you can redistribute it and/or modify
1048
# it under the terms of the GNU General Public License as published by
1049
# the Free Software Foundation; either version 2 of the License, or
1050
# (at your option) any later version.
1051
#
1052
# This program is distributed in the hope that it will be useful, but
1053
# WITHOUT ANY WARRANTY; without even the implied warranty of
1054
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1055
# General Public License for more details.
1056
#
1057
# You should have received a copy of the GNU General Public License
1058
# along with this program; if not, write to the Free Software
1059
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1060
#
1061
# As a special exception to the GNU General Public License, if you
1062
# distribute this file as part of a program that contains a
1063
# configuration script generated by Autoconf, you may include it under
1064
# the same distribution terms that you use for the rest of that program.
1065
1066
# PKG_PROG_PKG_CONFIG([MIN-VERSION])
1067
# ----------------------------------
1068
AC_DEFUN([PKG_PROG_PKG_CONFIG],
1069
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
1070
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
1071
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
1072
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
1073
	AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
1074
fi
1075
if test -n "$PKG_CONFIG"; then
1076
	_pkg_min_version=m4_default([$1], [0.9.0])
1077
	AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
1078
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
1079
		AC_MSG_RESULT([yes])
1080
	else
1081
		AC_MSG_RESULT([no])
1082
		PKG_CONFIG=""
1083
	fi
1084
		
1085
fi[]dnl
1086
])# PKG_PROG_PKG_CONFIG
1087
1088
# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1089
#
1090
# Check to see whether a particular set of modules exists.  Similar
1091
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
1092
#
1093
#
1094
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
1095
# this or PKG_CHECK_MODULES is called, or make sure to call
1096
# PKG_CHECK_EXISTS manually
1097
# --------------------------------------------------------------
1098
AC_DEFUN([PKG_CHECK_EXISTS],
1099
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1100
if test -n "$PKG_CONFIG" && \
1101
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
1102
  m4_ifval([$2], [$2], [:])
1103
m4_ifvaln([$3], [else
1104
  $3])dnl
1105
fi])
1106
1107
1108
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
1109
# ---------------------------------------------
1110
m4_define([_PKG_CONFIG],
1111
[if test -n "$$1"; then
1112
    pkg_cv_[]$1="$$1"
1113
 elif test -n "$PKG_CONFIG"; then
1114
    PKG_CHECK_EXISTS([$3],
1115
                     [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
1116
		     [pkg_failed=yes])
1117
 else
1118
    pkg_failed=untried
1119
fi[]dnl
1120
])# _PKG_CONFIG
1121
1122
# _PKG_SHORT_ERRORS_SUPPORTED
1123
# -----------------------------
1124
AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
1125
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1126
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
1127
        _pkg_short_errors_supported=yes
1128
else
1129
        _pkg_short_errors_supported=no
1130
fi[]dnl
1131
])# _PKG_SHORT_ERRORS_SUPPORTED
1132
1133
1134
# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
1135
# [ACTION-IF-NOT-FOUND])
1136
#
1137
#
1138
# Note that if there is a possibility the first call to
1139
# PKG_CHECK_MODULES might not happen, you should be sure to include an
1140
# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
1141
#
1142
#
1143
# --------------------------------------------------------------
1144
AC_DEFUN([PKG_CHECK_MODULES],
1145
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
1146
AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
1147
AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
1148
1149
pkg_failed=no
1150
AC_MSG_CHECKING([for $1])
1151
1152
_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
1153
_PKG_CONFIG([$1][_LIBS], [libs], [$2])
1154
1155
m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
1156
and $1[]_LIBS to avoid the need to call pkg-config.
1157
See the pkg-config man page for more details.])
1158
1159
if test $pkg_failed = yes; then
1160
        _PKG_SHORT_ERRORS_SUPPORTED
1161
        if test $_pkg_short_errors_supported = yes; then
1162
	        $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
1163
        else 
1164
	        $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
1165
        fi
1166
	# Put the nasty error message in config.log where it belongs
1167
	echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
1168
1169
	ifelse([$4], , [AC_MSG_ERROR(dnl
1170
[Package requirements ($2) were not met:
1171
1172
$$1_PKG_ERRORS
1173
1174
Consider adjusting the PKG_CONFIG_PATH environment variable if you
1175
installed software in a non-standard prefix.
1176
1177
_PKG_TEXT
1178
])],
1179
		[AC_MSG_RESULT([no])
1180
                $4])
1181
elif test $pkg_failed = untried; then
1182
	ifelse([$4], , [AC_MSG_FAILURE(dnl
1183
[The pkg-config script could not be found or is too old.  Make sure it
1184
is in your PATH or set the PKG_CONFIG environment variable to the full
1185
path to pkg-config.
1186
1187
_PKG_TEXT
1188
1189
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
1190
		[$4])
1191
else
1192
	$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
1193
	$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
1194
        AC_MSG_RESULT([yes])
1195
	ifelse([$3], , :, [$3])
1196
fi[]dnl
1197
])# PKG_CHECK_MODULES
1055
1198
(-)/root/csync2-1.34/autogen.sh (-1 / +1 lines)
Lines 18-24 Link Here
18
# along with this program; if not, write to the Free Software
18
# along with this program; if not, write to the Free Software
19
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20
20
21
aclocal-1.7
21
aclocal-1.7 -I m4
22
autoheader
22
autoheader
23
automake-1.7 --add-missing --copy
23
automake-1.7 --add-missing --copy
24
autoconf
24
autoconf
(-)/root/csync2-1.34/config.h.in (-2 / +2 lines)
Lines 1-7 Link Here
1
/* config.h.in.  Generated from configure.ac by autoheader.  */
1
/* config.h.in.  Generated from configure.ac by autoheader.  */
2
2
3
/* Define to 1 if you have the `gnutls-openssl' library (-lgnutls-openssl). */
3
/* Define to 1 if you have the `gnutls' library (-lgnutls). */
4
#undef HAVE_LIBGNUTLS_OPENSSL
4
#undef HAVE_LIBGNUTLS
5
5
6
/* Define to 1 if you have the `rsync' library (-lrsync). */
6
/* Define to 1 if you have the `rsync' library (-lrsync). */
7
#undef HAVE_LIBRSYNC
7
#undef HAVE_LIBRSYNC
(-)/root/csync2-1.34/configure (-1040 / +1386 lines)
Lines 1-11 Link Here
1
#! /bin/sh
1
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for csync2 1.34.
3
# Generated by GNU Autoconf 2.63 for csync2 1.34.
4
#
4
#
5
# Report bugs to <clifford@clifford.at>.
5
# Report bugs to <clifford@clifford.at>.
6
#
6
#
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
11
## --------------------- ##
Lines 17-23 Link Here
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
  emulate sh
18
  emulate sh
19
  NULLCMD=:
19
  NULLCMD=:
20
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
23
  setopt NO_GLOB_SUBST
Lines 39-55 Link Here
39
as_cr_digits='0123456789'
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
41
42
# The user is always right.
42
as_nl='
43
if test "${PATH_SEPARATOR+set}" != set; then
43
'
44
  echo "#! /bin/sh" >conf$$.sh
44
export as_nl
45
  echo  "exit 0"   >>conf$$.sh
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
  chmod +x conf$$.sh
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
    PATH_SEPARATOR=';'
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50
  as_echo='printf %s\n'
51
  as_echo_n='printf %s'
52
else
53
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
    as_echo_n='/usr/ucb/echo -n'
49
  else
56
  else
50
    PATH_SEPARATOR=:
57
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58
    as_echo_n_body='eval
59
      arg=$1;
60
      case $arg in
61
      *"$as_nl"*)
62
	expr "X$arg" : "X\\(.*\\)$as_nl";
63
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
      esac;
65
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
    '
67
    export as_echo_n_body
68
    as_echo_n='sh -c $as_echo_n_body as_echo'
51
  fi
69
  fi
52
  rm -f conf$$.sh
70
  export as_echo_body
71
  as_echo='sh -c $as_echo_body as_echo'
72
fi
73
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
76
  PATH_SEPARATOR=:
77
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79
      PATH_SEPARATOR=';'
80
  }
53
fi
81
fi
54
82
55
# Support unset when possible.
83
# Support unset when possible.
Lines 65-72 Link Here
65
# there to prevent editors from complaining about space-tab.
93
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
95
# splitting by setting IFS to empty value.)
68
as_nl='
69
'
70
IFS=" ""	$as_nl"
96
IFS=" ""	$as_nl"
71
97
72
# Find who we are.  Look in the path if we contain no directory separator.
98
# Find who we are.  Look in the path if we contain no directory separator.
Lines 89-95 Link Here
89
  as_myself=$0
115
  as_myself=$0
90
fi
116
fi
91
if test ! -f "$as_myself"; then
117
if test ! -f "$as_myself"; then
92
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93
  { (exit 1); exit 1; }
119
  { (exit 1); exit 1; }
94
fi
120
fi
95
121
Lines 102-118 Link Here
102
PS4='+ '
128
PS4='+ '
103
129
104
# NLS nuisances.
130
# NLS nuisances.
105
for as_var in \
131
LC_ALL=C
106
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
132
export LC_ALL
107
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
133
LANGUAGE=C
108
  LC_TELEPHONE LC_TIME
134
export LANGUAGE
109
do
110
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
    eval $as_var=C; export $as_var
112
  else
113
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114
  fi
115
done
116
135
117
# Required to use basename.
136
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
Lines 134-140 Link Here
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
	 X"$0" : 'X\(//\)$' \| \
154
	 X"$0" : 'X\(//\)$' \| \
136
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137
echo X/"$0" |
156
$as_echo X/"$0" |
138
    sed '/^.*\/\([^/][^/]*\)\/*$/{
157
    sed '/^.*\/\([^/][^/]*\)\/*$/{
139
	    s//\1/
158
	    s//\1/
140
	    q
159
	    q
Lines 160-166 Link Here
160
  as_have_required=no
179
  as_have_required=no
161
fi
180
fi
162
181
163
  if test $as_have_required = yes && 	 (eval ":
182
  if test $as_have_required = yes &&	 (eval ":
164
(as_func_return () {
183
(as_func_return () {
165
  (exit \$1)
184
  (exit \$1)
166
}
185
}
Lines 242-248 Link Here
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
  emulate sh
262
  emulate sh
244
  NULLCMD=:
263
  NULLCMD=:
245
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
246
  # is contrary to our usage.  Disable this feature.
265
  # is contrary to our usage.  Disable this feature.
247
  alias -g '${1+"$@"}'='"$@"'
266
  alias -g '${1+"$@"}'='"$@"'
248
  setopt NO_GLOB_SUBST
267
  setopt NO_GLOB_SUBST
Lines 263-269 Link Here
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
  emulate sh
283
  emulate sh
265
  NULLCMD=:
284
  NULLCMD=:
266
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
285
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
267
  # is contrary to our usage.  Disable this feature.
286
  # is contrary to our usage.  Disable this feature.
268
  alias -g '${1+"$@"}'='"$@"'
287
  alias -g '${1+"$@"}'='"$@"'
269
  setopt NO_GLOB_SUBST
288
  setopt NO_GLOB_SUBST
Lines 343-352 Link Here
343
362
344
      if test "x$CONFIG_SHELL" != x; then
363
      if test "x$CONFIG_SHELL" != x; then
345
  for as_var in BASH_ENV ENV
364
  for as_var in BASH_ENV ENV
346
        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365
	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
        done
366
	done
348
        export CONFIG_SHELL
367
	export CONFIG_SHELL
349
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368
	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
fi
369
fi
351
370
352
371
Lines 415-423 Link Here
415
434
416
test \$exitcode = 0") || {
435
test \$exitcode = 0") || {
417
  echo No shell found that supports shell functions.
436
  echo No shell found that supports shell functions.
418
  echo Please tell autoconf@gnu.org about your system,
437
  echo Please tell bug-autoconf@gnu.org about your system,
419
  echo including any error possibly output before this
438
  echo including any error possibly output before this message.
420
  echo message
439
  echo This can help us improve future autoconf versions.
440
  echo Configuration will now proceed without shell functions.
421
}
441
}
422
442
423
443
Lines 453-459 Link Here
453
      s/-\n.*//
473
      s/-\n.*//
454
    ' >$as_me.lineno &&
474
    ' >$as_me.lineno &&
455
  chmod +x "$as_me.lineno" ||
475
  chmod +x "$as_me.lineno" ||
456
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
   { (exit 1); exit 1; }; }
477
   { (exit 1); exit 1; }; }
458
478
459
  # Don't try to exec as it changes $[0], causing all sort of problems
479
  # Don't try to exec as it changes $[0], causing all sort of problems
Lines 481-487 Link Here
481
*)
501
*)
482
  ECHO_N='-n';;
502
  ECHO_N='-n';;
483
esac
503
esac
484
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
505
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487
  as_expr=expr
506
  as_expr=expr
Lines 494-512 Link Here
494
  rm -f conf$$.dir/conf$$.file
513
  rm -f conf$$.dir/conf$$.file
495
else
514
else
496
  rm -f conf$$.dir
515
  rm -f conf$$.dir
497
  mkdir conf$$.dir
516
  mkdir conf$$.dir 2>/dev/null
498
fi
517
fi
499
echo >conf$$.file
518
if (echo >conf$$.file) 2>/dev/null; then
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
  if ln -s conf$$.file conf$$ 2>/dev/null; then
501
  as_ln_s='ln -s'
520
    as_ln_s='ln -s'
502
  # ... but there are two gotchas:
521
    # ... but there are two gotchas:
503
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
522
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
523
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
  # In both cases, we have to default to `cp -p'.
524
    # In both cases, we have to default to `cp -p'.
506
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526
      as_ln_s='cp -p'
527
  elif ln conf$$.file conf$$ 2>/dev/null; then
528
    as_ln_s=ln
529
  else
507
    as_ln_s='cp -p'
530
    as_ln_s='cp -p'
508
elif ln conf$$.file conf$$ 2>/dev/null; then
531
  fi
509
  as_ln_s=ln
510
else
532
else
511
  as_ln_s='cp -p'
533
  as_ln_s='cp -p'
512
fi
534
fi
Lines 531-540 Link Here
531
  as_test_x='
553
  as_test_x='
532
    eval sh -c '\''
554
    eval sh -c '\''
533
      if test -d "$1"; then
555
      if test -d "$1"; then
534
        test -d "$1/.";
556
	test -d "$1/.";
535
      else
557
      else
536
	case $1 in
558
	case $1 in
537
        -*)set "./$1";;
559
	-*)set "./$1";;
538
	esac;
560
	esac;
539
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
561
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
	???[sx]*):;;*)false;;esac;fi
562
	???[sx]*):;;*)false;;esac;fi
Lines 579-672 Link Here
579
PACKAGE_BUGREPORT='clifford@clifford.at'
601
PACKAGE_BUGREPORT='clifford@clifford.at'
580
602
581
ac_unique_file="csync2.c"
603
ac_unique_file="csync2.c"
582
ac_subst_vars='SHELL
604
ac_subst_vars='LTLIBOBJS
583
PATH_SEPARATOR
584
PACKAGE_NAME
585
PACKAGE_TARNAME
586
PACKAGE_VERSION
587
PACKAGE_STRING
588
PACKAGE_BUGREPORT
589
exec_prefix
590
prefix
591
program_transform_name
592
bindir
593
sbindir
594
libexecdir
595
datarootdir
596
datadir
597
sysconfdir
598
sharedstatedir
599
localstatedir
600
includedir
601
oldincludedir
602
docdir
603
infodir
604
htmldir
605
dvidir
606
pdfdir
607
psdir
608
libdir
609
localedir
610
mandir
611
DEFS
612
ECHO_C
613
ECHO_N
614
ECHO_T
615
LIBS
616
build_alias
617
host_alias
618
target_alias
619
INSTALL_PROGRAM
620
INSTALL_SCRIPT
621
INSTALL_DATA
622
CYGPATH_W
623
PACKAGE
624
VERSION
625
ACLOCAL
626
AUTOCONF
627
AUTOMAKE
628
AUTOHEADER
629
MAKEINFO
630
AMTAR
631
install_sh
632
STRIP
633
INSTALL_STRIP_PROGRAM
634
AWK
635
SET_MAKE
636
am__leading_dot
637
CC
638
CFLAGS
639
LDFLAGS
640
CPPFLAGS
641
ac_ct_CC
642
EXEEXT
643
OBJEXT
644
DEPDIR
645
am__include
646
am__quote
647
AMDEP_TRUE
648
AMDEP_FALSE
649
AMDEPBACKSLASH
650
CCDEPMODE
651
am__fastdepCC_TRUE
652
am__fastdepCC_FALSE
653
YACC
654
YFLAGS
655
LEX
656
LEX_OUTPUT_ROOT
657
LEXLIB
658
librsync_source_file
659
PRIVATE_LIBRSYNC_TRUE
660
PRIVATE_LIBRSYNC_FALSE
661
libsqlite_source_file
662
PRIVATE_LIBSQLITE_TRUE
663
PRIVATE_LIBSQLITE_FALSE
664
LIBGNUTLS_CONFIG
665
LIBGNUTLS_CFLAGS
666
LIBGNUTLS_LIBS
667
LIBOBJS
605
LIBOBJS
668
LTLIBOBJS'
606
HAVE_LIBGNUTLS_FALSE
607
HAVE_LIBGNUTLS_TRUE
608
LIBGNUTLS_LIBS
609
LIBGNUTLS_CFLAGS
610
LIBGNUTLS_CONFIG
611
PKG_CONFIG
612
PRIVATE_LIBSQLITE_FALSE
613
PRIVATE_LIBSQLITE_TRUE
614
libsqlite_source_file
615
PRIVATE_LIBRSYNC_FALSE
616
PRIVATE_LIBRSYNC_TRUE
617
librsync_source_file
618
LEXLIB
619
LEX_OUTPUT_ROOT
620
LEX
621
YFLAGS
622
YACC
623
am__fastdepCC_FALSE
624
am__fastdepCC_TRUE
625
CCDEPMODE
626
AMDEPBACKSLASH
627
AMDEP_FALSE
628
AMDEP_TRUE
629
am__quote
630
am__include
631
DEPDIR
632
OBJEXT
633
EXEEXT
634
ac_ct_CC
635
CPPFLAGS
636
LDFLAGS
637
CFLAGS
638
CC
639
am__leading_dot
640
SET_MAKE
641
AWK
642
INSTALL_STRIP_PROGRAM
643
STRIP
644
install_sh
645
AMTAR
646
MAKEINFO
647
AUTOHEADER
648
AUTOMAKE
649
AUTOCONF
650
ACLOCAL
651
VERSION
652
PACKAGE
653
CYGPATH_W
654
INSTALL_DATA
655
INSTALL_SCRIPT
656
INSTALL_PROGRAM
657
target_alias
658
host_alias
659
build_alias
660
LIBS
661
ECHO_T
662
ECHO_N
663
ECHO_C
664
DEFS
665
mandir
666
localedir
667
libdir
668
psdir
669
pdfdir
670
dvidir
671
htmldir
672
infodir
673
docdir
674
oldincludedir
675
includedir
676
localstatedir
677
sharedstatedir
678
sysconfdir
679
datadir
680
datarootdir
681
libexecdir
682
sbindir
683
bindir
684
program_transform_name
685
prefix
686
exec_prefix
687
PACKAGE_BUGREPORT
688
PACKAGE_STRING
689
PACKAGE_VERSION
690
PACKAGE_TARNAME
691
PACKAGE_NAME
692
PATH_SEPARATOR
693
SHELL'
669
ac_subst_files=''
694
ac_subst_files=''
695
ac_user_opts='
696
enable_option_checking
697
enable_dependency_tracking
698
with_librsync_source
699
with_libsqlite_source
700
enable_gnutls
701
with_libgnutls_prefix
702
'
670
      ac_precious_vars='build_alias
703
      ac_precious_vars='build_alias
671
host_alias
704
host_alias
672
target_alias
705
target_alias
Lines 676-687 Link Here
676
LIBS
709
LIBS
677
CPPFLAGS
710
CPPFLAGS
678
YACC
711
YACC
679
YFLAGS'
712
YFLAGS
713
PKG_CONFIG'
680
714
681
715
682
# Initialize some variables set by options.
716
# Initialize some variables set by options.
683
ac_init_help=
717
ac_init_help=
684
ac_init_version=false
718
ac_init_version=false
719
ac_unrecognized_opts=
720
ac_unrecognized_sep=
685
# The variables have the same names as the options, with
721
# The variables have the same names as the options, with
686
# dashes changed to underlines.
722
# dashes changed to underlines.
687
cache_file=/dev/null
723
cache_file=/dev/null
Lines 780-792 Link Here
780
    datarootdir=$ac_optarg ;;
816
    datarootdir=$ac_optarg ;;
781
817
782
  -disable-* | --disable-*)
818
  -disable-* | --disable-*)
783
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
819
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
784
    # Reject names that are not valid shell variable names.
820
    # Reject names that are not valid shell variable names.
785
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
821
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
786
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
822
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
787
   { (exit 1); exit 1; }; }
823
   { (exit 1); exit 1; }; }
788
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
824
    ac_useropt_orig=$ac_useropt
789
    eval enable_$ac_feature=no ;;
825
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826
    case $ac_user_opts in
827
      *"
828
"enable_$ac_useropt"
829
"*) ;;
830
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
831
	 ac_unrecognized_sep=', ';;
832
    esac
833
    eval enable_$ac_useropt=no ;;
790
834
791
  -docdir | --docdir | --docdi | --doc | --do)
835
  -docdir | --docdir | --docdi | --doc | --do)
792
    ac_prev=docdir ;;
836
    ac_prev=docdir ;;
Lines 799-811 Link Here
799
    dvidir=$ac_optarg ;;
843
    dvidir=$ac_optarg ;;
800
844
801
  -enable-* | --enable-*)
845
  -enable-* | --enable-*)
802
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
846
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
803
    # Reject names that are not valid shell variable names.
847
    # Reject names that are not valid shell variable names.
804
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
848
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
805
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
849
      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
806
   { (exit 1); exit 1; }; }
850
   { (exit 1); exit 1; }; }
807
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
851
    ac_useropt_orig=$ac_useropt
808
    eval enable_$ac_feature=\$ac_optarg ;;
852
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
853
    case $ac_user_opts in
854
      *"
855
"enable_$ac_useropt"
856
"*) ;;
857
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
858
	 ac_unrecognized_sep=', ';;
859
    esac
860
    eval enable_$ac_useropt=\$ac_optarg ;;
809
861
810
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
862
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
811
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
863
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Lines 996-1017 Link Here
996
    ac_init_version=: ;;
1048
    ac_init_version=: ;;
997
1049
998
  -with-* | --with-*)
1050
  -with-* | --with-*)
999
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1051
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1000
    # Reject names that are not valid shell variable names.
1052
    # Reject names that are not valid shell variable names.
1001
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1054
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1003
   { (exit 1); exit 1; }; }
1055
   { (exit 1); exit 1; }; }
1004
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1056
    ac_useropt_orig=$ac_useropt
1005
    eval with_$ac_package=\$ac_optarg ;;
1057
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058
    case $ac_user_opts in
1059
      *"
1060
"with_$ac_useropt"
1061
"*) ;;
1062
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1063
	 ac_unrecognized_sep=', ';;
1064
    esac
1065
    eval with_$ac_useropt=\$ac_optarg ;;
1006
1066
1007
  -without-* | --without-*)
1067
  -without-* | --without-*)
1008
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1068
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1009
    # Reject names that are not valid shell variable names.
1069
    # Reject names that are not valid shell variable names.
1010
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1070
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1011
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1071
      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1012
   { (exit 1); exit 1; }; }
1072
   { (exit 1); exit 1; }; }
1013
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1073
    ac_useropt_orig=$ac_useropt
1014
    eval with_$ac_package=no ;;
1074
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075
    case $ac_user_opts in
1076
      *"
1077
"with_$ac_useropt"
1078
"*) ;;
1079
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1080
	 ac_unrecognized_sep=', ';;
1081
    esac
1082
    eval with_$ac_useropt=no ;;
1015
1083
1016
  --x)
1084
  --x)
1017
    # Obsolete; use --with-x.
1085
    # Obsolete; use --with-x.
Lines 1031-1037 Link Here
1031
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1099
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1032
    x_libraries=$ac_optarg ;;
1100
    x_libraries=$ac_optarg ;;
1033
1101
1034
  -*) { echo "$as_me: error: unrecognized option: $ac_option
1102
  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1035
Try \`$0 --help' for more information." >&2
1103
Try \`$0 --help' for more information." >&2
1036
   { (exit 1); exit 1; }; }
1104
   { (exit 1); exit 1; }; }
1037
    ;;
1105
    ;;
Lines 1040-1055 Link Here
1040
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1108
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041
    # Reject names that are not valid shell variable names.
1109
    # Reject names that are not valid shell variable names.
1042
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1110
    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1043
      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1111
      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1044
   { (exit 1); exit 1; }; }
1112
   { (exit 1); exit 1; }; }
1045
    eval $ac_envvar=\$ac_optarg
1113
    eval $ac_envvar=\$ac_optarg
1046
    export $ac_envvar ;;
1114
    export $ac_envvar ;;
1047
1115
1048
  *)
1116
  *)
1049
    # FIXME: should be removed in autoconf 3.0.
1117
    # FIXME: should be removed in autoconf 3.0.
1050
    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1118
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1051
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1119
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1052
      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1120
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1053
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1121
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1054
    ;;
1122
    ;;
1055
1123
Lines 1058-1079 Link Here
1058
1126
1059
if test -n "$ac_prev"; then
1127
if test -n "$ac_prev"; then
1060
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1128
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1061
  { echo "$as_me: error: missing argument to $ac_option" >&2
1129
  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1062
   { (exit 1); exit 1; }; }
1130
   { (exit 1); exit 1; }; }
1063
fi
1131
fi
1064
1132
1065
# Be sure to have absolute directory names.
1133
if test -n "$ac_unrecognized_opts"; then
1134
  case $enable_option_checking in
1135
    no) ;;
1136
    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1137
   { (exit 1); exit 1; }; } ;;
1138
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1139
  esac
1140
fi
1141
1142
# Check all directory arguments for consistency.
1066
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1143
for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1067
		datadir sysconfdir sharedstatedir localstatedir includedir \
1144
		datadir sysconfdir sharedstatedir localstatedir includedir \
1068
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1145
		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1069
		libdir localedir mandir
1146
		libdir localedir mandir
1070
do
1147
do
1071
  eval ac_val=\$$ac_var
1148
  eval ac_val=\$$ac_var
1149
  # Remove trailing slashes.
1150
  case $ac_val in
1151
    */ )
1152
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1153
      eval $ac_var=\$ac_val;;
1154
  esac
1155
  # Be sure to have absolute directory names.
1072
  case $ac_val in
1156
  case $ac_val in
1073
    [\\/$]* | ?:[\\/]* )  continue;;
1157
    [\\/$]* | ?:[\\/]* )  continue;;
1074
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1158
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1075
  esac
1159
  esac
1076
  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1160
  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1077
   { (exit 1); exit 1; }; }
1161
   { (exit 1); exit 1; }; }
1078
done
1162
done
1079
1163
Lines 1088-1094 Link Here
1088
if test "x$host_alias" != x; then
1172
if test "x$host_alias" != x; then
1089
  if test "x$build_alias" = x; then
1173
  if test "x$build_alias" = x; then
1090
    cross_compiling=maybe
1174
    cross_compiling=maybe
1091
    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1175
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1092
    If a cross compiler is detected then cross compile mode will be used." >&2
1176
    If a cross compiler is detected then cross compile mode will be used." >&2
1093
  elif test "x$build_alias" != "x$host_alias"; then
1177
  elif test "x$build_alias" != "x$host_alias"; then
1094
    cross_compiling=yes
1178
    cross_compiling=yes
Lines 1104-1113 Link Here
1104
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1188
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1105
ac_ls_di=`ls -di .` &&
1189
ac_ls_di=`ls -di .` &&
1106
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1190
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1107
  { echo "$as_me: error: Working directory cannot be determined" >&2
1191
  { $as_echo "$as_me: error: working directory cannot be determined" >&2
1108
   { (exit 1); exit 1; }; }
1192
   { (exit 1); exit 1; }; }
1109
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1193
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1110
  { echo "$as_me: error: pwd does not report name of working directory" >&2
1194
  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1111
   { (exit 1); exit 1; }; }
1195
   { (exit 1); exit 1; }; }
1112
1196
1113
1197
Lines 1115-1126 Link Here
1115
if test -z "$srcdir"; then
1199
if test -z "$srcdir"; then
1116
  ac_srcdir_defaulted=yes
1200
  ac_srcdir_defaulted=yes
1117
  # Try the directory containing this script, then the parent directory.
1201
  # Try the directory containing this script, then the parent directory.
1118
  ac_confdir=`$as_dirname -- "$0" ||
1202
  ac_confdir=`$as_dirname -- "$as_myself" ||
1119
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1203
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1120
	 X"$0" : 'X\(//\)[^/]' \| \
1204
	 X"$as_myself" : 'X\(//\)[^/]' \| \
1121
	 X"$0" : 'X\(//\)$' \| \
1205
	 X"$as_myself" : 'X\(//\)$' \| \
1122
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1206
	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1123
echo X"$0" |
1207
$as_echo X"$as_myself" |
1124
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1125
	    s//\1/
1209
	    s//\1/
1126
	    q
1210
	    q
Lines 1147-1158 Link Here
1147
fi
1231
fi
1148
if test ! -r "$srcdir/$ac_unique_file"; then
1232
if test ! -r "$srcdir/$ac_unique_file"; then
1149
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1233
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1150
  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1234
  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1151
   { (exit 1); exit 1; }; }
1235
   { (exit 1); exit 1; }; }
1152
fi
1236
fi
1153
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1237
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1154
ac_abs_confdir=`(
1238
ac_abs_confdir=`(
1155
	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1239
	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1156
   { (exit 1); exit 1; }; }
1240
   { (exit 1); exit 1; }; }
1157
	pwd)`
1241
	pwd)`
1158
# When building in place, set srcdir=.
1242
# When building in place, set srcdir=.
Lines 1201-1209 Link Here
1201
1285
1202
Installation directories:
1286
Installation directories:
1203
  --prefix=PREFIX         install architecture-independent files in PREFIX
1287
  --prefix=PREFIX         install architecture-independent files in PREFIX
1204
			  [$ac_default_prefix]
1288
                          [$ac_default_prefix]
1205
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1289
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1206
			  [PREFIX]
1290
                          [PREFIX]
1207
1291
1208
By default, \`make install' will install all the files in
1292
By default, \`make install' will install all the files in
1209
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1293
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
Lines 1213-1237 Link Here
1213
For better control, use the options below.
1297
For better control, use the options below.
1214
1298
1215
Fine tuning of the installation directories:
1299
Fine tuning of the installation directories:
1216
  --bindir=DIR           user executables [EPREFIX/bin]
1300
  --bindir=DIR            user executables [EPREFIX/bin]
1217
  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1301
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1218
  --libexecdir=DIR       program executables [EPREFIX/libexec]
1302
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1219
  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1303
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1220
  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1304
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1221
  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1305
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1222
  --libdir=DIR           object code libraries [EPREFIX/lib]
1306
  --libdir=DIR            object code libraries [EPREFIX/lib]
1223
  --includedir=DIR       C header files [PREFIX/include]
1307
  --includedir=DIR        C header files [PREFIX/include]
1224
  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1308
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1225
  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1309
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1226
  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1310
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1227
  --infodir=DIR          info documentation [DATAROOTDIR/info]
1311
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1228
  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1312
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1229
  --mandir=DIR           man documentation [DATAROOTDIR/man]
1313
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1230
  --docdir=DIR           documentation root [DATAROOTDIR/doc/csync2]
1314
  --docdir=DIR            documentation root [DATAROOTDIR/doc/csync2]
1231
  --htmldir=DIR          html documentation [DOCDIR]
1315
  --htmldir=DIR           html documentation [DOCDIR]
1232
  --dvidir=DIR           dvi documentation [DOCDIR]
1316
  --dvidir=DIR            dvi documentation [DOCDIR]
1233
  --pdfdir=DIR           pdf documentation [DOCDIR]
1317
  --pdfdir=DIR            pdf documentation [DOCDIR]
1234
  --psdir=DIR            ps documentation [DOCDIR]
1318
  --psdir=DIR             ps documentation [DOCDIR]
1235
_ACEOF
1319
_ACEOF
1236
1320
1237
  cat <<\_ACEOF
1321
  cat <<\_ACEOF
Lines 1250-1255 Link Here
1250
  cat <<\_ACEOF
1334
  cat <<\_ACEOF
1251
1335
1252
Optional Features:
1336
Optional Features:
1337
  --disable-option-checking  ignore unrecognized --enable/--with options
1253
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1338
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1254
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1339
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1255
  --disable-dependency-tracking Speeds up one-time builds
1340
  --disable-dependency-tracking Speeds up one-time builds
Lines 1280-1285 Link Here
1280
  YFLAGS      The list of arguments that will be passed by default to $YACC.
1365
  YFLAGS      The list of arguments that will be passed by default to $YACC.
1281
              This script will default YFLAGS to the empty string to avoid a
1366
              This script will default YFLAGS to the empty string to avoid a
1282
              default value of `-d' given by some make applications.
1367
              default value of `-d' given by some make applications.
1368
  PKG_CONFIG  path to pkg-config utility
1283
1369
1284
Use these variables to override the choices made by `configure' or to help
1370
Use these variables to override the choices made by `configure' or to help
1285
it to find libraries and programs with nonstandard names/locations.
1371
it to find libraries and programs with nonstandard names/locations.
Lines 1292-1306 Link Here
1292
if test "$ac_init_help" = "recursive"; then
1378
if test "$ac_init_help" = "recursive"; then
1293
  # If there are subdirs, report their specific --help.
1379
  # If there are subdirs, report their specific --help.
1294
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1380
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1295
    test -d "$ac_dir" || continue
1381
    test -d "$ac_dir" ||
1382
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1383
      continue
1296
    ac_builddir=.
1384
    ac_builddir=.
1297
1385
1298
case "$ac_dir" in
1386
case "$ac_dir" in
1299
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300
*)
1388
*)
1301
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1389
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1302
  # A ".." for each directory in $ac_dir_suffix.
1390
  # A ".." for each directory in $ac_dir_suffix.
1303
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1391
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1304
  case $ac_top_builddir_sub in
1392
  case $ac_top_builddir_sub in
1305
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1393
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1306
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1394
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Lines 1336-1342 Link Here
1336
      echo &&
1424
      echo &&
1337
      $SHELL "$ac_srcdir/configure" --help=recursive
1425
      $SHELL "$ac_srcdir/configure" --help=recursive
1338
    else
1426
    else
1339
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1340
    fi || ac_status=$?
1428
    fi || ac_status=$?
1341
    cd "$ac_pwd" || { ac_status=$?; break; }
1429
    cd "$ac_pwd" || { ac_status=$?; break; }
1342
  done
1430
  done
Lines 1346-1355 Link Here
1346
if $ac_init_version; then
1434
if $ac_init_version; then
1347
  cat <<\_ACEOF
1435
  cat <<\_ACEOF
1348
csync2 configure 1.34
1436
csync2 configure 1.34
1349
generated by GNU Autoconf 2.61
1437
generated by GNU Autoconf 2.63
1350
1438
1351
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1439
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1352
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1440
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1353
This configure script is free software; the Free Software Foundation
1441
This configure script is free software; the Free Software Foundation
1354
gives unlimited permission to copy, distribute and modify it.
1442
gives unlimited permission to copy, distribute and modify it.
1355
_ACEOF
1443
_ACEOF
Lines 1360-1366 Link Here
1360
running configure, to aid debugging if configure makes a mistake.
1448
running configure, to aid debugging if configure makes a mistake.
1361
1449
1362
It was created by csync2 $as_me 1.34, which was
1450
It was created by csync2 $as_me 1.34, which was
1363
generated by GNU Autoconf 2.61.  Invocation command line was
1451
generated by GNU Autoconf 2.63.  Invocation command line was
1364
1452
1365
  $ $0 $@
1453
  $ $0 $@
1366
1454
Lines 1396-1402 Link Here
1396
do
1484
do
1397
  IFS=$as_save_IFS
1485
  IFS=$as_save_IFS
1398
  test -z "$as_dir" && as_dir=.
1486
  test -z "$as_dir" && as_dir=.
1399
  echo "PATH: $as_dir"
1487
  $as_echo "PATH: $as_dir"
1400
done
1488
done
1401
IFS=$as_save_IFS
1489
IFS=$as_save_IFS
1402
1490
Lines 1431-1437 Link Here
1431
    | -silent | --silent | --silen | --sile | --sil)
1519
    | -silent | --silent | --silen | --sile | --sil)
1432
      continue ;;
1520
      continue ;;
1433
    *\'*)
1521
    *\'*)
1434
      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1522
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1435
    esac
1523
    esac
1436
    case $ac_pass in
1524
    case $ac_pass in
1437
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1525
    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
Lines 1483-1493 Link Here
1483
    case $ac_val in #(
1571
    case $ac_val in #(
1484
    *${as_nl}*)
1572
    *${as_nl}*)
1485
      case $ac_var in #(
1573
      case $ac_var in #(
1486
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1574
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1487
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1575
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1488
      esac
1576
      esac
1489
      case $ac_var in #(
1577
      case $ac_var in #(
1490
      _ | IFS | as_nl) ;; #(
1578
      _ | IFS | as_nl) ;; #(
1579
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1491
      *) $as_unset $ac_var ;;
1580
      *) $as_unset $ac_var ;;
1492
      esac ;;
1581
      esac ;;
1493
    esac
1582
    esac
Lines 1517-1525 Link Here
1517
    do
1606
    do
1518
      eval ac_val=\$$ac_var
1607
      eval ac_val=\$$ac_var
1519
      case $ac_val in
1608
      case $ac_val in
1520
      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1609
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1521
      esac
1610
      esac
1522
      echo "$ac_var='\''$ac_val'\''"
1611
      $as_echo "$ac_var='\''$ac_val'\''"
1523
    done | sort
1612
    done | sort
1524
    echo
1613
    echo
1525
1614
Lines 1534-1542 Link Here
1534
      do
1623
      do
1535
	eval ac_val=\$$ac_var
1624
	eval ac_val=\$$ac_var
1536
	case $ac_val in
1625
	case $ac_val in
1537
	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626
	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1538
	esac
1627
	esac
1539
	echo "$ac_var='\''$ac_val'\''"
1628
	$as_echo "$ac_var='\''$ac_val'\''"
1540
      done | sort
1629
      done | sort
1541
      echo
1630
      echo
1542
    fi
1631
    fi
Lines 1552-1559 Link Here
1552
      echo
1641
      echo
1553
    fi
1642
    fi
1554
    test "$ac_signal" != 0 &&
1643
    test "$ac_signal" != 0 &&
1555
      echo "$as_me: caught signal $ac_signal"
1644
      $as_echo "$as_me: caught signal $ac_signal"
1556
    echo "$as_me: exit $exit_status"
1645
    $as_echo "$as_me: exit $exit_status"
1557
  } >&5
1646
  } >&5
1558
  rm -f core *.core core.conftest.* &&
1647
  rm -f core *.core core.conftest.* &&
1559
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1648
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Lines 1595-1615 Link Here
1595
1684
1596
1685
1597
# Let the site file select an alternate cache file if it wants to.
1686
# Let the site file select an alternate cache file if it wants to.
1598
# Prefer explicitly selected file to automatically selected ones.
1687
# Prefer an explicitly selected file to automatically selected ones.
1688
ac_site_file1=NONE
1689
ac_site_file2=NONE
1599
if test -n "$CONFIG_SITE"; then
1690
if test -n "$CONFIG_SITE"; then
1600
  set x "$CONFIG_SITE"
1691
  ac_site_file1=$CONFIG_SITE
1601
elif test "x$prefix" != xNONE; then
1692
elif test "x$prefix" != xNONE; then
1602
  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1693
  ac_site_file1=$prefix/share/config.site
1694
  ac_site_file2=$prefix/etc/config.site
1603
else
1695
else
1604
  set x "$ac_default_prefix/share/config.site" \
1696
  ac_site_file1=$ac_default_prefix/share/config.site
1605
	"$ac_default_prefix/etc/config.site"
1697
  ac_site_file2=$ac_default_prefix/etc/config.site
1606
fi
1698
fi
1607
shift
1699
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1608
for ac_site_file
1609
do
1700
do
1701
  test "x$ac_site_file" = xNONE && continue
1610
  if test -r "$ac_site_file"; then
1702
  if test -r "$ac_site_file"; then
1611
    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1703
    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1612
echo "$as_me: loading site script $ac_site_file" >&6;}
1704
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1613
    sed 's/^/| /' "$ac_site_file" >&5
1705
    sed 's/^/| /' "$ac_site_file" >&5
1614
    . "$ac_site_file"
1706
    . "$ac_site_file"
1615
  fi
1707
  fi
Lines 1619-1634 Link Here
1619
  # Some versions of bash will fail to source /dev/null (special
1711
  # Some versions of bash will fail to source /dev/null (special
1620
  # files actually), so we avoid doing that.
1712
  # files actually), so we avoid doing that.
1621
  if test -f "$cache_file"; then
1713
  if test -f "$cache_file"; then
1622
    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1714
    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1623
echo "$as_me: loading cache $cache_file" >&6;}
1715
$as_echo "$as_me: loading cache $cache_file" >&6;}
1624
    case $cache_file in
1716
    case $cache_file in
1625
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1717
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1626
      *)                      . "./$cache_file";;
1718
      *)                      . "./$cache_file";;
1627
    esac
1719
    esac
1628
  fi
1720
  fi
1629
else
1721
else
1630
  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1722
  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1631
echo "$as_me: creating cache $cache_file" >&6;}
1723
$as_echo "$as_me: creating cache $cache_file" >&6;}
1632
  >$cache_file
1724
  >$cache_file
1633
fi
1725
fi
1634
1726
Lines 1642-1670 Link Here
1642
  eval ac_new_val=\$ac_env_${ac_var}_value
1734
  eval ac_new_val=\$ac_env_${ac_var}_value
1643
  case $ac_old_set,$ac_new_set in
1735
  case $ac_old_set,$ac_new_set in
1644
    set,)
1736
    set,)
1645
      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1737
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1646
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1738
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1647
      ac_cache_corrupted=: ;;
1739
      ac_cache_corrupted=: ;;
1648
    ,set)
1740
    ,set)
1649
      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1741
      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1650
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1742
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1651
      ac_cache_corrupted=: ;;
1743
      ac_cache_corrupted=: ;;
1652
    ,);;
1744
    ,);;
1653
    *)
1745
    *)
1654
      if test "x$ac_old_val" != "x$ac_new_val"; then
1746
      if test "x$ac_old_val" != "x$ac_new_val"; then
1655
	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1747
	# differences in whitespace do not lead to failure.
1656
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1748
	ac_old_val_w=`echo x $ac_old_val`
1657
	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1749
	ac_new_val_w=`echo x $ac_new_val`
1658
echo "$as_me:   former value:  $ac_old_val" >&2;}
1750
	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1659
	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1751
	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1660
echo "$as_me:   current value: $ac_new_val" >&2;}
1752
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1661
	ac_cache_corrupted=:
1753
	  ac_cache_corrupted=:
1754
	else
1755
	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1756
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1757
	  eval $ac_var=\$ac_old_val
1758
	fi
1759
	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1760
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1761
	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1762
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1662
      fi;;
1763
      fi;;
1663
  esac
1764
  esac
1664
  # Pass precious variables to config.status.
1765
  # Pass precious variables to config.status.
1665
  if test "$ac_new_set" = set; then
1766
  if test "$ac_new_set" = set; then
1666
    case $ac_new_val in
1767
    case $ac_new_val in
1667
    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1768
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1668
    *) ac_arg=$ac_var=$ac_new_val ;;
1769
    *) ac_arg=$ac_var=$ac_new_val ;;
1669
    esac
1770
    esac
1670
    case " $ac_configure_args " in
1771
    case " $ac_configure_args " in
Lines 1674-1683 Link Here
1674
  fi
1775
  fi
1675
done
1776
done
1676
if $ac_cache_corrupted; then
1777
if $ac_cache_corrupted; then
1677
  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1778
  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1678
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1679
  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1780
  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1680
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1781
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1782
  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1783
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1681
   { (exit 1); exit 1; }; }
1784
   { (exit 1); exit 1; }; }
1682
fi
1785
fi
1683
1786
Lines 1730-1737 Link Here
1730
  fi
1833
  fi
1731
done
1834
done
1732
if test -z "$ac_aux_dir"; then
1835
if test -z "$ac_aux_dir"; then
1733
  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1836
  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1734
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1837
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1735
   { (exit 1); exit 1; }; }
1838
   { (exit 1); exit 1; }; }
1736
fi
1839
fi
1737
1840
Lines 1757-1767 Link Here
1757
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1860
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1758
# OS/2's system install, which has a completely different semantic
1861
# OS/2's system install, which has a completely different semantic
1759
# ./install, which can be erroneously created by make from ./install.sh.
1862
# ./install, which can be erroneously created by make from ./install.sh.
1760
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1863
# Reject install programs that cannot install multiple files.
1761
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1864
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1865
$as_echo_n "checking for a BSD-compatible install... " >&6; }
1762
if test -z "$INSTALL"; then
1866
if test -z "$INSTALL"; then
1763
if test "${ac_cv_path_install+set}" = set; then
1867
if test "${ac_cv_path_install+set}" = set; then
1764
  echo $ECHO_N "(cached) $ECHO_C" >&6
1868
  $as_echo_n "(cached) " >&6
1765
else
1869
else
1766
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767
for as_dir in $PATH
1871
for as_dir in $PATH
Lines 1790-1806 Link Here
1790
	    # program-specific install script used by HP pwplus--don't use.
1894
	    # program-specific install script used by HP pwplus--don't use.
1791
	    :
1895
	    :
1792
	  else
1896
	  else
1793
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1897
	    rm -rf conftest.one conftest.two conftest.dir
1794
	    break 3
1898
	    echo one > conftest.one
1899
	    echo two > conftest.two
1900
	    mkdir conftest.dir
1901
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1902
	      test -s conftest.one && test -s conftest.two &&
1903
	      test -s conftest.dir/conftest.one &&
1904
	      test -s conftest.dir/conftest.two
1905
	    then
1906
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1907
	      break 3
1908
	    fi
1795
	  fi
1909
	  fi
1796
	fi
1910
	fi
1797
      done
1911
      done
1798
    done
1912
    done
1799
    ;;
1913
    ;;
1800
esac
1914
esac
1915
1801
done
1916
done
1802
IFS=$as_save_IFS
1917
IFS=$as_save_IFS
1803
1918
1919
rm -rf conftest.one conftest.two conftest.dir
1804
1920
1805
fi
1921
fi
1806
  if test "${ac_cv_path_install+set}" = set; then
1922
  if test "${ac_cv_path_install+set}" = set; then
Lines 1813-1820 Link Here
1813
    INSTALL=$ac_install_sh
1929
    INSTALL=$ac_install_sh
1814
  fi
1930
  fi
1815
fi
1931
fi
1816
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1932
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1817
echo "${ECHO_T}$INSTALL" >&6; }
1933
$as_echo "$INSTALL" >&6; }
1818
1934
1819
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1935
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1820
# It thinks the first close brace ends the variable substitution.
1936
# It thinks the first close brace ends the variable substitution.
Lines 1824-1831 Link Here
1824
1940
1825
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1941
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1826
1942
1827
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1943
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1828
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1944
$as_echo_n "checking whether build environment is sane... " >&6; }
1829
# Just in case
1945
# Just in case
1830
sleep 1
1946
sleep 1
1831
echo timestamp > conftest.file
1947
echo timestamp > conftest.file
Lines 1848-1856 Link Here
1848
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1964
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1849
      # broken ls alias from the environment.  This has actually
1965
      # broken ls alias from the environment.  This has actually
1850
      # happened.  Such a system could not be considered "sane".
1966
      # happened.  Such a system could not be considered "sane".
1851
      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1967
      { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1852
alias in your environment" >&5
1968
alias in your environment" >&5
1853
echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1969
$as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1854
alias in your environment" >&2;}
1970
alias in your environment" >&2;}
1855
   { (exit 1); exit 1; }; }
1971
   { (exit 1); exit 1; }; }
1856
   fi
1972
   fi
Lines 1861-1886 Link Here
1861
   # Ok.
1977
   # Ok.
1862
   :
1978
   :
1863
else
1979
else
1864
   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1980
   { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1865
Check your system clock" >&5
1981
Check your system clock" >&5
1866
echo "$as_me: error: newly created file is older than distributed files!
1982
$as_echo "$as_me: error: newly created file is older than distributed files!
1867
Check your system clock" >&2;}
1983
Check your system clock" >&2;}
1868
   { (exit 1); exit 1; }; }
1984
   { (exit 1); exit 1; }; }
1869
fi
1985
fi
1870
{ echo "$as_me:$LINENO: result: yes" >&5
1986
{ $as_echo "$as_me:$LINENO: result: yes" >&5
1871
echo "${ECHO_T}yes" >&6; }
1987
$as_echo "yes" >&6; }
1872
test "$program_prefix" != NONE &&
1988
test "$program_prefix" != NONE &&
1873
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1989
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1874
# Use a double $ so make ignores it.
1990
# Use a double $ so make ignores it.
1875
test "$program_suffix" != NONE &&
1991
test "$program_suffix" != NONE &&
1876
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1992
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1877
# Double any \ or $.  echo might interpret backslashes.
1993
# Double any \ or $.
1878
# By default was `s,x,x', remove it if useless.
1994
# By default was `s,x,x', remove it if useless.
1879
cat <<\_ACEOF >conftest.sed
1995
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1880
s/[\\$]/&&/g;s/;s,x,x,$//
1996
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1881
_ACEOF
1882
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1883
rm -f conftest.sed
1884
1997
1885
1998
1886
# expand $ac_aux_dir to an absolute path
1999
# expand $ac_aux_dir to an absolute path
Lines 1892-1909 Link Here
1892
  am_missing_run="$MISSING --run "
2005
  am_missing_run="$MISSING --run "
1893
else
2006
else
1894
  am_missing_run=
2007
  am_missing_run=
1895
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2008
  { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1896
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2009
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1897
fi
2010
fi
1898
2011
1899
for ac_prog in gawk mawk nawk awk
2012
for ac_prog in gawk mawk nawk awk
1900
do
2013
do
1901
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2014
  # Extract the first word of "$ac_prog", so it can be a program name with args.
1902
set dummy $ac_prog; ac_word=$2
2015
set dummy $ac_prog; ac_word=$2
1903
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2016
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2017
$as_echo_n "checking for $ac_word... " >&6; }
1905
if test "${ac_cv_prog_AWK+set}" = set; then
2018
if test "${ac_cv_prog_AWK+set}" = set; then
1906
  echo $ECHO_N "(cached) $ECHO_C" >&6
2019
  $as_echo_n "(cached) " >&6
1907
else
2020
else
1908
  if test -n "$AWK"; then
2021
  if test -n "$AWK"; then
1909
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2022
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
Lines 1916-1922 Link Here
1916
  for ac_exec_ext in '' $ac_executable_extensions; do
2029
  for ac_exec_ext in '' $ac_executable_extensions; do
1917
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2030
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1918
    ac_cv_prog_AWK="$ac_prog"
2031
    ac_cv_prog_AWK="$ac_prog"
1919
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920
    break 2
2033
    break 2
1921
  fi
2034
  fi
1922
done
2035
done
Lines 1927-1948 Link Here
1927
fi
2040
fi
1928
AWK=$ac_cv_prog_AWK
2041
AWK=$ac_cv_prog_AWK
1929
if test -n "$AWK"; then
2042
if test -n "$AWK"; then
1930
  { echo "$as_me:$LINENO: result: $AWK" >&5
2043
  { $as_echo "$as_me:$LINENO: result: $AWK" >&5
1931
echo "${ECHO_T}$AWK" >&6; }
2044
$as_echo "$AWK" >&6; }
1932
else
2045
else
1933
  { echo "$as_me:$LINENO: result: no" >&5
2046
  { $as_echo "$as_me:$LINENO: result: no" >&5
1934
echo "${ECHO_T}no" >&6; }
2047
$as_echo "no" >&6; }
1935
fi
2048
fi
1936
2049
1937
2050
1938
  test -n "$AWK" && break
2051
  test -n "$AWK" && break
1939
done
2052
done
1940
2053
1941
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2054
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1942
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2055
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1943
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2056
set x ${MAKE-make}
2057
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1944
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2058
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1945
  echo $ECHO_N "(cached) $ECHO_C" >&6
2059
  $as_echo_n "(cached) " >&6
1946
else
2060
else
1947
  cat >conftest.make <<\_ACEOF
2061
  cat >conftest.make <<\_ACEOF
1948
SHELL = /bin/sh
2062
SHELL = /bin/sh
Lines 1959-1970 Link Here
1959
rm -f conftest.make
2073
rm -f conftest.make
1960
fi
2074
fi
1961
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2075
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1962
  { echo "$as_me:$LINENO: result: yes" >&5
2076
  { $as_echo "$as_me:$LINENO: result: yes" >&5
1963
echo "${ECHO_T}yes" >&6; }
2077
$as_echo "yes" >&6; }
1964
  SET_MAKE=
2078
  SET_MAKE=
1965
else
2079
else
1966
  { echo "$as_me:$LINENO: result: no" >&5
2080
  { $as_echo "$as_me:$LINENO: result: no" >&5
1967
echo "${ECHO_T}no" >&6; }
2081
$as_echo "no" >&6; }
1968
  SET_MAKE="MAKE=${MAKE-make}"
2082
  SET_MAKE="MAKE=${MAKE-make}"
1969
fi
2083
fi
1970
2084
Lines 1980-1987 Link Here
1980
 # test to see if srcdir already configured
2094
 # test to see if srcdir already configured
1981
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2095
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1982
   test -f $srcdir/config.status; then
2096
   test -f $srcdir/config.status; then
1983
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2097
  { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1984
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2098
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1985
   { (exit 1); exit 1; }; }
2099
   { (exit 1); exit 1; }; }
1986
fi
2100
fi
1987
2101
Lines 2038-2047 Link Here
2038
  if test -n "$ac_tool_prefix"; then
2152
  if test -n "$ac_tool_prefix"; then
2039
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2153
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2040
set dummy ${ac_tool_prefix}strip; ac_word=$2
2154
set dummy ${ac_tool_prefix}strip; ac_word=$2
2041
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2155
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2042
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2156
$as_echo_n "checking for $ac_word... " >&6; }
2043
if test "${ac_cv_prog_STRIP+set}" = set; then
2157
if test "${ac_cv_prog_STRIP+set}" = set; then
2044
  echo $ECHO_N "(cached) $ECHO_C" >&6
2158
  $as_echo_n "(cached) " >&6
2045
else
2159
else
2046
  if test -n "$STRIP"; then
2160
  if test -n "$STRIP"; then
2047
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2161
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
Lines 2054-2060 Link Here
2054
  for ac_exec_ext in '' $ac_executable_extensions; do
2168
  for ac_exec_ext in '' $ac_executable_extensions; do
2055
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2056
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2170
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2057
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058
    break 2
2172
    break 2
2059
  fi
2173
  fi
2060
done
2174
done
Lines 2065-2075 Link Here
2065
fi
2179
fi
2066
STRIP=$ac_cv_prog_STRIP
2180
STRIP=$ac_cv_prog_STRIP
2067
if test -n "$STRIP"; then
2181
if test -n "$STRIP"; then
2068
  { echo "$as_me:$LINENO: result: $STRIP" >&5
2182
  { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2069
echo "${ECHO_T}$STRIP" >&6; }
2183
$as_echo "$STRIP" >&6; }
2070
else
2184
else
2071
  { echo "$as_me:$LINENO: result: no" >&5
2185
  { $as_echo "$as_me:$LINENO: result: no" >&5
2072
echo "${ECHO_T}no" >&6; }
2186
$as_echo "no" >&6; }
2073
fi
2187
fi
2074
2188
2075
2189
Lines 2078-2087 Link Here
2078
  ac_ct_STRIP=$STRIP
2192
  ac_ct_STRIP=$STRIP
2079
  # Extract the first word of "strip", so it can be a program name with args.
2193
  # Extract the first word of "strip", so it can be a program name with args.
2080
set dummy strip; ac_word=$2
2194
set dummy strip; ac_word=$2
2081
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2195
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2082
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196
$as_echo_n "checking for $ac_word... " >&6; }
2083
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2197
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2084
  echo $ECHO_N "(cached) $ECHO_C" >&6
2198
  $as_echo_n "(cached) " >&6
2085
else
2199
else
2086
  if test -n "$ac_ct_STRIP"; then
2200
  if test -n "$ac_ct_STRIP"; then
2087
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2201
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
Lines 2094-2100 Link Here
2094
  for ac_exec_ext in '' $ac_executable_extensions; do
2208
  for ac_exec_ext in '' $ac_executable_extensions; do
2095
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096
    ac_cv_prog_ac_ct_STRIP="strip"
2210
    ac_cv_prog_ac_ct_STRIP="strip"
2097
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098
    break 2
2212
    break 2
2099
  fi
2213
  fi
2100
done
2214
done
Lines 2105-2115 Link Here
2105
fi
2219
fi
2106
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2220
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2107
if test -n "$ac_ct_STRIP"; then
2221
if test -n "$ac_ct_STRIP"; then
2108
  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2222
  { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2109
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2223
$as_echo "$ac_ct_STRIP" >&6; }
2110
else
2224
else
2111
  { echo "$as_me:$LINENO: result: no" >&5
2225
  { $as_echo "$as_me:$LINENO: result: no" >&5
2112
echo "${ECHO_T}no" >&6; }
2226
$as_echo "no" >&6; }
2113
fi
2227
fi
2114
2228
2115
  if test "x$ac_ct_STRIP" = x; then
2229
  if test "x$ac_ct_STRIP" = x; then
Lines 2117-2128 Link Here
2117
  else
2231
  else
2118
    case $cross_compiling:$ac_tool_warned in
2232
    case $cross_compiling:$ac_tool_warned in
2119
yes:)
2233
yes:)
2120
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2234
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2121
whose name does not start with the host triplet.  If you think this
2235
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2122
configuration is useful to you, please write to autoconf@gnu.org." >&5
2123
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2124
whose name does not start with the host triplet.  If you think this
2125
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2126
ac_tool_warned=yes ;;
2236
ac_tool_warned=yes ;;
2127
esac
2237
esac
2128
    STRIP=$ac_ct_STRIP
2238
    STRIP=$ac_ct_STRIP
Lines 2157-2166 Link Here
2157
if test -n "$ac_tool_prefix"; then
2267
if test -n "$ac_tool_prefix"; then
2158
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2268
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2159
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2269
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2160
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2270
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2161
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2271
$as_echo_n "checking for $ac_word... " >&6; }
2162
if test "${ac_cv_prog_CC+set}" = set; then
2272
if test "${ac_cv_prog_CC+set}" = set; then
2163
  echo $ECHO_N "(cached) $ECHO_C" >&6
2273
  $as_echo_n "(cached) " >&6
2164
else
2274
else
2165
  if test -n "$CC"; then
2275
  if test -n "$CC"; then
2166
  ac_cv_prog_CC="$CC" # Let the user override the test.
2276
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2173-2179 Link Here
2173
  for ac_exec_ext in '' $ac_executable_extensions; do
2283
  for ac_exec_ext in '' $ac_executable_extensions; do
2174
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2285
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2176
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177
    break 2
2287
    break 2
2178
  fi
2288
  fi
2179
done
2289
done
Lines 2184-2194 Link Here
2184
fi
2294
fi
2185
CC=$ac_cv_prog_CC
2295
CC=$ac_cv_prog_CC
2186
if test -n "$CC"; then
2296
if test -n "$CC"; then
2187
  { echo "$as_me:$LINENO: result: $CC" >&5
2297
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2188
echo "${ECHO_T}$CC" >&6; }
2298
$as_echo "$CC" >&6; }
2189
else
2299
else
2190
  { echo "$as_me:$LINENO: result: no" >&5
2300
  { $as_echo "$as_me:$LINENO: result: no" >&5
2191
echo "${ECHO_T}no" >&6; }
2301
$as_echo "no" >&6; }
2192
fi
2302
fi
2193
2303
2194
2304
Lines 2197-2206 Link Here
2197
  ac_ct_CC=$CC
2307
  ac_ct_CC=$CC
2198
  # Extract the first word of "gcc", so it can be a program name with args.
2308
  # Extract the first word of "gcc", so it can be a program name with args.
2199
set dummy gcc; ac_word=$2
2309
set dummy gcc; ac_word=$2
2200
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2310
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2201
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311
$as_echo_n "checking for $ac_word... " >&6; }
2202
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2203
  echo $ECHO_N "(cached) $ECHO_C" >&6
2313
  $as_echo_n "(cached) " >&6
2204
else
2314
else
2205
  if test -n "$ac_ct_CC"; then
2315
  if test -n "$ac_ct_CC"; then
2206
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 2213-2219 Link Here
2213
  for ac_exec_ext in '' $ac_executable_extensions; do
2323
  for ac_exec_ext in '' $ac_executable_extensions; do
2214
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2215
    ac_cv_prog_ac_ct_CC="gcc"
2325
    ac_cv_prog_ac_ct_CC="gcc"
2216
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217
    break 2
2327
    break 2
2218
  fi
2328
  fi
2219
done
2329
done
Lines 2224-2234 Link Here
2224
fi
2334
fi
2225
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2335
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2226
if test -n "$ac_ct_CC"; then
2336
if test -n "$ac_ct_CC"; then
2227
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2228
echo "${ECHO_T}$ac_ct_CC" >&6; }
2338
$as_echo "$ac_ct_CC" >&6; }
2229
else
2339
else
2230
  { echo "$as_me:$LINENO: result: no" >&5
2340
  { $as_echo "$as_me:$LINENO: result: no" >&5
2231
echo "${ECHO_T}no" >&6; }
2341
$as_echo "no" >&6; }
2232
fi
2342
fi
2233
2343
2234
  if test "x$ac_ct_CC" = x; then
2344
  if test "x$ac_ct_CC" = x; then
Lines 2236-2247 Link Here
2236
  else
2346
  else
2237
    case $cross_compiling:$ac_tool_warned in
2347
    case $cross_compiling:$ac_tool_warned in
2238
yes:)
2348
yes:)
2239
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2349
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2240
whose name does not start with the host triplet.  If you think this
2350
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2241
configuration is useful to you, please write to autoconf@gnu.org." >&5
2242
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2243
whose name does not start with the host triplet.  If you think this
2244
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2245
ac_tool_warned=yes ;;
2351
ac_tool_warned=yes ;;
2246
esac
2352
esac
2247
    CC=$ac_ct_CC
2353
    CC=$ac_ct_CC
Lines 2254-2263 Link Here
2254
          if test -n "$ac_tool_prefix"; then
2360
          if test -n "$ac_tool_prefix"; then
2255
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2361
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2256
set dummy ${ac_tool_prefix}cc; ac_word=$2
2362
set dummy ${ac_tool_prefix}cc; ac_word=$2
2257
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2363
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2258
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364
$as_echo_n "checking for $ac_word... " >&6; }
2259
if test "${ac_cv_prog_CC+set}" = set; then
2365
if test "${ac_cv_prog_CC+set}" = set; then
2260
  echo $ECHO_N "(cached) $ECHO_C" >&6
2366
  $as_echo_n "(cached) " >&6
2261
else
2367
else
2262
  if test -n "$CC"; then
2368
  if test -n "$CC"; then
2263
  ac_cv_prog_CC="$CC" # Let the user override the test.
2369
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2270-2276 Link Here
2270
  for ac_exec_ext in '' $ac_executable_extensions; do
2376
  for ac_exec_ext in '' $ac_executable_extensions; do
2271
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2272
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2378
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2273
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2379
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274
    break 2
2380
    break 2
2275
  fi
2381
  fi
2276
done
2382
done
Lines 2281-2291 Link Here
2281
fi
2387
fi
2282
CC=$ac_cv_prog_CC
2388
CC=$ac_cv_prog_CC
2283
if test -n "$CC"; then
2389
if test -n "$CC"; then
2284
  { echo "$as_me:$LINENO: result: $CC" >&5
2390
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2285
echo "${ECHO_T}$CC" >&6; }
2391
$as_echo "$CC" >&6; }
2286
else
2392
else
2287
  { echo "$as_me:$LINENO: result: no" >&5
2393
  { $as_echo "$as_me:$LINENO: result: no" >&5
2288
echo "${ECHO_T}no" >&6; }
2394
$as_echo "no" >&6; }
2289
fi
2395
fi
2290
2396
2291
2397
Lines 2294-2303 Link Here
2294
if test -z "$CC"; then
2400
if test -z "$CC"; then
2295
  # Extract the first word of "cc", so it can be a program name with args.
2401
  # Extract the first word of "cc", so it can be a program name with args.
2296
set dummy cc; ac_word=$2
2402
set dummy cc; ac_word=$2
2297
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2403
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2298
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2404
$as_echo_n "checking for $ac_word... " >&6; }
2299
if test "${ac_cv_prog_CC+set}" = set; then
2405
if test "${ac_cv_prog_CC+set}" = set; then
2300
  echo $ECHO_N "(cached) $ECHO_C" >&6
2406
  $as_echo_n "(cached) " >&6
2301
else
2407
else
2302
  if test -n "$CC"; then
2408
  if test -n "$CC"; then
2303
  ac_cv_prog_CC="$CC" # Let the user override the test.
2409
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2315-2321 Link Here
2315
       continue
2421
       continue
2316
     fi
2422
     fi
2317
    ac_cv_prog_CC="cc"
2423
    ac_cv_prog_CC="cc"
2318
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319
    break 2
2425
    break 2
2320
  fi
2426
  fi
2321
done
2427
done
Lines 2338-2348 Link Here
2338
fi
2444
fi
2339
CC=$ac_cv_prog_CC
2445
CC=$ac_cv_prog_CC
2340
if test -n "$CC"; then
2446
if test -n "$CC"; then
2341
  { echo "$as_me:$LINENO: result: $CC" >&5
2447
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2342
echo "${ECHO_T}$CC" >&6; }
2448
$as_echo "$CC" >&6; }
2343
else
2449
else
2344
  { echo "$as_me:$LINENO: result: no" >&5
2450
  { $as_echo "$as_me:$LINENO: result: no" >&5
2345
echo "${ECHO_T}no" >&6; }
2451
$as_echo "no" >&6; }
2346
fi
2452
fi
2347
2453
2348
2454
Lines 2353-2362 Link Here
2353
  do
2459
  do
2354
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2460
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2355
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2461
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2356
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2462
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2357
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2463
$as_echo_n "checking for $ac_word... " >&6; }
2358
if test "${ac_cv_prog_CC+set}" = set; then
2464
if test "${ac_cv_prog_CC+set}" = set; then
2359
  echo $ECHO_N "(cached) $ECHO_C" >&6
2465
  $as_echo_n "(cached) " >&6
2360
else
2466
else
2361
  if test -n "$CC"; then
2467
  if test -n "$CC"; then
2362
  ac_cv_prog_CC="$CC" # Let the user override the test.
2468
  ac_cv_prog_CC="$CC" # Let the user override the test.
Lines 2369-2375 Link Here
2369
  for ac_exec_ext in '' $ac_executable_extensions; do
2475
  for ac_exec_ext in '' $ac_executable_extensions; do
2370
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2476
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2371
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2477
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2372
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2478
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2373
    break 2
2479
    break 2
2374
  fi
2480
  fi
2375
done
2481
done
Lines 2380-2390 Link Here
2380
fi
2486
fi
2381
CC=$ac_cv_prog_CC
2487
CC=$ac_cv_prog_CC
2382
if test -n "$CC"; then
2488
if test -n "$CC"; then
2383
  { echo "$as_me:$LINENO: result: $CC" >&5
2489
  { $as_echo "$as_me:$LINENO: result: $CC" >&5
2384
echo "${ECHO_T}$CC" >&6; }
2490
$as_echo "$CC" >&6; }
2385
else
2491
else
2386
  { echo "$as_me:$LINENO: result: no" >&5
2492
  { $as_echo "$as_me:$LINENO: result: no" >&5
2387
echo "${ECHO_T}no" >&6; }
2493
$as_echo "no" >&6; }
2388
fi
2494
fi
2389
2495
2390
2496
Lines 2397-2406 Link Here
2397
do
2503
do
2398
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2504
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2399
set dummy $ac_prog; ac_word=$2
2505
set dummy $ac_prog; ac_word=$2
2400
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2506
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2401
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2507
$as_echo_n "checking for $ac_word... " >&6; }
2402
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2508
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2403
  echo $ECHO_N "(cached) $ECHO_C" >&6
2509
  $as_echo_n "(cached) " >&6
2404
else
2510
else
2405
  if test -n "$ac_ct_CC"; then
2511
  if test -n "$ac_ct_CC"; then
2406
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2512
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
Lines 2413-2419 Link Here
2413
  for ac_exec_ext in '' $ac_executable_extensions; do
2519
  for ac_exec_ext in '' $ac_executable_extensions; do
2414
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2520
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415
    ac_cv_prog_ac_ct_CC="$ac_prog"
2521
    ac_cv_prog_ac_ct_CC="$ac_prog"
2416
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417
    break 2
2523
    break 2
2418
  fi
2524
  fi
2419
done
2525
done
Lines 2424-2434 Link Here
2424
fi
2530
fi
2425
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2531
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2426
if test -n "$ac_ct_CC"; then
2532
if test -n "$ac_ct_CC"; then
2427
  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2533
  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2428
echo "${ECHO_T}$ac_ct_CC" >&6; }
2534
$as_echo "$ac_ct_CC" >&6; }
2429
else
2535
else
2430
  { echo "$as_me:$LINENO: result: no" >&5
2536
  { $as_echo "$as_me:$LINENO: result: no" >&5
2431
echo "${ECHO_T}no" >&6; }
2537
$as_echo "no" >&6; }
2432
fi
2538
fi
2433
2539
2434
2540
Lines 2440-2451 Link Here
2440
  else
2546
  else
2441
    case $cross_compiling:$ac_tool_warned in
2547
    case $cross_compiling:$ac_tool_warned in
2442
yes:)
2548
yes:)
2443
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2549
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2444
whose name does not start with the host triplet.  If you think this
2550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2445
configuration is useful to you, please write to autoconf@gnu.org." >&5
2446
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2447
whose name does not start with the host triplet.  If you think this
2448
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2449
ac_tool_warned=yes ;;
2551
ac_tool_warned=yes ;;
2450
esac
2552
esac
2451
    CC=$ac_ct_CC
2553
    CC=$ac_ct_CC
Lines 2455-2498 Link Here
2455
fi
2557
fi
2456
2558
2457
2559
2458
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2560
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2561
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2459
See \`config.log' for more details." >&5
2563
See \`config.log' for more details." >&5
2460
echo "$as_me: error: no acceptable C compiler found in \$PATH
2564
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2461
See \`config.log' for more details." >&2;}
2565
See \`config.log' for more details." >&2;}
2462
   { (exit 1); exit 1; }; }
2566
   { (exit 1); exit 1; }; }; }
2463
2567
2464
# Provide some information about the compiler.
2568
# Provide some information about the compiler.
2465
echo "$as_me:$LINENO: checking for C compiler version" >&5
2569
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2466
ac_compiler=`set X $ac_compile; echo $2`
2570
set X $ac_compile
2571
ac_compiler=$2
2467
{ (ac_try="$ac_compiler --version >&5"
2572
{ (ac_try="$ac_compiler --version >&5"
2468
case "(($ac_try" in
2573
case "(($ac_try" in
2469
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470
  *) ac_try_echo=$ac_try;;
2575
  *) ac_try_echo=$ac_try;;
2471
esac
2576
esac
2472
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2578
$as_echo "$ac_try_echo") >&5
2473
  (eval "$ac_compiler --version >&5") 2>&5
2579
  (eval "$ac_compiler --version >&5") 2>&5
2474
  ac_status=$?
2580
  ac_status=$?
2475
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476
  (exit $ac_status); }
2582
  (exit $ac_status); }
2477
{ (ac_try="$ac_compiler -v >&5"
2583
{ (ac_try="$ac_compiler -v >&5"
2478
case "(($ac_try" in
2584
case "(($ac_try" in
2479
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2585
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480
  *) ac_try_echo=$ac_try;;
2586
  *) ac_try_echo=$ac_try;;
2481
esac
2587
esac
2482
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2588
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2589
$as_echo "$ac_try_echo") >&5
2483
  (eval "$ac_compiler -v >&5") 2>&5
2590
  (eval "$ac_compiler -v >&5") 2>&5
2484
  ac_status=$?
2591
  ac_status=$?
2485
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486
  (exit $ac_status); }
2593
  (exit $ac_status); }
2487
{ (ac_try="$ac_compiler -V >&5"
2594
{ (ac_try="$ac_compiler -V >&5"
2488
case "(($ac_try" in
2595
case "(($ac_try" in
2489
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2490
  *) ac_try_echo=$ac_try;;
2597
  *) ac_try_echo=$ac_try;;
2491
esac
2598
esac
2492
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2600
$as_echo "$ac_try_echo") >&5
2493
  (eval "$ac_compiler -V >&5") 2>&5
2601
  (eval "$ac_compiler -V >&5") 2>&5
2494
  ac_status=$?
2602
  ac_status=$?
2495
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496
  (exit $ac_status); }
2604
  (exit $ac_status); }
2497
2605
2498
cat >conftest.$ac_ext <<_ACEOF
2606
cat >conftest.$ac_ext <<_ACEOF
Lines 2511-2537 Link Here
2511
}
2619
}
2512
_ACEOF
2620
_ACEOF
2513
ac_clean_files_save=$ac_clean_files
2621
ac_clean_files_save=$ac_clean_files
2514
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2622
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2515
# Try to create an executable without -o first, disregard a.out.
2623
# Try to create an executable without -o first, disregard a.out.
2516
# It will help us diagnose broken compilers, and finding out an intuition
2624
# It will help us diagnose broken compilers, and finding out an intuition
2517
# of exeext.
2625
# of exeext.
2518
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2626
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2519
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2627
$as_echo_n "checking for C compiler default output file name... " >&6; }
2520
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2628
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2521
#
2629
2522
# List of possible output files, starting from the most likely.
2630
# The possible output files:
2523
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2631
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2524
# only as a last resort.  b.out is created by i960 compilers.
2632
2525
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2526
#
2527
# The IRIX 6 linker writes into existing files which may not be
2528
# executable, retaining their permissions.  Remove them first so a
2529
# subsequent execution test works.
2530
ac_rmfiles=
2633
ac_rmfiles=
2531
for ac_file in $ac_files
2634
for ac_file in $ac_files
2532
do
2635
do
2533
  case $ac_file in
2636
  case $ac_file in
2534
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2637
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2535
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2638
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2536
  esac
2639
  esac
2537
done
2640
done
Lines 2542-2551 Link Here
2542
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543
  *) ac_try_echo=$ac_try;;
2646
  *) ac_try_echo=$ac_try;;
2544
esac
2647
esac
2545
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2649
$as_echo "$ac_try_echo") >&5
2546
  (eval "$ac_link_default") 2>&5
2650
  (eval "$ac_link_default") 2>&5
2547
  ac_status=$?
2651
  ac_status=$?
2548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549
  (exit $ac_status); }; then
2653
  (exit $ac_status); }; then
2550
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2654
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2551
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2655
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
Lines 2556-2562 Link Here
2556
do
2660
do
2557
  test -f "$ac_file" || continue
2661
  test -f "$ac_file" || continue
2558
  case $ac_file in
2662
  case $ac_file in
2559
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2663
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2560
	;;
2664
	;;
2561
    [ab].out )
2665
    [ab].out )
2562
	# We found the default executable, but exeext='' is most
2666
	# We found the default executable, but exeext='' is most
Lines 2583-2607 Link Here
2583
  ac_file=''
2687
  ac_file=''
2584
fi
2688
fi
2585
2689
2586
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2690
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2587
echo "${ECHO_T}$ac_file" >&6; }
2691
$as_echo "$ac_file" >&6; }
2588
if test -z "$ac_file"; then
2692
if test -z "$ac_file"; then
2589
  echo "$as_me: failed program was:" >&5
2693
  $as_echo "$as_me: failed program was:" >&5
2590
sed 's/^/| /' conftest.$ac_ext >&5
2694
sed 's/^/| /' conftest.$ac_ext >&5
2591
2695
2592
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2696
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2697
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2593
See \`config.log' for more details." >&5
2699
See \`config.log' for more details." >&5
2594
echo "$as_me: error: C compiler cannot create executables
2700
$as_echo "$as_me: error: C compiler cannot create executables
2595
See \`config.log' for more details." >&2;}
2701
See \`config.log' for more details." >&2;}
2596
   { (exit 77); exit 77; }; }
2702
   { (exit 77); exit 77; }; }; }
2597
fi
2703
fi
2598
2704
2599
ac_exeext=$ac_cv_exeext
2705
ac_exeext=$ac_cv_exeext
2600
2706
2601
# Check that the compiler produces executables we can run.  If not, either
2707
# Check that the compiler produces executables we can run.  If not, either
2602
# the compiler is broken, or we cross compile.
2708
# the compiler is broken, or we cross compile.
2603
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2709
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2604
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2710
$as_echo_n "checking whether the C compiler works... " >&6; }
2605
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2711
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2606
# If not cross compiling, check that we can run a simple program.
2712
# If not cross compiling, check that we can run a simple program.
2607
if test "$cross_compiling" != yes; then
2713
if test "$cross_compiling" != yes; then
Lines 2610-2658 Link Here
2610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611
  *) ac_try_echo=$ac_try;;
2717
  *) ac_try_echo=$ac_try;;
2612
esac
2718
esac
2613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2720
$as_echo "$ac_try_echo") >&5
2614
  (eval "$ac_try") 2>&5
2721
  (eval "$ac_try") 2>&5
2615
  ac_status=$?
2722
  ac_status=$?
2616
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
  (exit $ac_status); }; }; then
2724
  (exit $ac_status); }; }; then
2618
    cross_compiling=no
2725
    cross_compiling=no
2619
  else
2726
  else
2620
    if test "$cross_compiling" = maybe; then
2727
    if test "$cross_compiling" = maybe; then
2621
	cross_compiling=yes
2728
	cross_compiling=yes
2622
    else
2729
    else
2623
	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2730
	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2624
If you meant to cross compile, use \`--host'.
2733
If you meant to cross compile, use \`--host'.
2625
See \`config.log' for more details." >&5
2734
See \`config.log' for more details." >&5
2626
echo "$as_me: error: cannot run C compiled programs.
2735
$as_echo "$as_me: error: cannot run C compiled programs.
2627
If you meant to cross compile, use \`--host'.
2736
If you meant to cross compile, use \`--host'.
2628
See \`config.log' for more details." >&2;}
2737
See \`config.log' for more details." >&2;}
2629
   { (exit 1); exit 1; }; }
2738
   { (exit 1); exit 1; }; }; }
2630
    fi
2739
    fi
2631
  fi
2740
  fi
2632
fi
2741
fi
2633
{ echo "$as_me:$LINENO: result: yes" >&5
2742
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2634
echo "${ECHO_T}yes" >&6; }
2743
$as_echo "yes" >&6; }
2635
2744
2636
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2745
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2637
ac_clean_files=$ac_clean_files_save
2746
ac_clean_files=$ac_clean_files_save
2638
# Check that the compiler produces executables we can run.  If not, either
2747
# Check that the compiler produces executables we can run.  If not, either
2639
# the compiler is broken, or we cross compile.
2748
# the compiler is broken, or we cross compile.
2640
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2749
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2641
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2750
$as_echo_n "checking whether we are cross compiling... " >&6; }
2642
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2751
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2643
echo "${ECHO_T}$cross_compiling" >&6; }
2752
$as_echo "$cross_compiling" >&6; }
2644
2753
2645
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2754
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2646
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2755
$as_echo_n "checking for suffix of executables... " >&6; }
2647
if { (ac_try="$ac_link"
2756
if { (ac_try="$ac_link"
2648
case "(($ac_try" in
2757
case "(($ac_try" in
2649
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650
  *) ac_try_echo=$ac_try;;
2759
  *) ac_try_echo=$ac_try;;
2651
esac
2760
esac
2652
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2761
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2762
$as_echo "$ac_try_echo") >&5
2653
  (eval "$ac_link") 2>&5
2763
  (eval "$ac_link") 2>&5
2654
  ac_status=$?
2764
  ac_status=$?
2655
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656
  (exit $ac_status); }; then
2766
  (exit $ac_status); }; then
2657
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2767
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2658
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2768
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
Lines 2661-2691 Link Here
2661
for ac_file in conftest.exe conftest conftest.*; do
2771
for ac_file in conftest.exe conftest conftest.*; do
2662
  test -f "$ac_file" || continue
2772
  test -f "$ac_file" || continue
2663
  case $ac_file in
2773
  case $ac_file in
2664
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2774
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2665
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2775
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2666
	  break;;
2776
	  break;;
2667
    * ) break;;
2777
    * ) break;;
2668
  esac
2778
  esac
2669
done
2779
done
2670
else
2780
else
2671
  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2781
  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2783
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2672
See \`config.log' for more details." >&5
2784
See \`config.log' for more details." >&5
2673
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2785
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2674
See \`config.log' for more details." >&2;}
2786
See \`config.log' for more details." >&2;}
2675
   { (exit 1); exit 1; }; }
2787
   { (exit 1); exit 1; }; }; }
2676
fi
2788
fi
2677
2789
2678
rm -f conftest$ac_cv_exeext
2790
rm -f conftest$ac_cv_exeext
2679
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2791
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2680
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2792
$as_echo "$ac_cv_exeext" >&6; }
2681
2793
2682
rm -f conftest.$ac_ext
2794
rm -f conftest.$ac_ext
2683
EXEEXT=$ac_cv_exeext
2795
EXEEXT=$ac_cv_exeext
2684
ac_exeext=$EXEEXT
2796
ac_exeext=$EXEEXT
2685
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2797
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2686
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2798
$as_echo_n "checking for suffix of object files... " >&6; }
2687
if test "${ac_cv_objext+set}" = set; then
2799
if test "${ac_cv_objext+set}" = set; then
2688
  echo $ECHO_N "(cached) $ECHO_C" >&6
2800
  $as_echo_n "(cached) " >&6
2689
else
2801
else
2690
  cat >conftest.$ac_ext <<_ACEOF
2802
  cat >conftest.$ac_ext <<_ACEOF
2691
/* confdefs.h.  */
2803
/* confdefs.h.  */
Lines 2708-2747 Link Here
2708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2820
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709
  *) ac_try_echo=$ac_try;;
2821
  *) ac_try_echo=$ac_try;;
2710
esac
2822
esac
2711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2823
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2824
$as_echo "$ac_try_echo") >&5
2712
  (eval "$ac_compile") 2>&5
2825
  (eval "$ac_compile") 2>&5
2713
  ac_status=$?
2826
  ac_status=$?
2714
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715
  (exit $ac_status); }; then
2828
  (exit $ac_status); }; then
2716
  for ac_file in conftest.o conftest.obj conftest.*; do
2829
  for ac_file in conftest.o conftest.obj conftest.*; do
2717
  test -f "$ac_file" || continue;
2830
  test -f "$ac_file" || continue;
2718
  case $ac_file in
2831
  case $ac_file in
2719
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2832
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2720
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2833
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2721
       break;;
2834
       break;;
2722
  esac
2835
  esac
2723
done
2836
done
2724
else
2837
else
2725
  echo "$as_me: failed program was:" >&5
2838
  $as_echo "$as_me: failed program was:" >&5
2726
sed 's/^/| /' conftest.$ac_ext >&5
2839
sed 's/^/| /' conftest.$ac_ext >&5
2727
2840
2728
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2841
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2842
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2843
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2729
See \`config.log' for more details." >&5
2844
See \`config.log' for more details." >&5
2730
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2845
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2731
See \`config.log' for more details." >&2;}
2846
See \`config.log' for more details." >&2;}
2732
   { (exit 1); exit 1; }; }
2847
   { (exit 1); exit 1; }; }; }
2733
fi
2848
fi
2734
2849
2735
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2850
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2736
fi
2851
fi
2737
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2852
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2738
echo "${ECHO_T}$ac_cv_objext" >&6; }
2853
$as_echo "$ac_cv_objext" >&6; }
2739
OBJEXT=$ac_cv_objext
2854
OBJEXT=$ac_cv_objext
2740
ac_objext=$OBJEXT
2855
ac_objext=$OBJEXT
2741
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2856
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2742
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2857
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2743
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2858
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2744
  echo $ECHO_N "(cached) $ECHO_C" >&6
2859
  $as_echo_n "(cached) " >&6
2745
else
2860
else
2746
  cat >conftest.$ac_ext <<_ACEOF
2861
  cat >conftest.$ac_ext <<_ACEOF
2747
/* confdefs.h.  */
2862
/* confdefs.h.  */
Lines 2767-2786 Link Here
2767
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768
  *) ac_try_echo=$ac_try;;
2883
  *) ac_try_echo=$ac_try;;
2769
esac
2884
esac
2770
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2885
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2886
$as_echo "$ac_try_echo") >&5
2771
  (eval "$ac_compile") 2>conftest.er1
2887
  (eval "$ac_compile") 2>conftest.er1
2772
  ac_status=$?
2888
  ac_status=$?
2773
  grep -v '^ *+' conftest.er1 >conftest.err
2889
  grep -v '^ *+' conftest.er1 >conftest.err
2774
  rm -f conftest.er1
2890
  rm -f conftest.er1
2775
  cat conftest.err >&5
2891
  cat conftest.err >&5
2776
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
  (exit $ac_status); } && {
2893
  (exit $ac_status); } && {
2778
	 test -z "$ac_c_werror_flag" ||
2894
	 test -z "$ac_c_werror_flag" ||
2779
	 test ! -s conftest.err
2895
	 test ! -s conftest.err
2780
       } && test -s conftest.$ac_objext; then
2896
       } && test -s conftest.$ac_objext; then
2781
  ac_compiler_gnu=yes
2897
  ac_compiler_gnu=yes
2782
else
2898
else
2783
  echo "$as_me: failed program was:" >&5
2899
  $as_echo "$as_me: failed program was:" >&5
2784
sed 's/^/| /' conftest.$ac_ext >&5
2900
sed 's/^/| /' conftest.$ac_ext >&5
2785
2901
2786
	ac_compiler_gnu=no
2902
	ac_compiler_gnu=no
Lines 2790-2804 Link Here
2790
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2791
2907
2792
fi
2908
fi
2793
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2909
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2794
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2910
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2795
GCC=`test $ac_compiler_gnu = yes && echo yes`
2911
if test $ac_compiler_gnu = yes; then
2912
  GCC=yes
2913
else
2914
  GCC=
2915
fi
2796
ac_test_CFLAGS=${CFLAGS+set}
2916
ac_test_CFLAGS=${CFLAGS+set}
2797
ac_save_CFLAGS=$CFLAGS
2917
ac_save_CFLAGS=$CFLAGS
2798
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2918
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2799
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2919
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2800
if test "${ac_cv_prog_cc_g+set}" = set; then
2920
if test "${ac_cv_prog_cc_g+set}" = set; then
2801
  echo $ECHO_N "(cached) $ECHO_C" >&6
2921
  $as_echo_n "(cached) " >&6
2802
else
2922
else
2803
  ac_save_c_werror_flag=$ac_c_werror_flag
2923
  ac_save_c_werror_flag=$ac_c_werror_flag
2804
   ac_c_werror_flag=yes
2924
   ac_c_werror_flag=yes
Lines 2825-2844 Link Here
2825
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826
  *) ac_try_echo=$ac_try;;
2946
  *) ac_try_echo=$ac_try;;
2827
esac
2947
esac
2828
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2948
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2949
$as_echo "$ac_try_echo") >&5
2829
  (eval "$ac_compile") 2>conftest.er1
2950
  (eval "$ac_compile") 2>conftest.er1
2830
  ac_status=$?
2951
  ac_status=$?
2831
  grep -v '^ *+' conftest.er1 >conftest.err
2952
  grep -v '^ *+' conftest.er1 >conftest.err
2832
  rm -f conftest.er1
2953
  rm -f conftest.er1
2833
  cat conftest.err >&5
2954
  cat conftest.err >&5
2834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835
  (exit $ac_status); } && {
2956
  (exit $ac_status); } && {
2836
	 test -z "$ac_c_werror_flag" ||
2957
	 test -z "$ac_c_werror_flag" ||
2837
	 test ! -s conftest.err
2958
	 test ! -s conftest.err
2838
       } && test -s conftest.$ac_objext; then
2959
       } && test -s conftest.$ac_objext; then
2839
  ac_cv_prog_cc_g=yes
2960
  ac_cv_prog_cc_g=yes
2840
else
2961
else
2841
  echo "$as_me: failed program was:" >&5
2962
  $as_echo "$as_me: failed program was:" >&5
2842
sed 's/^/| /' conftest.$ac_ext >&5
2963
sed 's/^/| /' conftest.$ac_ext >&5
2843
2964
2844
	CFLAGS=""
2965
	CFLAGS=""
Lines 2863-2882 Link Here
2863
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864
  *) ac_try_echo=$ac_try;;
2985
  *) ac_try_echo=$ac_try;;
2865
esac
2986
esac
2866
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2988
$as_echo "$ac_try_echo") >&5
2867
  (eval "$ac_compile") 2>conftest.er1
2989
  (eval "$ac_compile") 2>conftest.er1
2868
  ac_status=$?
2990
  ac_status=$?
2869
  grep -v '^ *+' conftest.er1 >conftest.err
2991
  grep -v '^ *+' conftest.er1 >conftest.err
2870
  rm -f conftest.er1
2992
  rm -f conftest.er1
2871
  cat conftest.err >&5
2993
  cat conftest.err >&5
2872
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873
  (exit $ac_status); } && {
2995
  (exit $ac_status); } && {
2874
	 test -z "$ac_c_werror_flag" ||
2996
	 test -z "$ac_c_werror_flag" ||
2875
	 test ! -s conftest.err
2997
	 test ! -s conftest.err
2876
       } && test -s conftest.$ac_objext; then
2998
       } && test -s conftest.$ac_objext; then
2877
  :
2999
  :
2878
else
3000
else
2879
  echo "$as_me: failed program was:" >&5
3001
  $as_echo "$as_me: failed program was:" >&5
2880
sed 's/^/| /' conftest.$ac_ext >&5
3002
sed 's/^/| /' conftest.$ac_ext >&5
2881
3003
2882
	ac_c_werror_flag=$ac_save_c_werror_flag
3004
	ac_c_werror_flag=$ac_save_c_werror_flag
Lines 2902-2921 Link Here
2902
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3024
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903
  *) ac_try_echo=$ac_try;;
3025
  *) ac_try_echo=$ac_try;;
2904
esac
3026
esac
2905
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3027
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3028
$as_echo "$ac_try_echo") >&5
2906
  (eval "$ac_compile") 2>conftest.er1
3029
  (eval "$ac_compile") 2>conftest.er1
2907
  ac_status=$?
3030
  ac_status=$?
2908
  grep -v '^ *+' conftest.er1 >conftest.err
3031
  grep -v '^ *+' conftest.er1 >conftest.err
2909
  rm -f conftest.er1
3032
  rm -f conftest.er1
2910
  cat conftest.err >&5
3033
  cat conftest.err >&5
2911
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912
  (exit $ac_status); } && {
3035
  (exit $ac_status); } && {
2913
	 test -z "$ac_c_werror_flag" ||
3036
	 test -z "$ac_c_werror_flag" ||
2914
	 test ! -s conftest.err
3037
	 test ! -s conftest.err
2915
       } && test -s conftest.$ac_objext; then
3038
       } && test -s conftest.$ac_objext; then
2916
  ac_cv_prog_cc_g=yes
3039
  ac_cv_prog_cc_g=yes
2917
else
3040
else
2918
  echo "$as_me: failed program was:" >&5
3041
  $as_echo "$as_me: failed program was:" >&5
2919
sed 's/^/| /' conftest.$ac_ext >&5
3042
sed 's/^/| /' conftest.$ac_ext >&5
2920
3043
2921
3044
Lines 2930-2937 Link Here
2930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931
   ac_c_werror_flag=$ac_save_c_werror_flag
3054
   ac_c_werror_flag=$ac_save_c_werror_flag
2932
fi
3055
fi
2933
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3056
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2934
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3057
$as_echo "$ac_cv_prog_cc_g" >&6; }
2935
if test "$ac_test_CFLAGS" = set; then
3058
if test "$ac_test_CFLAGS" = set; then
2936
  CFLAGS=$ac_save_CFLAGS
3059
  CFLAGS=$ac_save_CFLAGS
2937
elif test $ac_cv_prog_cc_g = yes; then
3060
elif test $ac_cv_prog_cc_g = yes; then
Lines 2947-2956 Link Here
2947
    CFLAGS=
3070
    CFLAGS=
2948
  fi
3071
  fi
2949
fi
3072
fi
2950
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3073
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2951
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3074
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2952
if test "${ac_cv_prog_cc_c89+set}" = set; then
3075
if test "${ac_cv_prog_cc_c89+set}" = set; then
2953
  echo $ECHO_N "(cached) $ECHO_C" >&6
3076
  $as_echo_n "(cached) " >&6
2954
else
3077
else
2955
  ac_cv_prog_cc_c89=no
3078
  ac_cv_prog_cc_c89=no
2956
ac_save_CC=$CC
3079
ac_save_CC=$CC
Lines 3021-3040 Link Here
3021
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3022
  *) ac_try_echo=$ac_try;;
3145
  *) ac_try_echo=$ac_try;;
3023
esac
3146
esac
3024
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3148
$as_echo "$ac_try_echo") >&5
3025
  (eval "$ac_compile") 2>conftest.er1
3149
  (eval "$ac_compile") 2>conftest.er1
3026
  ac_status=$?
3150
  ac_status=$?
3027
  grep -v '^ *+' conftest.er1 >conftest.err
3151
  grep -v '^ *+' conftest.er1 >conftest.err
3028
  rm -f conftest.er1
3152
  rm -f conftest.er1
3029
  cat conftest.err >&5
3153
  cat conftest.err >&5
3030
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
  (exit $ac_status); } && {
3155
  (exit $ac_status); } && {
3032
	 test -z "$ac_c_werror_flag" ||
3156
	 test -z "$ac_c_werror_flag" ||
3033
	 test ! -s conftest.err
3157
	 test ! -s conftest.err
3034
       } && test -s conftest.$ac_objext; then
3158
       } && test -s conftest.$ac_objext; then
3035
  ac_cv_prog_cc_c89=$ac_arg
3159
  ac_cv_prog_cc_c89=$ac_arg
3036
else
3160
else
3037
  echo "$as_me: failed program was:" >&5
3161
  $as_echo "$as_me: failed program was:" >&5
3038
sed 's/^/| /' conftest.$ac_ext >&5
3162
sed 's/^/| /' conftest.$ac_ext >&5
3039
3163
3040
3164
Lines 3050-3064 Link Here
3050
# AC_CACHE_VAL
3174
# AC_CACHE_VAL
3051
case "x$ac_cv_prog_cc_c89" in
3175
case "x$ac_cv_prog_cc_c89" in
3052
  x)
3176
  x)
3053
    { echo "$as_me:$LINENO: result: none needed" >&5
3177
    { $as_echo "$as_me:$LINENO: result: none needed" >&5
3054
echo "${ECHO_T}none needed" >&6; } ;;
3178
$as_echo "none needed" >&6; } ;;
3055
  xno)
3179
  xno)
3056
    { echo "$as_me:$LINENO: result: unsupported" >&5
3180
    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3057
echo "${ECHO_T}unsupported" >&6; } ;;
3181
$as_echo "unsupported" >&6; } ;;
3058
  *)
3182
  *)
3059
    CC="$CC $ac_cv_prog_cc_c89"
3183
    CC="$CC $ac_cv_prog_cc_c89"
3060
    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3184
    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3061
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3185
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3062
esac
3186
esac
3063
3187
3064
3188
Lines 3079-3086 Link Here
3079
.PHONY: am__doit
3203
.PHONY: am__doit
3080
END
3204
END
3081
# If we don't find an include directive, just comment out the code.
3205
# If we don't find an include directive, just comment out the code.
3082
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3206
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3083
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3207
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3084
am__include="#"
3208
am__include="#"
3085
am__quote=
3209
am__quote=
3086
_am_result=none
3210
_am_result=none
Lines 3107-3114 Link Here
3107
fi
3231
fi
3108
3232
3109
3233
3110
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3234
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3111
echo "${ECHO_T}$_am_result" >&6; }
3235
$as_echo "$_am_result" >&6; }
3112
rm -f confinc confmf
3236
rm -f confinc confmf
3113
3237
3114
# Check whether --enable-dependency-tracking was given.
3238
# Check whether --enable-dependency-tracking was given.
Lines 3135-3144 Link Here
3135
3259
3136
depcc="$CC"   am_compiler_list=
3260
depcc="$CC"   am_compiler_list=
3137
3261
3138
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3262
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3139
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3263
$as_echo_n "checking dependency style of $depcc... " >&6; }
3140
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3264
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3141
  echo $ECHO_N "(cached) $ECHO_C" >&6
3265
  $as_echo_n "(cached) " >&6
3142
else
3266
else
3143
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3267
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3144
  # We make a subdir and do the tests there.  Otherwise we can end up
3268
  # We make a subdir and do the tests there.  Otherwise we can end up
Lines 3218-3225 Link Here
3218
fi
3342
fi
3219
3343
3220
fi
3344
fi
3221
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3345
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3222
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3346
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3223
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3347
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3224
3348
3225
3349
Lines 3248-3258 Link Here
3248
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3372
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3249
# OS/2's system install, which has a completely different semantic
3373
# OS/2's system install, which has a completely different semantic
3250
# ./install, which can be erroneously created by make from ./install.sh.
3374
# ./install, which can be erroneously created by make from ./install.sh.
3251
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3375
# Reject install programs that cannot install multiple files.
3252
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3376
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3377
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3253
if test -z "$INSTALL"; then
3378
if test -z "$INSTALL"; then
3254
if test "${ac_cv_path_install+set}" = set; then
3379
if test "${ac_cv_path_install+set}" = set; then
3255
  echo $ECHO_N "(cached) $ECHO_C" >&6
3380
  $as_echo_n "(cached) " >&6
3256
else
3381
else
3257
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258
for as_dir in $PATH
3383
for as_dir in $PATH
Lines 3281-3297 Link Here
3281
	    # program-specific install script used by HP pwplus--don't use.
3406
	    # program-specific install script used by HP pwplus--don't use.
3282
	    :
3407
	    :
3283
	  else
3408
	  else
3284
	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3409
	    rm -rf conftest.one conftest.two conftest.dir
3285
	    break 3
3410
	    echo one > conftest.one
3411
	    echo two > conftest.two
3412
	    mkdir conftest.dir
3413
	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3414
	      test -s conftest.one && test -s conftest.two &&
3415
	      test -s conftest.dir/conftest.one &&
3416
	      test -s conftest.dir/conftest.two
3417
	    then
3418
	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3419
	      break 3
3420
	    fi
3286
	  fi
3421
	  fi
3287
	fi
3422
	fi
3288
      done
3423
      done
3289
    done
3424
    done
3290
    ;;
3425
    ;;
3291
esac
3426
esac
3427
3292
done
3428
done
3293
IFS=$as_save_IFS
3429
IFS=$as_save_IFS
3294
3430
3431
rm -rf conftest.one conftest.two conftest.dir
3295
3432
3296
fi
3433
fi
3297
  if test "${ac_cv_path_install+set}" = set; then
3434
  if test "${ac_cv_path_install+set}" = set; then
Lines 3304-3311 Link Here
3304
    INSTALL=$ac_install_sh
3441
    INSTALL=$ac_install_sh
3305
  fi
3442
  fi
3306
fi
3443
fi
3307
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3444
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3308
echo "${ECHO_T}$INSTALL" >&6; }
3445
$as_echo "$INSTALL" >&6; }
3309
3446
3310
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3447
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3311
# It thinks the first close brace ends the variable substitution.
3448
# It thinks the first close brace ends the variable substitution.
Lines 3319-3328 Link Here
3319
do
3456
do
3320
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3457
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3321
set dummy $ac_prog; ac_word=$2
3458
set dummy $ac_prog; ac_word=$2
3322
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3459
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3323
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3460
$as_echo_n "checking for $ac_word... " >&6; }
3324
if test "${ac_cv_prog_YACC+set}" = set; then
3461
if test "${ac_cv_prog_YACC+set}" = set; then
3325
  echo $ECHO_N "(cached) $ECHO_C" >&6
3462
  $as_echo_n "(cached) " >&6
3326
else
3463
else
3327
  if test -n "$YACC"; then
3464
  if test -n "$YACC"; then
3328
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
3465
  ac_cv_prog_YACC="$YACC" # Let the user override the test.
Lines 3335-3341 Link Here
3335
  for ac_exec_ext in '' $ac_executable_extensions; do
3472
  for ac_exec_ext in '' $ac_executable_extensions; do
3336
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3337
    ac_cv_prog_YACC="$ac_prog"
3474
    ac_cv_prog_YACC="$ac_prog"
3338
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3339
    break 2
3476
    break 2
3340
  fi
3477
  fi
3341
done
3478
done
Lines 3346-3356 Link Here
3346
fi
3483
fi
3347
YACC=$ac_cv_prog_YACC
3484
YACC=$ac_cv_prog_YACC
3348
if test -n "$YACC"; then
3485
if test -n "$YACC"; then
3349
  { echo "$as_me:$LINENO: result: $YACC" >&5
3486
  { $as_echo "$as_me:$LINENO: result: $YACC" >&5
3350
echo "${ECHO_T}$YACC" >&6; }
3487
$as_echo "$YACC" >&6; }
3351
else
3488
else
3352
  { echo "$as_me:$LINENO: result: no" >&5
3489
  { $as_echo "$as_me:$LINENO: result: no" >&5
3353
echo "${ECHO_T}no" >&6; }
3490
$as_echo "no" >&6; }
3354
fi
3491
fi
3355
3492
3356
3493
Lines 3363-3372 Link Here
3363
do
3500
do
3364
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3501
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3365
set dummy $ac_prog; ac_word=$2
3502
set dummy $ac_prog; ac_word=$2
3366
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3503
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3367
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3504
$as_echo_n "checking for $ac_word... " >&6; }
3368
if test "${ac_cv_prog_LEX+set}" = set; then
3505
if test "${ac_cv_prog_LEX+set}" = set; then
3369
  echo $ECHO_N "(cached) $ECHO_C" >&6
3506
  $as_echo_n "(cached) " >&6
3370
else
3507
else
3371
  if test -n "$LEX"; then
3508
  if test -n "$LEX"; then
3372
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
3509
  ac_cv_prog_LEX="$LEX" # Let the user override the test.
Lines 3379-3385 Link Here
3379
  for ac_exec_ext in '' $ac_executable_extensions; do
3516
  for ac_exec_ext in '' $ac_executable_extensions; do
3380
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3517
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3381
    ac_cv_prog_LEX="$ac_prog"
3518
    ac_cv_prog_LEX="$ac_prog"
3382
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3519
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383
    break 2
3520
    break 2
3384
  fi
3521
  fi
3385
done
3522
done
Lines 3390-3400 Link Here
3390
fi
3527
fi
3391
LEX=$ac_cv_prog_LEX
3528
LEX=$ac_cv_prog_LEX
3392
if test -n "$LEX"; then
3529
if test -n "$LEX"; then
3393
  { echo "$as_me:$LINENO: result: $LEX" >&5
3530
  { $as_echo "$as_me:$LINENO: result: $LEX" >&5
3394
echo "${ECHO_T}$LEX" >&6; }
3531
$as_echo "$LEX" >&6; }
3395
else
3532
else
3396
  { echo "$as_me:$LINENO: result: no" >&5
3533
  { $as_echo "$as_me:$LINENO: result: no" >&5
3397
echo "${ECHO_T}no" >&6; }
3534
$as_echo "no" >&6; }
3398
fi
3535
fi
3399
3536
3400
3537
Lines 3427-3441 Link Here
3427
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428
  *) ac_try_echo=$ac_try;;
3565
  *) ac_try_echo=$ac_try;;
3429
esac
3566
esac
3430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3567
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3568
$as_echo "$ac_try_echo") >&5
3431
  (eval "$LEX conftest.l") 2>&5
3569
  (eval "$LEX conftest.l") 2>&5
3432
  ac_status=$?
3570
  ac_status=$?
3433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434
  (exit $ac_status); }
3572
  (exit $ac_status); }
3435
{ echo "$as_me:$LINENO: checking lex output file root" >&5
3573
{ $as_echo "$as_me:$LINENO: checking lex output file root" >&5
3436
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
3574
$as_echo_n "checking lex output file root... " >&6; }
3437
if test "${ac_cv_prog_lex_root+set}" = set; then
3575
if test "${ac_cv_prog_lex_root+set}" = set; then
3438
  echo $ECHO_N "(cached) $ECHO_C" >&6
3576
  $as_echo_n "(cached) " >&6
3439
else
3577
else
3440
3578
3441
if test -f lex.yy.c; then
3579
if test -f lex.yy.c; then
Lines 3443-3462 Link Here
3443
elif test -f lexyy.c; then
3581
elif test -f lexyy.c; then
3444
  ac_cv_prog_lex_root=lexyy
3582
  ac_cv_prog_lex_root=lexyy
3445
else
3583
else
3446
  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3584
  { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3447
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3585
$as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3448
   { (exit 1); exit 1; }; }
3586
   { (exit 1); exit 1; }; }
3449
fi
3587
fi
3450
fi
3588
fi
3451
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3589
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3452
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
3590
$as_echo "$ac_cv_prog_lex_root" >&6; }
3453
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3591
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3454
3592
3455
if test -z "${LEXLIB+set}"; then
3593
if test -z "${LEXLIB+set}"; then
3456
  { echo "$as_me:$LINENO: checking lex library" >&5
3594
  { $as_echo "$as_me:$LINENO: checking lex library" >&5
3457
echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
3595
$as_echo_n "checking lex library... " >&6; }
3458
if test "${ac_cv_lib_lex+set}" = set; then
3596
if test "${ac_cv_lib_lex+set}" = set; then
3459
  echo $ECHO_N "(cached) $ECHO_C" >&6
3597
  $as_echo_n "(cached) " >&6
3460
else
3598
else
3461
3599
3462
    ac_save_LIBS=$LIBS
3600
    ac_save_LIBS=$LIBS
Lines 3472-3497 Link Here
3472
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473
  *) ac_try_echo=$ac_try;;
3611
  *) ac_try_echo=$ac_try;;
3474
esac
3612
esac
3475
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3614
$as_echo "$ac_try_echo") >&5
3476
  (eval "$ac_link") 2>conftest.er1
3615
  (eval "$ac_link") 2>conftest.er1
3477
  ac_status=$?
3616
  ac_status=$?
3478
  grep -v '^ *+' conftest.er1 >conftest.err
3617
  grep -v '^ *+' conftest.er1 >conftest.err
3479
  rm -f conftest.er1
3618
  rm -f conftest.er1
3480
  cat conftest.err >&5
3619
  cat conftest.err >&5
3481
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
  (exit $ac_status); } && {
3621
  (exit $ac_status); } && {
3483
	 test -z "$ac_c_werror_flag" ||
3622
	 test -z "$ac_c_werror_flag" ||
3484
	 test ! -s conftest.err
3623
	 test ! -s conftest.err
3485
       } && test -s conftest$ac_exeext &&
3624
       } && test -s conftest$ac_exeext && {
3486
       $as_test_x conftest$ac_exeext; then
3625
	 test "$cross_compiling" = yes ||
3626
	 $as_test_x conftest$ac_exeext
3627
       }; then
3487
  ac_cv_lib_lex=$ac_lib
3628
  ac_cv_lib_lex=$ac_lib
3488
else
3629
else
3489
  echo "$as_me: failed program was:" >&5
3630
  $as_echo "$as_me: failed program was:" >&5
3490
sed 's/^/| /' conftest.$ac_ext >&5
3631
sed 's/^/| /' conftest.$ac_ext >&5
3491
3632
3492
3633
3493
fi
3634
fi
3494
3635
3636
rm -rf conftest.dSYM
3495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3637
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3496
      conftest$ac_exeext conftest.$ac_ext
3638
      conftest$ac_exeext conftest.$ac_ext
3497
      test "$ac_cv_lib_lex" != 'none needed' && break
3639
      test "$ac_cv_lib_lex" != 'none needed' && break
Lines 3499-3514 Link Here
3499
    LIBS=$ac_save_LIBS
3641
    LIBS=$ac_save_LIBS
3500
3642
3501
fi
3643
fi
3502
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3644
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3503
echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
3645
$as_echo "$ac_cv_lib_lex" >&6; }
3504
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3646
  test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
3505
fi
3647
fi
3506
3648
3507
3649
3508
{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3650
{ $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3509
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
3651
$as_echo_n "checking whether yytext is a pointer... " >&6; }
3510
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3652
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3511
  echo $ECHO_N "(cached) $ECHO_C" >&6
3653
  $as_echo_n "(cached) " >&6
3512
else
3654
else
3513
  # POSIX says lex can declare yytext either as a pointer or an array; the
3655
  # POSIX says lex can declare yytext either as a pointer or an array; the
3514
# default is implementation-dependent.  Figure out which it is, since
3656
# default is implementation-dependent.  Figure out which it is, since
Lines 3526-3558 Link Here
3526
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527
  *) ac_try_echo=$ac_try;;
3669
  *) ac_try_echo=$ac_try;;
3528
esac
3670
esac
3529
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3671
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3672
$as_echo "$ac_try_echo") >&5
3530
  (eval "$ac_link") 2>conftest.er1
3673
  (eval "$ac_link") 2>conftest.er1
3531
  ac_status=$?
3674
  ac_status=$?
3532
  grep -v '^ *+' conftest.er1 >conftest.err
3675
  grep -v '^ *+' conftest.er1 >conftest.err
3533
  rm -f conftest.er1
3676
  rm -f conftest.er1
3534
  cat conftest.err >&5
3677
  cat conftest.err >&5
3535
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536
  (exit $ac_status); } && {
3679
  (exit $ac_status); } && {
3537
	 test -z "$ac_c_werror_flag" ||
3680
	 test -z "$ac_c_werror_flag" ||
3538
	 test ! -s conftest.err
3681
	 test ! -s conftest.err
3539
       } && test -s conftest$ac_exeext &&
3682
       } && test -s conftest$ac_exeext && {
3540
       $as_test_x conftest$ac_exeext; then
3683
	 test "$cross_compiling" = yes ||
3684
	 $as_test_x conftest$ac_exeext
3685
       }; then
3541
  ac_cv_prog_lex_yytext_pointer=yes
3686
  ac_cv_prog_lex_yytext_pointer=yes
3542
else
3687
else
3543
  echo "$as_me: failed program was:" >&5
3688
  $as_echo "$as_me: failed program was:" >&5
3544
sed 's/^/| /' conftest.$ac_ext >&5
3689
sed 's/^/| /' conftest.$ac_ext >&5
3545
3690
3546
3691
3547
fi
3692
fi
3548
3693
3694
rm -rf conftest.dSYM
3549
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3695
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3550
      conftest$ac_exeext conftest.$ac_ext
3696
      conftest$ac_exeext conftest.$ac_ext
3551
LIBS=$ac_save_LIBS
3697
LIBS=$ac_save_LIBS
3552
3698
3553
fi
3699
fi
3554
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3700
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3555
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
3701
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3556
if test $ac_cv_prog_lex_yytext_pointer = yes; then
3702
if test $ac_cv_prog_lex_yytext_pointer = yes; then
3557
3703
3558
cat >>confdefs.h <<\_ACEOF
3704
cat >>confdefs.h <<\_ACEOF
Lines 3575-3584 Link Here
3575
3721
3576
else
3722
else
3577
3723
3578
{ echo "$as_me:$LINENO: checking for rs_sig_file in -lrsync" >&5
3724
{ $as_echo "$as_me:$LINENO: checking for rs_sig_file in -lrsync" >&5
3579
echo $ECHO_N "checking for rs_sig_file in -lrsync... $ECHO_C" >&6; }
3725
$as_echo_n "checking for rs_sig_file in -lrsync... " >&6; }
3580
if test "${ac_cv_lib_rsync_rs_sig_file+set}" = set; then
3726
if test "${ac_cv_lib_rsync_rs_sig_file+set}" = set; then
3581
  echo $ECHO_N "(cached) $ECHO_C" >&6
3727
  $as_echo_n "(cached) " >&6
3582
else
3728
else
3583
  ac_check_lib_save_LIBS=$LIBS
3729
  ac_check_lib_save_LIBS=$LIBS
3584
LIBS="-lrsync  $LIBS"
3730
LIBS="-lrsync  $LIBS"
Lines 3610-3642 Link Here
3610
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3611
  *) ac_try_echo=$ac_try;;
3757
  *) ac_try_echo=$ac_try;;
3612
esac
3758
esac
3613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3759
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3760
$as_echo "$ac_try_echo") >&5
3614
  (eval "$ac_link") 2>conftest.er1
3761
  (eval "$ac_link") 2>conftest.er1
3615
  ac_status=$?
3762
  ac_status=$?
3616
  grep -v '^ *+' conftest.er1 >conftest.err
3763
  grep -v '^ *+' conftest.er1 >conftest.err
3617
  rm -f conftest.er1
3764
  rm -f conftest.er1
3618
  cat conftest.err >&5
3765
  cat conftest.err >&5
3619
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620
  (exit $ac_status); } && {
3767
  (exit $ac_status); } && {
3621
	 test -z "$ac_c_werror_flag" ||
3768
	 test -z "$ac_c_werror_flag" ||
3622
	 test ! -s conftest.err
3769
	 test ! -s conftest.err
3623
       } && test -s conftest$ac_exeext &&
3770
       } && test -s conftest$ac_exeext && {
3624
       $as_test_x conftest$ac_exeext; then
3771
	 test "$cross_compiling" = yes ||
3772
	 $as_test_x conftest$ac_exeext
3773
       }; then
3625
  ac_cv_lib_rsync_rs_sig_file=yes
3774
  ac_cv_lib_rsync_rs_sig_file=yes
3626
else
3775
else
3627
  echo "$as_me: failed program was:" >&5
3776
  $as_echo "$as_me: failed program was:" >&5
3628
sed 's/^/| /' conftest.$ac_ext >&5
3777
sed 's/^/| /' conftest.$ac_ext >&5
3629
3778
3630
	ac_cv_lib_rsync_rs_sig_file=no
3779
	ac_cv_lib_rsync_rs_sig_file=no
3631
fi
3780
fi
3632
3781
3782
rm -rf conftest.dSYM
3633
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3783
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3634
      conftest$ac_exeext conftest.$ac_ext
3784
      conftest$ac_exeext conftest.$ac_ext
3635
LIBS=$ac_check_lib_save_LIBS
3785
LIBS=$ac_check_lib_save_LIBS
3636
fi
3786
fi
3637
{ echo "$as_me:$LINENO: result: $ac_cv_lib_rsync_rs_sig_file" >&5
3787
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rsync_rs_sig_file" >&5
3638
echo "${ECHO_T}$ac_cv_lib_rsync_rs_sig_file" >&6; }
3788
$as_echo "$ac_cv_lib_rsync_rs_sig_file" >&6; }
3639
if test $ac_cv_lib_rsync_rs_sig_file = yes; then
3789
if test "x$ac_cv_lib_rsync_rs_sig_file" = x""yes; then
3640
  cat >>confdefs.h <<_ACEOF
3790
  cat >>confdefs.h <<_ACEOF
3641
#define HAVE_LIBRSYNC 1
3791
#define HAVE_LIBRSYNC 1
3642
_ACEOF
3792
_ACEOF
Lines 3644-3651 Link Here
3644
  LIBS="-lrsync $LIBS"
3794
  LIBS="-lrsync $LIBS"
3645
3795
3646
else
3796
else
3647
  { { echo "$as_me:$LINENO: error: librsync is required" >&5
3797
  { { $as_echo "$as_me:$LINENO: error: librsync is required" >&5
3648
echo "$as_me: error: librsync is required" >&2;}
3798
$as_echo "$as_me: error: librsync is required" >&2;}
3649
   { (exit 1); exit 1; }; }
3799
   { (exit 1); exit 1; }; }
3650
fi
3800
fi
3651
3801
Lines 3671-3680 Link Here
3671
3821
3672
else
3822
else
3673
3823
3674
{ echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
3824
{ $as_echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
3675
echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
3825
$as_echo_n "checking for sqlite_exec in -lsqlite... " >&6; }
3676
if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
3826
if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
3677
  echo $ECHO_N "(cached) $ECHO_C" >&6
3827
  $as_echo_n "(cached) " >&6
3678
else
3828
else
3679
  ac_check_lib_save_LIBS=$LIBS
3829
  ac_check_lib_save_LIBS=$LIBS
3680
LIBS="-lsqlite  $LIBS"
3830
LIBS="-lsqlite  $LIBS"
Lines 3706-3738 Link Here
3706
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3856
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3707
  *) ac_try_echo=$ac_try;;
3857
  *) ac_try_echo=$ac_try;;
3708
esac
3858
esac
3709
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3859
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3860
$as_echo "$ac_try_echo") >&5
3710
  (eval "$ac_link") 2>conftest.er1
3861
  (eval "$ac_link") 2>conftest.er1
3711
  ac_status=$?
3862
  ac_status=$?
3712
  grep -v '^ *+' conftest.er1 >conftest.err
3863
  grep -v '^ *+' conftest.er1 >conftest.err
3713
  rm -f conftest.er1
3864
  rm -f conftest.er1
3714
  cat conftest.err >&5
3865
  cat conftest.err >&5
3715
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716
  (exit $ac_status); } && {
3867
  (exit $ac_status); } && {
3717
	 test -z "$ac_c_werror_flag" ||
3868
	 test -z "$ac_c_werror_flag" ||
3718
	 test ! -s conftest.err
3869
	 test ! -s conftest.err
3719
       } && test -s conftest$ac_exeext &&
3870
       } && test -s conftest$ac_exeext && {
3720
       $as_test_x conftest$ac_exeext; then
3871
	 test "$cross_compiling" = yes ||
3872
	 $as_test_x conftest$ac_exeext
3873
       }; then
3721
  ac_cv_lib_sqlite_sqlite_exec=yes
3874
  ac_cv_lib_sqlite_sqlite_exec=yes
3722
else
3875
else
3723
  echo "$as_me: failed program was:" >&5
3876
  $as_echo "$as_me: failed program was:" >&5
3724
sed 's/^/| /' conftest.$ac_ext >&5
3877
sed 's/^/| /' conftest.$ac_ext >&5
3725
3878
3726
	ac_cv_lib_sqlite_sqlite_exec=no
3879
	ac_cv_lib_sqlite_sqlite_exec=no
3727
fi
3880
fi
3728
3881
3882
rm -rf conftest.dSYM
3729
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3730
      conftest$ac_exeext conftest.$ac_ext
3884
      conftest$ac_exeext conftest.$ac_ext
3731
LIBS=$ac_check_lib_save_LIBS
3885
LIBS=$ac_check_lib_save_LIBS
3732
fi
3886
fi
3733
{ echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
3887
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
3734
echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
3888
$as_echo "$ac_cv_lib_sqlite_sqlite_exec" >&6; }
3735
if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
3889
if test "x$ac_cv_lib_sqlite_sqlite_exec" = x""yes; then
3736
  cat >>confdefs.h <<_ACEOF
3890
  cat >>confdefs.h <<_ACEOF
3737
#define HAVE_LIBSQLITE 1
3891
#define HAVE_LIBSQLITE 1
3738
_ACEOF
3892
_ACEOF
Lines 3740-3747 Link Here
3740
  LIBS="-lsqlite $LIBS"
3894
  LIBS="-lsqlite $LIBS"
3741
3895
3742
else
3896
else
3743
  { { echo "$as_me:$LINENO: error: libsqlite is required" >&5
3897
  { { $as_echo "$as_me:$LINENO: error: libsqlite is required" >&5
3744
echo "$as_me: error: libsqlite is required" >&2;}
3898
$as_echo "$as_me: error: libsqlite is required" >&2;}
3745
   { (exit 1); exit 1; }; }
3899
   { (exit 1); exit 1; }; }
3746
fi
3900
fi
3747
3901
Lines 3769-3777 Link Here
3769
3923
3770
if test "$enable_gnutls" != no
3924
if test "$enable_gnutls" != no
3771
then
3925
then
3772
3773
	# Check for gnuTLS.
3926
	# Check for gnuTLS.
3774
3927
3928
3929
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3930
	if test -n "$ac_tool_prefix"; then
3931
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3932
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3934
$as_echo_n "checking for $ac_word... " >&6; }
3935
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3936
  $as_echo_n "(cached) " >&6
3937
else
3938
  case $PKG_CONFIG in
3939
  [\\/]* | ?:[\\/]*)
3940
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3941
  ;;
3942
  *)
3943
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944
for as_dir in $PATH
3945
do
3946
  IFS=$as_save_IFS
3947
  test -z "$as_dir" && as_dir=.
3948
  for ac_exec_ext in '' $ac_executable_extensions; do
3949
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3951
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
    break 2
3953
  fi
3954
done
3955
done
3956
IFS=$as_save_IFS
3957
3958
  ;;
3959
esac
3960
fi
3961
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3962
if test -n "$PKG_CONFIG"; then
3963
  { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3964
$as_echo "$PKG_CONFIG" >&6; }
3965
else
3966
  { $as_echo "$as_me:$LINENO: result: no" >&5
3967
$as_echo "no" >&6; }
3968
fi
3969
3970
3971
fi
3972
if test -z "$ac_cv_path_PKG_CONFIG"; then
3973
  ac_pt_PKG_CONFIG=$PKG_CONFIG
3974
  # Extract the first word of "pkg-config", so it can be a program name with args.
3975
set dummy pkg-config; ac_word=$2
3976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3977
$as_echo_n "checking for $ac_word... " >&6; }
3978
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3979
  $as_echo_n "(cached) " >&6
3980
else
3981
  case $ac_pt_PKG_CONFIG in
3982
  [\\/]* | ?:[\\/]*)
3983
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3984
  ;;
3985
  *)
3986
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987
for as_dir in $PATH
3988
do
3989
  IFS=$as_save_IFS
3990
  test -z "$as_dir" && as_dir=.
3991
  for ac_exec_ext in '' $ac_executable_extensions; do
3992
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3994
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3995
    break 2
3996
  fi
3997
done
3998
done
3999
IFS=$as_save_IFS
4000
4001
  ;;
4002
esac
4003
fi
4004
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4005
if test -n "$ac_pt_PKG_CONFIG"; then
4006
  { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
4007
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4008
else
4009
  { $as_echo "$as_me:$LINENO: result: no" >&5
4010
$as_echo "no" >&6; }
4011
fi
4012
4013
  if test "x$ac_pt_PKG_CONFIG" = x; then
4014
    PKG_CONFIG=""
4015
  else
4016
    case $cross_compiling:$ac_tool_warned in
4017
yes:)
4018
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4020
ac_tool_warned=yes ;;
4021
esac
4022
    PKG_CONFIG=$ac_pt_PKG_CONFIG
4023
  fi
4024
else
4025
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4026
fi
4027
4028
fi
4029
if test -n "$PKG_CONFIG"; then
4030
	_pkg_min_version=0.9.0
4031
	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
4032
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4033
	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4034
		{ $as_echo "$as_me:$LINENO: result: yes" >&5
4035
$as_echo "yes" >&6; }
4036
	else
4037
		{ $as_echo "$as_me:$LINENO: result: no" >&5
4038
$as_echo "no" >&6; }
4039
		PKG_CONFIG=""
4040
	fi
4041
4042
fi
4043
3775
# Check whether --with-libgnutls-prefix was given.
4044
# Check whether --with-libgnutls-prefix was given.
3776
if test "${with_libgnutls_prefix+set}" = set; then
4045
if test "${with_libgnutls_prefix+set}" = set; then
3777
  withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
4046
  withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
Lines 3780-3797 Link Here
3780
fi
4049
fi
3781
4050
3782
4051
3783
  if test x$libgnutls_config_prefix != x ; then
4052
  min_libgnutls_version=1.0.0
3784
     if test x${LIBGNUTLS_CONFIG+set} != xset ; then
4053
  { $as_echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
3785
        LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
4054
$as_echo_n "checking for libgnutls - version >= $min_libgnutls_version... " >&6; }
3786
     fi
3787
  fi
3788
4055
3789
  # Extract the first word of "libgnutls-config", so it can be a program name with args.
4056
  if test -n "$PKG_CONFIG" && \
4057
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnutls\"") >&5
4058
  ($PKG_CONFIG --exists --print-errors "gnutls") 2>&5
4059
  ac_status=$?
4060
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061
  (exit $ac_status); }; then
4062
4063
		LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls`
4064
		LIBGNUTLS_LIBS=`$PKG_CONFIG --libs gnutls`
4065
		libgnutls_config_version=`$PKG_CONFIG --modversion gnutls`
4066
4067
else
4068
4069
		# Extract the first word of "libgnutls-config", so it can be a program name with args.
3790
set dummy libgnutls-config; ac_word=$2
4070
set dummy libgnutls-config; ac_word=$2
3791
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4071
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3792
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4072
$as_echo_n "checking for $ac_word... " >&6; }
3793
if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
4073
if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
3794
  echo $ECHO_N "(cached) $ECHO_C" >&6
4074
  $as_echo_n "(cached) " >&6
3795
else
4075
else
3796
  case $LIBGNUTLS_CONFIG in
4076
  case $LIBGNUTLS_CONFIG in
3797
  [\\/]* | ?:[\\/]*)
4077
  [\\/]* | ?:[\\/]*)
Lines 3799-3850 Link Here
3799
  ;;
4079
  ;;
3800
  *)
4080
  *)
3801
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802
for as_dir in $PATH
4082
for as_dir in $libgnutls_config_prefix/bin$PATH_SEPARATOR$PATH
3803
do
4083
do
3804
  IFS=$as_save_IFS
4084
  IFS=$as_save_IFS
3805
  test -z "$as_dir" && as_dir=.
4085
  test -z "$as_dir" && as_dir=.
3806
  for ac_exec_ext in '' $ac_executable_extensions; do
4086
  for ac_exec_ext in '' $ac_executable_extensions; do
3807
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4087
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808
    ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4088
    ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3809
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089
    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3810
    break 2
4090
    break 2
3811
  fi
4091
  fi
3812
done
4092
done
3813
done
4093
done
3814
IFS=$as_save_IFS
4094
IFS=$as_save_IFS
3815
4095
3816
  test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
3817
  ;;
4096
  ;;
3818
esac
4097
esac
3819
fi
4098
fi
3820
LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
4099
LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
3821
if test -n "$LIBGNUTLS_CONFIG"; then
4100
if test -n "$LIBGNUTLS_CONFIG"; then
3822
  { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
4101
  { $as_echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
3823
echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
4102
$as_echo "$LIBGNUTLS_CONFIG" >&6; }
3824
else
4103
else
3825
  { echo "$as_me:$LINENO: result: no" >&5
4104
  { $as_echo "$as_me:$LINENO: result: no" >&5
3826
echo "${ECHO_T}no" >&6; }
4105
$as_echo "no" >&6; }
3827
fi
4106
fi
3828
4107
3829
4108
3830
  min_libgnutls_version=1.0.0
4109
		if test "$LIBGNUTLS_CONFIG"=no
3831
  { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
4110
		then
3832
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
4111
			no_libgnutls=yes
3833
  no_libgnutls=""
4112
			echo "Can't obtain gnutls package info!" >&2
3834
  if test "$LIBGNUTLS_CONFIG" = "no" ; then
4113
		fi
3835
    no_libgnutls=yes
3836
  else
3837
    LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
3838
    LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
3839
    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
3840
4114
4115
		LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
4116
		LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
4117
		libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
3841
4118
3842
      ac_save_CFLAGS="$CFLAGS"
4119
3843
      ac_save_LIBS="$LIBS"
4120
fi
3844
      CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
4121
3845
      LIBS="$LIBS $LIBGNUTLS_LIBS"
4122
  if test "$no_libgnutls" != no
3846
      rm -f conf.libgnutlstest
4123
  then
3847
      if test "$cross_compiling" = yes; then
4124
    ac_save_CFLAGS="$CFLAGS"
4125
    ac_save_LIBS="$LIBS"
4126
    CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
4127
    LIBS="$LIBS $LIBGNUTLS_LIBS"
4128
4129
    rm -f conf.libgnutlstest
4130
    if test "$cross_compiling" = yes; then
3848
  echo $ac_n "cross compiling; assumed OK... $ac_c"
4131
  echo $ac_n "cross compiling; assumed OK... $ac_c"
3849
else
4132
else
3850
  cat >conftest.$ac_ext <<_ACEOF
4133
  cat >conftest.$ac_ext <<_ACEOF
Lines 3915-3943 Link Here
3915
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916
  *) ac_try_echo=$ac_try;;
4199
  *) ac_try_echo=$ac_try;;
3917
esac
4200
esac
3918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4202
$as_echo "$ac_try_echo") >&5
3919
  (eval "$ac_link") 2>&5
4203
  (eval "$ac_link") 2>&5
3920
  ac_status=$?
4204
  ac_status=$?
3921
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4205
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4206
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3923
  { (case "(($ac_try" in
4207
  { (case "(($ac_try" in
3924
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4208
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925
  *) ac_try_echo=$ac_try;;
4209
  *) ac_try_echo=$ac_try;;
3926
esac
4210
esac
3927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4211
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4212
$as_echo "$ac_try_echo") >&5
3928
  (eval "$ac_try") 2>&5
4213
  (eval "$ac_try") 2>&5
3929
  ac_status=$?
4214
  ac_status=$?
3930
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931
  (exit $ac_status); }; }; then
4216
  (exit $ac_status); }; }; then
3932
  :
4217
  :
3933
else
4218
else
3934
  echo "$as_me: program exited with status $ac_status" >&5
4219
  $as_echo "$as_me: program exited with status $ac_status" >&5
3935
echo "$as_me: failed program was:" >&5
4220
$as_echo "$as_me: failed program was:" >&5
3936
sed 's/^/| /' conftest.$ac_ext >&5
4221
sed 's/^/| /' conftest.$ac_ext >&5
3937
4222
3938
( exit $ac_status )
4223
( exit $ac_status )
3939
no_libgnutls=yes
4224
no_libgnutls=yes
3940
fi
4225
fi
4226
rm -rf conftest.dSYM
3941
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4227
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3942
fi
4228
fi
3943
4229
Lines 3947-3961 Link Here
3947
  fi
4233
  fi
3948
4234
3949
  if test "x$no_libgnutls" = x ; then
4235
  if test "x$no_libgnutls" = x ; then
3950
     { echo "$as_me:$LINENO: result: yes" >&5
4236
     { $as_echo "$as_me:$LINENO: result: yes" >&5
3951
echo "${ECHO_T}yes" >&6; }
4237
$as_echo "yes" >&6; }
3952
     :
4238
     :
4239
4240
4241
cat >>confdefs.h <<\_ACEOF
4242
#define HAVE_LIBGNUTLS 1
4243
_ACEOF
4244
3953
  else
4245
  else
3954
     if test -f conf.libgnutlstest ; then
4246
     if test -f conf.libgnutlstest ; then
3955
        :
4247
        :
3956
     else
4248
     else
3957
        { echo "$as_me:$LINENO: result: no" >&5
4249
        { $as_echo "$as_me:$LINENO: result: no" >&5
3958
echo "${ECHO_T}no" >&6; }
4250
$as_echo "no" >&6; }
3959
     fi
4251
     fi
3960
     if test "$LIBGNUTLS_CONFIG" = "no" ; then
4252
     if test "$LIBGNUTLS_CONFIG" = "no" ; then
3961
       echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
4253
       echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
Lines 3995-4012 Link Here
3995
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996
  *) ac_try_echo=$ac_try;;
4288
  *) ac_try_echo=$ac_try;;
3997
esac
4289
esac
3998
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4290
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4291
$as_echo "$ac_try_echo") >&5
3999
  (eval "$ac_link") 2>conftest.er1
4292
  (eval "$ac_link") 2>conftest.er1
4000
  ac_status=$?
4293
  ac_status=$?
4001
  grep -v '^ *+' conftest.er1 >conftest.err
4294
  grep -v '^ *+' conftest.er1 >conftest.err
4002
  rm -f conftest.er1
4295
  rm -f conftest.er1
4003
  cat conftest.err >&5
4296
  cat conftest.err >&5
4004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005
  (exit $ac_status); } && {
4298
  (exit $ac_status); } && {
4006
	 test -z "$ac_c_werror_flag" ||
4299
	 test -z "$ac_c_werror_flag" ||
4007
	 test ! -s conftest.err
4300
	 test ! -s conftest.err
4008
       } && test -s conftest$ac_exeext &&
4301
       } && test -s conftest$ac_exeext && {
4009
       $as_test_x conftest$ac_exeext; then
4302
	 test "$cross_compiling" = yes ||
4303
	 $as_test_x conftest$ac_exeext
4304
       }; then
4010
   echo "*** The test program compiled, but did not run. This usually means"
4305
   echo "*** The test program compiled, but did not run. This usually means"
4011
          echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
4306
          echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
4012
          echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
4307
          echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
Lines 4018-4024 Link Here
4018
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4313
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4019
          echo "***"
4314
          echo "***"
4020
else
4315
else
4021
  echo "$as_me: failed program was:" >&5
4316
  $as_echo "$as_me: failed program was:" >&5
4022
sed 's/^/| /' conftest.$ac_ext >&5
4317
sed 's/^/| /' conftest.$ac_ext >&5
4023
4318
4024
	 echo "*** The test program failed to compile or link. See the file config.log for the"
4319
	 echo "*** The test program failed to compile or link. See the file config.log for the"
Lines 4027-4032 Link Here
4027
          echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
4322
          echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
4028
fi
4323
fi
4029
4324
4325
rm -rf conftest.dSYM
4030
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4326
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031
      conftest$ac_exeext conftest.$ac_ext
4327
      conftest$ac_exeext conftest.$ac_ext
4032
          CFLAGS="$ac_save_CFLAGS"
4328
          CFLAGS="$ac_save_CFLAGS"
Lines 4035-4132 Link Here
4035
     fi
4331
     fi
4036
     LIBGNUTLS_CFLAGS=""
4332
     LIBGNUTLS_CFLAGS=""
4037
     LIBGNUTLS_LIBS=""
4333
     LIBGNUTLS_LIBS=""
4038
      { { echo "$as_me:$LINENO: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&5
4334
      { { $as_echo "$as_me:$LINENO: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&5
4039
echo "$as_me: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&2;}
4335
$as_echo "$as_me: error: gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&2;}
4040
   { (exit 1); exit 1; }; }
4336
   { (exit 1); exit 1; }; }
4041
  fi
4337
   fi
4338
4042
  rm -f conf.libgnutlstest
4339
  rm -f conf.libgnutlstest
4043
4340
4044
4341
4045
4342
4046
4343
4047
	# This is a bloody hack for fedora core
4344
	## This is a bloody hack for fedora core
4048
	CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
4345
	CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
4049
	LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1"
4346
	LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1"
4050
4051
	# Check gnuTLS SSL compatibility lib.
4052
4053
{ echo "$as_me:$LINENO: checking for SSL_new in -lgnutls-openssl" >&5
4054
echo $ECHO_N "checking for SSL_new in -lgnutls-openssl... $ECHO_C" >&6; }
4055
if test "${ac_cv_lib_gnutls_openssl_SSL_new+set}" = set; then
4056
  echo $ECHO_N "(cached) $ECHO_C" >&6
4057
else
4058
  ac_check_lib_save_LIBS=$LIBS
4059
LIBS="-lgnutls-openssl  $LIBS"
4060
cat >conftest.$ac_ext <<_ACEOF
4061
/* confdefs.h.  */
4062
_ACEOF
4063
cat confdefs.h >>conftest.$ac_ext
4064
cat >>conftest.$ac_ext <<_ACEOF
4065
/* end confdefs.h.  */
4066
4067
/* Override any GCC internal prototype to avoid an error.
4068
   Use char because int might match the return type of a GCC
4069
   builtin and then its argument prototype would still apply.  */
4070
#ifdef __cplusplus
4071
extern "C"
4072
#endif
4073
char SSL_new ();
4074
int
4075
main ()
4076
{
4077
return SSL_new ();
4078
  ;
4079
  return 0;
4080
}
4081
_ACEOF
4082
rm -f conftest.$ac_objext conftest$ac_exeext
4083
if { (ac_try="$ac_link"
4084
case "(($ac_try" in
4085
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086
  *) ac_try_echo=$ac_try;;
4087
esac
4088
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4089
  (eval "$ac_link") 2>conftest.er1
4090
  ac_status=$?
4091
  grep -v '^ *+' conftest.er1 >conftest.err
4092
  rm -f conftest.er1
4093
  cat conftest.err >&5
4094
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095
  (exit $ac_status); } && {
4096
	 test -z "$ac_c_werror_flag" ||
4097
	 test ! -s conftest.err
4098
       } && test -s conftest$ac_exeext &&
4099
       $as_test_x conftest$ac_exeext; then
4100
  ac_cv_lib_gnutls_openssl_SSL_new=yes
4101
else
4102
  echo "$as_me: failed program was:" >&5
4103
sed 's/^/| /' conftest.$ac_ext >&5
4104
4105
	ac_cv_lib_gnutls_openssl_SSL_new=no
4106
fi
4347
fi
4107
4348
4108
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109
      conftest$ac_exeext conftest.$ac_ext
4110
LIBS=$ac_check_lib_save_LIBS
4111
fi
4112
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_openssl_SSL_new" >&5
4113
echo "${ECHO_T}$ac_cv_lib_gnutls_openssl_SSL_new" >&6; }
4114
if test $ac_cv_lib_gnutls_openssl_SSL_new = yes; then
4115
  cat >>confdefs.h <<_ACEOF
4116
#define HAVE_LIBGNUTLS_OPENSSL 1
4117
_ACEOF
4118
4119
  LIBS="-lgnutls-openssl $LIBS"
4120
4349
4350
if test "$enable_gnutls" != no ; then
4351
  HAVE_LIBGNUTLS_TRUE=
4352
  HAVE_LIBGNUTLS_FALSE='#'
4121
else
4353
else
4122
  { { echo "$as_me:$LINENO: error: gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&5
4354
  HAVE_LIBGNUTLS_TRUE='#'
4123
echo "$as_me: error: gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls" >&2;}
4355
  HAVE_LIBGNUTLS_FALSE=
4124
   { (exit 1); exit 1; }; }
4125
fi
4356
fi
4126
4357
4127
4358
4128
fi
4129
4130
ac_config_files="$ac_config_files Makefile"
4359
ac_config_files="$ac_config_files Makefile"
4131
4360
4132
cat >confcache <<\_ACEOF
4361
cat >confcache <<\_ACEOF
Lines 4156-4166 Link Here
4156
    case $ac_val in #(
4385
    case $ac_val in #(
4157
    *${as_nl}*)
4386
    *${as_nl}*)
4158
      case $ac_var in #(
4387
      case $ac_var in #(
4159
      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4388
      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
4160
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4389
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4161
      esac
4390
      esac
4162
      case $ac_var in #(
4391
      case $ac_var in #(
4163
      _ | IFS | as_nl) ;; #(
4392
      _ | IFS | as_nl) ;; #(
4393
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4164
      *) $as_unset $ac_var ;;
4394
      *) $as_unset $ac_var ;;
4165
      esac ;;
4395
      esac ;;
4166
    esac
4396
    esac
Lines 4193-4204 Link Here
4193
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4423
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4194
  if test -w "$cache_file"; then
4424
  if test -w "$cache_file"; then
4195
    test "x$cache_file" != "x/dev/null" &&
4425
    test "x$cache_file" != "x/dev/null" &&
4196
      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4426
      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4197
echo "$as_me: updating cache $cache_file" >&6;}
4427
$as_echo "$as_me: updating cache $cache_file" >&6;}
4198
    cat confcache >$cache_file
4428
    cat confcache >$cache_file
4199
  else
4429
  else
4200
    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4430
    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4201
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4431
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4202
  fi
4432
  fi
4203
fi
4433
fi
4204
rm -f confcache
4434
rm -f confcache
Lines 4214-4220 Link Here
4214
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4444
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4215
  # 1. Remove the extension, and $U if already installed.
4445
  # 1. Remove the extension, and $U if already installed.
4216
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4446
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4217
  ac_i=`echo "$ac_i" | sed "$ac_script"`
4447
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4218
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4448
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4219
  #    will be set to the directory where LIBOBJS objects are built.
4449
  #    will be set to the directory where LIBOBJS objects are built.
4220
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4450
  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
Lines 4226-4265 Link Here
4226
4456
4227
4457
4228
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4458
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4229
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4459
  { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4230
Usually this means the macro was only invoked conditionally." >&5
4460
Usually this means the macro was only invoked conditionally." >&5
4231
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4461
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4232
Usually this means the macro was only invoked conditionally." >&2;}
4462
Usually this means the macro was only invoked conditionally." >&2;}
4233
   { (exit 1); exit 1; }; }
4463
   { (exit 1); exit 1; }; }
4234
fi
4464
fi
4235
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4465
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4236
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4466
  { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4237
Usually this means the macro was only invoked conditionally." >&5
4467
Usually this means the macro was only invoked conditionally." >&5
4238
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4468
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4239
Usually this means the macro was only invoked conditionally." >&2;}
4469
Usually this means the macro was only invoked conditionally." >&2;}
4240
   { (exit 1); exit 1; }; }
4470
   { (exit 1); exit 1; }; }
4241
fi
4471
fi
4242
if test -z "${PRIVATE_LIBRSYNC_TRUE}" && test -z "${PRIVATE_LIBRSYNC_FALSE}"; then
4472
if test -z "${PRIVATE_LIBRSYNC_TRUE}" && test -z "${PRIVATE_LIBRSYNC_FALSE}"; then
4243
  { { echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBRSYNC\" was never defined.
4473
  { { $as_echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBRSYNC\" was never defined.
4244
Usually this means the macro was only invoked conditionally." >&5
4474
Usually this means the macro was only invoked conditionally." >&5
4245
echo "$as_me: error: conditional \"PRIVATE_LIBRSYNC\" was never defined.
4475
$as_echo "$as_me: error: conditional \"PRIVATE_LIBRSYNC\" was never defined.
4246
Usually this means the macro was only invoked conditionally." >&2;}
4476
Usually this means the macro was only invoked conditionally." >&2;}
4247
   { (exit 1); exit 1; }; }
4477
   { (exit 1); exit 1; }; }
4248
fi
4478
fi
4249
if test -z "${PRIVATE_LIBSQLITE_TRUE}" && test -z "${PRIVATE_LIBSQLITE_FALSE}"; then
4479
if test -z "${PRIVATE_LIBSQLITE_TRUE}" && test -z "${PRIVATE_LIBSQLITE_FALSE}"; then
4250
  { { echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBSQLITE\" was never defined.
4480
  { { $as_echo "$as_me:$LINENO: error: conditional \"PRIVATE_LIBSQLITE\" was never defined.
4251
Usually this means the macro was only invoked conditionally." >&5
4481
Usually this means the macro was only invoked conditionally." >&5
4252
echo "$as_me: error: conditional \"PRIVATE_LIBSQLITE\" was never defined.
4482
$as_echo "$as_me: error: conditional \"PRIVATE_LIBSQLITE\" was never defined.
4483
Usually this means the macro was only invoked conditionally." >&2;}
4484
   { (exit 1); exit 1; }; }
4485
fi
4486
if test -z "${HAVE_LIBGNUTLS_TRUE}" && test -z "${HAVE_LIBGNUTLS_FALSE}"; then
4487
  { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_LIBGNUTLS\" was never defined.
4488
Usually this means the macro was only invoked conditionally." >&5
4489
$as_echo "$as_me: error: conditional \"HAVE_LIBGNUTLS\" was never defined.
4253
Usually this means the macro was only invoked conditionally." >&2;}
4490
Usually this means the macro was only invoked conditionally." >&2;}
4254
   { (exit 1); exit 1; }; }
4491
   { (exit 1); exit 1; }; }
4255
fi
4492
fi
4256
4493
4257
: ${CONFIG_STATUS=./config.status}
4494
: ${CONFIG_STATUS=./config.status}
4495
ac_write_fail=0
4258
ac_clean_files_save=$ac_clean_files
4496
ac_clean_files_save=$ac_clean_files
4259
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4497
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4260
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4498
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4261
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4499
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4262
cat >$CONFIG_STATUS <<_ACEOF
4500
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4263
#! $SHELL
4501
#! $SHELL
4264
# Generated by $as_me.
4502
# Generated by $as_me.
4265
# Run this file to recreate the current configuration.
4503
# Run this file to recreate the current configuration.
Lines 4272-4278 Link Here
4272
SHELL=\${CONFIG_SHELL-$SHELL}
4510
SHELL=\${CONFIG_SHELL-$SHELL}
4273
_ACEOF
4511
_ACEOF
4274
4512
4275
cat >>$CONFIG_STATUS <<\_ACEOF
4513
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4276
## --------------------- ##
4514
## --------------------- ##
4277
## M4sh Initialization.  ##
4515
## M4sh Initialization.  ##
4278
## --------------------- ##
4516
## --------------------- ##
Lines 4282-4288 Link Here
4282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4520
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4283
  emulate sh
4521
  emulate sh
4284
  NULLCMD=:
4522
  NULLCMD=:
4285
  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4523
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4286
  # is contrary to our usage.  Disable this feature.
4524
  # is contrary to our usage.  Disable this feature.
4287
  alias -g '${1+"$@"}'='"$@"'
4525
  alias -g '${1+"$@"}'='"$@"'
4288
  setopt NO_GLOB_SUBST
4526
  setopt NO_GLOB_SUBST
Lines 4304-4320 Link Here
4304
as_cr_digits='0123456789'
4542
as_cr_digits='0123456789'
4305
as_cr_alnum=$as_cr_Letters$as_cr_digits
4543
as_cr_alnum=$as_cr_Letters$as_cr_digits
4306
4544
4307
# The user is always right.
4545
as_nl='
4308
if test "${PATH_SEPARATOR+set}" != set; then
4546
'
4309
  echo "#! /bin/sh" >conf$$.sh
4547
export as_nl
4310
  echo  "exit 0"   >>conf$$.sh
4548
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4311
  chmod +x conf$$.sh
4549
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4312
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4550
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4313
    PATH_SEPARATOR=';'
4551
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4552
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4553
  as_echo='printf %s\n'
4554
  as_echo_n='printf %s'
4555
else
4556
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4557
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4558
    as_echo_n='/usr/ucb/echo -n'
4314
  else
4559
  else
4315
    PATH_SEPARATOR=:
4560
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4561
    as_echo_n_body='eval
4562
      arg=$1;
4563
      case $arg in
4564
      *"$as_nl"*)
4565
	expr "X$arg" : "X\\(.*\\)$as_nl";
4566
	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4567
      esac;
4568
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4569
    '
4570
    export as_echo_n_body
4571
    as_echo_n='sh -c $as_echo_n_body as_echo'
4316
  fi
4572
  fi
4317
  rm -f conf$$.sh
4573
  export as_echo_body
4574
  as_echo='sh -c $as_echo_body as_echo'
4575
fi
4576
4577
# The user is always right.
4578
if test "${PATH_SEPARATOR+set}" != set; then
4579
  PATH_SEPARATOR=:
4580
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4581
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4582
      PATH_SEPARATOR=';'
4583
  }
4318
fi
4584
fi
4319
4585
4320
# Support unset when possible.
4586
# Support unset when possible.
Lines 4330-4337 Link Here
4330
# there to prevent editors from complaining about space-tab.
4596
# there to prevent editors from complaining about space-tab.
4331
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4597
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4332
# splitting by setting IFS to empty value.)
4598
# splitting by setting IFS to empty value.)
4333
as_nl='
4334
'
4335
IFS=" ""	$as_nl"
4599
IFS=" ""	$as_nl"
4336
4600
4337
# Find who we are.  Look in the path if we contain no directory separator.
4601
# Find who we are.  Look in the path if we contain no directory separator.
Lines 4354-4360 Link Here
4354
  as_myself=$0
4618
  as_myself=$0
4355
fi
4619
fi
4356
if test ! -f "$as_myself"; then
4620
if test ! -f "$as_myself"; then
4357
  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4621
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4358
  { (exit 1); exit 1; }
4622
  { (exit 1); exit 1; }
4359
fi
4623
fi
4360
4624
Lines 4367-4383 Link Here
4367
PS4='+ '
4631
PS4='+ '
4368
4632
4369
# NLS nuisances.
4633
# NLS nuisances.
4370
for as_var in \
4634
LC_ALL=C
4371
  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4635
export LC_ALL
4372
  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4636
LANGUAGE=C
4373
  LC_TELEPHONE LC_TIME
4637
export LANGUAGE
4374
do
4375
  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4376
    eval $as_var=C; export $as_var
4377
  else
4378
    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4379
  fi
4380
done
4381
4638
4382
# Required to use basename.
4639
# Required to use basename.
4383
if expr a : '\(a\)' >/dev/null 2>&1 &&
4640
if expr a : '\(a\)' >/dev/null 2>&1 &&
Lines 4399-4405 Link Here
4399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4656
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4400
	 X"$0" : 'X\(//\)$' \| \
4657
	 X"$0" : 'X\(//\)$' \| \
4401
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4658
	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4402
echo X/"$0" |
4659
$as_echo X/"$0" |
4403
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4660
    sed '/^.*\/\([^/][^/]*\)\/*$/{
4404
	    s//\1/
4661
	    s//\1/
4405
	    q
4662
	    q
Lines 4450-4456 Link Here
4450
      s/-\n.*//
4707
      s/-\n.*//
4451
    ' >$as_me.lineno &&
4708
    ' >$as_me.lineno &&
4452
  chmod +x "$as_me.lineno" ||
4709
  chmod +x "$as_me.lineno" ||
4453
    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4710
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4454
   { (exit 1); exit 1; }; }
4711
   { (exit 1); exit 1; }; }
4455
4712
4456
  # Don't try to exec as it changes $[0], causing all sort of problems
4713
  # Don't try to exec as it changes $[0], causing all sort of problems
Lines 4478-4484 Link Here
4478
*)
4735
*)
4479
  ECHO_N='-n';;
4736
  ECHO_N='-n';;
4480
esac
4737
esac
4481
4482
if expr a : '\(a\)' >/dev/null 2>&1 &&
4738
if expr a : '\(a\)' >/dev/null 2>&1 &&
4483
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4739
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4484
  as_expr=expr
4740
  as_expr=expr
Lines 4491-4509 Link Here
4491
  rm -f conf$$.dir/conf$$.file
4747
  rm -f conf$$.dir/conf$$.file
4492
else
4748
else
4493
  rm -f conf$$.dir
4749
  rm -f conf$$.dir
4494
  mkdir conf$$.dir
4750
  mkdir conf$$.dir 2>/dev/null
4495
fi
4751
fi
4496
echo >conf$$.file
4752
if (echo >conf$$.file) 2>/dev/null; then
4497
if ln -s conf$$.file conf$$ 2>/dev/null; then
4753
  if ln -s conf$$.file conf$$ 2>/dev/null; then
4498
  as_ln_s='ln -s'
4754
    as_ln_s='ln -s'
4499
  # ... but there are two gotchas:
4755
    # ... but there are two gotchas:
4500
  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4756
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4501
  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4757
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4502
  # In both cases, we have to default to `cp -p'.
4758
    # In both cases, we have to default to `cp -p'.
4503
  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4759
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4760
      as_ln_s='cp -p'
4761
  elif ln conf$$.file conf$$ 2>/dev/null; then
4762
    as_ln_s=ln
4763
  else
4504
    as_ln_s='cp -p'
4764
    as_ln_s='cp -p'
4505
elif ln conf$$.file conf$$ 2>/dev/null; then
4765
  fi
4506
  as_ln_s=ln
4507
else
4766
else
4508
  as_ln_s='cp -p'
4767
  as_ln_s='cp -p'
4509
fi
4768
fi
Lines 4528-4537 Link Here
4528
  as_test_x='
4787
  as_test_x='
4529
    eval sh -c '\''
4788
    eval sh -c '\''
4530
      if test -d "$1"; then
4789
      if test -d "$1"; then
4531
        test -d "$1/.";
4790
	test -d "$1/.";
4532
      else
4791
      else
4533
	case $1 in
4792
	case $1 in
4534
        -*)set "./$1";;
4793
	-*)set "./$1";;
4535
	esac;
4794
	esac;
4536
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4795
	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4537
	???[sx]*):;;*)false;;esac;fi
4796
	???[sx]*):;;*)false;;esac;fi
Lines 4554-4560 Link Here
4554
# values after options handling.
4813
# values after options handling.
4555
ac_log="
4814
ac_log="
4556
This file was extended by csync2 $as_me 1.34, which was
4815
This file was extended by csync2 $as_me 1.34, which was
4557
generated by GNU Autoconf 2.61.  Invocation command line was
4816
generated by GNU Autoconf 2.63.  Invocation command line was
4558
4817
4559
  CONFIG_FILES    = $CONFIG_FILES
4818
  CONFIG_FILES    = $CONFIG_FILES
4560
  CONFIG_HEADERS  = $CONFIG_HEADERS
4819
  CONFIG_HEADERS  = $CONFIG_HEADERS
Lines 4567-4573 Link Here
4567
4826
4568
_ACEOF
4827
_ACEOF
4569
4828
4570
cat >>$CONFIG_STATUS <<_ACEOF
4829
case $ac_config_files in *"
4830
"*) set x $ac_config_files; shift; ac_config_files=$*;;
4831
esac
4832
4833
case $ac_config_headers in *"
4834
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4835
esac
4836
4837
4838
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4571
# Files that config.status was made for.
4839
# Files that config.status was made for.
4572
config_files="$ac_config_files"
4840
config_files="$ac_config_files"
4573
config_headers="$ac_config_headers"
4841
config_headers="$ac_config_headers"
Lines 4575-4596 Link Here
4575
4843
4576
_ACEOF
4844
_ACEOF
4577
4845
4578
cat >>$CONFIG_STATUS <<\_ACEOF
4846
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4579
ac_cs_usage="\
4847
ac_cs_usage="\
4580
\`$as_me' instantiates files from templates according to the
4848
\`$as_me' instantiates files from templates according to the
4581
current configuration.
4849
current configuration.
4582
4850
4583
Usage: $0 [OPTIONS] [FILE]...
4851
Usage: $0 [OPTION]... [FILE]...
4584
4852
4585
  -h, --help       print this help, then exit
4853
  -h, --help       print this help, then exit
4586
  -V, --version    print version number and configuration settings, then exit
4854
  -V, --version    print version number and configuration settings, then exit
4587
  -q, --quiet      do not print progress messages
4855
  -q, --quiet, --silent
4856
                   do not print progress messages
4588
  -d, --debug      don't remove temporary files
4857
  -d, --debug      don't remove temporary files
4589
      --recheck    update $as_me by reconfiguring in the same conditions
4858
      --recheck    update $as_me by reconfiguring in the same conditions
4590
  --file=FILE[:TEMPLATE]
4859
      --file=FILE[:TEMPLATE]
4591
		   instantiate the configuration file FILE
4860
                   instantiate the configuration file FILE
4592
  --header=FILE[:TEMPLATE]
4861
      --header=FILE[:TEMPLATE]
4593
		   instantiate the configuration header FILE
4862
                   instantiate the configuration header FILE
4594
4863
4595
Configuration files:
4864
Configuration files:
4596
$config_files
4865
$config_files
Lines 4604-4627 Link Here
4604
Report bugs to <bug-autoconf@gnu.org>."
4873
Report bugs to <bug-autoconf@gnu.org>."
4605
4874
4606
_ACEOF
4875
_ACEOF
4607
cat >>$CONFIG_STATUS <<_ACEOF
4876
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4608
ac_cs_version="\\
4877
ac_cs_version="\\
4609
csync2 config.status 1.34
4878
csync2 config.status 1.34
4610
configured by $0, generated by GNU Autoconf 2.61,
4879
configured by $0, generated by GNU Autoconf 2.63,
4611
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4880
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4612
4881
4613
Copyright (C) 2006 Free Software Foundation, Inc.
4882
Copyright (C) 2008 Free Software Foundation, Inc.
4614
This config.status script is free software; the Free Software Foundation
4883
This config.status script is free software; the Free Software Foundation
4615
gives unlimited permission to copy, distribute and modify it."
4884
gives unlimited permission to copy, distribute and modify it."
4616
4885
4617
ac_pwd='$ac_pwd'
4886
ac_pwd='$ac_pwd'
4618
srcdir='$srcdir'
4887
srcdir='$srcdir'
4619
INSTALL='$INSTALL'
4888
INSTALL='$INSTALL'
4889
AWK='$AWK'
4890
test -n "\$AWK" || AWK=awk
4620
_ACEOF
4891
_ACEOF
4621
4892
4622
cat >>$CONFIG_STATUS <<\_ACEOF
4893
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4623
# If no file are specified by the user, then we need to provide default
4894
# The default lists apply if the user does not specify any file.
4624
# value.  By we need to know if files were specified by the user.
4625
ac_need_defaults=:
4895
ac_need_defaults=:
4626
while test $# != 0
4896
while test $# != 0
4627
do
4897
do
Lines 4643-4672 Link Here
4643
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4913
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4644
    ac_cs_recheck=: ;;
4914
    ac_cs_recheck=: ;;
4645
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4915
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4646
    echo "$ac_cs_version"; exit ;;
4916
    $as_echo "$ac_cs_version"; exit ;;
4647
  --debug | --debu | --deb | --de | --d | -d )
4917
  --debug | --debu | --deb | --de | --d | -d )
4648
    debug=: ;;
4918
    debug=: ;;
4649
  --file | --fil | --fi | --f )
4919
  --file | --fil | --fi | --f )
4650
    $ac_shift
4920
    $ac_shift
4651
    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4921
    case $ac_optarg in
4922
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4923
    esac
4924
    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4652
    ac_need_defaults=false;;
4925
    ac_need_defaults=false;;
4653
  --header | --heade | --head | --hea )
4926
  --header | --heade | --head | --hea )
4654
    $ac_shift
4927
    $ac_shift
4655
    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4928
    case $ac_optarg in
4929
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4930
    esac
4931
    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
4656
    ac_need_defaults=false;;
4932
    ac_need_defaults=false;;
4657
  --he | --h)
4933
  --he | --h)
4658
    # Conflict between --help and --header
4934
    # Conflict between --help and --header
4659
    { echo "$as_me: error: ambiguous option: $1
4935
    { $as_echo "$as_me: error: ambiguous option: $1
4660
Try \`$0 --help' for more information." >&2
4936
Try \`$0 --help' for more information." >&2
4661
   { (exit 1); exit 1; }; };;
4937
   { (exit 1); exit 1; }; };;
4662
  --help | --hel | -h )
4938
  --help | --hel | -h )
4663
    echo "$ac_cs_usage"; exit ;;
4939
    $as_echo "$ac_cs_usage"; exit ;;
4664
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4940
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4665
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4941
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4666
    ac_cs_silent=: ;;
4942
    ac_cs_silent=: ;;
4667
4943
4668
  # This is an error.
4944
  # This is an error.
4669
  -*) { echo "$as_me: error: unrecognized option: $1
4945
  -*) { $as_echo "$as_me: error: unrecognized option: $1
4670
Try \`$0 --help' for more information." >&2
4946
Try \`$0 --help' for more information." >&2
4671
   { (exit 1); exit 1; }; } ;;
4947
   { (exit 1); exit 1; }; } ;;
4672
4948
Lines 4685-4711 Link Here
4685
fi
4961
fi
4686
4962
4687
_ACEOF
4963
_ACEOF
4688
cat >>$CONFIG_STATUS <<_ACEOF
4964
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4689
if \$ac_cs_recheck; then
4965
if \$ac_cs_recheck; then
4690
  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4966
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4691
  CONFIG_SHELL=$SHELL
4967
  shift
4968
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4969
  CONFIG_SHELL='$SHELL'
4692
  export CONFIG_SHELL
4970
  export CONFIG_SHELL
4693
  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4971
  exec "\$@"
4694
fi
4972
fi
4695
4973
4696
_ACEOF
4974
_ACEOF
4697
cat >>$CONFIG_STATUS <<\_ACEOF
4975
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4698
exec 5>>config.log
4976
exec 5>>config.log
4699
{
4977
{
4700
  echo
4978
  echo
4701
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4979
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4702
## Running $as_me. ##
4980
## Running $as_me. ##
4703
_ASBOX
4981
_ASBOX
4704
  echo "$ac_log"
4982
  $as_echo "$ac_log"
4705
} >&5
4983
} >&5
4706
4984
4707
_ACEOF
4985
_ACEOF
4708
cat >>$CONFIG_STATUS <<_ACEOF
4986
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4709
#
4987
#
4710
# INIT-COMMANDS
4988
# INIT-COMMANDS
4711
#
4989
#
Lines 4713-4719 Link Here
4713
4991
4714
_ACEOF
4992
_ACEOF
4715
4993
4716
cat >>$CONFIG_STATUS <<\_ACEOF
4994
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4717
4995
4718
# Handling of arguments.
4996
# Handling of arguments.
4719
for ac_config_target in $ac_config_targets
4997
for ac_config_target in $ac_config_targets
Lines 4723-4730 Link Here
4723
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5001
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4724
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5002
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4725
5003
4726
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5004
  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4727
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5005
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4728
   { (exit 1); exit 1; }; };;
5006
   { (exit 1); exit 1; }; };;
4729
  esac
5007
  esac
4730
done
5008
done
Lines 4765-4916 Link Here
4765
  (umask 077 && mkdir "$tmp")
5043
  (umask 077 && mkdir "$tmp")
4766
} ||
5044
} ||
4767
{
5045
{
4768
   echo "$me: cannot create a temporary directory in ." >&2
5046
   $as_echo "$as_me: cannot create a temporary directory in ." >&2
4769
   { (exit 1); exit 1; }
5047
   { (exit 1); exit 1; }
4770
}
5048
}
4771
5049
4772
#
5050
# Set up the scripts for CONFIG_FILES section.
4773
# Set up the sed scripts for CONFIG_FILES section.
5051
# No need to generate them if there are no CONFIG_FILES.
4774
#
5052
# This happens for instance with `./config.status config.h'.
4775
4776
# No need to generate the scripts if there are no CONFIG_FILES.
4777
# This happens for instance when ./config.status config.h
4778
if test -n "$CONFIG_FILES"; then
5053
if test -n "$CONFIG_FILES"; then
4779
5054
4780
_ACEOF
4781
5055
5056
ac_cr='
'
5057
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5058
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5059
  ac_cs_awk_cr='\\r'
5060
else
5061
  ac_cs_awk_cr=$ac_cr
5062
fi
5063
5064
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5065
_ACEOF
4782
5066
4783
5067
5068
{
5069
  echo "cat >conf$$subs.awk <<_ACEOF" &&
5070
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5071
  echo "_ACEOF"
5072
} >conf$$subs.sh ||
5073
  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5074
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5075
   { (exit 1); exit 1; }; }
5076
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4784
ac_delim='%!_!# '
5077
ac_delim='%!_!# '
4785
for ac_last_try in false false false false false :; do
5078
for ac_last_try in false false false false false :; do
4786
  cat >conf$$subs.sed <<_ACEOF
5079
  . ./conf$$subs.sh ||
4787
SHELL!$SHELL$ac_delim
5080
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4788
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5081
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4789
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5082
   { (exit 1); exit 1; }; }
4790
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4791
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4792
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4793
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4794
exec_prefix!$exec_prefix$ac_delim
4795
prefix!$prefix$ac_delim
4796
program_transform_name!$program_transform_name$ac_delim
4797
bindir!$bindir$ac_delim
4798
sbindir!$sbindir$ac_delim
4799
libexecdir!$libexecdir$ac_delim
4800
datarootdir!$datarootdir$ac_delim
4801
datadir!$datadir$ac_delim
4802
sysconfdir!$sysconfdir$ac_delim
4803
sharedstatedir!$sharedstatedir$ac_delim
4804
localstatedir!$localstatedir$ac_delim
4805
includedir!$includedir$ac_delim
4806
oldincludedir!$oldincludedir$ac_delim
4807
docdir!$docdir$ac_delim
4808
infodir!$infodir$ac_delim
4809
htmldir!$htmldir$ac_delim
4810
dvidir!$dvidir$ac_delim
4811
pdfdir!$pdfdir$ac_delim
4812
psdir!$psdir$ac_delim
4813
libdir!$libdir$ac_delim
4814
localedir!$localedir$ac_delim
4815
mandir!$mandir$ac_delim
4816
DEFS!$DEFS$ac_delim
4817
ECHO_C!$ECHO_C$ac_delim
4818
ECHO_N!$ECHO_N$ac_delim
4819
ECHO_T!$ECHO_T$ac_delim
4820
LIBS!$LIBS$ac_delim
4821
build_alias!$build_alias$ac_delim
4822
host_alias!$host_alias$ac_delim
4823
target_alias!$target_alias$ac_delim
4824
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4825
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4826
INSTALL_DATA!$INSTALL_DATA$ac_delim
4827
CYGPATH_W!$CYGPATH_W$ac_delim
4828
PACKAGE!$PACKAGE$ac_delim
4829
VERSION!$VERSION$ac_delim
4830
ACLOCAL!$ACLOCAL$ac_delim
4831
AUTOCONF!$AUTOCONF$ac_delim
4832
AUTOMAKE!$AUTOMAKE$ac_delim
4833
AUTOHEADER!$AUTOHEADER$ac_delim
4834
MAKEINFO!$MAKEINFO$ac_delim
4835
AMTAR!$AMTAR$ac_delim
4836
install_sh!$install_sh$ac_delim
4837
STRIP!$STRIP$ac_delim
4838
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4839
AWK!$AWK$ac_delim
4840
SET_MAKE!$SET_MAKE$ac_delim
4841
am__leading_dot!$am__leading_dot$ac_delim
4842
CC!$CC$ac_delim
4843
CFLAGS!$CFLAGS$ac_delim
4844
LDFLAGS!$LDFLAGS$ac_delim
4845
CPPFLAGS!$CPPFLAGS$ac_delim
4846
ac_ct_CC!$ac_ct_CC$ac_delim
4847
EXEEXT!$EXEEXT$ac_delim
4848
OBJEXT!$OBJEXT$ac_delim
4849
DEPDIR!$DEPDIR$ac_delim
4850
am__include!$am__include$ac_delim
4851
am__quote!$am__quote$ac_delim
4852
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4853
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4854
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4855
CCDEPMODE!$CCDEPMODE$ac_delim
4856
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4857
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4858
YACC!$YACC$ac_delim
4859
YFLAGS!$YFLAGS$ac_delim
4860
LEX!$LEX$ac_delim
4861
LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
4862
LEXLIB!$LEXLIB$ac_delim
4863
librsync_source_file!$librsync_source_file$ac_delim
4864
PRIVATE_LIBRSYNC_TRUE!$PRIVATE_LIBRSYNC_TRUE$ac_delim
4865
PRIVATE_LIBRSYNC_FALSE!$PRIVATE_LIBRSYNC_FALSE$ac_delim
4866
libsqlite_source_file!$libsqlite_source_file$ac_delim
4867
PRIVATE_LIBSQLITE_TRUE!$PRIVATE_LIBSQLITE_TRUE$ac_delim
4868
PRIVATE_LIBSQLITE_FALSE!$PRIVATE_LIBSQLITE_FALSE$ac_delim
4869
LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
4870
LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim
4871
LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim
4872
LIBOBJS!$LIBOBJS$ac_delim
4873
LTLIBOBJS!$LTLIBOBJS$ac_delim
4874
_ACEOF
4875
5083
4876
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 87; then
5084
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5085
  if test $ac_delim_n = $ac_delim_num; then
4877
    break
5086
    break
4878
  elif $ac_last_try; then
5087
  elif $ac_last_try; then
4879
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5088
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4880
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5089
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4881
   { (exit 1); exit 1; }; }
5090
   { (exit 1); exit 1; }; }
4882
  else
5091
  else
4883
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5092
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4884
  fi
5093
  fi
4885
done
5094
done
5095
rm -f conf$$subs.sh
4886
5096
4887
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5097
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4888
if test -n "$ac_eof"; then
5098
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4889
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5099
_ACEOF
4890
  ac_eof=`expr $ac_eof + 1`
5100
sed -n '
4891
fi
5101
h
5102
s/^/S["/; s/!.*/"]=/
5103
p
5104
g
5105
s/^[^!]*!//
5106
:repl
5107
t repl
5108
s/'"$ac_delim"'$//
5109
t delim
5110
:nl
5111
h
5112
s/\(.\{148\}\).*/\1/
5113
t more1
5114
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5115
p
5116
n
5117
b repl
5118
:more1
5119
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5120
p
5121
g
5122
s/.\{148\}//
5123
t nl
5124
:delim
5125
h
5126
s/\(.\{148\}\).*/\1/
5127
t more2
5128
s/["\\]/\\&/g; s/^/"/; s/$/"/
5129
p
5130
b
5131
:more2
5132
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5133
p
5134
g
5135
s/.\{148\}//
5136
t delim
5137
' <conf$$subs.awk | sed '
5138
/^[^""]/{
5139
  N
5140
  s/\n//
5141
}
5142
' >>$CONFIG_STATUS || ac_write_fail=1
5143
rm -f conf$$subs.awk
5144
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145
_ACAWK
5146
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5147
  for (key in S) S_is_set[key] = 1
5148
  FS = ""
4892
5149
4893
cat >>$CONFIG_STATUS <<_ACEOF
5150
}
4894
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5151
{
4895
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5152
  line = $ 0
5153
  nfields = split(line, field, "@")
5154
  substed = 0
5155
  len = length(field[1])
5156
  for (i = 2; i < nfields; i++) {
5157
    key = field[i]
5158
    keylen = length(key)
5159
    if (S_is_set[key]) {
5160
      value = S[key]
5161
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5162
      len += length(value) + length(field[++i])
5163
      substed = 1
5164
    } else
5165
      len += 1 + keylen
5166
  }
5167
5168
  print line
5169
}
5170
5171
_ACAWK
4896
_ACEOF
5172
_ACEOF
4897
sed '
5173
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4898
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5174
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4899
s/^/s,@/; s/!/@,|#_!!_#|/
5175
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4900
:n
5176
else
4901
t n
5177
  cat
4902
s/'"$ac_delim"'$/,g/; t
5178
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4903
s/$/\\/; p
5179
  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4904
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5180
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
4905
' >>$CONFIG_STATUS <conf$$subs.sed
5181
   { (exit 1); exit 1; }; }
4906
rm -f conf$$subs.sed
4907
cat >>$CONFIG_STATUS <<_ACEOF
4908
:end
4909
s/|#_!!_#|//g
4910
CEOF$ac_eof
4911
_ACEOF
5182
_ACEOF
4912
5183
4913
4914
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5184
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4915
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5185
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4916
# trailing colons and then remove the whole line if VPATH becomes empty
5186
# trailing colons and then remove the whole line if VPATH becomes empty
Lines 4926-4944 Link Here
4926
}'
5196
}'
4927
fi
5197
fi
4928
5198
4929
cat >>$CONFIG_STATUS <<\_ACEOF
5199
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4930
fi # test -n "$CONFIG_FILES"
5200
fi # test -n "$CONFIG_FILES"
4931
5201
5202
# Set up the scripts for CONFIG_HEADERS section.
5203
# No need to generate them if there are no CONFIG_HEADERS.
5204
# This happens for instance with `./config.status Makefile'.
5205
if test -n "$CONFIG_HEADERS"; then
5206
cat >"$tmp/defines.awk" <<\_ACAWK ||
5207
BEGIN {
5208
_ACEOF
4932
5209
4933
for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
5210
# Transform confdefs.h into an awk script `defines.awk', embedded as
5211
# here-document in config.status, that substitutes the proper values into
5212
# config.h.in to produce config.h.
5213
5214
# Create a delimiter string that does not exist in confdefs.h, to ease
5215
# handling of long lines.
5216
ac_delim='%!_!# '
5217
for ac_last_try in false false :; do
5218
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5219
  if test -z "$ac_t"; then
5220
    break
5221
  elif $ac_last_try; then
5222
    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5223
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5224
   { (exit 1); exit 1; }; }
5225
  else
5226
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5227
  fi
5228
done
5229
5230
# For the awk script, D is an array of macro values keyed by name,
5231
# likewise P contains macro parameters if any.  Preserve backslash
5232
# newline sequences.
5233
5234
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5235
sed -n '
5236
s/.\{148\}/&'"$ac_delim"'/g
5237
t rset
5238
:rset
5239
s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5240
t def
5241
d
5242
:def
5243
s/\\$//
5244
t bsnl
5245
s/["\\]/\\&/g
5246
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5247
D["\1"]=" \3"/p
5248
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5249
d
5250
:bsnl
5251
s/["\\]/\\&/g
5252
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5253
D["\1"]=" \3\\\\\\n"\\/p
5254
t cont
5255
s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5256
t cont
5257
d
5258
:cont
5259
n
5260
s/.\{148\}/&'"$ac_delim"'/g
5261
t clear
5262
:clear
5263
s/\\$//
5264
t bsnlc
5265
s/["\\]/\\&/g; s/^/"/; s/$/"/p
5266
d
5267
:bsnlc
5268
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5269
b cont
5270
' <confdefs.h | sed '
5271
s/'"$ac_delim"'/"\\\
5272
"/g' >>$CONFIG_STATUS || ac_write_fail=1
5273
5274
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5275
  for (key in D) D_is_set[key] = 1
5276
  FS = ""
5277
}
5278
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5279
  line = \$ 0
5280
  split(line, arg, " ")
5281
  if (arg[1] == "#") {
5282
    defundef = arg[2]
5283
    mac1 = arg[3]
5284
  } else {
5285
    defundef = substr(arg[1], 2)
5286
    mac1 = arg[2]
5287
  }
5288
  split(mac1, mac2, "(") #)
5289
  macro = mac2[1]
5290
  prefix = substr(line, 1, index(line, defundef) - 1)
5291
  if (D_is_set[macro]) {
5292
    # Preserve the white space surrounding the "#".
5293
    print prefix "define", macro P[macro] D[macro]
5294
    next
5295
  } else {
5296
    # Replace #undef with comments.  This is necessary, for example,
5297
    # in the case of _POSIX_SOURCE, which is predefined and required
5298
    # on some systems where configure will not decide to define it.
5299
    if (defundef == "undef") {
5300
      print "/*", prefix defundef, macro, "*/"
5301
      next
5302
    }
5303
  }
5304
}
5305
{ print }
5306
_ACAWK
5307
_ACEOF
5308
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5309
  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
5310
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
5311
   { (exit 1); exit 1; }; }
5312
fi # test -n "$CONFIG_HEADERS"
5313
5314
5315
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
5316
shift
5317
for ac_tag
4934
do
5318
do
4935
  case $ac_tag in
5319
  case $ac_tag in
4936
  :[FHLC]) ac_mode=$ac_tag; continue;;
5320
  :[FHLC]) ac_mode=$ac_tag; continue;;
4937
  esac
5321
  esac
4938
  case $ac_mode$ac_tag in
5322
  case $ac_mode$ac_tag in
4939
  :[FHL]*:*);;
5323
  :[FHL]*:*);;
4940
  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5324
  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4941
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5325
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4942
   { (exit 1); exit 1; }; };;
5326
   { (exit 1); exit 1; }; };;
4943
  :[FH]-) ac_tag=-:-;;
5327
  :[FH]-) ac_tag=-:-;;
4944
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5328
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
Lines 4967-4992 Link Here
4967
	   [\\/$]*) false;;
5351
	   [\\/$]*) false;;
4968
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5352
	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4969
	   esac ||
5353
	   esac ||
4970
	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5354
	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4971
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5355
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4972
   { (exit 1); exit 1; }; };;
5356
   { (exit 1); exit 1; }; };;
4973
      esac
5357
      esac
4974
      ac_file_inputs="$ac_file_inputs $ac_f"
5358
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5359
      ac_file_inputs="$ac_file_inputs '$ac_f'"
4975
    done
5360
    done
4976
5361
4977
    # Let's still pretend it is `configure' which instantiates (i.e., don't
5362
    # Let's still pretend it is `configure' which instantiates (i.e., don't
4978
    # use $as_me), people would be surprised to read:
5363
    # use $as_me), people would be surprised to read:
4979
    #    /* config.h.  Generated by config.status.  */
5364
    #    /* config.h.  Generated by config.status.  */
4980
    configure_input="Generated from "`IFS=:
5365
    configure_input='Generated from '`
4981
	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5366
	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5367
	`' by configure.'
4982
    if test x"$ac_file" != x-; then
5368
    if test x"$ac_file" != x-; then
4983
      configure_input="$ac_file.  $configure_input"
5369
      configure_input="$ac_file.  $configure_input"
4984
      { echo "$as_me:$LINENO: creating $ac_file" >&5
5370
      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4985
echo "$as_me: creating $ac_file" >&6;}
5371
$as_echo "$as_me: creating $ac_file" >&6;}
4986
    fi
5372
    fi
5373
    # Neutralize special characters interpreted by sed in replacement strings.
5374
    case $configure_input in #(
5375
    *\&* | *\|* | *\\* )
5376
       ac_sed_conf_input=`$as_echo "$configure_input" |
5377
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5378
    *) ac_sed_conf_input=$configure_input;;
5379
    esac
4987
5380
4988
    case $ac_tag in
5381
    case $ac_tag in
4989
    *:-:* | *:-) cat >"$tmp/stdin";;
5382
    *:-:* | *:-) cat >"$tmp/stdin" \
5383
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5384
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5385
   { (exit 1); exit 1; }; } ;;
4990
    esac
5386
    esac
4991
    ;;
5387
    ;;
4992
  esac
5388
  esac
Lines 4996-5002 Link Here
4996
	 X"$ac_file" : 'X\(//\)[^/]' \| \
5392
	 X"$ac_file" : 'X\(//\)[^/]' \| \
4997
	 X"$ac_file" : 'X\(//\)$' \| \
5393
	 X"$ac_file" : 'X\(//\)$' \| \
4998
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5394
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4999
echo X"$ac_file" |
5395
$as_echo X"$ac_file" |
5000
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5396
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5001
	    s//\1/
5397
	    s//\1/
5002
	    q
5398
	    q
Lines 5022-5028 Link Here
5022
    as_dirs=
5418
    as_dirs=
5023
    while :; do
5419
    while :; do
5024
      case $as_dir in #(
5420
      case $as_dir in #(
5025
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5421
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5026
      *) as_qdir=$as_dir;;
5422
      *) as_qdir=$as_dir;;
5027
      esac
5423
      esac
5028
      as_dirs="'$as_qdir' $as_dirs"
5424
      as_dirs="'$as_qdir' $as_dirs"
Lines 5031-5037 Link Here
5031
	 X"$as_dir" : 'X\(//\)[^/]' \| \
5427
	 X"$as_dir" : 'X\(//\)[^/]' \| \
5032
	 X"$as_dir" : 'X\(//\)$' \| \
5428
	 X"$as_dir" : 'X\(//\)$' \| \
5033
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5429
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5034
echo X"$as_dir" |
5430
$as_echo X"$as_dir" |
5035
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5431
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5036
	    s//\1/
5432
	    s//\1/
5037
	    q
5433
	    q
Lines 5052-5068 Link Here
5052
      test -d "$as_dir" && break
5448
      test -d "$as_dir" && break
5053
    done
5449
    done
5054
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5450
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5055
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5451
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5056
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5452
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5057
   { (exit 1); exit 1; }; }; }
5453
   { (exit 1); exit 1; }; }; }
5058
  ac_builddir=.
5454
  ac_builddir=.
5059
5455
5060
case "$ac_dir" in
5456
case "$ac_dir" in
5061
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5457
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5062
*)
5458
*)
5063
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5459
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5064
  # A ".." for each directory in $ac_dir_suffix.
5460
  # A ".." for each directory in $ac_dir_suffix.
5065
  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5461
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5066
  case $ac_top_builddir_sub in
5462
  case $ac_top_builddir_sub in
5067
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5463
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5068
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5464
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
Lines 5102-5113 Link Here
5102
  esac
5498
  esac
5103
_ACEOF
5499
_ACEOF
5104
5500
5105
cat >>$CONFIG_STATUS <<\_ACEOF
5501
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5106
# If the template does not know about datarootdir, expand it.
5502
# If the template does not know about datarootdir, expand it.
5107
# FIXME: This hack should be removed a few years after 2.60.
5503
# FIXME: This hack should be removed a few years after 2.60.
5108
ac_datarootdir_hack=; ac_datarootdir_seen=
5504
ac_datarootdir_hack=; ac_datarootdir_seen=
5109
5505
5110
case `sed -n '/datarootdir/ {
5506
ac_sed_dataroot='
5507
/datarootdir/ {
5111
  p
5508
  p
5112
  q
5509
  q
5113
}
5510
}
Lines 5116-5128 Link Here
5116
/@infodir@/p
5513
/@infodir@/p
5117
/@localedir@/p
5514
/@localedir@/p
5118
/@mandir@/p
5515
/@mandir@/p
5119
' $ac_file_inputs` in
5516
'
5517
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5120
*datarootdir*) ac_datarootdir_seen=yes;;
5518
*datarootdir*) ac_datarootdir_seen=yes;;
5121
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5519
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5122
  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5520
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5123
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5521
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5124
_ACEOF
5522
_ACEOF
5125
cat >>$CONFIG_STATUS <<_ACEOF
5523
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5126
  ac_datarootdir_hack='
5524
  ac_datarootdir_hack='
5127
  s&@datadir@&$datadir&g
5525
  s&@datadir@&$datadir&g
5128
  s&@docdir@&$docdir&g
5526
  s&@docdir@&$docdir&g
Lines 5136-5150 Link Here
5136
# Neutralize VPATH when `$srcdir' = `.'.
5534
# Neutralize VPATH when `$srcdir' = `.'.
5137
# Shell code in configure.ac might set extrasub.
5535
# Shell code in configure.ac might set extrasub.
5138
# FIXME: do we really want to maintain this feature?
5536
# FIXME: do we really want to maintain this feature?
5139
cat >>$CONFIG_STATUS <<_ACEOF
5537
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5140
  sed "$ac_vpsub
5538
ac_sed_extra="$ac_vpsub
5141
$extrasub
5539
$extrasub
5142
_ACEOF
5540
_ACEOF
5143
cat >>$CONFIG_STATUS <<\_ACEOF
5541
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5144
:t
5542
:t
5145
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5543
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5146
s&@configure_input@&$configure_input&;t t
5544
s|@configure_input@|$ac_sed_conf_input|;t t
5147
s&@top_builddir@&$ac_top_builddir_sub&;t t
5545
s&@top_builddir@&$ac_top_builddir_sub&;t t
5546
s&@top_build_prefix@&$ac_top_build_prefix&;t t
5148
s&@srcdir@&$ac_srcdir&;t t
5547
s&@srcdir@&$ac_srcdir&;t t
5149
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5548
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5150
s&@top_srcdir@&$ac_top_srcdir&;t t
5549
s&@top_srcdir@&$ac_top_srcdir&;t t
Lines 5154-5288 Link Here
5154
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5553
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5155
s&@INSTALL@&$ac_INSTALL&;t t
5554
s&@INSTALL@&$ac_INSTALL&;t t
5156
$ac_datarootdir_hack
5555
$ac_datarootdir_hack
5157
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5556
"
5557
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5558
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5559
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5560
   { (exit 1); exit 1; }; }
5158
5561
5159
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5562
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5160
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5563
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5161
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5564
  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5162
  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5565
  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5163
which seems to be undefined.  Please make sure it is defined." >&5
5566
which seems to be undefined.  Please make sure it is defined." >&5
5164
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5567
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5165
which seems to be undefined.  Please make sure it is defined." >&2;}
5568
which seems to be undefined.  Please make sure it is defined." >&2;}
5166
5569
5167
  rm -f "$tmp/stdin"
5570
  rm -f "$tmp/stdin"
5168
  case $ac_file in
5571
  case $ac_file in
5169
  -) cat "$tmp/out"; rm -f "$tmp/out";;
5572
  -) cat "$tmp/out" && rm -f "$tmp/out";;
5170
  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5573
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5171
  esac
5574
  esac \
5575
  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5576
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5577
   { (exit 1); exit 1; }; }
5172
 ;;
5578
 ;;
5173
  :H)
5579
  :H)
5174
  #
5580
  #
5175
  # CONFIG_HEADER
5581
  # CONFIG_HEADER
5176
  #
5582
  #
5177
_ACEOF
5178
5179
# Transform confdefs.h into a sed script `conftest.defines', that
5180
# substitutes the proper values into config.h.in to produce config.h.
5181
rm -f conftest.defines conftest.tail
5182
# First, append a space to every undef/define line, to ease matching.
5183
echo 's/$/ /' >conftest.defines
5184
# Then, protect against being on the right side of a sed subst, or in
5185
# an unquoted here document, in config.status.  If some macros were
5186
# called several times there might be several #defines for the same
5187
# symbol, which is useless.  But do not sort them, since the last
5188
# AC_DEFINE must be honored.
5189
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5190
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5191
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5192
# PARAMS is the parameter list in the macro definition--in most cases, it's
5193
# just an empty string.
5194
ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
5195
ac_dB='\\)[	 (].*,\\1define\\2'
5196
ac_dC=' '
5197
ac_dD=' ,'
5198
5199
uniq confdefs.h |
5200
  sed -n '
5201
	t rset
5202
	:rset
5203
	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
5204
	t ok
5205
	d
5206
	:ok
5207
	s/[\\&,]/\\&/g
5208
	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5209
	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5210
  ' >>conftest.defines
5211
5212
# Remove the space that was appended to ease matching.
5213
# Then replace #undef with comments.  This is necessary, for
5214
# example, in the case of _POSIX_SOURCE, which is predefined and required
5215
# on some systems where configure will not decide to define it.
5216
# (The regexp can be short, since the line contains either #define or #undef.)
5217
echo 's/ $//
5218
s,^[	 #]*u.*,/* & */,' >>conftest.defines
5219
5220
# Break up conftest.defines:
5221
ac_max_sed_lines=50
5222
5223
# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5224
# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5225
# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5226
# et cetera.
5227
ac_in='$ac_file_inputs'
5228
ac_out='"$tmp/out1"'
5229
ac_nxt='"$tmp/out2"'
5230
5231
while :
5232
do
5233
  # Write a here document:
5234
    cat >>$CONFIG_STATUS <<_ACEOF
5235
    # First, check the format of the line:
5236
    cat >"\$tmp/defines.sed" <<\\CEOF
5237
/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
5238
/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
5239
b
5240
:def
5241
_ACEOF
5242
  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5243
  echo 'CEOF
5244
    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5245
  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5246
  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5247
  grep . conftest.tail >/dev/null || break
5248
  rm -f conftest.defines
5249
  mv conftest.tail conftest.defines
5250
done
5251
rm -f conftest.defines conftest.tail
5252
5253
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5254
cat >>$CONFIG_STATUS <<\_ACEOF
5255
  if test x"$ac_file" != x-; then
5583
  if test x"$ac_file" != x-; then
5256
    echo "/* $configure_input  */" >"$tmp/config.h"
5584
    {
5257
    cat "$ac_result" >>"$tmp/config.h"
5585
      $as_echo "/* $configure_input  */" \
5258
    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5586
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5259
      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5587
    } >"$tmp/config.h" \
5260
echo "$as_me: $ac_file is unchanged" >&6;}
5588
      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5589
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5590
   { (exit 1); exit 1; }; }
5591
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5592
      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5593
$as_echo "$as_me: $ac_file is unchanged" >&6;}
5261
    else
5594
    else
5262
      rm -f $ac_file
5595
      rm -f "$ac_file"
5263
      mv "$tmp/config.h" $ac_file
5596
      mv "$tmp/config.h" "$ac_file" \
5597
	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5598
$as_echo "$as_me: error: could not create $ac_file" >&2;}
5599
   { (exit 1); exit 1; }; }
5264
    fi
5600
    fi
5265
  else
5601
  else
5266
    echo "/* $configure_input  */"
5602
    $as_echo "/* $configure_input  */" \
5267
    cat "$ac_result"
5603
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5604
      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
5605
$as_echo "$as_me: error: could not create -" >&2;}
5606
   { (exit 1); exit 1; }; }
5268
  fi
5607
  fi
5269
  rm -f "$tmp/out12"
5608
# Compute "$ac_file"'s index in $config_headers.
5270
# Compute $ac_file's index in $config_headers.
5271
_am_stamp_count=1
5609
_am_stamp_count=1
5272
for _am_header in $config_headers :; do
5610
for _am_header in $config_headers :; do
5273
  case $_am_header in
5611
  case $_am_header in
5274
    $ac_file | $ac_file:* )
5612
    "$ac_file" | "$ac_file":* )
5275
      break ;;
5613
      break ;;
5276
    * )
5614
    * )
5277
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5615
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5278
  esac
5616
  esac
5279
done
5617
done
5280
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5618
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
5281
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5619
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5282
	 X$ac_file : 'X\(//\)[^/]' \| \
5620
	 X"$ac_file" : 'X\(//\)[^/]' \| \
5283
	 X$ac_file : 'X\(//\)$' \| \
5621
	 X"$ac_file" : 'X\(//\)$' \| \
5284
	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5622
	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5285
echo X$ac_file |
5623
$as_echo X"$ac_file" |
5286
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5624
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5287
	    s//\1/
5625
	    s//\1/
5288
	    q
5626
	    q
Lines 5302-5309 Link Here
5302
	  s/.*/./; q'`/stamp-h$_am_stamp_count
5640
	  s/.*/./; q'`/stamp-h$_am_stamp_count
5303
 ;;
5641
 ;;
5304
5642
5305
  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5643
  :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5306
echo "$as_me: executing $ac_file commands" >&6;}
5644
$as_echo "$as_me: executing $ac_file commands" >&6;}
5307
 ;;
5645
 ;;
5308
  esac
5646
  esac
5309
5647
Lines 5324-5330 Link Here
5324
	 X"$mf" : 'X\(//\)[^/]' \| \
5662
	 X"$mf" : 'X\(//\)[^/]' \| \
5325
	 X"$mf" : 'X\(//\)$' \| \
5663
	 X"$mf" : 'X\(//\)$' \| \
5326
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5664
	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5327
echo X"$mf" |
5665
$as_echo X"$mf" |
5328
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5666
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5329
	    s//\1/
5667
	    s//\1/
5330
	    q
5668
	    q
Lines 5374-5380 Link Here
5374
	 X"$file" : 'X\(//\)[^/]' \| \
5712
	 X"$file" : 'X\(//\)[^/]' \| \
5375
	 X"$file" : 'X\(//\)$' \| \
5713
	 X"$file" : 'X\(//\)$' \| \
5376
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5714
	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5377
echo X"$file" |
5715
$as_echo X"$file" |
5378
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5716
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5379
	    s//\1/
5717
	    s//\1/
5380
	    q
5718
	    q
Lines 5400-5406 Link Here
5400
    as_dirs=
5738
    as_dirs=
5401
    while :; do
5739
    while :; do
5402
      case $as_dir in #(
5740
      case $as_dir in #(
5403
      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5741
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5404
      *) as_qdir=$as_dir;;
5742
      *) as_qdir=$as_dir;;
5405
      esac
5743
      esac
5406
      as_dirs="'$as_qdir' $as_dirs"
5744
      as_dirs="'$as_qdir' $as_dirs"
Lines 5409-5415 Link Here
5409
	 X"$as_dir" : 'X\(//\)[^/]' \| \
5747
	 X"$as_dir" : 'X\(//\)[^/]' \| \
5410
	 X"$as_dir" : 'X\(//\)$' \| \
5748
	 X"$as_dir" : 'X\(//\)$' \| \
5411
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5749
	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5412
echo X"$as_dir" |
5750
$as_echo X"$as_dir" |
5413
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5751
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5414
	    s//\1/
5752
	    s//\1/
5415
	    q
5753
	    q
Lines 5430-5437 Link Here
5430
      test -d "$as_dir" && break
5768
      test -d "$as_dir" && break
5431
    done
5769
    done
5432
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5770
    test -z "$as_dirs" || eval "mkdir $as_dirs"
5433
  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5771
  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5434
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5772
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5435
   { (exit 1); exit 1; }; }; }
5773
   { (exit 1); exit 1; }; }; }
5436
    # echo "creating $dirpart/$file"
5774
    # echo "creating $dirpart/$file"
5437
    echo '# dummy' > "$dirpart/$file"
5775
    echo '# dummy' > "$dirpart/$file"
Lines 5448-5453 Link Here
5448
chmod +x $CONFIG_STATUS
5786
chmod +x $CONFIG_STATUS
5449
ac_clean_files=$ac_clean_files_save
5787
ac_clean_files=$ac_clean_files_save
5450
5788
5789
test $ac_write_fail = 0 ||
5790
  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5791
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5792
   { (exit 1); exit 1; }; }
5793
5451
5794
5452
# configure is writing to config.log, and then calls config.status.
5795
# configure is writing to config.log, and then calls config.status.
5453
# config.status does its own redirection, appending to config.log.
5796
# config.status does its own redirection, appending to config.log.
Lines 5469-5473 Link Here
5469
  # would make configure fail if this is the last instruction.
5812
  # would make configure fail if this is the last instruction.
5470
  $ac_cs_success || { (exit 1); exit 1; }
5813
  $ac_cs_success || { (exit 1); exit 1; }
5471
fi
5814
fi
5472
5815
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5816
  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5817
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5818
fi
5473
5819
(-)/root/csync2-1.34/configure.ac (-11 / +5 lines)
Lines 17-27 Link Here
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
18
19
# Process this file with autoconf to produce a configure script.
19
# Process this file with autoconf to produce a configure script.
20
AC_INIT(csync2, 1.34, clifford@clifford.at)
20
AC_INIT([csync2],[1.34],[clifford@clifford.at])
21
AM_INIT_AUTOMAKE
21
AM_INIT_AUTOMAKE
22
22
23
AC_CONFIG_SRCDIR(csync2.c)
23
AC_CONFIG_SRCDIR(csync2.c)
24
AM_CONFIG_HEADER(config.h)
24
AC_CONFIG_HEADERS([config.h])
25
25
26
# Use /etc and /var instead of $prefix/...
26
# Use /etc and /var instead of $prefix/...
27
test "$localstatedir" = '${prefix}/var' && localstatedir=/var
27
test "$localstatedir" = '${prefix}/var' && localstatedir=/var
Lines 52-76 Link Here
52
AM_CONDITIONAL([PRIVATE_LIBSQLITE], [test -n "$libsqlite_source_file"])
52
AM_CONDITIONAL([PRIVATE_LIBSQLITE], [test -n "$libsqlite_source_file"])
53
53
54
AC_ARG_ENABLE([gnutls],
54
AC_ARG_ENABLE([gnutls],
55
	[AC_HELP_STRING([--disable-gnutls],
55
	[AS_HELP_STRING([--disable-gnutls],[enable/disable GNU TLS support (default is enabled)])],
56
		[enable/disable GNU TLS support (default is enabled)])],
57
	[], [ enable_gnutls=yes ])
56
	[], [ enable_gnutls=yes ])
58
57
59
if test "$enable_gnutls" != no
58
if test "$enable_gnutls" != no
60
then
59
then
61
62
	# Check for gnuTLS.
60
	# Check for gnuTLS.
63
	AM_PATH_LIBGNUTLS(1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]]) ])
61
	AM_PATH_LIBGNUTLS(1.0.0, , [ AC_MSG_ERROR([[gnutls not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]]) ])
64
62
65
	# This is a bloody hack for fedora core
63
	## This is a bloody hack for fedora core
66
	CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
64
	CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
67
	LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1"
65
	LIBS="$LIBS $LIBGNUTLS_LIBS -ltasn1"
68
69
	# Check gnuTLS SSL compatibility lib.
70
	AC_CHECK_LIB([gnutls-openssl], [SSL_new], , [AC_MSG_ERROR([[gnutls-openssl not found; install gnutls, gnutls-openssl and libtasn1 packages for your system or run configure with --disable-gnutls]])])
71
72
fi
66
fi
67
AM_CONDITIONAL([HAVE_LIBGNUTLS], [test "$enable_gnutls" != no ])
73
68
74
AC_CONFIG_FILES([Makefile])
69
AC_CONFIG_FILES([Makefile])
75
AC_OUTPUT
70
AC_OUTPUT
76
(-)/root/csync2-1.34/conn.c (-44 / +111 lines)
Lines 30-50 Link Here
30
#include <netdb.h>
30
#include <netdb.h>
31
#include <errno.h>
31
#include <errno.h>
32
32
33
#ifdef HAVE_LIBGNUTLS_OPENSSL
33
#ifdef HAVE_LIBGNUTLS
34
#  include <gnutls/gnutls.h>
34
#  include <gnutls/gnutls.h>
35
#  include <gnutls/openssl.h>
35
#  include <gnutls/x509.h>
36
#endif
36
#endif
37
37
38
int conn_fd_in  = -1;
38
int conn_fd_in  = -1;
39
int conn_fd_out = -1;
39
int conn_fd_out = -1;
40
int conn_clisok = 0;
40
int conn_clisok = 0;
41
41
42
#ifdef HAVE_LIBGNUTLS_OPENSSL
42
#ifdef HAVE_LIBGNUTLS
43
int csync_conn_usessl = 0;
43
int csync_conn_usessl = 0;
44
44
45
SSL_METHOD *conn_ssl_meth;
45
static gnutls_session_t conn_tls_session;
46
SSL_CTX *conn_ssl_ctx;
46
static gnutls_certificate_credentials_t conn_x509_cred;
47
SSL *conn_ssl;
48
#endif
47
#endif
49
48
50
int conn_open(const char *peername)
49
int conn_open(const char *peername)
Lines 83-89 Link Here
83
82
84
	conn_fd_out = conn_fd_in;
83
	conn_fd_out = conn_fd_in;
85
	conn_clisok = 1;
84
	conn_clisok = 1;
86
#ifdef HAVE_LIBGNUTLS_OPENSSL
85
#ifdef HAVE_LIBGNUTLS
87
	csync_conn_usessl = 0;
86
	csync_conn_usessl = 0;
88
#endif
87
#endif
89
88
Lines 97-103 Link Here
97
	conn_fd_in  = infd;
96
	conn_fd_in  = infd;
98
	conn_fd_out = outfd;
97
	conn_fd_out = outfd;
99
	conn_clisok = 1;
98
	conn_clisok = 1;
100
#ifdef HAVE_LIBGNUTLS_OPENSSL
99
#ifdef HAVE_LIBGNUTLS
101
	csync_conn_usessl = 0;
100
	csync_conn_usessl = 0;
102
#endif
101
#endif
103
102
Lines 110-152 Link Here
110
}
109
}
111
110
112
111
113
#ifdef HAVE_LIBGNUTLS_OPENSSL
112
#ifdef HAVE_LIBGNUTLS
114
113
115
char *ssl_keyfile = ETCDIR "/csync2_ssl_key.pem";
114
static void ssl_log(int level, const char* msg)
116
char *ssl_certfile = ETCDIR "/csync2_ssl_cert.pem";
115
{ csync_debug(level, "%s", msg); }
116
117
static const char *ssl_keyfile = ETCDIR "/csync2_ssl_key.pem";
118
static const char *ssl_certfile = ETCDIR "/csync2_ssl_cert.pem";
117
119
118
int conn_activate_ssl(int server_role)
120
int conn_activate_ssl(int server_role)
119
{
121
{
120
	static int sslinit = 0;
122
	gnutls_alert_description_t alrt;
123
	int err;
121
124
122
	if (csync_conn_usessl)
125
	if (csync_conn_usessl)
123
		return 0;
126
		return 0;
124
127
125
	if (!sslinit) {
128
	gnutls_global_init();
126
		SSL_load_error_strings();
129
	gnutls_global_set_log_function(ssl_log);
127
		SSL_library_init();
130
	gnutls_global_set_log_level(10);
128
		sslinit=1;
131
132
	gnutls_certificate_allocate_credentials(&conn_x509_cred);
133
134
	err = gnutls_certificate_set_x509_key_file(conn_x509_cred, ssl_certfile, ssl_keyfile, GNUTLS_X509_FMT_PEM);
135
	if(err != GNUTLS_E_SUCCESS) {
136
		gnutls_certificate_free_credentials(conn_x509_cred);
137
		gnutls_global_deinit();
138
139
		csync_fatal(
140
			"SSL: failed to use key file %s and/or certificate file %s: %s (%s)\n",
141
			ssl_keyfile,
142
			ssl_certfile,
143
			gnutls_strerror(err),
144
			gnutls_strerror_name(err)
145
		);
129
	}
146
	}
130
147
131
	conn_ssl_meth = (server_role ? SSLv23_server_method : SSLv23_client_method)();
148
	if(server_role) {
132
	conn_ssl_ctx = SSL_CTX_new(conn_ssl_meth);
149
		gnutls_certificate_free_cas(conn_x509_cred);
133
150
134
	if (SSL_CTX_use_PrivateKey_file(conn_ssl_ctx, ssl_keyfile, SSL_FILETYPE_PEM) <= 0)
151
		if(gnutls_certificate_set_x509_trust_file(conn_x509_cred, ssl_certfile, GNUTLS_X509_FMT_PEM) < 1) {
135
		csync_fatal("SSL: failed to use key file %s.\n", ssl_keyfile);
152
			gnutls_certificate_free_credentials(conn_x509_cred);
153
			gnutls_global_deinit();
136
154
137
	if (SSL_CTX_use_certificate_file(conn_ssl_ctx, ssl_certfile, SSL_FILETYPE_PEM) <= 0)
155
			csync_fatal(
138
		csync_fatal("SSL: failed to use certificate file %s.\n", ssl_certfile);
156
				"SSL: failed to use certificate file %s as CA.\n",
157
				ssl_certfile
158
			);
159
		}
160
	} else
161
		gnutls_certificate_free_ca_names(conn_x509_cred);
139
162
140
	if (! (conn_ssl = SSL_new(conn_ssl_ctx)) )
163
	gnutls_init(&conn_tls_session, (server_role ? GNUTLS_SERVER : GNUTLS_CLIENT));
141
		csync_fatal("Creating a new SSL handle failed.\n");
164
	gnutls_priority_set_direct(conn_tls_session, "PERFORMANCE", NULL);
165
	gnutls_credentials_set(conn_tls_session, GNUTLS_CRD_CERTIFICATE, conn_x509_cred);
142
166
143
	gnutls_certificate_server_set_request(conn_ssl->gnutls_state, GNUTLS_CERT_REQUIRE);
167
	if(server_role) {
168
		gnutls_certificate_send_x509_rdn_sequence(conn_tls_session, 0);
169
		gnutls_certificate_server_set_request(conn_tls_session, GNUTLS_CERT_REQUIRE);
170
	}
144
171
145
	SSL_set_rfd(conn_ssl, conn_fd_in);
172
	gnutls_transport_set_ptr2(
146
	SSL_set_wfd(conn_ssl, conn_fd_out);
173
		conn_tls_session,
174
		(gnutls_transport_ptr_t)conn_fd_in,
175
		(gnutls_transport_ptr_t)conn_fd_out
176
	);
147
177
148
	if ( (server_role ? SSL_accept : SSL_connect)(conn_ssl) < 1 )
178
	err = gnutls_handshake(conn_tls_session);
149
		csync_fatal("Establishing SSL connection failed.\n");
179
	switch(err) {
180
	case GNUTLS_E_SUCCESS:
181
		break;
182
183
	case GNUTLS_E_WARNING_ALERT_RECEIVED:
184
		alrt = gnutls_alert_get(conn_tls_session);
185
		fprintf(
186
			csync_debug_out,
187
			"SSL: warning alert received from peer: %d (%s).\n",
188
			alrt, gnutls_alert_get_name(alrt)
189
		);
190
		break;
191
192
	case GNUTLS_E_FATAL_ALERT_RECEIVED:
193
		alrt = gnutls_alert_get(conn_tls_session);
194
		fprintf(
195
			csync_debug_out,
196
			"SSL: fatal alert received from peer: %d (%s).\n",
197
			alrt, gnutls_alert_get_name(alrt)
198
		);
199
200
	default:
201
		gnutls_bye(conn_tls_session, GNUTLS_SHUT_RDWR);
202
		gnutls_deinit(conn_tls_session);
203
		gnutls_certificate_free_credentials(conn_x509_cred);
204
		gnutls_global_deinit();
205
206
		csync_fatal(
207
			"SSL: handshake failed: %s (%s)\n",
208
			gnutls_strerror(err),
209
			gnutls_strerror_name(err)
210
		);
211
	}
150
212
151
	csync_conn_usessl = 1;
213
	csync_conn_usessl = 1;
152
214
Lines 155-169 Link Here
155
217
156
int conn_check_peer_cert(const char *peername, int callfatal)
218
int conn_check_peer_cert(const char *peername, int callfatal)
157
{
219
{
158
	const X509 *peercert;
220
	const gnutls_datum_t *peercerts;
221
	unsigned npeercerts;
159
	int i, cert_is_ok = -1;
222
	int i, cert_is_ok = -1;
160
223
161
	if (!csync_conn_usessl)
224
	if (!csync_conn_usessl)
162
		return 1;
225
		return 1;
163
226
164
	peercert = SSL_get_peer_certificate(conn_ssl);
227
	peercerts = gnutls_certificate_get_peers(conn_tls_session, &npeercerts);
165
228
	if(peercerts == NULL || npeercerts == 0) {
166
	if (!peercert || peercert->size <= 0) {
167
		if (callfatal)
229
		if (callfatal)
168
			csync_fatal("Peer did not provide an SSL X509 cetrificate.\n");
230
			csync_fatal("Peer did not provide an SSL X509 cetrificate.\n");
169
		csync_debug(1, "Peer did not provide an SSL X509 cetrificate.\n");
231
		csync_debug(1, "Peer did not provide an SSL X509 cetrificate.\n");
Lines 171-181 Link Here
171
	}
233
	}
172
234
173
	{
235
	{
174
		char certdata[peercert->size*2 + 1];
236
		char certdata[2*peercerts[0].size + 1];
175
237
176
		for (i=0; i<peercert->size; i++)
238
		for (i=0; i<peercerts[0].size; i++)
177
			sprintf(certdata+i*2, "%02X", peercert->data[i]);
239
			sprintf(&certdata[2*i], "%02X", peercerts[0].data[i]);
178
		certdata[peercert->size*2] = 0;
240
		certdata[2*i] = 0;
179
241
180
		SQL_BEGIN("Checking peer x509 certificate.",
242
		SQL_BEGIN("Checking peer x509 certificate.",
181
			"SELECT certdata FROM x509_cert WHERE peername = '%s'",
243
			"SELECT certdata FROM x509_cert WHERE peername = '%s'",
Lines 215-228 Link Here
215
	return 1;
277
	return 1;
216
}
278
}
217
279
218
#endif /* HAVE_LIBGNUTLS_OPENSSL */
280
#endif /* HAVE_LIBGNUTLS */
219
281
220
int conn_close()
282
int conn_close()
221
{
283
{
222
	if ( !conn_clisok ) return -1;
284
	if ( !conn_clisok ) return -1;
223
285
224
#ifdef HAVE_LIBGNUTLS_OPENSSL
286
#ifdef HAVE_LIBGNUTLS
225
	if ( csync_conn_usessl ) SSL_free(conn_ssl);
287
	if ( csync_conn_usessl ) {
288
		gnutls_bye(conn_tls_session, GNUTLS_SHUT_RDWR);
289
		gnutls_deinit(conn_tls_session);
290
		gnutls_certificate_free_credentials(conn_x509_cred);
291
		gnutls_global_deinit();
292
	}
226
#endif
293
#endif
227
294
228
	if ( conn_fd_in != conn_fd_out) close(conn_fd_in);
295
	if ( conn_fd_in != conn_fd_out) close(conn_fd_in);
Lines 237-245 Link Here
237
304
238
static inline int READ(void *buf, size_t count)
305
static inline int READ(void *buf, size_t count)
239
{
306
{
240
#ifdef HAVE_LIBGNUTLS_OPENSSL
307
#ifdef HAVE_LIBGNUTLS
241
	if (csync_conn_usessl)
308
	if (csync_conn_usessl)
242
		return SSL_read(conn_ssl, buf, count);
309
		return gnutls_record_recv(conn_tls_session, buf, count);
243
	else
310
	else
244
#endif
311
#endif
245
		return read(conn_fd_in, buf, count);
312
		return read(conn_fd_in, buf, count);
Lines 249-257 Link Here
249
{
316
{
250
	static int n, total;
317
	static int n, total;
251
318
252
#ifdef HAVE_LIBGNUTLS_OPENSSL
319
#ifdef HAVE_LIBGNUTLS
253
	if (csync_conn_usessl)
320
	if (csync_conn_usessl)
254
		return SSL_write(conn_ssl, buf, count);
321
		return gnutls_record_send(conn_tls_session, buf, count);
255
	else
322
	else
256
#endif
323
#endif
257
	{
324
	{
(-)/root/csync2-1.34/csync2.c (-1 / +1 lines)
Lines 482-488 Link Here
482
		para = cmd ? strtok(0, "\t \r\n") : 0;
482
		para = cmd ? strtok(0, "\t \r\n") : 0;
483
483
484
		if (cmd && !strcasecmp(cmd, "ssl")) {
484
		if (cmd && !strcasecmp(cmd, "ssl")) {
485
#ifdef HAVE_LIBGNUTLS_OPENSSL
485
#ifdef HAVE_LIBGNUTLS
486
			conn_printf("OK (activating_ssl).\n");
486
			conn_printf("OK (activating_ssl).\n");
487
			conn_activate_ssl(1);
487
			conn_activate_ssl(1);
488
488
(-)/root/csync2-1.34/csync2.h (-1 / +1 lines)
Lines 328-334 Link Here
328
328
329
extern int csync_compare_mode;
329
extern int csync_compare_mode;
330
330
331
#ifdef HAVE_LIBGNUTLS_OPENSSL
331
#ifdef HAVE_LIBGNUTLS
332
extern int csync_conn_usessl;
332
extern int csync_conn_usessl;
333
#endif
333
#endif
334
334
(-)/root/csync2-1.34/daemon.c (-1 / +1 lines)
Lines 465-471 Link Here
465
				cmd_error = "Identification failed!";
465
				cmd_error = "Identification failed!";
466
				break;
466
				break;
467
			}
467
			}
468
#ifdef HAVE_LIBGNUTLS_OPENSSL
468
#ifdef HAVE_LIBGNUTLS
469
			if (!csync_conn_usessl) {
469
			if (!csync_conn_usessl) {
470
				struct csync_nossl *t;
470
				struct csync_nossl *t;
471
				for (t = csync_nossl; t; t=t->next) {
471
				for (t = csync_nossl; t; t=t->next) {
(-)/root/csync2-1.34/m4/libgnutls.m4 (+173 lines)
Line 0 Link Here
1
dnl Autoconf macros for libgnutls
2
dnl $id$
3
4
# Modified for LIBGNUTLS -- nmav
5
# Configure paths for LIBGCRYPT
6
# Shamelessly stolen from the one of XDELTA by Owen Taylor
7
# Werner Koch   99-12-09
8
# 10-years-old code is not as good as brandy would...
9
# gnutls now uses pkg-config and doesn't ship gnutls-config anymore.
10
# Giampaolo Tomassoni 2009-09-15
11
12
dnl AM_PATH_LIBGNUTLS([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
13
dnl Test for libgnutls, and define LIBGNUTLS_CFLAGS and LIBGNUTLS_LIBS
14
dnl
15
AC_DEFUN([AM_PATH_LIBGNUTLS],
16
[dnl
17
dnl Get the cflags and libraries from the libgnutls-config script
18
dnl
19
AC_ARG_WITH(libgnutls-prefix,
20
          [  --with-libgnutls-prefix=PFX   Prefix where libgnutls is installed (optional)],
21
          libgnutls_config_prefix="$withval", libgnutls_config_prefix="")
22
23
  min_libgnutls_version=ifelse([$1], ,0.1.0,$1)
24
  AC_MSG_CHECKING(for libgnutls - version >= $min_libgnutls_version)
25
26
  PKG_CHECK_EXISTS(
27
  	gnutls,
28
	[
29
		LIBGNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls`
30
		LIBGNUTLS_LIBS=`$PKG_CONFIG --libs gnutls`
31
		libgnutls_config_version=`$PKG_CONFIG --modversion gnutls`
32
	],
33
	[
34
		AC_PATH_PROG(LIBGNUTLS_CONFIG, libgnutls-config,, [$libgnutls_config_prefix/bin$PATH_SEPARATOR$PATH])
35
		if test "$LIBGNUTLS_CONFIG"=no
36
		then
37
			no_libgnutls=yes
38
			echo "Can't obtain gnutls package info!" >&2
39
		fi
40
41
		LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
42
		LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
43
		libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
44
	]
45
  )
46
47
  if test "$no_libgnutls" != no
48
  then
49
    ac_save_CFLAGS="$CFLAGS"
50
    ac_save_LIBS="$LIBS"
51
    CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
52
    LIBS="$LIBS $LIBGNUTLS_LIBS"
53
54
dnl
55
dnl Now check if the installed libgnutls is sufficiently new. Also sanity
56
dnl checks the results of libgnutls-config to some extent
57
dnl
58
    rm -f conf.libgnutlstest
59
    AC_TRY_RUN([
60
#include <stdio.h>
61
#include <stdlib.h>
62
#include <string.h>
63
#include <gnutls/gnutls.h>
64
65
int
66
main ()
67
{
68
    system ("touch conf.libgnutlstest");
69
70
    if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
71
    {
72
      printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
73
             "$libgnutls_config_version", gnutls_check_version(NULL) );
74
      printf("*** was found! If libgnutls-config was correct, then it is best\n");
75
      printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
76
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
77
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
78
      printf("*** required on your system.\n");
79
      printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
80
      printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
81
      printf("*** before re-running configure\n");
82
    }
83
    else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
84
    {
85
      printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
86
      printf("*** library (version %s)\n", gnutls_check_version(NULL) );
87
    }
88
    else
89
    {
90
      if ( gnutls_check_version( "$min_libgnutls_version" ) )
91
      {
92
        return 0;
93
      }
94
     else
95
      {
96
        printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
97
                gnutls_check_version(NULL) );
98
        printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
99
               "$min_libgnutls_version" );
100
        printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
101
        printf("*** \n");
102
        printf("*** If you have already installed a sufficiently new version, this error\n");
103
        printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
104
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
105
        printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
106
        printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
107
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
108
        printf("*** so that the correct libraries are found at run-time))\n");
109
      }
110
    }
111
  return 1;
112
}
113
],, no_libgnutls=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
114
       CFLAGS="$ac_save_CFLAGS"
115
       LIBS="$ac_save_LIBS"
116
  fi
117
118
  if test "x$no_libgnutls" = x ; then
119
     AC_MSG_RESULT(yes)
120
     ifelse([$2], , :, [$2])
121
122
     AC_DEFINE([HAVE_LIBGNUTLS], [1], [Define to 1 if you have the `gnutls' library (-lgnutls).])
123
  else
124
     if test -f conf.libgnutlstest ; then
125
        :
126
     else
127
        AC_MSG_RESULT(no)
128
     fi
129
     if test "$LIBGNUTLS_CONFIG" = "no" ; then
130
       echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
131
       echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
132
       echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
133
       echo "*** full path to libgnutls-config."
134
     else
135
       if test -f conf.libgnutlstest ; then
136
        :
137
       else
138
          echo "*** Could not run libgnutls test program, checking why..."
139
          CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
140
          LIBS="$LIBS $LIBGNUTLS_LIBS"
141
          AC_TRY_LINK([
142
#include <stdio.h>
143
#include <stdlib.h>
144
#include <string.h>
145
#include <gnutls/gnutls.h>
146
],      [ return !!gnutls_check_version(NULL); ],
147
        [ echo "*** The test program compiled, but did not run. This usually means"
148
          echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
149
          echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
150
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
151
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
152
          echo "*** is required on your system"
153
          echo "***"
154
          echo "*** If you have an old version installed, it is best to remove it, although"
155
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
156
          echo "***" ],
157
        [ echo "*** The test program failed to compile or link. See the file config.log for the"
158
          echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
159
          echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
160
          echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG" ])
161
          CFLAGS="$ac_save_CFLAGS"
162
          LIBS="$ac_save_LIBS"
163
       fi
164
     fi
165
     LIBGNUTLS_CFLAGS=""
166
     LIBGNUTLS_LIBS=""
167
     ifelse([$3], , :, [$3])
168
   fi
169
170
  rm -f conf.libgnutlstest
171
  AC_SUBST(LIBGNUTLS_CFLAGS)
172
  AC_SUBST(LIBGNUTLS_LIBS)
173
])
(-)/root/csync2-1.34/update.c (-1 / +1 lines)
Lines 70-76 Link Here
70
	if ( conn_open(peername) ) return -1;
70
	if ( conn_open(peername) ) return -1;
71
71
72
	if ( use_ssl ) {
72
	if ( use_ssl ) {
73
#if HAVE_LIBGNUTLS_OPENSSL
73
#if HAVE_LIBGNUTLS
74
		conn_printf("SSL\n");
74
		conn_printf("SSL\n");
75
		if ( read_conn_status(0, peername) ) {
75
		if ( read_conn_status(0, peername) ) {
76
			csync_debug(1, "SSL command failed.\n");
76
			csync_debug(1, "SSL command failed.\n");

Return to bug 293835