Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for drool 2.0.0.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
202 as_have_required=yes
203 else
204 as_have_required=no
205 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 as_found=false
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 do
213 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
215 as_found=:
216 case $as_dir in #(
217 /*)
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 break 2
226 fi
227 fi
228 done;;
229 esac
230 as_found=false
231 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
259 fi
260
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 $as_echo "$0: Please tell [email protected] and [email protected]
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
272 $0: have one."
273 fi
274 exit 1
275 fi
276 fi
277 fi
278 SHELL=${CONFIG_SHELL-/bin/sh}
279 export SHELL
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
283
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
287 # as_fn_unset VAR
288 # ---------------
289 # Portably unset VAR.
290 as_fn_unset ()
291 {
292 { eval $1=; unset $1;}
293 }
294 as_unset=as_fn_unset
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313
314 # as_fn_mkdir_p
315 # -------------
316 # Create "$as_dir" as a directory, including parents if necessary.
317 as_fn_mkdir_p ()
318 {
319
320 case $as_dir in #(
321 -*) as_dir=./$as_dir;;
322 esac
323 test -d "$as_dir" || eval $as_mkdir_p || {
324 as_dirs=
325 while :; do
326 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 *) as_qdir=$as_dir;;
329 esac
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338 s//\1/
339 q
340 }
341 /^X\(\/\/\)[^/].*/{
342 s//\1/
343 q
344 }
345 /^X\(\/\/\)$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\).*/{
350 s//\1/
351 q
352 }
353 s/.*/./; q'`
354 test -d "$as_dir" && break
355 done
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
358
359
360 } # as_fn_mkdir_p
361
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
366 {
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
374 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
377 {
378 eval $1+=\$2
379 }'
380 else
381 as_fn_append ()
382 {
383 eval $1=\$$1\$2
384 }
385 fi # as_fn_append
386
387 # as_fn_arith ARG...
388 # ------------------
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
393 eval 'as_fn_arith ()
394 {
395 as_val=$(( $* ))
396 }'
397 else
398 as_fn_arith ()
399 {
400 as_val=`expr "$@" || test $? -eq 1`
401 }
402 fi # as_fn_arith
403
404
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
410 as_fn_error ()
411 {
412 as_status=$1; test $as_status -eq 0 && as_status=1
413 if test "$4"; then
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416 fi
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
419 } # as_fn_error
420
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
423 as_expr=expr
424 else
425 as_expr=false
426 fi
427
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
429 as_basename=basename
430 else
431 as_basename=false
432 fi
433
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
435 as_dirname=dirname
436 else
437 as_dirname=false
438 fi
439
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
446 s//\1/
447 q
448 }
449 /^X\/\(\/\/\)$/{
450 s//\1/
451 q
452 }
453 /^X\/\(\/\).*/{
454 s//\1/
455 q
456 }
457 s/.*/./; q'`
458
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
465
466
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
472 sed -n '
473 p
474 /[$]LINENO/=
475 ' <$as_myself |
476 sed '
477 s/[$]LINENO.*/&-/
478 t lineno
479 b
480 :lineno
481 N
482 :loop
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 t loop
485 s/-\n.*//
486 ' >$as_me.lineno &&
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
497 . "./$as_me.lineno"
498 # Exit status is that of the last command.
499 exit
500 }
501
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
504 -n*)
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
507 xy) ECHO_C='\c';;
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
509 ECHO_T=' ';;
510 esac;;
511 *)
512 ECHO_N='-n';;
513 esac
514
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
518 else
519 rm -f conf$$.dir
520 mkdir conf$$.dir 2>/dev/null
521 fi
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
524 as_ln_s='ln -s'
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
530 as_ln_s='cp -pR'
531 elif ln conf$$.file conf$$ 2>/dev/null; then
532 as_ln_s=ln
533 else
534 as_ln_s='cp -pR'
535 fi
536 else
537 as_ln_s='cp -pR'
538 fi
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
541
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
544 else
545 test -d ./-p && rmdir ./-p
546 as_mkdir_p=false
547 fi
548
549 as_test_x='test -x'
550 as_executable_p=as_fn_executable_p
551
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
554
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557
558
559 test -n "$DJDIR" || exec 7<&0 </dev/null
560 exec 6>&1
561
562 # Name of the host.
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
566
567 #
568 # Initializations.
569 #
570 ac_default_prefix=/usr/local
571 ac_clean_files=
572 ac_config_libobj_dir=.
573 LIBOBJS=
574 cross_compiling=no
575 subdirs=
576 MFLAGS=
577 MAKEFLAGS=
578
579 # Identity of this package.
580 PACKAGE_NAME='drool'
581 PACKAGE_TARNAME='drool'
582 PACKAGE_VERSION='2.0.0'
583 PACKAGE_STRING='drool 2.0.0'
584 PACKAGE_BUGREPORT='[email protected]'
585 PACKAGE_URL='https://github.com/DNS-OARC/drool/issues'
586
587 ac_unique_file="src/drool.in"
588 ac_subst_vars='LTLIBOBJS
589 LIBOBJS
590 DROOL_SHEBANG
591 DNSJIT_ROOT
592 DNSJIT
593 AM_BACKSLASH
594 AM_DEFAULT_VERBOSITY
595 AM_DEFAULT_V
596 AM_V
597 am__untar
598 am__tar
599 AMTAR
600 am__leading_dot
601 SET_MAKE
602 AWK
603 mkdir_p
604 MKDIR_P
605 INSTALL_STRIP_PROGRAM
606 STRIP
607 install_sh
608 MAKEINFO
609 AUTOHEADER
610 AUTOMAKE
611 AUTOCONF
612 ACLOCAL
613 VERSION
614 PACKAGE
615 CYGPATH_W
616 am__isrc
617 INSTALL_DATA
618 INSTALL_SCRIPT
619 INSTALL_PROGRAM
620 target_alias
621 host_alias
622 build_alias
623 LIBS
624 ECHO_T
625 ECHO_N
626 ECHO_C
627 DEFS
628 mandir
629 localedir
630 libdir
631 psdir
632 pdfdir
633 dvidir
634 htmldir
635 infodir
636 docdir
637 oldincludedir
638 includedir
639 runstatedir
640 localstatedir
641 sharedstatedir
642 sysconfdir
643 datadir
644 datarootdir
645 libexecdir
646 sbindir
647 bindir
648 program_transform_name
649 prefix
650 exec_prefix
651 PACKAGE_URL
652 PACKAGE_BUGREPORT
653 PACKAGE_STRING
654 PACKAGE_VERSION
655 PACKAGE_TARNAME
656 PACKAGE_NAME
657 PATH_SEPARATOR
658 SHELL'
659 ac_subst_files=''
660 ac_user_opts='
661 enable_option_checking
662 enable_silent_rules
663 with_dnsjit
664 enable_warn_all
665 with_extra_cflags
666 with_extra_ldflags
667 with_shebang
668 '
669 ac_precious_vars='build_alias
670 host_alias
671 target_alias'
672
673
674 # Initialize some variables set by options.
675 ac_init_help=
676 ac_init_version=false
677 ac_unrecognized_opts=
678 ac_unrecognized_sep=
679 # The variables have the same names as the options, with
680 # dashes changed to underlines.
681 cache_file=/dev/null
682 exec_prefix=NONE
683 no_create=
684 no_recursion=
685 prefix=NONE
686 program_prefix=NONE
687 program_suffix=NONE
688 program_transform_name=s,x,x,
689 silent=
690 site=
691 srcdir=
692 verbose=
693 x_includes=NONE
694 x_libraries=NONE
695
696 # Installation directory options.
697 # These are left unexpanded so users can "make install exec_prefix=/foo"
698 # and all the variables that are supposed to be based on exec_prefix
699 # by default will actually change.
700 # Use braces instead of parens because sh, perl, etc. also accept them.
701 # (The list follows the same order as the GNU Coding Standards.)
702 bindir='${exec_prefix}/bin'
703 sbindir='${exec_prefix}/sbin'
704 libexecdir='${exec_prefix}/libexec'
705 datarootdir='${prefix}/share'
706 datadir='${datarootdir}'
707 sysconfdir='${prefix}/etc'
708 sharedstatedir='${prefix}/com'
709 localstatedir='${prefix}/var'
710 runstatedir='${localstatedir}/run'
711 includedir='${prefix}/include'
712 oldincludedir='/usr/include'
713 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
714 infodir='${datarootdir}/info'
715 htmldir='${docdir}'
716 dvidir='${docdir}'
717 pdfdir='${docdir}'
718 psdir='${docdir}'
719 libdir='${exec_prefix}/lib'
720 localedir='${datarootdir}/locale'
721 mandir='${datarootdir}/man'
722
723 ac_prev=
724 ac_dashdash=
725 for ac_option
726 do
727 # If the previous option needs an argument, assign it.
728 if test -n "$ac_prev"; then
729 eval $ac_prev=\$ac_option
730 ac_prev=
731 continue
732 fi
733
734 case $ac_option in
735 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
736 *=) ac_optarg= ;;
737 *) ac_optarg=yes ;;
738 esac
739
740 # Accept the important Cygnus configure options, so we can diagnose typos.
741
742 case $ac_dashdash$ac_option in
743 --)
744 ac_dashdash=yes ;;
745
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 ac_prev=bindir ;;
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 bindir=$ac_optarg ;;
750
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
755
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
762
763 --config-cache | -C)
764 cache_file=config.cache ;;
765
766 -datadir | --datadir | --datadi | --datad)
767 ac_prev=datadir ;;
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
770
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
777
778 -disable-* | --disable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782 as_fn_error $? "invalid feature name: $ac_useropt"
783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
786 *"
787 "enable_$ac_useropt"
788 "*) ;;
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
791 esac
792 eval enable_$ac_useropt=no ;;
793
794 -docdir | --docdir | --docdi | --doc | --do)
795 ac_prev=docdir ;;
796 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 docdir=$ac_optarg ;;
798
799 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 ac_prev=dvidir ;;
801 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 dvidir=$ac_optarg ;;
803
804 -enable-* | --enable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error $? "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=\$ac_optarg ;;
819
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
824 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826 | --exec=* | --exe=* | --ex=*)
827 exec_prefix=$ac_optarg ;;
828
829 -gas | --gas | --ga | --g)
830 # Obsolete; use --with-gas.
831 with_gas=yes ;;
832
833 -help | --help | --hel | --he | -h)
834 ac_init_help=long ;;
835 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836 ac_init_help=recursive ;;
837 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838 ac_init_help=short ;;
839
840 -host | --host | --hos | --ho)
841 ac_prev=host_alias ;;
842 -host=* | --host=* | --hos=* | --ho=*)
843 host_alias=$ac_optarg ;;
844
845 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 ac_prev=htmldir ;;
847 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 | --ht=*)
849 htmldir=$ac_optarg ;;
850
851 -includedir | --includedir | --includedi | --included | --include \
852 | --includ | --inclu | --incl | --inc)
853 ac_prev=includedir ;;
854 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855 | --includ=* | --inclu=* | --incl=* | --inc=*)
856 includedir=$ac_optarg ;;
857
858 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 ac_prev=infodir ;;
860 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861 infodir=$ac_optarg ;;
862
863 -libdir | --libdir | --libdi | --libd)
864 ac_prev=libdir ;;
865 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 libdir=$ac_optarg ;;
867
868 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869 | --libexe | --libex | --libe)
870 ac_prev=libexecdir ;;
871 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872 | --libexe=* | --libex=* | --libe=*)
873 libexecdir=$ac_optarg ;;
874
875 -localedir | --localedir | --localedi | --localed | --locale)
876 ac_prev=localedir ;;
877 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878 localedir=$ac_optarg ;;
879
880 -localstatedir | --localstatedir | --localstatedi | --localstated \
881 | --localstate | --localstat | --localsta | --localst | --locals)
882 ac_prev=localstatedir ;;
883 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885 localstatedir=$ac_optarg ;;
886
887 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 ac_prev=mandir ;;
889 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
890 mandir=$ac_optarg ;;
891
892 -nfp | --nfp | --nf)
893 # Obsolete; use --without-fp.
894 with_fp=no ;;
895
896 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897 | --no-cr | --no-c | -n)
898 no_create=yes ;;
899
900 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 no_recursion=yes ;;
903
904 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906 | --oldin | --oldi | --old | --ol | --o)
907 ac_prev=oldincludedir ;;
908 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911 oldincludedir=$ac_optarg ;;
912
913 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 ac_prev=prefix ;;
915 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 prefix=$ac_optarg ;;
917
918 -program-prefix | --program-prefix | --program-prefi | --program-pref \
919 | --program-pre | --program-pr | --program-p)
920 ac_prev=program_prefix ;;
921 -program-prefix=* | --program-prefix=* | --program-prefi=* \
922 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923 program_prefix=$ac_optarg ;;
924
925 -program-suffix | --program-suffix | --program-suffi | --program-suff \
926 | --program-suf | --program-su | --program-s)
927 ac_prev=program_suffix ;;
928 -program-suffix=* | --program-suffix=* | --program-suffi=* \
929 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930 program_suffix=$ac_optarg ;;
931
932 -program-transform-name | --program-transform-name \
933 | --program-transform-nam | --program-transform-na \
934 | --program-transform-n | --program-transform- \
935 | --program-transform | --program-transfor \
936 | --program-transfo | --program-transf \
937 | --program-trans | --program-tran \
938 | --progr-tra | --program-tr | --program-t)
939 ac_prev=program_transform_name ;;
940 -program-transform-name=* | --program-transform-name=* \
941 | --program-transform-nam=* | --program-transform-na=* \
942 | --program-transform-n=* | --program-transform-=* \
943 | --program-transform=* | --program-transfor=* \
944 | --program-transfo=* | --program-transf=* \
945 | --program-trans=* | --program-tran=* \
946 | --progr-tra=* | --program-tr=* | --program-t=*)
947 program_transform_name=$ac_optarg ;;
948
949 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 ac_prev=pdfdir ;;
951 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 pdfdir=$ac_optarg ;;
953
954 -psdir | --psdir | --psdi | --psd | --ps)
955 ac_prev=psdir ;;
956 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 psdir=$ac_optarg ;;
958
959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960 | -silent | --silent | --silen | --sile | --sil)
961 silent=yes ;;
962
963 -runstatedir | --runstatedir | --runstatedi | --runstated \
964 | --runstate | --runstat | --runsta | --runst | --runs \
965 | --run | --ru | --r)
966 ac_prev=runstatedir ;;
967 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
968 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
969 | --run=* | --ru=* | --r=*)
970 runstatedir=$ac_optarg ;;
971
972 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
973 ac_prev=sbindir ;;
974 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
975 | --sbi=* | --sb=*)
976 sbindir=$ac_optarg ;;
977
978 -sharedstatedir | --sharedstatedir | --sharedstatedi \
979 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980 | --sharedst | --shareds | --shared | --share | --shar \
981 | --sha | --sh)
982 ac_prev=sharedstatedir ;;
983 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
986 | --sha=* | --sh=*)
987 sharedstatedir=$ac_optarg ;;
988
989 -site | --site | --sit)
990 ac_prev=site ;;
991 -site=* | --site=* | --sit=*)
992 site=$ac_optarg ;;
993
994 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
995 ac_prev=srcdir ;;
996 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997 srcdir=$ac_optarg ;;
998
999 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000 | --syscon | --sysco | --sysc | --sys | --sy)
1001 ac_prev=sysconfdir ;;
1002 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004 sysconfdir=$ac_optarg ;;
1005
1006 -target | --target | --targe | --targ | --tar | --ta | --t)
1007 ac_prev=target_alias ;;
1008 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009 target_alias=$ac_optarg ;;
1010
1011 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012 verbose=yes ;;
1013
1014 -version | --version | --versio | --versi | --vers | -V)
1015 ac_init_version=: ;;
1016
1017 -with-* | --with-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error $? "invalid package name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1025 *"
1026 "with_$ac_useropt"
1027 "*) ;;
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1030 esac
1031 eval with_$ac_useropt=\$ac_optarg ;;
1032
1033 -without-* | --without-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1041 *"
1042 "with_$ac_useropt"
1043 "*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=no ;;
1048
1049 --x)
1050 # Obsolete; use --with-x.
1051 with_x=yes ;;
1052
1053 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054 | --x-incl | --x-inc | --x-in | --x-i)
1055 ac_prev=x_includes ;;
1056 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058 x_includes=$ac_optarg ;;
1059
1060 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062 ac_prev=x_libraries ;;
1063 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065 x_libraries=$ac_optarg ;;
1066
1067 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1068 Try \`$0 --help' for more information"
1069 ;;
1070
1071 *=*)
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 case $ac_envvar in #(
1075 '' | [0-9]* | *[!_$as_cr_alnum]* )
1076 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1077 esac
1078 eval $ac_envvar=\$ac_optarg
1079 export $ac_envvar ;;
1080
1081 *)
1082 # FIXME: should be removed in autoconf 3.0.
1083 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1087 ;;
1088
1089 esac
1090 done
1091
1092 if test -n "$ac_prev"; then
1093 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094 as_fn_error $? "missing argument to $ac_option"
1095 fi
1096
1097 if test -n "$ac_unrecognized_opts"; then
1098 case $enable_option_checking in
1099 no) ;;
1100 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1101 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 esac
1103 fi
1104
1105 # Check all directory arguments for consistency.
1106 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107 datadir sysconfdir sharedstatedir localstatedir includedir \
1108 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1109 libdir localedir mandir runstatedir
1110 do
1111 eval ac_val=\$$ac_var
1112 # Remove trailing slashes.
1113 case $ac_val in
1114 */ )
1115 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116 eval $ac_var=\$ac_val;;
1117 esac
1118 # Be sure to have absolute directory names.
1119 case $ac_val in
1120 [\\/$]* | ?:[\\/]* ) continue;;
1121 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122 esac
1123 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1124 done
1125
1126 # There might be people who depend on the old broken behavior: `$host'
1127 # used to hold the argument of --host etc.
1128 # FIXME: To remove some day.
1129 build=$build_alias
1130 host=$host_alias
1131 target=$target_alias
1132
1133 # FIXME: To remove some day.
1134 if test "x$host_alias" != x; then
1135 if test "x$build_alias" = x; then
1136 cross_compiling=maybe
1137 elif test "x$build_alias" != "x$host_alias"; then
1138 cross_compiling=yes
1139 fi
1140 fi
1141
1142 ac_tool_prefix=
1143 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144
1145 test "$silent" = yes && exec 6>/dev/null
1146
1147
1148 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149 ac_ls_di=`ls -di .` &&
1150 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error $? "working directory cannot be determined"
1152 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error $? "pwd does not report name of working directory"
1154
1155
1156 # Find the source files, if location was not specified.
1157 if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$as_myself" ||
1161 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165 $as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 s//\1/
1168 q
1169 }
1170 /^X\(\/\/\)[^/].*/{
1171 s//\1/
1172 q
1173 }
1174 /^X\(\/\/\)$/{
1175 s//\1/
1176 q
1177 }
1178 /^X\(\/\).*/{
1179 s//\1/
1180 q
1181 }
1182 s/.*/./; q'`
1183 srcdir=$ac_confdir
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 srcdir=..
1186 fi
1187 else
1188 ac_srcdir_defaulted=no
1189 fi
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193 fi
1194 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 ac_abs_confdir=`(
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197 pwd)`
1198 # When building in place, set srcdir=.
1199 if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 srcdir=.
1201 fi
1202 # Remove unnecessary trailing slashes from srcdir.
1203 # Double slashes in file names in object file debugging info
1204 # mess up M-x gdb in Emacs.
1205 case $srcdir in
1206 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 esac
1208 for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213 done
1214
1215 #
1216 # Report the --help message.
1217 #
1218 if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1221 cat <<_ACEOF
1222 \`configure' configures drool 2.0.0 to adapt to many kinds of systems.
1223
1224 Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1226 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227 VAR=VALUE. See below for descriptions of some of the useful variables.
1228
1229 Defaults for the options are specified in brackets.
1230
1231 Configuration:
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking ...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241
1242 Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 [PREFIX]
1247
1248 By default, \`make install' will install all the files in
1249 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251 for instance \`--prefix=\$HOME'.
1252
1253 For better control, use the options below.
1254
1255 Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1263 --libdir=DIR object code libraries [EPREFIX/lib]
1264 --includedir=DIR C header files [PREFIX/include]
1265 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1266 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1267 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1268 --infodir=DIR info documentation [DATAROOTDIR/info]
1269 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1270 --mandir=DIR man documentation [DATAROOTDIR/man]
1271 --docdir=DIR documentation root [DATAROOTDIR/doc/drool]
1272 --htmldir=DIR html documentation [DOCDIR]
1273 --dvidir=DIR dvi documentation [DOCDIR]
1274 --pdfdir=DIR pdf documentation [DOCDIR]
1275 --psdir=DIR ps documentation [DOCDIR]
1276 _ACEOF
1277
1278 cat <<\_ACEOF
1279
1280 Program names:
1281 --program-prefix=PREFIX prepend PREFIX to installed program names
1282 --program-suffix=SUFFIX append SUFFIX to installed program names
1283 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1284 _ACEOF
1285 fi
1286
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive ) echo "Configuration of drool 2.0.0:";;
1290 esac
1291 cat <<\_ACEOF
1292
1293 Optional Features:
1294 --disable-option-checking ignore unrecognized --enable/--with options
1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1297 --enable-silent-rules less verbose build output (undo: "make V=1")
1298 --disable-silent-rules verbose build output (undo: "make V=0")
1299
1300
1301 Optional Packages:
1302 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1303 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1304 --with-dnsjit=PATH Use PATH when checking for dnsjit binaries
1305
1306 --with-shebang=shebang Set the shebang to use (without #!, default to
1307 /usr/bin/env dnsjit)
1308
1309 Report bugs to <[email protected]>.
1310 drool home page: <https://github.com/DNS-OARC/drool/issues>.
1311 _ACEOF
1312 ac_status=$?
1313 fi
1314
1315 if test "$ac_init_help" = "recursive"; then
1316 # If there are subdirs, report their specific --help.
1317 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1318 test -d "$ac_dir" ||
1319 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1320 continue
1321 ac_builddir=.
1322
1323 case "$ac_dir" in
1324 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325 *)
1326 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1327 # A ".." for each directory in $ac_dir_suffix.
1328 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1329 case $ac_top_builddir_sub in
1330 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1332 esac ;;
1333 esac
1334 ac_abs_top_builddir=$ac_pwd
1335 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1336 # for backward compatibility:
1337 ac_top_builddir=$ac_top_build_prefix
1338
1339 case $srcdir in
1340 .) # We are building in place.
1341 ac_srcdir=.
1342 ac_top_srcdir=$ac_top_builddir_sub
1343 ac_abs_top_srcdir=$ac_pwd ;;
1344 [\\/]* | ?:[\\/]* ) # Absolute name.
1345 ac_srcdir=$srcdir$ac_dir_suffix;
1346 ac_top_srcdir=$srcdir
1347 ac_abs_top_srcdir=$srcdir ;;
1348 *) # Relative name.
1349 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1350 ac_top_srcdir=$ac_top_build_prefix$srcdir
1351 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1352 esac
1353 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1354
1355 cd "$ac_dir" || { ac_status=$?; continue; }
1356 # Check for guested configure.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1358 echo &&
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1363 else
1364 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 fi || ac_status=$?
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1367 done
1368 fi
1369
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1372 cat <<\_ACEOF
1373 drool configure 2.0.0
1374 generated by GNU Autoconf 2.69
1375
1376 Copyright (C) 2012 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1379 _ACEOF
1380 exit
1381 fi
1382
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1386 cat >config.log <<_ACEOF
1387 This file contains any messages produced by compilers while
1388 running configure, to aid debugging if configure makes a mistake.
1389
1390 It was created by drool $as_me 2.0.0, which was
1391 generated by GNU Autoconf 2.69. Invocation command line was
1392
1393 $ $0 $@
1394
1395 _ACEOF
1396 exec 5>>config.log
1397 {
1398 cat <<_ASUNAME
1399 ## --------- ##
1400 ## Platform. ##
1401 ## --------- ##
1402
1403 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1404 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1405 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1406 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1407 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1408
1409 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1410 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1411
1412 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1413 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1414 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1415 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1416 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1417 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1418 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1419
1420 _ASUNAME
1421
1422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1423 for as_dir in $PATH
1424 do
1425 IFS=$as_save_IFS
1426 test -z "$as_dir" && as_dir=.
1427 $as_echo "PATH: $as_dir"
1428 done
1429 IFS=$as_save_IFS
1430
1431 } >&5
1432
1433 cat >&5 <<_ACEOF
1434
1435
1436 ## ----------- ##
1437 ## Core tests. ##
1438 ## ----------- ##
1439
1440 _ACEOF
1441
1442
1443 # Keep a trace of the command line.
1444 # Strip out --no-create and --no-recursion so they do not pile up.
1445 # Strip out --silent because we don't want to record it for future runs.
1446 # Also quote any args containing shell meta-characters.
1447 # Make two passes to allow for proper duplicate-argument suppression.
1448 ac_configure_args=
1449 ac_configure_args0=
1450 ac_configure_args1=
1451 ac_must_keep_next=false
1452 for ac_pass in 1 2
1453 do
1454 for ac_arg
1455 do
1456 case $ac_arg in
1457 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1459 | -silent | --silent | --silen | --sile | --sil)
1460 continue ;;
1461 *\'*)
1462 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1463 esac
1464 case $ac_pass in
1465 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1466 2)
1467 as_fn_append ac_configure_args1 " '$ac_arg'"
1468 if test $ac_must_keep_next = true; then
1469 ac_must_keep_next=false # Got value, back to normal.
1470 else
1471 case $ac_arg in
1472 *=* | --config-cache | -C | -disable-* | --disable-* \
1473 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1474 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1475 | -with-* | --with-* | -without-* | --without-* | --x)
1476 case "$ac_configure_args0 " in
1477 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1478 esac
1479 ;;
1480 -* ) ac_must_keep_next=true ;;
1481 esac
1482 fi
1483 as_fn_append ac_configure_args " '$ac_arg'"
1484 ;;
1485 esac
1486 done
1487 done
1488 { ac_configure_args0=; unset ac_configure_args0;}
1489 { ac_configure_args1=; unset ac_configure_args1;}
1490
1491 # When interrupted or exit'd, cleanup temporary files, and complete
1492 # config.log. We remove comments because anyway the quotes in there
1493 # would cause problems or look ugly.
1494 # WARNING: Use '\'' to represent an apostrophe within the trap.
1495 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1496 trap 'exit_status=$?
1497 # Save into config.log some information that might help in debugging.
1498 {
1499 echo
1500
1501 $as_echo "## ---------------- ##
1502 ## Cache variables. ##
1503 ## ---------------- ##"
1504 echo
1505 # The following way of writing the cache mishandles newlines in values,
1506 (
1507 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1508 eval ac_val=\$$ac_var
1509 case $ac_val in #(
1510 *${as_nl}*)
1511 case $ac_var in #(
1512 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1513 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1514 esac
1515 case $ac_var in #(
1516 _ | IFS | as_nl) ;; #(
1517 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1518 *) { eval $ac_var=; unset $ac_var;} ;;
1519 esac ;;
1520 esac
1521 done
1522 (set) 2>&1 |
1523 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1524 *${as_nl}ac_space=\ *)
1525 sed -n \
1526 "s/'\''/'\''\\\\'\'''\''/g;
1527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1528 ;; #(
1529 *)
1530 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1531 ;;
1532 esac |
1533 sort
1534 )
1535 echo
1536
1537 $as_echo "## ----------------- ##
1538 ## Output variables. ##
1539 ## ----------------- ##"
1540 echo
1541 for ac_var in $ac_subst_vars
1542 do
1543 eval ac_val=\$$ac_var
1544 case $ac_val in
1545 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1546 esac
1547 $as_echo "$ac_var='\''$ac_val'\''"
1548 done | sort
1549 echo
1550
1551 if test -n "$ac_subst_files"; then
1552 $as_echo "## ------------------- ##
1553 ## File substitutions. ##
1554 ## ------------------- ##"
1555 echo
1556 for ac_var in $ac_subst_files
1557 do
1558 eval ac_val=\$$ac_var
1559 case $ac_val in
1560 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1561 esac
1562 $as_echo "$ac_var='\''$ac_val'\''"
1563 done | sort
1564 echo
1565 fi
1566
1567 if test -s confdefs.h; then
1568 $as_echo "## ----------- ##
1569 ## confdefs.h. ##
1570 ## ----------- ##"
1571 echo
1572 cat confdefs.h
1573 echo
1574 fi
1575 test "$ac_signal" != 0 &&
1576 $as_echo "$as_me: caught signal $ac_signal"
1577 $as_echo "$as_me: exit $exit_status"
1578 } >&5
1579 rm -f core *.core core.conftest.* &&
1580 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1581 exit $exit_status
1582 ' 0
1583 for ac_signal in 1 2 13 15; do
1584 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1585 done
1586 ac_signal=0
1587
1588 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1589 rm -f -r conftest* confdefs.h
1590
1591 $as_echo "/* confdefs.h */" > confdefs.h
1592
1593 # Predefined preprocessor variables.
1594
1595 cat >>confdefs.h <<_ACEOF
1596 #define PACKAGE_NAME "$PACKAGE_NAME"
1597 _ACEOF
1598
1599 cat >>confdefs.h <<_ACEOF
1600 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1601 _ACEOF
1602
1603 cat >>confdefs.h <<_ACEOF
1604 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1605 _ACEOF
1606
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_STRING "$PACKAGE_STRING"
1609 _ACEOF
1610
1611 cat >>confdefs.h <<_ACEOF
1612 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1613 _ACEOF
1614
1615 cat >>confdefs.h <<_ACEOF
1616 #define PACKAGE_URL "$PACKAGE_URL"
1617 _ACEOF
1618
1619
1620 # Let the site file select an alternate cache file if it wants to.
1621 # Prefer an explicitly selected file to automatically selected ones.
1622 ac_site_file1=NONE
1623 ac_site_file2=NONE
1624 if test -n "$CONFIG_SITE"; then
1625 # We do not want a PATH search for config.site.
1626 case $CONFIG_SITE in #((
1627 -*) ac_site_file1=./$CONFIG_SITE;;
1628 */*) ac_site_file1=$CONFIG_SITE;;
1629 *) ac_site_file1=./$CONFIG_SITE;;
1630 esac
1631 elif test "x$prefix" != xNONE; then
1632 ac_site_file1=$prefix/share/config.site
1633 ac_site_file2=$prefix/etc/config.site
1634 else
1635 ac_site_file1=$ac_default_prefix/share/config.site
1636 ac_site_file2=$ac_default_prefix/etc/config.site
1637 fi
1638 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1639 do
1640 test "x$ac_site_file" = xNONE && continue
1641 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1643 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1644 sed 's/^/| /' "$ac_site_file" >&5
1645 . "$ac_site_file" \
1646 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1647 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1648 as_fn_error $? "failed to load site script $ac_site_file
1649 See \`config.log' for more details" "$LINENO" 5; }
1650 fi
1651 done
1652
1653 if test -r "$cache_file"; then
1654 # Some versions of bash will fail to source /dev/null (special files
1655 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1656 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1658 $as_echo "$as_me: loading cache $cache_file" >&6;}
1659 case $cache_file in
1660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1661 *) . "./$cache_file";;
1662 esac
1663 fi
1664 else
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1666 $as_echo "$as_me: creating cache $cache_file" >&6;}
1667 >$cache_file
1668 fi
1669
1670 # Check that the precious variables saved in the cache have kept the same
1671 # value.
1672 ac_cache_corrupted=false
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675 eval ac_new_set=\$ac_env_${ac_var}_set
1676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677 eval ac_new_val=\$ac_env_${ac_var}_value
1678 case $ac_old_set,$ac_new_set in
1679 set,)
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1681 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1683 ,set)
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1685 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,);;
1688 *)
1689 if test "x$ac_old_val" != "x$ac_new_val"; then
1690 # differences in whitespace do not lead to failure.
1691 ac_old_val_w=`echo x $ac_old_val`
1692 ac_new_val_w=`echo x $ac_new_val`
1693 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1695 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1696 ac_cache_corrupted=:
1697 else
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1699 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1700 eval $ac_var=\$ac_old_val
1701 fi
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1703 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1705 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1706 fi;;
1707 esac
1708 # Pass precious variables to config.status.
1709 if test "$ac_new_set" = set; then
1710 case $ac_new_val in
1711 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1712 *) ac_arg=$ac_var=$ac_new_val ;;
1713 esac
1714 case " $ac_configure_args " in
1715 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1716 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1717 esac
1718 fi
1719 done
1720 if $ac_cache_corrupted; then
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1722 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1724 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1725 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1726 fi
1727 ## -------------------- ##
1728 ## Main body of script. ##
1729 ## -------------------- ##
1730
1731 ac_ext=c
1732 ac_cpp='$CPP $CPPFLAGS'
1733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1736
1737
1738 am__api_version='1.16'
1739
1740 ac_aux_dir=
1741 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1742 if test -f "$ac_dir/install-sh"; then
1743 ac_aux_dir=$ac_dir
1744 ac_install_sh="$ac_aux_dir/install-sh -c"
1745 break
1746 elif test -f "$ac_dir/install.sh"; then
1747 ac_aux_dir=$ac_dir
1748 ac_install_sh="$ac_aux_dir/install.sh -c"
1749 break
1750 elif test -f "$ac_dir/shtool"; then
1751 ac_aux_dir=$ac_dir
1752 ac_install_sh="$ac_aux_dir/shtool install -c"
1753 break
1754 fi
1755 done
1756 if test -z "$ac_aux_dir"; then
1757 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1758 fi
1759
1760 # These three variables are undocumented and unsupported,
1761 # and are intended to be withdrawn in a future Autoconf release.
1762 # They can cause serious problems if a builder's source tree is in a directory
1763 # whose full name contains unusual characters.
1764 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1765 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1766 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1767
1768
1769 # Find a good install program. We prefer a C program (faster),
1770 # so one script is as good as another. But avoid the broken or
1771 # incompatible versions:
1772 # SysV /etc/install, /usr/sbin/install
1773 # SunOS /usr/etc/install
1774 # IRIX /sbin/install
1775 # AIX /bin/install
1776 # AmigaOS /C/install, which installs bootblocks on floppy discs
1777 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1778 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1779 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1780 # OS/2's system install, which has a completely different semantic
1781 # ./install, which can be erroneously created by make from ./install.sh.
1782 # Reject install programs that cannot install multiple files.
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1784 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1785 if test -z "$INSTALL"; then
1786 if ${ac_cv_path_install+:} false; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790 for as_dir in $PATH
1791 do
1792 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=.
1794 # Account for people who put trailing slashes in PATH elements.
1795 case $as_dir/ in #((
1796 ./ | .// | /[cC]/* | \
1797 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1798 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1799 /usr/ucb/* ) ;;
1800 *)
1801 # OSF1 and SCO ODT 3.0 have their own names for install.
1802 # Don't use installbsd from OSF since it installs stuff as root
1803 # by default.
1804 for ac_prog in ginstall scoinst install; do
1805 for ac_exec_ext in '' $ac_executable_extensions; do
1806 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1807 if test $ac_prog = install &&
1808 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1809 # AIX install. It has an incompatible calling convention.
1810 :
1811 elif test $ac_prog = install &&
1812 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # program-specific install script used by HP pwplus--don't use.
1814 :
1815 else
1816 rm -rf conftest.one conftest.two conftest.dir
1817 echo one > conftest.one
1818 echo two > conftest.two
1819 mkdir conftest.dir
1820 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1821 test -s conftest.one && test -s conftest.two &&
1822 test -s conftest.dir/conftest.one &&
1823 test -s conftest.dir/conftest.two
1824 then
1825 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1826 break 3
1827 fi
1828 fi
1829 fi
1830 done
1831 done
1832 ;;
1833 esac
1834
1835 done
1836 IFS=$as_save_IFS
1837
1838 rm -rf conftest.one conftest.two conftest.dir
1839
1840 fi
1841 if test "${ac_cv_path_install+set}" = set; then
1842 INSTALL=$ac_cv_path_install
1843 else
1844 # As a last resort, use the slow shell script. Don't cache a
1845 # value for INSTALL within a source directory, because that will
1846 # break other packages using the cache if that directory is
1847 # removed, or if the value is a relative name.
1848 INSTALL=$ac_install_sh
1849 fi
1850 fi
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1852 $as_echo "$INSTALL" >&6; }
1853
1854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1855 # It thinks the first close brace ends the variable substitution.
1856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1857
1858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1859
1860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1861
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1863 $as_echo_n "checking whether build environment is sane... " >&6; }
1864 # Reject unsafe characters in $srcdir or the absolute working directory
1865 # name. Accept space and tab only in the latter.
1866 am_lf='
1867 '
1868 case `pwd` in
1869 *[\\\"\#\$\&\'\`$am_lf]*)
1870 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1871 esac
1872 case $srcdir in
1873 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1874 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1875 esac
1876
1877 # Do 'set' in a subshell so we don't clobber the current shell's
1878 # arguments. Must try -L first in case configure is actually a
1879 # symlink; some systems play weird games with the mod time of symlinks
1880 # (eg FreeBSD returns the mod time of the symlink's containing
1881 # directory).
1882 if (
1883 am_has_slept=no
1884 for am_try in 1 2; do
1885 echo "timestamp, slept: $am_has_slept" > conftest.file
1886 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1887 if test "$*" = "X"; then
1888 # -L didn't work.
1889 set X `ls -t "$srcdir/configure" conftest.file`
1890 fi
1891 if test "$*" != "X $srcdir/configure conftest.file" \
1892 && test "$*" != "X conftest.file $srcdir/configure"; then
1893
1894 # If neither matched, then we have a broken ls. This can happen
1895 # if, for instance, CONFIG_SHELL is bash and it inherits a
1896 # broken ls alias from the environment. This has actually
1897 # happened. Such a system could not be considered "sane".
1898 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1899 alias in your environment" "$LINENO" 5
1900 fi
1901 if test "$2" = conftest.file || test $am_try -eq 2; then
1902 break
1903 fi
1904 # Just in case.
1905 sleep 1
1906 am_has_slept=yes
1907 done
1908 test "$2" = conftest.file
1909 )
1910 then
1911 # Ok.
1912 :
1913 else
1914 as_fn_error $? "newly created file is older than distributed files!
1915 Check your system clock" "$LINENO" 5
1916 fi
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1918 $as_echo "yes" >&6; }
1919 # If we didn't sleep, we still need to ensure time stamps of config.status and
1920 # generated files are strictly newer.
1921 am_sleep_pid=
1922 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
1923 ( sleep 1 ) &
1924 am_sleep_pid=$!
1925 fi
1926
1927 rm -f conftest.file
1928
1929 test "$program_prefix" != NONE &&
1930 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1931 # Use a double $ so make ignores it.
1932 test "$program_suffix" != NONE &&
1933 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1934 # Double any \ or $.
1935 # By default was `s,x,x', remove it if useless.
1936 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1937 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1938
1939 # Expand $ac_aux_dir to an absolute path.
1940 am_aux_dir=`cd "$ac_aux_dir" && pwd`
1941
1942 if test x"${MISSING+set}" != xset; then
1943 case $am_aux_dir in
1944 *\ * | *\ *)
1945 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1946 *)
1947 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1948 esac
1949 fi
1950 # Use eval to expand $SHELL
1951 if eval "$MISSING --is-lightweight"; then
1952 am_missing_run="$MISSING "
1953 else
1954 am_missing_run=
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1956 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1957 fi
1958
1959 if test x"${install_sh+set}" != xset; then
1960 case $am_aux_dir in
1961 *\ * | *\ *)
1962 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1963 *)
1964 install_sh="\${SHELL} $am_aux_dir/install-sh"
1965 esac
1966 fi
1967
1968 # Installed binaries are usually stripped using 'strip' when the user
1969 # run "make install-strip". However 'strip' might not be the right
1970 # tool to use in cross-compilation environments, therefore Automake
1971 # will honor the 'STRIP' environment variable to overrule this program.
1972 if test "$cross_compiling" != no; then
1973 if test -n "$ac_tool_prefix"; then
1974 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1975 set dummy ${ac_tool_prefix}strip; ac_word=$2
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1977 $as_echo_n "checking for $ac_word... " >&6; }
1978 if ${ac_cv_prog_STRIP+:} false; then :
1979 $as_echo_n "(cached) " >&6
1980 else
1981 if test -n "$STRIP"; then
1982 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1986 do
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1994 fi
1995 done
1996 done
1997 IFS=$as_save_IFS
1998
1999 fi
2000 fi
2001 STRIP=$ac_cv_prog_STRIP
2002 if test -n "$STRIP"; then
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2004 $as_echo "$STRIP" >&6; }
2005 else
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2007 $as_echo "no" >&6; }
2008 fi
2009
2010
2011 fi
2012 if test -z "$ac_cv_prog_STRIP"; then
2013 ac_ct_STRIP=$STRIP
2014 # Extract the first word of "strip", so it can be a program name with args.
2015 set dummy strip; ac_word=$2
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2017 $as_echo_n "checking for $ac_word... " >&6; }
2018 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2019 $as_echo_n "(cached) " >&6
2020 else
2021 if test -n "$ac_ct_STRIP"; then
2022 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2023 else
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 for as_dir in $PATH
2026 do
2027 IFS=$as_save_IFS
2028 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_ac_ct_STRIP="strip"
2032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 break 2
2034 fi
2035 done
2036 done
2037 IFS=$as_save_IFS
2038
2039 fi
2040 fi
2041 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2042 if test -n "$ac_ct_STRIP"; then
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2044 $as_echo "$ac_ct_STRIP" >&6; }
2045 else
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2047 $as_echo "no" >&6; }
2048 fi
2049
2050 if test "x$ac_ct_STRIP" = x; then
2051 STRIP=":"
2052 else
2053 case $cross_compiling:$ac_tool_warned in
2054 yes:)
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2057 ac_tool_warned=yes ;;
2058 esac
2059 STRIP=$ac_ct_STRIP
2060 fi
2061 else
2062 STRIP="$ac_cv_prog_STRIP"
2063 fi
2064
2065 fi
2066 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2067
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2069 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2070 if test -z "$MKDIR_P"; then
2071 if ${ac_cv_path_mkdir+:} false; then :
2072 $as_echo_n "(cached) " >&6
2073 else
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2075 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2076 do
2077 IFS=$as_save_IFS
2078 test -z "$as_dir" && as_dir=.
2079 for ac_prog in mkdir gmkdir; do
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2082 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2083 'mkdir (GNU coreutils) '* | \
2084 'mkdir (coreutils) '* | \
2085 'mkdir (fileutils) '4.1*)
2086 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2087 break 3;;
2088 esac
2089 done
2090 done
2091 done
2092 IFS=$as_save_IFS
2093
2094 fi
2095
2096 test -d ./--version && rmdir ./--version
2097 if test "${ac_cv_path_mkdir+set}" = set; then
2098 MKDIR_P="$ac_cv_path_mkdir -p"
2099 else
2100 # As a last resort, use the slow shell script. Don't cache a
2101 # value for MKDIR_P within a source directory, because that will
2102 # break other packages using the cache if that directory is
2103 # removed, or if the value is a relative name.
2104 MKDIR_P="$ac_install_sh -d"
2105 fi
2106 fi
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2108 $as_echo "$MKDIR_P" >&6; }
2109
2110 for ac_prog in gawk mawk nawk awk
2111 do
2112 # Extract the first word of "$ac_prog", so it can be a program name with args.
2113 set dummy $ac_prog; ac_word=$2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if ${ac_cv_prog_AWK+:} false; then :
2117 $as_echo_n "(cached) " >&6
2118 else
2119 if test -n "$AWK"; then
2120 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2124 do
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2129 ac_cv_prog_AWK="$ac_prog"
2130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 break 2
2132 fi
2133 done
2134 done
2135 IFS=$as_save_IFS
2136
2137 fi
2138 fi
2139 AWK=$ac_cv_prog_AWK
2140 if test -n "$AWK"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2142 $as_echo "$AWK" >&6; }
2143 else
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2146 fi
2147
2148
2149 test -n "$AWK" && break
2150 done
2151
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2153 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2154 set x ${MAKE-make}
2155 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2156 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2157 $as_echo_n "(cached) " >&6
2158 else
2159 cat >conftest.make <<\_ACEOF
2160 SHELL = /bin/sh
2161 all:
2162 @echo '@@@%%%=$(MAKE)=@@@%%%'
2163 _ACEOF
2164 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2165 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2166 *@@@%%%=?*=@@@%%%*)
2167 eval ac_cv_prog_make_${ac_make}_set=yes;;
2168 *)
2169 eval ac_cv_prog_make_${ac_make}_set=no;;
2170 esac
2171 rm -f conftest.make
2172 fi
2173 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2175 $as_echo "yes" >&6; }
2176 SET_MAKE=
2177 else
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2180 SET_MAKE="MAKE=${MAKE-make}"
2181 fi
2182
2183 rm -rf .tst 2>/dev/null
2184 mkdir .tst 2>/dev/null
2185 if test -d .tst; then
2186 am__leading_dot=.
2187 else
2188 am__leading_dot=_
2189 fi
2190 rmdir .tst 2>/dev/null
2191
2192 # Check whether --enable-silent-rules was given.
2193 if test "${enable_silent_rules+set}" = set; then :
2194 enableval=$enable_silent_rules;
2195 fi
2196
2197 case $enable_silent_rules in # (((
2198 yes) AM_DEFAULT_VERBOSITY=0;;
2199 no) AM_DEFAULT_VERBOSITY=1;;
2200 *) AM_DEFAULT_VERBOSITY=1;;
2201 esac
2202 am_make=${MAKE-make}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2204 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2205 if ${am_cv_make_support_nested_variables+:} false; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if $as_echo 'TRUE=$(BAR$(V))
2209 BAR0=false
2210 BAR1=true
2211 V=1
2212 am__doit:
2213 @$(TRUE)
2214 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2215 am_cv_make_support_nested_variables=yes
2216 else
2217 am_cv_make_support_nested_variables=no
2218 fi
2219 fi
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2221 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2222 if test $am_cv_make_support_nested_variables = yes; then
2223 AM_V='$(V)'
2224 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2225 else
2226 AM_V=$AM_DEFAULT_VERBOSITY
2227 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2228 fi
2229 AM_BACKSLASH='\'
2230
2231 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2232 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2233 # is not polluted with repeated "-I."
2234 am__isrc=' -I$(srcdir)'
2235 # test to see if srcdir already configured
2236 if test -f $srcdir/config.status; then
2237 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2238 fi
2239 fi
2240
2241 # test whether we have cygpath
2242 if test -z "$CYGPATH_W"; then
2243 if (cygpath --version) >/dev/null 2>/dev/null; then
2244 CYGPATH_W='cygpath -w'
2245 else
2246 CYGPATH_W=echo
2247 fi
2248 fi
2249
2250
2251 # Define the identity of the package.
2252 PACKAGE='drool'
2253 VERSION='2.0.0'
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE "$PACKAGE"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define VERSION "$VERSION"
2263 _ACEOF
2264
2265 # Some tools Automake needs.
2266
2267 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2268
2269
2270 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2271
2272
2273 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2274
2275
2276 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2277
2278
2279 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2280
2281 # For better backward compatibility. To be removed once Automake 1.9.x
2282 # dies out for good. For more background, see:
2283 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2284 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2285 mkdir_p='$(MKDIR_P)'
2286
2287 # We need awk for the "check" target (and possibly the TAP driver). The
2288 # system "awk" is bad on some platforms.
2289 # Always define AMTAR for backward compatibility. Yes, it's still used
2290 # in the wild :-( We should find a proper way to deprecate it ...
2291 AMTAR='$${TAR-tar}'
2292
2293
2294 # We'll loop over all known methods to create a tar archive until one works.
2295 _am_tools='gnutar pax cpio none'
2296
2297 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2298
2299
2300
2301
2302
2303
2304 # POSIX will say in a future version that running "rm -f" with no argument
2305 # is OK; and we want to be able to make that assumption in our Makefile
2306 # recipes. So use an aggressive probe to check that the usage we want is
2307 # actually supported "in the wild" to an acceptable degree.
2308 # See automake bug#10828.
2309 # To make any issue more visible, cause the running configure to be aborted
2310 # by default if the 'rm' program in use doesn't match our expectations; the
2311 # user can still override this though.
2312 if rm -f && rm -fr && rm -rf; then : OK; else
2313 cat >&2 <<'END'
2314 Oops!
2315
2316 Your 'rm' program seems unable to run without file operands specified
2317 on the command line, even when the '-f' option is present. This is contrary
2318 to the behaviour of most rm programs out there, and not conforming with
2319 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2320
2321 Please tell [email protected] about your system, including the value
2322 of your $PATH and any error possibly output before this message. This
2323 can help us improve future automake versions.
2324
2325 END
2326 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2327 echo 'Configuration will proceed anyway, since you have set the' >&2
2328 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2329 echo >&2
2330 else
2331 cat >&2 <<'END'
2332 Aborting the configuration process, to ensure you take notice of the issue.
2333
2334 You can download and install GNU coreutils to get an 'rm' implementation
2335 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2336
2337 If you want to complete the configuration process using your problematic
2338 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2339 to "yes", and re-run configure.
2340
2341 END
2342 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2343 fi
2344 fi
2345
2346
2347
2348
2349 # Checks for programs.
2350 DNSJIT_ROOT=
2351
2352 # Check whether --with-dnsjit was given.
2353 if test "${with_dnsjit+set}" = set; then :
2354 withval=$with_dnsjit;
2355 # Extract the first word of "dnsjit", so it can be a program name with args.
2356 set dummy dnsjit; ac_word=$2
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358 $as_echo_n "checking for $ac_word... " >&6; }
2359 if ${ac_cv_path_DNSJIT+:} false; then :
2360 $as_echo_n "(cached) " >&6
2361 else
2362 case $DNSJIT in
2363 [\\/]* | ?:[\\/]*)
2364 ac_cv_path_DNSJIT="$DNSJIT" # Let the user override the test with a path.
2365 ;;
2366 *)
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 for as_dir in $withval/bin
2369 do
2370 IFS=$as_save_IFS
2371 test -z "$as_dir" && as_dir=.
2372 for ac_exec_ext in '' $ac_executable_extensions; do
2373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2374 ac_cv_path_DNSJIT="$as_dir/$ac_word$ac_exec_ext"
2375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 break 2
2377 fi
2378 done
2379 done
2380 IFS=$as_save_IFS
2381
2382 ;;
2383 esac
2384 fi
2385 DNSJIT=$ac_cv_path_DNSJIT
2386 if test -n "$DNSJIT"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNSJIT" >&5
2388 $as_echo "$DNSJIT" >&6; }
2389 else
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391 $as_echo "no" >&6; }
2392 fi
2393
2394
2395 DNSJIT_ROOT="$withval"
2396
2397 else
2398
2399 # Extract the first word of "dnsjit", so it can be a program name with args.
2400 set dummy dnsjit; ac_word=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if ${ac_cv_path_DNSJIT+:} false; then :
2404 $as_echo_n "(cached) " >&6
2405 else
2406 case $DNSJIT in
2407 [\\/]* | ?:[\\/]*)
2408 ac_cv_path_DNSJIT="$DNSJIT" # Let the user override the test with a path.
2409 ;;
2410 *)
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH
2413 do
2414 IFS=$as_save_IFS
2415 test -z "$as_dir" && as_dir=.
2416 for ac_exec_ext in '' $ac_executable_extensions; do
2417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2418 ac_cv_path_DNSJIT="$as_dir/$ac_word$ac_exec_ext"
2419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2420 break 2
2421 fi
2422 done
2423 done
2424 IFS=$as_save_IFS
2425
2426 ;;
2427 esac
2428 fi
2429 DNSJIT=$ac_cv_path_DNSJIT
2430 if test -n "$DNSJIT"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DNSJIT" >&5
2432 $as_echo "$DNSJIT" >&6; }
2433 else
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2436 fi
2437
2438
2439
2440 fi
2441
2442
2443 if test "x$ac_cv_path_DNSJIT" = "x"; then :
2444
2445 as_fn_error $? "dnsjit was not found" "$LINENO" 5
2446
2447 fi
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnsjit >= 1.0.0" >&5
2449 $as_echo_n "checking for dnsjit >= 1.0.0... " >&6; }
2450 if "$DNSJIT" "$srcdir/dnsjit_version.lua" 1 0 0 2>/dev/null; then :
2451
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2453 $as_echo "yes" >&6; }
2454
2455 else
2456
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2458 $as_echo "no" >&6; }
2459 as_fn_error $? "dnsjit version does not meet the requirements" "$LINENO" 5
2460
2461 fi
2462
2463 # Check --enable-warn-all, placeholer for OARC projects wide options
2464 # Check whether --enable-warn-all was given.
2465 if test "${enable_warn_all+set}" = set; then :
2466 enableval=$enable_warn_all;
2467 fi
2468
2469
2470 # Check --with-extra-cflags, placeholer for OARC projects wide options
2471
2472 # Check whether --with-extra-cflags was given.
2473 if test "${with_extra_cflags+set}" = set; then :
2474 withval=$with_extra_cflags;
2475 fi
2476
2477
2478 # Check --with-extra-ldflags, placeholer for OARC projects wide options
2479
2480 # Check whether --with-extra-ldflags was given.
2481 if test "${with_extra_ldflags+set}" = set; then :
2482 withval=$with_extra_ldflags;
2483 fi
2484
2485
2486 # Check --with-shebang
2487
2488 # Check whether --with-shebang was given.
2489 if test "${with_shebang+set}" = set; then :
2490 withval=$with_shebang;
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: using shebang... $withval" >&5
2492 $as_echo "$as_me: using shebang... $withval" >&6;}
2493 DROOL_SHEBANG="$withval"
2494
2495
2496 else
2497
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: using shebang... /usr/bin/env dnsjit" >&5
2499 $as_echo "$as_me: using shebang... /usr/bin/env dnsjit" >&6;}
2500 DROOL_SHEBANG="/usr/bin/env dnsjit"
2501
2502
2503 fi
2504
2505
2506 # Output Makefiles
2507 ac_config_files="$ac_config_files Makefile src/Makefile src/test/Makefile"
2508
2509 cat >confcache <<\_ACEOF
2510 # This file is a shell script that caches the results of configure
2511 # tests run on this system so they can be shared between configure
2512 # scripts and configure runs, see configure's option --config-cache.
2513 # It is not useful on other systems. If it contains results you don't
2514 # want to keep, you may remove or edit it.
2515 #
2516 # config.status only pays attention to the cache file if you give it
2517 # the --recheck option to rerun configure.
2518 #
2519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2521 # following values.
2522
2523 _ACEOF
2524
2525 # The following way of writing the cache mishandles newlines in values,
2526 # but we know of no workaround that is simple, portable, and efficient.
2527 # So, we kill variables containing newlines.
2528 # Ultrix sh set writes to stderr and can't be redirected directly,
2529 # and sets the high bit in the cache file unless we assign to the vars.
2530 (
2531 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2532 eval ac_val=\$$ac_var
2533 case $ac_val in #(
2534 *${as_nl}*)
2535 case $ac_var in #(
2536 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2537 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2538 esac
2539 case $ac_var in #(
2540 _ | IFS | as_nl) ;; #(
2541 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2542 *) { eval $ac_var=; unset $ac_var;} ;;
2543 esac ;;
2544 esac
2545 done
2546
2547 (set) 2>&1 |
2548 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2549 *${as_nl}ac_space=\ *)
2550 # `set' does not quote correctly, so add quotes: double-quote
2551 # substitution turns \\\\ into \\, and sed turns \\ into \.
2552 sed -n \
2553 "s/'/'\\\\''/g;
2554 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2555 ;; #(
2556 *)
2557 # `set' quotes correctly as required by POSIX, so do not add quotes.
2558 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2559 ;;
2560 esac |
2561 sort
2562 ) |
2563 sed '
2564 /^ac_cv_env_/b end
2565 t clear
2566 :clear
2567 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2568 t end
2569 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2570 :end' >>confcache
2571 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2572 if test -w "$cache_file"; then
2573 if test "x$cache_file" != "x/dev/null"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2575 $as_echo "$as_me: updating cache $cache_file" >&6;}
2576 if test ! -f "$cache_file" || test -h "$cache_file"; then
2577 cat confcache >"$cache_file"
2578 else
2579 case $cache_file in #(
2580 */* | ?:*)
2581 mv -f confcache "$cache_file"$$ &&
2582 mv -f "$cache_file"$$ "$cache_file" ;; #(
2583 *)
2584 mv -f confcache "$cache_file" ;;
2585 esac
2586 fi
2587 fi
2588 else
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2590 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2591 fi
2592 fi
2593 rm -f confcache
2594
2595 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2596 # Let make expand exec_prefix.
2597 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2598
2599 # Transform confdefs.h into DEFS.
2600 # Protect against shell expansion while executing Makefile rules.
2601 # Protect against Makefile macro expansion.
2602 #
2603 # If the first sed substitution is executed (which looks for macros that
2604 # take arguments), then branch to the quote section. Otherwise,
2605 # look for a macro that doesn't take arguments.
2606 ac_script='
2607 :mline
2608 /\\$/{
2609 N
2610 s,\\\n,,
2611 b mline
2612 }
2613 t clear
2614 :clear
2615 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2616 t quote
2617 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2618 t quote
2619 b any
2620 :quote
2621 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2622 s/\[/\\&/g
2623 s/\]/\\&/g
2624 s/\$/$$/g
2625 H
2626 :any
2627 ${
2628 g
2629 s/^\n//
2630 s/\n/ /g
2631 p
2632 }
2633 '
2634 DEFS=`sed -n "$ac_script" confdefs.h`
2635
2636
2637 ac_libobjs=
2638 ac_ltlibobjs=
2639 U=
2640 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2641 # 1. Remove the extension, and $U if already installed.
2642 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2643 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2644 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2645 # will be set to the directory where LIBOBJS objects are built.
2646 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2647 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2648 done
2649 LIBOBJS=$ac_libobjs
2650
2651 LTLIBOBJS=$ac_ltlibobjs
2652
2653
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2655 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2656 if test -n "$am_sleep_pid"; then
2657 # Hide warnings about reused PIDs.
2658 wait $am_sleep_pid 2>/dev/null
2659 fi
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2661 $as_echo "done" >&6; }
2662
2663
2664 : "${CONFIG_STATUS=./config.status}"
2665 ac_write_fail=0
2666 ac_clean_files_save=$ac_clean_files
2667 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2669 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2670 as_write_fail=0
2671 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2672 #! $SHELL
2673 # Generated by $as_me.
2674 # Run this file to recreate the current configuration.
2675 # Compiler output produced by configure, useful for debugging
2676 # configure, is in config.log if it exists.
2677
2678 debug=false
2679 ac_cs_recheck=false
2680 ac_cs_silent=false
2681
2682 SHELL=\${CONFIG_SHELL-$SHELL}
2683 export SHELL
2684 _ASEOF
2685 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2686 ## -------------------- ##
2687 ## M4sh Initialization. ##
2688 ## -------------------- ##
2689
2690 # Be more Bourne compatible
2691 DUALCASE=1; export DUALCASE # for MKS sh
2692 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2693 emulate sh
2694 NULLCMD=:
2695 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2696 # is contrary to our usage. Disable this feature.
2697 alias -g '${1+"$@"}'='"$@"'
2698 setopt NO_GLOB_SUBST
2699 else
2700 case `(set -o) 2>/dev/null` in #(
2701 *posix*) :
2702 set -o posix ;; #(
2703 *) :
2704 ;;
2705 esac
2706 fi
2707
2708
2709 as_nl='
2710 '
2711 export as_nl
2712 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2713 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2716 # Prefer a ksh shell builtin over an external printf program on Solaris,
2717 # but without wasting forks for bash or zsh.
2718 if test -z "$BASH_VERSION$ZSH_VERSION" \
2719 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2720 as_echo='print -r --'
2721 as_echo_n='print -rn --'
2722 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2723 as_echo='printf %s\n'
2724 as_echo_n='printf %s'
2725 else
2726 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2727 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2728 as_echo_n='/usr/ucb/echo -n'
2729 else
2730 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2731 as_echo_n_body='eval
2732 arg=$1;
2733 case $arg in #(
2734 *"$as_nl"*)
2735 expr "X$arg" : "X\\(.*\\)$as_nl";
2736 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2737 esac;
2738 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2739 '
2740 export as_echo_n_body
2741 as_echo_n='sh -c $as_echo_n_body as_echo'
2742 fi
2743 export as_echo_body
2744 as_echo='sh -c $as_echo_body as_echo'
2745 fi
2746
2747 # The user is always right.
2748 if test "${PATH_SEPARATOR+set}" != set; then
2749 PATH_SEPARATOR=:
2750 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2751 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2752 PATH_SEPARATOR=';'
2753 }
2754 fi
2755
2756
2757 # IFS
2758 # We need space, tab and new line, in precisely that order. Quoting is
2759 # there to prevent editors from complaining about space-tab.
2760 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2761 # splitting by setting IFS to empty value.)
2762 IFS=" "" $as_nl"
2763
2764 # Find who we are. Look in the path if we contain no directory separator.
2765 as_myself=
2766 case $0 in #((
2767 *[\\/]* ) as_myself=$0 ;;
2768 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2769 for as_dir in $PATH
2770 do
2771 IFS=$as_save_IFS
2772 test -z "$as_dir" && as_dir=.
2773 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2774 done
2775 IFS=$as_save_IFS
2776
2777 ;;
2778 esac
2779 # We did not find ourselves, most probably we were run as `sh COMMAND'
2780 # in which case we are not to be found in the path.
2781 if test "x$as_myself" = x; then
2782 as_myself=$0
2783 fi
2784 if test ! -f "$as_myself"; then
2785 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2786 exit 1
2787 fi
2788
2789 # Unset variables that we do not need and which cause bugs (e.g. in
2790 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2791 # suppresses any "Segmentation fault" message there. '((' could
2792 # trigger a bug in pdksh 5.2.14.
2793 for as_var in BASH_ENV ENV MAIL MAILPATH
2794 do eval test x\${$as_var+set} = xset \
2795 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2796 done
2797 PS1='$ '
2798 PS2='> '
2799 PS4='+ '
2800
2801 # NLS nuisances.
2802 LC_ALL=C
2803 export LC_ALL
2804 LANGUAGE=C
2805 export LANGUAGE
2806
2807 # CDPATH.
2808 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2809
2810
2811 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2812 # ----------------------------------------
2813 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2814 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2815 # script with STATUS, using 1 if that was 0.
2816 as_fn_error ()
2817 {
2818 as_status=$1; test $as_status -eq 0 && as_status=1
2819 if test "$4"; then
2820 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2821 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2822 fi
2823 $as_echo "$as_me: error: $2" >&2
2824 as_fn_exit $as_status
2825 } # as_fn_error
2826
2827
2828 # as_fn_set_status STATUS
2829 # -----------------------
2830 # Set $? to STATUS, without forking.
2831 as_fn_set_status ()
2832 {
2833 return $1
2834 } # as_fn_set_status
2835
2836 # as_fn_exit STATUS
2837 # -----------------
2838 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2839 as_fn_exit ()
2840 {
2841 set +e
2842 as_fn_set_status $1
2843 exit $1
2844 } # as_fn_exit
2845
2846 # as_fn_unset VAR
2847 # ---------------
2848 # Portably unset VAR.
2849 as_fn_unset ()
2850 {
2851 { eval $1=; unset $1;}
2852 }
2853 as_unset=as_fn_unset
2854 # as_fn_append VAR VALUE
2855 # ----------------------
2856 # Append the text in VALUE to the end of the definition contained in VAR. Take
2857 # advantage of any shell optimizations that allow amortized linear growth over
2858 # repeated appends, instead of the typical quadratic growth present in naive
2859 # implementations.
2860 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2861 eval 'as_fn_append ()
2862 {
2863 eval $1+=\$2
2864 }'
2865 else
2866 as_fn_append ()
2867 {
2868 eval $1=\$$1\$2
2869 }
2870 fi # as_fn_append
2871
2872 # as_fn_arith ARG...
2873 # ------------------
2874 # Perform arithmetic evaluation on the ARGs, and store the result in the
2875 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2876 # must be portable across $(()) and expr.
2877 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2878 eval 'as_fn_arith ()
2879 {
2880 as_val=$(( $* ))
2881 }'
2882 else
2883 as_fn_arith ()
2884 {
2885 as_val=`expr "$@" || test $? -eq 1`
2886 }
2887 fi # as_fn_arith
2888
2889
2890 if expr a : '\(a\)' >/dev/null 2>&1 &&
2891 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2892 as_expr=expr
2893 else
2894 as_expr=false
2895 fi
2896
2897 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2898 as_basename=basename
2899 else
2900 as_basename=false
2901 fi
2902
2903 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2904 as_dirname=dirname
2905 else
2906 as_dirname=false
2907 fi
2908
2909 as_me=`$as_basename -- "$0" ||
2910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2911 X"$0" : 'X\(//\)$' \| \
2912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2913 $as_echo X/"$0" |
2914 sed '/^.*\/\([^/][^/]*\)\/*$/{
2915 s//\1/
2916 q
2917 }
2918 /^X\/\(\/\/\)$/{
2919 s//\1/
2920 q
2921 }
2922 /^X\/\(\/\).*/{
2923 s//\1/
2924 q
2925 }
2926 s/.*/./; q'`
2927
2928 # Avoid depending upon Character Ranges.
2929 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2930 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2931 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2932 as_cr_digits='0123456789'
2933 as_cr_alnum=$as_cr_Letters$as_cr_digits
2934
2935 ECHO_C= ECHO_N= ECHO_T=
2936 case `echo -n x` in #(((((
2937 -n*)
2938 case `echo 'xy\c'` in
2939 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2940 xy) ECHO_C='\c';;
2941 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2942 ECHO_T=' ';;
2943 esac;;
2944 *)
2945 ECHO_N='-n';;
2946 esac
2947
2948 rm -f conf$$ conf$$.exe conf$$.file
2949 if test -d conf$$.dir; then
2950 rm -f conf$$.dir/conf$$.file
2951 else
2952 rm -f conf$$.dir
2953 mkdir conf$$.dir 2>/dev/null
2954 fi
2955 if (echo >conf$$.file) 2>/dev/null; then
2956 if ln -s conf$$.file conf$$ 2>/dev/null; then
2957 as_ln_s='ln -s'
2958 # ... but there are two gotchas:
2959 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2960 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2961 # In both cases, we have to default to `cp -pR'.
2962 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2963 as_ln_s='cp -pR'
2964 elif ln conf$$.file conf$$ 2>/dev/null; then
2965 as_ln_s=ln
2966 else
2967 as_ln_s='cp -pR'
2968 fi
2969 else
2970 as_ln_s='cp -pR'
2971 fi
2972 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2973 rmdir conf$$.dir 2>/dev/null
2974
2975
2976 # as_fn_mkdir_p
2977 # -------------
2978 # Create "$as_dir" as a directory, including parents if necessary.
2979 as_fn_mkdir_p ()
2980 {
2981
2982 case $as_dir in #(
2983 -*) as_dir=./$as_dir;;
2984 esac
2985 test -d "$as_dir" || eval $as_mkdir_p || {
2986 as_dirs=
2987 while :; do
2988 case $as_dir in #(
2989 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2990 *) as_qdir=$as_dir;;
2991 esac
2992 as_dirs="'$as_qdir' $as_dirs"
2993 as_dir=`$as_dirname -- "$as_dir" ||
2994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2995 X"$as_dir" : 'X\(//\)[^/]' \| \
2996 X"$as_dir" : 'X\(//\)$' \| \
2997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2998 $as_echo X"$as_dir" |
2999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3000 s//\1/
3001 q
3002 }
3003 /^X\(\/\/\)[^/].*/{
3004 s//\1/
3005 q
3006 }
3007 /^X\(\/\/\)$/{
3008 s//\1/
3009 q
3010 }
3011 /^X\(\/\).*/{
3012 s//\1/
3013 q
3014 }
3015 s/.*/./; q'`
3016 test -d "$as_dir" && break
3017 done
3018 test -z "$as_dirs" || eval "mkdir $as_dirs"
3019 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3020
3021
3022 } # as_fn_mkdir_p
3023 if mkdir -p . 2>/dev/null; then
3024 as_mkdir_p='mkdir -p "$as_dir"'
3025 else
3026 test -d ./-p && rmdir ./-p
3027 as_mkdir_p=false
3028 fi
3029
3030
3031 # as_fn_executable_p FILE
3032 # -----------------------
3033 # Test if FILE is an executable regular file.
3034 as_fn_executable_p ()
3035 {
3036 test -f "$1" && test -x "$1"
3037 } # as_fn_executable_p
3038 as_test_x='test -x'
3039 as_executable_p=as_fn_executable_p
3040
3041 # Sed expression to map a string onto a valid CPP name.
3042 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3043
3044 # Sed expression to map a string onto a valid variable name.
3045 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3046
3047
3048 exec 6>&1
3049 ## ----------------------------------- ##
3050 ## Main body of $CONFIG_STATUS script. ##
3051 ## ----------------------------------- ##
3052 _ASEOF
3053 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3054
3055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3056 # Save the log message, to keep $0 and so on meaningful, and to
3057 # report actual input values of CONFIG_FILES etc. instead of their
3058 # values after options handling.
3059 ac_log="
3060 This file was extended by drool $as_me 2.0.0, which was
3061 generated by GNU Autoconf 2.69. Invocation command line was
3062
3063 CONFIG_FILES = $CONFIG_FILES
3064 CONFIG_HEADERS = $CONFIG_HEADERS
3065 CONFIG_LINKS = $CONFIG_LINKS
3066 CONFIG_COMMANDS = $CONFIG_COMMANDS
3067 $ $0 $@
3068
3069 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3070 "
3071
3072 _ACEOF
3073
3074 case $ac_config_files in *"
3075 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3076 esac
3077
3078
3079
3080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3081 # Files that config.status was made for.
3082 config_files="$ac_config_files"
3083
3084 _ACEOF
3085
3086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3087 ac_cs_usage="\
3088 \`$as_me' instantiates files and other configuration actions
3089 from templates according to the current configuration. Unless the files
3090 and actions are specified as TAGs, all are instantiated by default.
3091
3092 Usage: $0 [OPTION]... [TAG]...
3093
3094 -h, --help print this help, then exit
3095 -V, --version print version number and configuration settings, then exit
3096 --config print configuration, then exit
3097 -q, --quiet, --silent
3098 do not print progress messages
3099 -d, --debug don't remove temporary files
3100 --recheck update $as_me by reconfiguring in the same conditions
3101 --file=FILE[:TEMPLATE]
3102 instantiate the configuration file FILE
3103
3104 Configuration files:
3105 $config_files
3106
3107 Report bugs to <[email protected]>.
3108 drool home page: <https://github.com/DNS-OARC/drool/issues>."
3109
3110 _ACEOF
3111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3112 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3113 ac_cs_version="\\
3114 drool config.status 2.0.0
3115 configured by $0, generated by GNU Autoconf 2.69,
3116 with options \\"\$ac_cs_config\\"
3117
3118 Copyright (C) 2012 Free Software Foundation, Inc.
3119 This config.status script is free software; the Free Software Foundation
3120 gives unlimited permission to copy, distribute and modify it."
3121
3122 ac_pwd='$ac_pwd'
3123 srcdir='$srcdir'
3124 INSTALL='$INSTALL'
3125 MKDIR_P='$MKDIR_P'
3126 AWK='$AWK'
3127 test -n "\$AWK" || AWK=awk
3128 _ACEOF
3129
3130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3131 # The default lists apply if the user does not specify any file.
3132 ac_need_defaults=:
3133 while test $# != 0
3134 do
3135 case $1 in
3136 --*=?*)
3137 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3138 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3139 ac_shift=:
3140 ;;
3141 --*=)
3142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3143 ac_optarg=
3144 ac_shift=:
3145 ;;
3146 *)
3147 ac_option=$1
3148 ac_optarg=$2
3149 ac_shift=shift
3150 ;;
3151 esac
3152
3153 case $ac_option in
3154 # Handling of the options.
3155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3156 ac_cs_recheck=: ;;
3157 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3158 $as_echo "$ac_cs_version"; exit ;;
3159 --config | --confi | --conf | --con | --co | --c )
3160 $as_echo "$ac_cs_config"; exit ;;
3161 --debug | --debu | --deb | --de | --d | -d )
3162 debug=: ;;
3163 --file | --fil | --fi | --f )
3164 $ac_shift
3165 case $ac_optarg in
3166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3167 '') as_fn_error $? "missing file argument" ;;
3168 esac
3169 as_fn_append CONFIG_FILES " '$ac_optarg'"
3170 ac_need_defaults=false;;
3171 --he | --h | --help | --hel | -h )
3172 $as_echo "$ac_cs_usage"; exit ;;
3173 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3174 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3175 ac_cs_silent=: ;;
3176
3177 # This is an error.
3178 -*) as_fn_error $? "unrecognized option: \`$1'
3179 Try \`$0 --help' for more information." ;;
3180
3181 *) as_fn_append ac_config_targets " $1"
3182 ac_need_defaults=false ;;
3183
3184 esac
3185 shift
3186 done
3187
3188 ac_configure_extra_args=
3189
3190 if $ac_cs_silent; then
3191 exec 6>/dev/null
3192 ac_configure_extra_args="$ac_configure_extra_args --silent"
3193 fi
3194
3195 _ACEOF
3196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3197 if \$ac_cs_recheck; then
3198 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3199 shift
3200 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3201 CONFIG_SHELL='$SHELL'
3202 export CONFIG_SHELL
3203 exec "\$@"
3204 fi
3205
3206 _ACEOF
3207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3208 exec 5>>config.log
3209 {
3210 echo
3211 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3212 ## Running $as_me. ##
3213 _ASBOX
3214 $as_echo "$ac_log"
3215 } >&5
3216
3217 _ACEOF
3218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3219 _ACEOF
3220
3221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3222
3223 # Handling of arguments.
3224 for ac_config_target in $ac_config_targets
3225 do
3226 case $ac_config_target in
3227 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3228 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3229 "src/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/test/Makefile" ;;
3230
3231 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3232 esac
3233 done
3234
3235
3236 # If the user did not use the arguments to specify the items to instantiate,
3237 # then the envvar interface is used. Set only those that are not.
3238 # We use the long form for the default assignment because of an extremely
3239 # bizarre bug on SunOS 4.1.3.
3240 if $ac_need_defaults; then
3241 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3242 fi
3243
3244 # Have a temporary directory for convenience. Make it in the build tree
3245 # simply because there is no reason against having it here, and in addition,
3246 # creating and moving files from /tmp can sometimes cause problems.
3247 # Hook for its removal unless debugging.
3248 # Note that there is a small window in which the directory will not be cleaned:
3249 # after its creation but before its name has been assigned to `$tmp'.
3250 $debug ||
3251 {
3252 tmp= ac_tmp=
3253 trap 'exit_status=$?
3254 : "${ac_tmp:=$tmp}"
3255 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3256 ' 0
3257 trap 'as_fn_exit 1' 1 2 13 15
3258 }
3259 # Create a (secure) tmp directory for tmp files.
3260
3261 {
3262 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3263 test -d "$tmp"
3264 } ||
3265 {
3266 tmp=./conf$$-$RANDOM
3267 (umask 077 && mkdir "$tmp")
3268 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3269 ac_tmp=$tmp
3270
3271 # Set up the scripts for CONFIG_FILES section.
3272 # No need to generate them if there are no CONFIG_FILES.
3273 # This happens for instance with `./config.status config.h'.
3274 if test -n "$CONFIG_FILES"; then
3275
3276
3277 ac_cr=`echo X | tr X '\015'`
3278 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3279 # But we know of no other shell where ac_cr would be empty at this
3280 # point, so we can use a bashism as a fallback.
3281 if test "x$ac_cr" = x; then
3282 eval ac_cr=\$\'\\r\'
3283 fi
3284 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3285 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3286 ac_cs_awk_cr='\\r'
3287 else
3288 ac_cs_awk_cr=$ac_cr
3289 fi
3290
3291 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3292 _ACEOF
3293
3294
3295 {
3296 echo "cat >conf$$subs.awk <<_ACEOF" &&
3297 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3298 echo "_ACEOF"
3299 } >conf$$subs.sh ||
3300 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3301 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3302 ac_delim='%!_!# '
3303 for ac_last_try in false false false false false :; do
3304 . ./conf$$subs.sh ||
3305 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3306
3307 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3308 if test $ac_delim_n = $ac_delim_num; then
3309 break
3310 elif $ac_last_try; then
3311 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3312 else
3313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3314 fi
3315 done
3316 rm -f conf$$subs.sh
3317
3318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3319 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3320 _ACEOF
3321 sed -n '
3322 h
3323 s/^/S["/; s/!.*/"]=/
3324 p
3325 g
3326 s/^[^!]*!//
3327 :repl
3328 t repl
3329 s/'"$ac_delim"'$//
3330 t delim
3331 :nl
3332 h
3333 s/\(.\{148\}\)..*/\1/
3334 t more1
3335 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3336 p
3337 n
3338 b repl
3339 :more1
3340 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3341 p
3342 g
3343 s/.\{148\}//
3344 t nl
3345 :delim
3346 h
3347 s/\(.\{148\}\)..*/\1/
3348 t more2
3349 s/["\\]/\\&/g; s/^/"/; s/$/"/
3350 p
3351 b
3352 :more2
3353 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3354 p
3355 g
3356 s/.\{148\}//
3357 t delim
3358 ' <conf$$subs.awk | sed '
3359 /^[^""]/{
3360 N
3361 s/\n//
3362 }
3363 ' >>$CONFIG_STATUS || ac_write_fail=1
3364 rm -f conf$$subs.awk
3365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3366 _ACAWK
3367 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3368 for (key in S) S_is_set[key] = 1
3369 FS = ""
3370
3371 }
3372 {
3373 line = $ 0
3374 nfields = split(line, field, "@")
3375 substed = 0
3376 len = length(field[1])
3377 for (i = 2; i < nfields; i++) {
3378 key = field[i]
3379 keylen = length(key)
3380 if (S_is_set[key]) {
3381 value = S[key]
3382 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3383 len += length(value) + length(field[++i])
3384 substed = 1
3385 } else
3386 len += 1 + keylen
3387 }
3388
3389 print line
3390 }
3391
3392 _ACAWK
3393 _ACEOF
3394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3395 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3396 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3397 else
3398 cat
3399 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3400 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3401 _ACEOF
3402
3403 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3404 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3405 # trailing colons and then remove the whole line if VPATH becomes empty
3406 # (actually we leave an empty line to preserve line numbers).
3407 if test "x$srcdir" = x.; then
3408 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3409 h
3410 s///
3411 s/^/:/
3412 s/[ ]*$/:/
3413 s/:\$(srcdir):/:/g
3414 s/:\${srcdir}:/:/g
3415 s/:@srcdir@:/:/g
3416 s/^:*//
3417 s/:*$//
3418 x
3419 s/\(=[ ]*\).*/\1/
3420 G
3421 s/\n//
3422 s/^[^=]*=[ ]*$//
3423 }'
3424 fi
3425
3426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3427 fi # test -n "$CONFIG_FILES"
3428
3429
3430 eval set X " :F $CONFIG_FILES "
3431 shift
3432 for ac_tag
3433 do
3434 case $ac_tag in
3435 :[FHLC]) ac_mode=$ac_tag; continue;;
3436 esac
3437 case $ac_mode$ac_tag in
3438 :[FHL]*:*);;
3439 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3440 :[FH]-) ac_tag=-:-;;
3441 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3442 esac
3443 ac_save_IFS=$IFS
3444 IFS=:
3445 set x $ac_tag
3446 IFS=$ac_save_IFS
3447 shift
3448 ac_file=$1
3449 shift
3450
3451 case $ac_mode in
3452 :L) ac_source=$1;;
3453 :[FH])
3454 ac_file_inputs=
3455 for ac_f
3456 do
3457 case $ac_f in
3458 -) ac_f="$ac_tmp/stdin";;
3459 *) # Look for the file first in the build tree, then in the source tree
3460 # (if the path is not absolute). The absolute path cannot be DOS-style,
3461 # because $ac_f cannot contain `:'.
3462 test -f "$ac_f" ||
3463 case $ac_f in
3464 [\\/$]*) false;;
3465 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3466 esac ||
3467 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3468 esac
3469 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3470 as_fn_append ac_file_inputs " '$ac_f'"
3471 done
3472
3473 # Let's still pretend it is `configure' which instantiates (i.e., don't
3474 # use $as_me), people would be surprised to read:
3475 # /* config.h. Generated by config.status. */
3476 configure_input='Generated from '`
3477 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3478 `' by configure.'
3479 if test x"$ac_file" != x-; then
3480 configure_input="$ac_file. $configure_input"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3482 $as_echo "$as_me: creating $ac_file" >&6;}
3483 fi
3484 # Neutralize special characters interpreted by sed in replacement strings.
3485 case $configure_input in #(
3486 *\&* | *\|* | *\\* )
3487 ac_sed_conf_input=`$as_echo "$configure_input" |
3488 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3489 *) ac_sed_conf_input=$configure_input;;
3490 esac
3491
3492 case $ac_tag in
3493 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3495 esac
3496 ;;
3497 esac
3498
3499 ac_dir=`$as_dirname -- "$ac_file" ||
3500 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3501 X"$ac_file" : 'X\(//\)[^/]' \| \
3502 X"$ac_file" : 'X\(//\)$' \| \
3503 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3504 $as_echo X"$ac_file" |
3505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3506 s//\1/
3507 q
3508 }
3509 /^X\(\/\/\)[^/].*/{
3510 s//\1/
3511 q
3512 }
3513 /^X\(\/\/\)$/{
3514 s//\1/
3515 q
3516 }
3517 /^X\(\/\).*/{
3518 s//\1/
3519 q
3520 }
3521 s/.*/./; q'`
3522 as_dir="$ac_dir"; as_fn_mkdir_p
3523 ac_builddir=.
3524
3525 case "$ac_dir" in
3526 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3527 *)
3528 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3529 # A ".." for each directory in $ac_dir_suffix.
3530 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3531 case $ac_top_builddir_sub in
3532 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3533 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3534 esac ;;
3535 esac
3536 ac_abs_top_builddir=$ac_pwd
3537 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3538 # for backward compatibility:
3539 ac_top_builddir=$ac_top_build_prefix
3540
3541 case $srcdir in
3542 .) # We are building in place.
3543 ac_srcdir=.
3544 ac_top_srcdir=$ac_top_builddir_sub
3545 ac_abs_top_srcdir=$ac_pwd ;;
3546 [\\/]* | ?:[\\/]* ) # Absolute name.
3547 ac_srcdir=$srcdir$ac_dir_suffix;
3548 ac_top_srcdir=$srcdir
3549 ac_abs_top_srcdir=$srcdir ;;
3550 *) # Relative name.
3551 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3552 ac_top_srcdir=$ac_top_build_prefix$srcdir
3553 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3554 esac
3555 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3556
3557
3558 case $ac_mode in
3559 :F)
3560 #
3561 # CONFIG_FILE
3562 #
3563
3564 case $INSTALL in
3565 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3566 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3567 esac
3568 ac_MKDIR_P=$MKDIR_P
3569 case $MKDIR_P in
3570 [\\/$]* | ?:[\\/]* ) ;;
3571 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3572 esac
3573 _ACEOF
3574
3575 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3576 # If the template does not know about datarootdir, expand it.
3577 # FIXME: This hack should be removed a few years after 2.60.
3578 ac_datarootdir_hack=; ac_datarootdir_seen=
3579 ac_sed_dataroot='
3580 /datarootdir/ {
3581 p
3582 q
3583 }
3584 /@datadir@/p
3585 /@docdir@/p
3586 /@infodir@/p
3587 /@localedir@/p
3588 /@mandir@/p'
3589 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3590 *datarootdir*) ac_datarootdir_seen=yes;;
3591 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3593 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3594 _ACEOF
3595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3596 ac_datarootdir_hack='
3597 s&@datadir@&$datadir&g
3598 s&@docdir@&$docdir&g
3599 s&@infodir@&$infodir&g
3600 s&@localedir@&$localedir&g
3601 s&@mandir@&$mandir&g
3602 s&\\\${datarootdir}&$datarootdir&g' ;;
3603 esac
3604 _ACEOF
3605
3606 # Neutralize VPATH when `$srcdir' = `.'.
3607 # Shell code in configure.ac might set extrasub.
3608 # FIXME: do we really want to maintain this feature?
3609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3610 ac_sed_extra="$ac_vpsub
3611 $extrasub
3612 _ACEOF
3613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3614 :t
3615 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3616 s|@configure_input@|$ac_sed_conf_input|;t t
3617 s&@top_builddir@&$ac_top_builddir_sub&;t t
3618 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3619 s&@srcdir@&$ac_srcdir&;t t
3620 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3621 s&@top_srcdir@&$ac_top_srcdir&;t t
3622 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3623 s&@builddir@&$ac_builddir&;t t
3624 s&@abs_builddir@&$ac_abs_builddir&;t t
3625 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3626 s&@INSTALL@&$ac_INSTALL&;t t
3627 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3628 $ac_datarootdir_hack
3629 "
3630 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3631 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3632
3633 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3634 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3635 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3636 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3638 which seems to be undefined. Please make sure it is defined" >&5
3639 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3640 which seems to be undefined. Please make sure it is defined" >&2;}
3641
3642 rm -f "$ac_tmp/stdin"
3643 case $ac_file in
3644 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3645 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3646 esac \
3647 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3648 ;;
3649
3650
3651
3652 esac
3653
3654 done # for ac_tag
3655
3656
3657 as_fn_exit 0
3658 _ACEOF
3659 ac_clean_files=$ac_clean_files_save
3660
3661 test $ac_write_fail = 0 ||
3662 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3663
3664
3665 # configure is writing to config.log, and then calls config.status.
3666 # config.status does its own redirection, appending to config.log.
3667 # Unfortunately, on DOS this fails, as config.log is still kept open
3668 # by configure, so config.status won't be able to write to it; its
3669 # output is simply discarded. So we exec the FD to /dev/null,
3670 # effectively closing config.log, so it can be properly (re)opened and
3671 # appended to by config.status. When coming back to configure, we
3672 # need to make the FD available again.
3673 if test "$no_create" != yes; then
3674 ac_cs_success=:
3675 ac_config_status_args=
3676 test "$silent" = yes &&
3677 ac_config_status_args="$ac_config_status_args --quiet"
3678 exec 5>/dev/null
3679 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3680 exec 5>>config.log
3681 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3682 # would make configure fail if this is the last instruction.
3683 $ac_cs_success || as_fn_exit 1
3684 fi
3685 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3687 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3688 fi
3689