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
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 | |
0 | 17 | ---------------------------------------------------------------------- |
1 | 18 | Version 1.9.0 - 2020-11-24 |
2 | 19 | - openssl bugfix: preprocessor check for tlsconfigcmd code |
2 | 2 | |
3 | 3 | pkgconfigdir = $(libdir)/pkgconfig |
4 | 4 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
166 | 166 | $(RECURSIVE_CLEAN_TARGETS) \ |
167 | 167 | $(am__extra_recursive_targets) |
168 | 168 | 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 | |
170 | 170 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ |
171 | 171 | $(LISP)config.h.in |
172 | 172 | # Read a list of newline-separated strings from the standard input, |
402 | 402 | echo ' $(SHELL) ./config.status'; \ |
403 | 403 | $(SHELL) ./config.status;; \ |
404 | 404 | *) \ |
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);; \ | |
407 | 407 | esac; |
408 | 408 | |
409 | 409 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
568 | 568 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
569 | 569 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files |
570 | 570 | |
571 | distdir: $(DISTFILES) | |
571 | distdir: $(BUILT_SOURCES) | |
572 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
573 | ||
574 | distdir-am: $(DISTFILES) | |
572 | 575 | $(am__remove_distdir) |
573 | 576 | test -d "$(distdir)" || mkdir "$(distdir)" |
574 | 577 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
886 | 889 | .PRECIOUS: Makefile |
887 | 890 | |
888 | 891 | |
892 | # Note: version-info is set in ./src/Makefile.am! | |
893 | ||
889 | 894 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
890 | 895 | # Otherwise a system limit (for SysV at least) may be exceeded. |
891 | 896 | .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. | |
3 | 3 | |
4 | 4 | # This file is free software; the Free Software Foundation |
5 | 5 | # gives unlimited permission to copy and/or distribute it, |
51 | 51 | # |
52 | 52 | # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> |
53 | 53 | # |
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 | |
81 | 60 | |
82 | 61 | AC_DEFUN([AX_APPEND_COMPILE_FLAGS], |
83 | 62 | [AX_REQUIRE_DEFINED([AX_CHECK_COMPILE_FLAG]) |
112 | 91 | # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de> |
113 | 92 | # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> |
114 | 93 | # |
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 | |
142 | 100 | |
143 | 101 | AC_DEFUN([AX_APPEND_FLAG], |
144 | 102 | [dnl |
189 | 147 | # |
190 | 148 | # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> |
191 | 149 | # |
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 | |
219 | 156 | |
220 | 157 | AC_DEFUN([AX_APPEND_LINK_FLAGS], |
221 | 158 | [AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) |
256 | 193 | # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de> |
257 | 194 | # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> |
258 | 195 | # |
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 | |
286 | 202 | |
287 | 203 | AC_DEFUN([AX_CHECK_COMPILE_FLAG], |
288 | 204 | [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF |
331 | 247 | # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de> |
332 | 248 | # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com> |
333 | 249 | # |
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 | |
361 | 256 | |
362 | 257 | AC_DEFUN([AX_CHECK_LINK_FLAG], |
363 | 258 | [AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF |
555 | 450 | # LICENSE |
556 | 451 | # |
557 | 452 | # Copyright (c) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk> |
453 | # Copyright (c) 2017, 2018 Reini Urban <rurban@cpan.org> | |
558 | 454 | # |
559 | 455 | # Copying and distribution of this file, with or without modification, are |
560 | 456 | # permitted in any medium without royalty provided the copyright notice |
561 | 457 | # and this notice are preserved. This file is offered as-is, without any |
562 | 458 | # warranty. |
563 | 459 | |
564 | #serial 14 | |
460 | #serial 17 | |
565 | 461 | |
566 | 462 | AC_DEFUN([AX_COMPILER_FLAGS_CFLAGS],[ |
567 | 463 | AC_REQUIRE([AC_PROG_SED]) |
574 | 470 | [m4_normalize(ifelse([$1],,[WARN_CFLAGS],[$1]))]) |
575 | 471 | |
576 | 472 | 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;]) | |
577 | 480 | |
578 | 481 | # Always pass -Werror=unknown-warning-option to get Clang to fail on bad |
579 | 482 | # flags, otherwise they are always appended to the warn_cflags variable, and |
600 | 503 | ],ax_warn_cflags_variable,[$ax_compiler_flags_test]) |
601 | 504 | |
602 | 505 | 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 | ||
603 | 519 | # "yes" flags |
604 | 520 | AX_APPEND_COMPILE_FLAGS([ dnl |
605 | 521 | -Wall dnl |
606 | 522 | -Wextra dnl |
607 | 523 | -Wundef dnl |
608 | -Wnested-externs dnl | |
609 | 524 | -Wwrite-strings dnl |
610 | 525 | -Wpointer-arith dnl |
611 | 526 | -Wmissing-declarations dnl |
612 | -Wmissing-prototypes dnl | |
613 | -Wstrict-prototypes dnl | |
614 | 527 | -Wredundant-decls dnl |
615 | 528 | -Wno-unused-parameter dnl |
616 | 529 | -Wno-missing-field-initializers dnl |
617 | -Wdeclaration-after-statement dnl | |
618 | 530 | -Wformat=2 dnl |
619 | -Wold-style-definition dnl | |
620 | 531 | -Wcast-align dnl |
621 | 532 | -Wformat-nonliteral dnl |
622 | 533 | -Wformat-security dnl |
632 | 543 | -Wmissing-include-dirs dnl |
633 | 544 | -Wunused-but-set-variable dnl |
634 | 545 | -Warray-bounds dnl |
635 | -Wimplicit-function-declaration dnl | |
636 | 546 | -Wreturn-type dnl |
637 | 547 | -Wswitch-enum dnl |
638 | 548 | -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 | |
639 | 555 | $4 dnl |
640 | 556 | $5 dnl |
641 | 557 | $6 dnl |
757 | 673 | # LICENSE |
758 | 674 | # |
759 | 675 | # Copyright (c) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk> |
676 | # Copyright (c) 2017, 2018 Reini Urban <rurban@cpan.org> | |
760 | 677 | # |
761 | 678 | # Copying and distribution of this file, with or without modification, are |
762 | 679 | # permitted in any medium without royalty provided the copyright notice |
763 | 680 | # and this notice are preserved. This file is offered as-is, without any |
764 | 681 | # warranty. |
765 | 682 | |
766 | #serial 8 | |
683 | #serial 9 | |
767 | 684 | |
768 | 685 | AC_DEFUN([AX_COMPILER_FLAGS_LDFLAGS],[ |
769 | 686 | AX_REQUIRE_DEFINED([AX_APPEND_LINK_FLAGS]) |
786 | 703 | ax_compiler_flags_test="" |
787 | 704 | ]) |
788 | 705 | |
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 | |
790 | 725 | AX_CHECK_LINK_FLAG([-Wl,--no-as-needed], [ |
791 | 726 | ax_compiler_flags_as_needed_option="-Wl,--no-as-needed" |
792 | 727 | ], [ |
1224 | 1159 | AS_VAR_IF([$1], [""], [$5], [$4])dnl |
1225 | 1160 | ])dnl PKG_CHECK_VAR |
1226 | 1161 | |
1227 | # Copyright (C) 2002-2017 Free Software Foundation, Inc. | |
1162 | # Copyright (C) 2002-2018 Free Software Foundation, Inc. | |
1228 | 1163 | # |
1229 | 1164 | # This file is free software; the Free Software Foundation |
1230 | 1165 | # gives unlimited permission to copy and/or distribute it, |
1236 | 1171 | # generated from the m4 files accompanying Automake X.Y. |
1237 | 1172 | # (This private macro should not be called outside this file.) |
1238 | 1173 | AC_DEFUN([AM_AUTOMAKE_VERSION], |
1239 | [am__api_version='1.15' | |
1174 | [am__api_version='1.16' | |
1240 | 1175 | dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
1241 | 1176 | 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], [], | |
1243 | 1178 | [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
1244 | 1179 | ]) |
1245 | 1180 | |
1255 | 1190 | # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
1256 | 1191 | # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. |
1257 | 1192 | AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
1258 | [AM_AUTOMAKE_VERSION([1.15.1])dnl | |
1193 | [AM_AUTOMAKE_VERSION([1.16.1])dnl | |
1259 | 1194 | m4_ifndef([AC_AUTOCONF_VERSION], |
1260 | 1195 | [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
1261 | 1196 | _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
1262 | 1197 | |
1263 | 1198 | # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
1264 | 1199 | |
1265 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
1200 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1266 | 1201 | # |
1267 | 1202 | # This file is free software; the Free Software Foundation |
1268 | 1203 | # gives unlimited permission to copy and/or distribute it, |
1314 | 1249 | |
1315 | 1250 | # AM_CONDITIONAL -*- Autoconf -*- |
1316 | 1251 | |
1317 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
1252 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
1318 | 1253 | # |
1319 | 1254 | # This file is free software; the Free Software Foundation |
1320 | 1255 | # gives unlimited permission to copy and/or distribute it, |
1345 | 1280 | Usually this means the macro was only invoked conditionally.]]) |
1346 | 1281 | fi])]) |
1347 | 1282 | |
1348 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
1283 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
1349 | 1284 | # |
1350 | 1285 | # This file is free software; the Free Software Foundation |
1351 | 1286 | # gives unlimited permission to copy and/or distribute it, |
1536 | 1471 | |
1537 | 1472 | # Generate code to set up dependency tracking. -*- Autoconf -*- |
1538 | 1473 | |
1539 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
1474 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
1540 | 1475 | # |
1541 | 1476 | # This file is free software; the Free Software Foundation |
1542 | 1477 | # gives unlimited permission to copy and/or distribute it, |
1543 | 1478 | # with or without modifications, as long as this notice is preserved. |
1544 | ||
1545 | 1479 | |
1546 | 1480 | # _AM_OUTPUT_DEPENDENCY_COMMANDS |
1547 | 1481 | # ------------------------------ |
1550 | 1484 | # Older Autoconf quotes --file arguments for eval, but not when files |
1551 | 1485 | # are listed without --file. Let's play safe and only enable the eval |
1552 | 1486 | # 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]) | |
1557 | 1492 | shift |
1558 | for mf | |
1493 | # Used to flag and report bootstrapping failures. | |
1494 | am_rc=0 | |
1495 | for am_mf | |
1559 | 1496 | do |
1560 | 1497 | # 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 | |
1568 | 1502 | # 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=$? | |
1595 | 1510 | 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 | |
1596 | 1522 | } |
1597 | 1523 | ])# _AM_OUTPUT_DEPENDENCY_COMMANDS |
1598 | 1524 | |
1601 | 1527 | # ----------------------------- |
1602 | 1528 | # This macro should only be invoked once -- use via AC_REQUIRE. |
1603 | 1529 | # |
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. | |
1607 | 1533 | AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], |
1608 | 1534 | [AC_CONFIG_COMMANDS([depfiles], |
1609 | 1535 | [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}"])]) | |
1612 | 1537 | |
1613 | 1538 | # Do all the work for Automake. -*- Autoconf -*- |
1614 | 1539 | |
1615 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
1540 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
1616 | 1541 | # |
1617 | 1542 | # This file is free software; the Free Software Foundation |
1618 | 1543 | # gives unlimited permission to copy and/or distribute it, |
1699 | 1624 | AC_REQUIRE([AC_PROG_MKDIR_P])dnl |
1700 | 1625 | # For better backward compatibility. To be removed once Automake 1.9.x |
1701 | 1626 | # 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> | |
1704 | 1629 | AC_SUBST([mkdir_p], ['$(MKDIR_P)']) |
1705 | 1630 | # We need awk for the "check" target (and possibly the TAP driver). The |
1706 | 1631 | # system "awk" is bad on some platforms. |
1767 | 1692 | Aborting the configuration process, to ensure you take notice of the issue. |
1768 | 1693 | |
1769 | 1694 | 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/>. | |
1771 | 1696 | |
1772 | 1697 | If you want to complete the configuration process using your problematic |
1773 | 1698 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
1809 | 1734 | done |
1810 | 1735 | echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
1811 | 1736 | |
1812 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
1737 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1813 | 1738 | # |
1814 | 1739 | # This file is free software; the Free Software Foundation |
1815 | 1740 | # gives unlimited permission to copy and/or distribute it, |
1830 | 1755 | fi |
1831 | 1756 | AC_SUBST([install_sh])]) |
1832 | 1757 | |
1833 | # Copyright (C) 2003-2017 Free Software Foundation, Inc. | |
1758 | # Copyright (C) 2003-2018 Free Software Foundation, Inc. | |
1834 | 1759 | # |
1835 | 1760 | # This file is free software; the Free Software Foundation |
1836 | 1761 | # gives unlimited permission to copy and/or distribute it, |
1851 | 1776 | |
1852 | 1777 | # Check to see how 'make' treats includes. -*- Autoconf -*- |
1853 | 1778 | |
1854 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
1779 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1855 | 1780 | # |
1856 | 1781 | # This file is free software; the Free Software Foundation |
1857 | 1782 | # gives unlimited permission to copy and/or distribute it, |
1859 | 1784 | |
1860 | 1785 | # AM_MAKE_INCLUDE() |
1861 | 1786 | # ----------------- |
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. | |
1863 | 1789 | 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' | |
1866 | 1792 | am__doit: |
1867 | @echo this is the am__doit target | |
1793 | @echo this is the am__doit target >confinc.out | |
1868 | 1794 | .PHONY: am__doit |
1869 | 1795 | 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]) | |
1872 | 1796 | am__include="#" |
1873 | 1797 | 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])]) | |
1901 | 1819 | |
1902 | 1820 | # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- |
1903 | 1821 | |
1904 | # Copyright (C) 1997-2017 Free Software Foundation, Inc. | |
1822 | # Copyright (C) 1997-2018 Free Software Foundation, Inc. | |
1905 | 1823 | # |
1906 | 1824 | # This file is free software; the Free Software Foundation |
1907 | 1825 | # gives unlimited permission to copy and/or distribute it, |
1940 | 1858 | |
1941 | 1859 | # Helper functions for option handling. -*- Autoconf -*- |
1942 | 1860 | |
1943 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
1861 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
1944 | 1862 | # |
1945 | 1863 | # This file is free software; the Free Software Foundation |
1946 | 1864 | # gives unlimited permission to copy and/or distribute it, |
1969 | 1887 | AC_DEFUN([_AM_IF_OPTION], |
1970 | 1888 | [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) |
1971 | 1889 | |
1972 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
1890 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
1973 | 1891 | # |
1974 | 1892 | # This file is free software; the Free Software Foundation |
1975 | 1893 | # gives unlimited permission to copy and/or distribute it, |
2016 | 1934 | # For backward compatibility. |
2017 | 1935 | AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) |
2018 | 1936 | |
2019 | # Copyright (C) 1999-2017 Free Software Foundation, Inc. | |
1937 | # Copyright (C) 1999-2018 Free Software Foundation, Inc. | |
2020 | 1938 | # |
2021 | 1939 | # This file is free software; the Free Software Foundation |
2022 | 1940 | # gives unlimited permission to copy and/or distribute it, |
2049 | 1967 | [ |
2050 | 1968 | dnl Find a Python interpreter. Python versions prior to 2.0 are not |
2051 | 1969 | dnl supported. (2.0 was released on October 16, 2000). |
2052 | dnl FIXME: Remove the need to hard-code Python versions here. | |
2053 | 1970 | 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]) | |
2056 | 1976 | |
2057 | 1977 | AC_ARG_VAR([PYTHON], [the Python interpreter]) |
2058 | 1978 | |
2252 | 2172 | sys.exit(sys.hexversion < minverhex)" |
2253 | 2173 | AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) |
2254 | 2174 | |
2255 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
2175 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
2256 | 2176 | # |
2257 | 2177 | # This file is free software; the Free Software Foundation |
2258 | 2178 | # gives unlimited permission to copy and/or distribute it, |
2271 | 2191 | |
2272 | 2192 | # Check to make sure that the build environment is sane. -*- Autoconf -*- |
2273 | 2193 | |
2274 | # Copyright (C) 1996-2017 Free Software Foundation, Inc. | |
2194 | # Copyright (C) 1996-2018 Free Software Foundation, Inc. | |
2275 | 2195 | # |
2276 | 2196 | # This file is free software; the Free Software Foundation |
2277 | 2197 | # gives unlimited permission to copy and/or distribute it, |
2352 | 2272 | rm -f conftest.file |
2353 | 2273 | ]) |
2354 | 2274 | |
2355 | # Copyright (C) 2009-2017 Free Software Foundation, Inc. | |
2275 | # Copyright (C) 2009-2018 Free Software Foundation, Inc. | |
2356 | 2276 | # |
2357 | 2277 | # This file is free software; the Free Software Foundation |
2358 | 2278 | # gives unlimited permission to copy and/or distribute it, |
2412 | 2332 | _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl |
2413 | 2333 | ]) |
2414 | 2334 | |
2415 | # Copyright (C) 2001-2017 Free Software Foundation, Inc. | |
2335 | # Copyright (C) 2001-2018 Free Software Foundation, Inc. | |
2416 | 2336 | # |
2417 | 2337 | # This file is free software; the Free Software Foundation |
2418 | 2338 | # gives unlimited permission to copy and/or distribute it, |
2440 | 2360 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2441 | 2361 | AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
2442 | 2362 | |
2443 | # Copyright (C) 2006-2017 Free Software Foundation, Inc. | |
2363 | # Copyright (C) 2006-2018 Free Software Foundation, Inc. | |
2444 | 2364 | # |
2445 | 2365 | # This file is free software; the Free Software Foundation |
2446 | 2366 | # gives unlimited permission to copy and/or distribute it, |
2459 | 2379 | |
2460 | 2380 | # Check how to create a tarball. -*- Autoconf -*- |
2461 | 2381 | |
2462 | # Copyright (C) 2004-2017 Free Software Foundation, Inc. | |
2382 | # Copyright (C) 2004-2018 Free Software Foundation, Inc. | |
2463 | 2383 | # |
2464 | 2384 | # This file is free software; the Free Software Foundation |
2465 | 2385 | # gives unlimited permission to copy and/or distribute it, |
0 | 0 | #! /bin/sh |
1 | 1 | # Wrapper for compilers which do not understand '-c -o'. |
2 | 2 | |
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. | |
6 | 6 | # Written by Tom Tromey <tromey@cygnus.com>. |
7 | 7 | # |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | # |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
254 | 254 | echo "compile $scriptversion" |
255 | 255 | exit $? |
256 | 256 | ;; |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) | |
257 | cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ | |
258 | icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) | |
258 | 259 | func_cl_wrapper "$@" # Doesn't return... |
259 | 260 | ;; |
260 | 261 | esac |
338 | 339 | # Local Variables: |
339 | 340 | # mode: shell-script |
340 | 341 | # sh-indentation: 2 |
341 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
342 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
342 | 343 | # time-stamp-start: "scriptversion=" |
343 | 344 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
344 | # time-stamp-time-zone: "UTC" | |
345 | # time-stamp-time-zone: "UTC0" | |
345 | 346 | # time-stamp-end: "; # UTC" |
346 | 347 | # End: |
0 | 0 | #! /bin/sh |
1 | 1 | # 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. | |
3 | 3 | # |
4 | 4 | # Report bugs to <rgerhards@adiscon.com>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='librelp' |
591 | 591 | 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' | |
594 | 594 | PACKAGE_BUGREPORT='rgerhards@adiscon.com' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
693 | 693 | AMDEPBACKSLASH |
694 | 694 | AMDEP_FALSE |
695 | 695 | AMDEP_TRUE |
696 | am__quote | |
697 | 696 | am__include |
698 | 697 | DEPDIR |
699 | 698 | OBJEXT |
788 | 787 | PACKAGE_TARNAME |
789 | 788 | PACKAGE_NAME |
790 | 789 | PATH_SEPARATOR |
791 | SHELL' | |
790 | SHELL | |
791 | am__quote' | |
792 | 792 | ac_subst_files='' |
793 | 793 | ac_user_opts=' |
794 | 794 | enable_option_checking |
1377 | 1377 | # Omit some internal or obsolete options to make the list less imposing. |
1378 | 1378 | # This message is too long to be a string in the A/UX 3.1 sh. |
1379 | 1379 | 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. | |
1381 | 1381 | |
1382 | 1382 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1383 | 1383 | |
1448 | 1448 | |
1449 | 1449 | if test -n "$ac_init_help"; then |
1450 | 1450 | 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:";; | |
1452 | 1452 | esac |
1453 | 1453 | cat <<\_ACEOF |
1454 | 1454 | |
1578 | 1578 | test -n "$ac_init_help" && exit $ac_status |
1579 | 1579 | if $ac_init_version; then |
1580 | 1580 | cat <<\_ACEOF |
1581 | librelp configure 1.9.0 | |
1581 | librelp configure 1.10.0 | |
1582 | 1582 | generated by GNU Autoconf 2.69 |
1583 | 1583 | |
1584 | 1584 | Copyright (C) 2012 Free Software Foundation, Inc. |
2104 | 2104 | This file contains any messages produced by compilers while |
2105 | 2105 | running configure, to aid debugging if configure makes a mistake. |
2106 | 2106 | |
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 | |
2108 | 2108 | generated by GNU Autoconf 2.69. Invocation command line was |
2109 | 2109 | |
2110 | 2110 | $ $0 $@ |
2455 | 2455 | |
2456 | 2456 | # change to the one below if Travis has a timeout |
2457 | 2457 | #AM_INIT_AUTOMAKE([subdir-objects serial-tests]) |
2458 | am__api_version='1.15' | |
2458 | am__api_version='1.16' | |
2459 | 2459 | |
2460 | 2460 | ac_aux_dir= |
2461 | 2461 | for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
2970 | 2970 | |
2971 | 2971 | # Define the identity of the package. |
2972 | 2972 | PACKAGE='librelp' |
2973 | VERSION='1.9.0' | |
2973 | VERSION='1.10.0' | |
2974 | 2974 | |
2975 | 2975 | |
2976 | 2976 | cat >>confdefs.h <<_ACEOF |
3000 | 3000 | |
3001 | 3001 | # For better backward compatibility. To be removed once Automake 1.9.x |
3002 | 3002 | # 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> | |
3005 | 3005 | mkdir_p='$(MKDIR_P)' |
3006 | 3006 | |
3007 | 3007 | # We need awk for the "check" target (and possibly the TAP driver). The |
3052 | 3052 | Aborting the configuration process, to ensure you take notice of the issue. |
3053 | 3053 | |
3054 | 3054 | 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/>. | |
3056 | 3056 | |
3057 | 3057 | If you want to complete the configuration process using your problematic |
3058 | 3058 | 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
3211 | 3211 | |
3212 | 3212 | # Find any Python interpreter. |
3213 | 3213 | 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 | |
3215 | 3215 | do |
3216 | 3216 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3217 | 3217 | set dummy $ac_prog; ac_word=$2 |
4263 | 4263 | |
4264 | 4264 | ac_config_commands="$ac_config_commands depfiles" |
4265 | 4265 | |
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' | |
4269 | 4269 | am__doit: |
4270 | @echo this is the am__doit target | |
4270 | @echo this is the am__doit target >confinc.out | |
4271 | 4271 | .PHONY: am__doit |
4272 | 4272 | 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; } | |
4276 | 4273 | am__include="#" |
4277 | 4274 | 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 | ;; | |
4288 | 4296 | 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; } | |
4305 | 4305 | |
4306 | 4306 | # Check whether --enable-dependency-tracking was given. |
4307 | 4307 | if test "${enable_dependency_tracking+set}" = set; then : |
6305 | 6305 | fi |
6306 | 6306 | |
6307 | 6307 | : ${AR=ar} |
6308 | : ${AR_FLAGS=cru} | |
6308 | : ${AR_FLAGS=cr} | |
6309 | 6309 | |
6310 | 6310 | |
6311 | 6311 | |
6806 | 6806 | test $ac_status = 0; }; then |
6807 | 6807 | # Now try to grab the symbols. |
6808 | 6808 | 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 | |
6814 | 6811 | # Try sorting and uniquifying the output. |
6815 | 6812 | if sort "$nlist" | uniq > "$nlist"T; then |
6816 | 6813 | mv -f "$nlist"T "$nlist" |
8029 | 8026 | _LT_EOF |
8030 | 8027 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
8031 | 8028 | $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 | |
8034 | 8031 | echo "$RANLIB libconftest.a" >&5 |
8035 | 8032 | $RANLIB libconftest.a 2>&5 |
8036 | 8033 | cat > conftest.c << _LT_EOF |
9157 | 9154 | ecc*) |
9158 | 9155 | lt_prog_compiler_wl='-Wl,' |
9159 | 9156 | 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' | |
9160 | 9163 | lt_prog_compiler_static='-static' |
9161 | 9164 | ;; |
9162 | 9165 | # icc used to be incompatible with GCC. |
12919 | 12922 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
12920 | 12923 | |
12921 | 12924 | |
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 | ||
12922 | 12946 | # Always pass -Werror=unknown-warning-option to get Clang to fail on bad |
12923 | 12947 | # flags, otherwise they are always appended to the warn_cflags variable, and |
12924 | 12948 | # Clang warns on them for every compilation unit. |
13084 | 13108 | |
13085 | 13109 | if test "$ax_enable_compile_warnings" != "no"; then : |
13086 | 13110 | |
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 | ||
13087 | 13190 | # "yes" flags |
13088 | 13191 | |
13089 | 13192 | |
13090 | 13193 | |
13091 | 13194 | |
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 | |
13093 | 13196 | as_CACHEVAR=`$as_echo "ax_cv_check_cflags_$ax_compiler_flags_test_$flag" | $as_tr_sh` |
13094 | 13197 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5 |
13095 | 13198 | $as_echo_n "checking whether C compiler accepts $flag... " >&6; } |
13440 | 13543 | fi |
13441 | 13544 | |
13442 | 13545 | |
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 | |
13444 | 14001 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,--no-as-needed" >&5 |
13445 | 14002 | $as_echo_n "checking whether the linker accepts -Wl,--no-as-needed... " >&6; } |
13446 | 14003 | if ${ax_cv_check_ldflags___Wl___no_as_needed+:} false; then : |
15539 | 16096 | # report actual input values of CONFIG_FILES etc. instead of their |
15540 | 16097 | # values after options handling. |
15541 | 16098 | 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 | |
15543 | 16100 | generated by GNU Autoconf 2.69. Invocation command line was |
15544 | 16101 | |
15545 | 16102 | CONFIG_FILES = $CONFIG_FILES |
15605 | 16162 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15606 | 16163 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15607 | 16164 | ac_cs_version="\\ |
15608 | librelp config.status 1.9.0 | |
16165 | librelp config.status 1.10.0 | |
15609 | 16166 | configured by $0, generated by GNU Autoconf 2.69, |
15610 | 16167 | with options \\"\$ac_cs_config\\" |
15611 | 16168 | |
15724 | 16281 | # |
15725 | 16282 | # INIT-COMMANDS |
15726 | 16283 | # |
15727 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | |
16284 | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" | |
15728 | 16285 | |
15729 | 16286 | |
15730 | 16287 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
16625 | 17182 | # Older Autoconf quotes --file arguments for eval, but not when files |
16626 | 17183 | # are listed without --file. Let's play safe and only enable the eval |
16627 | 17184 | # 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 | |
16632 | 17195 | shift |
16633 | for mf | |
17196 | # Used to flag and report bootstrapping failures. | |
17197 | am_rc=0 | |
17198 | for am_mf | |
16634 | 17199 | do |
16635 | 17200 | # 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 | |
16643 | 17205 | # 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" | | |
16651 | 17214 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
16652 | 17215 | s//\1/ |
16653 | 17216 | q |
16665 | 17228 | q |
16666 | 17229 | } |
16667 | 17230 | 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 '/^.*\/\([^/][^/]*\)\/*$/{ | |
16694 | 17237 | s//\1/ |
16695 | 17238 | q |
16696 | 17239 | } |
16697 | /^X\(\/\/\)[^/].*/{ | |
17240 | /^X\/\(\/\/\)$/{ | |
16698 | 17241 | s//\1/ |
16699 | 17242 | q |
16700 | 17243 | } |
16701 | /^X\(\/\/\)$/{ | |
16702 | s//\1/ | |
16703 | q | |
16704 | } | |
16705 | /^X\(\/\).*/{ | |
17244 | /^X\/\(\/\).*/{ | |
16706 | 17245 | s//\1/ |
16707 | 17246 | q |
16708 | 17247 | } |
16709 | 17248 | 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=$? | |
16714 | 17258 | 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 | |
16715 | 17273 | } |
16716 | 17274 | ;; |
16717 | 17275 | "libtool":C) |
1 | 1 | # Process this file with autoconf to produce a configure script. |
2 | 2 | |
3 | 3 | AC_PREREQ(2.61) |
4 | AC_INIT([librelp], [1.9.0], [rgerhards@adiscon.com]) | |
4 | AC_INIT([librelp], [1.10.0], [rgerhards@adiscon.com]) | |
5 | 5 | |
6 | 6 | # change to the one below if Travis has a timeout |
7 | 7 | #AM_INIT_AUTOMAKE([subdir-objects serial-tests]) |
0 | 0 | #! /bin/sh |
1 | 1 | # depcomp - compile a program generating dependencies as side-effects |
2 | 2 | |
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. | |
6 | 6 | |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
782 | 782 | # Local Variables: |
783 | 783 | # mode: shell-script |
784 | 784 | # sh-indentation: 2 |
785 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
785 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
786 | 786 | # time-stamp-start: "scriptversion=" |
787 | 787 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
788 | 788 | # 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
280 | 280 | *config.status*) \ |
281 | 281 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
282 | 282 | *) \ |
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);; \ | |
285 | 285 | esac; |
286 | 286 | |
287 | 287 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
305 | 305 | cscope cscopelist: |
306 | 306 | |
307 | 307 | |
308 | distdir: $(DISTFILES) | |
308 | distdir: $(BUILT_SOURCES) | |
309 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
310 | ||
311 | distdir-am: $(DISTFILES) | |
309 | 312 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
310 | 313 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
311 | 314 | list='$(DISTFILES)'; \ |
0 | 0 | #!/bin/sh |
1 | 1 | # install - install a program, script, or datafile |
2 | 2 | |
3 | scriptversion=2014-09-12.12; # UTC | |
3 | scriptversion=2018-03-11.20; # UTC | |
4 | 4 | |
5 | 5 | # This originates from X11R5 (mit/util/scripts/install.sh), which was |
6 | 6 | # later released in X11R6 (xc/config/util/install.sh) with the |
270 | 270 | fi |
271 | 271 | dst=$dst_arg |
272 | 272 | |
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. | |
275 | 274 | if test -d "$dst"; then |
276 | 275 | if test "$is_target_a_directory" = never; then |
277 | 276 | echo "$0: $dst_arg: Is a directory" >&2 |
278 | 277 | exit 1 |
279 | 278 | fi |
280 | 279 | 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 | |
282 | 285 | dstdir_status=0 |
283 | 286 | else |
284 | 287 | dstdir=`dirname "$dst"` |
286 | 289 | dstdir_status=$? |
287 | 290 | fi |
288 | 291 | fi |
292 | ||
293 | case $dstdir in | |
294 | */) dstdirslash=$dstdir;; | |
295 | *) dstdirslash=$dstdir/;; | |
296 | esac | |
289 | 297 | |
290 | 298 | obsolete_mkdir_used=false |
291 | 299 | |
323 | 331 | # is incompatible with FreeBSD 'install' when (umask & 300) != 0. |
324 | 332 | ;; |
325 | 333 | *) |
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. | |
328 | 336 | tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ |
337 | ||
329 | 338 | trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 |
330 | 339 | |
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. | |
334 | 344 | if (umask $mkdir_umask && |
335 | 345 | $mkdirprog $mkdir_mode "$tmpdir" && |
336 | 346 | exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 |
433 | 443 | else |
434 | 444 | |
435 | 445 | # 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.$$_ | |
438 | 448 | |
439 | 449 | # Trap to clean up those temp files at exit. |
440 | 450 | trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 |
499 | 509 | done |
500 | 510 | |
501 | 511 | # Local variables: |
502 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
512 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
503 | 513 | # time-stamp-start: "scriptversion=" |
504 | 514 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
505 | # time-stamp-time-zone: "UTC" | |
515 | # time-stamp-time-zone: "UTC0" | |
506 | 516 | # time-stamp-end: "; # UTC" |
507 | 517 | # End: |
30 | 30 | |
31 | 31 | PROGRAM=libtool |
32 | 32 | PACKAGE=libtool |
33 | VERSION="2.4.6 Debian-2.4.6-2" | |
33 | VERSION="2.4.6 Debian-2.4.6-14" | |
34 | 34 | package_revision=2.4.6 |
35 | 35 | |
36 | 36 | |
386 | 386 | # putting '$debug_cmd' at the start of all your functions, you can get |
387 | 387 | # bash to show function call trace with: |
388 | 388 | # |
389 | # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
389 | # debug_cmd='echo "${FUNCNAME[0]} $*" >&2' bash your-script-name | |
390 | 390 | debug_cmd=${debug_cmd-":"} |
391 | 391 | exit_cmd=: |
392 | 392 | |
1369 | 1369 | #! /bin/sh |
1370 | 1370 | |
1371 | 1371 | # Set a version string for this script. |
1372 | scriptversion=2014-01-07.03; # UTC | |
1372 | scriptversion=2015-10-07.11; # UTC | |
1373 | 1373 | |
1374 | 1374 | # A portable, pluggable option parser for Bourne shell. |
1375 | 1375 | # Written by Gary V. Vaughan, 2010 |
1529 | 1529 | { |
1530 | 1530 | $debug_cmd |
1531 | 1531 | |
1532 | _G_rc_run_hooks=false | |
1533 | ||
1532 | 1534 | case " $hookable_fns " in |
1533 | 1535 | *" $1 "*) ;; |
1534 | 1536 | *) func_fatal_error "'$1' does not support hook funcions.n" ;; |
1537 | 1539 | eval _G_hook_fns=\$$1_hooks; shift |
1538 | 1540 | |
1539 | 1541 | 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 | |
1546 | 1549 | done |
1547 | 1550 | |
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 | |
1550 | 1552 | } |
1551 | 1553 | |
1552 | 1554 | |
1556 | 1558 | ## --------------- ## |
1557 | 1559 | |
1558 | 1560 | # 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 | |
1561 | 1563 | # 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: | |
1563 | 1571 | # |
1564 | 1572 | # my_options_prep () |
1565 | 1573 | # { |
1569 | 1577 | # usage_message=$usage_message' |
1570 | 1578 | # -s, --silent don'\''t print informational messages |
1571 | 1579 | # ' |
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 | |
1575 | 1585 | # } |
1576 | 1586 | # func_add_hook func_options_prep my_options_prep |
1577 | 1587 | # |
1580 | 1590 | # { |
1581 | 1591 | # $debug_cmd |
1582 | 1592 | # |
1593 | # args_changed=false | |
1594 | # | |
1583 | 1595 | # # Note that for efficiency, we parse as many options as we can |
1584 | 1596 | # # recognise in a loop before passing the remainder back to the |
1585 | 1597 | # # caller on the first unrecognised argument we encounter. |
1586 | 1598 | # while test $# -gt 0; do |
1587 | 1599 | # opt=$1; shift |
1588 | 1600 | # case $opt in |
1589 | # --silent|-s) opt_silent=: ;; | |
1601 | # --silent|-s) opt_silent=: | |
1602 | # args_changed=: | |
1603 | # ;; | |
1590 | 1604 | # # Separate non-argument short options: |
1591 | 1605 | # -s*) func_split_short_opt "$_G_opt" |
1592 | 1606 | # set dummy "$func_split_short_opt_name" \ |
1593 | 1607 | # "-$func_split_short_opt_arg" ${1+"$@"} |
1594 | 1608 | # shift |
1609 | # args_changed=: | |
1595 | 1610 | # ;; |
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 ;; | |
1597 | 1615 | # esac |
1598 | 1616 | # done |
1599 | 1617 | # |
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 | |
1602 | 1624 | # } |
1603 | 1625 | # func_add_hook func_parse_options my_silent_option |
1604 | 1626 | # |
1610 | 1632 | # $opt_silent && $opt_verbose && func_fatal_help "\ |
1611 | 1633 | # '--silent' and '--verbose' options are mutually exclusive." |
1612 | 1634 | # |
1613 | # func_quote_for_eval ${1+"$@"} | |
1614 | # my_option_validation_result=$func_quote_for_eval_result | |
1635 | # false | |
1615 | 1636 | # } |
1616 | 1637 | # func_add_hook func_validate_options my_option_validation |
1617 | 1638 | # |
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 | |
1619 | 1640 | # options you parse. It's preferable to append if you can, so that |
1620 | 1641 | # 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 | } | |
1621 | 1659 | |
1622 | 1660 | |
1623 | 1661 | # func_options [ARG]... |
1629 | 1667 | { |
1630 | 1668 | $debug_cmd |
1631 | 1669 | |
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 | |
1643 | 1692 | } |
1644 | 1693 | |
1645 | 1694 | |
1648 | 1697 | # All initialisations required before starting the option parse loop. |
1649 | 1698 | # Note that when calling hook functions, we pass through the list of |
1650 | 1699 | # 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 | |
1652 | 1701 | # modified list must be put in 'func_run_hooks_result' before |
1653 | # returning. | |
1702 | # returning $EXIT_SUCCESS (otherwise $EXIT_FAILURE is returned). | |
1654 | 1703 | func_hookable func_options_prep |
1655 | 1704 | func_options_prep () |
1656 | 1705 | { |
1660 | 1709 | opt_verbose=false |
1661 | 1710 | opt_warning_types= |
1662 | 1711 | |
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 | |
1667 | 1720 | } |
1668 | 1721 | |
1669 | 1722 | |
1677 | 1730 | |
1678 | 1731 | func_parse_options_result= |
1679 | 1732 | |
1733 | _G_rc_parse_options=false | |
1680 | 1734 | # this just eases exit handling |
1681 | 1735 | while test $# -gt 0; do |
1682 | 1736 | # Defer to hook functions for initial option parsing, so they |
1683 | 1737 | # 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 | |
1688 | 1742 | |
1689 | 1743 | # Break out of the loop if we already parsed every option. |
1690 | 1744 | test $# -gt 0 || break |
1691 | 1745 | |
1746 | _G_match_parse_options=: | |
1692 | 1747 | _G_opt=$1 |
1693 | 1748 | shift |
1694 | 1749 | case $_G_opt in |
1703 | 1758 | ;; |
1704 | 1759 | |
1705 | 1760 | --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 | |
1707 | 1765 | case " $warning_categories $1" in |
1708 | 1766 | *" $1 "*) |
1709 | 1767 | # trailing space prevents matching last $1 above |
1756 | 1814 | shift |
1757 | 1815 | ;; |
1758 | 1816 | |
1759 | --) break ;; | |
1817 | --) _G_rc_parse_options=: ; break ;; | |
1760 | 1818 | -*) 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 | ;; | |
1762 | 1823 | esac |
1824 | ||
1825 | $_G_match_parse_options && _G_rc_parse_options=: | |
1763 | 1826 | done |
1764 | 1827 | |
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 | |
1768 | 1836 | } |
1769 | 1837 | |
1770 | 1838 | |
1777 | 1845 | { |
1778 | 1846 | $debug_cmd |
1779 | 1847 | |
1848 | _G_rc_validate_options=false | |
1849 | ||
1780 | 1850 | # Display all warnings if -W was not given. |
1781 | 1851 | test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" |
1782 | 1852 | |
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 | |
1784 | 1858 | |
1785 | 1859 | # Bail if the options were screwed! |
1786 | 1860 | $exit_cmd $EXIT_FAILURE |
1787 | 1861 | |
1788 | # save modified positional parameters for caller | |
1789 | func_validate_options_result=$func_run_hooks_result | |
1862 | $_G_rc_validate_options | |
1790 | 1863 | } |
1791 | 1864 | |
1792 | 1865 | |
2067 | 2140 | compiler: $LTCC |
2068 | 2141 | compiler flags: $LTCFLAGS |
2069 | 2142 | linker: $LD (gnu? $with_gnu_ld) |
2070 | version: $progname $scriptversion Debian-2.4.6-2 | |
2143 | version: $progname $scriptversion Debian-2.4.6-14 | |
2071 | 2144 | automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` |
2072 | 2145 | autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` |
2073 | 2146 | |
2269 | 2342 | nonopt= |
2270 | 2343 | preserve_args= |
2271 | 2344 | |
2345 | _G_rc_lt_options_prep=: | |
2346 | ||
2272 | 2347 | # Shorthand for --mode=foo, only valid as the first argument |
2273 | 2348 | case $1 in |
2274 | 2349 | clean|clea|cle|cl) |
2292 | 2367 | uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) |
2293 | 2368 | shift; set dummy --mode uninstall ${1+"$@"}; shift |
2294 | 2369 | ;; |
2370 | *) | |
2371 | _G_rc_lt_options_prep=false | |
2372 | ;; | |
2295 | 2373 | esac |
2296 | 2374 | |
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 | |
2300 | 2382 | } |
2301 | 2383 | func_add_hook func_options_prep libtool_options_prep |
2302 | 2384 | |
2308 | 2390 | { |
2309 | 2391 | $debug_cmd |
2310 | 2392 | |
2393 | _G_rc_lt_parse_options=false | |
2394 | ||
2311 | 2395 | # Perform our own loop to consume as many options as possible in |
2312 | 2396 | # each iteration. |
2313 | 2397 | while test $# -gt 0; do |
2398 | _G_match_lt_parse_options=: | |
2314 | 2399 | _G_opt=$1 |
2315 | 2400 | shift |
2316 | 2401 | case $_G_opt in |
2385 | 2470 | func_append preserve_args " $_G_opt" |
2386 | 2471 | ;; |
2387 | 2472 | |
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 | ;; | |
2390 | 2478 | esac |
2479 | $_G_match_lt_parse_options && _G_rc_lt_parse_options=: | |
2391 | 2480 | done |
2392 | 2481 | |
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 | |
2397 | 2489 | } |
2398 | 2490 | func_add_hook func_parse_options libtool_parse_options |
2399 | 2491 | |
7274 | 7366 | # -specs=* GCC specs files |
7275 | 7367 | # -stdlib=* select c++ std lib with clang |
7276 | 7368 | # -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++ | |
7277 | 7372 | -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ |
7278 | 7373 | -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ |
7279 | 7374 | -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ |
7280 | -specs=*|-fsanitize=*) | |
7375 | -specs=*|-fsanitize=*|-fuse-ld=*|-static-*|-fcilkplus) | |
7281 | 7376 | func_quote_for_eval "$arg" |
7282 | 7377 | arg=$func_quote_for_eval_result |
7283 | 7378 | func_append compile_command " $arg" |
1040 | 1040 | _LT_EOF |
1041 | 1041 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
1042 | 1042 | $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 | |
1045 | 1045 | echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
1046 | 1046 | $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
1047 | 1047 | cat > conftest.c << _LT_EOF |
1491 | 1491 | m4_defun([_LT_PROG_AR], |
1492 | 1492 | [AC_CHECK_TOOLS(AR, [ar], false) |
1493 | 1493 | : ${AR=ar} |
1494 | : ${AR_FLAGS=cru} | |
1494 | : ${AR_FLAGS=cr} | |
1495 | 1495 | _LT_DECL([], [AR], [1], [The archiver]) |
1496 | 1496 | _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) |
1497 | 1497 | |
4062 | 4062 | if AC_TRY_EVAL(ac_compile); then |
4063 | 4063 | # Now try to grab the symbols. |
4064 | 4064 | 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 | |
4066 | 4067 | # Try sorting and uniquifying the output. |
4067 | 4068 | if sort "$nlist" | uniq > "$nlist"T; then |
4068 | 4069 | mv -f "$nlist"T "$nlist" |
4702 | 4703 | _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
4703 | 4704 | _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' |
4704 | 4705 | ;; |
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 | ;; | |
4705 | 4712 | # icc used to be incompatible with GCC. |
4706 | 4713 | # ICC 10 doesn't accept -KPIC any more. |
4707 | 4714 | icc* | ifort*) |
6437 | 6444 | # Commands to make compiler produce verbose output that lists |
6438 | 6445 | # what "hidden" libraries, object files and flags are used when |
6439 | 6446 | # 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"' | |
6441 | 6448 | |
6442 | 6449 | else |
6443 | 6450 | GXX=no |
6812 | 6819 | # explicitly linking system object files so we need to strip them |
6813 | 6820 | # from the output so that they don't get included in the library |
6814 | 6821 | # 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"' | |
6816 | 6823 | ;; |
6817 | 6824 | *) |
6818 | 6825 | if test yes = "$GXX"; then |
6877 | 6884 | # explicitly linking system object files so we need to strip them |
6878 | 6885 | # from the output so that they don't get included in the library |
6879 | 6886 | # 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"' | |
6881 | 6888 | ;; |
6882 | 6889 | *) |
6883 | 6890 | if test yes = "$GXX"; then |
7216 | 7223 | # Commands to make compiler produce verbose output that lists |
7217 | 7224 | # what "hidden" libraries, object files and flags are used when |
7218 | 7225 | # 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"' | |
7220 | 7227 | |
7221 | 7228 | else |
7222 | 7229 | # FIXME: insert proper C++ library support |
7300 | 7307 | # Commands to make compiler produce verbose output that lists |
7301 | 7308 | # what "hidden" libraries, object files and flags are used when |
7302 | 7309 | # 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"' | |
7304 | 7311 | else |
7305 | 7312 | # g++ 2.7 appears to require '-G' NOT '-shared' on this |
7306 | 7313 | # platform. |
7311 | 7318 | # Commands to make compiler produce verbose output that lists |
7312 | 7319 | # what "hidden" libraries, object files and flags are used when |
7313 | 7320 | # 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"' | |
7315 | 7322 | fi |
7316 | 7323 | |
7317 | 7324 | _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' |
0 | 0 | #! /bin/sh |
1 | 1 | # Common wrapper for a few potentially missing GNU programs. |
2 | 2 | |
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. | |
6 | 6 | # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. |
7 | 7 | |
8 | 8 | # This program is free software; you can redistribute it and/or modify |
16 | 16 | # GNU General Public License for more details. |
17 | 17 | |
18 | 18 | # 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/>. | |
20 | 20 | |
21 | 21 | # As a special exception to the GNU General Public License, if you |
22 | 22 | # distribute this file as part of a program that contains a |
100 | 100 | exit $st |
101 | 101 | fi |
102 | 102 | |
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 | |
106 | 106 | |
107 | 107 | program_details () |
108 | 108 | { |
206 | 206 | exit $st |
207 | 207 | |
208 | 208 | # Local variables: |
209 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
209 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
210 | 210 | # time-stamp-start: "scriptversion=" |
211 | 211 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
212 | # time-stamp-time-zone: "UTC" | |
212 | # time-stamp-time-zone: "UTC0" | |
213 | 213 | # time-stamp-end: "; # UTC" |
214 | 214 | # End: |
49 | 49 | librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS) $(OPENSSL_LIBS) |
50 | 50 | # info on version-info: |
51 | 51 | # 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[^_]*$$' | |
53 | 53 | |
54 | 54 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
164 | 164 | am__v_at_1 = |
165 | 165 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
166 | 166 | 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 | |
168 | 183 | am__mv = mv -f |
169 | 184 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
170 | 185 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
390 | 405 | librelp_la_LIBADD = $(rt_libs) $(GNUTLS_LIBS) $(OPENSSL_LIBS) |
391 | 406 | # info on version-info: |
392 | 407 | # 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[^_]*$$' | |
394 | 409 | include_HEADERS = librelp.h |
395 | 410 | all: all-am |
396 | 411 | |
413 | 428 | *config.status*) \ |
414 | 429 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
415 | 430 | *) \ |
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);; \ | |
418 | 433 | esac; |
419 | 434 | |
420 | 435 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
480 | 495 | distclean-compile: |
481 | 496 | -rm -f *.tab.c |
482 | 497 | |
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) | |
498 | 519 | |
499 | 520 | .c.o: |
500 | 521 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
705 | 726 | distclean-tags: |
706 | 727 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
707 | 728 | |
708 | distdir: $(DISTFILES) | |
729 | distdir: $(BUILT_SOURCES) | |
730 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
731 | ||
732 | distdir-am: $(DISTFILES) | |
709 | 733 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
710 | 734 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
711 | 735 | list='$(DISTFILES)'; \ |
780 | 804 | mostlyclean-am |
781 | 805 | |
782 | 806 | 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 | |
784 | 822 | -rm -f Makefile |
785 | 823 | distclean-am: clean-am distclean-compile distclean-generic \ |
786 | 824 | distclean-tags |
826 | 864 | installcheck-am: |
827 | 865 | |
828 | 866 | 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 | |
830 | 882 | -rm -f Makefile |
831 | 883 | maintainer-clean-am: distclean-am maintainer-clean-generic |
832 | 884 | |
847 | 899 | |
848 | 900 | .MAKE: install-am install-strip |
849 | 901 | |
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 \ | |
853 | 905 | distclean-libtool distclean-tags distdir dvi dvi-am html \ |
854 | 906 | html-am info info-am install install-am install-data \ |
855 | 907 | install-data-am install-dvi install-dvi-am install-exec \ |
217 | 217 | snprintf((char*)pThis->szVal, sizeof(pThis->szVal), "%d", intVal); |
218 | 218 | pThis->intVal = intVal; |
219 | 219 | } else { |
220 | strncpy((char*)pThis->szVal, (char*)pszVal, sizeof(pThis->szVal)); | |
220 | strncpy((char*)pThis->szVal, (char*)pszVal, sizeof(pThis->szVal) - 1); | |
221 | 221 | /* check if the string actually is an integer... */ |
222 | 222 | Val = 0; |
223 | 223 | i = 0; |
1227 | 1227 | pristringBuf[sizeof(pristringBuf)-1] = '\0'; |
1228 | 1228 | pristring = pristringBuf; |
1229 | 1229 | } else { |
1230 | /* We use custom CipherString if used sets it by SslConfCmd */ | |
1230 | 1231 | pristring = pThis->pristring; |
1231 | 1232 | } |
1232 | 1233 | |
1661 | 1662 | pszCmd = strndup(pCurrentPos, pNextPos-pCurrentPos); |
1662 | 1663 | pCurrentPos = pNextPos+1; |
1663 | 1664 | pNextPos = index(pCurrentPos, '\n'); |
1665 | pNextPos = (pNextPos == NULL ? index(pCurrentPos, ';') : pNextPos); | |
1664 | 1666 | pszValue = (pNextPos == NULL ? |
1665 | 1667 | strdup(pCurrentPos) : |
1666 | 1668 | strndup(pCurrentPos, pNextPos - pCurrentPos)); |
1672 | 1674 | pThis->pEngine->dbgprint((char*)"relpTcpSetSslConfCmd_ossl: " |
1673 | 1675 | "Successfully added Command '%s':'%s'\n", |
1674 | 1676 | 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 | } | |
1675 | 1683 | } |
1676 | 1684 | else { |
1677 | 1685 | snprintf(errmsg, sizeof(errmsg), |
1728 | 1736 | |
1729 | 1737 | // Set SSL_MODE_AUTO_RETRY to SSL obj |
1730 | 1738 | SSL_set_mode(pThis->ssl, SSL_MODE_AUTO_RETRY); |
1731 | ||
1739 | ||
1740 | // Copy Properties from Server TCP obj over | |
1732 | 1741 | pThis->authmode = pSrv->pTcp->authmode; |
1733 | 1742 | 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); | |
1734 | 1745 | |
1735 | 1746 | if(!isAnonAuth(pThis->pSrv->pTcp)) { |
1736 | 1747 | CHKRet(relpTcpSslInitCerts(pThis, pThis->pSrv->ownCertFile, pThis->pSrv->privKey)); |
1737 | 1748 | } else |
1738 | 1749 | pThis->authmode = eRelpAuthMode_None; |
1739 | 1750 | |
1751 | /* Set TLS Options if configured */ | |
1752 | CHKRet(relpTcpSetSslConfCmd_ossl(pThis, pThis->tlsConfigCmd)); | |
1753 | ||
1754 | /* Set TLS Priority Options */ | |
1740 | 1755 | CHKRet(relpTcpTLSSetPrio(pThis)); |
1756 | ||
1741 | 1757 | SSL_set_ex_data(pThis->ssl, 0, pThis); |
1742 | 1758 | |
1743 | 1759 | if (pThis->authmode != eRelpAuthMode_None) { |
1816 | 1832 | CHKRet(relpTcpInitTLS(pThis)); |
1817 | 1833 | } |
1818 | 1834 | |
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 | ||
1836 | 1835 | /*if we reach this point we are in tls mode */ |
1837 | 1836 | pThis->pEngine->dbgprint((char*)"relpTcpConnectTLSInit: TLS Mode\n"); |
1837 | ||
1838 | 1838 | if(!(pThis->ssl = SSL_new(ctx))) { |
1839 | 1839 | relpTcpLastSSLErrorMsg(0, pThis, "relpTcpConnectTLSInit"); |
1840 | 1840 | ABORT_FINALIZE(RELP_RET_IO_ERR); |
1841 | 1841 | } |
1842 | ||
1842 | 1843 | // Set SSL_MODE_AUTO_RETRY to SSL obj |
1843 | 1844 | SSL_set_mode(pThis->ssl, SSL_MODE_AUTO_RETRY); |
1844 | 1845 | |
1849 | 1850 | } else |
1850 | 1851 | pThis->authmode = eRelpAuthMode_None; |
1851 | 1852 | |
1853 | /* Set TLS Options if configured */ | |
1854 | CHKRet(relpTcpSetSslConfCmd_ossl(pThis, pThis->tlsConfigCmd)); | |
1855 | ||
1856 | /* Set TLS Priority Options */ | |
1852 | 1857 | CHKRet(relpTcpTLSSetPrio(pThis)); |
1858 | ||
1853 | 1859 | 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 ); | |
1854 | 1874 | |
1855 | 1875 | SSL_set_bio(pThis->ssl, conn, conn); |
1856 | 1876 | SSL_set_connect_state(pThis->ssl); /*sets ssl to work in client mode.*/ |
0 | 0 | #! /bin/sh |
1 | 1 | # test-driver - basic testsuite driver script. |
2 | 2 | |
3 | scriptversion=2013-07-13.22; # UTC | |
3 | scriptversion=2018-03-07.03; # UTC | |
4 | 4 | |
5 | # Copyright (C) 2011-2014 Free Software Foundation, Inc. | |
5 | # Copyright (C) 2011-2018 Free Software Foundation, Inc. | |
6 | 6 | # |
7 | 7 | # This program is free software; you can redistribute it and/or modify |
8 | 8 | # it under the terms of the GNU General Public License as published by |
15 | 15 | # GNU General Public License for more details. |
16 | 16 | # |
17 | 17 | # 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/>. | |
19 | 19 | |
20 | 20 | # As a special exception to the GNU General Public License, if you |
21 | 21 | # distribute this file as part of a program that contains a |
139 | 139 | # Local Variables: |
140 | 140 | # mode: shell-script |
141 | 141 | # sh-indentation: 2 |
142 | # eval: (add-hook 'write-file-hooks 'time-stamp) | |
142 | # eval: (add-hook 'before-save-hook 'time-stamp) | |
143 | 143 | # time-stamp-start: "scriptversion=" |
144 | 144 | # time-stamp-format: "%:y-%02m-%02d.%02H" |
145 | # time-stamp-time-zone: "UTC" | |
145 | # time-stamp-time-zone: "UTC0" | |
146 | 146 | # time-stamp-end: "; # UTC" |
147 | 147 | # End: |
25 | 25 | tls-basic-fingerprint.sh \ |
26 | 26 | tls-basic-wildcard.sh \ |
27 | 27 | tls-basic-tlscommand.sh \ |
28 | tls-basic-tlscommand-ciphers.sh \ | |
28 | 29 | tls-basic-certchain.sh \ |
29 | 30 | tls-basic-certvalid-mixed.sh \ |
30 | 31 | 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. | |
1 | 1 | # @configure_input@ |
2 | 2 | |
3 | # Copyright (C) 1994-2017 Free Software Foundation, Inc. | |
3 | # Copyright (C) 1994-2018 Free Software Foundation, Inc. | |
4 | 4 | |
5 | 5 | # This Makefile.in is free software; the Free Software Foundation |
6 | 6 | # gives unlimited permission to copy and/or distribute it, |
141 | 141 | am__v_at_1 = |
142 | 142 | DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) |
143 | 143 | 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 | |
145 | 147 | am__mv = mv -f |
146 | 148 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
147 | 149 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
553 | 555 | tls-basic-fingerprint.sh \ |
554 | 556 | tls-basic-wildcard.sh \ |
555 | 557 | tls-basic-tlscommand.sh \ |
558 | tls-basic-tlscommand-ciphers.sh \ | |
556 | 559 | tls-basic-certchain.sh \ |
557 | 560 | tls-basic-certvalid-mixed.sh \ |
558 | 561 | tls-receiver-abort.sh \ |
624 | 627 | *config.status*) \ |
625 | 628 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
626 | 629 | *) \ |
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);; \ | |
629 | 632 | esac; |
630 | 633 | |
631 | 634 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
670 | 673 | distclean-compile: |
671 | 674 | -rm -f *.tab.c |
672 | 675 | |
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) | |
677 | 686 | |
678 | 687 | .c.o: |
679 | 688 | @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ |
905 | 914 | fi; \ |
906 | 915 | $$success || exit 1 |
907 | 916 | |
908 | check-TESTS: | |
917 | check-TESTS: $(check_PROGRAMS) | |
909 | 918 | @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list |
910 | 919 | @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list |
911 | 920 | @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) |
941 | 950 | @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \ |
942 | 951 | @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
943 | 952 | |
944 | distdir: $(DISTFILES) | |
953 | distdir: $(BUILT_SOURCES) | |
954 | $(MAKE) $(AM_MAKEFLAGS) distdir-am | |
955 | ||
956 | distdir-am: $(DISTFILES) | |
945 | 957 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
946 | 958 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ |
947 | 959 | list='$(DISTFILES)'; \ |
1016 | 1028 | mostlyclean-am |
1017 | 1029 | |
1018 | 1030 | 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 | |
1020 | 1035 | -rm -f Makefile |
1021 | 1036 | distclean-am: clean-am distclean-compile distclean-generic \ |
1022 | 1037 | distclean-tags |
1062 | 1077 | installcheck-am: |
1063 | 1078 | |
1064 | 1079 | 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 | |
1066 | 1084 | -rm -f Makefile |
1067 | 1085 | maintainer-clean-am: distclean-am maintainer-clean-generic |
1068 | 1086 | |
1083 | 1101 | |
1084 | 1102 | .MAKE: check-am install-am install-strip |
1085 | 1103 | |
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 \ | |
1096 | 1114 | maintainer-clean-generic mostlyclean mostlyclean-compile \ |
1097 | 1115 | mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
1098 | 1116 | 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 |
0 | 0 | #!/bin/bash |
1 | 1 | . ${srcdir:=$(pwd)}/test-framework.sh |
2 | 2 | export errorlog="error.$LIBRELP_DYN.log" |
3 | # export OPT_VERBOSE=-v # uncomment for debugging | |
3 | 4 | |
4 | 5 | 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 | ||
21 | 6 | # Test only supported for OpenSSL |
22 | 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.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 | ||
23 | 24 | if test -f $TESTDIR/$errorlog; then |
24 | 25 | check_output --check-only "OpenSSL Version too old" $TESTDIR/$errorlog |
25 | 26 | ret=$? |
38 | 39 | echo "SKIP: $TESTDIR/$errorlog was not created" |
39 | 40 | exit 77 |
40 | 41 | fi |
42 | else | |
43 | echo "SKIP: For $TEST_TLS_LIB" | |
41 | 44 | fi |
42 | 45 | } |
43 | 46 |