Codebase list librelp / 8065931
Update upstream source from tag 'upstream/1.10.0' Update to upstream version '1.10.0' with Debian dir 640b2ecf7be544b23dd0b8709bbfce040a68c3a2 Michael Biebl 3 years ago
22 changed file(s) with 1341 addition(s) and 580 deletion(s). Raw diff Collapse all Expand all
0 ----------------------------------------------------------------------
1 Version 1.10.0 - 2021-02-16
2 - TLS handling bugfix
3 When the client tried to conntect to the server, custom
4 cipherstrings (Set by tlscommands feature) were not used. This
5 could lead to the negotiation of different and potentially weaker
6 ciphers. Other custom tlscommands settings like Protocol where not
7 affected. We do not overwrite the custom ciphers anymore if they are
8 set by tlscommands. Another problem only related to the relp
9 receiver (server) was, that the custom tlscommands/priority string
10 where not applied on the accepted client connections. This could
11 lead to the same problem as the default ciphers were used.
12 Besides the main problem, the following changes were applied:
13 - Add new testcase for setting custom tls ciphers in tlscommand.
14 - Add support to use semicolon (;) as tlscommand seperator (See new testcase)
15 - Fix GCC9 "destination size" warning in offers.c
16 closes: https://github.com/rsyslog/librelp/issues/224
017 ----------------------------------------------------------------------
118 Version 1.9.0 - 2020-11-24
219 - openssl bugfix: preprocessor check for tlsconfigcmd code
22
33 pkgconfigdir = $(libdir)/pkgconfig
44 pkgconfig_DATA = relp.pc
5
6 # Note: version-info is set in ./src/Makefile.am!
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
166166 $(RECURSIVE_CLEAN_TARGETS) \
167167 $(am__extra_recursive_targets)
168168 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
169 cscope distdir dist dist-all distcheck
169 cscope distdir distdir-am dist dist-all distcheck
170170 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
171171 $(LISP)config.h.in
172172 # Read a list of newline-separated strings from the standard input,
402402 echo ' $(SHELL) ./config.status'; \
403403 $(SHELL) ./config.status;; \
404404 *) \
405 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
406 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
405 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
406 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
407407 esac;
408408
409409 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
568568 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
569569 -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
570570
571 distdir: $(DISTFILES)
571 distdir: $(BUILT_SOURCES)
572 $(MAKE) $(AM_MAKEFLAGS) distdir-am
573
574 distdir-am: $(DISTFILES)
572575 $(am__remove_distdir)
573576 test -d "$(distdir)" || mkdir "$(distdir)"
574577 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
886889 .PRECIOUS: Makefile
887890
888891
892 # Note: version-info is set in ./src/Makefile.am!
893
889894 # Tell versions [3.59,3.63) of GNU make to not export all variables.
890895 # Otherwise a system limit (for SysV at least) may be exceeded.
891896 .NOEXPORT:
0 # generated automatically by aclocal 1.15.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
5151 #
5252 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
5353 #
54 # This program is free software: you can redistribute it and/or modify it
55 # under the terms of the GNU General Public License as published by the
56 # Free Software Foundation, either version 3 of the License, or (at your
57 # option) any later version.
58 #
59 # This program is distributed in the hope that it will be useful, but
60 # WITHOUT ANY WARRANTY; without even the implied warranty of
61 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
62 # Public License for more details.
63 #
64 # You should have received a copy of the GNU General Public License along
65 # with this program. If not, see <https://www.gnu.org/licenses/>.
66 #
67 # As a special exception, the respective Autoconf Macro's copyright owner
68 # gives unlimited permission to copy, distribute and modify the configure
69 # scripts that are the output of Autoconf when processing the Macro. You
70 # need not follow the terms of the GNU General Public License when using
71 # or distributing such scripts, even though portions of the text of the
72 # Macro appear in them. The GNU General Public License (GPL) does govern
73 # all other use of the material that constitutes the Autoconf Macro.
74 #
75 # This special exception to the GPL applies to versions of the Autoconf
76 # Macro released by the Autoconf Archive. When you make and distribute a
77 # modified version of the Autoconf Macro, you may extend this special
78 # exception to the GPL to apply to your modified version as well.
79
80 #serial 6
54 # Copying and distribution of this file, with or without modification, are
55 # permitted in any medium without royalty provided the copyright notice
56 # and this notice are preserved. This file is offered as-is, without any
57 # warranty.
58
59 #serial 7
8160
8261 AC_DEFUN([AX_APPEND_COMPILE_FLAGS],
8362 [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG])
11291 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
11392 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
11493 #
115 # This program is free software: you can redistribute it and/or modify it
116 # under the terms of the GNU General Public License as published by the
117 # Free Software Foundation, either version 3 of the License, or (at your
118 # option) any later version.
119 #
120 # This program is distributed in the hope that it will be useful, but
121 # WITHOUT ANY WARRANTY; without even the implied warranty of
122 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
123 # Public License for more details.
124 #
125 # You should have received a copy of the GNU General Public License along
126 # with this program. If not, see <https://www.gnu.org/licenses/>.
127 #
128 # As a special exception, the respective Autoconf Macro's copyright owner
129 # gives unlimited permission to copy, distribute and modify the configure
130 # scripts that are the output of Autoconf when processing the Macro. You
131 # need not follow the terms of the GNU General Public License when using
132 # or distributing such scripts, even though portions of the text of the
133 # Macro appear in them. The GNU General Public License (GPL) does govern
134 # all other use of the material that constitutes the Autoconf Macro.
135 #
136 # This special exception to the GPL applies to versions of the Autoconf
137 # Macro released by the Autoconf Archive. When you make and distribute a
138 # modified version of the Autoconf Macro, you may extend this special
139 # exception to the GPL to apply to your modified version as well.
140
141 #serial 7
94 # Copying and distribution of this file, with or without modification, are
95 # permitted in any medium without royalty provided the copyright notice
96 # and this notice are preserved. This file is offered as-is, without any
97 # warranty.
98
99 #serial 8
142100
143101 AC_DEFUN([AX_APPEND_FLAG],
144102 [dnl
189147 #
190148 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
191149 #
192 # This program is free software: you can redistribute it and/or modify it
193 # under the terms of the GNU General Public License as published by the
194 # Free Software Foundation, either version 3 of the License, or (at your
195 # option) any later version.
196 #
197 # This program is distributed in the hope that it will be useful, but
198 # WITHOUT ANY WARRANTY; without even the implied warranty of
199 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
200 # Public License for more details.
201 #
202 # You should have received a copy of the GNU General Public License along
203 # with this program. If not, see <https://www.gnu.org/licenses/>.
204 #
205 # As a special exception, the respective Autoconf Macro's copyright owner
206 # gives unlimited permission to copy, distribute and modify the configure
207 # scripts that are the output of Autoconf when processing the Macro. You
208 # need not follow the terms of the GNU General Public License when using
209 # or distributing such scripts, even though portions of the text of the
210 # Macro appear in them. The GNU General Public License (GPL) does govern
211 # all other use of the material that constitutes the Autoconf Macro.
212 #
213 # This special exception to the GPL applies to versions of the Autoconf
214 # Macro released by the Autoconf Archive. When you make and distribute a
215 # modified version of the Autoconf Macro, you may extend this special
216 # exception to the GPL to apply to your modified version as well.
217
218 #serial 6
150 # Copying and distribution of this file, with or without modification, are
151 # permitted in any medium without royalty provided the copyright notice
152 # and this notice are preserved. This file is offered as-is, without any
153 # warranty.
154
155 #serial 7
219156
220157 AC_DEFUN([AX_APPEND_LINK_FLAGS],
221158 [AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
256193 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
257194 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
258195 #
259 # This program is free software: you can redistribute it and/or modify it
260 # under the terms of the GNU General Public License as published by the
261 # Free Software Foundation, either version 3 of the License, or (at your
262 # option) any later version.
263 #
264 # This program is distributed in the hope that it will be useful, but
265 # WITHOUT ANY WARRANTY; without even the implied warranty of
266 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
267 # Public License for more details.
268 #
269 # You should have received a copy of the GNU General Public License along
270 # with this program. If not, see <https://www.gnu.org/licenses/>.
271 #
272 # As a special exception, the respective Autoconf Macro's copyright owner
273 # gives unlimited permission to copy, distribute and modify the configure
274 # scripts that are the output of Autoconf when processing the Macro. You
275 # need not follow the terms of the GNU General Public License when using
276 # or distributing such scripts, even though portions of the text of the
277 # Macro appear in them. The GNU General Public License (GPL) does govern
278 # all other use of the material that constitutes the Autoconf Macro.
279 #
280 # This special exception to the GPL applies to versions of the Autoconf
281 # Macro released by the Autoconf Archive. When you make and distribute a
282 # modified version of the Autoconf Macro, you may extend this special
283 # exception to the GPL to apply to your modified version as well.
284
285 #serial 5
196 # Copying and distribution of this file, with or without modification, are
197 # permitted in any medium without royalty provided the copyright notice
198 # and this notice are preserved. This file is offered as-is, without any
199 # warranty.
200
201 #serial 6
286202
287203 AC_DEFUN([AX_CHECK_COMPILE_FLAG],
288204 [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
331247 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
332248 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
333249 #
334 # This program is free software: you can redistribute it and/or modify it
335 # under the terms of the GNU General Public License as published by the
336 # Free Software Foundation, either version 3 of the License, or (at your
337 # option) any later version.
338 #
339 # This program is distributed in the hope that it will be useful, but
340 # WITHOUT ANY WARRANTY; without even the implied warranty of
341 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
342 # Public License for more details.
343 #
344 # You should have received a copy of the GNU General Public License along
345 # with this program. If not, see <https://www.gnu.org/licenses/>.
346 #
347 # As a special exception, the respective Autoconf Macro's copyright owner
348 # gives unlimited permission to copy, distribute and modify the configure
349 # scripts that are the output of Autoconf when processing the Macro. You
350 # need not follow the terms of the GNU General Public License when using
351 # or distributing such scripts, even though portions of the text of the
352 # Macro appear in them. The GNU General Public License (GPL) does govern
353 # all other use of the material that constitutes the Autoconf Macro.
354 #
355 # This special exception to the GPL applies to versions of the Autoconf
356 # Macro released by the Autoconf Archive. When you make and distribute a
357 # modified version of the Autoconf Macro, you may extend this special
358 # exception to the GPL to apply to your modified version as well.
359
360 #serial 5
250 # Copying and distribution of this file, with or without modification, are
251 # permitted in any medium without royalty provided the copyright notice
252 # and this notice are preserved. This file is offered as-is, without any
253 # warranty.
254
255 #serial 6
361256
362257 AC_DEFUN([AX_CHECK_LINK_FLAG],
363258 [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF
555450 # LICENSE
556451 #
557452 # Copyright (c) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
453 # Copyright (c) 2017, 2018 Reini Urban <rurban@cpan.org>
558454 #
559455 # Copying and distribution of this file, with or without modification, are
560456 # permitted in any medium without royalty provided the copyright notice
561457 # and this notice are preserved. This file is offered as-is, without any
562458 # warranty.
563459
564 #serial 14
460 #serial 17
565461
566462 AC_DEFUN([AX_COMPILER_FLAGS_CFLAGS],[
567463 AC_REQUIRE([AC_PROG_SED])
574470 [m4_normalize(ifelse([$1],,[WARN_CFLAGS],[$1]))])
575471
576472 AC_LANG_PUSH([C])
473
474 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([
475 [#ifndef __cplusplus
476 #error "no C++"
477 #endif]])],
478 [ax_compiler_cxx=yes;],
479 [ax_compiler_cxx=no;])
577480
578481 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
579482 # flags, otherwise they are always appended to the warn_cflags variable, and
600503 ],ax_warn_cflags_variable,[$ax_compiler_flags_test])
601504
602505 AS_IF([test "$ax_enable_compile_warnings" != "no"],[
506 if test "$ax_compiler_cxx" = "no" ; then
507 # C-only flags. Warn in C++
508 AX_APPEND_COMPILE_FLAGS([ dnl
509 -Wnested-externs dnl
510 -Wmissing-prototypes dnl
511 -Wstrict-prototypes dnl
512 -Wdeclaration-after-statement dnl
513 -Wimplicit-function-declaration dnl
514 -Wold-style-definition dnl
515 -Wjump-misses-init dnl
516 ],ax_warn_cflags_variable,[$ax_compiler_flags_test])
517 fi
518
603519 # "yes" flags
604520 AX_APPEND_COMPILE_FLAGS([ dnl
605521 -Wall dnl
606522 -Wextra dnl
607523 -Wundef dnl
608 -Wnested-externs dnl
609524 -Wwrite-strings dnl
610525 -Wpointer-arith dnl
611526 -Wmissing-declarations dnl
612 -Wmissing-prototypes dnl
613 -Wstrict-prototypes dnl
614527 -Wredundant-decls dnl
615528 -Wno-unused-parameter dnl
616529 -Wno-missing-field-initializers dnl
617 -Wdeclaration-after-statement dnl
618530 -Wformat=2 dnl
619 -Wold-style-definition dnl
620531 -Wcast-align dnl
621532 -Wformat-nonliteral dnl
622533 -Wformat-security dnl
632543 -Wmissing-include-dirs dnl
633544 -Wunused-but-set-variable dnl
634545 -Warray-bounds dnl
635 -Wimplicit-function-declaration dnl
636546 -Wreturn-type dnl
637547 -Wswitch-enum dnl
638548 -Wswitch-default dnl
549 -Wduplicated-cond dnl
550 -Wduplicated-branches dnl
551 -Wlogical-op dnl
552 -Wrestrict dnl
553 -Wnull-dereference dnl
554 -Wdouble-promotion dnl
639555 $4 dnl
640556 $5 dnl
641557 $6 dnl
757673 # LICENSE
758674 #
759675 # Copyright (c) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
676 # Copyright (c) 2017, 2018 Reini Urban <rurban@cpan.org>
760677 #
761678 # Copying and distribution of this file, with or without modification, are
762679 # permitted in any medium without royalty provided the copyright notice
763680 # and this notice are preserved. This file is offered as-is, without any
764681 # warranty.
765682
766 #serial 8
683 #serial 9
767684
768685 AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[
769686 AX_REQUIRE_DEFINED([AX_APPEND_LINK_FLAGS])
786703 ax_compiler_flags_test=""
787704 ])
788705
789 # macOS linker does not have --as-needed
706 AX_CHECK_LINK_FLAG([-Wl,--as-needed], [
707 AX_APPEND_LINK_FLAGS([-Wl,--as-needed],
708 [AM_LDFLAGS],[$ax_compiler_flags_test])
709 ])
710 AX_CHECK_LINK_FLAG([-Wl,-z,relro], [
711 AX_APPEND_LINK_FLAGS([-Wl,-z,relro],
712 [AM_LDFLAGS],[$ax_compiler_flags_test])
713 ])
714 AX_CHECK_LINK_FLAG([-Wl,-z,now], [
715 AX_APPEND_LINK_FLAGS([-Wl,-z,now],
716 [AM_LDFLAGS],[$ax_compiler_flags_test])
717 ])
718 AX_CHECK_LINK_FLAG([-Wl,-z,noexecstack], [
719 AX_APPEND_LINK_FLAGS([-Wl,-z,noexecstack],
720 [AM_LDFLAGS],[$ax_compiler_flags_test])
721 ])
722 # textonly, retpolineplt not yet
723
724 # macOS and cygwin linker do not have --as-needed
790725 AX_CHECK_LINK_FLAG([-Wl,--no-as-needed], [
791726 ax_compiler_flags_as_needed_option="-Wl,--no-as-needed"
792727 ], [
12241159 AS_VAR_IF([$1], [""], [$5], [$4])dnl
12251160 ])dnl PKG_CHECK_VAR
12261161
1227 # Copyright (C) 2002-2017 Free Software Foundation, Inc.
1162 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
12281163 #
12291164 # This file is free software; the Free Software Foundation
12301165 # gives unlimited permission to copy and/or distribute it,
12361171 # generated from the m4 files accompanying Automake X.Y.
12371172 # (This private macro should not be called outside this file.)
12381173 AC_DEFUN([AM_AUTOMAKE_VERSION],
1239 [am__api_version='1.15'
1174 [am__api_version='1.16'
12401175 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
12411176 dnl require some minimum version. Point them to the right macro.
1242 m4_if([$1], [1.15.1], [],
1177 m4_if([$1], [1.16.1], [],
12431178 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
12441179 ])
12451180
12551190 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
12561191 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
12571192 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1258 [AM_AUTOMAKE_VERSION([1.15.1])dnl
1193 [AM_AUTOMAKE_VERSION([1.16.1])dnl
12591194 m4_ifndef([AC_AUTOCONF_VERSION],
12601195 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
12611196 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
12621197
12631198 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
12641199
1265 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1200 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
12661201 #
12671202 # This file is free software; the Free Software Foundation
12681203 # gives unlimited permission to copy and/or distribute it,
13141249
13151250 # AM_CONDITIONAL -*- Autoconf -*-
13161251
1317 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
1252 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
13181253 #
13191254 # This file is free software; the Free Software Foundation
13201255 # gives unlimited permission to copy and/or distribute it,
13451280 Usually this means the macro was only invoked conditionally.]])
13461281 fi])])
13471282
1348 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
1283 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
13491284 #
13501285 # This file is free software; the Free Software Foundation
13511286 # gives unlimited permission to copy and/or distribute it,
15361471
15371472 # Generate code to set up dependency tracking. -*- Autoconf -*-
15381473
1539 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
1474 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
15401475 #
15411476 # This file is free software; the Free Software Foundation
15421477 # gives unlimited permission to copy and/or distribute it,
15431478 # with or without modifications, as long as this notice is preserved.
1544
15451479
15461480 # _AM_OUTPUT_DEPENDENCY_COMMANDS
15471481 # ------------------------------
15501484 # Older Autoconf quotes --file arguments for eval, but not when files
15511485 # are listed without --file. Let's play safe and only enable the eval
15521486 # if we detect the quoting.
1553 case $CONFIG_FILES in
1554 *\'*) eval set x "$CONFIG_FILES" ;;
1555 *) set x $CONFIG_FILES ;;
1556 esac
1487 # TODO: see whether this extra hack can be removed once we start
1488 # requiring Autoconf 2.70 or later.
1489 AS_CASE([$CONFIG_FILES],
1490 [*\'*], [eval set x "$CONFIG_FILES"],
1491 [*], [set x $CONFIG_FILES])
15571492 shift
1558 for mf
1493 # Used to flag and report bootstrapping failures.
1494 am_rc=0
1495 for am_mf
15591496 do
15601497 # Strip MF so we end up with the name of the file.
1561 mf=`echo "$mf" | sed -e 's/:.*$//'`
1562 # Check whether this is an Automake generated Makefile or not.
1563 # We used to match only the files named 'Makefile.in', but
1564 # some people rename them; so instead we look at the file content.
1565 # Grep'ing the first line is not enough: some people post-process
1566 # each Makefile.in and add a new line on top of each file to say so.
1567 # Grep'ing the whole file is not good either: AIX grep has a line
1498 am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
1499 # Check whether this is an Automake generated Makefile which includes
1500 # dependency-tracking related rules and includes.
1501 # Grep'ing the whole file directly is not great: AIX grep has a line
15681502 # limit of 2048, but all sed's we know have understand at least 4000.
1569 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1570 dirpart=`AS_DIRNAME("$mf")`
1571 else
1572 continue
1573 fi
1574 # Extract the definition of DEPDIR, am__include, and am__quote
1575 # from the Makefile without running 'make'.
1576 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1577 test -z "$DEPDIR" && continue
1578 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1579 test -z "$am__include" && continue
1580 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1581 # Find all dependency output files, they are included files with
1582 # $(DEPDIR) in their names. We invoke sed twice because it is the
1583 # simplest approach to changing $(DEPDIR) to its actual value in the
1584 # expansion.
1585 for file in `sed -n "
1586 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1587 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1588 # Make sure the directory exists.
1589 test -f "$dirpart/$file" && continue
1590 fdir=`AS_DIRNAME(["$file"])`
1591 AS_MKDIR_P([$dirpart/$fdir])
1592 # echo "creating $dirpart/$file"
1593 echo '# dummy' > "$dirpart/$file"
1594 done
1503 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
1504 || continue
1505 am_dirpart=`AS_DIRNAME(["$am_mf"])`
1506 am_filepart=`AS_BASENAME(["$am_mf"])`
1507 AM_RUN_LOG([cd "$am_dirpart" \
1508 && sed -e '/# am--include-marker/d' "$am_filepart" \
1509 | $MAKE -f - am--depfiles]) || am_rc=$?
15951510 done
1511 if test $am_rc -ne 0; then
1512 AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
1513 for automatic dependency tracking. Try re-running configure with the
1514 '--disable-dependency-tracking' option to at least be able to build
1515 the package (albeit without support for automatic dependency tracking).])
1516 fi
1517 AS_UNSET([am_dirpart])
1518 AS_UNSET([am_filepart])
1519 AS_UNSET([am_mf])
1520 AS_UNSET([am_rc])
1521 rm -f conftest-deps.mk
15961522 }
15971523 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
15981524
16011527 # -----------------------------
16021528 # This macro should only be invoked once -- use via AC_REQUIRE.
16031529 #
1604 # This code is only required when automatic dependency tracking
1605 # is enabled. FIXME. This creates each '.P' file that we will
1606 # need in order to bootstrap the dependency handling code.
1530 # This code is only required when automatic dependency tracking is enabled.
1531 # This creates each '.Po' and '.Plo' makefile fragment that we'll need in
1532 # order to bootstrap the dependency handling code.
16071533 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
16081534 [AC_CONFIG_COMMANDS([depfiles],
16091535 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
1610 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
1611 ])
1536 [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
16121537
16131538 # Do all the work for Automake. -*- Autoconf -*-
16141539
1615 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
1540 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
16161541 #
16171542 # This file is free software; the Free Software Foundation
16181543 # gives unlimited permission to copy and/or distribute it,
16991624 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
17001625 # For better backward compatibility. To be removed once Automake 1.9.x
17011626 # dies out for good. For more background, see:
1702 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1703 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
1627 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
1628 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
17041629 AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
17051630 # We need awk for the "check" target (and possibly the TAP driver). The
17061631 # system "awk" is bad on some platforms.
17671692 Aborting the configuration process, to ensure you take notice of the issue.
17681693
17691694 You can download and install GNU coreutils to get an 'rm' implementation
1770 that behaves properly: <http://www.gnu.org/software/coreutils/>.
1695 that behaves properly: <https://www.gnu.org/software/coreutils/>.
17711696
17721697 If you want to complete the configuration process using your problematic
17731698 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
18091734 done
18101735 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
18111736
1812 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1737 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
18131738 #
18141739 # This file is free software; the Free Software Foundation
18151740 # gives unlimited permission to copy and/or distribute it,
18301755 fi
18311756 AC_SUBST([install_sh])])
18321757
1833 # Copyright (C) 2003-2017 Free Software Foundation, Inc.
1758 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
18341759 #
18351760 # This file is free software; the Free Software Foundation
18361761 # gives unlimited permission to copy and/or distribute it,
18511776
18521777 # Check to see how 'make' treats includes. -*- Autoconf -*-
18531778
1854 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1779 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
18551780 #
18561781 # This file is free software; the Free Software Foundation
18571782 # gives unlimited permission to copy and/or distribute it,
18591784
18601785 # AM_MAKE_INCLUDE()
18611786 # -----------------
1862 # Check to see how make treats includes.
1787 # Check whether make has an 'include' directive that can support all
1788 # the idioms we need for our automatic dependency tracking code.
18631789 AC_DEFUN([AM_MAKE_INCLUDE],
1864 [am_make=${MAKE-make}
1865 cat > confinc << 'END'
1790 [AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
1791 cat > confinc.mk << 'END'
18661792 am__doit:
1867 @echo this is the am__doit target
1793 @echo this is the am__doit target >confinc.out
18681794 .PHONY: am__doit
18691795 END
1870 # If we don't find an include directive, just comment out the code.
1871 AC_MSG_CHECKING([for style of include used by $am_make])
18721796 am__include="#"
18731797 am__quote=
1874 _am_result=none
1875 # First try GNU make style include.
1876 echo "include confinc" > confmf
1877 # Ignore all kinds of additional output from 'make'.
1878 case `$am_make -s -f confmf 2> /dev/null` in #(
1879 *the\ am__doit\ target*)
1880 am__include=include
1881 am__quote=
1882 _am_result=GNU
1883 ;;
1884 esac
1885 # Now try BSD make style include.
1886 if test "$am__include" = "#"; then
1887 echo '.include "confinc"' > confmf
1888 case `$am_make -s -f confmf 2> /dev/null` in #(
1889 *the\ am__doit\ target*)
1890 am__include=.include
1891 am__quote="\""
1892 _am_result=BSD
1893 ;;
1894 esac
1895 fi
1896 AC_SUBST([am__include])
1897 AC_SUBST([am__quote])
1898 AC_MSG_RESULT([$_am_result])
1899 rm -f confinc confmf
1900 ])
1798 # BSD make does it like this.
1799 echo '.include "confinc.mk" # ignored' > confmf.BSD
1800 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
1801 echo 'include confinc.mk # ignored' > confmf.GNU
1802 _am_result=no
1803 for s in GNU BSD; do
1804 AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
1805 AS_CASE([$?:`cat confinc.out 2>/dev/null`],
1806 ['0:this is the am__doit target'],
1807 [AS_CASE([$s],
1808 [BSD], [am__include='.include' am__quote='"'],
1809 [am__include='include' am__quote=''])])
1810 if test "$am__include" != "#"; then
1811 _am_result="yes ($s style)"
1812 break
1813 fi
1814 done
1815 rm -f confinc.* confmf.*
1816 AC_MSG_RESULT([${_am_result}])
1817 AC_SUBST([am__include])])
1818 AC_SUBST([am__quote])])
19011819
19021820 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
19031821
1904 # Copyright (C) 1997-2017 Free Software Foundation, Inc.
1822 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
19051823 #
19061824 # This file is free software; the Free Software Foundation
19071825 # gives unlimited permission to copy and/or distribute it,
19401858
19411859 # Helper functions for option handling. -*- Autoconf -*-
19421860
1943 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
1861 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
19441862 #
19451863 # This file is free software; the Free Software Foundation
19461864 # gives unlimited permission to copy and/or distribute it,
19691887 AC_DEFUN([_AM_IF_OPTION],
19701888 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
19711889
1972 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
1890 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
19731891 #
19741892 # This file is free software; the Free Software Foundation
19751893 # gives unlimited permission to copy and/or distribute it,
20161934 # For backward compatibility.
20171935 AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
20181936
2019 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
1937 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
20201938 #
20211939 # This file is free software; the Free Software Foundation
20221940 # gives unlimited permission to copy and/or distribute it,
20491967 [
20501968 dnl Find a Python interpreter. Python versions prior to 2.0 are not
20511969 dnl supported. (2.0 was released on October 16, 2000).
2052 dnl FIXME: Remove the need to hard-code Python versions here.
20531970 m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
2054 [python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 dnl
2055 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
1971 [python python2 python3 dnl
1972 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 dnl
1973 python3.2 python3.1 python3.0 dnl
1974 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 dnl
1975 python2.0])
20561976
20571977 AC_ARG_VAR([PYTHON], [the Python interpreter])
20581978
22522172 sys.exit(sys.hexversion < minverhex)"
22532173 AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
22542174
2255 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
2175 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
22562176 #
22572177 # This file is free software; the Free Software Foundation
22582178 # gives unlimited permission to copy and/or distribute it,
22712191
22722192 # Check to make sure that the build environment is sane. -*- Autoconf -*-
22732193
2274 # Copyright (C) 1996-2017 Free Software Foundation, Inc.
2194 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
22752195 #
22762196 # This file is free software; the Free Software Foundation
22772197 # gives unlimited permission to copy and/or distribute it,
23522272 rm -f conftest.file
23532273 ])
23542274
2355 # Copyright (C) 2009-2017 Free Software Foundation, Inc.
2275 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
23562276 #
23572277 # This file is free software; the Free Software Foundation
23582278 # gives unlimited permission to copy and/or distribute it,
24122332 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
24132333 ])
24142334
2415 # Copyright (C) 2001-2017 Free Software Foundation, Inc.
2335 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
24162336 #
24172337 # This file is free software; the Free Software Foundation
24182338 # gives unlimited permission to copy and/or distribute it,
24402360 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
24412361 AC_SUBST([INSTALL_STRIP_PROGRAM])])
24422362
2443 # Copyright (C) 2006-2017 Free Software Foundation, Inc.
2363 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
24442364 #
24452365 # This file is free software; the Free Software Foundation
24462366 # gives unlimited permission to copy and/or distribute it,
24592379
24602380 # Check how to create a tarball. -*- Autoconf -*-
24612381
2462 # Copyright (C) 2004-2017 Free Software Foundation, Inc.
2382 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
24632383 #
24642384 # This file is free software; the Free Software Foundation
24652385 # gives unlimited permission to copy and/or distribute it,
00 #! /bin/sh
11 # Wrapper for compilers which do not understand '-c -o'.
22
3 scriptversion=2012-10-14.11; # UTC
4
5 # Copyright (C) 1999-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66 # Written by Tom Tromey <tromey@cygnus.com>.
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
254254 echo "compile $scriptversion"
255255 exit $?
256256 ;;
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
257 cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
258 icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
258259 func_cl_wrapper "$@" # Doesn't return...
259260 ;;
260261 esac
338339 # Local Variables:
339340 # mode: shell-script
340341 # sh-indentation: 2
341 # eval: (add-hook 'write-file-hooks 'time-stamp)
342 # eval: (add-hook 'before-save-hook 'time-stamp)
342343 # time-stamp-start: "scriptversion="
343344 # time-stamp-format: "%:y-%02m-%02d.%02H"
344 # time-stamp-time-zone: "UTC"
345 # time-stamp-time-zone: "UTC0"
345346 # time-stamp-end: "; # UTC"
346347 # End:
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for librelp 1.9.0.
2 # Generated by GNU Autoconf 2.69 for librelp 1.10.0.
33 #
44 # Report bugs to <rgerhards@adiscon.com>.
55 #
589589 # Identity of this package.
590590 PACKAGE_NAME='librelp'
591591 PACKAGE_TARNAME='librelp'
592 PACKAGE_VERSION='1.9.0'
593 PACKAGE_STRING='librelp 1.9.0'
592 PACKAGE_VERSION='1.10.0'
593 PACKAGE_STRING='librelp 1.10.0'
594594 PACKAGE_BUGREPORT='rgerhards@adiscon.com'
595595 PACKAGE_URL=''
596596
693693 AMDEPBACKSLASH
694694 AMDEP_FALSE
695695 AMDEP_TRUE
696 am__quote
697696 am__include
698697 DEPDIR
699698 OBJEXT
788787 PACKAGE_TARNAME
789788 PACKAGE_NAME
790789 PATH_SEPARATOR
791 SHELL'
790 SHELL
791 am__quote'
792792 ac_subst_files=''
793793 ac_user_opts='
794794 enable_option_checking
13771377 # Omit some internal or obsolete options to make the list less imposing.
13781378 # This message is too long to be a string in the A/UX 3.1 sh.
13791379 cat <<_ACEOF
1380 \`configure' configures librelp 1.9.0 to adapt to many kinds of systems.
1380 \`configure' configures librelp 1.10.0 to adapt to many kinds of systems.
13811381
13821382 Usage: $0 [OPTION]... [VAR=VALUE]...
13831383
14481448
14491449 if test -n "$ac_init_help"; then
14501450 case $ac_init_help in
1451 short | recursive ) echo "Configuration of librelp 1.9.0:";;
1451 short | recursive ) echo "Configuration of librelp 1.10.0:";;
14521452 esac
14531453 cat <<\_ACEOF
14541454
15781578 test -n "$ac_init_help" && exit $ac_status
15791579 if $ac_init_version; then
15801580 cat <<\_ACEOF
1581 librelp configure 1.9.0
1581 librelp configure 1.10.0
15821582 generated by GNU Autoconf 2.69
15831583
15841584 Copyright (C) 2012 Free Software Foundation, Inc.
21042104 This file contains any messages produced by compilers while
21052105 running configure, to aid debugging if configure makes a mistake.
21062106
2107 It was created by librelp $as_me 1.9.0, which was
2107 It was created by librelp $as_me 1.10.0, which was
21082108 generated by GNU Autoconf 2.69. Invocation command line was
21092109
21102110 $ $0 $@
24552455
24562456 # change to the one below if Travis has a timeout
24572457 #AM_INIT_AUTOMAKE([subdir-objects serial-tests])
2458 am__api_version='1.15'
2458 am__api_version='1.16'
24592459
24602460 ac_aux_dir=
24612461 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
29702970
29712971 # Define the identity of the package.
29722972 PACKAGE='librelp'
2973 VERSION='1.9.0'
2973 VERSION='1.10.0'
29742974
29752975
29762976 cat >>confdefs.h <<_ACEOF
30003000
30013001 # For better backward compatibility. To be removed once Automake 1.9.x
30023002 # dies out for good. For more background, see:
3003 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3004 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3003 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3004 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
30053005 mkdir_p='$(MKDIR_P)'
30063006
30073007 # We need awk for the "check" target (and possibly the TAP driver). The
30523052 Aborting the configuration process, to ensure you take notice of the issue.
30533053
30543054 You can download and install GNU coreutils to get an 'rm' implementation
3055 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3055 that behaves properly: <https://www.gnu.org/software/coreutils/>.
30563056
30573057 If you want to complete the configuration process using your problematic
30583058 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
32113211
32123212 # Find any Python interpreter.
32133213 if test -z "$PYTHON"; then
3214 for ac_prog in python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
3214 for ac_prog in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
32153215 do
32163216 # Extract the first word of "$ac_prog", so it can be a program name with args.
32173217 set dummy $ac_prog; ac_word=$2
42634263
42644264 ac_config_commands="$ac_config_commands depfiles"
42654265
4266
4267 am_make=${MAKE-make}
4268 cat > confinc << 'END'
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4267 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4268 cat > confinc.mk << 'END'
42694269 am__doit:
4270 @echo this is the am__doit target
4270 @echo this is the am__doit target >confinc.out
42714271 .PHONY: am__doit
42724272 END
4273 # If we don't find an include directive, just comment out the code.
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4275 $as_echo_n "checking for style of include used by $am_make... " >&6; }
42764273 am__include="#"
42774274 am__quote=
4278 _am_result=none
4279 # First try GNU make style include.
4280 echo "include confinc" > confmf
4281 # Ignore all kinds of additional output from 'make'.
4282 case `$am_make -s -f confmf 2> /dev/null` in #(
4283 *the\ am__doit\ target*)
4284 am__include=include
4285 am__quote=
4286 _am_result=GNU
4287 ;;
4275 # BSD make does it like this.
4276 echo '.include "confinc.mk" # ignored' > confmf.BSD
4277 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4278 echo 'include confinc.mk # ignored' > confmf.GNU
4279 _am_result=no
4280 for s in GNU BSD; do
4281 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4282 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4283 ac_status=$?
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); }
4286 case $?:`cat confinc.out 2>/dev/null` in #(
4287 '0:this is the am__doit target') :
4288 case $s in #(
4289 BSD) :
4290 am__include='.include' am__quote='"' ;; #(
4291 *) :
4292 am__include='include' am__quote='' ;;
4293 esac ;; #(
4294 *) :
4295 ;;
42884296 esac
4289 # Now try BSD make style include.
4290 if test "$am__include" = "#"; then
4291 echo '.include "confinc"' > confmf
4292 case `$am_make -s -f confmf 2> /dev/null` in #(
4293 *the\ am__doit\ target*)
4294 am__include=.include
4295 am__quote="\""
4296 _am_result=BSD
4297 ;;
4298 esac
4299 fi
4300
4301
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4303 $as_echo "$_am_result" >&6; }
4304 rm -f confinc confmf
4297 if test "$am__include" != "#"; then
4298 _am_result="yes ($s style)"
4299 break
4300 fi
4301 done
4302 rm -f confinc.* confmf.*
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4304 $as_echo "${_am_result}" >&6; }
43054305
43064306 # Check whether --enable-dependency-tracking was given.
43074307 if test "${enable_dependency_tracking+set}" = set; then :
63056305 fi
63066306
63076307 : ${AR=ar}
6308 : ${AR_FLAGS=cru}
6308 : ${AR_FLAGS=cr}
63096309
63106310
63116311
68066806 test $ac_status = 0; }; then
68076807 # Now try to grab the symbols.
68086808 nlist=conftest.nm
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6810 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6811 ac_status=$?
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; } && test -s "$nlist"; then
6809 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6810 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
68146811 # Try sorting and uniquifying the output.
68156812 if sort "$nlist" | uniq > "$nlist"T; then
68166813 mv -f "$nlist"T "$nlist"
80298026 _LT_EOF
80308027 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
80318028 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8032 echo "$AR cru libconftest.a conftest.o" >&5
8033 $AR cru libconftest.a conftest.o 2>&5
8029 echo "$AR cr libconftest.a conftest.o" >&5
8030 $AR cr libconftest.a conftest.o 2>&5
80348031 echo "$RANLIB libconftest.a" >&5
80358032 $RANLIB libconftest.a 2>&5
80368033 cat > conftest.c << _LT_EOF
91579154 ecc*)
91589155 lt_prog_compiler_wl='-Wl,'
91599156 lt_prog_compiler_pic='-KPIC'
9157 lt_prog_compiler_static='-static'
9158 ;;
9159 # flang / f18. f95 an alias for gfortran or flang on Debian
9160 flang* | f18* | f95*)
9161 lt_prog_compiler_wl='-Wl,'
9162 lt_prog_compiler_pic='-fPIC'
91609163 lt_prog_compiler_static='-static'
91619164 ;;
91629165 # icc used to be incompatible with GCC.
1291912922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1292012923
1292112924
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927
12928 #ifndef __cplusplus
12929 #error "no C++"
12930 #endif
12931 int
12932 main ()
12933 {
12934
12935 ;
12936 return 0;
12937 }
12938 _ACEOF
12939 if ac_fn_c_try_compile "$LINENO"; then :
12940 ax_compiler_cxx=yes;
12941 else
12942 ax_compiler_cxx=no;
12943 fi
12944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12945
1292212946 # Always pass -Werror=unknown-warning-option to get Clang to fail on bad
1292312947 # flags, otherwise they are always appended to the warn_cflags variable, and
1292412948 # Clang warns on them for every compilation unit.
1308413108
1308513109 if test "$ax_enable_compile_warnings" != "no"; then :
1308613110
13111 if test "$ax_compiler_cxx" = "no" ; then
13112 # C-only flags. Warn in C++
13113
13114
13115
13116
13117 for flag in -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init ; do
13118 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13120 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
13121 if eval \${$as_CACHEVAR+:} false; then :
13122 $as_echo_n "(cached) " >&6
13123 else
13124
13125 ax_check_save_flags=$CFLAGS
13126 CFLAGS="$CFLAGS $ax_compiler_flags_test $flag"
13127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13128 /* end confdefs.h. */
13129
13130 int
13131 main ()
13132 {
13133
13134 ;
13135 return 0;
13136 }
13137 _ACEOF
13138 if ac_fn_c_try_compile "$LINENO"; then :
13139 eval "$as_CACHEVAR=yes"
13140 else
13141 eval "$as_CACHEVAR=no"
13142 fi
13143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13144 CFLAGS=$ax_check_save_flags
13145 fi
13146 eval ac_res=\$$as_CACHEVAR
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13148 $as_echo "$ac_res" >&6; }
13149 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13150
13151 if ${WARN_CFLAGS+:} false; then :
13152
13153 case " $WARN_CFLAGS " in #(
13154 *" $flag "*) :
13155 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS already contains \$flag"; } >&5
13156 (: WARN_CFLAGS already contains $flag) 2>&5
13157 ac_status=$?
13158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13159 test $ac_status = 0; } ;; #(
13160 *) :
13161
13162 as_fn_append WARN_CFLAGS " $flag"
13163 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13164 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
13165 ac_status=$?
13166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13167 test $ac_status = 0; }
13168 ;;
13169 esac
13170
13171 else
13172
13173 WARN_CFLAGS=$flag
13174 { { $as_echo "$as_me:${as_lineno-$LINENO}: : WARN_CFLAGS=\"\$WARN_CFLAGS\""; } >&5
13175 (: WARN_CFLAGS="$WARN_CFLAGS") 2>&5
13176 ac_status=$?
13177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13178 test $ac_status = 0; }
13179
13180 fi
13181
13182 else
13183 :
13184 fi
13185
13186 done
13187
13188 fi
13189
1308713190 # "yes" flags
1308813191
1308913192
1309013193
1309113194
13092 for flag in -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -pedantic -Wunused-parameter -Wmissing-field-initializers ; do
13195 for flag in -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers ; do
1309313196 as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
1309413197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
1309513198 $as_echo_n "checking whether C compiler accepts $flag... " >&6; }
1344013543 fi
1344113544
1344213545
13443 # macOS linker does not have --as-needed
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--as-needed" >&5
13547 $as_echo_n "checking whether the linker accepts -Wl,--as-needed... " >&6; }
13548 if ${ax_cv_check_ldflags___Wl___as_needed+:} false; then :
13549 $as_echo_n "(cached) " >&6
13550 else
13551
13552 ax_check_save_flags=$LDFLAGS
13553 LDFLAGS="$LDFLAGS -Wl,--as-needed"
13554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13555 /* end confdefs.h. */
13556
13557 int
13558 main ()
13559 {
13560
13561 ;
13562 return 0;
13563 }
13564 _ACEOF
13565 if ac_fn_c_try_link "$LINENO"; then :
13566 ax_cv_check_ldflags___Wl___as_needed=yes
13567 else
13568 ax_cv_check_ldflags___Wl___as_needed=no
13569 fi
13570 rm -f core conftest.err conftest.$ac_objext \
13571 conftest$ac_exeext conftest.$ac_ext
13572 LDFLAGS=$ax_check_save_flags
13573 fi
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl___as_needed" >&5
13575 $as_echo "$ax_cv_check_ldflags___Wl___as_needed" >&6; }
13576 if test "x$ax_cv_check_ldflags___Wl___as_needed" = xyes; then :
13577
13578
13579
13580
13581
13582 for flag in -Wl,--as-needed; do
13583 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13585 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13586 if eval \${$as_CACHEVAR+:} false; then :
13587 $as_echo_n "(cached) " >&6
13588 else
13589
13590 ax_check_save_flags=$LDFLAGS
13591 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
13592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13593 /* end confdefs.h. */
13594
13595 int
13596 main ()
13597 {
13598
13599 ;
13600 return 0;
13601 }
13602 _ACEOF
13603 if ac_fn_c_try_link "$LINENO"; then :
13604 eval "$as_CACHEVAR=yes"
13605 else
13606 eval "$as_CACHEVAR=no"
13607 fi
13608 rm -f core conftest.err conftest.$ac_objext \
13609 conftest$ac_exeext conftest.$ac_ext
13610 LDFLAGS=$ax_check_save_flags
13611 fi
13612 eval ac_res=\$$as_CACHEVAR
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13614 $as_echo "$ac_res" >&6; }
13615 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13616
13617 if ${AM_LDFLAGS+:} false; then :
13618
13619 case " $AM_LDFLAGS " in #(
13620 *" $flag "*) :
13621 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
13622 (: AM_LDFLAGS already contains $flag) 2>&5
13623 ac_status=$?
13624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13625 test $ac_status = 0; } ;; #(
13626 *) :
13627
13628 as_fn_append AM_LDFLAGS " $flag"
13629 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13630 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13631 ac_status=$?
13632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13633 test $ac_status = 0; }
13634 ;;
13635 esac
13636
13637 else
13638
13639 AM_LDFLAGS=$flag
13640 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13641 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13642 ac_status=$?
13643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13644 test $ac_status = 0; }
13645
13646 fi
13647
13648 else
13649 :
13650 fi
13651
13652 done
13653
13654
13655 else
13656 :
13657 fi
13658
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
13660 $as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
13661 if ${ax_cv_check_ldflags___Wl__z_relro+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664
13665 ax_check_save_flags=$LDFLAGS
13666 LDFLAGS="$LDFLAGS -Wl,-z,relro"
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13669
13670 int
13671 main ()
13672 {
13673
13674 ;
13675 return 0;
13676 }
13677 _ACEOF
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 ax_cv_check_ldflags___Wl__z_relro=yes
13680 else
13681 ax_cv_check_ldflags___Wl__z_relro=no
13682 fi
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 LDFLAGS=$ax_check_save_flags
13686 fi
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_relro" >&5
13688 $as_echo "$ax_cv_check_ldflags___Wl__z_relro" >&6; }
13689 if test "x$ax_cv_check_ldflags___Wl__z_relro" = xyes; then :
13690
13691
13692
13693
13694
13695 for flag in -Wl,-z,relro; do
13696 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13698 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13699 if eval \${$as_CACHEVAR+:} false; then :
13700 $as_echo_n "(cached) " >&6
13701 else
13702
13703 ax_check_save_flags=$LDFLAGS
13704 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707
13708 int
13709 main ()
13710 {
13711
13712 ;
13713 return 0;
13714 }
13715 _ACEOF
13716 if ac_fn_c_try_link "$LINENO"; then :
13717 eval "$as_CACHEVAR=yes"
13718 else
13719 eval "$as_CACHEVAR=no"
13720 fi
13721 rm -f core conftest.err conftest.$ac_objext \
13722 conftest$ac_exeext conftest.$ac_ext
13723 LDFLAGS=$ax_check_save_flags
13724 fi
13725 eval ac_res=\$$as_CACHEVAR
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13727 $as_echo "$ac_res" >&6; }
13728 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13729
13730 if ${AM_LDFLAGS+:} false; then :
13731
13732 case " $AM_LDFLAGS " in #(
13733 *" $flag "*) :
13734 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
13735 (: AM_LDFLAGS already contains $flag) 2>&5
13736 ac_status=$?
13737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13738 test $ac_status = 0; } ;; #(
13739 *) :
13740
13741 as_fn_append AM_LDFLAGS " $flag"
13742 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13743 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13744 ac_status=$?
13745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13746 test $ac_status = 0; }
13747 ;;
13748 esac
13749
13750 else
13751
13752 AM_LDFLAGS=$flag
13753 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13754 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13755 ac_status=$?
13756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13757 test $ac_status = 0; }
13758
13759 fi
13760
13761 else
13762 :
13763 fi
13764
13765 done
13766
13767
13768 else
13769 :
13770 fi
13771
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,now" >&5
13773 $as_echo_n "checking whether the linker accepts -Wl,-z,now... " >&6; }
13774 if ${ax_cv_check_ldflags___Wl__z_now+:} false; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777
13778 ax_check_save_flags=$LDFLAGS
13779 LDFLAGS="$LDFLAGS -Wl,-z,now"
13780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13782
13783 int
13784 main ()
13785 {
13786
13787 ;
13788 return 0;
13789 }
13790 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"; then :
13792 ax_cv_check_ldflags___Wl__z_now=yes
13793 else
13794 ax_cv_check_ldflags___Wl__z_now=no
13795 fi
13796 rm -f core conftest.err conftest.$ac_objext \
13797 conftest$ac_exeext conftest.$ac_ext
13798 LDFLAGS=$ax_check_save_flags
13799 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_now" >&5
13801 $as_echo "$ax_cv_check_ldflags___Wl__z_now" >&6; }
13802 if test "x$ax_cv_check_ldflags___Wl__z_now" = xyes; then :
13803
13804
13805
13806
13807
13808 for flag in -Wl,-z,now; do
13809 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13811 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13812 if eval \${$as_CACHEVAR+:} false; then :
13813 $as_echo_n "(cached) " >&6
13814 else
13815
13816 ax_check_save_flags=$LDFLAGS
13817 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
13818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13819 /* end confdefs.h. */
13820
13821 int
13822 main ()
13823 {
13824
13825 ;
13826 return 0;
13827 }
13828 _ACEOF
13829 if ac_fn_c_try_link "$LINENO"; then :
13830 eval "$as_CACHEVAR=yes"
13831 else
13832 eval "$as_CACHEVAR=no"
13833 fi
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LDFLAGS=$ax_check_save_flags
13837 fi
13838 eval ac_res=\$$as_CACHEVAR
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13840 $as_echo "$ac_res" >&6; }
13841 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13842
13843 if ${AM_LDFLAGS+:} false; then :
13844
13845 case " $AM_LDFLAGS " in #(
13846 *" $flag "*) :
13847 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
13848 (: AM_LDFLAGS already contains $flag) 2>&5
13849 ac_status=$?
13850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13851 test $ac_status = 0; } ;; #(
13852 *) :
13853
13854 as_fn_append AM_LDFLAGS " $flag"
13855 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13856 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13857 ac_status=$?
13858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13859 test $ac_status = 0; }
13860 ;;
13861 esac
13862
13863 else
13864
13865 AM_LDFLAGS=$flag
13866 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13867 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13868 ac_status=$?
13869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870 test $ac_status = 0; }
13871
13872 fi
13873
13874 else
13875 :
13876 fi
13877
13878 done
13879
13880
13881 else
13882 :
13883 fi
13884
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,noexecstack" >&5
13886 $as_echo_n "checking whether the linker accepts -Wl,-z,noexecstack... " >&6; }
13887 if ${ax_cv_check_ldflags___Wl__z_noexecstack+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890
13891 ax_check_save_flags=$LDFLAGS
13892 LDFLAGS="$LDFLAGS -Wl,-z,noexecstack"
13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13894 /* end confdefs.h. */
13895
13896 int
13897 main ()
13898 {
13899
13900 ;
13901 return 0;
13902 }
13903 _ACEOF
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ax_cv_check_ldflags___Wl__z_noexecstack=yes
13906 else
13907 ax_cv_check_ldflags___Wl__z_noexecstack=no
13908 fi
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LDFLAGS=$ax_check_save_flags
13912 fi
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_ldflags___Wl__z_noexecstack" >&5
13914 $as_echo "$ax_cv_check_ldflags___Wl__z_noexecstack" >&6; }
13915 if test "x$ax_cv_check_ldflags___Wl__z_noexecstack" = xyes; then :
13916
13917
13918
13919
13920
13921 for flag in -Wl,-z,noexecstack; do
13922 as_CACHEVAR=`$as_echo "ax_cv_check_ldflags_$ax_compiler_flags_test_$flag" | $as_tr_sh`
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts $flag" >&5
13924 $as_echo_n "checking whether the linker accepts $flag... " >&6; }
13925 if eval \${$as_CACHEVAR+:} false; then :
13926 $as_echo_n "(cached) " >&6
13927 else
13928
13929 ax_check_save_flags=$LDFLAGS
13930 LDFLAGS="$LDFLAGS $ax_compiler_flags_test $flag"
13931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13932 /* end confdefs.h. */
13933
13934 int
13935 main ()
13936 {
13937
13938 ;
13939 return 0;
13940 }
13941 _ACEOF
13942 if ac_fn_c_try_link "$LINENO"; then :
13943 eval "$as_CACHEVAR=yes"
13944 else
13945 eval "$as_CACHEVAR=no"
13946 fi
13947 rm -f core conftest.err conftest.$ac_objext \
13948 conftest$ac_exeext conftest.$ac_ext
13949 LDFLAGS=$ax_check_save_flags
13950 fi
13951 eval ac_res=\$$as_CACHEVAR
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13953 $as_echo "$ac_res" >&6; }
13954 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
13955
13956 if ${AM_LDFLAGS+:} false; then :
13957
13958 case " $AM_LDFLAGS " in #(
13959 *" $flag "*) :
13960 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS already contains \$flag"; } >&5
13961 (: AM_LDFLAGS already contains $flag) 2>&5
13962 ac_status=$?
13963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13964 test $ac_status = 0; } ;; #(
13965 *) :
13966
13967 as_fn_append AM_LDFLAGS " $flag"
13968 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13969 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13970 ac_status=$?
13971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13972 test $ac_status = 0; }
13973 ;;
13974 esac
13975
13976 else
13977
13978 AM_LDFLAGS=$flag
13979 { { $as_echo "$as_me:${as_lineno-$LINENO}: : AM_LDFLAGS=\"\$AM_LDFLAGS\""; } >&5
13980 (: AM_LDFLAGS="$AM_LDFLAGS") 2>&5
13981 ac_status=$?
13982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13983 test $ac_status = 0; }
13984
13985 fi
13986
13987 else
13988 :
13989 fi
13990
13991 done
13992
13993
13994 else
13995 :
13996 fi
13997
13998 # textonly, retpolineplt not yet
13999
14000 # macOS and cygwin linker do not have --as-needed
1344414001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5
1344514002 $as_echo_n "checking whether the linker accepts -Wl,--no-as-needed... " >&6; }
1344614003 if ${ax_cv_check_ldflags___Wl___no_as_needed+:} false; then :
1553916096 # report actual input values of CONFIG_FILES etc. instead of their
1554016097 # values after options handling.
1554116098 ac_log="
15542 This file was extended by librelp $as_me 1.9.0, which was
16099 This file was extended by librelp $as_me 1.10.0, which was
1554316100 generated by GNU Autoconf 2.69. Invocation command line was
1554416101
1554516102 CONFIG_FILES = $CONFIG_FILES
1560516162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1560616163 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1560716164 ac_cs_version="\\
15608 librelp config.status 1.9.0
16165 librelp config.status 1.10.0
1560916166 configured by $0, generated by GNU Autoconf 2.69,
1561016167 with options \\"\$ac_cs_config\\"
1561116168
1572416281 #
1572516282 # INIT-COMMANDS
1572616283 #
15727 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16284 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
1572816285
1572916286
1573016287 # The HP-UX ksh and POSIX shell print the target directory to stdout
1662517182 # Older Autoconf quotes --file arguments for eval, but not when files
1662617183 # are listed without --file. Let's play safe and only enable the eval
1662717184 # if we detect the quoting.
16628 case $CONFIG_FILES in
16629 *\'*) eval set x "$CONFIG_FILES" ;;
16630 *) set x $CONFIG_FILES ;;
16631 esac
17185 # TODO: see whether this extra hack can be removed once we start
17186 # requiring Autoconf 2.70 or later.
17187 case $CONFIG_FILES in #(
17188 *\'*) :
17189 eval set x "$CONFIG_FILES" ;; #(
17190 *) :
17191 set x $CONFIG_FILES ;; #(
17192 *) :
17193 ;;
17194 esac
1663217195 shift
16633 for mf
17196 # Used to flag and report bootstrapping failures.
17197 am_rc=0
17198 for am_mf
1663417199 do
1663517200 # Strip MF so we end up with the name of the file.
16636 mf=`echo "$mf" | sed -e 's/:.*$//'`
16637 # Check whether this is an Automake generated Makefile or not.
16638 # We used to match only the files named 'Makefile.in', but
16639 # some people rename them; so instead we look at the file content.
16640 # Grep'ing the first line is not enough: some people post-process
16641 # each Makefile.in and add a new line on top of each file to say so.
16642 # Grep'ing the whole file is not good either: AIX grep has a line
17201 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
17202 # Check whether this is an Automake generated Makefile which includes
17203 # dependency-tracking related rules and includes.
17204 # Grep'ing the whole file directly is not great: AIX grep has a line
1664317205 # limit of 2048, but all sed's we know have understand at least 4000.
16644 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16645 dirpart=`$as_dirname -- "$mf" ||
16646 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16647 X"$mf" : 'X\(//\)[^/]' \| \
16648 X"$mf" : 'X\(//\)$' \| \
16649 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16650 $as_echo X"$mf" |
17206 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
17207 || continue
17208 am_dirpart=`$as_dirname -- "$am_mf" ||
17209 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17210 X"$am_mf" : 'X\(//\)[^/]' \| \
17211 X"$am_mf" : 'X\(//\)$' \| \
17212 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17213 $as_echo X"$am_mf" |
1665117214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1665217215 s//\1/
1665317216 q
1666517228 q
1666617229 }
1666717230 s/.*/./; q'`
16668 else
16669 continue
16670 fi
16671 # Extract the definition of DEPDIR, am__include, and am__quote
16672 # from the Makefile without running 'make'.
16673 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16674 test -z "$DEPDIR" && continue
16675 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16676 test -z "$am__include" && continue
16677 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16678 # Find all dependency output files, they are included files with
16679 # $(DEPDIR) in their names. We invoke sed twice because it is the
16680 # simplest approach to changing $(DEPDIR) to its actual value in the
16681 # expansion.
16682 for file in `sed -n "
16683 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16684 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16685 # Make sure the directory exists.
16686 test -f "$dirpart/$file" && continue
16687 fdir=`$as_dirname -- "$file" ||
16688 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16689 X"$file" : 'X\(//\)[^/]' \| \
16690 X"$file" : 'X\(//\)$' \| \
16691 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16692 $as_echo X"$file" |
16693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17231 am_filepart=`$as_basename -- "$am_mf" ||
17232 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17233 X"$am_mf" : 'X\(//\)$' \| \
17234 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17235 $as_echo X/"$am_mf" |
17236 sed '/^.*\/\([^/][^/]*\)\/*$/{
1669417237 s//\1/
1669517238 q
1669617239 }
16697 /^X\(\/\/\)[^/].*/{
17240 /^X\/\(\/\/\)$/{
1669817241 s//\1/
1669917242 q
1670017243 }
16701 /^X\(\/\/\)$/{
16702 s//\1/
16703 q
16704 }
16705 /^X\(\/\).*/{
17244 /^X\/\(\/\).*/{
1670617245 s//\1/
1670717246 q
1670817247 }
1670917248 s/.*/./; q'`
16710 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16711 # echo "creating $dirpart/$file"
16712 echo '# dummy' > "$dirpart/$file"
16713 done
17249 { echo "$as_me:$LINENO: cd "$am_dirpart" \
17250 && sed -e '/# am--include-marker/d' "$am_filepart" \
17251 | $MAKE -f - am--depfiles" >&5
17252 (cd "$am_dirpart" \
17253 && sed -e '/# am--include-marker/d' "$am_filepart" \
17254 | $MAKE -f - am--depfiles) >&5 2>&5
17255 ac_status=$?
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } || am_rc=$?
1671417258 done
17259 if test $am_rc -ne 0; then
17260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17262 as_fn_error $? "Something went wrong bootstrapping makefile fragments
17263 for automatic dependency tracking. Try re-running configure with the
17264 '--disable-dependency-tracking' option to at least be able to build
17265 the package (albeit without support for automatic dependency tracking).
17266 See \`config.log' for more details" "$LINENO" 5; }
17267 fi
17268 { am_dirpart=; unset am_dirpart;}
17269 { am_filepart=; unset am_filepart;}
17270 { am_mf=; unset am_mf;}
17271 { am_rc=; unset am_rc;}
17272 rm -f conftest-deps.mk
1671517273 }
1671617274 ;;
1671717275 "libtool":C)
11 # Process this file with autoconf to produce a configure script.
22
33 AC_PREREQ(2.61)
4 AC_INIT([librelp], [1.9.0], [rgerhards@adiscon.com])
4 AC_INIT([librelp], [1.10.0], [rgerhards@adiscon.com])
55
66 # change to the one below if Travis has a timeout
77 #AM_INIT_AUTOMAKE([subdir-objects serial-tests])
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2016-01-11.22; # UTC
4
5 # Copyright (C) 1999-2017 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1999-2018 Free Software Foundation, Inc.
66
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
782782 # Local Variables:
783783 # mode: shell-script
784784 # sh-indentation: 2
785 # eval: (add-hook 'write-file-hooks 'time-stamp)
785 # eval: (add-hook 'before-save-hook 'time-stamp)
786786 # time-stamp-start: "scriptversion="
787787 # time-stamp-format: "%:y-%02m-%02d.%02H"
788788 # time-stamp-time-zone: "UTC0"
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
280280 *config.status*) \
281281 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
282282 *) \
283 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
284 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
283 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
284 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
285285 esac;
286286
287287 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
305305 cscope cscopelist:
306306
307307
308 distdir: $(DISTFILES)
308 distdir: $(BUILT_SOURCES)
309 $(MAKE) $(AM_MAKEFLAGS) distdir-am
310
311 distdir-am: $(DISTFILES)
309312 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
310313 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
311314 list='$(DISTFILES)'; \
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2014-09-12.12; # UTC
3 scriptversion=2018-03-11.20; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
270270 fi
271271 dst=$dst_arg
272272
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
273 # If destination is a directory, append the input filename.
275274 if test -d "$dst"; then
276275 if test "$is_target_a_directory" = never; then
277276 echo "$0: $dst_arg: Is a directory" >&2
278277 exit 1
279278 fi
280279 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
280 dstbase=`basename "$src"`
281 case $dst in
282 */) dst=$dst$dstbase;;
283 *) dst=$dst/$dstbase;;
284 esac
282285 dstdir_status=0
283286 else
284287 dstdir=`dirname "$dst"`
286289 dstdir_status=$?
287290 fi
288291 fi
292
293 case $dstdir in
294 */) dstdirslash=$dstdir;;
295 *) dstdirslash=$dstdir/;;
296 esac
289297
290298 obsolete_mkdir_used=false
291299
323331 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324332 ;;
325333 *)
326 # $RANDOM is not portable (e.g. dash); use it when possible to
327 # lower collision chance
334 # Note that $RANDOM variable is not portable (e.g. dash); Use it
335 # here however when possible just to lower collision chance.
328336 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
337
329338 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
330339
331 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so
332 # create the $tmpdir first (and fail if unsuccessful) to make sure
333 # that nobody tries to guess the $tmpdir name.
340 # Because "mkdir -p" follows existing symlinks and we likely work
341 # directly in world-writeable /tmp, make sure that the '$tmpdir'
342 # directory is successfully created first before we actually test
343 # 'mkdir -p' feature.
334344 if (umask $mkdir_umask &&
335345 $mkdirprog $mkdir_mode "$tmpdir" &&
336346 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
433443 else
434444
435445 # Make a couple of temp file names in the proper directory.
436 dsttmp=$dstdir/_inst.$$_
437 rmtmp=$dstdir/_rm.$$_
446 dsttmp=${dstdirslash}_inst.$$_
447 rmtmp=${dstdirslash}_rm.$$_
438448
439449 # Trap to clean up those temp files at exit.
440450 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
499509 done
500510
501511 # Local variables:
502 # eval: (add-hook 'write-file-hooks 'time-stamp)
512 # eval: (add-hook 'before-save-hook 'time-stamp)
503513 # time-stamp-start: "scriptversion="
504514 # time-stamp-format: "%:y-%02m-%02d.%02H"
505 # time-stamp-time-zone: "UTC"
515 # time-stamp-time-zone: "UTC0"
506516 # time-stamp-end: "; # UTC"
507517 # End:
3030
3131 PROGRAM=libtool
3232 PACKAGE=libtool
33 VERSION="2.4.6 Debian-2.4.6-2"
33 VERSION="2.4.6 Debian-2.4.6-14"
3434 package_revision=2.4.6
3535
3636
386386 # putting '$debug_cmd' at the start of all your functions, you can get
387387 # bash to show function call trace with:
388388 #
389 # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
389 # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
390390 debug_cmd=${debug_cmd-":"}
391391 exit_cmd=:
392392
13691369 #! /bin/sh
13701370
13711371 # Set a version string for this script.
1372 scriptversion=2014-01-07.03; # UTC
1372 scriptversion=2015-10-07.11; # UTC
13731373
13741374 # A portable, pluggable option parser for Bourne shell.
13751375 # Written by Gary V. Vaughan, 2010
15291529 {
15301530 $debug_cmd
15311531
1532 _G_rc_run_hooks=false
1533
15321534 case " $hookable_fns " in
15331535 *" $1 "*) ;;
15341536 *) func_fatal_error "'$1' does not support hook funcions.n" ;;
15371539 eval _G_hook_fns=\$$1_hooks; shift
15381540
15391541 for _G_hook in $_G_hook_fns; do
1540 eval $_G_hook '"$@"'
1541
1542 # store returned options list back into positional
1543 # parameters for next 'cmd' execution.
1544 eval _G_hook_result=\$${_G_hook}_result
1545 eval set dummy "$_G_hook_result"; shift
1542 if eval $_G_hook '"$@"'; then
1543 # store returned options list back into positional
1544 # parameters for next 'cmd' execution.
1545 eval _G_hook_result=\$${_G_hook}_result
1546 eval set dummy "$_G_hook_result"; shift
1547 _G_rc_run_hooks=:
1548 fi
15461549 done
15471550
1548 func_quote_for_eval ${1+"$@"}
1549 func_run_hooks_result=$func_quote_for_eval_result
1551 $_G_rc_run_hooks && func_run_hooks_result=$_G_hook_result
15501552 }
15511553
15521554
15561558 ## --------------- ##
15571559
15581560 # In order to add your own option parsing hooks, you must accept the
1559 # full positional parameter list in your hook function, remove any
1560 # options that you action, and then pass back the remaining unprocessed
1561 # full positional parameter list in your hook function, you may remove/edit
1562 # any options that you action, and then pass back the remaining unprocessed
15611563 # options in '<hooked_function_name>_result', escaped suitably for
1562 # 'eval'. Like this:
1564 # 'eval'. In this case you also must return $EXIT_SUCCESS to let the
1565 # hook's caller know that it should pay attention to
1566 # '<hooked_function_name>_result'. Returning $EXIT_FAILURE signalizes that
1567 # arguments are left untouched by the hook and therefore caller will ignore the
1568 # result variable.
1569 #
1570 # Like this:
15631571 #
15641572 # my_options_prep ()
15651573 # {
15691577 # usage_message=$usage_message'
15701578 # -s, --silent don'\''t print informational messages
15711579 # '
1572 #
1573 # func_quote_for_eval ${1+"$@"}
1574 # my_options_prep_result=$func_quote_for_eval_result
1580 # # No change in '$@' (ignored completely by this hook). There is
1581 # # no need to do the equivalent (but slower) action:
1582 # # func_quote_for_eval ${1+"$@"}
1583 # # my_options_prep_result=$func_quote_for_eval_result
1584 # false
15751585 # }
15761586 # func_add_hook func_options_prep my_options_prep
15771587 #
15801590 # {
15811591 # $debug_cmd
15821592 #
1593 # args_changed=false
1594 #
15831595 # # Note that for efficiency, we parse as many options as we can
15841596 # # recognise in a loop before passing the remainder back to the
15851597 # # caller on the first unrecognised argument we encounter.
15861598 # while test $# -gt 0; do
15871599 # opt=$1; shift
15881600 # case $opt in
1589 # --silent|-s) opt_silent=: ;;
1601 # --silent|-s) opt_silent=:
1602 # args_changed=:
1603 # ;;
15901604 # # Separate non-argument short options:
15911605 # -s*) func_split_short_opt "$_G_opt"
15921606 # set dummy "$func_split_short_opt_name" \
15931607 # "-$func_split_short_opt_arg" ${1+"$@"}
15941608 # shift
1609 # args_changed=:
15951610 # ;;
1596 # *) set dummy "$_G_opt" "$*"; shift; break ;;
1611 # *) # Make sure the first unrecognised option "$_G_opt"
1612 # # is added back to "$@", we could need that later
1613 # # if $args_changed is true.
1614 # set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
15971615 # esac
15981616 # done
15991617 #
1600 # func_quote_for_eval ${1+"$@"}
1601 # my_silent_option_result=$func_quote_for_eval_result
1618 # if $args_changed; then
1619 # func_quote_for_eval ${1+"$@"}
1620 # my_silent_option_result=$func_quote_for_eval_result
1621 # fi
1622 #
1623 # $args_changed
16021624 # }
16031625 # func_add_hook func_parse_options my_silent_option
16041626 #
16101632 # $opt_silent && $opt_verbose && func_fatal_help "\
16111633 # '--silent' and '--verbose' options are mutually exclusive."
16121634 #
1613 # func_quote_for_eval ${1+"$@"}
1614 # my_option_validation_result=$func_quote_for_eval_result
1635 # false
16151636 # }
16161637 # func_add_hook func_validate_options my_option_validation
16171638 #
1618 # You'll alse need to manually amend $usage_message to reflect the extra
1639 # You'll also need to manually amend $usage_message to reflect the extra
16191640 # options you parse. It's preferable to append if you can, so that
16201641 # multiple option parsing hooks can be added safely.
1642
1643
1644 # func_options_finish [ARG]...
1645 # ----------------------------
1646 # Finishing the option parse loop (call 'func_options' hooks ATM).
1647 func_options_finish ()
1648 {
1649 $debug_cmd
1650
1651 _G_func_options_finish_exit=false
1652 if func_run_hooks func_options ${1+"$@"}; then
1653 func_options_finish_result=$func_run_hooks_result
1654 _G_func_options_finish_exit=:
1655 fi
1656
1657 $_G_func_options_finish_exit
1658 }
16211659
16221660
16231661 # func_options [ARG]...
16291667 {
16301668 $debug_cmd
16311669
1632 func_options_prep ${1+"$@"}
1633 eval func_parse_options \
1634 ${func_options_prep_result+"$func_options_prep_result"}
1635 eval func_validate_options \
1636 ${func_parse_options_result+"$func_parse_options_result"}
1637
1638 eval func_run_hooks func_options \
1639 ${func_validate_options_result+"$func_validate_options_result"}
1640
1641 # save modified positional parameters for caller
1642 func_options_result=$func_run_hooks_result
1670 _G_rc_options=false
1671
1672 for my_func in options_prep parse_options validate_options options_finish
1673 do
1674 if eval func_$my_func '${1+"$@"}'; then
1675 eval _G_res_var='$'"func_${my_func}_result"
1676 eval set dummy "$_G_res_var" ; shift
1677 _G_rc_options=:
1678 fi
1679 done
1680
1681 # Save modified positional parameters for caller. As a top-level
1682 # options-parser function we always need to set the 'func_options_result'
1683 # variable (regardless the $_G_rc_options value).
1684 if $_G_rc_options; then
1685 func_options_result=$_G_res_var
1686 else
1687 func_quote_for_eval ${1+"$@"}
1688 func_options_result=$func_quote_for_eval_result
1689 fi
1690
1691 $_G_rc_options
16431692 }
16441693
16451694
16481697 # All initialisations required before starting the option parse loop.
16491698 # Note that when calling hook functions, we pass through the list of
16501699 # positional parameters. If a hook function modifies that list, and
1651 # needs to propogate that back to rest of this script, then the complete
1700 # needs to propagate that back to rest of this script, then the complete
16521701 # modified list must be put in 'func_run_hooks_result' before
1653 # returning.
1702 # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned).
16541703 func_hookable func_options_prep
16551704 func_options_prep ()
16561705 {
16601709 opt_verbose=false
16611710 opt_warning_types=
16621711
1663 func_run_hooks func_options_prep ${1+"$@"}
1664
1665 # save modified positional parameters for caller
1666 func_options_prep_result=$func_run_hooks_result
1712 _G_rc_options_prep=false
1713 if func_run_hooks func_options_prep ${1+"$@"}; then
1714 _G_rc_options_prep=:
1715 # save modified positional parameters for caller
1716 func_options_prep_result=$func_run_hooks_result
1717 fi
1718
1719 $_G_rc_options_prep
16671720 }
16681721
16691722
16771730
16781731 func_parse_options_result=
16791732
1733 _G_rc_parse_options=false
16801734 # this just eases exit handling
16811735 while test $# -gt 0; do
16821736 # Defer to hook functions for initial option parsing, so they
16831737 # get priority in the event of reusing an option name.
1684 func_run_hooks func_parse_options ${1+"$@"}
1685
1686 # Adjust func_parse_options positional parameters to match
1687 eval set dummy "$func_run_hooks_result"; shift
1738 if func_run_hooks func_parse_options ${1+"$@"}; then
1739 eval set dummy "$func_run_hooks_result"; shift
1740 _G_rc_parse_options=:
1741 fi
16881742
16891743 # Break out of the loop if we already parsed every option.
16901744 test $# -gt 0 || break
16911745
1746 _G_match_parse_options=:
16921747 _G_opt=$1
16931748 shift
16941749 case $_G_opt in
17031758 ;;
17041759
17051760 --warnings|--warning|-W)
1706 test $# = 0 && func_missing_arg $_G_opt && break
1761 if test $# = 0 && func_missing_arg $_G_opt; then
1762 _G_rc_parse_options=:
1763 break
1764 fi
17071765 case " $warning_categories $1" in
17081766 *" $1 "*)
17091767 # trailing space prevents matching last $1 above
17561814 shift
17571815 ;;
17581816
1759 --) break ;;
1817 --) _G_rc_parse_options=: ; break ;;
17601818 -*) func_fatal_help "unrecognised option: '$_G_opt'" ;;
1761 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
1819 *) set dummy "$_G_opt" ${1+"$@"}; shift
1820 _G_match_parse_options=false
1821 break
1822 ;;
17621823 esac
1824
1825 $_G_match_parse_options && _G_rc_parse_options=:
17631826 done
17641827
1765 # save modified positional parameters for caller
1766 func_quote_for_eval ${1+"$@"}
1767 func_parse_options_result=$func_quote_for_eval_result
1828
1829 if $_G_rc_parse_options; then
1830 # save modified positional parameters for caller
1831 func_quote_for_eval ${1+"$@"}
1832 func_parse_options_result=$func_quote_for_eval_result
1833 fi
1834
1835 $_G_rc_parse_options
17681836 }
17691837
17701838
17771845 {
17781846 $debug_cmd
17791847
1848 _G_rc_validate_options=false
1849
17801850 # Display all warnings if -W was not given.
17811851 test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
17821852
1783 func_run_hooks func_validate_options ${1+"$@"}
1853 if func_run_hooks func_validate_options ${1+"$@"}; then
1854 # save modified positional parameters for caller
1855 func_validate_options_result=$func_run_hooks_result
1856 _G_rc_validate_options=:
1857 fi
17841858
17851859 # Bail if the options were screwed!
17861860 $exit_cmd $EXIT_FAILURE
17871861
1788 # save modified positional parameters for caller
1789 func_validate_options_result=$func_run_hooks_result
1862 $_G_rc_validate_options
17901863 }
17911864
17921865
20672140 compiler: $LTCC
20682141 compiler flags: $LTCFLAGS
20692142 linker: $LD (gnu? $with_gnu_ld)
2070 version: $progname $scriptversion Debian-2.4.6-2
2143 version: $progname $scriptversion Debian-2.4.6-14
20712144 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
20722145 autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q`
20732146
22692342 nonopt=
22702343 preserve_args=
22712344
2345 _G_rc_lt_options_prep=:
2346
22722347 # Shorthand for --mode=foo, only valid as the first argument
22732348 case $1 in
22742349 clean|clea|cle|cl)
22922367 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
22932368 shift; set dummy --mode uninstall ${1+"$@"}; shift
22942369 ;;
2370 *)
2371 _G_rc_lt_options_prep=false
2372 ;;
22952373 esac
22962374
2297 # Pass back the list of options.
2298 func_quote_for_eval ${1+"$@"}
2299 libtool_options_prep_result=$func_quote_for_eval_result
2375 if $_G_rc_lt_options_prep; then
2376 # Pass back the list of options.
2377 func_quote_for_eval ${1+"$@"}
2378 libtool_options_prep_result=$func_quote_for_eval_result
2379 fi
2380
2381 $_G_rc_lt_options_prep
23002382 }
23012383 func_add_hook func_options_prep libtool_options_prep
23022384
23082390 {
23092391 $debug_cmd
23102392
2393 _G_rc_lt_parse_options=false
2394
23112395 # Perform our own loop to consume as many options as possible in
23122396 # each iteration.
23132397 while test $# -gt 0; do
2398 _G_match_lt_parse_options=:
23142399 _G_opt=$1
23152400 shift
23162401 case $_G_opt in
23852470 func_append preserve_args " $_G_opt"
23862471 ;;
23872472
2388 # An option not handled by this hook function:
2389 *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
2473 # An option not handled by this hook function:
2474 *) set dummy "$_G_opt" ${1+"$@"} ; shift
2475 _G_match_lt_parse_options=false
2476 break
2477 ;;
23902478 esac
2479 $_G_match_lt_parse_options && _G_rc_lt_parse_options=:
23912480 done
23922481
2393
2394 # save modified positional parameters for caller
2395 func_quote_for_eval ${1+"$@"}
2396 libtool_parse_options_result=$func_quote_for_eval_result
2482 if $_G_rc_lt_parse_options; then
2483 # save modified positional parameters for caller
2484 func_quote_for_eval ${1+"$@"}
2485 libtool_parse_options_result=$func_quote_for_eval_result
2486 fi
2487
2488 $_G_rc_lt_parse_options
23972489 }
23982490 func_add_hook func_parse_options libtool_parse_options
23992491
72747366 # -specs=* GCC specs files
72757367 # -stdlib=* select c++ std lib with clang
72767368 # -fsanitize=* Clang/GCC memory and address sanitizer
7369 # -fuse-ld=* Linker select flags for GCC
7370 # -static-* direct GCC to link specific libraries statically
7371 # -fcilkplus Cilk Plus language extension features for C/C++
72777372 -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
72787373 -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
72797374 -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
7280 -specs=*|-fsanitize=*)
7375 -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus)
72817376 func_quote_for_eval "$arg"
72827377 arg=$func_quote_for_eval_result
72837378 func_append compile_command " $arg"
10401040 _LT_EOF
10411041 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
10421042 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
1043 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1044 $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
1043 echo "$AR cr libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
1044 $AR cr libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
10451045 echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
10461046 $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
10471047 cat > conftest.c << _LT_EOF
14911491 m4_defun([_LT_PROG_AR],
14921492 [AC_CHECK_TOOLS(AR, [ar], false)
14931493 : ${AR=ar}
1494 : ${AR_FLAGS=cru}
1494 : ${AR_FLAGS=cr}
14951495 _LT_DECL([], [AR], [1], [The archiver])
14961496 _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive])
14971497
40624062 if AC_TRY_EVAL(ac_compile); then
40634063 # Now try to grab the symbols.
40644064 nlist=conftest.nm
4065 if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
4065 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
4066 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
40664067 # Try sorting and uniquifying the output.
40674068 if sort "$nlist" | uniq > "$nlist"T; then
40684069 mv -f "$nlist"T "$nlist"
47024703 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
47034704 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
47044705 ;;
4706 # flang / f18. f95 an alias for gfortran or flang on Debian
4707 flang* | f18* | f95*)
4708 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4709 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4710 _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
4711 ;;
47054712 # icc used to be incompatible with GCC.
47064713 # ICC 10 doesn't accept -KPIC any more.
47074714 icc* | ifort*)
64376444 # Commands to make compiler produce verbose output that lists
64386445 # what "hidden" libraries, object files and flags are used when
64396446 # linking a shared library.
6440 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6447 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
64416448
64426449 else
64436450 GXX=no
68126819 # explicitly linking system object files so we need to strip them
68136820 # from the output so that they don't get included in the library
68146821 # dependencies.
6815 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6822 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
68166823 ;;
68176824 *)
68186825 if test yes = "$GXX"; then
68776884 # explicitly linking system object files so we need to strip them
68786885 # from the output so that they don't get included in the library
68796886 # dependencies.
6880 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6887 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
68816888 ;;
68826889 *)
68836890 if test yes = "$GXX"; then
72167223 # Commands to make compiler produce verbose output that lists
72177224 # what "hidden" libraries, object files and flags are used when
72187225 # linking a shared library.
7219 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7226 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
72207227
72217228 else
72227229 # FIXME: insert proper C++ library support
73007307 # Commands to make compiler produce verbose output that lists
73017308 # what "hidden" libraries, object files and flags are used when
73027309 # linking a shared library.
7303 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7310 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
73047311 else
73057312 # g++ 2.7 appears to require '-G' NOT '-shared' on this
73067313 # platform.
73117318 # Commands to make compiler produce verbose output that lists
73127319 # what "hidden" libraries, object files and flags are used when
73137320 # linking a shared library.
7314 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7321 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
73157322 fi
73167323
73177324 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC"
212 # time-stamp-time-zone: "UTC0"
213213 # time-stamp-end: "; # UTC"
214214 # End:
4949 librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS) $(OPENSSL_LIBS)
5050 # info on version-info:
5151 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
52 librelp_la_LDFLAGS = -version-info 5:0:5 -export-symbols-regex '^relp[^_]*$$'
52 librelp_la_LDFLAGS = -version-info 5:1:5 -export-symbols-regex '^relp[^_]*$$'
5353
5454 include_HEADERS = librelp.h
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
164164 am__v_at_1 =
165165 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
166166 depcomp = $(SHELL) $(top_srcdir)/depcomp
167 am__depfiles_maybe = depfiles
167 am__maybe_remake_depfiles = depfiles
168 am__depfiles_remade = ./$(DEPDIR)/librelp_la-cclose.Plo \
169 ./$(DEPDIR)/librelp_la-copen.Plo \
170 ./$(DEPDIR)/librelp_la-cserverclose.Plo \
171 ./$(DEPDIR)/librelp_la-offers.Plo \
172 ./$(DEPDIR)/librelp_la-relp.Plo \
173 ./$(DEPDIR)/librelp_la-relpclt.Plo \
174 ./$(DEPDIR)/librelp_la-relpframe.Plo \
175 ./$(DEPDIR)/librelp_la-relpsess.Plo \
176 ./$(DEPDIR)/librelp_la-relpsrv.Plo \
177 ./$(DEPDIR)/librelp_la-scrsp.Plo \
178 ./$(DEPDIR)/librelp_la-scsyslog.Plo \
179 ./$(DEPDIR)/librelp_la-sendbuf.Plo \
180 ./$(DEPDIR)/librelp_la-sendq.Plo \
181 ./$(DEPDIR)/librelp_la-tcp.Plo \
182 compat/$(DEPDIR)/librelp_la-strndup.Plo
168183 am__mv = mv -f
169184 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
170185 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
390405 librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS) $(OPENSSL_LIBS)
391406 # info on version-info:
392407 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
393 librelp_la_LDFLAGS = -version-info 5:0:5 -export-symbols-regex '^relp[^_]*$$'
408 librelp_la_LDFLAGS = -version-info 5:1:5 -export-symbols-regex '^relp[^_]*$$'
394409 include_HEADERS = librelp.h
395410 all: all-am
396411
413428 *config.status*) \
414429 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
415430 *) \
416 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
417 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
431 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
432 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
418433 esac;
419434
420435 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
480495 distclean-compile:
481496 -rm -f *.tab.c
482497
483 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-cclose.Plo@am__quote@
484 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-copen.Plo@am__quote@
485 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-cserverclose.Plo@am__quote@
486 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-offers.Plo@am__quote@
487 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relp.Plo@am__quote@
488 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpclt.Plo@am__quote@
489 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpframe.Plo@am__quote@
490 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpsess.Plo@am__quote@
491 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpsrv.Plo@am__quote@
492 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-scrsp.Plo@am__quote@
493 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-scsyslog.Plo@am__quote@
494 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-sendbuf.Plo@am__quote@
495 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-sendq.Plo@am__quote@
496 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-tcp.Plo@am__quote@
497 @AMDEP_TRUE@@am__include@ @am__quote@compat/$(DEPDIR)/librelp_la-strndup.Plo@am__quote@
498 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-cclose.Plo@am__quote@ # am--include-marker
499 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-copen.Plo@am__quote@ # am--include-marker
500 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-cserverclose.Plo@am__quote@ # am--include-marker
501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-offers.Plo@am__quote@ # am--include-marker
502 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relp.Plo@am__quote@ # am--include-marker
503 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpclt.Plo@am__quote@ # am--include-marker
504 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpframe.Plo@am__quote@ # am--include-marker
505 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpsess.Plo@am__quote@ # am--include-marker
506 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-relpsrv.Plo@am__quote@ # am--include-marker
507 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-scrsp.Plo@am__quote@ # am--include-marker
508 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-scsyslog.Plo@am__quote@ # am--include-marker
509 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-sendbuf.Plo@am__quote@ # am--include-marker
510 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-sendq.Plo@am__quote@ # am--include-marker
511 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librelp_la-tcp.Plo@am__quote@ # am--include-marker
512 @AMDEP_TRUE@@am__include@ @am__quote@compat/$(DEPDIR)/librelp_la-strndup.Plo@am__quote@ # am--include-marker
513
514 $(am__depfiles_remade):
515 @$(MKDIR_P) $(@D)
516 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
517
518 am--depfiles: $(am__depfiles_remade)
498519
499520 .c.o:
500521 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
705726 distclean-tags:
706727 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
707728
708 distdir: $(DISTFILES)
729 distdir: $(BUILT_SOURCES)
730 $(MAKE) $(AM_MAKEFLAGS) distdir-am
731
732 distdir-am: $(DISTFILES)
709733 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
710734 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
711735 list='$(DISTFILES)'; \
780804 mostlyclean-am
781805
782806 distclean: distclean-am
783 -rm -rf ./$(DEPDIR) compat/$(DEPDIR)
807 -rm -f ./$(DEPDIR)/librelp_la-cclose.Plo
808 -rm -f ./$(DEPDIR)/librelp_la-copen.Plo
809 -rm -f ./$(DEPDIR)/librelp_la-cserverclose.Plo
810 -rm -f ./$(DEPDIR)/librelp_la-offers.Plo
811 -rm -f ./$(DEPDIR)/librelp_la-relp.Plo
812 -rm -f ./$(DEPDIR)/librelp_la-relpclt.Plo
813 -rm -f ./$(DEPDIR)/librelp_la-relpframe.Plo
814 -rm -f ./$(DEPDIR)/librelp_la-relpsess.Plo
815 -rm -f ./$(DEPDIR)/librelp_la-relpsrv.Plo
816 -rm -f ./$(DEPDIR)/librelp_la-scrsp.Plo
817 -rm -f ./$(DEPDIR)/librelp_la-scsyslog.Plo
818 -rm -f ./$(DEPDIR)/librelp_la-sendbuf.Plo
819 -rm -f ./$(DEPDIR)/librelp_la-sendq.Plo
820 -rm -f ./$(DEPDIR)/librelp_la-tcp.Plo
821 -rm -f compat/$(DEPDIR)/librelp_la-strndup.Plo
784822 -rm -f Makefile
785823 distclean-am: clean-am distclean-compile distclean-generic \
786824 distclean-tags
826864 installcheck-am:
827865
828866 maintainer-clean: maintainer-clean-am
829 -rm -rf ./$(DEPDIR) compat/$(DEPDIR)
867 -rm -f ./$(DEPDIR)/librelp_la-cclose.Plo
868 -rm -f ./$(DEPDIR)/librelp_la-copen.Plo
869 -rm -f ./$(DEPDIR)/librelp_la-cserverclose.Plo
870 -rm -f ./$(DEPDIR)/librelp_la-offers.Plo
871 -rm -f ./$(DEPDIR)/librelp_la-relp.Plo
872 -rm -f ./$(DEPDIR)/librelp_la-relpclt.Plo
873 -rm -f ./$(DEPDIR)/librelp_la-relpframe.Plo
874 -rm -f ./$(DEPDIR)/librelp_la-relpsess.Plo
875 -rm -f ./$(DEPDIR)/librelp_la-relpsrv.Plo
876 -rm -f ./$(DEPDIR)/librelp_la-scrsp.Plo
877 -rm -f ./$(DEPDIR)/librelp_la-scsyslog.Plo
878 -rm -f ./$(DEPDIR)/librelp_la-sendbuf.Plo
879 -rm -f ./$(DEPDIR)/librelp_la-sendq.Plo
880 -rm -f ./$(DEPDIR)/librelp_la-tcp.Plo
881 -rm -f compat/$(DEPDIR)/librelp_la-strndup.Plo
830882 -rm -f Makefile
831883 maintainer-clean-am: distclean-am maintainer-clean-generic
832884
847899
848900 .MAKE: install-am install-strip
849901
850 .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
851 clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \
852 ctags-am distclean distclean-compile distclean-generic \
902 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-am clean \
903 clean-generic clean-libLTLIBRARIES clean-libtool cscopelist-am \
904 ctags ctags-am distclean distclean-compile distclean-generic \
853905 distclean-libtool distclean-tags distdir dvi dvi-am html \
854906 html-am info info-am install install-am install-data \
855907 install-data-am install-dvi install-dvi-am install-exec \
217217 snprintf((char*)pThis->szVal, sizeof(pThis->szVal), "%d", intVal);
218218 pThis->intVal = intVal;
219219 } else {
220 strncpy((char*)pThis->szVal, (char*)pszVal, sizeof(pThis->szVal));
220 strncpy((char*)pThis->szVal, (char*)pszVal, sizeof(pThis->szVal) - 1);
221221 /* check if the string actually is an integer... */
222222 Val = 0;
223223 i = 0;
12271227 pristringBuf[sizeof(pristringBuf)-1] = '\0';
12281228 pristring = pristringBuf;
12291229 } else {
1230 /* We use custom CipherString if used sets it by SslConfCmd */
12301231 pristring = pThis->pristring;
12311232 }
12321233
16611662 pszCmd = strndup(pCurrentPos, pNextPos-pCurrentPos);
16621663 pCurrentPos = pNextPos+1;
16631664 pNextPos = index(pCurrentPos, '\n');
1665 pNextPos = (pNextPos == NULL ? index(pCurrentPos, ';') : pNextPos);
16641666 pszValue = (pNextPos == NULL ?
16651667 strdup(pCurrentPos) :
16661668 strndup(pCurrentPos, pNextPos - pCurrentPos));
16721674 pThis->pEngine->dbgprint((char*)"relpTcpSetSslConfCmd_ossl: "
16731675 "Successfully added Command '%s':'%s'\n",
16741676 pszCmd, pszValue);
1677 if(!strcmp(pszCmd, "CipherString")) {
1678 relpTcpSetGnuTLSPriString(pThis,pszValue);
1679 pThis->pEngine->dbgprint((char*)"relpTcpSetSslConfCmd_ossl: "
1680 "Copy Custom CipherString '%s' to GnuTLSPriString\n",
1681 pszValue);
1682 }
16751683 }
16761684 else {
16771685 snprintf(errmsg, sizeof(errmsg),
17281736
17291737 // Set SSL_MODE_AUTO_RETRY to SSL obj
17301738 SSL_set_mode(pThis->ssl, SSL_MODE_AUTO_RETRY);
1731
1739
1740 // Copy Properties from Server TCP obj over
17321741 pThis->authmode = pSrv->pTcp->authmode;
17331742 pThis->pUsr = pSrv->pUsr;
1743 pThis->pristring = (pSrv->pTcp->pristring != NULL ? strdup(pSrv->pTcp->pristring) : NULL);
1744 pThis->tlsConfigCmd = (pSrv->pTcp->tlsConfigCmd != NULL ? strdup(pSrv->pTcp->tlsConfigCmd) : NULL);
17341745
17351746 if(!isAnonAuth(pThis->pSrv->pTcp)) {
17361747 CHKRet(relpTcpSslInitCerts(pThis, pThis->pSrv->ownCertFile, pThis->pSrv->privKey));
17371748 } else
17381749 pThis->authmode = eRelpAuthMode_None;
17391750
1751 /* Set TLS Options if configured */
1752 CHKRet(relpTcpSetSslConfCmd_ossl(pThis, pThis->tlsConfigCmd));
1753
1754 /* Set TLS Priority Options */
17401755 CHKRet(relpTcpTLSSetPrio(pThis));
1756
17411757 SSL_set_ex_data(pThis->ssl, 0, pThis);
17421758
17431759 if (pThis->authmode != eRelpAuthMode_None) {
18161832 CHKRet(relpTcpInitTLS(pThis));
18171833 }
18181834
1819 /*set client state */
1820 pThis->sslState = osslClient;
1821
1822 /* Set TLS Options if configured */
1823 CHKRet(relpTcpSetSslConfCmd_ossl(pThis, pThis->tlsConfigCmd));
1824
1825 /* Create BIO from ptcp socket! */
1826 conn = BIO_new_socket(pThis->sock, BIO_CLOSE /*BIO_NOCLOSE*/);
1827 pThis->pEngine->dbgprint((char*)"relpTcpConnectTLSInit: Init conn BIO[%p] done\n", (void *)conn);
1828
1829 /* Set debug Callback for client BIO as well! */
1830 BIO_set_callback(conn, BIO_debug_callback);
1831 BIO_set_callback_arg(conn, (char *)pThis);
1832
1833 /* TODO: still needed? Set to NON blocking ! */
1834 BIO_set_nbio( conn, 1 );
1835
18361835 /*if we reach this point we are in tls mode */
18371836 pThis->pEngine->dbgprint((char*)"relpTcpConnectTLSInit: TLS Mode\n");
1837
18381838 if(!(pThis->ssl = SSL_new(ctx))) {
18391839 relpTcpLastSSLErrorMsg(0, pThis, "relpTcpConnectTLSInit");
18401840 ABORT_FINALIZE(RELP_RET_IO_ERR);
18411841 }
1842
18421843 // Set SSL_MODE_AUTO_RETRY to SSL obj
18431844 SSL_set_mode(pThis->ssl, SSL_MODE_AUTO_RETRY);
18441845
18491850 } else
18501851 pThis->authmode = eRelpAuthMode_None;
18511852
1853 /* Set TLS Options if configured */
1854 CHKRet(relpTcpSetSslConfCmd_ossl(pThis, pThis->tlsConfigCmd));
1855
1856 /* Set TLS Priority Options */
18521857 CHKRet(relpTcpTLSSetPrio(pThis));
1858
18531859 SSL_set_ex_data(pThis->ssl, 0, (void*)pThis);
1860
1861 /*set client state */
1862 pThis->sslState = osslClient;
1863
1864 /* Create BIO from ptcp socket! */
1865 conn = BIO_new_socket(pThis->sock, BIO_CLOSE /*BIO_NOCLOSE*/);
1866 pThis->pEngine->dbgprint((char*)"relpTcpConnectTLSInit: Init conn BIO[%p] done\n", (void *)conn);
1867
1868 /* Set debug Callback for client BIO as well! */
1869 BIO_set_callback(conn, BIO_debug_callback);
1870 BIO_set_callback_arg(conn, (char *)pThis);
1871
1872 /* TODO: still needed? Set to NON blocking ! */
1873 BIO_set_nbio( conn, 1 );
18541874
18551875 SSL_set_bio(pThis->ssl, conn, conn);
18561876 SSL_set_connect_state(pThis->ssl); /*sets ssl to work in client mode.*/
00 #! /bin/sh
11 # test-driver - basic testsuite driver script.
22
3 scriptversion=2013-07-13.22; # UTC
3 scriptversion=2018-03-07.03; # UTC
44
5 # Copyright (C) 2011-2014 Free Software Foundation, Inc.
5 # Copyright (C) 2011-2018 Free Software Foundation, Inc.
66 #
77 # This program is free software; you can redistribute it and/or modify
88 # it under the terms of the GNU General Public License as published by
1515 # GNU General Public License for more details.
1616 #
1717 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
1919
2020 # As a special exception to the GNU General Public License, if you
2121 # distribute this file as part of a program that contains a
139139 # Local Variables:
140140 # mode: shell-script
141141 # sh-indentation: 2
142 # eval: (add-hook 'write-file-hooks 'time-stamp)
142 # eval: (add-hook 'before-save-hook 'time-stamp)
143143 # time-stamp-start: "scriptversion="
144144 # time-stamp-format: "%:y-%02m-%02d.%02H"
145 # time-stamp-time-zone: "UTC"
145 # time-stamp-time-zone: "UTC0"
146146 # time-stamp-end: "; # UTC"
147147 # End:
2525 tls-basic-fingerprint.sh \
2626 tls-basic-wildcard.sh \
2727 tls-basic-tlscommand.sh \
28 tls-basic-tlscommand-ciphers.sh \
2829 tls-basic-certchain.sh \
2930 tls-basic-certvalid-mixed.sh \
3031 tls-receiver-abort.sh \
0 # Makefile.in generated by automake 1.15.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2017 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
141141 am__v_at_1 =
142142 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
143143 depcomp = $(SHELL) $(top_srcdir)/depcomp
144 am__depfiles_maybe = depfiles
144 am__maybe_remake_depfiles = depfiles
145 am__depfiles_remade = ./$(DEPDIR)/chkseq.Po ./$(DEPDIR)/have_tlslib.Po \
146 ./$(DEPDIR)/receive-receive.Po ./$(DEPDIR)/send-send.Po
145147 am__mv = mv -f
146148 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
147149 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
553555 tls-basic-fingerprint.sh \
554556 tls-basic-wildcard.sh \
555557 tls-basic-tlscommand.sh \
558 tls-basic-tlscommand-ciphers.sh \
556559 tls-basic-certchain.sh \
557560 tls-basic-certvalid-mixed.sh \
558561 tls-receiver-abort.sh \
624627 *config.status*) \
625628 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
626629 *) \
627 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
628 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
630 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
631 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
629632 esac;
630633
631634 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
670673 distclean-compile:
671674 -rm -f *.tab.c
672675
673 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chkseq.Po@am__quote@
674 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/have_tlslib.Po@am__quote@
675 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/receive-receive.Po@am__quote@
676 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send-send.Po@am__quote@
676 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/chkseq.Po@am__quote@ # am--include-marker
677 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/have_tlslib.Po@am__quote@ # am--include-marker
678 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/receive-receive.Po@am__quote@ # am--include-marker
679 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/send-send.Po@am__quote@ # am--include-marker
680
681 $(am__depfiles_remade):
682 @$(MKDIR_P) $(@D)
683 @echo '# dummy' >$@-t && $(am__mv) $@-t $@
684
685 am--depfiles: $(am__depfiles_remade)
677686
678687 .c.o:
679688 @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
905914 fi; \
906915 $$success || exit 1
907916
908 check-TESTS:
917 check-TESTS: $(check_PROGRAMS)
909918 @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
910919 @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
911920 @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
941950 @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
942951 @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
943952
944 distdir: $(DISTFILES)
953 distdir: $(BUILT_SOURCES)
954 $(MAKE) $(AM_MAKEFLAGS) distdir-am
955
956 distdir-am: $(DISTFILES)
945957 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
946958 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
947959 list='$(DISTFILES)'; \
10161028 mostlyclean-am
10171029
10181030 distclean: distclean-am
1019 -rm -rf ./$(DEPDIR)
1031 -rm -f ./$(DEPDIR)/chkseq.Po
1032 -rm -f ./$(DEPDIR)/have_tlslib.Po
1033 -rm -f ./$(DEPDIR)/receive-receive.Po
1034 -rm -f ./$(DEPDIR)/send-send.Po
10201035 -rm -f Makefile
10211036 distclean-am: clean-am distclean-compile distclean-generic \
10221037 distclean-tags
10621077 installcheck-am:
10631078
10641079 maintainer-clean: maintainer-clean-am
1065 -rm -rf ./$(DEPDIR)
1080 -rm -f ./$(DEPDIR)/chkseq.Po
1081 -rm -f ./$(DEPDIR)/have_tlslib.Po
1082 -rm -f ./$(DEPDIR)/receive-receive.Po
1083 -rm -f ./$(DEPDIR)/send-send.Po
10661084 -rm -f Makefile
10671085 maintainer-clean-am: distclean-am maintainer-clean-generic
10681086
10831101
10841102 .MAKE: check-am install-am install-strip
10851103
1086 .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
1087 clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
1088 ctags ctags-am distclean distclean-compile distclean-generic \
1089 distclean-libtool distclean-tags distdir dvi dvi-am html \
1090 html-am info info-am install install-am install-data \
1091 install-data-am install-dvi install-dvi-am install-exec \
1092 install-exec-am install-html install-html-am install-info \
1093 install-info-am install-man install-pdf install-pdf-am \
1094 install-ps install-ps-am install-strip installcheck \
1095 installcheck-am installdirs maintainer-clean \
1104 .PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
1105 check-am clean clean-checkPROGRAMS clean-generic clean-libtool \
1106 cscopelist-am ctags ctags-am distclean distclean-compile \
1107 distclean-generic distclean-libtool distclean-tags distdir dvi \
1108 dvi-am html html-am info info-am install install-am \
1109 install-data install-data-am install-dvi install-dvi-am \
1110 install-exec install-exec-am install-html install-html-am \
1111 install-info install-info-am install-man install-pdf \
1112 install-pdf-am install-ps install-ps-am install-strip \
1113 installcheck installcheck-am installdirs maintainer-clean \
10961114 maintainer-clean-generic mostlyclean mostlyclean-compile \
10971115 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
10981116 recheck tags tags-am uninstall uninstall-am
0 #!/bin/bash
1 . ${srcdir:=$(pwd)}/test-framework.sh
2 export errorlog="error.$LIBRELP_DYN.log"
3 # export OPT_VERBOSE=-v # uncomment for debugging
4
5 function actual_test() {
6 # Test only supported for OpenSSL
7 if [ "$TEST_TLS_LIB" == "openssl" ]; then
8 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
9 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
10 -P 'testbench.rsyslog.com' \
11 --errorfile $TESTDIR/$errorlog \
12 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.1;CipherString=ECDHE-RSA-AES256-GCM-SHA384;MinProtocol=TLSv1.2;MaxProtocol=TLSv1.2;Ciphersuites=TLS_AES_256_GCM_SHA384"
13
14 echo 'Send Message...'
15 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
16 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
17 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' \
18 -c "CipherString=ECDHE-RSA-AES128-GCM-SHA256;Ciphersuites=TLS_AES_128_GCM_SHA256" \
19 --errorfile $TESTDIR/$errorlog \
20 $OPT_VERBOSE
21
22 stop_receiver
23
24 if test -f $TESTDIR/$errorlog; then
25 check_output --check-only "OpenSSL Version too old" $TESTDIR/$errorlog
26 ret=$?
27 if [ $ret == 0 ]; then
28 echo "SKIP: OpenSSL Version too old"
29 exit 77
30 else
31 # Try "handshake failed" first
32 check_output --check-only "handshake fail" $TESTDIR/$errorlog
33 ret=$?
34 if [ $ret != 0 ]; then
35 check_output "wrong version number" $TESTDIR/$errorlog
36 fi
37 fi
38 else
39 echo "SKIP: $TESTDIR/$errorlog was not created"
40 exit 77
41 fi
42 else
43 echo "SKIP: For $TEST_TLS_LIB"
44 fi
45 }
46
47 do_tls_subtests
48 terminate
00 #!/bin/bash
11 . ${srcdir:=$(pwd)}/test-framework.sh
22 export errorlog="error.$LIBRELP_DYN.log"
3 # export OPT_VERBOSE=-v # uncomment for debugging
34
45 function actual_test() {
5 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
6 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
7 -P 'testbench.rsyslog.com' \
8 --errorfile $TESTDIR/$errorlog \
9 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2"
10
11 echo 'Send Message...'
12 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
13 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
14 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' \
15 -c "Protocol=-ALL,TLSv1.2" \
16 --errorfile $TESTDIR/$errorlog \
17 $OPT_VERBOSE
18
19 stop_receiver
20
216 # Test only supported for OpenSSL
227 if [ "$TEST_TLS_LIB" == "openssl" ]; then
8 startup_receiver --tls-lib $TEST_TLS_LIB -T -a "name" -x ${srcdir}/tls-certs/ca.pem \
9 -y ${srcdir}/tls-certs/cert.pem -z ${srcdir}/tls-certs/key.pem \
10 -P 'testbench.rsyslog.com' \
11 --errorfile $TESTDIR/$errorlog \
12 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2;CipherString=ECDHE-RSA-AES256-GCM-SHA384;Protocol=ALL,-SSLv2,-SSLv3,-TLSv1,-TLSv1.2,-TLSv1.3;MinProtocol=TLSv1.2;MaxProtocol=TLSv1.2"
13
14 echo 'Send Message...'
15 ./send --tls-lib $TEST_TLS_LIB -t 127.0.0.1 -p $TESTPORT -m "testmessage" -T -a "name" \
16 -x ${srcdir}/tls-certs/ca.pem -y ${srcdir}/tls-certs/cert.pem \
17 -z ${srcdir}/tls-certs/key.pem -P 'testbench.rsyslog.com' \
18 -c "Protocol=ALL,-SSLv2,-SSLv3,-TLSv1.1,-TLSv1.2;CipherString=DHE-RSA-AES256-SHA;Protocol=ALL,-SSLv2,-SSLv3,-TLSv1.1,-TLSv1.2,-TLSv1.3;MinProtocol=TLSv1.1;MaxProtocol=TLSv1.1" \
19 --errorfile $TESTDIR/$errorlog \
20 $OPT_VERBOSE
21
22 stop_receiver
23
2324 if test -f $TESTDIR/$errorlog; then
2425 check_output --check-only "OpenSSL Version too old" $TESTDIR/$errorlog
2526 ret=$?
3839 echo "SKIP: $TESTDIR/$errorlog was not created"
3940 exit 77
4041 fi
42 else
43 echo "SKIP: For $TEST_TLS_LIB"
4144 fi
4245 }
4346