blob: 4a2af2d7e491ba3052594b2cde5cca17bdc23597 [file] [log] [blame]
Tristan Matthews04616462013-11-14 16:09:34 -05001#! /bin/sh
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
7debug=false
8ac_cs_recheck=false
9ac_cs_silent=false
10
11SHELL=${CONFIG_SHELL-/bin/sh}
12export SHELL
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if 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
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_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.
45if 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 --'
49elif (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'
52else
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'
72fi
73
74# The user is always right.
75if 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 }
81fi
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.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
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
102IFS=$as_save_IFS
103
104 ;;
105esac
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.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
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.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export 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.
143as_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.
158as_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.
166as_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.
176as_fn_unset ()
177{
178 { eval $1=; unset $1;}
179}
180as_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.
187if (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 }'
192else
193 as_fn_append ()
194 {
195 eval $1=\$$1\$2
196 }
197fi # 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.
204if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
205 eval 'as_fn_arith ()
206 {
207 as_val=$(( $* ))
208 }'
209else
210 as_fn_arith ()
211 {
212 as_val=`expr "$@" || test $? -eq 1`
213 }
214fi # as_fn_arith
215
216
217if expr a : '\(a\)' >/dev/null 2>&1 &&
218 test "X`expr 00001 : '.*\(...\)'`" = X001; then
219 as_expr=expr
220else
221 as_expr=false
222fi
223
224if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
225 as_basename=basename
226else
227 as_basename=false
228fi
229
230if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
231 as_dirname=dirname
232else
233 as_dirname=false
234fi
235
236as_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.
256as_cr_letters='abcdefghijklmnopqrstuvwxyz'
257as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
258as_cr_Letters=$as_cr_letters$as_cr_LETTERS
259as_cr_digits='0123456789'
260as_cr_alnum=$as_cr_Letters$as_cr_digits
261
262ECHO_C= ECHO_N= ECHO_T=
263case `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';;
273esac
274
275rm -f conf$$ conf$$.exe conf$$.file
276if test -d conf$$.dir; then
277 rm -f conf$$.dir/conf$$.file
278else
279 rm -f conf$$.dir
280 mkdir conf$$.dir 2>/dev/null
281fi
282if (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 -p'.
289 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
290 as_ln_s='cp -p'
291 elif ln conf$$.file conf$$ 2>/dev/null; then
292 as_ln_s=ln
293 else
294 as_ln_s='cp -p'
295 fi
296else
297 as_ln_s='cp -p'
298fi
299rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
300rmdir conf$$.dir 2>/dev/null
301
302
303# as_fn_mkdir_p
304# -------------
305# Create "$as_dir" as a directory, including parents if necessary.
306as_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
350if mkdir -p . 2>/dev/null; then
351 as_mkdir_p='mkdir -p "$as_dir"'
352else
353 test -d ./-p && rmdir ./-p
354 as_mkdir_p=false
355fi
356
357if test -x / >/dev/null 2>&1; then
358 as_test_x='test -x'
359else
360 if ls -dL / >/dev/null 2>&1; then
361 as_ls_L_option=L
362 else
363 as_ls_L_option=
364 fi
365 as_test_x='
366 eval sh -c '\''
367 if test -d "$1"; then
368 test -d "$1/.";
369 else
370 case $1 in #(
371 -*)set "./$1";;
372 esac;
373 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
374 ???[sx]*):;;*)false;;esac;fi
375 '\'' sh
376 '
377fi
378as_executable_p=$as_test_x
379
380# Sed expression to map a string onto a valid CPP name.
381as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
382
383# Sed expression to map a string onto a valid variable name.
384as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
385
386
387exec 6>&1
388## ----------------------------------- ##
389## Main body of $CONFIG_STATUS script. ##
390## ----------------------------------- ##
391# Save the log message, to keep $0 and so on meaningful, and to
392# report actual input values of CONFIG_FILES etc. instead of their
393# values after options handling.
394ac_log="
395This file was extended by PCRE $as_me 8.21, which was
396generated by GNU Autoconf 2.68. Invocation command line was
397
398 CONFIG_FILES = $CONFIG_FILES
399 CONFIG_HEADERS = $CONFIG_HEADERS
400 CONFIG_LINKS = $CONFIG_LINKS
401 CONFIG_COMMANDS = $CONFIG_COMMANDS
402 $ $0 $@
403
404on `(hostname || uname -n) 2>/dev/null | sed 1q`
405"
406
407# Files that config.status was made for.
408config_files=" Makefile libpcre.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
409config_headers=" config.h"
410config_commands=" depfiles libtool script-chmod delete-old-chartables"
411
412ac_cs_usage="\
413\`$as_me' instantiates files and other configuration actions
414from templates according to the current configuration. Unless the files
415and actions are specified as TAGs, all are instantiated by default.
416
417Usage: $0 [OPTION]... [TAG]...
418
419 -h, --help print this help, then exit
420 -V, --version print version number and configuration settings, then exit
421 --config print configuration, then exit
422 -q, --quiet, --silent
423 do not print progress messages
424 -d, --debug don't remove temporary files
425 --recheck update $as_me by reconfiguring in the same conditions
426 --file=FILE[:TEMPLATE]
427 instantiate the configuration file FILE
428 --header=FILE[:TEMPLATE]
429 instantiate the configuration header FILE
430
431Configuration files:
432$config_files
433
434Configuration headers:
435$config_headers
436
437Configuration commands:
438$config_commands
439
440Report bugs to the package provider."
441
442ac_cs_config=""
443ac_cs_version="\
444PCRE config.status 8.21
445configured by ./configure, generated by GNU Autoconf 2.68,
446 with options \"$ac_cs_config\"
447
448Copyright (C) 2010 Free Software Foundation, Inc.
449This config.status script is free software; the Free Software Foundation
450gives unlimited permission to copy, distribute and modify it."
451
452ac_pwd='/home/tristan/src/sflphone-android/jni/libpcre'
453srcdir='.'
454INSTALL='/bin/install -c'
455MKDIR_P='/bin/mkdir -p'
456AWK='gawk'
457test -n "$AWK" || AWK=awk
458# The default lists apply if the user does not specify any file.
459ac_need_defaults=:
460while test $# != 0
461do
462 case $1 in
463 --*=?*)
464 ac_option=`expr "X$1" : 'X\([^=]*\)='`
465 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
466 ac_shift=:
467 ;;
468 --*=)
469 ac_option=`expr "X$1" : 'X\([^=]*\)='`
470 ac_optarg=
471 ac_shift=:
472 ;;
473 *)
474 ac_option=$1
475 ac_optarg=$2
476 ac_shift=shift
477 ;;
478 esac
479
480 case $ac_option in
481 # Handling of the options.
482 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
483 ac_cs_recheck=: ;;
484 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
485 $as_echo "$ac_cs_version"; exit ;;
486 --config | --confi | --conf | --con | --co | --c )
487 $as_echo "$ac_cs_config"; exit ;;
488 --debug | --debu | --deb | --de | --d | -d )
489 debug=: ;;
490 --file | --fil | --fi | --f )
491 $ac_shift
492 case $ac_optarg in
493 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
494 '') as_fn_error $? "missing file argument" ;;
495 esac
496 as_fn_append CONFIG_FILES " '$ac_optarg'"
497 ac_need_defaults=false;;
498 --header | --heade | --head | --hea )
499 $ac_shift
500 case $ac_optarg in
501 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
502 esac
503 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
504 ac_need_defaults=false;;
505 --he | --h)
506 # Conflict between --help and --header
507 as_fn_error $? "ambiguous option: \`$1'
508Try \`$0 --help' for more information.";;
509 --help | --hel | -h )
510 $as_echo "$ac_cs_usage"; exit ;;
511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
512 | -silent | --silent | --silen | --sile | --sil | --si | --s)
513 ac_cs_silent=: ;;
514
515 # This is an error.
516 -*) as_fn_error $? "unrecognized option: \`$1'
517Try \`$0 --help' for more information." ;;
518
519 *) as_fn_append ac_config_targets " $1"
520 ac_need_defaults=false ;;
521
522 esac
523 shift
524done
525
526ac_configure_extra_args=
527
528if $ac_cs_silent; then
529 exec 6>/dev/null
530 ac_configure_extra_args="$ac_configure_extra_args --silent"
531fi
532
533if $ac_cs_recheck; then
534 set X '/bin/sh' './configure' $ac_configure_extra_args --no-create --no-recursion
535 shift
536 $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6
537 CONFIG_SHELL='/bin/sh'
538 export CONFIG_SHELL
539 exec "$@"
540fi
541
542exec 5>>config.log
543{
544 echo
545 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
546## Running $as_me. ##
547_ASBOX
548 $as_echo "$ac_log"
549} >&5
550
551#
552# INIT-COMMANDS
553#
554AMDEP_TRUE="" ac_aux_dir="."
555
556
557# The HP-UX ksh and POSIX shell print the target directory to stdout
558# if CDPATH is set.
559(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
560
561sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
562double_quote_subst='s/\(["`\\]\)/\\\1/g'
563delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
564AS='as'
565DLLTOOL='dlltool'
566OBJDUMP='objdump'
567macro_version='2.4'
568macro_revision='1.3293'
569enable_shared='yes'
570enable_static='yes'
571pic_mode='default'
572enable_fast_install='yes'
573SHELL='/bin/sh'
574ECHO='printf %s\n'
575host_alias=''
576host='x86_64-unknown-linux-gnu'
577host_os='linux-gnu'
578build_alias=''
579build='x86_64-unknown-linux-gnu'
580build_os='linux-gnu'
581SED='/bin/sed'
582Xsed='/bin/sed -e 1s/^X//'
583GREP='/bin/grep'
584EGREP='/bin/grep -E'
585FGREP='/bin/grep -F'
586LD='/bin/ld -m elf_x86_64'
587NM='/bin/nm -B'
588LN_S='ln -s'
589max_cmd_len='1572864'
590ac_objext='o'
591exeext=''
592lt_unset='unset'
593lt_SP2NL='tr \040 \012'
594lt_NL2SP='tr \015\012 \040\040'
595lt_cv_to_host_file_cmd='func_convert_file_noop'
596lt_cv_to_tool_file_cmd='func_convert_file_noop'
597reload_flag=' -r'
598reload_cmds='$LD$reload_flag -o $output$reload_objs'
599deplibs_check_method='pass_all'
600file_magic_cmd='$MAGIC_CMD'
601file_magic_glob=''
602want_nocaseglob='no'
603sharedlib_from_linklib_cmd='printf %s\n'
604AR='ar'
605AR_FLAGS='cru'
606archiver_list_spec='@'
607STRIP='strip'
608RANLIB='ranlib'
609old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib'
610old_postuninstall_cmds=''
611old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
612lock_old_archive_extraction='no'
613CC='gcc'
614CFLAGS='-O2'
615compiler='g++'
616GCC='yes'
617lt_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'\'''
618lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
619lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
620lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
621nm_file_list_spec='@'
622lt_sysroot=''
623objdir='.libs'
624MAGIC_CMD='file'
625lt_prog_compiler_no_builtin_flag=' -fno-builtin'
626lt_prog_compiler_pic=' -fPIC -DPIC'
627lt_prog_compiler_wl='-Wl,'
628lt_prog_compiler_static='-static'
629lt_cv_prog_compiler_c_o='yes'
630need_locks='no'
631MANIFEST_TOOL=':'
632DSYMUTIL=''
633NMEDIT=''
634LIPO=''
635OTOOL=''
636OTOOL64=''
637libext='a'
638shrext_cmds='.so'
639extract_expsyms_cmds=''
640archive_cmds_need_lc='no'
641enable_shared_with_static_runtimes='no'
642export_dynamic_flag_spec='${wl}--export-dynamic'
643whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
644compiler_needs_object='no'
645old_archive_from_new_cmds=''
646old_archive_from_expsyms_cmds=''
647archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
648archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
650 echo "local: *; };" >> $output_objdir/$libname.ver~
651 $CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
652module_cmds=''
653module_expsym_cmds=''
654with_gnu_ld='yes'
655allow_undefined_flag=''
656no_undefined_flag=''
657hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
658hardcode_libdir_flag_spec_ld=''
659hardcode_libdir_separator=''
660hardcode_direct='no'
661hardcode_direct_absolute='no'
662hardcode_minus_L='no'
663hardcode_shlibpath_var='unsupported'
664hardcode_automatic='no'
665inherit_rpath='no'
666link_all_deplibs='unknown'
667always_export_symbols='no'
668export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
669exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
670include_expsyms=''
671prelink_cmds=''
672postlink_cmds=''
673file_list_spec=''
674variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH'
675need_lib_prefix='no'
676need_version='no'
677version_type='linux'
678runpath_var='LD_RUN_PATH'
679shlibpath_var='LD_LIBRARY_PATH'
680shlibpath_overrides_runpath='no'
681libname_spec='lib$name'
682library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
683soname_spec='${libname}${release}${shared_ext}$major'
684install_override_mode=''
685postinstall_cmds=''
686postuninstall_cmds=''
687finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
688finish_eval=''
689hardcode_into_libs='yes'
690sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/4.8.1 /usr/lib64 /lib64 '
691sys_lib_dlsearch_path_spec='/lib /usr/lib /usr/lib64/atlas /usr/lib64/dyninst /usr/lib64/freetype-freeworld /usr/lib64/iscsi /usr/lib64/llvm /opt/lib /usr/local/lib /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib64/root /usr/lib64/tcl8.5 /usr/lib64/tracker-0.16 /usr/lib64/xulrunner '
692hardcode_action='immediate'
693enable_dlopen='unknown'
694enable_dlopen_self='unknown'
695enable_dlopen_self_static='unknown'
696old_striplib='strip --strip-debug'
697striplib='strip --strip-unneeded'
698compiler_lib_search_dirs=''
699predep_objects=''
700postdep_objects=''
701predeps=''
702postdeps=''
703compiler_lib_search_path=''
704LD_CXX='/bin/ld -m elf_x86_64'
705reload_flag_CXX=' -r'
706reload_cmds_CXX='$LD$reload_flag -o $output$reload_objs'
707old_archive_cmds_CXX='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib'
708compiler_CXX='g++'
709GCC_CXX='yes'
710lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
711lt_prog_compiler_pic_CXX=' -fPIC -DPIC'
712lt_prog_compiler_wl_CXX='-Wl,'
713lt_prog_compiler_static_CXX=''
714lt_cv_prog_compiler_c_o_CXX='yes'
715archive_cmds_need_lc_CXX='no'
716enable_shared_with_static_runtimes_CXX='no'
717export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
718whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
719compiler_needs_object_CXX='no'
720old_archive_from_new_cmds_CXX=''
721old_archive_from_expsyms_cmds_CXX=''
722archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
723archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
724module_cmds_CXX=''
725module_expsym_cmds_CXX=''
726with_gnu_ld_CXX='yes'
727allow_undefined_flag_CXX=''
728no_undefined_flag_CXX=''
729hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
730hardcode_libdir_flag_spec_ld_CXX=''
731hardcode_libdir_separator_CXX=''
732hardcode_direct_CXX='no'
733hardcode_direct_absolute_CXX='no'
734hardcode_minus_L_CXX='no'
735hardcode_shlibpath_var_CXX='unsupported'
736hardcode_automatic_CXX='no'
737inherit_rpath_CXX='no'
738link_all_deplibs_CXX='unknown'
739always_export_symbols_CXX='no'
740export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
741exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
742include_expsyms_CXX=''
743prelink_cmds_CXX=''
744postlink_cmds_CXX=''
745file_list_spec_CXX=''
746hardcode_action_CXX='immediate'
747compiler_lib_search_dirs_CXX='/usr/lib/gcc/x86_64-redhat-linux/4.8.1 /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64 /lib/../lib64 /usr/lib/../lib64 /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../..'
748predep_objects_CXX='/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.1/crtbeginS.o'
749postdep_objects_CXX='/usr/lib/gcc/x86_64-redhat-linux/4.8.1/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64/crtn.o'
750predeps_CXX=''
751postdeps_CXX='-lstdc++ -lm -lgcc_s -lc -lgcc_s'
752compiler_lib_search_path_CXX='-L/usr/lib/gcc/x86_64-redhat-linux/4.8.1 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.1/../../..'
753
754LTCC='gcc'
755LTCFLAGS='-O2'
756compiler='gcc'
757
758# A function that is used when there is no print builtin or printf.
759func_fallback_echo ()
760{
761 eval 'cat <<_LTECHO_EOF
762$1
763_LTECHO_EOF'
764}
765
766# Quote evaled strings.
767for var in AS DLLTOOL OBJDUMP SHELL ECHO 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 AR_FLAGS 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_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix nm_file_list_spec 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_flag_spec_ld 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 compiler_lib_search_dirs predep_objects postdep_objects predeps postdeps compiler_lib_search_path LD_CXX reload_flag_CXX compiler_CXX lt_prog_compiler_no_builtin_flag_CXX lt_prog_compiler_pic_CXX lt_prog_compiler_wl_CXX lt_prog_compiler_static_CXX lt_cv_prog_compiler_c_o_CXX export_dynamic_flag_spec_CXX whole_archive_flag_spec_CXX compiler_needs_object_CXX with_gnu_ld_CXX allow_undefined_flag_CXX no_undefined_flag_CXX hardcode_libdir_flag_spec_CXX hardcode_libdir_flag_spec_ld_CXX hardcode_libdir_separator_CXX exclude_expsyms_CXX include_expsyms_CXX file_list_spec_CXX compiler_lib_search_dirs_CXX predep_objects_CXX postdep_objects_CXX predeps_CXX postdeps_CXX compiler_lib_search_path_CXX; do
768 case `eval \\$ECHO \\""\\$$var"\\"` in
769 *[\\\`\"\$]*)
770 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED \"\$sed_quote_subst\"\`\\\""
771 ;;
772 *)
773 eval "lt_$var=\\\"\$$var\\\""
774 ;;
775 esac
776done
777
778# Double-quote double-evaled strings.
779for 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 sys_lib_dlsearch_path_spec reload_cmds_CXX old_archive_cmds_CXX old_archive_from_new_cmds_CXX old_archive_from_expsyms_cmds_CXX archive_cmds_CXX archive_expsym_cmds_CXX module_cmds_CXX module_expsym_cmds_CXX export_symbols_cmds_CXX prelink_cmds_CXX postlink_cmds_CXX; do
780 case `eval \\$ECHO \\""\\$$var"\\"` in
781 *[\\\`\"\$]*)
782 eval "lt_$var=\\\"\`\$ECHO \"\$$var\" | \$SED -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
783 ;;
784 *)
785 eval "lt_$var=\\\"\$$var\\\""
786 ;;
787 esac
788done
789
790ac_aux_dir='.'
791xsi_shell='yes'
792lt_shell_append='yes'
793
794# See if we are running on zsh, and set the options which allow our
795# commands through without removal of \ escapes INIT.
796if test -n "${ZSH_VERSION+set}" ; then
797 setopt NO_GLOB_SUBST
798fi
799
800
801 PACKAGE='pcre'
802 VERSION='8.21'
803 TIMESTAMP=''
804 RM='rm -f'
805 ofile='libtool'
806
807
808
809
810
811
812
813# Handling of arguments.
814for ac_config_target in $ac_config_targets
815do
816 case $ac_config_target in
817 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
818 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
819 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
820 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
821 "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
822 "libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;;
823 "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
824 "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
825 "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
826 "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
827 "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
828 "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
829 "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
830
831 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
832 esac
833done
834
835
836# If the user did not use the arguments to specify the items to instantiate,
837# then the envvar interface is used. Set only those that are not.
838# We use the long form for the default assignment because of an extremely
839# bizarre bug on SunOS 4.1.3.
840if $ac_need_defaults; then
841 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
842 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
843 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
844fi
845
846# Have a temporary directory for convenience. Make it in the build tree
847# simply because there is no reason against having it here, and in addition,
848# creating and moving files from /tmp can sometimes cause problems.
849# Hook for its removal unless debugging.
850# Note that there is a small window in which the directory will not be cleaned:
851# after its creation but before its name has been assigned to `$tmp'.
852$debug ||
853{
854 tmp= ac_tmp=
855 trap 'exit_status=$?
856 : "${ac_tmp:=$tmp}"
857 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
858' 0
859 trap 'as_fn_exit 1' 1 2 13 15
860}
861# Create a (secure) tmp directory for tmp files.
862
863{
864 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
865 test -d "$tmp"
866} ||
867{
868 tmp=./conf$$-$RANDOM
869 (umask 077 && mkdir "$tmp")
870} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
871ac_tmp=$tmp
872
873# Set up the scripts for CONFIG_FILES section.
874# No need to generate them if there are no CONFIG_FILES.
875# This happens for instance with `./config.status config.h'.
876if test -n "$CONFIG_FILES"; then
877
878
879ac_cr=`echo X | tr X '\015'`
880# On cygwin, bash can eat \r inside `` if the user requested igncr.
881# But we know of no other shell where ac_cr would be empty at this
882# point, so we can use a bashism as a fallback.
883if test "x$ac_cr" = x; then
884 eval ac_cr=\$\'\\r\'
885fi
886ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
887if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
888 ac_cs_awk_cr='\\r'
889else
890 ac_cs_awk_cr=$ac_cr
891fi
892
893echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
894cat >>"$ac_tmp/subs1.awk" <<\_ACAWK &&
895S["am__EXEEXT_FALSE"]=""
896S["am__EXEEXT_TRUE"]="#"
897S["LTLIBOBJS"]=""
898S["LIBOBJS"]=""
899S["LIBREADLINE"]=""
900S["LIBBZ2"]=""
901S["LIBZ"]=""
902S["DISTCHECK_CONFIGURE_FLAGS"]="--enable-jit --enable-cpp --enable-unicode-properties"
903S["EXTRA_LIBPCRECPP_LDFLAGS"]=" -version-info 0:0:0 "
904S["EXTRA_LIBPCREPOSIX_LDFLAGS"]=" -version-info 0:0:0"
905S["EXTRA_LIBPCRE_LDFLAGS"]=" -version-info 0:1:0"
906S["PCRE_STATIC_CFLAG"]=""
907S["WITH_UTF8_FALSE"]=""
908S["WITH_UTF8_TRUE"]="#"
909S["WITH_JIT_FALSE"]=""
910S["WITH_JIT_TRUE"]="#"
911S["WITH_REBUILD_CHARTABLES_FALSE"]=""
912S["WITH_REBUILD_CHARTABLES_TRUE"]="#"
913S["WITH_PCRE_CPP_FALSE"]="#"
914S["WITH_PCRE_CPP_TRUE"]=""
915S["pcre_have_bits_type_traits"]="0"
916S["pcre_have_type_traits"]="0"
917S["pcre_have_ulong_long"]="1"
918S["pcre_have_long_long"]="1"
919S["enable_cpp"]="yes"
920S["PCRE_DATE"]="2011-12-12"
921S["PCRE_PRERELEASE"]=""
922S["PCRE_MINOR"]="21"
923S["PCRE_MAJOR"]="8"
924S["CXXCPP"]="g++ -E"
925S["OTOOL64"]=""
926S["OTOOL"]=""
927S["LIPO"]=""
928S["NMEDIT"]=""
929S["DSYMUTIL"]=""
930S["MANIFEST_TOOL"]=":"
931S["RANLIB"]="ranlib"
932S["ac_ct_AR"]="ar"
933S["AR"]="ar"
934S["LN_S"]="ln -s"
935S["NM"]="/bin/nm -B"
936S["ac_ct_DUMPBIN"]=""
937S["DUMPBIN"]=""
938S["LD"]="/bin/ld -m elf_x86_64"
939S["FGREP"]="/bin/grep -F"
940S["SED"]="/bin/sed"
941S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool"
942S["OBJDUMP"]="objdump"
943S["DLLTOOL"]="dlltool"
944S["AS"]="as"
945S["host_os"]="linux-gnu"
946S["host_vendor"]="unknown"
947S["host_cpu"]="x86_64"
948S["host"]="x86_64-unknown-linux-gnu"
949S["build_os"]="linux-gnu"
950S["build_vendor"]="unknown"
951S["build_cpu"]="x86_64"
952S["build"]="x86_64-unknown-linux-gnu"
953S["EGREP"]="/bin/grep -E"
954S["GREP"]="/bin/grep"
955S["CPP"]="gcc -E"
956S["am__fastdepCXX_FALSE"]="#"
957S["am__fastdepCXX_TRUE"]=""
958S["CXXDEPMODE"]="depmode=gcc3"
959S["ac_ct_CXX"]="g++"
960S["CXXFLAGS"]="-O2"
961S["CXX"]="g++"
962S["am__fastdepCC_FALSE"]="#"
963S["am__fastdepCC_TRUE"]=""
964S["CCDEPMODE"]="depmode=gcc3"
965S["AMDEPBACKSLASH"]="\\"
966S["AMDEP_FALSE"]="#"
967S["AMDEP_TRUE"]=""
968S["am__quote"]=""
969S["am__include"]="include"
970S["DEPDIR"]=".deps"
971S["OBJEXT"]="o"
972S["EXEEXT"]=""
973S["ac_ct_CC"]="gcc"
974S["CPPFLAGS"]=""
975S["LDFLAGS"]=""
976S["CFLAGS"]="-O2"
977S["CC"]="gcc"
978S["am__untar"]="${AMTAR} xf -"
979S["am__tar"]="${AMTAR} chof - \"$$tardir\""
980S["AMTAR"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run tar"
981S["am__leading_dot"]="."
982S["SET_MAKE"]=""
983S["AWK"]="gawk"
984S["mkdir_p"]="/bin/mkdir -p"
985S["MKDIR_P"]="/bin/mkdir -p"
986S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s"
987S["STRIP"]="strip"
988S["install_sh"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/install-sh"
989S["MAKEINFO"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run makeinfo"
990S["AUTOHEADER"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run autoheader"
991S["AUTOMAKE"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run automake-1.11"
992S["AUTOCONF"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run autoconf"
993S["ACLOCAL"]="${SHELL} /home/tristan/src/sflphone-android/jni/libpcre/missing --run aclocal-1.11"
994S["VERSION"]="8.21"
995S["PACKAGE"]="pcre"
996S["CYGPATH_W"]="echo"
997S["am__isrc"]=""
998S["INSTALL_DATA"]="${INSTALL} -m 644"
999S["INSTALL_SCRIPT"]="${INSTALL}"
1000S["INSTALL_PROGRAM"]="${INSTALL}"
1001S["target_alias"]=""
1002S["host_alias"]=""
1003S["build_alias"]=""
1004S["LIBS"]=""
1005S["ECHO_T"]=""
1006S["ECHO_N"]="-n"
1007S["ECHO_C"]=""
1008S["DEFS"]="-DHAVE_CONFIG_H"
1009S["mandir"]="${datarootdir}/man"
1010S["localedir"]="${datarootdir}/locale"
1011S["libdir"]="${exec_prefix}/lib"
1012S["psdir"]="${docdir}"
1013S["pdfdir"]="${docdir}"
1014S["dvidir"]="${docdir}"
1015S["htmldir"]="${docdir}/html"
1016S["infodir"]="${datarootdir}/info"
1017S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}"
1018S["oldincludedir"]="/usr/include"
1019S["includedir"]="${prefix}/include"
1020S["localstatedir"]="${prefix}/var"
1021S["sharedstatedir"]="${prefix}/com"
1022S["sysconfdir"]="${prefix}/etc"
1023S["datadir"]="${datarootdir}"
1024S["datarootdir"]="${prefix}/share"
1025S["libexecdir"]="${exec_prefix}/libexec"
1026S["sbindir"]="${exec_prefix}/sbin"
1027S["bindir"]="${exec_prefix}/bin"
1028S["program_transform_name"]="s,x,x,"
1029S["prefix"]="/usr/local"
1030S["exec_prefix"]="${prefix}"
1031S["PACKAGE_URL"]=""
1032S["PACKAGE_BUGREPORT"]=""
1033S["PACKAGE_STRING"]="PCRE 8.21"
1034S["PACKAGE_VERSION"]="8.21"
1035S["PACKAGE_TARNAME"]="pcre"
1036S["PACKAGE_NAME"]="PCRE"
1037S["PATH_SEPARATOR"]=":"
1038S["SHELL"]="/bin/sh"
1039_ACAWK
1040cat >>"$ac_tmp/subs1.awk" <<_ACAWK &&
1041 for (key in S) S_is_set[key] = 1
1042 FS = ""
1043
1044}
1045{
1046 line = $ 0
1047 nfields = split(line, field, "@")
1048 substed = 0
1049 len = length(field[1])
1050 for (i = 2; i < nfields; i++) {
1051 key = field[i]
1052 keylen = length(key)
1053 if (S_is_set[key]) {
1054 value = S[key]
1055 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
1056 len += length(value) + length(field[++i])
1057 substed = 1
1058 } else
1059 len += 1 + keylen
1060 }
1061
1062 print line
1063}
1064
1065_ACAWK
1066if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
1067 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
1068else
1069 cat
1070fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1071 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1072fi # test -n "$CONFIG_FILES"
1073
1074# Set up the scripts for CONFIG_HEADERS section.
1075# No need to generate them if there are no CONFIG_HEADERS.
1076# This happens for instance with `./config.status Makefile'.
1077if test -n "$CONFIG_HEADERS"; then
1078cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1079BEGIN {
1080D["PACKAGE_NAME"]=" \"PCRE\""
1081D["PACKAGE_TARNAME"]=" \"pcre\""
1082D["PACKAGE_VERSION"]=" \"8.21\""
1083D["PACKAGE_STRING"]=" \"PCRE 8.21\""
1084D["PACKAGE_BUGREPORT"]=" \"\""
1085D["PACKAGE_URL"]=" \"\""
1086D["PACKAGE"]=" \"pcre\""
1087D["VERSION"]=" \"8.21\""
1088D["STDC_HEADERS"]=" 1"
1089D["HAVE_SYS_TYPES_H"]=" 1"
1090D["HAVE_SYS_STAT_H"]=" 1"
1091D["HAVE_STDLIB_H"]=" 1"
1092D["HAVE_STRING_H"]=" 1"
1093D["HAVE_MEMORY_H"]=" 1"
1094D["HAVE_STRINGS_H"]=" 1"
1095D["HAVE_INTTYPES_H"]=" 1"
1096D["HAVE_STDINT_H"]=" 1"
1097D["HAVE_UNISTD_H"]=" 1"
1098D["HAVE_DLFCN_H"]=" 1"
1099D["LT_OBJDIR"]=" \".libs/\""
1100D["STDC_HEADERS"]=" 1"
1101D["HAVE_LIMITS_H"]=" 1"
1102D["HAVE_SYS_TYPES_H"]=" 1"
1103D["HAVE_SYS_STAT_H"]=" 1"
1104D["HAVE_DIRENT_H"]=" 1"
1105D["HAVE_STRING"]=" 1"
1106D["HAVE_STRTOQ"]=" 1"
1107D["HAVE_LONG_LONG"]=" 1"
1108D["HAVE_UNSIGNED_LONG_LONG"]=" 1"
1109D["HAVE_BCOPY"]=" 1"
1110D["HAVE_MEMMOVE"]=" 1"
1111D["HAVE_STRERROR"]=" 1"
1112D["HAVE_ZLIB_H"]=" 1"
1113D["HAVE_BZLIB_H"]=" 1"
1114D["HAVE_READLINE_READLINE_H"]=" 1"
1115D["HAVE_READLINE_HISTORY_H"]=" 1"
1116D["PCREGREP_BUFSIZE"]=" 20480"
1117D["NEWLINE"]=" 10"
1118D["LINK_SIZE"]=" 2"
1119D["POSIX_MALLOC_THRESHOLD"]=" 10"
1120D["MATCH_LIMIT"]=" 10000000"
1121D["MATCH_LIMIT_RECURSION"]=" MATCH_LIMIT"
1122D["MAX_NAME_SIZE"]=" 32"
1123D["MAX_NAME_COUNT"]=" 10000"
1124 for (key in D) D_is_set[key] = 1
1125 FS = ""
1126}
1127/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
1128 line = $ 0
1129 split(line, arg, " ")
1130 if (arg[1] == "#") {
1131 defundef = arg[2]
1132 mac1 = arg[3]
1133 } else {
1134 defundef = substr(arg[1], 2)
1135 mac1 = arg[2]
1136 }
1137 split(mac1, mac2, "(") #)
1138 macro = mac2[1]
1139 prefix = substr(line, 1, index(line, defundef) - 1)
1140 if (D_is_set[macro]) {
1141 # Preserve the white space surrounding the "#".
1142 print prefix "define", macro P[macro] D[macro]
1143 next
1144 } else {
1145 # Replace #undef with comments. This is necessary, for example,
1146 # in the case of _POSIX_SOURCE, which is predefined and required
1147 # on some systems where configure will not decide to define it.
1148 if (defundef == "undef") {
1149 print "/*", prefix defundef, macro, "*/"
1150 next
1151 }
1152 }
1153}
1154{ print }
1155_ACAWK
1156 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1157fi # test -n "$CONFIG_HEADERS"
1158
1159
1160eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
1161shift
1162for ac_tag
1163do
1164 case $ac_tag in
1165 :[FHLC]) ac_mode=$ac_tag; continue;;
1166 esac
1167 case $ac_mode$ac_tag in
1168 :[FHL]*:*);;
1169 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1170 :[FH]-) ac_tag=-:-;;
1171 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1172 esac
1173 ac_save_IFS=$IFS
1174 IFS=:
1175 set x $ac_tag
1176 IFS=$ac_save_IFS
1177 shift
1178 ac_file=$1
1179 shift
1180
1181 case $ac_mode in
1182 :L) ac_source=$1;;
1183 :[FH])
1184 ac_file_inputs=
1185 for ac_f
1186 do
1187 case $ac_f in
1188 -) ac_f="$ac_tmp/stdin";;
1189 *) # Look for the file first in the build tree, then in the source tree
1190 # (if the path is not absolute). The absolute path cannot be DOS-style,
1191 # because $ac_f cannot contain `:'.
1192 test -f "$ac_f" ||
1193 case $ac_f in
1194 [\\/$]*) false;;
1195 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1196 esac ||
1197 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1198 esac
1199 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1200 as_fn_append ac_file_inputs " '$ac_f'"
1201 done
1202
1203 # Let's still pretend it is `configure' which instantiates (i.e., don't
1204 # use $as_me), people would be surprised to read:
1205 # /* config.h. Generated by config.status. */
1206 configure_input='Generated from '`
1207 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
1208 `' by configure.'
1209 if test x"$ac_file" != x-; then
1210 configure_input="$ac_file. $configure_input"
1211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1212$as_echo "$as_me: creating $ac_file" >&6;}
1213 fi
1214 # Neutralize special characters interpreted by sed in replacement strings.
1215 case $configure_input in #(
1216 *\&* | *\|* | *\\* )
1217 ac_sed_conf_input=`$as_echo "$configure_input" |
1218 sed 's/[\\\\&|]/\\\\&/g'`;; #(
1219 *) ac_sed_conf_input=$configure_input;;
1220 esac
1221
1222 case $ac_tag in
1223 *:-:* | *:-) cat >"$ac_tmp/stdin" \
1224 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1225 esac
1226 ;;
1227 esac
1228
1229 ac_dir=`$as_dirname -- "$ac_file" ||
1230$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1231 X"$ac_file" : 'X\(//\)[^/]' \| \
1232 X"$ac_file" : 'X\(//\)$' \| \
1233 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1234$as_echo X"$ac_file" |
1235 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1236 s//\1/
1237 q
1238 }
1239 /^X\(\/\/\)[^/].*/{
1240 s//\1/
1241 q
1242 }
1243 /^X\(\/\/\)$/{
1244 s//\1/
1245 q
1246 }
1247 /^X\(\/\).*/{
1248 s//\1/
1249 q
1250 }
1251 s/.*/./; q'`
1252 as_dir="$ac_dir"; as_fn_mkdir_p
1253 ac_builddir=.
1254
1255case "$ac_dir" in
1256.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257*)
1258 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1259 # A ".." for each directory in $ac_dir_suffix.
1260 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1261 case $ac_top_builddir_sub in
1262 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1264 esac ;;
1265esac
1266ac_abs_top_builddir=$ac_pwd
1267ac_abs_builddir=$ac_pwd$ac_dir_suffix
1268# for backward compatibility:
1269ac_top_builddir=$ac_top_build_prefix
1270
1271case $srcdir in
1272 .) # We are building in place.
1273 ac_srcdir=.
1274 ac_top_srcdir=$ac_top_builddir_sub
1275 ac_abs_top_srcdir=$ac_pwd ;;
1276 [\\/]* | ?:[\\/]* ) # Absolute name.
1277 ac_srcdir=$srcdir$ac_dir_suffix;
1278 ac_top_srcdir=$srcdir
1279 ac_abs_top_srcdir=$srcdir ;;
1280 *) # Relative name.
1281 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1282 ac_top_srcdir=$ac_top_build_prefix$srcdir
1283 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1284esac
1285ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1286
1287
1288 case $ac_mode in
1289 :F)
1290 #
1291 # CONFIG_FILE
1292 #
1293
1294 case $INSTALL in
1295 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
1296 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
1297 esac
1298 ac_MKDIR_P=$MKDIR_P
1299 case $MKDIR_P in
1300 [\\/$]* | ?:[\\/]* ) ;;
1301 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
1302 esac
1303# If the template does not know about datarootdir, expand it.
1304# FIXME: This hack should be removed a few years after 2.60.
1305ac_datarootdir_hack=; ac_datarootdir_seen=
1306ac_sed_dataroot='
1307/datarootdir/ {
1308 p
1309 q
1310}
1311/@datadir@/p
1312/@docdir@/p
1313/@infodir@/p
1314/@localedir@/p
1315/@mandir@/p'
1316case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1317*datarootdir*) ac_datarootdir_seen=yes;;
1318*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1320$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1321 ac_datarootdir_hack='
1322 s&@datadir@&${datarootdir}&g
1323 s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g
1324 s&@infodir@&${datarootdir}/info&g
1325 s&@localedir@&${datarootdir}/locale&g
1326 s&@mandir@&${datarootdir}/man&g
1327 s&\${datarootdir}&${prefix}/share&g' ;;
1328esac
1329ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{
1330h
1331s///
1332s/^/:/
1333s/[ ]*$/:/
1334s/:\$(srcdir):/:/g
1335s/:\${srcdir}:/:/g
1336s/:@srcdir@:/:/g
1337s/^:*//
1338s/:*$//
1339x
1340s/\(=[ ]*\).*/\1/
1341G
1342s/\n//
1343s/^[^=]*=[ ]*$//
1344}
1345
1346:t
1347/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
1348s|@configure_input@|$ac_sed_conf_input|;t t
1349s&@top_builddir@&$ac_top_builddir_sub&;t t
1350s&@top_build_prefix@&$ac_top_build_prefix&;t t
1351s&@srcdir@&$ac_srcdir&;t t
1352s&@abs_srcdir@&$ac_abs_srcdir&;t t
1353s&@top_srcdir@&$ac_top_srcdir&;t t
1354s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
1355s&@builddir@&$ac_builddir&;t t
1356s&@abs_builddir@&$ac_abs_builddir&;t t
1357s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
1358s&@INSTALL@&$ac_INSTALL&;t t
1359s&@MKDIR_P@&$ac_MKDIR_P&;t t
1360$ac_datarootdir_hack
1361"
1362eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
1363 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1364
1365test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1366 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
1367 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
1368 "$ac_tmp/out"`; test -z "$ac_out"; } &&
1369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1370which seems to be undefined. Please make sure it is defined" >&5
1371$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1372which seems to be undefined. Please make sure it is defined" >&2;}
1373
1374 rm -f "$ac_tmp/stdin"
1375 case $ac_file in
1376 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
1377 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1378 esac \
1379 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1380 ;;
1381 :H)
1382 #
1383 # CONFIG_HEADER
1384 #
1385 if test x"$ac_file" != x-; then
1386 {
1387 $as_echo "/* $configure_input */" \
1388 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
1389 } >"$ac_tmp/config.h" \
1390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1391 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1392 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1393$as_echo "$as_me: $ac_file is unchanged" >&6;}
1394 else
1395 rm -f "$ac_file"
1396 mv "$ac_tmp/config.h" "$ac_file" \
1397 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1398 fi
1399 else
1400 $as_echo "/* $configure_input */" \
1401 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1402 || as_fn_error $? "could not create -" "$LINENO" 5
1403 fi
1404# Compute "$ac_file"'s index in $config_headers.
1405_am_arg="$ac_file"
1406_am_stamp_count=1
1407for _am_header in $config_headers :; do
1408 case $_am_header in
1409 $_am_arg | $_am_arg:* )
1410 break ;;
1411 * )
1412 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
1413 esac
1414done
1415echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
1416$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1417 X"$_am_arg" : 'X\(//\)[^/]' \| \
1418 X"$_am_arg" : 'X\(//\)$' \| \
1419 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
1420$as_echo X"$_am_arg" |
1421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1422 s//\1/
1423 q
1424 }
1425 /^X\(\/\/\)[^/].*/{
1426 s//\1/
1427 q
1428 }
1429 /^X\(\/\/\)$/{
1430 s//\1/
1431 q
1432 }
1433 /^X\(\/\).*/{
1434 s//\1/
1435 q
1436 }
1437 s/.*/./; q'`/stamp-h$_am_stamp_count
1438 ;;
1439
1440 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1441$as_echo "$as_me: executing $ac_file commands" >&6;}
1442 ;;
1443 esac
1444
1445
1446 case $ac_file$ac_mode in
1447 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1448 # Autoconf 2.62 quotes --file arguments for eval, but not when files
1449 # are listed without --file. Let's play safe and only enable the eval
1450 # if we detect the quoting.
1451 case $CONFIG_FILES in
1452 *\'*) eval set x "$CONFIG_FILES" ;;
1453 *) set x $CONFIG_FILES ;;
1454 esac
1455 shift
1456 for mf
1457 do
1458 # Strip MF so we end up with the name of the file.
1459 mf=`echo "$mf" | sed -e 's/:.*$//'`
1460 # Check whether this is an Automake generated Makefile or not.
1461 # We used to match only the files named `Makefile.in', but
1462 # some people rename them; so instead we look at the file content.
1463 # Grep'ing the first line is not enough: some people post-process
1464 # each Makefile.in and add a new line on top of each file to say so.
1465 # Grep'ing the whole file is not good either: AIX grep has a line
1466 # limit of 2048, but all sed's we know have understand at least 4000.
1467 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1468 dirpart=`$as_dirname -- "$mf" ||
1469$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1470 X"$mf" : 'X\(//\)[^/]' \| \
1471 X"$mf" : 'X\(//\)$' \| \
1472 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
1473$as_echo X"$mf" |
1474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1475 s//\1/
1476 q
1477 }
1478 /^X\(\/\/\)[^/].*/{
1479 s//\1/
1480 q
1481 }
1482 /^X\(\/\/\)$/{
1483 s//\1/
1484 q
1485 }
1486 /^X\(\/\).*/{
1487 s//\1/
1488 q
1489 }
1490 s/.*/./; q'`
1491 else
1492 continue
1493 fi
1494 # Extract the definition of DEPDIR, am__include, and am__quote
1495 # from the Makefile without running `make'.
1496 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1497 test -z "$DEPDIR" && continue
1498 am__include=`sed -n 's/^am__include = //p' < "$mf"`
1499 test -z "am__include" && continue
1500 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1501 # When using ansi2knr, U may be empty or an underscore; expand it
1502 U=`sed -n 's/^U = //p' < "$mf"`
1503 # Find all dependency output files, they are included files with
1504 # $(DEPDIR) in their names. We invoke sed twice because it is the
1505 # simplest approach to changing $(DEPDIR) to its actual value in the
1506 # expansion.
1507 for file in `sed -n "
1508 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1509 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1510 # Make sure the directory exists.
1511 test -f "$dirpart/$file" && continue
1512 fdir=`$as_dirname -- "$file" ||
1513$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1514 X"$file" : 'X\(//\)[^/]' \| \
1515 X"$file" : 'X\(//\)$' \| \
1516 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
1517$as_echo X"$file" |
1518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1519 s//\1/
1520 q
1521 }
1522 /^X\(\/\/\)[^/].*/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)$/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\).*/{
1531 s//\1/
1532 q
1533 }
1534 s/.*/./; q'`
1535 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1536 # echo "creating $dirpart/$file"
1537 echo '# dummy' > "$dirpart/$file"
1538 done
1539 done
1540}
1541 ;;
1542 "libtool":C)
1543
1544 # See if we are running on zsh, and set the options which allow our
1545 # commands through without removal of \ escapes.
1546 if test -n "${ZSH_VERSION+set}" ; then
1547 setopt NO_GLOB_SUBST
1548 fi
1549
1550 cfgfile="${ofile}T"
1551 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
1552 $RM "$cfgfile"
1553
1554 cat <<_LT_EOF >> "$cfgfile"
1555#! $SHELL
1556
1557# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
1558# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
1559# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1560# NOTE: Changes made to this file will be lost: look at ltmain.sh.
1561#
1562# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1563# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1564# Inc.
1565# Written by Gordon Matzigkeit, 1996
1566#
1567# This file is part of GNU Libtool.
1568#
1569# GNU Libtool is free software; you can redistribute it and/or
1570# modify it under the terms of the GNU General Public License as
1571# published by the Free Software Foundation; either version 2 of
1572# the License, or (at your option) any later version.
1573#
1574# As a special exception to the GNU General Public License,
1575# if you distribute this file as part of a program or library that
1576# is built using GNU Libtool, you may include this file under the
1577# same distribution terms that you use for the rest of that program.
1578#
1579# GNU Libtool is distributed in the hope that it will be useful,
1580# but WITHOUT ANY WARRANTY; without even the implied warranty of
1581# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1582# GNU General Public License for more details.
1583#
1584# You should have received a copy of the GNU General Public License
1585# along with GNU Libtool; see the file COPYING. If not, a copy
1586# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
1587# obtained by writing to the Free Software Foundation, Inc.,
1588# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1589
1590
1591# The names of the tagged configurations supported by this script.
1592available_tags="CXX "
1593
1594# ### BEGIN LIBTOOL CONFIG
1595
1596# Assembler program.
1597AS=$lt_AS
1598
1599# DLL creation program.
1600DLLTOOL=$lt_DLLTOOL
1601
1602# Object dumper program.
1603OBJDUMP=$lt_OBJDUMP
1604
1605# Which release of libtool.m4 was used?
1606macro_version=$macro_version
1607macro_revision=$macro_revision
1608
1609# Whether or not to build shared libraries.
1610build_libtool_libs=$enable_shared
1611
1612# Whether or not to build static libraries.
1613build_old_libs=$enable_static
1614
1615# What type of objects to build.
1616pic_mode=$pic_mode
1617
1618# Whether or not to optimize for fast installation.
1619fast_install=$enable_fast_install
1620
1621# Shell to use when invoking shell scripts.
1622SHELL=$lt_SHELL
1623
1624# An echo program that protects backslashes.
1625ECHO=$lt_ECHO
1626
1627# The host system.
1628host_alias=$host_alias
1629host=$host
1630host_os=$host_os
1631
1632# The build system.
1633build_alias=$build_alias
1634build=$build
1635build_os=$build_os
1636
1637# A sed program that does not truncate output.
1638SED=$lt_SED
1639
1640# Sed that helps us avoid accidentally triggering echo(1) options like -n.
1641Xsed="\$SED -e 1s/^X//"
1642
1643# A grep program that handles long lines.
1644GREP=$lt_GREP
1645
1646# An ERE matcher.
1647EGREP=$lt_EGREP
1648
1649# A literal string matcher.
1650FGREP=$lt_FGREP
1651
1652# A BSD- or MS-compatible name lister.
1653NM=$lt_NM
1654
1655# Whether we need soft or hard links.
1656LN_S=$lt_LN_S
1657
1658# What is the maximum length of a command?
1659max_cmd_len=$max_cmd_len
1660
1661# Object file suffix (normally "o").
1662objext=$ac_objext
1663
1664# Executable file suffix (normally "").
1665exeext=$exeext
1666
1667# whether the shell understands "unset".
1668lt_unset=$lt_unset
1669
1670# turn spaces into newlines.
1671SP2NL=$lt_lt_SP2NL
1672
1673# turn newlines into spaces.
1674NL2SP=$lt_lt_NL2SP
1675
1676# convert \$build file names to \$host format.
1677to_host_file_cmd=$lt_cv_to_host_file_cmd
1678
1679# convert \$build files to toolchain format.
1680to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1681
1682# Method to check whether dependent libraries are shared objects.
1683deplibs_check_method=$lt_deplibs_check_method
1684
1685# Command to use when deplibs_check_method = "file_magic".
1686file_magic_cmd=$lt_file_magic_cmd
1687
1688# How to find potential files when deplibs_check_method = "file_magic".
1689file_magic_glob=$lt_file_magic_glob
1690
1691# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
1692want_nocaseglob=$lt_want_nocaseglob
1693
1694# Command to associate shared and link libraries.
1695sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1696
1697# The archiver.
1698AR=$lt_AR
1699
1700# Flags to create an archive.
1701AR_FLAGS=$lt_AR_FLAGS
1702
1703# How to feed a file listing to the archiver.
1704archiver_list_spec=$lt_archiver_list_spec
1705
1706# A symbol stripping program.
1707STRIP=$lt_STRIP
1708
1709# Commands used to install an old-style archive.
1710RANLIB=$lt_RANLIB
1711old_postinstall_cmds=$lt_old_postinstall_cmds
1712old_postuninstall_cmds=$lt_old_postuninstall_cmds
1713
1714# Whether to use a lock for old archive extraction.
1715lock_old_archive_extraction=$lock_old_archive_extraction
1716
1717# A C compiler.
1718LTCC=$lt_CC
1719
1720# LTCC compiler flags.
1721LTCFLAGS=$lt_CFLAGS
1722
1723# Take the output of nm and produce a listing of raw symbols and C names.
1724global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1725
1726# Transform the output of nm in a proper C declaration.
1727global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1728
1729# Transform the output of nm in a C name address pair.
1730global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1731
1732# Transform the output of nm in a C name address pair when lib prefix is needed.
1733global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1734
1735# Specify filename containing input files for \$NM.
1736nm_file_list_spec=$lt_nm_file_list_spec
1737
1738# The root where to search for dependent libraries,and in which our libraries should be installed.
1739lt_sysroot=$lt_sysroot
1740
1741# The name of the directory that contains temporary libtool files.
1742objdir=$objdir
1743
1744# Used to examine libraries when file_magic_cmd begins with "file".
1745MAGIC_CMD=$MAGIC_CMD
1746
1747# Must we lock files when doing compilation?
1748need_locks=$lt_need_locks
1749
1750# Manifest tool.
1751MANIFEST_TOOL=$lt_MANIFEST_TOOL
1752
1753# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
1754DSYMUTIL=$lt_DSYMUTIL
1755
1756# Tool to change global to local symbols on Mac OS X.
1757NMEDIT=$lt_NMEDIT
1758
1759# Tool to manipulate fat objects and archives on Mac OS X.
1760LIPO=$lt_LIPO
1761
1762# ldd/readelf like tool for Mach-O binaries on Mac OS X.
1763OTOOL=$lt_OTOOL
1764
1765# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
1766OTOOL64=$lt_OTOOL64
1767
1768# Old archive suffix (normally "a").
1769libext=$libext
1770
1771# Shared library suffix (normally ".so").
1772shrext_cmds=$lt_shrext_cmds
1773
1774# The commands to extract the exported symbol list from a shared archive.
1775extract_expsyms_cmds=$lt_extract_expsyms_cmds
1776
1777# Variables whose values should be saved in libtool wrapper scripts and
1778# restored at link time.
1779variables_saved_for_relink=$lt_variables_saved_for_relink
1780
1781# Do we need the "lib" prefix for modules?
1782need_lib_prefix=$need_lib_prefix
1783
1784# Do we need a version for libraries?
1785need_version=$need_version
1786
1787# Library versioning type.
1788version_type=$version_type
1789
1790# Shared library runtime path variable.
1791runpath_var=$runpath_var
1792
1793# Shared library path variable.
1794shlibpath_var=$shlibpath_var
1795
1796# Is shlibpath searched before the hard-coded library search path?
1797shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1798
1799# Format of library name prefix.
1800libname_spec=$lt_libname_spec
1801
1802# List of archive names. First name is the real one, the rest are links.
1803# The last name is the one that the linker finds with -lNAME
1804library_names_spec=$lt_library_names_spec
1805
1806# The coded name of the library, if different from the real name.
1807soname_spec=$lt_soname_spec
1808
1809# Permission mode override for installation of shared libraries.
1810install_override_mode=$lt_install_override_mode
1811
1812# Command to use after installation of a shared archive.
1813postinstall_cmds=$lt_postinstall_cmds
1814
1815# Command to use after uninstallation of a shared archive.
1816postuninstall_cmds=$lt_postuninstall_cmds
1817
1818# Commands used to finish a libtool library installation in a directory.
1819finish_cmds=$lt_finish_cmds
1820
1821# As "finish_cmds", except a single script fragment to be evaled but
1822# not shown.
1823finish_eval=$lt_finish_eval
1824
1825# Whether we should hardcode library paths into libraries.
1826hardcode_into_libs=$hardcode_into_libs
1827
1828# Compile-time system search path for libraries.
1829sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1830
1831# Run-time system search path for libraries.
1832sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1833
1834# Whether dlopen is supported.
1835dlopen_support=$enable_dlopen
1836
1837# Whether dlopen of programs is supported.
1838dlopen_self=$enable_dlopen_self
1839
1840# Whether dlopen of statically linked programs is supported.
1841dlopen_self_static=$enable_dlopen_self_static
1842
1843# Commands to strip libraries.
1844old_striplib=$lt_old_striplib
1845striplib=$lt_striplib
1846
1847
1848# The linker used to build libraries.
1849LD=$lt_LD
1850
1851# How to create reloadable object files.
1852reload_flag=$lt_reload_flag
1853reload_cmds=$lt_reload_cmds
1854
1855# Commands used to build an old-style archive.
1856old_archive_cmds=$lt_old_archive_cmds
1857
1858# A language specific compiler.
1859CC=$lt_compiler
1860
1861# Is the compiler the GNU compiler?
1862with_gcc=$GCC
1863
1864# Compiler flag to turn off builtin functions.
1865no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1866
1867# Additional compiler flags for building library objects.
1868pic_flag=$lt_lt_prog_compiler_pic
1869
1870# How to pass a linker flag through the compiler.
1871wl=$lt_lt_prog_compiler_wl
1872
1873# Compiler flag to prevent dynamic linking.
1874link_static_flag=$lt_lt_prog_compiler_static
1875
1876# Does compiler simultaneously support -c and -o options?
1877compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1878
1879# Whether or not to add -lc for building shared libraries.
1880build_libtool_need_lc=$archive_cmds_need_lc
1881
1882# Whether or not to disallow shared libs when runtime libs are static.
1883allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1884
1885# Compiler flag to allow reflexive dlopens.
1886export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1887
1888# Compiler flag to generate shared objects directly from archives.
1889whole_archive_flag_spec=$lt_whole_archive_flag_spec
1890
1891# Whether the compiler copes with passing no objects directly.
1892compiler_needs_object=$lt_compiler_needs_object
1893
1894# Create an old-style archive from a shared archive.
1895old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1896
1897# Create a temporary old-style archive to link instead of a shared archive.
1898old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1899
1900# Commands used to build a shared archive.
1901archive_cmds=$lt_archive_cmds
1902archive_expsym_cmds=$lt_archive_expsym_cmds
1903
1904# Commands used to build a loadable module if different from building
1905# a shared archive.
1906module_cmds=$lt_module_cmds
1907module_expsym_cmds=$lt_module_expsym_cmds
1908
1909# Whether we are building with GNU ld or not.
1910with_gnu_ld=$lt_with_gnu_ld
1911
1912# Flag that allows shared libraries with undefined symbols to be built.
1913allow_undefined_flag=$lt_allow_undefined_flag
1914
1915# Flag that enforces no undefined symbols.
1916no_undefined_flag=$lt_no_undefined_flag
1917
1918# Flag to hardcode \$libdir into a binary during linking.
1919# This must work even if \$libdir does not exist
1920hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1921
1922# If ld is used when linking, flag to hardcode \$libdir into a binary
1923# during linking. This must work even if \$libdir does not exist.
1924hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1925
1926# Whether we need a single "-rpath" flag with a separated argument.
1927hardcode_libdir_separator=$lt_hardcode_libdir_separator
1928
1929# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1930# DIR into the resulting binary.
1931hardcode_direct=$hardcode_direct
1932
1933# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
1934# DIR into the resulting binary and the resulting library dependency is
1935# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
1936# library is relocated.
1937hardcode_direct_absolute=$hardcode_direct_absolute
1938
1939# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
1940# into the resulting binary.
1941hardcode_minus_L=$hardcode_minus_L
1942
1943# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
1944# into the resulting binary.
1945hardcode_shlibpath_var=$hardcode_shlibpath_var
1946
1947# Set to "yes" if building a shared library automatically hardcodes DIR
1948# into the library and all subsequent libraries and executables linked
1949# against it.
1950hardcode_automatic=$hardcode_automatic
1951
1952# Set to yes if linker adds runtime paths of dependent libraries
1953# to runtime path list.
1954inherit_rpath=$inherit_rpath
1955
1956# Whether libtool must link a program against all its dependency libraries.
1957link_all_deplibs=$link_all_deplibs
1958
1959# Set to "yes" if exported symbols are required.
1960always_export_symbols=$always_export_symbols
1961
1962# The commands to list exported symbols.
1963export_symbols_cmds=$lt_export_symbols_cmds
1964
1965# Symbols that should not be listed in the preloaded symbols.
1966exclude_expsyms=$lt_exclude_expsyms
1967
1968# Symbols that must always be exported.
1969include_expsyms=$lt_include_expsyms
1970
1971# Commands necessary for linking programs (against libraries) with templates.
1972prelink_cmds=$lt_prelink_cmds
1973
1974# Commands necessary for finishing linking programs.
1975postlink_cmds=$lt_postlink_cmds
1976
1977# Specify filename containing input files.
1978file_list_spec=$lt_file_list_spec
1979
1980# How to hardcode a shared library path into an executable.
1981hardcode_action=$hardcode_action
1982
1983# The directories searched by this compiler when creating a shared library.
1984compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
1985
1986# Dependencies to place before and after the objects being linked to
1987# create a shared library.
1988predep_objects=$lt_predep_objects
1989postdep_objects=$lt_postdep_objects
1990predeps=$lt_predeps
1991postdeps=$lt_postdeps
1992
1993# The library search path used internally by the compiler when linking
1994# a shared library.
1995compiler_lib_search_path=$lt_compiler_lib_search_path
1996
1997# ### END LIBTOOL CONFIG
1998
1999_LT_EOF
2000
2001 case $host_os in
2002 aix3*)
2003 cat <<\_LT_EOF >> "$cfgfile"
2004# AIX sometimes has problems with the GCC collect2 program. For some
2005# reason, if we set the COLLECT_NAMES environment variable, the problems
2006# vanish in a puff of smoke.
2007if test "X${COLLECT_NAMES+set}" != Xset; then
2008 COLLECT_NAMES=
2009 export COLLECT_NAMES
2010fi
2011_LT_EOF
2012 ;;
2013 esac
2014
2015
2016ltmain="$ac_aux_dir/ltmain.sh"
2017
2018
2019 # We use sed instead of cat because bash on DJGPP gets confused if
2020 # if finds mixed CR/LF and LF-only lines. Since sed operates in
2021 # text mode, it properly converts lines to CR/LF. This bash problem
2022 # is reportedly fixed, but why not run on old versions too?
2023 sed '$q' "$ltmain" >> "$cfgfile" \
2024 || (rm -f "$cfgfile"; exit 1)
2025
2026 if test x"$xsi_shell" = xyes; then
2027 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
2028func_dirname ()\
2029{\
2030\ case ${1} in\
2031\ */*) func_dirname_result="${1%/*}${2}" ;;\
2032\ * ) func_dirname_result="${3}" ;;\
2033\ esac\
2034} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
2035 && mv -f "$cfgfile.tmp" "$cfgfile" \
2036 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2037test 0 -eq $? || _lt_function_replace_fail=:
2038
2039
2040 sed -e '/^func_basename ()$/,/^} # func_basename /c\
2041func_basename ()\
2042{\
2043\ func_basename_result="${1##*/}"\
2044} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
2045 && mv -f "$cfgfile.tmp" "$cfgfile" \
2046 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2047test 0 -eq $? || _lt_function_replace_fail=:
2048
2049
2050 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
2051func_dirname_and_basename ()\
2052{\
2053\ case ${1} in\
2054\ */*) func_dirname_result="${1%/*}${2}" ;;\
2055\ * ) func_dirname_result="${3}" ;;\
2056\ esac\
2057\ func_basename_result="${1##*/}"\
2058} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
2059 && mv -f "$cfgfile.tmp" "$cfgfile" \
2060 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2061test 0 -eq $? || _lt_function_replace_fail=:
2062
2063
2064 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
2065func_stripname ()\
2066{\
2067\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
2068\ # positional parameters, so assign one to ordinary parameter first.\
2069\ func_stripname_result=${3}\
2070\ func_stripname_result=${func_stripname_result#"${1}"}\
2071\ func_stripname_result=${func_stripname_result%"${2}"}\
2072} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
2073 && mv -f "$cfgfile.tmp" "$cfgfile" \
2074 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2075test 0 -eq $? || _lt_function_replace_fail=:
2076
2077
2078 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
2079func_split_long_opt ()\
2080{\
2081\ func_split_long_opt_name=${1%%=*}\
2082\ func_split_long_opt_arg=${1#*=}\
2083} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
2084 && mv -f "$cfgfile.tmp" "$cfgfile" \
2085 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2086test 0 -eq $? || _lt_function_replace_fail=:
2087
2088
2089 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
2090func_split_short_opt ()\
2091{\
2092\ func_split_short_opt_arg=${1#??}\
2093\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
2094} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
2095 && mv -f "$cfgfile.tmp" "$cfgfile" \
2096 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2097test 0 -eq $? || _lt_function_replace_fail=:
2098
2099
2100 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
2101func_lo2o ()\
2102{\
2103\ case ${1} in\
2104\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
2105\ *) func_lo2o_result=${1} ;;\
2106\ esac\
2107} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
2108 && mv -f "$cfgfile.tmp" "$cfgfile" \
2109 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2110test 0 -eq $? || _lt_function_replace_fail=:
2111
2112
2113 sed -e '/^func_xform ()$/,/^} # func_xform /c\
2114func_xform ()\
2115{\
2116 func_xform_result=${1%.*}.lo\
2117} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
2118 && mv -f "$cfgfile.tmp" "$cfgfile" \
2119 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2120test 0 -eq $? || _lt_function_replace_fail=:
2121
2122
2123 sed -e '/^func_arith ()$/,/^} # func_arith /c\
2124func_arith ()\
2125{\
2126 func_arith_result=$(( $* ))\
2127} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
2128 && mv -f "$cfgfile.tmp" "$cfgfile" \
2129 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2130test 0 -eq $? || _lt_function_replace_fail=:
2131
2132
2133 sed -e '/^func_len ()$/,/^} # func_len /c\
2134func_len ()\
2135{\
2136 func_len_result=${#1}\
2137} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
2138 && mv -f "$cfgfile.tmp" "$cfgfile" \
2139 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2140test 0 -eq $? || _lt_function_replace_fail=:
2141
2142fi
2143
2144if test x"$lt_shell_append" = xyes; then
2145 sed -e '/^func_append ()$/,/^} # func_append /c\
2146func_append ()\
2147{\
2148 eval "${1}+=\\${2}"\
2149} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
2150 && mv -f "$cfgfile.tmp" "$cfgfile" \
2151 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2152test 0 -eq $? || _lt_function_replace_fail=:
2153
2154
2155 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
2156func_append_quoted ()\
2157{\
2158\ func_quote_for_eval "${2}"\
2159\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
2160} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
2161 && mv -f "$cfgfile.tmp" "$cfgfile" \
2162 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2163test 0 -eq $? || _lt_function_replace_fail=:
2164
2165
2166 # Save a `func_append' function call where possible by direct use of '+='
2167 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
2168 && mv -f "$cfgfile.tmp" "$cfgfile" \
2169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2170 test 0 -eq $? || _lt_function_replace_fail=:
2171else
2172 # Save a `func_append' function call even when '+=' is not available
2173 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
2174 && mv -f "$cfgfile.tmp" "$cfgfile" \
2175 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
2176 test 0 -eq $? || _lt_function_replace_fail=:
2177fi
2178
2179if test x"$_lt_function_replace_fail" = x":"; then
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
2181$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
2182fi
2183
2184
2185 mv -f "$cfgfile" "$ofile" ||
2186 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
2187 chmod +x "$ofile"
2188
2189
2190 cat <<_LT_EOF >> "$ofile"
2191
2192# ### BEGIN LIBTOOL TAG CONFIG: CXX
2193
2194# The linker used to build libraries.
2195LD=$lt_LD_CXX
2196
2197# How to create reloadable object files.
2198reload_flag=$lt_reload_flag_CXX
2199reload_cmds=$lt_reload_cmds_CXX
2200
2201# Commands used to build an old-style archive.
2202old_archive_cmds=$lt_old_archive_cmds_CXX
2203
2204# A language specific compiler.
2205CC=$lt_compiler_CXX
2206
2207# Is the compiler the GNU compiler?
2208with_gcc=$GCC_CXX
2209
2210# Compiler flag to turn off builtin functions.
2211no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
2212
2213# Additional compiler flags for building library objects.
2214pic_flag=$lt_lt_prog_compiler_pic_CXX
2215
2216# How to pass a linker flag through the compiler.
2217wl=$lt_lt_prog_compiler_wl_CXX
2218
2219# Compiler flag to prevent dynamic linking.
2220link_static_flag=$lt_lt_prog_compiler_static_CXX
2221
2222# Does compiler simultaneously support -c and -o options?
2223compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
2224
2225# Whether or not to add -lc for building shared libraries.
2226build_libtool_need_lc=$archive_cmds_need_lc_CXX
2227
2228# Whether or not to disallow shared libs when runtime libs are static.
2229allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
2230
2231# Compiler flag to allow reflexive dlopens.
2232export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
2233
2234# Compiler flag to generate shared objects directly from archives.
2235whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
2236
2237# Whether the compiler copes with passing no objects directly.
2238compiler_needs_object=$lt_compiler_needs_object_CXX
2239
2240# Create an old-style archive from a shared archive.
2241old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
2242
2243# Create a temporary old-style archive to link instead of a shared archive.
2244old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
2245
2246# Commands used to build a shared archive.
2247archive_cmds=$lt_archive_cmds_CXX
2248archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
2249
2250# Commands used to build a loadable module if different from building
2251# a shared archive.
2252module_cmds=$lt_module_cmds_CXX
2253module_expsym_cmds=$lt_module_expsym_cmds_CXX
2254
2255# Whether we are building with GNU ld or not.
2256with_gnu_ld=$lt_with_gnu_ld_CXX
2257
2258# Flag that allows shared libraries with undefined symbols to be built.
2259allow_undefined_flag=$lt_allow_undefined_flag_CXX
2260
2261# Flag that enforces no undefined symbols.
2262no_undefined_flag=$lt_no_undefined_flag_CXX
2263
2264# Flag to hardcode \$libdir into a binary during linking.
2265# This must work even if \$libdir does not exist
2266hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
2267
2268# If ld is used when linking, flag to hardcode \$libdir into a binary
2269# during linking. This must work even if \$libdir does not exist.
2270hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
2271
2272# Whether we need a single "-rpath" flag with a separated argument.
2273hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
2274
2275# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2276# DIR into the resulting binary.
2277hardcode_direct=$hardcode_direct_CXX
2278
2279# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
2280# DIR into the resulting binary and the resulting library dependency is
2281# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
2282# library is relocated.
2283hardcode_direct_absolute=$hardcode_direct_absolute_CXX
2284
2285# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
2286# into the resulting binary.
2287hardcode_minus_L=$hardcode_minus_L_CXX
2288
2289# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
2290# into the resulting binary.
2291hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
2292
2293# Set to "yes" if building a shared library automatically hardcodes DIR
2294# into the library and all subsequent libraries and executables linked
2295# against it.
2296hardcode_automatic=$hardcode_automatic_CXX
2297
2298# Set to yes if linker adds runtime paths of dependent libraries
2299# to runtime path list.
2300inherit_rpath=$inherit_rpath_CXX
2301
2302# Whether libtool must link a program against all its dependency libraries.
2303link_all_deplibs=$link_all_deplibs_CXX
2304
2305# Set to "yes" if exported symbols are required.
2306always_export_symbols=$always_export_symbols_CXX
2307
2308# The commands to list exported symbols.
2309export_symbols_cmds=$lt_export_symbols_cmds_CXX
2310
2311# Symbols that should not be listed in the preloaded symbols.
2312exclude_expsyms=$lt_exclude_expsyms_CXX
2313
2314# Symbols that must always be exported.
2315include_expsyms=$lt_include_expsyms_CXX
2316
2317# Commands necessary for linking programs (against libraries) with templates.
2318prelink_cmds=$lt_prelink_cmds_CXX
2319
2320# Commands necessary for finishing linking programs.
2321postlink_cmds=$lt_postlink_cmds_CXX
2322
2323# Specify filename containing input files.
2324file_list_spec=$lt_file_list_spec_CXX
2325
2326# How to hardcode a shared library path into an executable.
2327hardcode_action=$hardcode_action_CXX
2328
2329# The directories searched by this compiler when creating a shared library.
2330compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
2331
2332# Dependencies to place before and after the objects being linked to
2333# create a shared library.
2334predep_objects=$lt_predep_objects_CXX
2335postdep_objects=$lt_postdep_objects_CXX
2336predeps=$lt_predeps_CXX
2337postdeps=$lt_postdeps_CXX
2338
2339# The library search path used internally by the compiler when linking
2340# a shared library.
2341compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
2342
2343# ### END LIBTOOL TAG CONFIG: CXX
2344_LT_EOF
2345
2346 ;;
2347 "script-chmod":C) chmod a+x pcre-config ;;
2348 "delete-old-chartables":C) rm -f pcre_chartables.c ;;
2349
2350 esac
2351done # for ac_tag
2352
2353
2354as_fn_exit 0