upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / srclib / pcre / 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 SHELL=${CONFIG_SHELL-/bin/bash}
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 as_nl='
43 '
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
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 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85   as_unset=unset
86 else
87   as_unset=false
88 fi
89
90
91 # IFS
92 # We need space, tab and new line, in precisely that order.  Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" ""        $as_nl"
97
98 # Find who we are.  Look in the path if we contain no directory separator.
99 case $0 in
100   *[\\/]* ) as_myself=$0 ;;
101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
103 do
104   IFS=$as_save_IFS
105   test -z "$as_dir" && as_dir=.
106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
109
110      ;;
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115   as_myself=$0
116 fi
117 if test ! -f "$as_myself"; then
118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119   { (exit 1); exit 1; }
120 fi
121
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
139   as_expr=expr
140 else
141   as_expr=false
142 fi
143
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145   as_basename=basename
146 else
147   as_basename=false
148 fi
149
150
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154          X"$0" : 'X\(//\)$' \| \
155          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157     sed '/^.*\/\([^/][^/]*\)\/*$/{
158             s//\1/
159             q
160           }
161           /^X\/\(\/\/\)$/{
162             s//\1/
163             q
164           }
165           /^X\/\(\/\).*/{
166             s//\1/
167             q
168           }
169           s/.*/./; q'`
170
171 # CDPATH.
172 $as_unset CDPATH
173
174
175
176   as_lineno_1=$LINENO
177   as_lineno_2=$LINENO
178   test "x$as_lineno_1" != "x$as_lineno_2" &&
179   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
180
181   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
182   # uniformly replaced by the line number.  The first 'sed' inserts a
183   # line-number line after each line using $LINENO; the second 'sed'
184   # does the real work.  The second script uses 'N' to pair each
185   # line-number line with the line containing $LINENO, and appends
186   # trailing '-' during substitution so that $LINENO is not a special
187   # case at line end.
188   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
189   # scripts with optimization help from Paolo Bonzini.  Blame Lee
190   # E. McMahon (1931-1989) for sed's syntax.  :-)
191   sed -n '
192     p
193     /[$]LINENO/=
194   ' <$as_myself |
195     sed '
196       s/[$]LINENO.*/&-/
197       t lineno
198       b
199       :lineno
200       N
201       :loop
202       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
203       t loop
204       s/-\n.*//
205     ' >$as_me.lineno &&
206   chmod +x "$as_me.lineno" ||
207     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
208    { (exit 1); exit 1; }; }
209
210   # Don't try to exec as it changes $[0], causing all sort of problems
211   # (the dirname of $[0] is not the place where we might find the
212   # original and so on.  Autoconf is especially sensitive to this).
213   . "./$as_me.lineno"
214   # Exit status is that of the last command.
215   exit
216 }
217
218
219 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
220   as_dirname=dirname
221 else
222   as_dirname=false
223 fi
224
225 ECHO_C= ECHO_N= ECHO_T=
226 case `echo -n x` in
227 -n*)
228   case `echo 'x\c'` in
229   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
230   *)   ECHO_C='\c';;
231   esac;;
232 *)
233   ECHO_N='-n';;
234 esac
235 if expr a : '\(a\)' >/dev/null 2>&1 &&
236    test "X`expr 00001 : '.*\(...\)'`" = X001; then
237   as_expr=expr
238 else
239   as_expr=false
240 fi
241
242 rm -f conf$$ conf$$.exe conf$$.file
243 if test -d conf$$.dir; then
244   rm -f conf$$.dir/conf$$.file
245 else
246   rm -f conf$$.dir
247   mkdir conf$$.dir 2>/dev/null
248 fi
249 if (echo >conf$$.file) 2>/dev/null; then
250   if ln -s conf$$.file conf$$ 2>/dev/null; then
251     as_ln_s='ln -s'
252     # ... but there are two gotchas:
253     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
254     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
255     # In both cases, we have to default to `cp -p'.
256     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
257       as_ln_s='cp -p'
258   elif ln conf$$.file conf$$ 2>/dev/null; then
259     as_ln_s=ln
260   else
261     as_ln_s='cp -p'
262   fi
263 else
264   as_ln_s='cp -p'
265 fi
266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
267 rmdir conf$$.dir 2>/dev/null
268
269 if mkdir -p . 2>/dev/null; then
270   as_mkdir_p=:
271 else
272   test -d ./-p && rmdir ./-p
273   as_mkdir_p=false
274 fi
275
276 if test -x / >/dev/null 2>&1; then
277   as_test_x='test -x'
278 else
279   if ls -dL / >/dev/null 2>&1; then
280     as_ls_L_option=L
281   else
282     as_ls_L_option=
283   fi
284   as_test_x='
285     eval sh -c '\''
286       if test -d "$1"; then
287         test -d "$1/.";
288       else
289         case $1 in
290         -*)set "./$1";;
291         esac;
292         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
293         ???[sx]*):;;*)false;;esac;fi
294     '\'' sh
295   '
296 fi
297 as_executable_p=$as_test_x
298
299 # Sed expression to map a string onto a valid CPP name.
300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
301
302 # Sed expression to map a string onto a valid variable name.
303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
304
305
306 exec 6>&1
307
308 # Save the log message, to keep $[0] and so on meaningful, and to
309 # report actual input values of CONFIG_FILES etc. instead of their
310 # values after options handling.
311 ac_log="
312 This file was extended by $as_me, which was
313 generated by GNU Autoconf 2.63.  Invocation command line was
314
315   CONFIG_FILES    = $CONFIG_FILES
316   CONFIG_HEADERS  = $CONFIG_HEADERS
317   CONFIG_LINKS    = $CONFIG_LINKS
318   CONFIG_COMMANDS = $CONFIG_COMMANDS
319   $ $0 $@
320
321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
322 "
323
324 # Files that config.status was made for.
325 config_files=" Makefile pcre.h:pcre.in pcre-config"
326 config_headers=" config.h:config.in"
327 config_commands=" default"
328
329 ac_cs_usage="\
330 \`$as_me' instantiates files from templates according to the
331 current configuration.
332
333 Usage: $0 [OPTION]... [FILE]...
334
335   -h, --help       print this help, then exit
336   -V, --version    print version number and configuration settings, then exit
337   -q, --quiet, --silent
338                    do not print progress messages
339   -d, --debug      don't remove temporary files
340       --recheck    update $as_me by reconfiguring in the same conditions
341       --file=FILE[:TEMPLATE]
342                    instantiate the configuration file FILE
343       --header=FILE[:TEMPLATE]
344                    instantiate the configuration header FILE
345
346 Configuration files:
347 $config_files
348
349 Configuration headers:
350 $config_headers
351
352 Configuration commands:
353 $config_commands
354
355 Report bugs to <bug-autoconf@gnu.org>."
356
357 ac_cs_version="\
358 config.status
359 configured by /bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre/configure, generated by GNU Autoconf 2.63,
360   with options \"'--disable-option-checking' '--enable-module=so' '--enable-so' '--with-mpm=worker' '--cache-file=/dev/null' '--srcdir=/bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre' '--prefix=/bottlenecks/rubbos/app/apache2' '--exec-prefix=/bottlenecks/rubbos/app/apache2' '--libdir=\${prefix}/lib' '--includedir=/bottlenecks/rubbos/app/apache2/include' '--bindir=\${prefix}/bin'\"
361
362 Copyright (C) 2008 Free Software Foundation, Inc.
363 This config.status script is free software; the Free Software Foundation
364 gives unlimited permission to copy, distribute and modify it."
365
366 ac_pwd='/bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre'
367 srcdir='.'
368 test -n "$AWK" || AWK=awk
369 # The default lists apply if the user does not specify any file.
370 ac_need_defaults=:
371 while test $# != 0
372 do
373   case $1 in
374   --*=*)
375     ac_option=`expr "X$1" : 'X\([^=]*\)='`
376     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
377     ac_shift=:
378     ;;
379   *)
380     ac_option=$1
381     ac_optarg=$2
382     ac_shift=shift
383     ;;
384   esac
385
386   case $ac_option in
387   # Handling of the options.
388   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
389     ac_cs_recheck=: ;;
390   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
391     $as_echo "$ac_cs_version"; exit ;;
392   --debug | --debu | --deb | --de | --d | -d )
393     debug=: ;;
394   --file | --fil | --fi | --f )
395     $ac_shift
396     case $ac_optarg in
397     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
398     esac
399     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
400     ac_need_defaults=false;;
401   --header | --heade | --head | --hea )
402     $ac_shift
403     case $ac_optarg in
404     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
405     esac
406     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
407     ac_need_defaults=false;;
408   --he | --h)
409     # Conflict between --help and --header
410     { $as_echo "$as_me: error: ambiguous option: $1
411 Try \`$0 --help' for more information." >&2
412    { (exit 1); exit 1; }; };;
413   --help | --hel | -h )
414     $as_echo "$ac_cs_usage"; exit ;;
415   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
416   | -silent | --silent | --silen | --sile | --sil | --si | --s)
417     ac_cs_silent=: ;;
418
419   # This is an error.
420   -*) { $as_echo "$as_me: error: unrecognized option: $1
421 Try \`$0 --help' for more information." >&2
422    { (exit 1); exit 1; }; } ;;
423
424   *) ac_config_targets="$ac_config_targets $1"
425      ac_need_defaults=false ;;
426
427   esac
428   shift
429 done
430
431 ac_configure_extra_args=
432
433 if $ac_cs_silent; then
434   exec 6>/dev/null
435   ac_configure_extra_args="$ac_configure_extra_args --silent"
436 fi
437
438 if $ac_cs_recheck; then
439   set X '/bin/bash' '/bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre/configure'  '--disable-option-checking' '--enable-module=so' '--enable-so' '--with-mpm=worker' '--cache-file=/dev/null' '--srcdir=/bottlenecks/rubbos/app/httpd-2.0.64/srclib/pcre' '--prefix=/bottlenecks/rubbos/app/apache2' '--exec-prefix=/bottlenecks/rubbos/app/apache2' '--libdir=${prefix}/lib' '--includedir=/bottlenecks/rubbos/app/apache2/include' '--bindir=${prefix}/bin' $ac_configure_extra_args --no-create --no-recursion
440   shift
441   $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
442   CONFIG_SHELL='/bin/bash'
443   export CONFIG_SHELL
444   exec "$@"
445 fi
446
447 exec 5>>config.log
448 {
449   echo
450   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
451 ## Running $as_me. ##
452 _ASBOX
453   $as_echo "$ac_log"
454 } >&5
455
456
457 # Handling of arguments.
458 for ac_config_target in $ac_config_targets
459 do
460   case $ac_config_target in
461     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
462     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
463     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h:pcre.in" ;;
464     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
465     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
466
467   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
468 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
469    { (exit 1); exit 1; }; };;
470   esac
471 done
472
473
474 # If the user did not use the arguments to specify the items to instantiate,
475 # then the envvar interface is used.  Set only those that are not.
476 # We use the long form for the default assignment because of an extremely
477 # bizarre bug on SunOS 4.1.3.
478 if $ac_need_defaults; then
479   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
480   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
481   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
482 fi
483
484 # Have a temporary directory for convenience.  Make it in the build tree
485 # simply because there is no reason against having it here, and in addition,
486 # creating and moving files from /tmp can sometimes cause problems.
487 # Hook for its removal unless debugging.
488 # Note that there is a small window in which the directory will not be cleaned:
489 # after its creation but before its name has been assigned to `$tmp'.
490 $debug ||
491 {
492   tmp=
493   trap 'exit_status=$?
494   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
495 ' 0
496   trap '{ (exit 1); exit 1; }' 1 2 13 15
497 }
498 # Create a (secure) tmp directory for tmp files.
499
500 {
501   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
502   test -n "$tmp" && test -d "$tmp"
503 }  ||
504 {
505   tmp=./conf$$-$RANDOM
506   (umask 077 && mkdir "$tmp")
507 } ||
508 {
509    $as_echo "$as_me: cannot create a temporary directory in ." >&2
510    { (exit 1); exit 1; }
511 }
512
513 # Set up the scripts for CONFIG_FILES section.
514 # No need to generate them if there are no CONFIG_FILES.
515 # This happens for instance with `./config.status config.h'.
516 if test -n "$CONFIG_FILES"; then
517
518
519 ac_cr='\r'
520 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
521 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
522   ac_cs_awk_cr='\\r'
523 else
524   ac_cs_awk_cr=$ac_cr
525 fi
526
527 echo 'BEGIN {' >"$tmp/subs1.awk" &&
528 cat >>"$tmp/subs1.awk" <<\_ACAWK &&
529 S["LTLIBOBJS"]=""
530 S["LIBOBJS"]=""
531 S["PCRE_POSIXLIB_VERSION"]="0:0:0"
532 S["PCRE_LIB_VERSION"]="0:1:0"
533 S["PCRE_VERSION"]="3.9"
534 S["PCRE_DATE"]="02-Jan-2002"
535 S["PCRE_MINOR"]="9"
536 S["PCRE_MAJOR"]="3"
537 S["UTF8"]=""
538 S["NEWLINE"]=""
539 S["LIBSUFFIX"]="la"
540 S["LIBTOOL"]="./libtool"
541 S["HAVE_STRERROR"]=""
542 S["HAVE_MEMMOVE"]=""
543 S["EGREP"]="/bin/grep -E"
544 S["GREP"]="/bin/grep"
545 S["CPP"]="gcc -E"
546 S["RANLIB"]="ranlib"
547 S["OBJEXT"]="o"
548 S["EXEEXT"]=""
549 S["ac_ct_CC"]="gcc"
550 S["CPPFLAGS"]=""
551 S["LDFLAGS"]=""
552 S["CFLAGS"]="-g -O2"
553 S["CC"]="gcc"
554 S["target_alias"]=""
555 S["host_alias"]=""
556 S["build_alias"]=""
557 S["LIBS"]=""
558 S["ECHO_T"]=""
559 S["ECHO_N"]="-n"
560 S["ECHO_C"]=""
561 S["DEFS"]="-DHAVE_CONFIG_H"
562 S["mandir"]="${datarootdir}/man"
563 S["localedir"]="${datarootdir}/locale"
564 S["libdir"]="${prefix}/lib"
565 S["psdir"]="${docdir}"
566 S["pdfdir"]="${docdir}"
567 S["dvidir"]="${docdir}"
568 S["htmldir"]="${docdir}"
569 S["infodir"]="${datarootdir}/info"
570 S["docdir"]="${datarootdir}/doc/${PACKAGE}"
571 S["oldincludedir"]="/usr/include"
572 S["includedir"]="/bottlenecks/rubbos/app/apache2/include"
573 S["localstatedir"]="${prefix}/var"
574 S["sharedstatedir"]="${prefix}/com"
575 S["sysconfdir"]="${prefix}/etc"
576 S["datadir"]="${datarootdir}"
577 S["datarootdir"]="${prefix}/share"
578 S["libexecdir"]="${exec_prefix}/libexec"
579 S["sbindir"]="${exec_prefix}/sbin"
580 S["bindir"]="${prefix}/bin"
581 S["program_transform_name"]="s,x,x,"
582 S["prefix"]="/bottlenecks/rubbos/app/apache2"
583 S["exec_prefix"]="/bottlenecks/rubbos/app/apache2"
584 S["PACKAGE_BUGREPORT"]=""
585 S["PACKAGE_STRING"]=""
586 S["PACKAGE_VERSION"]=""
587 S["PACKAGE_TARNAME"]=""
588 S["PACKAGE_NAME"]=""
589 S["PATH_SEPARATOR"]=":"
590 S["SHELL"]="/bin/bash"
591 _ACAWK
592 cat >>"$tmp/subs1.awk" <<_ACAWK &&
593   for (key in S) S_is_set[key] = 1
594   FS = "\a"
595
596 }
597 {
598   line = $ 0
599   nfields = split(line, field, "@")
600   substed = 0
601   len = length(field[1])
602   for (i = 2; i < nfields; i++) {
603     key = field[i]
604     keylen = length(key)
605     if (S_is_set[key]) {
606       value = S[key]
607       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
608       len += length(value) + length(field[++i])
609       substed = 1
610     } else
611       len += 1 + keylen
612   }
613
614   print line
615 }
616
617 _ACAWK
618 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
619   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
620 else
621   cat
622 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
623   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
624 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
625    { (exit 1); exit 1; }; }
626 fi # test -n "$CONFIG_FILES"
627
628 # Set up the scripts for CONFIG_HEADERS section.
629 # No need to generate them if there are no CONFIG_HEADERS.
630 # This happens for instance with `./config.status Makefile'.
631 if test -n "$CONFIG_HEADERS"; then
632 cat >"$tmp/defines.awk" <<\_ACAWK ||
633 BEGIN {
634 D["PACKAGE_NAME"]=" \"\""
635 D["PACKAGE_TARNAME"]=" \"\""
636 D["PACKAGE_VERSION"]=" \"\""
637 D["PACKAGE_STRING"]=" \"\""
638 D["PACKAGE_BUGREPORT"]=" \"\""
639 D["STDC_HEADERS"]=" 1"
640 D["HAVE_SYS_TYPES_H"]=" 1"
641 D["HAVE_SYS_STAT_H"]=" 1"
642 D["HAVE_STDLIB_H"]=" 1"
643 D["HAVE_STRING_H"]=" 1"
644 D["HAVE_MEMORY_H"]=" 1"
645 D["HAVE_STRINGS_H"]=" 1"
646 D["HAVE_INTTYPES_H"]=" 1"
647 D["HAVE_STDINT_H"]=" 1"
648 D["HAVE_UNISTD_H"]=" 1"
649 D["HAVE_LIMITS_H"]=" 1"
650 D["HAVE_BCOPY"]=" 1"
651 D["HAVE_MEMMOVE"]=" 1"
652 D["HAVE_STRERROR"]=" 1"
653   for (key in D) D_is_set[key] = 1
654   FS = "\a"
655 }
656 /^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ {
657   line = $ 0
658   split(line, arg, " ")
659   if (arg[1] == "#") {
660     defundef = arg[2]
661     mac1 = arg[3]
662   } else {
663     defundef = substr(arg[1], 2)
664     mac1 = arg[2]
665   }
666   split(mac1, mac2, "(") #)
667   macro = mac2[1]
668   prefix = substr(line, 1, index(line, defundef) - 1)
669   if (D_is_set[macro]) {
670     # Preserve the white space surrounding the "#".
671     print prefix "define", macro P[macro] D[macro]
672     next
673   } else {
674     # Replace #undef with comments.  This is necessary, for example,
675     # in the case of _POSIX_SOURCE, which is predefined and required
676     # on some systems where configure will not decide to define it.
677     if (defundef == "undef") {
678       print "/*", prefix defundef, macro, "*/"
679       next
680     }
681   }
682 }
683 { print }
684 _ACAWK
685   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
686 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
687    { (exit 1); exit 1; }; }
688 fi # test -n "$CONFIG_HEADERS"
689
690
691 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
692 shift
693 for ac_tag
694 do
695   case $ac_tag in
696   :[FHLC]) ac_mode=$ac_tag; continue;;
697   esac
698   case $ac_mode$ac_tag in
699   :[FHL]*:*);;
700   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
701 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
702    { (exit 1); exit 1; }; };;
703   :[FH]-) ac_tag=-:-;;
704   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
705   esac
706   ac_save_IFS=$IFS
707   IFS=:
708   set x $ac_tag
709   IFS=$ac_save_IFS
710   shift
711   ac_file=$1
712   shift
713
714   case $ac_mode in
715   :L) ac_source=$1;;
716   :[FH])
717     ac_file_inputs=
718     for ac_f
719     do
720       case $ac_f in
721       -) ac_f="$tmp/stdin";;
722       *) # Look for the file first in the build tree, then in the source tree
723          # (if the path is not absolute).  The absolute path cannot be DOS-style,
724          # because $ac_f cannot contain `:'.
725          test -f "$ac_f" ||
726            case $ac_f in
727            [\\/$]*) false;;
728            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
729            esac ||
730            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
731 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
732    { (exit 1); exit 1; }; };;
733       esac
734       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
735       ac_file_inputs="$ac_file_inputs '$ac_f'"
736     done
737
738     # Let's still pretend it is `configure' which instantiates (i.e., don't
739     # use $as_me), people would be surprised to read:
740     #    /* config.h.  Generated by config.status.  */
741     configure_input='Generated from '`
742           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
743         `' by configure.'
744     if test x"$ac_file" != x-; then
745       configure_input="$ac_file.  $configure_input"
746       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
747 $as_echo "$as_me: creating $ac_file" >&6;}
748     fi
749     # Neutralize special characters interpreted by sed in replacement strings.
750     case $configure_input in #(
751     *\&* | *\|* | *\\* )
752        ac_sed_conf_input=`$as_echo "$configure_input" |
753        sed 's/[\\\\&|]/\\\\&/g'`;; #(
754     *) ac_sed_conf_input=$configure_input;;
755     esac
756
757     case $ac_tag in
758     *:-:* | *:-) cat >"$tmp/stdin" \
759       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
760 $as_echo "$as_me: error: could not create $ac_file" >&2;}
761    { (exit 1); exit 1; }; } ;;
762     esac
763     ;;
764   esac
765
766   ac_dir=`$as_dirname -- "$ac_file" ||
767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
768          X"$ac_file" : 'X\(//\)[^/]' \| \
769          X"$ac_file" : 'X\(//\)$' \| \
770          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
771 $as_echo X"$ac_file" |
772     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
773             s//\1/
774             q
775           }
776           /^X\(\/\/\)[^/].*/{
777             s//\1/
778             q
779           }
780           /^X\(\/\/\)$/{
781             s//\1/
782             q
783           }
784           /^X\(\/\).*/{
785             s//\1/
786             q
787           }
788           s/.*/./; q'`
789   { as_dir="$ac_dir"
790   case $as_dir in #(
791   -*) as_dir=./$as_dir;;
792   esac
793   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
794     as_dirs=
795     while :; do
796       case $as_dir in #(
797       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
798       *) as_qdir=$as_dir;;
799       esac
800       as_dirs="'$as_qdir' $as_dirs"
801       as_dir=`$as_dirname -- "$as_dir" ||
802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
803          X"$as_dir" : 'X\(//\)[^/]' \| \
804          X"$as_dir" : 'X\(//\)$' \| \
805          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
806 $as_echo X"$as_dir" |
807     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
808             s//\1/
809             q
810           }
811           /^X\(\/\/\)[^/].*/{
812             s//\1/
813             q
814           }
815           /^X\(\/\/\)$/{
816             s//\1/
817             q
818           }
819           /^X\(\/\).*/{
820             s//\1/
821             q
822           }
823           s/.*/./; q'`
824       test -d "$as_dir" && break
825     done
826     test -z "$as_dirs" || eval "mkdir $as_dirs"
827   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
828 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
829    { (exit 1); exit 1; }; }; }
830   ac_builddir=.
831
832 case "$ac_dir" in
833 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
834 *)
835   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
836   # A ".." for each directory in $ac_dir_suffix.
837   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
838   case $ac_top_builddir_sub in
839   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
840   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
841   esac ;;
842 esac
843 ac_abs_top_builddir=$ac_pwd
844 ac_abs_builddir=$ac_pwd$ac_dir_suffix
845 # for backward compatibility:
846 ac_top_builddir=$ac_top_build_prefix
847
848 case $srcdir in
849   .)  # We are building in place.
850     ac_srcdir=.
851     ac_top_srcdir=$ac_top_builddir_sub
852     ac_abs_top_srcdir=$ac_pwd ;;
853   [\\/]* | ?:[\\/]* )  # Absolute name.
854     ac_srcdir=$srcdir$ac_dir_suffix;
855     ac_top_srcdir=$srcdir
856     ac_abs_top_srcdir=$srcdir ;;
857   *) # Relative name.
858     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
859     ac_top_srcdir=$ac_top_build_prefix$srcdir
860     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
861 esac
862 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
863
864
865   case $ac_mode in
866   :F)
867   #
868   # CONFIG_FILE
869   #
870
871 # If the template does not know about datarootdir, expand it.
872 # FIXME: This hack should be removed a few years after 2.60.
873 ac_datarootdir_hack=; ac_datarootdir_seen=
874
875 ac_sed_dataroot='
876 /datarootdir/ {
877   p
878   q
879 }
880 /@datadir@/p
881 /@docdir@/p
882 /@infodir@/p
883 /@localedir@/p
884 /@mandir@/p
885 '
886 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
887 *datarootdir*) ac_datarootdir_seen=yes;;
888 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
889   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
890 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
891   ac_datarootdir_hack='
892   s&@datadir@&${datarootdir}&g
893   s&@docdir@&${datarootdir}/doc/${PACKAGE}&g
894   s&@infodir@&${datarootdir}/info&g
895   s&@localedir@&${datarootdir}/locale&g
896   s&@mandir@&${datarootdir}/man&g
897     s&\${datarootdir}&${prefix}/share&g' ;;
898 esac
899 ac_sed_extra="/^[        ]*VPATH[        ]*=/{
900 s/:*\$(srcdir):*/:/
901 s/:*\${srcdir}:*/:/
902 s/:*@srcdir@:*/:/
903 s/^\([^=]*=[     ]*\):*/\1/
904 s/:*$//
905 s/^[^=]*=[       ]*$//
906 }
907
908 :t
909 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
910 s|@configure_input@|$ac_sed_conf_input|;t t
911 s&@top_builddir@&$ac_top_builddir_sub&;t t
912 s&@top_build_prefix@&$ac_top_build_prefix&;t t
913 s&@srcdir@&$ac_srcdir&;t t
914 s&@abs_srcdir@&$ac_abs_srcdir&;t t
915 s&@top_srcdir@&$ac_top_srcdir&;t t
916 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
917 s&@builddir@&$ac_builddir&;t t
918 s&@abs_builddir@&$ac_abs_builddir&;t t
919 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
920 $ac_datarootdir_hack
921 "
922 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
923   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
924 $as_echo "$as_me: error: could not create $ac_file" >&2;}
925    { (exit 1); exit 1; }; }
926
927 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
928   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
929   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
930   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
931 which seems to be undefined.  Please make sure it is defined." >&5
932 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
933 which seems to be undefined.  Please make sure it is defined." >&2;}
934
935   rm -f "$tmp/stdin"
936   case $ac_file in
937   -) cat "$tmp/out" && rm -f "$tmp/out";;
938   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
939   esac \
940   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
941 $as_echo "$as_me: error: could not create $ac_file" >&2;}
942    { (exit 1); exit 1; }; }
943  ;;
944   :H)
945   #
946   # CONFIG_HEADER
947   #
948   if test x"$ac_file" != x-; then
949     {
950       $as_echo "/* $configure_input  */" \
951       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
952     } >"$tmp/config.h" \
953       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
954 $as_echo "$as_me: error: could not create $ac_file" >&2;}
955    { (exit 1); exit 1; }; }
956     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
957       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
958 $as_echo "$as_me: $ac_file is unchanged" >&6;}
959     else
960       rm -f "$ac_file"
961       mv "$tmp/config.h" "$ac_file" \
962         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
963 $as_echo "$as_me: error: could not create $ac_file" >&2;}
964    { (exit 1); exit 1; }; }
965     fi
966   else
967     $as_echo "/* $configure_input  */" \
968       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
969       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
970 $as_echo "$as_me: error: could not create -" >&2;}
971    { (exit 1); exit 1; }; }
972   fi
973  ;;
974
975   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
976 $as_echo "$as_me: executing $ac_file commands" >&6;}
977  ;;
978   esac
979
980
981   case $ac_file$ac_mode in
982     "default":C) chmod a+x pcre-config ;;
983
984   esac
985 done # for ac_tag
986
987
988 { (exit 0); exit 0; }