new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git] / src / external / pcre2-10.32 / config.status
1 #! /bin/bash
2 # Generated by configure.
3 # Run this file to recreate the current configuration.
4 # Compiler output produced by configure, useful for debugging
5 # configure, is in config.log if it exists.
6
7 debug=false
8 ac_cs_recheck=false
9 ac_cs_silent=false
10
11 SHELL=${CONFIG_SHELL-/bin/bash}
12 export SHELL
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137
138 # as_fn_error STATUS ERROR [LINENO LOG_FD]
139 # ----------------------------------------
140 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
141 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
142 # script with STATUS, using 1 if that was 0.
143 as_fn_error ()
144 {
145   as_status=$1; test $as_status -eq 0 && as_status=1
146   if test "$4"; then
147     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
148     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
149   fi
150   $as_echo "$as_me: error: $2" >&2
151   as_fn_exit $as_status
152 } # as_fn_error
153
154
155 # as_fn_set_status STATUS
156 # -----------------------
157 # Set $? to STATUS, without forking.
158 as_fn_set_status ()
159 {
160   return $1
161 } # as_fn_set_status
162
163 # as_fn_exit STATUS
164 # -----------------
165 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
166 as_fn_exit ()
167 {
168   set +e
169   as_fn_set_status $1
170   exit $1
171 } # as_fn_exit
172
173 # as_fn_unset VAR
174 # ---------------
175 # Portably unset VAR.
176 as_fn_unset ()
177 {
178   { eval $1=; unset $1;}
179 }
180 as_unset=as_fn_unset
181 # as_fn_append VAR VALUE
182 # ----------------------
183 # Append the text in VALUE to the end of the definition contained in VAR. Take
184 # advantage of any shell optimizations that allow amortized linear growth over
185 # repeated appends, instead of the typical quadratic growth present in naive
186 # implementations.
187 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
188   eval 'as_fn_append ()
189   {
190     eval $1+=\$2
191   }'
192 else
193   as_fn_append ()
194   {
195     eval $1=\$$1\$2
196   }
197 fi # as_fn_append
198
199 # as_fn_arith ARG...
200 # ------------------
201 # Perform arithmetic evaluation on the ARGs, and store the result in the
202 # global $as_val. Take advantage of shells that can avoid forks. The arguments
203 # must be portable across $(()) and expr.
204 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205   eval 'as_fn_arith ()
206   {
207     as_val=$(( $* ))
208   }'
209 else
210   as_fn_arith ()
211   {
212     as_val=`expr "$@" || test $? -eq 1`
213   }
214 fi # as_fn_arith
215
216
217 if expr a : '\(a\)' >/dev/null 2>&1 &&
218    test "X`expr 00001 : '.*\(...\)'`" = X001; then
219   as_expr=expr
220 else
221   as_expr=false
222 fi
223
224 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225   as_basename=basename
226 else
227   as_basename=false
228 fi
229
230 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231   as_dirname=dirname
232 else
233   as_dirname=false
234 fi
235
236 as_me=`$as_basename -- "$0" ||
237 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
238          X"$0" : 'X\(//\)$' \| \
239          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
240 $as_echo X/"$0" |
241     sed '/^.*\/\([^/][^/]*\)\/*$/{
242             s//\1/
243             q
244           }
245           /^X\/\(\/\/\)$/{
246             s//\1/
247             q
248           }
249           /^X\/\(\/\).*/{
250             s//\1/
251             q
252           }
253           s/.*/./; q'`
254
255 # Avoid depending upon Character Ranges.
256 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259 as_cr_digits='0123456789'
260 as_cr_alnum=$as_cr_Letters$as_cr_digits
261
262 ECHO_C= ECHO_N= ECHO_T=
263 case `echo -n x` in #(((((
264 -n*)
265   case `echo 'xy\c'` in
266   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
267   xy)  ECHO_C='\c';;
268   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
269        ECHO_T=' ';;
270   esac;;
271 *)
272   ECHO_N='-n';;
273 esac
274
275 rm -f conf$$ conf$$.exe conf$$.file
276 if test -d conf$$.dir; then
277   rm -f conf$$.dir/conf$$.file
278 else
279   rm -f conf$$.dir
280   mkdir conf$$.dir 2>/dev/null
281 fi
282 if (echo >conf$$.file) 2>/dev/null; then
283   if ln -s conf$$.file conf$$ 2>/dev/null; then
284     as_ln_s='ln -s'
285     # ... but there are two gotchas:
286     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
287     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
288     # In both cases, we have to default to `cp -pR'.
289     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290       as_ln_s='cp -pR'
291   elif ln conf$$.file conf$$ 2>/dev/null; then
292     as_ln_s=ln
293   else
294     as_ln_s='cp -pR'
295   fi
296 else
297   as_ln_s='cp -pR'
298 fi
299 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300 rmdir conf$$.dir 2>/dev/null
301
302
303 # as_fn_mkdir_p
304 # -------------
305 # Create "$as_dir" as a directory, including parents if necessary.
306 as_fn_mkdir_p ()
307 {
308
309   case $as_dir in #(
310   -*) as_dir=./$as_dir;;
311   esac
312   test -d "$as_dir" || eval $as_mkdir_p || {
313     as_dirs=
314     while :; do
315       case $as_dir in #(
316       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
317       *) as_qdir=$as_dir;;
318       esac
319       as_dirs="'$as_qdir' $as_dirs"
320       as_dir=`$as_dirname -- "$as_dir" ||
321 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
322          X"$as_dir" : 'X\(//\)[^/]' \| \
323          X"$as_dir" : 'X\(//\)$' \| \
324          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
325 $as_echo X"$as_dir" |
326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327             s//\1/
328             q
329           }
330           /^X\(\/\/\)[^/].*/{
331             s//\1/
332             q
333           }
334           /^X\(\/\/\)$/{
335             s//\1/
336             q
337           }
338           /^X\(\/\).*/{
339             s//\1/
340             q
341           }
342           s/.*/./; q'`
343       test -d "$as_dir" && break
344     done
345     test -z "$as_dirs" || eval "mkdir $as_dirs"
346   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
347
348
349 } # as_fn_mkdir_p
350 if mkdir -p . 2>/dev/null; then
351   as_mkdir_p='mkdir -p "$as_dir"'
352 else
353   test -d ./-p && rmdir ./-p
354   as_mkdir_p=false
355 fi
356
357
358 # as_fn_executable_p FILE
359 # -----------------------
360 # Test if FILE is an executable regular file.
361 as_fn_executable_p ()
362 {
363   test -f "$1" && test -x "$1"
364 } # as_fn_executable_p
365 as_test_x='test -x'
366 as_executable_p=as_fn_executable_p
367
368 # Sed expression to map a string onto a valid CPP name.
369 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
370
371 # Sed expression to map a string onto a valid variable name.
372 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
373
374
375 exec 6>&1
376 ## ----------------------------------- ##
377 ## Main body of $CONFIG_STATUS script. ##
378 ## ----------------------------------- ##
379 # Save the log message, to keep $0 and so on meaningful, and to
380 # report actual input values of CONFIG_FILES etc. instead of their
381 # values after options handling.
382 ac_log="
383 This file was extended by PCRE2 $as_me 10.32, which was
384 generated by GNU Autoconf 2.69.  Invocation command line was
385
386   CONFIG_FILES    = $CONFIG_FILES
387   CONFIG_HEADERS  = $CONFIG_HEADERS
388   CONFIG_LINKS    = $CONFIG_LINKS
389   CONFIG_COMMANDS = $CONFIG_COMMANDS
390   $ $0 $@
391
392 on `(hostname || uname -n) 2>/dev/null | sed 1q`
393 "
394
395 # Files that config.status was made for.
396 config_files=" Makefile libpcre2-8.pc libpcre2-16.pc libpcre2-32.pc libpcre2-posix.pc pcre2-config src/pcre2.h"
397 config_headers=" src/config.h"
398 config_commands=" depfiles libtool script-chmod delete-old-chartables"
399
400 ac_cs_usage="\
401 \`$as_me' instantiates files and other configuration actions
402 from templates according to the current configuration.  Unless the files
403 and actions are specified as TAGs, all are instantiated by default.
404
405 Usage: $0 [OPTION]... [TAG]...
406
407   -h, --help       print this help, then exit
408   -V, --version    print version number and configuration settings, then exit
409       --config     print configuration, then exit
410   -q, --quiet, --silent
411                    do not print progress messages
412   -d, --debug      don't remove temporary files
413       --recheck    update $as_me by reconfiguring in the same conditions
414       --file=FILE[:TEMPLATE]
415                    instantiate the configuration file FILE
416       --header=FILE[:TEMPLATE]
417                    instantiate the configuration header FILE
418
419 Configuration files:
420 $config_files
421
422 Configuration headers:
423 $config_headers
424
425 Configuration commands:
426 $config_commands
427
428 Report bugs to the package provider."
429
430 ac_cs_config="'--prefix=/data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32//install' '--enable-jit' '--disable-shared' '--enable-static'"
431 ac_cs_version="\
432 PCRE2 config.status 10.32
433 configured by ./configure, generated by GNU Autoconf 2.69,
434   with options \"$ac_cs_config\"
435
436 Copyright (C) 2012 Free Software Foundation, Inc.
437 This config.status script is free software; the Free Software Foundation
438 gives unlimited permission to copy, distribute and modify it."
439
440 ac_pwd='/data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32'
441 srcdir='.'
442 INSTALL='/usr/bin/install -c'
443 MKDIR_P='/bin/mkdir -p'
444 AWK='gawk'
445 test -n "$AWK" || AWK=awk
446 # The default lists apply if the user does not specify any file.
447 ac_need_defaults=:
448 while test $# != 0
449 do
450   case $1 in
451   --*=?*)
452     ac_option=`expr "X$1" : 'X\([^=]*\)='`
453     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
454     ac_shift=:
455     ;;
456   --*=)
457     ac_option=`expr "X$1" : 'X\([^=]*\)='`
458     ac_optarg=
459     ac_shift=:
460     ;;
461   *)
462     ac_option=$1
463     ac_optarg=$2
464     ac_shift=shift
465     ;;
466   esac
467
468   case $ac_option in
469   # Handling of the options.
470   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
471     ac_cs_recheck=: ;;
472   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
473     $as_echo "$ac_cs_version"; exit ;;
474   --config | --confi | --conf | --con | --co | --c )
475     $as_echo "$ac_cs_config"; exit ;;
476   --debug | --debu | --deb | --de | --d | -d )
477     debug=: ;;
478   --file | --fil | --fi | --f )
479     $ac_shift
480     case $ac_optarg in
481     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
482     '') as_fn_error $? "missing file argument" ;;
483     esac
484     as_fn_append CONFIG_FILES " '$ac_optarg'"
485     ac_need_defaults=false;;
486   --header | --heade | --head | --hea )
487     $ac_shift
488     case $ac_optarg in
489     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
490     esac
491     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
492     ac_need_defaults=false;;
493   --he | --h)
494     # Conflict between --help and --header
495     as_fn_error $? "ambiguous option: \`$1'
496 Try \`$0 --help' for more information.";;
497   --help | --hel | -h )
498     $as_echo "$ac_cs_usage"; exit ;;
499   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500   | -silent | --silent | --silen | --sile | --sil | --si | --s)
501     ac_cs_silent=: ;;
502
503   # This is an error.
504   -*) as_fn_error $? "unrecognized option: \`$1'
505 Try \`$0 --help' for more information." ;;
506
507   *) as_fn_append ac_config_targets " $1"
508      ac_need_defaults=false ;;
509
510   esac
511   shift
512 done
513
514 ac_configure_extra_args=
515
516 if $ac_cs_silent; then
517   exec 6>/dev/null
518   ac_configure_extra_args="$ac_configure_extra_args --silent"
519 fi
520
521 if $ac_cs_recheck; then
522   set X /bin/bash './configure'  '--prefix=/data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32//install' '--enable-jit' '--disable-shared' '--enable-static' $ac_configure_extra_args --no-create --no-recursion
523   shift
524   $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
525   CONFIG_SHELL='/bin/bash'
526   export CONFIG_SHELL
527   exec "$@"
528 fi
529
530 exec 5>>config.log
531 {
532   echo
533   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
534 ## Running $as_me. ##
535 _ASBOX
536   $as_echo "$ac_log"
537 } >&5
538
539 #
540 # INIT-COMMANDS
541 #
542 AMDEP_TRUE="" ac_aux_dir="."
543
544
545 # The HP-UX ksh and POSIX shell print the target directory to stdout
546 # if CDPATH is set.
547 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
548
549 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
550 double_quote_subst='s/\(["`\\]\)/\\\1/g'
551 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
552 AS='as'
553 DLLTOOL='dlltool'
554 OBJDUMP='objdump'
555 macro_version='2.4.6.40-6ca5-dirty'
556 macro_revision='2.4.6.40'
557 enable_shared='no'
558 enable_static='yes'
559 pic_mode='default'
560 enable_fast_install='needless'
561 shared_archive_member_spec=''
562 SHELL='/bin/bash'
563 ECHO='printf %s\n'
564 PATH_SEPARATOR=':'
565 host_alias=''
566 host='x86_64-pc-linux-gnu'
567 host_os='linux-gnu'
568 build_alias=''
569 build='x86_64-pc-linux-gnu'
570 build_os='linux-gnu'
571 SED='/bin/sed'
572 Xsed='/bin/sed -e 1s/^X//'
573 GREP='/bin/grep'
574 EGREP='/bin/grep -E'
575 FGREP='/bin/grep -F'
576 LD='/usr/bin/ld -m elf_x86_64'
577 NM='/usr/bin/nm -B'
578 LN_S='ln -s'
579 max_cmd_len='1572864'
580 ac_objext='o'
581 exeext=''
582 lt_unset='unset'
583 lt_SP2NL='tr \040 \012'
584 lt_NL2SP='tr \015\012 \040\040'
585 lt_cv_to_host_file_cmd='func_convert_file_noop'
586 lt_cv_to_tool_file_cmd='func_convert_file_noop'
587 reload_flag=' -r'
588 reload_cmds='$LD$reload_flag -o $output$reload_objs'
589 deplibs_check_method='pass_all'
590 file_magic_cmd='$MAGIC_CMD'
591 file_magic_glob=''
592 want_nocaseglob='no'
593 sharedlib_from_linklib_cmd='printf %s\n'
594 AR='ar'
595 lt_ar_flags='cr'
596 AR_FLAGS='cr'
597 archiver_list_spec='@'
598 STRIP='strip'
599 RANLIB='ranlib'
600 old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $tool_oldlib'
601 old_postuninstall_cmds=''
602 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $tool_oldlib'
603 lock_old_archive_extraction='no'
604 CC='gcc'
605 CFLAGS='-pthread -O2'
606 compiler='gcc'
607 GCC='yes'
608 lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
609 lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
610 lt_cv_sys_global_symbol_to_import=''
611 lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
612 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
613 lt_cv_nm_interface='BSD nm'
614 nm_file_list_spec='@'
615 lt_sysroot=''
616 lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
617 objdir='.libs'
618 MAGIC_CMD='file'
619 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
620 lt_prog_compiler_pic=' -fPIC -DPIC'
621 lt_prog_compiler_wl='-Wl,'
622 lt_prog_compiler_static='-static'
623 lt_cv_prog_compiler_c_o='yes'
624 need_locks='no'
625 MANIFEST_TOOL=':'
626 DSYMUTIL=''
627 NMEDIT=''
628 LIPO=''
629 OTOOL=''
630 OTOOL64=''
631 libext='a'
632 shrext_cmds='.so'
633 extract_expsyms_cmds=''
634 archive_cmds_need_lc='yes'
635 enable_shared_with_static_runtimes='no'
636 export_dynamic_flag_spec='$wl--export-dynamic'
637 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
638 compiler_needs_object='no'
639 old_archive_from_new_cmds=''
640 old_archive_from_expsyms_cmds=''
641 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
642 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
643             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
644             echo "local: *; };" >> $output_objdir/$libname.ver~
645             $CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
646 module_cmds=''
647 module_expsym_cmds=''
648 with_gnu_ld='yes'
649 allow_undefined_flag=''
650 no_undefined_flag=''
651 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
652 hardcode_libdir_separator=''
653 hardcode_direct='no'
654 hardcode_direct_absolute='no'
655 hardcode_minus_L='no'
656 hardcode_shlibpath_var='unsupported'
657 hardcode_automatic='no'
658 inherit_rpath='no'
659 link_all_deplibs='unknown'
660 always_export_symbols='no'
661 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
662 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
663 include_expsyms=''
664 prelink_cmds=''
665 postlink_cmds=''
666 file_list_spec=''
667 variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
668 need_lib_prefix='no'
669 need_version='no'
670 version_type='linux'
671 runpath_var='LD_RUN_PATH'
672 shlibpath_var='LD_LIBRARY_PATH'
673 shlibpath_overrides_runpath='yes'
674 libname_spec='lib$name'
675 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
676 soname_spec='$libname$release$shared_ext$major'
677 install_override_mode=''
678 postinstall_cmds=''
679 postuninstall_cmds=''
680 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
681 finish_eval=''
682 hardcode_into_libs='yes'
683 sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib '
684 configure_time_dlsearch_path='/lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/lib/gsk8_64/lib64 /usr/lib/tsm-client/api/bin /usr/lib/tsm-client/api/bin64 /usr/lib/tsm-client/lib /usr/lib/tsm-client/lib64 /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu '
685 configure_time_lt_sys_library_path=''
686 hardcode_action='immediate'
687 enable_dlopen='unknown'
688 enable_dlopen_self='unknown'
689 enable_dlopen_self_static='unknown'
690 old_striplib='strip --strip-debug'
691 striplib='strip --strip-unneeded'
692
693 LTCC='gcc'
694 LTCFLAGS='-O2'
695 compiler='gcc'
696
697 # A function that is used when there is no print builtin or printf.
698 func_fallback_echo ()
699 {
700   eval 'cat <<_LTECHO_EOF
701 $1
702 _LTECHO_EOF'
703 }
704
705 # Quote evaled strings.
706 for var in AS DLLTOOL OBJDUMP SHELL ECHO PATH_SEPARATOR SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag deplibs_check_method file_magic_cmd file_magic_glob want_nocaseglob sharedlib_from_linklib_cmd AR archiver_list_spec STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_import lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix lt_cv_nm_interface nm_file_list_spec lt_cv_truncate_bin lt_prog_compiler_no_builtin_flag lt_prog_compiler_pic lt_prog_compiler_wl lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks MANIFEST_TOOL DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_separator exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec install_override_mode finish_eval old_striplib striplib; do
707     case `eval \\$ECHO \\""\\$$var"\\"` in
708     *[\\\`\"\$]*)
709       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
710       ;;
711     *)
712       eval "lt_$var=\\\"\$$var\\\""
713       ;;
714     esac
715 done
716
717 # Double-quote double-evaled strings.
718 for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postlink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec configure_time_dlsearch_path configure_time_lt_sys_library_path; do
719     case `eval \\$ECHO \\""\\$$var"\\"` in
720     *[\\\`\"\$]*)
721       eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ## exclude from sc_prohibit_nested_quotes
722       ;;
723     *)
724       eval "lt_$var=\\\"\$$var\\\""
725       ;;
726     esac
727 done
728
729 ac_aux_dir='.'
730
731 # See if we are running on zsh, and set the options that allow our
732 # commands through without removal of \ escapes INIT.
733 if test -n "${ZSH_VERSION+set}"; then
734    setopt NO_GLOB_SUBST
735 fi
736
737
738     PACKAGE='pcre2'
739     VERSION='10.32'
740     RM='rm -f'
741     ofile='libtool'
742
743
744
745
746
747 # Handling of arguments.
748 for ac_config_target in $ac_config_targets
749 do
750   case $ac_config_target in
751     "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
752     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
753     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
754     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
755     "libpcre2-8.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-8.pc" ;;
756     "libpcre2-16.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-16.pc" ;;
757     "libpcre2-32.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-32.pc" ;;
758     "libpcre2-posix.pc") CONFIG_FILES="$CONFIG_FILES libpcre2-posix.pc" ;;
759     "pcre2-config") CONFIG_FILES="$CONFIG_FILES pcre2-config" ;;
760     "src/pcre2.h") CONFIG_FILES="$CONFIG_FILES src/pcre2.h" ;;
761     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
762     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
763
764   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
765   esac
766 done
767
768
769 # If the user did not use the arguments to specify the items to instantiate,
770 # then the envvar interface is used.  Set only those that are not.
771 # We use the long form for the default assignment because of an extremely
772 # bizarre bug on SunOS 4.1.3.
773 if $ac_need_defaults; then
774   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
775   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
776   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
777 fi
778
779 # Have a temporary directory for convenience.  Make it in the build tree
780 # simply because there is no reason against having it here, and in addition,
781 # creating and moving files from /tmp can sometimes cause problems.
782 # Hook for its removal unless debugging.
783 # Note that there is a small window in which the directory will not be cleaned:
784 # after its creation but before its name has been assigned to `$tmp'.
785 $debug ||
786 {
787   tmp= ac_tmp=
788   trap 'exit_status=$?
789   : "${ac_tmp:=$tmp}"
790   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
791 ' 0
792   trap 'as_fn_exit 1' 1 2 13 15
793 }
794 # Create a (secure) tmp directory for tmp files.
795
796 {
797   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
798   test -d "$tmp"
799 }  ||
800 {
801   tmp=./conf$$-$RANDOM
802   (umask 077 && mkdir "$tmp")
803 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
804 ac_tmp=$tmp
805
806 # Set up the scripts for CONFIG_FILES section.
807 # No need to generate them if there are no CONFIG_FILES.
808 # This happens for instance with `./config.status config.h'.
809 if test -n "$CONFIG_FILES"; then
810
811
812 ac_cr=`echo X | tr X '\015'`
813 # On cygwin, bash can eat \r inside `` if the user requested igncr.
814 # But we know of no other shell where ac_cr would be empty at this
815 # point, so we can use a bashism as a fallback.
816 if test "x$ac_cr" = x; then
817   eval ac_cr=\$\'\\r\'
818 fi
819 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
820 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
821   ac_cs_awk_cr='\\r'
822 else
823   ac_cs_awk_cr=$ac_cr
824 fi
825
826 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
827 cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
828 S["am__EXEEXT_FALSE"]=""
829 S["am__EXEEXT_TRUE"]="#"
830 S["LTLIBOBJS"]=""
831 S["LIBOBJS"]=""
832 S["WITH_GCOV_FALSE"]=""
833 S["WITH_GCOV_TRUE"]="#"
834 S["GCOV_LIBS"]=""
835 S["GCOV_CXXFLAGS"]=""
836 S["GCOV_CFLAGS"]=""
837 S["GENHTML"]=""
838 S["LCOV"]=""
839 S["SHTOOL"]=""
840 S["VALGRIND_LIBS"]=""
841 S["VALGRIND_CFLAGS"]=""
842 S["PKG_CONFIG_LIBDIR"]=""
843 S["PKG_CONFIG_PATH"]=""
844 S["PKG_CONFIG"]=""
845 S["LIBBZ2"]=""
846 S["LIBZ"]=""
847 S["DISTCHECK_CONFIGURE_FLAGS"]="CFLAGS='' CXXFLAGS='' --enable-pcre2-16 --enable-pcre2-32 --enable-jit"
848 S["EXTRA_LIBPCRE2_POSIX_LDFLAGS"]="    -version-info 2:1:0"
849 S["EXTRA_LIBPCRE2_32_LDFLAGS"]="    -version-info 7:1:7"
850 S["EXTRA_LIBPCRE2_16_LDFLAGS"]="    -version-info 7:1:7"
851 S["EXTRA_LIBPCRE2_8_LDFLAGS"]="    -version-info 7:1:7"
852 S["PTHREAD_CFLAGS"]="-pthread"
853 S["PTHREAD_LIBS"]=""
854 S["PTHREAD_CC"]="gcc"
855 S["ax_pthread_config"]=""
856 S["PCRE2_STATIC_CFLAG"]="-DPCRE2_STATIC"
857 S["LIBREADLINE"]=""
858 S["WITH_FUZZ_SUPPORT_FALSE"]=""
859 S["WITH_FUZZ_SUPPORT_TRUE"]="#"
860 S["WITH_VALGRIND_FALSE"]=""
861 S["WITH_VALGRIND_TRUE"]="#"
862 S["WITH_UNICODE_FALSE"]="#"
863 S["WITH_UNICODE_TRUE"]=""
864 S["WITH_JIT_FALSE"]="#"
865 S["WITH_JIT_TRUE"]=""
866 S["WITH_REBUILD_CHARTABLES_FALSE"]=""
867 S["WITH_REBUILD_CHARTABLES_TRUE"]="#"
868 S["WITH_DEBUG_FALSE"]=""
869 S["WITH_DEBUG_TRUE"]="#"
870 S["WITH_PCRE2_32_FALSE"]=""
871 S["WITH_PCRE2_32_TRUE"]="#"
872 S["WITH_PCRE2_16_FALSE"]=""
873 S["WITH_PCRE2_16_TRUE"]="#"
874 S["WITH_PCRE2_8_FALSE"]="#"
875 S["WITH_PCRE2_8_TRUE"]=""
876 S["PCRE2_HAVE_INTTYPES_H"]="1"
877 S["PCRE2_HAVE_STDINT_H"]="1"
878 S["enable_pcre2_32"]="no"
879 S["enable_pcre2_16"]="no"
880 S["enable_pcre2_8"]="yes"
881 S["PCRE2_DATE"]="2018-09-10"
882 S["PCRE2_PRERELEASE"]=""
883 S["PCRE2_MINOR"]="32"
884 S["PCRE2_MAJOR"]="10"
885 S["HAVE_VISIBILITY"]="1"
886 S["VISIBILITY_CXXFLAGS"]="-fvisibility=hidden -fvisibility-inlines-hidden"
887 S["VISIBILITY_CFLAGS"]="-fvisibility=hidden"
888 S["LT_SYS_LIBRARY_PATH"]=""
889 S["OTOOL64"]=""
890 S["OTOOL"]=""
891 S["LIPO"]=""
892 S["NMEDIT"]=""
893 S["DSYMUTIL"]=""
894 S["MANIFEST_TOOL"]=":"
895 S["RANLIB"]="ranlib"
896 S["LN_S"]="ln -s"
897 S["NM"]="/usr/bin/nm -B"
898 S["ac_ct_DUMPBIN"]=""
899 S["DUMPBIN"]=""
900 S["LD"]="/usr/bin/ld -m elf_x86_64"
901 S["FGREP"]="/bin/grep -F"
902 S["SED"]="/bin/sed"
903 S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
904 S["OBJDUMP"]="objdump"
905 S["DLLTOOL"]="dlltool"
906 S["AS"]="as"
907 S["host_os"]="linux-gnu"
908 S["host_vendor"]="pc"
909 S["host_cpu"]="x86_64"
910 S["host"]="x86_64-pc-linux-gnu"
911 S["build_os"]="linux-gnu"
912 S["build_vendor"]="pc"
913 S["build_cpu"]="x86_64"
914 S["build"]="x86_64-pc-linux-gnu"
915 S["ac_ct_AR"]="ar"
916 S["AR"]="ar"
917 S["EGREP"]="/bin/grep -E"
918 S["GREP"]="/bin/grep"
919 S["CPP"]="gcc -E"
920 S["am__fastdepCC_FALSE"]="#"
921 S["am__fastdepCC_TRUE"]=""
922 S["CCDEPMODE"]="depmode=gcc3"
923 S["am__nodep"]="_no"
924 S["AMDEPBACKSLASH"]="\\"
925 S["AMDEP_FALSE"]="#"
926 S["AMDEP_TRUE"]=""
927 S["am__quote"]=""
928 S["am__include"]="include"
929 S["DEPDIR"]=".deps"
930 S["OBJEXT"]="o"
931 S["EXEEXT"]=""
932 S["ac_ct_CC"]="gcc"
933 S["CPPFLAGS"]=""
934 S["LDFLAGS"]=""
935 S["CFLAGS"]="-pthread -O2"
936 S["CC"]="gcc"
937 S["AM_BACKSLASH"]="\\"
938 S["AM_DEFAULT_VERBOSITY"]="0"
939 S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)"
940 S["AM_V"]="$(V)"
941 S["am__untar"]="$${TAR-tar} xf -"
942 S["am__tar"]="$${TAR-tar} chof - \"$$tardir\""
943 S["AMTAR"]="$${TAR-tar}"
944 S["am__leading_dot"]="."
945 S["SET_MAKE"]=""
946 S["AWK"]="gawk"
947 S["mkdir_p"]="$(MKDIR_P)"
948 S["MKDIR_P"]="/bin/mkdir -p"
949 S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
950 S["STRIP"]="strip"
951 S["install_sh"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/install-sh"
952 S["MAKEINFO"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/missing makeinfo"
953 S["AUTOHEADER"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/missing autoheader"
954 S["AUTOMAKE"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/missing automake-1.15"
955 S["AUTOCONF"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/missing autoconf"
956 S["ACLOCAL"]="${SHELL} /data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32/missing aclocal-1.15"
957 S["VERSION"]="10.32"
958 S["PACKAGE"]="pcre2"
959 S["CYGPATH_W"]="echo"
960 S["am__isrc"]=""
961 S["INSTALL_DATA"]="${INSTALL} -m 644"
962 S["INSTALL_SCRIPT"]="${INSTALL}"
963 S["INSTALL_PROGRAM"]="${INSTALL}"
964 S["target_alias"]=""
965 S["host_alias"]=""
966 S["build_alias"]=""
967 S["LIBS"]=" "
968 S["ECHO_T"]=""
969 S["ECHO_N"]="-n"
970 S["ECHO_C"]=""
971 S["DEFS"]="-DHAVE_CONFIG_H"
972 S["mandir"]="${datarootdir}/man"
973 S["localedir"]="${datarootdir}/locale"
974 S["libdir"]="${exec_prefix}/lib"
975 S["psdir"]="${docdir}"
976 S["pdfdir"]="${docdir}"
977 S["dvidir"]="${docdir}"
978 S["htmldir"]="${docdir}/html"
979 S["infodir"]="${datarootdir}/info"
980 S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
981 S["oldincludedir"]="/usr/include"
982 S["includedir"]="${prefix}/include"
983 S["localstatedir"]="${prefix}/var"
984 S["sharedstatedir"]="${prefix}/com"
985 S["sysconfdir"]="${prefix}/etc"
986 S["datadir"]="${datarootdir}"
987 S["datarootdir"]="${prefix}/share"
988 S["libexecdir"]="${exec_prefix}/libexec"
989 S["sbindir"]="${exec_prefix}/sbin"
990 S["bindir"]="${exec_prefix}/bin"
991 S["program_transform_name"]="s,x,x,"
992 S["prefix"]="/data/paketi/cn/ossec-hids/tmp/ossec-hids-3.3.0/src/external/pcre2-10.32//install"
993 S["exec_prefix"]="${prefix}"
994 S["PACKAGE_URL"]=""
995 S["PACKAGE_BUGREPORT"]=""
996 S["PACKAGE_STRING"]="PCRE2 10.32"
997 S["PACKAGE_VERSION"]="10.32"
998 S["PACKAGE_TARNAME"]="pcre2"
999 S["PACKAGE_NAME"]="PCRE2"
1000 S["PATH_SEPARATOR"]=":"
1001 S["SHELL"]="/bin/bash"
1002 _ACAWK
1003 cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
1004   for (key in S) S_is_set[key] = 1
1005   FS = "\a"
1006
1007 }
1008 {
1009   line = $ 0
1010   nfields = split(line, field, "@")
1011   substed = 0
1012   len = length(field[1])
1013   for (i = 2; i < nfields; i++) {
1014     key = field[i]
1015     keylen = length(key)
1016     if (S_is_set[key]) {
1017       value = S[key]
1018       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1019       len += length(value) + length(field[++i])
1020       substed = 1
1021     } else
1022       len += 1 + keylen
1023   }
1024
1025   print line
1026 }
1027
1028 _ACAWK
1029 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1030   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1031 else
1032   cat
1033 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1034   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1035 fi # test -n "$CONFIG_FILES"
1036
1037 # Set up the scripts for CONFIG_HEADERS section.
1038 # No need to generate them if there are no CONFIG_HEADERS.
1039 # This happens for instance with `./config.status Makefile'.
1040 if test -n "$CONFIG_HEADERS"; then
1041 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1042 BEGIN {
1043 D["PACKAGE_NAME"]=" \"PCRE2\""
1044 D["PACKAGE_TARNAME"]=" \"pcre2\""
1045 D["PACKAGE_VERSION"]=" \"10.32\""
1046 D["PACKAGE_STRING"]=" \"PCRE2 10.32\""
1047 D["PACKAGE_BUGREPORT"]=" \"\""
1048 D["PACKAGE_URL"]=" \"\""
1049 D["PACKAGE"]=" \"pcre2\""
1050 D["VERSION"]=" \"10.32\""
1051 D["STDC_HEADERS"]=" 1"
1052 D["HAVE_SYS_TYPES_H"]=" 1"
1053 D["HAVE_SYS_STAT_H"]=" 1"
1054 D["HAVE_STDLIB_H"]=" 1"
1055 D["HAVE_STRING_H"]=" 1"
1056 D["HAVE_MEMORY_H"]=" 1"
1057 D["HAVE_STRINGS_H"]=" 1"
1058 D["HAVE_INTTYPES_H"]=" 1"
1059 D["HAVE_STDINT_H"]=" 1"
1060 D["HAVE_UNISTD_H"]=" 1"
1061 D["__EXTENSIONS__"]=" 1"
1062 D["_ALL_SOURCE"]=" 1"
1063 D["_GNU_SOURCE"]=" 1"
1064 D["_POSIX_PTHREAD_SEMANTICS"]=" 1"
1065 D["_TANDEM_SOURCE"]=" 1"
1066 D["HAVE_DLFCN_H"]=" 1"
1067 D["LT_OBJDIR"]=" \".libs/\""
1068 D["PCRE2_EXP_DECL"]=" extern __attribute__ ((visibility (\"default\")))"
1069 D["PCRE2_EXP_DEFN"]=" __attribute__ ((visibility (\"default\")))"
1070 D["PCRE2POSIX_EXP_DECL"]=" extern __attribute__ ((visibility (\"default\")))"
1071 D["PCRE2POSIX_EXP_DEFN"]=" extern __attribute__ ((visibility (\"default\")))"
1072 D["HAVE_VISIBILITY"]=" 1"
1073 D["STDC_HEADERS"]=" 1"
1074 D["HAVE_LIMITS_H"]=" 1"
1075 D["HAVE_SYS_TYPES_H"]=" 1"
1076 D["HAVE_SYS_STAT_H"]=" 1"
1077 D["HAVE_DIRENT_H"]=" 1"
1078 D["HAVE_SYS_WAIT_H"]=" 1"
1079 D["HAVE_STDINT_H"]=" 1"
1080 D["HAVE_INTTYPES_H"]=" 1"
1081 D["HAVE_BCOPY"]=" 1"
1082 D["HAVE_MEMMOVE"]=" 1"
1083 D["HAVE_STRERROR"]=" 1"
1084 D["HAVE_MKOSTEMP"]=" 1"
1085 D["HAVE_SECURE_GETENV"]=" 1"
1086 D["HAVE_ZLIB_H"]=" 1"
1087 D["HAVE_BZLIB_H"]=" 1"
1088 D["PCRE2_STATIC"]=" 1"
1089 D["SUPPORT_PCRE2_8"]=" /**/"
1090 D["HAVE_PTHREAD_PRIO_INHERIT"]=" 1"
1091 D["HAVE_PTHREAD"]=" 1"
1092 D["SUPPORT_JIT"]=" /**/"
1093 D["SUPPORT_PCRE2GREP_JIT"]=" /**/"
1094 D["SUPPORT_PCRE2GREP_CALLOUT"]=" /**/"
1095 D["SUPPORT_UNICODE"]=" /**/"
1096 D["PCRE2GREP_BUFSIZE"]=" 20480"
1097 D["PCRE2GREP_MAX_BUFSIZE"]=" 1048576"
1098 D["NEWLINE_DEFAULT"]=" 2"
1099 D["LINK_SIZE"]=" 2"
1100 D["PARENS_NEST_LIMIT"]=" 250"
1101 D["MATCH_LIMIT"]=" 10000000"
1102 D["MATCH_LIMIT_DEPTH"]=" MATCH_LIMIT"
1103 D["HEAP_LIMIT"]=" 20000000"
1104 D["MAX_NAME_SIZE"]=" 32"
1105 D["MAX_NAME_COUNT"]=" 10000"
1106   for (key in D) D_is_set[key] = 1
1107   FS = "\a"
1108 }
1109 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1110   line = $ 0
1111   split(line, arg, " ")
1112   if (arg[1] == "#") {
1113     defundef = arg[2]
1114     mac1 = arg[3]
1115   } else {
1116     defundef = substr(arg[1], 2)
1117     mac1 = arg[2]
1118   }
1119   split(mac1, mac2, "(") #)
1120   macro = mac2[1]
1121   prefix = substr(line, 1, index(line, defundef) - 1)
1122   if (D_is_set[macro]) {
1123     # Preserve the white space surrounding the "#".
1124     print prefix "define", macro P[macro] D[macro]
1125     next
1126   } else {
1127     # Replace #undef with comments.  This is necessary, for example,
1128     # in the case of _POSIX_SOURCE, which is predefined and required
1129     # on some systems where configure will not decide to define it.
1130     if (defundef == "undef") {
1131       print "/*", prefix defundef, macro, "*/"
1132       next
1133     }
1134   }
1135 }
1136 { print }
1137 _ACAWK
1138   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1139 fi # test -n "$CONFIG_HEADERS"
1140
1141
1142 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
1143 shift
1144 for ac_tag
1145 do
1146   case $ac_tag in
1147   :[FHLC]) ac_mode=$ac_tag; continue;;
1148   esac
1149   case $ac_mode$ac_tag in
1150   :[FHL]*:*);;
1151   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1152   :[FH]-) ac_tag=-:-;;
1153   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1154   esac
1155   ac_save_IFS=$IFS
1156   IFS=:
1157   set x $ac_tag
1158   IFS=$ac_save_IFS
1159   shift
1160   ac_file=$1
1161   shift
1162
1163   case $ac_mode in
1164   :L) ac_source=$1;;
1165   :[FH])
1166     ac_file_inputs=
1167     for ac_f
1168     do
1169       case $ac_f in
1170       -) ac_f="$ac_tmp/stdin";;
1171       *) # Look for the file first in the build tree, then in the source tree
1172          # (if the path is not absolute).  The absolute path cannot be DOS-style,
1173          # because $ac_f cannot contain `:'.
1174          test -f "$ac_f" ||
1175            case $ac_f in
1176            [\\/$]*) false;;
1177            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1178            esac ||
1179            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1180       esac
1181       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1182       as_fn_append ac_file_inputs " '$ac_f'"
1183     done
1184
1185     # Let's still pretend it is `configure' which instantiates (i.e., don't
1186     # use $as_me), people would be surprised to read:
1187     #    /* config.h.  Generated by config.status.  */
1188     configure_input='Generated from '`
1189           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1190         `' by configure.'
1191     if test x"$ac_file" != x-; then
1192       configure_input="$ac_file.  $configure_input"
1193       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1194 $as_echo "$as_me: creating $ac_file" >&6;}
1195     fi
1196     # Neutralize special characters interpreted by sed in replacement strings.
1197     case $configure_input in #(
1198     *\&* | *\|* | *\\* )
1199        ac_sed_conf_input=`$as_echo "$configure_input" |
1200        sed 's/[\\\\&|]/\\\\&/g'`;; #(
1201     *) ac_sed_conf_input=$configure_input;;
1202     esac
1203
1204     case $ac_tag in
1205     *:-:* | *:-) cat >"$ac_tmp/stdin" \
1206       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1207     esac
1208     ;;
1209   esac
1210
1211   ac_dir=`$as_dirname -- "$ac_file" ||
1212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1213          X"$ac_file" : 'X\(//\)[^/]' \| \
1214          X"$ac_file" : 'X\(//\)$' \| \
1215          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1216 $as_echo X"$ac_file" |
1217     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218             s//\1/
1219             q
1220           }
1221           /^X\(\/\/\)[^/].*/{
1222             s//\1/
1223             q
1224           }
1225           /^X\(\/\/\)$/{
1226             s//\1/
1227             q
1228           }
1229           /^X\(\/\).*/{
1230             s//\1/
1231             q
1232           }
1233           s/.*/./; q'`
1234   as_dir="$ac_dir"; as_fn_mkdir_p
1235   ac_builddir=.
1236
1237 case "$ac_dir" in
1238 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 *)
1240   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1241   # A ".." for each directory in $ac_dir_suffix.
1242   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1243   case $ac_top_builddir_sub in
1244   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1245   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1246   esac ;;
1247 esac
1248 ac_abs_top_builddir=$ac_pwd
1249 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1250 # for backward compatibility:
1251 ac_top_builddir=$ac_top_build_prefix
1252
1253 case $srcdir in
1254   .)  # We are building in place.
1255     ac_srcdir=.
1256     ac_top_srcdir=$ac_top_builddir_sub
1257     ac_abs_top_srcdir=$ac_pwd ;;
1258   [\\/]* | ?:[\\/]* )  # Absolute name.
1259     ac_srcdir=$srcdir$ac_dir_suffix;
1260     ac_top_srcdir=$srcdir
1261     ac_abs_top_srcdir=$srcdir ;;
1262   *) # Relative name.
1263     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1264     ac_top_srcdir=$ac_top_build_prefix$srcdir
1265     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1266 esac
1267 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1268
1269
1270   case $ac_mode in
1271   :F)
1272   #
1273   # CONFIG_FILE
1274   #
1275
1276   case $INSTALL in
1277   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1278   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1279   esac
1280   ac_MKDIR_P=$MKDIR_P
1281   case $MKDIR_P in
1282   [\\/$]* | ?:[\\/]* ) ;;
1283   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1284   esac
1285 # If the template does not know about datarootdir, expand it.
1286 # FIXME: This hack should be removed a few years after 2.60.
1287 ac_datarootdir_hack=; ac_datarootdir_seen=
1288 ac_sed_dataroot='
1289 /datarootdir/ {
1290   p
1291   q
1292 }
1293 /@datadir@/p
1294 /@docdir@/p
1295 /@infodir@/p
1296 /@localedir@/p
1297 /@mandir@/p'
1298 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1299 *datarootdir*) ac_datarootdir_seen=yes;;
1300 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1301   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1302 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1303   ac_datarootdir_hack='
1304   s&@datadir@&${datarootdir}&g
1305   s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1306   s&@infodir@&${datarootdir}/info&g
1307   s&@localedir@&${datarootdir}/locale&g
1308   s&@mandir@&${datarootdir}/man&g
1309   s&\${datarootdir}&${prefix}/share&g' ;;
1310 esac
1311 ac_sed_extra="/^[        ]*VPATH[        ]*=[    ]*/{
1312 h
1313 s///
1314 s/^/:/
1315 s/[      ]*$/:/
1316 s/:\$(srcdir):/:/g
1317 s/:\${srcdir}:/:/g
1318 s/:@srcdir@:/:/g
1319 s/^:*//
1320 s/:*$//
1321 x
1322 s/\(=[   ]*\).*/\1/
1323 G
1324 s/\n//
1325 s/^[^=]*=[       ]*$//
1326 }
1327
1328 :t
1329 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1330 s|@configure_input@|$ac_sed_conf_input|;t t
1331 s&@top_builddir@&$ac_top_builddir_sub&;t t
1332 s&@top_build_prefix@&$ac_top_build_prefix&;t t
1333 s&@srcdir@&$ac_srcdir&;t t
1334 s&@abs_srcdir@&$ac_abs_srcdir&;t t
1335 s&@top_srcdir@&$ac_top_srcdir&;t t
1336 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1337 s&@builddir@&$ac_builddir&;t t
1338 s&@abs_builddir@&$ac_abs_builddir&;t t
1339 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1340 s&@INSTALL@&$ac_INSTALL&;t t
1341 s&@MKDIR_P@&$ac_MKDIR_P&;t t
1342 $ac_datarootdir_hack
1343 "
1344 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1345   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1346
1347 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1348   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1349   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
1350       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1351   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1352 which seems to be undefined.  Please make sure it is defined" >&5
1353 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1354 which seems to be undefined.  Please make sure it is defined" >&2;}
1355
1356   rm -f "$ac_tmp/stdin"
1357   case $ac_file in
1358   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1359   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1360   esac \
1361   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1362  ;;
1363   :H)
1364   #
1365   # CONFIG_HEADER
1366   #
1367   if test x"$ac_file" != x-; then
1368     {
1369       $as_echo "/* $configure_input  */" \
1370       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1371     } >"$ac_tmp/config.h" \
1372       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1373     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1374       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1375 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1376     else
1377       rm -f "$ac_file"
1378       mv "$ac_tmp/config.h" "$ac_file" \
1379         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1380     fi
1381   else
1382     $as_echo "/* $configure_input  */" \
1383       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1384       || as_fn_error $? "could not create -" "$LINENO" 5
1385   fi
1386 # Compute "$ac_file"'s index in $config_headers.
1387 _am_arg="$ac_file"
1388 _am_stamp_count=1
1389 for _am_header in $config_headers :; do
1390   case $_am_header in
1391     $_am_arg | $_am_arg:* )
1392       break ;;
1393     * )
1394       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1395   esac
1396 done
1397 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1398 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399          X"$_am_arg" : 'X\(//\)[^/]' \| \
1400          X"$_am_arg" : 'X\(//\)$' \| \
1401          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1402 $as_echo X"$_am_arg" |
1403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1404             s//\1/
1405             q
1406           }
1407           /^X\(\/\/\)[^/].*/{
1408             s//\1/
1409             q
1410           }
1411           /^X\(\/\/\)$/{
1412             s//\1/
1413             q
1414           }
1415           /^X\(\/\).*/{
1416             s//\1/
1417             q
1418           }
1419           s/.*/./; q'`/stamp-h$_am_stamp_count
1420  ;;
1421
1422   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1423 $as_echo "$as_me: executing $ac_file commands" >&6;}
1424  ;;
1425   esac
1426
1427
1428   case $ac_file$ac_mode in
1429     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1430   # Older Autoconf quotes --file arguments for eval, but not when files
1431   # are listed without --file.  Let's play safe and only enable the eval
1432   # if we detect the quoting.
1433   case $CONFIG_FILES in
1434   *\'*) eval set x "$CONFIG_FILES" ;;
1435   *)   set x $CONFIG_FILES ;;
1436   esac
1437   shift
1438   for mf
1439   do
1440     # Strip MF so we end up with the name of the file.
1441     mf=`echo "$mf" | sed -e 's/:.*$//'`
1442     # Check whether this is an Automake generated Makefile or not.
1443     # We used to match only the files named 'Makefile.in', but
1444     # some people rename them; so instead we look at the file content.
1445     # Grep'ing the first line is not enough: some people post-process
1446     # each Makefile.in and add a new line on top of each file to say so.
1447     # Grep'ing the whole file is not good either: AIX grep has a line
1448     # limit of 2048, but all sed's we know have understand at least 4000.
1449     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1450       dirpart=`$as_dirname -- "$mf" ||
1451 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1452          X"$mf" : 'X\(//\)[^/]' \| \
1453          X"$mf" : 'X\(//\)$' \| \
1454          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1455 $as_echo X"$mf" |
1456     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1457             s//\1/
1458             q
1459           }
1460           /^X\(\/\/\)[^/].*/{
1461             s//\1/
1462             q
1463           }
1464           /^X\(\/\/\)$/{
1465             s//\1/
1466             q
1467           }
1468           /^X\(\/\).*/{
1469             s//\1/
1470             q
1471           }
1472           s/.*/./; q'`
1473     else
1474       continue
1475     fi
1476     # Extract the definition of DEPDIR, am__include, and am__quote
1477     # from the Makefile without running 'make'.
1478     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1479     test -z "$DEPDIR" && continue
1480     am__include=`sed -n 's/^am__include = //p' < "$mf"`
1481     test -z "$am__include" && continue
1482     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1483     # Find all dependency output files, they are included files with
1484     # $(DEPDIR) in their names.  We invoke sed twice because it is the
1485     # simplest approach to changing $(DEPDIR) to its actual value in the
1486     # expansion.
1487     for file in `sed -n "
1488       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1489          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1490       # Make sure the directory exists.
1491       test -f "$dirpart/$file" && continue
1492       fdir=`$as_dirname -- "$file" ||
1493 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1494          X"$file" : 'X\(//\)[^/]' \| \
1495          X"$file" : 'X\(//\)$' \| \
1496          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1497 $as_echo X"$file" |
1498     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1499             s//\1/
1500             q
1501           }
1502           /^X\(\/\/\)[^/].*/{
1503             s//\1/
1504             q
1505           }
1506           /^X\(\/\/\)$/{
1507             s//\1/
1508             q
1509           }
1510           /^X\(\/\).*/{
1511             s//\1/
1512             q
1513           }
1514           s/.*/./; q'`
1515       as_dir=$dirpart/$fdir; as_fn_mkdir_p
1516       # echo "creating $dirpart/$file"
1517       echo '# dummy' > "$dirpart/$file"
1518     done
1519   done
1520 }
1521  ;;
1522     "libtool":C)
1523
1524     # See if we are running on zsh, and set the options that allow our
1525     # commands through without removal of \ escapes.
1526     if test -n "${ZSH_VERSION+set}"; then
1527       setopt NO_GLOB_SUBST
1528     fi
1529
1530     cfgfile=${ofile}T
1531     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1532     $RM "$cfgfile"
1533
1534     cat <<_LT_EOF >> "$cfgfile"
1535 #! $SHELL
1536 # Generated automatically by $as_me ($PACKAGE) $VERSION
1537 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1538 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1539
1540 # Provide generalized library-building support services.
1541 # Written by Gordon Matzigkeit, 1996
1542
1543 # Copyright (C) 2014 Free Software Foundation, Inc.
1544 # This is free software; see the source for copying conditions.  There is NO
1545 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1546
1547 # GNU Libtool is free software; you can redistribute it and/or modify
1548 # it under the terms of the GNU General Public License as published by
1549 # the Free Software Foundation; either version 2 of of the License, or
1550 # (at your option) any later version.
1551 #
1552 # As a special exception to the GNU General Public License, if you
1553 # distribute this file as part of a program or library that is built
1554 # using GNU Libtool, you may include this file under the  same
1555 # distribution terms that you use for the rest of that program.
1556 #
1557 # GNU Libtool is distributed in the hope that it will be useful, but
1558 # WITHOUT ANY WARRANTY; without even the implied warranty of
1559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1560 # GNU General Public License for more details.
1561 #
1562 # You should have received a copy of the GNU General Public License
1563 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
1564
1565
1566 # The names of the tagged configurations supported by this script.
1567 available_tags=''
1568
1569 # Configured defaults for sys_lib_dlsearch_path munging.
1570 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
1571
1572 # ### BEGIN LIBTOOL CONFIG
1573
1574 # Assembler program.
1575 AS=$lt_AS
1576
1577 # DLL creation program.
1578 DLLTOOL=$lt_DLLTOOL
1579
1580 # Object dumper program.
1581 OBJDUMP=$lt_OBJDUMP
1582
1583 # Which release of libtool.m4 was used?
1584 macro_version=$macro_version
1585 macro_revision=$macro_revision
1586
1587 # Whether or not to build shared libraries.
1588 build_libtool_libs=$enable_shared
1589
1590 # Whether or not to build static libraries.
1591 build_old_libs=$enable_static
1592
1593 # What type of objects to build.
1594 pic_mode=$pic_mode
1595
1596 # Whether or not to optimize for fast installation.
1597 fast_install=$enable_fast_install
1598
1599 # Shared archive member basename,for filename based shared library versioning on AIX.
1600 shared_archive_member_spec=$shared_archive_member_spec
1601
1602 # Shell to use when invoking shell scripts.
1603 SHELL=$lt_SHELL
1604
1605 # An echo program that protects backslashes.
1606 ECHO=$lt_ECHO
1607
1608 # The PATH separator for the build system.
1609 PATH_SEPARATOR=$lt_PATH_SEPARATOR
1610
1611 # The host system.
1612 host_alias=$host_alias
1613 host=$host
1614 host_os=$host_os
1615
1616 # The build system.
1617 build_alias=$build_alias
1618 build=$build
1619 build_os=$build_os
1620
1621 # A sed program that does not truncate output.
1622 SED=$lt_SED
1623
1624 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
1625 Xsed="\$SED -e 1s/^X//"
1626
1627 # A grep program that handles long lines.
1628 GREP=$lt_GREP
1629
1630 # An ERE matcher.
1631 EGREP=$lt_EGREP
1632
1633 # A literal string matcher.
1634 FGREP=$lt_FGREP
1635
1636 # A BSD- or MS-compatible name lister.
1637 NM=$lt_NM
1638
1639 # Whether we need soft or hard links.
1640 LN_S=$lt_LN_S
1641
1642 # What is the maximum length of a command?
1643 max_cmd_len=$max_cmd_len
1644
1645 # Object file suffix (normally "o").
1646 objext=$ac_objext
1647
1648 # Executable file suffix (normally "").
1649 exeext=$exeext
1650
1651 # whether the shell understands "unset".
1652 lt_unset=$lt_unset
1653
1654 # turn spaces into newlines.
1655 SP2NL=$lt_lt_SP2NL
1656
1657 # turn newlines into spaces.
1658 NL2SP=$lt_lt_NL2SP
1659
1660 # convert \$build file names to \$host format.
1661 to_host_file_cmd=$lt_cv_to_host_file_cmd
1662
1663 # convert \$build files to toolchain format.
1664 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1665
1666 # Method to check whether dependent libraries are shared objects.
1667 deplibs_check_method=$lt_deplibs_check_method
1668
1669 # Command to use when deplibs_check_method = "file_magic".
1670 file_magic_cmd=$lt_file_magic_cmd
1671
1672 # How to find potential files when deplibs_check_method = "file_magic".
1673 file_magic_glob=$lt_file_magic_glob
1674
1675 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1676 want_nocaseglob=$lt_want_nocaseglob
1677
1678 # Command to associate shared and link libraries.
1679 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1680
1681 # The archiver.
1682 AR=$lt_AR
1683
1684 # Flags to create an archive (by configure).
1685 lt_ar_flags=$lt_ar_flags
1686
1687 # Flags to create an archive.
1688 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
1689
1690 # How to feed a file listing to the archiver.
1691 archiver_list_spec=$lt_archiver_list_spec
1692
1693 # A symbol stripping program.
1694 STRIP=$lt_STRIP
1695
1696 # Commands used to install an old-style archive.
1697 RANLIB=$lt_RANLIB
1698 old_postinstall_cmds=$lt_old_postinstall_cmds
1699 old_postuninstall_cmds=$lt_old_postuninstall_cmds
1700
1701 # Whether to use a lock for old archive extraction.
1702 lock_old_archive_extraction=$lock_old_archive_extraction
1703
1704 # A C compiler.
1705 LTCC=$lt_CC
1706
1707 # LTCC compiler flags.
1708 LTCFLAGS=$lt_CFLAGS
1709
1710 # Take the output of nm and produce a listing of raw symbols and C names.
1711 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1712
1713 # Transform the output of nm in a proper C declaration.
1714 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1715
1716 # Transform the output of nm into a list of symbols to manually relocate.
1717 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
1718
1719 # Transform the output of nm in a C name address pair.
1720 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1721
1722 # Transform the output of nm in a C name address pair when lib prefix is needed.
1723 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1724
1725 # The name lister interface.
1726 nm_interface=$lt_lt_cv_nm_interface
1727
1728 # Specify filename containing input files for \$NM.
1729 nm_file_list_spec=$lt_nm_file_list_spec
1730
1731 # The root where to search for dependent libraries,and where our libraries should be installed.
1732 lt_sysroot=$lt_sysroot
1733
1734 # Command to truncate a binary pipe.
1735 lt_truncate_bin=$lt_lt_cv_truncate_bin
1736
1737 # The name of the directory that contains temporary libtool files.
1738 objdir=$objdir
1739
1740 # Used to examine libraries when file_magic_cmd begins with "file".
1741 MAGIC_CMD=$MAGIC_CMD
1742
1743 # Must we lock files when doing compilation?
1744 need_locks=$lt_need_locks
1745
1746 # Manifest tool.
1747 MANIFEST_TOOL=$lt_MANIFEST_TOOL
1748
1749 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1750 DSYMUTIL=$lt_DSYMUTIL
1751
1752 # Tool to change global to local symbols on Mac OS X.
1753 NMEDIT=$lt_NMEDIT
1754
1755 # Tool to manipulate fat objects and archives on Mac OS X.
1756 LIPO=$lt_LIPO
1757
1758 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
1759 OTOOL=$lt_OTOOL
1760
1761 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1762 OTOOL64=$lt_OTOOL64
1763
1764 # Old archive suffix (normally "a").
1765 libext=$libext
1766
1767 # Shared library suffix (normally ".so").
1768 shrext_cmds=$lt_shrext_cmds
1769
1770 # The commands to extract the exported symbol list from a shared archive.
1771 extract_expsyms_cmds=$lt_extract_expsyms_cmds
1772
1773 # Variables whose values should be saved in libtool wrapper scripts and
1774 # restored at link time.
1775 variables_saved_for_relink=$lt_variables_saved_for_relink
1776
1777 # Do we need the "lib" prefix for modules?
1778 need_lib_prefix=$need_lib_prefix
1779
1780 # Do we need a version for libraries?
1781 need_version=$need_version
1782
1783 # Library versioning type.
1784 version_type=$version_type
1785
1786 # Shared library runtime path variable.
1787 runpath_var=$runpath_var
1788
1789 # Shared library path variable.
1790 shlibpath_var=$shlibpath_var
1791
1792 # Is shlibpath searched before the hard-coded library search path?
1793 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1794
1795 # Format of library name prefix.
1796 libname_spec=$lt_libname_spec
1797
1798 # List of archive names.  First name is the real one, the rest are links.
1799 # The last name is the one that the linker finds with -lNAME
1800 library_names_spec=$lt_library_names_spec
1801
1802 # The coded name of the library, if different from the real name.
1803 soname_spec=$lt_soname_spec
1804
1805 # Permission mode override for installation of shared libraries.
1806 install_override_mode=$lt_install_override_mode
1807
1808 # Command to use after installation of a shared archive.
1809 postinstall_cmds=$lt_postinstall_cmds
1810
1811 # Command to use after uninstallation of a shared archive.
1812 postuninstall_cmds=$lt_postuninstall_cmds
1813
1814 # Commands used to finish a libtool library installation in a directory.
1815 finish_cmds=$lt_finish_cmds
1816
1817 # As "finish_cmds", except a single script fragment to be evaled but
1818 # not shown.
1819 finish_eval=$lt_finish_eval
1820
1821 # Whether we should hardcode library paths into libraries.
1822 hardcode_into_libs=$hardcode_into_libs
1823
1824 # Compile-time system search path for libraries.
1825 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1826
1827 # Detected run-time system search path for libraries.
1828 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
1829
1830 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
1831 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
1832
1833 # Whether dlopen is supported.
1834 dlopen_support=$enable_dlopen
1835
1836 # Whether dlopen of programs is supported.
1837 dlopen_self=$enable_dlopen_self
1838
1839 # Whether dlopen of statically linked programs is supported.
1840 dlopen_self_static=$enable_dlopen_self_static
1841
1842 # Commands to strip libraries.
1843 old_striplib=$lt_old_striplib
1844 striplib=$lt_striplib
1845
1846
1847 # The linker used to build libraries.
1848 LD=$lt_LD
1849
1850 # How to create reloadable object files.
1851 reload_flag=$lt_reload_flag
1852 reload_cmds=$lt_reload_cmds
1853
1854 # Commands used to build an old-style archive.
1855 old_archive_cmds=$lt_old_archive_cmds
1856
1857 # A language specific compiler.
1858 CC=$lt_compiler
1859
1860 # Is the compiler the GNU compiler?
1861 with_gcc=$GCC
1862
1863 # Compiler flag to turn off builtin functions.
1864 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1865
1866 # Additional compiler flags for building library objects.
1867 pic_flag=$lt_lt_prog_compiler_pic
1868
1869 # How to pass a linker flag through the compiler.
1870 wl=$lt_lt_prog_compiler_wl
1871
1872 # Compiler flag to prevent dynamic linking.
1873 link_static_flag=$lt_lt_prog_compiler_static
1874
1875 # Does compiler simultaneously support -c and -o options?
1876 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1877
1878 # Whether or not to add -lc for building shared libraries.
1879 build_libtool_need_lc=$archive_cmds_need_lc
1880
1881 # Whether or not to disallow shared libs when runtime libs are static.
1882 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1883
1884 # Compiler flag to allow reflexive dlopens.
1885 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1886
1887 # Compiler flag to generate shared objects directly from archives.
1888 whole_archive_flag_spec=$lt_whole_archive_flag_spec
1889
1890 # Whether the compiler copes with passing no objects directly.
1891 compiler_needs_object=$lt_compiler_needs_object
1892
1893 # Create an old-style archive from a shared archive.
1894 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1895
1896 # Create a temporary old-style archive to link instead of a shared archive.
1897 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1898
1899 # Commands used to build a shared archive.
1900 archive_cmds=$lt_archive_cmds
1901 archive_expsym_cmds=$lt_archive_expsym_cmds
1902
1903 # Commands used to build a loadable module if different from building
1904 # a shared archive.
1905 module_cmds=$lt_module_cmds
1906 module_expsym_cmds=$lt_module_expsym_cmds
1907
1908 # Whether we are building with GNU ld or not.
1909 with_gnu_ld=$lt_with_gnu_ld
1910
1911 # Flag that allows shared libraries with undefined symbols to be built.
1912 allow_undefined_flag=$lt_allow_undefined_flag
1913
1914 # Flag that enforces no undefined symbols.
1915 no_undefined_flag=$lt_no_undefined_flag
1916
1917 # Flag to hardcode \$libdir into a binary during linking.
1918 # This must work even if \$libdir does not exist
1919 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1920
1921 # Whether we need a single "-rpath" flag with a separated argument.
1922 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1923
1924 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1925 # DIR into the resulting binary.
1926 hardcode_direct=$hardcode_direct
1927
1928 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
1929 # DIR into the resulting binary and the resulting library dependency is
1930 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
1931 # library is relocated.
1932 hardcode_direct_absolute=$hardcode_direct_absolute
1933
1934 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1935 # into the resulting binary.
1936 hardcode_minus_L=$hardcode_minus_L
1937
1938 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1939 # into the resulting binary.
1940 hardcode_shlibpath_var=$hardcode_shlibpath_var
1941
1942 # Set to "yes" if building a shared library automatically hardcodes DIR
1943 # into the library and all subsequent libraries and executables linked
1944 # against it.
1945 hardcode_automatic=$hardcode_automatic
1946
1947 # Set to yes if linker adds runtime paths of dependent libraries
1948 # to runtime path list.
1949 inherit_rpath=$inherit_rpath
1950
1951 # Whether libtool must link a program against all its dependency libraries.
1952 link_all_deplibs=$link_all_deplibs
1953
1954 # Set to "yes" if exported symbols are required.
1955 always_export_symbols=$always_export_symbols
1956
1957 # The commands to list exported symbols.
1958 export_symbols_cmds=$lt_export_symbols_cmds
1959
1960 # Symbols that should not be listed in the preloaded symbols.
1961 exclude_expsyms=$lt_exclude_expsyms
1962
1963 # Symbols that must always be exported.
1964 include_expsyms=$lt_include_expsyms
1965
1966 # Commands necessary for linking programs (against libraries) with templates.
1967 prelink_cmds=$lt_prelink_cmds
1968
1969 # Commands necessary for finishing linking programs.
1970 postlink_cmds=$lt_postlink_cmds
1971
1972 # Specify filename containing input files.
1973 file_list_spec=$lt_file_list_spec
1974
1975 # How to hardcode a shared library path into an executable.
1976 hardcode_action=$hardcode_action
1977
1978 # ### END LIBTOOL CONFIG
1979
1980 _LT_EOF
1981
1982     cat <<'_LT_EOF' >> "$cfgfile"
1983
1984 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
1985
1986 # func_munge_path_list VARIABLE PATH
1987 # -----------------------------------
1988 # VARIABLE is name of variable containing _space_ separated list of
1989 # directories to be munged by the contents of PATH, which is string
1990 # having a format:
1991 # "DIR[:DIR]:"
1992 #       string "DIR[ DIR]" will be prepended to VARIABLE
1993 # ":DIR[:DIR]"
1994 #       string "DIR[ DIR]" will be appended to VARIABLE
1995 # "DIRP[:DIRP]::[DIRA:]DIRA"
1996 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
1997 #       "DIRA[ DIRA]" will be appended to VARIABLE
1998 # "DIR[:DIR]"
1999 #       VARIABLE will be replaced by "DIR[ DIR]"
2000 func_munge_path_list ()
2001 {
2002     case x$2 in
2003     x)
2004         ;;
2005     *:)
2006         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
2007         ;;
2008     x:*)
2009         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
2010         ;;
2011     *::*)
2012         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
2013         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
2014         ;;
2015     *)
2016         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
2017         ;;
2018     esac
2019 }
2020
2021
2022 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
2023 func_cc_basename ()
2024 {
2025     for cc_temp in $*""; do
2026       case $cc_temp in
2027         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
2028         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
2029         \-*) ;;
2030         *) break;;
2031       esac
2032     done
2033     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
2034 }
2035
2036
2037 # ### END FUNCTIONS SHARED WITH CONFIGURE
2038
2039 _LT_EOF
2040
2041   case $host_os in
2042   aix3*)
2043     cat <<\_LT_EOF >> "$cfgfile"
2044 # AIX sometimes has problems with the GCC collect2 program.  For some
2045 # reason, if we set the COLLECT_NAMES environment variable, the problems
2046 # vanish in a puff of smoke.
2047 if test set != "${COLLECT_NAMES+set}"; then
2048   COLLECT_NAMES=
2049   export COLLECT_NAMES
2050 fi
2051 _LT_EOF
2052     ;;
2053   esac
2054
2055
2056 ltmain=$ac_aux_dir/ltmain.sh
2057
2058
2059   # We use sed instead of cat because bash on DJGPP gets confused if
2060   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
2061   # text mode, it properly converts lines to CR/LF.  This bash problem
2062   # is reportedly fixed, but why not run on old versions too?
2063   sed '$q' "$ltmain" >> "$cfgfile" \
2064      || (rm -f "$cfgfile"; exit 1)
2065
2066    mv -f "$cfgfile" "$ofile" ||
2067     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2068   chmod +x "$ofile"
2069
2070  ;;
2071     "script-chmod":C) chmod a+x pcre2-config ;;
2072     "delete-old-chartables":C) rm -f pcre2_chartables.c ;;
2073
2074   esac
2075 done # for ac_tag
2076
2077
2078 as_fn_exit 0