Annotation of embedaddon/strongswan/configure, revision 1.1.1.1
1.1 misho 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
3: # Generated by GNU Autoconf 2.69 for strongSwan 5.8.4.
4: #
5: #
6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7: #
8: #
9: # This configure script is free software; the Free Software Foundation
10: # gives unlimited permission to copy, distribute and modify it.
11: ## -------------------- ##
12: ## M4sh Initialization. ##
13: ## -------------------- ##
14:
15: # Be more Bourne compatible
16: DUALCASE=1; export DUALCASE # for MKS sh
17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18: emulate sh
19: NULLCMD=:
20: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21: # is contrary to our usage. Disable this feature.
22: alias -g '${1+"$@"}'='"$@"'
23: setopt NO_GLOB_SUBST
24: else
25: case `(set -o) 2>/dev/null` in #(
26: *posix*) :
27: set -o posix ;; #(
28: *) :
29: ;;
30: esac
31: fi
32:
33:
34: as_nl='
35: '
36: export as_nl
37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41: # Prefer a ksh shell builtin over an external printf program on Solaris,
42: # but without wasting forks for bash or zsh.
43: if test -z "$BASH_VERSION$ZSH_VERSION" \
44: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45: as_echo='print -r --'
46: as_echo_n='print -rn --'
47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48: as_echo='printf %s\n'
49: as_echo_n='printf %s'
50: else
51: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53: as_echo_n='/usr/ucb/echo -n'
54: else
55: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56: as_echo_n_body='eval
57: arg=$1;
58: case $arg in #(
59: *"$as_nl"*)
60: expr "X$arg" : "X\\(.*\\)$as_nl";
61: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62: esac;
63: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64: '
65: export as_echo_n_body
66: as_echo_n='sh -c $as_echo_n_body as_echo'
67: fi
68: export as_echo_body
69: as_echo='sh -c $as_echo_body as_echo'
70: fi
71:
72: # The user is always right.
73: if test "${PATH_SEPARATOR+set}" != set; then
74: PATH_SEPARATOR=:
75: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77: PATH_SEPARATOR=';'
78: }
79: fi
80:
81:
82: # IFS
83: # We need space, tab and new line, in precisely that order. Quoting is
84: # there to prevent editors from complaining about space-tab.
85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86: # splitting by setting IFS to empty value.)
87: IFS=" "" $as_nl"
88:
89: # Find who we are. Look in the path if we contain no directory separator.
90: as_myself=
91: case $0 in #((
92: *[\\/]* ) as_myself=$0 ;;
93: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94: for as_dir in $PATH
95: do
96: IFS=$as_save_IFS
97: test -z "$as_dir" && as_dir=.
98: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99: done
100: IFS=$as_save_IFS
101:
102: ;;
103: esac
104: # We did not find ourselves, most probably we were run as `sh COMMAND'
105: # in which case we are not to be found in the path.
106: if test "x$as_myself" = x; then
107: as_myself=$0
108: fi
109: if test ! -f "$as_myself"; then
110: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111: exit 1
112: fi
113:
114: # Unset variables that we do not need and which cause bugs (e.g. in
115: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116: # suppresses any "Segmentation fault" message there. '((' could
117: # trigger a bug in pdksh 5.2.14.
118: for as_var in BASH_ENV ENV MAIL MAILPATH
119: do eval test x\${$as_var+set} = xset \
120: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121: done
122: PS1='$ '
123: PS2='> '
124: PS4='+ '
125:
126: # NLS nuisances.
127: LC_ALL=C
128: export LC_ALL
129: LANGUAGE=C
130: export LANGUAGE
131:
132: # CDPATH.
133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134:
135: # Use a proper internal environment variable to ensure we don't fall
136: # into an infinite loop, continuously re-executing ourselves.
137: if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138: _as_can_reexec=no; export _as_can_reexec;
139: # We cannot yet assume a decent shell, so we have to provide a
140: # neutralization value for shells without unset; and this also
141: # works around shells that cannot unset nonexistent variables.
142: # Preserve -v and -x to the replacement shell.
143: BASH_ENV=/dev/null
144: ENV=/dev/null
145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146: case $- in # ((((
147: *v*x* | *x*v* ) as_opts=-vx ;;
148: *v* ) as_opts=-v ;;
149: *x* ) as_opts=-x ;;
150: * ) as_opts= ;;
151: esac
152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153: # Admittedly, this is quite paranoid, since all the known shells bail
154: # out after a failed `exec'.
155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156: as_fn_exit 255
157: fi
158: # We don't want this to propagate to other subprocesses.
159: { _as_can_reexec=; unset _as_can_reexec;}
160: if test "x$CONFIG_SHELL" = x; then
161: as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162: emulate sh
163: NULLCMD=:
164: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165: # is contrary to our usage. Disable this feature.
166: alias -g '\${1+\"\$@\"}'='\"\$@\"'
167: setopt NO_GLOB_SUBST
168: else
169: case \`(set -o) 2>/dev/null\` in #(
170: *posix*) :
171: set -o posix ;; #(
172: *) :
173: ;;
174: esac
175: fi
176: "
177: as_required="as_fn_return () { (exit \$1); }
178: as_fn_success () { as_fn_return 0; }
179: as_fn_failure () { as_fn_return 1; }
180: as_fn_ret_success () { return 0; }
181: as_fn_ret_failure () { return 1; }
182:
183: exitcode=0
184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189:
190: else
191: exitcode=1; echo positional parameters were not saved.
192: fi
193: test x\$exitcode = x0 || exit 1
194: test -x / || exit 1"
195: as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196: as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197: eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198: test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199: test \$(( 1 + 1 )) = 2 || exit 1
200:
201: test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204: ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205: PATH=/empty FPATH=/empty; export PATH FPATH
206: test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207: || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208: if (eval "$as_required") 2>/dev/null; then :
209: as_have_required=yes
210: else
211: as_have_required=no
212: fi
213: if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214:
215: else
216: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217: as_found=false
218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219: do
220: IFS=$as_save_IFS
221: test -z "$as_dir" && as_dir=.
222: as_found=:
223: case $as_dir in #(
224: /*)
225: for as_base in sh bash ksh sh5; do
226: # Try only shells that exist, to save several forks.
227: as_shell=$as_dir/$as_base
228: if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230: CONFIG_SHELL=$as_shell as_have_required=yes
231: if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232: break 2
233: fi
234: fi
235: done;;
236: esac
237: as_found=false
238: done
239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240: { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241: CONFIG_SHELL=$SHELL as_have_required=yes
242: fi; }
243: IFS=$as_save_IFS
244:
245:
246: if test "x$CONFIG_SHELL" != x; then :
247: export CONFIG_SHELL
248: # We cannot yet assume a decent shell, so we have to provide a
249: # neutralization value for shells without unset; and this also
250: # works around shells that cannot unset nonexistent variables.
251: # Preserve -v and -x to the replacement shell.
252: BASH_ENV=/dev/null
253: ENV=/dev/null
254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255: case $- in # ((((
256: *v*x* | *x*v* ) as_opts=-vx ;;
257: *v* ) as_opts=-v ;;
258: *x* ) as_opts=-x ;;
259: * ) as_opts= ;;
260: esac
261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262: # Admittedly, this is quite paranoid, since all the known shells bail
263: # out after a failed `exec'.
264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265: exit 255
266: fi
267:
268: if test x$as_have_required = xno; then :
269: $as_echo "$0: This script requires a shell more modern than all"
270: $as_echo "$0: the shells that I found on your system."
271: if test x${ZSH_VERSION+set} = xset ; then
272: $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273: $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274: else
275: $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276: $0: including any error possibly output before this
277: $0: message. Then install a modern shell, or manually run
278: $0: the script under such a shell if you do have one."
279: fi
280: exit 1
281: fi
282: fi
283: fi
284: SHELL=${CONFIG_SHELL-/bin/sh}
285: export SHELL
286: # Unset more variables known to interfere with behavior of common tools.
287: CLICOLOR_FORCE= GREP_OPTIONS=
288: unset CLICOLOR_FORCE GREP_OPTIONS
289:
290: ## --------------------- ##
291: ## M4sh Shell Functions. ##
292: ## --------------------- ##
293: # as_fn_unset VAR
294: # ---------------
295: # Portably unset VAR.
296: as_fn_unset ()
297: {
298: { eval $1=; unset $1;}
299: }
300: as_unset=as_fn_unset
301:
302: # as_fn_set_status STATUS
303: # -----------------------
304: # Set $? to STATUS, without forking.
305: as_fn_set_status ()
306: {
307: return $1
308: } # as_fn_set_status
309:
310: # as_fn_exit STATUS
311: # -----------------
312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313: as_fn_exit ()
314: {
315: set +e
316: as_fn_set_status $1
317: exit $1
318: } # as_fn_exit
319:
320: # as_fn_mkdir_p
321: # -------------
322: # Create "$as_dir" as a directory, including parents if necessary.
323: as_fn_mkdir_p ()
324: {
325:
326: case $as_dir in #(
327: -*) as_dir=./$as_dir;;
328: esac
329: test -d "$as_dir" || eval $as_mkdir_p || {
330: as_dirs=
331: while :; do
332: case $as_dir in #(
333: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334: *) as_qdir=$as_dir;;
335: esac
336: as_dirs="'$as_qdir' $as_dirs"
337: as_dir=`$as_dirname -- "$as_dir" ||
338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339: X"$as_dir" : 'X\(//\)[^/]' \| \
340: X"$as_dir" : 'X\(//\)$' \| \
341: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342: $as_echo X"$as_dir" |
343: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344: s//\1/
345: q
346: }
347: /^X\(\/\/\)[^/].*/{
348: s//\1/
349: q
350: }
351: /^X\(\/\/\)$/{
352: s//\1/
353: q
354: }
355: /^X\(\/\).*/{
356: s//\1/
357: q
358: }
359: s/.*/./; q'`
360: test -d "$as_dir" && break
361: done
362: test -z "$as_dirs" || eval "mkdir $as_dirs"
363: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364:
365:
366: } # as_fn_mkdir_p
367:
368: # as_fn_executable_p FILE
369: # -----------------------
370: # Test if FILE is an executable regular file.
371: as_fn_executable_p ()
372: {
373: test -f "$1" && test -x "$1"
374: } # as_fn_executable_p
375: # as_fn_append VAR VALUE
376: # ----------------------
377: # Append the text in VALUE to the end of the definition contained in VAR. Take
378: # advantage of any shell optimizations that allow amortized linear growth over
379: # repeated appends, instead of the typical quadratic growth present in naive
380: # implementations.
381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382: eval 'as_fn_append ()
383: {
384: eval $1+=\$2
385: }'
386: else
387: as_fn_append ()
388: {
389: eval $1=\$$1\$2
390: }
391: fi # as_fn_append
392:
393: # as_fn_arith ARG...
394: # ------------------
395: # Perform arithmetic evaluation on the ARGs, and store the result in the
396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
397: # must be portable across $(()) and expr.
398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399: eval 'as_fn_arith ()
400: {
401: as_val=$(( $* ))
402: }'
403: else
404: as_fn_arith ()
405: {
406: as_val=`expr "$@" || test $? -eq 1`
407: }
408: fi # as_fn_arith
409:
410:
411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
412: # ----------------------------------------
413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415: # script with STATUS, using 1 if that was 0.
416: as_fn_error ()
417: {
418: as_status=$1; test $as_status -eq 0 && as_status=1
419: if test "$4"; then
420: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422: fi
423: $as_echo "$as_me: error: $2" >&2
424: as_fn_exit $as_status
425: } # as_fn_error
426:
427: if expr a : '\(a\)' >/dev/null 2>&1 &&
428: test "X`expr 00001 : '.*\(...\)'`" = X001; then
429: as_expr=expr
430: else
431: as_expr=false
432: fi
433:
434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435: as_basename=basename
436: else
437: as_basename=false
438: fi
439:
440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441: as_dirname=dirname
442: else
443: as_dirname=false
444: fi
445:
446: as_me=`$as_basename -- "$0" ||
447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448: X"$0" : 'X\(//\)$' \| \
449: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450: $as_echo X/"$0" |
451: sed '/^.*\/\([^/][^/]*\)\/*$/{
452: s//\1/
453: q
454: }
455: /^X\/\(\/\/\)$/{
456: s//\1/
457: q
458: }
459: /^X\/\(\/\).*/{
460: s//\1/
461: q
462: }
463: s/.*/./; q'`
464:
465: # Avoid depending upon Character Ranges.
466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469: as_cr_digits='0123456789'
470: as_cr_alnum=$as_cr_Letters$as_cr_digits
471:
472:
473: as_lineno_1=$LINENO as_lineno_1a=$LINENO
474: as_lineno_2=$LINENO as_lineno_2a=$LINENO
475: eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476: test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477: # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478: sed -n '
479: p
480: /[$]LINENO/=
481: ' <$as_myself |
482: sed '
483: s/[$]LINENO.*/&-/
484: t lineno
485: b
486: :lineno
487: N
488: :loop
489: s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490: t loop
491: s/-\n.*//
492: ' >$as_me.lineno &&
493: chmod +x "$as_me.lineno" ||
494: { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495:
496: # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497: # already done that, so ensure we don't try to do so again and fall
498: # in an infinite loop. This has already happened in practice.
499: _as_can_reexec=no; export _as_can_reexec
500: # Don't try to exec as it changes $[0], causing all sort of problems
501: # (the dirname of $[0] is not the place where we might find the
502: # original and so on. Autoconf is especially sensitive to this).
503: . "./$as_me.lineno"
504: # Exit status is that of the last command.
505: exit
506: }
507:
508: ECHO_C= ECHO_N= ECHO_T=
509: case `echo -n x` in #(((((
510: -n*)
511: case `echo 'xy\c'` in
512: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513: xy) ECHO_C='\c';;
514: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515: ECHO_T=' ';;
516: esac;;
517: *)
518: ECHO_N='-n';;
519: esac
520:
521: rm -f conf$$ conf$$.exe conf$$.file
522: if test -d conf$$.dir; then
523: rm -f conf$$.dir/conf$$.file
524: else
525: rm -f conf$$.dir
526: mkdir conf$$.dir 2>/dev/null
527: fi
528: if (echo >conf$$.file) 2>/dev/null; then
529: if ln -s conf$$.file conf$$ 2>/dev/null; then
530: as_ln_s='ln -s'
531: # ... but there are two gotchas:
532: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534: # In both cases, we have to default to `cp -pR'.
535: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536: as_ln_s='cp -pR'
537: elif ln conf$$.file conf$$ 2>/dev/null; then
538: as_ln_s=ln
539: else
540: as_ln_s='cp -pR'
541: fi
542: else
543: as_ln_s='cp -pR'
544: fi
545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546: rmdir conf$$.dir 2>/dev/null
547:
548: if mkdir -p . 2>/dev/null; then
549: as_mkdir_p='mkdir -p "$as_dir"'
550: else
551: test -d ./-p && rmdir ./-p
552: as_mkdir_p=false
553: fi
554:
555: as_test_x='test -x'
556: as_executable_p=as_fn_executable_p
557:
558: # Sed expression to map a string onto a valid CPP name.
559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560:
561: # Sed expression to map a string onto a valid variable name.
562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563:
564: SHELL=${CONFIG_SHELL-/bin/sh}
565:
566:
567: test -n "$DJDIR" || exec 7<&0 </dev/null
568: exec 6>&1
569:
570: # Name of the host.
571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572: # so uname gets run too.
573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574:
575: #
576: # Initializations.
577: #
578: ac_default_prefix=/usr/local
579: ac_clean_files=
580: ac_config_libobj_dir=.
581: LIBOBJS=
582: cross_compiling=no
583: subdirs=
584: MFLAGS=
585: MAKEFLAGS=
586:
587: # Identity of this package.
588: PACKAGE_NAME='strongSwan'
589: PACKAGE_TARNAME='strongswan'
590: PACKAGE_VERSION='5.8.4'
591: PACKAGE_STRING='strongSwan 5.8.4'
592: PACKAGE_BUGREPORT=''
593: PACKAGE_URL=''
594:
595: # Factoring default headers for most tests.
596: ac_includes_default="\
597: #include <stdio.h>
598: #ifdef HAVE_SYS_TYPES_H
599: # include <sys/types.h>
600: #endif
601: #ifdef HAVE_SYS_STAT_H
602: # include <sys/stat.h>
603: #endif
604: #ifdef STDC_HEADERS
605: # include <stdlib.h>
606: # include <stddef.h>
607: #else
608: # ifdef HAVE_STDLIB_H
609: # include <stdlib.h>
610: # endif
611: #endif
612: #ifdef HAVE_STRING_H
613: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614: # include <memory.h>
615: # endif
616: # include <string.h>
617: #endif
618: #ifdef HAVE_STRINGS_H
619: # include <strings.h>
620: #endif
621: #ifdef HAVE_INTTYPES_H
622: # include <inttypes.h>
623: #endif
624: #ifdef HAVE_STDINT_H
625: # include <stdint.h>
626: #endif
627: #ifdef HAVE_UNISTD_H
628: # include <unistd.h>
629: #endif"
630:
631: ac_subst_vars='am__EXEEXT_FALSE
632: am__EXEEXT_TRUE
633: LTLIBOBJS
634: LIBOBJS
635: strongswan_options
636: USE_PY_TEST_FALSE
637: USE_PY_TEST_TRUE
638: USE_TOX_FALSE
639: USE_TOX_TRUE
640: USE_PERL_CPAN_FALSE
641: USE_PERL_CPAN_TRUE
642: USE_PYTHON_EGGS_FALSE
643: USE_PYTHON_EGGS_TRUE
644: USE_RUBY_GEMS_FALSE
645: USE_RUBY_GEMS_TRUE
646: USE_LEGACY_SYSTEMD_FALSE
647: USE_LEGACY_SYSTEMD_TRUE
648: USE_SYSTEMD_FALSE
649: USE_SYSTEMD_TRUE
650: USE_SVC_FALSE
651: USE_SVC_TRUE
652: USE_SWANCTL_FALSE
653: USE_SWANCTL_TRUE
654: USE_AIKGEN_FALSE
655: USE_AIKGEN_TRUE
656: USE_CMD_FALSE
657: USE_CMD_TRUE
658: USE_TKM_FALSE
659: USE_TKM_TRUE
660: USE_DBGHELP_FALSE
661: USE_DBGHELP_TRUE
662: COVERAGE_FALSE
663: COVERAGE_TRUE
664: USE_SILENT_RULES_FALSE
665: USE_SILENT_RULES_TRUE
666: STATIC_PLUGIN_CONSTRUCTORS_FALSE
667: STATIC_PLUGIN_CONSTRUCTORS_TRUE
668: MONOLITHIC_FALSE
669: MONOLITHIC_TRUE
670: USE_TSS2_FALSE
671: USE_TSS2_TRUE
672: USE_TROUSERS_FALSE
673: USE_TROUSERS_TRUE
674: USE_IMCV_FALSE
675: USE_IMCV_TRUE
676: USE_RADIUS_FALSE
677: USE_RADIUS_TRUE
678: USE_TLS_FALSE
679: USE_TLS_TRUE
680: USE_SIMAKA_FALSE
681: USE_SIMAKA_TRUE
682: USE_BUILTIN_PRINTF_FALSE
683: USE_BUILTIN_PRINTF_TRUE
684: USE_VSTR_FALSE
685: USE_VSTR_TRUE
686: USE_LIBCAP_FALSE
687: USE_LIBCAP_TRUE
688: USE_IPSEC_SCRIPT_FALSE
689: USE_IPSEC_SCRIPT_TRUE
690: USE_FILE_CONFIG_FALSE
691: USE_FILE_CONFIG_TRUE
692: USE_LIBTPMTSS_FALSE
693: USE_LIBTPMTSS_TRUE
694: USE_LIBPTTLS_FALSE
695: USE_LIBPTTLS_TRUE
696: USE_LIBTNCCS_FALSE
697: USE_LIBTNCCS_TRUE
698: USE_LIBTNCIF_FALSE
699: USE_LIBTNCIF_TRUE
700: USE_LIBNTTFFT_FALSE
701: USE_LIBNTTFFT_TRUE
702: USE_LIBIPSEC_FALSE
703: USE_LIBIPSEC_TRUE
704: USE_LIBCHARON_FALSE
705: USE_LIBCHARON_TRUE
706: USE_LIBSTRONGSWAN_FALSE
707: USE_LIBSTRONGSWAN_TRUE
708: USE_CONFTEST_FALSE
709: USE_CONFTEST_TRUE
710: USE_FUZZING_FALSE
711: USE_FUZZING_TRUE
712: USE_SCRIPTS_FALSE
713: USE_SCRIPTS_TRUE
714: USE_SCEPCLIENT_FALSE
715: USE_SCEPCLIENT_TRUE
716: USE_PKI_FALSE
717: USE_PKI_TRUE
718: USE_NM_FALSE
719: USE_NM_TRUE
720: USE_CHARON_FALSE
721: USE_CHARON_TRUE
722: USE_ADNS_FALSE
723: USE_ADNS_TRUE
724: USE_THREADS_FALSE
725: USE_THREADS_TRUE
726: USE_IKEV2_FALSE
727: USE_IKEV2_TRUE
728: USE_IKEV1_FALSE
729: USE_IKEV1_TRUE
730: USE_LOAD_WARNING_FALSE
731: USE_LOAD_WARNING_TRUE
732: USE_INTEGRITY_TEST_FALSE
733: USE_INTEGRITY_TEST_TRUE
734: USE_ME_FALSE
735: USE_ME_TRUE
736: USE_MANAGER_FALSE
737: USE_MANAGER_TRUE
738: USE_FAST_FALSE
739: USE_FAST_TRUE
740: USE_LOCK_PROFILER_FALSE
741: USE_LOCK_PROFILER_TRUE
742: USE_LEAK_DETECTIVE_FALSE
743: USE_LEAK_DETECTIVE_TRUE
744: USE_COUNTERS_FALSE
745: USE_COUNTERS_TRUE
746: USE_ATTR_SQL_FALSE
747: USE_ATTR_SQL_TRUE
748: USE_ATTR_FALSE
749: USE_ATTR_TRUE
750: USE_RESOLVE_FALSE
751: USE_RESOLVE_TRUE
752: USE_UNITY_FALSE
753: USE_UNITY_TRUE
754: USE_ADDRBLOCK_FALSE
755: USE_ADDRBLOCK_TRUE
756: USE_FARP_FALSE
757: USE_FARP_TRUE
758: USE_FORECAST_FALSE
759: USE_FORECAST_TRUE
760: USE_CONNMARK_FALSE
761: USE_CONNMARK_TRUE
762: USE_BYPASS_LAN_FALSE
763: USE_BYPASS_LAN_TRUE
764: USE_SOCKET_WIN_FALSE
765: USE_SOCKET_WIN_TRUE
766: USE_SOCKET_DYNAMIC_FALSE
767: USE_SOCKET_DYNAMIC_TRUE
768: USE_SOCKET_DEFAULT_FALSE
769: USE_SOCKET_DEFAULT_TRUE
770: USE_SAVE_KEYS_FALSE
771: USE_SAVE_KEYS_TRUE
772: USE_IMV_HCD_FALSE
773: USE_IMV_HCD_TRUE
774: USE_IMC_HCD_FALSE
775: USE_IMC_HCD_TRUE
776: USE_IMV_SWIMA_FALSE
777: USE_IMV_SWIMA_TRUE
778: USE_IMC_SWIMA_FALSE
779: USE_IMC_SWIMA_TRUE
780: USE_IMV_ATTESTATION_FALSE
781: USE_IMV_ATTESTATION_TRUE
782: USE_IMC_ATTESTATION_FALSE
783: USE_IMC_ATTESTATION_TRUE
784: USE_IMV_OS_FALSE
785: USE_IMV_OS_TRUE
786: USE_IMC_OS_FALSE
787: USE_IMC_OS_TRUE
788: USE_IMV_SCANNER_FALSE
789: USE_IMV_SCANNER_TRUE
790: USE_IMC_SCANNER_FALSE
791: USE_IMC_SCANNER_TRUE
792: USE_IMV_TEST_FALSE
793: USE_IMV_TEST_TRUE
794: USE_IMC_TEST_FALSE
795: USE_IMC_TEST_TRUE
796: USE_TNCCS_DYNAMIC_FALSE
797: USE_TNCCS_DYNAMIC_TRUE
798: USE_TNCCS_20_FALSE
799: USE_TNCCS_20_TRUE
800: USE_TNCCS_11_FALSE
801: USE_TNCCS_11_TRUE
802: USE_TNC_TNCCS_FALSE
803: USE_TNC_TNCCS_TRUE
804: USE_TNC_IMV_FALSE
805: USE_TNC_IMV_TRUE
806: USE_TNC_IMC_FALSE
807: USE_TNC_IMC_TRUE
808: USE_TNC_PDP_FALSE
809: USE_TNC_PDP_TRUE
810: USE_TNC_IFMAP_FALSE
811: USE_TNC_IFMAP_TRUE
812: USE_XAUTH_NOAUTH_FALSE
813: USE_XAUTH_NOAUTH_TRUE
814: USE_XAUTH_PAM_FALSE
815: USE_XAUTH_PAM_TRUE
816: USE_XAUTH_EAP_FALSE
817: USE_XAUTH_EAP_TRUE
818: USE_XAUTH_GENERIC_FALSE
819: USE_XAUTH_GENERIC_TRUE
820: USE_EAP_RADIUS_FALSE
821: USE_EAP_RADIUS_TRUE
822: USE_EAP_DYNAMIC_FALSE
823: USE_EAP_DYNAMIC_TRUE
824: USE_EAP_TNC_FALSE
825: USE_EAP_TNC_TRUE
826: USE_EAP_PEAP_FALSE
827: USE_EAP_PEAP_TRUE
828: USE_EAP_TTLS_FALSE
829: USE_EAP_TTLS_TRUE
830: USE_EAP_TLS_FALSE
831: USE_EAP_TLS_TRUE
832: USE_EAP_MSCHAPV2_FALSE
833: USE_EAP_MSCHAPV2_TRUE
834: USE_EAP_AKA_3GPP2_FALSE
835: USE_EAP_AKA_3GPP2_TRUE
836: USE_EAP_AKA_3GPP_FALSE
837: USE_EAP_AKA_3GPP_TRUE
838: USE_EAP_AKA_FALSE
839: USE_EAP_AKA_TRUE
840: USE_EAP_GTC_FALSE
841: USE_EAP_GTC_TRUE
842: USE_EAP_MD5_FALSE
843: USE_EAP_MD5_TRUE
844: USE_EAP_IDENTITY_FALSE
845: USE_EAP_IDENTITY_TRUE
846: USE_EAP_SIMAKA_REAUTH_FALSE
847: USE_EAP_SIMAKA_REAUTH_TRUE
848: USE_EAP_SIMAKA_PSEUDONYM_FALSE
849: USE_EAP_SIMAKA_PSEUDONYM_TRUE
850: USE_EAP_SIMAKA_SQL_FALSE
851: USE_EAP_SIMAKA_SQL_TRUE
852: USE_EAP_SIM_PCSC_FALSE
853: USE_EAP_SIM_PCSC_TRUE
854: USE_EAP_SIM_FILE_FALSE
855: USE_EAP_SIM_FILE_TRUE
856: USE_EAP_SIM_FALSE
857: USE_EAP_SIM_TRUE
858: USE_RADATTR_FALSE
859: USE_RADATTR_TRUE
860: USE_COUPLING_FALSE
861: USE_COUPLING_TRUE
862: USE_DUPLICHECK_FALSE
863: USE_DUPLICHECK_TRUE
864: USE_LED_FALSE
865: USE_LED_TRUE
866: USE_SYSTIME_FIX_FALSE
867: USE_SYSTIME_FIX_TRUE
868: USE_CERTEXPIRE_FALSE
869: USE_CERTEXPIRE_TRUE
870: USE_ERROR_NOTIFY_FALSE
871: USE_ERROR_NOTIFY_TRUE
872: USE_LOOKIP_FALSE
873: USE_LOOKIP_TRUE
874: USE_EXT_AUTH_FALSE
875: USE_EXT_AUTH_TRUE
876: USE_WHITELIST_FALSE
877: USE_WHITELIST_TRUE
878: USE_KERNEL_IPH_FALSE
879: USE_KERNEL_IPH_TRUE
880: USE_KERNEL_WFP_FALSE
881: USE_KERNEL_WFP_TRUE
882: USE_KERNEL_LIBIPSEC_FALSE
883: USE_KERNEL_LIBIPSEC_TRUE
884: USE_KERNEL_PFROUTE_FALSE
885: USE_KERNEL_PFROUTE_TRUE
886: USE_KERNEL_PFKEY_FALSE
887: USE_KERNEL_PFKEY_TRUE
888: USE_KERNEL_NETLINK_FALSE
889: USE_KERNEL_NETLINK_TRUE
890: USE_HA_FALSE
891: USE_HA_TRUE
892: USE_LOAD_TESTER_FALSE
893: USE_LOAD_TESTER_TRUE
894: USE_DHCP_FALSE
895: USE_DHCP_TRUE
896: USE_UPDOWN_FALSE
897: USE_UPDOWN_TRUE
898: USE_IPSECKEY_FALSE
899: USE_IPSECKEY_TRUE
900: USE_DNSCERT_FALSE
901: USE_DNSCERT_TRUE
902: USE_SQL_FALSE
903: USE_SQL_TRUE
904: USE_SMP_FALSE
905: USE_SMP_TRUE
906: USE_ANDROID_LOG_FALSE
907: USE_ANDROID_LOG_TRUE
908: USE_ANDROID_DNS_FALSE
909: USE_ANDROID_DNS_TRUE
910: USE_P_CSCF_FALSE
911: USE_P_CSCF_TRUE
912: USE_OSX_ATTR_FALSE
913: USE_OSX_ATTR_TRUE
914: USE_UCI_FALSE
915: USE_UCI_TRUE
916: USE_MEDCLI_FALSE
917: USE_MEDCLI_TRUE
918: USE_MEDSRV_FALSE
919: USE_MEDSRV_TRUE
920: USE_VICI_FALSE
921: USE_VICI_TRUE
922: USE_STROKE_FALSE
923: USE_STROKE_TRUE
924: USE_DRBG_FALSE
925: USE_DRBG_TRUE
926: USE_BLISS_FALSE
927: USE_BLISS_TRUE
928: USE_NEWHOPE_FALSE
929: USE_NEWHOPE_TRUE
930: USE_NTRU_FALSE
931: USE_NTRU_TRUE
932: USE_AF_ALG_FALSE
933: USE_AF_ALG_TRUE
934: USE_GCM_FALSE
935: USE_GCM_TRUE
936: USE_CCM_FALSE
937: USE_CCM_TRUE
938: USE_CTR_FALSE
939: USE_CTR_TRUE
940: USE_CHAPOLY_FALSE
941: USE_CHAPOLY_TRUE
942: USE_TPM_FALSE
943: USE_TPM_TRUE
944: USE_PKCS11_FALSE
945: USE_PKCS11_TRUE
946: USE_KEYCHAIN_FALSE
947: USE_KEYCHAIN_TRUE
948: USE_AGENT_FALSE
949: USE_AGENT_TRUE
950: USE_BOTAN_FALSE
951: USE_BOTAN_TRUE
952: USE_GCRYPT_FALSE
953: USE_GCRYPT_TRUE
954: USE_WOLFSSL_FALSE
955: USE_WOLFSSL_TRUE
956: USE_OPENSSL_FALSE
957: USE_OPENSSL_TRUE
958: USE_PADLOCK_FALSE
959: USE_PADLOCK_TRUE
960: USE_SQLITE_FALSE
961: USE_SQLITE_TRUE
962: USE_MYSQL_FALSE
963: USE_MYSQL_TRUE
964: USE_XCBC_FALSE
965: USE_XCBC_TRUE
966: USE_CMAC_FALSE
967: USE_CMAC_TRUE
968: USE_HMAC_FALSE
969: USE_HMAC_TRUE
970: USE_PEM_FALSE
971: USE_PEM_TRUE
972: USE_SSHKEY_FALSE
973: USE_SSHKEY_TRUE
974: USE_DNSKEY_FALSE
975: USE_DNSKEY_TRUE
976: USE_PGP_FALSE
977: USE_PGP_TRUE
978: USE_PKCS12_FALSE
979: USE_PKCS12_TRUE
980: USE_PKCS8_FALSE
981: USE_PKCS8_TRUE
982: USE_PKCS7_FALSE
983: USE_PKCS7_TRUE
984: USE_PKCS1_FALSE
985: USE_PKCS1_TRUE
986: USE_PUBKEY_FALSE
987: USE_PUBKEY_TRUE
988: USE_ACERT_FALSE
989: USE_ACERT_TRUE
990: USE_CONSTRAINTS_FALSE
991: USE_CONSTRAINTS_TRUE
992: USE_REVOCATION_FALSE
993: USE_REVOCATION_TRUE
994: USE_X509_FALSE
995: USE_X509_TRUE
996: USE_NONCE_FALSE
997: USE_NONCE_TRUE
998: USE_RANDOM_FALSE
999: USE_RANDOM_TRUE
1000: USE_AESNI_FALSE
1001: USE_AESNI_TRUE
1002: USE_RDRAND_FALSE
1003: USE_RDRAND_TRUE
1004: USE_CURVE25519_FALSE
1005: USE_CURVE25519_TRUE
1006: USE_GMP_FALSE
1007: USE_GMP_TRUE
1008: USE_FIPS_PRF_FALSE
1009: USE_FIPS_PRF_TRUE
1010: USE_MGF1_FALSE
1011: USE_MGF1_TRUE
1012: USE_SHA3_FALSE
1013: USE_SHA3_TRUE
1014: USE_SHA2_FALSE
1015: USE_SHA2_TRUE
1016: USE_SHA1_FALSE
1017: USE_SHA1_TRUE
1018: USE_MD5_FALSE
1019: USE_MD5_TRUE
1020: USE_MD4_FALSE
1021: USE_MD4_TRUE
1022: USE_RC2_FALSE
1023: USE_RC2_TRUE
1024: USE_BLOWFISH_FALSE
1025: USE_BLOWFISH_TRUE
1026: USE_DES_FALSE
1027: USE_DES_TRUE
1028: USE_AES_FALSE
1029: USE_AES_TRUE
1030: USE_LDAP_FALSE
1031: USE_LDAP_TRUE
1032: USE_SOUP_FALSE
1033: USE_SOUP_TRUE
1034: USE_UNBOUND_FALSE
1035: USE_UNBOUND_TRUE
1036: USE_WINHTTP_FALSE
1037: USE_WINHTTP_TRUE
1038: USE_FILES_FALSE
1039: USE_FILES_TRUE
1040: USE_CURL_FALSE
1041: USE_CURL_TRUE
1042: USE_TEST_VECTORS_FALSE
1043: USE_TEST_VECTORS_TRUE
1044: t_plugins
1045: s_plugins
1046: p_plugins
1047: c_plugins
1048: aikgen_plugins
1049: cmd_plugins
1050: nm_plugins
1051: medsrv_plugins
1052: manager_plugins
1053: fuzz_plugins
1054: scripts_plugins
1055: pki_plugins
1056: scepclient_plugins
1057: attest_plugins
1058: pool_plugins
1059: starter_plugins
1060: charon_plugins
1061: PERL_CPAN_INSTALL_FALSE
1062: PERL_CPAN_INSTALL_TRUE
1063: PYTHON_EGGS_INSTALL_FALSE
1064: PYTHON_EGGS_INSTALL_TRUE
1065: PY_TEST
1066: TOX
1067: PYTHONEGGINSTALLDIR
1068: EASY_INSTALL
1069: PYTHON_PACKAGE_VERSION
1070: RUBY_GEMS_INSTALL_FALSE
1071: RUBY_GEMS_INSTALL_TRUE
1072: RUBYGEMDIR
1073: GEM
1074: FUZZING_LDFLAGS
1075: FUZZING_CFLAGS
1076: COVERAGE_LDFLAGS
1077: COVERAGE_CFLAGS
1078: GENHTML
1079: LCOV
1080: GPRBUILD
1081: dev_headers
1082: USE_DEV_HEADERS_FALSE
1083: USE_DEV_HEADERS_TRUE
1084: UNWINDLIB
1085: BFDLIB
1086: libiptc_LIBS
1087: libiptc_CFLAGS
1088: nm_LIBS
1089: nm_CFLAGS
1090: pcsclite_LIBS
1091: pcsclite_CFLAGS
1092: botan_LIBS
1093: botan_CFLAGS
1094: wolfssl_LIBS
1095: wolfssl_CFLAGS
1096: OPENSSL_LIB
1097: MYSQLCFLAG
1098: MYSQLCONFIG
1099: MYSQLLIB
1100: clearsilver_LIBS
1101: json_LIBS
1102: json_CFLAGS
1103: tss2_socket_LIBS
1104: tss2_socket_CFLAGS
1105: tss2_tabrmd_LIBS
1106: tss2_tabrmd_CFLAGS
1107: tss2_LIBS
1108: tss2_CFLAGS
1109: tss2_esys_LIBS
1110: tss2_esys_CFLAGS
1111: tss2_sys_LIBS
1112: tss2_sys_CFLAGS
1113: systemd_journal_LIBS
1114: systemd_journal_CFLAGS
1115: systemd_daemon_LIBS
1116: systemd_daemon_CFLAGS
1117: systemd_LIBS
1118: systemd_CFLAGS
1119: xml_LIBS
1120: xml_CFLAGS
1121: soup_LIBS
1122: soup_CFLAGS
1123: USE_X86X64_FALSE
1124: USE_X86X64_TRUE
1125: USE_WINDOWS_FALSE
1126: USE_WINDOWS_TRUE
1127: RTLIB
1128: USE_SYSLOG_FALSE
1129: USE_SYSLOG_TRUE
1130: ATOMICLIB
1131: PTHREADLIB
1132: SOCKLIB
1133: BTLIB
1134: DLLIB
1135: ALLOCA
1136: GPERF_LEN_TYPE
1137: GPERF
1138: PERL
1139: pkgpyexecdir
1140: pyexecdir
1141: pkgpythondir
1142: pythondir
1143: PYTHON_PLATFORM
1144: PYTHON_EXEC_PREFIX
1145: PYTHON_PREFIX
1146: PYTHON_VERSION
1147: PYTHON
1148: YFLAGS
1149: YACC
1150: LEXLIB
1151: LEX_OUTPUT_ROOT
1152: LEX
1153: LT_SYS_LIBRARY_PATH
1154: OTOOL64
1155: OTOOL
1156: LIPO
1157: NMEDIT
1158: DSYMUTIL
1159: MANIFEST_TOOL
1160: RANLIB
1161: ac_ct_AR
1162: AR
1163: DLLTOOL
1164: OBJDUMP
1165: LN_S
1166: NM
1167: ac_ct_DUMPBIN
1168: DUMPBIN
1169: LD
1170: FGREP
1171: LIBTOOL
1172: EGREP
1173: GREP
1174: CPP
1175: host_os
1176: host_vendor
1177: host_cpu
1178: host
1179: build_os
1180: build_vendor
1181: build_cpu
1182: build
1183: am__fastdepCC_FALSE
1184: am__fastdepCC_TRUE
1185: CCDEPMODE
1186: am__nodep
1187: AMDEPBACKSLASH
1188: AMDEP_FALSE
1189: AMDEP_TRUE
1190: am__quote
1191: am__include
1192: DEPDIR
1193: OBJEXT
1194: EXEEXT
1195: ac_ct_CC
1196: CPPFLAGS
1197: LDFLAGS
1198: CFLAGS
1199: CC
1200: PLUGIN_CFLAGS
1201: ipsec_script_upper
1202: charon_natt_port
1203: charon_udp_port
1204: ipsecgroup
1205: ipsecuser
1206: dbuspolicydir
1207: dbusdatadir
1208: systemdsystemunitdir
1209: libfuzzer
1210: fips_mode
1211: ipsec_script
1212: routing_table_prio
1213: routing_table
1214: linux_headers
1215: swanctldir
1216: nm_ca_dir
1217: imcvdir
1218: plugindir
1219: ipseclibdir
1220: ipsecdir
1221: piddir
1222: resolv_conf
1223: strongswan_conf
1224: urandom_device
1225: random_device
1226: PACKAGE_VERSION_REVIEW
1227: PACKAGE_VERSION_BUILD
1228: PACKAGE_VERSION_MINOR
1229: PACKAGE_VERSION_MAJOR
1230: SED
1231: PKG_CONFIG_LIBDIR
1232: PKG_CONFIG_PATH
1233: PKG_CONFIG
1234: AM_BACKSLASH
1235: AM_DEFAULT_VERBOSITY
1236: AM_DEFAULT_V
1237: AM_V
1238: am__untar
1239: am__tar
1240: AMTAR
1241: am__leading_dot
1242: SET_MAKE
1243: AWK
1244: mkdir_p
1245: MKDIR_P
1246: INSTALL_STRIP_PROGRAM
1247: STRIP
1248: install_sh
1249: MAKEINFO
1250: AUTOHEADER
1251: AUTOMAKE
1252: AUTOCONF
1253: ACLOCAL
1254: VERSION
1255: PACKAGE
1256: CYGPATH_W
1257: am__isrc
1258: INSTALL_DATA
1259: INSTALL_SCRIPT
1260: INSTALL_PROGRAM
1261: target_alias
1262: host_alias
1263: build_alias
1264: LIBS
1265: ECHO_T
1266: ECHO_N
1267: ECHO_C
1268: DEFS
1269: mandir
1270: localedir
1271: libdir
1272: psdir
1273: pdfdir
1274: dvidir
1275: htmldir
1276: infodir
1277: docdir
1278: oldincludedir
1279: includedir
1280: runstatedir
1281: localstatedir
1282: sharedstatedir
1283: sysconfdir
1284: datadir
1285: datarootdir
1286: libexecdir
1287: sbindir
1288: bindir
1289: program_transform_name
1290: prefix
1291: exec_prefix
1292: PACKAGE_URL
1293: PACKAGE_BUGREPORT
1294: PACKAGE_STRING
1295: PACKAGE_VERSION
1296: PACKAGE_TARNAME
1297: PACKAGE_NAME
1298: PATH_SEPARATOR
1299: SHELL'
1300: ac_subst_files=''
1301: ac_user_opts='
1302: enable_option_checking
1303: enable_silent_rules
1304: enable_static
1305: with_random_device
1306: with_urandom_device
1307: with_strongswan_conf
1308: with_resolv_conf
1309: with_piddir
1310: with_ipsecdir
1311: with_ipseclibdir
1312: with_plugindir
1313: with_imcvdir
1314: with_nm_ca_dir
1315: with_swanctldir
1316: with_linux_headers
1317: with_routing_table
1318: with_routing_table_prio
1319: with_ipsec_script
1320: with_fips_mode
1321: with_libfuzzer
1322: with_capabilities
1323: with_mpz_powm_sec
1324: with_dev_headers
1325: with_printf_hooks
1326: with_rubygemdir
1327: with_pythoneggdir
1328: with_systemdsystemunitdir
1329: with_dbuspolicydir
1330: with_user
1331: with_group
1332: with_charon_udp_port
1333: with_charon_natt_port
1334: enable_aes
1335: enable_af_alg
1336: enable_bliss
1337: enable_blowfish
1338: enable_botan
1339: enable_ccm
1340: enable_chapoly
1341: enable_cmac
1342: enable_ctr
1343: enable_des
1344: enable_drbg
1345: enable_fips_prf
1346: enable_gcm
1347: enable_gcrypt
1348: enable_gmp
1349: enable_curve25519
1350: enable_hmac
1351: enable_md4
1352: enable_md5
1353: enable_mgf1
1354: enable_newhope
1355: enable_nonce
1356: enable_ntru
1357: enable_openssl
1358: enable_wolfssl
1359: enable_padlock
1360: enable_random
1361: enable_rc2
1362: enable_rdrand
1363: enable_aesni
1364: enable_sha1
1365: enable_sha2
1366: enable_sha3
1367: enable_xcbc
1368: enable_dnskey
1369: enable_pem
1370: enable_pgp
1371: enable_pkcs1
1372: enable_pkcs7
1373: enable_pkcs8
1374: enable_pkcs12
1375: enable_pubkey
1376: enable_sshkey
1377: enable_x509
1378: enable_curl
1379: enable_files
1380: enable_ldap
1381: enable_soup
1382: enable_unbound
1383: enable_winhttp
1384: enable_mysql
1385: enable_sqlite
1386: enable_addrblock
1387: enable_acert
1388: enable_agent
1389: enable_constraints
1390: enable_coupling
1391: enable_dnscert
1392: enable_eap_sim
1393: enable_eap_sim_file
1394: enable_eap_sim_pcsc
1395: enable_eap_aka
1396: enable_eap_aka_3gpp
1397: enable_eap_aka_3gpp2
1398: enable_eap_simaka_sql
1399: enable_eap_simaka_pseudonym
1400: enable_eap_simaka_reauth
1401: enable_eap_identity
1402: enable_eap_md5
1403: enable_eap_gtc
1404: enable_eap_mschapv2
1405: enable_eap_tls
1406: enable_eap_ttls
1407: enable_eap_peap
1408: enable_eap_tnc
1409: enable_eap_dynamic
1410: enable_eap_radius
1411: enable_ext_auth
1412: enable_ipseckey
1413: enable_keychain
1414: enable_pkcs11
1415: enable_tpm
1416: enable_revocation
1417: enable_whitelist
1418: enable_xauth_generic
1419: enable_xauth_eap
1420: enable_xauth_pam
1421: enable_xauth_noauth
1422: enable_kernel_netlink
1423: enable_kernel_pfkey
1424: enable_kernel_pfroute
1425: enable_kernel_iph
1426: enable_kernel_libipsec
1427: enable_kernel_wfp
1428: enable_socket_default
1429: enable_socket_dynamic
1430: enable_socket_win
1431: enable_stroke
1432: enable_smp
1433: enable_sql
1434: enable_uci
1435: enable_vici
1436: enable_android_dns
1437: enable_attr
1438: enable_attr_sql
1439: enable_dhcp
1440: enable_osx_attr
1441: enable_p_cscf
1442: enable_resolve
1443: enable_unity
1444: enable_imc_test
1445: enable_imv_test
1446: enable_imc_scanner
1447: enable_imv_scanner
1448: enable_imc_os
1449: enable_imv_os
1450: enable_imc_attestation
1451: enable_imv_attestation
1452: enable_imc_swima
1453: enable_imv_swima
1454: enable_imc_hcd
1455: enable_imv_hcd
1456: enable_tnc_ifmap
1457: enable_tnc_imc
1458: enable_tnc_imv
1459: enable_tnc_pdp
1460: enable_tnccs_11
1461: enable_tnccs_20
1462: enable_tnccs_dynamic
1463: enable_android_log
1464: enable_bypass_lan
1465: enable_certexpire
1466: enable_connmark
1467: enable_counters
1468: enable_forecast
1469: enable_duplicheck
1470: enable_error_notify
1471: enable_farp
1472: enable_ha
1473: enable_led
1474: enable_load_tester
1475: enable_lookip
1476: enable_radattr
1477: enable_save_keys
1478: enable_systime_fix
1479: enable_test_vectors
1480: enable_updown
1481: enable_aikgen
1482: enable_charon
1483: enable_cmd
1484: enable_conftest
1485: enable_fast
1486: enable_fuzzing
1487: enable_libipsec
1488: enable_manager
1489: enable_medcli
1490: enable_medsrv
1491: enable_nm
1492: enable_pki
1493: enable_scepclient
1494: enable_scripts
1495: enable_svc
1496: enable_systemd
1497: enable_swanctl
1498: enable_tkm
1499: enable_bfd_backtraces
1500: enable_dbghelp_backtraces
1501: enable_ikev1
1502: enable_ikev2
1503: enable_integrity_test
1504: enable_load_warning
1505: enable_mediation
1506: enable_unwind_backtraces
1507: enable_ruby_gems
1508: enable_ruby_gems_install
1509: enable_python_eggs
1510: enable_python_eggs_install
1511: enable_perl_cpan
1512: enable_perl_cpan_install
1513: enable_tss_trousers
1514: enable_tss_tss2
1515: enable_coverage
1516: enable_leak_detective
1517: enable_lock_profiler
1518: enable_log_thread_ids
1519: enable_monolithic
1520: enable_defaults
1521: enable_all
1522: enable_dependency_tracking
1523: with_lib_prefix
1524: enable_shared
1525: with_pic
1526: enable_fast_install
1527: with_aix_soname
1528: with_gnu_ld
1529: with_sysroot
1530: enable_libtool_lock
1531: '
1532: ac_precious_vars='build_alias
1533: host_alias
1534: target_alias
1535: PKG_CONFIG
1536: PKG_CONFIG_PATH
1537: PKG_CONFIG_LIBDIR
1538: dbusdatadir
1539: CC
1540: CFLAGS
1541: LDFLAGS
1542: LIBS
1543: CPPFLAGS
1544: CPP
1545: LT_SYS_LIBRARY_PATH
1546: YACC
1547: YFLAGS
1548: PYTHON
1549: PERL
1550: GPERF
1551: soup_CFLAGS
1552: soup_LIBS
1553: xml_CFLAGS
1554: xml_LIBS
1555: systemd_CFLAGS
1556: systemd_LIBS
1557: systemd_daemon_CFLAGS
1558: systemd_daemon_LIBS
1559: systemd_journal_CFLAGS
1560: systemd_journal_LIBS
1561: tss2_sys_CFLAGS
1562: tss2_sys_LIBS
1563: tss2_esys_CFLAGS
1564: tss2_esys_LIBS
1565: tss2_tabrmd_CFLAGS
1566: tss2_tabrmd_LIBS
1567: tss2_socket_CFLAGS
1568: tss2_socket_LIBS
1569: json_CFLAGS
1570: json_LIBS
1571: wolfssl_CFLAGS
1572: wolfssl_LIBS
1573: botan_CFLAGS
1574: botan_LIBS
1575: pcsclite_CFLAGS
1576: pcsclite_LIBS
1577: nm_CFLAGS
1578: nm_LIBS
1579: libiptc_CFLAGS
1580: libiptc_LIBS'
1581:
1582:
1583: # Initialize some variables set by options.
1584: ac_init_help=
1585: ac_init_version=false
1586: ac_unrecognized_opts=
1587: ac_unrecognized_sep=
1588: # The variables have the same names as the options, with
1589: # dashes changed to underlines.
1590: cache_file=/dev/null
1591: exec_prefix=NONE
1592: no_create=
1593: no_recursion=
1594: prefix=NONE
1595: program_prefix=NONE
1596: program_suffix=NONE
1597: program_transform_name=s,x,x,
1598: silent=
1599: site=
1600: srcdir=
1601: verbose=
1602: x_includes=NONE
1603: x_libraries=NONE
1604:
1605: # Installation directory options.
1606: # These are left unexpanded so users can "make install exec_prefix=/foo"
1607: # and all the variables that are supposed to be based on exec_prefix
1608: # by default will actually change.
1609: # Use braces instead of parens because sh, perl, etc. also accept them.
1610: # (The list follows the same order as the GNU Coding Standards.)
1611: bindir='${exec_prefix}/bin'
1612: sbindir='${exec_prefix}/sbin'
1613: libexecdir='${exec_prefix}/libexec'
1614: datarootdir='${prefix}/share'
1615: datadir='${datarootdir}'
1616: sysconfdir='${prefix}/etc'
1617: sharedstatedir='${prefix}/com'
1618: localstatedir='${prefix}/var'
1619: runstatedir='${localstatedir}/run'
1620: includedir='${prefix}/include'
1621: oldincludedir='/usr/include'
1622: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1623: infodir='${datarootdir}/info'
1624: htmldir='${docdir}'
1625: dvidir='${docdir}'
1626: pdfdir='${docdir}'
1627: psdir='${docdir}'
1628: libdir='${exec_prefix}/lib'
1629: localedir='${datarootdir}/locale'
1630: mandir='${datarootdir}/man'
1631:
1632: ac_prev=
1633: ac_dashdash=
1634: for ac_option
1635: do
1636: # If the previous option needs an argument, assign it.
1637: if test -n "$ac_prev"; then
1638: eval $ac_prev=\$ac_option
1639: ac_prev=
1640: continue
1641: fi
1642:
1643: case $ac_option in
1644: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1645: *=) ac_optarg= ;;
1646: *) ac_optarg=yes ;;
1647: esac
1648:
1649: # Accept the important Cygnus configure options, so we can diagnose typos.
1650:
1651: case $ac_dashdash$ac_option in
1652: --)
1653: ac_dashdash=yes ;;
1654:
1655: -bindir | --bindir | --bindi | --bind | --bin | --bi)
1656: ac_prev=bindir ;;
1657: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1658: bindir=$ac_optarg ;;
1659:
1660: -build | --build | --buil | --bui | --bu)
1661: ac_prev=build_alias ;;
1662: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1663: build_alias=$ac_optarg ;;
1664:
1665: -cache-file | --cache-file | --cache-fil | --cache-fi \
1666: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1667: ac_prev=cache_file ;;
1668: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1669: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1670: cache_file=$ac_optarg ;;
1671:
1672: --config-cache | -C)
1673: cache_file=config.cache ;;
1674:
1675: -datadir | --datadir | --datadi | --datad)
1676: ac_prev=datadir ;;
1677: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1678: datadir=$ac_optarg ;;
1679:
1680: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1681: | --dataroo | --dataro | --datar)
1682: ac_prev=datarootdir ;;
1683: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1684: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1685: datarootdir=$ac_optarg ;;
1686:
1687: -disable-* | --disable-*)
1688: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1689: # Reject names that are not valid shell variable names.
1690: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1691: as_fn_error $? "invalid feature name: $ac_useropt"
1692: ac_useropt_orig=$ac_useropt
1693: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1694: case $ac_user_opts in
1695: *"
1696: "enable_$ac_useropt"
1697: "*) ;;
1698: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1699: ac_unrecognized_sep=', ';;
1700: esac
1701: eval enable_$ac_useropt=no ;;
1702:
1703: -docdir | --docdir | --docdi | --doc | --do)
1704: ac_prev=docdir ;;
1705: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1706: docdir=$ac_optarg ;;
1707:
1708: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1709: ac_prev=dvidir ;;
1710: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1711: dvidir=$ac_optarg ;;
1712:
1713: -enable-* | --enable-*)
1714: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1715: # Reject names that are not valid shell variable names.
1716: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1717: as_fn_error $? "invalid feature name: $ac_useropt"
1718: ac_useropt_orig=$ac_useropt
1719: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1720: case $ac_user_opts in
1721: *"
1722: "enable_$ac_useropt"
1723: "*) ;;
1724: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1725: ac_unrecognized_sep=', ';;
1726: esac
1727: eval enable_$ac_useropt=\$ac_optarg ;;
1728:
1729: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1730: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1731: | --exec | --exe | --ex)
1732: ac_prev=exec_prefix ;;
1733: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1734: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1735: | --exec=* | --exe=* | --ex=*)
1736: exec_prefix=$ac_optarg ;;
1737:
1738: -gas | --gas | --ga | --g)
1739: # Obsolete; use --with-gas.
1740: with_gas=yes ;;
1741:
1742: -help | --help | --hel | --he | -h)
1743: ac_init_help=long ;;
1744: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1745: ac_init_help=recursive ;;
1746: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1747: ac_init_help=short ;;
1748:
1749: -host | --host | --hos | --ho)
1750: ac_prev=host_alias ;;
1751: -host=* | --host=* | --hos=* | --ho=*)
1752: host_alias=$ac_optarg ;;
1753:
1754: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1755: ac_prev=htmldir ;;
1756: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1757: | --ht=*)
1758: htmldir=$ac_optarg ;;
1759:
1760: -includedir | --includedir | --includedi | --included | --include \
1761: | --includ | --inclu | --incl | --inc)
1762: ac_prev=includedir ;;
1763: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1764: | --includ=* | --inclu=* | --incl=* | --inc=*)
1765: includedir=$ac_optarg ;;
1766:
1767: -infodir | --infodir | --infodi | --infod | --info | --inf)
1768: ac_prev=infodir ;;
1769: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1770: infodir=$ac_optarg ;;
1771:
1772: -libdir | --libdir | --libdi | --libd)
1773: ac_prev=libdir ;;
1774: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1775: libdir=$ac_optarg ;;
1776:
1777: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1778: | --libexe | --libex | --libe)
1779: ac_prev=libexecdir ;;
1780: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1781: | --libexe=* | --libex=* | --libe=*)
1782: libexecdir=$ac_optarg ;;
1783:
1784: -localedir | --localedir | --localedi | --localed | --locale)
1785: ac_prev=localedir ;;
1786: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1787: localedir=$ac_optarg ;;
1788:
1789: -localstatedir | --localstatedir | --localstatedi | --localstated \
1790: | --localstate | --localstat | --localsta | --localst | --locals)
1791: ac_prev=localstatedir ;;
1792: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1793: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1794: localstatedir=$ac_optarg ;;
1795:
1796: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1797: ac_prev=mandir ;;
1798: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1799: mandir=$ac_optarg ;;
1800:
1801: -nfp | --nfp | --nf)
1802: # Obsolete; use --without-fp.
1803: with_fp=no ;;
1804:
1805: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1806: | --no-cr | --no-c | -n)
1807: no_create=yes ;;
1808:
1809: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1810: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1811: no_recursion=yes ;;
1812:
1813: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1814: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1815: | --oldin | --oldi | --old | --ol | --o)
1816: ac_prev=oldincludedir ;;
1817: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1818: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1819: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1820: oldincludedir=$ac_optarg ;;
1821:
1822: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1823: ac_prev=prefix ;;
1824: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1825: prefix=$ac_optarg ;;
1826:
1827: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1828: | --program-pre | --program-pr | --program-p)
1829: ac_prev=program_prefix ;;
1830: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1831: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1832: program_prefix=$ac_optarg ;;
1833:
1834: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1835: | --program-suf | --program-su | --program-s)
1836: ac_prev=program_suffix ;;
1837: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1838: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1839: program_suffix=$ac_optarg ;;
1840:
1841: -program-transform-name | --program-transform-name \
1842: | --program-transform-nam | --program-transform-na \
1843: | --program-transform-n | --program-transform- \
1844: | --program-transform | --program-transfor \
1845: | --program-transfo | --program-transf \
1846: | --program-trans | --program-tran \
1847: | --progr-tra | --program-tr | --program-t)
1848: ac_prev=program_transform_name ;;
1849: -program-transform-name=* | --program-transform-name=* \
1850: | --program-transform-nam=* | --program-transform-na=* \
1851: | --program-transform-n=* | --program-transform-=* \
1852: | --program-transform=* | --program-transfor=* \
1853: | --program-transfo=* | --program-transf=* \
1854: | --program-trans=* | --program-tran=* \
1855: | --progr-tra=* | --program-tr=* | --program-t=*)
1856: program_transform_name=$ac_optarg ;;
1857:
1858: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1859: ac_prev=pdfdir ;;
1860: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1861: pdfdir=$ac_optarg ;;
1862:
1863: -psdir | --psdir | --psdi | --psd | --ps)
1864: ac_prev=psdir ;;
1865: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1866: psdir=$ac_optarg ;;
1867:
1868: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1869: | -silent | --silent | --silen | --sile | --sil)
1870: silent=yes ;;
1871:
1872: -runstatedir | --runstatedir | --runstatedi | --runstated \
1873: | --runstate | --runstat | --runsta | --runst | --runs \
1874: | --run | --ru | --r)
1875: ac_prev=runstatedir ;;
1876: -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1877: | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1878: | --run=* | --ru=* | --r=*)
1879: runstatedir=$ac_optarg ;;
1880:
1881: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1882: ac_prev=sbindir ;;
1883: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1884: | --sbi=* | --sb=*)
1885: sbindir=$ac_optarg ;;
1886:
1887: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1888: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1889: | --sharedst | --shareds | --shared | --share | --shar \
1890: | --sha | --sh)
1891: ac_prev=sharedstatedir ;;
1892: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1893: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1894: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1895: | --sha=* | --sh=*)
1896: sharedstatedir=$ac_optarg ;;
1897:
1898: -site | --site | --sit)
1899: ac_prev=site ;;
1900: -site=* | --site=* | --sit=*)
1901: site=$ac_optarg ;;
1902:
1903: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1904: ac_prev=srcdir ;;
1905: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1906: srcdir=$ac_optarg ;;
1907:
1908: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1909: | --syscon | --sysco | --sysc | --sys | --sy)
1910: ac_prev=sysconfdir ;;
1911: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1912: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1913: sysconfdir=$ac_optarg ;;
1914:
1915: -target | --target | --targe | --targ | --tar | --ta | --t)
1916: ac_prev=target_alias ;;
1917: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1918: target_alias=$ac_optarg ;;
1919:
1920: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1921: verbose=yes ;;
1922:
1923: -version | --version | --versio | --versi | --vers | -V)
1924: ac_init_version=: ;;
1925:
1926: -with-* | --with-*)
1927: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1928: # Reject names that are not valid shell variable names.
1929: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1930: as_fn_error $? "invalid package name: $ac_useropt"
1931: ac_useropt_orig=$ac_useropt
1932: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1933: case $ac_user_opts in
1934: *"
1935: "with_$ac_useropt"
1936: "*) ;;
1937: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1938: ac_unrecognized_sep=', ';;
1939: esac
1940: eval with_$ac_useropt=\$ac_optarg ;;
1941:
1942: -without-* | --without-*)
1943: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1944: # Reject names that are not valid shell variable names.
1945: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1946: as_fn_error $? "invalid package name: $ac_useropt"
1947: ac_useropt_orig=$ac_useropt
1948: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1949: case $ac_user_opts in
1950: *"
1951: "with_$ac_useropt"
1952: "*) ;;
1953: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1954: ac_unrecognized_sep=', ';;
1955: esac
1956: eval with_$ac_useropt=no ;;
1957:
1958: --x)
1959: # Obsolete; use --with-x.
1960: with_x=yes ;;
1961:
1962: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1963: | --x-incl | --x-inc | --x-in | --x-i)
1964: ac_prev=x_includes ;;
1965: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1966: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1967: x_includes=$ac_optarg ;;
1968:
1969: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1970: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1971: ac_prev=x_libraries ;;
1972: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1973: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1974: x_libraries=$ac_optarg ;;
1975:
1976: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1977: Try \`$0 --help' for more information"
1978: ;;
1979:
1980: *=*)
1981: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1982: # Reject names that are not valid shell variable names.
1983: case $ac_envvar in #(
1984: '' | [0-9]* | *[!_$as_cr_alnum]* )
1985: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1986: esac
1987: eval $ac_envvar=\$ac_optarg
1988: export $ac_envvar ;;
1989:
1990: *)
1991: # FIXME: should be removed in autoconf 3.0.
1992: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1993: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1994: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1995: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1996: ;;
1997:
1998: esac
1999: done
2000:
2001: if test -n "$ac_prev"; then
2002: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2003: as_fn_error $? "missing argument to $ac_option"
2004: fi
2005:
2006: if test -n "$ac_unrecognized_opts"; then
2007: case $enable_option_checking in
2008: no) ;;
2009: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2010: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2011: esac
2012: fi
2013:
2014: # Check all directory arguments for consistency.
2015: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2016: datadir sysconfdir sharedstatedir localstatedir includedir \
2017: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2018: libdir localedir mandir runstatedir
2019: do
2020: eval ac_val=\$$ac_var
2021: # Remove trailing slashes.
2022: case $ac_val in
2023: */ )
2024: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2025: eval $ac_var=\$ac_val;;
2026: esac
2027: # Be sure to have absolute directory names.
2028: case $ac_val in
2029: [\\/$]* | ?:[\\/]* ) continue;;
2030: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2031: esac
2032: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2033: done
2034:
2035: # There might be people who depend on the old broken behavior: `$host'
2036: # used to hold the argument of --host etc.
2037: # FIXME: To remove some day.
2038: build=$build_alias
2039: host=$host_alias
2040: target=$target_alias
2041:
2042: # FIXME: To remove some day.
2043: if test "x$host_alias" != x; then
2044: if test "x$build_alias" = x; then
2045: cross_compiling=maybe
2046: elif test "x$build_alias" != "x$host_alias"; then
2047: cross_compiling=yes
2048: fi
2049: fi
2050:
2051: ac_tool_prefix=
2052: test -n "$host_alias" && ac_tool_prefix=$host_alias-
2053:
2054: test "$silent" = yes && exec 6>/dev/null
2055:
2056:
2057: ac_pwd=`pwd` && test -n "$ac_pwd" &&
2058: ac_ls_di=`ls -di .` &&
2059: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2060: as_fn_error $? "working directory cannot be determined"
2061: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2062: as_fn_error $? "pwd does not report name of working directory"
2063:
2064:
2065: # Find the source files, if location was not specified.
2066: if test -z "$srcdir"; then
2067: ac_srcdir_defaulted=yes
2068: # Try the directory containing this script, then the parent directory.
2069: ac_confdir=`$as_dirname -- "$as_myself" ||
2070: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2071: X"$as_myself" : 'X\(//\)[^/]' \| \
2072: X"$as_myself" : 'X\(//\)$' \| \
2073: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2074: $as_echo X"$as_myself" |
2075: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2076: s//\1/
2077: q
2078: }
2079: /^X\(\/\/\)[^/].*/{
2080: s//\1/
2081: q
2082: }
2083: /^X\(\/\/\)$/{
2084: s//\1/
2085: q
2086: }
2087: /^X\(\/\).*/{
2088: s//\1/
2089: q
2090: }
2091: s/.*/./; q'`
2092: srcdir=$ac_confdir
2093: if test ! -r "$srcdir/$ac_unique_file"; then
2094: srcdir=..
2095: fi
2096: else
2097: ac_srcdir_defaulted=no
2098: fi
2099: if test ! -r "$srcdir/$ac_unique_file"; then
2100: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2101: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2102: fi
2103: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2104: ac_abs_confdir=`(
2105: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2106: pwd)`
2107: # When building in place, set srcdir=.
2108: if test "$ac_abs_confdir" = "$ac_pwd"; then
2109: srcdir=.
2110: fi
2111: # Remove unnecessary trailing slashes from srcdir.
2112: # Double slashes in file names in object file debugging info
2113: # mess up M-x gdb in Emacs.
2114: case $srcdir in
2115: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2116: esac
2117: for ac_var in $ac_precious_vars; do
2118: eval ac_env_${ac_var}_set=\${${ac_var}+set}
2119: eval ac_env_${ac_var}_value=\$${ac_var}
2120: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2121: eval ac_cv_env_${ac_var}_value=\$${ac_var}
2122: done
2123:
2124: #
2125: # Report the --help message.
2126: #
2127: if test "$ac_init_help" = "long"; then
2128: # Omit some internal or obsolete options to make the list less imposing.
2129: # This message is too long to be a string in the A/UX 3.1 sh.
2130: cat <<_ACEOF
2131: \`configure' configures strongSwan 5.8.4 to adapt to many kinds of systems.
2132:
2133: Usage: $0 [OPTION]... [VAR=VALUE]...
2134:
2135: To assign environment variables (e.g., CC, CFLAGS...), specify them as
2136: VAR=VALUE. See below for descriptions of some of the useful variables.
2137:
2138: Defaults for the options are specified in brackets.
2139:
2140: Configuration:
2141: -h, --help display this help and exit
2142: --help=short display options specific to this package
2143: --help=recursive display the short help of all the included packages
2144: -V, --version display version information and exit
2145: -q, --quiet, --silent do not print \`checking ...' messages
2146: --cache-file=FILE cache test results in FILE [disabled]
2147: -C, --config-cache alias for \`--cache-file=config.cache'
2148: -n, --no-create do not create output files
2149: --srcdir=DIR find the sources in DIR [configure dir or \`..']
2150:
2151: Installation directories:
2152: --prefix=PREFIX install architecture-independent files in PREFIX
2153: [$ac_default_prefix]
2154: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2155: [PREFIX]
2156:
2157: By default, \`make install' will install all the files in
2158: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2159: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2160: for instance \`--prefix=\$HOME'.
2161:
2162: For better control, use the options below.
2163:
2164: Fine tuning of the installation directories:
2165: --bindir=DIR user executables [EPREFIX/bin]
2166: --sbindir=DIR system admin executables [EPREFIX/sbin]
2167: --libexecdir=DIR program executables [EPREFIX/libexec]
2168: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2169: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2170: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2171: --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2172: --libdir=DIR object code libraries [EPREFIX/lib]
2173: --includedir=DIR C header files [PREFIX/include]
2174: --oldincludedir=DIR C header files for non-gcc [/usr/include]
2175: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2176: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2177: --infodir=DIR info documentation [DATAROOTDIR/info]
2178: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2179: --mandir=DIR man documentation [DATAROOTDIR/man]
2180: --docdir=DIR documentation root [DATAROOTDIR/doc/strongswan]
2181: --htmldir=DIR html documentation [DOCDIR]
2182: --dvidir=DIR dvi documentation [DOCDIR]
2183: --pdfdir=DIR pdf documentation [DOCDIR]
2184: --psdir=DIR ps documentation [DOCDIR]
2185: _ACEOF
2186:
2187: cat <<\_ACEOF
2188:
2189: Program names:
2190: --program-prefix=PREFIX prepend PREFIX to installed program names
2191: --program-suffix=SUFFIX append SUFFIX to installed program names
2192: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2193:
2194: System types:
2195: --build=BUILD configure for building on BUILD [guessed]
2196: --host=HOST cross-compile to build programs to run on HOST [BUILD]
2197: _ACEOF
2198: fi
2199:
2200: if test -n "$ac_init_help"; then
2201: case $ac_init_help in
2202: short | recursive ) echo "Configuration of strongSwan 5.8.4:";;
2203: esac
2204: cat <<\_ACEOF
2205:
2206: Optional Features:
2207: --disable-option-checking ignore unrecognized --enable/--with options
2208: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2209: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2210: --enable-silent-rules less verbose build output (undo: "make V=1")
2211: --disable-silent-rules verbose build output (undo: "make V=0")
2212: --enable-static[=PKGS] build static libraries [default=no]
2213: --disable-aes disable AES software implementation plugin.
2214: --enable-af-alg enable AF_ALG crypto interface to Linux Crypto API.
2215: --enable-bliss enable BLISS software implementation plugin.
2216: --enable-blowfish enable Blowfish software implementation plugin.
2217: --enable-botan enables the Botan crypto plugin.
2218: --enable-ccm enables the CCM AEAD wrapper crypto plugin.
2219: --enable-chapoly enables the ChaCha20/Poly1305 AEAD plugin.
2220: --disable-cmac disable CMAC crypto implementation plugin.
2221: --enable-ctr enables the Counter Mode wrapper crypto plugin.
2222: --disable-des disable DES/3DES software implementation plugin.
2223: --disable-drbg disable the NIST Deterministic Random Bit Generator
2224: plugin.
2225: --disable-fips-prf disable FIPS PRF software implementation plugin.
2226: --enable-gcm enables the GCM AEAD wrapper crypto plugin.
2227: --enable-gcrypt enables the libgcrypt plugin.
2228: --disable-gmp disable GNU MP (libgmp) based crypto implementation
2229: plugin.
2230: --disable-curve25519 disable Curve25519 Diffie-Hellman plugin.
2231: --disable-hmac disable HMAC crypto implementation plugin.
2232: --enable-md4 enable MD4 software implementation plugin.
2233: --disable-md5 disable MD5 software implementation plugin.
2234: --enable-mgf1 enable the MGF1 software implementation plugin.
2235: --enable-newhope enable New Hope crypto plugin.
2236: --disable-nonce disable nonce generation plugin.
2237: --enable-ntru enables the NTRU crypto plugin.
2238: --enable-openssl enables the OpenSSL crypto plugin.
2239: --enable-wolfssl enables the wolfSSL crypto plugin.
2240: --enable-padlock enables VIA Padlock crypto plugin.
2241: --disable-random disable RNG implementation on top of /dev/(u)random.
2242: --disable-rc2 disable RC2 software implementation plugin.
2243: --enable-rdrand enable Intel RDRAND random generator plugin.
2244: --enable-aesni enable Intel AES-NI crypto plugin.
2245: --disable-sha1 disable SHA1 software implementation plugin.
2246: --disable-sha2 disable SHA256/SHA384/SHA512 software implementation
2247: plugin.
2248: --enable-sha3 enable SHA3_224/SHA3_256/SHA3_384/SHA3_512 software
2249: implementation plugin.
2250: --disable-xcbc disable xcbc crypto implementation plugin.
2251: --disable-dnskey disable DNS RR key decoding plugin.
2252: --disable-pem disable PEM decoding plugin.
2253: --disable-pgp disable PGP key decoding plugin.
2254: --disable-pkcs1 disable PKCS1 key decoding plugin.
2255: --disable-pkcs7 disable PKCS7 container support plugin.
2256: --disable-pkcs8 disable PKCS8 private key decoding plugin.
2257: --disable-pkcs12 disable PKCS12 container support plugin.
2258: --disable-pubkey disable RAW public key support plugin.
2259: --disable-sshkey disable SSH key decoding plugin.
2260: --disable-x509 disable X509 certificate implementation plugin.
2261: --enable-curl enable CURL fetcher plugin to fetch files via
2262: libcurl. Requires libcurl.
2263: --enable-files enable simple file:// URI fetcher.
2264: --enable-ldap enable LDAP fetching plugin to fetch files via
2265: libldap. Requires openLDAP.
2266: --enable-soup enable soup fetcher plugin to fetch from HTTP via
2267: libsoup. Requires libsoup.
2268: --enable-unbound enable UNBOUND resolver plugin to perform DNS
2269: queries via libunbound. Requires libldns and
2270: libunbound.
2271: --enable-winhttp enable WinHTTP based HTTP/HTTPS fetching plugin.
2272: --enable-mysql enable MySQL database support. Requires
2273: libmysqlclient_r.
2274: --enable-sqlite enable SQLite database support. Requires libsqlite3.
2275: --enable-addrblock enables RFC 3779 address block constraint support.
2276: --enable-acert enable X509 attribute certificate checking plugin.
2277: --enable-agent enables the ssh-agent signing plugin.
2278: --disable-constraints disable advanced X509 constraint checking plugin.
2279: --enable-coupling enable IKEv2 plugin to couple peer certificates
2280: permanently to authentication.
2281: --enable-dnscert enable DNSCERT authentication plugin.
2282: --enable-eap-sim enable SIM authentication module for EAP.
2283: --enable-eap-sim-file enable EAP-SIM backend based on a triplet file.
2284: --enable-eap-sim-pcsc enable EAP-SIM backend based on a smartcard reader.
2285: Requires libpcsclite.
2286: --enable-eap-aka enable EAP AKA authentication module.
2287: --enable-eap-aka-3gpp enable EAP AKA backend implementing 3GPP MILENAGE
2288: algorithms in software.
2289: --enable-eap-aka-3gpp2 enable EAP AKA backend implementing 3GPP2 algorithms
2290: in software. Requires libgmp.
2291: --enable-eap-simaka-sql enable EAP-SIM/AKA backend based on a
2292: triplet/quintuplet SQL database.
2293: --enable-eap-simaka-pseudonym
2294: enable EAP-SIM/AKA pseudonym storage plugin.
2295: --enable-eap-simaka-reauth
2296: enable EAP-SIM/AKA reauthentication data storage
2297: plugin.
2298: --enable-eap-identity enable EAP module providing EAP-Identity helper.
2299: --enable-eap-md5 enable EAP MD5 (CHAP) authentication module.
2300: --enable-eap-gtc enable EAP GTC authentication module.
2301: --enable-eap-mschapv2 enable EAP MS-CHAPv2 authentication module.
2302: --enable-eap-tls enable EAP TLS authentication module.
2303: --enable-eap-ttls enable EAP TTLS authentication module.
2304: --enable-eap-peap enable EAP PEAP authentication module.
2305: --enable-eap-tnc enable EAP TNC trusted network connect module.
2306: --enable-eap-dynamic enable dynamic EAP proxy module.
2307: --enable-eap-radius enable RADIUS proxy authentication module.
2308: --enable-ext-auth enable plugin calling an external authorization
2309: script.
2310: --enable-ipseckey enable IPSECKEY authentication plugin.
2311: --enable-keychain enables OS X Keychain Services credential set.
2312: --enable-pkcs11 enables the PKCS11 token support plugin.
2313: --enable-tpm enables the TPM plugin.
2314: --disable-revocation disable X509 CRL/OCSP revocation check plugin.
2315: --enable-whitelist enable peer identity whitelisting plugin.
2316: --disable-xauth-generic disable generic XAuth backend.
2317: --enable-xauth-eap enable XAuth backend using EAP methods to verify
2318: passwords.
2319: --enable-xauth-pam enable XAuth backend using PAM to verify passwords.
2320: --enable-xauth-noauth enable XAuth pseudo-backend that does not actually
2321: verify or even request any credentials.
2322: --disable-kernel-netlink
2323: disable the netlink kernel interface.
2324: --enable-kernel-pfkey enable the PF_KEY kernel interface.
2325: --enable-kernel-pfroute enable the PF_ROUTE kernel interface.
2326: --enable-kernel-iph enable the Windows IP Helper based networking
2327: backend.
2328: --enable-kernel-libipsec
2329: enable the libipsec kernel interface.
2330: --enable-kernel-wfp enable the Windows Filtering Platform IPsec backend.
2331: --disable-socket-default
2332: disable default socket implementation for charon.
2333: --enable-socket-dynamic enable dynamic socket implementation for charon
2334: --enable-socket-win enable Winsock2 based socket implementation for
2335: charon
2336: --disable-stroke disable charons stroke configuration backend.
2337: --enable-smp enable SMP configuration and control interface.
2338: Requires libxml.
2339: --enable-sql enable SQL database configuration backend.
2340: --enable-uci enable OpenWRT UCI configuration plugin.
2341: --disable-vici disable strongSwan IKE generic IPC interface plugin.
2342: --enable-android-dns enable Android specific DNS handler.
2343: --disable-attr disable strongswan.conf based configuration
2344: attribute plugin.
2345: --enable-attr-sql enable SQL based configuration attribute plugin.
2346: --enable-dhcp enable DHCP based attribute provider plugin.
2347: --enable-osx-attr enable OS X SystemConfiguration attribute handler.
2348: --enable-p-cscf enable plugin to request P-CSCF server addresses
2349: from an ePDG.
2350: --disable-resolve disable resolve DNS handler plugin.
2351: --enable-unity enables Cisco Unity extension plugin.
2352: --enable-imc-test enable IMC test module.
2353: --enable-imv-test enable IMV test module.
2354: --enable-imc-scanner enable IMC port scanner module.
2355: --enable-imv-scanner enable IMV port scanner module.
2356: --enable-imc-os enable IMC operating system module.
2357: --enable-imv-os enable IMV operating system module.
2358: --enable-imc-attestation
2359: enable IMC attestation module.
2360: --enable-imv-attestation
2361: enable IMV attestation module.
2362: --enable-imc-swima enable IMC swima module.
2363: --enable-imv-swima enable IMV swima module.
2364: --enable-imc-hcd enable IMC hcd module.
2365: --enable-imv-hcd enable IMV hcd module.
2366: --enable-tnc-ifmap enable TNC IF-MAP module. Requires libxml
2367: --enable-tnc-imc enable TNC IMC module.
2368: --enable-tnc-imv enable TNC IMV module.
2369: --enable-tnc-pdp enable TNC policy decision point module.
2370: --enable-tnccs-11 enable TNCCS 1.1 protocol module. Requires libxml
2371: --enable-tnccs-20 enable TNCCS 2.0 protocol module.
2372: --enable-tnccs-dynamic enable dynamic TNCCS protocol discovery module.
2373: --enable-android-log enable Android specific logger plugin.
2374: --enable-bypass-lan enable plugin to install bypass policies for local
2375: subnets.
2376: --enable-certexpire enable CSV export of expiration dates of used
2377: certificates.
2378: --enable-connmark enable connmark plugin using conntrack based marks
2379: to select return path SA.
2380: --enable-counters enable plugin that collects several performance
2381: counters.
2382: --enable-forecast enable forecast plugin forwarding
2383: broadcast/multicast messages.
2384: --enable-duplicheck advanced duplicate checking plugin using liveness
2385: checks.
2386: --enable-error-notify enable error notification plugin.
2387: --enable-farp enable ARP faking plugin that responds to ARP
2388: requests to peers virtual IP
2389: --enable-ha enable high availability cluster plugin.
2390: --enable-led enable plugin to control LEDs on IKEv2 activity
2391: using the Linux kernel LED subsystem.
2392: --enable-load-tester enable load testing plugin for IKEv2 daemon.
2393: --enable-lookip enable fast virtual IP lookup and notification
2394: plugin.
2395: --enable-radattr enable plugin to inject and process custom RADIUS
2396: attributes as IKEv2 client.
2397: --enable-save-keys enable development/debugging plugin that saves IKE
2398: and ESP keys in Wireshark format.
2399: --enable-systime-fix enable plugin to handle cert lifetimes with invalid
2400: system time gracefully.
2401: --enable-test-vectors enable plugin providing crypto test vectors.
2402: --disable-updown disable updown firewall script plugin.
2403: --enable-aikgen enable AIK generator for TPM 1.2.
2404: --disable-charon disable the IKEv1/IKEv2 keying daemon charon.
2405: --enable-cmd enable the command line IKE client charon-cmd.
2406: --enable-conftest enforce Suite B conformance test framework.
2407: --enable-fast enable libfast (FastCGI Application Server w/
2408: templates.
2409: --enable-fuzzing enable fuzzing scripts (found in directory fuzz).
2410: --enable-libipsec enable user space IPsec implementation.
2411: --enable-manager enable web management console (proof of concept).
2412: --enable-medcli enable mediation client configuration database
2413: plugin.
2414: --enable-medsrv enable mediation server web frontend and daemon
2415: plugin.
2416: --enable-nm enable NetworkManager backend.
2417: --disable-pki disable pki certificate utility.
2418: --disable-scepclient disable SCEP client tool.
2419: --disable-scripts disable additional utilities (found in directory
2420: scripts).
2421: --enable-svc enable charon Windows service.
2422: --enable-systemd enable systemd specific IKE daemon charon-systemd.
2423: --disable-swanctl disable swanctl configuration and control tool.
2424: --enable-tkm enable Trusted Key Manager support.
2425: --enable-bfd-backtraces use binutils libbfd to resolve backtraces for memory
2426: leaks and segfaults.
2427: --enable-dbghelp-backtraces
2428: use dbghlp.dll on Windows to create and print
2429: backtraces for memory leaks and segfaults.
2430: --disable-ikev1 disable IKEv1 protocol support in charon.
2431: --disable-ikev2 disable IKEv2 protocol support in charon.
2432: --enable-integrity-test enable integrity testing of libstrongswan and
2433: plugins.
2434: --disable-load-warning disable the charon plugin load option warning in
2435: starter.
2436: --enable-mediation enable IKEv2 Mediation Extension.
2437: --enable-unwind-backtraces
2438: use libunwind to create backtraces for memory leaks
2439: and segfaults.
2440: --enable-ruby-gems enable build of provided ruby gems.
2441: --enable-ruby-gems-install
2442: enable installation of provided ruby gems.
2443: --enable-python-eggs enable build of provided python eggs.
2444: --enable-python-eggs-install
2445: enable installation of provided python eggs.
2446: --enable-perl-cpan enable build of provided perl CPAN module.
2447: --enable-perl-cpan-install
2448: enable installation of provided CPAN module.
2449: --enable-tss-trousers enable the use of the TrouSerS Trusted Software
2450: Stack
2451: --enable-tss-tss2 enable the use of the TSS 2.0 Trusted Software Stack
2452: --enable-coverage enable lcov coverage report generation.
2453: --enable-leak-detective enable malloc hooks to find memory leaks.
2454: --enable-lock-profiler enable lock/mutex profiling code.
2455: --enable-log-thread-ids use thread ID, if available, instead of an
2456: incremented value starting from 1, to identify
2457: threads.
2458: --enable-monolithic build monolithic version of libstrongswan that
2459: includes all enabled plugins. Similarly, the plugins
2460: of charon are assembled in libcharon.
2461: --disable-defaults disable all default plugins (they can be enabled
2462: with their respective --enable options)
2463: --enable-all enable all plugins and features (they can be
2464: disabled with their respective --disable options).
2465: Mainly for testing.
2466: --enable-dependency-tracking
2467: do not reject slow dependency extractors
2468: --disable-dependency-tracking
2469: speeds up one-time build
2470: --enable-shared[=PKGS] build shared libraries [default=yes]
2471: --enable-fast-install[=PKGS]
2472: optimize for fast installation [default=yes]
2473: --disable-libtool-lock avoid locking (might break parallel builds)
2474:
2475: Optional Packages:
2476: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2477: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2478: --with-random-device=arg
2479: set the device to read real random data from
2480: (default: /dev/random).
2481: --with-urandom-device=arg
2482: set the device to read pseudo random data from
2483: (default: /dev/urandom).
2484: --with-strongswan-conf=arg
2485: set the strongswan.conf file location (default:
2486: ${sysconfdir}/strongswan.conf).
2487: --with-resolv-conf=arg set the file to use in DNS handler plugin (default:
2488: ${sysconfdir}/resolv.conf).
2489: --with-piddir=arg set path for PID and UNIX socket files (default:
2490: /var/run).
2491: --with-ipsecdir=arg set installation path for ipsec tools (default:
2492: ${libexecdir%/}/ipsec).
2493: --with-ipseclibdir=arg set installation path for ipsec libraries (default:
2494: ${libdir%/}/ipsec).
2495: --with-plugindir=arg set the installation path of plugins (default:
2496: ${ipseclibdir%/}/plugins).
2497: --with-imcvdir=arg set the installation path of IMC and IMV dynamic
2498: libraries (default: ${ipseclibdir%/}/imcvs).
2499: --with-nm-ca-dir=arg directory the NM backend uses to look up trusted
2500: root certificates (default:
2501: /usr/share/ca-certificates).
2502: --with-swanctldir=arg base directory for swanctl configuration files and
2503: credentials (default: ${sysconfdir}/swanctl).
2504: --with-linux-headers=arg
2505: set directory of linux header files to use (default:
2506: \${top_srcdir}/src/include).
2507: --with-routing-table=arg
2508: set routing table to use for IPsec routes (default:
2509: 220).
2510: --with-routing-table-prio=arg
2511: set priority for IPsec routing table (default: 220).
2512: --with-ipsec-script=arg change the name of the ipsec script (default:
2513: ipsec).
2514: --with-fips-mode=arg set openssl FIPS mode: disabled(0), enabled(1),
2515: Suite B enabled(2) (default: 0).
2516: --with-libfuzzer=arg -fsanitize=fuzzer or path to libFuzzer.a, a local
2517: driver is used if not specified (default: ).
2518: --with-capabilities=arg set capability dropping library. Currently supported
2519: values are "libcap" and "native" (default: no).
2520: --with-mpz_powm_sec=arg use the more side-channel resistant mpz_powm_sec in
2521: libgmp, if available (default: yes).
2522: --with-dev-headers=arg install strongSwan development headers to directory.
2523: (default: no).
2524: --with-printf-hooks=arg force the use of a specific printf hook
2525: implementation (auto, builtin, glibc, vstr).
2526: (default: auto).
2527: --with-rubygemdir=arg path to install ruby gems to (default: "gem
2528: environment gemdir").
2529: --with-pythoneggdir=arg path to install python eggs to to (default: "main
2530: site-packages directory").
2531: --with-systemdsystemunitdir=arg
2532: directory for systemd service files (default:
2533: $systemdsystemunitdir_default).
2534: --with-dbuspolicydir=arg
2535: directory for D-Bus policies (default:
2536: ${dbusdatadir|datarootdir}/dbus-1/system.d)
2537: --with-user=user change user of the daemons to "user" after startup
2538: (default is "root").
2539: --with-group=group change group of the daemons to "group" after startup
2540: (default is "root").
2541: --with-charon-udp-port=port
2542: UDP port used by charon locally (default 500). Set
2543: to 0 to allocate randomly.
2544: --with-charon-natt-port=port
2545: UDP port used by charon locally in case a NAT is
2546: detected (must be different from charon-udp-port,
2547: default 4500). Set to 0 to allocate randomly.
2548: --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2549: --without-lib-prefix don't search for libraries in includedir and libdir
2550: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2551: both]
2552: --with-aix-soname=aix|svr4|both
2553: shared library versioning (aka "SONAME") variant to
2554: provide on AIX, [default=aix].
2555: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2556: --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2557: compiler's sysroot if not specified).
2558:
2559: Some influential environment variables:
2560: PKG_CONFIG path to pkg-config utility
2561: PKG_CONFIG_PATH
2562: directories to add to pkg-config's search path
2563: PKG_CONFIG_LIBDIR
2564: path overriding pkg-config's built-in search path
2565: dbusdatadir value of datadir for dbus-1, overriding pkg-config
2566: CC C compiler command
2567: CFLAGS C compiler flags
2568: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2569: nonstandard directory <lib dir>
2570: LIBS libraries to pass to the linker, e.g. -l<library>
2571: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2572: you have headers in a nonstandard directory <include dir>
2573: CPP C preprocessor
2574: LT_SYS_LIBRARY_PATH
2575: User-defined run-time library search path.
2576: YACC The `Yet Another Compiler Compiler' implementation to use.
2577: Defaults to the first program found out of: `bison -y', `byacc',
2578: `yacc'.
2579: YFLAGS The list of arguments that will be passed by default to $YACC.
2580: This script will default YFLAGS to the empty string to avoid a
2581: default value of `-d' given by some make applications.
2582: PYTHON the Python interpreter
2583: PERL the Perl interpreter
2584: GPERF the GNU gperf program
2585: soup_CFLAGS C compiler flags for soup, overriding pkg-config
2586: soup_LIBS linker flags for soup, overriding pkg-config
2587: xml_CFLAGS C compiler flags for xml, overriding pkg-config
2588: xml_LIBS linker flags for xml, overriding pkg-config
2589: systemd_CFLAGS
2590: C compiler flags for systemd, overriding pkg-config
2591: systemd_LIBS
2592: linker flags for systemd, overriding pkg-config
2593: systemd_daemon_CFLAGS
2594: C compiler flags for systemd_daemon, overriding pkg-config
2595: systemd_daemon_LIBS
2596: linker flags for systemd_daemon, overriding pkg-config
2597: systemd_journal_CFLAGS
2598: C compiler flags for systemd_journal, overriding pkg-config
2599: systemd_journal_LIBS
2600: linker flags for systemd_journal, overriding pkg-config
2601: tss2_sys_CFLAGS
2602: C compiler flags for tss2_sys, overriding pkg-config
2603: tss2_sys_LIBS
2604: linker flags for tss2_sys, overriding pkg-config
2605: tss2_esys_CFLAGS
2606: C compiler flags for tss2_esys, overriding pkg-config
2607: tss2_esys_LIBS
2608: linker flags for tss2_esys, overriding pkg-config
2609: tss2_tabrmd_CFLAGS
2610: C compiler flags for tss2_tabrmd, overriding pkg-config
2611: tss2_tabrmd_LIBS
2612: linker flags for tss2_tabrmd, overriding pkg-config
2613: tss2_socket_CFLAGS
2614: C compiler flags for tss2_socket, overriding pkg-config
2615: tss2_socket_LIBS
2616: linker flags for tss2_socket, overriding pkg-config
2617: json_CFLAGS C compiler flags for json, overriding pkg-config
2618: json_LIBS linker flags for json, overriding pkg-config
2619: wolfssl_CFLAGS
2620: C compiler flags for wolfssl, overriding pkg-config
2621: wolfssl_LIBS
2622: linker flags for wolfssl, overriding pkg-config
2623: botan_CFLAGS
2624: C compiler flags for botan, overriding pkg-config
2625: botan_LIBS linker flags for botan, overriding pkg-config
2626: pcsclite_CFLAGS
2627: C compiler flags for pcsclite, overriding pkg-config
2628: pcsclite_LIBS
2629: linker flags for pcsclite, overriding pkg-config
2630: nm_CFLAGS C compiler flags for nm, overriding pkg-config
2631: nm_LIBS linker flags for nm, overriding pkg-config
2632: libiptc_CFLAGS
2633: C compiler flags for libiptc, overriding pkg-config
2634: libiptc_LIBS
2635: linker flags for libiptc, overriding pkg-config
2636:
2637: Use these variables to override the choices made by `configure' or to help
2638: it to find libraries and programs with nonstandard names/locations.
2639:
2640: Report bugs to the package provider.
2641: _ACEOF
2642: ac_status=$?
2643: fi
2644:
2645: if test "$ac_init_help" = "recursive"; then
2646: # If there are subdirs, report their specific --help.
2647: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2648: test -d "$ac_dir" ||
2649: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2650: continue
2651: ac_builddir=.
2652:
2653: case "$ac_dir" in
2654: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2655: *)
2656: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2657: # A ".." for each directory in $ac_dir_suffix.
2658: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2659: case $ac_top_builddir_sub in
2660: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2661: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2662: esac ;;
2663: esac
2664: ac_abs_top_builddir=$ac_pwd
2665: ac_abs_builddir=$ac_pwd$ac_dir_suffix
2666: # for backward compatibility:
2667: ac_top_builddir=$ac_top_build_prefix
2668:
2669: case $srcdir in
2670: .) # We are building in place.
2671: ac_srcdir=.
2672: ac_top_srcdir=$ac_top_builddir_sub
2673: ac_abs_top_srcdir=$ac_pwd ;;
2674: [\\/]* | ?:[\\/]* ) # Absolute name.
2675: ac_srcdir=$srcdir$ac_dir_suffix;
2676: ac_top_srcdir=$srcdir
2677: ac_abs_top_srcdir=$srcdir ;;
2678: *) # Relative name.
2679: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2680: ac_top_srcdir=$ac_top_build_prefix$srcdir
2681: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2682: esac
2683: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2684:
2685: cd "$ac_dir" || { ac_status=$?; continue; }
2686: # Check for guested configure.
2687: if test -f "$ac_srcdir/configure.gnu"; then
2688: echo &&
2689: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2690: elif test -f "$ac_srcdir/configure"; then
2691: echo &&
2692: $SHELL "$ac_srcdir/configure" --help=recursive
2693: else
2694: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2695: fi || ac_status=$?
2696: cd "$ac_pwd" || { ac_status=$?; break; }
2697: done
2698: fi
2699:
2700: test -n "$ac_init_help" && exit $ac_status
2701: if $ac_init_version; then
2702: cat <<\_ACEOF
2703: strongSwan configure 5.8.4
2704: generated by GNU Autoconf 2.69
2705:
2706: Copyright (C) 2012 Free Software Foundation, Inc.
2707: This configure script is free software; the Free Software Foundation
2708: gives unlimited permission to copy, distribute and modify it.
2709: _ACEOF
2710: exit
2711: fi
2712:
2713: ## ------------------------ ##
2714: ## Autoconf initialization. ##
2715: ## ------------------------ ##
2716:
2717: # ac_fn_c_try_compile LINENO
2718: # --------------------------
2719: # Try to compile conftest.$ac_ext, and return whether this succeeded.
2720: ac_fn_c_try_compile ()
2721: {
2722: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2723: rm -f conftest.$ac_objext
2724: if { { ac_try="$ac_compile"
2725: case "(($ac_try" in
2726: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727: *) ac_try_echo=$ac_try;;
2728: esac
2729: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2730: $as_echo "$ac_try_echo"; } >&5
2731: (eval "$ac_compile") 2>conftest.err
2732: ac_status=$?
2733: if test -s conftest.err; then
2734: grep -v '^ *+' conftest.err >conftest.er1
2735: cat conftest.er1 >&5
2736: mv -f conftest.er1 conftest.err
2737: fi
2738: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2739: test $ac_status = 0; } && {
2740: test -z "$ac_c_werror_flag" ||
2741: test ! -s conftest.err
2742: } && test -s conftest.$ac_objext; then :
2743: ac_retval=0
2744: else
2745: $as_echo "$as_me: failed program was:" >&5
2746: sed 's/^/| /' conftest.$ac_ext >&5
2747:
2748: ac_retval=1
2749: fi
2750: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751: as_fn_set_status $ac_retval
2752:
2753: } # ac_fn_c_try_compile
2754:
2755: # ac_fn_c_try_cpp LINENO
2756: # ----------------------
2757: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2758: ac_fn_c_try_cpp ()
2759: {
2760: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761: if { { ac_try="$ac_cpp conftest.$ac_ext"
2762: case "(($ac_try" in
2763: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764: *) ac_try_echo=$ac_try;;
2765: esac
2766: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767: $as_echo "$ac_try_echo"; } >&5
2768: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2769: ac_status=$?
2770: if test -s conftest.err; then
2771: grep -v '^ *+' conftest.err >conftest.er1
2772: cat conftest.er1 >&5
2773: mv -f conftest.er1 conftest.err
2774: fi
2775: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776: test $ac_status = 0; } > conftest.i && {
2777: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2778: test ! -s conftest.err
2779: }; then :
2780: ac_retval=0
2781: else
2782: $as_echo "$as_me: failed program was:" >&5
2783: sed 's/^/| /' conftest.$ac_ext >&5
2784:
2785: ac_retval=1
2786: fi
2787: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788: as_fn_set_status $ac_retval
2789:
2790: } # ac_fn_c_try_cpp
2791:
2792: # ac_fn_c_try_run LINENO
2793: # ----------------------
2794: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2795: # that executables *can* be run.
2796: ac_fn_c_try_run ()
2797: {
2798: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799: if { { ac_try="$ac_link"
2800: case "(($ac_try" in
2801: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802: *) ac_try_echo=$ac_try;;
2803: esac
2804: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805: $as_echo "$ac_try_echo"; } >&5
2806: (eval "$ac_link") 2>&5
2807: ac_status=$?
2808: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2810: { { case "(($ac_try" in
2811: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812: *) ac_try_echo=$ac_try;;
2813: esac
2814: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815: $as_echo "$ac_try_echo"; } >&5
2816: (eval "$ac_try") 2>&5
2817: ac_status=$?
2818: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819: test $ac_status = 0; }; }; then :
2820: ac_retval=0
2821: else
2822: $as_echo "$as_me: program exited with status $ac_status" >&5
2823: $as_echo "$as_me: failed program was:" >&5
2824: sed 's/^/| /' conftest.$ac_ext >&5
2825:
2826: ac_retval=$ac_status
2827: fi
2828: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2829: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830: as_fn_set_status $ac_retval
2831:
2832: } # ac_fn_c_try_run
2833:
2834: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2835: # -------------------------------------------------------
2836: # Tests whether HEADER exists and can be compiled using the include files in
2837: # INCLUDES, setting the cache variable VAR accordingly.
2838: ac_fn_c_check_header_compile ()
2839: {
2840: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2842: $as_echo_n "checking for $2... " >&6; }
2843: if eval \${$3+:} false; then :
2844: $as_echo_n "(cached) " >&6
2845: else
2846: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847: /* end confdefs.h. */
2848: $4
2849: #include <$2>
2850: _ACEOF
2851: if ac_fn_c_try_compile "$LINENO"; then :
2852: eval "$3=yes"
2853: else
2854: eval "$3=no"
2855: fi
2856: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2857: fi
2858: eval ac_res=\$$3
2859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2860: $as_echo "$ac_res" >&6; }
2861: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2862:
2863: } # ac_fn_c_check_header_compile
2864:
2865: # ac_fn_c_try_link LINENO
2866: # -----------------------
2867: # Try to link conftest.$ac_ext, and return whether this succeeded.
2868: ac_fn_c_try_link ()
2869: {
2870: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871: rm -f conftest.$ac_objext conftest$ac_exeext
2872: if { { ac_try="$ac_link"
2873: case "(($ac_try" in
2874: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2875: *) ac_try_echo=$ac_try;;
2876: esac
2877: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2878: $as_echo "$ac_try_echo"; } >&5
2879: (eval "$ac_link") 2>conftest.err
2880: ac_status=$?
2881: if test -s conftest.err; then
2882: grep -v '^ *+' conftest.err >conftest.er1
2883: cat conftest.er1 >&5
2884: mv -f conftest.er1 conftest.err
2885: fi
2886: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2887: test $ac_status = 0; } && {
2888: test -z "$ac_c_werror_flag" ||
2889: test ! -s conftest.err
2890: } && test -s conftest$ac_exeext && {
2891: test "$cross_compiling" = yes ||
2892: test -x conftest$ac_exeext
2893: }; then :
2894: ac_retval=0
2895: else
2896: $as_echo "$as_me: failed program was:" >&5
2897: sed 's/^/| /' conftest.$ac_ext >&5
2898:
2899: ac_retval=1
2900: fi
2901: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2902: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2903: # interfere with the next link command; also delete a directory that is
2904: # left behind by Apple's compiler. We do this before executing the actions.
2905: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2906: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2907: as_fn_set_status $ac_retval
2908:
2909: } # ac_fn_c_try_link
2910:
2911: # ac_fn_c_check_func LINENO FUNC VAR
2912: # ----------------------------------
2913: # Tests whether FUNC exists, setting the cache variable VAR accordingly
2914: ac_fn_c_check_func ()
2915: {
2916: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2918: $as_echo_n "checking for $2... " >&6; }
2919: if eval \${$3+:} false; then :
2920: $as_echo_n "(cached) " >&6
2921: else
2922: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2923: /* end confdefs.h. */
2924: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2925: For example, HP-UX 11i <limits.h> declares gettimeofday. */
2926: #define $2 innocuous_$2
2927:
2928: /* System header to define __stub macros and hopefully few prototypes,
2929: which can conflict with char $2 (); below.
2930: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2931: <limits.h> exists even on freestanding compilers. */
2932:
2933: #ifdef __STDC__
2934: # include <limits.h>
2935: #else
2936: # include <assert.h>
2937: #endif
2938:
2939: #undef $2
2940:
2941: /* Override any GCC internal prototype to avoid an error.
2942: Use char because int might match the return type of a GCC
2943: builtin and then its argument prototype would still apply. */
2944: #ifdef __cplusplus
2945: extern "C"
2946: #endif
2947: char $2 ();
2948: /* The GNU C library defines this for functions which it implements
2949: to always fail with ENOSYS. Some functions are actually named
2950: something starting with __ and the normal name is an alias. */
2951: #if defined __stub_$2 || defined __stub___$2
2952: choke me
2953: #endif
2954:
2955: int
2956: main ()
2957: {
2958: return $2 ();
2959: ;
2960: return 0;
2961: }
2962: _ACEOF
2963: if ac_fn_c_try_link "$LINENO"; then :
2964: eval "$3=yes"
2965: else
2966: eval "$3=no"
2967: fi
2968: rm -f core conftest.err conftest.$ac_objext \
2969: conftest$ac_exeext conftest.$ac_ext
2970: fi
2971: eval ac_res=\$$3
2972: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2973: $as_echo "$ac_res" >&6; }
2974: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2975:
2976: } # ac_fn_c_check_func
2977:
2978: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2979: # -------------------------------------------
2980: # Tests whether TYPE exists after having included INCLUDES, setting cache
2981: # variable VAR accordingly.
2982: ac_fn_c_check_type ()
2983: {
2984: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2985: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2986: $as_echo_n "checking for $2... " >&6; }
2987: if eval \${$3+:} false; then :
2988: $as_echo_n "(cached) " >&6
2989: else
2990: eval "$3=no"
2991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992: /* end confdefs.h. */
2993: $4
2994: int
2995: main ()
2996: {
2997: if (sizeof ($2))
2998: return 0;
2999: ;
3000: return 0;
3001: }
3002: _ACEOF
3003: if ac_fn_c_try_compile "$LINENO"; then :
3004: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005: /* end confdefs.h. */
3006: $4
3007: int
3008: main ()
3009: {
3010: if (sizeof (($2)))
3011: return 0;
3012: ;
3013: return 0;
3014: }
3015: _ACEOF
3016: if ac_fn_c_try_compile "$LINENO"; then :
3017:
3018: else
3019: eval "$3=yes"
3020: fi
3021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022: fi
3023: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024: fi
3025: eval ac_res=\$$3
3026: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027: $as_echo "$ac_res" >&6; }
3028: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029:
3030: } # ac_fn_c_check_type
3031:
3032: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3033: # ---------------------------------------------
3034: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3035: # accordingly.
3036: ac_fn_c_check_decl ()
3037: {
3038: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039: as_decl_name=`echo $2|sed 's/ *(.*//'`
3040: as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3041: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3042: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3043: if eval \${$3+:} false; then :
3044: $as_echo_n "(cached) " >&6
3045: else
3046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047: /* end confdefs.h. */
3048: $4
3049: int
3050: main ()
3051: {
3052: #ifndef $as_decl_name
3053: #ifdef __cplusplus
3054: (void) $as_decl_use;
3055: #else
3056: (void) $as_decl_name;
3057: #endif
3058: #endif
3059:
3060: ;
3061: return 0;
3062: }
3063: _ACEOF
3064: if ac_fn_c_try_compile "$LINENO"; then :
3065: eval "$3=yes"
3066: else
3067: eval "$3=no"
3068: fi
3069: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070: fi
3071: eval ac_res=\$$3
3072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3073: $as_echo "$ac_res" >&6; }
3074: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3075:
3076: } # ac_fn_c_check_decl
3077:
3078: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3079: # -------------------------------------------------------
3080: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3081: # the include files in INCLUDES and setting the cache variable VAR
3082: # accordingly.
3083: ac_fn_c_check_header_mongrel ()
3084: {
3085: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3086: if eval \${$3+:} false; then :
3087: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088: $as_echo_n "checking for $2... " >&6; }
3089: if eval \${$3+:} false; then :
3090: $as_echo_n "(cached) " >&6
3091: fi
3092: eval ac_res=\$$3
3093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3094: $as_echo "$ac_res" >&6; }
3095: else
3096: # Is the header compilable?
3097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3098: $as_echo_n "checking $2 usability... " >&6; }
3099: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100: /* end confdefs.h. */
3101: $4
3102: #include <$2>
3103: _ACEOF
3104: if ac_fn_c_try_compile "$LINENO"; then :
3105: ac_header_compiler=yes
3106: else
3107: ac_header_compiler=no
3108: fi
3109: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3111: $as_echo "$ac_header_compiler" >&6; }
3112:
3113: # Is the header present?
3114: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3115: $as_echo_n "checking $2 presence... " >&6; }
3116: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117: /* end confdefs.h. */
3118: #include <$2>
3119: _ACEOF
3120: if ac_fn_c_try_cpp "$LINENO"; then :
3121: ac_header_preproc=yes
3122: else
3123: ac_header_preproc=no
3124: fi
3125: rm -f conftest.err conftest.i conftest.$ac_ext
3126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3127: $as_echo "$ac_header_preproc" >&6; }
3128:
3129: # So? What about this header?
3130: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3131: yes:no: )
3132: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3133: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3134: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3135: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3136: ;;
3137: no:yes:* )
3138: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3139: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3140: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3141: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3142: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3143: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3145: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3146: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3147: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3148: ;;
3149: esac
3150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3151: $as_echo_n "checking for $2... " >&6; }
3152: if eval \${$3+:} false; then :
3153: $as_echo_n "(cached) " >&6
3154: else
3155: eval "$3=\$ac_header_compiler"
3156: fi
3157: eval ac_res=\$$3
3158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3159: $as_echo "$ac_res" >&6; }
3160: fi
3161: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3162:
3163: } # ac_fn_c_check_header_mongrel
3164:
3165: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3166: # ----------------------------------------------------
3167: # Tries to find if the field MEMBER exists in type AGGR, after including
3168: # INCLUDES, setting cache variable VAR accordingly.
3169: ac_fn_c_check_member ()
3170: {
3171: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3172: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3173: $as_echo_n "checking for $2.$3... " >&6; }
3174: if eval \${$4+:} false; then :
3175: $as_echo_n "(cached) " >&6
3176: else
3177: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178: /* end confdefs.h. */
3179: $5
3180: int
3181: main ()
3182: {
3183: static $2 ac_aggr;
3184: if (ac_aggr.$3)
3185: return 0;
3186: ;
3187: return 0;
3188: }
3189: _ACEOF
3190: if ac_fn_c_try_compile "$LINENO"; then :
3191: eval "$4=yes"
3192: else
3193: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3194: /* end confdefs.h. */
3195: $5
3196: int
3197: main ()
3198: {
3199: static $2 ac_aggr;
3200: if (sizeof ac_aggr.$3)
3201: return 0;
3202: ;
3203: return 0;
3204: }
3205: _ACEOF
3206: if ac_fn_c_try_compile "$LINENO"; then :
3207: eval "$4=yes"
3208: else
3209: eval "$4=no"
3210: fi
3211: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212: fi
3213: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214: fi
3215: eval ac_res=\$$4
3216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3217: $as_echo "$ac_res" >&6; }
3218: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3219:
3220: } # ac_fn_c_check_member
3221: cat >config.log <<_ACEOF
3222: This file contains any messages produced by compilers while
3223: running configure, to aid debugging if configure makes a mistake.
3224:
3225: It was created by strongSwan $as_me 5.8.4, which was
3226: generated by GNU Autoconf 2.69. Invocation command line was
3227:
3228: $ $0 $@
3229:
3230: _ACEOF
3231: exec 5>>config.log
3232: {
3233: cat <<_ASUNAME
3234: ## --------- ##
3235: ## Platform. ##
3236: ## --------- ##
3237:
3238: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3239: uname -m = `(uname -m) 2>/dev/null || echo unknown`
3240: uname -r = `(uname -r) 2>/dev/null || echo unknown`
3241: uname -s = `(uname -s) 2>/dev/null || echo unknown`
3242: uname -v = `(uname -v) 2>/dev/null || echo unknown`
3243:
3244: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3245: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3246:
3247: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3248: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3249: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3250: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3251: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3252: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3253: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3254:
3255: _ASUNAME
3256:
3257: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3258: for as_dir in $PATH
3259: do
3260: IFS=$as_save_IFS
3261: test -z "$as_dir" && as_dir=.
3262: $as_echo "PATH: $as_dir"
3263: done
3264: IFS=$as_save_IFS
3265:
3266: } >&5
3267:
3268: cat >&5 <<_ACEOF
3269:
3270:
3271: ## ----------- ##
3272: ## Core tests. ##
3273: ## ----------- ##
3274:
3275: _ACEOF
3276:
3277:
3278: # Keep a trace of the command line.
3279: # Strip out --no-create and --no-recursion so they do not pile up.
3280: # Strip out --silent because we don't want to record it for future runs.
3281: # Also quote any args containing shell meta-characters.
3282: # Make two passes to allow for proper duplicate-argument suppression.
3283: ac_configure_args=
3284: ac_configure_args0=
3285: ac_configure_args1=
3286: ac_must_keep_next=false
3287: for ac_pass in 1 2
3288: do
3289: for ac_arg
3290: do
3291: case $ac_arg in
3292: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3293: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3294: | -silent | --silent | --silen | --sile | --sil)
3295: continue ;;
3296: *\'*)
3297: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3298: esac
3299: case $ac_pass in
3300: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3301: 2)
3302: as_fn_append ac_configure_args1 " '$ac_arg'"
3303: if test $ac_must_keep_next = true; then
3304: ac_must_keep_next=false # Got value, back to normal.
3305: else
3306: case $ac_arg in
3307: *=* | --config-cache | -C | -disable-* | --disable-* \
3308: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3309: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3310: | -with-* | --with-* | -without-* | --without-* | --x)
3311: case "$ac_configure_args0 " in
3312: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3313: esac
3314: ;;
3315: -* ) ac_must_keep_next=true ;;
3316: esac
3317: fi
3318: as_fn_append ac_configure_args " '$ac_arg'"
3319: ;;
3320: esac
3321: done
3322: done
3323: { ac_configure_args0=; unset ac_configure_args0;}
3324: { ac_configure_args1=; unset ac_configure_args1;}
3325:
3326: # When interrupted or exit'd, cleanup temporary files, and complete
3327: # config.log. We remove comments because anyway the quotes in there
3328: # would cause problems or look ugly.
3329: # WARNING: Use '\'' to represent an apostrophe within the trap.
3330: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3331: trap 'exit_status=$?
3332: # Save into config.log some information that might help in debugging.
3333: {
3334: echo
3335:
3336: $as_echo "## ---------------- ##
3337: ## Cache variables. ##
3338: ## ---------------- ##"
3339: echo
3340: # The following way of writing the cache mishandles newlines in values,
3341: (
3342: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3343: eval ac_val=\$$ac_var
3344: case $ac_val in #(
3345: *${as_nl}*)
3346: case $ac_var in #(
3347: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3348: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3349: esac
3350: case $ac_var in #(
3351: _ | IFS | as_nl) ;; #(
3352: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3353: *) { eval $ac_var=; unset $ac_var;} ;;
3354: esac ;;
3355: esac
3356: done
3357: (set) 2>&1 |
3358: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3359: *${as_nl}ac_space=\ *)
3360: sed -n \
3361: "s/'\''/'\''\\\\'\'''\''/g;
3362: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3363: ;; #(
3364: *)
3365: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3366: ;;
3367: esac |
3368: sort
3369: )
3370: echo
3371:
3372: $as_echo "## ----------------- ##
3373: ## Output variables. ##
3374: ## ----------------- ##"
3375: echo
3376: for ac_var in $ac_subst_vars
3377: do
3378: eval ac_val=\$$ac_var
3379: case $ac_val in
3380: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3381: esac
3382: $as_echo "$ac_var='\''$ac_val'\''"
3383: done | sort
3384: echo
3385:
3386: if test -n "$ac_subst_files"; then
3387: $as_echo "## ------------------- ##
3388: ## File substitutions. ##
3389: ## ------------------- ##"
3390: echo
3391: for ac_var in $ac_subst_files
3392: do
3393: eval ac_val=\$$ac_var
3394: case $ac_val in
3395: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3396: esac
3397: $as_echo "$ac_var='\''$ac_val'\''"
3398: done | sort
3399: echo
3400: fi
3401:
3402: if test -s confdefs.h; then
3403: $as_echo "## ----------- ##
3404: ## confdefs.h. ##
3405: ## ----------- ##"
3406: echo
3407: cat confdefs.h
3408: echo
3409: fi
3410: test "$ac_signal" != 0 &&
3411: $as_echo "$as_me: caught signal $ac_signal"
3412: $as_echo "$as_me: exit $exit_status"
3413: } >&5
3414: rm -f core *.core core.conftest.* &&
3415: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3416: exit $exit_status
3417: ' 0
3418: for ac_signal in 1 2 13 15; do
3419: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3420: done
3421: ac_signal=0
3422:
3423: # confdefs.h avoids OS command line length limits that DEFS can exceed.
3424: rm -f -r conftest* confdefs.h
3425:
3426: $as_echo "/* confdefs.h */" > confdefs.h
3427:
3428: # Predefined preprocessor variables.
3429:
3430: cat >>confdefs.h <<_ACEOF
3431: #define PACKAGE_NAME "$PACKAGE_NAME"
3432: _ACEOF
3433:
3434: cat >>confdefs.h <<_ACEOF
3435: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3436: _ACEOF
3437:
3438: cat >>confdefs.h <<_ACEOF
3439: #define PACKAGE_VERSION "$PACKAGE_VERSION"
3440: _ACEOF
3441:
3442: cat >>confdefs.h <<_ACEOF
3443: #define PACKAGE_STRING "$PACKAGE_STRING"
3444: _ACEOF
3445:
3446: cat >>confdefs.h <<_ACEOF
3447: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3448: _ACEOF
3449:
3450: cat >>confdefs.h <<_ACEOF
3451: #define PACKAGE_URL "$PACKAGE_URL"
3452: _ACEOF
3453:
3454:
3455: # Let the site file select an alternate cache file if it wants to.
3456: # Prefer an explicitly selected file to automatically selected ones.
3457: ac_site_file1=NONE
3458: ac_site_file2=NONE
3459: if test -n "$CONFIG_SITE"; then
3460: # We do not want a PATH search for config.site.
3461: case $CONFIG_SITE in #((
3462: -*) ac_site_file1=./$CONFIG_SITE;;
3463: */*) ac_site_file1=$CONFIG_SITE;;
3464: *) ac_site_file1=./$CONFIG_SITE;;
3465: esac
3466: elif test "x$prefix" != xNONE; then
3467: ac_site_file1=$prefix/share/config.site
3468: ac_site_file2=$prefix/etc/config.site
3469: else
3470: ac_site_file1=$ac_default_prefix/share/config.site
3471: ac_site_file2=$ac_default_prefix/etc/config.site
3472: fi
3473: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3474: do
3475: test "x$ac_site_file" = xNONE && continue
3476: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3477: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3478: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3479: sed 's/^/| /' "$ac_site_file" >&5
3480: . "$ac_site_file" \
3481: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483: as_fn_error $? "failed to load site script $ac_site_file
3484: See \`config.log' for more details" "$LINENO" 5; }
3485: fi
3486: done
3487:
3488: if test -r "$cache_file"; then
3489: # Some versions of bash will fail to source /dev/null (special files
3490: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3491: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3492: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3493: $as_echo "$as_me: loading cache $cache_file" >&6;}
3494: case $cache_file in
3495: [\\/]* | ?:[\\/]* ) . "$cache_file";;
3496: *) . "./$cache_file";;
3497: esac
3498: fi
3499: else
3500: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3501: $as_echo "$as_me: creating cache $cache_file" >&6;}
3502: >$cache_file
3503: fi
3504:
3505: # Check that the precious variables saved in the cache have kept the same
3506: # value.
3507: ac_cache_corrupted=false
3508: for ac_var in $ac_precious_vars; do
3509: eval ac_old_set=\$ac_cv_env_${ac_var}_set
3510: eval ac_new_set=\$ac_env_${ac_var}_set
3511: eval ac_old_val=\$ac_cv_env_${ac_var}_value
3512: eval ac_new_val=\$ac_env_${ac_var}_value
3513: case $ac_old_set,$ac_new_set in
3514: set,)
3515: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3516: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3517: ac_cache_corrupted=: ;;
3518: ,set)
3519: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3520: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3521: ac_cache_corrupted=: ;;
3522: ,);;
3523: *)
3524: if test "x$ac_old_val" != "x$ac_new_val"; then
3525: # differences in whitespace do not lead to failure.
3526: ac_old_val_w=`echo x $ac_old_val`
3527: ac_new_val_w=`echo x $ac_new_val`
3528: if test "$ac_old_val_w" != "$ac_new_val_w"; then
3529: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3530: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3531: ac_cache_corrupted=:
3532: else
3533: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3534: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3535: eval $ac_var=\$ac_old_val
3536: fi
3537: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3538: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3539: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3540: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3541: fi;;
3542: esac
3543: # Pass precious variables to config.status.
3544: if test "$ac_new_set" = set; then
3545: case $ac_new_val in
3546: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3547: *) ac_arg=$ac_var=$ac_new_val ;;
3548: esac
3549: case " $ac_configure_args " in
3550: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3551: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3552: esac
3553: fi
3554: done
3555: if $ac_cache_corrupted; then
3556: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3559: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3560: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3561: fi
3562: ## -------------------- ##
3563: ## Main body of script. ##
3564: ## -------------------- ##
3565:
3566: ac_ext=c
3567: ac_cpp='$CPP $CPPFLAGS'
3568: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3569: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3570: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3571:
3572:
3573: am__api_version='1.15'
3574:
3575: ac_aux_dir=
3576: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3577: if test -f "$ac_dir/install-sh"; then
3578: ac_aux_dir=$ac_dir
3579: ac_install_sh="$ac_aux_dir/install-sh -c"
3580: break
3581: elif test -f "$ac_dir/install.sh"; then
3582: ac_aux_dir=$ac_dir
3583: ac_install_sh="$ac_aux_dir/install.sh -c"
3584: break
3585: elif test -f "$ac_dir/shtool"; then
3586: ac_aux_dir=$ac_dir
3587: ac_install_sh="$ac_aux_dir/shtool install -c"
3588: break
3589: fi
3590: done
3591: if test -z "$ac_aux_dir"; then
3592: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3593: fi
3594:
3595: # These three variables are undocumented and unsupported,
3596: # and are intended to be withdrawn in a future Autoconf release.
3597: # They can cause serious problems if a builder's source tree is in a directory
3598: # whose full name contains unusual characters.
3599: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3600: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3601: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3602:
3603:
3604: # Find a good install program. We prefer a C program (faster),
3605: # so one script is as good as another. But avoid the broken or
3606: # incompatible versions:
3607: # SysV /etc/install, /usr/sbin/install
3608: # SunOS /usr/etc/install
3609: # IRIX /sbin/install
3610: # AIX /bin/install
3611: # AmigaOS /C/install, which installs bootblocks on floppy discs
3612: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3613: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3614: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3615: # OS/2's system install, which has a completely different semantic
3616: # ./install, which can be erroneously created by make from ./install.sh.
3617: # Reject install programs that cannot install multiple files.
3618: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3619: $as_echo_n "checking for a BSD-compatible install... " >&6; }
3620: if test -z "$INSTALL"; then
3621: if ${ac_cv_path_install+:} false; then :
3622: $as_echo_n "(cached) " >&6
3623: else
3624: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625: for as_dir in $PATH
3626: do
3627: IFS=$as_save_IFS
3628: test -z "$as_dir" && as_dir=.
3629: # Account for people who put trailing slashes in PATH elements.
3630: case $as_dir/ in #((
3631: ./ | .// | /[cC]/* | \
3632: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3633: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3634: /usr/ucb/* ) ;;
3635: *)
3636: # OSF1 and SCO ODT 3.0 have their own names for install.
3637: # Don't use installbsd from OSF since it installs stuff as root
3638: # by default.
3639: for ac_prog in ginstall scoinst install; do
3640: for ac_exec_ext in '' $ac_executable_extensions; do
3641: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3642: if test $ac_prog = install &&
3643: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3644: # AIX install. It has an incompatible calling convention.
3645: :
3646: elif test $ac_prog = install &&
3647: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3648: # program-specific install script used by HP pwplus--don't use.
3649: :
3650: else
3651: rm -rf conftest.one conftest.two conftest.dir
3652: echo one > conftest.one
3653: echo two > conftest.two
3654: mkdir conftest.dir
3655: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3656: test -s conftest.one && test -s conftest.two &&
3657: test -s conftest.dir/conftest.one &&
3658: test -s conftest.dir/conftest.two
3659: then
3660: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3661: break 3
3662: fi
3663: fi
3664: fi
3665: done
3666: done
3667: ;;
3668: esac
3669:
3670: done
3671: IFS=$as_save_IFS
3672:
3673: rm -rf conftest.one conftest.two conftest.dir
3674:
3675: fi
3676: if test "${ac_cv_path_install+set}" = set; then
3677: INSTALL=$ac_cv_path_install
3678: else
3679: # As a last resort, use the slow shell script. Don't cache a
3680: # value for INSTALL within a source directory, because that will
3681: # break other packages using the cache if that directory is
3682: # removed, or if the value is a relative name.
3683: INSTALL=$ac_install_sh
3684: fi
3685: fi
3686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3687: $as_echo "$INSTALL" >&6; }
3688:
3689: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3690: # It thinks the first close brace ends the variable substitution.
3691: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3692:
3693: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3694:
3695: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3696:
3697: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3698: $as_echo_n "checking whether build environment is sane... " >&6; }
3699: # Reject unsafe characters in $srcdir or the absolute working directory
3700: # name. Accept space and tab only in the latter.
3701: am_lf='
3702: '
3703: case `pwd` in
3704: *[\\\"\#\$\&\'\`$am_lf]*)
3705: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3706: esac
3707: case $srcdir in
3708: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3709: as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3710: esac
3711:
3712: # Do 'set' in a subshell so we don't clobber the current shell's
3713: # arguments. Must try -L first in case configure is actually a
3714: # symlink; some systems play weird games with the mod time of symlinks
3715: # (eg FreeBSD returns the mod time of the symlink's containing
3716: # directory).
3717: if (
3718: am_has_slept=no
3719: for am_try in 1 2; do
3720: echo "timestamp, slept: $am_has_slept" > conftest.file
3721: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3722: if test "$*" = "X"; then
3723: # -L didn't work.
3724: set X `ls -t "$srcdir/configure" conftest.file`
3725: fi
3726: if test "$*" != "X $srcdir/configure conftest.file" \
3727: && test "$*" != "X conftest.file $srcdir/configure"; then
3728:
3729: # If neither matched, then we have a broken ls. This can happen
3730: # if, for instance, CONFIG_SHELL is bash and it inherits a
3731: # broken ls alias from the environment. This has actually
3732: # happened. Such a system could not be considered "sane".
3733: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3734: alias in your environment" "$LINENO" 5
3735: fi
3736: if test "$2" = conftest.file || test $am_try -eq 2; then
3737: break
3738: fi
3739: # Just in case.
3740: sleep 1
3741: am_has_slept=yes
3742: done
3743: test "$2" = conftest.file
3744: )
3745: then
3746: # Ok.
3747: :
3748: else
3749: as_fn_error $? "newly created file is older than distributed files!
3750: Check your system clock" "$LINENO" 5
3751: fi
3752: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3753: $as_echo "yes" >&6; }
3754: # If we didn't sleep, we still need to ensure time stamps of config.status and
3755: # generated files are strictly newer.
3756: am_sleep_pid=
3757: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3758: ( sleep 1 ) &
3759: am_sleep_pid=$!
3760: fi
3761:
3762: rm -f conftest.file
3763:
3764: test "$program_prefix" != NONE &&
3765: program_transform_name="s&^&$program_prefix&;$program_transform_name"
3766: # Use a double $ so make ignores it.
3767: test "$program_suffix" != NONE &&
3768: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3769: # Double any \ or $.
3770: # By default was `s,x,x', remove it if useless.
3771: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3772: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3773:
3774: # Expand $ac_aux_dir to an absolute path.
3775: am_aux_dir=`cd "$ac_aux_dir" && pwd`
3776:
3777: if test x"${MISSING+set}" != xset; then
3778: case $am_aux_dir in
3779: *\ * | *\ *)
3780: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3781: *)
3782: MISSING="\${SHELL} $am_aux_dir/missing" ;;
3783: esac
3784: fi
3785: # Use eval to expand $SHELL
3786: if eval "$MISSING --is-lightweight"; then
3787: am_missing_run="$MISSING "
3788: else
3789: am_missing_run=
3790: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3791: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3792: fi
3793:
3794: if test x"${install_sh+set}" != xset; then
3795: case $am_aux_dir in
3796: *\ * | *\ *)
3797: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3798: *)
3799: install_sh="\${SHELL} $am_aux_dir/install-sh"
3800: esac
3801: fi
3802:
3803: # Installed binaries are usually stripped using 'strip' when the user
3804: # run "make install-strip". However 'strip' might not be the right
3805: # tool to use in cross-compilation environments, therefore Automake
3806: # will honor the 'STRIP' environment variable to overrule this program.
3807: if test "$cross_compiling" != no; then
3808: if test -n "$ac_tool_prefix"; then
3809: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3810: set dummy ${ac_tool_prefix}strip; ac_word=$2
3811: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3812: $as_echo_n "checking for $ac_word... " >&6; }
3813: if ${ac_cv_prog_STRIP+:} false; then :
3814: $as_echo_n "(cached) " >&6
3815: else
3816: if test -n "$STRIP"; then
3817: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3818: else
3819: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820: for as_dir in $PATH
3821: do
3822: IFS=$as_save_IFS
3823: test -z "$as_dir" && as_dir=.
3824: for ac_exec_ext in '' $ac_executable_extensions; do
3825: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3827: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3828: break 2
3829: fi
3830: done
3831: done
3832: IFS=$as_save_IFS
3833:
3834: fi
3835: fi
3836: STRIP=$ac_cv_prog_STRIP
3837: if test -n "$STRIP"; then
3838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3839: $as_echo "$STRIP" >&6; }
3840: else
3841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3842: $as_echo "no" >&6; }
3843: fi
3844:
3845:
3846: fi
3847: if test -z "$ac_cv_prog_STRIP"; then
3848: ac_ct_STRIP=$STRIP
3849: # Extract the first word of "strip", so it can be a program name with args.
3850: set dummy strip; ac_word=$2
3851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852: $as_echo_n "checking for $ac_word... " >&6; }
3853: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3854: $as_echo_n "(cached) " >&6
3855: else
3856: if test -n "$ac_ct_STRIP"; then
3857: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3858: else
3859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3860: for as_dir in $PATH
3861: do
3862: IFS=$as_save_IFS
3863: test -z "$as_dir" && as_dir=.
3864: for ac_exec_ext in '' $ac_executable_extensions; do
3865: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3866: ac_cv_prog_ac_ct_STRIP="strip"
3867: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3868: break 2
3869: fi
3870: done
3871: done
3872: IFS=$as_save_IFS
3873:
3874: fi
3875: fi
3876: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3877: if test -n "$ac_ct_STRIP"; then
3878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3879: $as_echo "$ac_ct_STRIP" >&6; }
3880: else
3881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882: $as_echo "no" >&6; }
3883: fi
3884:
3885: if test "x$ac_ct_STRIP" = x; then
3886: STRIP=":"
3887: else
3888: case $cross_compiling:$ac_tool_warned in
3889: yes:)
3890: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3891: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3892: ac_tool_warned=yes ;;
3893: esac
3894: STRIP=$ac_ct_STRIP
3895: fi
3896: else
3897: STRIP="$ac_cv_prog_STRIP"
3898: fi
3899:
3900: fi
3901: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3902:
3903: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3904: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3905: if test -z "$MKDIR_P"; then
3906: if ${ac_cv_path_mkdir+:} false; then :
3907: $as_echo_n "(cached) " >&6
3908: else
3909: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3911: do
3912: IFS=$as_save_IFS
3913: test -z "$as_dir" && as_dir=.
3914: for ac_prog in mkdir gmkdir; do
3915: for ac_exec_ext in '' $ac_executable_extensions; do
3916: as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3917: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3918: 'mkdir (GNU coreutils) '* | \
3919: 'mkdir (coreutils) '* | \
3920: 'mkdir (fileutils) '4.1*)
3921: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3922: break 3;;
3923: esac
3924: done
3925: done
3926: done
3927: IFS=$as_save_IFS
3928:
3929: fi
3930:
3931: test -d ./--version && rmdir ./--version
3932: if test "${ac_cv_path_mkdir+set}" = set; then
3933: MKDIR_P="$ac_cv_path_mkdir -p"
3934: else
3935: # As a last resort, use the slow shell script. Don't cache a
3936: # value for MKDIR_P within a source directory, because that will
3937: # break other packages using the cache if that directory is
3938: # removed, or if the value is a relative name.
3939: MKDIR_P="$ac_install_sh -d"
3940: fi
3941: fi
3942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3943: $as_echo "$MKDIR_P" >&6; }
3944:
3945: for ac_prog in gawk mawk nawk awk
3946: do
3947: # Extract the first word of "$ac_prog", so it can be a program name with args.
3948: set dummy $ac_prog; ac_word=$2
3949: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950: $as_echo_n "checking for $ac_word... " >&6; }
3951: if ${ac_cv_prog_AWK+:} false; then :
3952: $as_echo_n "(cached) " >&6
3953: else
3954: if test -n "$AWK"; then
3955: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3956: else
3957: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958: for as_dir in $PATH
3959: do
3960: IFS=$as_save_IFS
3961: test -z "$as_dir" && as_dir=.
3962: for ac_exec_ext in '' $ac_executable_extensions; do
3963: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964: ac_cv_prog_AWK="$ac_prog"
3965: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966: break 2
3967: fi
3968: done
3969: done
3970: IFS=$as_save_IFS
3971:
3972: fi
3973: fi
3974: AWK=$ac_cv_prog_AWK
3975: if test -n "$AWK"; then
3976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3977: $as_echo "$AWK" >&6; }
3978: else
3979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980: $as_echo "no" >&6; }
3981: fi
3982:
3983:
3984: test -n "$AWK" && break
3985: done
3986:
3987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3988: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3989: set x ${MAKE-make}
3990: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3991: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3992: $as_echo_n "(cached) " >&6
3993: else
3994: cat >conftest.make <<\_ACEOF
3995: SHELL = /bin/sh
3996: all:
3997: @echo '@@@%%%=$(MAKE)=@@@%%%'
3998: _ACEOF
3999: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4000: case `${MAKE-make} -f conftest.make 2>/dev/null` in
4001: *@@@%%%=?*=@@@%%%*)
4002: eval ac_cv_prog_make_${ac_make}_set=yes;;
4003: *)
4004: eval ac_cv_prog_make_${ac_make}_set=no;;
4005: esac
4006: rm -f conftest.make
4007: fi
4008: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010: $as_echo "yes" >&6; }
4011: SET_MAKE=
4012: else
4013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014: $as_echo "no" >&6; }
4015: SET_MAKE="MAKE=${MAKE-make}"
4016: fi
4017:
4018: rm -rf .tst 2>/dev/null
4019: mkdir .tst 2>/dev/null
4020: if test -d .tst; then
4021: am__leading_dot=.
4022: else
4023: am__leading_dot=_
4024: fi
4025: rmdir .tst 2>/dev/null
4026:
4027: # Check whether --enable-silent-rules was given.
4028: if test "${enable_silent_rules+set}" = set; then :
4029: enableval=$enable_silent_rules;
4030: fi
4031:
4032: case $enable_silent_rules in # (((
4033: yes) AM_DEFAULT_VERBOSITY=0;;
4034: no) AM_DEFAULT_VERBOSITY=1;;
4035: *) AM_DEFAULT_VERBOSITY=1;;
4036: esac
4037: am_make=${MAKE-make}
4038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4039: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4040: if ${am_cv_make_support_nested_variables+:} false; then :
4041: $as_echo_n "(cached) " >&6
4042: else
4043: if $as_echo 'TRUE=$(BAR$(V))
4044: BAR0=false
4045: BAR1=true
4046: V=1
4047: am__doit:
4048: @$(TRUE)
4049: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4050: am_cv_make_support_nested_variables=yes
4051: else
4052: am_cv_make_support_nested_variables=no
4053: fi
4054: fi
4055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4056: $as_echo "$am_cv_make_support_nested_variables" >&6; }
4057: if test $am_cv_make_support_nested_variables = yes; then
4058: AM_V='$(V)'
4059: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4060: else
4061: AM_V=$AM_DEFAULT_VERBOSITY
4062: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4063: fi
4064: AM_BACKSLASH='\'
4065:
4066: if test "`cd $srcdir && pwd`" != "`pwd`"; then
4067: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4068: # is not polluted with repeated "-I."
4069: am__isrc=' -I$(srcdir)'
4070: # test to see if srcdir already configured
4071: if test -f $srcdir/config.status; then
4072: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4073: fi
4074: fi
4075:
4076: # test whether we have cygpath
4077: if test -z "$CYGPATH_W"; then
4078: if (cygpath --version) >/dev/null 2>/dev/null; then
4079: CYGPATH_W='cygpath -w'
4080: else
4081: CYGPATH_W=echo
4082: fi
4083: fi
4084:
4085:
4086: # Define the identity of the package.
4087: PACKAGE='strongswan'
4088: VERSION='5.8.4'
4089:
4090:
4091: cat >>confdefs.h <<_ACEOF
4092: #define PACKAGE "$PACKAGE"
4093: _ACEOF
4094:
4095:
4096: cat >>confdefs.h <<_ACEOF
4097: #define VERSION "$VERSION"
4098: _ACEOF
4099:
4100: # Some tools Automake needs.
4101:
4102: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4103:
4104:
4105: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4106:
4107:
4108: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4109:
4110:
4111: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4112:
4113:
4114: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4115:
4116: # For better backward compatibility. To be removed once Automake 1.9.x
4117: # dies out for good. For more background, see:
4118: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4119: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4120: mkdir_p='$(MKDIR_P)'
4121:
4122: # We need awk for the "check" target (and possibly the TAP driver). The
4123: # system "awk" is bad on some platforms.
4124: # Always define AMTAR for backward compatibility. Yes, it's still used
4125: # in the wild :-( We should find a proper way to deprecate it ...
4126: AMTAR='$${TAR-tar}'
4127:
4128:
4129: # We'll loop over all known methods to create a tar archive until one works.
4130: _am_tools='gnutar plaintar pax cpio none'
4131:
4132: # The POSIX 1988 'ustar' format is defined with fixed-size fields.
4133: # There is notably a 21 bits limit for the UID and the GID. In fact,
4134: # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4135: # and bug#13588).
4136: am_max_uid=2097151 # 2^21 - 1
4137: am_max_gid=$am_max_uid
4138: # The $UID and $GID variables are not portable, so we need to resort
4139: # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
4140: # below are definitely unexpected, so allow the users to see them
4141: # (that is, avoid stderr redirection).
4142: am_uid=`id -u || echo unknown`
4143: am_gid=`id -g || echo unknown`
4144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4145: $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4146: if test $am_uid -le $am_max_uid; then
4147: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4148: $as_echo "yes" >&6; }
4149: else
4150: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151: $as_echo "no" >&6; }
4152: _am_tools=none
4153: fi
4154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4155: $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4156: if test $am_gid -le $am_max_gid; then
4157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4158: $as_echo "yes" >&6; }
4159: else
4160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4161: $as_echo "no" >&6; }
4162: _am_tools=none
4163: fi
4164:
4165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4166: $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4167:
4168: # Go ahead even if we have the value already cached. We do so because we
4169: # need to set the values for the 'am__tar' and 'am__untar' variables.
4170: _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4171:
4172: for _am_tool in $_am_tools; do
4173: case $_am_tool in
4174: gnutar)
4175: for _am_tar in tar gnutar gtar; do
4176: { echo "$as_me:$LINENO: $_am_tar --version" >&5
4177: ($_am_tar --version) >&5 2>&5
4178: ac_status=$?
4179: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180: (exit $ac_status); } && break
4181: done
4182: am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4183: am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4184: am__untar="$_am_tar -xf -"
4185: ;;
4186: plaintar)
4187: # Must skip GNU tar: if it does not support --format= it doesn't create
4188: # ustar tarball either.
4189: (tar --version) >/dev/null 2>&1 && continue
4190: am__tar='tar chf - "$$tardir"'
4191: am__tar_='tar chf - "$tardir"'
4192: am__untar='tar xf -'
4193: ;;
4194: pax)
4195: am__tar='pax -L -x ustar -w "$$tardir"'
4196: am__tar_='pax -L -x ustar -w "$tardir"'
4197: am__untar='pax -r'
4198: ;;
4199: cpio)
4200: am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4201: am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4202: am__untar='cpio -i -H ustar -d'
4203: ;;
4204: none)
4205: am__tar=false
4206: am__tar_=false
4207: am__untar=false
4208: ;;
4209: esac
4210:
4211: # If the value was cached, stop now. We just wanted to have am__tar
4212: # and am__untar set.
4213: test -n "${am_cv_prog_tar_ustar}" && break
4214:
4215: # tar/untar a dummy directory, and stop if the command works.
4216: rm -rf conftest.dir
4217: mkdir conftest.dir
4218: echo GrepMe > conftest.dir/file
4219: { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4220: (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4221: ac_status=$?
4222: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223: (exit $ac_status); }
4224: rm -rf conftest.dir
4225: if test -s conftest.tar; then
4226: { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4227: ($am__untar <conftest.tar) >&5 2>&5
4228: ac_status=$?
4229: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4230: (exit $ac_status); }
4231: { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4232: (cat conftest.dir/file) >&5 2>&5
4233: ac_status=$?
4234: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235: (exit $ac_status); }
4236: grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4237: fi
4238: done
4239: rm -rf conftest.dir
4240:
4241: if ${am_cv_prog_tar_ustar+:} false; then :
4242: $as_echo_n "(cached) " >&6
4243: else
4244: am_cv_prog_tar_ustar=$_am_tool
4245: fi
4246:
4247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4248: $as_echo "$am_cv_prog_tar_ustar" >&6; }
4249:
4250:
4251:
4252:
4253:
4254:
4255: # POSIX will say in a future version that running "rm -f" with no argument
4256: # is OK; and we want to be able to make that assumption in our Makefile
4257: # recipes. So use an aggressive probe to check that the usage we want is
4258: # actually supported "in the wild" to an acceptable degree.
4259: # See automake bug#10828.
4260: # To make any issue more visible, cause the running configure to be aborted
4261: # by default if the 'rm' program in use doesn't match our expectations; the
4262: # user can still override this though.
4263: if rm -f && rm -fr && rm -rf; then : OK; else
4264: cat >&2 <<'END'
4265: Oops!
4266:
4267: Your 'rm' program seems unable to run without file operands specified
4268: on the command line, even when the '-f' option is present. This is contrary
4269: to the behaviour of most rm programs out there, and not conforming with
4270: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4271:
4272: Please tell bug-automake@gnu.org about your system, including the value
4273: of your $PATH and any error possibly output before this message. This
4274: can help us improve future automake versions.
4275:
4276: END
4277: if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4278: echo 'Configuration will proceed anyway, since you have set the' >&2
4279: echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4280: echo >&2
4281: else
4282: cat >&2 <<'END'
4283: Aborting the configuration process, to ensure you take notice of the issue.
4284:
4285: You can download and install GNU coreutils to get an 'rm' implementation
4286: that behaves properly: <http://www.gnu.org/software/coreutils/>.
4287:
4288: If you want to complete the configuration process using your problematic
4289: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4290: to "yes", and re-run configure.
4291:
4292: END
4293: as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4294: fi
4295: fi
4296:
4297: # Check whether --enable-silent-rules was given.
4298: if test "${enable_silent_rules+set}" = set; then :
4299: enableval=$enable_silent_rules;
4300: fi
4301:
4302: case $enable_silent_rules in # (((
4303: yes) AM_DEFAULT_VERBOSITY=0;;
4304: no) AM_DEFAULT_VERBOSITY=1;;
4305: *) AM_DEFAULT_VERBOSITY=1;;
4306: esac
4307: am_make=${MAKE-make}
4308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4309: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4310: if ${am_cv_make_support_nested_variables+:} false; then :
4311: $as_echo_n "(cached) " >&6
4312: else
4313: if $as_echo 'TRUE=$(BAR$(V))
4314: BAR0=false
4315: BAR1=true
4316: V=1
4317: am__doit:
4318: @$(TRUE)
4319: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4320: am_cv_make_support_nested_variables=yes
4321: else
4322: am_cv_make_support_nested_variables=no
4323: fi
4324: fi
4325: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4326: $as_echo "$am_cv_make_support_nested_variables" >&6; }
4327: if test $am_cv_make_support_nested_variables = yes; then
4328: AM_V='$(V)'
4329: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4330: else
4331: AM_V=$AM_DEFAULT_VERBOSITY
4332: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4333: fi
4334: AM_BACKSLASH='\'
4335:
4336:
4337: ac_config_headers="$ac_config_headers config.h"
4338:
4339:
4340: $as_echo "#define CONFIG_H_INCLUDED /**/" >>confdefs.h
4341:
4342: # Check whether --enable-static was given.
4343: if test "${enable_static+set}" = set; then :
4344: enableval=$enable_static; p=${PACKAGE-default}
4345: case $enableval in
4346: yes) enable_static=yes ;;
4347: no) enable_static=no ;;
4348: *)
4349: enable_static=no
4350: # Look at the argument we got. We use all the common list separators.
4351: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4352: for pkg in $enableval; do
4353: IFS=$lt_save_ifs
4354: if test "X$pkg" = "X$p"; then
4355: enable_static=yes
4356: fi
4357: done
4358: IFS=$lt_save_ifs
4359: ;;
4360: esac
4361: else
4362: enable_static=no
4363: fi
4364:
4365:
4366:
4367:
4368:
4369:
4370:
4371:
4372:
4373:
4374:
4375:
4376:
4377:
4378:
4379:
4380: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4381: if test -n "$ac_tool_prefix"; then
4382: # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4383: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4385: $as_echo_n "checking for $ac_word... " >&6; }
4386: if ${ac_cv_path_PKG_CONFIG+:} false; then :
4387: $as_echo_n "(cached) " >&6
4388: else
4389: case $PKG_CONFIG in
4390: [\\/]* | ?:[\\/]*)
4391: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4392: ;;
4393: *)
4394: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395: for as_dir in $PATH
4396: do
4397: IFS=$as_save_IFS
4398: test -z "$as_dir" && as_dir=.
4399: for ac_exec_ext in '' $ac_executable_extensions; do
4400: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4401: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4402: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403: break 2
4404: fi
4405: done
4406: done
4407: IFS=$as_save_IFS
4408:
4409: ;;
4410: esac
4411: fi
4412: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4413: if test -n "$PKG_CONFIG"; then
4414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4415: $as_echo "$PKG_CONFIG" >&6; }
4416: else
4417: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418: $as_echo "no" >&6; }
4419: fi
4420:
4421:
4422: fi
4423: if test -z "$ac_cv_path_PKG_CONFIG"; then
4424: ac_pt_PKG_CONFIG=$PKG_CONFIG
4425: # Extract the first word of "pkg-config", so it can be a program name with args.
4426: set dummy pkg-config; ac_word=$2
4427: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428: $as_echo_n "checking for $ac_word... " >&6; }
4429: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4430: $as_echo_n "(cached) " >&6
4431: else
4432: case $ac_pt_PKG_CONFIG in
4433: [\\/]* | ?:[\\/]*)
4434: ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4435: ;;
4436: *)
4437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438: for as_dir in $PATH
4439: do
4440: IFS=$as_save_IFS
4441: test -z "$as_dir" && as_dir=.
4442: for ac_exec_ext in '' $ac_executable_extensions; do
4443: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4444: ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4445: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4446: break 2
4447: fi
4448: done
4449: done
4450: IFS=$as_save_IFS
4451:
4452: ;;
4453: esac
4454: fi
4455: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4456: if test -n "$ac_pt_PKG_CONFIG"; then
4457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4458: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4459: else
4460: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461: $as_echo "no" >&6; }
4462: fi
4463:
4464: if test "x$ac_pt_PKG_CONFIG" = x; then
4465: PKG_CONFIG=""
4466: else
4467: case $cross_compiling:$ac_tool_warned in
4468: yes:)
4469: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471: ac_tool_warned=yes ;;
4472: esac
4473: PKG_CONFIG=$ac_pt_PKG_CONFIG
4474: fi
4475: else
4476: PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4477: fi
4478:
4479: fi
4480: if test -n "$PKG_CONFIG"; then
4481: _pkg_min_version=0.9.0
4482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4483: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4484: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4486: $as_echo "yes" >&6; }
4487: else
4488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489: $as_echo "no" >&6; }
4490: PKG_CONFIG=""
4491: fi
4492: fi
4493:
4494: # SPLIT_PACKAGE_VERSION
4495: # ---------------------------
4496: # Split package version in four parts
4497:
4498:
4499:
4500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4501: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4502: if ${ac_cv_path_SED+:} false; then :
4503: $as_echo_n "(cached) " >&6
4504: else
4505: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4506: for ac_i in 1 2 3 4 5 6 7; do
4507: ac_script="$ac_script$as_nl$ac_script"
4508: done
4509: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4510: { ac_script=; unset ac_script;}
4511: if test -z "$SED"; then
4512: ac_path_SED_found=false
4513: # Loop through the user's path and test for each of PROGNAME-LIST
4514: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4515: for as_dir in $PATH
4516: do
4517: IFS=$as_save_IFS
4518: test -z "$as_dir" && as_dir=.
4519: for ac_prog in sed gsed; do
4520: for ac_exec_ext in '' $ac_executable_extensions; do
4521: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4522: as_fn_executable_p "$ac_path_SED" || continue
4523: # Check for GNU ac_path_SED and select it if it is found.
4524: # Check for GNU $ac_path_SED
4525: case `"$ac_path_SED" --version 2>&1` in
4526: *GNU*)
4527: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4528: *)
4529: ac_count=0
4530: $as_echo_n 0123456789 >"conftest.in"
4531: while :
4532: do
4533: cat "conftest.in" "conftest.in" >"conftest.tmp"
4534: mv "conftest.tmp" "conftest.in"
4535: cp "conftest.in" "conftest.nl"
4536: $as_echo '' >> "conftest.nl"
4537: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4538: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4539: as_fn_arith $ac_count + 1 && ac_count=$as_val
4540: if test $ac_count -gt ${ac_path_SED_max-0}; then
4541: # Best one so far, save it but keep looking for a better one
4542: ac_cv_path_SED="$ac_path_SED"
4543: ac_path_SED_max=$ac_count
4544: fi
4545: # 10*(2^10) chars as input seems more than enough
4546: test $ac_count -gt 10 && break
4547: done
4548: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4549: esac
4550:
4551: $ac_path_SED_found && break 3
4552: done
4553: done
4554: done
4555: IFS=$as_save_IFS
4556: if test -z "$ac_cv_path_SED"; then
4557: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4558: fi
4559: else
4560: ac_cv_path_SED=$SED
4561: fi
4562:
4563: fi
4564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4565: $as_echo "$ac_cv_path_SED" >&6; }
4566: SED="$ac_cv_path_SED"
4567: rm -f conftest.sed
4568:
4569:
4570:
4571: PACKAGE_VERSION_MAJOR=`echo "$PACKAGE_VERSION" | $SED 's/\([0-9]\+\).*/\1/'`
4572: PACKAGE_VERSION_MINOR=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.\([0-9]\+\).*/\1/'`
4573: PACKAGE_VERSION_BUILD=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.\([0-9]\+\).*/\1/'`
4574: PACKAGE_VERSION_REVIEW=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`
4575:
4576:
4577:
4578:
4579:
4580:
4581:
4582: # =================================
4583: # check --enable-xxx & --with-xxx
4584: # =================================
4585:
4586:
4587: # ARG_WITH_SUBST(option, default, help)
4588: # -----------------------------------
4589: # Create a --with-$1 option with helptext, AC_SUBST($1) to $withval/default
4590:
4591:
4592: # ARG_WITH_SET(option, default, help)
4593: # -----------------------------------
4594: # Create a --with-$1 option with helptext, set a variable $1 to $withval/default
4595:
4596:
4597:
4598:
4599: # Check whether --with-random-device was given.
4600: if test "${with_random_device+set}" = set; then :
4601: withval=$with_random_device; random_device="$withval"
4602:
4603: else
4604: random_device="/dev/random"
4605:
4606:
4607: fi
4608:
4609:
4610:
4611: # Check whether --with-urandom-device was given.
4612: if test "${with_urandom_device+set}" = set; then :
4613: withval=$with_urandom_device; urandom_device="$withval"
4614:
4615: else
4616: urandom_device="/dev/urandom"
4617:
4618:
4619: fi
4620:
4621:
4622:
4623: # Check whether --with-strongswan-conf was given.
4624: if test "${with_strongswan_conf+set}" = set; then :
4625: withval=$with_strongswan_conf; strongswan_conf="$withval"
4626:
4627: else
4628: strongswan_conf="${sysconfdir}/strongswan.conf"
4629:
4630:
4631: fi
4632:
4633:
4634:
4635: # Check whether --with-resolv-conf was given.
4636: if test "${with_resolv_conf+set}" = set; then :
4637: withval=$with_resolv_conf; resolv_conf="$withval"
4638:
4639: else
4640: resolv_conf="${sysconfdir}/resolv.conf"
4641:
4642:
4643: fi
4644:
4645:
4646:
4647: # Check whether --with-piddir was given.
4648: if test "${with_piddir+set}" = set; then :
4649: withval=$with_piddir; piddir="$withval"
4650:
4651: else
4652: piddir="/var/run"
4653:
4654:
4655: fi
4656:
4657:
4658:
4659: # Check whether --with-ipsecdir was given.
4660: if test "${with_ipsecdir+set}" = set; then :
4661: withval=$with_ipsecdir; ipsecdir="$withval"
4662:
4663: else
4664: ipsecdir="${libexecdir%/}/ipsec"
4665:
4666:
4667: fi
4668:
4669:
4670:
4671: # Check whether --with-ipseclibdir was given.
4672: if test "${with_ipseclibdir+set}" = set; then :
4673: withval=$with_ipseclibdir; ipseclibdir="$withval"
4674:
4675: else
4676: ipseclibdir="${libdir%/}/ipsec"
4677:
4678:
4679: fi
4680:
4681:
4682:
4683: # Check whether --with-plugindir was given.
4684: if test "${with_plugindir+set}" = set; then :
4685: withval=$with_plugindir; plugindir="$withval"
4686:
4687: else
4688: plugindir="${ipseclibdir%/}/plugins"
4689:
4690:
4691: fi
4692:
4693:
4694:
4695: # Check whether --with-imcvdir was given.
4696: if test "${with_imcvdir+set}" = set; then :
4697: withval=$with_imcvdir; imcvdir="$withval"
4698:
4699: else
4700: imcvdir="${ipseclibdir%/}/imcvs"
4701:
4702:
4703: fi
4704:
4705:
4706:
4707: # Check whether --with-nm-ca-dir was given.
4708: if test "${with_nm_ca_dir+set}" = set; then :
4709: withval=$with_nm_ca_dir; nm_ca_dir="$withval"
4710:
4711: else
4712: nm_ca_dir="/usr/share/ca-certificates"
4713:
4714:
4715: fi
4716:
4717:
4718:
4719: # Check whether --with-swanctldir was given.
4720: if test "${with_swanctldir+set}" = set; then :
4721: withval=$with_swanctldir; swanctldir="$withval"
4722:
4723: else
4724: swanctldir="${sysconfdir}/swanctl"
4725:
4726:
4727: fi
4728:
4729:
4730:
4731: # Check whether --with-linux-headers was given.
4732: if test "${with_linux_headers+set}" = set; then :
4733: withval=$with_linux_headers; linux_headers="$withval"
4734:
4735: else
4736: linux_headers="\${top_srcdir}/src/include"
4737:
4738:
4739: fi
4740:
4741:
4742:
4743: # Check whether --with-routing-table was given.
4744: if test "${with_routing_table+set}" = set; then :
4745: withval=$with_routing_table; routing_table="$withval"
4746:
4747: else
4748: routing_table="220"
4749:
4750:
4751: fi
4752:
4753:
4754:
4755: # Check whether --with-routing-table-prio was given.
4756: if test "${with_routing_table_prio+set}" = set; then :
4757: withval=$with_routing_table_prio; routing_table_prio="$withval"
4758:
4759: else
4760: routing_table_prio="220"
4761:
4762:
4763: fi
4764:
4765:
4766:
4767: # Check whether --with-ipsec-script was given.
4768: if test "${with_ipsec_script+set}" = set; then :
4769: withval=$with_ipsec_script; ipsec_script="$withval"
4770:
4771: else
4772: ipsec_script="ipsec"
4773:
4774:
4775: fi
4776:
4777:
4778:
4779: # Check whether --with-fips-mode was given.
4780: if test "${with_fips_mode+set}" = set; then :
4781: withval=$with_fips_mode; fips_mode="$withval"
4782:
4783: else
4784: fips_mode="0"
4785:
4786:
4787: fi
4788:
4789:
4790:
4791: # Check whether --with-libfuzzer was given.
4792: if test "${with_libfuzzer+set}" = set; then :
4793: withval=$with_libfuzzer; libfuzzer="$withval"
4794:
4795: else
4796: libfuzzer=""
4797:
4798:
4799: fi
4800:
4801:
4802:
4803: # Check whether --with-capabilities was given.
4804: if test "${with_capabilities+set}" = set; then :
4805: withval=$with_capabilities; capabilities="$withval"
4806: else
4807: capabilities=no
4808:
4809: fi
4810:
4811:
4812:
4813: # Check whether --with-mpz_powm_sec was given.
4814: if test "${with_mpz_powm_sec+set}" = set; then :
4815: withval=$with_mpz_powm_sec; mpz_powm_sec="$withval"
4816: else
4817: mpz_powm_sec=yes
4818:
4819: fi
4820:
4821:
4822:
4823: # Check whether --with-dev-headers was given.
4824: if test "${with_dev_headers+set}" = set; then :
4825: withval=$with_dev_headers; dev_headers="$withval"
4826: else
4827: dev_headers=no
4828:
4829: fi
4830:
4831:
4832:
4833: # Check whether --with-printf-hooks was given.
4834: if test "${with_printf_hooks+set}" = set; then :
4835: withval=$with_printf_hooks; printf_hooks="$withval"
4836: else
4837: printf_hooks=auto
4838:
4839: fi
4840:
4841:
4842:
4843: # Check whether --with-rubygemdir was given.
4844: if test "${with_rubygemdir+set}" = set; then :
4845: withval=$with_rubygemdir; rubygemdir="$withval"
4846: else
4847: rubygemdir="gem environment gemdir"
4848:
4849: fi
4850:
4851:
4852:
4853: # Check whether --with-pythoneggdir was given.
4854: if test "${with_pythoneggdir+set}" = set; then :
4855: withval=$with_pythoneggdir; pythoneggdir="$withval"
4856: else
4857: pythoneggdir="main site-packages directory"
4858:
4859: fi
4860:
4861:
4862:
4863: if test -n "$PKG_CONFIG"; then
4864: systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4865: fi
4866:
4867: # Check whether --with-systemdsystemunitdir was given.
4868: if test "${with_systemdsystemunitdir+set}" = set; then :
4869: withval=$with_systemdsystemunitdir; systemdsystemunitdir="$withval"
4870: else
4871: systemdsystemunitdir=$systemdsystemunitdir_default
4872:
4873: fi
4874:
4875:
4876:
4877:
4878:
4879: # Check whether --with-dbuspolicydir was given.
4880: if test "${with_dbuspolicydir+set}" = set; then :
4881: withval=$with_dbuspolicydir; dbuspolicydir="$withval"
4882: else
4883:
4884: if test -n "$dbusdatadir"; then
4885: pkg_cv_dbusdatadir="$dbusdatadir"
4886: elif test -n "$PKG_CONFIG"; then
4887: if test -n "$PKG_CONFIG" && \
4888: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4889: ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4890: ac_status=$?
4891: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892: test $ac_status = 0; }; then
4893: pkg_cv_dbusdatadir=`$PKG_CONFIG --variable="datadir" "dbus-1" 2>/dev/null`
4894: test "x$?" != "x0" && pkg_failed=yes
4895: else
4896: pkg_failed=yes
4897: fi
4898: else
4899: pkg_failed=untried
4900: fi
4901: dbusdatadir=$pkg_cv_dbusdatadir
4902:
4903: if test "x$dbusdatadir" = x""; then :
4904: dbusdatadir="${datarootdir}"
4905: fi
4906: dbuspolicydir="${dbusdatadir}/dbus-1/system.d"
4907:
4908: fi
4909:
4910:
4911:
4912:
4913: # Check whether --with-user was given.
4914: if test "${with_user+set}" = set; then :
4915: withval=$with_user;
4916: cat >>confdefs.h <<_ACEOF
4917: #define IPSEC_USER "$withval"
4918: _ACEOF
4919:
4920: ipsecuser="$withval"
4921:
4922: else
4923: ipsecuser="root"
4924:
4925:
4926: fi
4927:
4928:
4929:
4930: # Check whether --with-group was given.
4931: if test "${with_group+set}" = set; then :
4932: withval=$with_group;
4933: cat >>confdefs.h <<_ACEOF
4934: #define IPSEC_GROUP "$withval"
4935: _ACEOF
4936:
4937: ipsecgroup="$withval"
4938:
4939: else
4940: ipsecgroup="root"
4941:
4942:
4943: fi
4944:
4945:
4946:
4947: # Check whether --with-charon-udp-port was given.
4948: if test "${with_charon_udp_port+set}" = set; then :
4949: withval=$with_charon_udp_port;
4950: cat >>confdefs.h <<_ACEOF
4951: #define CHARON_UDP_PORT $withval
4952: _ACEOF
4953:
4954: charon_udp_port=$withval
4955:
4956: else
4957: charon_udp_port=500
4958:
4959:
4960: fi
4961:
4962:
4963:
4964: # Check whether --with-charon-natt-port was given.
4965: if test "${with_charon_natt_port+set}" = set; then :
4966: withval=$with_charon_natt_port;
4967: cat >>confdefs.h <<_ACEOF
4968: #define CHARON_NATT_PORT $withval
4969: _ACEOF
4970:
4971: charon_natt_port=$withval
4972:
4973: else
4974: charon_natt_port=4500
4975:
4976:
4977: fi
4978:
4979:
4980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured UDP ports ($charon_udp_port, $charon_natt_port)" >&5
4981: $as_echo_n "checking configured UDP ports ($charon_udp_port, $charon_natt_port)... " >&6; }
4982: if test x$charon_udp_port != x0 -a x$charon_udp_port = x$charon_natt_port; then
4983: as_fn_error $? "the ports have to be different" "$LINENO" 5
4984: else
4985: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4986: $as_echo "ok" >&6; }
4987: fi
4988:
4989: # convert script name to uppercase
4990: ipsec_script_upper=`echo -n "$ipsec_script" | tr a-z A-Z`
4991:
4992:
4993:
4994: # ARG_ENABL_SET(option, help)
4995: # ---------------------------
4996: # Create a --enable-$1 option with helptext, set a variable $1 to true/false
4997: # All $1 are collected in the variable $disabled_by_default
4998:
4999:
5000: # ARG_DISBL_SET(option, help)
5001: # ---------------------------
5002: # Create a --disable-$1 option with helptext, set a variable $1 to true/false
5003: # All $1 are collected in the variable $enabled_by_default
5004:
5005:
5006:
5007: # crypto plugins
5008: # Check whether --enable-aes was given.
5009: if test "${enable_aes+set}" = set; then :
5010: enableval=$enable_aes; aes_given=true
5011: if test x$enableval = xyes; then
5012: aes=true
5013: else
5014: aes=false
5015: fi
5016: else
5017: aes=true
5018: aes_given=false
5019:
5020: fi
5021:
5022: enabled_by_default=${enabled_by_default}" aes"
5023:
5024: # Check whether --enable-af-alg was given.
5025: if test "${enable_af_alg+set}" = set; then :
5026: enableval=$enable_af_alg; af_alg_given=true
5027: if test x$enableval = xyes; then
5028: af_alg=true
5029: else
5030: af_alg=false
5031: fi
5032: else
5033: af_alg=false
5034: af_alg_given=false
5035:
5036: fi
5037:
5038: disabled_by_default=${disabled_by_default}" af_alg"
5039:
5040: # Check whether --enable-bliss was given.
5041: if test "${enable_bliss+set}" = set; then :
5042: enableval=$enable_bliss; bliss_given=true
5043: if test x$enableval = xyes; then
5044: bliss=true
5045: else
5046: bliss=false
5047: fi
5048: else
5049: bliss=false
5050: bliss_given=false
5051:
5052: fi
5053:
5054: disabled_by_default=${disabled_by_default}" bliss"
5055:
5056: # Check whether --enable-blowfish was given.
5057: if test "${enable_blowfish+set}" = set; then :
5058: enableval=$enable_blowfish; blowfish_given=true
5059: if test x$enableval = xyes; then
5060: blowfish=true
5061: else
5062: blowfish=false
5063: fi
5064: else
5065: blowfish=false
5066: blowfish_given=false
5067:
5068: fi
5069:
5070: disabled_by_default=${disabled_by_default}" blowfish"
5071:
5072: # Check whether --enable-botan was given.
5073: if test "${enable_botan+set}" = set; then :
5074: enableval=$enable_botan; botan_given=true
5075: if test x$enableval = xyes; then
5076: botan=true
5077: else
5078: botan=false
5079: fi
5080: else
5081: botan=false
5082: botan_given=false
5083:
5084: fi
5085:
5086: disabled_by_default=${disabled_by_default}" botan"
5087:
5088: # Check whether --enable-ccm was given.
5089: if test "${enable_ccm+set}" = set; then :
5090: enableval=$enable_ccm; ccm_given=true
5091: if test x$enableval = xyes; then
5092: ccm=true
5093: else
5094: ccm=false
5095: fi
5096: else
5097: ccm=false
5098: ccm_given=false
5099:
5100: fi
5101:
5102: disabled_by_default=${disabled_by_default}" ccm"
5103:
5104: # Check whether --enable-chapoly was given.
5105: if test "${enable_chapoly+set}" = set; then :
5106: enableval=$enable_chapoly; chapoly_given=true
5107: if test x$enableval = xyes; then
5108: chapoly=true
5109: else
5110: chapoly=false
5111: fi
5112: else
5113: chapoly=false
5114: chapoly_given=false
5115:
5116: fi
5117:
5118: disabled_by_default=${disabled_by_default}" chapoly"
5119:
5120: # Check whether --enable-cmac was given.
5121: if test "${enable_cmac+set}" = set; then :
5122: enableval=$enable_cmac; cmac_given=true
5123: if test x$enableval = xyes; then
5124: cmac=true
5125: else
5126: cmac=false
5127: fi
5128: else
5129: cmac=true
5130: cmac_given=false
5131:
5132: fi
5133:
5134: enabled_by_default=${enabled_by_default}" cmac"
5135:
5136: # Check whether --enable-ctr was given.
5137: if test "${enable_ctr+set}" = set; then :
5138: enableval=$enable_ctr; ctr_given=true
5139: if test x$enableval = xyes; then
5140: ctr=true
5141: else
5142: ctr=false
5143: fi
5144: else
5145: ctr=false
5146: ctr_given=false
5147:
5148: fi
5149:
5150: disabled_by_default=${disabled_by_default}" ctr"
5151:
5152: # Check whether --enable-des was given.
5153: if test "${enable_des+set}" = set; then :
5154: enableval=$enable_des; des_given=true
5155: if test x$enableval = xyes; then
5156: des=true
5157: else
5158: des=false
5159: fi
5160: else
5161: des=true
5162: des_given=false
5163:
5164: fi
5165:
5166: enabled_by_default=${enabled_by_default}" des"
5167:
5168: # Check whether --enable-drbg was given.
5169: if test "${enable_drbg+set}" = set; then :
5170: enableval=$enable_drbg; drbg_given=true
5171: if test x$enableval = xyes; then
5172: drbg=true
5173: else
5174: drbg=false
5175: fi
5176: else
5177: drbg=true
5178: drbg_given=false
5179:
5180: fi
5181:
5182: enabled_by_default=${enabled_by_default}" drbg"
5183:
5184: # Check whether --enable-fips-prf was given.
5185: if test "${enable_fips_prf+set}" = set; then :
5186: enableval=$enable_fips_prf; fips_prf_given=true
5187: if test x$enableval = xyes; then
5188: fips_prf=true
5189: else
5190: fips_prf=false
5191: fi
5192: else
5193: fips_prf=true
5194: fips_prf_given=false
5195:
5196: fi
5197:
5198: enabled_by_default=${enabled_by_default}" fips_prf"
5199:
5200: # Check whether --enable-gcm was given.
5201: if test "${enable_gcm+set}" = set; then :
5202: enableval=$enable_gcm; gcm_given=true
5203: if test x$enableval = xyes; then
5204: gcm=true
5205: else
5206: gcm=false
5207: fi
5208: else
5209: gcm=false
5210: gcm_given=false
5211:
5212: fi
5213:
5214: disabled_by_default=${disabled_by_default}" gcm"
5215:
5216: # Check whether --enable-gcrypt was given.
5217: if test "${enable_gcrypt+set}" = set; then :
5218: enableval=$enable_gcrypt; gcrypt_given=true
5219: if test x$enableval = xyes; then
5220: gcrypt=true
5221: else
5222: gcrypt=false
5223: fi
5224: else
5225: gcrypt=false
5226: gcrypt_given=false
5227:
5228: fi
5229:
5230: disabled_by_default=${disabled_by_default}" gcrypt"
5231:
5232: # Check whether --enable-gmp was given.
5233: if test "${enable_gmp+set}" = set; then :
5234: enableval=$enable_gmp; gmp_given=true
5235: if test x$enableval = xyes; then
5236: gmp=true
5237: else
5238: gmp=false
5239: fi
5240: else
5241: gmp=true
5242: gmp_given=false
5243:
5244: fi
5245:
5246: enabled_by_default=${enabled_by_default}" gmp"
5247:
5248: # Check whether --enable-curve25519 was given.
5249: if test "${enable_curve25519+set}" = set; then :
5250: enableval=$enable_curve25519; curve25519_given=true
5251: if test x$enableval = xyes; then
5252: curve25519=true
5253: else
5254: curve25519=false
5255: fi
5256: else
5257: curve25519=true
5258: curve25519_given=false
5259:
5260: fi
5261:
5262: enabled_by_default=${enabled_by_default}" curve25519"
5263:
5264: # Check whether --enable-hmac was given.
5265: if test "${enable_hmac+set}" = set; then :
5266: enableval=$enable_hmac; hmac_given=true
5267: if test x$enableval = xyes; then
5268: hmac=true
5269: else
5270: hmac=false
5271: fi
5272: else
5273: hmac=true
5274: hmac_given=false
5275:
5276: fi
5277:
5278: enabled_by_default=${enabled_by_default}" hmac"
5279:
5280: # Check whether --enable-md4 was given.
5281: if test "${enable_md4+set}" = set; then :
5282: enableval=$enable_md4; md4_given=true
5283: if test x$enableval = xyes; then
5284: md4=true
5285: else
5286: md4=false
5287: fi
5288: else
5289: md4=false
5290: md4_given=false
5291:
5292: fi
5293:
5294: disabled_by_default=${disabled_by_default}" md4"
5295:
5296: # Check whether --enable-md5 was given.
5297: if test "${enable_md5+set}" = set; then :
5298: enableval=$enable_md5; md5_given=true
5299: if test x$enableval = xyes; then
5300: md5=true
5301: else
5302: md5=false
5303: fi
5304: else
5305: md5=true
5306: md5_given=false
5307:
5308: fi
5309:
5310: enabled_by_default=${enabled_by_default}" md5"
5311:
5312: # Check whether --enable-mgf1 was given.
5313: if test "${enable_mgf1+set}" = set; then :
5314: enableval=$enable_mgf1; mgf1_given=true
5315: if test x$enableval = xyes; then
5316: mgf1=true
5317: else
5318: mgf1=false
5319: fi
5320: else
5321: mgf1=false
5322: mgf1_given=false
5323:
5324: fi
5325:
5326: disabled_by_default=${disabled_by_default}" mgf1"
5327:
5328: # Check whether --enable-newhope was given.
5329: if test "${enable_newhope+set}" = set; then :
5330: enableval=$enable_newhope; newhope_given=true
5331: if test x$enableval = xyes; then
5332: newhope=true
5333: else
5334: newhope=false
5335: fi
5336: else
5337: newhope=false
5338: newhope_given=false
5339:
5340: fi
5341:
5342: disabled_by_default=${disabled_by_default}" newhope"
5343:
5344: # Check whether --enable-nonce was given.
5345: if test "${enable_nonce+set}" = set; then :
5346: enableval=$enable_nonce; nonce_given=true
5347: if test x$enableval = xyes; then
5348: nonce=true
5349: else
5350: nonce=false
5351: fi
5352: else
5353: nonce=true
5354: nonce_given=false
5355:
5356: fi
5357:
5358: enabled_by_default=${enabled_by_default}" nonce"
5359:
5360: # Check whether --enable-ntru was given.
5361: if test "${enable_ntru+set}" = set; then :
5362: enableval=$enable_ntru; ntru_given=true
5363: if test x$enableval = xyes; then
5364: ntru=true
5365: else
5366: ntru=false
5367: fi
5368: else
5369: ntru=false
5370: ntru_given=false
5371:
5372: fi
5373:
5374: disabled_by_default=${disabled_by_default}" ntru"
5375:
5376: # Check whether --enable-openssl was given.
5377: if test "${enable_openssl+set}" = set; then :
5378: enableval=$enable_openssl; openssl_given=true
5379: if test x$enableval = xyes; then
5380: openssl=true
5381: else
5382: openssl=false
5383: fi
5384: else
5385: openssl=false
5386: openssl_given=false
5387:
5388: fi
5389:
5390: disabled_by_default=${disabled_by_default}" openssl"
5391:
5392: # Check whether --enable-wolfssl was given.
5393: if test "${enable_wolfssl+set}" = set; then :
5394: enableval=$enable_wolfssl; wolfssl_given=true
5395: if test x$enableval = xyes; then
5396: wolfssl=true
5397: else
5398: wolfssl=false
5399: fi
5400: else
5401: wolfssl=false
5402: wolfssl_given=false
5403:
5404: fi
5405:
5406: disabled_by_default=${disabled_by_default}" wolfssl"
5407:
5408: # Check whether --enable-padlock was given.
5409: if test "${enable_padlock+set}" = set; then :
5410: enableval=$enable_padlock; padlock_given=true
5411: if test x$enableval = xyes; then
5412: padlock=true
5413: else
5414: padlock=false
5415: fi
5416: else
5417: padlock=false
5418: padlock_given=false
5419:
5420: fi
5421:
5422: disabled_by_default=${disabled_by_default}" padlock"
5423:
5424: # Check whether --enable-random was given.
5425: if test "${enable_random+set}" = set; then :
5426: enableval=$enable_random; random_given=true
5427: if test x$enableval = xyes; then
5428: random=true
5429: else
5430: random=false
5431: fi
5432: else
5433: random=true
5434: random_given=false
5435:
5436: fi
5437:
5438: enabled_by_default=${enabled_by_default}" random"
5439:
5440: # Check whether --enable-rc2 was given.
5441: if test "${enable_rc2+set}" = set; then :
5442: enableval=$enable_rc2; rc2_given=true
5443: if test x$enableval = xyes; then
5444: rc2=true
5445: else
5446: rc2=false
5447: fi
5448: else
5449: rc2=true
5450: rc2_given=false
5451:
5452: fi
5453:
5454: enabled_by_default=${enabled_by_default}" rc2"
5455:
5456: # Check whether --enable-rdrand was given.
5457: if test "${enable_rdrand+set}" = set; then :
5458: enableval=$enable_rdrand; rdrand_given=true
5459: if test x$enableval = xyes; then
5460: rdrand=true
5461: else
5462: rdrand=false
5463: fi
5464: else
5465: rdrand=false
5466: rdrand_given=false
5467:
5468: fi
5469:
5470: disabled_by_default=${disabled_by_default}" rdrand"
5471:
5472: # Check whether --enable-aesni was given.
5473: if test "${enable_aesni+set}" = set; then :
5474: enableval=$enable_aesni; aesni_given=true
5475: if test x$enableval = xyes; then
5476: aesni=true
5477: else
5478: aesni=false
5479: fi
5480: else
5481: aesni=false
5482: aesni_given=false
5483:
5484: fi
5485:
5486: disabled_by_default=${disabled_by_default}" aesni"
5487:
5488: # Check whether --enable-sha1 was given.
5489: if test "${enable_sha1+set}" = set; then :
5490: enableval=$enable_sha1; sha1_given=true
5491: if test x$enableval = xyes; then
5492: sha1=true
5493: else
5494: sha1=false
5495: fi
5496: else
5497: sha1=true
5498: sha1_given=false
5499:
5500: fi
5501:
5502: enabled_by_default=${enabled_by_default}" sha1"
5503:
5504: # Check whether --enable-sha2 was given.
5505: if test "${enable_sha2+set}" = set; then :
5506: enableval=$enable_sha2; sha2_given=true
5507: if test x$enableval = xyes; then
5508: sha2=true
5509: else
5510: sha2=false
5511: fi
5512: else
5513: sha2=true
5514: sha2_given=false
5515:
5516: fi
5517:
5518: enabled_by_default=${enabled_by_default}" sha2"
5519:
5520: # Check whether --enable-sha3 was given.
5521: if test "${enable_sha3+set}" = set; then :
5522: enableval=$enable_sha3; sha3_given=true
5523: if test x$enableval = xyes; then
5524: sha3=true
5525: else
5526: sha3=false
5527: fi
5528: else
5529: sha3=false
5530: sha3_given=false
5531:
5532: fi
5533:
5534: disabled_by_default=${disabled_by_default}" sha3"
5535:
5536: # Check whether --enable-xcbc was given.
5537: if test "${enable_xcbc+set}" = set; then :
5538: enableval=$enable_xcbc; xcbc_given=true
5539: if test x$enableval = xyes; then
5540: xcbc=true
5541: else
5542: xcbc=false
5543: fi
5544: else
5545: xcbc=true
5546: xcbc_given=false
5547:
5548: fi
5549:
5550: enabled_by_default=${enabled_by_default}" xcbc"
5551:
5552: # encoding/decoding plugins
5553: # Check whether --enable-dnskey was given.
5554: if test "${enable_dnskey+set}" = set; then :
5555: enableval=$enable_dnskey; dnskey_given=true
5556: if test x$enableval = xyes; then
5557: dnskey=true
5558: else
5559: dnskey=false
5560: fi
5561: else
5562: dnskey=true
5563: dnskey_given=false
5564:
5565: fi
5566:
5567: enabled_by_default=${enabled_by_default}" dnskey"
5568:
5569: # Check whether --enable-pem was given.
5570: if test "${enable_pem+set}" = set; then :
5571: enableval=$enable_pem; pem_given=true
5572: if test x$enableval = xyes; then
5573: pem=true
5574: else
5575: pem=false
5576: fi
5577: else
5578: pem=true
5579: pem_given=false
5580:
5581: fi
5582:
5583: enabled_by_default=${enabled_by_default}" pem"
5584:
5585: # Check whether --enable-pgp was given.
5586: if test "${enable_pgp+set}" = set; then :
5587: enableval=$enable_pgp; pgp_given=true
5588: if test x$enableval = xyes; then
5589: pgp=true
5590: else
5591: pgp=false
5592: fi
5593: else
5594: pgp=true
5595: pgp_given=false
5596:
5597: fi
5598:
5599: enabled_by_default=${enabled_by_default}" pgp"
5600:
5601: # Check whether --enable-pkcs1 was given.
5602: if test "${enable_pkcs1+set}" = set; then :
5603: enableval=$enable_pkcs1; pkcs1_given=true
5604: if test x$enableval = xyes; then
5605: pkcs1=true
5606: else
5607: pkcs1=false
5608: fi
5609: else
5610: pkcs1=true
5611: pkcs1_given=false
5612:
5613: fi
5614:
5615: enabled_by_default=${enabled_by_default}" pkcs1"
5616:
5617: # Check whether --enable-pkcs7 was given.
5618: if test "${enable_pkcs7+set}" = set; then :
5619: enableval=$enable_pkcs7; pkcs7_given=true
5620: if test x$enableval = xyes; then
5621: pkcs7=true
5622: else
5623: pkcs7=false
5624: fi
5625: else
5626: pkcs7=true
5627: pkcs7_given=false
5628:
5629: fi
5630:
5631: enabled_by_default=${enabled_by_default}" pkcs7"
5632:
5633: # Check whether --enable-pkcs8 was given.
5634: if test "${enable_pkcs8+set}" = set; then :
5635: enableval=$enable_pkcs8; pkcs8_given=true
5636: if test x$enableval = xyes; then
5637: pkcs8=true
5638: else
5639: pkcs8=false
5640: fi
5641: else
5642: pkcs8=true
5643: pkcs8_given=false
5644:
5645: fi
5646:
5647: enabled_by_default=${enabled_by_default}" pkcs8"
5648:
5649: # Check whether --enable-pkcs12 was given.
5650: if test "${enable_pkcs12+set}" = set; then :
5651: enableval=$enable_pkcs12; pkcs12_given=true
5652: if test x$enableval = xyes; then
5653: pkcs12=true
5654: else
5655: pkcs12=false
5656: fi
5657: else
5658: pkcs12=true
5659: pkcs12_given=false
5660:
5661: fi
5662:
5663: enabled_by_default=${enabled_by_default}" pkcs12"
5664:
5665: # Check whether --enable-pubkey was given.
5666: if test "${enable_pubkey+set}" = set; then :
5667: enableval=$enable_pubkey; pubkey_given=true
5668: if test x$enableval = xyes; then
5669: pubkey=true
5670: else
5671: pubkey=false
5672: fi
5673: else
5674: pubkey=true
5675: pubkey_given=false
5676:
5677: fi
5678:
5679: enabled_by_default=${enabled_by_default}" pubkey"
5680:
5681: # Check whether --enable-sshkey was given.
5682: if test "${enable_sshkey+set}" = set; then :
5683: enableval=$enable_sshkey; sshkey_given=true
5684: if test x$enableval = xyes; then
5685: sshkey=true
5686: else
5687: sshkey=false
5688: fi
5689: else
5690: sshkey=true
5691: sshkey_given=false
5692:
5693: fi
5694:
5695: enabled_by_default=${enabled_by_default}" sshkey"
5696:
5697: # Check whether --enable-x509 was given.
5698: if test "${enable_x509+set}" = set; then :
5699: enableval=$enable_x509; x509_given=true
5700: if test x$enableval = xyes; then
5701: x509=true
5702: else
5703: x509=false
5704: fi
5705: else
5706: x509=true
5707: x509_given=false
5708:
5709: fi
5710:
5711: enabled_by_default=${enabled_by_default}" x509"
5712:
5713: # fetcher/resolver plugins
5714: # Check whether --enable-curl was given.
5715: if test "${enable_curl+set}" = set; then :
5716: enableval=$enable_curl; curl_given=true
5717: if test x$enableval = xyes; then
5718: curl=true
5719: else
5720: curl=false
5721: fi
5722: else
5723: curl=false
5724: curl_given=false
5725:
5726: fi
5727:
5728: disabled_by_default=${disabled_by_default}" curl"
5729:
5730: # Check whether --enable-files was given.
5731: if test "${enable_files+set}" = set; then :
5732: enableval=$enable_files; files_given=true
5733: if test x$enableval = xyes; then
5734: files=true
5735: else
5736: files=false
5737: fi
5738: else
5739: files=false
5740: files_given=false
5741:
5742: fi
5743:
5744: disabled_by_default=${disabled_by_default}" files"
5745:
5746: # Check whether --enable-ldap was given.
5747: if test "${enable_ldap+set}" = set; then :
5748: enableval=$enable_ldap; ldap_given=true
5749: if test x$enableval = xyes; then
5750: ldap=true
5751: else
5752: ldap=false
5753: fi
5754: else
5755: ldap=false
5756: ldap_given=false
5757:
5758: fi
5759:
5760: disabled_by_default=${disabled_by_default}" ldap"
5761:
5762: # Check whether --enable-soup was given.
5763: if test "${enable_soup+set}" = set; then :
5764: enableval=$enable_soup; soup_given=true
5765: if test x$enableval = xyes; then
5766: soup=true
5767: else
5768: soup=false
5769: fi
5770: else
5771: soup=false
5772: soup_given=false
5773:
5774: fi
5775:
5776: disabled_by_default=${disabled_by_default}" soup"
5777:
5778: # Check whether --enable-unbound was given.
5779: if test "${enable_unbound+set}" = set; then :
5780: enableval=$enable_unbound; unbound_given=true
5781: if test x$enableval = xyes; then
5782: unbound=true
5783: else
5784: unbound=false
5785: fi
5786: else
5787: unbound=false
5788: unbound_given=false
5789:
5790: fi
5791:
5792: disabled_by_default=${disabled_by_default}" unbound"
5793:
5794: # Check whether --enable-winhttp was given.
5795: if test "${enable_winhttp+set}" = set; then :
5796: enableval=$enable_winhttp; winhttp_given=true
5797: if test x$enableval = xyes; then
5798: winhttp=true
5799: else
5800: winhttp=false
5801: fi
5802: else
5803: winhttp=false
5804: winhttp_given=false
5805:
5806: fi
5807:
5808: disabled_by_default=${disabled_by_default}" winhttp"
5809:
5810: # database plugins
5811: # Check whether --enable-mysql was given.
5812: if test "${enable_mysql+set}" = set; then :
5813: enableval=$enable_mysql; mysql_given=true
5814: if test x$enableval = xyes; then
5815: mysql=true
5816: else
5817: mysql=false
5818: fi
5819: else
5820: mysql=false
5821: mysql_given=false
5822:
5823: fi
5824:
5825: disabled_by_default=${disabled_by_default}" mysql"
5826:
5827: # Check whether --enable-sqlite was given.
5828: if test "${enable_sqlite+set}" = set; then :
5829: enableval=$enable_sqlite; sqlite_given=true
5830: if test x$enableval = xyes; then
5831: sqlite=true
5832: else
5833: sqlite=false
5834: fi
5835: else
5836: sqlite=false
5837: sqlite_given=false
5838:
5839: fi
5840:
5841: disabled_by_default=${disabled_by_default}" sqlite"
5842:
5843: # authentication/credential plugins
5844: # Check whether --enable-addrblock was given.
5845: if test "${enable_addrblock+set}" = set; then :
5846: enableval=$enable_addrblock; addrblock_given=true
5847: if test x$enableval = xyes; then
5848: addrblock=true
5849: else
5850: addrblock=false
5851: fi
5852: else
5853: addrblock=false
5854: addrblock_given=false
5855:
5856: fi
5857:
5858: disabled_by_default=${disabled_by_default}" addrblock"
5859:
5860: # Check whether --enable-acert was given.
5861: if test "${enable_acert+set}" = set; then :
5862: enableval=$enable_acert; acert_given=true
5863: if test x$enableval = xyes; then
5864: acert=true
5865: else
5866: acert=false
5867: fi
5868: else
5869: acert=false
5870: acert_given=false
5871:
5872: fi
5873:
5874: disabled_by_default=${disabled_by_default}" acert"
5875:
5876: # Check whether --enable-agent was given.
5877: if test "${enable_agent+set}" = set; then :
5878: enableval=$enable_agent; agent_given=true
5879: if test x$enableval = xyes; then
5880: agent=true
5881: else
5882: agent=false
5883: fi
5884: else
5885: agent=false
5886: agent_given=false
5887:
5888: fi
5889:
5890: disabled_by_default=${disabled_by_default}" agent"
5891:
5892: # Check whether --enable-constraints was given.
5893: if test "${enable_constraints+set}" = set; then :
5894: enableval=$enable_constraints; constraints_given=true
5895: if test x$enableval = xyes; then
5896: constraints=true
5897: else
5898: constraints=false
5899: fi
5900: else
5901: constraints=true
5902: constraints_given=false
5903:
5904: fi
5905:
5906: enabled_by_default=${enabled_by_default}" constraints"
5907:
5908: # Check whether --enable-coupling was given.
5909: if test "${enable_coupling+set}" = set; then :
5910: enableval=$enable_coupling; coupling_given=true
5911: if test x$enableval = xyes; then
5912: coupling=true
5913: else
5914: coupling=false
5915: fi
5916: else
5917: coupling=false
5918: coupling_given=false
5919:
5920: fi
5921:
5922: disabled_by_default=${disabled_by_default}" coupling"
5923:
5924: # Check whether --enable-dnscert was given.
5925: if test "${enable_dnscert+set}" = set; then :
5926: enableval=$enable_dnscert; dnscert_given=true
5927: if test x$enableval = xyes; then
5928: dnscert=true
5929: else
5930: dnscert=false
5931: fi
5932: else
5933: dnscert=false
5934: dnscert_given=false
5935:
5936: fi
5937:
5938: disabled_by_default=${disabled_by_default}" dnscert"
5939:
5940: # Check whether --enable-eap-sim was given.
5941: if test "${enable_eap_sim+set}" = set; then :
5942: enableval=$enable_eap_sim; eap_sim_given=true
5943: if test x$enableval = xyes; then
5944: eap_sim=true
5945: else
5946: eap_sim=false
5947: fi
5948: else
5949: eap_sim=false
5950: eap_sim_given=false
5951:
5952: fi
5953:
5954: disabled_by_default=${disabled_by_default}" eap_sim"
5955:
5956: # Check whether --enable-eap-sim-file was given.
5957: if test "${enable_eap_sim_file+set}" = set; then :
5958: enableval=$enable_eap_sim_file; eap_sim_file_given=true
5959: if test x$enableval = xyes; then
5960: eap_sim_file=true
5961: else
5962: eap_sim_file=false
5963: fi
5964: else
5965: eap_sim_file=false
5966: eap_sim_file_given=false
5967:
5968: fi
5969:
5970: disabled_by_default=${disabled_by_default}" eap_sim_file"
5971:
5972: # Check whether --enable-eap-sim-pcsc was given.
5973: if test "${enable_eap_sim_pcsc+set}" = set; then :
5974: enableval=$enable_eap_sim_pcsc; eap_sim_pcsc_given=true
5975: if test x$enableval = xyes; then
5976: eap_sim_pcsc=true
5977: else
5978: eap_sim_pcsc=false
5979: fi
5980: else
5981: eap_sim_pcsc=false
5982: eap_sim_pcsc_given=false
5983:
5984: fi
5985:
5986: disabled_by_default=${disabled_by_default}" eap_sim_pcsc"
5987:
5988: # Check whether --enable-eap-aka was given.
5989: if test "${enable_eap_aka+set}" = set; then :
5990: enableval=$enable_eap_aka; eap_aka_given=true
5991: if test x$enableval = xyes; then
5992: eap_aka=true
5993: else
5994: eap_aka=false
5995: fi
5996: else
5997: eap_aka=false
5998: eap_aka_given=false
5999:
6000: fi
6001:
6002: disabled_by_default=${disabled_by_default}" eap_aka"
6003:
6004: # Check whether --enable-eap-aka-3gpp was given.
6005: if test "${enable_eap_aka_3gpp+set}" = set; then :
6006: enableval=$enable_eap_aka_3gpp; eap_aka_3gpp_given=true
6007: if test x$enableval = xyes; then
6008: eap_aka_3gpp=true
6009: else
6010: eap_aka_3gpp=false
6011: fi
6012: else
6013: eap_aka_3gpp=false
6014: eap_aka_3gpp_given=false
6015:
6016: fi
6017:
6018: disabled_by_default=${disabled_by_default}" eap_aka_3gpp"
6019:
6020: # Check whether --enable-eap-aka-3gpp2 was given.
6021: if test "${enable_eap_aka_3gpp2+set}" = set; then :
6022: enableval=$enable_eap_aka_3gpp2; eap_aka_3gpp2_given=true
6023: if test x$enableval = xyes; then
6024: eap_aka_3gpp2=true
6025: else
6026: eap_aka_3gpp2=false
6027: fi
6028: else
6029: eap_aka_3gpp2=false
6030: eap_aka_3gpp2_given=false
6031:
6032: fi
6033:
6034: disabled_by_default=${disabled_by_default}" eap_aka_3gpp2"
6035:
6036: # Check whether --enable-eap-simaka-sql was given.
6037: if test "${enable_eap_simaka_sql+set}" = set; then :
6038: enableval=$enable_eap_simaka_sql; eap_simaka_sql_given=true
6039: if test x$enableval = xyes; then
6040: eap_simaka_sql=true
6041: else
6042: eap_simaka_sql=false
6043: fi
6044: else
6045: eap_simaka_sql=false
6046: eap_simaka_sql_given=false
6047:
6048: fi
6049:
6050: disabled_by_default=${disabled_by_default}" eap_simaka_sql"
6051:
6052: # Check whether --enable-eap-simaka-pseudonym was given.
6053: if test "${enable_eap_simaka_pseudonym+set}" = set; then :
6054: enableval=$enable_eap_simaka_pseudonym; eap_simaka_pseudonym_given=true
6055: if test x$enableval = xyes; then
6056: eap_simaka_pseudonym=true
6057: else
6058: eap_simaka_pseudonym=false
6059: fi
6060: else
6061: eap_simaka_pseudonym=false
6062: eap_simaka_pseudonym_given=false
6063:
6064: fi
6065:
6066: disabled_by_default=${disabled_by_default}" eap_simaka_pseudonym"
6067:
6068: # Check whether --enable-eap-simaka-reauth was given.
6069: if test "${enable_eap_simaka_reauth+set}" = set; then :
6070: enableval=$enable_eap_simaka_reauth; eap_simaka_reauth_given=true
6071: if test x$enableval = xyes; then
6072: eap_simaka_reauth=true
6073: else
6074: eap_simaka_reauth=false
6075: fi
6076: else
6077: eap_simaka_reauth=false
6078: eap_simaka_reauth_given=false
6079:
6080: fi
6081:
6082: disabled_by_default=${disabled_by_default}" eap_simaka_reauth"
6083:
6084: # Check whether --enable-eap-identity was given.
6085: if test "${enable_eap_identity+set}" = set; then :
6086: enableval=$enable_eap_identity; eap_identity_given=true
6087: if test x$enableval = xyes; then
6088: eap_identity=true
6089: else
6090: eap_identity=false
6091: fi
6092: else
6093: eap_identity=false
6094: eap_identity_given=false
6095:
6096: fi
6097:
6098: disabled_by_default=${disabled_by_default}" eap_identity"
6099:
6100: # Check whether --enable-eap-md5 was given.
6101: if test "${enable_eap_md5+set}" = set; then :
6102: enableval=$enable_eap_md5; eap_md5_given=true
6103: if test x$enableval = xyes; then
6104: eap_md5=true
6105: else
6106: eap_md5=false
6107: fi
6108: else
6109: eap_md5=false
6110: eap_md5_given=false
6111:
6112: fi
6113:
6114: disabled_by_default=${disabled_by_default}" eap_md5"
6115:
6116: # Check whether --enable-eap-gtc was given.
6117: if test "${enable_eap_gtc+set}" = set; then :
6118: enableval=$enable_eap_gtc; eap_gtc_given=true
6119: if test x$enableval = xyes; then
6120: eap_gtc=true
6121: else
6122: eap_gtc=false
6123: fi
6124: else
6125: eap_gtc=false
6126: eap_gtc_given=false
6127:
6128: fi
6129:
6130: disabled_by_default=${disabled_by_default}" eap_gtc"
6131:
6132: # Check whether --enable-eap-mschapv2 was given.
6133: if test "${enable_eap_mschapv2+set}" = set; then :
6134: enableval=$enable_eap_mschapv2; eap_mschapv2_given=true
6135: if test x$enableval = xyes; then
6136: eap_mschapv2=true
6137: else
6138: eap_mschapv2=false
6139: fi
6140: else
6141: eap_mschapv2=false
6142: eap_mschapv2_given=false
6143:
6144: fi
6145:
6146: disabled_by_default=${disabled_by_default}" eap_mschapv2"
6147:
6148: # Check whether --enable-eap-tls was given.
6149: if test "${enable_eap_tls+set}" = set; then :
6150: enableval=$enable_eap_tls; eap_tls_given=true
6151: if test x$enableval = xyes; then
6152: eap_tls=true
6153: else
6154: eap_tls=false
6155: fi
6156: else
6157: eap_tls=false
6158: eap_tls_given=false
6159:
6160: fi
6161:
6162: disabled_by_default=${disabled_by_default}" eap_tls"
6163:
6164: # Check whether --enable-eap-ttls was given.
6165: if test "${enable_eap_ttls+set}" = set; then :
6166: enableval=$enable_eap_ttls; eap_ttls_given=true
6167: if test x$enableval = xyes; then
6168: eap_ttls=true
6169: else
6170: eap_ttls=false
6171: fi
6172: else
6173: eap_ttls=false
6174: eap_ttls_given=false
6175:
6176: fi
6177:
6178: disabled_by_default=${disabled_by_default}" eap_ttls"
6179:
6180: # Check whether --enable-eap-peap was given.
6181: if test "${enable_eap_peap+set}" = set; then :
6182: enableval=$enable_eap_peap; eap_peap_given=true
6183: if test x$enableval = xyes; then
6184: eap_peap=true
6185: else
6186: eap_peap=false
6187: fi
6188: else
6189: eap_peap=false
6190: eap_peap_given=false
6191:
6192: fi
6193:
6194: disabled_by_default=${disabled_by_default}" eap_peap"
6195:
6196: # Check whether --enable-eap-tnc was given.
6197: if test "${enable_eap_tnc+set}" = set; then :
6198: enableval=$enable_eap_tnc; eap_tnc_given=true
6199: if test x$enableval = xyes; then
6200: eap_tnc=true
6201: else
6202: eap_tnc=false
6203: fi
6204: else
6205: eap_tnc=false
6206: eap_tnc_given=false
6207:
6208: fi
6209:
6210: disabled_by_default=${disabled_by_default}" eap_tnc"
6211:
6212: # Check whether --enable-eap-dynamic was given.
6213: if test "${enable_eap_dynamic+set}" = set; then :
6214: enableval=$enable_eap_dynamic; eap_dynamic_given=true
6215: if test x$enableval = xyes; then
6216: eap_dynamic=true
6217: else
6218: eap_dynamic=false
6219: fi
6220: else
6221: eap_dynamic=false
6222: eap_dynamic_given=false
6223:
6224: fi
6225:
6226: disabled_by_default=${disabled_by_default}" eap_dynamic"
6227:
6228: # Check whether --enable-eap-radius was given.
6229: if test "${enable_eap_radius+set}" = set; then :
6230: enableval=$enable_eap_radius; eap_radius_given=true
6231: if test x$enableval = xyes; then
6232: eap_radius=true
6233: else
6234: eap_radius=false
6235: fi
6236: else
6237: eap_radius=false
6238: eap_radius_given=false
6239:
6240: fi
6241:
6242: disabled_by_default=${disabled_by_default}" eap_radius"
6243:
6244: # Check whether --enable-ext-auth was given.
6245: if test "${enable_ext_auth+set}" = set; then :
6246: enableval=$enable_ext_auth; ext_auth_given=true
6247: if test x$enableval = xyes; then
6248: ext_auth=true
6249: else
6250: ext_auth=false
6251: fi
6252: else
6253: ext_auth=false
6254: ext_auth_given=false
6255:
6256: fi
6257:
6258: disabled_by_default=${disabled_by_default}" ext_auth"
6259:
6260: # Check whether --enable-ipseckey was given.
6261: if test "${enable_ipseckey+set}" = set; then :
6262: enableval=$enable_ipseckey; ipseckey_given=true
6263: if test x$enableval = xyes; then
6264: ipseckey=true
6265: else
6266: ipseckey=false
6267: fi
6268: else
6269: ipseckey=false
6270: ipseckey_given=false
6271:
6272: fi
6273:
6274: disabled_by_default=${disabled_by_default}" ipseckey"
6275:
6276: # Check whether --enable-keychain was given.
6277: if test "${enable_keychain+set}" = set; then :
6278: enableval=$enable_keychain; keychain_given=true
6279: if test x$enableval = xyes; then
6280: keychain=true
6281: else
6282: keychain=false
6283: fi
6284: else
6285: keychain=false
6286: keychain_given=false
6287:
6288: fi
6289:
6290: disabled_by_default=${disabled_by_default}" keychain"
6291:
6292: # Check whether --enable-pkcs11 was given.
6293: if test "${enable_pkcs11+set}" = set; then :
6294: enableval=$enable_pkcs11; pkcs11_given=true
6295: if test x$enableval = xyes; then
6296: pkcs11=true
6297: else
6298: pkcs11=false
6299: fi
6300: else
6301: pkcs11=false
6302: pkcs11_given=false
6303:
6304: fi
6305:
6306: disabled_by_default=${disabled_by_default}" pkcs11"
6307:
6308: # Check whether --enable-tpm was given.
6309: if test "${enable_tpm+set}" = set; then :
6310: enableval=$enable_tpm; tpm_given=true
6311: if test x$enableval = xyes; then
6312: tpm=true
6313: else
6314: tpm=false
6315: fi
6316: else
6317: tpm=false
6318: tpm_given=false
6319:
6320: fi
6321:
6322: disabled_by_default=${disabled_by_default}" tpm"
6323:
6324: # Check whether --enable-revocation was given.
6325: if test "${enable_revocation+set}" = set; then :
6326: enableval=$enable_revocation; revocation_given=true
6327: if test x$enableval = xyes; then
6328: revocation=true
6329: else
6330: revocation=false
6331: fi
6332: else
6333: revocation=true
6334: revocation_given=false
6335:
6336: fi
6337:
6338: enabled_by_default=${enabled_by_default}" revocation"
6339:
6340: # Check whether --enable-whitelist was given.
6341: if test "${enable_whitelist+set}" = set; then :
6342: enableval=$enable_whitelist; whitelist_given=true
6343: if test x$enableval = xyes; then
6344: whitelist=true
6345: else
6346: whitelist=false
6347: fi
6348: else
6349: whitelist=false
6350: whitelist_given=false
6351:
6352: fi
6353:
6354: disabled_by_default=${disabled_by_default}" whitelist"
6355:
6356: # Check whether --enable-xauth-generic was given.
6357: if test "${enable_xauth_generic+set}" = set; then :
6358: enableval=$enable_xauth_generic; xauth_generic_given=true
6359: if test x$enableval = xyes; then
6360: xauth_generic=true
6361: else
6362: xauth_generic=false
6363: fi
6364: else
6365: xauth_generic=true
6366: xauth_generic_given=false
6367:
6368: fi
6369:
6370: enabled_by_default=${enabled_by_default}" xauth_generic"
6371:
6372: # Check whether --enable-xauth-eap was given.
6373: if test "${enable_xauth_eap+set}" = set; then :
6374: enableval=$enable_xauth_eap; xauth_eap_given=true
6375: if test x$enableval = xyes; then
6376: xauth_eap=true
6377: else
6378: xauth_eap=false
6379: fi
6380: else
6381: xauth_eap=false
6382: xauth_eap_given=false
6383:
6384: fi
6385:
6386: disabled_by_default=${disabled_by_default}" xauth_eap"
6387:
6388: # Check whether --enable-xauth-pam was given.
6389: if test "${enable_xauth_pam+set}" = set; then :
6390: enableval=$enable_xauth_pam; xauth_pam_given=true
6391: if test x$enableval = xyes; then
6392: xauth_pam=true
6393: else
6394: xauth_pam=false
6395: fi
6396: else
6397: xauth_pam=false
6398: xauth_pam_given=false
6399:
6400: fi
6401:
6402: disabled_by_default=${disabled_by_default}" xauth_pam"
6403:
6404: # Check whether --enable-xauth-noauth was given.
6405: if test "${enable_xauth_noauth+set}" = set; then :
6406: enableval=$enable_xauth_noauth; xauth_noauth_given=true
6407: if test x$enableval = xyes; then
6408: xauth_noauth=true
6409: else
6410: xauth_noauth=false
6411: fi
6412: else
6413: xauth_noauth=false
6414: xauth_noauth_given=false
6415:
6416: fi
6417:
6418: disabled_by_default=${disabled_by_default}" xauth_noauth"
6419:
6420: # kernel interfaces / sockets
6421: # Check whether --enable-kernel-netlink was given.
6422: if test "${enable_kernel_netlink+set}" = set; then :
6423: enableval=$enable_kernel_netlink; kernel_netlink_given=true
6424: if test x$enableval = xyes; then
6425: kernel_netlink=true
6426: else
6427: kernel_netlink=false
6428: fi
6429: else
6430: kernel_netlink=true
6431: kernel_netlink_given=false
6432:
6433: fi
6434:
6435: enabled_by_default=${enabled_by_default}" kernel_netlink"
6436:
6437: # Check whether --enable-kernel-pfkey was given.
6438: if test "${enable_kernel_pfkey+set}" = set; then :
6439: enableval=$enable_kernel_pfkey; kernel_pfkey_given=true
6440: if test x$enableval = xyes; then
6441: kernel_pfkey=true
6442: else
6443: kernel_pfkey=false
6444: fi
6445: else
6446: kernel_pfkey=false
6447: kernel_pfkey_given=false
6448:
6449: fi
6450:
6451: disabled_by_default=${disabled_by_default}" kernel_pfkey"
6452:
6453: # Check whether --enable-kernel-pfroute was given.
6454: if test "${enable_kernel_pfroute+set}" = set; then :
6455: enableval=$enable_kernel_pfroute; kernel_pfroute_given=true
6456: if test x$enableval = xyes; then
6457: kernel_pfroute=true
6458: else
6459: kernel_pfroute=false
6460: fi
6461: else
6462: kernel_pfroute=false
6463: kernel_pfroute_given=false
6464:
6465: fi
6466:
6467: disabled_by_default=${disabled_by_default}" kernel_pfroute"
6468:
6469: # Check whether --enable-kernel-iph was given.
6470: if test "${enable_kernel_iph+set}" = set; then :
6471: enableval=$enable_kernel_iph; kernel_iph_given=true
6472: if test x$enableval = xyes; then
6473: kernel_iph=true
6474: else
6475: kernel_iph=false
6476: fi
6477: else
6478: kernel_iph=false
6479: kernel_iph_given=false
6480:
6481: fi
6482:
6483: disabled_by_default=${disabled_by_default}" kernel_iph"
6484:
6485: # Check whether --enable-kernel-libipsec was given.
6486: if test "${enable_kernel_libipsec+set}" = set; then :
6487: enableval=$enable_kernel_libipsec; kernel_libipsec_given=true
6488: if test x$enableval = xyes; then
6489: kernel_libipsec=true
6490: else
6491: kernel_libipsec=false
6492: fi
6493: else
6494: kernel_libipsec=false
6495: kernel_libipsec_given=false
6496:
6497: fi
6498:
6499: disabled_by_default=${disabled_by_default}" kernel_libipsec"
6500:
6501: # Check whether --enable-kernel-wfp was given.
6502: if test "${enable_kernel_wfp+set}" = set; then :
6503: enableval=$enable_kernel_wfp; kernel_wfp_given=true
6504: if test x$enableval = xyes; then
6505: kernel_wfp=true
6506: else
6507: kernel_wfp=false
6508: fi
6509: else
6510: kernel_wfp=false
6511: kernel_wfp_given=false
6512:
6513: fi
6514:
6515: disabled_by_default=${disabled_by_default}" kernel_wfp"
6516:
6517: # Check whether --enable-socket-default was given.
6518: if test "${enable_socket_default+set}" = set; then :
6519: enableval=$enable_socket_default; socket_default_given=true
6520: if test x$enableval = xyes; then
6521: socket_default=true
6522: else
6523: socket_default=false
6524: fi
6525: else
6526: socket_default=true
6527: socket_default_given=false
6528:
6529: fi
6530:
6531: enabled_by_default=${enabled_by_default}" socket_default"
6532:
6533: # Check whether --enable-socket-dynamic was given.
6534: if test "${enable_socket_dynamic+set}" = set; then :
6535: enableval=$enable_socket_dynamic; socket_dynamic_given=true
6536: if test x$enableval = xyes; then
6537: socket_dynamic=true
6538: else
6539: socket_dynamic=false
6540: fi
6541: else
6542: socket_dynamic=false
6543: socket_dynamic_given=false
6544:
6545: fi
6546:
6547: disabled_by_default=${disabled_by_default}" socket_dynamic"
6548:
6549: # Check whether --enable-socket-win was given.
6550: if test "${enable_socket_win+set}" = set; then :
6551: enableval=$enable_socket_win; socket_win_given=true
6552: if test x$enableval = xyes; then
6553: socket_win=true
6554: else
6555: socket_win=false
6556: fi
6557: else
6558: socket_win=false
6559: socket_win_given=false
6560:
6561: fi
6562:
6563: disabled_by_default=${disabled_by_default}" socket_win"
6564:
6565: # configuration/control plugins
6566: # Check whether --enable-stroke was given.
6567: if test "${enable_stroke+set}" = set; then :
6568: enableval=$enable_stroke; stroke_given=true
6569: if test x$enableval = xyes; then
6570: stroke=true
6571: else
6572: stroke=false
6573: fi
6574: else
6575: stroke=true
6576: stroke_given=false
6577:
6578: fi
6579:
6580: enabled_by_default=${enabled_by_default}" stroke"
6581:
6582: # Check whether --enable-smp was given.
6583: if test "${enable_smp+set}" = set; then :
6584: enableval=$enable_smp; smp_given=true
6585: if test x$enableval = xyes; then
6586: smp=true
6587: else
6588: smp=false
6589: fi
6590: else
6591: smp=false
6592: smp_given=false
6593:
6594: fi
6595:
6596: disabled_by_default=${disabled_by_default}" smp"
6597:
6598: # Check whether --enable-sql was given.
6599: if test "${enable_sql+set}" = set; then :
6600: enableval=$enable_sql; sql_given=true
6601: if test x$enableval = xyes; then
6602: sql=true
6603: else
6604: sql=false
6605: fi
6606: else
6607: sql=false
6608: sql_given=false
6609:
6610: fi
6611:
6612: disabled_by_default=${disabled_by_default}" sql"
6613:
6614: # Check whether --enable-uci was given.
6615: if test "${enable_uci+set}" = set; then :
6616: enableval=$enable_uci; uci_given=true
6617: if test x$enableval = xyes; then
6618: uci=true
6619: else
6620: uci=false
6621: fi
6622: else
6623: uci=false
6624: uci_given=false
6625:
6626: fi
6627:
6628: disabled_by_default=${disabled_by_default}" uci"
6629:
6630: # Check whether --enable-vici was given.
6631: if test "${enable_vici+set}" = set; then :
6632: enableval=$enable_vici; vici_given=true
6633: if test x$enableval = xyes; then
6634: vici=true
6635: else
6636: vici=false
6637: fi
6638: else
6639: vici=true
6640: vici_given=false
6641:
6642: fi
6643:
6644: enabled_by_default=${enabled_by_default}" vici"
6645:
6646: # attribute provider/consumer plugins
6647: # Check whether --enable-android-dns was given.
6648: if test "${enable_android_dns+set}" = set; then :
6649: enableval=$enable_android_dns; android_dns_given=true
6650: if test x$enableval = xyes; then
6651: android_dns=true
6652: else
6653: android_dns=false
6654: fi
6655: else
6656: android_dns=false
6657: android_dns_given=false
6658:
6659: fi
6660:
6661: disabled_by_default=${disabled_by_default}" android_dns"
6662:
6663: # Check whether --enable-attr was given.
6664: if test "${enable_attr+set}" = set; then :
6665: enableval=$enable_attr; attr_given=true
6666: if test x$enableval = xyes; then
6667: attr=true
6668: else
6669: attr=false
6670: fi
6671: else
6672: attr=true
6673: attr_given=false
6674:
6675: fi
6676:
6677: enabled_by_default=${enabled_by_default}" attr"
6678:
6679: # Check whether --enable-attr-sql was given.
6680: if test "${enable_attr_sql+set}" = set; then :
6681: enableval=$enable_attr_sql; attr_sql_given=true
6682: if test x$enableval = xyes; then
6683: attr_sql=true
6684: else
6685: attr_sql=false
6686: fi
6687: else
6688: attr_sql=false
6689: attr_sql_given=false
6690:
6691: fi
6692:
6693: disabled_by_default=${disabled_by_default}" attr_sql"
6694:
6695: # Check whether --enable-dhcp was given.
6696: if test "${enable_dhcp+set}" = set; then :
6697: enableval=$enable_dhcp; dhcp_given=true
6698: if test x$enableval = xyes; then
6699: dhcp=true
6700: else
6701: dhcp=false
6702: fi
6703: else
6704: dhcp=false
6705: dhcp_given=false
6706:
6707: fi
6708:
6709: disabled_by_default=${disabled_by_default}" dhcp"
6710:
6711: # Check whether --enable-osx-attr was given.
6712: if test "${enable_osx_attr+set}" = set; then :
6713: enableval=$enable_osx_attr; osx_attr_given=true
6714: if test x$enableval = xyes; then
6715: osx_attr=true
6716: else
6717: osx_attr=false
6718: fi
6719: else
6720: osx_attr=false
6721: osx_attr_given=false
6722:
6723: fi
6724:
6725: disabled_by_default=${disabled_by_default}" osx_attr"
6726:
6727: # Check whether --enable-p-cscf was given.
6728: if test "${enable_p_cscf+set}" = set; then :
6729: enableval=$enable_p_cscf; p_cscf_given=true
6730: if test x$enableval = xyes; then
6731: p_cscf=true
6732: else
6733: p_cscf=false
6734: fi
6735: else
6736: p_cscf=false
6737: p_cscf_given=false
6738:
6739: fi
6740:
6741: disabled_by_default=${disabled_by_default}" p_cscf"
6742:
6743: # Check whether --enable-resolve was given.
6744: if test "${enable_resolve+set}" = set; then :
6745: enableval=$enable_resolve; resolve_given=true
6746: if test x$enableval = xyes; then
6747: resolve=true
6748: else
6749: resolve=false
6750: fi
6751: else
6752: resolve=true
6753: resolve_given=false
6754:
6755: fi
6756:
6757: enabled_by_default=${enabled_by_default}" resolve"
6758:
6759: # Check whether --enable-unity was given.
6760: if test "${enable_unity+set}" = set; then :
6761: enableval=$enable_unity; unity_given=true
6762: if test x$enableval = xyes; then
6763: unity=true
6764: else
6765: unity=false
6766: fi
6767: else
6768: unity=false
6769: unity_given=false
6770:
6771: fi
6772:
6773: disabled_by_default=${disabled_by_default}" unity"
6774:
6775: # TNC modules/plugins
6776: # Check whether --enable-imc-test was given.
6777: if test "${enable_imc_test+set}" = set; then :
6778: enableval=$enable_imc_test; imc_test_given=true
6779: if test x$enableval = xyes; then
6780: imc_test=true
6781: else
6782: imc_test=false
6783: fi
6784: else
6785: imc_test=false
6786: imc_test_given=false
6787:
6788: fi
6789:
6790: disabled_by_default=${disabled_by_default}" imc_test"
6791:
6792: # Check whether --enable-imv-test was given.
6793: if test "${enable_imv_test+set}" = set; then :
6794: enableval=$enable_imv_test; imv_test_given=true
6795: if test x$enableval = xyes; then
6796: imv_test=true
6797: else
6798: imv_test=false
6799: fi
6800: else
6801: imv_test=false
6802: imv_test_given=false
6803:
6804: fi
6805:
6806: disabled_by_default=${disabled_by_default}" imv_test"
6807:
6808: # Check whether --enable-imc-scanner was given.
6809: if test "${enable_imc_scanner+set}" = set; then :
6810: enableval=$enable_imc_scanner; imc_scanner_given=true
6811: if test x$enableval = xyes; then
6812: imc_scanner=true
6813: else
6814: imc_scanner=false
6815: fi
6816: else
6817: imc_scanner=false
6818: imc_scanner_given=false
6819:
6820: fi
6821:
6822: disabled_by_default=${disabled_by_default}" imc_scanner"
6823:
6824: # Check whether --enable-imv-scanner was given.
6825: if test "${enable_imv_scanner+set}" = set; then :
6826: enableval=$enable_imv_scanner; imv_scanner_given=true
6827: if test x$enableval = xyes; then
6828: imv_scanner=true
6829: else
6830: imv_scanner=false
6831: fi
6832: else
6833: imv_scanner=false
6834: imv_scanner_given=false
6835:
6836: fi
6837:
6838: disabled_by_default=${disabled_by_default}" imv_scanner"
6839:
6840: # Check whether --enable-imc-os was given.
6841: if test "${enable_imc_os+set}" = set; then :
6842: enableval=$enable_imc_os; imc_os_given=true
6843: if test x$enableval = xyes; then
6844: imc_os=true
6845: else
6846: imc_os=false
6847: fi
6848: else
6849: imc_os=false
6850: imc_os_given=false
6851:
6852: fi
6853:
6854: disabled_by_default=${disabled_by_default}" imc_os"
6855:
6856: # Check whether --enable-imv-os was given.
6857: if test "${enable_imv_os+set}" = set; then :
6858: enableval=$enable_imv_os; imv_os_given=true
6859: if test x$enableval = xyes; then
6860: imv_os=true
6861: else
6862: imv_os=false
6863: fi
6864: else
6865: imv_os=false
6866: imv_os_given=false
6867:
6868: fi
6869:
6870: disabled_by_default=${disabled_by_default}" imv_os"
6871:
6872: # Check whether --enable-imc-attestation was given.
6873: if test "${enable_imc_attestation+set}" = set; then :
6874: enableval=$enable_imc_attestation; imc_attestation_given=true
6875: if test x$enableval = xyes; then
6876: imc_attestation=true
6877: else
6878: imc_attestation=false
6879: fi
6880: else
6881: imc_attestation=false
6882: imc_attestation_given=false
6883:
6884: fi
6885:
6886: disabled_by_default=${disabled_by_default}" imc_attestation"
6887:
6888: # Check whether --enable-imv-attestation was given.
6889: if test "${enable_imv_attestation+set}" = set; then :
6890: enableval=$enable_imv_attestation; imv_attestation_given=true
6891: if test x$enableval = xyes; then
6892: imv_attestation=true
6893: else
6894: imv_attestation=false
6895: fi
6896: else
6897: imv_attestation=false
6898: imv_attestation_given=false
6899:
6900: fi
6901:
6902: disabled_by_default=${disabled_by_default}" imv_attestation"
6903:
6904: # Check whether --enable-imc-swima was given.
6905: if test "${enable_imc_swima+set}" = set; then :
6906: enableval=$enable_imc_swima; imc_swima_given=true
6907: if test x$enableval = xyes; then
6908: imc_swima=true
6909: else
6910: imc_swima=false
6911: fi
6912: else
6913: imc_swima=false
6914: imc_swima_given=false
6915:
6916: fi
6917:
6918: disabled_by_default=${disabled_by_default}" imc_swima"
6919:
6920: # Check whether --enable-imv-swima was given.
6921: if test "${enable_imv_swima+set}" = set; then :
6922: enableval=$enable_imv_swima; imv_swima_given=true
6923: if test x$enableval = xyes; then
6924: imv_swima=true
6925: else
6926: imv_swima=false
6927: fi
6928: else
6929: imv_swima=false
6930: imv_swima_given=false
6931:
6932: fi
6933:
6934: disabled_by_default=${disabled_by_default}" imv_swima"
6935:
6936: # Check whether --enable-imc-hcd was given.
6937: if test "${enable_imc_hcd+set}" = set; then :
6938: enableval=$enable_imc_hcd; imc_hcd_given=true
6939: if test x$enableval = xyes; then
6940: imc_hcd=true
6941: else
6942: imc_hcd=false
6943: fi
6944: else
6945: imc_hcd=false
6946: imc_hcd_given=false
6947:
6948: fi
6949:
6950: disabled_by_default=${disabled_by_default}" imc_hcd"
6951:
6952: # Check whether --enable-imv-hcd was given.
6953: if test "${enable_imv_hcd+set}" = set; then :
6954: enableval=$enable_imv_hcd; imv_hcd_given=true
6955: if test x$enableval = xyes; then
6956: imv_hcd=true
6957: else
6958: imv_hcd=false
6959: fi
6960: else
6961: imv_hcd=false
6962: imv_hcd_given=false
6963:
6964: fi
6965:
6966: disabled_by_default=${disabled_by_default}" imv_hcd"
6967:
6968: # Check whether --enable-tnc-ifmap was given.
6969: if test "${enable_tnc_ifmap+set}" = set; then :
6970: enableval=$enable_tnc_ifmap; tnc_ifmap_given=true
6971: if test x$enableval = xyes; then
6972: tnc_ifmap=true
6973: else
6974: tnc_ifmap=false
6975: fi
6976: else
6977: tnc_ifmap=false
6978: tnc_ifmap_given=false
6979:
6980: fi
6981:
6982: disabled_by_default=${disabled_by_default}" tnc_ifmap"
6983:
6984: # Check whether --enable-tnc-imc was given.
6985: if test "${enable_tnc_imc+set}" = set; then :
6986: enableval=$enable_tnc_imc; tnc_imc_given=true
6987: if test x$enableval = xyes; then
6988: tnc_imc=true
6989: else
6990: tnc_imc=false
6991: fi
6992: else
6993: tnc_imc=false
6994: tnc_imc_given=false
6995:
6996: fi
6997:
6998: disabled_by_default=${disabled_by_default}" tnc_imc"
6999:
7000: # Check whether --enable-tnc-imv was given.
7001: if test "${enable_tnc_imv+set}" = set; then :
7002: enableval=$enable_tnc_imv; tnc_imv_given=true
7003: if test x$enableval = xyes; then
7004: tnc_imv=true
7005: else
7006: tnc_imv=false
7007: fi
7008: else
7009: tnc_imv=false
7010: tnc_imv_given=false
7011:
7012: fi
7013:
7014: disabled_by_default=${disabled_by_default}" tnc_imv"
7015:
7016: # Check whether --enable-tnc-pdp was given.
7017: if test "${enable_tnc_pdp+set}" = set; then :
7018: enableval=$enable_tnc_pdp; tnc_pdp_given=true
7019: if test x$enableval = xyes; then
7020: tnc_pdp=true
7021: else
7022: tnc_pdp=false
7023: fi
7024: else
7025: tnc_pdp=false
7026: tnc_pdp_given=false
7027:
7028: fi
7029:
7030: disabled_by_default=${disabled_by_default}" tnc_pdp"
7031:
7032: # Check whether --enable-tnccs-11 was given.
7033: if test "${enable_tnccs_11+set}" = set; then :
7034: enableval=$enable_tnccs_11; tnccs_11_given=true
7035: if test x$enableval = xyes; then
7036: tnccs_11=true
7037: else
7038: tnccs_11=false
7039: fi
7040: else
7041: tnccs_11=false
7042: tnccs_11_given=false
7043:
7044: fi
7045:
7046: disabled_by_default=${disabled_by_default}" tnccs_11"
7047:
7048: # Check whether --enable-tnccs-20 was given.
7049: if test "${enable_tnccs_20+set}" = set; then :
7050: enableval=$enable_tnccs_20; tnccs_20_given=true
7051: if test x$enableval = xyes; then
7052: tnccs_20=true
7053: else
7054: tnccs_20=false
7055: fi
7056: else
7057: tnccs_20=false
7058: tnccs_20_given=false
7059:
7060: fi
7061:
7062: disabled_by_default=${disabled_by_default}" tnccs_20"
7063:
7064: # Check whether --enable-tnccs-dynamic was given.
7065: if test "${enable_tnccs_dynamic+set}" = set; then :
7066: enableval=$enable_tnccs_dynamic; tnccs_dynamic_given=true
7067: if test x$enableval = xyes; then
7068: tnccs_dynamic=true
7069: else
7070: tnccs_dynamic=false
7071: fi
7072: else
7073: tnccs_dynamic=false
7074: tnccs_dynamic_given=false
7075:
7076: fi
7077:
7078: disabled_by_default=${disabled_by_default}" tnccs_dynamic"
7079:
7080: # misc plugins
7081: # Check whether --enable-android-log was given.
7082: if test "${enable_android_log+set}" = set; then :
7083: enableval=$enable_android_log; android_log_given=true
7084: if test x$enableval = xyes; then
7085: android_log=true
7086: else
7087: android_log=false
7088: fi
7089: else
7090: android_log=false
7091: android_log_given=false
7092:
7093: fi
7094:
7095: disabled_by_default=${disabled_by_default}" android_log"
7096:
7097: # Check whether --enable-bypass-lan was given.
7098: if test "${enable_bypass_lan+set}" = set; then :
7099: enableval=$enable_bypass_lan; bypass_lan_given=true
7100: if test x$enableval = xyes; then
7101: bypass_lan=true
7102: else
7103: bypass_lan=false
7104: fi
7105: else
7106: bypass_lan=false
7107: bypass_lan_given=false
7108:
7109: fi
7110:
7111: disabled_by_default=${disabled_by_default}" bypass_lan"
7112:
7113: # Check whether --enable-certexpire was given.
7114: if test "${enable_certexpire+set}" = set; then :
7115: enableval=$enable_certexpire; certexpire_given=true
7116: if test x$enableval = xyes; then
7117: certexpire=true
7118: else
7119: certexpire=false
7120: fi
7121: else
7122: certexpire=false
7123: certexpire_given=false
7124:
7125: fi
7126:
7127: disabled_by_default=${disabled_by_default}" certexpire"
7128:
7129: # Check whether --enable-connmark was given.
7130: if test "${enable_connmark+set}" = set; then :
7131: enableval=$enable_connmark; connmark_given=true
7132: if test x$enableval = xyes; then
7133: connmark=true
7134: else
7135: connmark=false
7136: fi
7137: else
7138: connmark=false
7139: connmark_given=false
7140:
7141: fi
7142:
7143: disabled_by_default=${disabled_by_default}" connmark"
7144:
7145: # Check whether --enable-counters was given.
7146: if test "${enable_counters+set}" = set; then :
7147: enableval=$enable_counters; counters_given=true
7148: if test x$enableval = xyes; then
7149: counters=true
7150: else
7151: counters=false
7152: fi
7153: else
7154: counters=false
7155: counters_given=false
7156:
7157: fi
7158:
7159: disabled_by_default=${disabled_by_default}" counters"
7160:
7161: # Check whether --enable-forecast was given.
7162: if test "${enable_forecast+set}" = set; then :
7163: enableval=$enable_forecast; forecast_given=true
7164: if test x$enableval = xyes; then
7165: forecast=true
7166: else
7167: forecast=false
7168: fi
7169: else
7170: forecast=false
7171: forecast_given=false
7172:
7173: fi
7174:
7175: disabled_by_default=${disabled_by_default}" forecast"
7176:
7177: # Check whether --enable-duplicheck was given.
7178: if test "${enable_duplicheck+set}" = set; then :
7179: enableval=$enable_duplicheck; duplicheck_given=true
7180: if test x$enableval = xyes; then
7181: duplicheck=true
7182: else
7183: duplicheck=false
7184: fi
7185: else
7186: duplicheck=false
7187: duplicheck_given=false
7188:
7189: fi
7190:
7191: disabled_by_default=${disabled_by_default}" duplicheck"
7192:
7193: # Check whether --enable-error-notify was given.
7194: if test "${enable_error_notify+set}" = set; then :
7195: enableval=$enable_error_notify; error_notify_given=true
7196: if test x$enableval = xyes; then
7197: error_notify=true
7198: else
7199: error_notify=false
7200: fi
7201: else
7202: error_notify=false
7203: error_notify_given=false
7204:
7205: fi
7206:
7207: disabled_by_default=${disabled_by_default}" error_notify"
7208:
7209: # Check whether --enable-farp was given.
7210: if test "${enable_farp+set}" = set; then :
7211: enableval=$enable_farp; farp_given=true
7212: if test x$enableval = xyes; then
7213: farp=true
7214: else
7215: farp=false
7216: fi
7217: else
7218: farp=false
7219: farp_given=false
7220:
7221: fi
7222:
7223: disabled_by_default=${disabled_by_default}" farp"
7224:
7225: # Check whether --enable-ha was given.
7226: if test "${enable_ha+set}" = set; then :
7227: enableval=$enable_ha; ha_given=true
7228: if test x$enableval = xyes; then
7229: ha=true
7230: else
7231: ha=false
7232: fi
7233: else
7234: ha=false
7235: ha_given=false
7236:
7237: fi
7238:
7239: disabled_by_default=${disabled_by_default}" ha"
7240:
7241: # Check whether --enable-led was given.
7242: if test "${enable_led+set}" = set; then :
7243: enableval=$enable_led; led_given=true
7244: if test x$enableval = xyes; then
7245: led=true
7246: else
7247: led=false
7248: fi
7249: else
7250: led=false
7251: led_given=false
7252:
7253: fi
7254:
7255: disabled_by_default=${disabled_by_default}" led"
7256:
7257: # Check whether --enable-load-tester was given.
7258: if test "${enable_load_tester+set}" = set; then :
7259: enableval=$enable_load_tester; load_tester_given=true
7260: if test x$enableval = xyes; then
7261: load_tester=true
7262: else
7263: load_tester=false
7264: fi
7265: else
7266: load_tester=false
7267: load_tester_given=false
7268:
7269: fi
7270:
7271: disabled_by_default=${disabled_by_default}" load_tester"
7272:
7273: # Check whether --enable-lookip was given.
7274: if test "${enable_lookip+set}" = set; then :
7275: enableval=$enable_lookip; lookip_given=true
7276: if test x$enableval = xyes; then
7277: lookip=true
7278: else
7279: lookip=false
7280: fi
7281: else
7282: lookip=false
7283: lookip_given=false
7284:
7285: fi
7286:
7287: disabled_by_default=${disabled_by_default}" lookip"
7288:
7289: # Check whether --enable-radattr was given.
7290: if test "${enable_radattr+set}" = set; then :
7291: enableval=$enable_radattr; radattr_given=true
7292: if test x$enableval = xyes; then
7293: radattr=true
7294: else
7295: radattr=false
7296: fi
7297: else
7298: radattr=false
7299: radattr_given=false
7300:
7301: fi
7302:
7303: disabled_by_default=${disabled_by_default}" radattr"
7304:
7305: # Check whether --enable-save-keys was given.
7306: if test "${enable_save_keys+set}" = set; then :
7307: enableval=$enable_save_keys; save_keys_given=true
7308: if test x$enableval = xyes; then
7309: save_keys=true
7310: else
7311: save_keys=false
7312: fi
7313: else
7314: save_keys=false
7315: save_keys_given=false
7316:
7317: fi
7318:
7319: disabled_by_default=${disabled_by_default}" save_keys"
7320:
7321: # Check whether --enable-systime-fix was given.
7322: if test "${enable_systime_fix+set}" = set; then :
7323: enableval=$enable_systime_fix; systime_fix_given=true
7324: if test x$enableval = xyes; then
7325: systime_fix=true
7326: else
7327: systime_fix=false
7328: fi
7329: else
7330: systime_fix=false
7331: systime_fix_given=false
7332:
7333: fi
7334:
7335: disabled_by_default=${disabled_by_default}" systime_fix"
7336:
7337: # Check whether --enable-test-vectors was given.
7338: if test "${enable_test_vectors+set}" = set; then :
7339: enableval=$enable_test_vectors; test_vectors_given=true
7340: if test x$enableval = xyes; then
7341: test_vectors=true
7342: else
7343: test_vectors=false
7344: fi
7345: else
7346: test_vectors=false
7347: test_vectors_given=false
7348:
7349: fi
7350:
7351: disabled_by_default=${disabled_by_default}" test_vectors"
7352:
7353: # Check whether --enable-updown was given.
7354: if test "${enable_updown+set}" = set; then :
7355: enableval=$enable_updown; updown_given=true
7356: if test x$enableval = xyes; then
7357: updown=true
7358: else
7359: updown=false
7360: fi
7361: else
7362: updown=true
7363: updown_given=false
7364:
7365: fi
7366:
7367: enabled_by_default=${enabled_by_default}" updown"
7368:
7369: # programs/components
7370: # Check whether --enable-aikgen was given.
7371: if test "${enable_aikgen+set}" = set; then :
7372: enableval=$enable_aikgen; aikgen_given=true
7373: if test x$enableval = xyes; then
7374: aikgen=true
7375: else
7376: aikgen=false
7377: fi
7378: else
7379: aikgen=false
7380: aikgen_given=false
7381:
7382: fi
7383:
7384: disabled_by_default=${disabled_by_default}" aikgen"
7385:
7386: # Check whether --enable-charon was given.
7387: if test "${enable_charon+set}" = set; then :
7388: enableval=$enable_charon; charon_given=true
7389: if test x$enableval = xyes; then
7390: charon=true
7391: else
7392: charon=false
7393: fi
7394: else
7395: charon=true
7396: charon_given=false
7397:
7398: fi
7399:
7400: enabled_by_default=${enabled_by_default}" charon"
7401:
7402: # Check whether --enable-cmd was given.
7403: if test "${enable_cmd+set}" = set; then :
7404: enableval=$enable_cmd; cmd_given=true
7405: if test x$enableval = xyes; then
7406: cmd=true
7407: else
7408: cmd=false
7409: fi
7410: else
7411: cmd=false
7412: cmd_given=false
7413:
7414: fi
7415:
7416: disabled_by_default=${disabled_by_default}" cmd"
7417:
7418: # Check whether --enable-conftest was given.
7419: if test "${enable_conftest+set}" = set; then :
7420: enableval=$enable_conftest; conftest_given=true
7421: if test x$enableval = xyes; then
7422: conftest=true
7423: else
7424: conftest=false
7425: fi
7426: else
7427: conftest=false
7428: conftest_given=false
7429:
7430: fi
7431:
7432: disabled_by_default=${disabled_by_default}" conftest"
7433:
7434: # Check whether --enable-fast was given.
7435: if test "${enable_fast+set}" = set; then :
7436: enableval=$enable_fast; fast_given=true
7437: if test x$enableval = xyes; then
7438: fast=true
7439: else
7440: fast=false
7441: fi
7442: else
7443: fast=false
7444: fast_given=false
7445:
7446: fi
7447:
7448: disabled_by_default=${disabled_by_default}" fast"
7449:
7450: # Check whether --enable-fuzzing was given.
7451: if test "${enable_fuzzing+set}" = set; then :
7452: enableval=$enable_fuzzing; fuzzing_given=true
7453: if test x$enableval = xyes; then
7454: fuzzing=true
7455: else
7456: fuzzing=false
7457: fi
7458: else
7459: fuzzing=false
7460: fuzzing_given=false
7461:
7462: fi
7463:
7464: disabled_by_default=${disabled_by_default}" fuzzing"
7465:
7466: # Check whether --enable-libipsec was given.
7467: if test "${enable_libipsec+set}" = set; then :
7468: enableval=$enable_libipsec; libipsec_given=true
7469: if test x$enableval = xyes; then
7470: libipsec=true
7471: else
7472: libipsec=false
7473: fi
7474: else
7475: libipsec=false
7476: libipsec_given=false
7477:
7478: fi
7479:
7480: disabled_by_default=${disabled_by_default}" libipsec"
7481:
7482: # Check whether --enable-manager was given.
7483: if test "${enable_manager+set}" = set; then :
7484: enableval=$enable_manager; manager_given=true
7485: if test x$enableval = xyes; then
7486: manager=true
7487: else
7488: manager=false
7489: fi
7490: else
7491: manager=false
7492: manager_given=false
7493:
7494: fi
7495:
7496: disabled_by_default=${disabled_by_default}" manager"
7497:
7498: # Check whether --enable-medcli was given.
7499: if test "${enable_medcli+set}" = set; then :
7500: enableval=$enable_medcli; medcli_given=true
7501: if test x$enableval = xyes; then
7502: medcli=true
7503: else
7504: medcli=false
7505: fi
7506: else
7507: medcli=false
7508: medcli_given=false
7509:
7510: fi
7511:
7512: disabled_by_default=${disabled_by_default}" medcli"
7513:
7514: # Check whether --enable-medsrv was given.
7515: if test "${enable_medsrv+set}" = set; then :
7516: enableval=$enable_medsrv; medsrv_given=true
7517: if test x$enableval = xyes; then
7518: medsrv=true
7519: else
7520: medsrv=false
7521: fi
7522: else
7523: medsrv=false
7524: medsrv_given=false
7525:
7526: fi
7527:
7528: disabled_by_default=${disabled_by_default}" medsrv"
7529:
7530: # Check whether --enable-nm was given.
7531: if test "${enable_nm+set}" = set; then :
7532: enableval=$enable_nm; nm_given=true
7533: if test x$enableval = xyes; then
7534: nm=true
7535: else
7536: nm=false
7537: fi
7538: else
7539: nm=false
7540: nm_given=false
7541:
7542: fi
7543:
7544: disabled_by_default=${disabled_by_default}" nm"
7545:
7546: # Check whether --enable-pki was given.
7547: if test "${enable_pki+set}" = set; then :
7548: enableval=$enable_pki; pki_given=true
7549: if test x$enableval = xyes; then
7550: pki=true
7551: else
7552: pki=false
7553: fi
7554: else
7555: pki=true
7556: pki_given=false
7557:
7558: fi
7559:
7560: enabled_by_default=${enabled_by_default}" pki"
7561:
7562: # Check whether --enable-scepclient was given.
7563: if test "${enable_scepclient+set}" = set; then :
7564: enableval=$enable_scepclient; scepclient_given=true
7565: if test x$enableval = xyes; then
7566: scepclient=true
7567: else
7568: scepclient=false
7569: fi
7570: else
7571: scepclient=true
7572: scepclient_given=false
7573:
7574: fi
7575:
7576: enabled_by_default=${enabled_by_default}" scepclient"
7577:
7578: # Check whether --enable-scripts was given.
7579: if test "${enable_scripts+set}" = set; then :
7580: enableval=$enable_scripts; scripts_given=true
7581: if test x$enableval = xyes; then
7582: scripts=true
7583: else
7584: scripts=false
7585: fi
7586: else
7587: scripts=true
7588: scripts_given=false
7589:
7590: fi
7591:
7592: enabled_by_default=${enabled_by_default}" scripts"
7593:
7594: # Check whether --enable-svc was given.
7595: if test "${enable_svc+set}" = set; then :
7596: enableval=$enable_svc; svc_given=true
7597: if test x$enableval = xyes; then
7598: svc=true
7599: else
7600: svc=false
7601: fi
7602: else
7603: svc=false
7604: svc_given=false
7605:
7606: fi
7607:
7608: disabled_by_default=${disabled_by_default}" svc"
7609:
7610: # Check whether --enable-systemd was given.
7611: if test "${enable_systemd+set}" = set; then :
7612: enableval=$enable_systemd; systemd_given=true
7613: if test x$enableval = xyes; then
7614: systemd=true
7615: else
7616: systemd=false
7617: fi
7618: else
7619: systemd=false
7620: systemd_given=false
7621:
7622: fi
7623:
7624: disabled_by_default=${disabled_by_default}" systemd"
7625:
7626: # Check whether --enable-swanctl was given.
7627: if test "${enable_swanctl+set}" = set; then :
7628: enableval=$enable_swanctl; swanctl_given=true
7629: if test x$enableval = xyes; then
7630: swanctl=true
7631: else
7632: swanctl=false
7633: fi
7634: else
7635: swanctl=true
7636: swanctl_given=false
7637:
7638: fi
7639:
7640: enabled_by_default=${enabled_by_default}" swanctl"
7641:
7642: # Check whether --enable-tkm was given.
7643: if test "${enable_tkm+set}" = set; then :
7644: enableval=$enable_tkm; tkm_given=true
7645: if test x$enableval = xyes; then
7646: tkm=true
7647: else
7648: tkm=false
7649: fi
7650: else
7651: tkm=false
7652: tkm_given=false
7653:
7654: fi
7655:
7656: disabled_by_default=${disabled_by_default}" tkm"
7657:
7658: # optional features
7659: # Check whether --enable-bfd-backtraces was given.
7660: if test "${enable_bfd_backtraces+set}" = set; then :
7661: enableval=$enable_bfd_backtraces; bfd_backtraces_given=true
7662: if test x$enableval = xyes; then
7663: bfd_backtraces=true
7664: else
7665: bfd_backtraces=false
7666: fi
7667: else
7668: bfd_backtraces=false
7669: bfd_backtraces_given=false
7670:
7671: fi
7672:
7673: disabled_by_default=${disabled_by_default}" bfd_backtraces"
7674:
7675: # Check whether --enable-dbghelp-backtraces was given.
7676: if test "${enable_dbghelp_backtraces+set}" = set; then :
7677: enableval=$enable_dbghelp_backtraces; dbghelp_backtraces_given=true
7678: if test x$enableval = xyes; then
7679: dbghelp_backtraces=true
7680: else
7681: dbghelp_backtraces=false
7682: fi
7683: else
7684: dbghelp_backtraces=false
7685: dbghelp_backtraces_given=false
7686:
7687: fi
7688:
7689: disabled_by_default=${disabled_by_default}" dbghelp_backtraces"
7690:
7691: # Check whether --enable-ikev1 was given.
7692: if test "${enable_ikev1+set}" = set; then :
7693: enableval=$enable_ikev1; ikev1_given=true
7694: if test x$enableval = xyes; then
7695: ikev1=true
7696: else
7697: ikev1=false
7698: fi
7699: else
7700: ikev1=true
7701: ikev1_given=false
7702:
7703: fi
7704:
7705: enabled_by_default=${enabled_by_default}" ikev1"
7706:
7707: # Check whether --enable-ikev2 was given.
7708: if test "${enable_ikev2+set}" = set; then :
7709: enableval=$enable_ikev2; ikev2_given=true
7710: if test x$enableval = xyes; then
7711: ikev2=true
7712: else
7713: ikev2=false
7714: fi
7715: else
7716: ikev2=true
7717: ikev2_given=false
7718:
7719: fi
7720:
7721: enabled_by_default=${enabled_by_default}" ikev2"
7722:
7723: # Check whether --enable-integrity-test was given.
7724: if test "${enable_integrity_test+set}" = set; then :
7725: enableval=$enable_integrity_test; integrity_test_given=true
7726: if test x$enableval = xyes; then
7727: integrity_test=true
7728: else
7729: integrity_test=false
7730: fi
7731: else
7732: integrity_test=false
7733: integrity_test_given=false
7734:
7735: fi
7736:
7737: disabled_by_default=${disabled_by_default}" integrity_test"
7738:
7739: # Check whether --enable-load-warning was given.
7740: if test "${enable_load_warning+set}" = set; then :
7741: enableval=$enable_load_warning; load_warning_given=true
7742: if test x$enableval = xyes; then
7743: load_warning=true
7744: else
7745: load_warning=false
7746: fi
7747: else
7748: load_warning=true
7749: load_warning_given=false
7750:
7751: fi
7752:
7753: enabled_by_default=${enabled_by_default}" load_warning"
7754:
7755: # Check whether --enable-mediation was given.
7756: if test "${enable_mediation+set}" = set; then :
7757: enableval=$enable_mediation; mediation_given=true
7758: if test x$enableval = xyes; then
7759: mediation=true
7760: else
7761: mediation=false
7762: fi
7763: else
7764: mediation=false
7765: mediation_given=false
7766:
7767: fi
7768:
7769: disabled_by_default=${disabled_by_default}" mediation"
7770:
7771: # Check whether --enable-unwind-backtraces was given.
7772: if test "${enable_unwind_backtraces+set}" = set; then :
7773: enableval=$enable_unwind_backtraces; unwind_backtraces_given=true
7774: if test x$enableval = xyes; then
7775: unwind_backtraces=true
7776: else
7777: unwind_backtraces=false
7778: fi
7779: else
7780: unwind_backtraces=false
7781: unwind_backtraces_given=false
7782:
7783: fi
7784:
7785: disabled_by_default=${disabled_by_default}" unwind_backtraces"
7786:
7787: # Check whether --enable-ruby-gems was given.
7788: if test "${enable_ruby_gems+set}" = set; then :
7789: enableval=$enable_ruby_gems; ruby_gems_given=true
7790: if test x$enableval = xyes; then
7791: ruby_gems=true
7792: else
7793: ruby_gems=false
7794: fi
7795: else
7796: ruby_gems=false
7797: ruby_gems_given=false
7798:
7799: fi
7800:
7801: disabled_by_default=${disabled_by_default}" ruby_gems"
7802:
7803: # Check whether --enable-ruby-gems-install was given.
7804: if test "${enable_ruby_gems_install+set}" = set; then :
7805: enableval=$enable_ruby_gems_install; ruby_gems_install_given=true
7806: if test x$enableval = xyes; then
7807: ruby_gems_install=true
7808: else
7809: ruby_gems_install=false
7810: fi
7811: else
7812: ruby_gems_install=false
7813: ruby_gems_install_given=false
7814:
7815: fi
7816:
7817: disabled_by_default=${disabled_by_default}" ruby_gems_install"
7818:
7819: # Check whether --enable-python-eggs was given.
7820: if test "${enable_python_eggs+set}" = set; then :
7821: enableval=$enable_python_eggs; python_eggs_given=true
7822: if test x$enableval = xyes; then
7823: python_eggs=true
7824: else
7825: python_eggs=false
7826: fi
7827: else
7828: python_eggs=false
7829: python_eggs_given=false
7830:
7831: fi
7832:
7833: disabled_by_default=${disabled_by_default}" python_eggs"
7834:
7835: # Check whether --enable-python-eggs-install was given.
7836: if test "${enable_python_eggs_install+set}" = set; then :
7837: enableval=$enable_python_eggs_install; python_eggs_install_given=true
7838: if test x$enableval = xyes; then
7839: python_eggs_install=true
7840: else
7841: python_eggs_install=false
7842: fi
7843: else
7844: python_eggs_install=false
7845: python_eggs_install_given=false
7846:
7847: fi
7848:
7849: disabled_by_default=${disabled_by_default}" python_eggs_install"
7850:
7851: # Check whether --enable-perl-cpan was given.
7852: if test "${enable_perl_cpan+set}" = set; then :
7853: enableval=$enable_perl_cpan; perl_cpan_given=true
7854: if test x$enableval = xyes; then
7855: perl_cpan=true
7856: else
7857: perl_cpan=false
7858: fi
7859: else
7860: perl_cpan=false
7861: perl_cpan_given=false
7862:
7863: fi
7864:
7865: disabled_by_default=${disabled_by_default}" perl_cpan"
7866:
7867: # Check whether --enable-perl-cpan-install was given.
7868: if test "${enable_perl_cpan_install+set}" = set; then :
7869: enableval=$enable_perl_cpan_install; perl_cpan_install_given=true
7870: if test x$enableval = xyes; then
7871: perl_cpan_install=true
7872: else
7873: perl_cpan_install=false
7874: fi
7875: else
7876: perl_cpan_install=false
7877: perl_cpan_install_given=false
7878:
7879: fi
7880:
7881: disabled_by_default=${disabled_by_default}" perl_cpan_install"
7882:
7883: # Check whether --enable-tss-trousers was given.
7884: if test "${enable_tss_trousers+set}" = set; then :
7885: enableval=$enable_tss_trousers; tss_trousers_given=true
7886: if test x$enableval = xyes; then
7887: tss_trousers=true
7888: else
7889: tss_trousers=false
7890: fi
7891: else
7892: tss_trousers=false
7893: tss_trousers_given=false
7894:
7895: fi
7896:
7897: disabled_by_default=${disabled_by_default}" tss_trousers"
7898:
7899: # Check whether --enable-tss-tss2 was given.
7900: if test "${enable_tss_tss2+set}" = set; then :
7901: enableval=$enable_tss_tss2; tss_tss2_given=true
7902: if test x$enableval = xyes; then
7903: tss_tss2=true
7904: else
7905: tss_tss2=false
7906: fi
7907: else
7908: tss_tss2=false
7909: tss_tss2_given=false
7910:
7911: fi
7912:
7913: disabled_by_default=${disabled_by_default}" tss_tss2"
7914:
7915:
7916: # compile options
7917: # Check whether --enable-coverage was given.
7918: if test "${enable_coverage+set}" = set; then :
7919: enableval=$enable_coverage; coverage_given=true
7920: if test x$enableval = xyes; then
7921: coverage=true
7922: else
7923: coverage=false
7924: fi
7925: else
7926: coverage=false
7927: coverage_given=false
7928:
7929: fi
7930:
7931: disabled_by_default=${disabled_by_default}" coverage"
7932:
7933: # Check whether --enable-leak-detective was given.
7934: if test "${enable_leak_detective+set}" = set; then :
7935: enableval=$enable_leak_detective; leak_detective_given=true
7936: if test x$enableval = xyes; then
7937: leak_detective=true
7938: else
7939: leak_detective=false
7940: fi
7941: else
7942: leak_detective=false
7943: leak_detective_given=false
7944:
7945: fi
7946:
7947: disabled_by_default=${disabled_by_default}" leak_detective"
7948:
7949: # Check whether --enable-lock-profiler was given.
7950: if test "${enable_lock_profiler+set}" = set; then :
7951: enableval=$enable_lock_profiler; lock_profiler_given=true
7952: if test x$enableval = xyes; then
7953: lock_profiler=true
7954: else
7955: lock_profiler=false
7956: fi
7957: else
7958: lock_profiler=false
7959: lock_profiler_given=false
7960:
7961: fi
7962:
7963: disabled_by_default=${disabled_by_default}" lock_profiler"
7964:
7965: # Check whether --enable-log-thread-ids was given.
7966: if test "${enable_log_thread_ids+set}" = set; then :
7967: enableval=$enable_log_thread_ids; log_thread_ids_given=true
7968: if test x$enableval = xyes; then
7969: log_thread_ids=true
7970: else
7971: log_thread_ids=false
7972: fi
7973: else
7974: log_thread_ids=false
7975: log_thread_ids_given=false
7976:
7977: fi
7978:
7979: disabled_by_default=${disabled_by_default}" log_thread_ids"
7980:
7981: # Check whether --enable-monolithic was given.
7982: if test "${enable_monolithic+set}" = set; then :
7983: enableval=$enable_monolithic; monolithic_given=true
7984: if test x$enableval = xyes; then
7985: monolithic=true
7986: else
7987: monolithic=false
7988: fi
7989: else
7990: monolithic=false
7991: monolithic_given=false
7992:
7993: fi
7994:
7995: disabled_by_default=${disabled_by_default}" monolithic"
7996:
7997:
7998: # ===================================
7999: # option to disable default options
8000: # ===================================
8001:
8002: # Check whether --enable-defaults was given.
8003: if test "${enable_defaults+set}" = set; then :
8004: enableval=$enable_defaults; defaults_given=true
8005: if test x$enableval = xyes; then
8006: defaults=true
8007: else
8008: defaults=false
8009: fi
8010: else
8011: defaults=true
8012: defaults_given=false
8013:
8014: fi
8015:
8016: enabled_by_default=${enabled_by_default}" defaults"
8017:
8018:
8019: if test x$defaults = xfalse; then
8020: for option in $enabled_by_default; do
8021: eval test x\${${option}_given} = xtrue && continue
8022: eval $option=false
8023: done
8024: fi
8025:
8026: # ==============================
8027: # option to enable all options
8028: # ==============================
8029:
8030: # Check whether --enable-all was given.
8031: if test "${enable_all+set}" = set; then :
8032: enableval=$enable_all; all_given=true
8033: if test x$enableval = xyes; then
8034: all=true
8035: else
8036: all=false
8037: fi
8038: else
8039: all=false
8040: all_given=false
8041:
8042: fi
8043:
8044: disabled_by_default=${disabled_by_default}" all"
8045:
8046:
8047: if test x$all_given = xtrue; then
8048: for option in $disabled_by_default; do
8049: eval test x\${${option}_given} = xtrue && continue
8050: eval $option=true
8051: done
8052: fi
8053:
8054: # ===========================
8055: # set up compiler and flags
8056: # ===========================
8057:
8058: if test -z "$CFLAGS"; then
8059: CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign"
8060: fi
8061:
8062: ac_ext=c
8063: ac_cpp='$CPP $CPPFLAGS'
8064: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8065: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8066: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8067: if test -n "$ac_tool_prefix"; then
8068: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8069: set dummy ${ac_tool_prefix}gcc; ac_word=$2
8070: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8071: $as_echo_n "checking for $ac_word... " >&6; }
8072: if ${ac_cv_prog_CC+:} false; then :
8073: $as_echo_n "(cached) " >&6
8074: else
8075: if test -n "$CC"; then
8076: ac_cv_prog_CC="$CC" # Let the user override the test.
8077: else
8078: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079: for as_dir in $PATH
8080: do
8081: IFS=$as_save_IFS
8082: test -z "$as_dir" && as_dir=.
8083: for ac_exec_ext in '' $ac_executable_extensions; do
8084: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8085: ac_cv_prog_CC="${ac_tool_prefix}gcc"
8086: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087: break 2
8088: fi
8089: done
8090: done
8091: IFS=$as_save_IFS
8092:
8093: fi
8094: fi
8095: CC=$ac_cv_prog_CC
8096: if test -n "$CC"; then
8097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8098: $as_echo "$CC" >&6; }
8099: else
8100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101: $as_echo "no" >&6; }
8102: fi
8103:
8104:
8105: fi
8106: if test -z "$ac_cv_prog_CC"; then
8107: ac_ct_CC=$CC
8108: # Extract the first word of "gcc", so it can be a program name with args.
8109: set dummy gcc; ac_word=$2
8110: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8111: $as_echo_n "checking for $ac_word... " >&6; }
8112: if ${ac_cv_prog_ac_ct_CC+:} false; then :
8113: $as_echo_n "(cached) " >&6
8114: else
8115: if test -n "$ac_ct_CC"; then
8116: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8117: else
8118: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119: for as_dir in $PATH
8120: do
8121: IFS=$as_save_IFS
8122: test -z "$as_dir" && as_dir=.
8123: for ac_exec_ext in '' $ac_executable_extensions; do
8124: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8125: ac_cv_prog_ac_ct_CC="gcc"
8126: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127: break 2
8128: fi
8129: done
8130: done
8131: IFS=$as_save_IFS
8132:
8133: fi
8134: fi
8135: ac_ct_CC=$ac_cv_prog_ac_ct_CC
8136: if test -n "$ac_ct_CC"; then
8137: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8138: $as_echo "$ac_ct_CC" >&6; }
8139: else
8140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8141: $as_echo "no" >&6; }
8142: fi
8143:
8144: if test "x$ac_ct_CC" = x; then
8145: CC=""
8146: else
8147: case $cross_compiling:$ac_tool_warned in
8148: yes:)
8149: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8150: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8151: ac_tool_warned=yes ;;
8152: esac
8153: CC=$ac_ct_CC
8154: fi
8155: else
8156: CC="$ac_cv_prog_CC"
8157: fi
8158:
8159: if test -z "$CC"; then
8160: if test -n "$ac_tool_prefix"; then
8161: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8162: set dummy ${ac_tool_prefix}cc; ac_word=$2
8163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164: $as_echo_n "checking for $ac_word... " >&6; }
8165: if ${ac_cv_prog_CC+:} false; then :
8166: $as_echo_n "(cached) " >&6
8167: else
8168: if test -n "$CC"; then
8169: ac_cv_prog_CC="$CC" # Let the user override the test.
8170: else
8171: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172: for as_dir in $PATH
8173: do
8174: IFS=$as_save_IFS
8175: test -z "$as_dir" && as_dir=.
8176: for ac_exec_ext in '' $ac_executable_extensions; do
8177: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178: ac_cv_prog_CC="${ac_tool_prefix}cc"
8179: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180: break 2
8181: fi
8182: done
8183: done
8184: IFS=$as_save_IFS
8185:
8186: fi
8187: fi
8188: CC=$ac_cv_prog_CC
8189: if test -n "$CC"; then
8190: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8191: $as_echo "$CC" >&6; }
8192: else
8193: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194: $as_echo "no" >&6; }
8195: fi
8196:
8197:
8198: fi
8199: fi
8200: if test -z "$CC"; then
8201: # Extract the first word of "cc", so it can be a program name with args.
8202: set dummy cc; ac_word=$2
8203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204: $as_echo_n "checking for $ac_word... " >&6; }
8205: if ${ac_cv_prog_CC+:} false; then :
8206: $as_echo_n "(cached) " >&6
8207: else
8208: if test -n "$CC"; then
8209: ac_cv_prog_CC="$CC" # Let the user override the test.
8210: else
8211: ac_prog_rejected=no
8212: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213: for as_dir in $PATH
8214: do
8215: IFS=$as_save_IFS
8216: test -z "$as_dir" && as_dir=.
8217: for ac_exec_ext in '' $ac_executable_extensions; do
8218: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8220: ac_prog_rejected=yes
8221: continue
8222: fi
8223: ac_cv_prog_CC="cc"
8224: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225: break 2
8226: fi
8227: done
8228: done
8229: IFS=$as_save_IFS
8230:
8231: if test $ac_prog_rejected = yes; then
8232: # We found a bogon in the path, so make sure we never use it.
8233: set dummy $ac_cv_prog_CC
8234: shift
8235: if test $# != 0; then
8236: # We chose a different compiler from the bogus one.
8237: # However, it has the same basename, so the bogon will be chosen
8238: # first if we set CC to just the basename; use the full file name.
8239: shift
8240: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
8241: fi
8242: fi
8243: fi
8244: fi
8245: CC=$ac_cv_prog_CC
8246: if test -n "$CC"; then
8247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8248: $as_echo "$CC" >&6; }
8249: else
8250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8251: $as_echo "no" >&6; }
8252: fi
8253:
8254:
8255: fi
8256: if test -z "$CC"; then
8257: if test -n "$ac_tool_prefix"; then
8258: for ac_prog in cl.exe
8259: do
8260: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8261: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8263: $as_echo_n "checking for $ac_word... " >&6; }
8264: if ${ac_cv_prog_CC+:} false; then :
8265: $as_echo_n "(cached) " >&6
8266: else
8267: if test -n "$CC"; then
8268: ac_cv_prog_CC="$CC" # Let the user override the test.
8269: else
8270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8271: for as_dir in $PATH
8272: do
8273: IFS=$as_save_IFS
8274: test -z "$as_dir" && as_dir=.
8275: for ac_exec_ext in '' $ac_executable_extensions; do
8276: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8277: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8278: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8279: break 2
8280: fi
8281: done
8282: done
8283: IFS=$as_save_IFS
8284:
8285: fi
8286: fi
8287: CC=$ac_cv_prog_CC
8288: if test -n "$CC"; then
8289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8290: $as_echo "$CC" >&6; }
8291: else
8292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8293: $as_echo "no" >&6; }
8294: fi
8295:
8296:
8297: test -n "$CC" && break
8298: done
8299: fi
8300: if test -z "$CC"; then
8301: ac_ct_CC=$CC
8302: for ac_prog in cl.exe
8303: do
8304: # Extract the first word of "$ac_prog", so it can be a program name with args.
8305: set dummy $ac_prog; ac_word=$2
8306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8307: $as_echo_n "checking for $ac_word... " >&6; }
8308: if ${ac_cv_prog_ac_ct_CC+:} false; then :
8309: $as_echo_n "(cached) " >&6
8310: else
8311: if test -n "$ac_ct_CC"; then
8312: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8313: else
8314: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315: for as_dir in $PATH
8316: do
8317: IFS=$as_save_IFS
8318: test -z "$as_dir" && as_dir=.
8319: for ac_exec_ext in '' $ac_executable_extensions; do
8320: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321: ac_cv_prog_ac_ct_CC="$ac_prog"
8322: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323: break 2
8324: fi
8325: done
8326: done
8327: IFS=$as_save_IFS
8328:
8329: fi
8330: fi
8331: ac_ct_CC=$ac_cv_prog_ac_ct_CC
8332: if test -n "$ac_ct_CC"; then
8333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8334: $as_echo "$ac_ct_CC" >&6; }
8335: else
8336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8337: $as_echo "no" >&6; }
8338: fi
8339:
8340:
8341: test -n "$ac_ct_CC" && break
8342: done
8343:
8344: if test "x$ac_ct_CC" = x; then
8345: CC=""
8346: else
8347: case $cross_compiling:$ac_tool_warned in
8348: yes:)
8349: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8350: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8351: ac_tool_warned=yes ;;
8352: esac
8353: CC=$ac_ct_CC
8354: fi
8355: fi
8356:
8357: fi
8358:
8359:
8360: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8361: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8362: as_fn_error $? "no acceptable C compiler found in \$PATH
8363: See \`config.log' for more details" "$LINENO" 5; }
8364:
8365: # Provide some information about the compiler.
8366: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8367: set X $ac_compile
8368: ac_compiler=$2
8369: for ac_option in --version -v -V -qversion; do
8370: { { ac_try="$ac_compiler $ac_option >&5"
8371: case "(($ac_try" in
8372: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8373: *) ac_try_echo=$ac_try;;
8374: esac
8375: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8376: $as_echo "$ac_try_echo"; } >&5
8377: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8378: ac_status=$?
8379: if test -s conftest.err; then
8380: sed '10a\
8381: ... rest of stderr output deleted ...
8382: 10q' conftest.err >conftest.er1
8383: cat conftest.er1 >&5
8384: fi
8385: rm -f conftest.er1 conftest.err
8386: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8387: test $ac_status = 0; }
8388: done
8389:
8390: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8391: /* end confdefs.h. */
8392:
8393: int
8394: main ()
8395: {
8396:
8397: ;
8398: return 0;
8399: }
8400: _ACEOF
8401: ac_clean_files_save=$ac_clean_files
8402: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
8403: # Try to create an executable without -o first, disregard a.out.
8404: # It will help us diagnose broken compilers, and finding out an intuition
8405: # of exeext.
8406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
8407: $as_echo_n "checking whether the C compiler works... " >&6; }
8408: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8409:
8410: # The possible output files:
8411: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
8412:
8413: ac_rmfiles=
8414: for ac_file in $ac_files
8415: do
8416: case $ac_file in
8417: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8418: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8419: esac
8420: done
8421: rm -f $ac_rmfiles
8422:
8423: if { { ac_try="$ac_link_default"
8424: case "(($ac_try" in
8425: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8426: *) ac_try_echo=$ac_try;;
8427: esac
8428: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8429: $as_echo "$ac_try_echo"; } >&5
8430: (eval "$ac_link_default") 2>&5
8431: ac_status=$?
8432: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8433: test $ac_status = 0; }; then :
8434: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8435: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8436: # in a Makefile. We should not override ac_cv_exeext if it was cached,
8437: # so that the user can short-circuit this test for compilers unknown to
8438: # Autoconf.
8439: for ac_file in $ac_files ''
8440: do
8441: test -f "$ac_file" || continue
8442: case $ac_file in
8443: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
8444: ;;
8445: [ab].out )
8446: # We found the default executable, but exeext='' is most
8447: # certainly right.
8448: break;;
8449: *.* )
8450: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8451: then :; else
8452: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8453: fi
8454: # We set ac_cv_exeext here because the later test for it is not
8455: # safe: cross compilers may not add the suffix if given an `-o'
8456: # argument, so we may need to know it at that point already.
8457: # Even if this section looks crufty: it has the advantage of
8458: # actually working.
8459: break;;
8460: * )
8461: break;;
8462: esac
8463: done
8464: test "$ac_cv_exeext" = no && ac_cv_exeext=
8465:
8466: else
8467: ac_file=''
8468: fi
8469: if test -z "$ac_file"; then :
8470: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471: $as_echo "no" >&6; }
8472: $as_echo "$as_me: failed program was:" >&5
8473: sed 's/^/| /' conftest.$ac_ext >&5
8474:
8475: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8476: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8477: as_fn_error 77 "C compiler cannot create executables
8478: See \`config.log' for more details" "$LINENO" 5; }
8479: else
8480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8481: $as_echo "yes" >&6; }
8482: fi
8483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
8484: $as_echo_n "checking for C compiler default output file name... " >&6; }
8485: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
8486: $as_echo "$ac_file" >&6; }
8487: ac_exeext=$ac_cv_exeext
8488:
8489: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
8490: ac_clean_files=$ac_clean_files_save
8491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
8492: $as_echo_n "checking for suffix of executables... " >&6; }
8493: if { { ac_try="$ac_link"
8494: case "(($ac_try" in
8495: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8496: *) ac_try_echo=$ac_try;;
8497: esac
8498: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8499: $as_echo "$ac_try_echo"; } >&5
8500: (eval "$ac_link") 2>&5
8501: ac_status=$?
8502: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8503: test $ac_status = 0; }; then :
8504: # If both `conftest.exe' and `conftest' are `present' (well, observable)
8505: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
8506: # work properly (i.e., refer to `conftest.exe'), while it won't with
8507: # `rm'.
8508: for ac_file in conftest.exe conftest conftest.*; do
8509: test -f "$ac_file" || continue
8510: case $ac_file in
8511: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8512: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8513: break;;
8514: * ) break;;
8515: esac
8516: done
8517: else
8518: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8519: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8520: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
8521: See \`config.log' for more details" "$LINENO" 5; }
8522: fi
8523: rm -f conftest conftest$ac_cv_exeext
8524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
8525: $as_echo "$ac_cv_exeext" >&6; }
8526:
8527: rm -f conftest.$ac_ext
8528: EXEEXT=$ac_cv_exeext
8529: ac_exeext=$EXEEXT
8530: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8531: /* end confdefs.h. */
8532: #include <stdio.h>
8533: int
8534: main ()
8535: {
8536: FILE *f = fopen ("conftest.out", "w");
8537: return ferror (f) || fclose (f) != 0;
8538:
8539: ;
8540: return 0;
8541: }
8542: _ACEOF
8543: ac_clean_files="$ac_clean_files conftest.out"
8544: # Check that the compiler produces executables we can run. If not, either
8545: # the compiler is broken, or we cross compile.
8546: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
8547: $as_echo_n "checking whether we are cross compiling... " >&6; }
8548: if test "$cross_compiling" != yes; then
8549: { { ac_try="$ac_link"
8550: case "(($ac_try" in
8551: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8552: *) ac_try_echo=$ac_try;;
8553: esac
8554: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8555: $as_echo "$ac_try_echo"; } >&5
8556: (eval "$ac_link") 2>&5
8557: ac_status=$?
8558: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8559: test $ac_status = 0; }
8560: if { ac_try='./conftest$ac_cv_exeext'
8561: { { case "(($ac_try" in
8562: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563: *) ac_try_echo=$ac_try;;
8564: esac
8565: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8566: $as_echo "$ac_try_echo"; } >&5
8567: (eval "$ac_try") 2>&5
8568: ac_status=$?
8569: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8570: test $ac_status = 0; }; }; then
8571: cross_compiling=no
8572: else
8573: if test "$cross_compiling" = maybe; then
8574: cross_compiling=yes
8575: else
8576: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8577: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8578: as_fn_error $? "cannot run C compiled programs.
8579: If you meant to cross compile, use \`--host'.
8580: See \`config.log' for more details" "$LINENO" 5; }
8581: fi
8582: fi
8583: fi
8584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
8585: $as_echo "$cross_compiling" >&6; }
8586:
8587: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
8588: ac_clean_files=$ac_clean_files_save
8589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
8590: $as_echo_n "checking for suffix of object files... " >&6; }
8591: if ${ac_cv_objext+:} false; then :
8592: $as_echo_n "(cached) " >&6
8593: else
8594: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595: /* end confdefs.h. */
8596:
8597: int
8598: main ()
8599: {
8600:
8601: ;
8602: return 0;
8603: }
8604: _ACEOF
8605: rm -f conftest.o conftest.obj
8606: if { { ac_try="$ac_compile"
8607: case "(($ac_try" in
8608: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8609: *) ac_try_echo=$ac_try;;
8610: esac
8611: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8612: $as_echo "$ac_try_echo"; } >&5
8613: (eval "$ac_compile") 2>&5
8614: ac_status=$?
8615: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8616: test $ac_status = 0; }; then :
8617: for ac_file in conftest.o conftest.obj conftest.*; do
8618: test -f "$ac_file" || continue;
8619: case $ac_file in
8620: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
8621: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8622: break;;
8623: esac
8624: done
8625: else
8626: $as_echo "$as_me: failed program was:" >&5
8627: sed 's/^/| /' conftest.$ac_ext >&5
8628:
8629: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8630: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8631: as_fn_error $? "cannot compute suffix of object files: cannot compile
8632: See \`config.log' for more details" "$LINENO" 5; }
8633: fi
8634: rm -f conftest.$ac_cv_objext conftest.$ac_ext
8635: fi
8636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
8637: $as_echo "$ac_cv_objext" >&6; }
8638: OBJEXT=$ac_cv_objext
8639: ac_objext=$OBJEXT
8640: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8641: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8642: if ${ac_cv_c_compiler_gnu+:} false; then :
8643: $as_echo_n "(cached) " >&6
8644: else
8645: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646: /* end confdefs.h. */
8647:
8648: int
8649: main ()
8650: {
8651: #ifndef __GNUC__
8652: choke me
8653: #endif
8654:
8655: ;
8656: return 0;
8657: }
8658: _ACEOF
8659: if ac_fn_c_try_compile "$LINENO"; then :
8660: ac_compiler_gnu=yes
8661: else
8662: ac_compiler_gnu=no
8663: fi
8664: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8665: ac_cv_c_compiler_gnu=$ac_compiler_gnu
8666:
8667: fi
8668: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
8669: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
8670: if test $ac_compiler_gnu = yes; then
8671: GCC=yes
8672: else
8673: GCC=
8674: fi
8675: ac_test_CFLAGS=${CFLAGS+set}
8676: ac_save_CFLAGS=$CFLAGS
8677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8678: $as_echo_n "checking whether $CC accepts -g... " >&6; }
8679: if ${ac_cv_prog_cc_g+:} false; then :
8680: $as_echo_n "(cached) " >&6
8681: else
8682: ac_save_c_werror_flag=$ac_c_werror_flag
8683: ac_c_werror_flag=yes
8684: ac_cv_prog_cc_g=no
8685: CFLAGS="-g"
8686: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8687: /* end confdefs.h. */
8688:
8689: int
8690: main ()
8691: {
8692:
8693: ;
8694: return 0;
8695: }
8696: _ACEOF
8697: if ac_fn_c_try_compile "$LINENO"; then :
8698: ac_cv_prog_cc_g=yes
8699: else
8700: CFLAGS=""
8701: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702: /* end confdefs.h. */
8703:
8704: int
8705: main ()
8706: {
8707:
8708: ;
8709: return 0;
8710: }
8711: _ACEOF
8712: if ac_fn_c_try_compile "$LINENO"; then :
8713:
8714: else
8715: ac_c_werror_flag=$ac_save_c_werror_flag
8716: CFLAGS="-g"
8717: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718: /* end confdefs.h. */
8719:
8720: int
8721: main ()
8722: {
8723:
8724: ;
8725: return 0;
8726: }
8727: _ACEOF
8728: if ac_fn_c_try_compile "$LINENO"; then :
8729: ac_cv_prog_cc_g=yes
8730: fi
8731: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8732: fi
8733: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8734: fi
8735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8736: ac_c_werror_flag=$ac_save_c_werror_flag
8737: fi
8738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
8739: $as_echo "$ac_cv_prog_cc_g" >&6; }
8740: if test "$ac_test_CFLAGS" = set; then
8741: CFLAGS=$ac_save_CFLAGS
8742: elif test $ac_cv_prog_cc_g = yes; then
8743: if test "$GCC" = yes; then
8744: CFLAGS="-g -O2"
8745: else
8746: CFLAGS="-g"
8747: fi
8748: else
8749: if test "$GCC" = yes; then
8750: CFLAGS="-O2"
8751: else
8752: CFLAGS=
8753: fi
8754: fi
8755: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8756: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8757: if ${ac_cv_prog_cc_c89+:} false; then :
8758: $as_echo_n "(cached) " >&6
8759: else
8760: ac_cv_prog_cc_c89=no
8761: ac_save_CC=$CC
8762: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8763: /* end confdefs.h. */
8764: #include <stdarg.h>
8765: #include <stdio.h>
8766: struct stat;
8767: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8768: struct buf { int x; };
8769: FILE * (*rcsopen) (struct buf *, struct stat *, int);
8770: static char *e (p, i)
8771: char **p;
8772: int i;
8773: {
8774: return p[i];
8775: }
8776: static char *f (char * (*g) (char **, int), char **p, ...)
8777: {
8778: char *s;
8779: va_list v;
8780: va_start (v,p);
8781: s = g (p, va_arg (v,int));
8782: va_end (v);
8783: return s;
8784: }
8785:
8786: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8787: function prototypes and stuff, but not '\xHH' hex character constants.
8788: These don't provoke an error unfortunately, instead are silently treated
8789: as 'x'. The following induces an error, until -std is added to get
8790: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8791: array size at least. It's necessary to write '\x00'==0 to get something
8792: that's true only with -std. */
8793: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8794:
8795: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8796: inside strings and character constants. */
8797: #define FOO(x) 'x'
8798: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8799:
8800: int test (int i, double x);
8801: struct s1 {int (*f) (int a);};
8802: struct s2 {int (*f) (double a);};
8803: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8804: int argc;
8805: char **argv;
8806: int
8807: main ()
8808: {
8809: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8810: ;
8811: return 0;
8812: }
8813: _ACEOF
8814: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8815: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8816: do
8817: CC="$ac_save_CC $ac_arg"
8818: if ac_fn_c_try_compile "$LINENO"; then :
8819: ac_cv_prog_cc_c89=$ac_arg
8820: fi
8821: rm -f core conftest.err conftest.$ac_objext
8822: test "x$ac_cv_prog_cc_c89" != "xno" && break
8823: done
8824: rm -f conftest.$ac_ext
8825: CC=$ac_save_CC
8826:
8827: fi
8828: # AC_CACHE_VAL
8829: case "x$ac_cv_prog_cc_c89" in
8830: x)
8831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
8832: $as_echo "none needed" >&6; } ;;
8833: xno)
8834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
8835: $as_echo "unsupported" >&6; } ;;
8836: *)
8837: CC="$CC $ac_cv_prog_cc_c89"
8838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
8839: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
8840: esac
8841: if test "x$ac_cv_prog_cc_c89" != xno; then :
8842:
8843: fi
8844:
8845: ac_ext=c
8846: ac_cpp='$CPP $CPPFLAGS'
8847: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8848: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8849: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8850:
8851: ac_ext=c
8852: ac_cpp='$CPP $CPPFLAGS'
8853: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8854: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8855: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8856: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
8857: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
8858: if ${am_cv_prog_cc_c_o+:} false; then :
8859: $as_echo_n "(cached) " >&6
8860: else
8861: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862: /* end confdefs.h. */
8863:
8864: int
8865: main ()
8866: {
8867:
8868: ;
8869: return 0;
8870: }
8871: _ACEOF
8872: # Make sure it works both with $CC and with simple cc.
8873: # Following AC_PROG_CC_C_O, we do the test twice because some
8874: # compilers refuse to overwrite an existing .o file with -o,
8875: # though they will create one.
8876: am_cv_prog_cc_c_o=yes
8877: for am_i in 1 2; do
8878: if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
8879: ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
8880: ac_status=$?
8881: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8882: (exit $ac_status); } \
8883: && test -f conftest2.$ac_objext; then
8884: : OK
8885: else
8886: am_cv_prog_cc_c_o=no
8887: break
8888: fi
8889: done
8890: rm -f core conftest*
8891: unset am_i
8892: fi
8893: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
8894: $as_echo "$am_cv_prog_cc_c_o" >&6; }
8895: if test "$am_cv_prog_cc_c_o" != yes; then
8896: # Losing compiler, so override with the script.
8897: # FIXME: It is wrong to rewrite CC.
8898: # But if we don't then we get into trouble of one sort or another.
8899: # A longer-term fix would be to have automake use am__CC in this case,
8900: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
8901: CC="$am_aux_dir/compile $CC"
8902: fi
8903: ac_ext=c
8904: ac_cpp='$CPP $CPPFLAGS'
8905: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8906: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8907: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8908:
8909: DEPDIR="${am__leading_dot}deps"
8910:
8911: ac_config_commands="$ac_config_commands depfiles"
8912:
8913:
8914: am_make=${MAKE-make}
8915: cat > confinc << 'END'
8916: am__doit:
8917: @echo this is the am__doit target
8918: .PHONY: am__doit
8919: END
8920: # If we don't find an include directive, just comment out the code.
8921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8922: $as_echo_n "checking for style of include used by $am_make... " >&6; }
8923: am__include="#"
8924: am__quote=
8925: _am_result=none
8926: # First try GNU make style include.
8927: echo "include confinc" > confmf
8928: # Ignore all kinds of additional output from 'make'.
8929: case `$am_make -s -f confmf 2> /dev/null` in #(
8930: *the\ am__doit\ target*)
8931: am__include=include
8932: am__quote=
8933: _am_result=GNU
8934: ;;
8935: esac
8936: # Now try BSD make style include.
8937: if test "$am__include" = "#"; then
8938: echo '.include "confinc"' > confmf
8939: case `$am_make -s -f confmf 2> /dev/null` in #(
8940: *the\ am__doit\ target*)
8941: am__include=.include
8942: am__quote="\""
8943: _am_result=BSD
8944: ;;
8945: esac
8946: fi
8947:
8948:
8949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8950: $as_echo "$_am_result" >&6; }
8951: rm -f confinc confmf
8952:
8953: # Check whether --enable-dependency-tracking was given.
8954: if test "${enable_dependency_tracking+set}" = set; then :
8955: enableval=$enable_dependency_tracking;
8956: fi
8957:
8958: if test "x$enable_dependency_tracking" != xno; then
8959: am_depcomp="$ac_aux_dir/depcomp"
8960: AMDEPBACKSLASH='\'
8961: am__nodep='_no'
8962: fi
8963: if test "x$enable_dependency_tracking" != xno; then
8964: AMDEP_TRUE=
8965: AMDEP_FALSE='#'
8966: else
8967: AMDEP_TRUE='#'
8968: AMDEP_FALSE=
8969: fi
8970:
8971:
8972:
8973: depcc="$CC" am_compiler_list=
8974:
8975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8976: $as_echo_n "checking dependency style of $depcc... " >&6; }
8977: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
8978: $as_echo_n "(cached) " >&6
8979: else
8980: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8981: # We make a subdir and do the tests there. Otherwise we can end up
8982: # making bogus files that we don't know about and never remove. For
8983: # instance it was reported that on HP-UX the gcc test will end up
8984: # making a dummy file named 'D' -- because '-MD' means "put the output
8985: # in D".
8986: rm -rf conftest.dir
8987: mkdir conftest.dir
8988: # Copy depcomp to subdir because otherwise we won't find it if we're
8989: # using a relative directory.
8990: cp "$am_depcomp" conftest.dir
8991: cd conftest.dir
8992: # We will build objects and dependencies in a subdirectory because
8993: # it helps to detect inapplicable dependency modes. For instance
8994: # both Tru64's cc and ICC support -MD to output dependencies as a
8995: # side effect of compilation, but ICC will put the dependencies in
8996: # the current directory while Tru64 will put them in the object
8997: # directory.
8998: mkdir sub
8999:
9000: am_cv_CC_dependencies_compiler_type=none
9001: if test "$am_compiler_list" = ""; then
9002: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9003: fi
9004: am__universal=false
9005: case " $depcc " in #(
9006: *\ -arch\ *\ -arch\ *) am__universal=true ;;
9007: esac
9008:
9009: for depmode in $am_compiler_list; do
9010: # Setup a source with many dependencies, because some compilers
9011: # like to wrap large dependency lists on column 80 (with \), and
9012: # we should not choose a depcomp mode which is confused by this.
9013: #
9014: # We need to recreate these files for each test, as the compiler may
9015: # overwrite some of them when testing with obscure command lines.
9016: # This happens at least with the AIX C compiler.
9017: : > sub/conftest.c
9018: for i in 1 2 3 4 5 6; do
9019: echo '#include "conftst'$i'.h"' >> sub/conftest.c
9020: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9021: # Solaris 10 /bin/sh.
9022: echo '/* dummy */' > sub/conftst$i.h
9023: done
9024: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9025:
9026: # We check with '-c' and '-o' for the sake of the "dashmstdout"
9027: # mode. It turns out that the SunPro C++ compiler does not properly
9028: # handle '-M -o', and we need to detect this. Also, some Intel
9029: # versions had trouble with output in subdirs.
9030: am__obj=sub/conftest.${OBJEXT-o}
9031: am__minus_obj="-o $am__obj"
9032: case $depmode in
9033: gcc)
9034: # This depmode causes a compiler race in universal mode.
9035: test "$am__universal" = false || continue
9036: ;;
9037: nosideeffect)
9038: # After this tag, mechanisms are not by side-effect, so they'll
9039: # only be used when explicitly requested.
9040: if test "x$enable_dependency_tracking" = xyes; then
9041: continue
9042: else
9043: break
9044: fi
9045: ;;
9046: msvc7 | msvc7msys | msvisualcpp | msvcmsys)
9047: # This compiler won't grok '-c -o', but also, the minuso test has
9048: # not run yet. These depmodes are late enough in the game, and
9049: # so weak that their functioning should not be impacted.
9050: am__obj=conftest.${OBJEXT-o}
9051: am__minus_obj=
9052: ;;
9053: none) break ;;
9054: esac
9055: if depmode=$depmode \
9056: source=sub/conftest.c object=$am__obj \
9057: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9058: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9059: >/dev/null 2>conftest.err &&
9060: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9061: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9062: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9063: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9064: # icc doesn't choke on unknown options, it will just issue warnings
9065: # or remarks (even with -Werror). So we grep stderr for any message
9066: # that says an option was ignored or not supported.
9067: # When given -MP, icc 7.0 and 7.1 complain thusly:
9068: # icc: Command line warning: ignoring option '-M'; no argument required
9069: # The diagnosis changed in icc 8.0:
9070: # icc: Command line remark: option '-MP' not supported
9071: if (grep 'ignoring option' conftest.err ||
9072: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9073: am_cv_CC_dependencies_compiler_type=$depmode
9074: break
9075: fi
9076: fi
9077: done
9078:
9079: cd ..
9080: rm -rf conftest.dir
9081: else
9082: am_cv_CC_dependencies_compiler_type=none
9083: fi
9084:
9085: fi
9086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9087: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9088: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9089:
9090: if
9091: test "x$enable_dependency_tracking" != xno \
9092: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9093: am__fastdepCC_TRUE=
9094: am__fastdepCC_FALSE='#'
9095: else
9096: am__fastdepCC_TRUE='#'
9097: am__fastdepCC_FALSE=
9098: fi
9099:
9100:
9101:
9102:
9103: # Make sure we can run config.sub.
9104: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
9105: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
9106:
9107: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
9108: $as_echo_n "checking build system type... " >&6; }
9109: if ${ac_cv_build+:} false; then :
9110: $as_echo_n "(cached) " >&6
9111: else
9112: ac_build_alias=$build_alias
9113: test "x$ac_build_alias" = x &&
9114: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
9115: test "x$ac_build_alias" = x &&
9116: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
9117: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
9118: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
9119:
9120: fi
9121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
9122: $as_echo "$ac_cv_build" >&6; }
9123: case $ac_cv_build in
9124: *-*-*) ;;
9125: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
9126: esac
9127: build=$ac_cv_build
9128: ac_save_IFS=$IFS; IFS='-'
9129: set x $ac_cv_build
9130: shift
9131: build_cpu=$1
9132: build_vendor=$2
9133: shift; shift
9134: # Remember, the first character of IFS is used to create $*,
9135: # except with old shells:
9136: build_os=$*
9137: IFS=$ac_save_IFS
9138: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
9139:
9140:
9141: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
9142: $as_echo_n "checking host system type... " >&6; }
9143: if ${ac_cv_host+:} false; then :
9144: $as_echo_n "(cached) " >&6
9145: else
9146: if test "x$host_alias" = x; then
9147: ac_cv_host=$ac_cv_build
9148: else
9149: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
9150: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
9151: fi
9152:
9153: fi
9154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
9155: $as_echo "$ac_cv_host" >&6; }
9156: case $ac_cv_host in
9157: *-*-*) ;;
9158: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
9159: esac
9160: host=$ac_cv_host
9161: ac_save_IFS=$IFS; IFS='-'
9162: set x $ac_cv_host
9163: shift
9164: host_cpu=$1
9165: host_vendor=$2
9166: shift; shift
9167: # Remember, the first character of IFS is used to create $*,
9168: # except with old shells:
9169: host_os=$*
9170: IFS=$ac_save_IFS
9171: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
9172:
9173:
9174:
9175: ac_ext=c
9176: ac_cpp='$CPP $CPPFLAGS'
9177: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9178: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9179: ac_compiler_gnu=$ac_cv_c_compiler_gnu
9180: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9181: $as_echo_n "checking how to run the C preprocessor... " >&6; }
9182: # On Suns, sometimes $CPP names a directory.
9183: if test -n "$CPP" && test -d "$CPP"; then
9184: CPP=
9185: fi
9186: if test -z "$CPP"; then
9187: if ${ac_cv_prog_CPP+:} false; then :
9188: $as_echo_n "(cached) " >&6
9189: else
9190: # Double quotes because CPP needs to be expanded
9191: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9192: do
9193: ac_preproc_ok=false
9194: for ac_c_preproc_warn_flag in '' yes
9195: do
9196: # Use a header file that comes with gcc, so configuring glibc
9197: # with a fresh cross-compiler works.
9198: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9199: # <limits.h> exists even on freestanding compilers.
9200: # On the NeXT, cc -E runs the code through the compiler's parser,
9201: # not just through cpp. "Syntax error" is here to catch this case.
9202: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203: /* end confdefs.h. */
9204: #ifdef __STDC__
9205: # include <limits.h>
9206: #else
9207: # include <assert.h>
9208: #endif
9209: Syntax error
9210: _ACEOF
9211: if ac_fn_c_try_cpp "$LINENO"; then :
9212:
9213: else
9214: # Broken: fails on valid input.
9215: continue
9216: fi
9217: rm -f conftest.err conftest.i conftest.$ac_ext
9218:
9219: # OK, works on sane cases. Now check whether nonexistent headers
9220: # can be detected and how.
9221: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222: /* end confdefs.h. */
9223: #include <ac_nonexistent.h>
9224: _ACEOF
9225: if ac_fn_c_try_cpp "$LINENO"; then :
9226: # Broken: success on invalid input.
9227: continue
9228: else
9229: # Passes both tests.
9230: ac_preproc_ok=:
9231: break
9232: fi
9233: rm -f conftest.err conftest.i conftest.$ac_ext
9234:
9235: done
9236: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9237: rm -f conftest.i conftest.err conftest.$ac_ext
9238: if $ac_preproc_ok; then :
9239: break
9240: fi
9241:
9242: done
9243: ac_cv_prog_CPP=$CPP
9244:
9245: fi
9246: CPP=$ac_cv_prog_CPP
9247: else
9248: ac_cv_prog_CPP=$CPP
9249: fi
9250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9251: $as_echo "$CPP" >&6; }
9252: ac_preproc_ok=false
9253: for ac_c_preproc_warn_flag in '' yes
9254: do
9255: # Use a header file that comes with gcc, so configuring glibc
9256: # with a fresh cross-compiler works.
9257: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9258: # <limits.h> exists even on freestanding compilers.
9259: # On the NeXT, cc -E runs the code through the compiler's parser,
9260: # not just through cpp. "Syntax error" is here to catch this case.
9261: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9262: /* end confdefs.h. */
9263: #ifdef __STDC__
9264: # include <limits.h>
9265: #else
9266: # include <assert.h>
9267: #endif
9268: Syntax error
9269: _ACEOF
9270: if ac_fn_c_try_cpp "$LINENO"; then :
9271:
9272: else
9273: # Broken: fails on valid input.
9274: continue
9275: fi
9276: rm -f conftest.err conftest.i conftest.$ac_ext
9277:
9278: # OK, works on sane cases. Now check whether nonexistent headers
9279: # can be detected and how.
9280: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9281: /* end confdefs.h. */
9282: #include <ac_nonexistent.h>
9283: _ACEOF
9284: if ac_fn_c_try_cpp "$LINENO"; then :
9285: # Broken: success on invalid input.
9286: continue
9287: else
9288: # Passes both tests.
9289: ac_preproc_ok=:
9290: break
9291: fi
9292: rm -f conftest.err conftest.i conftest.$ac_ext
9293:
9294: done
9295: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9296: rm -f conftest.i conftest.err conftest.$ac_ext
9297: if $ac_preproc_ok; then :
9298:
9299: else
9300: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9301: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9302: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9303: See \`config.log' for more details" "$LINENO" 5; }
9304: fi
9305:
9306: ac_ext=c
9307: ac_cpp='$CPP $CPPFLAGS'
9308: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9309: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9310: ac_compiler_gnu=$ac_cv_c_compiler_gnu
9311:
9312:
9313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
9314: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
9315: if ${ac_cv_path_GREP+:} false; then :
9316: $as_echo_n "(cached) " >&6
9317: else
9318: if test -z "$GREP"; then
9319: ac_path_GREP_found=false
9320: # Loop through the user's path and test for each of PROGNAME-LIST
9321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9323: do
9324: IFS=$as_save_IFS
9325: test -z "$as_dir" && as_dir=.
9326: for ac_prog in grep ggrep; do
9327: for ac_exec_ext in '' $ac_executable_extensions; do
9328: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9329: as_fn_executable_p "$ac_path_GREP" || continue
9330: # Check for GNU ac_path_GREP and select it if it is found.
9331: # Check for GNU $ac_path_GREP
9332: case `"$ac_path_GREP" --version 2>&1` in
9333: *GNU*)
9334: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9335: *)
9336: ac_count=0
9337: $as_echo_n 0123456789 >"conftest.in"
9338: while :
9339: do
9340: cat "conftest.in" "conftest.in" >"conftest.tmp"
9341: mv "conftest.tmp" "conftest.in"
9342: cp "conftest.in" "conftest.nl"
9343: $as_echo 'GREP' >> "conftest.nl"
9344: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9345: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9346: as_fn_arith $ac_count + 1 && ac_count=$as_val
9347: if test $ac_count -gt ${ac_path_GREP_max-0}; then
9348: # Best one so far, save it but keep looking for a better one
9349: ac_cv_path_GREP="$ac_path_GREP"
9350: ac_path_GREP_max=$ac_count
9351: fi
9352: # 10*(2^10) chars as input seems more than enough
9353: test $ac_count -gt 10 && break
9354: done
9355: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9356: esac
9357:
9358: $ac_path_GREP_found && break 3
9359: done
9360: done
9361: done
9362: IFS=$as_save_IFS
9363: if test -z "$ac_cv_path_GREP"; then
9364: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9365: fi
9366: else
9367: ac_cv_path_GREP=$GREP
9368: fi
9369:
9370: fi
9371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
9372: $as_echo "$ac_cv_path_GREP" >&6; }
9373: GREP="$ac_cv_path_GREP"
9374:
9375:
9376: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9377: $as_echo_n "checking for egrep... " >&6; }
9378: if ${ac_cv_path_EGREP+:} false; then :
9379: $as_echo_n "(cached) " >&6
9380: else
9381: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9382: then ac_cv_path_EGREP="$GREP -E"
9383: else
9384: if test -z "$EGREP"; then
9385: ac_path_EGREP_found=false
9386: # Loop through the user's path and test for each of PROGNAME-LIST
9387: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9389: do
9390: IFS=$as_save_IFS
9391: test -z "$as_dir" && as_dir=.
9392: for ac_prog in egrep; do
9393: for ac_exec_ext in '' $ac_executable_extensions; do
9394: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9395: as_fn_executable_p "$ac_path_EGREP" || continue
9396: # Check for GNU ac_path_EGREP and select it if it is found.
9397: # Check for GNU $ac_path_EGREP
9398: case `"$ac_path_EGREP" --version 2>&1` in
9399: *GNU*)
9400: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9401: *)
9402: ac_count=0
9403: $as_echo_n 0123456789 >"conftest.in"
9404: while :
9405: do
9406: cat "conftest.in" "conftest.in" >"conftest.tmp"
9407: mv "conftest.tmp" "conftest.in"
9408: cp "conftest.in" "conftest.nl"
9409: $as_echo 'EGREP' >> "conftest.nl"
9410: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9411: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9412: as_fn_arith $ac_count + 1 && ac_count=$as_val
9413: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9414: # Best one so far, save it but keep looking for a better one
9415: ac_cv_path_EGREP="$ac_path_EGREP"
9416: ac_path_EGREP_max=$ac_count
9417: fi
9418: # 10*(2^10) chars as input seems more than enough
9419: test $ac_count -gt 10 && break
9420: done
9421: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9422: esac
9423:
9424: $ac_path_EGREP_found && break 3
9425: done
9426: done
9427: done
9428: IFS=$as_save_IFS
9429: if test -z "$ac_cv_path_EGREP"; then
9430: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9431: fi
9432: else
9433: ac_cv_path_EGREP=$EGREP
9434: fi
9435:
9436: fi
9437: fi
9438: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9439: $as_echo "$ac_cv_path_EGREP" >&6; }
9440: EGREP="$ac_cv_path_EGREP"
9441:
9442:
9443:
9444:
9445: acl_libdirstem=lib
9446: acl_libdirstem2=
9447: case "$host_os" in
9448: solaris*)
9449: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
9450: $as_echo_n "checking for 64-bit host... " >&6; }
9451: if ${gl_cv_solaris_64bit+:} false; then :
9452: $as_echo_n "(cached) " >&6
9453: else
9454: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9455: /* end confdefs.h. */
9456:
9457: #ifdef _LP64
9458: sixtyfour bits
9459: #endif
9460:
9461: _ACEOF
9462: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9463: $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
9464: gl_cv_solaris_64bit=yes
9465: else
9466: gl_cv_solaris_64bit=no
9467: fi
9468: rm -f conftest*
9469:
9470:
9471: fi
9472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
9473: $as_echo "$gl_cv_solaris_64bit" >&6; }
9474: if test $gl_cv_solaris_64bit = yes; then
9475: acl_libdirstem=lib/64
9476: case "$host_cpu" in
9477: sparc*) acl_libdirstem2=lib/sparcv9 ;;
9478: i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
9479: esac
9480: fi
9481: ;;
9482: *)
9483: searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
9484: if test -n "$searchpath"; then
9485: acl_save_IFS="${IFS= }"; IFS=":"
9486: for searchdir in $searchpath; do
9487: if test -d "$searchdir"; then
9488: case "$searchdir" in
9489: */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
9490: */../ | */.. )
9491: # Better ignore directories of this form. They are misleading.
9492: ;;
9493: *) searchdir=`cd "$searchdir" && pwd`
9494: case "$searchdir" in
9495: */lib64 ) acl_libdirstem=lib64 ;;
9496: esac ;;
9497: esac
9498: fi
9499: done
9500: IFS="$acl_save_IFS"
9501: fi
9502: ;;
9503: esac
9504: test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
9505:
9506:
9507: if test "X$prefix" = "XNONE"; then
9508: acl_final_prefix="$ac_default_prefix"
9509: else
9510: acl_final_prefix="$prefix"
9511: fi
9512: if test "X$exec_prefix" = "XNONE"; then
9513: acl_final_exec_prefix='${prefix}'
9514: else
9515: acl_final_exec_prefix="$exec_prefix"
9516: fi
9517: acl_save_prefix="$prefix"
9518: prefix="$acl_final_prefix"
9519: eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9520: prefix="$acl_save_prefix"
9521:
9522:
9523:
9524:
9525:
9526:
9527:
9528: use_additional=yes
9529:
9530: acl_save_prefix="$prefix"
9531: prefix="$acl_final_prefix"
9532: acl_save_exec_prefix="$exec_prefix"
9533: exec_prefix="$acl_final_exec_prefix"
9534:
9535: eval additional_includedir=\"$includedir\"
9536: eval additional_libdir=\"$libdir\"
9537:
9538: exec_prefix="$acl_save_exec_prefix"
9539: prefix="$acl_save_prefix"
9540:
9541:
9542: # Check whether --with-lib-prefix was given.
9543: if test "${with_lib_prefix+set}" = set; then :
9544: withval=$with_lib_prefix;
9545: if test "X$withval" = "Xno"; then
9546: use_additional=no
9547: else
9548: if test "X$withval" = "X"; then
9549:
9550: acl_save_prefix="$prefix"
9551: prefix="$acl_final_prefix"
9552: acl_save_exec_prefix="$exec_prefix"
9553: exec_prefix="$acl_final_exec_prefix"
9554:
9555: eval additional_includedir=\"$includedir\"
9556: eval additional_libdir=\"$libdir\"
9557:
9558: exec_prefix="$acl_save_exec_prefix"
9559: prefix="$acl_save_prefix"
9560:
9561: else
9562: additional_includedir="$withval/include"
9563: additional_libdir="$withval/$acl_libdirstem"
9564: fi
9565: fi
9566:
9567: fi
9568:
9569: if test $use_additional = yes; then
9570: if test "X$additional_includedir" != "X/usr/include"; then
9571: haveit=
9572: for x in $CPPFLAGS; do
9573:
9574: acl_save_prefix="$prefix"
9575: prefix="$acl_final_prefix"
9576: acl_save_exec_prefix="$exec_prefix"
9577: exec_prefix="$acl_final_exec_prefix"
9578: eval x=\"$x\"
9579: exec_prefix="$acl_save_exec_prefix"
9580: prefix="$acl_save_prefix"
9581:
9582: if test "X$x" = "X-I$additional_includedir"; then
9583: haveit=yes
9584: break
9585: fi
9586: done
9587: if test -z "$haveit"; then
9588: if test "X$additional_includedir" = "X/usr/local/include"; then
9589: if test -n "$GCC"; then
9590: case $host_os in
9591: linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9592: esac
9593: fi
9594: fi
9595: if test -z "$haveit"; then
9596: if test -d "$additional_includedir"; then
9597: CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
9598: fi
9599: fi
9600: fi
9601: fi
9602: if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
9603: haveit=
9604: for x in $LDFLAGS; do
9605:
9606: acl_save_prefix="$prefix"
9607: prefix="$acl_final_prefix"
9608: acl_save_exec_prefix="$exec_prefix"
9609: exec_prefix="$acl_final_exec_prefix"
9610: eval x=\"$x\"
9611: exec_prefix="$acl_save_exec_prefix"
9612: prefix="$acl_save_prefix"
9613:
9614: if test "X$x" = "X-L$additional_libdir"; then
9615: haveit=yes
9616: break
9617: fi
9618: done
9619: if test -z "$haveit"; then
9620: if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
9621: if test -n "$GCC"; then
9622: case $host_os in
9623: linux*) haveit=yes;;
9624: esac
9625: fi
9626: fi
9627: if test -z "$haveit"; then
9628: if test -d "$additional_libdir"; then
9629: LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
9630: fi
9631: fi
9632: fi
9633: fi
9634: fi
9635:
9636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9637: $as_echo_n "checking for ANSI C header files... " >&6; }
9638: if ${ac_cv_header_stdc+:} false; then :
9639: $as_echo_n "(cached) " >&6
9640: else
9641: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642: /* end confdefs.h. */
9643: #include <stdlib.h>
9644: #include <stdarg.h>
9645: #include <string.h>
9646: #include <float.h>
9647:
9648: int
9649: main ()
9650: {
9651:
9652: ;
9653: return 0;
9654: }
9655: _ACEOF
9656: if ac_fn_c_try_compile "$LINENO"; then :
9657: ac_cv_header_stdc=yes
9658: else
9659: ac_cv_header_stdc=no
9660: fi
9661: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9662:
9663: if test $ac_cv_header_stdc = yes; then
9664: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9665: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666: /* end confdefs.h. */
9667: #include <string.h>
9668:
9669: _ACEOF
9670: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9671: $EGREP "memchr" >/dev/null 2>&1; then :
9672:
9673: else
9674: ac_cv_header_stdc=no
9675: fi
9676: rm -f conftest*
9677:
9678: fi
9679:
9680: if test $ac_cv_header_stdc = yes; then
9681: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9682: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683: /* end confdefs.h. */
9684: #include <stdlib.h>
9685:
9686: _ACEOF
9687: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9688: $EGREP "free" >/dev/null 2>&1; then :
9689:
9690: else
9691: ac_cv_header_stdc=no
9692: fi
9693: rm -f conftest*
9694:
9695: fi
9696:
9697: if test $ac_cv_header_stdc = yes; then
9698: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9699: if test "$cross_compiling" = yes; then :
9700: :
9701: else
9702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703: /* end confdefs.h. */
9704: #include <ctype.h>
9705: #include <stdlib.h>
9706: #if ((' ' & 0x0FF) == 0x020)
9707: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9708: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9709: #else
9710: # define ISLOWER(c) \
9711: (('a' <= (c) && (c) <= 'i') \
9712: || ('j' <= (c) && (c) <= 'r') \
9713: || ('s' <= (c) && (c) <= 'z'))
9714: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9715: #endif
9716:
9717: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9718: int
9719: main ()
9720: {
9721: int i;
9722: for (i = 0; i < 256; i++)
9723: if (XOR (islower (i), ISLOWER (i))
9724: || toupper (i) != TOUPPER (i))
9725: return 2;
9726: return 0;
9727: }
9728: _ACEOF
9729: if ac_fn_c_try_run "$LINENO"; then :
9730:
9731: else
9732: ac_cv_header_stdc=no
9733: fi
9734: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9735: conftest.$ac_objext conftest.beam conftest.$ac_ext
9736: fi
9737:
9738: fi
9739: fi
9740: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9741: $as_echo "$ac_cv_header_stdc" >&6; }
9742: if test $ac_cv_header_stdc = yes; then
9743:
9744: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9745:
9746: fi
9747:
9748: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9749: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9750: inttypes.h stdint.h unistd.h
9751: do :
9752: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9753: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9754: "
9755: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9756: cat >>confdefs.h <<_ACEOF
9757: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9758: _ACEOF
9759:
9760: fi
9761:
9762: done
9763:
9764:
9765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
9766: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
9767: if ${ac_cv_c_bigendian+:} false; then :
9768: $as_echo_n "(cached) " >&6
9769: else
9770: ac_cv_c_bigendian=unknown
9771: # See if we're dealing with a universal compiler.
9772: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9773: /* end confdefs.h. */
9774: #ifndef __APPLE_CC__
9775: not a universal capable compiler
9776: #endif
9777: typedef int dummy;
9778:
9779: _ACEOF
9780: if ac_fn_c_try_compile "$LINENO"; then :
9781:
9782: # Check for potential -arch flags. It is not universal unless
9783: # there are at least two -arch flags with different values.
9784: ac_arch=
9785: ac_prev=
9786: for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
9787: if test -n "$ac_prev"; then
9788: case $ac_word in
9789: i?86 | x86_64 | ppc | ppc64)
9790: if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
9791: ac_arch=$ac_word
9792: else
9793: ac_cv_c_bigendian=universal
9794: break
9795: fi
9796: ;;
9797: esac
9798: ac_prev=
9799: elif test "x$ac_word" = "x-arch"; then
9800: ac_prev=arch
9801: fi
9802: done
9803: fi
9804: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9805: if test $ac_cv_c_bigendian = unknown; then
9806: # See if sys/param.h defines the BYTE_ORDER macro.
9807: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808: /* end confdefs.h. */
9809: #include <sys/types.h>
9810: #include <sys/param.h>
9811:
9812: int
9813: main ()
9814: {
9815: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
9816: && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
9817: && LITTLE_ENDIAN)
9818: bogus endian macros
9819: #endif
9820:
9821: ;
9822: return 0;
9823: }
9824: _ACEOF
9825: if ac_fn_c_try_compile "$LINENO"; then :
9826: # It does; now see whether it defined to BIG_ENDIAN or not.
9827: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9828: /* end confdefs.h. */
9829: #include <sys/types.h>
9830: #include <sys/param.h>
9831:
9832: int
9833: main ()
9834: {
9835: #if BYTE_ORDER != BIG_ENDIAN
9836: not big endian
9837: #endif
9838:
9839: ;
9840: return 0;
9841: }
9842: _ACEOF
9843: if ac_fn_c_try_compile "$LINENO"; then :
9844: ac_cv_c_bigendian=yes
9845: else
9846: ac_cv_c_bigendian=no
9847: fi
9848: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9849: fi
9850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9851: fi
9852: if test $ac_cv_c_bigendian = unknown; then
9853: # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
9854: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855: /* end confdefs.h. */
9856: #include <limits.h>
9857:
9858: int
9859: main ()
9860: {
9861: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
9862: bogus endian macros
9863: #endif
9864:
9865: ;
9866: return 0;
9867: }
9868: _ACEOF
9869: if ac_fn_c_try_compile "$LINENO"; then :
9870: # It does; now see whether it defined to _BIG_ENDIAN or not.
9871: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872: /* end confdefs.h. */
9873: #include <limits.h>
9874:
9875: int
9876: main ()
9877: {
9878: #ifndef _BIG_ENDIAN
9879: not big endian
9880: #endif
9881:
9882: ;
9883: return 0;
9884: }
9885: _ACEOF
9886: if ac_fn_c_try_compile "$LINENO"; then :
9887: ac_cv_c_bigendian=yes
9888: else
9889: ac_cv_c_bigendian=no
9890: fi
9891: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9892: fi
9893: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9894: fi
9895: if test $ac_cv_c_bigendian = unknown; then
9896: # Compile a test program.
9897: if test "$cross_compiling" = yes; then :
9898: # Try to guess by grepping values from an object file.
9899: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900: /* end confdefs.h. */
9901: short int ascii_mm[] =
9902: { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
9903: short int ascii_ii[] =
9904: { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
9905: int use_ascii (int i) {
9906: return ascii_mm[i] + ascii_ii[i];
9907: }
9908: short int ebcdic_ii[] =
9909: { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
9910: short int ebcdic_mm[] =
9911: { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
9912: int use_ebcdic (int i) {
9913: return ebcdic_mm[i] + ebcdic_ii[i];
9914: }
9915: extern int foo;
9916:
9917: int
9918: main ()
9919: {
9920: return use_ascii (foo) == use_ebcdic (foo);
9921: ;
9922: return 0;
9923: }
9924: _ACEOF
9925: if ac_fn_c_try_compile "$LINENO"; then :
9926: if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
9927: ac_cv_c_bigendian=yes
9928: fi
9929: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
9930: if test "$ac_cv_c_bigendian" = unknown; then
9931: ac_cv_c_bigendian=no
9932: else
9933: # finding both strings is unlikely to happen, but who knows?
9934: ac_cv_c_bigendian=unknown
9935: fi
9936: fi
9937: fi
9938: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9939: else
9940: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941: /* end confdefs.h. */
9942: $ac_includes_default
9943: int
9944: main ()
9945: {
9946:
9947: /* Are we little or big endian? From Harbison&Steele. */
9948: union
9949: {
9950: long int l;
9951: char c[sizeof (long int)];
9952: } u;
9953: u.l = 1;
9954: return u.c[sizeof (long int) - 1] == 1;
9955:
9956: ;
9957: return 0;
9958: }
9959: _ACEOF
9960: if ac_fn_c_try_run "$LINENO"; then :
9961: ac_cv_c_bigendian=no
9962: else
9963: ac_cv_c_bigendian=yes
9964: fi
9965: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9966: conftest.$ac_objext conftest.beam conftest.$ac_ext
9967: fi
9968:
9969: fi
9970: fi
9971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
9972: $as_echo "$ac_cv_c_bigendian" >&6; }
9973: case $ac_cv_c_bigendian in #(
9974: yes)
9975: $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
9976: ;; #(
9977: no)
9978: ;; #(
9979: universal)
9980:
9981: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
9982:
9983: ;; #(
9984: *)
9985: as_fn_error $? "unknown endianness
9986: presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
9987: esac
9988:
9989:
9990: # =========================
9991: # check required programs
9992: # =========================
9993:
9994: case `pwd` in
9995: *\ * | *\ *)
9996: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
9997: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
9998: esac
9999:
10000:
10001:
10002: macro_version='2.4.6'
10003: macro_revision='2.4.6'
10004:
10005:
10006:
10007:
10008:
10009:
10010:
10011:
10012:
10013:
10014:
10015:
10016:
10017: ltmain=$ac_aux_dir/ltmain.sh
10018:
10019: # Backslashify metacharacters that are still active within
10020: # double-quoted strings.
10021: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10022:
10023: # Same as above, but do not quote variable references.
10024: double_quote_subst='s/\(["`\\]\)/\\\1/g'
10025:
10026: # Sed substitution to delay expansion of an escaped shell variable in a
10027: # double_quote_subst'ed string.
10028: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10029:
10030: # Sed substitution to delay expansion of an escaped single quote.
10031: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10032:
10033: # Sed substitution to avoid accidental globbing in evaled expressions
10034: no_glob_subst='s/\*/\\\*/g'
10035:
10036: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10037: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
10038: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
10039:
10040: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
10041: $as_echo_n "checking how to print strings... " >&6; }
10042: # Test print first, because it will be a builtin if present.
10043: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
10044: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
10045: ECHO='print -r --'
10046: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
10047: ECHO='printf %s\n'
10048: else
10049: # Use this function as a fallback that always works.
10050: func_fallback_echo ()
10051: {
10052: eval 'cat <<_LTECHO_EOF
10053: $1
10054: _LTECHO_EOF'
10055: }
10056: ECHO='func_fallback_echo'
10057: fi
10058:
10059: # func_echo_all arg...
10060: # Invoke $ECHO with all args, space-separated.
10061: func_echo_all ()
10062: {
10063: $ECHO ""
10064: }
10065:
10066: case $ECHO in
10067: printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
10068: $as_echo "printf" >&6; } ;;
10069: print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
10070: $as_echo "print -r" >&6; } ;;
10071: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
10072: $as_echo "cat" >&6; } ;;
10073: esac
10074:
10075:
10076:
10077:
10078:
10079:
10080:
10081:
10082:
10083:
10084:
10085:
10086:
10087:
10088: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
10089: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
10090: if ${ac_cv_path_SED+:} false; then :
10091: $as_echo_n "(cached) " >&6
10092: else
10093: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
10094: for ac_i in 1 2 3 4 5 6 7; do
10095: ac_script="$ac_script$as_nl$ac_script"
10096: done
10097: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
10098: { ac_script=; unset ac_script;}
10099: if test -z "$SED"; then
10100: ac_path_SED_found=false
10101: # Loop through the user's path and test for each of PROGNAME-LIST
10102: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10103: for as_dir in $PATH
10104: do
10105: IFS=$as_save_IFS
10106: test -z "$as_dir" && as_dir=.
10107: for ac_prog in sed gsed; do
10108: for ac_exec_ext in '' $ac_executable_extensions; do
10109: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
10110: as_fn_executable_p "$ac_path_SED" || continue
10111: # Check for GNU ac_path_SED and select it if it is found.
10112: # Check for GNU $ac_path_SED
10113: case `"$ac_path_SED" --version 2>&1` in
10114: *GNU*)
10115: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
10116: *)
10117: ac_count=0
10118: $as_echo_n 0123456789 >"conftest.in"
10119: while :
10120: do
10121: cat "conftest.in" "conftest.in" >"conftest.tmp"
10122: mv "conftest.tmp" "conftest.in"
10123: cp "conftest.in" "conftest.nl"
10124: $as_echo '' >> "conftest.nl"
10125: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
10126: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10127: as_fn_arith $ac_count + 1 && ac_count=$as_val
10128: if test $ac_count -gt ${ac_path_SED_max-0}; then
10129: # Best one so far, save it but keep looking for a better one
10130: ac_cv_path_SED="$ac_path_SED"
10131: ac_path_SED_max=$ac_count
10132: fi
10133: # 10*(2^10) chars as input seems more than enough
10134: test $ac_count -gt 10 && break
10135: done
10136: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10137: esac
10138:
10139: $ac_path_SED_found && break 3
10140: done
10141: done
10142: done
10143: IFS=$as_save_IFS
10144: if test -z "$ac_cv_path_SED"; then
10145: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
10146: fi
10147: else
10148: ac_cv_path_SED=$SED
10149: fi
10150:
10151: fi
10152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
10153: $as_echo "$ac_cv_path_SED" >&6; }
10154: SED="$ac_cv_path_SED"
10155: rm -f conftest.sed
10156:
10157: test -z "$SED" && SED=sed
10158: Xsed="$SED -e 1s/^X//"
10159:
10160:
10161:
10162:
10163:
10164:
10165:
10166:
10167:
10168:
10169:
10170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
10171: $as_echo_n "checking for fgrep... " >&6; }
10172: if ${ac_cv_path_FGREP+:} false; then :
10173: $as_echo_n "(cached) " >&6
10174: else
10175: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
10176: then ac_cv_path_FGREP="$GREP -F"
10177: else
10178: if test -z "$FGREP"; then
10179: ac_path_FGREP_found=false
10180: # Loop through the user's path and test for each of PROGNAME-LIST
10181: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10183: do
10184: IFS=$as_save_IFS
10185: test -z "$as_dir" && as_dir=.
10186: for ac_prog in fgrep; do
10187: for ac_exec_ext in '' $ac_executable_extensions; do
10188: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
10189: as_fn_executable_p "$ac_path_FGREP" || continue
10190: # Check for GNU ac_path_FGREP and select it if it is found.
10191: # Check for GNU $ac_path_FGREP
10192: case `"$ac_path_FGREP" --version 2>&1` in
10193: *GNU*)
10194: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
10195: *)
10196: ac_count=0
10197: $as_echo_n 0123456789 >"conftest.in"
10198: while :
10199: do
10200: cat "conftest.in" "conftest.in" >"conftest.tmp"
10201: mv "conftest.tmp" "conftest.in"
10202: cp "conftest.in" "conftest.nl"
10203: $as_echo 'FGREP' >> "conftest.nl"
10204: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
10205: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10206: as_fn_arith $ac_count + 1 && ac_count=$as_val
10207: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
10208: # Best one so far, save it but keep looking for a better one
10209: ac_cv_path_FGREP="$ac_path_FGREP"
10210: ac_path_FGREP_max=$ac_count
10211: fi
10212: # 10*(2^10) chars as input seems more than enough
10213: test $ac_count -gt 10 && break
10214: done
10215: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10216: esac
10217:
10218: $ac_path_FGREP_found && break 3
10219: done
10220: done
10221: done
10222: IFS=$as_save_IFS
10223: if test -z "$ac_cv_path_FGREP"; then
10224: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
10225: fi
10226: else
10227: ac_cv_path_FGREP=$FGREP
10228: fi
10229:
10230: fi
10231: fi
10232: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
10233: $as_echo "$ac_cv_path_FGREP" >&6; }
10234: FGREP="$ac_cv_path_FGREP"
10235:
10236:
10237: test -z "$GREP" && GREP=grep
10238:
10239:
10240:
10241:
10242:
10243:
10244:
10245:
10246:
10247:
10248:
10249:
10250:
10251:
10252:
10253:
10254:
10255:
10256:
10257: # Check whether --with-gnu-ld was given.
10258: if test "${with_gnu_ld+set}" = set; then :
10259: withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
10260: else
10261: with_gnu_ld=no
10262: fi
10263:
10264: ac_prog=ld
10265: if test yes = "$GCC"; then
10266: # Check if gcc -print-prog-name=ld gives a path.
10267: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10268: $as_echo_n "checking for ld used by $CC... " >&6; }
10269: case $host in
10270: *-*-mingw*)
10271: # gcc leaves a trailing carriage return, which upsets mingw
10272: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10273: *)
10274: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10275: esac
10276: case $ac_prog in
10277: # Accept absolute paths.
10278: [\\/]* | ?:[\\/]*)
10279: re_direlt='/[^/][^/]*/\.\./'
10280: # Canonicalize the pathname of ld
10281: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10282: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10283: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10284: done
10285: test -z "$LD" && LD=$ac_prog
10286: ;;
10287: "")
10288: # If it fails, then pretend we aren't using GCC.
10289: ac_prog=ld
10290: ;;
10291: *)
10292: # If it is relative, then search for the first ld in PATH.
10293: with_gnu_ld=unknown
10294: ;;
10295: esac
10296: elif test yes = "$with_gnu_ld"; then
10297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10298: $as_echo_n "checking for GNU ld... " >&6; }
10299: else
10300: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10301: $as_echo_n "checking for non-GNU ld... " >&6; }
10302: fi
10303: if ${lt_cv_path_LD+:} false; then :
10304: $as_echo_n "(cached) " >&6
10305: else
10306: if test -z "$LD"; then
10307: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10308: for ac_dir in $PATH; do
10309: IFS=$lt_save_ifs
10310: test -z "$ac_dir" && ac_dir=.
10311: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10312: lt_cv_path_LD=$ac_dir/$ac_prog
10313: # Check to see if the program is GNU ld. I'd rather use --version,
10314: # but apparently some variants of GNU ld only accept -v.
10315: # Break only if it was the GNU/non-GNU ld that we prefer.
10316: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10317: *GNU* | *'with BFD'*)
10318: test no != "$with_gnu_ld" && break
10319: ;;
10320: *)
10321: test yes != "$with_gnu_ld" && break
10322: ;;
10323: esac
10324: fi
10325: done
10326: IFS=$lt_save_ifs
10327: else
10328: lt_cv_path_LD=$LD # Let the user override the test with a path.
10329: fi
10330: fi
10331:
10332: LD=$lt_cv_path_LD
10333: if test -n "$LD"; then
10334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10335: $as_echo "$LD" >&6; }
10336: else
10337: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10338: $as_echo "no" >&6; }
10339: fi
10340: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10341: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10342: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10343: if ${lt_cv_prog_gnu_ld+:} false; then :
10344: $as_echo_n "(cached) " >&6
10345: else
10346: # I'd rather use --version here, but apparently some GNU lds only accept -v.
10347: case `$LD -v 2>&1 </dev/null` in
10348: *GNU* | *'with BFD'*)
10349: lt_cv_prog_gnu_ld=yes
10350: ;;
10351: *)
10352: lt_cv_prog_gnu_ld=no
10353: ;;
10354: esac
10355: fi
10356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10357: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
10358: with_gnu_ld=$lt_cv_prog_gnu_ld
10359:
10360:
10361:
10362:
10363:
10364:
10365:
10366:
10367:
10368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
10369: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
10370: if ${lt_cv_path_NM+:} false; then :
10371: $as_echo_n "(cached) " >&6
10372: else
10373: if test -n "$NM"; then
10374: # Let the user override the test.
10375: lt_cv_path_NM=$NM
10376: else
10377: lt_nm_to_check=${ac_tool_prefix}nm
10378: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10379: lt_nm_to_check="$lt_nm_to_check nm"
10380: fi
10381: for lt_tmp_nm in $lt_nm_to_check; do
10382: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10383: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10384: IFS=$lt_save_ifs
10385: test -z "$ac_dir" && ac_dir=.
10386: tmp_nm=$ac_dir/$lt_tmp_nm
10387: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
10388: # Check to see if the nm accepts a BSD-compat flag.
10389: # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
10390: # nm: unknown option "B" ignored
10391: # Tru64's nm complains that /dev/null is an invalid object file
10392: # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
10393: case $build_os in
10394: mingw*) lt_bad_file=conftest.nm/nofile ;;
10395: *) lt_bad_file=/dev/null ;;
10396: esac
10397: case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
10398: *$lt_bad_file* | *'Invalid file or object type'*)
10399: lt_cv_path_NM="$tmp_nm -B"
10400: break 2
10401: ;;
10402: *)
10403: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10404: */dev/null*)
10405: lt_cv_path_NM="$tmp_nm -p"
10406: break 2
10407: ;;
10408: *)
10409: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10410: continue # so that we can try to find one that supports BSD flags
10411: ;;
10412: esac
10413: ;;
10414: esac
10415: fi
10416: done
10417: IFS=$lt_save_ifs
10418: done
10419: : ${lt_cv_path_NM=no}
10420: fi
10421: fi
10422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
10423: $as_echo "$lt_cv_path_NM" >&6; }
10424: if test no != "$lt_cv_path_NM"; then
10425: NM=$lt_cv_path_NM
10426: else
10427: # Didn't find any BSD compatible name lister, look for dumpbin.
10428: if test -n "$DUMPBIN"; then :
10429: # Let the user override the test.
10430: else
10431: if test -n "$ac_tool_prefix"; then
10432: for ac_prog in dumpbin "link -dump"
10433: do
10434: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10435: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10437: $as_echo_n "checking for $ac_word... " >&6; }
10438: if ${ac_cv_prog_DUMPBIN+:} false; then :
10439: $as_echo_n "(cached) " >&6
10440: else
10441: if test -n "$DUMPBIN"; then
10442: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
10443: else
10444: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10445: for as_dir in $PATH
10446: do
10447: IFS=$as_save_IFS
10448: test -z "$as_dir" && as_dir=.
10449: for ac_exec_ext in '' $ac_executable_extensions; do
10450: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10451: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
10452: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10453: break 2
10454: fi
10455: done
10456: done
10457: IFS=$as_save_IFS
10458:
10459: fi
10460: fi
10461: DUMPBIN=$ac_cv_prog_DUMPBIN
10462: if test -n "$DUMPBIN"; then
10463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
10464: $as_echo "$DUMPBIN" >&6; }
10465: else
10466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10467: $as_echo "no" >&6; }
10468: fi
10469:
10470:
10471: test -n "$DUMPBIN" && break
10472: done
10473: fi
10474: if test -z "$DUMPBIN"; then
10475: ac_ct_DUMPBIN=$DUMPBIN
10476: for ac_prog in dumpbin "link -dump"
10477: do
10478: # Extract the first word of "$ac_prog", so it can be a program name with args.
10479: set dummy $ac_prog; ac_word=$2
10480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10481: $as_echo_n "checking for $ac_word... " >&6; }
10482: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
10483: $as_echo_n "(cached) " >&6
10484: else
10485: if test -n "$ac_ct_DUMPBIN"; then
10486: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
10487: else
10488: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489: for as_dir in $PATH
10490: do
10491: IFS=$as_save_IFS
10492: test -z "$as_dir" && as_dir=.
10493: for ac_exec_ext in '' $ac_executable_extensions; do
10494: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10495: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
10496: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10497: break 2
10498: fi
10499: done
10500: done
10501: IFS=$as_save_IFS
10502:
10503: fi
10504: fi
10505: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
10506: if test -n "$ac_ct_DUMPBIN"; then
10507: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
10508: $as_echo "$ac_ct_DUMPBIN" >&6; }
10509: else
10510: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511: $as_echo "no" >&6; }
10512: fi
10513:
10514:
10515: test -n "$ac_ct_DUMPBIN" && break
10516: done
10517:
10518: if test "x$ac_ct_DUMPBIN" = x; then
10519: DUMPBIN=":"
10520: else
10521: case $cross_compiling:$ac_tool_warned in
10522: yes:)
10523: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10524: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10525: ac_tool_warned=yes ;;
10526: esac
10527: DUMPBIN=$ac_ct_DUMPBIN
10528: fi
10529: fi
10530:
10531: case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
10532: *COFF*)
10533: DUMPBIN="$DUMPBIN -symbols -headers"
10534: ;;
10535: *)
10536: DUMPBIN=:
10537: ;;
10538: esac
10539: fi
10540:
10541: if test : != "$DUMPBIN"; then
10542: NM=$DUMPBIN
10543: fi
10544: fi
10545: test -z "$NM" && NM=nm
10546:
10547:
10548:
10549:
10550:
10551:
10552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
10553: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
10554: if ${lt_cv_nm_interface+:} false; then :
10555: $as_echo_n "(cached) " >&6
10556: else
10557: lt_cv_nm_interface="BSD nm"
10558: echo "int some_variable = 0;" > conftest.$ac_ext
10559: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
10560: (eval "$ac_compile" 2>conftest.err)
10561: cat conftest.err >&5
10562: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
10563: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
10564: cat conftest.err >&5
10565: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
10566: cat conftest.out >&5
10567: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
10568: lt_cv_nm_interface="MS dumpbin"
10569: fi
10570: rm -f conftest*
10571: fi
10572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
10573: $as_echo "$lt_cv_nm_interface" >&6; }
10574:
10575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
10576: $as_echo_n "checking whether ln -s works... " >&6; }
10577: LN_S=$as_ln_s
10578: if test "$LN_S" = "ln -s"; then
10579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10580: $as_echo "yes" >&6; }
10581: else
10582: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
10583: $as_echo "no, using $LN_S" >&6; }
10584: fi
10585:
10586: # find the maximum length of command line arguments
10587: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
10588: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
10589: if ${lt_cv_sys_max_cmd_len+:} false; then :
10590: $as_echo_n "(cached) " >&6
10591: else
10592: i=0
10593: teststring=ABCD
10594:
10595: case $build_os in
10596: msdosdjgpp*)
10597: # On DJGPP, this test can blow up pretty badly due to problems in libc
10598: # (any single argument exceeding 2000 bytes causes a buffer overrun
10599: # during glob expansion). Even if it were fixed, the result of this
10600: # check would be larger than it should be.
10601: lt_cv_sys_max_cmd_len=12288; # 12K is about right
10602: ;;
10603:
10604: gnu*)
10605: # Under GNU Hurd, this test is not required because there is
10606: # no limit to the length of command line arguments.
10607: # Libtool will interpret -1 as no limit whatsoever
10608: lt_cv_sys_max_cmd_len=-1;
10609: ;;
10610:
10611: cygwin* | mingw* | cegcc*)
10612: # On Win9x/ME, this test blows up -- it succeeds, but takes
10613: # about 5 minutes as the teststring grows exponentially.
10614: # Worse, since 9x/ME are not pre-emptively multitasking,
10615: # you end up with a "frozen" computer, even though with patience
10616: # the test eventually succeeds (with a max line length of 256k).
10617: # Instead, let's just punt: use the minimum linelength reported by
10618: # all of the supported platforms: 8192 (on NT/2K/XP).
10619: lt_cv_sys_max_cmd_len=8192;
10620: ;;
10621:
10622: mint*)
10623: # On MiNT this can take a long time and run out of memory.
10624: lt_cv_sys_max_cmd_len=8192;
10625: ;;
10626:
10627: amigaos*)
10628: # On AmigaOS with pdksh, this test takes hours, literally.
10629: # So we just punt and use a minimum line length of 8192.
10630: lt_cv_sys_max_cmd_len=8192;
10631: ;;
10632:
10633: bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
10634: # This has been around since 386BSD, at least. Likely further.
10635: if test -x /sbin/sysctl; then
10636: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
10637: elif test -x /usr/sbin/sysctl; then
10638: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
10639: else
10640: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
10641: fi
10642: # And add a safety zone
10643: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10644: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10645: ;;
10646:
10647: interix*)
10648: # We know the value 262144 and hardcode it with a safety zone (like BSD)
10649: lt_cv_sys_max_cmd_len=196608
10650: ;;
10651:
10652: os2*)
10653: # The test takes a long time on OS/2.
10654: lt_cv_sys_max_cmd_len=8192
10655: ;;
10656:
10657: osf*)
10658: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
10659: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
10660: # nice to cause kernel panics so lets avoid the loop below.
10661: # First set a reasonable default.
10662: lt_cv_sys_max_cmd_len=16384
10663: #
10664: if test -x /sbin/sysconfig; then
10665: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
10666: *1*) lt_cv_sys_max_cmd_len=-1 ;;
10667: esac
10668: fi
10669: ;;
10670: sco3.2v5*)
10671: lt_cv_sys_max_cmd_len=102400
10672: ;;
10673: sysv5* | sco5v6* | sysv4.2uw2*)
10674: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
10675: if test -n "$kargmax"; then
10676: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
10677: else
10678: lt_cv_sys_max_cmd_len=32768
10679: fi
10680: ;;
10681: *)
10682: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
10683: if test -n "$lt_cv_sys_max_cmd_len" && \
10684: test undefined != "$lt_cv_sys_max_cmd_len"; then
10685: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10686: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10687: else
10688: # Make teststring a little bigger before we do anything with it.
10689: # a 1K string should be a reasonable start.
10690: for i in 1 2 3 4 5 6 7 8; do
10691: teststring=$teststring$teststring
10692: done
10693: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
10694: # If test is not a shell built-in, we'll probably end up computing a
10695: # maximum length that is only half of the actual maximum length, but
10696: # we can't tell.
10697: while { test X`env echo "$teststring$teststring" 2>/dev/null` \
10698: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
10699: test 17 != "$i" # 1/2 MB should be enough
10700: do
10701: i=`expr $i + 1`
10702: teststring=$teststring$teststring
10703: done
10704: # Only check the string length outside the loop.
10705: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
10706: teststring=
10707: # Add a significant safety factor because C++ compilers can tack on
10708: # massive amounts of additional arguments before passing them to the
10709: # linker. It appears as though 1/2 is a usable value.
10710: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10711: fi
10712: ;;
10713: esac
10714:
10715: fi
10716:
10717: if test -n "$lt_cv_sys_max_cmd_len"; then
10718: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
10719: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
10720: else
10721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
10722: $as_echo "none" >&6; }
10723: fi
10724: max_cmd_len=$lt_cv_sys_max_cmd_len
10725:
10726:
10727:
10728:
10729:
10730:
10731: : ${CP="cp -f"}
10732: : ${MV="mv -f"}
10733: : ${RM="rm -f"}
10734:
10735: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10736: lt_unset=unset
10737: else
10738: lt_unset=false
10739: fi
10740:
10741:
10742:
10743:
10744:
10745: # test EBCDIC or ASCII
10746: case `echo X|tr X '\101'` in
10747: A) # ASCII based system
10748: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
10749: lt_SP2NL='tr \040 \012'
10750: lt_NL2SP='tr \015\012 \040\040'
10751: ;;
10752: *) # EBCDIC based system
10753: lt_SP2NL='tr \100 \n'
10754: lt_NL2SP='tr \r\n \100\100'
10755: ;;
10756: esac
10757:
10758:
10759:
10760:
10761:
10762:
10763:
10764:
10765:
10766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
10767: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
10768: if ${lt_cv_to_host_file_cmd+:} false; then :
10769: $as_echo_n "(cached) " >&6
10770: else
10771: case $host in
10772: *-*-mingw* )
10773: case $build in
10774: *-*-mingw* ) # actually msys
10775: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
10776: ;;
10777: *-*-cygwin* )
10778: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
10779: ;;
10780: * ) # otherwise, assume *nix
10781: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
10782: ;;
10783: esac
10784: ;;
10785: *-*-cygwin* )
10786: case $build in
10787: *-*-mingw* ) # actually msys
10788: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
10789: ;;
10790: *-*-cygwin* )
10791: lt_cv_to_host_file_cmd=func_convert_file_noop
10792: ;;
10793: * ) # otherwise, assume *nix
10794: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
10795: ;;
10796: esac
10797: ;;
10798: * ) # unhandled hosts (and "normal" native builds)
10799: lt_cv_to_host_file_cmd=func_convert_file_noop
10800: ;;
10801: esac
10802:
10803: fi
10804:
10805: to_host_file_cmd=$lt_cv_to_host_file_cmd
10806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
10807: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
10808:
10809:
10810:
10811:
10812:
10813: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
10814: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
10815: if ${lt_cv_to_tool_file_cmd+:} false; then :
10816: $as_echo_n "(cached) " >&6
10817: else
10818: #assume ordinary cross tools, or native build.
10819: lt_cv_to_tool_file_cmd=func_convert_file_noop
10820: case $host in
10821: *-*-mingw* )
10822: case $build in
10823: *-*-mingw* ) # actually msys
10824: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
10825: ;;
10826: esac
10827: ;;
10828: esac
10829:
10830: fi
10831:
10832: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
10833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
10834: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
10835:
10836:
10837:
10838:
10839:
10840: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
10841: $as_echo_n "checking for $LD option to reload object files... " >&6; }
10842: if ${lt_cv_ld_reload_flag+:} false; then :
10843: $as_echo_n "(cached) " >&6
10844: else
10845: lt_cv_ld_reload_flag='-r'
10846: fi
10847: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
10848: $as_echo "$lt_cv_ld_reload_flag" >&6; }
10849: reload_flag=$lt_cv_ld_reload_flag
10850: case $reload_flag in
10851: "" | " "*) ;;
10852: *) reload_flag=" $reload_flag" ;;
10853: esac
10854: reload_cmds='$LD$reload_flag -o $output$reload_objs'
10855: case $host_os in
10856: cygwin* | mingw* | pw32* | cegcc*)
10857: if test yes != "$GCC"; then
10858: reload_cmds=false
10859: fi
10860: ;;
10861: darwin*)
10862: if test yes = "$GCC"; then
10863: reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
10864: else
10865: reload_cmds='$LD$reload_flag -o $output$reload_objs'
10866: fi
10867: ;;
10868: esac
10869:
10870:
10871:
10872:
10873:
10874:
10875:
10876:
10877:
10878: if test -n "$ac_tool_prefix"; then
10879: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
10880: set dummy ${ac_tool_prefix}objdump; ac_word=$2
10881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10882: $as_echo_n "checking for $ac_word... " >&6; }
10883: if ${ac_cv_prog_OBJDUMP+:} false; then :
10884: $as_echo_n "(cached) " >&6
10885: else
10886: if test -n "$OBJDUMP"; then
10887: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10888: else
10889: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890: for as_dir in $PATH
10891: do
10892: IFS=$as_save_IFS
10893: test -z "$as_dir" && as_dir=.
10894: for ac_exec_ext in '' $ac_executable_extensions; do
10895: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10896: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
10897: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10898: break 2
10899: fi
10900: done
10901: done
10902: IFS=$as_save_IFS
10903:
10904: fi
10905: fi
10906: OBJDUMP=$ac_cv_prog_OBJDUMP
10907: if test -n "$OBJDUMP"; then
10908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10909: $as_echo "$OBJDUMP" >&6; }
10910: else
10911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10912: $as_echo "no" >&6; }
10913: fi
10914:
10915:
10916: fi
10917: if test -z "$ac_cv_prog_OBJDUMP"; then
10918: ac_ct_OBJDUMP=$OBJDUMP
10919: # Extract the first word of "objdump", so it can be a program name with args.
10920: set dummy objdump; ac_word=$2
10921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10922: $as_echo_n "checking for $ac_word... " >&6; }
10923: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
10924: $as_echo_n "(cached) " >&6
10925: else
10926: if test -n "$ac_ct_OBJDUMP"; then
10927: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10928: else
10929: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10930: for as_dir in $PATH
10931: do
10932: IFS=$as_save_IFS
10933: test -z "$as_dir" && as_dir=.
10934: for ac_exec_ext in '' $ac_executable_extensions; do
10935: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10936: ac_cv_prog_ac_ct_OBJDUMP="objdump"
10937: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10938: break 2
10939: fi
10940: done
10941: done
10942: IFS=$as_save_IFS
10943:
10944: fi
10945: fi
10946: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10947: if test -n "$ac_ct_OBJDUMP"; then
10948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10949: $as_echo "$ac_ct_OBJDUMP" >&6; }
10950: else
10951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10952: $as_echo "no" >&6; }
10953: fi
10954:
10955: if test "x$ac_ct_OBJDUMP" = x; then
10956: OBJDUMP="false"
10957: else
10958: case $cross_compiling:$ac_tool_warned in
10959: yes:)
10960: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10961: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10962: ac_tool_warned=yes ;;
10963: esac
10964: OBJDUMP=$ac_ct_OBJDUMP
10965: fi
10966: else
10967: OBJDUMP="$ac_cv_prog_OBJDUMP"
10968: fi
10969:
10970: test -z "$OBJDUMP" && OBJDUMP=objdump
10971:
10972:
10973:
10974:
10975:
10976:
10977:
10978:
10979:
10980: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
10981: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
10982: if ${lt_cv_deplibs_check_method+:} false; then :
10983: $as_echo_n "(cached) " >&6
10984: else
10985: lt_cv_file_magic_cmd='$MAGIC_CMD'
10986: lt_cv_file_magic_test_file=
10987: lt_cv_deplibs_check_method='unknown'
10988: # Need to set the preceding variable on all platforms that support
10989: # interlibrary dependencies.
10990: # 'none' -- dependencies not supported.
10991: # 'unknown' -- same as none, but documents that we really don't know.
10992: # 'pass_all' -- all dependencies passed with no checks.
10993: # 'test_compile' -- check by making test program.
10994: # 'file_magic [[regex]]' -- check by looking for files in library path
10995: # that responds to the $file_magic_cmd with a given extended regex.
10996: # If you have 'file' or equivalent on your system and you're not sure
10997: # whether 'pass_all' will *always* work, you probably want this one.
10998:
10999: case $host_os in
11000: aix[4-9]*)
11001: lt_cv_deplibs_check_method=pass_all
11002: ;;
11003:
11004: beos*)
11005: lt_cv_deplibs_check_method=pass_all
11006: ;;
11007:
11008: bsdi[45]*)
11009: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
11010: lt_cv_file_magic_cmd='/usr/bin/file -L'
11011: lt_cv_file_magic_test_file=/shlib/libc.so
11012: ;;
11013:
11014: cygwin*)
11015: # func_win32_libid is a shell function defined in ltmain.sh
11016: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11017: lt_cv_file_magic_cmd='func_win32_libid'
11018: ;;
11019:
11020: mingw* | pw32*)
11021: # Base MSYS/MinGW do not provide the 'file' command needed by
11022: # func_win32_libid shell function, so use a weaker test based on 'objdump',
11023: # unless we find 'file', for example because we are cross-compiling.
11024: if ( file / ) >/dev/null 2>&1; then
11025: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11026: lt_cv_file_magic_cmd='func_win32_libid'
11027: else
11028: # Keep this pattern in sync with the one in func_win32_libid.
11029: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
11030: lt_cv_file_magic_cmd='$OBJDUMP -f'
11031: fi
11032: ;;
11033:
11034: cegcc*)
11035: # use the weaker test based on 'objdump'. See mingw*.
11036: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
11037: lt_cv_file_magic_cmd='$OBJDUMP -f'
11038: ;;
11039:
11040: darwin* | rhapsody*)
11041: lt_cv_deplibs_check_method=pass_all
11042: ;;
11043:
11044: freebsd* | dragonfly*)
11045: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11046: case $host_cpu in
11047: i*86 )
11048: # Not sure whether the presence of OpenBSD here was a mistake.
11049: # Let's accept both of them until this is cleared up.
11050: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
11051: lt_cv_file_magic_cmd=/usr/bin/file
11052: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11053: ;;
11054: esac
11055: else
11056: lt_cv_deplibs_check_method=pass_all
11057: fi
11058: ;;
11059:
11060: haiku*)
11061: lt_cv_deplibs_check_method=pass_all
11062: ;;
11063:
11064: hpux10.20* | hpux11*)
11065: lt_cv_file_magic_cmd=/usr/bin/file
11066: case $host_cpu in
11067: ia64*)
11068: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
11069: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
11070: ;;
11071: hppa*64*)
11072: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
11073: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
11074: ;;
11075: *)
11076: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
11077: lt_cv_file_magic_test_file=/usr/lib/libc.sl
11078: ;;
11079: esac
11080: ;;
11081:
11082: interix[3-9]*)
11083: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
11084: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
11085: ;;
11086:
11087: irix5* | irix6* | nonstopux*)
11088: case $LD in
11089: *-32|*"-32 ") libmagic=32-bit;;
11090: *-n32|*"-n32 ") libmagic=N32;;
11091: *-64|*"-64 ") libmagic=64-bit;;
11092: *) libmagic=never-match;;
11093: esac
11094: lt_cv_deplibs_check_method=pass_all
11095: ;;
11096:
11097: # This must be glibc/ELF.
11098: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11099: lt_cv_deplibs_check_method=pass_all
11100: ;;
11101:
11102: netbsd* | netbsdelf*-gnu)
11103: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11104: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11105: else
11106: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11107: fi
11108: ;;
11109:
11110: newos6*)
11111: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11112: lt_cv_file_magic_cmd=/usr/bin/file
11113: lt_cv_file_magic_test_file=/usr/lib/libnls.so
11114: ;;
11115:
11116: *nto* | *qnx*)
11117: lt_cv_deplibs_check_method=pass_all
11118: ;;
11119:
11120: openbsd* | bitrig*)
11121: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11122: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
11123: else
11124: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11125: fi
11126: ;;
11127:
11128: osf3* | osf4* | osf5*)
11129: lt_cv_deplibs_check_method=pass_all
11130: ;;
11131:
11132: rdos*)
11133: lt_cv_deplibs_check_method=pass_all
11134: ;;
11135:
11136: solaris*)
11137: lt_cv_deplibs_check_method=pass_all
11138: ;;
11139:
11140: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11141: lt_cv_deplibs_check_method=pass_all
11142: ;;
11143:
11144: sysv4 | sysv4.3*)
11145: case $host_vendor in
11146: motorola)
11147: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
11148: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11149: ;;
11150: ncr)
11151: lt_cv_deplibs_check_method=pass_all
11152: ;;
11153: sequent)
11154: lt_cv_file_magic_cmd='/bin/file'
11155: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11156: ;;
11157: sni)
11158: lt_cv_file_magic_cmd='/bin/file'
11159: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11160: lt_cv_file_magic_test_file=/lib/libc.so
11161: ;;
11162: siemens)
11163: lt_cv_deplibs_check_method=pass_all
11164: ;;
11165: pc)
11166: lt_cv_deplibs_check_method=pass_all
11167: ;;
11168: esac
11169: ;;
11170:
11171: tpf*)
11172: lt_cv_deplibs_check_method=pass_all
11173: ;;
11174: os2*)
11175: lt_cv_deplibs_check_method=pass_all
11176: ;;
11177: esac
11178:
11179: fi
11180: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11181: $as_echo "$lt_cv_deplibs_check_method" >&6; }
11182:
11183: file_magic_glob=
11184: want_nocaseglob=no
11185: if test "$build" = "$host"; then
11186: case $host_os in
11187: mingw* | pw32*)
11188: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
11189: want_nocaseglob=yes
11190: else
11191: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
11192: fi
11193: ;;
11194: esac
11195: fi
11196:
11197: file_magic_cmd=$lt_cv_file_magic_cmd
11198: deplibs_check_method=$lt_cv_deplibs_check_method
11199: test -z "$deplibs_check_method" && deplibs_check_method=unknown
11200:
11201:
11202:
11203:
11204:
11205:
11206:
11207:
11208:
11209:
11210:
11211:
11212:
11213:
11214:
11215:
11216:
11217:
11218:
11219:
11220:
11221:
11222: if test -n "$ac_tool_prefix"; then
11223: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11224: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11226: $as_echo_n "checking for $ac_word... " >&6; }
11227: if ${ac_cv_prog_DLLTOOL+:} false; then :
11228: $as_echo_n "(cached) " >&6
11229: else
11230: if test -n "$DLLTOOL"; then
11231: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11232: else
11233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234: for as_dir in $PATH
11235: do
11236: IFS=$as_save_IFS
11237: test -z "$as_dir" && as_dir=.
11238: for ac_exec_ext in '' $ac_executable_extensions; do
11239: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11241: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11242: break 2
11243: fi
11244: done
11245: done
11246: IFS=$as_save_IFS
11247:
11248: fi
11249: fi
11250: DLLTOOL=$ac_cv_prog_DLLTOOL
11251: if test -n "$DLLTOOL"; then
11252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11253: $as_echo "$DLLTOOL" >&6; }
11254: else
11255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11256: $as_echo "no" >&6; }
11257: fi
11258:
11259:
11260: fi
11261: if test -z "$ac_cv_prog_DLLTOOL"; then
11262: ac_ct_DLLTOOL=$DLLTOOL
11263: # Extract the first word of "dlltool", so it can be a program name with args.
11264: set dummy dlltool; ac_word=$2
11265: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11266: $as_echo_n "checking for $ac_word... " >&6; }
11267: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
11268: $as_echo_n "(cached) " >&6
11269: else
11270: if test -n "$ac_ct_DLLTOOL"; then
11271: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11272: else
11273: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11274: for as_dir in $PATH
11275: do
11276: IFS=$as_save_IFS
11277: test -z "$as_dir" && as_dir=.
11278: for ac_exec_ext in '' $ac_executable_extensions; do
11279: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11280: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11281: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11282: break 2
11283: fi
11284: done
11285: done
11286: IFS=$as_save_IFS
11287:
11288: fi
11289: fi
11290: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11291: if test -n "$ac_ct_DLLTOOL"; then
11292: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11293: $as_echo "$ac_ct_DLLTOOL" >&6; }
11294: else
11295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11296: $as_echo "no" >&6; }
11297: fi
11298:
11299: if test "x$ac_ct_DLLTOOL" = x; then
11300: DLLTOOL="false"
11301: else
11302: case $cross_compiling:$ac_tool_warned in
11303: yes:)
11304: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11305: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11306: ac_tool_warned=yes ;;
11307: esac
11308: DLLTOOL=$ac_ct_DLLTOOL
11309: fi
11310: else
11311: DLLTOOL="$ac_cv_prog_DLLTOOL"
11312: fi
11313:
11314: test -z "$DLLTOOL" && DLLTOOL=dlltool
11315:
11316:
11317:
11318:
11319:
11320:
11321:
11322:
11323:
11324:
11325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
11326: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
11327: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
11328: $as_echo_n "(cached) " >&6
11329: else
11330: lt_cv_sharedlib_from_linklib_cmd='unknown'
11331:
11332: case $host_os in
11333: cygwin* | mingw* | pw32* | cegcc*)
11334: # two different shell functions defined in ltmain.sh;
11335: # decide which one to use based on capabilities of $DLLTOOL
11336: case `$DLLTOOL --help 2>&1` in
11337: *--identify-strict*)
11338: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
11339: ;;
11340: *)
11341: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
11342: ;;
11343: esac
11344: ;;
11345: *)
11346: # fallback: assume linklib IS sharedlib
11347: lt_cv_sharedlib_from_linklib_cmd=$ECHO
11348: ;;
11349: esac
11350:
11351: fi
11352: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
11353: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
11354: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
11355: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
11356:
11357:
11358:
11359:
11360:
11361:
11362:
11363: if test -n "$ac_tool_prefix"; then
11364: for ac_prog in ar
11365: do
11366: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11367: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11369: $as_echo_n "checking for $ac_word... " >&6; }
11370: if ${ac_cv_prog_AR+:} false; then :
11371: $as_echo_n "(cached) " >&6
11372: else
11373: if test -n "$AR"; then
11374: ac_cv_prog_AR="$AR" # Let the user override the test.
11375: else
11376: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11377: for as_dir in $PATH
11378: do
11379: IFS=$as_save_IFS
11380: test -z "$as_dir" && as_dir=.
11381: for ac_exec_ext in '' $ac_executable_extensions; do
11382: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11383: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
11384: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11385: break 2
11386: fi
11387: done
11388: done
11389: IFS=$as_save_IFS
11390:
11391: fi
11392: fi
11393: AR=$ac_cv_prog_AR
11394: if test -n "$AR"; then
11395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11396: $as_echo "$AR" >&6; }
11397: else
11398: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11399: $as_echo "no" >&6; }
11400: fi
11401:
11402:
11403: test -n "$AR" && break
11404: done
11405: fi
11406: if test -z "$AR"; then
11407: ac_ct_AR=$AR
11408: for ac_prog in ar
11409: do
11410: # Extract the first word of "$ac_prog", so it can be a program name with args.
11411: set dummy $ac_prog; ac_word=$2
11412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11413: $as_echo_n "checking for $ac_word... " >&6; }
11414: if ${ac_cv_prog_ac_ct_AR+:} false; then :
11415: $as_echo_n "(cached) " >&6
11416: else
11417: if test -n "$ac_ct_AR"; then
11418: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11419: else
11420: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421: for as_dir in $PATH
11422: do
11423: IFS=$as_save_IFS
11424: test -z "$as_dir" && as_dir=.
11425: for ac_exec_ext in '' $ac_executable_extensions; do
11426: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11427: ac_cv_prog_ac_ct_AR="$ac_prog"
11428: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11429: break 2
11430: fi
11431: done
11432: done
11433: IFS=$as_save_IFS
11434:
11435: fi
11436: fi
11437: ac_ct_AR=$ac_cv_prog_ac_ct_AR
11438: if test -n "$ac_ct_AR"; then
11439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
11440: $as_echo "$ac_ct_AR" >&6; }
11441: else
11442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11443: $as_echo "no" >&6; }
11444: fi
11445:
11446:
11447: test -n "$ac_ct_AR" && break
11448: done
11449:
11450: if test "x$ac_ct_AR" = x; then
11451: AR="false"
11452: else
11453: case $cross_compiling:$ac_tool_warned in
11454: yes:)
11455: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11456: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11457: ac_tool_warned=yes ;;
11458: esac
11459: AR=$ac_ct_AR
11460: fi
11461: fi
11462:
11463: : ${AR=ar}
11464: : ${AR_FLAGS=cru}
11465:
11466:
11467:
11468:
11469:
11470:
11471:
11472:
11473:
11474:
11475:
11476: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
11477: $as_echo_n "checking for archiver @FILE support... " >&6; }
11478: if ${lt_cv_ar_at_file+:} false; then :
11479: $as_echo_n "(cached) " >&6
11480: else
11481: lt_cv_ar_at_file=no
11482: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483: /* end confdefs.h. */
11484:
11485: int
11486: main ()
11487: {
11488:
11489: ;
11490: return 0;
11491: }
11492: _ACEOF
11493: if ac_fn_c_try_compile "$LINENO"; then :
11494: echo conftest.$ac_objext > conftest.lst
11495: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
11496: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11497: (eval $lt_ar_try) 2>&5
11498: ac_status=$?
11499: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11500: test $ac_status = 0; }
11501: if test 0 -eq "$ac_status"; then
11502: # Ensure the archiver fails upon bogus file names.
11503: rm -f conftest.$ac_objext libconftest.a
11504: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11505: (eval $lt_ar_try) 2>&5
11506: ac_status=$?
11507: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11508: test $ac_status = 0; }
11509: if test 0 -ne "$ac_status"; then
11510: lt_cv_ar_at_file=@
11511: fi
11512: fi
11513: rm -f conftest.* libconftest.a
11514:
11515: fi
11516: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11517:
11518: fi
11519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
11520: $as_echo "$lt_cv_ar_at_file" >&6; }
11521:
11522: if test no = "$lt_cv_ar_at_file"; then
11523: archiver_list_spec=
11524: else
11525: archiver_list_spec=$lt_cv_ar_at_file
11526: fi
11527:
11528:
11529:
11530:
11531:
11532:
11533:
11534: if test -n "$ac_tool_prefix"; then
11535: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11536: set dummy ${ac_tool_prefix}strip; ac_word=$2
11537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11538: $as_echo_n "checking for $ac_word... " >&6; }
11539: if ${ac_cv_prog_STRIP+:} false; then :
11540: $as_echo_n "(cached) " >&6
11541: else
11542: if test -n "$STRIP"; then
11543: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11544: else
11545: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546: for as_dir in $PATH
11547: do
11548: IFS=$as_save_IFS
11549: test -z "$as_dir" && as_dir=.
11550: for ac_exec_ext in '' $ac_executable_extensions; do
11551: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11552: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11553: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11554: break 2
11555: fi
11556: done
11557: done
11558: IFS=$as_save_IFS
11559:
11560: fi
11561: fi
11562: STRIP=$ac_cv_prog_STRIP
11563: if test -n "$STRIP"; then
11564: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11565: $as_echo "$STRIP" >&6; }
11566: else
11567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11568: $as_echo "no" >&6; }
11569: fi
11570:
11571:
11572: fi
11573: if test -z "$ac_cv_prog_STRIP"; then
11574: ac_ct_STRIP=$STRIP
11575: # Extract the first word of "strip", so it can be a program name with args.
11576: set dummy strip; ac_word=$2
11577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11578: $as_echo_n "checking for $ac_word... " >&6; }
11579: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11580: $as_echo_n "(cached) " >&6
11581: else
11582: if test -n "$ac_ct_STRIP"; then
11583: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11584: else
11585: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11586: for as_dir in $PATH
11587: do
11588: IFS=$as_save_IFS
11589: test -z "$as_dir" && as_dir=.
11590: for ac_exec_ext in '' $ac_executable_extensions; do
11591: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11592: ac_cv_prog_ac_ct_STRIP="strip"
11593: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11594: break 2
11595: fi
11596: done
11597: done
11598: IFS=$as_save_IFS
11599:
11600: fi
11601: fi
11602: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11603: if test -n "$ac_ct_STRIP"; then
11604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
11605: $as_echo "$ac_ct_STRIP" >&6; }
11606: else
11607: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11608: $as_echo "no" >&6; }
11609: fi
11610:
11611: if test "x$ac_ct_STRIP" = x; then
11612: STRIP=":"
11613: else
11614: case $cross_compiling:$ac_tool_warned in
11615: yes:)
11616: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11617: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11618: ac_tool_warned=yes ;;
11619: esac
11620: STRIP=$ac_ct_STRIP
11621: fi
11622: else
11623: STRIP="$ac_cv_prog_STRIP"
11624: fi
11625:
11626: test -z "$STRIP" && STRIP=:
11627:
11628:
11629:
11630:
11631:
11632:
11633: if test -n "$ac_tool_prefix"; then
11634: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11635: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11636: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11637: $as_echo_n "checking for $ac_word... " >&6; }
11638: if ${ac_cv_prog_RANLIB+:} false; then :
11639: $as_echo_n "(cached) " >&6
11640: else
11641: if test -n "$RANLIB"; then
11642: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11643: else
11644: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11645: for as_dir in $PATH
11646: do
11647: IFS=$as_save_IFS
11648: test -z "$as_dir" && as_dir=.
11649: for ac_exec_ext in '' $ac_executable_extensions; do
11650: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11651: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11652: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11653: break 2
11654: fi
11655: done
11656: done
11657: IFS=$as_save_IFS
11658:
11659: fi
11660: fi
11661: RANLIB=$ac_cv_prog_RANLIB
11662: if test -n "$RANLIB"; then
11663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
11664: $as_echo "$RANLIB" >&6; }
11665: else
11666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11667: $as_echo "no" >&6; }
11668: fi
11669:
11670:
11671: fi
11672: if test -z "$ac_cv_prog_RANLIB"; then
11673: ac_ct_RANLIB=$RANLIB
11674: # Extract the first word of "ranlib", so it can be a program name with args.
11675: set dummy ranlib; ac_word=$2
11676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11677: $as_echo_n "checking for $ac_word... " >&6; }
11678: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11679: $as_echo_n "(cached) " >&6
11680: else
11681: if test -n "$ac_ct_RANLIB"; then
11682: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11683: else
11684: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11685: for as_dir in $PATH
11686: do
11687: IFS=$as_save_IFS
11688: test -z "$as_dir" && as_dir=.
11689: for ac_exec_ext in '' $ac_executable_extensions; do
11690: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11691: ac_cv_prog_ac_ct_RANLIB="ranlib"
11692: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11693: break 2
11694: fi
11695: done
11696: done
11697: IFS=$as_save_IFS
11698:
11699: fi
11700: fi
11701: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11702: if test -n "$ac_ct_RANLIB"; then
11703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
11704: $as_echo "$ac_ct_RANLIB" >&6; }
11705: else
11706: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11707: $as_echo "no" >&6; }
11708: fi
11709:
11710: if test "x$ac_ct_RANLIB" = x; then
11711: RANLIB=":"
11712: else
11713: case $cross_compiling:$ac_tool_warned in
11714: yes:)
11715: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11716: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11717: ac_tool_warned=yes ;;
11718: esac
11719: RANLIB=$ac_ct_RANLIB
11720: fi
11721: else
11722: RANLIB="$ac_cv_prog_RANLIB"
11723: fi
11724:
11725: test -z "$RANLIB" && RANLIB=:
11726:
11727:
11728:
11729:
11730:
11731:
11732: # Determine commands to create old-style static archives.
11733: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
11734: old_postinstall_cmds='chmod 644 $oldlib'
11735: old_postuninstall_cmds=
11736:
11737: if test -n "$RANLIB"; then
11738: case $host_os in
11739: bitrig* | openbsd*)
11740: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
11741: ;;
11742: *)
11743: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
11744: ;;
11745: esac
11746: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
11747: fi
11748:
11749: case $host_os in
11750: darwin*)
11751: lock_old_archive_extraction=yes ;;
11752: *)
11753: lock_old_archive_extraction=no ;;
11754: esac
11755:
11756:
11757:
11758:
11759:
11760:
11761:
11762:
11763:
11764:
11765:
11766:
11767:
11768:
11769:
11770:
11771:
11772:
11773:
11774:
11775:
11776:
11777:
11778:
11779:
11780:
11781:
11782:
11783:
11784:
11785:
11786:
11787:
11788:
11789:
11790:
11791:
11792:
11793:
11794: # If no C compiler was specified, use CC.
11795: LTCC=${LTCC-"$CC"}
11796:
11797: # If no C compiler flags were specified, use CFLAGS.
11798: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11799:
11800: # Allow CC to be a program name with arguments.
11801: compiler=$CC
11802:
11803:
11804: # Check for command to grab the raw symbol name followed by C symbol from nm.
11805: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
11806: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
11807: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
11808: $as_echo_n "(cached) " >&6
11809: else
11810:
11811: # These are sane defaults that work on at least a few old systems.
11812: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
11813:
11814: # Character class describing NM global symbol codes.
11815: symcode='[BCDEGRST]'
11816:
11817: # Regexp to match symbols that can be accessed directly from C.
11818: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11819:
11820: # Define system-specific variables.
11821: case $host_os in
11822: aix*)
11823: symcode='[BCDT]'
11824: ;;
11825: cygwin* | mingw* | pw32* | cegcc*)
11826: symcode='[ABCDGISTW]'
11827: ;;
11828: hpux*)
11829: if test ia64 = "$host_cpu"; then
11830: symcode='[ABCDEGRST]'
11831: fi
11832: ;;
11833: irix* | nonstopux*)
11834: symcode='[BCDEGRST]'
11835: ;;
11836: osf*)
11837: symcode='[BCDEGQRST]'
11838: ;;
11839: solaris*)
11840: symcode='[BDRT]'
11841: ;;
11842: sco3.2v5*)
11843: symcode='[DT]'
11844: ;;
11845: sysv4.2uw2*)
11846: symcode='[DT]'
11847: ;;
11848: sysv5* | sco5v6* | unixware* | OpenUNIX*)
11849: symcode='[ABDT]'
11850: ;;
11851: sysv4)
11852: symcode='[DFNSTU]'
11853: ;;
11854: esac
11855:
11856: # If we're using GNU nm, then use its standard symbol codes.
11857: case `$NM -V 2>&1` in
11858: *GNU* | *'with BFD'*)
11859: symcode='[ABCDGIRSTW]' ;;
11860: esac
11861:
11862: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11863: # Gets list of data symbols to import.
11864: lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
11865: # Adjust the below global symbol transforms to fixup imported variables.
11866: lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
11867: lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
11868: lt_c_name_lib_hook="\
11869: -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
11870: -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
11871: else
11872: # Disable hooks by default.
11873: lt_cv_sys_global_symbol_to_import=
11874: lt_cdecl_hook=
11875: lt_c_name_hook=
11876: lt_c_name_lib_hook=
11877: fi
11878:
11879: # Transform an extracted symbol line into a proper C declaration.
11880: # Some systems (esp. on ia64) link data and code symbols differently,
11881: # so use this general approach.
11882: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
11883: $lt_cdecl_hook\
11884: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
11885: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
11886:
11887: # Transform an extracted symbol line into symbol name and symbol address
11888: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
11889: $lt_c_name_hook\
11890: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
11891: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
11892:
11893: # Transform an extracted symbol line into symbol name with lib prefix and
11894: # symbol address.
11895: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
11896: $lt_c_name_lib_hook\
11897: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
11898: " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
11899: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
11900:
11901: # Handle CRLF in mingw tool chain
11902: opt_cr=
11903: case $build_os in
11904: mingw*)
11905: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11906: ;;
11907: esac
11908:
11909: # Try without a prefix underscore, then with it.
11910: for ac_symprfx in "" "_"; do
11911:
11912: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11913: symxfrm="\\1 $ac_symprfx\\2 \\2"
11914:
11915: # Write the raw and C identifiers.
11916: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11917: # Fake it for dumpbin and say T for any non-static function,
11918: # D for any global variable and I for any imported variable.
11919: # Also find C++ and __fastcall symbols from MSVC++,
11920: # which start with @ or ?.
11921: lt_cv_sys_global_symbol_pipe="$AWK '"\
11922: " {last_section=section; section=\$ 3};"\
11923: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
11924: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
11925: " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
11926: " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
11927: " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
11928: " \$ 0!~/External *\|/{next};"\
11929: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
11930: " {if(hide[section]) next};"\
11931: " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
11932: " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
11933: " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
11934: " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
11935: " ' prfx=^$ac_symprfx"
11936: else
11937: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11938: fi
11939: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
11940:
11941: # Check to see that the pipe works correctly.
11942: pipe_works=no
11943:
11944: rm -f conftest*
11945: cat > conftest.$ac_ext <<_LT_EOF
11946: #ifdef __cplusplus
11947: extern "C" {
11948: #endif
11949: char nm_test_var;
11950: void nm_test_func(void);
11951: void nm_test_func(void){}
11952: #ifdef __cplusplus
11953: }
11954: #endif
11955: int main(){nm_test_var='a';nm_test_func();return(0);}
11956: _LT_EOF
11957:
11958: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11959: (eval $ac_compile) 2>&5
11960: ac_status=$?
11961: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11962: test $ac_status = 0; }; then
11963: # Now try to grab the symbols.
11964: nlist=conftest.nm
11965: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
11966: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
11967: ac_status=$?
11968: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11969: test $ac_status = 0; } && test -s "$nlist"; then
11970: # Try sorting and uniquifying the output.
11971: if sort "$nlist" | uniq > "$nlist"T; then
11972: mv -f "$nlist"T "$nlist"
11973: else
11974: rm -f "$nlist"T
11975: fi
11976:
11977: # Make sure that we snagged all the symbols we need.
11978: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11979: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11980: cat <<_LT_EOF > conftest.$ac_ext
11981: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
11982: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
11983: /* DATA imports from DLLs on WIN32 can't be const, because runtime
11984: relocations are performed -- see ld's documentation on pseudo-relocs. */
11985: # define LT_DLSYM_CONST
11986: #elif defined __osf__
11987: /* This system does not cope well with relocations in const data. */
11988: # define LT_DLSYM_CONST
11989: #else
11990: # define LT_DLSYM_CONST const
11991: #endif
11992:
11993: #ifdef __cplusplus
11994: extern "C" {
11995: #endif
11996:
11997: _LT_EOF
11998: # Now generate the symbol file.
11999: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
12000:
12001: cat <<_LT_EOF >> conftest.$ac_ext
12002:
12003: /* The mapping between symbol names and symbols. */
12004: LT_DLSYM_CONST struct {
12005: const char *name;
12006: void *address;
12007: }
12008: lt__PROGRAM__LTX_preloaded_symbols[] =
12009: {
12010: { "@PROGRAM@", (void *) 0 },
12011: _LT_EOF
12012: $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
12013: cat <<\_LT_EOF >> conftest.$ac_ext
12014: {0, (void *) 0}
12015: };
12016:
12017: /* This works around a problem in FreeBSD linker */
12018: #ifdef FREEBSD_WORKAROUND
12019: static const void *lt_preloaded_setup() {
12020: return lt__PROGRAM__LTX_preloaded_symbols;
12021: }
12022: #endif
12023:
12024: #ifdef __cplusplus
12025: }
12026: #endif
12027: _LT_EOF
12028: # Now try linking the two files.
12029: mv conftest.$ac_objext conftstm.$ac_objext
12030: lt_globsym_save_LIBS=$LIBS
12031: lt_globsym_save_CFLAGS=$CFLAGS
12032: LIBS=conftstm.$ac_objext
12033: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12034: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12035: (eval $ac_link) 2>&5
12036: ac_status=$?
12037: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12038: test $ac_status = 0; } && test -s conftest$ac_exeext; then
12039: pipe_works=yes
12040: fi
12041: LIBS=$lt_globsym_save_LIBS
12042: CFLAGS=$lt_globsym_save_CFLAGS
12043: else
12044: echo "cannot find nm_test_func in $nlist" >&5
12045: fi
12046: else
12047: echo "cannot find nm_test_var in $nlist" >&5
12048: fi
12049: else
12050: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12051: fi
12052: else
12053: echo "$progname: failed program was:" >&5
12054: cat conftest.$ac_ext >&5
12055: fi
12056: rm -rf conftest* conftst*
12057:
12058: # Do not use the global_symbol_pipe unless it works.
12059: if test yes = "$pipe_works"; then
12060: break
12061: else
12062: lt_cv_sys_global_symbol_pipe=
12063: fi
12064: done
12065:
12066: fi
12067:
12068: if test -z "$lt_cv_sys_global_symbol_pipe"; then
12069: lt_cv_sys_global_symbol_to_cdecl=
12070: fi
12071: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12072: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
12073: $as_echo "failed" >&6; }
12074: else
12075: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12076: $as_echo "ok" >&6; }
12077: fi
12078:
12079: # Response file support.
12080: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
12081: nm_file_list_spec='@'
12082: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
12083: nm_file_list_spec='@'
12084: fi
12085:
12086:
12087:
12088:
12089:
12090:
12091:
12092:
12093:
12094:
12095:
12096:
12097:
12098:
12099:
12100:
12101:
12102:
12103:
12104:
12105:
12106:
12107:
12108:
12109:
12110:
12111:
12112:
12113:
12114:
12115:
12116:
12117:
12118:
12119:
12120:
12121:
12122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
12123: $as_echo_n "checking for sysroot... " >&6; }
12124:
12125: # Check whether --with-sysroot was given.
12126: if test "${with_sysroot+set}" = set; then :
12127: withval=$with_sysroot;
12128: else
12129: with_sysroot=no
12130: fi
12131:
12132:
12133: lt_sysroot=
12134: case $with_sysroot in #(
12135: yes)
12136: if test yes = "$GCC"; then
12137: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
12138: fi
12139: ;; #(
12140: /*)
12141: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
12142: ;; #(
12143: no|'')
12144: ;; #(
12145: *)
12146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
12147: $as_echo "$with_sysroot" >&6; }
12148: as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
12149: ;;
12150: esac
12151:
12152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
12153: $as_echo "${lt_sysroot:-no}" >&6; }
12154:
12155:
12156:
12157:
12158:
12159: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
12160: $as_echo_n "checking for a working dd... " >&6; }
12161: if ${ac_cv_path_lt_DD+:} false; then :
12162: $as_echo_n "(cached) " >&6
12163: else
12164: printf 0123456789abcdef0123456789abcdef >conftest.i
12165: cat conftest.i conftest.i >conftest2.i
12166: : ${lt_DD:=$DD}
12167: if test -z "$lt_DD"; then
12168: ac_path_lt_DD_found=false
12169: # Loop through the user's path and test for each of PROGNAME-LIST
12170: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171: for as_dir in $PATH
12172: do
12173: IFS=$as_save_IFS
12174: test -z "$as_dir" && as_dir=.
12175: for ac_prog in dd; do
12176: for ac_exec_ext in '' $ac_executable_extensions; do
12177: ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
12178: as_fn_executable_p "$ac_path_lt_DD" || continue
12179: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
12180: cmp -s conftest.i conftest.out \
12181: && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
12182: fi
12183: $ac_path_lt_DD_found && break 3
12184: done
12185: done
12186: done
12187: IFS=$as_save_IFS
12188: if test -z "$ac_cv_path_lt_DD"; then
12189: :
12190: fi
12191: else
12192: ac_cv_path_lt_DD=$lt_DD
12193: fi
12194:
12195: rm -f conftest.i conftest2.i conftest.out
12196: fi
12197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
12198: $as_echo "$ac_cv_path_lt_DD" >&6; }
12199:
12200:
12201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
12202: $as_echo_n "checking how to truncate binary pipes... " >&6; }
12203: if ${lt_cv_truncate_bin+:} false; then :
12204: $as_echo_n "(cached) " >&6
12205: else
12206: printf 0123456789abcdef0123456789abcdef >conftest.i
12207: cat conftest.i conftest.i >conftest2.i
12208: lt_cv_truncate_bin=
12209: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
12210: cmp -s conftest.i conftest.out \
12211: && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
12212: fi
12213: rm -f conftest.i conftest2.i conftest.out
12214: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
12215: fi
12216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
12217: $as_echo "$lt_cv_truncate_bin" >&6; }
12218:
12219:
12220:
12221:
12222:
12223:
12224:
12225: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
12226: func_cc_basename ()
12227: {
12228: for cc_temp in $*""; do
12229: case $cc_temp in
12230: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12231: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12232: \-*) ;;
12233: *) break;;
12234: esac
12235: done
12236: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12237: }
12238:
12239: # Check whether --enable-libtool-lock was given.
12240: if test "${enable_libtool_lock+set}" = set; then :
12241: enableval=$enable_libtool_lock;
12242: fi
12243:
12244: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
12245:
12246: # Some flags need to be propagated to the compiler or linker for good
12247: # libtool support.
12248: case $host in
12249: ia64-*-hpux*)
12250: # Find out what ABI is being produced by ac_compile, and set mode
12251: # options accordingly.
12252: echo 'int i;' > conftest.$ac_ext
12253: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12254: (eval $ac_compile) 2>&5
12255: ac_status=$?
12256: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12257: test $ac_status = 0; }; then
12258: case `/usr/bin/file conftest.$ac_objext` in
12259: *ELF-32*)
12260: HPUX_IA64_MODE=32
12261: ;;
12262: *ELF-64*)
12263: HPUX_IA64_MODE=64
12264: ;;
12265: esac
12266: fi
12267: rm -rf conftest*
12268: ;;
12269: *-*-irix6*)
12270: # Find out what ABI is being produced by ac_compile, and set linker
12271: # options accordingly.
12272: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
12273: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12274: (eval $ac_compile) 2>&5
12275: ac_status=$?
12276: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12277: test $ac_status = 0; }; then
12278: if test yes = "$lt_cv_prog_gnu_ld"; then
12279: case `/usr/bin/file conftest.$ac_objext` in
12280: *32-bit*)
12281: LD="${LD-ld} -melf32bsmip"
12282: ;;
12283: *N32*)
12284: LD="${LD-ld} -melf32bmipn32"
12285: ;;
12286: *64-bit*)
12287: LD="${LD-ld} -melf64bmip"
12288: ;;
12289: esac
12290: else
12291: case `/usr/bin/file conftest.$ac_objext` in
12292: *32-bit*)
12293: LD="${LD-ld} -32"
12294: ;;
12295: *N32*)
12296: LD="${LD-ld} -n32"
12297: ;;
12298: *64-bit*)
12299: LD="${LD-ld} -64"
12300: ;;
12301: esac
12302: fi
12303: fi
12304: rm -rf conftest*
12305: ;;
12306:
12307: mips64*-*linux*)
12308: # Find out what ABI is being produced by ac_compile, and set linker
12309: # options accordingly.
12310: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
12311: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12312: (eval $ac_compile) 2>&5
12313: ac_status=$?
12314: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12315: test $ac_status = 0; }; then
12316: emul=elf
12317: case `/usr/bin/file conftest.$ac_objext` in
12318: *32-bit*)
12319: emul="${emul}32"
12320: ;;
12321: *64-bit*)
12322: emul="${emul}64"
12323: ;;
12324: esac
12325: case `/usr/bin/file conftest.$ac_objext` in
12326: *MSB*)
12327: emul="${emul}btsmip"
12328: ;;
12329: *LSB*)
12330: emul="${emul}ltsmip"
12331: ;;
12332: esac
12333: case `/usr/bin/file conftest.$ac_objext` in
12334: *N32*)
12335: emul="${emul}n32"
12336: ;;
12337: esac
12338: LD="${LD-ld} -m $emul"
12339: fi
12340: rm -rf conftest*
12341: ;;
12342:
12343: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
12344: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
12345: # Find out what ABI is being produced by ac_compile, and set linker
12346: # options accordingly. Note that the listed cases only cover the
12347: # situations where additional linker options are needed (such as when
12348: # doing 32-bit compilation for a host where ld defaults to 64-bit, or
12349: # vice versa); the common cases where no linker options are needed do
12350: # not appear in the list.
12351: echo 'int i;' > conftest.$ac_ext
12352: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12353: (eval $ac_compile) 2>&5
12354: ac_status=$?
12355: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12356: test $ac_status = 0; }; then
12357: case `/usr/bin/file conftest.o` in
12358: *32-bit*)
12359: case $host in
12360: x86_64-*kfreebsd*-gnu)
12361: LD="${LD-ld} -m elf_i386_fbsd"
12362: ;;
12363: x86_64-*linux*)
12364: case `/usr/bin/file conftest.o` in
12365: *x86-64*)
12366: LD="${LD-ld} -m elf32_x86_64"
12367: ;;
12368: *)
12369: LD="${LD-ld} -m elf_i386"
12370: ;;
12371: esac
12372: ;;
12373: powerpc64le-*linux*)
12374: LD="${LD-ld} -m elf32lppclinux"
12375: ;;
12376: powerpc64-*linux*)
12377: LD="${LD-ld} -m elf32ppclinux"
12378: ;;
12379: s390x-*linux*)
12380: LD="${LD-ld} -m elf_s390"
12381: ;;
12382: sparc64-*linux*)
12383: LD="${LD-ld} -m elf32_sparc"
12384: ;;
12385: esac
12386: ;;
12387: *64-bit*)
12388: case $host in
12389: x86_64-*kfreebsd*-gnu)
12390: LD="${LD-ld} -m elf_x86_64_fbsd"
12391: ;;
12392: x86_64-*linux*)
12393: LD="${LD-ld} -m elf_x86_64"
12394: ;;
12395: powerpcle-*linux*)
12396: LD="${LD-ld} -m elf64lppc"
12397: ;;
12398: powerpc-*linux*)
12399: LD="${LD-ld} -m elf64ppc"
12400: ;;
12401: s390*-*linux*|s390*-*tpf*)
12402: LD="${LD-ld} -m elf64_s390"
12403: ;;
12404: sparc*-*linux*)
12405: LD="${LD-ld} -m elf64_sparc"
12406: ;;
12407: esac
12408: ;;
12409: esac
12410: fi
12411: rm -rf conftest*
12412: ;;
12413:
12414: *-*-sco3.2v5*)
12415: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12416: SAVE_CFLAGS=$CFLAGS
12417: CFLAGS="$CFLAGS -belf"
12418: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
12419: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
12420: if ${lt_cv_cc_needs_belf+:} false; then :
12421: $as_echo_n "(cached) " >&6
12422: else
12423: ac_ext=c
12424: ac_cpp='$CPP $CPPFLAGS'
12425: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12426: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12427: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12428:
12429: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12430: /* end confdefs.h. */
12431:
12432: int
12433: main ()
12434: {
12435:
12436: ;
12437: return 0;
12438: }
12439: _ACEOF
12440: if ac_fn_c_try_link "$LINENO"; then :
12441: lt_cv_cc_needs_belf=yes
12442: else
12443: lt_cv_cc_needs_belf=no
12444: fi
12445: rm -f core conftest.err conftest.$ac_objext \
12446: conftest$ac_exeext conftest.$ac_ext
12447: ac_ext=c
12448: ac_cpp='$CPP $CPPFLAGS'
12449: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12450: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12451: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12452:
12453: fi
12454: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
12455: $as_echo "$lt_cv_cc_needs_belf" >&6; }
12456: if test yes != "$lt_cv_cc_needs_belf"; then
12457: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12458: CFLAGS=$SAVE_CFLAGS
12459: fi
12460: ;;
12461: *-*solaris*)
12462: # Find out what ABI is being produced by ac_compile, and set linker
12463: # options accordingly.
12464: echo 'int i;' > conftest.$ac_ext
12465: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12466: (eval $ac_compile) 2>&5
12467: ac_status=$?
12468: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12469: test $ac_status = 0; }; then
12470: case `/usr/bin/file conftest.o` in
12471: *64-bit*)
12472: case $lt_cv_prog_gnu_ld in
12473: yes*)
12474: case $host in
12475: i?86-*-solaris*|x86_64-*-solaris*)
12476: LD="${LD-ld} -m elf_x86_64"
12477: ;;
12478: sparc*-*-solaris*)
12479: LD="${LD-ld} -m elf64_sparc"
12480: ;;
12481: esac
12482: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
12483: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
12484: LD=${LD-ld}_sol2
12485: fi
12486: ;;
12487: *)
12488: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
12489: LD="${LD-ld} -64"
12490: fi
12491: ;;
12492: esac
12493: ;;
12494: esac
12495: fi
12496: rm -rf conftest*
12497: ;;
12498: esac
12499:
12500: need_locks=$enable_libtool_lock
12501:
12502: if test -n "$ac_tool_prefix"; then
12503: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
12504: set dummy ${ac_tool_prefix}mt; ac_word=$2
12505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12506: $as_echo_n "checking for $ac_word... " >&6; }
12507: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
12508: $as_echo_n "(cached) " >&6
12509: else
12510: if test -n "$MANIFEST_TOOL"; then
12511: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
12512: else
12513: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12514: for as_dir in $PATH
12515: do
12516: IFS=$as_save_IFS
12517: test -z "$as_dir" && as_dir=.
12518: for ac_exec_ext in '' $ac_executable_extensions; do
12519: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12520: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
12521: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12522: break 2
12523: fi
12524: done
12525: done
12526: IFS=$as_save_IFS
12527:
12528: fi
12529: fi
12530: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
12531: if test -n "$MANIFEST_TOOL"; then
12532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
12533: $as_echo "$MANIFEST_TOOL" >&6; }
12534: else
12535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536: $as_echo "no" >&6; }
12537: fi
12538:
12539:
12540: fi
12541: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
12542: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
12543: # Extract the first word of "mt", so it can be a program name with args.
12544: set dummy mt; ac_word=$2
12545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12546: $as_echo_n "checking for $ac_word... " >&6; }
12547: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
12548: $as_echo_n "(cached) " >&6
12549: else
12550: if test -n "$ac_ct_MANIFEST_TOOL"; then
12551: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
12552: else
12553: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12554: for as_dir in $PATH
12555: do
12556: IFS=$as_save_IFS
12557: test -z "$as_dir" && as_dir=.
12558: for ac_exec_ext in '' $ac_executable_extensions; do
12559: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12560: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
12561: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12562: break 2
12563: fi
12564: done
12565: done
12566: IFS=$as_save_IFS
12567:
12568: fi
12569: fi
12570: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
12571: if test -n "$ac_ct_MANIFEST_TOOL"; then
12572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
12573: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
12574: else
12575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12576: $as_echo "no" >&6; }
12577: fi
12578:
12579: if test "x$ac_ct_MANIFEST_TOOL" = x; then
12580: MANIFEST_TOOL=":"
12581: else
12582: case $cross_compiling:$ac_tool_warned in
12583: yes:)
12584: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12585: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12586: ac_tool_warned=yes ;;
12587: esac
12588: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
12589: fi
12590: else
12591: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
12592: fi
12593:
12594: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
12595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
12596: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
12597: if ${lt_cv_path_mainfest_tool+:} false; then :
12598: $as_echo_n "(cached) " >&6
12599: else
12600: lt_cv_path_mainfest_tool=no
12601: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
12602: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
12603: cat conftest.err >&5
12604: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
12605: lt_cv_path_mainfest_tool=yes
12606: fi
12607: rm -f conftest*
12608: fi
12609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
12610: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
12611: if test yes != "$lt_cv_path_mainfest_tool"; then
12612: MANIFEST_TOOL=:
12613: fi
12614:
12615:
12616:
12617:
12618:
12619:
12620: case $host_os in
12621: rhapsody* | darwin*)
12622: if test -n "$ac_tool_prefix"; then
12623: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
12624: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
12625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12626: $as_echo_n "checking for $ac_word... " >&6; }
12627: if ${ac_cv_prog_DSYMUTIL+:} false; then :
12628: $as_echo_n "(cached) " >&6
12629: else
12630: if test -n "$DSYMUTIL"; then
12631: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
12632: else
12633: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12634: for as_dir in $PATH
12635: do
12636: IFS=$as_save_IFS
12637: test -z "$as_dir" && as_dir=.
12638: for ac_exec_ext in '' $ac_executable_extensions; do
12639: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12640: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
12641: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12642: break 2
12643: fi
12644: done
12645: done
12646: IFS=$as_save_IFS
12647:
12648: fi
12649: fi
12650: DSYMUTIL=$ac_cv_prog_DSYMUTIL
12651: if test -n "$DSYMUTIL"; then
12652: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
12653: $as_echo "$DSYMUTIL" >&6; }
12654: else
12655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12656: $as_echo "no" >&6; }
12657: fi
12658:
12659:
12660: fi
12661: if test -z "$ac_cv_prog_DSYMUTIL"; then
12662: ac_ct_DSYMUTIL=$DSYMUTIL
12663: # Extract the first word of "dsymutil", so it can be a program name with args.
12664: set dummy dsymutil; ac_word=$2
12665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12666: $as_echo_n "checking for $ac_word... " >&6; }
12667: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
12668: $as_echo_n "(cached) " >&6
12669: else
12670: if test -n "$ac_ct_DSYMUTIL"; then
12671: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
12672: else
12673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12674: for as_dir in $PATH
12675: do
12676: IFS=$as_save_IFS
12677: test -z "$as_dir" && as_dir=.
12678: for ac_exec_ext in '' $ac_executable_extensions; do
12679: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12680: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
12681: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12682: break 2
12683: fi
12684: done
12685: done
12686: IFS=$as_save_IFS
12687:
12688: fi
12689: fi
12690: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
12691: if test -n "$ac_ct_DSYMUTIL"; then
12692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
12693: $as_echo "$ac_ct_DSYMUTIL" >&6; }
12694: else
12695: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12696: $as_echo "no" >&6; }
12697: fi
12698:
12699: if test "x$ac_ct_DSYMUTIL" = x; then
12700: DSYMUTIL=":"
12701: else
12702: case $cross_compiling:$ac_tool_warned in
12703: yes:)
12704: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12705: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12706: ac_tool_warned=yes ;;
12707: esac
12708: DSYMUTIL=$ac_ct_DSYMUTIL
12709: fi
12710: else
12711: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
12712: fi
12713:
12714: if test -n "$ac_tool_prefix"; then
12715: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
12716: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
12717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12718: $as_echo_n "checking for $ac_word... " >&6; }
12719: if ${ac_cv_prog_NMEDIT+:} false; then :
12720: $as_echo_n "(cached) " >&6
12721: else
12722: if test -n "$NMEDIT"; then
12723: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
12724: else
12725: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12726: for as_dir in $PATH
12727: do
12728: IFS=$as_save_IFS
12729: test -z "$as_dir" && as_dir=.
12730: for ac_exec_ext in '' $ac_executable_extensions; do
12731: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12732: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
12733: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12734: break 2
12735: fi
12736: done
12737: done
12738: IFS=$as_save_IFS
12739:
12740: fi
12741: fi
12742: NMEDIT=$ac_cv_prog_NMEDIT
12743: if test -n "$NMEDIT"; then
12744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
12745: $as_echo "$NMEDIT" >&6; }
12746: else
12747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12748: $as_echo "no" >&6; }
12749: fi
12750:
12751:
12752: fi
12753: if test -z "$ac_cv_prog_NMEDIT"; then
12754: ac_ct_NMEDIT=$NMEDIT
12755: # Extract the first word of "nmedit", so it can be a program name with args.
12756: set dummy nmedit; ac_word=$2
12757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12758: $as_echo_n "checking for $ac_word... " >&6; }
12759: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
12760: $as_echo_n "(cached) " >&6
12761: else
12762: if test -n "$ac_ct_NMEDIT"; then
12763: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
12764: else
12765: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766: for as_dir in $PATH
12767: do
12768: IFS=$as_save_IFS
12769: test -z "$as_dir" && as_dir=.
12770: for ac_exec_ext in '' $ac_executable_extensions; do
12771: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12772: ac_cv_prog_ac_ct_NMEDIT="nmedit"
12773: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774: break 2
12775: fi
12776: done
12777: done
12778: IFS=$as_save_IFS
12779:
12780: fi
12781: fi
12782: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
12783: if test -n "$ac_ct_NMEDIT"; then
12784: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
12785: $as_echo "$ac_ct_NMEDIT" >&6; }
12786: else
12787: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12788: $as_echo "no" >&6; }
12789: fi
12790:
12791: if test "x$ac_ct_NMEDIT" = x; then
12792: NMEDIT=":"
12793: else
12794: case $cross_compiling:$ac_tool_warned in
12795: yes:)
12796: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12797: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12798: ac_tool_warned=yes ;;
12799: esac
12800: NMEDIT=$ac_ct_NMEDIT
12801: fi
12802: else
12803: NMEDIT="$ac_cv_prog_NMEDIT"
12804: fi
12805:
12806: if test -n "$ac_tool_prefix"; then
12807: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
12808: set dummy ${ac_tool_prefix}lipo; ac_word=$2
12809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12810: $as_echo_n "checking for $ac_word... " >&6; }
12811: if ${ac_cv_prog_LIPO+:} false; then :
12812: $as_echo_n "(cached) " >&6
12813: else
12814: if test -n "$LIPO"; then
12815: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
12816: else
12817: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12818: for as_dir in $PATH
12819: do
12820: IFS=$as_save_IFS
12821: test -z "$as_dir" && as_dir=.
12822: for ac_exec_ext in '' $ac_executable_extensions; do
12823: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12824: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
12825: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12826: break 2
12827: fi
12828: done
12829: done
12830: IFS=$as_save_IFS
12831:
12832: fi
12833: fi
12834: LIPO=$ac_cv_prog_LIPO
12835: if test -n "$LIPO"; then
12836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
12837: $as_echo "$LIPO" >&6; }
12838: else
12839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840: $as_echo "no" >&6; }
12841: fi
12842:
12843:
12844: fi
12845: if test -z "$ac_cv_prog_LIPO"; then
12846: ac_ct_LIPO=$LIPO
12847: # Extract the first word of "lipo", so it can be a program name with args.
12848: set dummy lipo; ac_word=$2
12849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12850: $as_echo_n "checking for $ac_word... " >&6; }
12851: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
12852: $as_echo_n "(cached) " >&6
12853: else
12854: if test -n "$ac_ct_LIPO"; then
12855: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
12856: else
12857: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858: for as_dir in $PATH
12859: do
12860: IFS=$as_save_IFS
12861: test -z "$as_dir" && as_dir=.
12862: for ac_exec_ext in '' $ac_executable_extensions; do
12863: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864: ac_cv_prog_ac_ct_LIPO="lipo"
12865: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12866: break 2
12867: fi
12868: done
12869: done
12870: IFS=$as_save_IFS
12871:
12872: fi
12873: fi
12874: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
12875: if test -n "$ac_ct_LIPO"; then
12876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
12877: $as_echo "$ac_ct_LIPO" >&6; }
12878: else
12879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880: $as_echo "no" >&6; }
12881: fi
12882:
12883: if test "x$ac_ct_LIPO" = x; then
12884: LIPO=":"
12885: else
12886: case $cross_compiling:$ac_tool_warned in
12887: yes:)
12888: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12889: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12890: ac_tool_warned=yes ;;
12891: esac
12892: LIPO=$ac_ct_LIPO
12893: fi
12894: else
12895: LIPO="$ac_cv_prog_LIPO"
12896: fi
12897:
12898: if test -n "$ac_tool_prefix"; then
12899: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
12900: set dummy ${ac_tool_prefix}otool; ac_word=$2
12901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12902: $as_echo_n "checking for $ac_word... " >&6; }
12903: if ${ac_cv_prog_OTOOL+:} false; then :
12904: $as_echo_n "(cached) " >&6
12905: else
12906: if test -n "$OTOOL"; then
12907: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12908: else
12909: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910: for as_dir in $PATH
12911: do
12912: IFS=$as_save_IFS
12913: test -z "$as_dir" && as_dir=.
12914: for ac_exec_ext in '' $ac_executable_extensions; do
12915: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12916: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
12917: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12918: break 2
12919: fi
12920: done
12921: done
12922: IFS=$as_save_IFS
12923:
12924: fi
12925: fi
12926: OTOOL=$ac_cv_prog_OTOOL
12927: if test -n "$OTOOL"; then
12928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
12929: $as_echo "$OTOOL" >&6; }
12930: else
12931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12932: $as_echo "no" >&6; }
12933: fi
12934:
12935:
12936: fi
12937: if test -z "$ac_cv_prog_OTOOL"; then
12938: ac_ct_OTOOL=$OTOOL
12939: # Extract the first word of "otool", so it can be a program name with args.
12940: set dummy otool; ac_word=$2
12941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12942: $as_echo_n "checking for $ac_word... " >&6; }
12943: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
12944: $as_echo_n "(cached) " >&6
12945: else
12946: if test -n "$ac_ct_OTOOL"; then
12947: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
12948: else
12949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12950: for as_dir in $PATH
12951: do
12952: IFS=$as_save_IFS
12953: test -z "$as_dir" && as_dir=.
12954: for ac_exec_ext in '' $ac_executable_extensions; do
12955: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12956: ac_cv_prog_ac_ct_OTOOL="otool"
12957: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12958: break 2
12959: fi
12960: done
12961: done
12962: IFS=$as_save_IFS
12963:
12964: fi
12965: fi
12966: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
12967: if test -n "$ac_ct_OTOOL"; then
12968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
12969: $as_echo "$ac_ct_OTOOL" >&6; }
12970: else
12971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12972: $as_echo "no" >&6; }
12973: fi
12974:
12975: if test "x$ac_ct_OTOOL" = x; then
12976: OTOOL=":"
12977: else
12978: case $cross_compiling:$ac_tool_warned in
12979: yes:)
12980: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12981: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12982: ac_tool_warned=yes ;;
12983: esac
12984: OTOOL=$ac_ct_OTOOL
12985: fi
12986: else
12987: OTOOL="$ac_cv_prog_OTOOL"
12988: fi
12989:
12990: if test -n "$ac_tool_prefix"; then
12991: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
12992: set dummy ${ac_tool_prefix}otool64; ac_word=$2
12993: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12994: $as_echo_n "checking for $ac_word... " >&6; }
12995: if ${ac_cv_prog_OTOOL64+:} false; then :
12996: $as_echo_n "(cached) " >&6
12997: else
12998: if test -n "$OTOOL64"; then
12999: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
13000: else
13001: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13002: for as_dir in $PATH
13003: do
13004: IFS=$as_save_IFS
13005: test -z "$as_dir" && as_dir=.
13006: for ac_exec_ext in '' $ac_executable_extensions; do
13007: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13008: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
13009: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13010: break 2
13011: fi
13012: done
13013: done
13014: IFS=$as_save_IFS
13015:
13016: fi
13017: fi
13018: OTOOL64=$ac_cv_prog_OTOOL64
13019: if test -n "$OTOOL64"; then
13020: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
13021: $as_echo "$OTOOL64" >&6; }
13022: else
13023: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024: $as_echo "no" >&6; }
13025: fi
13026:
13027:
13028: fi
13029: if test -z "$ac_cv_prog_OTOOL64"; then
13030: ac_ct_OTOOL64=$OTOOL64
13031: # Extract the first word of "otool64", so it can be a program name with args.
13032: set dummy otool64; ac_word=$2
13033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13034: $as_echo_n "checking for $ac_word... " >&6; }
13035: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
13036: $as_echo_n "(cached) " >&6
13037: else
13038: if test -n "$ac_ct_OTOOL64"; then
13039: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
13040: else
13041: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13042: for as_dir in $PATH
13043: do
13044: IFS=$as_save_IFS
13045: test -z "$as_dir" && as_dir=.
13046: for ac_exec_ext in '' $ac_executable_extensions; do
13047: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13048: ac_cv_prog_ac_ct_OTOOL64="otool64"
13049: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13050: break 2
13051: fi
13052: done
13053: done
13054: IFS=$as_save_IFS
13055:
13056: fi
13057: fi
13058: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
13059: if test -n "$ac_ct_OTOOL64"; then
13060: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
13061: $as_echo "$ac_ct_OTOOL64" >&6; }
13062: else
13063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13064: $as_echo "no" >&6; }
13065: fi
13066:
13067: if test "x$ac_ct_OTOOL64" = x; then
13068: OTOOL64=":"
13069: else
13070: case $cross_compiling:$ac_tool_warned in
13071: yes:)
13072: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13073: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13074: ac_tool_warned=yes ;;
13075: esac
13076: OTOOL64=$ac_ct_OTOOL64
13077: fi
13078: else
13079: OTOOL64="$ac_cv_prog_OTOOL64"
13080: fi
13081:
13082:
13083:
13084:
13085:
13086:
13087:
13088:
13089:
13090:
13091:
13092:
13093:
13094:
13095:
13096:
13097:
13098:
13099:
13100:
13101:
13102:
13103:
13104:
13105:
13106:
13107:
13108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
13109: $as_echo_n "checking for -single_module linker flag... " >&6; }
13110: if ${lt_cv_apple_cc_single_mod+:} false; then :
13111: $as_echo_n "(cached) " >&6
13112: else
13113: lt_cv_apple_cc_single_mod=no
13114: if test -z "$LT_MULTI_MODULE"; then
13115: # By default we will add the -single_module flag. You can override
13116: # by either setting the environment variable LT_MULTI_MODULE
13117: # non-empty at configure time, or by adding -multi_module to the
13118: # link flags.
13119: rm -rf libconftest.dylib*
13120: echo "int foo(void){return 1;}" > conftest.c
13121: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13122: -dynamiclib -Wl,-single_module conftest.c" >&5
13123: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13124: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
13125: _lt_result=$?
13126: # If there is a non-empty error log, and "single_module"
13127: # appears in it, assume the flag caused a linker warning
13128: if test -s conftest.err && $GREP single_module conftest.err; then
13129: cat conftest.err >&5
13130: # Otherwise, if the output was created with a 0 exit code from
13131: # the compiler, it worked.
13132: elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
13133: lt_cv_apple_cc_single_mod=yes
13134: else
13135: cat conftest.err >&5
13136: fi
13137: rm -rf libconftest.dylib*
13138: rm -f conftest.*
13139: fi
13140: fi
13141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
13142: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
13143:
13144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
13145: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
13146: if ${lt_cv_ld_exported_symbols_list+:} false; then :
13147: $as_echo_n "(cached) " >&6
13148: else
13149: lt_cv_ld_exported_symbols_list=no
13150: save_LDFLAGS=$LDFLAGS
13151: echo "_main" > conftest.sym
13152: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
13153: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154: /* end confdefs.h. */
13155:
13156: int
13157: main ()
13158: {
13159:
13160: ;
13161: return 0;
13162: }
13163: _ACEOF
13164: if ac_fn_c_try_link "$LINENO"; then :
13165: lt_cv_ld_exported_symbols_list=yes
13166: else
13167: lt_cv_ld_exported_symbols_list=no
13168: fi
13169: rm -f core conftest.err conftest.$ac_objext \
13170: conftest$ac_exeext conftest.$ac_ext
13171: LDFLAGS=$save_LDFLAGS
13172:
13173: fi
13174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
13175: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
13176:
13177: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
13178: $as_echo_n "checking for -force_load linker flag... " >&6; }
13179: if ${lt_cv_ld_force_load+:} false; then :
13180: $as_echo_n "(cached) " >&6
13181: else
13182: lt_cv_ld_force_load=no
13183: cat > conftest.c << _LT_EOF
13184: int forced_loaded() { return 2;}
13185: _LT_EOF
13186: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
13187: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13188: echo "$AR cru libconftest.a conftest.o" >&5
13189: $AR cru libconftest.a conftest.o 2>&5
13190: echo "$RANLIB libconftest.a" >&5
13191: $RANLIB libconftest.a 2>&5
13192: cat > conftest.c << _LT_EOF
13193: int main() { return 0;}
13194: _LT_EOF
13195: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
13196: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
13197: _lt_result=$?
13198: if test -s conftest.err && $GREP force_load conftest.err; then
13199: cat conftest.err >&5
13200: elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
13201: lt_cv_ld_force_load=yes
13202: else
13203: cat conftest.err >&5
13204: fi
13205: rm -f conftest.err libconftest.a conftest conftest.c
13206: rm -rf conftest.dSYM
13207:
13208: fi
13209: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
13210: $as_echo "$lt_cv_ld_force_load" >&6; }
13211: case $host_os in
13212: rhapsody* | darwin1.[012])
13213: _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
13214: darwin1.*)
13215: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
13216: darwin*) # darwin 5.x on
13217: # if running on 10.5 or later, the deployment target defaults
13218: # to the OS version, if on x86, and 10.4, the deployment
13219: # target defaults to 10.4. Don't you love it?
13220: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
13221: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
13222: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
13223: 10.[012][,.]*)
13224: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
13225: 10.*)
13226: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
13227: esac
13228: ;;
13229: esac
13230: if test yes = "$lt_cv_apple_cc_single_mod"; then
13231: _lt_dar_single_mod='$single_module'
13232: fi
13233: if test yes = "$lt_cv_ld_exported_symbols_list"; then
13234: _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
13235: else
13236: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
13237: fi
13238: if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
13239: _lt_dsymutil='~$DSYMUTIL $lib || :'
13240: else
13241: _lt_dsymutil=
13242: fi
13243: ;;
13244: esac
13245:
13246: # func_munge_path_list VARIABLE PATH
13247: # -----------------------------------
13248: # VARIABLE is name of variable containing _space_ separated list of
13249: # directories to be munged by the contents of PATH, which is string
13250: # having a format:
13251: # "DIR[:DIR]:"
13252: # string "DIR[ DIR]" will be prepended to VARIABLE
13253: # ":DIR[:DIR]"
13254: # string "DIR[ DIR]" will be appended to VARIABLE
13255: # "DIRP[:DIRP]::[DIRA:]DIRA"
13256: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
13257: # "DIRA[ DIRA]" will be appended to VARIABLE
13258: # "DIR[:DIR]"
13259: # VARIABLE will be replaced by "DIR[ DIR]"
13260: func_munge_path_list ()
13261: {
13262: case x$2 in
13263: x)
13264: ;;
13265: *:)
13266: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
13267: ;;
13268: x:*)
13269: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
13270: ;;
13271: *::*)
13272: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
13273: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
13274: ;;
13275: *)
13276: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
13277: ;;
13278: esac
13279: }
13280:
13281: for ac_header in dlfcn.h
13282: do :
13283: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
13284: "
13285: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13286: cat >>confdefs.h <<_ACEOF
13287: #define HAVE_DLFCN_H 1
13288: _ACEOF
13289:
13290: fi
13291:
13292: done
13293:
13294:
13295:
13296:
13297:
13298: # Set options
13299:
13300:
13301:
13302: enable_dlopen=no
13303:
13304:
13305: enable_win32_dll=no
13306:
13307:
13308: # Check whether --enable-shared was given.
13309: if test "${enable_shared+set}" = set; then :
13310: enableval=$enable_shared; p=${PACKAGE-default}
13311: case $enableval in
13312: yes) enable_shared=yes ;;
13313: no) enable_shared=no ;;
13314: *)
13315: enable_shared=no
13316: # Look at the argument we got. We use all the common list separators.
13317: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13318: for pkg in $enableval; do
13319: IFS=$lt_save_ifs
13320: if test "X$pkg" = "X$p"; then
13321: enable_shared=yes
13322: fi
13323: done
13324: IFS=$lt_save_ifs
13325: ;;
13326: esac
13327: else
13328: enable_shared=yes
13329: fi
13330:
13331:
13332:
13333:
13334:
13335:
13336:
13337:
13338:
13339:
13340:
13341: # Check whether --with-pic was given.
13342: if test "${with_pic+set}" = set; then :
13343: withval=$with_pic; lt_p=${PACKAGE-default}
13344: case $withval in
13345: yes|no) pic_mode=$withval ;;
13346: *)
13347: pic_mode=default
13348: # Look at the argument we got. We use all the common list separators.
13349: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13350: for lt_pkg in $withval; do
13351: IFS=$lt_save_ifs
13352: if test "X$lt_pkg" = "X$lt_p"; then
13353: pic_mode=yes
13354: fi
13355: done
13356: IFS=$lt_save_ifs
13357: ;;
13358: esac
13359: else
13360: pic_mode=default
13361: fi
13362:
13363:
13364:
13365:
13366:
13367:
13368:
13369:
13370: # Check whether --enable-fast-install was given.
13371: if test "${enable_fast_install+set}" = set; then :
13372: enableval=$enable_fast_install; p=${PACKAGE-default}
13373: case $enableval in
13374: yes) enable_fast_install=yes ;;
13375: no) enable_fast_install=no ;;
13376: *)
13377: enable_fast_install=no
13378: # Look at the argument we got. We use all the common list separators.
13379: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13380: for pkg in $enableval; do
13381: IFS=$lt_save_ifs
13382: if test "X$pkg" = "X$p"; then
13383: enable_fast_install=yes
13384: fi
13385: done
13386: IFS=$lt_save_ifs
13387: ;;
13388: esac
13389: else
13390: enable_fast_install=yes
13391: fi
13392:
13393:
13394:
13395:
13396:
13397:
13398:
13399:
13400: shared_archive_member_spec=
13401: case $host,$enable_shared in
13402: power*-*-aix[5-9]*,yes)
13403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
13404: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
13405:
13406: # Check whether --with-aix-soname was given.
13407: if test "${with_aix_soname+set}" = set; then :
13408: withval=$with_aix_soname; case $withval in
13409: aix|svr4|both)
13410: ;;
13411: *)
13412: as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
13413: ;;
13414: esac
13415: lt_cv_with_aix_soname=$with_aix_soname
13416: else
13417: if ${lt_cv_with_aix_soname+:} false; then :
13418: $as_echo_n "(cached) " >&6
13419: else
13420: lt_cv_with_aix_soname=aix
13421: fi
13422:
13423: with_aix_soname=$lt_cv_with_aix_soname
13424: fi
13425:
13426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
13427: $as_echo "$with_aix_soname" >&6; }
13428: if test aix != "$with_aix_soname"; then
13429: # For the AIX way of multilib, we name the shared archive member
13430: # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
13431: # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
13432: # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
13433: # the AIX toolchain works better with OBJECT_MODE set (default 32).
13434: if test 64 = "${OBJECT_MODE-32}"; then
13435: shared_archive_member_spec=shr_64
13436: else
13437: shared_archive_member_spec=shr
13438: fi
13439: fi
13440: ;;
13441: *)
13442: with_aix_soname=aix
13443: ;;
13444: esac
13445:
13446:
13447:
13448:
13449:
13450:
13451:
13452:
13453:
13454:
13455: # This can be used to rebuild libtool when needed
13456: LIBTOOL_DEPS=$ltmain
13457:
13458: # Always use our own libtool.
13459: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13460:
13461:
13462:
13463:
13464:
13465:
13466:
13467:
13468:
13469:
13470:
13471:
13472:
13473:
13474:
13475:
13476:
13477:
13478:
13479:
13480:
13481:
13482:
13483:
13484:
13485:
13486:
13487:
13488:
13489:
13490: test -z "$LN_S" && LN_S="ln -s"
13491:
13492:
13493:
13494:
13495:
13496:
13497:
13498:
13499:
13500:
13501:
13502:
13503:
13504:
13505: if test -n "${ZSH_VERSION+set}"; then
13506: setopt NO_GLOB_SUBST
13507: fi
13508:
13509: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
13510: $as_echo_n "checking for objdir... " >&6; }
13511: if ${lt_cv_objdir+:} false; then :
13512: $as_echo_n "(cached) " >&6
13513: else
13514: rm -f .libs 2>/dev/null
13515: mkdir .libs 2>/dev/null
13516: if test -d .libs; then
13517: lt_cv_objdir=.libs
13518: else
13519: # MS-DOS does not allow filenames that begin with a dot.
13520: lt_cv_objdir=_libs
13521: fi
13522: rmdir .libs 2>/dev/null
13523: fi
13524: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
13525: $as_echo "$lt_cv_objdir" >&6; }
13526: objdir=$lt_cv_objdir
13527:
13528:
13529:
13530:
13531:
13532: cat >>confdefs.h <<_ACEOF
13533: #define LT_OBJDIR "$lt_cv_objdir/"
13534: _ACEOF
13535:
13536:
13537:
13538:
13539: case $host_os in
13540: aix3*)
13541: # AIX sometimes has problems with the GCC collect2 program. For some
13542: # reason, if we set the COLLECT_NAMES environment variable, the problems
13543: # vanish in a puff of smoke.
13544: if test set != "${COLLECT_NAMES+set}"; then
13545: COLLECT_NAMES=
13546: export COLLECT_NAMES
13547: fi
13548: ;;
13549: esac
13550:
13551: # Global variables:
13552: ofile=libtool
13553: can_build_shared=yes
13554:
13555: # All known linkers require a '.a' archive for static linking (except MSVC,
13556: # which needs '.lib').
13557: libext=a
13558:
13559: with_gnu_ld=$lt_cv_prog_gnu_ld
13560:
13561: old_CC=$CC
13562: old_CFLAGS=$CFLAGS
13563:
13564: # Set sane defaults for various variables
13565: test -z "$CC" && CC=cc
13566: test -z "$LTCC" && LTCC=$CC
13567: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13568: test -z "$LD" && LD=ld
13569: test -z "$ac_objext" && ac_objext=o
13570:
13571: func_cc_basename $compiler
13572: cc_basename=$func_cc_basename_result
13573:
13574:
13575: # Only perform the check for file, if the check method requires it
13576: test -z "$MAGIC_CMD" && MAGIC_CMD=file
13577: case $deplibs_check_method in
13578: file_magic*)
13579: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
13581: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
13582: if ${lt_cv_path_MAGIC_CMD+:} false; then :
13583: $as_echo_n "(cached) " >&6
13584: else
13585: case $MAGIC_CMD in
13586: [\\/*] | ?:[\\/]*)
13587: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13588: ;;
13589: *)
13590: lt_save_MAGIC_CMD=$MAGIC_CMD
13591: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13592: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13593: for ac_dir in $ac_dummy; do
13594: IFS=$lt_save_ifs
13595: test -z "$ac_dir" && ac_dir=.
13596: if test -f "$ac_dir/${ac_tool_prefix}file"; then
13597: lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
13598: if test -n "$file_magic_test_file"; then
13599: case $deplibs_check_method in
13600: "file_magic "*)
13601: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13602: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13603: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13604: $EGREP "$file_magic_regex" > /dev/null; then
13605: :
13606: else
13607: cat <<_LT_EOF 1>&2
13608:
13609: *** Warning: the command libtool uses to detect shared libraries,
13610: *** $file_magic_cmd, produces output that libtool cannot recognize.
13611: *** The result is that libtool may fail to recognize shared libraries
13612: *** as such. This will affect the creation of libtool libraries that
13613: *** depend on shared libraries, but programs linked with such libtool
13614: *** libraries will work regardless of this problem. Nevertheless, you
13615: *** may want to report the problem to your system manager and/or to
13616: *** bug-libtool@gnu.org
13617:
13618: _LT_EOF
13619: fi ;;
13620: esac
13621: fi
13622: break
13623: fi
13624: done
13625: IFS=$lt_save_ifs
13626: MAGIC_CMD=$lt_save_MAGIC_CMD
13627: ;;
13628: esac
13629: fi
13630:
13631: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13632: if test -n "$MAGIC_CMD"; then
13633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13634: $as_echo "$MAGIC_CMD" >&6; }
13635: else
13636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13637: $as_echo "no" >&6; }
13638: fi
13639:
13640:
13641:
13642:
13643:
13644: if test -z "$lt_cv_path_MAGIC_CMD"; then
13645: if test -n "$ac_tool_prefix"; then
13646: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
13647: $as_echo_n "checking for file... " >&6; }
13648: if ${lt_cv_path_MAGIC_CMD+:} false; then :
13649: $as_echo_n "(cached) " >&6
13650: else
13651: case $MAGIC_CMD in
13652: [\\/*] | ?:[\\/]*)
13653: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13654: ;;
13655: *)
13656: lt_save_MAGIC_CMD=$MAGIC_CMD
13657: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13658: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13659: for ac_dir in $ac_dummy; do
13660: IFS=$lt_save_ifs
13661: test -z "$ac_dir" && ac_dir=.
13662: if test -f "$ac_dir/file"; then
13663: lt_cv_path_MAGIC_CMD=$ac_dir/"file"
13664: if test -n "$file_magic_test_file"; then
13665: case $deplibs_check_method in
13666: "file_magic "*)
13667: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13668: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13669: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13670: $EGREP "$file_magic_regex" > /dev/null; then
13671: :
13672: else
13673: cat <<_LT_EOF 1>&2
13674:
13675: *** Warning: the command libtool uses to detect shared libraries,
13676: *** $file_magic_cmd, produces output that libtool cannot recognize.
13677: *** The result is that libtool may fail to recognize shared libraries
13678: *** as such. This will affect the creation of libtool libraries that
13679: *** depend on shared libraries, but programs linked with such libtool
13680: *** libraries will work regardless of this problem. Nevertheless, you
13681: *** may want to report the problem to your system manager and/or to
13682: *** bug-libtool@gnu.org
13683:
13684: _LT_EOF
13685: fi ;;
13686: esac
13687: fi
13688: break
13689: fi
13690: done
13691: IFS=$lt_save_ifs
13692: MAGIC_CMD=$lt_save_MAGIC_CMD
13693: ;;
13694: esac
13695: fi
13696:
13697: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13698: if test -n "$MAGIC_CMD"; then
13699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13700: $as_echo "$MAGIC_CMD" >&6; }
13701: else
13702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13703: $as_echo "no" >&6; }
13704: fi
13705:
13706:
13707: else
13708: MAGIC_CMD=:
13709: fi
13710: fi
13711:
13712: fi
13713: ;;
13714: esac
13715:
13716: # Use C for the default configuration in the libtool script
13717:
13718: lt_save_CC=$CC
13719: ac_ext=c
13720: ac_cpp='$CPP $CPPFLAGS'
13721: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13722: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13723: ac_compiler_gnu=$ac_cv_c_compiler_gnu
13724:
13725:
13726: # Source file extension for C test sources.
13727: ac_ext=c
13728:
13729: # Object file extension for compiled C test sources.
13730: objext=o
13731: objext=$objext
13732:
13733: # Code to be used in simple compile tests
13734: lt_simple_compile_test_code="int some_variable = 0;"
13735:
13736: # Code to be used in simple link tests
13737: lt_simple_link_test_code='int main(){return(0);}'
13738:
13739:
13740:
13741:
13742:
13743:
13744:
13745: # If no C compiler was specified, use CC.
13746: LTCC=${LTCC-"$CC"}
13747:
13748: # If no C compiler flags were specified, use CFLAGS.
13749: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13750:
13751: # Allow CC to be a program name with arguments.
13752: compiler=$CC
13753:
13754: # Save the default compiler, since it gets overwritten when the other
13755: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
13756: compiler_DEFAULT=$CC
13757:
13758: # save warnings/boilerplate of simple test code
13759: ac_outfile=conftest.$ac_objext
13760: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13761: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13762: _lt_compiler_boilerplate=`cat conftest.err`
13763: $RM conftest*
13764:
13765: ac_outfile=conftest.$ac_objext
13766: echo "$lt_simple_link_test_code" >conftest.$ac_ext
13767: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13768: _lt_linker_boilerplate=`cat conftest.err`
13769: $RM -r conftest*
13770:
13771:
13772: ## CAVEAT EMPTOR:
13773: ## There is no encapsulation within the following macros, do not change
13774: ## the running order or otherwise move them around unless you know exactly
13775: ## what you are doing...
13776: if test -n "$compiler"; then
13777:
13778: lt_prog_compiler_no_builtin_flag=
13779:
13780: if test yes = "$GCC"; then
13781: case $cc_basename in
13782: nvcc*)
13783: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13784: *)
13785: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13786: esac
13787:
13788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13789: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13790: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
13791: $as_echo_n "(cached) " >&6
13792: else
13793: lt_cv_prog_compiler_rtti_exceptions=no
13794: ac_outfile=conftest.$ac_objext
13795: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13796: lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13797: # Insert the option either (1) after the last *FLAGS variable, or
13798: # (2) before a word containing "conftest.", or (3) at the end.
13799: # Note that $ac_compile itself does not contain backslashes and begins
13800: # with a dollar sign (not a hyphen), so the echo should work correctly.
13801: # The option is referenced via a variable to avoid confusing sed.
13802: lt_compile=`echo "$ac_compile" | $SED \
13803: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13804: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13805: -e 's:$: $lt_compiler_flag:'`
13806: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13807: (eval "$lt_compile" 2>conftest.err)
13808: ac_status=$?
13809: cat conftest.err >&5
13810: echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811: if (exit $ac_status) && test -s "$ac_outfile"; then
13812: # The compiler can only warn and ignore the option if not recognized
13813: # So say no if there are warnings other than the usual output.
13814: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13815: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13816: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13817: lt_cv_prog_compiler_rtti_exceptions=yes
13818: fi
13819: fi
13820: $RM conftest*
13821:
13822: fi
13823: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13824: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
13825:
13826: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
13827: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13828: else
13829: :
13830: fi
13831:
13832: fi
13833:
13834:
13835:
13836:
13837:
13838:
13839: lt_prog_compiler_wl=
13840: lt_prog_compiler_pic=
13841: lt_prog_compiler_static=
13842:
13843:
13844: if test yes = "$GCC"; then
13845: lt_prog_compiler_wl='-Wl,'
13846: lt_prog_compiler_static='-static'
13847:
13848: case $host_os in
13849: aix*)
13850: # All AIX code is PIC.
13851: if test ia64 = "$host_cpu"; then
13852: # AIX 5 now supports IA64 processor
13853: lt_prog_compiler_static='-Bstatic'
13854: fi
13855: lt_prog_compiler_pic='-fPIC'
13856: ;;
13857:
13858: amigaos*)
13859: case $host_cpu in
13860: powerpc)
13861: # see comment about AmigaOS4 .so support
13862: lt_prog_compiler_pic='-fPIC'
13863: ;;
13864: m68k)
13865: # FIXME: we need at least 68020 code to build shared libraries, but
13866: # adding the '-m68020' flag to GCC prevents building anything better,
13867: # like '-m68040'.
13868: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13869: ;;
13870: esac
13871: ;;
13872:
13873: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13874: # PIC is the default for these OSes.
13875: ;;
13876:
13877: mingw* | cygwin* | pw32* | os2* | cegcc*)
13878: # This hack is so that the source file can tell whether it is being
13879: # built for inclusion in a dll (and should export symbols for example).
13880: # Although the cygwin gcc ignores -fPIC, still need this for old-style
13881: # (--disable-auto-import) libraries
13882: lt_prog_compiler_pic='-DDLL_EXPORT'
13883: case $host_os in
13884: os2*)
13885: lt_prog_compiler_static='$wl-static'
13886: ;;
13887: esac
13888: ;;
13889:
13890: darwin* | rhapsody*)
13891: # PIC is the default on this platform
13892: # Common symbols not allowed in MH_DYLIB files
13893: lt_prog_compiler_pic='-fno-common'
13894: ;;
13895:
13896: haiku*)
13897: # PIC is the default for Haiku.
13898: # The "-static" flag exists, but is broken.
13899: lt_prog_compiler_static=
13900: ;;
13901:
13902: hpux*)
13903: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13904: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13905: # sets the default TLS model and affects inlining.
13906: case $host_cpu in
13907: hppa*64*)
13908: # +Z the default
13909: ;;
13910: *)
13911: lt_prog_compiler_pic='-fPIC'
13912: ;;
13913: esac
13914: ;;
13915:
13916: interix[3-9]*)
13917: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13918: # Instead, we relocate shared libraries at runtime.
13919: ;;
13920:
13921: msdosdjgpp*)
13922: # Just because we use GCC doesn't mean we suddenly get shared libraries
13923: # on systems that don't support them.
13924: lt_prog_compiler_can_build_shared=no
13925: enable_shared=no
13926: ;;
13927:
13928: *nto* | *qnx*)
13929: # QNX uses GNU C++, but need to define -shared option too, otherwise
13930: # it will coredump.
13931: lt_prog_compiler_pic='-fPIC -shared'
13932: ;;
13933:
13934: sysv4*MP*)
13935: if test -d /usr/nec; then
13936: lt_prog_compiler_pic=-Kconform_pic
13937: fi
13938: ;;
13939:
13940: *)
13941: lt_prog_compiler_pic='-fPIC'
13942: ;;
13943: esac
13944:
13945: case $cc_basename in
13946: nvcc*) # Cuda Compiler Driver 2.2
13947: lt_prog_compiler_wl='-Xlinker '
13948: if test -n "$lt_prog_compiler_pic"; then
13949: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13950: fi
13951: ;;
13952: esac
13953: else
13954: # PORTME Check for flag to pass linker flags through the system compiler.
13955: case $host_os in
13956: aix*)
13957: lt_prog_compiler_wl='-Wl,'
13958: if test ia64 = "$host_cpu"; then
13959: # AIX 5 now supports IA64 processor
13960: lt_prog_compiler_static='-Bstatic'
13961: else
13962: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13963: fi
13964: ;;
13965:
13966: darwin* | rhapsody*)
13967: # PIC is the default on this platform
13968: # Common symbols not allowed in MH_DYLIB files
13969: lt_prog_compiler_pic='-fno-common'
13970: case $cc_basename in
13971: nagfor*)
13972: # NAG Fortran compiler
13973: lt_prog_compiler_wl='-Wl,-Wl,,'
13974: lt_prog_compiler_pic='-PIC'
13975: lt_prog_compiler_static='-Bstatic'
13976: ;;
13977: esac
13978: ;;
13979:
13980: mingw* | cygwin* | pw32* | os2* | cegcc*)
13981: # This hack is so that the source file can tell whether it is being
13982: # built for inclusion in a dll (and should export symbols for example).
13983: lt_prog_compiler_pic='-DDLL_EXPORT'
13984: case $host_os in
13985: os2*)
13986: lt_prog_compiler_static='$wl-static'
13987: ;;
13988: esac
13989: ;;
13990:
13991: hpux9* | hpux10* | hpux11*)
13992: lt_prog_compiler_wl='-Wl,'
13993: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13994: # not for PA HP-UX.
13995: case $host_cpu in
13996: hppa*64*|ia64*)
13997: # +Z the default
13998: ;;
13999: *)
14000: lt_prog_compiler_pic='+Z'
14001: ;;
14002: esac
14003: # Is there a better lt_prog_compiler_static that works with the bundled CC?
14004: lt_prog_compiler_static='$wl-a ${wl}archive'
14005: ;;
14006:
14007: irix5* | irix6* | nonstopux*)
14008: lt_prog_compiler_wl='-Wl,'
14009: # PIC (with -KPIC) is the default.
14010: lt_prog_compiler_static='-non_shared'
14011: ;;
14012:
14013: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14014: case $cc_basename in
14015: # old Intel for x86_64, which still supported -KPIC.
14016: ecc*)
14017: lt_prog_compiler_wl='-Wl,'
14018: lt_prog_compiler_pic='-KPIC'
14019: lt_prog_compiler_static='-static'
14020: ;;
14021: # icc used to be incompatible with GCC.
14022: # ICC 10 doesn't accept -KPIC any more.
14023: icc* | ifort*)
14024: lt_prog_compiler_wl='-Wl,'
14025: lt_prog_compiler_pic='-fPIC'
14026: lt_prog_compiler_static='-static'
14027: ;;
14028: # Lahey Fortran 8.1.
14029: lf95*)
14030: lt_prog_compiler_wl='-Wl,'
14031: lt_prog_compiler_pic='--shared'
14032: lt_prog_compiler_static='--static'
14033: ;;
14034: nagfor*)
14035: # NAG Fortran compiler
14036: lt_prog_compiler_wl='-Wl,-Wl,,'
14037: lt_prog_compiler_pic='-PIC'
14038: lt_prog_compiler_static='-Bstatic'
14039: ;;
14040: tcc*)
14041: # Fabrice Bellard et al's Tiny C Compiler
14042: lt_prog_compiler_wl='-Wl,'
14043: lt_prog_compiler_pic='-fPIC'
14044: lt_prog_compiler_static='-static'
14045: ;;
14046: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14047: # Portland Group compilers (*not* the Pentium gcc compiler,
14048: # which looks to be a dead project)
14049: lt_prog_compiler_wl='-Wl,'
14050: lt_prog_compiler_pic='-fpic'
14051: lt_prog_compiler_static='-Bstatic'
14052: ;;
14053: ccc*)
14054: lt_prog_compiler_wl='-Wl,'
14055: # All Alpha code is PIC.
14056: lt_prog_compiler_static='-non_shared'
14057: ;;
14058: xl* | bgxl* | bgf* | mpixl*)
14059: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14060: lt_prog_compiler_wl='-Wl,'
14061: lt_prog_compiler_pic='-qpic'
14062: lt_prog_compiler_static='-qstaticlink'
14063: ;;
14064: *)
14065: case `$CC -V 2>&1 | sed 5q` in
14066: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
14067: # Sun Fortran 8.3 passes all unrecognized flags to the linker
14068: lt_prog_compiler_pic='-KPIC'
14069: lt_prog_compiler_static='-Bstatic'
14070: lt_prog_compiler_wl=''
14071: ;;
14072: *Sun\ F* | *Sun*Fortran*)
14073: lt_prog_compiler_pic='-KPIC'
14074: lt_prog_compiler_static='-Bstatic'
14075: lt_prog_compiler_wl='-Qoption ld '
14076: ;;
14077: *Sun\ C*)
14078: # Sun C 5.9
14079: lt_prog_compiler_pic='-KPIC'
14080: lt_prog_compiler_static='-Bstatic'
14081: lt_prog_compiler_wl='-Wl,'
14082: ;;
14083: *Intel*\ [CF]*Compiler*)
14084: lt_prog_compiler_wl='-Wl,'
14085: lt_prog_compiler_pic='-fPIC'
14086: lt_prog_compiler_static='-static'
14087: ;;
14088: *Portland\ Group*)
14089: lt_prog_compiler_wl='-Wl,'
14090: lt_prog_compiler_pic='-fpic'
14091: lt_prog_compiler_static='-Bstatic'
14092: ;;
14093: esac
14094: ;;
14095: esac
14096: ;;
14097:
14098: newsos6)
14099: lt_prog_compiler_pic='-KPIC'
14100: lt_prog_compiler_static='-Bstatic'
14101: ;;
14102:
14103: *nto* | *qnx*)
14104: # QNX uses GNU C++, but need to define -shared option too, otherwise
14105: # it will coredump.
14106: lt_prog_compiler_pic='-fPIC -shared'
14107: ;;
14108:
14109: osf3* | osf4* | osf5*)
14110: lt_prog_compiler_wl='-Wl,'
14111: # All OSF/1 code is PIC.
14112: lt_prog_compiler_static='-non_shared'
14113: ;;
14114:
14115: rdos*)
14116: lt_prog_compiler_static='-non_shared'
14117: ;;
14118:
14119: solaris*)
14120: lt_prog_compiler_pic='-KPIC'
14121: lt_prog_compiler_static='-Bstatic'
14122: case $cc_basename in
14123: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14124: lt_prog_compiler_wl='-Qoption ld ';;
14125: *)
14126: lt_prog_compiler_wl='-Wl,';;
14127: esac
14128: ;;
14129:
14130: sunos4*)
14131: lt_prog_compiler_wl='-Qoption ld '
14132: lt_prog_compiler_pic='-PIC'
14133: lt_prog_compiler_static='-Bstatic'
14134: ;;
14135:
14136: sysv4 | sysv4.2uw2* | sysv4.3*)
14137: lt_prog_compiler_wl='-Wl,'
14138: lt_prog_compiler_pic='-KPIC'
14139: lt_prog_compiler_static='-Bstatic'
14140: ;;
14141:
14142: sysv4*MP*)
14143: if test -d /usr/nec; then
14144: lt_prog_compiler_pic='-Kconform_pic'
14145: lt_prog_compiler_static='-Bstatic'
14146: fi
14147: ;;
14148:
14149: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14150: lt_prog_compiler_wl='-Wl,'
14151: lt_prog_compiler_pic='-KPIC'
14152: lt_prog_compiler_static='-Bstatic'
14153: ;;
14154:
14155: unicos*)
14156: lt_prog_compiler_wl='-Wl,'
14157: lt_prog_compiler_can_build_shared=no
14158: ;;
14159:
14160: uts4*)
14161: lt_prog_compiler_pic='-pic'
14162: lt_prog_compiler_static='-Bstatic'
14163: ;;
14164:
14165: *)
14166: lt_prog_compiler_can_build_shared=no
14167: ;;
14168: esac
14169: fi
14170:
14171: case $host_os in
14172: # For platforms that do not support PIC, -DPIC is meaningless:
14173: *djgpp*)
14174: lt_prog_compiler_pic=
14175: ;;
14176: *)
14177: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14178: ;;
14179: esac
14180:
14181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14182: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14183: if ${lt_cv_prog_compiler_pic+:} false; then :
14184: $as_echo_n "(cached) " >&6
14185: else
14186: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
14187: fi
14188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14189: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
14190: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14191:
14192: #
14193: # Check to make sure the PIC flag actually works.
14194: #
14195: if test -n "$lt_prog_compiler_pic"; then
14196: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14197: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14198: if ${lt_cv_prog_compiler_pic_works+:} false; then :
14199: $as_echo_n "(cached) " >&6
14200: else
14201: lt_cv_prog_compiler_pic_works=no
14202: ac_outfile=conftest.$ac_objext
14203: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14204: lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14205: # Insert the option either (1) after the last *FLAGS variable, or
14206: # (2) before a word containing "conftest.", or (3) at the end.
14207: # Note that $ac_compile itself does not contain backslashes and begins
14208: # with a dollar sign (not a hyphen), so the echo should work correctly.
14209: # The option is referenced via a variable to avoid confusing sed.
14210: lt_compile=`echo "$ac_compile" | $SED \
14211: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14212: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14213: -e 's:$: $lt_compiler_flag:'`
14214: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14215: (eval "$lt_compile" 2>conftest.err)
14216: ac_status=$?
14217: cat conftest.err >&5
14218: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219: if (exit $ac_status) && test -s "$ac_outfile"; then
14220: # The compiler can only warn and ignore the option if not recognized
14221: # So say no if there are warnings other than the usual output.
14222: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14223: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14224: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14225: lt_cv_prog_compiler_pic_works=yes
14226: fi
14227: fi
14228: $RM conftest*
14229:
14230: fi
14231: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14232: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
14233:
14234: if test yes = "$lt_cv_prog_compiler_pic_works"; then
14235: case $lt_prog_compiler_pic in
14236: "" | " "*) ;;
14237: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14238: esac
14239: else
14240: lt_prog_compiler_pic=
14241: lt_prog_compiler_can_build_shared=no
14242: fi
14243:
14244: fi
14245:
14246:
14247:
14248:
14249:
14250:
14251:
14252:
14253:
14254:
14255:
14256: #
14257: # Check to make sure the static flag actually works.
14258: #
14259: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14260: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14261: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14262: if ${lt_cv_prog_compiler_static_works+:} false; then :
14263: $as_echo_n "(cached) " >&6
14264: else
14265: lt_cv_prog_compiler_static_works=no
14266: save_LDFLAGS=$LDFLAGS
14267: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14268: echo "$lt_simple_link_test_code" > conftest.$ac_ext
14269: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14270: # The linker can only warn and ignore the option if not recognized
14271: # So say no if there are warnings
14272: if test -s conftest.err; then
14273: # Append any errors to the config.log.
14274: cat conftest.err 1>&5
14275: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14276: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14277: if diff conftest.exp conftest.er2 >/dev/null; then
14278: lt_cv_prog_compiler_static_works=yes
14279: fi
14280: else
14281: lt_cv_prog_compiler_static_works=yes
14282: fi
14283: fi
14284: $RM -r conftest*
14285: LDFLAGS=$save_LDFLAGS
14286:
14287: fi
14288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14289: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
14290:
14291: if test yes = "$lt_cv_prog_compiler_static_works"; then
14292: :
14293: else
14294: lt_prog_compiler_static=
14295: fi
14296:
14297:
14298:
14299:
14300:
14301:
14302:
14303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14304: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14305: if ${lt_cv_prog_compiler_c_o+:} false; then :
14306: $as_echo_n "(cached) " >&6
14307: else
14308: lt_cv_prog_compiler_c_o=no
14309: $RM -r conftest 2>/dev/null
14310: mkdir conftest
14311: cd conftest
14312: mkdir out
14313: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14314:
14315: lt_compiler_flag="-o out/conftest2.$ac_objext"
14316: # Insert the option either (1) after the last *FLAGS variable, or
14317: # (2) before a word containing "conftest.", or (3) at the end.
14318: # Note that $ac_compile itself does not contain backslashes and begins
14319: # with a dollar sign (not a hyphen), so the echo should work correctly.
14320: lt_compile=`echo "$ac_compile" | $SED \
14321: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14322: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14323: -e 's:$: $lt_compiler_flag:'`
14324: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14325: (eval "$lt_compile" 2>out/conftest.err)
14326: ac_status=$?
14327: cat out/conftest.err >&5
14328: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329: if (exit $ac_status) && test -s out/conftest2.$ac_objext
14330: then
14331: # The compiler can only warn and ignore the option if not recognized
14332: # So say no if there are warnings
14333: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14334: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14335: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14336: lt_cv_prog_compiler_c_o=yes
14337: fi
14338: fi
14339: chmod u+w . 2>&5
14340: $RM conftest*
14341: # SGI C++ compiler will create directory out/ii_files/ for
14342: # template instantiation
14343: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14344: $RM out/* && rmdir out
14345: cd ..
14346: $RM -r conftest
14347: $RM conftest*
14348:
14349: fi
14350: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
14351: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14352:
14353:
14354:
14355:
14356:
14357:
14358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14359: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14360: if ${lt_cv_prog_compiler_c_o+:} false; then :
14361: $as_echo_n "(cached) " >&6
14362: else
14363: lt_cv_prog_compiler_c_o=no
14364: $RM -r conftest 2>/dev/null
14365: mkdir conftest
14366: cd conftest
14367: mkdir out
14368: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14369:
14370: lt_compiler_flag="-o out/conftest2.$ac_objext"
14371: # Insert the option either (1) after the last *FLAGS variable, or
14372: # (2) before a word containing "conftest.", or (3) at the end.
14373: # Note that $ac_compile itself does not contain backslashes and begins
14374: # with a dollar sign (not a hyphen), so the echo should work correctly.
14375: lt_compile=`echo "$ac_compile" | $SED \
14376: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14377: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14378: -e 's:$: $lt_compiler_flag:'`
14379: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14380: (eval "$lt_compile" 2>out/conftest.err)
14381: ac_status=$?
14382: cat out/conftest.err >&5
14383: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384: if (exit $ac_status) && test -s out/conftest2.$ac_objext
14385: then
14386: # The compiler can only warn and ignore the option if not recognized
14387: # So say no if there are warnings
14388: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14389: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14390: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14391: lt_cv_prog_compiler_c_o=yes
14392: fi
14393: fi
14394: chmod u+w . 2>&5
14395: $RM conftest*
14396: # SGI C++ compiler will create directory out/ii_files/ for
14397: # template instantiation
14398: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14399: $RM out/* && rmdir out
14400: cd ..
14401: $RM -r conftest
14402: $RM conftest*
14403:
14404: fi
14405: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
14406: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14407:
14408:
14409:
14410:
14411: hard_links=nottested
14412: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
14413: # do not overwrite the value of need_locks provided by the user
14414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14415: $as_echo_n "checking if we can lock with hard links... " >&6; }
14416: hard_links=yes
14417: $RM conftest*
14418: ln conftest.a conftest.b 2>/dev/null && hard_links=no
14419: touch conftest.a
14420: ln conftest.a conftest.b 2>&5 || hard_links=no
14421: ln conftest.a conftest.b 2>/dev/null && hard_links=no
14422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14423: $as_echo "$hard_links" >&6; }
14424: if test no = "$hard_links"; then
14425: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14426: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14427: need_locks=warn
14428: fi
14429: else
14430: need_locks=no
14431: fi
14432:
14433:
14434:
14435:
14436:
14437:
14438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14439: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14440:
14441: runpath_var=
14442: allow_undefined_flag=
14443: always_export_symbols=no
14444: archive_cmds=
14445: archive_expsym_cmds=
14446: compiler_needs_object=no
14447: enable_shared_with_static_runtimes=no
14448: export_dynamic_flag_spec=
14449: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14450: hardcode_automatic=no
14451: hardcode_direct=no
14452: hardcode_direct_absolute=no
14453: hardcode_libdir_flag_spec=
14454: hardcode_libdir_separator=
14455: hardcode_minus_L=no
14456: hardcode_shlibpath_var=unsupported
14457: inherit_rpath=no
14458: link_all_deplibs=unknown
14459: module_cmds=
14460: module_expsym_cmds=
14461: old_archive_from_new_cmds=
14462: old_archive_from_expsyms_cmds=
14463: thread_safe_flag_spec=
14464: whole_archive_flag_spec=
14465: # include_expsyms should be a list of space-separated symbols to be *always*
14466: # included in the symbol list
14467: include_expsyms=
14468: # exclude_expsyms can be an extended regexp of symbols to exclude
14469: # it will be wrapped by ' (' and ')$', so one must not match beginning or
14470: # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
14471: # as well as any symbol that contains 'd'.
14472: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14473: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14474: # platforms (ab)use it in PIC code, but their linkers get confused if
14475: # the symbol is explicitly referenced. Since portable code cannot
14476: # rely on this symbol name, it's probably fine to never include it in
14477: # preloaded symbol tables.
14478: # Exclude shared library initialization/finalization symbols.
14479: extract_expsyms_cmds=
14480:
14481: case $host_os in
14482: cygwin* | mingw* | pw32* | cegcc*)
14483: # FIXME: the MSVC++ port hasn't been tested in a loooong time
14484: # When not using gcc, we currently assume that we are using
14485: # Microsoft Visual C++.
14486: if test yes != "$GCC"; then
14487: with_gnu_ld=no
14488: fi
14489: ;;
14490: interix*)
14491: # we just hope/assume this is gcc and not c89 (= MSVC++)
14492: with_gnu_ld=yes
14493: ;;
14494: openbsd* | bitrig*)
14495: with_gnu_ld=no
14496: ;;
14497: linux* | k*bsd*-gnu | gnu*)
14498: link_all_deplibs=no
14499: ;;
14500: esac
14501:
14502: ld_shlibs=yes
14503:
14504: # On some targets, GNU ld is compatible enough with the native linker
14505: # that we're better off using the native interface for both.
14506: lt_use_gnu_ld_interface=no
14507: if test yes = "$with_gnu_ld"; then
14508: case $host_os in
14509: aix*)
14510: # The AIX port of GNU ld has always aspired to compatibility
14511: # with the native linker. However, as the warning in the GNU ld
14512: # block says, versions before 2.19.5* couldn't really create working
14513: # shared libraries, regardless of the interface used.
14514: case `$LD -v 2>&1` in
14515: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14516: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14517: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14518: *)
14519: lt_use_gnu_ld_interface=yes
14520: ;;
14521: esac
14522: ;;
14523: *)
14524: lt_use_gnu_ld_interface=yes
14525: ;;
14526: esac
14527: fi
14528:
14529: if test yes = "$lt_use_gnu_ld_interface"; then
14530: # If archive_cmds runs LD, not CC, wlarc should be empty
14531: wlarc='$wl'
14532:
14533: # Set some defaults for GNU ld with shared library support. These
14534: # are reset later if shared libraries are not supported. Putting them
14535: # here allows them to be overridden if necessary.
14536: runpath_var=LD_RUN_PATH
14537: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14538: export_dynamic_flag_spec='$wl--export-dynamic'
14539: # ancient GNU ld didn't support --whole-archive et. al.
14540: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14541: whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14542: else
14543: whole_archive_flag_spec=
14544: fi
14545: supports_anon_versioning=no
14546: case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
14547: *GNU\ gold*) supports_anon_versioning=yes ;;
14548: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14549: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14550: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14551: *\ 2.11.*) ;; # other 2.11 versions
14552: *) supports_anon_versioning=yes ;;
14553: esac
14554:
14555: # See if GNU ld supports shared libraries.
14556: case $host_os in
14557: aix[3-9]*)
14558: # On AIX/PPC, the GNU linker is very broken
14559: if test ia64 != "$host_cpu"; then
14560: ld_shlibs=no
14561: cat <<_LT_EOF 1>&2
14562:
14563: *** Warning: the GNU linker, at least up to release 2.19, is reported
14564: *** to be unable to reliably create shared libraries on AIX.
14565: *** Therefore, libtool is disabling shared libraries support. If you
14566: *** really care for shared libraries, you may want to install binutils
14567: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14568: *** You will then need to restart the configuration process.
14569:
14570: _LT_EOF
14571: fi
14572: ;;
14573:
14574: amigaos*)
14575: case $host_cpu in
14576: powerpc)
14577: # see comment about AmigaOS4 .so support
14578: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14579: archive_expsym_cmds=''
14580: ;;
14581: m68k)
14582: archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14583: hardcode_libdir_flag_spec='-L$libdir'
14584: hardcode_minus_L=yes
14585: ;;
14586: esac
14587: ;;
14588:
14589: beos*)
14590: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14591: allow_undefined_flag=unsupported
14592: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14593: # support --undefined. This deserves some investigation. FIXME
14594: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14595: else
14596: ld_shlibs=no
14597: fi
14598: ;;
14599:
14600: cygwin* | mingw* | pw32* | cegcc*)
14601: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14602: # as there is no search path for DLLs.
14603: hardcode_libdir_flag_spec='-L$libdir'
14604: export_dynamic_flag_spec='$wl--export-all-symbols'
14605: allow_undefined_flag=unsupported
14606: always_export_symbols=no
14607: enable_shared_with_static_runtimes=yes
14608: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14609: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14610:
14611: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14612: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14613: # If the export-symbols file already is a .def file, use it as
14614: # is; otherwise, prepend EXPORTS...
14615: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14616: cp $export_symbols $output_objdir/$soname.def;
14617: else
14618: echo EXPORTS > $output_objdir/$soname.def;
14619: cat $export_symbols >> $output_objdir/$soname.def;
14620: fi~
14621: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14622: else
14623: ld_shlibs=no
14624: fi
14625: ;;
14626:
14627: haiku*)
14628: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14629: link_all_deplibs=yes
14630: ;;
14631:
14632: os2*)
14633: hardcode_libdir_flag_spec='-L$libdir'
14634: hardcode_minus_L=yes
14635: allow_undefined_flag=unsupported
14636: shrext_cmds=.dll
14637: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14638: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14639: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14640: $ECHO EXPORTS >> $output_objdir/$libname.def~
14641: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14642: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14643: emximp -o $lib $output_objdir/$libname.def'
14644: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14645: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14646: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14647: $ECHO EXPORTS >> $output_objdir/$libname.def~
14648: prefix_cmds="$SED"~
14649: if test EXPORTS = "`$SED 1q $export_symbols`"; then
14650: prefix_cmds="$prefix_cmds -e 1d";
14651: fi~
14652: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14653: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14654: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14655: emximp -o $lib $output_objdir/$libname.def'
14656: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14657: enable_shared_with_static_runtimes=yes
14658: ;;
14659:
14660: interix[3-9]*)
14661: hardcode_direct=no
14662: hardcode_shlibpath_var=no
14663: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14664: export_dynamic_flag_spec='$wl-E'
14665: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14666: # Instead, shared libraries are loaded at an image base (0x10000000 by
14667: # default) and relocated if they conflict, which is a slow very memory
14668: # consuming and fragmenting process. To avoid this, we pick a random,
14669: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14670: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14671: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14672: archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14673: ;;
14674:
14675: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14676: tmp_diet=no
14677: if test linux-dietlibc = "$host_os"; then
14678: case $cc_basename in
14679: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14680: esac
14681: fi
14682: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14683: && test no = "$tmp_diet"
14684: then
14685: tmp_addflag=' $pic_flag'
14686: tmp_sharedflag='-shared'
14687: case $cc_basename,$host_cpu in
14688: pgcc*) # Portland Group C compiler
14689: whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14690: tmp_addflag=' $pic_flag'
14691: ;;
14692: pgf77* | pgf90* | pgf95* | pgfortran*)
14693: # Portland Group f77 and f90 compilers
14694: whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14695: tmp_addflag=' $pic_flag -Mnomain' ;;
14696: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14697: tmp_addflag=' -i_dynamic' ;;
14698: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14699: tmp_addflag=' -i_dynamic -nofor_main' ;;
14700: ifc* | ifort*) # Intel Fortran compiler
14701: tmp_addflag=' -nofor_main' ;;
14702: lf95*) # Lahey Fortran 8.1
14703: whole_archive_flag_spec=
14704: tmp_sharedflag='--shared' ;;
14705: nagfor*) # NAGFOR 5.3
14706: tmp_sharedflag='-Wl,-shared' ;;
14707: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14708: tmp_sharedflag='-qmkshrobj'
14709: tmp_addflag= ;;
14710: nvcc*) # Cuda Compiler Driver 2.2
14711: whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14712: compiler_needs_object=yes
14713: ;;
14714: esac
14715: case `$CC -V 2>&1 | sed 5q` in
14716: *Sun\ C*) # Sun C 5.9
14717: whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
14718: compiler_needs_object=yes
14719: tmp_sharedflag='-G' ;;
14720: *Sun\ F*) # Sun Fortran 8.3
14721: tmp_sharedflag='-G' ;;
14722: esac
14723: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14724:
14725: if test yes = "$supports_anon_versioning"; then
14726: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14727: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14728: echo "local: *; };" >> $output_objdir/$libname.ver~
14729: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14730: fi
14731:
14732: case $cc_basename in
14733: tcc*)
14734: export_dynamic_flag_spec='-rdynamic'
14735: ;;
14736: xlf* | bgf* | bgxlf* | mpixlf*)
14737: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14738: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14739: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14740: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14741: if test yes = "$supports_anon_versioning"; then
14742: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14743: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14744: echo "local: *; };" >> $output_objdir/$libname.ver~
14745: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14746: fi
14747: ;;
14748: esac
14749: else
14750: ld_shlibs=no
14751: fi
14752: ;;
14753:
14754: netbsd* | netbsdelf*-gnu)
14755: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14756: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14757: wlarc=
14758: else
14759: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14760: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14761: fi
14762: ;;
14763:
14764: solaris*)
14765: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14766: ld_shlibs=no
14767: cat <<_LT_EOF 1>&2
14768:
14769: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14770: *** create shared libraries on Solaris systems. Therefore, libtool
14771: *** is disabling shared libraries support. We urge you to upgrade GNU
14772: *** binutils to release 2.9.1 or newer. Another option is to modify
14773: *** your PATH or compiler configuration so that the native linker is
14774: *** used, and then restart.
14775:
14776: _LT_EOF
14777: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14778: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14779: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14780: else
14781: ld_shlibs=no
14782: fi
14783: ;;
14784:
14785: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14786: case `$LD -v 2>&1` in
14787: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14788: ld_shlibs=no
14789: cat <<_LT_EOF 1>&2
14790:
14791: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
14792: *** reliably create shared libraries on SCO systems. Therefore, libtool
14793: *** is disabling shared libraries support. We urge you to upgrade GNU
14794: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14795: *** your PATH or compiler configuration so that the native linker is
14796: *** used, and then restart.
14797:
14798: _LT_EOF
14799: ;;
14800: *)
14801: # For security reasons, it is highly recommended that you always
14802: # use absolute paths for naming shared libraries, and exclude the
14803: # DT_RUNPATH tag from executables and libraries. But doing so
14804: # requires that you compile everything twice, which is a pain.
14805: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14806: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14807: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14808: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14809: else
14810: ld_shlibs=no
14811: fi
14812: ;;
14813: esac
14814: ;;
14815:
14816: sunos4*)
14817: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14818: wlarc=
14819: hardcode_direct=yes
14820: hardcode_shlibpath_var=no
14821: ;;
14822:
14823: *)
14824: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14825: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14826: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14827: else
14828: ld_shlibs=no
14829: fi
14830: ;;
14831: esac
14832:
14833: if test no = "$ld_shlibs"; then
14834: runpath_var=
14835: hardcode_libdir_flag_spec=
14836: export_dynamic_flag_spec=
14837: whole_archive_flag_spec=
14838: fi
14839: else
14840: # PORTME fill in a description of your system's linker (not GNU ld)
14841: case $host_os in
14842: aix3*)
14843: allow_undefined_flag=unsupported
14844: always_export_symbols=yes
14845: archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14846: # Note: this linker hardcodes the directories in LIBPATH if there
14847: # are no directories specified by -L.
14848: hardcode_minus_L=yes
14849: if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14850: # Neither direct hardcoding nor static linking is supported with a
14851: # broken collect2.
14852: hardcode_direct=unsupported
14853: fi
14854: ;;
14855:
14856: aix[4-9]*)
14857: if test ia64 = "$host_cpu"; then
14858: # On IA64, the linker does run time linking by default, so we don't
14859: # have to do anything special.
14860: aix_use_runtimelinking=no
14861: exp_sym_flag='-Bexport'
14862: no_entry_flag=
14863: else
14864: # If we're using GNU nm, then we don't want the "-C" option.
14865: # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14866: # Without the "-l" option, or with the "-B" option, AIX nm treats
14867: # weak defined symbols like other global defined symbols, whereas
14868: # GNU nm marks them as "W".
14869: # While the 'weak' keyword is ignored in the Export File, we need
14870: # it in the Import File for the 'aix-soname' feature, so we have
14871: # to replace the "-B" option with "-P" for AIX nm.
14872: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14873: export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
14874: else
14875: export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
14876: fi
14877: aix_use_runtimelinking=no
14878:
14879: # Test if we are trying to use run time linking or normal
14880: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14881: # have runtime linking enabled, and use it for executables.
14882: # For shared libraries, we enable/disable runtime linking
14883: # depending on the kind of the shared library created -
14884: # when "with_aix_soname,aix_use_runtimelinking" is:
14885: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14886: # "aix,yes" lib.so shared, rtl:yes, for executables
14887: # lib.a static archive
14888: # "both,no" lib.so.V(shr.o) shared, rtl:yes
14889: # lib.a(lib.so.V) shared, rtl:no, for executables
14890: # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14891: # lib.a(lib.so.V) shared, rtl:no
14892: # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14893: # lib.a static archive
14894: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14895: for ld_flag in $LDFLAGS; do
14896: if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14897: aix_use_runtimelinking=yes
14898: break
14899: fi
14900: done
14901: if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14902: # With aix-soname=svr4, we create the lib.so.V shared archives only,
14903: # so we don't have lib.a shared libs to link our executables.
14904: # We have to force runtime linking in this case.
14905: aix_use_runtimelinking=yes
14906: LDFLAGS="$LDFLAGS -Wl,-brtl"
14907: fi
14908: ;;
14909: esac
14910:
14911: exp_sym_flag='-bexport'
14912: no_entry_flag='-bnoentry'
14913: fi
14914:
14915: # When large executables or shared objects are built, AIX ld can
14916: # have problems creating the table of contents. If linking a library
14917: # or program results in "error TOC overflow" add -mminimal-toc to
14918: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14919: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14920:
14921: archive_cmds=''
14922: hardcode_direct=yes
14923: hardcode_direct_absolute=yes
14924: hardcode_libdir_separator=':'
14925: link_all_deplibs=yes
14926: file_list_spec='$wl-f,'
14927: case $with_aix_soname,$aix_use_runtimelinking in
14928: aix,*) ;; # traditional, no import file
14929: svr4,* | *,yes) # use import file
14930: # The Import File defines what to hardcode.
14931: hardcode_direct=no
14932: hardcode_direct_absolute=no
14933: ;;
14934: esac
14935:
14936: if test yes = "$GCC"; then
14937: case $host_os in aix4.[012]|aix4.[012].*)
14938: # We only want to do this on AIX 4.2 and lower, the check
14939: # below for broken collect2 doesn't work under 4.3+
14940: collect2name=`$CC -print-prog-name=collect2`
14941: if test -f "$collect2name" &&
14942: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14943: then
14944: # We have reworked collect2
14945: :
14946: else
14947: # We have old collect2
14948: hardcode_direct=unsupported
14949: # It fails to find uninstalled libraries when the uninstalled
14950: # path is not listed in the libpath. Setting hardcode_minus_L
14951: # to unsupported forces relinking
14952: hardcode_minus_L=yes
14953: hardcode_libdir_flag_spec='-L$libdir'
14954: hardcode_libdir_separator=
14955: fi
14956: ;;
14957: esac
14958: shared_flag='-shared'
14959: if test yes = "$aix_use_runtimelinking"; then
14960: shared_flag="$shared_flag "'$wl-G'
14961: fi
14962: # Need to ensure runtime linking is disabled for the traditional
14963: # shared library, or the linker may eventually find shared libraries
14964: # /with/ Import File - we do not want to mix them.
14965: shared_flag_aix='-shared'
14966: shared_flag_svr4='-shared $wl-G'
14967: else
14968: # not using gcc
14969: if test ia64 = "$host_cpu"; then
14970: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14971: # chokes on -Wl,-G. The following line is correct:
14972: shared_flag='-G'
14973: else
14974: if test yes = "$aix_use_runtimelinking"; then
14975: shared_flag='$wl-G'
14976: else
14977: shared_flag='$wl-bM:SRE'
14978: fi
14979: shared_flag_aix='$wl-bM:SRE'
14980: shared_flag_svr4='$wl-G'
14981: fi
14982: fi
14983:
14984: export_dynamic_flag_spec='$wl-bexpall'
14985: # It seems that -bexpall does not export symbols beginning with
14986: # underscore (_), so it is better to generate a list of symbols to export.
14987: always_export_symbols=yes
14988: if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14989: # Warning - without using the other runtime loading flags (-brtl),
14990: # -berok will link without error, but may produce a broken library.
14991: allow_undefined_flag='-berok'
14992: # Determine the default libpath from the value encoded in an
14993: # empty executable.
14994: if test set = "${lt_cv_aix_libpath+set}"; then
14995: aix_libpath=$lt_cv_aix_libpath
14996: else
14997: if ${lt_cv_aix_libpath_+:} false; then :
14998: $as_echo_n "(cached) " >&6
14999: else
15000: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001: /* end confdefs.h. */
15002:
15003: int
15004: main ()
15005: {
15006:
15007: ;
15008: return 0;
15009: }
15010: _ACEOF
15011: if ac_fn_c_try_link "$LINENO"; then :
15012:
15013: lt_aix_libpath_sed='
15014: /Import File Strings/,/^$/ {
15015: /^0/ {
15016: s/^0 *\([^ ]*\) *$/\1/
15017: p
15018: }
15019: }'
15020: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15021: # Check for a 64-bit object if we didn't find anything.
15022: if test -z "$lt_cv_aix_libpath_"; then
15023: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15024: fi
15025: fi
15026: rm -f core conftest.err conftest.$ac_objext \
15027: conftest$ac_exeext conftest.$ac_ext
15028: if test -z "$lt_cv_aix_libpath_"; then
15029: lt_cv_aix_libpath_=/usr/lib:/lib
15030: fi
15031:
15032: fi
15033:
15034: aix_libpath=$lt_cv_aix_libpath_
15035: fi
15036:
15037: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
15038: archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
15039: else
15040: if test ia64 = "$host_cpu"; then
15041: hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
15042: allow_undefined_flag="-z nodefs"
15043: archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
15044: else
15045: # Determine the default libpath from the value encoded in an
15046: # empty executable.
15047: if test set = "${lt_cv_aix_libpath+set}"; then
15048: aix_libpath=$lt_cv_aix_libpath
15049: else
15050: if ${lt_cv_aix_libpath_+:} false; then :
15051: $as_echo_n "(cached) " >&6
15052: else
15053: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054: /* end confdefs.h. */
15055:
15056: int
15057: main ()
15058: {
15059:
15060: ;
15061: return 0;
15062: }
15063: _ACEOF
15064: if ac_fn_c_try_link "$LINENO"; then :
15065:
15066: lt_aix_libpath_sed='
15067: /Import File Strings/,/^$/ {
15068: /^0/ {
15069: s/^0 *\([^ ]*\) *$/\1/
15070: p
15071: }
15072: }'
15073: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15074: # Check for a 64-bit object if we didn't find anything.
15075: if test -z "$lt_cv_aix_libpath_"; then
15076: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15077: fi
15078: fi
15079: rm -f core conftest.err conftest.$ac_objext \
15080: conftest$ac_exeext conftest.$ac_ext
15081: if test -z "$lt_cv_aix_libpath_"; then
15082: lt_cv_aix_libpath_=/usr/lib:/lib
15083: fi
15084:
15085: fi
15086:
15087: aix_libpath=$lt_cv_aix_libpath_
15088: fi
15089:
15090: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
15091: # Warning - without using the other run time loading flags,
15092: # -berok will link without error, but may produce a broken library.
15093: no_undefined_flag=' $wl-bernotok'
15094: allow_undefined_flag=' $wl-berok'
15095: if test yes = "$with_gnu_ld"; then
15096: # We only use this code for GNU lds that support --whole-archive.
15097: whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
15098: else
15099: # Exported symbols can be pulled into shared objects from archives
15100: whole_archive_flag_spec='$convenience'
15101: fi
15102: archive_cmds_need_lc=yes
15103: archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15104: # -brtl affects multiple linker settings, -berok does not and is overridden later
15105: compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15106: if test svr4 != "$with_aix_soname"; then
15107: # This is similar to how AIX traditionally builds its shared libraries.
15108: archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
15109: fi
15110: if test aix != "$with_aix_soname"; then
15111: archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
15112: else
15113: # used by -dlpreopen to get the symbols
15114: archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15115: fi
15116: archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
15117: fi
15118: fi
15119: ;;
15120:
15121: amigaos*)
15122: case $host_cpu in
15123: powerpc)
15124: # see comment about AmigaOS4 .so support
15125: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15126: archive_expsym_cmds=''
15127: ;;
15128: m68k)
15129: archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15130: hardcode_libdir_flag_spec='-L$libdir'
15131: hardcode_minus_L=yes
15132: ;;
15133: esac
15134: ;;
15135:
15136: bsdi[45]*)
15137: export_dynamic_flag_spec=-rdynamic
15138: ;;
15139:
15140: cygwin* | mingw* | pw32* | cegcc*)
15141: # When not using gcc, we currently assume that we are using
15142: # Microsoft Visual C++.
15143: # hardcode_libdir_flag_spec is actually meaningless, as there is
15144: # no search path for DLLs.
15145: case $cc_basename in
15146: cl*)
15147: # Native MSVC
15148: hardcode_libdir_flag_spec=' '
15149: allow_undefined_flag=unsupported
15150: always_export_symbols=yes
15151: file_list_spec='@'
15152: # Tell ltmain to make .lib files, not .a files.
15153: libext=lib
15154: # Tell ltmain to make .dll files, not .so files.
15155: shrext_cmds=.dll
15156: # FIXME: Setting linknames here is a bad hack.
15157: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15158: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15159: cp "$export_symbols" "$output_objdir/$soname.def";
15160: echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15161: else
15162: $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15163: fi~
15164: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15165: linknames='
15166: # The linker will not automatically build a static lib if we build a DLL.
15167: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
15168: enable_shared_with_static_runtimes=yes
15169: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15170: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15171: # Don't use ranlib
15172: old_postinstall_cmds='chmod 644 $oldlib'
15173: postlink_cmds='lt_outputfile="@OUTPUT@"~
15174: lt_tool_outputfile="@TOOL_OUTPUT@"~
15175: case $lt_outputfile in
15176: *.exe|*.EXE) ;;
15177: *)
15178: lt_outputfile=$lt_outputfile.exe
15179: lt_tool_outputfile=$lt_tool_outputfile.exe
15180: ;;
15181: esac~
15182: if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15183: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15184: $RM "$lt_outputfile.manifest";
15185: fi'
15186: ;;
15187: *)
15188: # Assume MSVC wrapper
15189: hardcode_libdir_flag_spec=' '
15190: allow_undefined_flag=unsupported
15191: # Tell ltmain to make .lib files, not .a files.
15192: libext=lib
15193: # Tell ltmain to make .dll files, not .so files.
15194: shrext_cmds=.dll
15195: # FIXME: Setting linknames here is a bad hack.
15196: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15197: # The linker will automatically build a .lib file if we build a DLL.
15198: old_archive_from_new_cmds='true'
15199: # FIXME: Should let the user specify the lib program.
15200: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15201: enable_shared_with_static_runtimes=yes
15202: ;;
15203: esac
15204: ;;
15205:
15206: darwin* | rhapsody*)
15207:
15208:
15209: archive_cmds_need_lc=no
15210: hardcode_direct=no
15211: hardcode_automatic=yes
15212: hardcode_shlibpath_var=unsupported
15213: if test yes = "$lt_cv_ld_force_load"; then
15214: whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15215:
15216: else
15217: whole_archive_flag_spec=''
15218: fi
15219: link_all_deplibs=yes
15220: allow_undefined_flag=$_lt_dar_allow_undefined
15221: case $cc_basename in
15222: ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15223: *) _lt_dar_can_shared=$GCC ;;
15224: esac
15225: if test yes = "$_lt_dar_can_shared"; then
15226: output_verbose_link_cmd=func_echo_all
15227: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15228: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15229: archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
15230: module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
15231:
15232: else
15233: ld_shlibs=no
15234: fi
15235:
15236: ;;
15237:
15238: dgux*)
15239: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15240: hardcode_libdir_flag_spec='-L$libdir'
15241: hardcode_shlibpath_var=no
15242: ;;
15243:
15244: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15245: # support. Future versions do this automatically, but an explicit c++rt0.o
15246: # does not break anything, and helps significantly (at the cost of a little
15247: # extra space).
15248: freebsd2.2*)
15249: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15250: hardcode_libdir_flag_spec='-R$libdir'
15251: hardcode_direct=yes
15252: hardcode_shlibpath_var=no
15253: ;;
15254:
15255: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15256: freebsd2.*)
15257: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15258: hardcode_direct=yes
15259: hardcode_minus_L=yes
15260: hardcode_shlibpath_var=no
15261: ;;
15262:
15263: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15264: freebsd* | dragonfly*)
15265: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15266: hardcode_libdir_flag_spec='-R$libdir'
15267: hardcode_direct=yes
15268: hardcode_shlibpath_var=no
15269: ;;
15270:
15271: hpux9*)
15272: if test yes = "$GCC"; then
15273: archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15274: else
15275: archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
15276: fi
15277: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15278: hardcode_libdir_separator=:
15279: hardcode_direct=yes
15280:
15281: # hardcode_minus_L: Not really in the search PATH,
15282: # but as the default location of the library.
15283: hardcode_minus_L=yes
15284: export_dynamic_flag_spec='$wl-E'
15285: ;;
15286:
15287: hpux10*)
15288: if test yes,no = "$GCC,$with_gnu_ld"; then
15289: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15290: else
15291: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15292: fi
15293: if test no = "$with_gnu_ld"; then
15294: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15295: hardcode_libdir_separator=:
15296: hardcode_direct=yes
15297: hardcode_direct_absolute=yes
15298: export_dynamic_flag_spec='$wl-E'
15299: # hardcode_minus_L: Not really in the search PATH,
15300: # but as the default location of the library.
15301: hardcode_minus_L=yes
15302: fi
15303: ;;
15304:
15305: hpux11*)
15306: if test yes,no = "$GCC,$with_gnu_ld"; then
15307: case $host_cpu in
15308: hppa*64*)
15309: archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15310: ;;
15311: ia64*)
15312: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15313: ;;
15314: *)
15315: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15316: ;;
15317: esac
15318: else
15319: case $host_cpu in
15320: hppa*64*)
15321: archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15322: ;;
15323: ia64*)
15324: archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15325: ;;
15326: *)
15327:
15328: # Older versions of the 11.00 compiler do not understand -b yet
15329: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
15330: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
15331: $as_echo_n "checking if $CC understands -b... " >&6; }
15332: if ${lt_cv_prog_compiler__b+:} false; then :
15333: $as_echo_n "(cached) " >&6
15334: else
15335: lt_cv_prog_compiler__b=no
15336: save_LDFLAGS=$LDFLAGS
15337: LDFLAGS="$LDFLAGS -b"
15338: echo "$lt_simple_link_test_code" > conftest.$ac_ext
15339: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15340: # The linker can only warn and ignore the option if not recognized
15341: # So say no if there are warnings
15342: if test -s conftest.err; then
15343: # Append any errors to the config.log.
15344: cat conftest.err 1>&5
15345: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15346: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15347: if diff conftest.exp conftest.er2 >/dev/null; then
15348: lt_cv_prog_compiler__b=yes
15349: fi
15350: else
15351: lt_cv_prog_compiler__b=yes
15352: fi
15353: fi
15354: $RM -r conftest*
15355: LDFLAGS=$save_LDFLAGS
15356:
15357: fi
15358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
15359: $as_echo "$lt_cv_prog_compiler__b" >&6; }
15360:
15361: if test yes = "$lt_cv_prog_compiler__b"; then
15362: archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15363: else
15364: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15365: fi
15366:
15367: ;;
15368: esac
15369: fi
15370: if test no = "$with_gnu_ld"; then
15371: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15372: hardcode_libdir_separator=:
15373:
15374: case $host_cpu in
15375: hppa*64*|ia64*)
15376: hardcode_direct=no
15377: hardcode_shlibpath_var=no
15378: ;;
15379: *)
15380: hardcode_direct=yes
15381: hardcode_direct_absolute=yes
15382: export_dynamic_flag_spec='$wl-E'
15383:
15384: # hardcode_minus_L: Not really in the search PATH,
15385: # but as the default location of the library.
15386: hardcode_minus_L=yes
15387: ;;
15388: esac
15389: fi
15390: ;;
15391:
15392: irix5* | irix6* | nonstopux*)
15393: if test yes = "$GCC"; then
15394: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15395: # Try to use the -exported_symbol ld option, if it does not
15396: # work, assume that -exports_file does not work either and
15397: # implicitly export all symbols.
15398: # This should be the same for all languages, so no per-tag cache variable.
15399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
15400: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
15401: if ${lt_cv_irix_exported_symbol+:} false; then :
15402: $as_echo_n "(cached) " >&6
15403: else
15404: save_LDFLAGS=$LDFLAGS
15405: LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
15406: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407: /* end confdefs.h. */
15408: int foo (void) { return 0; }
15409: _ACEOF
15410: if ac_fn_c_try_link "$LINENO"; then :
15411: lt_cv_irix_exported_symbol=yes
15412: else
15413: lt_cv_irix_exported_symbol=no
15414: fi
15415: rm -f core conftest.err conftest.$ac_objext \
15416: conftest$ac_exeext conftest.$ac_ext
15417: LDFLAGS=$save_LDFLAGS
15418: fi
15419: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
15420: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
15421: if test yes = "$lt_cv_irix_exported_symbol"; then
15422: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
15423: fi
15424: link_all_deplibs=no
15425: else
15426: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15427: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
15428: fi
15429: archive_cmds_need_lc='no'
15430: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15431: hardcode_libdir_separator=:
15432: inherit_rpath=yes
15433: link_all_deplibs=yes
15434: ;;
15435:
15436: linux*)
15437: case $cc_basename in
15438: tcc*)
15439: # Fabrice Bellard et al's Tiny C Compiler
15440: ld_shlibs=yes
15441: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15442: ;;
15443: esac
15444: ;;
15445:
15446: netbsd* | netbsdelf*-gnu)
15447: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15448: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15449: else
15450: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15451: fi
15452: hardcode_libdir_flag_spec='-R$libdir'
15453: hardcode_direct=yes
15454: hardcode_shlibpath_var=no
15455: ;;
15456:
15457: newsos6)
15458: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15459: hardcode_direct=yes
15460: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15461: hardcode_libdir_separator=:
15462: hardcode_shlibpath_var=no
15463: ;;
15464:
15465: *nto* | *qnx*)
15466: ;;
15467:
15468: openbsd* | bitrig*)
15469: if test -f /usr/libexec/ld.so; then
15470: hardcode_direct=yes
15471: hardcode_shlibpath_var=no
15472: hardcode_direct_absolute=yes
15473: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15474: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15475: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
15476: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15477: export_dynamic_flag_spec='$wl-E'
15478: else
15479: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15480: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15481: fi
15482: else
15483: ld_shlibs=no
15484: fi
15485: ;;
15486:
15487: os2*)
15488: hardcode_libdir_flag_spec='-L$libdir'
15489: hardcode_minus_L=yes
15490: allow_undefined_flag=unsupported
15491: shrext_cmds=.dll
15492: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15493: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15494: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15495: $ECHO EXPORTS >> $output_objdir/$libname.def~
15496: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15497: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15498: emximp -o $lib $output_objdir/$libname.def'
15499: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15500: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15501: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15502: $ECHO EXPORTS >> $output_objdir/$libname.def~
15503: prefix_cmds="$SED"~
15504: if test EXPORTS = "`$SED 1q $export_symbols`"; then
15505: prefix_cmds="$prefix_cmds -e 1d";
15506: fi~
15507: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15508: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15509: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15510: emximp -o $lib $output_objdir/$libname.def'
15511: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15512: enable_shared_with_static_runtimes=yes
15513: ;;
15514:
15515: osf3*)
15516: if test yes = "$GCC"; then
15517: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15518: archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15519: else
15520: allow_undefined_flag=' -expect_unresolved \*'
15521: archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15522: fi
15523: archive_cmds_need_lc='no'
15524: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15525: hardcode_libdir_separator=:
15526: ;;
15527:
15528: osf4* | osf5*) # as osf3* with the addition of -msym flag
15529: if test yes = "$GCC"; then
15530: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15531: archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
15532: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15533: else
15534: allow_undefined_flag=' -expect_unresolved \*'
15535: archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
15536: archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15537: $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
15538:
15539: # Both c and cxx compiler support -rpath directly
15540: hardcode_libdir_flag_spec='-rpath $libdir'
15541: fi
15542: archive_cmds_need_lc='no'
15543: hardcode_libdir_separator=:
15544: ;;
15545:
15546: solaris*)
15547: no_undefined_flag=' -z defs'
15548: if test yes = "$GCC"; then
15549: wlarc='$wl'
15550: archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15551: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15552: $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15553: else
15554: case `$CC -V 2>&1` in
15555: *"Compilers 5.0"*)
15556: wlarc=''
15557: archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
15558: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15559: $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15560: ;;
15561: *)
15562: wlarc='$wl'
15563: archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15564: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15565: $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15566: ;;
15567: esac
15568: fi
15569: hardcode_libdir_flag_spec='-R$libdir'
15570: hardcode_shlibpath_var=no
15571: case $host_os in
15572: solaris2.[0-5] | solaris2.[0-5].*) ;;
15573: *)
15574: # The compiler driver will combine and reorder linker options,
15575: # but understands '-z linker_flag'. GCC discards it without '$wl',
15576: # but is careful enough not to reorder.
15577: # Supported since Solaris 2.6 (maybe 2.5.1?)
15578: if test yes = "$GCC"; then
15579: whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15580: else
15581: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
15582: fi
15583: ;;
15584: esac
15585: link_all_deplibs=yes
15586: ;;
15587:
15588: sunos4*)
15589: if test sequent = "$host_vendor"; then
15590: # Use $CC to link under sequent, because it throws in some extra .o
15591: # files that make .init and .fini sections work.
15592: archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15593: else
15594: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15595: fi
15596: hardcode_libdir_flag_spec='-L$libdir'
15597: hardcode_direct=yes
15598: hardcode_minus_L=yes
15599: hardcode_shlibpath_var=no
15600: ;;
15601:
15602: sysv4)
15603: case $host_vendor in
15604: sni)
15605: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15606: hardcode_direct=yes # is this really true???
15607: ;;
15608: siemens)
15609: ## LD is ld it makes a PLAMLIB
15610: ## CC just makes a GrossModule.
15611: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15612: reload_cmds='$CC -r -o $output$reload_objs'
15613: hardcode_direct=no
15614: ;;
15615: motorola)
15616: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15617: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15618: ;;
15619: esac
15620: runpath_var='LD_RUN_PATH'
15621: hardcode_shlibpath_var=no
15622: ;;
15623:
15624: sysv4.3*)
15625: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15626: hardcode_shlibpath_var=no
15627: export_dynamic_flag_spec='-Bexport'
15628: ;;
15629:
15630: sysv4*MP*)
15631: if test -d /usr/nec; then
15632: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15633: hardcode_shlibpath_var=no
15634: runpath_var=LD_RUN_PATH
15635: hardcode_runpath_var=yes
15636: ld_shlibs=yes
15637: fi
15638: ;;
15639:
15640: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15641: no_undefined_flag='$wl-z,text'
15642: archive_cmds_need_lc=no
15643: hardcode_shlibpath_var=no
15644: runpath_var='LD_RUN_PATH'
15645:
15646: if test yes = "$GCC"; then
15647: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15648: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15649: else
15650: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15651: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15652: fi
15653: ;;
15654:
15655: sysv5* | sco3.2v5* | sco5v6*)
15656: # Note: We CANNOT use -z defs as we might desire, because we do not
15657: # link with -lc, and that would cause any symbols used from libc to
15658: # always be unresolved, which means just about no library would
15659: # ever link correctly. If we're not using GNU ld we use -z text
15660: # though, which does catch some bad symbols but isn't as heavy-handed
15661: # as -z defs.
15662: no_undefined_flag='$wl-z,text'
15663: allow_undefined_flag='$wl-z,nodefs'
15664: archive_cmds_need_lc=no
15665: hardcode_shlibpath_var=no
15666: hardcode_libdir_flag_spec='$wl-R,$libdir'
15667: hardcode_libdir_separator=':'
15668: link_all_deplibs=yes
15669: export_dynamic_flag_spec='$wl-Bexport'
15670: runpath_var='LD_RUN_PATH'
15671:
15672: if test yes = "$GCC"; then
15673: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15674: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15675: else
15676: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15677: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15678: fi
15679: ;;
15680:
15681: uts4*)
15682: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15683: hardcode_libdir_flag_spec='-L$libdir'
15684: hardcode_shlibpath_var=no
15685: ;;
15686:
15687: *)
15688: ld_shlibs=no
15689: ;;
15690: esac
15691:
15692: if test sni = "$host_vendor"; then
15693: case $host in
15694: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15695: export_dynamic_flag_spec='$wl-Blargedynsym'
15696: ;;
15697: esac
15698: fi
15699: fi
15700:
15701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
15702: $as_echo "$ld_shlibs" >&6; }
15703: test no = "$ld_shlibs" && can_build_shared=no
15704:
15705: with_gnu_ld=$with_gnu_ld
15706:
15707:
15708:
15709:
15710:
15711:
15712:
15713:
15714:
15715:
15716:
15717:
15718:
15719:
15720:
15721: #
15722: # Do we need to explicitly link libc?
15723: #
15724: case "x$archive_cmds_need_lc" in
15725: x|xyes)
15726: # Assume -lc should be added
15727: archive_cmds_need_lc=yes
15728:
15729: if test yes,yes = "$GCC,$enable_shared"; then
15730: case $archive_cmds in
15731: *'~'*)
15732: # FIXME: we may have to deal with multi-command sequences.
15733: ;;
15734: '$CC '*)
15735: # Test whether the compiler implicitly links with -lc since on some
15736: # systems, -lgcc has to come before -lc. If gcc already passes -lc
15737: # to ld, don't add -lc before -lgcc.
15738: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15739: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15740: if ${lt_cv_archive_cmds_need_lc+:} false; then :
15741: $as_echo_n "(cached) " >&6
15742: else
15743: $RM conftest*
15744: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15745:
15746: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15747: (eval $ac_compile) 2>&5
15748: ac_status=$?
15749: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15750: test $ac_status = 0; } 2>conftest.err; then
15751: soname=conftest
15752: lib=conftest
15753: libobjs=conftest.$ac_objext
15754: deplibs=
15755: wl=$lt_prog_compiler_wl
15756: pic_flag=$lt_prog_compiler_pic
15757: compiler_flags=-v
15758: linker_flags=-v
15759: verstring=
15760: output_objdir=.
15761: libname=conftest
15762: lt_save_allow_undefined_flag=$allow_undefined_flag
15763: allow_undefined_flag=
15764: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15765: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15766: ac_status=$?
15767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15768: test $ac_status = 0; }
15769: then
15770: lt_cv_archive_cmds_need_lc=no
15771: else
15772: lt_cv_archive_cmds_need_lc=yes
15773: fi
15774: allow_undefined_flag=$lt_save_allow_undefined_flag
15775: else
15776: cat conftest.err 1>&5
15777: fi
15778: $RM conftest*
15779:
15780: fi
15781: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15782: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
15783: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
15784: ;;
15785: esac
15786: fi
15787: ;;
15788: esac
15789:
15790:
15791:
15792:
15793:
15794:
15795:
15796:
15797:
15798:
15799:
15800:
15801:
15802:
15803:
15804:
15805:
15806:
15807:
15808:
15809:
15810:
15811:
15812:
15813:
15814:
15815:
15816:
15817:
15818:
15819:
15820:
15821:
15822:
15823:
15824:
15825:
15826:
15827:
15828:
15829:
15830:
15831:
15832:
15833:
15834:
15835:
15836:
15837:
15838:
15839:
15840:
15841:
15842:
15843:
15844:
15845:
15846:
15847:
15848:
15849:
15850:
15851:
15852:
15853:
15854:
15855:
15856:
15857:
15858:
15859:
15860:
15861:
15862:
15863:
15864:
15865:
15866:
15867:
15868:
15869:
15870:
15871:
15872:
15873:
15874:
15875:
15876:
15877:
15878:
15879:
15880:
15881:
15882:
15883:
15884:
15885:
15886:
15887:
15888:
15889:
15890:
15891:
15892:
15893:
15894:
15895:
15896:
15897:
15898:
15899:
15900:
15901:
15902:
15903:
15904:
15905:
15906:
15907:
15908:
15909:
15910:
15911:
15912:
15913:
15914:
15915:
15916:
15917:
15918:
15919:
15920:
15921:
15922:
15923:
15924:
15925:
15926:
15927:
15928:
15929:
15930:
15931:
15932:
15933:
15934:
15935:
15936:
15937:
15938:
15939:
15940:
15941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15942: $as_echo_n "checking dynamic linker characteristics... " >&6; }
15943:
15944: if test yes = "$GCC"; then
15945: case $host_os in
15946: darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
15947: *) lt_awk_arg='/^libraries:/' ;;
15948: esac
15949: case $host_os in
15950: mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15951: *) lt_sed_strip_eq='s|=/|/|g' ;;
15952: esac
15953: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
15954: case $lt_search_path_spec in
15955: *\;*)
15956: # if the path contains ";" then we assume it to be the separator
15957: # otherwise default to the standard path separator (i.e. ":") - it is
15958: # assumed that no part of a normal pathname contains ";" but that should
15959: # okay in the real world where ";" in dirpaths is itself problematic.
15960: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
15961: ;;
15962: *)
15963: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
15964: ;;
15965: esac
15966: # Ok, now we have the path, separated by spaces, we can step through it
15967: # and add multilib dir if necessary...
15968: lt_tmp_lt_search_path_spec=
15969: lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15970: # ...but if some path component already ends with the multilib dir we assume
15971: # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15972: case "$lt_multi_os_dir; $lt_search_path_spec " in
15973: "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
15974: lt_multi_os_dir=
15975: ;;
15976: esac
15977: for lt_sys_path in $lt_search_path_spec; do
15978: if test -d "$lt_sys_path$lt_multi_os_dir"; then
15979: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
15980: elif test -n "$lt_multi_os_dir"; then
15981: test -d "$lt_sys_path" && \
15982: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
15983: fi
15984: done
15985: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
15986: BEGIN {RS = " "; FS = "/|\n";} {
15987: lt_foo = "";
15988: lt_count = 0;
15989: for (lt_i = NF; lt_i > 0; lt_i--) {
15990: if ($lt_i != "" && $lt_i != ".") {
15991: if ($lt_i == "..") {
15992: lt_count++;
15993: } else {
15994: if (lt_count == 0) {
15995: lt_foo = "/" $lt_i lt_foo;
15996: } else {
15997: lt_count--;
15998: }
15999: }
16000: }
16001: }
16002: if (lt_foo != "") { lt_freq[lt_foo]++; }
16003: if (lt_freq[lt_foo] == 1) { print lt_foo; }
16004: }'`
16005: # AWK program above erroneously prepends '/' to C:/dos/paths
16006: # for these hosts.
16007: case $host_os in
16008: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
16009: $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
16010: esac
16011: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
16012: else
16013: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16014: fi
16015: library_names_spec=
16016: libname_spec='lib$name'
16017: soname_spec=
16018: shrext_cmds=.so
16019: postinstall_cmds=
16020: postuninstall_cmds=
16021: finish_cmds=
16022: finish_eval=
16023: shlibpath_var=
16024: shlibpath_overrides_runpath=unknown
16025: version_type=none
16026: dynamic_linker="$host_os ld.so"
16027: sys_lib_dlsearch_path_spec="/lib /usr/lib"
16028: need_lib_prefix=unknown
16029: hardcode_into_libs=no
16030:
16031: # when you set need_version to no, make sure it does not cause -set_version
16032: # flags to be left without arguments
16033: need_version=unknown
16034:
16035:
16036:
16037: case $host_os in
16038: aix3*)
16039: version_type=linux # correct to gnu/linux during the next big refactor
16040: library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16041: shlibpath_var=LIBPATH
16042:
16043: # AIX 3 has no versioning support, so we append a major version to the name.
16044: soname_spec='$libname$release$shared_ext$major'
16045: ;;
16046:
16047: aix[4-9]*)
16048: version_type=linux # correct to gnu/linux during the next big refactor
16049: need_lib_prefix=no
16050: need_version=no
16051: hardcode_into_libs=yes
16052: if test ia64 = "$host_cpu"; then
16053: # AIX 5 supports IA64
16054: library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16055: shlibpath_var=LD_LIBRARY_PATH
16056: else
16057: # With GCC up to 2.95.x, collect2 would create an import file
16058: # for dependence libraries. The import file would start with
16059: # the line '#! .'. This would cause the generated library to
16060: # depend on '.', always an invalid library. This was fixed in
16061: # development snapshots of GCC prior to 3.0.
16062: case $host_os in
16063: aix4 | aix4.[01] | aix4.[01].*)
16064: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16065: echo ' yes '
16066: echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16067: :
16068: else
16069: can_build_shared=no
16070: fi
16071: ;;
16072: esac
16073: # Using Import Files as archive members, it is possible to support
16074: # filename-based versioning of shared library archives on AIX. While
16075: # this would work for both with and without runtime linking, it will
16076: # prevent static linking of such archives. So we do filename-based
16077: # shared library versioning with .so extension only, which is used
16078: # when both runtime linking and shared linking is enabled.
16079: # Unfortunately, runtime linking may impact performance, so we do
16080: # not want this to be the default eventually. Also, we use the
16081: # versioned .so libs for executables only if there is the -brtl
16082: # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16083: # To allow for filename-based versioning support, we need to create
16084: # libNAME.so.V as an archive file, containing:
16085: # *) an Import File, referring to the versioned filename of the
16086: # archive as well as the shared archive member, telling the
16087: # bitwidth (32 or 64) of that shared object, and providing the
16088: # list of exported symbols of that shared object, eventually
16089: # decorated with the 'weak' keyword
16090: # *) the shared object with the F_LOADONLY flag set, to really avoid
16091: # it being seen by the linker.
16092: # At run time we better use the real file rather than another symlink,
16093: # but for link time we create the symlink libNAME.so -> libNAME.so.V
16094:
16095: case $with_aix_soname,$aix_use_runtimelinking in
16096: # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16097: # soname into executable. Probably we can add versioning support to
16098: # collect2, so additional links can be useful in future.
16099: aix,yes) # traditional libtool
16100: dynamic_linker='AIX unversionable lib.so'
16101: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16102: # instead of lib<name>.a to let people know that these are not
16103: # typical AIX shared libraries.
16104: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16105: ;;
16106: aix,no) # traditional AIX only
16107: dynamic_linker='AIX lib.a(lib.so.V)'
16108: # We preserve .a as extension for shared libraries through AIX4.2
16109: # and later when we are not doing run time linking.
16110: library_names_spec='$libname$release.a $libname.a'
16111: soname_spec='$libname$release$shared_ext$major'
16112: ;;
16113: svr4,*) # full svr4 only
16114: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16115: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16116: # We do not specify a path in Import Files, so LIBPATH fires.
16117: shlibpath_overrides_runpath=yes
16118: ;;
16119: *,yes) # both, prefer svr4
16120: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16121: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16122: # unpreferred sharedlib libNAME.a needs extra handling
16123: postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16124: postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16125: # We do not specify a path in Import Files, so LIBPATH fires.
16126: shlibpath_overrides_runpath=yes
16127: ;;
16128: *,no) # both, prefer aix
16129: dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16130: library_names_spec='$libname$release.a $libname.a'
16131: soname_spec='$libname$release$shared_ext$major'
16132: # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16133: postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16134: postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16135: ;;
16136: esac
16137: shlibpath_var=LIBPATH
16138: fi
16139: ;;
16140:
16141: amigaos*)
16142: case $host_cpu in
16143: powerpc)
16144: # Since July 2007 AmigaOS4 officially supports .so libraries.
16145: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16146: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16147: ;;
16148: m68k)
16149: library_names_spec='$libname.ixlibrary $libname.a'
16150: # Create ${libname}_ixlibrary.a entries in /sys/libs.
16151: finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16152: ;;
16153: esac
16154: ;;
16155:
16156: beos*)
16157: library_names_spec='$libname$shared_ext'
16158: dynamic_linker="$host_os ld.so"
16159: shlibpath_var=LIBRARY_PATH
16160: ;;
16161:
16162: bsdi[45]*)
16163: version_type=linux # correct to gnu/linux during the next big refactor
16164: need_version=no
16165: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16166: soname_spec='$libname$release$shared_ext$major'
16167: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16168: shlibpath_var=LD_LIBRARY_PATH
16169: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16170: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16171: # the default ld.so.conf also contains /usr/contrib/lib and
16172: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16173: # libtool to hard-code these into programs
16174: ;;
16175:
16176: cygwin* | mingw* | pw32* | cegcc*)
16177: version_type=windows
16178: shrext_cmds=.dll
16179: need_version=no
16180: need_lib_prefix=no
16181:
16182: case $GCC,$cc_basename in
16183: yes,*)
16184: # gcc
16185: library_names_spec='$libname.dll.a'
16186: # DLL is installed to $(libdir)/../bin by postinstall_cmds
16187: postinstall_cmds='base_file=`basename \$file`~
16188: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16189: dldir=$destdir/`dirname \$dlpath`~
16190: test -d \$dldir || mkdir -p \$dldir~
16191: $install_prog $dir/$dlname \$dldir/$dlname~
16192: chmod a+x \$dldir/$dlname~
16193: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16194: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16195: fi'
16196: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16197: dlpath=$dir/\$dldll~
16198: $RM \$dlpath'
16199: shlibpath_overrides_runpath=yes
16200:
16201: case $host_os in
16202: cygwin*)
16203: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16204: soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16205:
16206: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
16207: ;;
16208: mingw* | cegcc*)
16209: # MinGW DLLs use traditional 'lib' prefix
16210: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16211: ;;
16212: pw32*)
16213: # pw32 DLLs use 'pw' prefix rather than 'lib'
16214: library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16215: ;;
16216: esac
16217: dynamic_linker='Win32 ld.exe'
16218: ;;
16219:
16220: *,cl*)
16221: # Native MSVC
16222: libname_spec='$name'
16223: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16224: library_names_spec='$libname.dll.lib'
16225:
16226: case $build_os in
16227: mingw*)
16228: sys_lib_search_path_spec=
16229: lt_save_ifs=$IFS
16230: IFS=';'
16231: for lt_path in $LIB
16232: do
16233: IFS=$lt_save_ifs
16234: # Let DOS variable expansion print the short 8.3 style file name.
16235: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16236: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16237: done
16238: IFS=$lt_save_ifs
16239: # Convert to MSYS style.
16240: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16241: ;;
16242: cygwin*)
16243: # Convert to unix form, then to dos form, then back to unix form
16244: # but this time dos style (no spaces!) so that the unix form looks
16245: # like /cygdrive/c/PROGRA~1:/cygdr...
16246: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16247: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16248: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16249: ;;
16250: *)
16251: sys_lib_search_path_spec=$LIB
16252: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16253: # It is most probably a Windows format PATH.
16254: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16255: else
16256: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16257: fi
16258: # FIXME: find the short name or the path components, as spaces are
16259: # common. (e.g. "Program Files" -> "PROGRA~1")
16260: ;;
16261: esac
16262:
16263: # DLL is installed to $(libdir)/../bin by postinstall_cmds
16264: postinstall_cmds='base_file=`basename \$file`~
16265: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16266: dldir=$destdir/`dirname \$dlpath`~
16267: test -d \$dldir || mkdir -p \$dldir~
16268: $install_prog $dir/$dlname \$dldir/$dlname'
16269: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16270: dlpath=$dir/\$dldll~
16271: $RM \$dlpath'
16272: shlibpath_overrides_runpath=yes
16273: dynamic_linker='Win32 link.exe'
16274: ;;
16275:
16276: *)
16277: # Assume MSVC wrapper
16278: library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16279: dynamic_linker='Win32 ld.exe'
16280: ;;
16281: esac
16282: # FIXME: first we should search . and the directory the executable is in
16283: shlibpath_var=PATH
16284: ;;
16285:
16286: darwin* | rhapsody*)
16287: dynamic_linker="$host_os dyld"
16288: version_type=darwin
16289: need_lib_prefix=no
16290: need_version=no
16291: library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16292: soname_spec='$libname$release$major$shared_ext'
16293: shlibpath_overrides_runpath=yes
16294: shlibpath_var=DYLD_LIBRARY_PATH
16295: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16296:
16297: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
16298: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16299: ;;
16300:
16301: dgux*)
16302: version_type=linux # correct to gnu/linux during the next big refactor
16303: need_lib_prefix=no
16304: need_version=no
16305: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16306: soname_spec='$libname$release$shared_ext$major'
16307: shlibpath_var=LD_LIBRARY_PATH
16308: ;;
16309:
16310: freebsd* | dragonfly*)
16311: # DragonFly does not have aout. When/if they implement a new
16312: # versioning mechanism, adjust this.
16313: if test -x /usr/bin/objformat; then
16314: objformat=`/usr/bin/objformat`
16315: else
16316: case $host_os in
16317: freebsd[23].*) objformat=aout ;;
16318: *) objformat=elf ;;
16319: esac
16320: fi
16321: version_type=freebsd-$objformat
16322: case $version_type in
16323: freebsd-elf*)
16324: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16325: soname_spec='$libname$release$shared_ext$major'
16326: need_version=no
16327: need_lib_prefix=no
16328: ;;
16329: freebsd-*)
16330: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16331: need_version=yes
16332: ;;
16333: esac
16334: shlibpath_var=LD_LIBRARY_PATH
16335: case $host_os in
16336: freebsd2.*)
16337: shlibpath_overrides_runpath=yes
16338: ;;
16339: freebsd3.[01]* | freebsdelf3.[01]*)
16340: shlibpath_overrides_runpath=yes
16341: hardcode_into_libs=yes
16342: ;;
16343: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16344: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16345: shlibpath_overrides_runpath=no
16346: hardcode_into_libs=yes
16347: ;;
16348: *) # from 4.6 on, and DragonFly
16349: shlibpath_overrides_runpath=yes
16350: hardcode_into_libs=yes
16351: ;;
16352: esac
16353: ;;
16354:
16355: haiku*)
16356: version_type=linux # correct to gnu/linux during the next big refactor
16357: need_lib_prefix=no
16358: need_version=no
16359: dynamic_linker="$host_os runtime_loader"
16360: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16361: soname_spec='$libname$release$shared_ext$major'
16362: shlibpath_var=LIBRARY_PATH
16363: shlibpath_overrides_runpath=no
16364: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16365: hardcode_into_libs=yes
16366: ;;
16367:
16368: hpux9* | hpux10* | hpux11*)
16369: # Give a soname corresponding to the major version so that dld.sl refuses to
16370: # link against other versions.
16371: version_type=sunos
16372: need_lib_prefix=no
16373: need_version=no
16374: case $host_cpu in
16375: ia64*)
16376: shrext_cmds='.so'
16377: hardcode_into_libs=yes
16378: dynamic_linker="$host_os dld.so"
16379: shlibpath_var=LD_LIBRARY_PATH
16380: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16381: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16382: soname_spec='$libname$release$shared_ext$major'
16383: if test 32 = "$HPUX_IA64_MODE"; then
16384: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16385: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16386: else
16387: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16388: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16389: fi
16390: ;;
16391: hppa*64*)
16392: shrext_cmds='.sl'
16393: hardcode_into_libs=yes
16394: dynamic_linker="$host_os dld.sl"
16395: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16396: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16397: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16398: soname_spec='$libname$release$shared_ext$major'
16399: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16400: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16401: ;;
16402: *)
16403: shrext_cmds='.sl'
16404: dynamic_linker="$host_os dld.sl"
16405: shlibpath_var=SHLIB_PATH
16406: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16407: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16408: soname_spec='$libname$release$shared_ext$major'
16409: ;;
16410: esac
16411: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16412: postinstall_cmds='chmod 555 $lib'
16413: # or fails outright, so override atomically:
16414: install_override_mode=555
16415: ;;
16416:
16417: interix[3-9]*)
16418: version_type=linux # correct to gnu/linux during the next big refactor
16419: need_lib_prefix=no
16420: need_version=no
16421: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16422: soname_spec='$libname$release$shared_ext$major'
16423: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16424: shlibpath_var=LD_LIBRARY_PATH
16425: shlibpath_overrides_runpath=no
16426: hardcode_into_libs=yes
16427: ;;
16428:
16429: irix5* | irix6* | nonstopux*)
16430: case $host_os in
16431: nonstopux*) version_type=nonstopux ;;
16432: *)
16433: if test yes = "$lt_cv_prog_gnu_ld"; then
16434: version_type=linux # correct to gnu/linux during the next big refactor
16435: else
16436: version_type=irix
16437: fi ;;
16438: esac
16439: need_lib_prefix=no
16440: need_version=no
16441: soname_spec='$libname$release$shared_ext$major'
16442: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16443: case $host_os in
16444: irix5* | nonstopux*)
16445: libsuff= shlibsuff=
16446: ;;
16447: *)
16448: case $LD in # libtool.m4 will add one of these switches to LD
16449: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16450: libsuff= shlibsuff= libmagic=32-bit;;
16451: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16452: libsuff=32 shlibsuff=N32 libmagic=N32;;
16453: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16454: libsuff=64 shlibsuff=64 libmagic=64-bit;;
16455: *) libsuff= shlibsuff= libmagic=never-match;;
16456: esac
16457: ;;
16458: esac
16459: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16460: shlibpath_overrides_runpath=no
16461: sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16462: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16463: hardcode_into_libs=yes
16464: ;;
16465:
16466: # No shared lib support for Linux oldld, aout, or coff.
16467: linux*oldld* | linux*aout* | linux*coff*)
16468: dynamic_linker=no
16469: ;;
16470:
16471: linux*android*)
16472: version_type=none # Android doesn't support versioned libraries.
16473: need_lib_prefix=no
16474: need_version=no
16475: library_names_spec='$libname$release$shared_ext'
16476: soname_spec='$libname$release$shared_ext'
16477: finish_cmds=
16478: shlibpath_var=LD_LIBRARY_PATH
16479: shlibpath_overrides_runpath=yes
16480:
16481: # This implies no fast_install, which is unacceptable.
16482: # Some rework will be needed to allow for fast_install
16483: # before this can be enabled.
16484: hardcode_into_libs=yes
16485:
16486: dynamic_linker='Android linker'
16487: # Don't embed -rpath directories since the linker doesn't support them.
16488: hardcode_libdir_flag_spec='-L$libdir'
16489: ;;
16490:
16491: # This must be glibc/ELF.
16492: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16493: version_type=linux # correct to gnu/linux during the next big refactor
16494: need_lib_prefix=no
16495: need_version=no
16496: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16497: soname_spec='$libname$release$shared_ext$major'
16498: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16499: shlibpath_var=LD_LIBRARY_PATH
16500: shlibpath_overrides_runpath=no
16501:
16502: # Some binutils ld are patched to set DT_RUNPATH
16503: if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16504: $as_echo_n "(cached) " >&6
16505: else
16506: lt_cv_shlibpath_overrides_runpath=no
16507: save_LDFLAGS=$LDFLAGS
16508: save_libdir=$libdir
16509: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
16510: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
16511: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512: /* end confdefs.h. */
16513:
16514: int
16515: main ()
16516: {
16517:
16518: ;
16519: return 0;
16520: }
16521: _ACEOF
16522: if ac_fn_c_try_link "$LINENO"; then :
16523: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16524: lt_cv_shlibpath_overrides_runpath=yes
16525: fi
16526: fi
16527: rm -f core conftest.err conftest.$ac_objext \
16528: conftest$ac_exeext conftest.$ac_ext
16529: LDFLAGS=$save_LDFLAGS
16530: libdir=$save_libdir
16531:
16532: fi
16533:
16534: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16535:
16536: # This implies no fast_install, which is unacceptable.
16537: # Some rework will be needed to allow for fast_install
16538: # before this can be enabled.
16539: hardcode_into_libs=yes
16540:
16541: # Ideally, we could use ldconfig to report *all* directores which are
16542: # searched for libraries, however this is still not possible. Aside from not
16543: # being certain /sbin/ldconfig is available, command
16544: # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16545: # even though it is searched at run-time. Try to do the best guess by
16546: # appending ld.so.conf contents (and includes) to the search path.
16547: if test -f /etc/ld.so.conf; then
16548: lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
16549: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16550: fi
16551:
16552: # We used to test for /lib/ld.so.1 and disable shared libraries on
16553: # powerpc, because MkLinux only supported shared libraries with the
16554: # GNU dynamic linker. Since this was broken with cross compilers,
16555: # most powerpc-linux boxes support dynamic linking these days and
16556: # people can always --disable-shared, the test was removed, and we
16557: # assume the GNU/Linux dynamic linker is in use.
16558: dynamic_linker='GNU/Linux ld.so'
16559: ;;
16560:
16561: netbsdelf*-gnu)
16562: version_type=linux
16563: need_lib_prefix=no
16564: need_version=no
16565: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16566: soname_spec='${libname}${release}${shared_ext}$major'
16567: shlibpath_var=LD_LIBRARY_PATH
16568: shlibpath_overrides_runpath=no
16569: hardcode_into_libs=yes
16570: dynamic_linker='NetBSD ld.elf_so'
16571: ;;
16572:
16573: netbsd*)
16574: version_type=sunos
16575: need_lib_prefix=no
16576: need_version=no
16577: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16578: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16579: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16580: dynamic_linker='NetBSD (a.out) ld.so'
16581: else
16582: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16583: soname_spec='$libname$release$shared_ext$major'
16584: dynamic_linker='NetBSD ld.elf_so'
16585: fi
16586: shlibpath_var=LD_LIBRARY_PATH
16587: shlibpath_overrides_runpath=yes
16588: hardcode_into_libs=yes
16589: ;;
16590:
16591: newsos6)
16592: version_type=linux # correct to gnu/linux during the next big refactor
16593: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16594: shlibpath_var=LD_LIBRARY_PATH
16595: shlibpath_overrides_runpath=yes
16596: ;;
16597:
16598: *nto* | *qnx*)
16599: version_type=qnx
16600: need_lib_prefix=no
16601: need_version=no
16602: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16603: soname_spec='$libname$release$shared_ext$major'
16604: shlibpath_var=LD_LIBRARY_PATH
16605: shlibpath_overrides_runpath=no
16606: hardcode_into_libs=yes
16607: dynamic_linker='ldqnx.so'
16608: ;;
16609:
16610: openbsd* | bitrig*)
16611: version_type=sunos
16612: sys_lib_dlsearch_path_spec=/usr/lib
16613: need_lib_prefix=no
16614: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16615: need_version=no
16616: else
16617: need_version=yes
16618: fi
16619: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16620: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16621: shlibpath_var=LD_LIBRARY_PATH
16622: shlibpath_overrides_runpath=yes
16623: ;;
16624:
16625: os2*)
16626: libname_spec='$name'
16627: version_type=windows
16628: shrext_cmds=.dll
16629: need_version=no
16630: need_lib_prefix=no
16631: # OS/2 can only load a DLL with a base name of 8 characters or less.
16632: soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16633: v=$($ECHO $release$versuffix | tr -d .-);
16634: n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16635: $ECHO $n$v`$shared_ext'
16636: library_names_spec='${libname}_dll.$libext'
16637: dynamic_linker='OS/2 ld.exe'
16638: shlibpath_var=BEGINLIBPATH
16639: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16640: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16641: postinstall_cmds='base_file=`basename \$file`~
16642: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16643: dldir=$destdir/`dirname \$dlpath`~
16644: test -d \$dldir || mkdir -p \$dldir~
16645: $install_prog $dir/$dlname \$dldir/$dlname~
16646: chmod a+x \$dldir/$dlname~
16647: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16648: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16649: fi'
16650: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16651: dlpath=$dir/\$dldll~
16652: $RM \$dlpath'
16653: ;;
16654:
16655: osf3* | osf4* | osf5*)
16656: version_type=osf
16657: need_lib_prefix=no
16658: need_version=no
16659: soname_spec='$libname$release$shared_ext$major'
16660: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16661: shlibpath_var=LD_LIBRARY_PATH
16662: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16663: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16664: ;;
16665:
16666: rdos*)
16667: dynamic_linker=no
16668: ;;
16669:
16670: solaris*)
16671: version_type=linux # correct to gnu/linux during the next big refactor
16672: need_lib_prefix=no
16673: need_version=no
16674: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16675: soname_spec='$libname$release$shared_ext$major'
16676: shlibpath_var=LD_LIBRARY_PATH
16677: shlibpath_overrides_runpath=yes
16678: hardcode_into_libs=yes
16679: # ldd complains unless libraries are executable
16680: postinstall_cmds='chmod +x $lib'
16681: ;;
16682:
16683: sunos4*)
16684: version_type=sunos
16685: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16686: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16687: shlibpath_var=LD_LIBRARY_PATH
16688: shlibpath_overrides_runpath=yes
16689: if test yes = "$with_gnu_ld"; then
16690: need_lib_prefix=no
16691: fi
16692: need_version=yes
16693: ;;
16694:
16695: sysv4 | sysv4.3*)
16696: version_type=linux # correct to gnu/linux during the next big refactor
16697: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16698: soname_spec='$libname$release$shared_ext$major'
16699: shlibpath_var=LD_LIBRARY_PATH
16700: case $host_vendor in
16701: sni)
16702: shlibpath_overrides_runpath=no
16703: need_lib_prefix=no
16704: runpath_var=LD_RUN_PATH
16705: ;;
16706: siemens)
16707: need_lib_prefix=no
16708: ;;
16709: motorola)
16710: need_lib_prefix=no
16711: need_version=no
16712: shlibpath_overrides_runpath=no
16713: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16714: ;;
16715: esac
16716: ;;
16717:
16718: sysv4*MP*)
16719: if test -d /usr/nec; then
16720: version_type=linux # correct to gnu/linux during the next big refactor
16721: library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16722: soname_spec='$libname$shared_ext.$major'
16723: shlibpath_var=LD_LIBRARY_PATH
16724: fi
16725: ;;
16726:
16727: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16728: version_type=sco
16729: need_lib_prefix=no
16730: need_version=no
16731: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16732: soname_spec='$libname$release$shared_ext$major'
16733: shlibpath_var=LD_LIBRARY_PATH
16734: shlibpath_overrides_runpath=yes
16735: hardcode_into_libs=yes
16736: if test yes = "$with_gnu_ld"; then
16737: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16738: else
16739: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16740: case $host_os in
16741: sco3.2v5*)
16742: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16743: ;;
16744: esac
16745: fi
16746: sys_lib_dlsearch_path_spec='/usr/lib'
16747: ;;
16748:
16749: tpf*)
16750: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16751: version_type=linux # correct to gnu/linux during the next big refactor
16752: need_lib_prefix=no
16753: need_version=no
16754: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16755: shlibpath_var=LD_LIBRARY_PATH
16756: shlibpath_overrides_runpath=no
16757: hardcode_into_libs=yes
16758: ;;
16759:
16760: uts4*)
16761: version_type=linux # correct to gnu/linux during the next big refactor
16762: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16763: soname_spec='$libname$release$shared_ext$major'
16764: shlibpath_var=LD_LIBRARY_PATH
16765: ;;
16766:
16767: *)
16768: dynamic_linker=no
16769: ;;
16770: esac
16771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16772: $as_echo "$dynamic_linker" >&6; }
16773: test no = "$dynamic_linker" && can_build_shared=no
16774:
16775: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16776: if test yes = "$GCC"; then
16777: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16778: fi
16779:
16780: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16781: sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16782: fi
16783:
16784: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16785: sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16786: fi
16787:
16788: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16789: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16790:
16791: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16792: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16793:
16794: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16795: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
16796:
16797:
16798:
16799:
16800:
16801:
16802:
16803:
16804:
16805:
16806:
16807:
16808:
16809:
16810:
16811:
16812:
16813:
16814:
16815:
16816:
16817:
16818:
16819:
16820:
16821:
16822:
16823:
16824:
16825:
16826:
16827:
16828:
16829:
16830:
16831:
16832:
16833:
16834:
16835:
16836:
16837:
16838:
16839:
16840:
16841:
16842:
16843:
16844:
16845:
16846:
16847:
16848:
16849:
16850:
16851:
16852:
16853:
16854:
16855:
16856:
16857:
16858:
16859:
16860:
16861:
16862:
16863:
16864:
16865:
16866:
16867:
16868:
16869:
16870:
16871:
16872:
16873:
16874:
16875:
16876:
16877:
16878:
16879:
16880:
16881:
16882:
16883:
16884:
16885:
16886:
16887:
16888:
16889:
16890:
16891:
16892:
16893: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16894: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16895: hardcode_action=
16896: if test -n "$hardcode_libdir_flag_spec" ||
16897: test -n "$runpath_var" ||
16898: test yes = "$hardcode_automatic"; then
16899:
16900: # We can hardcode non-existent directories.
16901: if test no != "$hardcode_direct" &&
16902: # If the only mechanism to avoid hardcoding is shlibpath_var, we
16903: # have to relink, otherwise we might link with an installed library
16904: # when we should be linking with a yet-to-be-installed one
16905: ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16906: test no != "$hardcode_minus_L"; then
16907: # Linking always hardcodes the temporary library directory.
16908: hardcode_action=relink
16909: else
16910: # We can link without hardcoding, and we can hardcode nonexisting dirs.
16911: hardcode_action=immediate
16912: fi
16913: else
16914: # We cannot hardcode anything, or else we can only hardcode existing
16915: # directories.
16916: hardcode_action=unsupported
16917: fi
16918: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16919: $as_echo "$hardcode_action" >&6; }
16920:
16921: if test relink = "$hardcode_action" ||
16922: test yes = "$inherit_rpath"; then
16923: # Fast installation is not supported
16924: enable_fast_install=no
16925: elif test yes = "$shlibpath_overrides_runpath" ||
16926: test no = "$enable_shared"; then
16927: # Fast installation is not necessary
16928: enable_fast_install=needless
16929: fi
16930:
16931:
16932:
16933:
16934:
16935:
16936: if test yes != "$enable_dlopen"; then
16937: enable_dlopen=unknown
16938: enable_dlopen_self=unknown
16939: enable_dlopen_self_static=unknown
16940: else
16941: lt_cv_dlopen=no
16942: lt_cv_dlopen_libs=
16943:
16944: case $host_os in
16945: beos*)
16946: lt_cv_dlopen=load_add_on
16947: lt_cv_dlopen_libs=
16948: lt_cv_dlopen_self=yes
16949: ;;
16950:
16951: mingw* | pw32* | cegcc*)
16952: lt_cv_dlopen=LoadLibrary
16953: lt_cv_dlopen_libs=
16954: ;;
16955:
16956: cygwin*)
16957: lt_cv_dlopen=dlopen
16958: lt_cv_dlopen_libs=
16959: ;;
16960:
16961: darwin*)
16962: # if libdl is installed we need to link against it
16963: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16964: $as_echo_n "checking for dlopen in -ldl... " >&6; }
16965: if ${ac_cv_lib_dl_dlopen+:} false; then :
16966: $as_echo_n "(cached) " >&6
16967: else
16968: ac_check_lib_save_LIBS=$LIBS
16969: LIBS="-ldl $LIBS"
16970: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16971: /* end confdefs.h. */
16972:
16973: /* Override any GCC internal prototype to avoid an error.
16974: Use char because int might match the return type of a GCC
16975: builtin and then its argument prototype would still apply. */
16976: #ifdef __cplusplus
16977: extern "C"
16978: #endif
16979: char dlopen ();
16980: int
16981: main ()
16982: {
16983: return dlopen ();
16984: ;
16985: return 0;
16986: }
16987: _ACEOF
16988: if ac_fn_c_try_link "$LINENO"; then :
16989: ac_cv_lib_dl_dlopen=yes
16990: else
16991: ac_cv_lib_dl_dlopen=no
16992: fi
16993: rm -f core conftest.err conftest.$ac_objext \
16994: conftest$ac_exeext conftest.$ac_ext
16995: LIBS=$ac_check_lib_save_LIBS
16996: fi
16997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16998: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16999: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17000: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
17001: else
17002:
17003: lt_cv_dlopen=dyld
17004: lt_cv_dlopen_libs=
17005: lt_cv_dlopen_self=yes
17006:
17007: fi
17008:
17009: ;;
17010:
17011: tpf*)
17012: # Don't try to run any link tests for TPF. We know it's impossible
17013: # because TPF is a cross-compiler, and we know how we open DSOs.
17014: lt_cv_dlopen=dlopen
17015: lt_cv_dlopen_libs=
17016: lt_cv_dlopen_self=no
17017: ;;
17018:
17019: *)
17020: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
17021: if test "x$ac_cv_func_shl_load" = xyes; then :
17022: lt_cv_dlopen=shl_load
17023: else
17024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
17025: $as_echo_n "checking for shl_load in -ldld... " >&6; }
17026: if ${ac_cv_lib_dld_shl_load+:} false; then :
17027: $as_echo_n "(cached) " >&6
17028: else
17029: ac_check_lib_save_LIBS=$LIBS
17030: LIBS="-ldld $LIBS"
17031: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032: /* end confdefs.h. */
17033:
17034: /* Override any GCC internal prototype to avoid an error.
17035: Use char because int might match the return type of a GCC
17036: builtin and then its argument prototype would still apply. */
17037: #ifdef __cplusplus
17038: extern "C"
17039: #endif
17040: char shl_load ();
17041: int
17042: main ()
17043: {
17044: return shl_load ();
17045: ;
17046: return 0;
17047: }
17048: _ACEOF
17049: if ac_fn_c_try_link "$LINENO"; then :
17050: ac_cv_lib_dld_shl_load=yes
17051: else
17052: ac_cv_lib_dld_shl_load=no
17053: fi
17054: rm -f core conftest.err conftest.$ac_objext \
17055: conftest$ac_exeext conftest.$ac_ext
17056: LIBS=$ac_check_lib_save_LIBS
17057: fi
17058: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
17059: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
17060: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
17061: lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
17062: else
17063: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
17064: if test "x$ac_cv_func_dlopen" = xyes; then :
17065: lt_cv_dlopen=dlopen
17066: else
17067: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17068: $as_echo_n "checking for dlopen in -ldl... " >&6; }
17069: if ${ac_cv_lib_dl_dlopen+:} false; then :
17070: $as_echo_n "(cached) " >&6
17071: else
17072: ac_check_lib_save_LIBS=$LIBS
17073: LIBS="-ldl $LIBS"
17074: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075: /* end confdefs.h. */
17076:
17077: /* Override any GCC internal prototype to avoid an error.
17078: Use char because int might match the return type of a GCC
17079: builtin and then its argument prototype would still apply. */
17080: #ifdef __cplusplus
17081: extern "C"
17082: #endif
17083: char dlopen ();
17084: int
17085: main ()
17086: {
17087: return dlopen ();
17088: ;
17089: return 0;
17090: }
17091: _ACEOF
17092: if ac_fn_c_try_link "$LINENO"; then :
17093: ac_cv_lib_dl_dlopen=yes
17094: else
17095: ac_cv_lib_dl_dlopen=no
17096: fi
17097: rm -f core conftest.err conftest.$ac_objext \
17098: conftest$ac_exeext conftest.$ac_ext
17099: LIBS=$ac_check_lib_save_LIBS
17100: fi
17101: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17102: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17103: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17104: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
17105: else
17106: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
17107: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
17108: if ${ac_cv_lib_svld_dlopen+:} false; then :
17109: $as_echo_n "(cached) " >&6
17110: else
17111: ac_check_lib_save_LIBS=$LIBS
17112: LIBS="-lsvld $LIBS"
17113: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114: /* end confdefs.h. */
17115:
17116: /* Override any GCC internal prototype to avoid an error.
17117: Use char because int might match the return type of a GCC
17118: builtin and then its argument prototype would still apply. */
17119: #ifdef __cplusplus
17120: extern "C"
17121: #endif
17122: char dlopen ();
17123: int
17124: main ()
17125: {
17126: return dlopen ();
17127: ;
17128: return 0;
17129: }
17130: _ACEOF
17131: if ac_fn_c_try_link "$LINENO"; then :
17132: ac_cv_lib_svld_dlopen=yes
17133: else
17134: ac_cv_lib_svld_dlopen=no
17135: fi
17136: rm -f core conftest.err conftest.$ac_objext \
17137: conftest$ac_exeext conftest.$ac_ext
17138: LIBS=$ac_check_lib_save_LIBS
17139: fi
17140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
17141: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
17142: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
17143: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
17144: else
17145: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
17146: $as_echo_n "checking for dld_link in -ldld... " >&6; }
17147: if ${ac_cv_lib_dld_dld_link+:} false; then :
17148: $as_echo_n "(cached) " >&6
17149: else
17150: ac_check_lib_save_LIBS=$LIBS
17151: LIBS="-ldld $LIBS"
17152: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17153: /* end confdefs.h. */
17154:
17155: /* Override any GCC internal prototype to avoid an error.
17156: Use char because int might match the return type of a GCC
17157: builtin and then its argument prototype would still apply. */
17158: #ifdef __cplusplus
17159: extern "C"
17160: #endif
17161: char dld_link ();
17162: int
17163: main ()
17164: {
17165: return dld_link ();
17166: ;
17167: return 0;
17168: }
17169: _ACEOF
17170: if ac_fn_c_try_link "$LINENO"; then :
17171: ac_cv_lib_dld_dld_link=yes
17172: else
17173: ac_cv_lib_dld_dld_link=no
17174: fi
17175: rm -f core conftest.err conftest.$ac_objext \
17176: conftest$ac_exeext conftest.$ac_ext
17177: LIBS=$ac_check_lib_save_LIBS
17178: fi
17179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
17180: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
17181: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
17182: lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
17183: fi
17184:
17185:
17186: fi
17187:
17188:
17189: fi
17190:
17191:
17192: fi
17193:
17194:
17195: fi
17196:
17197:
17198: fi
17199:
17200: ;;
17201: esac
17202:
17203: if test no = "$lt_cv_dlopen"; then
17204: enable_dlopen=no
17205: else
17206: enable_dlopen=yes
17207: fi
17208:
17209: case $lt_cv_dlopen in
17210: dlopen)
17211: save_CPPFLAGS=$CPPFLAGS
17212: test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17213:
17214: save_LDFLAGS=$LDFLAGS
17215: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17216:
17217: save_LIBS=$LIBS
17218: LIBS="$lt_cv_dlopen_libs $LIBS"
17219:
17220: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
17221: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
17222: if ${lt_cv_dlopen_self+:} false; then :
17223: $as_echo_n "(cached) " >&6
17224: else
17225: if test yes = "$cross_compiling"; then :
17226: lt_cv_dlopen_self=cross
17227: else
17228: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17229: lt_status=$lt_dlunknown
17230: cat > conftest.$ac_ext <<_LT_EOF
17231: #line $LINENO "configure"
17232: #include "confdefs.h"
17233:
17234: #if HAVE_DLFCN_H
17235: #include <dlfcn.h>
17236: #endif
17237:
17238: #include <stdio.h>
17239:
17240: #ifdef RTLD_GLOBAL
17241: # define LT_DLGLOBAL RTLD_GLOBAL
17242: #else
17243: # ifdef DL_GLOBAL
17244: # define LT_DLGLOBAL DL_GLOBAL
17245: # else
17246: # define LT_DLGLOBAL 0
17247: # endif
17248: #endif
17249:
17250: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17251: find out it does not work in some platform. */
17252: #ifndef LT_DLLAZY_OR_NOW
17253: # ifdef RTLD_LAZY
17254: # define LT_DLLAZY_OR_NOW RTLD_LAZY
17255: # else
17256: # ifdef DL_LAZY
17257: # define LT_DLLAZY_OR_NOW DL_LAZY
17258: # else
17259: # ifdef RTLD_NOW
17260: # define LT_DLLAZY_OR_NOW RTLD_NOW
17261: # else
17262: # ifdef DL_NOW
17263: # define LT_DLLAZY_OR_NOW DL_NOW
17264: # else
17265: # define LT_DLLAZY_OR_NOW 0
17266: # endif
17267: # endif
17268: # endif
17269: # endif
17270: #endif
17271:
17272: /* When -fvisibility=hidden is used, assume the code has been annotated
17273: correspondingly for the symbols needed. */
17274: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
17275: int fnord () __attribute__((visibility("default")));
17276: #endif
17277:
17278: int fnord () { return 42; }
17279: int main ()
17280: {
17281: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17282: int status = $lt_dlunknown;
17283:
17284: if (self)
17285: {
17286: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17287: else
17288: {
17289: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17290: else puts (dlerror ());
17291: }
17292: /* dlclose (self); */
17293: }
17294: else
17295: puts (dlerror ());
17296:
17297: return status;
17298: }
17299: _LT_EOF
17300: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17301: (eval $ac_link) 2>&5
17302: ac_status=$?
17303: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17304: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
17305: (./conftest; exit; ) >&5 2>/dev/null
17306: lt_status=$?
17307: case x$lt_status in
17308: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17309: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17310: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17311: esac
17312: else :
17313: # compilation failed
17314: lt_cv_dlopen_self=no
17315: fi
17316: fi
17317: rm -fr conftest*
17318:
17319:
17320: fi
17321: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
17322: $as_echo "$lt_cv_dlopen_self" >&6; }
17323:
17324: if test yes = "$lt_cv_dlopen_self"; then
17325: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
17327: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
17328: if ${lt_cv_dlopen_self_static+:} false; then :
17329: $as_echo_n "(cached) " >&6
17330: else
17331: if test yes = "$cross_compiling"; then :
17332: lt_cv_dlopen_self_static=cross
17333: else
17334: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17335: lt_status=$lt_dlunknown
17336: cat > conftest.$ac_ext <<_LT_EOF
17337: #line $LINENO "configure"
17338: #include "confdefs.h"
17339:
17340: #if HAVE_DLFCN_H
17341: #include <dlfcn.h>
17342: #endif
17343:
17344: #include <stdio.h>
17345:
17346: #ifdef RTLD_GLOBAL
17347: # define LT_DLGLOBAL RTLD_GLOBAL
17348: #else
17349: # ifdef DL_GLOBAL
17350: # define LT_DLGLOBAL DL_GLOBAL
17351: # else
17352: # define LT_DLGLOBAL 0
17353: # endif
17354: #endif
17355:
17356: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17357: find out it does not work in some platform. */
17358: #ifndef LT_DLLAZY_OR_NOW
17359: # ifdef RTLD_LAZY
17360: # define LT_DLLAZY_OR_NOW RTLD_LAZY
17361: # else
17362: # ifdef DL_LAZY
17363: # define LT_DLLAZY_OR_NOW DL_LAZY
17364: # else
17365: # ifdef RTLD_NOW
17366: # define LT_DLLAZY_OR_NOW RTLD_NOW
17367: # else
17368: # ifdef DL_NOW
17369: # define LT_DLLAZY_OR_NOW DL_NOW
17370: # else
17371: # define LT_DLLAZY_OR_NOW 0
17372: # endif
17373: # endif
17374: # endif
17375: # endif
17376: #endif
17377:
17378: /* When -fvisibility=hidden is used, assume the code has been annotated
17379: correspondingly for the symbols needed. */
17380: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
17381: int fnord () __attribute__((visibility("default")));
17382: #endif
17383:
17384: int fnord () { return 42; }
17385: int main ()
17386: {
17387: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17388: int status = $lt_dlunknown;
17389:
17390: if (self)
17391: {
17392: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17393: else
17394: {
17395: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17396: else puts (dlerror ());
17397: }
17398: /* dlclose (self); */
17399: }
17400: else
17401: puts (dlerror ());
17402:
17403: return status;
17404: }
17405: _LT_EOF
17406: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17407: (eval $ac_link) 2>&5
17408: ac_status=$?
17409: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17410: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
17411: (./conftest; exit; ) >&5 2>/dev/null
17412: lt_status=$?
17413: case x$lt_status in
17414: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17415: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17416: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17417: esac
17418: else :
17419: # compilation failed
17420: lt_cv_dlopen_self_static=no
17421: fi
17422: fi
17423: rm -fr conftest*
17424:
17425:
17426: fi
17427: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
17428: $as_echo "$lt_cv_dlopen_self_static" >&6; }
17429: fi
17430:
17431: CPPFLAGS=$save_CPPFLAGS
17432: LDFLAGS=$save_LDFLAGS
17433: LIBS=$save_LIBS
17434: ;;
17435: esac
17436:
17437: case $lt_cv_dlopen_self in
17438: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17439: *) enable_dlopen_self=unknown ;;
17440: esac
17441:
17442: case $lt_cv_dlopen_self_static in
17443: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17444: *) enable_dlopen_self_static=unknown ;;
17445: esac
17446: fi
17447:
17448:
17449:
17450:
17451:
17452:
17453:
17454:
17455:
17456:
17457:
17458:
17459:
17460:
17461:
17462:
17463:
17464: striplib=
17465: old_striplib=
17466: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
17467: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
17468: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
17469: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17470: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17471: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17472: $as_echo "yes" >&6; }
17473: else
17474: # FIXME - insert some real tests, host_os isn't really good enough
17475: case $host_os in
17476: darwin*)
17477: if test -n "$STRIP"; then
17478: striplib="$STRIP -x"
17479: old_striplib="$STRIP -S"
17480: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17481: $as_echo "yes" >&6; }
17482: else
17483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17484: $as_echo "no" >&6; }
17485: fi
17486: ;;
17487: *)
17488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17489: $as_echo "no" >&6; }
17490: ;;
17491: esac
17492: fi
17493:
17494:
17495:
17496:
17497:
17498:
17499:
17500:
17501:
17502:
17503:
17504:
17505: # Report what library types will actually be built
17506: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
17507: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
17508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
17509: $as_echo "$can_build_shared" >&6; }
17510:
17511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
17512: $as_echo_n "checking whether to build shared libraries... " >&6; }
17513: test no = "$can_build_shared" && enable_shared=no
17514:
17515: # On AIX, shared libraries and static libraries use the same namespace, and
17516: # are all built from PIC.
17517: case $host_os in
17518: aix3*)
17519: test yes = "$enable_shared" && enable_static=no
17520: if test -n "$RANLIB"; then
17521: archive_cmds="$archive_cmds~\$RANLIB \$lib"
17522: postinstall_cmds='$RANLIB $lib'
17523: fi
17524: ;;
17525:
17526: aix[4-9]*)
17527: if test ia64 != "$host_cpu"; then
17528: case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
17529: yes,aix,yes) ;; # shared object as lib.so file only
17530: yes,svr4,*) ;; # shared object as lib.so archive member only
17531: yes,*) enable_static=no ;; # shared object in lib.a archive as well
17532: esac
17533: fi
17534: ;;
17535: esac
17536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
17537: $as_echo "$enable_shared" >&6; }
17538:
17539: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
17540: $as_echo_n "checking whether to build static libraries... " >&6; }
17541: # Make sure either enable_shared or enable_static is yes.
17542: test yes = "$enable_shared" || enable_static=yes
17543: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
17544: $as_echo "$enable_static" >&6; }
17545:
17546:
17547:
17548:
17549: fi
17550: ac_ext=c
17551: ac_cpp='$CPP $CPPFLAGS'
17552: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17555:
17556: CC=$lt_save_CC
17557:
17558:
17559:
17560:
17561:
17562:
17563:
17564:
17565:
17566:
17567:
17568:
17569:
17570:
17571:
17572: ac_config_commands="$ac_config_commands libtool"
17573:
17574:
17575:
17576:
17577: # Only expand once:
17578:
17579:
17580:
17581: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17582: $as_echo_n "checking for egrep... " >&6; }
17583: if ${ac_cv_path_EGREP+:} false; then :
17584: $as_echo_n "(cached) " >&6
17585: else
17586: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17587: then ac_cv_path_EGREP="$GREP -E"
17588: else
17589: if test -z "$EGREP"; then
17590: ac_path_EGREP_found=false
17591: # Loop through the user's path and test for each of PROGNAME-LIST
17592: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17593: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17594: do
17595: IFS=$as_save_IFS
17596: test -z "$as_dir" && as_dir=.
17597: for ac_prog in egrep; do
17598: for ac_exec_ext in '' $ac_executable_extensions; do
17599: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17600: as_fn_executable_p "$ac_path_EGREP" || continue
17601: # Check for GNU ac_path_EGREP and select it if it is found.
17602: # Check for GNU $ac_path_EGREP
17603: case `"$ac_path_EGREP" --version 2>&1` in
17604: *GNU*)
17605: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17606: *)
17607: ac_count=0
17608: $as_echo_n 0123456789 >"conftest.in"
17609: while :
17610: do
17611: cat "conftest.in" "conftest.in" >"conftest.tmp"
17612: mv "conftest.tmp" "conftest.in"
17613: cp "conftest.in" "conftest.nl"
17614: $as_echo 'EGREP' >> "conftest.nl"
17615: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17616: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17617: as_fn_arith $ac_count + 1 && ac_count=$as_val
17618: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17619: # Best one so far, save it but keep looking for a better one
17620: ac_cv_path_EGREP="$ac_path_EGREP"
17621: ac_path_EGREP_max=$ac_count
17622: fi
17623: # 10*(2^10) chars as input seems more than enough
17624: test $ac_count -gt 10 && break
17625: done
17626: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17627: esac
17628:
17629: $ac_path_EGREP_found && break 3
17630: done
17631: done
17632: done
17633: IFS=$as_save_IFS
17634: if test -z "$ac_cv_path_EGREP"; then
17635: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17636: fi
17637: else
17638: ac_cv_path_EGREP=$EGREP
17639: fi
17640:
17641: fi
17642: fi
17643: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17644: $as_echo "$ac_cv_path_EGREP" >&6; }
17645: EGREP="$ac_cv_path_EGREP"
17646:
17647:
17648: for ac_prog in gawk mawk nawk awk
17649: do
17650: # Extract the first word of "$ac_prog", so it can be a program name with args.
17651: set dummy $ac_prog; ac_word=$2
17652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17653: $as_echo_n "checking for $ac_word... " >&6; }
17654: if ${ac_cv_prog_AWK+:} false; then :
17655: $as_echo_n "(cached) " >&6
17656: else
17657: if test -n "$AWK"; then
17658: ac_cv_prog_AWK="$AWK" # Let the user override the test.
17659: else
17660: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17661: for as_dir in $PATH
17662: do
17663: IFS=$as_save_IFS
17664: test -z "$as_dir" && as_dir=.
17665: for ac_exec_ext in '' $ac_executable_extensions; do
17666: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17667: ac_cv_prog_AWK="$ac_prog"
17668: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17669: break 2
17670: fi
17671: done
17672: done
17673: IFS=$as_save_IFS
17674:
17675: fi
17676: fi
17677: AWK=$ac_cv_prog_AWK
17678: if test -n "$AWK"; then
17679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17680: $as_echo "$AWK" >&6; }
17681: else
17682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17683: $as_echo "no" >&6; }
17684: fi
17685:
17686:
17687: test -n "$AWK" && break
17688: done
17689:
17690: for ac_prog in flex lex
17691: do
17692: # Extract the first word of "$ac_prog", so it can be a program name with args.
17693: set dummy $ac_prog; ac_word=$2
17694: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17695: $as_echo_n "checking for $ac_word... " >&6; }
17696: if ${ac_cv_prog_LEX+:} false; then :
17697: $as_echo_n "(cached) " >&6
17698: else
17699: if test -n "$LEX"; then
17700: ac_cv_prog_LEX="$LEX" # Let the user override the test.
17701: else
17702: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17703: for as_dir in $PATH
17704: do
17705: IFS=$as_save_IFS
17706: test -z "$as_dir" && as_dir=.
17707: for ac_exec_ext in '' $ac_executable_extensions; do
17708: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17709: ac_cv_prog_LEX="$ac_prog"
17710: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17711: break 2
17712: fi
17713: done
17714: done
17715: IFS=$as_save_IFS
17716:
17717: fi
17718: fi
17719: LEX=$ac_cv_prog_LEX
17720: if test -n "$LEX"; then
17721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
17722: $as_echo "$LEX" >&6; }
17723: else
17724: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17725: $as_echo "no" >&6; }
17726: fi
17727:
17728:
17729: test -n "$LEX" && break
17730: done
17731: test -n "$LEX" || LEX=":"
17732:
17733: if test "x$LEX" != "x:"; then
17734: cat >conftest.l <<_ACEOF
17735: %%
17736: a { ECHO; }
17737: b { REJECT; }
17738: c { yymore (); }
17739: d { yyless (1); }
17740: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
17741: yyless ((input () != 0)); }
17742: f { unput (yytext[0]); }
17743: . { BEGIN INITIAL; }
17744: %%
17745: #ifdef YYTEXT_POINTER
17746: extern char *yytext;
17747: #endif
17748: int
17749: main (void)
17750: {
17751: return ! yylex () + ! yywrap ();
17752: }
17753: _ACEOF
17754: { { ac_try="$LEX conftest.l"
17755: case "(($ac_try" in
17756: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757: *) ac_try_echo=$ac_try;;
17758: esac
17759: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17760: $as_echo "$ac_try_echo"; } >&5
17761: (eval "$LEX conftest.l") 2>&5
17762: ac_status=$?
17763: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17764: test $ac_status = 0; }
17765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
17766: $as_echo_n "checking lex output file root... " >&6; }
17767: if ${ac_cv_prog_lex_root+:} false; then :
17768: $as_echo_n "(cached) " >&6
17769: else
17770:
17771: if test -f lex.yy.c; then
17772: ac_cv_prog_lex_root=lex.yy
17773: elif test -f lexyy.c; then
17774: ac_cv_prog_lex_root=lexyy
17775: else
17776: as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
17777: fi
17778: fi
17779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
17780: $as_echo "$ac_cv_prog_lex_root" >&6; }
17781: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
17782:
17783: if test -z "${LEXLIB+set}"; then
17784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
17785: $as_echo_n "checking lex library... " >&6; }
17786: if ${ac_cv_lib_lex+:} false; then :
17787: $as_echo_n "(cached) " >&6
17788: else
17789:
17790: ac_save_LIBS=$LIBS
17791: ac_cv_lib_lex='none needed'
17792: for ac_lib in '' -lfl -ll; do
17793: LIBS="$ac_lib $ac_save_LIBS"
17794: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17795: /* end confdefs.h. */
17796: `cat $LEX_OUTPUT_ROOT.c`
17797: _ACEOF
17798: if ac_fn_c_try_link "$LINENO"; then :
17799: ac_cv_lib_lex=$ac_lib
17800: fi
17801: rm -f core conftest.err conftest.$ac_objext \
17802: conftest$ac_exeext conftest.$ac_ext
17803: test "$ac_cv_lib_lex" != 'none needed' && break
17804: done
17805: LIBS=$ac_save_LIBS
17806:
17807: fi
17808: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
17809: $as_echo "$ac_cv_lib_lex" >&6; }
17810: test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
17811: fi
17812:
17813:
17814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
17815: $as_echo_n "checking whether yytext is a pointer... " >&6; }
17816: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
17817: $as_echo_n "(cached) " >&6
17818: else
17819: # POSIX says lex can declare yytext either as a pointer or an array; the
17820: # default is implementation-dependent. Figure out which it is, since
17821: # not all implementations provide the %pointer and %array declarations.
17822: ac_cv_prog_lex_yytext_pointer=no
17823: ac_save_LIBS=$LIBS
17824: LIBS="$LEXLIB $ac_save_LIBS"
17825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826: /* end confdefs.h. */
17827:
17828: #define YYTEXT_POINTER 1
17829: `cat $LEX_OUTPUT_ROOT.c`
17830: _ACEOF
17831: if ac_fn_c_try_link "$LINENO"; then :
17832: ac_cv_prog_lex_yytext_pointer=yes
17833: fi
17834: rm -f core conftest.err conftest.$ac_objext \
17835: conftest$ac_exeext conftest.$ac_ext
17836: LIBS=$ac_save_LIBS
17837:
17838: fi
17839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
17840: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
17841: if test $ac_cv_prog_lex_yytext_pointer = yes; then
17842:
17843: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
17844:
17845: fi
17846: rm -f conftest.l $LEX_OUTPUT_ROOT.c
17847:
17848: fi
17849: for ac_prog in 'bison -y' byacc
17850: do
17851: # Extract the first word of "$ac_prog", so it can be a program name with args.
17852: set dummy $ac_prog; ac_word=$2
17853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17854: $as_echo_n "checking for $ac_word... " >&6; }
17855: if ${ac_cv_prog_YACC+:} false; then :
17856: $as_echo_n "(cached) " >&6
17857: else
17858: if test -n "$YACC"; then
17859: ac_cv_prog_YACC="$YACC" # Let the user override the test.
17860: else
17861: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17862: for as_dir in $PATH
17863: do
17864: IFS=$as_save_IFS
17865: test -z "$as_dir" && as_dir=.
17866: for ac_exec_ext in '' $ac_executable_extensions; do
17867: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17868: ac_cv_prog_YACC="$ac_prog"
17869: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17870: break 2
17871: fi
17872: done
17873: done
17874: IFS=$as_save_IFS
17875:
17876: fi
17877: fi
17878: YACC=$ac_cv_prog_YACC
17879: if test -n "$YACC"; then
17880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
17881: $as_echo "$YACC" >&6; }
17882: else
17883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17884: $as_echo "no" >&6; }
17885: fi
17886:
17887:
17888: test -n "$YACC" && break
17889: done
17890: test -n "$YACC" || YACC="yacc"
17891:
17892:
17893:
17894:
17895:
17896:
17897:
17898: # Find any Python interpreter.
17899: if test -z "$PYTHON"; then
17900: for ac_prog in python python2 python3 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
17901: do
17902: # Extract the first word of "$ac_prog", so it can be a program name with args.
17903: set dummy $ac_prog; ac_word=$2
17904: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17905: $as_echo_n "checking for $ac_word... " >&6; }
17906: if ${ac_cv_path_PYTHON+:} false; then :
17907: $as_echo_n "(cached) " >&6
17908: else
17909: case $PYTHON in
17910: [\\/]* | ?:[\\/]*)
17911: ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
17912: ;;
17913: *)
17914: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17915: for as_dir in $PATH
17916: do
17917: IFS=$as_save_IFS
17918: test -z "$as_dir" && as_dir=.
17919: for ac_exec_ext in '' $ac_executable_extensions; do
17920: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17921: ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
17922: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17923: break 2
17924: fi
17925: done
17926: done
17927: IFS=$as_save_IFS
17928:
17929: ;;
17930: esac
17931: fi
17932: PYTHON=$ac_cv_path_PYTHON
17933: if test -n "$PYTHON"; then
17934: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
17935: $as_echo "$PYTHON" >&6; }
17936: else
17937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17938: $as_echo "no" >&6; }
17939: fi
17940:
17941:
17942: test -n "$PYTHON" && break
17943: done
17944: test -n "$PYTHON" || PYTHON=":"
17945:
17946: fi
17947: am_display_PYTHON=python
17948:
17949:
17950: if test "$PYTHON" = :; then
17951: :
17952: else
17953:
17954:
17955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
17956: $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
17957: if ${am_cv_python_version+:} false; then :
17958: $as_echo_n "(cached) " >&6
17959: else
17960: am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
17961: fi
17962: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
17963: $as_echo "$am_cv_python_version" >&6; }
17964: PYTHON_VERSION=$am_cv_python_version
17965:
17966:
17967:
17968: PYTHON_PREFIX='${prefix}'
17969:
17970: PYTHON_EXEC_PREFIX='${exec_prefix}'
17971:
17972:
17973:
17974: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
17975: $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
17976: if ${am_cv_python_platform+:} false; then :
17977: $as_echo_n "(cached) " >&6
17978: else
17979: am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
17980: fi
17981: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
17982: $as_echo "$am_cv_python_platform" >&6; }
17983: PYTHON_PLATFORM=$am_cv_python_platform
17984:
17985:
17986: # Just factor out some code duplication.
17987: am_python_setup_sysconfig="\
17988: import sys
17989: # Prefer sysconfig over distutils.sysconfig, for better compatibility
17990: # with python 3.x. See automake bug#10227.
17991: try:
17992: import sysconfig
17993: except ImportError:
17994: can_use_sysconfig = 0
17995: else:
17996: can_use_sysconfig = 1
17997: # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
17998: # <https://github.com/pypa/virtualenv/issues/118>
17999: try:
18000: from platform import python_implementation
18001: if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
18002: can_use_sysconfig = 0
18003: except ImportError:
18004: pass"
18005:
18006:
18007: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
18008: $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
18009: if ${am_cv_python_pythondir+:} false; then :
18010: $as_echo_n "(cached) " >&6
18011: else
18012: if test "x$prefix" = xNONE
18013: then
18014: am_py_prefix=$ac_default_prefix
18015: else
18016: am_py_prefix=$prefix
18017: fi
18018: am_cv_python_pythondir=`$PYTHON -c "
18019: $am_python_setup_sysconfig
18020: if can_use_sysconfig:
18021: sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
18022: else:
18023: from distutils import sysconfig
18024: sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
18025: sys.stdout.write(sitedir)"`
18026: case $am_cv_python_pythondir in
18027: $am_py_prefix*)
18028: am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
18029: am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
18030: ;;
18031: *)
18032: case $am_py_prefix in
18033: /usr|/System*) ;;
18034: *)
18035: am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
18036: ;;
18037: esac
18038: ;;
18039: esac
18040:
18041: fi
18042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
18043: $as_echo "$am_cv_python_pythondir" >&6; }
18044: pythondir=$am_cv_python_pythondir
18045:
18046:
18047:
18048: pkgpythondir=\${pythondir}/$PACKAGE
18049:
18050:
18051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
18052: $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
18053: if ${am_cv_python_pyexecdir+:} false; then :
18054: $as_echo_n "(cached) " >&6
18055: else
18056: if test "x$exec_prefix" = xNONE
18057: then
18058: am_py_exec_prefix=$am_py_prefix
18059: else
18060: am_py_exec_prefix=$exec_prefix
18061: fi
18062: am_cv_python_pyexecdir=`$PYTHON -c "
18063: $am_python_setup_sysconfig
18064: if can_use_sysconfig:
18065: sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
18066: else:
18067: from distutils import sysconfig
18068: sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
18069: sys.stdout.write(sitedir)"`
18070: case $am_cv_python_pyexecdir in
18071: $am_py_exec_prefix*)
18072: am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
18073: am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
18074: ;;
18075: *)
18076: case $am_py_exec_prefix in
18077: /usr|/System*) ;;
18078: *)
18079: am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
18080: ;;
18081: esac
18082: ;;
18083: esac
18084:
18085: fi
18086: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
18087: $as_echo "$am_cv_python_pyexecdir" >&6; }
18088: pyexecdir=$am_cv_python_pyexecdir
18089:
18090:
18091:
18092: pkgpyexecdir=\${pyexecdir}/$PACKAGE
18093:
18094:
18095:
18096: fi
18097:
18098:
18099: # Extract the first word of "perl", so it can be a program name with args.
18100: set dummy perl; ac_word=$2
18101: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18102: $as_echo_n "checking for $ac_word... " >&6; }
18103: if ${ac_cv_path_PERL+:} false; then :
18104: $as_echo_n "(cached) " >&6
18105: else
18106: case $PERL in
18107: [\\/]* | ?:[\\/]*)
18108: ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
18109: ;;
18110: *)
18111: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18112: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
18113: for as_dir in $as_dummy
18114: do
18115: IFS=$as_save_IFS
18116: test -z "$as_dir" && as_dir=.
18117: for ac_exec_ext in '' $ac_executable_extensions; do
18118: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18119: ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
18120: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18121: break 2
18122: fi
18123: done
18124: done
18125: IFS=$as_save_IFS
18126:
18127: ;;
18128: esac
18129: fi
18130: PERL=$ac_cv_path_PERL
18131: if test -n "$PERL"; then
18132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
18133: $as_echo "$PERL" >&6; }
18134: else
18135: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18136: $as_echo "no" >&6; }
18137: fi
18138:
18139:
18140:
18141: # Extract the first word of "gperf", so it can be a program name with args.
18142: set dummy gperf; ac_word=$2
18143: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18144: $as_echo_n "checking for $ac_word... " >&6; }
18145: if ${ac_cv_path_GPERF+:} false; then :
18146: $as_echo_n "(cached) " >&6
18147: else
18148: case $GPERF in
18149: [\\/]* | ?:[\\/]*)
18150: ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
18151: ;;
18152: *)
18153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18154: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
18155: for as_dir in $as_dummy
18156: do
18157: IFS=$as_save_IFS
18158: test -z "$as_dir" && as_dir=.
18159: for ac_exec_ext in '' $ac_executable_extensions; do
18160: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18161: ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
18162: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18163: break 2
18164: fi
18165: done
18166: done
18167: IFS=$as_save_IFS
18168:
18169: ;;
18170: esac
18171: fi
18172: GPERF=$ac_cv_path_GPERF
18173: if test -n "$GPERF"; then
18174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18175: $as_echo "$GPERF" >&6; }
18176: else
18177: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18178: $as_echo "no" >&6; }
18179: fi
18180:
18181:
18182:
18183:
18184: # because gperf is not needed by end-users we only abort if generated files don't exist
18185: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gperf len type" >&5
18186: $as_echo_n "checking gperf len type... " >&6; }
18187: if test -x "$GPERF"; then
18188: GPERF_OUTPUT="`echo foo | ${GPERF}`"
18189: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18190: /* end confdefs.h. */
18191: #include <string.h>
18192: const char *in_word_set(const char*, size_t); $GPERF_OUTPUT
18193: int
18194: main ()
18195: {
18196:
18197: ;
18198: return 0;
18199: }
18200: _ACEOF
18201: if ac_fn_c_try_compile "$LINENO"; then :
18202: GPERF_LEN_TYPE=size_t
18203: else
18204: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18205: /* end confdefs.h. */
18206: #include <string.h>
18207: const char *in_word_set(const char*, unsigned); $GPERF_OUTPUT
18208: int
18209: main ()
18210: {
18211:
18212: ;
18213: return 0;
18214: }
18215: _ACEOF
18216: if ac_fn_c_try_compile "$LINENO"; then :
18217: GPERF_LEN_TYPE=unsigned
18218: else
18219: as_fn_error $? "unable to determine gperf len type" "$LINENO" 5
18220:
18221: fi
18222: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223:
18224: fi
18225: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18226:
18227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF_LEN_TYPE" >&5
18228: $as_echo "$GPERF_LEN_TYPE" >&6; }
18229: else
18230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18231: $as_echo "not found" >&6; }
18232: GPERF_TEST_FILE="$srcdir/src/libstrongswan/crypto/proposal/proposal_keywords_static.c"
18233: if test ! -f "$GPERF_TEST_FILE"; then
18234: as_fn_error $? "GNU gperf required to generate e.g. $GPERF_TEST_FILE" "$LINENO" 5
18235: fi
18236: fi
18237:
18238: # ========================
18239: # dependency calculation
18240: # ========================
18241:
18242: if test x$xauth_generic_given = xfalse -a x$ikev1 = xfalse; then
18243: xauth_generic=false;
18244: fi
18245:
18246: if test x$kernel_libipsec = xtrue; then
18247: libipsec=true;
18248: fi
18249:
18250: if test x$eap_aka_3gpp2 = xtrue; then
18251: gmp=true;
18252: fi
18253:
18254: if test x$eap_aka = xtrue; then
18255: fips_prf=true;
18256: simaka=true;
18257: fi
18258:
18259: if test x$eap_sim = xtrue; then
18260: fips_prf=true;
18261: simaka=true;
18262: fi
18263:
18264: if test x$eap_radius = xtrue -o x$radattr = xtrue -o x$tnc_pdp = xtrue; then
18265: radius=true;
18266: fi
18267:
18268: if test x$tnc_imc = xtrue -o x$tnc_imv = xtrue -o x$tnccs_11 = xtrue -o x$tnccs_20 = xtrue -o x$tnccs_dynamic = xtrue -o x$eap_tnc = xtrue; then
18269: tnc_tnccs=true;
18270: fi
18271:
18272: if test x$eap_tls = xtrue -o x$eap_ttls = xtrue -o x$eap_peap = xtrue -o x$tnc_tnccs = xtrue; then
18273: tls=true;
18274: fi
18275:
18276: if test x$imc_test = xtrue -o x$imv_test = xtrue -o x$imc_scanner = xtrue -o x$imv_scanner = xtrue -o x$imc_os = xtrue -o x$imv_os = xtrue -o x$imc_attestation = xtrue -o x$imv_attestation = xtrue -o x$imc_swima = xtrue -o x$imv_swima = xtrue -o x$imc_hcd = xtrue -o x$imv_hcd = xtrue; then
18277: imcv=true;
18278: fi
18279:
18280: if test x$fips_prf = xtrue; then
18281: if test x$openssl = xfalse -a x$wolfssl = xfalse; then
18282: sha1=true;
18283: fi
18284: fi
18285:
18286: if test x$swanctl = xtrue; then
18287: vici=true
18288: fi
18289:
18290: if test x$smp = xtrue -o x$tnccs_11 = xtrue -o x$tnc_ifmap = xtrue; then
18291: xml=true
18292: fi
18293:
18294: if test x$manager = xtrue; then
18295: fast=true
18296: fi
18297:
18298: if test x$medsrv = xtrue; then
18299: mediation=true
18300: fast=true
18301: fi
18302:
18303: if test x$medcli = xtrue; then
18304: mediation=true
18305: fi
18306:
18307: if test x$ruby_gems_install = xtrue; then
18308: ruby_gems=true
18309: fi
18310:
18311: if test x$python_eggs_install = xtrue; then
18312: python_eggs=true
18313: fi
18314:
18315: if test x$perl_cpan_install = xtrue; then
18316: perl_cpan=true
18317: fi
18318:
18319: if test x$aikgen = xtrue; then
18320: tss_trousers=true
18321: fi
18322:
18323: if test x$gmp = xtrue -o x$ntru = xtrue -o x$bliss = xtrue; then
18324: mgf1=true
18325: fi
18326:
18327: if test x$stroke = xtrue; then
18328: counters=true
18329: fi
18330:
18331: # ===========================================
18332: # check required libraries and header files
18333: # ===========================================
18334:
18335: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18336: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18337: if ${ac_cv_header_stdbool_h+:} false; then :
18338: $as_echo_n "(cached) " >&6
18339: else
18340: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341: /* end confdefs.h. */
18342:
18343: #include <stdbool.h>
18344: #ifndef bool
18345: "error: bool is not defined"
18346: #endif
18347: #ifndef false
18348: "error: false is not defined"
18349: #endif
18350: #if false
18351: "error: false is not 0"
18352: #endif
18353: #ifndef true
18354: "error: true is not defined"
18355: #endif
18356: #if true != 1
18357: "error: true is not 1"
18358: #endif
18359: #ifndef __bool_true_false_are_defined
18360: "error: __bool_true_false_are_defined is not defined"
18361: #endif
18362:
18363: struct s { _Bool s: 1; _Bool t; } s;
18364:
18365: char a[true == 1 ? 1 : -1];
18366: char b[false == 0 ? 1 : -1];
18367: char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18368: char d[(bool) 0.5 == true ? 1 : -1];
18369: /* See body of main program for 'e'. */
18370: char f[(_Bool) 0.0 == false ? 1 : -1];
18371: char g[true];
18372: char h[sizeof (_Bool)];
18373: char i[sizeof s.t];
18374: enum { j = false, k = true, l = false * true, m = true * 256 };
18375: /* The following fails for
18376: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18377: _Bool n[m];
18378: char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18379: char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18380: /* Catch a bug in an HP-UX C compiler. See
18381: http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18382: http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18383: */
18384: _Bool q = true;
18385: _Bool *pq = &q;
18386:
18387: int
18388: main ()
18389: {
18390:
18391: bool e = &s;
18392: *pq |= q;
18393: *pq |= ! q;
18394: /* Refer to every declared value, to avoid compiler optimizations. */
18395: return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18396: + !m + !n + !o + !p + !q + !pq);
18397:
18398: ;
18399: return 0;
18400: }
18401: _ACEOF
18402: if ac_fn_c_try_compile "$LINENO"; then :
18403: ac_cv_header_stdbool_h=yes
18404: else
18405: ac_cv_header_stdbool_h=no
18406: fi
18407: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408: fi
18409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18410: $as_echo "$ac_cv_header_stdbool_h" >&6; }
18411: ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18412: if test "x$ac_cv_type__Bool" = xyes; then :
18413:
18414: cat >>confdefs.h <<_ACEOF
18415: #define HAVE__BOOL 1
18416: _ACEOF
18417:
18418:
18419: fi
18420:
18421:
18422: if test $ac_cv_header_stdbool_h = yes; then
18423:
18424: $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18425:
18426: fi
18427:
18428: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18429: if test "x$ac_cv_type_size_t" = xyes; then :
18430:
18431: else
18432:
18433: cat >>confdefs.h <<_ACEOF
18434: #define size_t unsigned int
18435: _ACEOF
18436:
18437: fi
18438:
18439: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18440: # for constant arguments. Useless!
18441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18442: $as_echo_n "checking for working alloca.h... " >&6; }
18443: if ${ac_cv_working_alloca_h+:} false; then :
18444: $as_echo_n "(cached) " >&6
18445: else
18446: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18447: /* end confdefs.h. */
18448: #include <alloca.h>
18449: int
18450: main ()
18451: {
18452: char *p = (char *) alloca (2 * sizeof (int));
18453: if (p) return 0;
18454: ;
18455: return 0;
18456: }
18457: _ACEOF
18458: if ac_fn_c_try_link "$LINENO"; then :
18459: ac_cv_working_alloca_h=yes
18460: else
18461: ac_cv_working_alloca_h=no
18462: fi
18463: rm -f core conftest.err conftest.$ac_objext \
18464: conftest$ac_exeext conftest.$ac_ext
18465: fi
18466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18467: $as_echo "$ac_cv_working_alloca_h" >&6; }
18468: if test $ac_cv_working_alloca_h = yes; then
18469:
18470: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
18471:
18472: fi
18473:
18474: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18475: $as_echo_n "checking for alloca... " >&6; }
18476: if ${ac_cv_func_alloca_works+:} false; then :
18477: $as_echo_n "(cached) " >&6
18478: else
18479: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480: /* end confdefs.h. */
18481: #ifdef __GNUC__
18482: # define alloca __builtin_alloca
18483: #else
18484: # ifdef _MSC_VER
18485: # include <malloc.h>
18486: # define alloca _alloca
18487: # else
18488: # ifdef HAVE_ALLOCA_H
18489: # include <alloca.h>
18490: # else
18491: # ifdef _AIX
18492: #pragma alloca
18493: # else
18494: # ifndef alloca /* predefined by HP cc +Olibcalls */
18495: void *alloca (size_t);
18496: # endif
18497: # endif
18498: # endif
18499: # endif
18500: #endif
18501:
18502: int
18503: main ()
18504: {
18505: char *p = (char *) alloca (1);
18506: if (p) return 0;
18507: ;
18508: return 0;
18509: }
18510: _ACEOF
18511: if ac_fn_c_try_link "$LINENO"; then :
18512: ac_cv_func_alloca_works=yes
18513: else
18514: ac_cv_func_alloca_works=no
18515: fi
18516: rm -f core conftest.err conftest.$ac_objext \
18517: conftest$ac_exeext conftest.$ac_ext
18518: fi
18519: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18520: $as_echo "$ac_cv_func_alloca_works" >&6; }
18521:
18522: if test $ac_cv_func_alloca_works = yes; then
18523:
18524: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18525:
18526: else
18527: # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18528: # that cause trouble. Some versions do not even contain alloca or
18529: # contain a buggy version. If you still want to use their alloca,
18530: # use ar to extract alloca.o from them instead of compiling alloca.c.
18531:
18532: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
18533:
18534: $as_echo "#define C_ALLOCA 1" >>confdefs.h
18535:
18536:
18537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18538: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18539: if ${ac_cv_os_cray+:} false; then :
18540: $as_echo_n "(cached) " >&6
18541: else
18542: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18543: /* end confdefs.h. */
18544: #if defined CRAY && ! defined CRAY2
18545: webecray
18546: #else
18547: wenotbecray
18548: #endif
18549:
18550: _ACEOF
18551: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18552: $EGREP "webecray" >/dev/null 2>&1; then :
18553: ac_cv_os_cray=yes
18554: else
18555: ac_cv_os_cray=no
18556: fi
18557: rm -f conftest*
18558:
18559: fi
18560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18561: $as_echo "$ac_cv_os_cray" >&6; }
18562: if test $ac_cv_os_cray = yes; then
18563: for ac_func in _getb67 GETB67 getb67; do
18564: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18565: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18566: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18567:
18568: cat >>confdefs.h <<_ACEOF
18569: #define CRAY_STACKSEG_END $ac_func
18570: _ACEOF
18571:
18572: break
18573: fi
18574:
18575: done
18576: fi
18577:
18578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18579: $as_echo_n "checking stack direction for C alloca... " >&6; }
18580: if ${ac_cv_c_stack_direction+:} false; then :
18581: $as_echo_n "(cached) " >&6
18582: else
18583: if test "$cross_compiling" = yes; then :
18584: ac_cv_c_stack_direction=0
18585: else
18586: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587: /* end confdefs.h. */
18588: $ac_includes_default
18589: int
18590: find_stack_direction (int *addr, int depth)
18591: {
18592: int dir, dummy = 0;
18593: if (! addr)
18594: addr = &dummy;
18595: *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
18596: dir = depth ? find_stack_direction (addr, depth - 1) : 0;
18597: return dir + dummy;
18598: }
18599:
18600: int
18601: main (int argc, char **argv)
18602: {
18603: return find_stack_direction (0, argc + !argv + 20) < 0;
18604: }
18605: _ACEOF
18606: if ac_fn_c_try_run "$LINENO"; then :
18607: ac_cv_c_stack_direction=1
18608: else
18609: ac_cv_c_stack_direction=-1
18610: fi
18611: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18612: conftest.$ac_objext conftest.beam conftest.$ac_ext
18613: fi
18614:
18615: fi
18616: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18617: $as_echo "$ac_cv_c_stack_direction" >&6; }
18618: cat >>confdefs.h <<_ACEOF
18619: #define STACK_DIRECTION $ac_cv_c_stack_direction
18620: _ACEOF
18621:
18622:
18623: fi
18624:
18625: ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
18626: if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
18627: ac_have_decl=1
18628: else
18629: ac_have_decl=0
18630: fi
18631:
18632: cat >>confdefs.h <<_ACEOF
18633: #define HAVE_DECL_STRERROR_R $ac_have_decl
18634: _ACEOF
18635:
18636: for ac_func in strerror_r
18637: do :
18638: ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
18639: if test "x$ac_cv_func_strerror_r" = xyes; then :
18640: cat >>confdefs.h <<_ACEOF
18641: #define HAVE_STRERROR_R 1
18642: _ACEOF
18643:
18644: fi
18645: done
18646:
18647: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
18648: $as_echo_n "checking whether strerror_r returns char *... " >&6; }
18649: if ${ac_cv_func_strerror_r_char_p+:} false; then :
18650: $as_echo_n "(cached) " >&6
18651: else
18652:
18653: ac_cv_func_strerror_r_char_p=no
18654: if test $ac_cv_have_decl_strerror_r = yes; then
18655: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656: /* end confdefs.h. */
18657: $ac_includes_default
18658: int
18659: main ()
18660: {
18661:
18662: char buf[100];
18663: char x = *strerror_r (0, buf, sizeof buf);
18664: char *p = strerror_r (0, buf, sizeof buf);
18665: return !p || x;
18666:
18667: ;
18668: return 0;
18669: }
18670: _ACEOF
18671: if ac_fn_c_try_compile "$LINENO"; then :
18672: ac_cv_func_strerror_r_char_p=yes
18673: fi
18674: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675: else
18676: # strerror_r is not declared. Choose between
18677: # systems that have relatively inaccessible declarations for the
18678: # function. BeOS and DEC UNIX 4.0 fall in this category, but the
18679: # former has a strerror_r that returns char*, while the latter
18680: # has a strerror_r that returns `int'.
18681: # This test should segfault on the DEC system.
18682: if test "$cross_compiling" = yes; then :
18683: :
18684: else
18685: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686: /* end confdefs.h. */
18687: $ac_includes_default
18688: extern char *strerror_r ();
18689: int
18690: main ()
18691: {
18692: char buf[100];
18693: char x = *strerror_r (0, buf, sizeof buf);
18694: return ! isalpha (x);
18695: ;
18696: return 0;
18697: }
18698: _ACEOF
18699: if ac_fn_c_try_run "$LINENO"; then :
18700: ac_cv_func_strerror_r_char_p=yes
18701: fi
18702: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18703: conftest.$ac_objext conftest.beam conftest.$ac_ext
18704: fi
18705:
18706: fi
18707:
18708: fi
18709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18710: $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18711: if test $ac_cv_func_strerror_r_char_p = yes; then
18712:
18713: $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18714:
18715: fi
18716:
18717:
18718: # libraries needed on some platforms but not on others
18719: # ------------------------------------------------------
18720: saved_LIBS=$LIBS
18721:
18722: # FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
18723: LIBS=""
18724: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18725: $as_echo_n "checking for library containing dlopen... " >&6; }
18726: if ${ac_cv_search_dlopen+:} false; then :
18727: $as_echo_n "(cached) " >&6
18728: else
18729: ac_func_search_save_LIBS=$LIBS
18730: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731: /* end confdefs.h. */
18732:
18733: /* Override any GCC internal prototype to avoid an error.
18734: Use char because int might match the return type of a GCC
18735: builtin and then its argument prototype would still apply. */
18736: #ifdef __cplusplus
18737: extern "C"
18738: #endif
18739: char dlopen ();
18740: int
18741: main ()
18742: {
18743: return dlopen ();
18744: ;
18745: return 0;
18746: }
18747: _ACEOF
18748: for ac_lib in '' dl; do
18749: if test -z "$ac_lib"; then
18750: ac_res="none required"
18751: else
18752: ac_res=-l$ac_lib
18753: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18754: fi
18755: if ac_fn_c_try_link "$LINENO"; then :
18756: ac_cv_search_dlopen=$ac_res
18757: fi
18758: rm -f core conftest.err conftest.$ac_objext \
18759: conftest$ac_exeext
18760: if ${ac_cv_search_dlopen+:} false; then :
18761: break
18762: fi
18763: done
18764: if ${ac_cv_search_dlopen+:} false; then :
18765:
18766: else
18767: ac_cv_search_dlopen=no
18768: fi
18769: rm conftest.$ac_ext
18770: LIBS=$ac_func_search_save_LIBS
18771: fi
18772: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18773: $as_echo "$ac_cv_search_dlopen" >&6; }
18774: ac_res=$ac_cv_search_dlopen
18775: if test "$ac_res" != no; then :
18776: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18777: DLLIB=$LIBS
18778: fi
18779:
18780:
18781:
18782: # glibc's backtrace() can be replicated on FreeBSD with libexecinfo
18783: LIBS=""
18784: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
18785: $as_echo_n "checking for library containing backtrace... " >&6; }
18786: if ${ac_cv_search_backtrace+:} false; then :
18787: $as_echo_n "(cached) " >&6
18788: else
18789: ac_func_search_save_LIBS=$LIBS
18790: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791: /* end confdefs.h. */
18792:
18793: /* Override any GCC internal prototype to avoid an error.
18794: Use char because int might match the return type of a GCC
18795: builtin and then its argument prototype would still apply. */
18796: #ifdef __cplusplus
18797: extern "C"
18798: #endif
18799: char backtrace ();
18800: int
18801: main ()
18802: {
18803: return backtrace ();
18804: ;
18805: return 0;
18806: }
18807: _ACEOF
18808: for ac_lib in '' execinfo; do
18809: if test -z "$ac_lib"; then
18810: ac_res="none required"
18811: else
18812: ac_res=-l$ac_lib
18813: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18814: fi
18815: if ac_fn_c_try_link "$LINENO"; then :
18816: ac_cv_search_backtrace=$ac_res
18817: fi
18818: rm -f core conftest.err conftest.$ac_objext \
18819: conftest$ac_exeext
18820: if ${ac_cv_search_backtrace+:} false; then :
18821: break
18822: fi
18823: done
18824: if ${ac_cv_search_backtrace+:} false; then :
18825:
18826: else
18827: ac_cv_search_backtrace=no
18828: fi
18829: rm conftest.$ac_ext
18830: LIBS=$ac_func_search_save_LIBS
18831: fi
18832: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
18833: $as_echo "$ac_cv_search_backtrace" >&6; }
18834: ac_res=$ac_cv_search_backtrace
18835: if test "$ac_res" != no; then :
18836: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18837: BTLIB=$LIBS
18838: fi
18839:
18840: for ac_func in backtrace
18841: do :
18842: ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
18843: if test "x$ac_cv_func_backtrace" = xyes; then :
18844: cat >>confdefs.h <<_ACEOF
18845: #define HAVE_BACKTRACE 1
18846: _ACEOF
18847:
18848: fi
18849: done
18850:
18851:
18852:
18853: # OpenSolaris needs libsocket and libnsl for socket()
18854: LIBS=""
18855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18856: $as_echo_n "checking for library containing socket... " >&6; }
18857: if ${ac_cv_search_socket+:} false; then :
18858: $as_echo_n "(cached) " >&6
18859: else
18860: ac_func_search_save_LIBS=$LIBS
18861: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862: /* end confdefs.h. */
18863:
18864: /* Override any GCC internal prototype to avoid an error.
18865: Use char because int might match the return type of a GCC
18866: builtin and then its argument prototype would still apply. */
18867: #ifdef __cplusplus
18868: extern "C"
18869: #endif
18870: char socket ();
18871: int
18872: main ()
18873: {
18874: return socket ();
18875: ;
18876: return 0;
18877: }
18878: _ACEOF
18879: for ac_lib in '' socket; do
18880: if test -z "$ac_lib"; then
18881: ac_res="none required"
18882: else
18883: ac_res=-l$ac_lib
18884: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18885: fi
18886: if ac_fn_c_try_link "$LINENO"; then :
18887: ac_cv_search_socket=$ac_res
18888: fi
18889: rm -f core conftest.err conftest.$ac_objext \
18890: conftest$ac_exeext
18891: if ${ac_cv_search_socket+:} false; then :
18892: break
18893: fi
18894: done
18895: if ${ac_cv_search_socket+:} false; then :
18896:
18897: else
18898: ac_cv_search_socket=no
18899: fi
18900: rm conftest.$ac_ext
18901: LIBS=$ac_func_search_save_LIBS
18902: fi
18903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18904: $as_echo "$ac_cv_search_socket" >&6; }
18905: ac_res=$ac_cv_search_socket
18906: if test "$ac_res" != no; then :
18907: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18908: SOCKLIB=$LIBS
18909: else
18910: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
18911: $as_echo_n "checking for socket in -lnsl... " >&6; }
18912: if ${ac_cv_lib_nsl_socket+:} false; then :
18913: $as_echo_n "(cached) " >&6
18914: else
18915: ac_check_lib_save_LIBS=$LIBS
18916: LIBS="-lnsl -lsocket $LIBS"
18917: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918: /* end confdefs.h. */
18919:
18920: /* Override any GCC internal prototype to avoid an error.
18921: Use char because int might match the return type of a GCC
18922: builtin and then its argument prototype would still apply. */
18923: #ifdef __cplusplus
18924: extern "C"
18925: #endif
18926: char socket ();
18927: int
18928: main ()
18929: {
18930: return socket ();
18931: ;
18932: return 0;
18933: }
18934: _ACEOF
18935: if ac_fn_c_try_link "$LINENO"; then :
18936: ac_cv_lib_nsl_socket=yes
18937: else
18938: ac_cv_lib_nsl_socket=no
18939: fi
18940: rm -f core conftest.err conftest.$ac_objext \
18941: conftest$ac_exeext conftest.$ac_ext
18942: LIBS=$ac_check_lib_save_LIBS
18943: fi
18944: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
18945: $as_echo "$ac_cv_lib_nsl_socket" >&6; }
18946: if test "x$ac_cv_lib_nsl_socket" = xyes; then :
18947: SOCKLIB="-lsocket -lnsl"
18948: fi
18949:
18950:
18951: fi
18952:
18953:
18954:
18955: # Android has pthread_* functions in bionic (libc), others need libpthread
18956: LIBS=$DLLIB
18957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
18958: $as_echo_n "checking for library containing pthread_create... " >&6; }
18959: if ${ac_cv_search_pthread_create+:} false; then :
18960: $as_echo_n "(cached) " >&6
18961: else
18962: ac_func_search_save_LIBS=$LIBS
18963: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18964: /* end confdefs.h. */
18965:
18966: /* Override any GCC internal prototype to avoid an error.
18967: Use char because int might match the return type of a GCC
18968: builtin and then its argument prototype would still apply. */
18969: #ifdef __cplusplus
18970: extern "C"
18971: #endif
18972: char pthread_create ();
18973: int
18974: main ()
18975: {
18976: return pthread_create ();
18977: ;
18978: return 0;
18979: }
18980: _ACEOF
18981: for ac_lib in '' pthread; do
18982: if test -z "$ac_lib"; then
18983: ac_res="none required"
18984: else
18985: ac_res=-l$ac_lib
18986: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18987: fi
18988: if ac_fn_c_try_link "$LINENO"; then :
18989: ac_cv_search_pthread_create=$ac_res
18990: fi
18991: rm -f core conftest.err conftest.$ac_objext \
18992: conftest$ac_exeext
18993: if ${ac_cv_search_pthread_create+:} false; then :
18994: break
18995: fi
18996: done
18997: if ${ac_cv_search_pthread_create+:} false; then :
18998:
18999: else
19000: ac_cv_search_pthread_create=no
19001: fi
19002: rm conftest.$ac_ext
19003: LIBS=$ac_func_search_save_LIBS
19004: fi
19005: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
19006: $as_echo "$ac_cv_search_pthread_create" >&6; }
19007: ac_res=$ac_cv_search_pthread_create
19008: if test "$ac_res" != no; then :
19009: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19010: PTHREADLIB=$LIBS
19011: fi
19012:
19013:
19014:
19015: # Some architectures require explicit -latomic for __atomic_* operations
19016: # AC_SEARCH_LIBS() does not work when checking built-ins due to conflicting types
19017: LIBS=""
19018: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __atomic_and_fetch" >&5
19019: $as_echo_n "checking for library containing __atomic_and_fetch... " >&6; }
19020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021: /* end confdefs.h. */
19022:
19023: int
19024: main ()
19025: {
19026: int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
19027: ;
19028: return 0;
19029: }
19030: _ACEOF
19031: if ac_fn_c_try_link "$LINENO"; then :
19032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5
19033: $as_echo "none required" >&6; }
19034: else
19035: LIBS="-latomic";
19036: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037: /* end confdefs.h. */
19038:
19039: int
19040: main ()
19041: {
19042: int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
19043: ;
19044: return 0;
19045: }
19046: _ACEOF
19047: if ac_fn_c_try_link "$LINENO"; then :
19048: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -latomic" >&5
19049: $as_echo "-latomic" >&6; }; ATOMICLIB=$LIBS
19050: else
19051: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19052: $as_echo "no" >&6; }
19053: fi
19054: rm -f core conftest.err conftest.$ac_objext \
19055: conftest$ac_exeext conftest.$ac_ext
19056:
19057:
19058: fi
19059: rm -f core conftest.err conftest.$ac_objext \
19060: conftest$ac_exeext conftest.$ac_ext
19061:
19062:
19063: LIBS=$saved_LIBS
19064: # ------------------------------------------------------
19065:
19066: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr" >&5
19067: $as_echo_n "checking for dladdr... " >&6; }
19068: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19069: /* end confdefs.h. */
19070: #define _GNU_SOURCE
19071: #include <dlfcn.h>
19072: int
19073: main ()
19074: {
19075: Dl_info* info = 0;
19076: dladdr(0, info);
19077: ;
19078: return 0;
19079: }
19080: _ACEOF
19081: if ac_fn_c_try_compile "$LINENO"; then :
19082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19083: $as_echo "yes" >&6; };
19084: $as_echo "#define HAVE_DLADDR /**/" >>confdefs.h
19085:
19086: else
19087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19088: $as_echo "no" >&6; }
19089:
19090: fi
19091: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092:
19093: # check if pthread_condattr_setclock(CLOCK_MONOTONIC) is supported
19094: saved_LIBS=$LIBS
19095: LIBS=$PTHREADLIB
19096: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_condattr_setclock(CLOCK_MONOTONIC)" >&5
19097: $as_echo_n "checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... " >&6; }
19098: if test "$cross_compiling" = yes; then :
19099: # Check existence of pthread_condattr_setclock if cross-compiling
19100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
19101: $as_echo "unknown" >&6; };
19102: for ac_func in pthread_condattr_setclock
19103: do :
19104: ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
19105: if test "x$ac_cv_func_pthread_condattr_setclock" = xyes; then :
19106: cat >>confdefs.h <<_ACEOF
19107: #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
19108: _ACEOF
19109:
19110: $as_echo "#define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
19111:
19112:
19113: fi
19114: done
19115:
19116:
19117: else
19118: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119: /* end confdefs.h. */
19120: #include <pthread.h>
19121: int main() { pthread_condattr_t attr;
19122: pthread_condattr_init(&attr);
19123: return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}
19124: _ACEOF
19125: if ac_fn_c_try_run "$LINENO"; then :
19126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19127: $as_echo "yes" >&6; };
19128:
19129: $as_echo "#define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
19130:
19131: else
19132: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19133: $as_echo "no" >&6; }
19134: fi
19135: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19136: conftest.$ac_objext conftest.beam conftest.$ac_ext
19137: fi
19138:
19139: # check if we actually are able to configure attributes on cond vars
19140: for ac_func in pthread_condattr_init
19141: do :
19142: ac_fn_c_check_func "$LINENO" "pthread_condattr_init" "ac_cv_func_pthread_condattr_init"
19143: if test "x$ac_cv_func_pthread_condattr_init" = xyes; then :
19144: cat >>confdefs.h <<_ACEOF
19145: #define HAVE_PTHREAD_CONDATTR_INIT 1
19146: _ACEOF
19147:
19148: fi
19149: done
19150:
19151: # instead of pthread_condattr_setclock Android has this function
19152: for ac_func in pthread_cond_timedwait_monotonic
19153: do :
19154: ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait_monotonic" "ac_cv_func_pthread_cond_timedwait_monotonic"
19155: if test "x$ac_cv_func_pthread_cond_timedwait_monotonic" = xyes; then :
19156: cat >>confdefs.h <<_ACEOF
19157: #define HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC 1
19158: _ACEOF
19159:
19160: fi
19161: done
19162:
19163: # check if we can cancel threads
19164: for ac_func in pthread_cancel
19165: do :
19166: ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
19167: if test "x$ac_cv_func_pthread_cancel" = xyes; then :
19168: cat >>confdefs.h <<_ACEOF
19169: #define HAVE_PTHREAD_CANCEL 1
19170: _ACEOF
19171:
19172: fi
19173: done
19174:
19175: # check if native rwlocks are available
19176: for ac_func in pthread_rwlock_init
19177: do :
19178: ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
19179: if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then :
19180: cat >>confdefs.h <<_ACEOF
19181: #define HAVE_PTHREAD_RWLOCK_INIT 1
19182: _ACEOF
19183:
19184: fi
19185: done
19186:
19187: # check if pthread spinlocks are available
19188: for ac_func in pthread_spin_init
19189: do :
19190: ac_fn_c_check_func "$LINENO" "pthread_spin_init" "ac_cv_func_pthread_spin_init"
19191: if test "x$ac_cv_func_pthread_spin_init" = xyes; then :
19192: cat >>confdefs.h <<_ACEOF
19193: #define HAVE_PTHREAD_SPIN_INIT 1
19194: _ACEOF
19195:
19196: fi
19197: done
19198:
19199: # check if we have POSIX semaphore functions, including timed-wait
19200: for ac_func in sem_timedwait
19201: do :
19202: ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
19203: if test "x$ac_cv_func_sem_timedwait" = xyes; then :
19204: cat >>confdefs.h <<_ACEOF
19205: #define HAVE_SEM_TIMEDWAIT 1
19206: _ACEOF
19207:
19208: fi
19209: done
19210:
19211: LIBS=$saved_LIBS
19212:
19213: ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid"
19214: if test "x$ac_cv_func_gettid" = xyes; then :
19215:
19216: $as_echo "#define HAVE_GETTID /**/" >>confdefs.h
19217:
19218: else
19219: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_gettid" >&5
19220: $as_echo_n "checking for SYS_gettid... " >&6; }
19221: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222: /* end confdefs.h. */
19223: #define _GNU_SOURCE
19224: #include <unistd.h>
19225: #include <sys/syscall.h>
19226: int
19227: main ()
19228: {
19229: int main() {
19230: return syscall(SYS_gettid);}
19231: ;
19232: return 0;
19233: }
19234: _ACEOF
19235: if ac_fn_c_try_compile "$LINENO"; then :
19236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19237: $as_echo "yes" >&6; };
19238:
19239: $as_echo "#define HAVE_GETTID /**/" >>confdefs.h
19240:
19241:
19242: $as_echo "#define HAVE_SYS_GETTID /**/" >>confdefs.h
19243:
19244: else
19245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19246: $as_echo "no" >&6; }
19247:
19248: fi
19249: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19250:
19251: fi
19252:
19253:
19254: ac_fn_c_check_func "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
19255: if test "x$ac_cv_func_qsort_r" = xyes; then :
19256:
19257:
19258: $as_echo "#define HAVE_QSORT_R /**/" >>confdefs.h
19259:
19260: # set -Werror so that we get an error for "argument ... has
19261: # incompatible pointer type" warnings
19262: save_CFLAGS="$CFLAGS"
19263: CFLAGS="$CFLAGS -Werror -Wno-unused-parameter"
19264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style qsort_r" >&5
19265: $as_echo_n "checking for GNU-style qsort_r... " >&6; }
19266: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19267: /* end confdefs.h. */
19268: #define _GNU_SOURCE
19269: #include <stdlib.h>
19270: int cmp (const void *a, const void *b, void *x) { return 0; }
19271: int
19272: main ()
19273: {
19274: int arr[] = { 0, 1 };
19275: qsort_r(arr, 2, sizeof(int), cmp, arr);
19276: ;
19277: return 0;
19278: }
19279: _ACEOF
19280: if ac_fn_c_try_compile "$LINENO"; then :
19281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19282: $as_echo "yes" >&6; };
19283:
19284: $as_echo "#define HAVE_QSORT_R_GNU /**/" >>confdefs.h
19285:
19286: else
19287:
19288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19289: $as_echo "no" >&6; };
19290: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-style qsort_r" >&5
19291: $as_echo_n "checking for BSD-style qsort_r... " >&6; }
19292: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293: /* end confdefs.h. */
19294: #include <stdlib.h>
19295: int cmp (void *x, const void *a, const void *b) { return 0; }
19296: int
19297: main ()
19298: {
19299: int arr[] = { 0, 1 };
19300: qsort_r(arr, 2, sizeof(int), arr, cmp);
19301: ;
19302: return 0;
19303: }
19304: _ACEOF
19305: if ac_fn_c_try_compile "$LINENO"; then :
19306: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19307: $as_echo "yes" >&6; };
19308:
19309: $as_echo "#define HAVE_QSORT_R_BSD /**/" >>confdefs.h
19310:
19311: else
19312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19313: $as_echo "no" >&6; };
19314: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19315: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19316: as_fn_error $? "qsort_r has unknown semantics
19317: See \`config.log' for more details" "$LINENO" 5; }
19318: fi
19319: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320:
19321: fi
19322: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323: CFLAGS="$save_CFLAGS"
19324:
19325:
19326: fi
19327:
19328:
19329: for ac_func in prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r
19330: do :
19331: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19332: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19333: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19334: cat >>confdefs.h <<_ACEOF
19335: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19336: _ACEOF
19337:
19338: fi
19339: done
19340:
19341: for ac_func in fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero
19342: do :
19343: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19344: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19345: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19346: cat >>confdefs.h <<_ACEOF
19347: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19348: _ACEOF
19349:
19350: fi
19351: done
19352:
19353:
19354: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
19355: if test "x$ac_cv_func_syslog" = xyes; then :
19356:
19357:
19358: $as_echo "#define HAVE_SYSLOG /**/" >>confdefs.h
19359:
19360: syslog=true
19361:
19362: fi
19363:
19364: if test "x$syslog" = xtrue; then
19365: USE_SYSLOG_TRUE=
19366: USE_SYSLOG_FALSE='#'
19367: else
19368: USE_SYSLOG_TRUE='#'
19369: USE_SYSLOG_FALSE=
19370: fi
19371:
19372:
19373: for ac_header in sys/sockio.h sys/syscall.h sys/param.h glob.h net/if_tun.h
19374: do :
19375: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19376: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19377: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19378: cat >>confdefs.h <<_ACEOF
19379: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19380: _ACEOF
19381:
19382: fi
19383:
19384: done
19385:
19386: for ac_header in net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h
19387: do :
19388: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19389: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19390: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19391: cat >>confdefs.h <<_ACEOF
19392: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19393: _ACEOF
19394:
19395: fi
19396:
19397: done
19398:
19399: for ac_header in netinet/ip6.h linux/fib_rules.h
19400: do :
19401: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19402: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
19403: #include <sys/types.h>
19404: #include <netinet/in.h>
19405:
19406: "
19407: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19408: cat >>confdefs.h <<_ACEOF
19409: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19410: _ACEOF
19411:
19412: fi
19413:
19414: done
19415:
19416:
19417: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
19418: #include <sys/types.h>
19419: #include <sys/socket.h>
19420:
19421: "
19422: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19423:
19424: cat >>confdefs.h <<_ACEOF
19425: #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19426: _ACEOF
19427:
19428:
19429: fi
19430:
19431:
19432: ac_fn_c_check_member "$LINENO" "struct sadb_x_policy" "sadb_x_policy_priority" "ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" "
19433: #include <sys/types.h>
19434: #ifdef HAVE_NET_PFKEYV2_H
19435: #include <net/pfkeyv2.h>
19436: #else
19437: #include <stdint.h>
19438: #include <linux/pfkeyv2.h>
19439: #endif
19440:
19441: "
19442: if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = xyes; then :
19443:
19444: cat >>confdefs.h <<_ACEOF
19445: #define HAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY 1
19446: _ACEOF
19447:
19448:
19449: fi
19450:
19451:
19452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
19453: $as_echo_n "checking for in6addr_any... " >&6; }
19454: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19455: /* end confdefs.h. */
19456: #include <sys/types.h>
19457: #include <sys/socket.h>
19458: #include <netinet/in.h>
19459: int
19460: main ()
19461: {
19462: struct in6_addr in6 __attribute__((unused));
19463: in6 = in6addr_any;
19464: ;
19465: return 0;
19466: }
19467: _ACEOF
19468: if ac_fn_c_try_compile "$LINENO"; then :
19469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19470: $as_echo "yes" >&6; };
19471:
19472: $as_echo "#define HAVE_IN6ADDR_ANY /**/" >>confdefs.h
19473:
19474: else
19475: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19476: $as_echo "no" >&6; }
19477:
19478: fi
19479: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19480:
19481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
19482: $as_echo_n "checking for in6_pktinfo... " >&6; }
19483: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484: /* end confdefs.h. */
19485: #define _GNU_SOURCE
19486: #include <sys/types.h>
19487: #include <sys/socket.h>
19488: #include <netinet/in.h>
19489: int
19490: main ()
19491: {
19492: struct in6_pktinfo pi;
19493: if (pi.ipi6_ifindex)
19494: {
19495: return 0;
19496: }
19497: ;
19498: return 0;
19499: }
19500: _ACEOF
19501: if ac_fn_c_try_compile "$LINENO"; then :
19502: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19503: $as_echo "yes" >&6; };
19504:
19505: $as_echo "#define HAVE_IN6_PKTINFO /**/" >>confdefs.h
19506:
19507: else
19508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19509: $as_echo "no" >&6; }
19510:
19511: fi
19512: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513:
19514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTM_IFANNOUNCE" >&5
19515: $as_echo_n "checking for RTM_IFANNOUNCE... " >&6; }
19516: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517: /* end confdefs.h. */
19518: #include <sys/socket.h>
19519: #include <net/if.h>
19520: #include <net/route.h>
19521: int
19522: main ()
19523: {
19524: return RTM_IFANNOUNCE;
19525: ;
19526: return 0;
19527: }
19528: _ACEOF
19529: if ac_fn_c_try_compile "$LINENO"; then :
19530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19531: $as_echo "yes" >&6; };
19532:
19533: $as_echo "#define HAVE_RTM_IFANNOUNCE /**/" >>confdefs.h
19534:
19535: else
19536: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19537: $as_echo "no" >&6; }
19538:
19539: fi
19540: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541:
19542: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_MODE_BEET" >&5
19543: $as_echo_n "checking for IPSEC_MODE_BEET... " >&6; }
19544: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19545: /* end confdefs.h. */
19546: #include <sys/types.h>
19547: #ifdef HAVE_NETIPSEC_IPSEC_H
19548: #include <netipsec/ipsec.h>
19549: #elif defined(HAVE_NETINET6_IPSEC_H)
19550: #include <netinet6/ipsec.h>
19551: #else
19552: #include <stdint.h>
19553: #include <linux/ipsec.h>
19554: #endif
19555: int
19556: main ()
19557: {
19558: int mode = IPSEC_MODE_BEET;
19559: return mode;
19560: ;
19561: return 0;
19562: }
19563: _ACEOF
19564: if ac_fn_c_try_compile "$LINENO"; then :
19565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19566: $as_echo "yes" >&6; };
19567:
19568: $as_echo "#define HAVE_IPSEC_MODE_BEET /**/" >>confdefs.h
19569:
19570: else
19571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19572: $as_echo "no" >&6; }
19573:
19574: fi
19575: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19576:
19577: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_DIR_FWD" >&5
19578: $as_echo_n "checking for IPSEC_DIR_FWD... " >&6; }
19579: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19580: /* end confdefs.h. */
19581: #include <sys/types.h>
19582: #ifdef HAVE_NETIPSEC_IPSEC_H
19583: #include <netipsec/ipsec.h>
19584: #elif defined(HAVE_NETINET6_IPSEC_H)
19585: #include <netinet6/ipsec.h>
19586: #else
19587: #include <stdint.h>
19588: #include <linux/ipsec.h>
19589: #endif
19590: int
19591: main ()
19592: {
19593: int dir = IPSEC_DIR_FWD;
19594: return dir;
19595: ;
19596: return 0;
19597: }
19598: _ACEOF
19599: if ac_fn_c_try_compile "$LINENO"; then :
19600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19601: $as_echo "yes" >&6; };
19602:
19603: $as_echo "#define HAVE_IPSEC_DIR_FWD /**/" >>confdefs.h
19604:
19605: else
19606: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19607: $as_echo "no" >&6; }
19608:
19609: fi
19610: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19611:
19612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTA_TABLE" >&5
19613: $as_echo_n "checking for RTA_TABLE... " >&6; }
19614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615: /* end confdefs.h. */
19616: #include <sys/socket.h>
19617: #include <linux/netlink.h>
19618: #include <linux/rtnetlink.h>
19619: int
19620: main ()
19621: {
19622: int rta_type = RTA_TABLE;
19623: return rta_type;
19624: ;
19625: return 0;
19626: }
19627: _ACEOF
19628: if ac_fn_c_try_compile "$LINENO"; then :
19629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19630: $as_echo "yes" >&6; };
19631:
19632: $as_echo "#define HAVE_RTA_TABLE /**/" >>confdefs.h
19633:
19634: else
19635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19636: $as_echo "no" >&6; }
19637:
19638: fi
19639: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19640:
19641: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
19642: $as_echo_n "checking for __int128... " >&6; }
19643: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644: /* end confdefs.h. */
19645: #include <sys/types.h>
19646: int
19647: main ()
19648: {
19649: __int128 x = 0;
19650: return x;
19651: ;
19652: return 0;
19653: }
19654: _ACEOF
19655: if ac_fn_c_try_compile "$LINENO"; then :
19656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19657: $as_echo "yes" >&6; };
19658:
19659: $as_echo "#define HAVE_INT128 /**/" >>confdefs.h
19660:
19661: else
19662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19663: $as_echo "no" >&6; }
19664:
19665: fi
19666: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19667:
19668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC __sync operations" >&5
19669: $as_echo_n "checking for GCC __sync operations... " >&6; }
19670: if test "$cross_compiling" = yes; then :
19671: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19672: $as_echo "no" >&6; }
19673:
19674: else
19675: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676: /* end confdefs.h. */
19677:
19678: int main() {
19679: int ref = 1;
19680: __sync_fetch_and_add (&ref, 1);
19681: __sync_sub_and_fetch (&ref, 1);
19682: __sync_val_compare_and_swap(&ref, 1, 0);
19683: return ref;
19684: }
19685:
19686: _ACEOF
19687: if ac_fn_c_try_run "$LINENO"; then :
19688: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19689: $as_echo "yes" >&6; };
19690:
19691: $as_echo "#define HAVE_GCC_SYNC_OPERATIONS /**/" >>confdefs.h
19692:
19693: else
19694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19695: $as_echo "no" >&6; }
19696: fi
19697: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19698: conftest.$ac_objext conftest.beam conftest.$ac_ext
19699: fi
19700:
19701:
19702: case "$printf_hooks" in
19703: auto|builtin|glibc|vstr)
19704: ;;
19705: *)
19706: { $as_echo "$as_me:${as_lineno-$LINENO}: invalid printf hook implementation, defaulting to 'auto'" >&5
19707: $as_echo "$as_me: invalid printf hook implementation, defaulting to 'auto'" >&6;}
19708: printf_hooks=auto
19709: ;;
19710: esac
19711:
19712: if test x$printf_hooks = xauto -o x$printf_hooks = xglibc; then
19713: # check for the new register_printf_specifier function with len argument,
19714: # or the deprecated register_printf_function without
19715: ac_fn_c_check_func "$LINENO" "register_printf_specifier" "ac_cv_func_register_printf_specifier"
19716: if test "x$ac_cv_func_register_printf_specifier" = xyes; then :
19717:
19718: $as_echo "#define HAVE_PRINTF_SPECIFIER /**/" >>confdefs.h
19719:
19720: else
19721: ac_fn_c_check_func "$LINENO" "register_printf_function" "ac_cv_func_register_printf_function"
19722: if test "x$ac_cv_func_register_printf_function" = xyes; then :
19723:
19724: $as_echo "#define HAVE_PRINTF_FUNCTION /**/" >>confdefs.h
19725:
19726: else
19727:
19728: { $as_echo "$as_me:${as_lineno-$LINENO}: printf(3) does not support custom format specifiers!" >&5
19729: $as_echo "$as_me: printf(3) does not support custom format specifiers!" >&6;}
19730: if test x$printf_hooks = xglibc; then
19731: as_fn_error $? "please select a different printf hook implementation" "$LINENO" 5
19732: else
19733: # fallback to builtin printf hook implementation
19734: printf_hooks=builtin
19735: fi
19736:
19737:
19738: fi
19739:
19740:
19741: fi
19742:
19743: fi
19744:
19745: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows target" >&5
19746: $as_echo_n "checking for Windows target... " >&6; }
19747: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748: /* end confdefs.h. */
19749: #include <windows.h>
19750: int
19751: main ()
19752: {
19753: #ifndef WIN32
19754: # error WIN32 undefined
19755: #endif
19756:
19757: ;
19758: return 0;
19759: }
19760: _ACEOF
19761: if ac_fn_c_try_compile "$LINENO"; then :
19762:
19763: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19764: $as_echo "yes" >&6; }
19765: windows=true
19766:
19767: PTHREADLIB=""
19768:
19769: # explicitly disable ms-bitfields, as it breaks __attribute__((packed))
19770: case "$CFLAGS" in
19771: *ms-bitfields*) ;;
19772: *) CFLAGS="$CFLAGS -mno-ms-bitfields" ;;
19773: esac
19774:
19775: else
19776:
19777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19778: $as_echo "no" >&6; }
19779:
19780: # check for clock_gettime() on non-Windows only. Otherwise this
19781: # check might find clock_gettime() in libwinpthread, but we don't want
19782: # to link against it.
19783: saved_LIBS=$LIBS
19784: # FreeBSD has clock_gettime in libc, Linux needs librt
19785: LIBS=""
19786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19787: $as_echo_n "checking for library containing clock_gettime... " >&6; }
19788: if ${ac_cv_search_clock_gettime+:} false; then :
19789: $as_echo_n "(cached) " >&6
19790: else
19791: ac_func_search_save_LIBS=$LIBS
19792: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793: /* end confdefs.h. */
19794:
19795: /* Override any GCC internal prototype to avoid an error.
19796: Use char because int might match the return type of a GCC
19797: builtin and then its argument prototype would still apply. */
19798: #ifdef __cplusplus
19799: extern "C"
19800: #endif
19801: char clock_gettime ();
19802: int
19803: main ()
19804: {
19805: return clock_gettime ();
19806: ;
19807: return 0;
19808: }
19809: _ACEOF
19810: for ac_lib in '' rt; do
19811: if test -z "$ac_lib"; then
19812: ac_res="none required"
19813: else
19814: ac_res=-l$ac_lib
19815: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19816: fi
19817: if ac_fn_c_try_link "$LINENO"; then :
19818: ac_cv_search_clock_gettime=$ac_res
19819: fi
19820: rm -f core conftest.err conftest.$ac_objext \
19821: conftest$ac_exeext
19822: if ${ac_cv_search_clock_gettime+:} false; then :
19823: break
19824: fi
19825: done
19826: if ${ac_cv_search_clock_gettime+:} false; then :
19827:
19828: else
19829: ac_cv_search_clock_gettime=no
19830: fi
19831: rm conftest.$ac_ext
19832: LIBS=$ac_func_search_save_LIBS
19833: fi
19834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19835: $as_echo "$ac_cv_search_clock_gettime" >&6; }
19836: ac_res=$ac_cv_search_clock_gettime
19837: if test "$ac_res" != no; then :
19838: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19839: RTLIB=$LIBS
19840: fi
19841:
19842: for ac_func in clock_gettime
19843: do :
19844: ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
19845: if test "x$ac_cv_func_clock_gettime" = xyes; then :
19846: cat >>confdefs.h <<_ACEOF
19847: #define HAVE_CLOCK_GETTIME 1
19848: _ACEOF
19849:
19850: fi
19851: done
19852:
19853:
19854: LIBS=$saved_LIBS
19855:
19856:
19857: fi
19858: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19859: if test "x$windows" = xtrue; then
19860: USE_WINDOWS_TRUE=
19861: USE_WINDOWS_FALSE='#'
19862: else
19863: USE_WINDOWS_TRUE='#'
19864: USE_WINDOWS_FALSE=
19865: fi
19866:
19867:
19868: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working __attribute__((packed))" >&5
19869: $as_echo_n "checking for working __attribute__((packed))... " >&6; }
19870: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871: /* end confdefs.h. */
19872:
19873: int
19874: main ()
19875: {
19876:
19877: struct test { char a; short b; } __attribute__((packed));
19878: char x[sizeof(struct test) == sizeof(char) + sizeof(short) ? 1 : -1]
19879: __attribute__((unused));
19880: return 0;
19881:
19882: ;
19883: return 0;
19884: }
19885: _ACEOF
19886: if ac_fn_c_try_compile "$LINENO"; then :
19887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19888: $as_echo "yes" >&6; }
19889: else
19890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19891: $as_echo "no" >&6; }; as_fn_error $? "__attribute__((packed)) does not work" "$LINENO" 5
19892:
19893: fi
19894: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19895:
19896: { $as_echo "$as_me:${as_lineno-$LINENO}: checking clang" >&5
19897: $as_echo_n "checking clang... " >&6; }
19898: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19899: /* end confdefs.h. */
19900:
19901: int
19902: main ()
19903: {
19904:
19905: #ifndef __clang__
19906: # error not using LLVM clang
19907: #endif
19908:
19909: ;
19910: return 0;
19911: }
19912: _ACEOF
19913: if ac_fn_c_try_compile "$LINENO"; then :
19914:
19915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19916: $as_echo "yes" >&6; }
19917:
19918: else
19919:
19920: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19921: $as_echo "no" >&6; }
19922: # GCC, but not MinGW requires -rdynamic for plugins
19923: if test x$windows != xtrue; then
19924: PLUGIN_CFLAGS="$PLUGIN_CFLAGS -rdynamic"
19925: fi
19926:
19927:
19928: fi
19929: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19930:
19931: { $as_echo "$as_me:${as_lineno-$LINENO}: checking x86/x64 target" >&5
19932: $as_echo_n "checking x86/x64 target... " >&6; }
19933: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934: /* end confdefs.h. */
19935:
19936: int
19937: main ()
19938: {
19939:
19940: #if !defined(__i386__) && !defined(__x86_64__)
19941: # error not on x86/x64
19942: #endif
19943:
19944: ;
19945: return 0;
19946: }
19947: _ACEOF
19948: if ac_fn_c_try_compile "$LINENO"; then :
19949:
19950: x86x64=true
19951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19952: $as_echo "yes" >&6; }
19953:
19954: else
19955: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19956: $as_echo "no" >&6; }
19957:
19958: fi
19959: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960: if test "x$x86x64" = xtrue; then
19961: USE_X86X64_TRUE=
19962: USE_X86X64_FALSE='#'
19963: else
19964: USE_X86X64_TRUE='#'
19965: USE_X86X64_FALSE=
19966: fi
19967:
19968:
19969: if test x$printf_hooks = xvstr; then
19970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vstr_init in -lvstr" >&5
19971: $as_echo_n "checking for vstr_init in -lvstr... " >&6; }
19972: if ${ac_cv_lib_vstr_vstr_init+:} false; then :
19973: $as_echo_n "(cached) " >&6
19974: else
19975: ac_check_lib_save_LIBS=$LIBS
19976: LIBS="-lvstr $LIBS"
19977: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19978: /* end confdefs.h. */
19979:
19980: /* Override any GCC internal prototype to avoid an error.
19981: Use char because int might match the return type of a GCC
19982: builtin and then its argument prototype would still apply. */
19983: #ifdef __cplusplus
19984: extern "C"
19985: #endif
19986: char vstr_init ();
19987: int
19988: main ()
19989: {
19990: return vstr_init ();
19991: ;
19992: return 0;
19993: }
19994: _ACEOF
19995: if ac_fn_c_try_link "$LINENO"; then :
19996: ac_cv_lib_vstr_vstr_init=yes
19997: else
19998: ac_cv_lib_vstr_vstr_init=no
19999: fi
20000: rm -f core conftest.err conftest.$ac_objext \
20001: conftest$ac_exeext conftest.$ac_ext
20002: LIBS=$ac_check_lib_save_LIBS
20003: fi
20004: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vstr_vstr_init" >&5
20005: $as_echo "$ac_cv_lib_vstr_vstr_init" >&6; }
20006: if test "x$ac_cv_lib_vstr_vstr_init" = xyes; then :
20007: LIBS="$LIBS"
20008: else
20009: as_fn_error $? "Vstr string library not found" "$LINENO" 5
20010: fi
20011:
20012:
20013: $as_echo "#define USE_VSTR /**/" >>confdefs.h
20014:
20015: fi
20016:
20017: if test x$printf_hooks = xbuiltin; then
20018:
20019: $as_echo "#define USE_BUILTIN_PRINTF /**/" >>confdefs.h
20020:
20021: fi
20022:
20023: if test x$gmp = xtrue; then
20024: saved_LIBS=$LIBS
20025: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
20026: $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20027: if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
20028: $as_echo_n "(cached) " >&6
20029: else
20030: ac_check_lib_save_LIBS=$LIBS
20031: LIBS="-lgmp $LIBS"
20032: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20033: /* end confdefs.h. */
20034:
20035: /* Override any GCC internal prototype to avoid an error.
20036: Use char because int might match the return type of a GCC
20037: builtin and then its argument prototype would still apply. */
20038: #ifdef __cplusplus
20039: extern "C"
20040: #endif
20041: char __gmpz_init ();
20042: int
20043: main ()
20044: {
20045: return __gmpz_init ();
20046: ;
20047: return 0;
20048: }
20049: _ACEOF
20050: if ac_fn_c_try_link "$LINENO"; then :
20051: ac_cv_lib_gmp___gmpz_init=yes
20052: else
20053: ac_cv_lib_gmp___gmpz_init=no
20054: fi
20055: rm -f core conftest.err conftest.$ac_objext \
20056: conftest$ac_exeext conftest.$ac_ext
20057: LIBS=$ac_check_lib_save_LIBS
20058: fi
20059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
20060: $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
20061: if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
20062: cat >>confdefs.h <<_ACEOF
20063: #define HAVE_LIBGMP 1
20064: _ACEOF
20065:
20066: LIBS="-lgmp $LIBS"
20067:
20068: else
20069: as_fn_error $? "GNU Multi Precision library gmp not found" "$LINENO" 5
20070: fi
20071:
20072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking mpz_powm_sec" >&5
20073: $as_echo_n "checking mpz_powm_sec... " >&6; }
20074: if test x$mpz_powm_sec = xyes; then
20075: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076: /* end confdefs.h. */
20077: #include "gmp.h"
20078: int
20079: main ()
20080: {
20081: void *x __attribute__((unused)); x = mpz_powm_sec;
20082: ;
20083: return 0;
20084: }
20085: _ACEOF
20086: if ac_fn_c_try_compile "$LINENO"; then :
20087: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20088: $as_echo "yes" >&6; };
20089:
20090: $as_echo "#define HAVE_MPZ_POWM_SEC /**/" >>confdefs.h
20091:
20092: else
20093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20094: $as_echo "no" >&6; }
20095:
20096: fi
20097: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098: else
20099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
20100: $as_echo "disabled" >&6; }
20101: fi
20102: LIBS=$saved_LIBS
20103: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gmp.h version >= 4.1.4" >&5
20104: $as_echo_n "checking gmp.h version >= 4.1.4... " >&6; }
20105: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106: /* end confdefs.h. */
20107: #include "gmp.h"
20108: int
20109: main ()
20110: {
20111:
20112: #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
20113: #error bad gmp
20114: #endif
20115: ;
20116: return 0;
20117: }
20118: _ACEOF
20119: if ac_fn_c_try_compile "$LINENO"; then :
20120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20121: $as_echo "yes" >&6; }
20122: else
20123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20124: $as_echo "no" >&6; }; as_fn_error $? "No usable gmp.h found!" "$LINENO" 5
20125:
20126: fi
20127: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128: fi
20129:
20130: if test x$ldap = xtrue; then
20131: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
20132: $as_echo_n "checking for ldap_init in -lldap... " >&6; }
20133: if ${ac_cv_lib_ldap_ldap_init+:} false; then :
20134: $as_echo_n "(cached) " >&6
20135: else
20136: ac_check_lib_save_LIBS=$LIBS
20137: LIBS="-lldap $LIBS"
20138: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20139: /* end confdefs.h. */
20140:
20141: /* Override any GCC internal prototype to avoid an error.
20142: Use char because int might match the return type of a GCC
20143: builtin and then its argument prototype would still apply. */
20144: #ifdef __cplusplus
20145: extern "C"
20146: #endif
20147: char ldap_init ();
20148: int
20149: main ()
20150: {
20151: return ldap_init ();
20152: ;
20153: return 0;
20154: }
20155: _ACEOF
20156: if ac_fn_c_try_link "$LINENO"; then :
20157: ac_cv_lib_ldap_ldap_init=yes
20158: else
20159: ac_cv_lib_ldap_ldap_init=no
20160: fi
20161: rm -f core conftest.err conftest.$ac_objext \
20162: conftest$ac_exeext conftest.$ac_ext
20163: LIBS=$ac_check_lib_save_LIBS
20164: fi
20165: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
20166: $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
20167: if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then :
20168: LIBS="$LIBS"
20169: else
20170: as_fn_error $? "LDAP library ldap not found" "$LINENO" 5
20171: fi
20172:
20173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
20174: $as_echo_n "checking for ber_free in -llber... " >&6; }
20175: if ${ac_cv_lib_lber_ber_free+:} false; then :
20176: $as_echo_n "(cached) " >&6
20177: else
20178: ac_check_lib_save_LIBS=$LIBS
20179: LIBS="-llber $LIBS"
20180: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181: /* end confdefs.h. */
20182:
20183: /* Override any GCC internal prototype to avoid an error.
20184: Use char because int might match the return type of a GCC
20185: builtin and then its argument prototype would still apply. */
20186: #ifdef __cplusplus
20187: extern "C"
20188: #endif
20189: char ber_free ();
20190: int
20191: main ()
20192: {
20193: return ber_free ();
20194: ;
20195: return 0;
20196: }
20197: _ACEOF
20198: if ac_fn_c_try_link "$LINENO"; then :
20199: ac_cv_lib_lber_ber_free=yes
20200: else
20201: ac_cv_lib_lber_ber_free=no
20202: fi
20203: rm -f core conftest.err conftest.$ac_objext \
20204: conftest$ac_exeext conftest.$ac_ext
20205: LIBS=$ac_check_lib_save_LIBS
20206: fi
20207: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
20208: $as_echo "$ac_cv_lib_lber_ber_free" >&6; }
20209: if test "x$ac_cv_lib_lber_ber_free" = xyes; then :
20210: LIBS="$LIBS"
20211: else
20212: as_fn_error $? "LDAP library lber not found" "$LINENO" 5
20213: fi
20214:
20215: ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20216: if test "x$ac_cv_header_ldap_h" = xyes; then :
20217:
20218: else
20219: as_fn_error $? "LDAP header ldap.h not found!" "$LINENO" 5
20220: fi
20221:
20222:
20223: fi
20224:
20225: if test x$curl = xtrue; then
20226: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
20227: $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
20228: if ${ac_cv_lib_curl_curl_global_init+:} false; then :
20229: $as_echo_n "(cached) " >&6
20230: else
20231: ac_check_lib_save_LIBS=$LIBS
20232: LIBS="-lcurl $LIBS"
20233: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20234: /* end confdefs.h. */
20235:
20236: /* Override any GCC internal prototype to avoid an error.
20237: Use char because int might match the return type of a GCC
20238: builtin and then its argument prototype would still apply. */
20239: #ifdef __cplusplus
20240: extern "C"
20241: #endif
20242: char curl_global_init ();
20243: int
20244: main ()
20245: {
20246: return curl_global_init ();
20247: ;
20248: return 0;
20249: }
20250: _ACEOF
20251: if ac_fn_c_try_link "$LINENO"; then :
20252: ac_cv_lib_curl_curl_global_init=yes
20253: else
20254: ac_cv_lib_curl_curl_global_init=no
20255: fi
20256: rm -f core conftest.err conftest.$ac_objext \
20257: conftest$ac_exeext conftest.$ac_ext
20258: LIBS=$ac_check_lib_save_LIBS
20259: fi
20260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
20261: $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
20262: if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
20263: LIBS="$LIBS"
20264: else
20265: as_fn_error $? "CURL library curl not found" "$LINENO" 5
20266: fi
20267:
20268: ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
20269: if test "x$ac_cv_header_curl_curl_h" = xyes; then :
20270:
20271: else
20272: as_fn_error $? "CURL header curl/curl.h not found!" "$LINENO" 5
20273: fi
20274:
20275:
20276: fi
20277:
20278: if test x$unbound = xtrue; then
20279: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_rr_get_type in -lldns" >&5
20280: $as_echo_n "checking for ldns_rr_get_type in -lldns... " >&6; }
20281: if ${ac_cv_lib_ldns_ldns_rr_get_type+:} false; then :
20282: $as_echo_n "(cached) " >&6
20283: else
20284: ac_check_lib_save_LIBS=$LIBS
20285: LIBS="-lldns $LIBS"
20286: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20287: /* end confdefs.h. */
20288:
20289: /* Override any GCC internal prototype to avoid an error.
20290: Use char because int might match the return type of a GCC
20291: builtin and then its argument prototype would still apply. */
20292: #ifdef __cplusplus
20293: extern "C"
20294: #endif
20295: char ldns_rr_get_type ();
20296: int
20297: main ()
20298: {
20299: return ldns_rr_get_type ();
20300: ;
20301: return 0;
20302: }
20303: _ACEOF
20304: if ac_fn_c_try_link "$LINENO"; then :
20305: ac_cv_lib_ldns_ldns_rr_get_type=yes
20306: else
20307: ac_cv_lib_ldns_ldns_rr_get_type=no
20308: fi
20309: rm -f core conftest.err conftest.$ac_objext \
20310: conftest$ac_exeext conftest.$ac_ext
20311: LIBS=$ac_check_lib_save_LIBS
20312: fi
20313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_rr_get_type" >&5
20314: $as_echo "$ac_cv_lib_ldns_ldns_rr_get_type" >&6; }
20315: if test "x$ac_cv_lib_ldns_ldns_rr_get_type" = xyes; then :
20316: LIBS="$LIBS"
20317: else
20318: as_fn_error $? "UNBOUND library ldns not found" "$LINENO" 5
20319: fi
20320:
20321: ac_fn_c_check_header_mongrel "$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "$ac_includes_default"
20322: if test "x$ac_cv_header_ldns_ldns_h" = xyes; then :
20323:
20324: else
20325: as_fn_error $? "UNBOUND header ldns/ldns.h not found!" "$LINENO" 5
20326: fi
20327:
20328:
20329: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound" >&5
20330: $as_echo_n "checking for ub_ctx_create in -lunbound... " >&6; }
20331: if ${ac_cv_lib_unbound_ub_ctx_create+:} false; then :
20332: $as_echo_n "(cached) " >&6
20333: else
20334: ac_check_lib_save_LIBS=$LIBS
20335: LIBS="-lunbound $LIBS"
20336: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337: /* end confdefs.h. */
20338:
20339: /* Override any GCC internal prototype to avoid an error.
20340: Use char because int might match the return type of a GCC
20341: builtin and then its argument prototype would still apply. */
20342: #ifdef __cplusplus
20343: extern "C"
20344: #endif
20345: char ub_ctx_create ();
20346: int
20347: main ()
20348: {
20349: return ub_ctx_create ();
20350: ;
20351: return 0;
20352: }
20353: _ACEOF
20354: if ac_fn_c_try_link "$LINENO"; then :
20355: ac_cv_lib_unbound_ub_ctx_create=yes
20356: else
20357: ac_cv_lib_unbound_ub_ctx_create=no
20358: fi
20359: rm -f core conftest.err conftest.$ac_objext \
20360: conftest$ac_exeext conftest.$ac_ext
20361: LIBS=$ac_check_lib_save_LIBS
20362: fi
20363: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unbound_ub_ctx_create" >&5
20364: $as_echo "$ac_cv_lib_unbound_ub_ctx_create" >&6; }
20365: if test "x$ac_cv_lib_unbound_ub_ctx_create" = xyes; then :
20366: LIBS="$LIBS"
20367: else
20368: as_fn_error $? "UNBOUND library libunbound not found" "$LINENO" 5
20369: fi
20370:
20371: ac_fn_c_check_header_mongrel "$LINENO" "unbound.h" "ac_cv_header_unbound_h" "$ac_includes_default"
20372: if test "x$ac_cv_header_unbound_h" = xyes; then :
20373:
20374: else
20375: as_fn_error $? "UNBOUND header unbound.h not found!" "$LINENO" 5
20376: fi
20377:
20378:
20379: fi
20380:
20381: if test x$soup = xtrue; then
20382:
20383: pkg_failed=no
20384: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for soup" >&5
20385: $as_echo_n "checking for soup... " >&6; }
20386:
20387: if test -n "$soup_CFLAGS"; then
20388: pkg_cv_soup_CFLAGS="$soup_CFLAGS"
20389: elif test -n "$PKG_CONFIG"; then
20390: if test -n "$PKG_CONFIG" && \
20391: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20392: ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20393: ac_status=$?
20394: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20395: test $ac_status = 0; }; then
20396: pkg_cv_soup_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
20397: test "x$?" != "x0" && pkg_failed=yes
20398: else
20399: pkg_failed=yes
20400: fi
20401: else
20402: pkg_failed=untried
20403: fi
20404: if test -n "$soup_LIBS"; then
20405: pkg_cv_soup_LIBS="$soup_LIBS"
20406: elif test -n "$PKG_CONFIG"; then
20407: if test -n "$PKG_CONFIG" && \
20408: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20409: ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20410: ac_status=$?
20411: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20412: test $ac_status = 0; }; then
20413: pkg_cv_soup_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
20414: test "x$?" != "x0" && pkg_failed=yes
20415: else
20416: pkg_failed=yes
20417: fi
20418: else
20419: pkg_failed=untried
20420: fi
20421:
20422:
20423:
20424: if test $pkg_failed = yes; then
20425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20426: $as_echo "no" >&6; }
20427:
20428: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20429: _pkg_short_errors_supported=yes
20430: else
20431: _pkg_short_errors_supported=no
20432: fi
20433: if test $_pkg_short_errors_supported = yes; then
20434: soup_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20435: else
20436: soup_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20437: fi
20438: # Put the nasty error message in config.log where it belongs
20439: echo "$soup_PKG_ERRORS" >&5
20440:
20441: as_fn_error $? "Package requirements (libsoup-2.4) were not met:
20442:
20443: $soup_PKG_ERRORS
20444:
20445: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20446: installed software in a non-standard prefix.
20447:
20448: Alternatively, you may set the environment variables soup_CFLAGS
20449: and soup_LIBS to avoid the need to call pkg-config.
20450: See the pkg-config man page for more details." "$LINENO" 5
20451: elif test $pkg_failed = untried; then
20452: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20453: $as_echo "no" >&6; }
20454: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20455: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20456: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20457: is in your PATH or set the PKG_CONFIG environment variable to the full
20458: path to pkg-config.
20459:
20460: Alternatively, you may set the environment variables soup_CFLAGS
20461: and soup_LIBS to avoid the need to call pkg-config.
20462: See the pkg-config man page for more details.
20463:
20464: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20465: See \`config.log' for more details" "$LINENO" 5; }
20466: else
20467: soup_CFLAGS=$pkg_cv_soup_CFLAGS
20468: soup_LIBS=$pkg_cv_soup_LIBS
20469: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20470: $as_echo "yes" >&6; }
20471:
20472: fi
20473:
20474:
20475: fi
20476:
20477: if test x$xml = xtrue; then
20478:
20479: pkg_failed=no
20480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
20481: $as_echo_n "checking for xml... " >&6; }
20482:
20483: if test -n "$xml_CFLAGS"; then
20484: pkg_cv_xml_CFLAGS="$xml_CFLAGS"
20485: elif test -n "$PKG_CONFIG"; then
20486: if test -n "$PKG_CONFIG" && \
20487: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
20488: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
20489: ac_status=$?
20490: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20491: test $ac_status = 0; }; then
20492: pkg_cv_xml_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
20493: test "x$?" != "x0" && pkg_failed=yes
20494: else
20495: pkg_failed=yes
20496: fi
20497: else
20498: pkg_failed=untried
20499: fi
20500: if test -n "$xml_LIBS"; then
20501: pkg_cv_xml_LIBS="$xml_LIBS"
20502: elif test -n "$PKG_CONFIG"; then
20503: if test -n "$PKG_CONFIG" && \
20504: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
20505: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
20506: ac_status=$?
20507: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20508: test $ac_status = 0; }; then
20509: pkg_cv_xml_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
20510: test "x$?" != "x0" && pkg_failed=yes
20511: else
20512: pkg_failed=yes
20513: fi
20514: else
20515: pkg_failed=untried
20516: fi
20517:
20518:
20519:
20520: if test $pkg_failed = yes; then
20521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20522: $as_echo "no" >&6; }
20523:
20524: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20525: _pkg_short_errors_supported=yes
20526: else
20527: _pkg_short_errors_supported=no
20528: fi
20529: if test $_pkg_short_errors_supported = yes; then
20530: xml_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
20531: else
20532: xml_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
20533: fi
20534: # Put the nasty error message in config.log where it belongs
20535: echo "$xml_PKG_ERRORS" >&5
20536:
20537: as_fn_error $? "Package requirements (libxml-2.0) were not met:
20538:
20539: $xml_PKG_ERRORS
20540:
20541: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20542: installed software in a non-standard prefix.
20543:
20544: Alternatively, you may set the environment variables xml_CFLAGS
20545: and xml_LIBS to avoid the need to call pkg-config.
20546: See the pkg-config man page for more details." "$LINENO" 5
20547: elif test $pkg_failed = untried; then
20548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20549: $as_echo "no" >&6; }
20550: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20551: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20552: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20553: is in your PATH or set the PKG_CONFIG environment variable to the full
20554: path to pkg-config.
20555:
20556: Alternatively, you may set the environment variables xml_CFLAGS
20557: and xml_LIBS to avoid the need to call pkg-config.
20558: See the pkg-config man page for more details.
20559:
20560: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20561: See \`config.log' for more details" "$LINENO" 5; }
20562: else
20563: xml_CFLAGS=$pkg_cv_xml_CFLAGS
20564: xml_LIBS=$pkg_cv_xml_LIBS
20565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20566: $as_echo "yes" >&6; }
20567:
20568: fi
20569:
20570:
20571: fi
20572:
20573: if test x$systemd = xtrue; then
20574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit directory" >&5
20575: $as_echo_n "checking for systemd system unit directory... " >&6; }
20576: if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
20577: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $systemdsystemunitdir" >&5
20578: $as_echo "$systemdsystemunitdir" >&6; }
20579: else
20580: as_fn_error $? "not found (try --with-systemdsystemunitdir)" "$LINENO" 5
20581: fi
20582:
20583:
20584: pkg_failed=no
20585: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
20586: $as_echo_n "checking for systemd... " >&6; }
20587:
20588: if test -n "$systemd_CFLAGS"; then
20589: pkg_cv_systemd_CFLAGS="$systemd_CFLAGS"
20590: elif test -n "$PKG_CONFIG"; then
20591: if test -n "$PKG_CONFIG" && \
20592: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
20593: ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
20594: ac_status=$?
20595: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20596: test $ac_status = 0; }; then
20597: pkg_cv_systemd_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209" 2>/dev/null`
20598: test "x$?" != "x0" && pkg_failed=yes
20599: else
20600: pkg_failed=yes
20601: fi
20602: else
20603: pkg_failed=untried
20604: fi
20605: if test -n "$systemd_LIBS"; then
20606: pkg_cv_systemd_LIBS="$systemd_LIBS"
20607: elif test -n "$PKG_CONFIG"; then
20608: if test -n "$PKG_CONFIG" && \
20609: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
20610: ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
20611: ac_status=$?
20612: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20613: test $ac_status = 0; }; then
20614: pkg_cv_systemd_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209" 2>/dev/null`
20615: test "x$?" != "x0" && pkg_failed=yes
20616: else
20617: pkg_failed=yes
20618: fi
20619: else
20620: pkg_failed=untried
20621: fi
20622:
20623:
20624:
20625: if test $pkg_failed = yes; then
20626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20627: $as_echo "no" >&6; }
20628:
20629: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20630: _pkg_short_errors_supported=yes
20631: else
20632: _pkg_short_errors_supported=no
20633: fi
20634: if test $_pkg_short_errors_supported = yes; then
20635: systemd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
20636: else
20637: systemd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
20638: fi
20639: # Put the nasty error message in config.log where it belongs
20640: echo "$systemd_PKG_ERRORS" >&5
20641:
20642:
20643: pkg_failed=no
20644: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
20645: $as_echo_n "checking for systemd_daemon... " >&6; }
20646:
20647: if test -n "$systemd_daemon_CFLAGS"; then
20648: pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
20649: elif test -n "$PKG_CONFIG"; then
20650: if test -n "$PKG_CONFIG" && \
20651: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20652: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20653: ac_status=$?
20654: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20655: test $ac_status = 0; }; then
20656: pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
20657: test "x$?" != "x0" && pkg_failed=yes
20658: else
20659: pkg_failed=yes
20660: fi
20661: else
20662: pkg_failed=untried
20663: fi
20664: if test -n "$systemd_daemon_LIBS"; then
20665: pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
20666: elif test -n "$PKG_CONFIG"; then
20667: if test -n "$PKG_CONFIG" && \
20668: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20669: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20670: ac_status=$?
20671: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20672: test $ac_status = 0; }; then
20673: pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
20674: test "x$?" != "x0" && pkg_failed=yes
20675: else
20676: pkg_failed=yes
20677: fi
20678: else
20679: pkg_failed=untried
20680: fi
20681:
20682:
20683:
20684: if test $pkg_failed = yes; then
20685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20686: $as_echo "no" >&6; }
20687:
20688: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20689: _pkg_short_errors_supported=yes
20690: else
20691: _pkg_short_errors_supported=no
20692: fi
20693: if test $_pkg_short_errors_supported = yes; then
20694: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20695: else
20696: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20697: fi
20698: # Put the nasty error message in config.log where it belongs
20699: echo "$systemd_daemon_PKG_ERRORS" >&5
20700:
20701: as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
20702:
20703: $systemd_daemon_PKG_ERRORS
20704:
20705: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20706: installed software in a non-standard prefix.
20707:
20708: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20709: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20710: See the pkg-config man page for more details." "$LINENO" 5
20711: elif test $pkg_failed = untried; then
20712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20713: $as_echo "no" >&6; }
20714: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20715: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20716: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20717: is in your PATH or set the PKG_CONFIG environment variable to the full
20718: path to pkg-config.
20719:
20720: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20721: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20722: See the pkg-config man page for more details.
20723:
20724: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20725: See \`config.log' for more details" "$LINENO" 5; }
20726: else
20727: systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
20728: systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
20729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20730: $as_echo "yes" >&6; }
20731:
20732: fi
20733:
20734:
20735:
20736: pkg_failed=no
20737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
20738: $as_echo_n "checking for systemd_journal... " >&6; }
20739:
20740: if test -n "$systemd_journal_CFLAGS"; then
20741: pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
20742: elif test -n "$PKG_CONFIG"; then
20743: if test -n "$PKG_CONFIG" && \
20744: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20745: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20746: ac_status=$?
20747: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20748: test $ac_status = 0; }; then
20749: pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
20750: test "x$?" != "x0" && pkg_failed=yes
20751: else
20752: pkg_failed=yes
20753: fi
20754: else
20755: pkg_failed=untried
20756: fi
20757: if test -n "$systemd_journal_LIBS"; then
20758: pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
20759: elif test -n "$PKG_CONFIG"; then
20760: if test -n "$PKG_CONFIG" && \
20761: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20762: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20763: ac_status=$?
20764: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20765: test $ac_status = 0; }; then
20766: pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
20767: test "x$?" != "x0" && pkg_failed=yes
20768: else
20769: pkg_failed=yes
20770: fi
20771: else
20772: pkg_failed=untried
20773: fi
20774:
20775:
20776:
20777: if test $pkg_failed = yes; then
20778: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20779: $as_echo "no" >&6; }
20780:
20781: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20782: _pkg_short_errors_supported=yes
20783: else
20784: _pkg_short_errors_supported=no
20785: fi
20786: if test $_pkg_short_errors_supported = yes; then
20787: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20788: else
20789: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20790: fi
20791: # Put the nasty error message in config.log where it belongs
20792: echo "$systemd_journal_PKG_ERRORS" >&5
20793:
20794: as_fn_error $? "Package requirements (libsystemd-journal) were not met:
20795:
20796: $systemd_journal_PKG_ERRORS
20797:
20798: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20799: installed software in a non-standard prefix.
20800:
20801: Alternatively, you may set the environment variables systemd_journal_CFLAGS
20802: and systemd_journal_LIBS to avoid the need to call pkg-config.
20803: See the pkg-config man page for more details." "$LINENO" 5
20804: elif test $pkg_failed = untried; then
20805: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20806: $as_echo "no" >&6; }
20807: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20808: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20809: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20810: is in your PATH or set the PKG_CONFIG environment variable to the full
20811: path to pkg-config.
20812:
20813: Alternatively, you may set the environment variables systemd_journal_CFLAGS
20814: and systemd_journal_LIBS to avoid the need to call pkg-config.
20815: See the pkg-config man page for more details.
20816:
20817: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20818: See \`config.log' for more details" "$LINENO" 5; }
20819: else
20820: systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
20821: systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
20822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20823: $as_echo "yes" >&6; }
20824:
20825: fi
20826:
20827:
20828:
20829: elif test $pkg_failed = untried; then
20830: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20831: $as_echo "no" >&6; }
20832:
20833: pkg_failed=no
20834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
20835: $as_echo_n "checking for systemd_daemon... " >&6; }
20836:
20837: if test -n "$systemd_daemon_CFLAGS"; then
20838: pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
20839: elif test -n "$PKG_CONFIG"; then
20840: if test -n "$PKG_CONFIG" && \
20841: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20842: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20843: ac_status=$?
20844: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20845: test $ac_status = 0; }; then
20846: pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
20847: test "x$?" != "x0" && pkg_failed=yes
20848: else
20849: pkg_failed=yes
20850: fi
20851: else
20852: pkg_failed=untried
20853: fi
20854: if test -n "$systemd_daemon_LIBS"; then
20855: pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
20856: elif test -n "$PKG_CONFIG"; then
20857: if test -n "$PKG_CONFIG" && \
20858: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20859: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20860: ac_status=$?
20861: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20862: test $ac_status = 0; }; then
20863: pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
20864: test "x$?" != "x0" && pkg_failed=yes
20865: else
20866: pkg_failed=yes
20867: fi
20868: else
20869: pkg_failed=untried
20870: fi
20871:
20872:
20873:
20874: if test $pkg_failed = yes; then
20875: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20876: $as_echo "no" >&6; }
20877:
20878: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20879: _pkg_short_errors_supported=yes
20880: else
20881: _pkg_short_errors_supported=no
20882: fi
20883: if test $_pkg_short_errors_supported = yes; then
20884: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20885: else
20886: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20887: fi
20888: # Put the nasty error message in config.log where it belongs
20889: echo "$systemd_daemon_PKG_ERRORS" >&5
20890:
20891: as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
20892:
20893: $systemd_daemon_PKG_ERRORS
20894:
20895: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20896: installed software in a non-standard prefix.
20897:
20898: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20899: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20900: See the pkg-config man page for more details." "$LINENO" 5
20901: elif test $pkg_failed = untried; then
20902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20903: $as_echo "no" >&6; }
20904: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20905: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20906: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20907: is in your PATH or set the PKG_CONFIG environment variable to the full
20908: path to pkg-config.
20909:
20910: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20911: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20912: See the pkg-config man page for more details.
20913:
20914: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20915: See \`config.log' for more details" "$LINENO" 5; }
20916: else
20917: systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
20918: systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
20919: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20920: $as_echo "yes" >&6; }
20921:
20922: fi
20923:
20924:
20925:
20926: pkg_failed=no
20927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
20928: $as_echo_n "checking for systemd_journal... " >&6; }
20929:
20930: if test -n "$systemd_journal_CFLAGS"; then
20931: pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
20932: elif test -n "$PKG_CONFIG"; then
20933: if test -n "$PKG_CONFIG" && \
20934: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20935: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20936: ac_status=$?
20937: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20938: test $ac_status = 0; }; then
20939: pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
20940: test "x$?" != "x0" && pkg_failed=yes
20941: else
20942: pkg_failed=yes
20943: fi
20944: else
20945: pkg_failed=untried
20946: fi
20947: if test -n "$systemd_journal_LIBS"; then
20948: pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
20949: elif test -n "$PKG_CONFIG"; then
20950: if test -n "$PKG_CONFIG" && \
20951: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20952: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20953: ac_status=$?
20954: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20955: test $ac_status = 0; }; then
20956: pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
20957: test "x$?" != "x0" && pkg_failed=yes
20958: else
20959: pkg_failed=yes
20960: fi
20961: else
20962: pkg_failed=untried
20963: fi
20964:
20965:
20966:
20967: if test $pkg_failed = yes; then
20968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20969: $as_echo "no" >&6; }
20970:
20971: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20972: _pkg_short_errors_supported=yes
20973: else
20974: _pkg_short_errors_supported=no
20975: fi
20976: if test $_pkg_short_errors_supported = yes; then
20977: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20978: else
20979: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20980: fi
20981: # Put the nasty error message in config.log where it belongs
20982: echo "$systemd_journal_PKG_ERRORS" >&5
20983:
20984: as_fn_error $? "Package requirements (libsystemd-journal) were not met:
20985:
20986: $systemd_journal_PKG_ERRORS
20987:
20988: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20989: installed software in a non-standard prefix.
20990:
20991: Alternatively, you may set the environment variables systemd_journal_CFLAGS
20992: and systemd_journal_LIBS to avoid the need to call pkg-config.
20993: See the pkg-config man page for more details." "$LINENO" 5
20994: elif test $pkg_failed = untried; then
20995: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20996: $as_echo "no" >&6; }
20997: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20998: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20999: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21000: is in your PATH or set the PKG_CONFIG environment variable to the full
21001: path to pkg-config.
21002:
21003: Alternatively, you may set the environment variables systemd_journal_CFLAGS
21004: and systemd_journal_LIBS to avoid the need to call pkg-config.
21005: See the pkg-config man page for more details.
21006:
21007: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21008: See \`config.log' for more details" "$LINENO" 5; }
21009: else
21010: systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
21011: systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
21012: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21013: $as_echo "yes" >&6; }
21014:
21015: fi
21016:
21017:
21018:
21019: else
21020: systemd_CFLAGS=$pkg_cv_systemd_CFLAGS
21021: systemd_LIBS=$pkg_cv_systemd_LIBS
21022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21023: $as_echo "yes" >&6; }
21024:
21025:
21026: fi
21027: saved_LIBS=$LIBS
21028: LIBS="$systemd_LIBS $systemd_daemon_LIBS"
21029: for ac_func in sd_listen_fds_with_names
21030: do :
21031: ac_fn_c_check_func "$LINENO" "sd_listen_fds_with_names" "ac_cv_func_sd_listen_fds_with_names"
21032: if test "x$ac_cv_func_sd_listen_fds_with_names" = xyes; then :
21033: cat >>confdefs.h <<_ACEOF
21034: #define HAVE_SD_LISTEN_FDS_WITH_NAMES 1
21035: _ACEOF
21036:
21037: fi
21038: done
21039:
21040: LIBS=$saved_LIBS
21041: fi
21042:
21043: if test x$tss_trousers = xtrue; then
21044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
21045: $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
21046: if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
21047: $as_echo_n "(cached) " >&6
21048: else
21049: ac_check_lib_save_LIBS=$LIBS
21050: LIBS="-ltspi $LIBS"
21051: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052: /* end confdefs.h. */
21053:
21054: /* Override any GCC internal prototype to avoid an error.
21055: Use char because int might match the return type of a GCC
21056: builtin and then its argument prototype would still apply. */
21057: #ifdef __cplusplus
21058: extern "C"
21059: #endif
21060: char Tspi_Context_Create ();
21061: int
21062: main ()
21063: {
21064: return Tspi_Context_Create ();
21065: ;
21066: return 0;
21067: }
21068: _ACEOF
21069: if ac_fn_c_try_link "$LINENO"; then :
21070: ac_cv_lib_tspi_Tspi_Context_Create=yes
21071: else
21072: ac_cv_lib_tspi_Tspi_Context_Create=no
21073: fi
21074: rm -f core conftest.err conftest.$ac_objext \
21075: conftest$ac_exeext conftest.$ac_ext
21076: LIBS=$ac_check_lib_save_LIBS
21077: fi
21078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
21079: $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
21080: if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
21081: LIBS="$LIBS"
21082: else
21083: as_fn_error $? "TrouSerS library libtspi not found" "$LINENO" 5
21084: fi
21085:
21086: ac_fn_c_check_header_mongrel "$LINENO" "trousers/tss.h" "ac_cv_header_trousers_tss_h" "$ac_includes_default"
21087: if test "x$ac_cv_header_trousers_tss_h" = xyes; then :
21088:
21089: else
21090: as_fn_error $? "TrouSerS header trousers/tss.h not found!" "$LINENO" 5
21091: fi
21092:
21093:
21094:
21095: $as_echo "#define TSS_TROUSERS /**/" >>confdefs.h
21096:
21097: fi
21098:
21099: if test x$tss_tss2 = xtrue; then
21100:
21101: pkg_failed=no
21102: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_sys" >&5
21103: $as_echo_n "checking for tss2_sys... " >&6; }
21104:
21105: if test -n "$tss2_sys_CFLAGS"; then
21106: pkg_cv_tss2_sys_CFLAGS="$tss2_sys_CFLAGS"
21107: elif test -n "$PKG_CONFIG"; then
21108: if test -n "$PKG_CONFIG" && \
21109: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
21110: ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
21111: ac_status=$?
21112: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21113: test $ac_status = 0; }; then
21114: pkg_cv_tss2_sys_CFLAGS=`$PKG_CONFIG --cflags "tss2-sys" 2>/dev/null`
21115: test "x$?" != "x0" && pkg_failed=yes
21116: else
21117: pkg_failed=yes
21118: fi
21119: else
21120: pkg_failed=untried
21121: fi
21122: if test -n "$tss2_sys_LIBS"; then
21123: pkg_cv_tss2_sys_LIBS="$tss2_sys_LIBS"
21124: elif test -n "$PKG_CONFIG"; then
21125: if test -n "$PKG_CONFIG" && \
21126: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
21127: ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
21128: ac_status=$?
21129: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21130: test $ac_status = 0; }; then
21131: pkg_cv_tss2_sys_LIBS=`$PKG_CONFIG --libs "tss2-sys" 2>/dev/null`
21132: test "x$?" != "x0" && pkg_failed=yes
21133: else
21134: pkg_failed=yes
21135: fi
21136: else
21137: pkg_failed=untried
21138: fi
21139:
21140:
21141:
21142: if test $pkg_failed = yes; then
21143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21144: $as_echo "no" >&6; }
21145:
21146: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21147: _pkg_short_errors_supported=yes
21148: else
21149: _pkg_short_errors_supported=no
21150: fi
21151: if test $_pkg_short_errors_supported = yes; then
21152: tss2_sys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-sys" 2>&1`
21153: else
21154: tss2_sys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-sys" 2>&1`
21155: fi
21156: # Put the nasty error message in config.log where it belongs
21157: echo "$tss2_sys_PKG_ERRORS" >&5
21158:
21159: tss2_sys=false
21160: elif test $pkg_failed = untried; then
21161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21162: $as_echo "no" >&6; }
21163: tss2_sys=false
21164: else
21165: tss2_sys_CFLAGS=$pkg_cv_tss2_sys_CFLAGS
21166: tss2_sys_LIBS=$pkg_cv_tss2_sys_LIBS
21167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21168: $as_echo "yes" >&6; }
21169: tss2_sys=true;
21170: $as_echo "#define TSS2_SYS /**/" >>confdefs.h
21171:
21172: fi
21173:
21174: pkg_failed=no
21175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_esys" >&5
21176: $as_echo_n "checking for tss2_esys... " >&6; }
21177:
21178: if test -n "$tss2_esys_CFLAGS"; then
21179: pkg_cv_tss2_esys_CFLAGS="$tss2_esys_CFLAGS"
21180: elif test -n "$PKG_CONFIG"; then
21181: if test -n "$PKG_CONFIG" && \
21182: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
21183: ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
21184: ac_status=$?
21185: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21186: test $ac_status = 0; }; then
21187: pkg_cv_tss2_esys_CFLAGS=`$PKG_CONFIG --cflags "tss2-esys" 2>/dev/null`
21188: test "x$?" != "x0" && pkg_failed=yes
21189: else
21190: pkg_failed=yes
21191: fi
21192: else
21193: pkg_failed=untried
21194: fi
21195: if test -n "$tss2_esys_LIBS"; then
21196: pkg_cv_tss2_esys_LIBS="$tss2_esys_LIBS"
21197: elif test -n "$PKG_CONFIG"; then
21198: if test -n "$PKG_CONFIG" && \
21199: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
21200: ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
21201: ac_status=$?
21202: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21203: test $ac_status = 0; }; then
21204: pkg_cv_tss2_esys_LIBS=`$PKG_CONFIG --libs "tss2-esys" 2>/dev/null`
21205: test "x$?" != "x0" && pkg_failed=yes
21206: else
21207: pkg_failed=yes
21208: fi
21209: else
21210: pkg_failed=untried
21211: fi
21212:
21213:
21214:
21215: if test $pkg_failed = yes; then
21216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21217: $as_echo "no" >&6; }
21218:
21219: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21220: _pkg_short_errors_supported=yes
21221: else
21222: _pkg_short_errors_supported=no
21223: fi
21224: if test $_pkg_short_errors_supported = yes; then
21225: tss2_esys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-esys" 2>&1`
21226: else
21227: tss2_esys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-esys" 2>&1`
21228: fi
21229: # Put the nasty error message in config.log where it belongs
21230: echo "$tss2_esys_PKG_ERRORS" >&5
21231:
21232: tss2_esys=false
21233: elif test $pkg_failed = untried; then
21234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21235: $as_echo "no" >&6; }
21236: tss2_esys=false
21237: else
21238: tss2_esys_CFLAGS=$pkg_cv_tss2_esys_CFLAGS
21239: tss2_esys_LIBS=$pkg_cv_tss2_esys_LIBS
21240: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21241: $as_echo "yes" >&6; }
21242: tss2_esys=true;
21243: $as_echo "#define TSS2_ESYS /**/" >>confdefs.h
21244:
21245: fi
21246: if test x$tss2_sys = xtrue; then
21247:
21248: $as_echo "#define TSS_TSS2_V2 /**/" >>confdefs.h
21249:
21250: tss2_CFLAGS="$tss2_sys_CFLAGS"
21251:
21252: tss2_LIBS="$tss2_sys_LIBS"
21253:
21254: else
21255:
21256: pkg_failed=no
21257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_tabrmd" >&5
21258: $as_echo_n "checking for tss2_tabrmd... " >&6; }
21259:
21260: if test -n "$tss2_tabrmd_CFLAGS"; then
21261: pkg_cv_tss2_tabrmd_CFLAGS="$tss2_tabrmd_CFLAGS"
21262: elif test -n "$PKG_CONFIG"; then
21263: if test -n "$PKG_CONFIG" && \
21264: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
21265: ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
21266: ac_status=$?
21267: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21268: test $ac_status = 0; }; then
21269: pkg_cv_tss2_tabrmd_CFLAGS=`$PKG_CONFIG --cflags "tcti-tabrmd" 2>/dev/null`
21270: test "x$?" != "x0" && pkg_failed=yes
21271: else
21272: pkg_failed=yes
21273: fi
21274: else
21275: pkg_failed=untried
21276: fi
21277: if test -n "$tss2_tabrmd_LIBS"; then
21278: pkg_cv_tss2_tabrmd_LIBS="$tss2_tabrmd_LIBS"
21279: elif test -n "$PKG_CONFIG"; then
21280: if test -n "$PKG_CONFIG" && \
21281: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
21282: ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
21283: ac_status=$?
21284: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21285: test $ac_status = 0; }; then
21286: pkg_cv_tss2_tabrmd_LIBS=`$PKG_CONFIG --libs "tcti-tabrmd" 2>/dev/null`
21287: test "x$?" != "x0" && pkg_failed=yes
21288: else
21289: pkg_failed=yes
21290: fi
21291: else
21292: pkg_failed=untried
21293: fi
21294:
21295:
21296:
21297: if test $pkg_failed = yes; then
21298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21299: $as_echo "no" >&6; }
21300:
21301: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21302: _pkg_short_errors_supported=yes
21303: else
21304: _pkg_short_errors_supported=no
21305: fi
21306: if test $_pkg_short_errors_supported = yes; then
21307: tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
21308: else
21309: tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
21310: fi
21311: # Put the nasty error message in config.log where it belongs
21312: echo "$tss2_tabrmd_PKG_ERRORS" >&5
21313:
21314: tss2_tabrmd=false
21315: elif test $pkg_failed = untried; then
21316: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21317: $as_echo "no" >&6; }
21318: tss2_tabrmd=false
21319: else
21320: tss2_tabrmd_CFLAGS=$pkg_cv_tss2_tabrmd_CFLAGS
21321: tss2_tabrmd_LIBS=$pkg_cv_tss2_tabrmd_LIBS
21322: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21323: $as_echo "yes" >&6; }
21324: tss2_tabrmd=true;
21325: $as_echo "#define TSS2_TCTI_TABRMD /**/" >>confdefs.h
21326:
21327: fi
21328:
21329: pkg_failed=no
21330: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_socket" >&5
21331: $as_echo_n "checking for tss2_socket... " >&6; }
21332:
21333: if test -n "$tss2_socket_CFLAGS"; then
21334: pkg_cv_tss2_socket_CFLAGS="$tss2_socket_CFLAGS"
21335: elif test -n "$PKG_CONFIG"; then
21336: if test -n "$PKG_CONFIG" && \
21337: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
21338: ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
21339: ac_status=$?
21340: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21341: test $ac_status = 0; }; then
21342: pkg_cv_tss2_socket_CFLAGS=`$PKG_CONFIG --cflags "tcti-socket" 2>/dev/null`
21343: test "x$?" != "x0" && pkg_failed=yes
21344: else
21345: pkg_failed=yes
21346: fi
21347: else
21348: pkg_failed=untried
21349: fi
21350: if test -n "$tss2_socket_LIBS"; then
21351: pkg_cv_tss2_socket_LIBS="$tss2_socket_LIBS"
21352: elif test -n "$PKG_CONFIG"; then
21353: if test -n "$PKG_CONFIG" && \
21354: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
21355: ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
21356: ac_status=$?
21357: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21358: test $ac_status = 0; }; then
21359: pkg_cv_tss2_socket_LIBS=`$PKG_CONFIG --libs "tcti-socket" 2>/dev/null`
21360: test "x$?" != "x0" && pkg_failed=yes
21361: else
21362: pkg_failed=yes
21363: fi
21364: else
21365: pkg_failed=untried
21366: fi
21367:
21368:
21369:
21370: if test $pkg_failed = yes; then
21371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21372: $as_echo "no" >&6; }
21373:
21374: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21375: _pkg_short_errors_supported=yes
21376: else
21377: _pkg_short_errors_supported=no
21378: fi
21379: if test $_pkg_short_errors_supported = yes; then
21380: tss2_socket_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-socket" 2>&1`
21381: else
21382: tss2_socket_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-socket" 2>&1`
21383: fi
21384: # Put the nasty error message in config.log where it belongs
21385: echo "$tss2_socket_PKG_ERRORS" >&5
21386:
21387: tss2_socket=false
21388: elif test $pkg_failed = untried; then
21389: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21390: $as_echo "no" >&6; }
21391: tss2_socket=false
21392: else
21393: tss2_socket_CFLAGS=$pkg_cv_tss2_socket_CFLAGS
21394: tss2_socket_LIBS=$pkg_cv_tss2_socket_LIBS
21395: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21396: $as_echo "yes" >&6; }
21397: tss2_socket=true;
21398: $as_echo "#define TSS2_TCTI_SOCKET /**/" >>confdefs.h
21399:
21400: fi
21401: if test x$tss2_tabrmd = xtrue -o x$tss2_socket = xtrue; then
21402:
21403: $as_echo "#define TSS_TSS2_V1 /**/" >>confdefs.h
21404:
21405: tss2_CFLAGS="$tss2_tabrmd_CFLAGS $tss2_socket_CFLAGS"
21406:
21407: tss2_LIBS="$tss2_tabrmd_LIBS $tss2_socket_LIBS"
21408:
21409: else
21410: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21411: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21412: as_fn_error $? "no TSS2 TCTI or SAPI libraries detected
21413: See \`config.log' for more details" "$LINENO" 5; }
21414: fi
21415: fi
21416: fi
21417:
21418: if test x$imc_swima = xtrue -o $imv_swima = xtrue; then
21419:
21420: pkg_failed=no
21421: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21422: $as_echo_n "checking for json... " >&6; }
21423:
21424: if test -n "$json_CFLAGS"; then
21425: pkg_cv_json_CFLAGS="$json_CFLAGS"
21426: elif test -n "$PKG_CONFIG"; then
21427: if test -n "$PKG_CONFIG" && \
21428: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
21429: ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
21430: ac_status=$?
21431: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21432: test $ac_status = 0; }; then
21433: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
21434: test "x$?" != "x0" && pkg_failed=yes
21435: else
21436: pkg_failed=yes
21437: fi
21438: else
21439: pkg_failed=untried
21440: fi
21441: if test -n "$json_LIBS"; then
21442: pkg_cv_json_LIBS="$json_LIBS"
21443: elif test -n "$PKG_CONFIG"; then
21444: if test -n "$PKG_CONFIG" && \
21445: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
21446: ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
21447: ac_status=$?
21448: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21449: test $ac_status = 0; }; then
21450: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
21451: test "x$?" != "x0" && pkg_failed=yes
21452: else
21453: pkg_failed=yes
21454: fi
21455: else
21456: pkg_failed=untried
21457: fi
21458:
21459:
21460:
21461: if test $pkg_failed = yes; then
21462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21463: $as_echo "no" >&6; }
21464:
21465: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21466: _pkg_short_errors_supported=yes
21467: else
21468: _pkg_short_errors_supported=no
21469: fi
21470: if test $_pkg_short_errors_supported = yes; then
21471: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
21472: else
21473: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
21474: fi
21475: # Put the nasty error message in config.log where it belongs
21476: echo "$json_PKG_ERRORS" >&5
21477:
21478:
21479: pkg_failed=no
21480: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21481: $as_echo_n "checking for json... " >&6; }
21482:
21483: if test -n "$json_CFLAGS"; then
21484: pkg_cv_json_CFLAGS="$json_CFLAGS"
21485: elif test -n "$PKG_CONFIG"; then
21486: if test -n "$PKG_CONFIG" && \
21487: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21488: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21489: ac_status=$?
21490: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21491: test $ac_status = 0; }; then
21492: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
21493: test "x$?" != "x0" && pkg_failed=yes
21494: else
21495: pkg_failed=yes
21496: fi
21497: else
21498: pkg_failed=untried
21499: fi
21500: if test -n "$json_LIBS"; then
21501: pkg_cv_json_LIBS="$json_LIBS"
21502: elif test -n "$PKG_CONFIG"; then
21503: if test -n "$PKG_CONFIG" && \
21504: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21505: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21506: ac_status=$?
21507: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21508: test $ac_status = 0; }; then
21509: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
21510: test "x$?" != "x0" && pkg_failed=yes
21511: else
21512: pkg_failed=yes
21513: fi
21514: else
21515: pkg_failed=untried
21516: fi
21517:
21518:
21519:
21520: if test $pkg_failed = yes; then
21521: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21522: $as_echo "no" >&6; }
21523:
21524: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21525: _pkg_short_errors_supported=yes
21526: else
21527: _pkg_short_errors_supported=no
21528: fi
21529: if test $_pkg_short_errors_supported = yes; then
21530: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
21531: else
21532: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
21533: fi
21534: # Put the nasty error message in config.log where it belongs
21535: echo "$json_PKG_ERRORS" >&5
21536:
21537: as_fn_error $? "Package requirements (json) were not met:
21538:
21539: $json_PKG_ERRORS
21540:
21541: Consider adjusting the PKG_CONFIG_PATH environment variable if you
21542: installed software in a non-standard prefix.
21543:
21544: Alternatively, you may set the environment variables json_CFLAGS
21545: and json_LIBS to avoid the need to call pkg-config.
21546: See the pkg-config man page for more details." "$LINENO" 5
21547: elif test $pkg_failed = untried; then
21548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21549: $as_echo "no" >&6; }
21550: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21551: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21552: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21553: is in your PATH or set the PKG_CONFIG environment variable to the full
21554: path to pkg-config.
21555:
21556: Alternatively, you may set the environment variables json_CFLAGS
21557: and json_LIBS to avoid the need to call pkg-config.
21558: See the pkg-config man page for more details.
21559:
21560: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21561: See \`config.log' for more details" "$LINENO" 5; }
21562: else
21563: json_CFLAGS=$pkg_cv_json_CFLAGS
21564: json_LIBS=$pkg_cv_json_LIBS
21565: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21566: $as_echo "yes" >&6; }
21567:
21568: fi
21569: elif test $pkg_failed = untried; then
21570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21571: $as_echo "no" >&6; }
21572:
21573: pkg_failed=no
21574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21575: $as_echo_n "checking for json... " >&6; }
21576:
21577: if test -n "$json_CFLAGS"; then
21578: pkg_cv_json_CFLAGS="$json_CFLAGS"
21579: elif test -n "$PKG_CONFIG"; then
21580: if test -n "$PKG_CONFIG" && \
21581: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21582: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21583: ac_status=$?
21584: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21585: test $ac_status = 0; }; then
21586: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
21587: test "x$?" != "x0" && pkg_failed=yes
21588: else
21589: pkg_failed=yes
21590: fi
21591: else
21592: pkg_failed=untried
21593: fi
21594: if test -n "$json_LIBS"; then
21595: pkg_cv_json_LIBS="$json_LIBS"
21596: elif test -n "$PKG_CONFIG"; then
21597: if test -n "$PKG_CONFIG" && \
21598: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21599: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21600: ac_status=$?
21601: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21602: test $ac_status = 0; }; then
21603: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
21604: test "x$?" != "x0" && pkg_failed=yes
21605: else
21606: pkg_failed=yes
21607: fi
21608: else
21609: pkg_failed=untried
21610: fi
21611:
21612:
21613:
21614: if test $pkg_failed = yes; then
21615: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21616: $as_echo "no" >&6; }
21617:
21618: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21619: _pkg_short_errors_supported=yes
21620: else
21621: _pkg_short_errors_supported=no
21622: fi
21623: if test $_pkg_short_errors_supported = yes; then
21624: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
21625: else
21626: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
21627: fi
21628: # Put the nasty error message in config.log where it belongs
21629: echo "$json_PKG_ERRORS" >&5
21630:
21631: as_fn_error $? "Package requirements (json) were not met:
21632:
21633: $json_PKG_ERRORS
21634:
21635: Consider adjusting the PKG_CONFIG_PATH environment variable if you
21636: installed software in a non-standard prefix.
21637:
21638: Alternatively, you may set the environment variables json_CFLAGS
21639: and json_LIBS to avoid the need to call pkg-config.
21640: See the pkg-config man page for more details." "$LINENO" 5
21641: elif test $pkg_failed = untried; then
21642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21643: $as_echo "no" >&6; }
21644: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21645: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21646: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21647: is in your PATH or set the PKG_CONFIG environment variable to the full
21648: path to pkg-config.
21649:
21650: Alternatively, you may set the environment variables json_CFLAGS
21651: and json_LIBS to avoid the need to call pkg-config.
21652: See the pkg-config man page for more details.
21653:
21654: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21655: See \`config.log' for more details" "$LINENO" 5; }
21656: else
21657: json_CFLAGS=$pkg_cv_json_CFLAGS
21658: json_LIBS=$pkg_cv_json_LIBS
21659: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21660: $as_echo "yes" >&6; }
21661:
21662: fi
21663: else
21664: json_CFLAGS=$pkg_cv_json_CFLAGS
21665: json_LIBS=$pkg_cv_json_LIBS
21666: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21667: $as_echo "yes" >&6; }
21668:
21669: fi
21670:
21671:
21672: fi
21673:
21674: if test x$fast = xtrue; then
21675: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf_init in -lneo_utl" >&5
21676: $as_echo_n "checking for hdf_init in -lneo_utl... " >&6; }
21677: if ${ac_cv_lib_neo_utl_hdf_init+:} false; then :
21678: $as_echo_n "(cached) " >&6
21679: else
21680: ac_check_lib_save_LIBS=$LIBS
21681: LIBS="-lneo_utl $LIBS"
21682: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21683: /* end confdefs.h. */
21684:
21685: /* Override any GCC internal prototype to avoid an error.
21686: Use char because int might match the return type of a GCC
21687: builtin and then its argument prototype would still apply. */
21688: #ifdef __cplusplus
21689: extern "C"
21690: #endif
21691: char hdf_init ();
21692: int
21693: main ()
21694: {
21695: return hdf_init ();
21696: ;
21697: return 0;
21698: }
21699: _ACEOF
21700: if ac_fn_c_try_link "$LINENO"; then :
21701: ac_cv_lib_neo_utl_hdf_init=yes
21702: else
21703: ac_cv_lib_neo_utl_hdf_init=no
21704: fi
21705: rm -f core conftest.err conftest.$ac_objext \
21706: conftest$ac_exeext conftest.$ac_ext
21707: LIBS=$ac_check_lib_save_LIBS
21708: fi
21709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_neo_utl_hdf_init" >&5
21710: $as_echo "$ac_cv_lib_neo_utl_hdf_init" >&6; }
21711: if test "x$ac_cv_lib_neo_utl_hdf_init" = xyes; then :
21712: LIBS="$LIBS"
21713: else
21714: as_fn_error $? "ClearSilver library neo_utl not found!" "$LINENO" 5
21715: fi
21716:
21717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lneo_cgi and dependencies" >&5
21718: $as_echo_n "checking for -lneo_cgi and dependencies... " >&6; }
21719: saved_CFLAGS=$CFLAGS
21720: saved_LIBS=$LIBS
21721: LIBS="-lneo_cgi -lneo_cs -lneo_utl"
21722: CFLAGS="-I/usr/include/ClearSilver"
21723: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724: /* end confdefs.h. */
21725: #include <cgi/cgi.h>
21726: int
21727: main ()
21728: {
21729: NEOERR *err = cgi_display(NULL, NULL);
21730: ;
21731: return 0;
21732: }
21733: _ACEOF
21734: if ac_fn_c_try_link "$LINENO"; then :
21735: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21736: $as_echo "yes" >&6; }
21737: else
21738: LIBS="$LIBS -lz";
21739: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740: /* end confdefs.h. */
21741: #include <cgi/cgi.h>
21742: int
21743: main ()
21744: {
21745: NEOERR *err = cgi_display(NULL, NULL);
21746: ;
21747: return 0;
21748: }
21749: _ACEOF
21750: if ac_fn_c_try_link "$LINENO"; then :
21751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, zlib required" >&5
21752: $as_echo "yes, zlib required" >&6; }
21753: else
21754: as_fn_error $? "not found" "$LINENO" 5
21755:
21756: fi
21757: rm -f core conftest.err conftest.$ac_objext \
21758: conftest$ac_exeext conftest.$ac_ext
21759:
21760: fi
21761: rm -f core conftest.err conftest.$ac_objext \
21762: conftest$ac_exeext conftest.$ac_ext
21763: clearsilver_LIBS="$LIBS"
21764:
21765: LIBS=$saved_LIBS
21766: CFLAGS=$saved_CFLAGS
21767:
21768: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGX_Init in -lfcgi" >&5
21769: $as_echo_n "checking for FCGX_Init in -lfcgi... " >&6; }
21770: if ${ac_cv_lib_fcgi_FCGX_Init+:} false; then :
21771: $as_echo_n "(cached) " >&6
21772: else
21773: ac_check_lib_save_LIBS=$LIBS
21774: LIBS="-lfcgi $LIBS"
21775: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776: /* end confdefs.h. */
21777:
21778: /* Override any GCC internal prototype to avoid an error.
21779: Use char because int might match the return type of a GCC
21780: builtin and then its argument prototype would still apply. */
21781: #ifdef __cplusplus
21782: extern "C"
21783: #endif
21784: char FCGX_Init ();
21785: int
21786: main ()
21787: {
21788: return FCGX_Init ();
21789: ;
21790: return 0;
21791: }
21792: _ACEOF
21793: if ac_fn_c_try_link "$LINENO"; then :
21794: ac_cv_lib_fcgi_FCGX_Init=yes
21795: else
21796: ac_cv_lib_fcgi_FCGX_Init=no
21797: fi
21798: rm -f core conftest.err conftest.$ac_objext \
21799: conftest$ac_exeext conftest.$ac_ext
21800: LIBS=$ac_check_lib_save_LIBS
21801: fi
21802: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGX_Init" >&5
21803: $as_echo "$ac_cv_lib_fcgi_FCGX_Init" >&6; }
21804: if test "x$ac_cv_lib_fcgi_FCGX_Init" = xyes; then :
21805: LIBS="$LIBS"
21806: else
21807: as_fn_error $? "FastCGI library fcgi not found!" "$LINENO" 5
21808: fi
21809:
21810: ac_fn_c_check_header_mongrel "$LINENO" "fcgiapp.h" "ac_cv_header_fcgiapp_h" "$ac_includes_default"
21811: if test "x$ac_cv_header_fcgiapp_h" = xyes; then :
21812:
21813: else
21814: as_fn_error $? "FastCGI header file fcgiapp.h not found!" "$LINENO" 5
21815: fi
21816:
21817:
21818: fi
21819:
21820: if test x$mysql = xtrue; then
21821: if test "x$windows" = xtrue; then
21822: ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
21823: if test "x$ac_cv_header_mysql_h" = xyes; then :
21824:
21825: else
21826: as_fn_error $? "MySQL header file mysql.h not found!" "$LINENO" 5
21827: fi
21828:
21829:
21830: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_database_init in -lmysql" >&5
21831: $as_echo_n "checking for mysql_database_init in -lmysql... " >&6; }
21832: if ${ac_cv_lib_mysql_mysql_database_init+:} false; then :
21833: $as_echo_n "(cached) " >&6
21834: else
21835: ac_check_lib_save_LIBS=$LIBS
21836: LIBS="-lmysql $LIBS"
21837: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21838: /* end confdefs.h. */
21839:
21840: /* Override any GCC internal prototype to avoid an error.
21841: Use char because int might match the return type of a GCC
21842: builtin and then its argument prototype would still apply. */
21843: #ifdef __cplusplus
21844: extern "C"
21845: #endif
21846: char mysql_database_init ();
21847: int
21848: main ()
21849: {
21850: return mysql_database_init ();
21851: ;
21852: return 0;
21853: }
21854: _ACEOF
21855: if ac_fn_c_try_link "$LINENO"; then :
21856: ac_cv_lib_mysql_mysql_database_init=yes
21857: else
21858: ac_cv_lib_mysql_mysql_database_init=no
21859: fi
21860: rm -f core conftest.err conftest.$ac_objext \
21861: conftest$ac_exeext conftest.$ac_ext
21862: LIBS=$ac_check_lib_save_LIBS
21863: fi
21864: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysql_mysql_database_init" >&5
21865: $as_echo "$ac_cv_lib_mysql_mysql_database_init" >&6; }
21866: if test "x$ac_cv_lib_mysql_mysql_database_init" = xyes; then :
21867: LIBS="$LIBS"
21868: else
21869: as_fn_error $? "MySQL library not found!" "$LINENO" 5
21870: fi
21871:
21872: MYSQLLIB=-lmysql
21873:
21874: else
21875: # Extract the first word of "mysql_config", so it can be a program name with args.
21876: set dummy mysql_config; ac_word=$2
21877: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21878: $as_echo_n "checking for $ac_word... " >&6; }
21879: if ${ac_cv_path_MYSQLCONFIG+:} false; then :
21880: $as_echo_n "(cached) " >&6
21881: else
21882: case $MYSQLCONFIG in
21883: [\\/]* | ?:[\\/]*)
21884: ac_cv_path_MYSQLCONFIG="$MYSQLCONFIG" # Let the user override the test with a path.
21885: ;;
21886: *)
21887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21888: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
21889: for as_dir in $as_dummy
21890: do
21891: IFS=$as_save_IFS
21892: test -z "$as_dir" && as_dir=.
21893: for ac_exec_ext in '' $ac_executable_extensions; do
21894: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21895: ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
21896: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21897: break 2
21898: fi
21899: done
21900: done
21901: IFS=$as_save_IFS
21902:
21903: ;;
21904: esac
21905: fi
21906: MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
21907: if test -n "$MYSQLCONFIG"; then
21908: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQLCONFIG" >&5
21909: $as_echo "$MYSQLCONFIG" >&6; }
21910: else
21911: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21912: $as_echo "no" >&6; }
21913: fi
21914:
21915:
21916: if test x$MYSQLCONFIG = x; then
21917: as_fn_error $? "mysql_config not found!" "$LINENO" 5
21918: fi
21919: MYSQLLIB=`$MYSQLCONFIG --libs_r`
21920:
21921: MYSQLCFLAG=`$MYSQLCONFIG --cflags`
21922:
21923: fi
21924: fi
21925:
21926: if test x$sqlite = xtrue; then
21927: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
21928: $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
21929: if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
21930: $as_echo_n "(cached) " >&6
21931: else
21932: ac_check_lib_save_LIBS=$LIBS
21933: LIBS="-lsqlite3 $LIBS"
21934: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21935: /* end confdefs.h. */
21936:
21937: /* Override any GCC internal prototype to avoid an error.
21938: Use char because int might match the return type of a GCC
21939: builtin and then its argument prototype would still apply. */
21940: #ifdef __cplusplus
21941: extern "C"
21942: #endif
21943: char sqlite3_open ();
21944: int
21945: main ()
21946: {
21947: return sqlite3_open ();
21948: ;
21949: return 0;
21950: }
21951: _ACEOF
21952: if ac_fn_c_try_link "$LINENO"; then :
21953: ac_cv_lib_sqlite3_sqlite3_open=yes
21954: else
21955: ac_cv_lib_sqlite3_sqlite3_open=no
21956: fi
21957: rm -f core conftest.err conftest.$ac_objext \
21958: conftest$ac_exeext conftest.$ac_ext
21959: LIBS=$ac_check_lib_save_LIBS
21960: fi
21961: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
21962: $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
21963: if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
21964: LIBS="$LIBS"
21965: else
21966: as_fn_error $? "SQLite library sqlite3 not found" "$LINENO" 5
21967: fi
21968:
21969: ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
21970: if test "x$ac_cv_header_sqlite3_h" = xyes; then :
21971:
21972: else
21973: as_fn_error $? "SQLite header sqlite3.h not found!" "$LINENO" 5
21974: fi
21975:
21976:
21977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3_prepare_v2" >&5
21978: $as_echo_n "checking sqlite3_prepare_v2... " >&6; }
21979: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21980: /* end confdefs.h. */
21981: #include <sqlite3.h>
21982: int
21983: main ()
21984: {
21985: void *test = sqlite3_prepare_v2;
21986: ;
21987: return 0;
21988: }
21989: _ACEOF
21990: if ac_fn_c_try_compile "$LINENO"; then :
21991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21992: $as_echo "yes" >&6; };
21993:
21994: $as_echo "#define HAVE_SQLITE3_PREPARE_V2 /**/" >>confdefs.h
21995:
21996: else
21997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21998: $as_echo "no" >&6; }
21999:
22000: fi
22001: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22002: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3.h version >= 3.3.1" >&5
22003: $as_echo_n "checking sqlite3.h version >= 3.3.1... " >&6; }
22004: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005: /* end confdefs.h. */
22006: #include <sqlite3.h>
22007: int
22008: main ()
22009: {
22010:
22011: #if SQLITE_VERSION_NUMBER < 3003001
22012: #error bad sqlite
22013: #endif
22014: ;
22015: return 0;
22016: }
22017: _ACEOF
22018: if ac_fn_c_try_compile "$LINENO"; then :
22019: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22020: $as_echo "yes" >&6; }
22021: else
22022: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22023: $as_echo "no" >&6; }; as_fn_error $? "SQLite version >= 3.3.1 required!" "$LINENO" 5
22024:
22025: fi
22026: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22027: fi
22028:
22029: if test x$openssl = xtrue; then
22030: if test "x$windows" = xtrue; then
22031: openssl_lib=eay32
22032: as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
22033: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
22034: $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
22035: if eval \${$as_ac_Lib+:} false; then :
22036: $as_echo_n "(cached) " >&6
22037: else
22038: ac_check_lib_save_LIBS=$LIBS
22039: LIBS="-l$openssl_lib $DLLIB $LIBS"
22040: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041: /* end confdefs.h. */
22042:
22043: /* Override any GCC internal prototype to avoid an error.
22044: Use char because int might match the return type of a GCC
22045: builtin and then its argument prototype would still apply. */
22046: #ifdef __cplusplus
22047: extern "C"
22048: #endif
22049: char EVP_CIPHER_CTX_new ();
22050: int
22051: main ()
22052: {
22053: return EVP_CIPHER_CTX_new ();
22054: ;
22055: return 0;
22056: }
22057: _ACEOF
22058: if ac_fn_c_try_link "$LINENO"; then :
22059: eval "$as_ac_Lib=yes"
22060: else
22061: eval "$as_ac_Lib=no"
22062: fi
22063: rm -f core conftest.err conftest.$ac_objext \
22064: conftest$ac_exeext conftest.$ac_ext
22065: LIBS=$ac_check_lib_save_LIBS
22066: fi
22067: eval ac_res=\$$as_ac_Lib
22068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22069: $as_echo "$ac_res" >&6; }
22070: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22071: LIBS="$LIBS"
22072: else
22073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22074: $as_echo "no" >&6; };openssl_lib=""
22075: fi
22076:
22077: fi
22078: if test -z "$openssl_lib"; then
22079: openssl_lib=crypto
22080: as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
22081: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
22082: $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
22083: if eval \${$as_ac_Lib+:} false; then :
22084: $as_echo_n "(cached) " >&6
22085: else
22086: ac_check_lib_save_LIBS=$LIBS
22087: LIBS="-l$openssl_lib $DLLIB $LIBS"
22088: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22089: /* end confdefs.h. */
22090:
22091: /* Override any GCC internal prototype to avoid an error.
22092: Use char because int might match the return type of a GCC
22093: builtin and then its argument prototype would still apply. */
22094: #ifdef __cplusplus
22095: extern "C"
22096: #endif
22097: char EVP_CIPHER_CTX_new ();
22098: int
22099: main ()
22100: {
22101: return EVP_CIPHER_CTX_new ();
22102: ;
22103: return 0;
22104: }
22105: _ACEOF
22106: if ac_fn_c_try_link "$LINENO"; then :
22107: eval "$as_ac_Lib=yes"
22108: else
22109: eval "$as_ac_Lib=no"
22110: fi
22111: rm -f core conftest.err conftest.$ac_objext \
22112: conftest$ac_exeext conftest.$ac_ext
22113: LIBS=$ac_check_lib_save_LIBS
22114: fi
22115: eval ac_res=\$$as_ac_Lib
22116: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22117: $as_echo "$ac_res" >&6; }
22118: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22119: LIBS="$LIBS"
22120: else
22121: as_fn_error $? "OpenSSL lib$openssl_lib not found" "$LINENO" 5
22122: fi
22123:
22124: fi
22125: OPENSSL_LIB=-l$openssl_lib
22126:
22127: ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
22128: if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
22129:
22130: else
22131: as_fn_error $? "OpenSSL header openssl/evp.h not found!" "$LINENO" 5
22132: fi
22133:
22134:
22135: fi
22136:
22137: if test x$wolfssl = xtrue; then
22138:
22139: pkg_failed=no
22140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfssl" >&5
22141: $as_echo_n "checking for wolfssl... " >&6; }
22142:
22143: if test -n "$wolfssl_CFLAGS"; then
22144: pkg_cv_wolfssl_CFLAGS="$wolfssl_CFLAGS"
22145: elif test -n "$PKG_CONFIG"; then
22146: if test -n "$PKG_CONFIG" && \
22147: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5
22148: ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5
22149: ac_status=$?
22150: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22151: test $ac_status = 0; }; then
22152: pkg_cv_wolfssl_CFLAGS=`$PKG_CONFIG --cflags "wolfssl" 2>/dev/null`
22153: test "x$?" != "x0" && pkg_failed=yes
22154: else
22155: pkg_failed=yes
22156: fi
22157: else
22158: pkg_failed=untried
22159: fi
22160: if test -n "$wolfssl_LIBS"; then
22161: pkg_cv_wolfssl_LIBS="$wolfssl_LIBS"
22162: elif test -n "$PKG_CONFIG"; then
22163: if test -n "$PKG_CONFIG" && \
22164: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5
22165: ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5
22166: ac_status=$?
22167: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22168: test $ac_status = 0; }; then
22169: pkg_cv_wolfssl_LIBS=`$PKG_CONFIG --libs "wolfssl" 2>/dev/null`
22170: test "x$?" != "x0" && pkg_failed=yes
22171: else
22172: pkg_failed=yes
22173: fi
22174: else
22175: pkg_failed=untried
22176: fi
22177:
22178:
22179:
22180: if test $pkg_failed = yes; then
22181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22182: $as_echo "no" >&6; }
22183:
22184: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22185: _pkg_short_errors_supported=yes
22186: else
22187: _pkg_short_errors_supported=no
22188: fi
22189: if test $_pkg_short_errors_supported = yes; then
22190: wolfssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wolfssl" 2>&1`
22191: else
22192: wolfssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wolfssl" 2>&1`
22193: fi
22194: # Put the nasty error message in config.log where it belongs
22195: echo "$wolfssl_PKG_ERRORS" >&5
22196:
22197: as_fn_error $? "Package requirements (wolfssl) were not met:
22198:
22199: $wolfssl_PKG_ERRORS
22200:
22201: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22202: installed software in a non-standard prefix.
22203:
22204: Alternatively, you may set the environment variables wolfssl_CFLAGS
22205: and wolfssl_LIBS to avoid the need to call pkg-config.
22206: See the pkg-config man page for more details." "$LINENO" 5
22207: elif test $pkg_failed = untried; then
22208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22209: $as_echo "no" >&6; }
22210: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22211: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22212: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22213: is in your PATH or set the PKG_CONFIG environment variable to the full
22214: path to pkg-config.
22215:
22216: Alternatively, you may set the environment variables wolfssl_CFLAGS
22217: and wolfssl_LIBS to avoid the need to call pkg-config.
22218: See the pkg-config man page for more details.
22219:
22220: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22221: See \`config.log' for more details" "$LINENO" 5; }
22222: else
22223: wolfssl_CFLAGS=$pkg_cv_wolfssl_CFLAGS
22224: wolfssl_LIBS=$pkg_cv_wolfssl_LIBS
22225: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22226: $as_echo "yes" >&6; }
22227:
22228: fi
22229:
22230:
22231: fi
22232:
22233: if test x$gcrypt = xtrue; then
22234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
22235: $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
22236: if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
22237: $as_echo_n "(cached) " >&6
22238: else
22239: ac_check_lib_save_LIBS=$LIBS
22240: LIBS="-lgcrypt -lgpg-error $LIBS"
22241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242: /* end confdefs.h. */
22243:
22244: /* Override any GCC internal prototype to avoid an error.
22245: Use char because int might match the return type of a GCC
22246: builtin and then its argument prototype would still apply. */
22247: #ifdef __cplusplus
22248: extern "C"
22249: #endif
22250: char gcry_control ();
22251: int
22252: main ()
22253: {
22254: return gcry_control ();
22255: ;
22256: return 0;
22257: }
22258: _ACEOF
22259: if ac_fn_c_try_link "$LINENO"; then :
22260: ac_cv_lib_gcrypt_gcry_control=yes
22261: else
22262: ac_cv_lib_gcrypt_gcry_control=no
22263: fi
22264: rm -f core conftest.err conftest.$ac_objext \
22265: conftest$ac_exeext conftest.$ac_ext
22266: LIBS=$ac_check_lib_save_LIBS
22267: fi
22268: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
22269: $as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
22270: if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
22271: LIBS="$LIBS"
22272: else
22273: as_fn_error $? "gcrypt library not found" "$LINENO" 5
22274: fi
22275:
22276: ac_fn_c_check_header_mongrel "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
22277: if test "x$ac_cv_header_gcrypt_h" = xyes; then :
22278:
22279: else
22280: as_fn_error $? "gcrypt header gcrypt.h not found!" "$LINENO" 5
22281: fi
22282:
22283:
22284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcrypt CAMELLIA cipher" >&5
22285: $as_echo_n "checking gcrypt CAMELLIA cipher... " >&6; }
22286: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287: /* end confdefs.h. */
22288: #include <gcrypt.h>
22289: int
22290: main ()
22291: {
22292: enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;
22293: ;
22294: return 0;
22295: }
22296: _ACEOF
22297: if ac_fn_c_try_compile "$LINENO"; then :
22298: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22299: $as_echo "yes" >&6; };
22300:
22301: $as_echo "#define HAVE_GCRY_CIPHER_CAMELLIA /**/" >>confdefs.h
22302:
22303: else
22304: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22305: $as_echo "no" >&6; }
22306:
22307: fi
22308: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309: fi
22310:
22311: if test x$botan = xtrue; then
22312:
22313: pkg_failed=no
22314: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for botan" >&5
22315: $as_echo_n "checking for botan... " >&6; }
22316:
22317: if test -n "$botan_CFLAGS"; then
22318: pkg_cv_botan_CFLAGS="$botan_CFLAGS"
22319: elif test -n "$PKG_CONFIG"; then
22320: if test -n "$PKG_CONFIG" && \
22321: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
22322: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
22323: ac_status=$?
22324: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22325: test $ac_status = 0; }; then
22326: pkg_cv_botan_CFLAGS=`$PKG_CONFIG --cflags "botan-2" 2>/dev/null`
22327: test "x$?" != "x0" && pkg_failed=yes
22328: else
22329: pkg_failed=yes
22330: fi
22331: else
22332: pkg_failed=untried
22333: fi
22334: if test -n "$botan_LIBS"; then
22335: pkg_cv_botan_LIBS="$botan_LIBS"
22336: elif test -n "$PKG_CONFIG"; then
22337: if test -n "$PKG_CONFIG" && \
22338: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
22339: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
22340: ac_status=$?
22341: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22342: test $ac_status = 0; }; then
22343: pkg_cv_botan_LIBS=`$PKG_CONFIG --libs "botan-2" 2>/dev/null`
22344: test "x$?" != "x0" && pkg_failed=yes
22345: else
22346: pkg_failed=yes
22347: fi
22348: else
22349: pkg_failed=untried
22350: fi
22351:
22352:
22353:
22354: if test $pkg_failed = yes; then
22355: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22356: $as_echo "no" >&6; }
22357:
22358: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22359: _pkg_short_errors_supported=yes
22360: else
22361: _pkg_short_errors_supported=no
22362: fi
22363: if test $_pkg_short_errors_supported = yes; then
22364: botan_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "botan-2" 2>&1`
22365: else
22366: botan_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "botan-2" 2>&1`
22367: fi
22368: # Put the nasty error message in config.log where it belongs
22369: echo "$botan_PKG_ERRORS" >&5
22370:
22371: as_fn_error $? "Package requirements (botan-2) were not met:
22372:
22373: $botan_PKG_ERRORS
22374:
22375: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22376: installed software in a non-standard prefix.
22377:
22378: Alternatively, you may set the environment variables botan_CFLAGS
22379: and botan_LIBS to avoid the need to call pkg-config.
22380: See the pkg-config man page for more details." "$LINENO" 5
22381: elif test $pkg_failed = untried; then
22382: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22383: $as_echo "no" >&6; }
22384: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22385: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22386: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22387: is in your PATH or set the PKG_CONFIG environment variable to the full
22388: path to pkg-config.
22389:
22390: Alternatively, you may set the environment variables botan_CFLAGS
22391: and botan_LIBS to avoid the need to call pkg-config.
22392: See the pkg-config man page for more details.
22393:
22394: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22395: See \`config.log' for more details" "$LINENO" 5; }
22396: else
22397: botan_CFLAGS=$pkg_cv_botan_CFLAGS
22398: botan_LIBS=$pkg_cv_botan_LIBS
22399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22400: $as_echo "yes" >&6; }
22401:
22402: fi
22403:
22404:
22405: fi
22406:
22407: if test x$uci = xtrue; then
22408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uci_alloc_context in -luci" >&5
22409: $as_echo_n "checking for uci_alloc_context in -luci... " >&6; }
22410: if ${ac_cv_lib_uci_uci_alloc_context+:} false; then :
22411: $as_echo_n "(cached) " >&6
22412: else
22413: ac_check_lib_save_LIBS=$LIBS
22414: LIBS="-luci $LIBS"
22415: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416: /* end confdefs.h. */
22417:
22418: /* Override any GCC internal prototype to avoid an error.
22419: Use char because int might match the return type of a GCC
22420: builtin and then its argument prototype would still apply. */
22421: #ifdef __cplusplus
22422: extern "C"
22423: #endif
22424: char uci_alloc_context ();
22425: int
22426: main ()
22427: {
22428: return uci_alloc_context ();
22429: ;
22430: return 0;
22431: }
22432: _ACEOF
22433: if ac_fn_c_try_link "$LINENO"; then :
22434: ac_cv_lib_uci_uci_alloc_context=yes
22435: else
22436: ac_cv_lib_uci_uci_alloc_context=no
22437: fi
22438: rm -f core conftest.err conftest.$ac_objext \
22439: conftest$ac_exeext conftest.$ac_ext
22440: LIBS=$ac_check_lib_save_LIBS
22441: fi
22442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uci_uci_alloc_context" >&5
22443: $as_echo "$ac_cv_lib_uci_uci_alloc_context" >&6; }
22444: if test "x$ac_cv_lib_uci_uci_alloc_context" = xyes; then :
22445: LIBS="$LIBS"
22446: else
22447: as_fn_error $? "UCI library libuci not found" "$LINENO" 5
22448: fi
22449:
22450: ac_fn_c_check_header_mongrel "$LINENO" "uci.h" "ac_cv_header_uci_h" "$ac_includes_default"
22451: if test "x$ac_cv_header_uci_h" = xyes; then :
22452:
22453: else
22454: as_fn_error $? "UCI header uci.h not found!" "$LINENO" 5
22455: fi
22456:
22457:
22458: fi
22459:
22460: if test x$android_dns = xtrue; then
22461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for property_get in -lcutils" >&5
22462: $as_echo_n "checking for property_get in -lcutils... " >&6; }
22463: if ${ac_cv_lib_cutils_property_get+:} false; then :
22464: $as_echo_n "(cached) " >&6
22465: else
22466: ac_check_lib_save_LIBS=$LIBS
22467: LIBS="-lcutils $LIBS"
22468: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469: /* end confdefs.h. */
22470:
22471: /* Override any GCC internal prototype to avoid an error.
22472: Use char because int might match the return type of a GCC
22473: builtin and then its argument prototype would still apply. */
22474: #ifdef __cplusplus
22475: extern "C"
22476: #endif
22477: char property_get ();
22478: int
22479: main ()
22480: {
22481: return property_get ();
22482: ;
22483: return 0;
22484: }
22485: _ACEOF
22486: if ac_fn_c_try_link "$LINENO"; then :
22487: ac_cv_lib_cutils_property_get=yes
22488: else
22489: ac_cv_lib_cutils_property_get=no
22490: fi
22491: rm -f core conftest.err conftest.$ac_objext \
22492: conftest$ac_exeext conftest.$ac_ext
22493: LIBS=$ac_check_lib_save_LIBS
22494: fi
22495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cutils_property_get" >&5
22496: $as_echo "$ac_cv_lib_cutils_property_get" >&6; }
22497: if test "x$ac_cv_lib_cutils_property_get" = xyes; then :
22498: LIBS="$LIBS"
22499: else
22500: as_fn_error $? "Android library libcutils not found" "$LINENO" 5
22501: fi
22502:
22503: ac_fn_c_check_header_mongrel "$LINENO" "cutils/properties.h" "ac_cv_header_cutils_properties_h" "$ac_includes_default"
22504: if test "x$ac_cv_header_cutils_properties_h" = xyes; then :
22505:
22506: else
22507: as_fn_error $? "Android header cutils/properties.h not found!" "$LINENO" 5
22508: fi
22509:
22510:
22511: # we have to force the use of libdl here because the autodetection
22512: # above does not work correctly when cross-compiling for android.
22513: DLLIB="-ldl"
22514:
22515: fi
22516:
22517: if test x$eap_sim_pcsc = xtrue; then
22518:
22519: pkg_failed=no
22520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcsclite" >&5
22521: $as_echo_n "checking for pcsclite... " >&6; }
22522:
22523: if test -n "$pcsclite_CFLAGS"; then
22524: pkg_cv_pcsclite_CFLAGS="$pcsclite_CFLAGS"
22525: elif test -n "$PKG_CONFIG"; then
22526: if test -n "$PKG_CONFIG" && \
22527: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
22528: ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
22529: ac_status=$?
22530: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22531: test $ac_status = 0; }; then
22532: pkg_cv_pcsclite_CFLAGS=`$PKG_CONFIG --cflags "libpcsclite" 2>/dev/null`
22533: test "x$?" != "x0" && pkg_failed=yes
22534: else
22535: pkg_failed=yes
22536: fi
22537: else
22538: pkg_failed=untried
22539: fi
22540: if test -n "$pcsclite_LIBS"; then
22541: pkg_cv_pcsclite_LIBS="$pcsclite_LIBS"
22542: elif test -n "$PKG_CONFIG"; then
22543: if test -n "$PKG_CONFIG" && \
22544: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
22545: ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
22546: ac_status=$?
22547: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22548: test $ac_status = 0; }; then
22549: pkg_cv_pcsclite_LIBS=`$PKG_CONFIG --libs "libpcsclite" 2>/dev/null`
22550: test "x$?" != "x0" && pkg_failed=yes
22551: else
22552: pkg_failed=yes
22553: fi
22554: else
22555: pkg_failed=untried
22556: fi
22557:
22558:
22559:
22560: if test $pkg_failed = yes; then
22561: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22562: $as_echo "no" >&6; }
22563:
22564: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22565: _pkg_short_errors_supported=yes
22566: else
22567: _pkg_short_errors_supported=no
22568: fi
22569: if test $_pkg_short_errors_supported = yes; then
22570: pcsclite_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcsclite" 2>&1`
22571: else
22572: pcsclite_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcsclite" 2>&1`
22573: fi
22574: # Put the nasty error message in config.log where it belongs
22575: echo "$pcsclite_PKG_ERRORS" >&5
22576:
22577: as_fn_error $? "Package requirements (libpcsclite) were not met:
22578:
22579: $pcsclite_PKG_ERRORS
22580:
22581: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22582: installed software in a non-standard prefix.
22583:
22584: Alternatively, you may set the environment variables pcsclite_CFLAGS
22585: and pcsclite_LIBS to avoid the need to call pkg-config.
22586: See the pkg-config man page for more details." "$LINENO" 5
22587: elif test $pkg_failed = untried; then
22588: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22589: $as_echo "no" >&6; }
22590: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22591: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22592: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22593: is in your PATH or set the PKG_CONFIG environment variable to the full
22594: path to pkg-config.
22595:
22596: Alternatively, you may set the environment variables pcsclite_CFLAGS
22597: and pcsclite_LIBS to avoid the need to call pkg-config.
22598: See the pkg-config man page for more details.
22599:
22600: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22601: See \`config.log' for more details" "$LINENO" 5; }
22602: else
22603: pcsclite_CFLAGS=$pkg_cv_pcsclite_CFLAGS
22604: pcsclite_LIBS=$pkg_cv_pcsclite_LIBS
22605: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22606: $as_echo "yes" >&6; }
22607:
22608: fi
22609:
22610:
22611: fi
22612:
22613: if test x$nm = xtrue; then
22614:
22615: pkg_failed=no
22616: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm" >&5
22617: $as_echo_n "checking for nm... " >&6; }
22618:
22619: if test -n "$nm_CFLAGS"; then
22620: pkg_cv_nm_CFLAGS="$nm_CFLAGS"
22621: elif test -n "$PKG_CONFIG"; then
22622: if test -n "$PKG_CONFIG" && \
22623: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
22624: ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
22625: ac_status=$?
22626: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22627: test $ac_status = 0; }; then
22628: pkg_cv_nm_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 libnm" 2>/dev/null`
22629: test "x$?" != "x0" && pkg_failed=yes
22630: else
22631: pkg_failed=yes
22632: fi
22633: else
22634: pkg_failed=untried
22635: fi
22636: if test -n "$nm_LIBS"; then
22637: pkg_cv_nm_LIBS="$nm_LIBS"
22638: elif test -n "$PKG_CONFIG"; then
22639: if test -n "$PKG_CONFIG" && \
22640: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
22641: ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
22642: ac_status=$?
22643: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22644: test $ac_status = 0; }; then
22645: pkg_cv_nm_LIBS=`$PKG_CONFIG --libs "gthread-2.0 libnm" 2>/dev/null`
22646: test "x$?" != "x0" && pkg_failed=yes
22647: else
22648: pkg_failed=yes
22649: fi
22650: else
22651: pkg_failed=untried
22652: fi
22653:
22654:
22655:
22656: if test $pkg_failed = yes; then
22657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22658: $as_echo "no" >&6; }
22659:
22660: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22661: _pkg_short_errors_supported=yes
22662: else
22663: _pkg_short_errors_supported=no
22664: fi
22665: if test $_pkg_short_errors_supported = yes; then
22666: nm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
22667: else
22668: nm_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
22669: fi
22670: # Put the nasty error message in config.log where it belongs
22671: echo "$nm_PKG_ERRORS" >&5
22672:
22673: as_fn_error $? "Package requirements (gthread-2.0 libnm) were not met:
22674:
22675: $nm_PKG_ERRORS
22676:
22677: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22678: installed software in a non-standard prefix.
22679:
22680: Alternatively, you may set the environment variables nm_CFLAGS
22681: and nm_LIBS to avoid the need to call pkg-config.
22682: See the pkg-config man page for more details." "$LINENO" 5
22683: elif test $pkg_failed = untried; then
22684: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22685: $as_echo "no" >&6; }
22686: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22687: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22688: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22689: is in your PATH or set the PKG_CONFIG environment variable to the full
22690: path to pkg-config.
22691:
22692: Alternatively, you may set the environment variables nm_CFLAGS
22693: and nm_LIBS to avoid the need to call pkg-config.
22694: See the pkg-config man page for more details.
22695:
22696: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22697: See \`config.log' for more details" "$LINENO" 5; }
22698: else
22699: nm_CFLAGS=$pkg_cv_nm_CFLAGS
22700: nm_LIBS=$pkg_cv_nm_LIBS
22701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22702: $as_echo "yes" >&6; }
22703:
22704: fi
22705:
22706:
22707:
22708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus policy directory" >&5
22709: $as_echo_n "checking for D-Bus policy directory... " >&6; }
22710: if test -n "$dbuspolicydir" -a "x$dbuspolicydir" != xno; then
22711: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbuspolicydir" >&5
22712: $as_echo "$dbuspolicydir" >&6; }
22713: else
22714: as_fn_error $? "not found (try --with-dbuspolicydir)" "$LINENO" 5
22715: fi
22716: fi
22717:
22718: if test x$xauth_pam = xtrue; then
22719: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
22720: $as_echo_n "checking for pam_start in -lpam... " >&6; }
22721: if ${ac_cv_lib_pam_pam_start+:} false; then :
22722: $as_echo_n "(cached) " >&6
22723: else
22724: ac_check_lib_save_LIBS=$LIBS
22725: LIBS="-lpam $LIBS"
22726: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727: /* end confdefs.h. */
22728:
22729: /* Override any GCC internal prototype to avoid an error.
22730: Use char because int might match the return type of a GCC
22731: builtin and then its argument prototype would still apply. */
22732: #ifdef __cplusplus
22733: extern "C"
22734: #endif
22735: char pam_start ();
22736: int
22737: main ()
22738: {
22739: return pam_start ();
22740: ;
22741: return 0;
22742: }
22743: _ACEOF
22744: if ac_fn_c_try_link "$LINENO"; then :
22745: ac_cv_lib_pam_pam_start=yes
22746: else
22747: ac_cv_lib_pam_pam_start=no
22748: fi
22749: rm -f core conftest.err conftest.$ac_objext \
22750: conftest$ac_exeext conftest.$ac_ext
22751: LIBS=$ac_check_lib_save_LIBS
22752: fi
22753: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
22754: $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
22755: if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
22756: LIBS="$LIBS"
22757: else
22758: as_fn_error $? "PAM library not found" "$LINENO" 5
22759: fi
22760:
22761: ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
22762: if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
22763:
22764: else
22765: as_fn_error $? "PAM header security/pam_appl.h not found!" "$LINENO" 5
22766: fi
22767:
22768:
22769: fi
22770:
22771: if test x$connmark = xtrue -o x$forecast = xtrue; then
22772:
22773: pkg_failed=no
22774: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiptc" >&5
22775: $as_echo_n "checking for libiptc... " >&6; }
22776:
22777: if test -n "$libiptc_CFLAGS"; then
22778: pkg_cv_libiptc_CFLAGS="$libiptc_CFLAGS"
22779: elif test -n "$PKG_CONFIG"; then
22780: if test -n "$PKG_CONFIG" && \
22781: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libip4tc\""; } >&5
22782: ($PKG_CONFIG --exists --print-errors "libip4tc") 2>&5
22783: ac_status=$?
22784: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22785: test $ac_status = 0; }; then
22786: pkg_cv_libiptc_CFLAGS=`$PKG_CONFIG --cflags "libip4tc" 2>/dev/null`
22787: test "x$?" != "x0" && pkg_failed=yes
22788: else
22789: pkg_failed=yes
22790: fi
22791: else
22792: pkg_failed=untried
22793: fi
22794: if test -n "$libiptc_LIBS"; then
22795: pkg_cv_libiptc_LIBS="$libiptc_LIBS"
22796: elif test -n "$PKG_CONFIG"; then
22797: if test -n "$PKG_CONFIG" && \
22798: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libip4tc\""; } >&5
22799: ($PKG_CONFIG --exists --print-errors "libip4tc") 2>&5
22800: ac_status=$?
22801: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22802: test $ac_status = 0; }; then
22803: pkg_cv_libiptc_LIBS=`$PKG_CONFIG --libs "libip4tc" 2>/dev/null`
22804: test "x$?" != "x0" && pkg_failed=yes
22805: else
22806: pkg_failed=yes
22807: fi
22808: else
22809: pkg_failed=untried
22810: fi
22811:
22812:
22813:
22814: if test $pkg_failed = yes; then
22815: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22816: $as_echo "no" >&6; }
22817:
22818: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22819: _pkg_short_errors_supported=yes
22820: else
22821: _pkg_short_errors_supported=no
22822: fi
22823: if test $_pkg_short_errors_supported = yes; then
22824: libiptc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libip4tc" 2>&1`
22825: else
22826: libiptc_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libip4tc" 2>&1`
22827: fi
22828: # Put the nasty error message in config.log where it belongs
22829: echo "$libiptc_PKG_ERRORS" >&5
22830:
22831: as_fn_error $? "Package requirements (libip4tc) were not met:
22832:
22833: $libiptc_PKG_ERRORS
22834:
22835: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22836: installed software in a non-standard prefix.
22837:
22838: Alternatively, you may set the environment variables libiptc_CFLAGS
22839: and libiptc_LIBS to avoid the need to call pkg-config.
22840: See the pkg-config man page for more details." "$LINENO" 5
22841: elif test $pkg_failed = untried; then
22842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22843: $as_echo "no" >&6; }
22844: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22845: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22846: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22847: is in your PATH or set the PKG_CONFIG environment variable to the full
22848: path to pkg-config.
22849:
22850: Alternatively, you may set the environment variables libiptc_CFLAGS
22851: and libiptc_LIBS to avoid the need to call pkg-config.
22852: See the pkg-config man page for more details.
22853:
22854: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22855: See \`config.log' for more details" "$LINENO" 5; }
22856: else
22857: libiptc_CFLAGS=$pkg_cv_libiptc_CFLAGS
22858: libiptc_LIBS=$pkg_cv_libiptc_LIBS
22859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22860: $as_echo "yes" >&6; }
22861:
22862: fi
22863:
22864:
22865: fi
22866:
22867: if test x$capabilities = xnative; then
22868: { $as_echo "$as_me:${as_lineno-$LINENO}: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&5
22869: $as_echo "$as_me: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&6;}
22870: # Linux requires the following for capset(), Android does not have it,
22871: # but defines capset() in unistd.h instead.
22872: for ac_header in sys/capability.h
22873: do :
22874: ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
22875: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
22876: cat >>confdefs.h <<_ACEOF
22877: #define HAVE_SYS_CAPABILITY_H 1
22878: _ACEOF
22879:
22880: fi
22881:
22882: done
22883:
22884: ac_fn_c_check_func "$LINENO" "capset" "ac_cv_func_capset"
22885: if test "x$ac_cv_func_capset" = xyes; then :
22886:
22887: else
22888: as_fn_error $? "capset() not found!" "$LINENO" 5
22889: fi
22890:
22891:
22892: $as_echo "#define CAPABILITIES_NATIVE /**/" >>confdefs.h
22893:
22894: fi
22895:
22896: if test x$capabilities = xlibcap; then
22897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
22898: $as_echo_n "checking for cap_init in -lcap... " >&6; }
22899: if ${ac_cv_lib_cap_cap_init+:} false; then :
22900: $as_echo_n "(cached) " >&6
22901: else
22902: ac_check_lib_save_LIBS=$LIBS
22903: LIBS="-lcap $LIBS"
22904: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905: /* end confdefs.h. */
22906:
22907: /* Override any GCC internal prototype to avoid an error.
22908: Use char because int might match the return type of a GCC
22909: builtin and then its argument prototype would still apply. */
22910: #ifdef __cplusplus
22911: extern "C"
22912: #endif
22913: char cap_init ();
22914: int
22915: main ()
22916: {
22917: return cap_init ();
22918: ;
22919: return 0;
22920: }
22921: _ACEOF
22922: if ac_fn_c_try_link "$LINENO"; then :
22923: ac_cv_lib_cap_cap_init=yes
22924: else
22925: ac_cv_lib_cap_cap_init=no
22926: fi
22927: rm -f core conftest.err conftest.$ac_objext \
22928: conftest$ac_exeext conftest.$ac_ext
22929: LIBS=$ac_check_lib_save_LIBS
22930: fi
22931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
22932: $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
22933: if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
22934: LIBS="$LIBS"
22935: else
22936: as_fn_error $? "libcap library not found" "$LINENO" 5
22937: fi
22938:
22939: ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
22940: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
22941:
22942: $as_echo "#define HAVE_SYS_CAPABILITY_H /**/" >>confdefs.h
22943:
22944: else
22945: as_fn_error $? "libcap header sys/capability.h not found!" "$LINENO" 5
22946: fi
22947:
22948:
22949:
22950: $as_echo "#define CAPABILITIES_LIBCAP /**/" >>confdefs.h
22951:
22952: fi
22953:
22954: if test x$integrity_test = xtrue; then
22955: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr()" >&5
22956: $as_echo_n "checking for dladdr()... " >&6; }
22957: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22958: /* end confdefs.h. */
22959: #define _GNU_SOURCE
22960: #include <dlfcn.h>
22961: int
22962: main ()
22963: {
22964: Dl_info info; dladdr(main, &info);
22965: ;
22966: return 0;
22967: }
22968: _ACEOF
22969: if ac_fn_c_try_compile "$LINENO"; then :
22970: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22971: $as_echo "yes" >&6; }
22972: else
22973: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22974: $as_echo "no" >&6; };
22975: as_fn_error $? "dladdr() not supported, required by integrity-test!" "$LINENO" 5
22976:
22977: fi
22978: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl_iterate_phdr()" >&5
22980: $as_echo_n "checking for dl_iterate_phdr()... " >&6; }
22981: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982: /* end confdefs.h. */
22983: #define _GNU_SOURCE
22984: #include <link.h>
22985: int
22986: main ()
22987: {
22988: dl_iterate_phdr((void*)0, (void*)0);
22989: ;
22990: return 0;
22991: }
22992: _ACEOF
22993: if ac_fn_c_try_compile "$LINENO"; then :
22994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22995: $as_echo "yes" >&6; }
22996: else
22997: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22998: $as_echo "no" >&6; };
22999: as_fn_error $? "dl_iterate_phdr() not supported, required by integrity-test!" "$LINENO" 5
23000:
23001: fi
23002: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003: fi
23004:
23005: if test x$bfd_backtraces = xtrue; then
23006: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
23007: $as_echo_n "checking for bfd_init in -lbfd... " >&6; }
23008: if ${ac_cv_lib_bfd_bfd_init+:} false; then :
23009: $as_echo_n "(cached) " >&6
23010: else
23011: ac_check_lib_save_LIBS=$LIBS
23012: LIBS="-lbfd $LIBS"
23013: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23014: /* end confdefs.h. */
23015:
23016: /* Override any GCC internal prototype to avoid an error.
23017: Use char because int might match the return type of a GCC
23018: builtin and then its argument prototype would still apply. */
23019: #ifdef __cplusplus
23020: extern "C"
23021: #endif
23022: char bfd_init ();
23023: int
23024: main ()
23025: {
23026: return bfd_init ();
23027: ;
23028: return 0;
23029: }
23030: _ACEOF
23031: if ac_fn_c_try_link "$LINENO"; then :
23032: ac_cv_lib_bfd_bfd_init=yes
23033: else
23034: ac_cv_lib_bfd_bfd_init=no
23035: fi
23036: rm -f core conftest.err conftest.$ac_objext \
23037: conftest$ac_exeext conftest.$ac_ext
23038: LIBS=$ac_check_lib_save_LIBS
23039: fi
23040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
23041: $as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
23042: if test "x$ac_cv_lib_bfd_bfd_init" = xyes; then :
23043: LIBS="$LIBS"
23044: else
23045: as_fn_error $? "binutils libbfd not found!" "$LINENO" 5
23046: fi
23047:
23048: ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
23049: if test "x$ac_cv_header_bfd_h" = xyes; then :
23050:
23051: $as_echo "#define HAVE_BFD_H /**/" >>confdefs.h
23052:
23053: else
23054: as_fn_error $? "binutils bfd.h header not found!" "$LINENO" 5
23055: fi
23056:
23057:
23058: BFDLIB="-lbfd"
23059:
23060: fi
23061:
23062: if test x$unwind_backtraces = xtrue; then
23063: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5
23064: $as_echo_n "checking for unw_backtrace in -lunwind... " >&6; }
23065: if ${ac_cv_lib_unwind_unw_backtrace+:} false; then :
23066: $as_echo_n "(cached) " >&6
23067: else
23068: ac_check_lib_save_LIBS=$LIBS
23069: LIBS="-lunwind $LIBS"
23070: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23071: /* end confdefs.h. */
23072:
23073: /* Override any GCC internal prototype to avoid an error.
23074: Use char because int might match the return type of a GCC
23075: builtin and then its argument prototype would still apply. */
23076: #ifdef __cplusplus
23077: extern "C"
23078: #endif
23079: char unw_backtrace ();
23080: int
23081: main ()
23082: {
23083: return unw_backtrace ();
23084: ;
23085: return 0;
23086: }
23087: _ACEOF
23088: if ac_fn_c_try_link "$LINENO"; then :
23089: ac_cv_lib_unwind_unw_backtrace=yes
23090: else
23091: ac_cv_lib_unwind_unw_backtrace=no
23092: fi
23093: rm -f core conftest.err conftest.$ac_objext \
23094: conftest$ac_exeext conftest.$ac_ext
23095: LIBS=$ac_check_lib_save_LIBS
23096: fi
23097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5
23098: $as_echo "$ac_cv_lib_unwind_unw_backtrace" >&6; }
23099: if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes; then :
23100: LIBS="$LIBS"
23101: else
23102: as_fn_error $? "libunwind not found!" "$LINENO" 5
23103: fi
23104:
23105: ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
23106: if test "x$ac_cv_header_libunwind_h" = xyes; then :
23107:
23108: $as_echo "#define HAVE_LIBUNWIND_H /**/" >>confdefs.h
23109:
23110: else
23111: as_fn_error $? "libunwind.h header not found!" "$LINENO" 5
23112: fi
23113:
23114:
23115: UNWINDLIB="-lunwind"
23116:
23117: fi
23118:
23119: if test "x$dev_headers" != xno; then
23120: USE_DEV_HEADERS_TRUE=
23121: USE_DEV_HEADERS_FALSE='#'
23122: else
23123: USE_DEV_HEADERS_TRUE='#'
23124: USE_DEV_HEADERS_FALSE=
23125: fi
23126:
23127: if test x$dev_headers = xyes; then
23128: dev_headers="$includedir/strongswan"
23129: fi
23130:
23131:
23132: CFLAGS="$CFLAGS -include `pwd`/config.h"
23133:
23134: if test x$tkm = xtrue; then
23135: # Extract the first word of "gprbuild", so it can be a program name with args.
23136: set dummy gprbuild; ac_word=$2
23137: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23138: $as_echo_n "checking for $ac_word... " >&6; }
23139: if ${ac_cv_path_GPRBUILD+:} false; then :
23140: $as_echo_n "(cached) " >&6
23141: else
23142: case $GPRBUILD in
23143: [\\/]* | ?:[\\/]*)
23144: ac_cv_path_GPRBUILD="$GPRBUILD" # Let the user override the test with a path.
23145: ;;
23146: *)
23147: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23148: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23149: for as_dir in $as_dummy
23150: do
23151: IFS=$as_save_IFS
23152: test -z "$as_dir" && as_dir=.
23153: for ac_exec_ext in '' $ac_executable_extensions; do
23154: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23155: ac_cv_path_GPRBUILD="$as_dir/$ac_word$ac_exec_ext"
23156: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23157: break 2
23158: fi
23159: done
23160: done
23161: IFS=$as_save_IFS
23162:
23163: ;;
23164: esac
23165: fi
23166: GPRBUILD=$ac_cv_path_GPRBUILD
23167: if test -n "$GPRBUILD"; then
23168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRBUILD" >&5
23169: $as_echo "$GPRBUILD" >&6; }
23170: else
23171: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23172: $as_echo "no" >&6; }
23173: fi
23174:
23175:
23176: if test x$GPRBUILD = x; then
23177: as_fn_error $? "gprbuild not found" "$LINENO" 5
23178: fi
23179: fi
23180:
23181: if test x$coverage = xtrue; then
23182: # Extract the first word of "lcov", so it can be a program name with args.
23183: set dummy lcov; ac_word=$2
23184: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23185: $as_echo_n "checking for $ac_word... " >&6; }
23186: if ${ac_cv_path_LCOV+:} false; then :
23187: $as_echo_n "(cached) " >&6
23188: else
23189: case $LCOV in
23190: [\\/]* | ?:[\\/]*)
23191: ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
23192: ;;
23193: *)
23194: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23195: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23196: for as_dir in $as_dummy
23197: do
23198: IFS=$as_save_IFS
23199: test -z "$as_dir" && as_dir=.
23200: for ac_exec_ext in '' $ac_executable_extensions; do
23201: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23202: ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
23203: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23204: break 2
23205: fi
23206: done
23207: done
23208: IFS=$as_save_IFS
23209:
23210: ;;
23211: esac
23212: fi
23213: LCOV=$ac_cv_path_LCOV
23214: if test -n "$LCOV"; then
23215: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
23216: $as_echo "$LCOV" >&6; }
23217: else
23218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23219: $as_echo "no" >&6; }
23220: fi
23221:
23222:
23223: if test x$LCOV = x; then
23224: as_fn_error $? "lcov not found" "$LINENO" 5
23225: fi
23226: # Extract the first word of "genhtml", so it can be a program name with args.
23227: set dummy genhtml; ac_word=$2
23228: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23229: $as_echo_n "checking for $ac_word... " >&6; }
23230: if ${ac_cv_path_GENHTML+:} false; then :
23231: $as_echo_n "(cached) " >&6
23232: else
23233: case $GENHTML in
23234: [\\/]* | ?:[\\/]*)
23235: ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
23236: ;;
23237: *)
23238: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23239: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23240: for as_dir in $as_dummy
23241: do
23242: IFS=$as_save_IFS
23243: test -z "$as_dir" && as_dir=.
23244: for ac_exec_ext in '' $ac_executable_extensions; do
23245: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23246: ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
23247: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23248: break 2
23249: fi
23250: done
23251: done
23252: IFS=$as_save_IFS
23253:
23254: ;;
23255: esac
23256: fi
23257: GENHTML=$ac_cv_path_GENHTML
23258: if test -n "$GENHTML"; then
23259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
23260: $as_echo "$GENHTML" >&6; }
23261: else
23262: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23263: $as_echo "no" >&6; }
23264: fi
23265:
23266:
23267: if test x$GENHTML = x; then
23268: as_fn_error $? "genhtml not found" "$LINENO" 5
23269: fi
23270:
23271: COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
23272: COVERAGE_LDFLAGS="-fprofile-arcs"
23273:
23274:
23275: PLUGIN_CFLAGS="$PLUGIN_CFLAGS $COVERAGE_CFLAGS"
23276:
23277: { $as_echo "$as_me:${as_lineno-$LINENO}: coverage enabled, adding \"-g -O0\" to CFLAGS" >&5
23278: $as_echo "$as_me: coverage enabled, adding \"-g -O0\" to CFLAGS" >&6;}
23279: CFLAGS="${CFLAGS} -g -O0"
23280: fi
23281:
23282: if test x$fuzzing = xtrue; then
23283: case "$libfuzzer" in
23284: "")
23285: { $as_echo "$as_me:${as_lineno-$LINENO}: fuzz targets enabled without libFuzzer, using local driver" >&5
23286: $as_echo "$as_me: fuzz targets enabled without libFuzzer, using local driver" >&6;}
23287: CFLAGS="${CFLAGS} -fsanitize=address"
23288: libfuzzer="libFuzzerLocal.a"
23289: ;;
23290: "-fsanitize=fuzzer")
23291: libfuzzer=""
23292: FUZZING_CFLAGS="-fsanitize=fuzzer"
23293:
23294: ;;
23295: *)
23296: # required for libFuzzer
23297: FUZZING_LDFLAGS="-stdlib=libc++ -lstdc++"
23298: if test "$SANITIZER" = "coverage"; then
23299: FUZZING_LDFLAGS="$FUZZING_LDFLAGS -lm"
23300: fi
23301:
23302: ;;
23303: esac
23304: fi
23305:
23306: if test x$ruby_gems = xtrue; then
23307: # Extract the first word of "gem", so it can be a program name with args.
23308: set dummy gem; ac_word=$2
23309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23310: $as_echo_n "checking for $ac_word... " >&6; }
23311: if ${ac_cv_path_GEM+:} false; then :
23312: $as_echo_n "(cached) " >&6
23313: else
23314: case $GEM in
23315: [\\/]* | ?:[\\/]*)
23316: ac_cv_path_GEM="$GEM" # Let the user override the test with a path.
23317: ;;
23318: *)
23319: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23320: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23321: for as_dir in $as_dummy
23322: do
23323: IFS=$as_save_IFS
23324: test -z "$as_dir" && as_dir=.
23325: for ac_exec_ext in '' $ac_executable_extensions; do
23326: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23327: ac_cv_path_GEM="$as_dir/$ac_word$ac_exec_ext"
23328: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23329: break 2
23330: fi
23331: done
23332: done
23333: IFS=$as_save_IFS
23334:
23335: ;;
23336: esac
23337: fi
23338: GEM=$ac_cv_path_GEM
23339: if test -n "$GEM"; then
23340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEM" >&5
23341: $as_echo "$GEM" >&6; }
23342: else
23343: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23344: $as_echo "no" >&6; }
23345: fi
23346:
23347:
23348: if test x$GEM = x; then
23349: as_fn_error $? "RubyGems package manager not found" "$LINENO" 5
23350: fi
23351: if test "x$rubygemdir" = "xgem environment gemdir"; then
23352: rubygemdir=$($GEM environment gemdir)
23353: fi
23354: RUBYGEMDIR="$rubygemdir"
23355:
23356: fi
23357: if test "x$ruby_gems_install" = xtrue; then
23358: RUBY_GEMS_INSTALL_TRUE=
23359: RUBY_GEMS_INSTALL_FALSE='#'
23360: else
23361: RUBY_GEMS_INSTALL_TRUE='#'
23362: RUBY_GEMS_INSTALL_FALSE=
23363: fi
23364:
23365:
23366: if test x$python_eggs = xtrue; then
23367: PYTHON_PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | $SED 's/dr/.dev/'`
23368:
23369: if test x$python_eggs_install = xtrue; then
23370: # Extract the first word of "easy_install", so it can be a program name with args.
23371: set dummy easy_install; ac_word=$2
23372: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23373: $as_echo_n "checking for $ac_word... " >&6; }
23374: if ${ac_cv_path_EASY_INSTALL+:} false; then :
23375: $as_echo_n "(cached) " >&6
23376: else
23377: case $EASY_INSTALL in
23378: [\\/]* | ?:[\\/]*)
23379: ac_cv_path_EASY_INSTALL="$EASY_INSTALL" # Let the user override the test with a path.
23380: ;;
23381: *)
23382: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23383: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23384: for as_dir in $as_dummy
23385: do
23386: IFS=$as_save_IFS
23387: test -z "$as_dir" && as_dir=.
23388: for ac_exec_ext in '' $ac_executable_extensions; do
23389: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23390: ac_cv_path_EASY_INSTALL="$as_dir/$ac_word$ac_exec_ext"
23391: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23392: break 2
23393: fi
23394: done
23395: done
23396: IFS=$as_save_IFS
23397:
23398: ;;
23399: esac
23400: fi
23401: EASY_INSTALL=$ac_cv_path_EASY_INSTALL
23402: if test -n "$EASY_INSTALL"; then
23403: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EASY_INSTALL" >&5
23404: $as_echo "$EASY_INSTALL" >&6; }
23405: else
23406: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23407: $as_echo "no" >&6; }
23408: fi
23409:
23410:
23411: if test x$EASY_INSTALL = x; then
23412: as_fn_error $? "Python easy_install not found" "$LINENO" 5
23413: fi
23414: fi
23415: if test "x$pythoneggdir" = "xmain site-packages directory"; then
23416: PYTHONEGGINSTALLDIR=""
23417:
23418: else
23419: PYTHONEGGINSTALLDIR="--install-dir $pythoneggdir"
23420:
23421: fi
23422: # Extract the first word of "tox", so it can be a program name with args.
23423: set dummy tox; ac_word=$2
23424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23425: $as_echo_n "checking for $ac_word... " >&6; }
23426: if ${ac_cv_path_TOX+:} false; then :
23427: $as_echo_n "(cached) " >&6
23428: else
23429: case $TOX in
23430: [\\/]* | ?:[\\/]*)
23431: ac_cv_path_TOX="$TOX" # Let the user override the test with a path.
23432: ;;
23433: *)
23434: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23435: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23436: for as_dir in $as_dummy
23437: do
23438: IFS=$as_save_IFS
23439: test -z "$as_dir" && as_dir=.
23440: for ac_exec_ext in '' $ac_executable_extensions; do
23441: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23442: ac_cv_path_TOX="$as_dir/$ac_word$ac_exec_ext"
23443: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23444: break 2
23445: fi
23446: done
23447: done
23448: IFS=$as_save_IFS
23449:
23450: ;;
23451: esac
23452: fi
23453: TOX=$ac_cv_path_TOX
23454: if test -n "$TOX"; then
23455: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOX" >&5
23456: $as_echo "$TOX" >&6; }
23457: else
23458: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23459: $as_echo "no" >&6; }
23460: fi
23461:
23462:
23463: # Extract the first word of "py.test", so it can be a program name with args.
23464: set dummy py.test; ac_word=$2
23465: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23466: $as_echo_n "checking for $ac_word... " >&6; }
23467: if ${ac_cv_path_PY_TEST+:} false; then :
23468: $as_echo_n "(cached) " >&6
23469: else
23470: case $PY_TEST in
23471: [\\/]* | ?:[\\/]*)
23472: ac_cv_path_PY_TEST="$PY_TEST" # Let the user override the test with a path.
23473: ;;
23474: *)
23475: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23476: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23477: for as_dir in $as_dummy
23478: do
23479: IFS=$as_save_IFS
23480: test -z "$as_dir" && as_dir=.
23481: for ac_exec_ext in '' $ac_executable_extensions; do
23482: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23483: ac_cv_path_PY_TEST="$as_dir/$ac_word$ac_exec_ext"
23484: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23485: break 2
23486: fi
23487: done
23488: done
23489: IFS=$as_save_IFS
23490:
23491: ;;
23492: esac
23493: fi
23494: PY_TEST=$ac_cv_path_PY_TEST
23495: if test -n "$PY_TEST"; then
23496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_TEST" >&5
23497: $as_echo "$PY_TEST" >&6; }
23498: else
23499: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23500: $as_echo "no" >&6; }
23501: fi
23502:
23503:
23504: fi
23505: if test "x$python_eggs_install" = xtrue; then
23506: PYTHON_EGGS_INSTALL_TRUE=
23507: PYTHON_EGGS_INSTALL_FALSE='#'
23508: else
23509: PYTHON_EGGS_INSTALL_TRUE='#'
23510: PYTHON_EGGS_INSTALL_FALSE=
23511: fi
23512:
23513:
23514: if test "x$perl_cpan_install" = xtrue; then
23515: PERL_CPAN_INSTALL_TRUE=
23516: PERL_CPAN_INSTALL_FALSE='#'
23517: else
23518: PERL_CPAN_INSTALL_TRUE='#'
23519: PERL_CPAN_INSTALL_FALSE=
23520: fi
23521:
23522:
23523: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if plugin constructors should be resolved statically" >&5
23524: $as_echo_n "checking if plugin constructors should be resolved statically... " >&6; }
23525: if ${ss_cv_static_plugin_constructors+:} false; then :
23526: $as_echo_n "(cached) " >&6
23527: else
23528: if test x$monolithic = xtrue -a x$enable_static = xyes; then
23529: ss_cv_static_plugin_constructors=yes
23530: else
23531: ss_cv_static_plugin_constructors="no (enabled for static, monolithic builds)"
23532: fi
23533:
23534: fi
23535: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ss_cv_static_plugin_constructors" >&5
23536: $as_echo "$ss_cv_static_plugin_constructors" >&6; }
23537: if test "x$ss_cv_static_plugin_constructors" = xyes; then
23538: static_plugin_constructors=true
23539: if test "$PYTHON" = ":"; then
23540: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23541: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23542: as_fn_error $? "Python is required to resolve plugin constructors statically
23543: See \`config.log' for more details" "$LINENO" 5; }
23544: fi
23545: fi
23546:
23547: # ===============================================
23548: # collect plugin list for strongSwan components
23549: # ===============================================
23550:
23551: # ADD_PLUGIN(plugin, category list)
23552: # -----------------------------------
23553: # Append the plugin name $1 to the category list variable $2_plugin
23554:
23555:
23556:
23557: # plugin lists for all components
23558: charon_plugins=
23559: starter_plugins=
23560: pool_plugins=
23561: attest_plugins=
23562: scepclient_plugins=
23563: pki_plugins=
23564: scripts_plugins=
23565: fuzz_plugins=
23566: manager_plugins=
23567: medsrv_plugins=
23568: nm_plugins=
23569: cmd_plugins=
23570: aikgen_plugins=
23571:
23572: # location specific lists for checksumming,
23573: # for src/libcharon, src/libstrongswan, src/libtnccs and src/libtpmtss
23574: c_plugins=
23575: s_plugins=
23576: t_plugins=
23577: p_plugins=
23578:
23579: if test x$test_vectors = xtrue; then
23580: s_plugins=${s_plugins}" test-vectors"
23581: charon_plugins=${charon_plugins}" test-vectors"
23582: scepclient_plugins=${scepclient_plugins}" test-vectors"
23583: pki_plugins=${pki_plugins}" test-vectors"
23584:
23585: fi
23586:
23587: if test x$unbound = xtrue; then
23588: s_plugins=${s_plugins}" unbound"
23589: charon_plugins=${charon_plugins}" unbound"
23590: scripts_plugins=${scripts_plugins}" unbound"
23591:
23592: fi
23593:
23594: if test x$ldap = xtrue; then
23595: s_plugins=${s_plugins}" ldap"
23596: charon_plugins=${charon_plugins}" ldap"
23597: scepclient_plugins=${scepclient_plugins}" ldap"
23598: scripts_plugins=${scripts_plugins}" ldap"
23599: nm_plugins=${nm_plugins}" ldap"
23600: cmd_plugins=${cmd_plugins}" ldap"
23601:
23602: fi
23603:
23604: if test x$pkcs11 = xtrue; then
23605: s_plugins=${s_plugins}" pkcs11"
23606: charon_plugins=${charon_plugins}" pkcs11"
23607: pki_plugins=${pki_plugins}" pkcs11"
23608: nm_plugins=${nm_plugins}" pkcs11"
23609: cmd_plugins=${cmd_plugins}" pkcs11"
23610:
23611: fi
23612:
23613: if test x$tpm = xtrue; then
23614: p_plugins=${p_plugins}" tpm"
23615: charon_plugins=${charon_plugins}" tpm"
23616: pki_plugins=${pki_plugins}" tpm"
23617: nm_plugins=${nm_plugins}" tpm"
23618: cmd_plugins=${cmd_plugins}" tpm"
23619:
23620: fi
23621:
23622: if test x$aesni = xtrue; then
23623: s_plugins=${s_plugins}" aesni"
23624: charon_plugins=${charon_plugins}" aesni"
23625: scepclient_plugins=${scepclient_plugins}" aesni"
23626: pki_plugins=${pki_plugins}" aesni"
23627: scripts_plugins=${scripts_plugins}" aesni"
23628: medsrv_plugins=${medsrv_plugins}" aesni"
23629: attest_plugins=${attest_plugins}" aesni"
23630: nm_plugins=${nm_plugins}" aesni"
23631: cmd_plugins=${cmd_plugins}" aesni"
23632: aikgen_plugins=${aikgen_plugins}" aesni"
23633:
23634: fi
23635:
23636: if test x$aes = xtrue; then
23637: s_plugins=${s_plugins}" aes"
23638: charon_plugins=${charon_plugins}" aes"
23639: scepclient_plugins=${scepclient_plugins}" aes"
23640: pki_plugins=${pki_plugins}" aes"
23641: scripts_plugins=${scripts_plugins}" aes"
23642: nm_plugins=${nm_plugins}" aes"
23643: cmd_plugins=${cmd_plugins}" aes"
23644:
23645: fi
23646:
23647: if test x$des = xtrue; then
23648: s_plugins=${s_plugins}" des"
23649: charon_plugins=${charon_plugins}" des"
23650: scepclient_plugins=${scepclient_plugins}" des"
23651: pki_plugins=${pki_plugins}" des"
23652: scripts_plugins=${scripts_plugins}" des"
23653: nm_plugins=${nm_plugins}" des"
23654: cmd_plugins=${cmd_plugins}" des"
23655:
23656: fi
23657:
23658: if test x$blowfish = xtrue; then
23659: s_plugins=${s_plugins}" blowfish"
23660: charon_plugins=${charon_plugins}" blowfish"
23661: scepclient_plugins=${scepclient_plugins}" blowfish"
23662: pki_plugins=${pki_plugins}" blowfish"
23663: scripts_plugins=${scripts_plugins}" blowfish"
23664: nm_plugins=${nm_plugins}" blowfish"
23665: cmd_plugins=${cmd_plugins}" blowfish"
23666:
23667: fi
23668:
23669: if test x$rc2 = xtrue; then
23670: s_plugins=${s_plugins}" rc2"
23671: charon_plugins=${charon_plugins}" rc2"
23672: scepclient_plugins=${scepclient_plugins}" rc2"
23673: pki_plugins=${pki_plugins}" rc2"
23674: scripts_plugins=${scripts_plugins}" rc2"
23675: nm_plugins=${nm_plugins}" rc2"
23676: cmd_plugins=${cmd_plugins}" rc2"
23677:
23678: fi
23679:
23680: if test x$sha2 = xtrue; then
23681: s_plugins=${s_plugins}" sha2"
23682: charon_plugins=${charon_plugins}" sha2"
23683: scepclient_plugins=${scepclient_plugins}" sha2"
23684: pki_plugins=${pki_plugins}" sha2"
23685: scripts_plugins=${scripts_plugins}" sha2"
23686: medsrv_plugins=${medsrv_plugins}" sha2"
23687: attest_plugins=${attest_plugins}" sha2"
23688: nm_plugins=${nm_plugins}" sha2"
23689: cmd_plugins=${cmd_plugins}" sha2"
23690: aikgen_plugins=${aikgen_plugins}" sha2"
23691: fuzz_plugins=${fuzz_plugins}" sha2"
23692:
23693: fi
23694:
23695: if test x$sha3 = xtrue; then
23696: s_plugins=${s_plugins}" sha3"
23697: charon_plugins=${charon_plugins}" sha3"
23698: scepclient_plugins=${scepclient_plugins}" sha3"
23699: pki_plugins=${pki_plugins}" sha3"
23700: scripts_plugins=${scripts_plugins}" sha3"
23701: medsrv_plugins=${medsrv_plugins}" sha3"
23702: attest_plugins=${attest_plugins}" sha3"
23703: nm_plugins=${nm_plugins}" sha3"
23704: cmd_plugins=${cmd_plugins}" sha3"
23705: aikgen_plugins=${aikgen_plugins}" sha3"
23706: fuzz_plugins=${fuzz_plugins}" sha3"
23707:
23708: fi
23709:
23710: if test x$sha1 = xtrue; then
23711: s_plugins=${s_plugins}" sha1"
23712: charon_plugins=${charon_plugins}" sha1"
23713: scepclient_plugins=${scepclient_plugins}" sha1"
23714: pki_plugins=${pki_plugins}" sha1"
23715: scripts_plugins=${scripts_plugins}" sha1"
23716: manager_plugins=${manager_plugins}" sha1"
23717: medsrv_plugins=${medsrv_plugins}" sha1"
23718: attest_plugins=${attest_plugins}" sha1"
23719: nm_plugins=${nm_plugins}" sha1"
23720: cmd_plugins=${cmd_plugins}" sha1"
23721: aikgen_plugins=${aikgen_plugins}" sha1"
23722: fuzz_plugins=${fuzz_plugins}" sha1"
23723:
23724: fi
23725:
23726: if test x$md4 = xtrue; then
23727: s_plugins=${s_plugins}" md4"
23728: charon_plugins=${charon_plugins}" md4"
23729: scepclient_plugins=${scepclient_plugins}" md4"
23730: pki_plugins=${pki_plugins}" md4"
23731: nm_plugins=${nm_plugins}" md4"
23732: cmd_plugins=${cmd_plugins}" md4"
23733:
23734: fi
23735:
23736: if test x$md5 = xtrue; then
23737: s_plugins=${s_plugins}" md5"
23738: charon_plugins=${charon_plugins}" md5"
23739: scepclient_plugins=${scepclient_plugins}" md5"
23740: pki_plugins=${pki_plugins}" md5"
23741: scripts_plugins=${scripts_plugins}" md5"
23742: attest_plugins=${attest_plugins}" md5"
23743: nm_plugins=${nm_plugins}" md5"
23744: cmd_plugins=${cmd_plugins}" md5"
23745: aikgen_plugins=${aikgen_plugins}" md5"
23746:
23747: fi
23748:
23749: if test x$mgf1 = xtrue; then
23750: s_plugins=${s_plugins}" mgf1"
23751: charon_plugins=${charon_plugins}" mgf1"
23752: scepclient_plugins=${scepclient_plugins}" mgf1"
23753: pki_plugins=${pki_plugins}" mgf1"
23754: scripts_plugins=${scripts_plugins}" mgf1"
23755: medsrv_plugins=${medsrv_plugins}" mgf1"
23756: attest_plugins=${attest_plugins}" mgf1"
23757: nm_plugins=${nm_plugins}" mgf1"
23758: cmd_plugins=${cmd_plugins}" mgf1"
23759: aikgen_plugins=${aikgen_plugins}" mgf1"
23760:
23761: fi
23762:
23763: if test x$rdrand = xtrue; then
23764: s_plugins=${s_plugins}" rdrand"
23765: charon_plugins=${charon_plugins}" rdrand"
23766: scepclient_plugins=${scepclient_plugins}" rdrand"
23767: pki_plugins=${pki_plugins}" rdrand"
23768: scripts_plugins=${scripts_plugins}" rdrand"
23769: medsrv_plugins=${medsrv_plugins}" rdrand"
23770: attest_plugins=${attest_plugins}" rdrand"
23771: nm_plugins=${nm_plugins}" rdrand"
23772: cmd_plugins=${cmd_plugins}" rdrand"
23773: aikgen_plugins=${aikgen_plugins}" rdrand"
23774:
23775: fi
23776:
23777: if test x$random = xtrue; then
23778: s_plugins=${s_plugins}" random"
23779: charon_plugins=${charon_plugins}" random"
23780: scepclient_plugins=${scepclient_plugins}" random"
23781: pki_plugins=${pki_plugins}" random"
23782: scripts_plugins=${scripts_plugins}" random"
23783: manager_plugins=${manager_plugins}" random"
23784: medsrv_plugins=${medsrv_plugins}" random"
23785: attest_plugins=${attest_plugins}" random"
23786: nm_plugins=${nm_plugins}" random"
23787: cmd_plugins=${cmd_plugins}" random"
23788: aikgen_plugins=${aikgen_plugins}" random"
23789:
23790: fi
23791:
23792: if test x$nonce = xtrue; then
23793: s_plugins=${s_plugins}" nonce"
23794: charon_plugins=${charon_plugins}" nonce"
23795: nm_plugins=${nm_plugins}" nonce"
23796: cmd_plugins=${cmd_plugins}" nonce"
23797: aikgen_plugins=${aikgen_plugins}" nonce"
23798:
23799: fi
23800:
23801: if test x$x509 = xtrue; then
23802: s_plugins=${s_plugins}" x509"
23803: charon_plugins=${charon_plugins}" x509"
23804: scepclient_plugins=${scepclient_plugins}" x509"
23805: pki_plugins=${pki_plugins}" x509"
23806: scripts_plugins=${scripts_plugins}" x509"
23807: attest_plugins=${attest_plugins}" x509"
23808: nm_plugins=${nm_plugins}" x509"
23809: cmd_plugins=${cmd_plugins}" x509"
23810: aikgen_plugins=${aikgen_plugins}" x509"
23811: fuzz_plugins=${fuzz_plugins}" x509"
23812:
23813: fi
23814:
23815: if test x$revocation = xtrue; then
23816: s_plugins=${s_plugins}" revocation"
23817: charon_plugins=${charon_plugins}" revocation"
23818: pki_plugins=${pki_plugins}" revocation"
23819: nm_plugins=${nm_plugins}" revocation"
23820: cmd_plugins=${cmd_plugins}" revocation"
23821:
23822: fi
23823:
23824: if test x$constraints = xtrue; then
23825: s_plugins=${s_plugins}" constraints"
23826: charon_plugins=${charon_plugins}" constraints"
23827: nm_plugins=${nm_plugins}" constraints"
23828: cmd_plugins=${cmd_plugins}" constraints"
23829:
23830: fi
23831:
23832: if test x$acert = xtrue; then
23833: s_plugins=${s_plugins}" acert"
23834: charon_plugins=${charon_plugins}" acert"
23835:
23836: fi
23837:
23838: if test x$pubkey = xtrue; then
23839: s_plugins=${s_plugins}" pubkey"
23840: charon_plugins=${charon_plugins}" pubkey"
23841: pki_plugins=${pki_plugins}" pubkey"
23842: cmd_plugins=${cmd_plugins}" pubkey"
23843: aikgen_plugins=${aikgen_plugins}" pubkey"
23844:
23845: fi
23846:
23847: if test x$pkcs1 = xtrue; then
23848: s_plugins=${s_plugins}" pkcs1"
23849: charon_plugins=${charon_plugins}" pkcs1"
23850: scepclient_plugins=${scepclient_plugins}" pkcs1"
23851: pki_plugins=${pki_plugins}" pkcs1"
23852: scripts_plugins=${scripts_plugins}" pkcs1"
23853: manager_plugins=${manager_plugins}" pkcs1"
23854: medsrv_plugins=${medsrv_plugins}" pkcs1"
23855: attest_plugins=${attest_plugins}" pkcs1"
23856: nm_plugins=${nm_plugins}" pkcs1"
23857: cmd_plugins=${cmd_plugins}" pkcs1"
23858: aikgen_plugins=${aikgen_plugins}" pkcs1"
23859: fuzz_plugins=${fuzz_plugins}" pkcs1"
23860:
23861: fi
23862:
23863: if test x$pkcs7 = xtrue; then
23864: s_plugins=${s_plugins}" pkcs7"
23865: charon_plugins=${charon_plugins}" pkcs7"
23866: scepclient_plugins=${scepclient_plugins}" pkcs7"
23867: pki_plugins=${pki_plugins}" pkcs7"
23868: scripts_plugins=${scripts_plugins}" pkcs7"
23869: nm_plugins=${nm_plugins}" pkcs7"
23870: cmd_plugins=${cmd_plugins}" pkcs7"
23871:
23872: fi
23873:
23874: if test x$pkcs8 = xtrue; then
23875: s_plugins=${s_plugins}" pkcs8"
23876: charon_plugins=${charon_plugins}" pkcs8"
23877: scepclient_plugins=${scepclient_plugins}" pkcs8"
23878: pki_plugins=${pki_plugins}" pkcs8"
23879: scripts_plugins=${scripts_plugins}" pkcs8"
23880: manager_plugins=${manager_plugins}" pkcs8"
23881: medsrv_plugins=${medsrv_plugins}" pkcs8"
23882: attest_plugins=${attest_plugins}" pkcs8"
23883: nm_plugins=${nm_plugins}" pkcs8"
23884: cmd_plugins=${cmd_plugins}" pkcs8"
23885:
23886: fi
23887:
23888: if test x$pkcs12 = xtrue; then
23889: s_plugins=${s_plugins}" pkcs12"
23890: charon_plugins=${charon_plugins}" pkcs12"
23891: scepclient_plugins=${scepclient_plugins}" pkcs12"
23892: pki_plugins=${pki_plugins}" pkcs12"
23893: scripts_plugins=${scripts_plugins}" pkcs12"
23894: cmd_plugins=${cmd_plugins}" pkcs12"
23895:
23896: fi
23897:
23898: if test x$pgp = xtrue; then
23899: s_plugins=${s_plugins}" pgp"
23900: charon_plugins=${charon_plugins}" pgp"
23901:
23902: fi
23903:
23904: if test x$dnskey = xtrue; then
23905: s_plugins=${s_plugins}" dnskey"
23906: charon_plugins=${charon_plugins}" dnskey"
23907: pki_plugins=${pki_plugins}" dnskey"
23908:
23909: fi
23910:
23911: if test x$sshkey = xtrue; then
23912: s_plugins=${s_plugins}" sshkey"
23913: charon_plugins=${charon_plugins}" sshkey"
23914: pki_plugins=${pki_plugins}" sshkey"
23915: nm_plugins=${nm_plugins}" sshkey"
23916: cmd_plugins=${cmd_plugins}" sshkey"
23917:
23918: fi
23919:
23920: if test x$dnscert = xtrue; then
23921: c_plugins=${c_plugins}" dnscert"
23922: charon_plugins=${charon_plugins}" dnscert"
23923:
23924: fi
23925:
23926: if test x$ipseckey = xtrue; then
23927: c_plugins=${c_plugins}" ipseckey"
23928: charon_plugins=${charon_plugins}" ipseckey"
23929:
23930: fi
23931:
23932: if test x$pem = xtrue; then
23933: s_plugins=${s_plugins}" pem"
23934: charon_plugins=${charon_plugins}" pem"
23935: scepclient_plugins=${scepclient_plugins}" pem"
23936: pki_plugins=${pki_plugins}" pem"
23937: scripts_plugins=${scripts_plugins}" pem"
23938: manager_plugins=${manager_plugins}" pem"
23939: medsrv_plugins=${medsrv_plugins}" pem"
23940: attest_plugins=${attest_plugins}" pem"
23941: nm_plugins=${nm_plugins}" pem"
23942: cmd_plugins=${cmd_plugins}" pem"
23943: aikgen_plugins=${aikgen_plugins}" pem"
23944: fuzz_plugins=${fuzz_plugins}" pem"
23945:
23946: fi
23947:
23948: if test x$padlock = xtrue; then
23949: s_plugins=${s_plugins}" padlock"
23950: charon_plugins=${charon_plugins}" padlock"
23951:
23952: fi
23953:
23954: if test x$openssl = xtrue; then
23955: s_plugins=${s_plugins}" openssl"
23956: charon_plugins=${charon_plugins}" openssl"
23957: scepclient_plugins=${scepclient_plugins}" openssl"
23958: pki_plugins=${pki_plugins}" openssl"
23959: scripts_plugins=${scripts_plugins}" openssl"
23960: manager_plugins=${manager_plugins}" openssl"
23961: medsrv_plugins=${medsrv_plugins}" openssl"
23962: attest_plugins=${attest_plugins}" openssl"
23963: nm_plugins=${nm_plugins}" openssl"
23964: cmd_plugins=${cmd_plugins}" openssl"
23965: aikgen_plugins=${aikgen_plugins}" openssl"
23966:
23967: fi
23968:
23969: if test x$wolfssl = xtrue; then
23970: s_plugins=${s_plugins}" wolfssl"
23971: charon_plugins=${charon_plugins}" wolfssl"
23972: scepclient_plugins=${scepclient_plugins}" wolfssl"
23973: pki_plugins=${pki_plugins}" wolfssl"
23974: scripts_plugins=${scripts_plugins}" wolfssl"
23975: manager_plugins=${manager_plugins}" wolfssl"
23976: medsrv_plugins=${medsrv_plugins}" wolfssl"
23977: attest_plugins=${attest_plugins}" wolfssl"
23978: nm_plugins=${nm_plugins}" wolfssl"
23979: cmd_plugins=${cmd_plugins}" wolfssl"
23980: aikgen_plugins=${aikgen_plugins}" wolfssl"
23981:
23982: fi
23983:
23984: if test x$gcrypt = xtrue; then
23985: s_plugins=${s_plugins}" gcrypt"
23986: charon_plugins=${charon_plugins}" gcrypt"
23987: scepclient_plugins=${scepclient_plugins}" gcrypt"
23988: pki_plugins=${pki_plugins}" gcrypt"
23989: scripts_plugins=${scripts_plugins}" gcrypt"
23990: manager_plugins=${manager_plugins}" gcrypt"
23991: medsrv_plugins=${medsrv_plugins}" gcrypt"
23992: attest_plugins=${attest_plugins}" gcrypt"
23993: nm_plugins=${nm_plugins}" gcrypt"
23994: cmd_plugins=${cmd_plugins}" gcrypt"
23995: aikgen_plugins=${aikgen_plugins}" gcrypt"
23996:
23997: fi
23998:
23999: if test x$botan = xtrue; then
24000: s_plugins=${s_plugins}" botan"
24001: charon_plugins=${charon_plugins}" botan"
24002: scepclient_plugins=${scepclient_plugins}" botan"
24003: pki_plugins=${pki_plugins}" botan"
24004: scripts_plugins=${scripts_plugins}" botan"
24005: manager_plugins=${manager_plugins}" botan"
24006: medsrv_plugins=${medsrv_plugins}" botan"
24007: attest_plugins=${attest_plugins}" botan"
24008: nm_plugins=${nm_plugins}" botan"
24009: cmd_plugins=${cmd_plugins}" botan"
24010: aikgen_plugins=${aikgen_plugins}" botan"
24011:
24012: fi
24013:
24014: if test x$af_alg = xtrue; then
24015: s_plugins=${s_plugins}" af-alg"
24016: charon_plugins=${charon_plugins}" af-alg"
24017: scepclient_plugins=${scepclient_plugins}" af-alg"
24018: pki_plugins=${pki_plugins}" af-alg"
24019: scripts_plugins=${scripts_plugins}" af-alg"
24020: medsrv_plugins=${medsrv_plugins}" af-alg"
24021: attest_plugins=${attest_plugins}" af-alg"
24022: nm_plugins=${nm_plugins}" af-alg"
24023: cmd_plugins=${cmd_plugins}" af-alg"
24024: aikgen_plugins=${aikgen_plugins}" af-alg"
24025:
24026: fi
24027:
24028: if test x$fips_prf = xtrue; then
24029: s_plugins=${s_plugins}" fips-prf"
24030: charon_plugins=${charon_plugins}" fips-prf"
24031: nm_plugins=${nm_plugins}" fips-prf"
24032: cmd_plugins=${cmd_plugins}" fips-prf"
24033:
24034: fi
24035:
24036: if test x$gmp = xtrue; then
24037: s_plugins=${s_plugins}" gmp"
24038: charon_plugins=${charon_plugins}" gmp"
24039: scepclient_plugins=${scepclient_plugins}" gmp"
24040: pki_plugins=${pki_plugins}" gmp"
24041: scripts_plugins=${scripts_plugins}" gmp"
24042: manager_plugins=${manager_plugins}" gmp"
24043: medsrv_plugins=${medsrv_plugins}" gmp"
24044: attest_plugins=${attest_plugins}" gmp"
24045: nm_plugins=${nm_plugins}" gmp"
24046: cmd_plugins=${cmd_plugins}" gmp"
24047: aikgen_plugins=${aikgen_plugins}" gmp"
24048: fuzz_plugins=${fuzz_plugins}" gmp"
24049:
24050: fi
24051:
24052: if test x$curve25519 = xtrue; then
24053: s_plugins=${s_plugins}" curve25519"
24054: charon_plugins=${charon_plugins}" curve25519"
24055: pki_plugins=${pki_plugins}" curve25519"
24056: scripts_plugins=${scripts_plugins}" curve25519"
24057: nm_plugins=${nm_plugins}" curve25519"
24058: cmd_plugins=${cmd_plugins}" curve25519"
24059:
24060: fi
24061:
24062: if test x$agent = xtrue; then
24063: s_plugins=${s_plugins}" agent"
24064: charon_plugins=${charon_plugins}" agent"
24065: nm_plugins=${nm_plugins}" agent"
24066: cmd_plugins=${cmd_plugins}" agent"
24067:
24068: fi
24069:
24070: if test x$keychain = xtrue; then
24071: s_plugins=${s_plugins}" keychain"
24072: charon_plugins=${charon_plugins}" keychain"
24073: cmd_plugins=${cmd_plugins}" keychain"
24074:
24075: fi
24076:
24077: if test x$chapoly = xtrue; then
24078: s_plugins=${s_plugins}" chapoly"
24079: charon_plugins=${charon_plugins}" chapoly"
24080: scripts_plugins=${scripts_plugins}" chapoly"
24081: nm_plugins=${nm_plugins}" chapoly"
24082: cmd_plugins=${cmd_plugins}" chapoly"
24083:
24084: fi
24085:
24086: if test x$xcbc = xtrue; then
24087: s_plugins=${s_plugins}" xcbc"
24088: charon_plugins=${charon_plugins}" xcbc"
24089: nm_plugins=${nm_plugins}" xcbc"
24090: cmd_plugins=${cmd_plugins}" xcbc"
24091:
24092: fi
24093:
24094: if test x$cmac = xtrue; then
24095: s_plugins=${s_plugins}" cmac"
24096: charon_plugins=${charon_plugins}" cmac"
24097: nm_plugins=${nm_plugins}" cmac"
24098: cmd_plugins=${cmd_plugins}" cmac"
24099:
24100: fi
24101:
24102: if test x$hmac = xtrue; then
24103: s_plugins=${s_plugins}" hmac"
24104: charon_plugins=${charon_plugins}" hmac"
24105: pki_plugins=${pki_plugins}" hmac"
24106: scripts_plugins=${scripts_plugins}" hmac"
24107: nm_plugins=${nm_plugins}" hmac"
24108: cmd_plugins=${cmd_plugins}" hmac"
24109:
24110: fi
24111:
24112: if test x$ctr = xtrue; then
24113: s_plugins=${s_plugins}" ctr"
24114: charon_plugins=${charon_plugins}" ctr"
24115: scripts_plugins=${scripts_plugins}" ctr"
24116: nm_plugins=${nm_plugins}" ctr"
24117: cmd_plugins=${cmd_plugins}" ctr"
24118:
24119: fi
24120:
24121: if test x$ccm = xtrue; then
24122: s_plugins=${s_plugins}" ccm"
24123: charon_plugins=${charon_plugins}" ccm"
24124: scripts_plugins=${scripts_plugins}" ccm"
24125: nm_plugins=${nm_plugins}" ccm"
24126: cmd_plugins=${cmd_plugins}" ccm"
24127:
24128: fi
24129:
24130: if test x$gcm = xtrue; then
24131: s_plugins=${s_plugins}" gcm"
24132: charon_plugins=${charon_plugins}" gcm"
24133: scripts_plugins=${scripts_plugins}" gcm"
24134: nm_plugins=${nm_plugins}" gcm"
24135: cmd_plugins=${cmd_plugins}" gcm"
24136:
24137: fi
24138:
24139: if test x$ntru = xtrue; then
24140: s_plugins=${s_plugins}" ntru"
24141: charon_plugins=${charon_plugins}" ntru"
24142: scripts_plugins=${scripts_plugins}" ntru"
24143: nm_plugins=${nm_plugins}" ntru"
24144: cmd_plugins=${cmd_plugins}" ntru"
24145:
24146: fi
24147:
24148: if test x$drbg = xtrue; then
24149: s_plugins=${s_plugins}" drbg"
24150: charon_plugins=${charon_plugins}" drbg"
24151: pki_plugins=${pki_plugins}" drbg"
24152: scripts_plugins=${scripts_plugins}" drbg"
24153: nm_plugins=${nm_plugins}" drbg"
24154: cmd_plugins=${cmd_plugins}" drbg"
24155:
24156: fi
24157:
24158: if test x$newhope = xtrue; then
24159: s_plugins=${s_plugins}" newhope"
24160: charon_plugins=${charon_plugins}" newhope"
24161: scripts_plugins=${scripts_plugins}" newhope"
24162: nm_plugins=${nm_plugins}" newhope"
24163: cmd_plugins=${cmd_plugins}" newhope"
24164:
24165: fi
24166:
24167: if test x$bliss = xtrue; then
24168: s_plugins=${s_plugins}" bliss"
24169: charon_plugins=${charon_plugins}" bliss"
24170: pki_plugins=${pki_plugins}" bliss"
24171: scripts_plugins=${scripts_plugins}" bliss"
24172: nm_plugins=${nm_plugins}" bliss"
24173: cmd_plugins=${cmd_plugins}" bliss"
24174:
24175: fi
24176:
24177: if test x$curl = xtrue; then
24178: s_plugins=${s_plugins}" curl"
24179: charon_plugins=${charon_plugins}" curl"
24180: scepclient_plugins=${scepclient_plugins}" curl"
24181: pki_plugins=${pki_plugins}" curl"
24182: scripts_plugins=${scripts_plugins}" curl"
24183: nm_plugins=${nm_plugins}" curl"
24184: cmd_plugins=${cmd_plugins}" curl"
24185:
24186: fi
24187:
24188: if test x$files = xtrue; then
24189: s_plugins=${s_plugins}" files"
24190: charon_plugins=${charon_plugins}" files"
24191: scepclient_plugins=${scepclient_plugins}" files"
24192: pki_plugins=${pki_plugins}" files"
24193: scripts_plugins=${scripts_plugins}" files"
24194: nm_plugins=${nm_plugins}" files"
24195: cmd_plugins=${cmd_plugins}" files"
24196:
24197: fi
24198:
24199: if test x$winhttp = xtrue; then
24200: s_plugins=${s_plugins}" winhttp"
24201: charon_plugins=${charon_plugins}" winhttp"
24202: pki_plugins=${pki_plugins}" winhttp"
24203: scripts_plugins=${scripts_plugins}" winhttp"
24204:
24205: fi
24206:
24207: if test x$soup = xtrue; then
24208: s_plugins=${s_plugins}" soup"
24209: charon_plugins=${charon_plugins}" soup"
24210: pki_plugins=${pki_plugins}" soup"
24211: scripts_plugins=${scripts_plugins}" soup"
24212: nm_plugins=${nm_plugins}" soup"
24213: cmd_plugins=${cmd_plugins}" soup"
24214:
24215: fi
24216:
24217: if test x$mysql = xtrue; then
24218: s_plugins=${s_plugins}" mysql"
24219: charon_plugins=${charon_plugins}" mysql"
24220: pool_plugins=${pool_plugins}" mysql"
24221: manager_plugins=${manager_plugins}" mysql"
24222: medsrv_plugins=${medsrv_plugins}" mysql"
24223: attest_plugins=${attest_plugins}" mysql"
24224:
24225: fi
24226:
24227: if test x$sqlite = xtrue; then
24228: s_plugins=${s_plugins}" sqlite"
24229: charon_plugins=${charon_plugins}" sqlite"
24230: pool_plugins=${pool_plugins}" sqlite"
24231: manager_plugins=${manager_plugins}" sqlite"
24232: medsrv_plugins=${medsrv_plugins}" sqlite"
24233: attest_plugins=${attest_plugins}" sqlite"
24234:
24235: fi
24236:
24237: if test x$attr = xtrue; then
24238: c_plugins=${c_plugins}" attr"
24239: charon_plugins=${charon_plugins}" attr"
24240:
24241: fi
24242:
24243: if test x$attr_sql = xtrue; then
24244: c_plugins=${c_plugins}" attr-sql"
24245: charon_plugins=${charon_plugins}" attr-sql"
24246:
24247: fi
24248:
24249: if test x$load_tester = xtrue; then
24250: c_plugins=${c_plugins}" load-tester"
24251: charon_plugins=${charon_plugins}" load-tester"
24252:
24253: fi
24254:
24255: if test x$kernel_libipsec = xtrue; then
24256: c_plugins=${c_plugins}" kernel-libipsec"
24257: charon_plugins=${charon_plugins}" kernel-libipsec"
24258: cmd_plugins=${cmd_plugins}" kernel-libipsec"
24259:
24260: fi
24261:
24262: if test x$kernel_wfp = xtrue; then
24263: c_plugins=${c_plugins}" kernel-wfp"
24264: charon_plugins=${charon_plugins}" kernel-wfp"
24265:
24266: fi
24267:
24268: if test x$kernel_iph = xtrue; then
24269: c_plugins=${c_plugins}" kernel-iph"
24270: charon_plugins=${charon_plugins}" kernel-iph"
24271:
24272: fi
24273:
24274: if test x$kernel_pfkey = xtrue; then
24275: c_plugins=${c_plugins}" kernel-pfkey"
24276: charon_plugins=${charon_plugins}" kernel-pfkey"
24277: starter_plugins=${starter_plugins}" kernel-pfkey"
24278: nm_plugins=${nm_plugins}" kernel-pfkey"
24279: cmd_plugins=${cmd_plugins}" kernel-pfkey"
24280:
24281: fi
24282:
24283: if test x$kernel_pfroute = xtrue; then
24284: c_plugins=${c_plugins}" kernel-pfroute"
24285: charon_plugins=${charon_plugins}" kernel-pfroute"
24286: starter_plugins=${starter_plugins}" kernel-pfroute"
24287: nm_plugins=${nm_plugins}" kernel-pfroute"
24288: cmd_plugins=${cmd_plugins}" kernel-pfroute"
24289:
24290: fi
24291:
24292: if test x$kernel_netlink = xtrue; then
24293: c_plugins=${c_plugins}" kernel-netlink"
24294: charon_plugins=${charon_plugins}" kernel-netlink"
24295: starter_plugins=${starter_plugins}" kernel-netlink"
24296: nm_plugins=${nm_plugins}" kernel-netlink"
24297: cmd_plugins=${cmd_plugins}" kernel-netlink"
24298:
24299: fi
24300:
24301: if test x$resolve = xtrue; then
24302: c_plugins=${c_plugins}" resolve"
24303: charon_plugins=${charon_plugins}" resolve"
24304: cmd_plugins=${cmd_plugins}" resolve"
24305:
24306: fi
24307:
24308: if test x$save_keys = xtrue; then
24309: c_plugins=${c_plugins}" save-keys"
24310:
24311: fi
24312:
24313: if test x$socket_default = xtrue; then
24314: c_plugins=${c_plugins}" socket-default"
24315: charon_plugins=${charon_plugins}" socket-default"
24316: nm_plugins=${nm_plugins}" socket-default"
24317: cmd_plugins=${cmd_plugins}" socket-default"
24318:
24319: fi
24320:
24321: if test x$socket_dynamic = xtrue; then
24322: c_plugins=${c_plugins}" socket-dynamic"
24323: charon_plugins=${charon_plugins}" socket-dynamic"
24324: cmd_plugins=${cmd_plugins}" socket-dynamic"
24325:
24326: fi
24327:
24328: if test x$socket_win = xtrue; then
24329: c_plugins=${c_plugins}" socket-win"
24330: charon_plugins=${charon_plugins}" socket-win"
24331:
24332: fi
24333:
24334: if test x$bypass_lan = xtrue; then
24335: c_plugins=${c_plugins}" bypass-lan"
24336: charon_plugins=${charon_plugins}" bypass-lan"
24337: nm_plugins=${nm_plugins}" bypass-lan"
24338: cmd_plugins=${cmd_plugins}" bypass-lan"
24339:
24340: fi
24341:
24342: if test x$connmark = xtrue; then
24343: c_plugins=${c_plugins}" connmark"
24344: charon_plugins=${charon_plugins}" connmark"
24345:
24346: fi
24347:
24348: if test x$forecast = xtrue; then
24349: c_plugins=${c_plugins}" forecast"
24350: charon_plugins=${charon_plugins}" forecast"
24351:
24352: fi
24353:
24354: if test x$farp = xtrue; then
24355: c_plugins=${c_plugins}" farp"
24356: charon_plugins=${charon_plugins}" farp"
24357:
24358: fi
24359:
24360: if test x$stroke = xtrue; then
24361: c_plugins=${c_plugins}" stroke"
24362: charon_plugins=${charon_plugins}" stroke"
24363:
24364: fi
24365:
24366: if test x$vici = xtrue; then
24367: c_plugins=${c_plugins}" vici"
24368: charon_plugins=${charon_plugins}" vici"
24369:
24370: fi
24371:
24372: if test x$smp = xtrue; then
24373: c_plugins=${c_plugins}" smp"
24374: charon_plugins=${charon_plugins}" smp"
24375:
24376: fi
24377:
24378: if test x$sql = xtrue; then
24379: c_plugins=${c_plugins}" sql"
24380: charon_plugins=${charon_plugins}" sql"
24381:
24382: fi
24383:
24384: if test x$updown = xtrue; then
24385: c_plugins=${c_plugins}" updown"
24386: charon_plugins=${charon_plugins}" updown"
24387:
24388: fi
24389:
24390: if test x$eap_identity = xtrue; then
24391: c_plugins=${c_plugins}" eap-identity"
24392: charon_plugins=${charon_plugins}" eap-identity"
24393: nm_plugins=${nm_plugins}" eap-identity"
24394: cmd_plugins=${cmd_plugins}" eap-identity"
24395:
24396: fi
24397:
24398: if test x$eap_sim = xtrue; then
24399: c_plugins=${c_plugins}" eap-sim"
24400: charon_plugins=${charon_plugins}" eap-sim"
24401:
24402: fi
24403:
24404: if test x$eap_sim_file = xtrue; then
24405: c_plugins=${c_plugins}" eap-sim-file"
24406: charon_plugins=${charon_plugins}" eap-sim-file"
24407:
24408: fi
24409:
24410: if test x$eap_sim_pcsc = xtrue; then
24411: c_plugins=${c_plugins}" eap-sim-pcsc"
24412: charon_plugins=${charon_plugins}" eap-sim-pcsc"
24413:
24414: fi
24415:
24416: if test x$eap_aka = xtrue; then
24417: c_plugins=${c_plugins}" eap-aka"
24418: charon_plugins=${charon_plugins}" eap-aka"
24419:
24420: fi
24421:
24422: if test x$eap_aka_3gpp = xtrue; then
24423: c_plugins=${c_plugins}" eap-aka-3gpp"
24424: charon_plugins=${charon_plugins}" eap-aka-3gpp"
24425:
24426: fi
24427:
24428: if test x$eap_aka_3gpp2 = xtrue; then
24429: c_plugins=${c_plugins}" eap-aka-3gpp2"
24430: charon_plugins=${charon_plugins}" eap-aka-3gpp2"
24431:
24432: fi
24433:
24434: if test x$eap_simaka_sql = xtrue; then
24435: c_plugins=${c_plugins}" eap-simaka-sql"
24436: charon_plugins=${charon_plugins}" eap-simaka-sql"
24437:
24438: fi
24439:
24440: if test x$eap_simaka_pseudonym = xtrue; then
24441: c_plugins=${c_plugins}" eap-simaka-pseudonym"
24442: charon_plugins=${charon_plugins}" eap-simaka-pseudonym"
24443:
24444: fi
24445:
24446: if test x$eap_simaka_reauth = xtrue; then
24447: c_plugins=${c_plugins}" eap-simaka-reauth"
24448: charon_plugins=${charon_plugins}" eap-simaka-reauth"
24449:
24450: fi
24451:
24452: if test x$eap_md5 = xtrue; then
24453: c_plugins=${c_plugins}" eap-md5"
24454: charon_plugins=${charon_plugins}" eap-md5"
24455: nm_plugins=${nm_plugins}" eap-md5"
24456: cmd_plugins=${cmd_plugins}" eap-md5"
24457:
24458: fi
24459:
24460: if test x$eap_gtc = xtrue; then
24461: c_plugins=${c_plugins}" eap-gtc"
24462: charon_plugins=${charon_plugins}" eap-gtc"
24463: nm_plugins=${nm_plugins}" eap-gtc"
24464: cmd_plugins=${cmd_plugins}" eap-gtc"
24465:
24466: fi
24467:
24468: if test x$eap_mschapv2 = xtrue; then
24469: c_plugins=${c_plugins}" eap-mschapv2"
24470: charon_plugins=${charon_plugins}" eap-mschapv2"
24471: nm_plugins=${nm_plugins}" eap-mschapv2"
24472: cmd_plugins=${cmd_plugins}" eap-mschapv2"
24473:
24474: fi
24475:
24476: if test x$eap_dynamic = xtrue; then
24477: c_plugins=${c_plugins}" eap-dynamic"
24478: charon_plugins=${charon_plugins}" eap-dynamic"
24479:
24480: fi
24481:
24482: if test x$eap_radius = xtrue; then
24483: c_plugins=${c_plugins}" eap-radius"
24484: charon_plugins=${charon_plugins}" eap-radius"
24485:
24486: fi
24487:
24488: if test x$eap_tls = xtrue; then
24489: c_plugins=${c_plugins}" eap-tls"
24490: charon_plugins=${charon_plugins}" eap-tls"
24491: nm_plugins=${nm_plugins}" eap-tls"
24492: cmd_plugins=${cmd_plugins}" eap-tls"
24493:
24494: fi
24495:
24496: if test x$eap_ttls = xtrue; then
24497: c_plugins=${c_plugins}" eap-ttls"
24498: charon_plugins=${charon_plugins}" eap-ttls"
24499: nm_plugins=${nm_plugins}" eap-ttls"
24500: cmd_plugins=${cmd_plugins}" eap-ttls"
24501:
24502: fi
24503:
24504: if test x$eap_peap = xtrue; then
24505: c_plugins=${c_plugins}" eap-peap"
24506: charon_plugins=${charon_plugins}" eap-peap"
24507: nm_plugins=${nm_plugins}" eap-peap"
24508: cmd_plugins=${cmd_plugins}" eap-peap"
24509:
24510: fi
24511:
24512: if test x$eap_tnc = xtrue; then
24513: c_plugins=${c_plugins}" eap-tnc"
24514: charon_plugins=${charon_plugins}" eap-tnc"
24515:
24516: fi
24517:
24518: if test x$xauth_generic = xtrue; then
24519: c_plugins=${c_plugins}" xauth-generic"
24520: charon_plugins=${charon_plugins}" xauth-generic"
24521: cmd_plugins=${cmd_plugins}" xauth-generic"
24522:
24523: fi
24524:
24525: if test x$xauth_eap = xtrue; then
24526: c_plugins=${c_plugins}" xauth-eap"
24527: charon_plugins=${charon_plugins}" xauth-eap"
24528:
24529: fi
24530:
24531: if test x$xauth_pam = xtrue; then
24532: c_plugins=${c_plugins}" xauth-pam"
24533: charon_plugins=${charon_plugins}" xauth-pam"
24534:
24535: fi
24536:
24537: if test x$xauth_noauth = xtrue; then
24538: c_plugins=${c_plugins}" xauth-noauth"
24539: charon_plugins=${charon_plugins}" xauth-noauth"
24540:
24541: fi
24542:
24543: if test x$tnc_ifmap = xtrue; then
24544: c_plugins=${c_plugins}" tnc-ifmap"
24545: charon_plugins=${charon_plugins}" tnc-ifmap"
24546:
24547: fi
24548:
24549: if test x$tnc_pdp = xtrue; then
24550: c_plugins=${c_plugins}" tnc-pdp"
24551: charon_plugins=${charon_plugins}" tnc-pdp"
24552:
24553: fi
24554:
24555: if test x$tnc_imc = xtrue; then
24556: t_plugins=${t_plugins}" tnc-imc"
24557: charon_plugins=${charon_plugins}" tnc-imc"
24558:
24559: fi
24560:
24561: if test x$tnc_imv = xtrue; then
24562: t_plugins=${t_plugins}" tnc-imv"
24563: charon_plugins=${charon_plugins}" tnc-imv"
24564:
24565: fi
24566:
24567: if test x$tnc_tnccs = xtrue; then
24568: t_plugins=${t_plugins}" tnc-tnccs"
24569: charon_plugins=${charon_plugins}" tnc-tnccs"
24570:
24571: fi
24572:
24573: if test x$tnccs_20 = xtrue; then
24574: t_plugins=${t_plugins}" tnccs-20"
24575: charon_plugins=${charon_plugins}" tnccs-20"
24576:
24577: fi
24578:
24579: if test x$tnccs_11 = xtrue; then
24580: t_plugins=${t_plugins}" tnccs-11"
24581: charon_plugins=${charon_plugins}" tnccs-11"
24582:
24583: fi
24584:
24585: if test x$tnccs_dynamic = xtrue; then
24586: t_plugins=${t_plugins}" tnccs-dynamic"
24587: charon_plugins=${charon_plugins}" tnccs-dynamic"
24588:
24589: fi
24590:
24591: if test x$medsrv = xtrue; then
24592: c_plugins=${c_plugins}" medsrv"
24593: charon_plugins=${charon_plugins}" medsrv"
24594:
24595: fi
24596:
24597: if test x$medcli = xtrue; then
24598: c_plugins=${c_plugins}" medcli"
24599: charon_plugins=${charon_plugins}" medcli"
24600:
24601: fi
24602:
24603: if test x$dhcp = xtrue; then
24604: c_plugins=${c_plugins}" dhcp"
24605: charon_plugins=${charon_plugins}" dhcp"
24606:
24607: fi
24608:
24609: if test x$osx_attr = xtrue; then
24610: c_plugins=${c_plugins}" osx-attr"
24611: charon_plugins=${charon_plugins}" osx-attr"
24612: cmd_plugins=${cmd_plugins}" osx-attr"
24613:
24614: fi
24615:
24616: if test x$p_cscf = xtrue; then
24617: c_plugins=${c_plugins}" p-cscf"
24618: charon_plugins=${charon_plugins}" p-cscf"
24619: cmd_plugins=${cmd_plugins}" p-cscf"
24620:
24621: fi
24622:
24623: if test x$android_dns = xtrue; then
24624: c_plugins=${c_plugins}" android-dns"
24625: charon_plugins=${charon_plugins}" android-dns"
24626:
24627: fi
24628:
24629: if test x$android_log = xtrue; then
24630: c_plugins=${c_plugins}" android-log"
24631: charon_plugins=${charon_plugins}" android-log"
24632:
24633: fi
24634:
24635: if test x$ha = xtrue; then
24636: c_plugins=${c_plugins}" ha"
24637: charon_plugins=${charon_plugins}" ha"
24638:
24639: fi
24640:
24641: if test x$whitelist = xtrue; then
24642: c_plugins=${c_plugins}" whitelist"
24643: charon_plugins=${charon_plugins}" whitelist"
24644:
24645: fi
24646:
24647: if test x$ext_auth = xtrue; then
24648: c_plugins=${c_plugins}" ext-auth"
24649: charon_plugins=${charon_plugins}" ext-auth"
24650:
24651: fi
24652:
24653: if test x$lookip = xtrue; then
24654: c_plugins=${c_plugins}" lookip"
24655: charon_plugins=${charon_plugins}" lookip"
24656:
24657: fi
24658:
24659: if test x$error_notify = xtrue; then
24660: c_plugins=${c_plugins}" error-notify"
24661: charon_plugins=${charon_plugins}" error-notify"
24662:
24663: fi
24664:
24665: if test x$certexpire = xtrue; then
24666: c_plugins=${c_plugins}" certexpire"
24667: charon_plugins=${charon_plugins}" certexpire"
24668:
24669: fi
24670:
24671: if test x$systime_fix = xtrue; then
24672: c_plugins=${c_plugins}" systime-fix"
24673: charon_plugins=${charon_plugins}" systime-fix"
24674:
24675: fi
24676:
24677: if test x$led = xtrue; then
24678: c_plugins=${c_plugins}" led"
24679: charon_plugins=${charon_plugins}" led"
24680:
24681: fi
24682:
24683: if test x$duplicheck = xtrue; then
24684: c_plugins=${c_plugins}" duplicheck"
24685: charon_plugins=${charon_plugins}" duplicheck"
24686:
24687: fi
24688:
24689: if test x$coupling = xtrue; then
24690: c_plugins=${c_plugins}" coupling"
24691: charon_plugins=${charon_plugins}" coupling"
24692:
24693: fi
24694:
24695: if test x$radattr = xtrue; then
24696: c_plugins=${c_plugins}" radattr"
24697: charon_plugins=${charon_plugins}" radattr"
24698:
24699: fi
24700:
24701: if test x$uci = xtrue; then
24702: c_plugins=${c_plugins}" uci"
24703: charon_plugins=${charon_plugins}" uci"
24704:
24705: fi
24706:
24707: if test x$addrblock = xtrue; then
24708: c_plugins=${c_plugins}" addrblock"
24709: charon_plugins=${charon_plugins}" addrblock"
24710:
24711: fi
24712:
24713: if test x$unity = xtrue; then
24714: c_plugins=${c_plugins}" unity"
24715: charon_plugins=${charon_plugins}" unity"
24716:
24717: fi
24718:
24719: if test x$counters = xtrue; then
24720: c_plugins=${c_plugins}" counters"
24721: charon_plugins=${charon_plugins}" counters"
24722:
24723: fi
24724:
24725:
24726:
24727:
24728:
24729:
24730:
24731:
24732:
24733:
24734:
24735:
24736:
24737:
24738:
24739:
24740:
24741:
24742:
24743:
24744:
24745: # ======================
24746: # set Makefile.am vars
24747: # ======================
24748:
24749: # libstrongswan plugins
24750: # -----------------------
24751: if test x$test_vectors = xtrue; then
24752: USE_TEST_VECTORS_TRUE=
24753: USE_TEST_VECTORS_FALSE='#'
24754: else
24755: USE_TEST_VECTORS_TRUE='#'
24756: USE_TEST_VECTORS_FALSE=
24757: fi
24758:
24759: if test x$curl = xtrue; then
24760: USE_CURL_TRUE=
24761: USE_CURL_FALSE='#'
24762: else
24763: USE_CURL_TRUE='#'
24764: USE_CURL_FALSE=
24765: fi
24766:
24767: if test x$files = xtrue; then
24768: USE_FILES_TRUE=
24769: USE_FILES_FALSE='#'
24770: else
24771: USE_FILES_TRUE='#'
24772: USE_FILES_FALSE=
24773: fi
24774:
24775: if test x$winhttp = xtrue; then
24776: USE_WINHTTP_TRUE=
24777: USE_WINHTTP_FALSE='#'
24778: else
24779: USE_WINHTTP_TRUE='#'
24780: USE_WINHTTP_FALSE=
24781: fi
24782:
24783: if test x$unbound = xtrue; then
24784: USE_UNBOUND_TRUE=
24785: USE_UNBOUND_FALSE='#'
24786: else
24787: USE_UNBOUND_TRUE='#'
24788: USE_UNBOUND_FALSE=
24789: fi
24790:
24791: if test x$soup = xtrue; then
24792: USE_SOUP_TRUE=
24793: USE_SOUP_FALSE='#'
24794: else
24795: USE_SOUP_TRUE='#'
24796: USE_SOUP_FALSE=
24797: fi
24798:
24799: if test x$ldap = xtrue; then
24800: USE_LDAP_TRUE=
24801: USE_LDAP_FALSE='#'
24802: else
24803: USE_LDAP_TRUE='#'
24804: USE_LDAP_FALSE=
24805: fi
24806:
24807: if test x$aes = xtrue; then
24808: USE_AES_TRUE=
24809: USE_AES_FALSE='#'
24810: else
24811: USE_AES_TRUE='#'
24812: USE_AES_FALSE=
24813: fi
24814:
24815: if test x$des = xtrue; then
24816: USE_DES_TRUE=
24817: USE_DES_FALSE='#'
24818: else
24819: USE_DES_TRUE='#'
24820: USE_DES_FALSE=
24821: fi
24822:
24823: if test x$blowfish = xtrue; then
24824: USE_BLOWFISH_TRUE=
24825: USE_BLOWFISH_FALSE='#'
24826: else
24827: USE_BLOWFISH_TRUE='#'
24828: USE_BLOWFISH_FALSE=
24829: fi
24830:
24831: if test x$rc2 = xtrue; then
24832: USE_RC2_TRUE=
24833: USE_RC2_FALSE='#'
24834: else
24835: USE_RC2_TRUE='#'
24836: USE_RC2_FALSE=
24837: fi
24838:
24839: if test x$md4 = xtrue; then
24840: USE_MD4_TRUE=
24841: USE_MD4_FALSE='#'
24842: else
24843: USE_MD4_TRUE='#'
24844: USE_MD4_FALSE=
24845: fi
24846:
24847: if test x$md5 = xtrue; then
24848: USE_MD5_TRUE=
24849: USE_MD5_FALSE='#'
24850: else
24851: USE_MD5_TRUE='#'
24852: USE_MD5_FALSE=
24853: fi
24854:
24855: if test x$sha1 = xtrue; then
24856: USE_SHA1_TRUE=
24857: USE_SHA1_FALSE='#'
24858: else
24859: USE_SHA1_TRUE='#'
24860: USE_SHA1_FALSE=
24861: fi
24862:
24863: if test x$sha2 = xtrue; then
24864: USE_SHA2_TRUE=
24865: USE_SHA2_FALSE='#'
24866: else
24867: USE_SHA2_TRUE='#'
24868: USE_SHA2_FALSE=
24869: fi
24870:
24871: if test x$sha3 = xtrue; then
24872: USE_SHA3_TRUE=
24873: USE_SHA3_FALSE='#'
24874: else
24875: USE_SHA3_TRUE='#'
24876: USE_SHA3_FALSE=
24877: fi
24878:
24879: if test x$mgf1 = xtrue; then
24880: USE_MGF1_TRUE=
24881: USE_MGF1_FALSE='#'
24882: else
24883: USE_MGF1_TRUE='#'
24884: USE_MGF1_FALSE=
24885: fi
24886:
24887: if test x$fips_prf = xtrue; then
24888: USE_FIPS_PRF_TRUE=
24889: USE_FIPS_PRF_FALSE='#'
24890: else
24891: USE_FIPS_PRF_TRUE='#'
24892: USE_FIPS_PRF_FALSE=
24893: fi
24894:
24895: if test x$gmp = xtrue; then
24896: USE_GMP_TRUE=
24897: USE_GMP_FALSE='#'
24898: else
24899: USE_GMP_TRUE='#'
24900: USE_GMP_FALSE=
24901: fi
24902:
24903: if test x$curve25519 = xtrue; then
24904: USE_CURVE25519_TRUE=
24905: USE_CURVE25519_FALSE='#'
24906: else
24907: USE_CURVE25519_TRUE='#'
24908: USE_CURVE25519_FALSE=
24909: fi
24910:
24911: if test x$rdrand = xtrue; then
24912: USE_RDRAND_TRUE=
24913: USE_RDRAND_FALSE='#'
24914: else
24915: USE_RDRAND_TRUE='#'
24916: USE_RDRAND_FALSE=
24917: fi
24918:
24919: if test x$aesni = xtrue; then
24920: USE_AESNI_TRUE=
24921: USE_AESNI_FALSE='#'
24922: else
24923: USE_AESNI_TRUE='#'
24924: USE_AESNI_FALSE=
24925: fi
24926:
24927: if test x$random = xtrue; then
24928: USE_RANDOM_TRUE=
24929: USE_RANDOM_FALSE='#'
24930: else
24931: USE_RANDOM_TRUE='#'
24932: USE_RANDOM_FALSE=
24933: fi
24934:
24935: if test x$nonce = xtrue; then
24936: USE_NONCE_TRUE=
24937: USE_NONCE_FALSE='#'
24938: else
24939: USE_NONCE_TRUE='#'
24940: USE_NONCE_FALSE=
24941: fi
24942:
24943: if test x$x509 = xtrue; then
24944: USE_X509_TRUE=
24945: USE_X509_FALSE='#'
24946: else
24947: USE_X509_TRUE='#'
24948: USE_X509_FALSE=
24949: fi
24950:
24951: if test x$revocation = xtrue; then
24952: USE_REVOCATION_TRUE=
24953: USE_REVOCATION_FALSE='#'
24954: else
24955: USE_REVOCATION_TRUE='#'
24956: USE_REVOCATION_FALSE=
24957: fi
24958:
24959: if test x$constraints = xtrue; then
24960: USE_CONSTRAINTS_TRUE=
24961: USE_CONSTRAINTS_FALSE='#'
24962: else
24963: USE_CONSTRAINTS_TRUE='#'
24964: USE_CONSTRAINTS_FALSE=
24965: fi
24966:
24967: if test x$acert = xtrue; then
24968: USE_ACERT_TRUE=
24969: USE_ACERT_FALSE='#'
24970: else
24971: USE_ACERT_TRUE='#'
24972: USE_ACERT_FALSE=
24973: fi
24974:
24975: if test x$pubkey = xtrue; then
24976: USE_PUBKEY_TRUE=
24977: USE_PUBKEY_FALSE='#'
24978: else
24979: USE_PUBKEY_TRUE='#'
24980: USE_PUBKEY_FALSE=
24981: fi
24982:
24983: if test x$pkcs1 = xtrue; then
24984: USE_PKCS1_TRUE=
24985: USE_PKCS1_FALSE='#'
24986: else
24987: USE_PKCS1_TRUE='#'
24988: USE_PKCS1_FALSE=
24989: fi
24990:
24991: if test x$pkcs7 = xtrue; then
24992: USE_PKCS7_TRUE=
24993: USE_PKCS7_FALSE='#'
24994: else
24995: USE_PKCS7_TRUE='#'
24996: USE_PKCS7_FALSE=
24997: fi
24998:
24999: if test x$pkcs8 = xtrue; then
25000: USE_PKCS8_TRUE=
25001: USE_PKCS8_FALSE='#'
25002: else
25003: USE_PKCS8_TRUE='#'
25004: USE_PKCS8_FALSE=
25005: fi
25006:
25007: if test x$pkcs12 = xtrue; then
25008: USE_PKCS12_TRUE=
25009: USE_PKCS12_FALSE='#'
25010: else
25011: USE_PKCS12_TRUE='#'
25012: USE_PKCS12_FALSE=
25013: fi
25014:
25015: if test x$pgp = xtrue; then
25016: USE_PGP_TRUE=
25017: USE_PGP_FALSE='#'
25018: else
25019: USE_PGP_TRUE='#'
25020: USE_PGP_FALSE=
25021: fi
25022:
25023: if test x$dnskey = xtrue; then
25024: USE_DNSKEY_TRUE=
25025: USE_DNSKEY_FALSE='#'
25026: else
25027: USE_DNSKEY_TRUE='#'
25028: USE_DNSKEY_FALSE=
25029: fi
25030:
25031: if test x$sshkey = xtrue; then
25032: USE_SSHKEY_TRUE=
25033: USE_SSHKEY_FALSE='#'
25034: else
25035: USE_SSHKEY_TRUE='#'
25036: USE_SSHKEY_FALSE=
25037: fi
25038:
25039: if test x$pem = xtrue; then
25040: USE_PEM_TRUE=
25041: USE_PEM_FALSE='#'
25042: else
25043: USE_PEM_TRUE='#'
25044: USE_PEM_FALSE=
25045: fi
25046:
25047: if test x$hmac = xtrue; then
25048: USE_HMAC_TRUE=
25049: USE_HMAC_FALSE='#'
25050: else
25051: USE_HMAC_TRUE='#'
25052: USE_HMAC_FALSE=
25053: fi
25054:
25055: if test x$cmac = xtrue; then
25056: USE_CMAC_TRUE=
25057: USE_CMAC_FALSE='#'
25058: else
25059: USE_CMAC_TRUE='#'
25060: USE_CMAC_FALSE=
25061: fi
25062:
25063: if test x$xcbc = xtrue; then
25064: USE_XCBC_TRUE=
25065: USE_XCBC_FALSE='#'
25066: else
25067: USE_XCBC_TRUE='#'
25068: USE_XCBC_FALSE=
25069: fi
25070:
25071: if test x$mysql = xtrue; then
25072: USE_MYSQL_TRUE=
25073: USE_MYSQL_FALSE='#'
25074: else
25075: USE_MYSQL_TRUE='#'
25076: USE_MYSQL_FALSE=
25077: fi
25078:
25079: if test x$sqlite = xtrue; then
25080: USE_SQLITE_TRUE=
25081: USE_SQLITE_FALSE='#'
25082: else
25083: USE_SQLITE_TRUE='#'
25084: USE_SQLITE_FALSE=
25085: fi
25086:
25087: if test x$padlock = xtrue; then
25088: USE_PADLOCK_TRUE=
25089: USE_PADLOCK_FALSE='#'
25090: else
25091: USE_PADLOCK_TRUE='#'
25092: USE_PADLOCK_FALSE=
25093: fi
25094:
25095: if test x$openssl = xtrue; then
25096: USE_OPENSSL_TRUE=
25097: USE_OPENSSL_FALSE='#'
25098: else
25099: USE_OPENSSL_TRUE='#'
25100: USE_OPENSSL_FALSE=
25101: fi
25102:
25103: if test x$wolfssl = xtrue; then
25104: USE_WOLFSSL_TRUE=
25105: USE_WOLFSSL_FALSE='#'
25106: else
25107: USE_WOLFSSL_TRUE='#'
25108: USE_WOLFSSL_FALSE=
25109: fi
25110:
25111: if test x$gcrypt = xtrue; then
25112: USE_GCRYPT_TRUE=
25113: USE_GCRYPT_FALSE='#'
25114: else
25115: USE_GCRYPT_TRUE='#'
25116: USE_GCRYPT_FALSE=
25117: fi
25118:
25119: if test x$botan = xtrue; then
25120: USE_BOTAN_TRUE=
25121: USE_BOTAN_FALSE='#'
25122: else
25123: USE_BOTAN_TRUE='#'
25124: USE_BOTAN_FALSE=
25125: fi
25126:
25127: if test x$agent = xtrue; then
25128: USE_AGENT_TRUE=
25129: USE_AGENT_FALSE='#'
25130: else
25131: USE_AGENT_TRUE='#'
25132: USE_AGENT_FALSE=
25133: fi
25134:
25135: if test x$keychain = xtrue; then
25136: USE_KEYCHAIN_TRUE=
25137: USE_KEYCHAIN_FALSE='#'
25138: else
25139: USE_KEYCHAIN_TRUE='#'
25140: USE_KEYCHAIN_FALSE=
25141: fi
25142:
25143: if test x$pkcs11 = xtrue; then
25144: USE_PKCS11_TRUE=
25145: USE_PKCS11_FALSE='#'
25146: else
25147: USE_PKCS11_TRUE='#'
25148: USE_PKCS11_FALSE=
25149: fi
25150:
25151: if test x$tpm = xtrue; then
25152: USE_TPM_TRUE=
25153: USE_TPM_FALSE='#'
25154: else
25155: USE_TPM_TRUE='#'
25156: USE_TPM_FALSE=
25157: fi
25158:
25159: if test x$chapoly = xtrue; then
25160: USE_CHAPOLY_TRUE=
25161: USE_CHAPOLY_FALSE='#'
25162: else
25163: USE_CHAPOLY_TRUE='#'
25164: USE_CHAPOLY_FALSE=
25165: fi
25166:
25167: if test x$ctr = xtrue; then
25168: USE_CTR_TRUE=
25169: USE_CTR_FALSE='#'
25170: else
25171: USE_CTR_TRUE='#'
25172: USE_CTR_FALSE=
25173: fi
25174:
25175: if test x$ccm = xtrue; then
25176: USE_CCM_TRUE=
25177: USE_CCM_FALSE='#'
25178: else
25179: USE_CCM_TRUE='#'
25180: USE_CCM_FALSE=
25181: fi
25182:
25183: if test x$gcm = xtrue; then
25184: USE_GCM_TRUE=
25185: USE_GCM_FALSE='#'
25186: else
25187: USE_GCM_TRUE='#'
25188: USE_GCM_FALSE=
25189: fi
25190:
25191: if test x$af_alg = xtrue; then
25192: USE_AF_ALG_TRUE=
25193: USE_AF_ALG_FALSE='#'
25194: else
25195: USE_AF_ALG_TRUE='#'
25196: USE_AF_ALG_FALSE=
25197: fi
25198:
25199: if test x$ntru = xtrue; then
25200: USE_NTRU_TRUE=
25201: USE_NTRU_FALSE='#'
25202: else
25203: USE_NTRU_TRUE='#'
25204: USE_NTRU_FALSE=
25205: fi
25206:
25207: if test x$newhope = xtrue; then
25208: USE_NEWHOPE_TRUE=
25209: USE_NEWHOPE_FALSE='#'
25210: else
25211: USE_NEWHOPE_TRUE='#'
25212: USE_NEWHOPE_FALSE=
25213: fi
25214:
25215: if test x$bliss = xtrue; then
25216: USE_BLISS_TRUE=
25217: USE_BLISS_FALSE='#'
25218: else
25219: USE_BLISS_TRUE='#'
25220: USE_BLISS_FALSE=
25221: fi
25222:
25223: if test x$drbg = xtrue; then
25224: USE_DRBG_TRUE=
25225: USE_DRBG_FALSE='#'
25226: else
25227: USE_DRBG_TRUE='#'
25228: USE_DRBG_FALSE=
25229: fi
25230:
25231:
25232: # charon plugins
25233: # ----------------
25234: if test x$stroke = xtrue; then
25235: USE_STROKE_TRUE=
25236: USE_STROKE_FALSE='#'
25237: else
25238: USE_STROKE_TRUE='#'
25239: USE_STROKE_FALSE=
25240: fi
25241:
25242: if test x$vici = xtrue; then
25243: USE_VICI_TRUE=
25244: USE_VICI_FALSE='#'
25245: else
25246: USE_VICI_TRUE='#'
25247: USE_VICI_FALSE=
25248: fi
25249:
25250: if test x$medsrv = xtrue; then
25251: USE_MEDSRV_TRUE=
25252: USE_MEDSRV_FALSE='#'
25253: else
25254: USE_MEDSRV_TRUE='#'
25255: USE_MEDSRV_FALSE=
25256: fi
25257:
25258: if test x$medcli = xtrue; then
25259: USE_MEDCLI_TRUE=
25260: USE_MEDCLI_FALSE='#'
25261: else
25262: USE_MEDCLI_TRUE='#'
25263: USE_MEDCLI_FALSE=
25264: fi
25265:
25266: if test x$uci = xtrue; then
25267: USE_UCI_TRUE=
25268: USE_UCI_FALSE='#'
25269: else
25270: USE_UCI_TRUE='#'
25271: USE_UCI_FALSE=
25272: fi
25273:
25274: if test x$osx_attr = xtrue; then
25275: USE_OSX_ATTR_TRUE=
25276: USE_OSX_ATTR_FALSE='#'
25277: else
25278: USE_OSX_ATTR_TRUE='#'
25279: USE_OSX_ATTR_FALSE=
25280: fi
25281:
25282: if test x$p_cscf = xtrue; then
25283: USE_P_CSCF_TRUE=
25284: USE_P_CSCF_FALSE='#'
25285: else
25286: USE_P_CSCF_TRUE='#'
25287: USE_P_CSCF_FALSE=
25288: fi
25289:
25290: if test x$android_dns = xtrue; then
25291: USE_ANDROID_DNS_TRUE=
25292: USE_ANDROID_DNS_FALSE='#'
25293: else
25294: USE_ANDROID_DNS_TRUE='#'
25295: USE_ANDROID_DNS_FALSE=
25296: fi
25297:
25298: if test x$android_log = xtrue; then
25299: USE_ANDROID_LOG_TRUE=
25300: USE_ANDROID_LOG_FALSE='#'
25301: else
25302: USE_ANDROID_LOG_TRUE='#'
25303: USE_ANDROID_LOG_FALSE=
25304: fi
25305:
25306: if test x$smp = xtrue; then
25307: USE_SMP_TRUE=
25308: USE_SMP_FALSE='#'
25309: else
25310: USE_SMP_TRUE='#'
25311: USE_SMP_FALSE=
25312: fi
25313:
25314: if test x$sql = xtrue; then
25315: USE_SQL_TRUE=
25316: USE_SQL_FALSE='#'
25317: else
25318: USE_SQL_TRUE='#'
25319: USE_SQL_FALSE=
25320: fi
25321:
25322: if test x$dnscert = xtrue; then
25323: USE_DNSCERT_TRUE=
25324: USE_DNSCERT_FALSE='#'
25325: else
25326: USE_DNSCERT_TRUE='#'
25327: USE_DNSCERT_FALSE=
25328: fi
25329:
25330: if test x$ipseckey = xtrue; then
25331: USE_IPSECKEY_TRUE=
25332: USE_IPSECKEY_FALSE='#'
25333: else
25334: USE_IPSECKEY_TRUE='#'
25335: USE_IPSECKEY_FALSE=
25336: fi
25337:
25338: if test x$updown = xtrue; then
25339: USE_UPDOWN_TRUE=
25340: USE_UPDOWN_FALSE='#'
25341: else
25342: USE_UPDOWN_TRUE='#'
25343: USE_UPDOWN_FALSE=
25344: fi
25345:
25346: if test x$dhcp = xtrue; then
25347: USE_DHCP_TRUE=
25348: USE_DHCP_FALSE='#'
25349: else
25350: USE_DHCP_TRUE='#'
25351: USE_DHCP_FALSE=
25352: fi
25353:
25354: if test x$load_tester = xtrue; then
25355: USE_LOAD_TESTER_TRUE=
25356: USE_LOAD_TESTER_FALSE='#'
25357: else
25358: USE_LOAD_TESTER_TRUE='#'
25359: USE_LOAD_TESTER_FALSE=
25360: fi
25361:
25362: if test x$ha = xtrue; then
25363: USE_HA_TRUE=
25364: USE_HA_FALSE='#'
25365: else
25366: USE_HA_TRUE='#'
25367: USE_HA_FALSE=
25368: fi
25369:
25370: if test x$kernel_netlink = xtrue; then
25371: USE_KERNEL_NETLINK_TRUE=
25372: USE_KERNEL_NETLINK_FALSE='#'
25373: else
25374: USE_KERNEL_NETLINK_TRUE='#'
25375: USE_KERNEL_NETLINK_FALSE=
25376: fi
25377:
25378: if test x$kernel_pfkey = xtrue; then
25379: USE_KERNEL_PFKEY_TRUE=
25380: USE_KERNEL_PFKEY_FALSE='#'
25381: else
25382: USE_KERNEL_PFKEY_TRUE='#'
25383: USE_KERNEL_PFKEY_FALSE=
25384: fi
25385:
25386: if test x$kernel_pfroute = xtrue; then
25387: USE_KERNEL_PFROUTE_TRUE=
25388: USE_KERNEL_PFROUTE_FALSE='#'
25389: else
25390: USE_KERNEL_PFROUTE_TRUE='#'
25391: USE_KERNEL_PFROUTE_FALSE=
25392: fi
25393:
25394: if test x$kernel_libipsec = xtrue; then
25395: USE_KERNEL_LIBIPSEC_TRUE=
25396: USE_KERNEL_LIBIPSEC_FALSE='#'
25397: else
25398: USE_KERNEL_LIBIPSEC_TRUE='#'
25399: USE_KERNEL_LIBIPSEC_FALSE=
25400: fi
25401:
25402: if test x$kernel_wfp = xtrue; then
25403: USE_KERNEL_WFP_TRUE=
25404: USE_KERNEL_WFP_FALSE='#'
25405: else
25406: USE_KERNEL_WFP_TRUE='#'
25407: USE_KERNEL_WFP_FALSE=
25408: fi
25409:
25410: if test x$kernel_iph = xtrue; then
25411: USE_KERNEL_IPH_TRUE=
25412: USE_KERNEL_IPH_FALSE='#'
25413: else
25414: USE_KERNEL_IPH_TRUE='#'
25415: USE_KERNEL_IPH_FALSE=
25416: fi
25417:
25418: if test x$whitelist = xtrue; then
25419: USE_WHITELIST_TRUE=
25420: USE_WHITELIST_FALSE='#'
25421: else
25422: USE_WHITELIST_TRUE='#'
25423: USE_WHITELIST_FALSE=
25424: fi
25425:
25426: if test x$ext_auth = xtrue; then
25427: USE_EXT_AUTH_TRUE=
25428: USE_EXT_AUTH_FALSE='#'
25429: else
25430: USE_EXT_AUTH_TRUE='#'
25431: USE_EXT_AUTH_FALSE=
25432: fi
25433:
25434: if test x$lookip = xtrue; then
25435: USE_LOOKIP_TRUE=
25436: USE_LOOKIP_FALSE='#'
25437: else
25438: USE_LOOKIP_TRUE='#'
25439: USE_LOOKIP_FALSE=
25440: fi
25441:
25442: if test x$error_notify = xtrue; then
25443: USE_ERROR_NOTIFY_TRUE=
25444: USE_ERROR_NOTIFY_FALSE='#'
25445: else
25446: USE_ERROR_NOTIFY_TRUE='#'
25447: USE_ERROR_NOTIFY_FALSE=
25448: fi
25449:
25450: if test x$certexpire = xtrue; then
25451: USE_CERTEXPIRE_TRUE=
25452: USE_CERTEXPIRE_FALSE='#'
25453: else
25454: USE_CERTEXPIRE_TRUE='#'
25455: USE_CERTEXPIRE_FALSE=
25456: fi
25457:
25458: if test x$systime_fix = xtrue; then
25459: USE_SYSTIME_FIX_TRUE=
25460: USE_SYSTIME_FIX_FALSE='#'
25461: else
25462: USE_SYSTIME_FIX_TRUE='#'
25463: USE_SYSTIME_FIX_FALSE=
25464: fi
25465:
25466: if test x$led = xtrue; then
25467: USE_LED_TRUE=
25468: USE_LED_FALSE='#'
25469: else
25470: USE_LED_TRUE='#'
25471: USE_LED_FALSE=
25472: fi
25473:
25474: if test x$duplicheck = xtrue; then
25475: USE_DUPLICHECK_TRUE=
25476: USE_DUPLICHECK_FALSE='#'
25477: else
25478: USE_DUPLICHECK_TRUE='#'
25479: USE_DUPLICHECK_FALSE=
25480: fi
25481:
25482: if test x$coupling = xtrue; then
25483: USE_COUPLING_TRUE=
25484: USE_COUPLING_FALSE='#'
25485: else
25486: USE_COUPLING_TRUE='#'
25487: USE_COUPLING_FALSE=
25488: fi
25489:
25490: if test x$radattr = xtrue; then
25491: USE_RADATTR_TRUE=
25492: USE_RADATTR_FALSE='#'
25493: else
25494: USE_RADATTR_TRUE='#'
25495: USE_RADATTR_FALSE=
25496: fi
25497:
25498: if test x$eap_sim = xtrue; then
25499: USE_EAP_SIM_TRUE=
25500: USE_EAP_SIM_FALSE='#'
25501: else
25502: USE_EAP_SIM_TRUE='#'
25503: USE_EAP_SIM_FALSE=
25504: fi
25505:
25506: if test x$eap_sim_file = xtrue; then
25507: USE_EAP_SIM_FILE_TRUE=
25508: USE_EAP_SIM_FILE_FALSE='#'
25509: else
25510: USE_EAP_SIM_FILE_TRUE='#'
25511: USE_EAP_SIM_FILE_FALSE=
25512: fi
25513:
25514: if test x$eap_sim_pcsc = xtrue; then
25515: USE_EAP_SIM_PCSC_TRUE=
25516: USE_EAP_SIM_PCSC_FALSE='#'
25517: else
25518: USE_EAP_SIM_PCSC_TRUE='#'
25519: USE_EAP_SIM_PCSC_FALSE=
25520: fi
25521:
25522: if test x$eap_simaka_sql = xtrue; then
25523: USE_EAP_SIMAKA_SQL_TRUE=
25524: USE_EAP_SIMAKA_SQL_FALSE='#'
25525: else
25526: USE_EAP_SIMAKA_SQL_TRUE='#'
25527: USE_EAP_SIMAKA_SQL_FALSE=
25528: fi
25529:
25530: if test x$eap_simaka_pseudonym = xtrue; then
25531: USE_EAP_SIMAKA_PSEUDONYM_TRUE=
25532: USE_EAP_SIMAKA_PSEUDONYM_FALSE='#'
25533: else
25534: USE_EAP_SIMAKA_PSEUDONYM_TRUE='#'
25535: USE_EAP_SIMAKA_PSEUDONYM_FALSE=
25536: fi
25537:
25538: if test x$eap_simaka_reauth = xtrue; then
25539: USE_EAP_SIMAKA_REAUTH_TRUE=
25540: USE_EAP_SIMAKA_REAUTH_FALSE='#'
25541: else
25542: USE_EAP_SIMAKA_REAUTH_TRUE='#'
25543: USE_EAP_SIMAKA_REAUTH_FALSE=
25544: fi
25545:
25546: if test x$eap_identity = xtrue; then
25547: USE_EAP_IDENTITY_TRUE=
25548: USE_EAP_IDENTITY_FALSE='#'
25549: else
25550: USE_EAP_IDENTITY_TRUE='#'
25551: USE_EAP_IDENTITY_FALSE=
25552: fi
25553:
25554: if test x$eap_md5 = xtrue; then
25555: USE_EAP_MD5_TRUE=
25556: USE_EAP_MD5_FALSE='#'
25557: else
25558: USE_EAP_MD5_TRUE='#'
25559: USE_EAP_MD5_FALSE=
25560: fi
25561:
25562: if test x$eap_gtc = xtrue; then
25563: USE_EAP_GTC_TRUE=
25564: USE_EAP_GTC_FALSE='#'
25565: else
25566: USE_EAP_GTC_TRUE='#'
25567: USE_EAP_GTC_FALSE=
25568: fi
25569:
25570: if test x$eap_aka = xtrue; then
25571: USE_EAP_AKA_TRUE=
25572: USE_EAP_AKA_FALSE='#'
25573: else
25574: USE_EAP_AKA_TRUE='#'
25575: USE_EAP_AKA_FALSE=
25576: fi
25577:
25578: if test x$eap_aka_3gpp = xtrue; then
25579: USE_EAP_AKA_3GPP_TRUE=
25580: USE_EAP_AKA_3GPP_FALSE='#'
25581: else
25582: USE_EAP_AKA_3GPP_TRUE='#'
25583: USE_EAP_AKA_3GPP_FALSE=
25584: fi
25585:
25586: if test x$eap_aka_3gpp2 = xtrue; then
25587: USE_EAP_AKA_3GPP2_TRUE=
25588: USE_EAP_AKA_3GPP2_FALSE='#'
25589: else
25590: USE_EAP_AKA_3GPP2_TRUE='#'
25591: USE_EAP_AKA_3GPP2_FALSE=
25592: fi
25593:
25594: if test x$eap_mschapv2 = xtrue; then
25595: USE_EAP_MSCHAPV2_TRUE=
25596: USE_EAP_MSCHAPV2_FALSE='#'
25597: else
25598: USE_EAP_MSCHAPV2_TRUE='#'
25599: USE_EAP_MSCHAPV2_FALSE=
25600: fi
25601:
25602: if test x$eap_tls = xtrue; then
25603: USE_EAP_TLS_TRUE=
25604: USE_EAP_TLS_FALSE='#'
25605: else
25606: USE_EAP_TLS_TRUE='#'
25607: USE_EAP_TLS_FALSE=
25608: fi
25609:
25610: if test x$eap_ttls = xtrue; then
25611: USE_EAP_TTLS_TRUE=
25612: USE_EAP_TTLS_FALSE='#'
25613: else
25614: USE_EAP_TTLS_TRUE='#'
25615: USE_EAP_TTLS_FALSE=
25616: fi
25617:
25618: if test x$eap_peap = xtrue; then
25619: USE_EAP_PEAP_TRUE=
25620: USE_EAP_PEAP_FALSE='#'
25621: else
25622: USE_EAP_PEAP_TRUE='#'
25623: USE_EAP_PEAP_FALSE=
25624: fi
25625:
25626: if test x$eap_tnc = xtrue; then
25627: USE_EAP_TNC_TRUE=
25628: USE_EAP_TNC_FALSE='#'
25629: else
25630: USE_EAP_TNC_TRUE='#'
25631: USE_EAP_TNC_FALSE=
25632: fi
25633:
25634: if test x$eap_dynamic = xtrue; then
25635: USE_EAP_DYNAMIC_TRUE=
25636: USE_EAP_DYNAMIC_FALSE='#'
25637: else
25638: USE_EAP_DYNAMIC_TRUE='#'
25639: USE_EAP_DYNAMIC_FALSE=
25640: fi
25641:
25642: if test x$eap_radius = xtrue; then
25643: USE_EAP_RADIUS_TRUE=
25644: USE_EAP_RADIUS_FALSE='#'
25645: else
25646: USE_EAP_RADIUS_TRUE='#'
25647: USE_EAP_RADIUS_FALSE=
25648: fi
25649:
25650: if test x$xauth_generic = xtrue; then
25651: USE_XAUTH_GENERIC_TRUE=
25652: USE_XAUTH_GENERIC_FALSE='#'
25653: else
25654: USE_XAUTH_GENERIC_TRUE='#'
25655: USE_XAUTH_GENERIC_FALSE=
25656: fi
25657:
25658: if test x$xauth_eap = xtrue; then
25659: USE_XAUTH_EAP_TRUE=
25660: USE_XAUTH_EAP_FALSE='#'
25661: else
25662: USE_XAUTH_EAP_TRUE='#'
25663: USE_XAUTH_EAP_FALSE=
25664: fi
25665:
25666: if test x$xauth_pam = xtrue; then
25667: USE_XAUTH_PAM_TRUE=
25668: USE_XAUTH_PAM_FALSE='#'
25669: else
25670: USE_XAUTH_PAM_TRUE='#'
25671: USE_XAUTH_PAM_FALSE=
25672: fi
25673:
25674: if test x$xauth_noauth = xtrue; then
25675: USE_XAUTH_NOAUTH_TRUE=
25676: USE_XAUTH_NOAUTH_FALSE='#'
25677: else
25678: USE_XAUTH_NOAUTH_TRUE='#'
25679: USE_XAUTH_NOAUTH_FALSE=
25680: fi
25681:
25682: if test x$tnc_ifmap = xtrue; then
25683: USE_TNC_IFMAP_TRUE=
25684: USE_TNC_IFMAP_FALSE='#'
25685: else
25686: USE_TNC_IFMAP_TRUE='#'
25687: USE_TNC_IFMAP_FALSE=
25688: fi
25689:
25690: if test x$tnc_pdp = xtrue; then
25691: USE_TNC_PDP_TRUE=
25692: USE_TNC_PDP_FALSE='#'
25693: else
25694: USE_TNC_PDP_TRUE='#'
25695: USE_TNC_PDP_FALSE=
25696: fi
25697:
25698: if test x$tnc_imc = xtrue; then
25699: USE_TNC_IMC_TRUE=
25700: USE_TNC_IMC_FALSE='#'
25701: else
25702: USE_TNC_IMC_TRUE='#'
25703: USE_TNC_IMC_FALSE=
25704: fi
25705:
25706: if test x$tnc_imv = xtrue; then
25707: USE_TNC_IMV_TRUE=
25708: USE_TNC_IMV_FALSE='#'
25709: else
25710: USE_TNC_IMV_TRUE='#'
25711: USE_TNC_IMV_FALSE=
25712: fi
25713:
25714: if test x$tnc_tnccs = xtrue; then
25715: USE_TNC_TNCCS_TRUE=
25716: USE_TNC_TNCCS_FALSE='#'
25717: else
25718: USE_TNC_TNCCS_TRUE='#'
25719: USE_TNC_TNCCS_FALSE=
25720: fi
25721:
25722: if test x$tnccs_11 = xtrue; then
25723: USE_TNCCS_11_TRUE=
25724: USE_TNCCS_11_FALSE='#'
25725: else
25726: USE_TNCCS_11_TRUE='#'
25727: USE_TNCCS_11_FALSE=
25728: fi
25729:
25730: if test x$tnccs_20 = xtrue; then
25731: USE_TNCCS_20_TRUE=
25732: USE_TNCCS_20_FALSE='#'
25733: else
25734: USE_TNCCS_20_TRUE='#'
25735: USE_TNCCS_20_FALSE=
25736: fi
25737:
25738: if test x$tnccs_dynamic = xtrue; then
25739: USE_TNCCS_DYNAMIC_TRUE=
25740: USE_TNCCS_DYNAMIC_FALSE='#'
25741: else
25742: USE_TNCCS_DYNAMIC_TRUE='#'
25743: USE_TNCCS_DYNAMIC_FALSE=
25744: fi
25745:
25746: if test x$imc_test = xtrue; then
25747: USE_IMC_TEST_TRUE=
25748: USE_IMC_TEST_FALSE='#'
25749: else
25750: USE_IMC_TEST_TRUE='#'
25751: USE_IMC_TEST_FALSE=
25752: fi
25753:
25754: if test x$imv_test = xtrue; then
25755: USE_IMV_TEST_TRUE=
25756: USE_IMV_TEST_FALSE='#'
25757: else
25758: USE_IMV_TEST_TRUE='#'
25759: USE_IMV_TEST_FALSE=
25760: fi
25761:
25762: if test x$imc_scanner = xtrue; then
25763: USE_IMC_SCANNER_TRUE=
25764: USE_IMC_SCANNER_FALSE='#'
25765: else
25766: USE_IMC_SCANNER_TRUE='#'
25767: USE_IMC_SCANNER_FALSE=
25768: fi
25769:
25770: if test x$imv_scanner = xtrue; then
25771: USE_IMV_SCANNER_TRUE=
25772: USE_IMV_SCANNER_FALSE='#'
25773: else
25774: USE_IMV_SCANNER_TRUE='#'
25775: USE_IMV_SCANNER_FALSE=
25776: fi
25777:
25778: if test x$imc_os = xtrue; then
25779: USE_IMC_OS_TRUE=
25780: USE_IMC_OS_FALSE='#'
25781: else
25782: USE_IMC_OS_TRUE='#'
25783: USE_IMC_OS_FALSE=
25784: fi
25785:
25786: if test x$imv_os = xtrue; then
25787: USE_IMV_OS_TRUE=
25788: USE_IMV_OS_FALSE='#'
25789: else
25790: USE_IMV_OS_TRUE='#'
25791: USE_IMV_OS_FALSE=
25792: fi
25793:
25794: if test x$imc_attestation = xtrue; then
25795: USE_IMC_ATTESTATION_TRUE=
25796: USE_IMC_ATTESTATION_FALSE='#'
25797: else
25798: USE_IMC_ATTESTATION_TRUE='#'
25799: USE_IMC_ATTESTATION_FALSE=
25800: fi
25801:
25802: if test x$imv_attestation = xtrue; then
25803: USE_IMV_ATTESTATION_TRUE=
25804: USE_IMV_ATTESTATION_FALSE='#'
25805: else
25806: USE_IMV_ATTESTATION_TRUE='#'
25807: USE_IMV_ATTESTATION_FALSE=
25808: fi
25809:
25810: if test x$imc_swima = xtrue; then
25811: USE_IMC_SWIMA_TRUE=
25812: USE_IMC_SWIMA_FALSE='#'
25813: else
25814: USE_IMC_SWIMA_TRUE='#'
25815: USE_IMC_SWIMA_FALSE=
25816: fi
25817:
25818: if test x$imv_swima = xtrue; then
25819: USE_IMV_SWIMA_TRUE=
25820: USE_IMV_SWIMA_FALSE='#'
25821: else
25822: USE_IMV_SWIMA_TRUE='#'
25823: USE_IMV_SWIMA_FALSE=
25824: fi
25825:
25826: if test x$imc_hcd = xtrue; then
25827: USE_IMC_HCD_TRUE=
25828: USE_IMC_HCD_FALSE='#'
25829: else
25830: USE_IMC_HCD_TRUE='#'
25831: USE_IMC_HCD_FALSE=
25832: fi
25833:
25834: if test x$imv_hcd = xtrue; then
25835: USE_IMV_HCD_TRUE=
25836: USE_IMV_HCD_FALSE='#'
25837: else
25838: USE_IMV_HCD_TRUE='#'
25839: USE_IMV_HCD_FALSE=
25840: fi
25841:
25842: if test x$save_keys = xtrue; then
25843: USE_SAVE_KEYS_TRUE=
25844: USE_SAVE_KEYS_FALSE='#'
25845: else
25846: USE_SAVE_KEYS_TRUE='#'
25847: USE_SAVE_KEYS_FALSE=
25848: fi
25849:
25850: if test x$socket_default = xtrue; then
25851: USE_SOCKET_DEFAULT_TRUE=
25852: USE_SOCKET_DEFAULT_FALSE='#'
25853: else
25854: USE_SOCKET_DEFAULT_TRUE='#'
25855: USE_SOCKET_DEFAULT_FALSE=
25856: fi
25857:
25858: if test x$socket_dynamic = xtrue; then
25859: USE_SOCKET_DYNAMIC_TRUE=
25860: USE_SOCKET_DYNAMIC_FALSE='#'
25861: else
25862: USE_SOCKET_DYNAMIC_TRUE='#'
25863: USE_SOCKET_DYNAMIC_FALSE=
25864: fi
25865:
25866: if test x$socket_win = xtrue; then
25867: USE_SOCKET_WIN_TRUE=
25868: USE_SOCKET_WIN_FALSE='#'
25869: else
25870: USE_SOCKET_WIN_TRUE='#'
25871: USE_SOCKET_WIN_FALSE=
25872: fi
25873:
25874: if test x$bypass_lan = xtrue; then
25875: USE_BYPASS_LAN_TRUE=
25876: USE_BYPASS_LAN_FALSE='#'
25877: else
25878: USE_BYPASS_LAN_TRUE='#'
25879: USE_BYPASS_LAN_FALSE=
25880: fi
25881:
25882: if test x$connmark = xtrue; then
25883: USE_CONNMARK_TRUE=
25884: USE_CONNMARK_FALSE='#'
25885: else
25886: USE_CONNMARK_TRUE='#'
25887: USE_CONNMARK_FALSE=
25888: fi
25889:
25890: if test x$forecast = xtrue; then
25891: USE_FORECAST_TRUE=
25892: USE_FORECAST_FALSE='#'
25893: else
25894: USE_FORECAST_TRUE='#'
25895: USE_FORECAST_FALSE=
25896: fi
25897:
25898: if test x$farp = xtrue; then
25899: USE_FARP_TRUE=
25900: USE_FARP_FALSE='#'
25901: else
25902: USE_FARP_TRUE='#'
25903: USE_FARP_FALSE=
25904: fi
25905:
25906: if test x$addrblock = xtrue; then
25907: USE_ADDRBLOCK_TRUE=
25908: USE_ADDRBLOCK_FALSE='#'
25909: else
25910: USE_ADDRBLOCK_TRUE='#'
25911: USE_ADDRBLOCK_FALSE=
25912: fi
25913:
25914: if test x$unity = xtrue; then
25915: USE_UNITY_TRUE=
25916: USE_UNITY_FALSE='#'
25917: else
25918: USE_UNITY_TRUE='#'
25919: USE_UNITY_FALSE=
25920: fi
25921:
25922: if test x$resolve = xtrue; then
25923: USE_RESOLVE_TRUE=
25924: USE_RESOLVE_FALSE='#'
25925: else
25926: USE_RESOLVE_TRUE='#'
25927: USE_RESOLVE_FALSE=
25928: fi
25929:
25930: if test x$attr = xtrue; then
25931: USE_ATTR_TRUE=
25932: USE_ATTR_FALSE='#'
25933: else
25934: USE_ATTR_TRUE='#'
25935: USE_ATTR_FALSE=
25936: fi
25937:
25938: if test x$attr_sql = xtrue; then
25939: USE_ATTR_SQL_TRUE=
25940: USE_ATTR_SQL_FALSE='#'
25941: else
25942: USE_ATTR_SQL_TRUE='#'
25943: USE_ATTR_SQL_FALSE=
25944: fi
25945:
25946: if test x$counters = xtrue; then
25947: USE_COUNTERS_TRUE=
25948: USE_COUNTERS_FALSE='#'
25949: else
25950: USE_COUNTERS_TRUE='#'
25951: USE_COUNTERS_FALSE=
25952: fi
25953:
25954:
25955: # other options
25956: # ---------------
25957: if test x$leak_detective = xtrue; then
25958: USE_LEAK_DETECTIVE_TRUE=
25959: USE_LEAK_DETECTIVE_FALSE='#'
25960: else
25961: USE_LEAK_DETECTIVE_TRUE='#'
25962: USE_LEAK_DETECTIVE_FALSE=
25963: fi
25964:
25965: if test x$lock_profiler = xtrue; then
25966: USE_LOCK_PROFILER_TRUE=
25967: USE_LOCK_PROFILER_FALSE='#'
25968: else
25969: USE_LOCK_PROFILER_TRUE='#'
25970: USE_LOCK_PROFILER_FALSE=
25971: fi
25972:
25973: if test x$fast = xtrue; then
25974: USE_FAST_TRUE=
25975: USE_FAST_FALSE='#'
25976: else
25977: USE_FAST_TRUE='#'
25978: USE_FAST_FALSE=
25979: fi
25980:
25981: if test x$manager = xtrue; then
25982: USE_MANAGER_TRUE=
25983: USE_MANAGER_FALSE='#'
25984: else
25985: USE_MANAGER_TRUE='#'
25986: USE_MANAGER_FALSE=
25987: fi
25988:
25989: if test x$mediation = xtrue; then
25990: USE_ME_TRUE=
25991: USE_ME_FALSE='#'
25992: else
25993: USE_ME_TRUE='#'
25994: USE_ME_FALSE=
25995: fi
25996:
25997: if test x$integrity_test = xtrue; then
25998: USE_INTEGRITY_TEST_TRUE=
25999: USE_INTEGRITY_TEST_FALSE='#'
26000: else
26001: USE_INTEGRITY_TEST_TRUE='#'
26002: USE_INTEGRITY_TEST_FALSE=
26003: fi
26004:
26005: if test x$load_warning = xtrue; then
26006: USE_LOAD_WARNING_TRUE=
26007: USE_LOAD_WARNING_FALSE='#'
26008: else
26009: USE_LOAD_WARNING_TRUE='#'
26010: USE_LOAD_WARNING_FALSE=
26011: fi
26012:
26013: if test x$ikev1 = xtrue; then
26014: USE_IKEV1_TRUE=
26015: USE_IKEV1_FALSE='#'
26016: else
26017: USE_IKEV1_TRUE='#'
26018: USE_IKEV1_FALSE=
26019: fi
26020:
26021: if test x$ikev2 = xtrue; then
26022: USE_IKEV2_TRUE=
26023: USE_IKEV2_FALSE='#'
26024: else
26025: USE_IKEV2_TRUE='#'
26026: USE_IKEV2_FALSE=
26027: fi
26028:
26029: if test x$threads = xtrue; then
26030: USE_THREADS_TRUE=
26031: USE_THREADS_FALSE='#'
26032: else
26033: USE_THREADS_TRUE='#'
26034: USE_THREADS_FALSE=
26035: fi
26036:
26037: if test x$adns = xtrue; then
26038: USE_ADNS_TRUE=
26039: USE_ADNS_FALSE='#'
26040: else
26041: USE_ADNS_TRUE='#'
26042: USE_ADNS_FALSE=
26043: fi
26044:
26045: if test x$charon = xtrue; then
26046: USE_CHARON_TRUE=
26047: USE_CHARON_FALSE='#'
26048: else
26049: USE_CHARON_TRUE='#'
26050: USE_CHARON_FALSE=
26051: fi
26052:
26053: if test x$nm = xtrue; then
26054: USE_NM_TRUE=
26055: USE_NM_FALSE='#'
26056: else
26057: USE_NM_TRUE='#'
26058: USE_NM_FALSE=
26059: fi
26060:
26061: if test x$pki = xtrue; then
26062: USE_PKI_TRUE=
26063: USE_PKI_FALSE='#'
26064: else
26065: USE_PKI_TRUE='#'
26066: USE_PKI_FALSE=
26067: fi
26068:
26069: if test x$scepclient = xtrue; then
26070: USE_SCEPCLIENT_TRUE=
26071: USE_SCEPCLIENT_FALSE='#'
26072: else
26073: USE_SCEPCLIENT_TRUE='#'
26074: USE_SCEPCLIENT_FALSE=
26075: fi
26076:
26077: if test x$scripts = xtrue; then
26078: USE_SCRIPTS_TRUE=
26079: USE_SCRIPTS_FALSE='#'
26080: else
26081: USE_SCRIPTS_TRUE='#'
26082: USE_SCRIPTS_FALSE=
26083: fi
26084:
26085: if test x$fuzzing = xtrue; then
26086: USE_FUZZING_TRUE=
26087: USE_FUZZING_FALSE='#'
26088: else
26089: USE_FUZZING_TRUE='#'
26090: USE_FUZZING_FALSE=
26091: fi
26092:
26093: if test x$conftest = xtrue; then
26094: USE_CONFTEST_TRUE=
26095: USE_CONFTEST_FALSE='#'
26096: else
26097: USE_CONFTEST_TRUE='#'
26098: USE_CONFTEST_FALSE=
26099: fi
26100:
26101: if test x$charon = xtrue -o x$pki = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue -o x$fast = xtrue -o x$imcv = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$tls = xtrue -o x$tnc_tnccs = xtrue -o x$aikgen = xtrue -o x$svc = xtrue -o x$systemd = xtrue; then
26102: USE_LIBSTRONGSWAN_TRUE=
26103: USE_LIBSTRONGSWAN_FALSE='#'
26104: else
26105: USE_LIBSTRONGSWAN_TRUE='#'
26106: USE_LIBSTRONGSWAN_FALSE=
26107: fi
26108:
26109: if test x$charon = xtrue -o x$conftest = xtrue -o x$nm = xtrue -o x$tkm = xtrue -o x$cmd = xtrue -o x$svc = xtrue -o x$systemd = xtrue; then
26110: USE_LIBCHARON_TRUE=
26111: USE_LIBCHARON_FALSE='#'
26112: else
26113: USE_LIBCHARON_TRUE='#'
26114: USE_LIBCHARON_FALSE=
26115: fi
26116:
26117: if test x$libipsec = xtrue; then
26118: USE_LIBIPSEC_TRUE=
26119: USE_LIBIPSEC_FALSE='#'
26120: else
26121: USE_LIBIPSEC_TRUE='#'
26122: USE_LIBIPSEC_FALSE=
26123: fi
26124:
26125: if test x$bliss = xtrue -o x$newhope = xtrue; then
26126: USE_LIBNTTFFT_TRUE=
26127: USE_LIBNTTFFT_FALSE='#'
26128: else
26129: USE_LIBNTTFFT_TRUE='#'
26130: USE_LIBNTTFFT_FALSE=
26131: fi
26132:
26133: if test x$tnc_tnccs = xtrue -o x$imcv = xtrue; then
26134: USE_LIBTNCIF_TRUE=
26135: USE_LIBTNCIF_FALSE='#'
26136: else
26137: USE_LIBTNCIF_TRUE='#'
26138: USE_LIBTNCIF_FALSE=
26139: fi
26140:
26141: if test x$tnc_tnccs = xtrue; then
26142: USE_LIBTNCCS_TRUE=
26143: USE_LIBTNCCS_FALSE='#'
26144: else
26145: USE_LIBTNCCS_TRUE='#'
26146: USE_LIBTNCCS_FALSE=
26147: fi
26148:
26149: if test x$tnc_tnccs = xtrue; then
26150: USE_LIBPTTLS_TRUE=
26151: USE_LIBPTTLS_FALSE='#'
26152: else
26153: USE_LIBPTTLS_TRUE='#'
26154: USE_LIBPTTLS_FALSE=
26155: fi
26156:
26157: if test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm = xtrue -o x$aikgen = xtrue -o x$imcv = xtrue; then
26158: USE_LIBTPMTSS_TRUE=
26159: USE_LIBTPMTSS_FALSE='#'
26160: else
26161: USE_LIBTPMTSS_TRUE='#'
26162: USE_LIBTPMTSS_FALSE=
26163: fi
26164:
26165: if test x$stroke = xtrue; then
26166: USE_FILE_CONFIG_TRUE=
26167: USE_FILE_CONFIG_FALSE='#'
26168: else
26169: USE_FILE_CONFIG_TRUE='#'
26170: USE_FILE_CONFIG_FALSE=
26171: fi
26172:
26173: if test x$stroke = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue; then
26174: USE_IPSEC_SCRIPT_TRUE=
26175: USE_IPSEC_SCRIPT_FALSE='#'
26176: else
26177: USE_IPSEC_SCRIPT_TRUE='#'
26178: USE_IPSEC_SCRIPT_FALSE=
26179: fi
26180:
26181: if test x$capabilities = xlibcap; then
26182: USE_LIBCAP_TRUE=
26183: USE_LIBCAP_FALSE='#'
26184: else
26185: USE_LIBCAP_TRUE='#'
26186: USE_LIBCAP_FALSE=
26187: fi
26188:
26189: if test x$printf_hooks = xvstr; then
26190: USE_VSTR_TRUE=
26191: USE_VSTR_FALSE='#'
26192: else
26193: USE_VSTR_TRUE='#'
26194: USE_VSTR_FALSE=
26195: fi
26196:
26197: if test x$printf_hooks = xbuiltin; then
26198: USE_BUILTIN_PRINTF_TRUE=
26199: USE_BUILTIN_PRINTF_FALSE='#'
26200: else
26201: USE_BUILTIN_PRINTF_TRUE='#'
26202: USE_BUILTIN_PRINTF_FALSE=
26203: fi
26204:
26205: if test x$simaka = xtrue; then
26206: USE_SIMAKA_TRUE=
26207: USE_SIMAKA_FALSE='#'
26208: else
26209: USE_SIMAKA_TRUE='#'
26210: USE_SIMAKA_FALSE=
26211: fi
26212:
26213: if test x$tls = xtrue; then
26214: USE_TLS_TRUE=
26215: USE_TLS_FALSE='#'
26216: else
26217: USE_TLS_TRUE='#'
26218: USE_TLS_FALSE=
26219: fi
26220:
26221: if test x$radius = xtrue; then
26222: USE_RADIUS_TRUE=
26223: USE_RADIUS_FALSE='#'
26224: else
26225: USE_RADIUS_TRUE='#'
26226: USE_RADIUS_FALSE=
26227: fi
26228:
26229: if test x$imcv = xtrue; then
26230: USE_IMCV_TRUE=
26231: USE_IMCV_FALSE='#'
26232: else
26233: USE_IMCV_TRUE='#'
26234: USE_IMCV_FALSE=
26235: fi
26236:
26237: if test x$tss_trousers = xtrue; then
26238: USE_TROUSERS_TRUE=
26239: USE_TROUSERS_FALSE='#'
26240: else
26241: USE_TROUSERS_TRUE='#'
26242: USE_TROUSERS_FALSE=
26243: fi
26244:
26245: if test x$tss_tss2 = xtrue; then
26246: USE_TSS2_TRUE=
26247: USE_TSS2_FALSE='#'
26248: else
26249: USE_TSS2_TRUE='#'
26250: USE_TSS2_FALSE=
26251: fi
26252:
26253: if test x$monolithic = xtrue; then
26254: MONOLITHIC_TRUE=
26255: MONOLITHIC_FALSE='#'
26256: else
26257: MONOLITHIC_TRUE='#'
26258: MONOLITHIC_FALSE=
26259: fi
26260:
26261: if test x$static_plugin_constructors = xtrue; then
26262: STATIC_PLUGIN_CONSTRUCTORS_TRUE=
26263: STATIC_PLUGIN_CONSTRUCTORS_FALSE='#'
26264: else
26265: STATIC_PLUGIN_CONSTRUCTORS_TRUE='#'
26266: STATIC_PLUGIN_CONSTRUCTORS_FALSE=
26267: fi
26268:
26269: if test x$enable_silent_rules = xyes; then
26270: USE_SILENT_RULES_TRUE=
26271: USE_SILENT_RULES_FALSE='#'
26272: else
26273: USE_SILENT_RULES_TRUE='#'
26274: USE_SILENT_RULES_FALSE=
26275: fi
26276:
26277: if test x$coverage = xtrue; then
26278: COVERAGE_TRUE=
26279: COVERAGE_FALSE='#'
26280: else
26281: COVERAGE_TRUE='#'
26282: COVERAGE_FALSE=
26283: fi
26284:
26285: if test x$dbghelp_backtraces = xtrue; then
26286: USE_DBGHELP_TRUE=
26287: USE_DBGHELP_FALSE='#'
26288: else
26289: USE_DBGHELP_TRUE='#'
26290: USE_DBGHELP_FALSE=
26291: fi
26292:
26293: if test x$tkm = xtrue; then
26294: USE_TKM_TRUE=
26295: USE_TKM_FALSE='#'
26296: else
26297: USE_TKM_TRUE='#'
26298: USE_TKM_FALSE=
26299: fi
26300:
26301: if test x$cmd = xtrue; then
26302: USE_CMD_TRUE=
26303: USE_CMD_FALSE='#'
26304: else
26305: USE_CMD_TRUE='#'
26306: USE_CMD_FALSE=
26307: fi
26308:
26309: if test x$aikgen = xtrue; then
26310: USE_AIKGEN_TRUE=
26311: USE_AIKGEN_FALSE='#'
26312: else
26313: USE_AIKGEN_TRUE='#'
26314: USE_AIKGEN_FALSE=
26315: fi
26316:
26317: if test x$swanctl = xtrue; then
26318: USE_SWANCTL_TRUE=
26319: USE_SWANCTL_FALSE='#'
26320: else
26321: USE_SWANCTL_TRUE='#'
26322: USE_SWANCTL_FALSE=
26323: fi
26324:
26325: if test x$svc = xtrue; then
26326: USE_SVC_TRUE=
26327: USE_SVC_FALSE='#'
26328: else
26329: USE_SVC_TRUE='#'
26330: USE_SVC_FALSE=
26331: fi
26332:
26333: if test x$systemd = xtrue; then
26334: USE_SYSTEMD_TRUE=
26335: USE_SYSTEMD_FALSE='#'
26336: else
26337: USE_SYSTEMD_TRUE='#'
26338: USE_SYSTEMD_FALSE=
26339: fi
26340:
26341: if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
26342: USE_LEGACY_SYSTEMD_TRUE=
26343: USE_LEGACY_SYSTEMD_FALSE='#'
26344: else
26345: USE_LEGACY_SYSTEMD_TRUE='#'
26346: USE_LEGACY_SYSTEMD_FALSE=
26347: fi
26348:
26349: if test x$ruby_gems = xtrue; then
26350: USE_RUBY_GEMS_TRUE=
26351: USE_RUBY_GEMS_FALSE='#'
26352: else
26353: USE_RUBY_GEMS_TRUE='#'
26354: USE_RUBY_GEMS_FALSE=
26355: fi
26356:
26357: if test x$python_eggs = xtrue; then
26358: USE_PYTHON_EGGS_TRUE=
26359: USE_PYTHON_EGGS_FALSE='#'
26360: else
26361: USE_PYTHON_EGGS_TRUE='#'
26362: USE_PYTHON_EGGS_FALSE=
26363: fi
26364:
26365: if test x$perl_cpan = xtrue; then
26366: USE_PERL_CPAN_TRUE=
26367: USE_PERL_CPAN_FALSE='#'
26368: else
26369: USE_PERL_CPAN_TRUE='#'
26370: USE_PERL_CPAN_FALSE=
26371: fi
26372:
26373: if test "x$TOX" != x; then
26374: USE_TOX_TRUE=
26375: USE_TOX_FALSE='#'
26376: else
26377: USE_TOX_TRUE='#'
26378: USE_TOX_FALSE=
26379: fi
26380:
26381: if test "x$PY_TEST" != x -a "x$TOX" = x; then
26382: USE_PY_TEST_TRUE=
26383: USE_PY_TEST_FALSE='#'
26384: else
26385: USE_PY_TEST_TRUE='#'
26386: USE_PY_TEST_FALSE=
26387: fi
26388:
26389:
26390: # ========================
26391: # set global definitions
26392: # ========================
26393:
26394: if test x$mediation = xtrue; then
26395:
26396: $as_echo "#define ME /**/" >>confdefs.h
26397:
26398: fi
26399: if test x$capabilities = xlibcap -o x$capabilities = xnative; then
26400:
26401: $as_echo "#define CAPABILITIES /**/" >>confdefs.h
26402:
26403: fi
26404: if test x$log_thread_ids = xtrue; then
26405:
26406: $as_echo "#define USE_THREAD_IDS /**/" >>confdefs.h
26407:
26408: fi
26409: if test x$monolithic = xtrue; then
26410:
26411: $as_echo "#define MONOLITHIC /**/" >>confdefs.h
26412:
26413: fi
26414: if test x$static_plugin_constructors = xtrue; then
26415:
26416: $as_echo "#define STATIC_PLUGIN_CONSTRUCTORS /**/" >>confdefs.h
26417:
26418: fi
26419: if test x$ikev1 = xtrue; then
26420:
26421: $as_echo "#define USE_IKEV1 /**/" >>confdefs.h
26422:
26423: fi
26424: if test x$ikev2 = xtrue; then
26425:
26426: $as_echo "#define USE_IKEV2 /**/" >>confdefs.h
26427:
26428: fi
26429: if test x$fuzzing = xtrue; then
26430:
26431: $as_echo "#define USE_FUZZING /**/" >>confdefs.h
26432:
26433: fi
26434: if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then
26435:
26436: $as_echo "#define USE_JSON /**/" >>confdefs.h
26437:
26438: fi
26439:
26440: # ====================================================
26441: # options for enabled modules (see conf/Makefile.am)
26442: # ====================================================
26443:
26444: strongswan_options=
26445:
26446: if test -z "$USE_AIKGEN_TRUE"; then :
26447: strongswan_options=${strongswan_options}" aikgen"
26448: fi
26449: if test -z "$USE_ATTR_SQL_TRUE"; then :
26450: strongswan_options=${strongswan_options}" pool"
26451: fi
26452: if test -z "$USE_CHARON_TRUE"; then :
26453: strongswan_options=${strongswan_options}" charon charon-logging"
26454: fi
26455: if test -z "$USE_FILE_CONFIG_TRUE"; then :
26456: strongswan_options=${strongswan_options}" starter"
26457: fi
26458: if test -z "$USE_IMV_ATTESTATION_TRUE"; then :
26459: strongswan_options=${strongswan_options}" attest"
26460: fi
26461: if test -z "$USE_IMCV_TRUE"; then :
26462: strongswan_options=${strongswan_options}" imcv"
26463: fi
26464: if test -z "$USE_IMV_SWIMA_TRUE"; then :
26465: strongswan_options=${strongswan_options}" sec-updater"
26466: fi
26467: if test -z "$USE_LIBTNCCS_TRUE"; then :
26468: strongswan_options=${strongswan_options}" tnc"
26469: fi
26470: if test -z "$USE_MANAGER_TRUE"; then :
26471: strongswan_options=${strongswan_options}" manager"
26472: fi
26473: if test -z "$USE_MEDSRV_TRUE"; then :
26474: strongswan_options=${strongswan_options}" medsrv"
26475: fi
26476: if test -z "$USE_SCEPCLIENT_TRUE"; then :
26477: strongswan_options=${strongswan_options}" scepclient"
26478: fi
26479: if test -z "$USE_PKI_TRUE"; then :
26480: strongswan_options=${strongswan_options}" pki"
26481: fi
26482: if test -z "$USE_SWANCTL_TRUE"; then :
26483: strongswan_options=${strongswan_options}" swanctl"
26484: fi
26485: if test -z "$USE_SYSTEMD_TRUE"; then :
26486: strongswan_options=${strongswan_options}" charon-systemd"
26487: fi
26488:
26489:
26490:
26491: # =================
26492: # build Makefiles
26493: # =================
26494:
26495: ac_config_files="$ac_config_files Makefile conf/Makefile fuzz/Makefile man/Makefile init/Makefile init/systemd/Makefile init/systemd-starter/Makefile src/Makefile src/include/Makefile src/libstrongswan/Makefile src/libstrongswan/math/libnttfft/Makefile src/libstrongswan/math/libnttfft/tests/Makefile src/libstrongswan/plugins/aes/Makefile src/libstrongswan/plugins/cmac/Makefile src/libstrongswan/plugins/des/Makefile src/libstrongswan/plugins/blowfish/Makefile src/libstrongswan/plugins/rc2/Makefile src/libstrongswan/plugins/md4/Makefile src/libstrongswan/plugins/md5/Makefile src/libstrongswan/plugins/sha1/Makefile src/libstrongswan/plugins/sha2/Makefile src/libstrongswan/plugins/sha3/Makefile src/libstrongswan/plugins/mgf1/Makefile src/libstrongswan/plugins/fips_prf/Makefile src/libstrongswan/plugins/gmp/Makefile src/libstrongswan/plugins/curve25519/Makefile src/libstrongswan/plugins/rdrand/Makefile src/libstrongswan/plugins/aesni/Makefile src/libstrongswan/plugins/random/Makefile src/libstrongswan/plugins/nonce/Makefile src/libstrongswan/plugins/hmac/Makefile src/libstrongswan/plugins/xcbc/Makefile src/libstrongswan/plugins/x509/Makefile src/libstrongswan/plugins/revocation/Makefile src/libstrongswan/plugins/constraints/Makefile src/libstrongswan/plugins/acert/Makefile src/libstrongswan/plugins/pubkey/Makefile src/libstrongswan/plugins/pkcs1/Makefile src/libstrongswan/plugins/pkcs7/Makefile src/libstrongswan/plugins/pkcs8/Makefile src/libstrongswan/plugins/pkcs12/Makefile src/libstrongswan/plugins/pgp/Makefile src/libstrongswan/plugins/dnskey/Makefile src/libstrongswan/plugins/sshkey/Makefile src/libstrongswan/plugins/pem/Makefile src/libstrongswan/plugins/curl/Makefile src/libstrongswan/plugins/files/Makefile src/libstrongswan/plugins/winhttp/Makefile src/libstrongswan/plugins/unbound/Makefile src/libstrongswan/plugins/soup/Makefile src/libstrongswan/plugins/ldap/Makefile src/libstrongswan/plugins/mysql/Makefile src/libstrongswan/plugins/sqlite/Makefile src/libstrongswan/plugins/padlock/Makefile src/libstrongswan/plugins/openssl/Makefile src/libstrongswan/plugins/wolfssl/Makefile src/libstrongswan/plugins/gcrypt/Makefile src/libstrongswan/plugins/botan/Makefile src/libstrongswan/plugins/agent/Makefile src/libstrongswan/plugins/keychain/Makefile src/libstrongswan/plugins/pkcs11/Makefile src/libstrongswan/plugins/chapoly/Makefile src/libstrongswan/plugins/ctr/Makefile src/libstrongswan/plugins/ccm/Makefile src/libstrongswan/plugins/gcm/Makefile src/libstrongswan/plugins/af_alg/Makefile src/libstrongswan/plugins/drbg/Makefile src/libstrongswan/plugins/ntru/Makefile src/libstrongswan/plugins/bliss/Makefile src/libstrongswan/plugins/bliss/tests/Makefile src/libstrongswan/plugins/newhope/Makefile src/libstrongswan/plugins/newhope/tests/Makefile src/libstrongswan/plugins/test_vectors/Makefile src/libstrongswan/tests/Makefile src/libipsec/Makefile src/libipsec/tests/Makefile src/libsimaka/Makefile src/libtls/Makefile src/libtls/tests/Makefile src/libradius/Makefile src/libtncif/Makefile src/libtnccs/Makefile src/libtnccs/plugins/tnc_tnccs/Makefile src/libtnccs/plugins/tnc_imc/Makefile src/libtnccs/plugins/tnc_imv/Makefile src/libtnccs/plugins/tnccs_11/Makefile src/libtnccs/plugins/tnccs_20/Makefile src/libtnccs/plugins/tnccs_dynamic/Makefile src/libpttls/Makefile src/libimcv/Makefile src/libimcv/plugins/imc_test/Makefile src/libimcv/plugins/imv_test/Makefile src/libimcv/plugins/imc_scanner/Makefile src/libimcv/plugins/imv_scanner/Makefile src/libimcv/plugins/imc_os/Makefile src/libimcv/plugins/imv_os/Makefile src/libimcv/plugins/imc_attestation/Makefile src/libimcv/plugins/imv_attestation/Makefile src/libimcv/plugins/imc_swima/Makefile src/libimcv/plugins/imv_swima/Makefile src/libimcv/plugins/imc_hcd/Makefile src/libimcv/plugins/imv_hcd/Makefile src/charon/Makefile src/charon-nm/Makefile src/charon-tkm/Makefile src/charon-cmd/Makefile src/charon-svc/Makefile src/charon-systemd/Makefile src/libcharon/Makefile src/libcharon/plugins/eap_aka/Makefile src/libcharon/plugins/eap_aka_3gpp/Makefile src/libcharon/plugins/eap_aka_3gpp/tests/Makefile src/libcharon/plugins/eap_aka_3gpp2/Makefile src/libcharon/plugins/eap_dynamic/Makefile src/libcharon/plugins/eap_identity/Makefile src/libcharon/plugins/eap_md5/Makefile src/libcharon/plugins/eap_gtc/Makefile src/libcharon/plugins/eap_sim/Makefile src/libcharon/plugins/eap_sim_file/Makefile src/libcharon/plugins/eap_sim_pcsc/Makefile src/libcharon/plugins/eap_simaka_sql/Makefile src/libcharon/plugins/eap_simaka_pseudonym/Makefile src/libcharon/plugins/eap_simaka_reauth/Makefile src/libcharon/plugins/eap_mschapv2/Makefile src/libcharon/plugins/eap_tls/Makefile src/libcharon/plugins/eap_ttls/Makefile src/libcharon/plugins/eap_peap/Makefile src/libcharon/plugins/eap_tnc/Makefile src/libcharon/plugins/eap_radius/Makefile src/libcharon/plugins/xauth_generic/Makefile src/libcharon/plugins/xauth_eap/Makefile src/libcharon/plugins/xauth_pam/Makefile src/libcharon/plugins/xauth_noauth/Makefile src/libcharon/plugins/tnc_ifmap/Makefile src/libcharon/plugins/tnc_pdp/Makefile src/libcharon/plugins/save_keys/Makefile src/libcharon/plugins/socket_default/Makefile src/libcharon/plugins/socket_dynamic/Makefile src/libcharon/plugins/socket_win/Makefile src/libcharon/plugins/bypass_lan/Makefile src/libcharon/plugins/connmark/Makefile src/libcharon/plugins/counters/Makefile src/libcharon/plugins/forecast/Makefile src/libcharon/plugins/farp/Makefile src/libcharon/plugins/smp/Makefile src/libcharon/plugins/sql/Makefile src/libcharon/plugins/dnscert/Makefile src/libcharon/plugins/ipseckey/Makefile src/libcharon/plugins/medsrv/Makefile src/libcharon/plugins/medcli/Makefile src/libcharon/plugins/addrblock/Makefile src/libcharon/plugins/unity/Makefile src/libcharon/plugins/uci/Makefile src/libcharon/plugins/ha/Makefile src/libcharon/plugins/kernel_netlink/Makefile src/libcharon/plugins/kernel_pfkey/Makefile src/libcharon/plugins/kernel_pfroute/Makefile src/libcharon/plugins/kernel_libipsec/Makefile src/libcharon/plugins/kernel_wfp/Makefile src/libcharon/plugins/kernel_iph/Makefile src/libcharon/plugins/whitelist/Makefile src/libcharon/plugins/ext_auth/Makefile src/libcharon/plugins/lookip/Makefile src/libcharon/plugins/error_notify/Makefile src/libcharon/plugins/certexpire/Makefile src/libcharon/plugins/systime_fix/Makefile src/libcharon/plugins/led/Makefile src/libcharon/plugins/duplicheck/Makefile src/libcharon/plugins/coupling/Makefile src/libcharon/plugins/radattr/Makefile src/libcharon/plugins/osx_attr/Makefile src/libcharon/plugins/p_cscf/Makefile src/libcharon/plugins/android_dns/Makefile src/libcharon/plugins/android_log/Makefile src/libcharon/plugins/stroke/Makefile src/libcharon/plugins/vici/Makefile src/libcharon/plugins/vici/ruby/Makefile src/libcharon/plugins/vici/perl/Makefile src/libcharon/plugins/vici/python/Makefile src/libcharon/plugins/updown/Makefile src/libcharon/plugins/dhcp/Makefile src/libcharon/plugins/load_tester/Makefile src/libcharon/plugins/resolve/Makefile src/libcharon/plugins/attr/Makefile src/libcharon/plugins/attr_sql/Makefile src/libcharon/tests/Makefile src/libtpmtss/Makefile src/libtpmtss/plugins/tpm/Makefile src/stroke/Makefile src/ipsec/Makefile src/starter/Makefile src/starter/tests/Makefile src/_updown/Makefile src/_copyright/Makefile src/scepclient/Makefile src/aikgen/Makefile src/tpm_extendpcr/Makefile src/pki/Makefile src/pki/man/Makefile src/pool/Makefile src/libfast/Makefile src/manager/Makefile src/medsrv/Makefile src/checksum/Makefile src/conftest/Makefile src/pt-tls-client/Makefile src/sw-collector/Makefile src/sec-updater/Makefile src/swanctl/Makefile src/xfrmi/Makefile scripts/Makefile testing/Makefile"
26496:
26497:
26498: # =================
26499: # build man pages
26500: # =================
26501:
26502: ac_config_files="$ac_config_files conf/strongswan.conf.5.head conf/strongswan.conf.5.tail man/ipsec.conf.5 man/ipsec.secrets.5 src/charon-cmd/charon-cmd.8 src/pki/man/pki.1 src/pki/man/pki---acert.1 src/pki/man/pki---dn.1 src/pki/man/pki---gen.1 src/pki/man/pki---issue.1 src/pki/man/pki---keyid.1 src/pki/man/pki---pkcs12.1 src/pki/man/pki---pkcs7.1 src/pki/man/pki---print.1 src/pki/man/pki---pub.1 src/pki/man/pki---req.1 src/pki/man/pki---self.1 src/pki/man/pki---signcrl.1 src/pki/man/pki---verify.1 src/swanctl/swanctl.8 src/swanctl/swanctl.conf.5.head src/swanctl/swanctl.conf.5.tail src/pt-tls-client/pt-tls-client.1 src/sw-collector/sw-collector.8 src/sec-updater/sec-updater.8"
26503:
26504:
26505: cat >confcache <<\_ACEOF
26506: # This file is a shell script that caches the results of configure
26507: # tests run on this system so they can be shared between configure
26508: # scripts and configure runs, see configure's option --config-cache.
26509: # It is not useful on other systems. If it contains results you don't
26510: # want to keep, you may remove or edit it.
26511: #
26512: # config.status only pays attention to the cache file if you give it
26513: # the --recheck option to rerun configure.
26514: #
26515: # `ac_cv_env_foo' variables (set or unset) will be overridden when
26516: # loading this file, other *unset* `ac_cv_foo' will be assigned the
26517: # following values.
26518:
26519: _ACEOF
26520:
26521: # The following way of writing the cache mishandles newlines in values,
26522: # but we know of no workaround that is simple, portable, and efficient.
26523: # So, we kill variables containing newlines.
26524: # Ultrix sh set writes to stderr and can't be redirected directly,
26525: # and sets the high bit in the cache file unless we assign to the vars.
26526: (
26527: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26528: eval ac_val=\$$ac_var
26529: case $ac_val in #(
26530: *${as_nl}*)
26531: case $ac_var in #(
26532: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26533: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26534: esac
26535: case $ac_var in #(
26536: _ | IFS | as_nl) ;; #(
26537: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26538: *) { eval $ac_var=; unset $ac_var;} ;;
26539: esac ;;
26540: esac
26541: done
26542:
26543: (set) 2>&1 |
26544: case $as_nl`(ac_space=' '; set) 2>&1` in #(
26545: *${as_nl}ac_space=\ *)
26546: # `set' does not quote correctly, so add quotes: double-quote
26547: # substitution turns \\\\ into \\, and sed turns \\ into \.
26548: sed -n \
26549: "s/'/'\\\\''/g;
26550: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26551: ;; #(
26552: *)
26553: # `set' quotes correctly as required by POSIX, so do not add quotes.
26554: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26555: ;;
26556: esac |
26557: sort
26558: ) |
26559: sed '
26560: /^ac_cv_env_/b end
26561: t clear
26562: :clear
26563: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26564: t end
26565: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26566: :end' >>confcache
26567: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26568: if test -w "$cache_file"; then
26569: if test "x$cache_file" != "x/dev/null"; then
26570: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26571: $as_echo "$as_me: updating cache $cache_file" >&6;}
26572: if test ! -f "$cache_file" || test -h "$cache_file"; then
26573: cat confcache >"$cache_file"
26574: else
26575: case $cache_file in #(
26576: */* | ?:*)
26577: mv -f confcache "$cache_file"$$ &&
26578: mv -f "$cache_file"$$ "$cache_file" ;; #(
26579: *)
26580: mv -f confcache "$cache_file" ;;
26581: esac
26582: fi
26583: fi
26584: else
26585: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26586: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26587: fi
26588: fi
26589: rm -f confcache
26590:
26591: test "x$prefix" = xNONE && prefix=$ac_default_prefix
26592: # Let make expand exec_prefix.
26593: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26594:
26595: DEFS=-DHAVE_CONFIG_H
26596:
26597: ac_libobjs=
26598: ac_ltlibobjs=
26599: U=
26600: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26601: # 1. Remove the extension, and $U if already installed.
26602: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26603: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26604: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26605: # will be set to the directory where LIBOBJS objects are built.
26606: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26607: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26608: done
26609: LIBOBJS=$ac_libobjs
26610:
26611: LTLIBOBJS=$ac_ltlibobjs
26612:
26613:
26614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26615: $as_echo_n "checking that generated files are newer than configure... " >&6; }
26616: if test -n "$am_sleep_pid"; then
26617: # Hide warnings about reused PIDs.
26618: wait $am_sleep_pid 2>/dev/null
26619: fi
26620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26621: $as_echo "done" >&6; }
26622: if test -n "$EXEEXT"; then
26623: am__EXEEXT_TRUE=
26624: am__EXEEXT_FALSE='#'
26625: else
26626: am__EXEEXT_TRUE='#'
26627: am__EXEEXT_FALSE=
26628: fi
26629:
26630: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26631: as_fn_error $? "conditional \"AMDEP\" was never defined.
26632: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26633: fi
26634: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26635: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26636: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26637: fi
26638:
26639: if test -z "${USE_SYSLOG_TRUE}" && test -z "${USE_SYSLOG_FALSE}"; then
26640: as_fn_error $? "conditional \"USE_SYSLOG\" was never defined.
26641: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26642: fi
26643: if test -z "${USE_WINDOWS_TRUE}" && test -z "${USE_WINDOWS_FALSE}"; then
26644: as_fn_error $? "conditional \"USE_WINDOWS\" was never defined.
26645: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26646: fi
26647: if test -z "${USE_X86X64_TRUE}" && test -z "${USE_X86X64_FALSE}"; then
26648: as_fn_error $? "conditional \"USE_X86X64\" was never defined.
26649: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26650: fi
26651: if test -z "${USE_DEV_HEADERS_TRUE}" && test -z "${USE_DEV_HEADERS_FALSE}"; then
26652: as_fn_error $? "conditional \"USE_DEV_HEADERS\" was never defined.
26653: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26654: fi
26655: if test -z "${RUBY_GEMS_INSTALL_TRUE}" && test -z "${RUBY_GEMS_INSTALL_FALSE}"; then
26656: as_fn_error $? "conditional \"RUBY_GEMS_INSTALL\" was never defined.
26657: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26658: fi
26659: if test -z "${PYTHON_EGGS_INSTALL_TRUE}" && test -z "${PYTHON_EGGS_INSTALL_FALSE}"; then
26660: as_fn_error $? "conditional \"PYTHON_EGGS_INSTALL\" was never defined.
26661: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26662: fi
26663: if test -z "${PERL_CPAN_INSTALL_TRUE}" && test -z "${PERL_CPAN_INSTALL_FALSE}"; then
26664: as_fn_error $? "conditional \"PERL_CPAN_INSTALL\" was never defined.
26665: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26666: fi
26667: if test -z "${USE_TEST_VECTORS_TRUE}" && test -z "${USE_TEST_VECTORS_FALSE}"; then
26668: as_fn_error $? "conditional \"USE_TEST_VECTORS\" was never defined.
26669: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26670: fi
26671: if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
26672: as_fn_error $? "conditional \"USE_CURL\" was never defined.
26673: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26674: fi
26675: if test -z "${USE_FILES_TRUE}" && test -z "${USE_FILES_FALSE}"; then
26676: as_fn_error $? "conditional \"USE_FILES\" was never defined.
26677: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26678: fi
26679: if test -z "${USE_WINHTTP_TRUE}" && test -z "${USE_WINHTTP_FALSE}"; then
26680: as_fn_error $? "conditional \"USE_WINHTTP\" was never defined.
26681: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26682: fi
26683: if test -z "${USE_UNBOUND_TRUE}" && test -z "${USE_UNBOUND_FALSE}"; then
26684: as_fn_error $? "conditional \"USE_UNBOUND\" was never defined.
26685: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26686: fi
26687: if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
26688: as_fn_error $? "conditional \"USE_SOUP\" was never defined.
26689: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26690: fi
26691: if test -z "${USE_LDAP_TRUE}" && test -z "${USE_LDAP_FALSE}"; then
26692: as_fn_error $? "conditional \"USE_LDAP\" was never defined.
26693: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26694: fi
26695: if test -z "${USE_AES_TRUE}" && test -z "${USE_AES_FALSE}"; then
26696: as_fn_error $? "conditional \"USE_AES\" was never defined.
26697: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26698: fi
26699: if test -z "${USE_DES_TRUE}" && test -z "${USE_DES_FALSE}"; then
26700: as_fn_error $? "conditional \"USE_DES\" was never defined.
26701: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26702: fi
26703: if test -z "${USE_BLOWFISH_TRUE}" && test -z "${USE_BLOWFISH_FALSE}"; then
26704: as_fn_error $? "conditional \"USE_BLOWFISH\" was never defined.
26705: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26706: fi
26707: if test -z "${USE_RC2_TRUE}" && test -z "${USE_RC2_FALSE}"; then
26708: as_fn_error $? "conditional \"USE_RC2\" was never defined.
26709: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26710: fi
26711: if test -z "${USE_MD4_TRUE}" && test -z "${USE_MD4_FALSE}"; then
26712: as_fn_error $? "conditional \"USE_MD4\" was never defined.
26713: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26714: fi
26715: if test -z "${USE_MD5_TRUE}" && test -z "${USE_MD5_FALSE}"; then
26716: as_fn_error $? "conditional \"USE_MD5\" was never defined.
26717: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26718: fi
26719: if test -z "${USE_SHA1_TRUE}" && test -z "${USE_SHA1_FALSE}"; then
26720: as_fn_error $? "conditional \"USE_SHA1\" was never defined.
26721: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26722: fi
26723: if test -z "${USE_SHA2_TRUE}" && test -z "${USE_SHA2_FALSE}"; then
26724: as_fn_error $? "conditional \"USE_SHA2\" was never defined.
26725: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26726: fi
26727: if test -z "${USE_SHA3_TRUE}" && test -z "${USE_SHA3_FALSE}"; then
26728: as_fn_error $? "conditional \"USE_SHA3\" was never defined.
26729: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26730: fi
26731: if test -z "${USE_MGF1_TRUE}" && test -z "${USE_MGF1_FALSE}"; then
26732: as_fn_error $? "conditional \"USE_MGF1\" was never defined.
26733: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26734: fi
26735: if test -z "${USE_FIPS_PRF_TRUE}" && test -z "${USE_FIPS_PRF_FALSE}"; then
26736: as_fn_error $? "conditional \"USE_FIPS_PRF\" was never defined.
26737: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26738: fi
26739: if test -z "${USE_GMP_TRUE}" && test -z "${USE_GMP_FALSE}"; then
26740: as_fn_error $? "conditional \"USE_GMP\" was never defined.
26741: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26742: fi
26743: if test -z "${USE_CURVE25519_TRUE}" && test -z "${USE_CURVE25519_FALSE}"; then
26744: as_fn_error $? "conditional \"USE_CURVE25519\" was never defined.
26745: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26746: fi
26747: if test -z "${USE_RDRAND_TRUE}" && test -z "${USE_RDRAND_FALSE}"; then
26748: as_fn_error $? "conditional \"USE_RDRAND\" was never defined.
26749: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26750: fi
26751: if test -z "${USE_AESNI_TRUE}" && test -z "${USE_AESNI_FALSE}"; then
26752: as_fn_error $? "conditional \"USE_AESNI\" was never defined.
26753: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26754: fi
26755: if test -z "${USE_RANDOM_TRUE}" && test -z "${USE_RANDOM_FALSE}"; then
26756: as_fn_error $? "conditional \"USE_RANDOM\" was never defined.
26757: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26758: fi
26759: if test -z "${USE_NONCE_TRUE}" && test -z "${USE_NONCE_FALSE}"; then
26760: as_fn_error $? "conditional \"USE_NONCE\" was never defined.
26761: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26762: fi
26763: if test -z "${USE_X509_TRUE}" && test -z "${USE_X509_FALSE}"; then
26764: as_fn_error $? "conditional \"USE_X509\" was never defined.
26765: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26766: fi
26767: if test -z "${USE_REVOCATION_TRUE}" && test -z "${USE_REVOCATION_FALSE}"; then
26768: as_fn_error $? "conditional \"USE_REVOCATION\" was never defined.
26769: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26770: fi
26771: if test -z "${USE_CONSTRAINTS_TRUE}" && test -z "${USE_CONSTRAINTS_FALSE}"; then
26772: as_fn_error $? "conditional \"USE_CONSTRAINTS\" was never defined.
26773: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26774: fi
26775: if test -z "${USE_ACERT_TRUE}" && test -z "${USE_ACERT_FALSE}"; then
26776: as_fn_error $? "conditional \"USE_ACERT\" was never defined.
26777: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26778: fi
26779: if test -z "${USE_PUBKEY_TRUE}" && test -z "${USE_PUBKEY_FALSE}"; then
26780: as_fn_error $? "conditional \"USE_PUBKEY\" was never defined.
26781: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26782: fi
26783: if test -z "${USE_PKCS1_TRUE}" && test -z "${USE_PKCS1_FALSE}"; then
26784: as_fn_error $? "conditional \"USE_PKCS1\" was never defined.
26785: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26786: fi
26787: if test -z "${USE_PKCS7_TRUE}" && test -z "${USE_PKCS7_FALSE}"; then
26788: as_fn_error $? "conditional \"USE_PKCS7\" was never defined.
26789: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26790: fi
26791: if test -z "${USE_PKCS8_TRUE}" && test -z "${USE_PKCS8_FALSE}"; then
26792: as_fn_error $? "conditional \"USE_PKCS8\" was never defined.
26793: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26794: fi
26795: if test -z "${USE_PKCS12_TRUE}" && test -z "${USE_PKCS12_FALSE}"; then
26796: as_fn_error $? "conditional \"USE_PKCS12\" was never defined.
26797: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26798: fi
26799: if test -z "${USE_PGP_TRUE}" && test -z "${USE_PGP_FALSE}"; then
26800: as_fn_error $? "conditional \"USE_PGP\" was never defined.
26801: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26802: fi
26803: if test -z "${USE_DNSKEY_TRUE}" && test -z "${USE_DNSKEY_FALSE}"; then
26804: as_fn_error $? "conditional \"USE_DNSKEY\" was never defined.
26805: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26806: fi
26807: if test -z "${USE_SSHKEY_TRUE}" && test -z "${USE_SSHKEY_FALSE}"; then
26808: as_fn_error $? "conditional \"USE_SSHKEY\" was never defined.
26809: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26810: fi
26811: if test -z "${USE_PEM_TRUE}" && test -z "${USE_PEM_FALSE}"; then
26812: as_fn_error $? "conditional \"USE_PEM\" was never defined.
26813: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26814: fi
26815: if test -z "${USE_HMAC_TRUE}" && test -z "${USE_HMAC_FALSE}"; then
26816: as_fn_error $? "conditional \"USE_HMAC\" was never defined.
26817: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26818: fi
26819: if test -z "${USE_CMAC_TRUE}" && test -z "${USE_CMAC_FALSE}"; then
26820: as_fn_error $? "conditional \"USE_CMAC\" was never defined.
26821: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26822: fi
26823: if test -z "${USE_XCBC_TRUE}" && test -z "${USE_XCBC_FALSE}"; then
26824: as_fn_error $? "conditional \"USE_XCBC\" was never defined.
26825: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26826: fi
26827: if test -z "${USE_MYSQL_TRUE}" && test -z "${USE_MYSQL_FALSE}"; then
26828: as_fn_error $? "conditional \"USE_MYSQL\" was never defined.
26829: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26830: fi
26831: if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
26832: as_fn_error $? "conditional \"USE_SQLITE\" was never defined.
26833: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26834: fi
26835: if test -z "${USE_PADLOCK_TRUE}" && test -z "${USE_PADLOCK_FALSE}"; then
26836: as_fn_error $? "conditional \"USE_PADLOCK\" was never defined.
26837: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26838: fi
26839: if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then
26840: as_fn_error $? "conditional \"USE_OPENSSL\" was never defined.
26841: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26842: fi
26843: if test -z "${USE_WOLFSSL_TRUE}" && test -z "${USE_WOLFSSL_FALSE}"; then
26844: as_fn_error $? "conditional \"USE_WOLFSSL\" was never defined.
26845: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26846: fi
26847: if test -z "${USE_GCRYPT_TRUE}" && test -z "${USE_GCRYPT_FALSE}"; then
26848: as_fn_error $? "conditional \"USE_GCRYPT\" was never defined.
26849: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26850: fi
26851: if test -z "${USE_BOTAN_TRUE}" && test -z "${USE_BOTAN_FALSE}"; then
26852: as_fn_error $? "conditional \"USE_BOTAN\" was never defined.
26853: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26854: fi
26855: if test -z "${USE_AGENT_TRUE}" && test -z "${USE_AGENT_FALSE}"; then
26856: as_fn_error $? "conditional \"USE_AGENT\" was never defined.
26857: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26858: fi
26859: if test -z "${USE_KEYCHAIN_TRUE}" && test -z "${USE_KEYCHAIN_FALSE}"; then
26860: as_fn_error $? "conditional \"USE_KEYCHAIN\" was never defined.
26861: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26862: fi
26863: if test -z "${USE_PKCS11_TRUE}" && test -z "${USE_PKCS11_FALSE}"; then
26864: as_fn_error $? "conditional \"USE_PKCS11\" was never defined.
26865: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26866: fi
26867: if test -z "${USE_TPM_TRUE}" && test -z "${USE_TPM_FALSE}"; then
26868: as_fn_error $? "conditional \"USE_TPM\" was never defined.
26869: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26870: fi
26871: if test -z "${USE_CHAPOLY_TRUE}" && test -z "${USE_CHAPOLY_FALSE}"; then
26872: as_fn_error $? "conditional \"USE_CHAPOLY\" was never defined.
26873: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26874: fi
26875: if test -z "${USE_CTR_TRUE}" && test -z "${USE_CTR_FALSE}"; then
26876: as_fn_error $? "conditional \"USE_CTR\" was never defined.
26877: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26878: fi
26879: if test -z "${USE_CCM_TRUE}" && test -z "${USE_CCM_FALSE}"; then
26880: as_fn_error $? "conditional \"USE_CCM\" was never defined.
26881: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26882: fi
26883: if test -z "${USE_GCM_TRUE}" && test -z "${USE_GCM_FALSE}"; then
26884: as_fn_error $? "conditional \"USE_GCM\" was never defined.
26885: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26886: fi
26887: if test -z "${USE_AF_ALG_TRUE}" && test -z "${USE_AF_ALG_FALSE}"; then
26888: as_fn_error $? "conditional \"USE_AF_ALG\" was never defined.
26889: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26890: fi
26891: if test -z "${USE_NTRU_TRUE}" && test -z "${USE_NTRU_FALSE}"; then
26892: as_fn_error $? "conditional \"USE_NTRU\" was never defined.
26893: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26894: fi
26895: if test -z "${USE_NEWHOPE_TRUE}" && test -z "${USE_NEWHOPE_FALSE}"; then
26896: as_fn_error $? "conditional \"USE_NEWHOPE\" was never defined.
26897: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26898: fi
26899: if test -z "${USE_BLISS_TRUE}" && test -z "${USE_BLISS_FALSE}"; then
26900: as_fn_error $? "conditional \"USE_BLISS\" was never defined.
26901: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26902: fi
26903: if test -z "${USE_DRBG_TRUE}" && test -z "${USE_DRBG_FALSE}"; then
26904: as_fn_error $? "conditional \"USE_DRBG\" was never defined.
26905: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26906: fi
26907: if test -z "${USE_STROKE_TRUE}" && test -z "${USE_STROKE_FALSE}"; then
26908: as_fn_error $? "conditional \"USE_STROKE\" was never defined.
26909: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26910: fi
26911: if test -z "${USE_VICI_TRUE}" && test -z "${USE_VICI_FALSE}"; then
26912: as_fn_error $? "conditional \"USE_VICI\" was never defined.
26913: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26914: fi
26915: if test -z "${USE_MEDSRV_TRUE}" && test -z "${USE_MEDSRV_FALSE}"; then
26916: as_fn_error $? "conditional \"USE_MEDSRV\" was never defined.
26917: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26918: fi
26919: if test -z "${USE_MEDCLI_TRUE}" && test -z "${USE_MEDCLI_FALSE}"; then
26920: as_fn_error $? "conditional \"USE_MEDCLI\" was never defined.
26921: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26922: fi
26923: if test -z "${USE_UCI_TRUE}" && test -z "${USE_UCI_FALSE}"; then
26924: as_fn_error $? "conditional \"USE_UCI\" was never defined.
26925: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26926: fi
26927: if test -z "${USE_OSX_ATTR_TRUE}" && test -z "${USE_OSX_ATTR_FALSE}"; then
26928: as_fn_error $? "conditional \"USE_OSX_ATTR\" was never defined.
26929: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26930: fi
26931: if test -z "${USE_P_CSCF_TRUE}" && test -z "${USE_P_CSCF_FALSE}"; then
26932: as_fn_error $? "conditional \"USE_P_CSCF\" was never defined.
26933: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26934: fi
26935: if test -z "${USE_ANDROID_DNS_TRUE}" && test -z "${USE_ANDROID_DNS_FALSE}"; then
26936: as_fn_error $? "conditional \"USE_ANDROID_DNS\" was never defined.
26937: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26938: fi
26939: if test -z "${USE_ANDROID_LOG_TRUE}" && test -z "${USE_ANDROID_LOG_FALSE}"; then
26940: as_fn_error $? "conditional \"USE_ANDROID_LOG\" was never defined.
26941: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26942: fi
26943: if test -z "${USE_SMP_TRUE}" && test -z "${USE_SMP_FALSE}"; then
26944: as_fn_error $? "conditional \"USE_SMP\" was never defined.
26945: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26946: fi
26947: if test -z "${USE_SQL_TRUE}" && test -z "${USE_SQL_FALSE}"; then
26948: as_fn_error $? "conditional \"USE_SQL\" was never defined.
26949: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26950: fi
26951: if test -z "${USE_DNSCERT_TRUE}" && test -z "${USE_DNSCERT_FALSE}"; then
26952: as_fn_error $? "conditional \"USE_DNSCERT\" was never defined.
26953: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26954: fi
26955: if test -z "${USE_IPSECKEY_TRUE}" && test -z "${USE_IPSECKEY_FALSE}"; then
26956: as_fn_error $? "conditional \"USE_IPSECKEY\" was never defined.
26957: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26958: fi
26959: if test -z "${USE_UPDOWN_TRUE}" && test -z "${USE_UPDOWN_FALSE}"; then
26960: as_fn_error $? "conditional \"USE_UPDOWN\" was never defined.
26961: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26962: fi
26963: if test -z "${USE_DHCP_TRUE}" && test -z "${USE_DHCP_FALSE}"; then
26964: as_fn_error $? "conditional \"USE_DHCP\" was never defined.
26965: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26966: fi
26967: if test -z "${USE_LOAD_TESTER_TRUE}" && test -z "${USE_LOAD_TESTER_FALSE}"; then
26968: as_fn_error $? "conditional \"USE_LOAD_TESTER\" was never defined.
26969: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26970: fi
26971: if test -z "${USE_HA_TRUE}" && test -z "${USE_HA_FALSE}"; then
26972: as_fn_error $? "conditional \"USE_HA\" was never defined.
26973: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26974: fi
26975: if test -z "${USE_KERNEL_NETLINK_TRUE}" && test -z "${USE_KERNEL_NETLINK_FALSE}"; then
26976: as_fn_error $? "conditional \"USE_KERNEL_NETLINK\" was never defined.
26977: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26978: fi
26979: if test -z "${USE_KERNEL_PFKEY_TRUE}" && test -z "${USE_KERNEL_PFKEY_FALSE}"; then
26980: as_fn_error $? "conditional \"USE_KERNEL_PFKEY\" was never defined.
26981: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26982: fi
26983: if test -z "${USE_KERNEL_PFROUTE_TRUE}" && test -z "${USE_KERNEL_PFROUTE_FALSE}"; then
26984: as_fn_error $? "conditional \"USE_KERNEL_PFROUTE\" was never defined.
26985: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26986: fi
26987: if test -z "${USE_KERNEL_LIBIPSEC_TRUE}" && test -z "${USE_KERNEL_LIBIPSEC_FALSE}"; then
26988: as_fn_error $? "conditional \"USE_KERNEL_LIBIPSEC\" was never defined.
26989: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26990: fi
26991: if test -z "${USE_KERNEL_WFP_TRUE}" && test -z "${USE_KERNEL_WFP_FALSE}"; then
26992: as_fn_error $? "conditional \"USE_KERNEL_WFP\" was never defined.
26993: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26994: fi
26995: if test -z "${USE_KERNEL_IPH_TRUE}" && test -z "${USE_KERNEL_IPH_FALSE}"; then
26996: as_fn_error $? "conditional \"USE_KERNEL_IPH\" was never defined.
26997: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26998: fi
26999: if test -z "${USE_WHITELIST_TRUE}" && test -z "${USE_WHITELIST_FALSE}"; then
27000: as_fn_error $? "conditional \"USE_WHITELIST\" was never defined.
27001: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27002: fi
27003: if test -z "${USE_EXT_AUTH_TRUE}" && test -z "${USE_EXT_AUTH_FALSE}"; then
27004: as_fn_error $? "conditional \"USE_EXT_AUTH\" was never defined.
27005: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27006: fi
27007: if test -z "${USE_LOOKIP_TRUE}" && test -z "${USE_LOOKIP_FALSE}"; then
27008: as_fn_error $? "conditional \"USE_LOOKIP\" was never defined.
27009: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27010: fi
27011: if test -z "${USE_ERROR_NOTIFY_TRUE}" && test -z "${USE_ERROR_NOTIFY_FALSE}"; then
27012: as_fn_error $? "conditional \"USE_ERROR_NOTIFY\" was never defined.
27013: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27014: fi
27015: if test -z "${USE_CERTEXPIRE_TRUE}" && test -z "${USE_CERTEXPIRE_FALSE}"; then
27016: as_fn_error $? "conditional \"USE_CERTEXPIRE\" was never defined.
27017: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27018: fi
27019: if test -z "${USE_SYSTIME_FIX_TRUE}" && test -z "${USE_SYSTIME_FIX_FALSE}"; then
27020: as_fn_error $? "conditional \"USE_SYSTIME_FIX\" was never defined.
27021: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27022: fi
27023: if test -z "${USE_LED_TRUE}" && test -z "${USE_LED_FALSE}"; then
27024: as_fn_error $? "conditional \"USE_LED\" was never defined.
27025: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27026: fi
27027: if test -z "${USE_DUPLICHECK_TRUE}" && test -z "${USE_DUPLICHECK_FALSE}"; then
27028: as_fn_error $? "conditional \"USE_DUPLICHECK\" was never defined.
27029: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27030: fi
27031: if test -z "${USE_COUPLING_TRUE}" && test -z "${USE_COUPLING_FALSE}"; then
27032: as_fn_error $? "conditional \"USE_COUPLING\" was never defined.
27033: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27034: fi
27035: if test -z "${USE_RADATTR_TRUE}" && test -z "${USE_RADATTR_FALSE}"; then
27036: as_fn_error $? "conditional \"USE_RADATTR\" was never defined.
27037: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27038: fi
27039: if test -z "${USE_EAP_SIM_TRUE}" && test -z "${USE_EAP_SIM_FALSE}"; then
27040: as_fn_error $? "conditional \"USE_EAP_SIM\" was never defined.
27041: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27042: fi
27043: if test -z "${USE_EAP_SIM_FILE_TRUE}" && test -z "${USE_EAP_SIM_FILE_FALSE}"; then
27044: as_fn_error $? "conditional \"USE_EAP_SIM_FILE\" was never defined.
27045: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27046: fi
27047: if test -z "${USE_EAP_SIM_PCSC_TRUE}" && test -z "${USE_EAP_SIM_PCSC_FALSE}"; then
27048: as_fn_error $? "conditional \"USE_EAP_SIM_PCSC\" was never defined.
27049: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27050: fi
27051: if test -z "${USE_EAP_SIMAKA_SQL_TRUE}" && test -z "${USE_EAP_SIMAKA_SQL_FALSE}"; then
27052: as_fn_error $? "conditional \"USE_EAP_SIMAKA_SQL\" was never defined.
27053: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27054: fi
27055: if test -z "${USE_EAP_SIMAKA_PSEUDONYM_TRUE}" && test -z "${USE_EAP_SIMAKA_PSEUDONYM_FALSE}"; then
27056: as_fn_error $? "conditional \"USE_EAP_SIMAKA_PSEUDONYM\" was never defined.
27057: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27058: fi
27059: if test -z "${USE_EAP_SIMAKA_REAUTH_TRUE}" && test -z "${USE_EAP_SIMAKA_REAUTH_FALSE}"; then
27060: as_fn_error $? "conditional \"USE_EAP_SIMAKA_REAUTH\" was never defined.
27061: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27062: fi
27063: if test -z "${USE_EAP_IDENTITY_TRUE}" && test -z "${USE_EAP_IDENTITY_FALSE}"; then
27064: as_fn_error $? "conditional \"USE_EAP_IDENTITY\" was never defined.
27065: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27066: fi
27067: if test -z "${USE_EAP_MD5_TRUE}" && test -z "${USE_EAP_MD5_FALSE}"; then
27068: as_fn_error $? "conditional \"USE_EAP_MD5\" was never defined.
27069: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27070: fi
27071: if test -z "${USE_EAP_GTC_TRUE}" && test -z "${USE_EAP_GTC_FALSE}"; then
27072: as_fn_error $? "conditional \"USE_EAP_GTC\" was never defined.
27073: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27074: fi
27075: if test -z "${USE_EAP_AKA_TRUE}" && test -z "${USE_EAP_AKA_FALSE}"; then
27076: as_fn_error $? "conditional \"USE_EAP_AKA\" was never defined.
27077: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27078: fi
27079: if test -z "${USE_EAP_AKA_3GPP_TRUE}" && test -z "${USE_EAP_AKA_3GPP_FALSE}"; then
27080: as_fn_error $? "conditional \"USE_EAP_AKA_3GPP\" was never defined.
27081: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27082: fi
27083: if test -z "${USE_EAP_AKA_3GPP2_TRUE}" && test -z "${USE_EAP_AKA_3GPP2_FALSE}"; then
27084: as_fn_error $? "conditional \"USE_EAP_AKA_3GPP2\" was never defined.
27085: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27086: fi
27087: if test -z "${USE_EAP_MSCHAPV2_TRUE}" && test -z "${USE_EAP_MSCHAPV2_FALSE}"; then
27088: as_fn_error $? "conditional \"USE_EAP_MSCHAPV2\" was never defined.
27089: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27090: fi
27091: if test -z "${USE_EAP_TLS_TRUE}" && test -z "${USE_EAP_TLS_FALSE}"; then
27092: as_fn_error $? "conditional \"USE_EAP_TLS\" was never defined.
27093: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27094: fi
27095: if test -z "${USE_EAP_TTLS_TRUE}" && test -z "${USE_EAP_TTLS_FALSE}"; then
27096: as_fn_error $? "conditional \"USE_EAP_TTLS\" was never defined.
27097: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27098: fi
27099: if test -z "${USE_EAP_PEAP_TRUE}" && test -z "${USE_EAP_PEAP_FALSE}"; then
27100: as_fn_error $? "conditional \"USE_EAP_PEAP\" was never defined.
27101: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27102: fi
27103: if test -z "${USE_EAP_TNC_TRUE}" && test -z "${USE_EAP_TNC_FALSE}"; then
27104: as_fn_error $? "conditional \"USE_EAP_TNC\" was never defined.
27105: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27106: fi
27107: if test -z "${USE_EAP_DYNAMIC_TRUE}" && test -z "${USE_EAP_DYNAMIC_FALSE}"; then
27108: as_fn_error $? "conditional \"USE_EAP_DYNAMIC\" was never defined.
27109: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27110: fi
27111: if test -z "${USE_EAP_RADIUS_TRUE}" && test -z "${USE_EAP_RADIUS_FALSE}"; then
27112: as_fn_error $? "conditional \"USE_EAP_RADIUS\" was never defined.
27113: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27114: fi
27115: if test -z "${USE_XAUTH_GENERIC_TRUE}" && test -z "${USE_XAUTH_GENERIC_FALSE}"; then
27116: as_fn_error $? "conditional \"USE_XAUTH_GENERIC\" was never defined.
27117: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27118: fi
27119: if test -z "${USE_XAUTH_EAP_TRUE}" && test -z "${USE_XAUTH_EAP_FALSE}"; then
27120: as_fn_error $? "conditional \"USE_XAUTH_EAP\" was never defined.
27121: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27122: fi
27123: if test -z "${USE_XAUTH_PAM_TRUE}" && test -z "${USE_XAUTH_PAM_FALSE}"; then
27124: as_fn_error $? "conditional \"USE_XAUTH_PAM\" was never defined.
27125: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27126: fi
27127: if test -z "${USE_XAUTH_NOAUTH_TRUE}" && test -z "${USE_XAUTH_NOAUTH_FALSE}"; then
27128: as_fn_error $? "conditional \"USE_XAUTH_NOAUTH\" was never defined.
27129: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27130: fi
27131: if test -z "${USE_TNC_IFMAP_TRUE}" && test -z "${USE_TNC_IFMAP_FALSE}"; then
27132: as_fn_error $? "conditional \"USE_TNC_IFMAP\" was never defined.
27133: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27134: fi
27135: if test -z "${USE_TNC_PDP_TRUE}" && test -z "${USE_TNC_PDP_FALSE}"; then
27136: as_fn_error $? "conditional \"USE_TNC_PDP\" was never defined.
27137: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27138: fi
27139: if test -z "${USE_TNC_IMC_TRUE}" && test -z "${USE_TNC_IMC_FALSE}"; then
27140: as_fn_error $? "conditional \"USE_TNC_IMC\" was never defined.
27141: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27142: fi
27143: if test -z "${USE_TNC_IMV_TRUE}" && test -z "${USE_TNC_IMV_FALSE}"; then
27144: as_fn_error $? "conditional \"USE_TNC_IMV\" was never defined.
27145: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27146: fi
27147: if test -z "${USE_TNC_TNCCS_TRUE}" && test -z "${USE_TNC_TNCCS_FALSE}"; then
27148: as_fn_error $? "conditional \"USE_TNC_TNCCS\" was never defined.
27149: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27150: fi
27151: if test -z "${USE_TNCCS_11_TRUE}" && test -z "${USE_TNCCS_11_FALSE}"; then
27152: as_fn_error $? "conditional \"USE_TNCCS_11\" was never defined.
27153: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27154: fi
27155: if test -z "${USE_TNCCS_20_TRUE}" && test -z "${USE_TNCCS_20_FALSE}"; then
27156: as_fn_error $? "conditional \"USE_TNCCS_20\" was never defined.
27157: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27158: fi
27159: if test -z "${USE_TNCCS_DYNAMIC_TRUE}" && test -z "${USE_TNCCS_DYNAMIC_FALSE}"; then
27160: as_fn_error $? "conditional \"USE_TNCCS_DYNAMIC\" was never defined.
27161: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27162: fi
27163: if test -z "${USE_IMC_TEST_TRUE}" && test -z "${USE_IMC_TEST_FALSE}"; then
27164: as_fn_error $? "conditional \"USE_IMC_TEST\" was never defined.
27165: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27166: fi
27167: if test -z "${USE_IMV_TEST_TRUE}" && test -z "${USE_IMV_TEST_FALSE}"; then
27168: as_fn_error $? "conditional \"USE_IMV_TEST\" was never defined.
27169: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27170: fi
27171: if test -z "${USE_IMC_SCANNER_TRUE}" && test -z "${USE_IMC_SCANNER_FALSE}"; then
27172: as_fn_error $? "conditional \"USE_IMC_SCANNER\" was never defined.
27173: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27174: fi
27175: if test -z "${USE_IMV_SCANNER_TRUE}" && test -z "${USE_IMV_SCANNER_FALSE}"; then
27176: as_fn_error $? "conditional \"USE_IMV_SCANNER\" was never defined.
27177: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27178: fi
27179: if test -z "${USE_IMC_OS_TRUE}" && test -z "${USE_IMC_OS_FALSE}"; then
27180: as_fn_error $? "conditional \"USE_IMC_OS\" was never defined.
27181: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27182: fi
27183: if test -z "${USE_IMV_OS_TRUE}" && test -z "${USE_IMV_OS_FALSE}"; then
27184: as_fn_error $? "conditional \"USE_IMV_OS\" was never defined.
27185: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27186: fi
27187: if test -z "${USE_IMC_ATTESTATION_TRUE}" && test -z "${USE_IMC_ATTESTATION_FALSE}"; then
27188: as_fn_error $? "conditional \"USE_IMC_ATTESTATION\" was never defined.
27189: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27190: fi
27191: if test -z "${USE_IMV_ATTESTATION_TRUE}" && test -z "${USE_IMV_ATTESTATION_FALSE}"; then
27192: as_fn_error $? "conditional \"USE_IMV_ATTESTATION\" was never defined.
27193: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27194: fi
27195: if test -z "${USE_IMC_SWIMA_TRUE}" && test -z "${USE_IMC_SWIMA_FALSE}"; then
27196: as_fn_error $? "conditional \"USE_IMC_SWIMA\" was never defined.
27197: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27198: fi
27199: if test -z "${USE_IMV_SWIMA_TRUE}" && test -z "${USE_IMV_SWIMA_FALSE}"; then
27200: as_fn_error $? "conditional \"USE_IMV_SWIMA\" was never defined.
27201: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27202: fi
27203: if test -z "${USE_IMC_HCD_TRUE}" && test -z "${USE_IMC_HCD_FALSE}"; then
27204: as_fn_error $? "conditional \"USE_IMC_HCD\" was never defined.
27205: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27206: fi
27207: if test -z "${USE_IMV_HCD_TRUE}" && test -z "${USE_IMV_HCD_FALSE}"; then
27208: as_fn_error $? "conditional \"USE_IMV_HCD\" was never defined.
27209: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27210: fi
27211: if test -z "${USE_SAVE_KEYS_TRUE}" && test -z "${USE_SAVE_KEYS_FALSE}"; then
27212: as_fn_error $? "conditional \"USE_SAVE_KEYS\" was never defined.
27213: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27214: fi
27215: if test -z "${USE_SOCKET_DEFAULT_TRUE}" && test -z "${USE_SOCKET_DEFAULT_FALSE}"; then
27216: as_fn_error $? "conditional \"USE_SOCKET_DEFAULT\" was never defined.
27217: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27218: fi
27219: if test -z "${USE_SOCKET_DYNAMIC_TRUE}" && test -z "${USE_SOCKET_DYNAMIC_FALSE}"; then
27220: as_fn_error $? "conditional \"USE_SOCKET_DYNAMIC\" was never defined.
27221: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27222: fi
27223: if test -z "${USE_SOCKET_WIN_TRUE}" && test -z "${USE_SOCKET_WIN_FALSE}"; then
27224: as_fn_error $? "conditional \"USE_SOCKET_WIN\" was never defined.
27225: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27226: fi
27227: if test -z "${USE_BYPASS_LAN_TRUE}" && test -z "${USE_BYPASS_LAN_FALSE}"; then
27228: as_fn_error $? "conditional \"USE_BYPASS_LAN\" was never defined.
27229: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27230: fi
27231: if test -z "${USE_CONNMARK_TRUE}" && test -z "${USE_CONNMARK_FALSE}"; then
27232: as_fn_error $? "conditional \"USE_CONNMARK\" was never defined.
27233: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27234: fi
27235: if test -z "${USE_FORECAST_TRUE}" && test -z "${USE_FORECAST_FALSE}"; then
27236: as_fn_error $? "conditional \"USE_FORECAST\" was never defined.
27237: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27238: fi
27239: if test -z "${USE_FARP_TRUE}" && test -z "${USE_FARP_FALSE}"; then
27240: as_fn_error $? "conditional \"USE_FARP\" was never defined.
27241: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27242: fi
27243: if test -z "${USE_ADDRBLOCK_TRUE}" && test -z "${USE_ADDRBLOCK_FALSE}"; then
27244: as_fn_error $? "conditional \"USE_ADDRBLOCK\" was never defined.
27245: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27246: fi
27247: if test -z "${USE_UNITY_TRUE}" && test -z "${USE_UNITY_FALSE}"; then
27248: as_fn_error $? "conditional \"USE_UNITY\" was never defined.
27249: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27250: fi
27251: if test -z "${USE_RESOLVE_TRUE}" && test -z "${USE_RESOLVE_FALSE}"; then
27252: as_fn_error $? "conditional \"USE_RESOLVE\" was never defined.
27253: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27254: fi
27255: if test -z "${USE_ATTR_TRUE}" && test -z "${USE_ATTR_FALSE}"; then
27256: as_fn_error $? "conditional \"USE_ATTR\" was never defined.
27257: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27258: fi
27259: if test -z "${USE_ATTR_SQL_TRUE}" && test -z "${USE_ATTR_SQL_FALSE}"; then
27260: as_fn_error $? "conditional \"USE_ATTR_SQL\" was never defined.
27261: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27262: fi
27263: if test -z "${USE_COUNTERS_TRUE}" && test -z "${USE_COUNTERS_FALSE}"; then
27264: as_fn_error $? "conditional \"USE_COUNTERS\" was never defined.
27265: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27266: fi
27267: if test -z "${USE_LEAK_DETECTIVE_TRUE}" && test -z "${USE_LEAK_DETECTIVE_FALSE}"; then
27268: as_fn_error $? "conditional \"USE_LEAK_DETECTIVE\" was never defined.
27269: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27270: fi
27271: if test -z "${USE_LOCK_PROFILER_TRUE}" && test -z "${USE_LOCK_PROFILER_FALSE}"; then
27272: as_fn_error $? "conditional \"USE_LOCK_PROFILER\" was never defined.
27273: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27274: fi
27275: if test -z "${USE_FAST_TRUE}" && test -z "${USE_FAST_FALSE}"; then
27276: as_fn_error $? "conditional \"USE_FAST\" was never defined.
27277: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27278: fi
27279: if test -z "${USE_MANAGER_TRUE}" && test -z "${USE_MANAGER_FALSE}"; then
27280: as_fn_error $? "conditional \"USE_MANAGER\" was never defined.
27281: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27282: fi
27283: if test -z "${USE_ME_TRUE}" && test -z "${USE_ME_FALSE}"; then
27284: as_fn_error $? "conditional \"USE_ME\" was never defined.
27285: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27286: fi
27287: if test -z "${USE_INTEGRITY_TEST_TRUE}" && test -z "${USE_INTEGRITY_TEST_FALSE}"; then
27288: as_fn_error $? "conditional \"USE_INTEGRITY_TEST\" was never defined.
27289: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27290: fi
27291: if test -z "${USE_LOAD_WARNING_TRUE}" && test -z "${USE_LOAD_WARNING_FALSE}"; then
27292: as_fn_error $? "conditional \"USE_LOAD_WARNING\" was never defined.
27293: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27294: fi
27295: if test -z "${USE_IKEV1_TRUE}" && test -z "${USE_IKEV1_FALSE}"; then
27296: as_fn_error $? "conditional \"USE_IKEV1\" was never defined.
27297: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27298: fi
27299: if test -z "${USE_IKEV2_TRUE}" && test -z "${USE_IKEV2_FALSE}"; then
27300: as_fn_error $? "conditional \"USE_IKEV2\" was never defined.
27301: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27302: fi
27303: if test -z "${USE_THREADS_TRUE}" && test -z "${USE_THREADS_FALSE}"; then
27304: as_fn_error $? "conditional \"USE_THREADS\" was never defined.
27305: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27306: fi
27307: if test -z "${USE_ADNS_TRUE}" && test -z "${USE_ADNS_FALSE}"; then
27308: as_fn_error $? "conditional \"USE_ADNS\" was never defined.
27309: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27310: fi
27311: if test -z "${USE_CHARON_TRUE}" && test -z "${USE_CHARON_FALSE}"; then
27312: as_fn_error $? "conditional \"USE_CHARON\" was never defined.
27313: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27314: fi
27315: if test -z "${USE_NM_TRUE}" && test -z "${USE_NM_FALSE}"; then
27316: as_fn_error $? "conditional \"USE_NM\" was never defined.
27317: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27318: fi
27319: if test -z "${USE_PKI_TRUE}" && test -z "${USE_PKI_FALSE}"; then
27320: as_fn_error $? "conditional \"USE_PKI\" was never defined.
27321: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27322: fi
27323: if test -z "${USE_SCEPCLIENT_TRUE}" && test -z "${USE_SCEPCLIENT_FALSE}"; then
27324: as_fn_error $? "conditional \"USE_SCEPCLIENT\" was never defined.
27325: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27326: fi
27327: if test -z "${USE_SCRIPTS_TRUE}" && test -z "${USE_SCRIPTS_FALSE}"; then
27328: as_fn_error $? "conditional \"USE_SCRIPTS\" was never defined.
27329: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27330: fi
27331: if test -z "${USE_FUZZING_TRUE}" && test -z "${USE_FUZZING_FALSE}"; then
27332: as_fn_error $? "conditional \"USE_FUZZING\" was never defined.
27333: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27334: fi
27335: if test -z "${USE_CONFTEST_TRUE}" && test -z "${USE_CONFTEST_FALSE}"; then
27336: as_fn_error $? "conditional \"USE_CONFTEST\" was never defined.
27337: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27338: fi
27339: if test -z "${USE_LIBSTRONGSWAN_TRUE}" && test -z "${USE_LIBSTRONGSWAN_FALSE}"; then
27340: as_fn_error $? "conditional \"USE_LIBSTRONGSWAN\" was never defined.
27341: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27342: fi
27343: if test -z "${USE_LIBCHARON_TRUE}" && test -z "${USE_LIBCHARON_FALSE}"; then
27344: as_fn_error $? "conditional \"USE_LIBCHARON\" was never defined.
27345: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27346: fi
27347: if test -z "${USE_LIBIPSEC_TRUE}" && test -z "${USE_LIBIPSEC_FALSE}"; then
27348: as_fn_error $? "conditional \"USE_LIBIPSEC\" was never defined.
27349: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27350: fi
27351: if test -z "${USE_LIBNTTFFT_TRUE}" && test -z "${USE_LIBNTTFFT_FALSE}"; then
27352: as_fn_error $? "conditional \"USE_LIBNTTFFT\" was never defined.
27353: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27354: fi
27355: if test -z "${USE_LIBTNCIF_TRUE}" && test -z "${USE_LIBTNCIF_FALSE}"; then
27356: as_fn_error $? "conditional \"USE_LIBTNCIF\" was never defined.
27357: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27358: fi
27359: if test -z "${USE_LIBTNCCS_TRUE}" && test -z "${USE_LIBTNCCS_FALSE}"; then
27360: as_fn_error $? "conditional \"USE_LIBTNCCS\" was never defined.
27361: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27362: fi
27363: if test -z "${USE_LIBPTTLS_TRUE}" && test -z "${USE_LIBPTTLS_FALSE}"; then
27364: as_fn_error $? "conditional \"USE_LIBPTTLS\" was never defined.
27365: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27366: fi
27367: if test -z "${USE_LIBTPMTSS_TRUE}" && test -z "${USE_LIBTPMTSS_FALSE}"; then
27368: as_fn_error $? "conditional \"USE_LIBTPMTSS\" was never defined.
27369: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27370: fi
27371: if test -z "${USE_FILE_CONFIG_TRUE}" && test -z "${USE_FILE_CONFIG_FALSE}"; then
27372: as_fn_error $? "conditional \"USE_FILE_CONFIG\" was never defined.
27373: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27374: fi
27375: if test -z "${USE_IPSEC_SCRIPT_TRUE}" && test -z "${USE_IPSEC_SCRIPT_FALSE}"; then
27376: as_fn_error $? "conditional \"USE_IPSEC_SCRIPT\" was never defined.
27377: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27378: fi
27379: if test -z "${USE_LIBCAP_TRUE}" && test -z "${USE_LIBCAP_FALSE}"; then
27380: as_fn_error $? "conditional \"USE_LIBCAP\" was never defined.
27381: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27382: fi
27383: if test -z "${USE_VSTR_TRUE}" && test -z "${USE_VSTR_FALSE}"; then
27384: as_fn_error $? "conditional \"USE_VSTR\" was never defined.
27385: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27386: fi
27387: if test -z "${USE_BUILTIN_PRINTF_TRUE}" && test -z "${USE_BUILTIN_PRINTF_FALSE}"; then
27388: as_fn_error $? "conditional \"USE_BUILTIN_PRINTF\" was never defined.
27389: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27390: fi
27391: if test -z "${USE_SIMAKA_TRUE}" && test -z "${USE_SIMAKA_FALSE}"; then
27392: as_fn_error $? "conditional \"USE_SIMAKA\" was never defined.
27393: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27394: fi
27395: if test -z "${USE_TLS_TRUE}" && test -z "${USE_TLS_FALSE}"; then
27396: as_fn_error $? "conditional \"USE_TLS\" was never defined.
27397: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27398: fi
27399: if test -z "${USE_RADIUS_TRUE}" && test -z "${USE_RADIUS_FALSE}"; then
27400: as_fn_error $? "conditional \"USE_RADIUS\" was never defined.
27401: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27402: fi
27403: if test -z "${USE_IMCV_TRUE}" && test -z "${USE_IMCV_FALSE}"; then
27404: as_fn_error $? "conditional \"USE_IMCV\" was never defined.
27405: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27406: fi
27407: if test -z "${USE_TROUSERS_TRUE}" && test -z "${USE_TROUSERS_FALSE}"; then
27408: as_fn_error $? "conditional \"USE_TROUSERS\" was never defined.
27409: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27410: fi
27411: if test -z "${USE_TSS2_TRUE}" && test -z "${USE_TSS2_FALSE}"; then
27412: as_fn_error $? "conditional \"USE_TSS2\" was never defined.
27413: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27414: fi
27415: if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
27416: as_fn_error $? "conditional \"MONOLITHIC\" was never defined.
27417: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27418: fi
27419: if test -z "${STATIC_PLUGIN_CONSTRUCTORS_TRUE}" && test -z "${STATIC_PLUGIN_CONSTRUCTORS_FALSE}"; then
27420: as_fn_error $? "conditional \"STATIC_PLUGIN_CONSTRUCTORS\" was never defined.
27421: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27422: fi
27423: if test -z "${USE_SILENT_RULES_TRUE}" && test -z "${USE_SILENT_RULES_FALSE}"; then
27424: as_fn_error $? "conditional \"USE_SILENT_RULES\" was never defined.
27425: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27426: fi
27427: if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
27428: as_fn_error $? "conditional \"COVERAGE\" was never defined.
27429: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27430: fi
27431: if test -z "${USE_DBGHELP_TRUE}" && test -z "${USE_DBGHELP_FALSE}"; then
27432: as_fn_error $? "conditional \"USE_DBGHELP\" was never defined.
27433: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27434: fi
27435: if test -z "${USE_TKM_TRUE}" && test -z "${USE_TKM_FALSE}"; then
27436: as_fn_error $? "conditional \"USE_TKM\" was never defined.
27437: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27438: fi
27439: if test -z "${USE_CMD_TRUE}" && test -z "${USE_CMD_FALSE}"; then
27440: as_fn_error $? "conditional \"USE_CMD\" was never defined.
27441: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27442: fi
27443: if test -z "${USE_AIKGEN_TRUE}" && test -z "${USE_AIKGEN_FALSE}"; then
27444: as_fn_error $? "conditional \"USE_AIKGEN\" was never defined.
27445: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27446: fi
27447: if test -z "${USE_SWANCTL_TRUE}" && test -z "${USE_SWANCTL_FALSE}"; then
27448: as_fn_error $? "conditional \"USE_SWANCTL\" was never defined.
27449: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27450: fi
27451: if test -z "${USE_SVC_TRUE}" && test -z "${USE_SVC_FALSE}"; then
27452: as_fn_error $? "conditional \"USE_SVC\" was never defined.
27453: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27454: fi
27455: if test -z "${USE_SYSTEMD_TRUE}" && test -z "${USE_SYSTEMD_FALSE}"; then
27456: as_fn_error $? "conditional \"USE_SYSTEMD\" was never defined.
27457: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27458: fi
27459: if test -z "${USE_LEGACY_SYSTEMD_TRUE}" && test -z "${USE_LEGACY_SYSTEMD_FALSE}"; then
27460: as_fn_error $? "conditional \"USE_LEGACY_SYSTEMD\" was never defined.
27461: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27462: fi
27463: if test -z "${USE_RUBY_GEMS_TRUE}" && test -z "${USE_RUBY_GEMS_FALSE}"; then
27464: as_fn_error $? "conditional \"USE_RUBY_GEMS\" was never defined.
27465: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27466: fi
27467: if test -z "${USE_PYTHON_EGGS_TRUE}" && test -z "${USE_PYTHON_EGGS_FALSE}"; then
27468: as_fn_error $? "conditional \"USE_PYTHON_EGGS\" was never defined.
27469: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27470: fi
27471: if test -z "${USE_PERL_CPAN_TRUE}" && test -z "${USE_PERL_CPAN_FALSE}"; then
27472: as_fn_error $? "conditional \"USE_PERL_CPAN\" was never defined.
27473: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27474: fi
27475: if test -z "${USE_TOX_TRUE}" && test -z "${USE_TOX_FALSE}"; then
27476: as_fn_error $? "conditional \"USE_TOX\" was never defined.
27477: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27478: fi
27479: if test -z "${USE_PY_TEST_TRUE}" && test -z "${USE_PY_TEST_FALSE}"; then
27480: as_fn_error $? "conditional \"USE_PY_TEST\" was never defined.
27481: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27482: fi
27483:
27484: : "${CONFIG_STATUS=./config.status}"
27485: ac_write_fail=0
27486: ac_clean_files_save=$ac_clean_files
27487: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27488: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27489: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27490: as_write_fail=0
27491: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27492: #! $SHELL
27493: # Generated by $as_me.
27494: # Run this file to recreate the current configuration.
27495: # Compiler output produced by configure, useful for debugging
27496: # configure, is in config.log if it exists.
27497:
27498: debug=false
27499: ac_cs_recheck=false
27500: ac_cs_silent=false
27501:
27502: SHELL=\${CONFIG_SHELL-$SHELL}
27503: export SHELL
27504: _ASEOF
27505: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27506: ## -------------------- ##
27507: ## M4sh Initialization. ##
27508: ## -------------------- ##
27509:
27510: # Be more Bourne compatible
27511: DUALCASE=1; export DUALCASE # for MKS sh
27512: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27513: emulate sh
27514: NULLCMD=:
27515: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27516: # is contrary to our usage. Disable this feature.
27517: alias -g '${1+"$@"}'='"$@"'
27518: setopt NO_GLOB_SUBST
27519: else
27520: case `(set -o) 2>/dev/null` in #(
27521: *posix*) :
27522: set -o posix ;; #(
27523: *) :
27524: ;;
27525: esac
27526: fi
27527:
27528:
27529: as_nl='
27530: '
27531: export as_nl
27532: # Printing a long string crashes Solaris 7 /usr/bin/printf.
27533: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27534: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27535: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27536: # Prefer a ksh shell builtin over an external printf program on Solaris,
27537: # but without wasting forks for bash or zsh.
27538: if test -z "$BASH_VERSION$ZSH_VERSION" \
27539: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27540: as_echo='print -r --'
27541: as_echo_n='print -rn --'
27542: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27543: as_echo='printf %s\n'
27544: as_echo_n='printf %s'
27545: else
27546: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27547: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27548: as_echo_n='/usr/ucb/echo -n'
27549: else
27550: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27551: as_echo_n_body='eval
27552: arg=$1;
27553: case $arg in #(
27554: *"$as_nl"*)
27555: expr "X$arg" : "X\\(.*\\)$as_nl";
27556: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27557: esac;
27558: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27559: '
27560: export as_echo_n_body
27561: as_echo_n='sh -c $as_echo_n_body as_echo'
27562: fi
27563: export as_echo_body
27564: as_echo='sh -c $as_echo_body as_echo'
27565: fi
27566:
27567: # The user is always right.
27568: if test "${PATH_SEPARATOR+set}" != set; then
27569: PATH_SEPARATOR=:
27570: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27571: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27572: PATH_SEPARATOR=';'
27573: }
27574: fi
27575:
27576:
27577: # IFS
27578: # We need space, tab and new line, in precisely that order. Quoting is
27579: # there to prevent editors from complaining about space-tab.
27580: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27581: # splitting by setting IFS to empty value.)
27582: IFS=" "" $as_nl"
27583:
27584: # Find who we are. Look in the path if we contain no directory separator.
27585: as_myself=
27586: case $0 in #((
27587: *[\\/]* ) as_myself=$0 ;;
27588: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27589: for as_dir in $PATH
27590: do
27591: IFS=$as_save_IFS
27592: test -z "$as_dir" && as_dir=.
27593: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27594: done
27595: IFS=$as_save_IFS
27596:
27597: ;;
27598: esac
27599: # We did not find ourselves, most probably we were run as `sh COMMAND'
27600: # in which case we are not to be found in the path.
27601: if test "x$as_myself" = x; then
27602: as_myself=$0
27603: fi
27604: if test ! -f "$as_myself"; then
27605: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27606: exit 1
27607: fi
27608:
27609: # Unset variables that we do not need and which cause bugs (e.g. in
27610: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27611: # suppresses any "Segmentation fault" message there. '((' could
27612: # trigger a bug in pdksh 5.2.14.
27613: for as_var in BASH_ENV ENV MAIL MAILPATH
27614: do eval test x\${$as_var+set} = xset \
27615: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27616: done
27617: PS1='$ '
27618: PS2='> '
27619: PS4='+ '
27620:
27621: # NLS nuisances.
27622: LC_ALL=C
27623: export LC_ALL
27624: LANGUAGE=C
27625: export LANGUAGE
27626:
27627: # CDPATH.
27628: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27629:
27630:
27631: # as_fn_error STATUS ERROR [LINENO LOG_FD]
27632: # ----------------------------------------
27633: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27634: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27635: # script with STATUS, using 1 if that was 0.
27636: as_fn_error ()
27637: {
27638: as_status=$1; test $as_status -eq 0 && as_status=1
27639: if test "$4"; then
27640: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27641: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27642: fi
27643: $as_echo "$as_me: error: $2" >&2
27644: as_fn_exit $as_status
27645: } # as_fn_error
27646:
27647:
27648: # as_fn_set_status STATUS
27649: # -----------------------
27650: # Set $? to STATUS, without forking.
27651: as_fn_set_status ()
27652: {
27653: return $1
27654: } # as_fn_set_status
27655:
27656: # as_fn_exit STATUS
27657: # -----------------
27658: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27659: as_fn_exit ()
27660: {
27661: set +e
27662: as_fn_set_status $1
27663: exit $1
27664: } # as_fn_exit
27665:
27666: # as_fn_unset VAR
27667: # ---------------
27668: # Portably unset VAR.
27669: as_fn_unset ()
27670: {
27671: { eval $1=; unset $1;}
27672: }
27673: as_unset=as_fn_unset
27674: # as_fn_append VAR VALUE
27675: # ----------------------
27676: # Append the text in VALUE to the end of the definition contained in VAR. Take
27677: # advantage of any shell optimizations that allow amortized linear growth over
27678: # repeated appends, instead of the typical quadratic growth present in naive
27679: # implementations.
27680: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27681: eval 'as_fn_append ()
27682: {
27683: eval $1+=\$2
27684: }'
27685: else
27686: as_fn_append ()
27687: {
27688: eval $1=\$$1\$2
27689: }
27690: fi # as_fn_append
27691:
27692: # as_fn_arith ARG...
27693: # ------------------
27694: # Perform arithmetic evaluation on the ARGs, and store the result in the
27695: # global $as_val. Take advantage of shells that can avoid forks. The arguments
27696: # must be portable across $(()) and expr.
27697: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27698: eval 'as_fn_arith ()
27699: {
27700: as_val=$(( $* ))
27701: }'
27702: else
27703: as_fn_arith ()
27704: {
27705: as_val=`expr "$@" || test $? -eq 1`
27706: }
27707: fi # as_fn_arith
27708:
27709:
27710: if expr a : '\(a\)' >/dev/null 2>&1 &&
27711: test "X`expr 00001 : '.*\(...\)'`" = X001; then
27712: as_expr=expr
27713: else
27714: as_expr=false
27715: fi
27716:
27717: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27718: as_basename=basename
27719: else
27720: as_basename=false
27721: fi
27722:
27723: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27724: as_dirname=dirname
27725: else
27726: as_dirname=false
27727: fi
27728:
27729: as_me=`$as_basename -- "$0" ||
27730: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27731: X"$0" : 'X\(//\)$' \| \
27732: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27733: $as_echo X/"$0" |
27734: sed '/^.*\/\([^/][^/]*\)\/*$/{
27735: s//\1/
27736: q
27737: }
27738: /^X\/\(\/\/\)$/{
27739: s//\1/
27740: q
27741: }
27742: /^X\/\(\/\).*/{
27743: s//\1/
27744: q
27745: }
27746: s/.*/./; q'`
27747:
27748: # Avoid depending upon Character Ranges.
27749: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27750: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27751: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27752: as_cr_digits='0123456789'
27753: as_cr_alnum=$as_cr_Letters$as_cr_digits
27754:
27755: ECHO_C= ECHO_N= ECHO_T=
27756: case `echo -n x` in #(((((
27757: -n*)
27758: case `echo 'xy\c'` in
27759: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27760: xy) ECHO_C='\c';;
27761: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27762: ECHO_T=' ';;
27763: esac;;
27764: *)
27765: ECHO_N='-n';;
27766: esac
27767:
27768: rm -f conf$$ conf$$.exe conf$$.file
27769: if test -d conf$$.dir; then
27770: rm -f conf$$.dir/conf$$.file
27771: else
27772: rm -f conf$$.dir
27773: mkdir conf$$.dir 2>/dev/null
27774: fi
27775: if (echo >conf$$.file) 2>/dev/null; then
27776: if ln -s conf$$.file conf$$ 2>/dev/null; then
27777: as_ln_s='ln -s'
27778: # ... but there are two gotchas:
27779: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27780: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27781: # In both cases, we have to default to `cp -pR'.
27782: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27783: as_ln_s='cp -pR'
27784: elif ln conf$$.file conf$$ 2>/dev/null; then
27785: as_ln_s=ln
27786: else
27787: as_ln_s='cp -pR'
27788: fi
27789: else
27790: as_ln_s='cp -pR'
27791: fi
27792: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27793: rmdir conf$$.dir 2>/dev/null
27794:
27795:
27796: # as_fn_mkdir_p
27797: # -------------
27798: # Create "$as_dir" as a directory, including parents if necessary.
27799: as_fn_mkdir_p ()
27800: {
27801:
27802: case $as_dir in #(
27803: -*) as_dir=./$as_dir;;
27804: esac
27805: test -d "$as_dir" || eval $as_mkdir_p || {
27806: as_dirs=
27807: while :; do
27808: case $as_dir in #(
27809: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27810: *) as_qdir=$as_dir;;
27811: esac
27812: as_dirs="'$as_qdir' $as_dirs"
27813: as_dir=`$as_dirname -- "$as_dir" ||
27814: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27815: X"$as_dir" : 'X\(//\)[^/]' \| \
27816: X"$as_dir" : 'X\(//\)$' \| \
27817: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27818: $as_echo X"$as_dir" |
27819: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27820: s//\1/
27821: q
27822: }
27823: /^X\(\/\/\)[^/].*/{
27824: s//\1/
27825: q
27826: }
27827: /^X\(\/\/\)$/{
27828: s//\1/
27829: q
27830: }
27831: /^X\(\/\).*/{
27832: s//\1/
27833: q
27834: }
27835: s/.*/./; q'`
27836: test -d "$as_dir" && break
27837: done
27838: test -z "$as_dirs" || eval "mkdir $as_dirs"
27839: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27840:
27841:
27842: } # as_fn_mkdir_p
27843: if mkdir -p . 2>/dev/null; then
27844: as_mkdir_p='mkdir -p "$as_dir"'
27845: else
27846: test -d ./-p && rmdir ./-p
27847: as_mkdir_p=false
27848: fi
27849:
27850:
27851: # as_fn_executable_p FILE
27852: # -----------------------
27853: # Test if FILE is an executable regular file.
27854: as_fn_executable_p ()
27855: {
27856: test -f "$1" && test -x "$1"
27857: } # as_fn_executable_p
27858: as_test_x='test -x'
27859: as_executable_p=as_fn_executable_p
27860:
27861: # Sed expression to map a string onto a valid CPP name.
27862: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27863:
27864: # Sed expression to map a string onto a valid variable name.
27865: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27866:
27867:
27868: exec 6>&1
27869: ## ----------------------------------- ##
27870: ## Main body of $CONFIG_STATUS script. ##
27871: ## ----------------------------------- ##
27872: _ASEOF
27873: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27874:
27875: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27876: # Save the log message, to keep $0 and so on meaningful, and to
27877: # report actual input values of CONFIG_FILES etc. instead of their
27878: # values after options handling.
27879: ac_log="
27880: This file was extended by strongSwan $as_me 5.8.4, which was
27881: generated by GNU Autoconf 2.69. Invocation command line was
27882:
27883: CONFIG_FILES = $CONFIG_FILES
27884: CONFIG_HEADERS = $CONFIG_HEADERS
27885: CONFIG_LINKS = $CONFIG_LINKS
27886: CONFIG_COMMANDS = $CONFIG_COMMANDS
27887: $ $0 $@
27888:
27889: on `(hostname || uname -n) 2>/dev/null | sed 1q`
27890: "
27891:
27892: _ACEOF
27893:
27894: case $ac_config_files in *"
27895: "*) set x $ac_config_files; shift; ac_config_files=$*;;
27896: esac
27897:
27898: case $ac_config_headers in *"
27899: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27900: esac
27901:
27902:
27903: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27904: # Files that config.status was made for.
27905: config_files="$ac_config_files"
27906: config_headers="$ac_config_headers"
27907: config_commands="$ac_config_commands"
27908:
27909: _ACEOF
27910:
27911: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27912: ac_cs_usage="\
27913: \`$as_me' instantiates files and other configuration actions
27914: from templates according to the current configuration. Unless the files
27915: and actions are specified as TAGs, all are instantiated by default.
27916:
27917: Usage: $0 [OPTION]... [TAG]...
27918:
27919: -h, --help print this help, then exit
27920: -V, --version print version number and configuration settings, then exit
27921: --config print configuration, then exit
27922: -q, --quiet, --silent
27923: do not print progress messages
27924: -d, --debug don't remove temporary files
27925: --recheck update $as_me by reconfiguring in the same conditions
27926: --file=FILE[:TEMPLATE]
27927: instantiate the configuration file FILE
27928: --header=FILE[:TEMPLATE]
27929: instantiate the configuration header FILE
27930:
27931: Configuration files:
27932: $config_files
27933:
27934: Configuration headers:
27935: $config_headers
27936:
27937: Configuration commands:
27938: $config_commands
27939:
27940: Report bugs to the package provider."
27941:
27942: _ACEOF
27943: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27944: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27945: ac_cs_version="\\
27946: strongSwan config.status 5.8.4
27947: configured by $0, generated by GNU Autoconf 2.69,
27948: with options \\"\$ac_cs_config\\"
27949:
27950: Copyright (C) 2012 Free Software Foundation, Inc.
27951: This config.status script is free software; the Free Software Foundation
27952: gives unlimited permission to copy, distribute and modify it."
27953:
27954: ac_pwd='$ac_pwd'
27955: srcdir='$srcdir'
27956: INSTALL='$INSTALL'
27957: MKDIR_P='$MKDIR_P'
27958: AWK='$AWK'
27959: test -n "\$AWK" || AWK=awk
27960: _ACEOF
27961:
27962: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27963: # The default lists apply if the user does not specify any file.
27964: ac_need_defaults=:
27965: while test $# != 0
27966: do
27967: case $1 in
27968: --*=?*)
27969: ac_option=`expr "X$1" : 'X\([^=]*\)='`
27970: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27971: ac_shift=:
27972: ;;
27973: --*=)
27974: ac_option=`expr "X$1" : 'X\([^=]*\)='`
27975: ac_optarg=
27976: ac_shift=:
27977: ;;
27978: *)
27979: ac_option=$1
27980: ac_optarg=$2
27981: ac_shift=shift
27982: ;;
27983: esac
27984:
27985: case $ac_option in
27986: # Handling of the options.
27987: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27988: ac_cs_recheck=: ;;
27989: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27990: $as_echo "$ac_cs_version"; exit ;;
27991: --config | --confi | --conf | --con | --co | --c )
27992: $as_echo "$ac_cs_config"; exit ;;
27993: --debug | --debu | --deb | --de | --d | -d )
27994: debug=: ;;
27995: --file | --fil | --fi | --f )
27996: $ac_shift
27997: case $ac_optarg in
27998: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27999: '') as_fn_error $? "missing file argument" ;;
28000: esac
28001: as_fn_append CONFIG_FILES " '$ac_optarg'"
28002: ac_need_defaults=false;;
28003: --header | --heade | --head | --hea )
28004: $ac_shift
28005: case $ac_optarg in
28006: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28007: esac
28008: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
28009: ac_need_defaults=false;;
28010: --he | --h)
28011: # Conflict between --help and --header
28012: as_fn_error $? "ambiguous option: \`$1'
28013: Try \`$0 --help' for more information.";;
28014: --help | --hel | -h )
28015: $as_echo "$ac_cs_usage"; exit ;;
28016: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28017: | -silent | --silent | --silen | --sile | --sil | --si | --s)
28018: ac_cs_silent=: ;;
28019:
28020: # This is an error.
28021: -*) as_fn_error $? "unrecognized option: \`$1'
28022: Try \`$0 --help' for more information." ;;
28023:
28024: *) as_fn_append ac_config_targets " $1"
28025: ac_need_defaults=false ;;
28026:
28027: esac
28028: shift
28029: done
28030:
28031: ac_configure_extra_args=
28032:
28033: if $ac_cs_silent; then
28034: exec 6>/dev/null
28035: ac_configure_extra_args="$ac_configure_extra_args --silent"
28036: fi
28037:
28038: _ACEOF
28039: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28040: if \$ac_cs_recheck; then
28041: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28042: shift
28043: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28044: CONFIG_SHELL='$SHELL'
28045: export CONFIG_SHELL
28046: exec "\$@"
28047: fi
28048:
28049: _ACEOF
28050: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28051: exec 5>>config.log
28052: {
28053: echo
28054: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28055: ## Running $as_me. ##
28056: _ASBOX
28057: $as_echo "$ac_log"
28058: } >&5
28059:
28060: _ACEOF
28061: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28062: #
28063: # INIT-COMMANDS
28064: #
28065: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28066:
28067:
28068: # The HP-UX ksh and POSIX shell print the target directory to stdout
28069: # if CDPATH is set.
28070: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28071:
28072: sed_quote_subst='$sed_quote_subst'
28073: double_quote_subst='$double_quote_subst'
28074: delay_variable_subst='$delay_variable_subst'
28075: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28076: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28077: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28078: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28079: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28080: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28081: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
28082: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28083: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28084: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
28085: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28086: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28087: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28088: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28089: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28090: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28091: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28092: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28093: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28094: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28095: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28096: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28097: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28098: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28099: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28100: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28101: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28102: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28103: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28104: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28105: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
28106: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
28107: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28108: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28109: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28110: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28111: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28112: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
28113: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
28114: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
28115: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
28116: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28117: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28118: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28119: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28120: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28121: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28122: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28123: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28124: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28125: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28126: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28127: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28128: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28129: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28130: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28131: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
28132: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28133: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
28134: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
28135: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28136: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28137: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
28138: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28139: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28140: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28141: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28142: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28143: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28144: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28145: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28146: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28147: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28148: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28149: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28150: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28151: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28152: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28153: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28154: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28155: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28156: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28157: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28158: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28159: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28160: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28161: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28162: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28163: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28164: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28165: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28166: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28167: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28168: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28169: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28170: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28171: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28172: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28173: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28174: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28175: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28176: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28177: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28178: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28179: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28180: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28181: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28182: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28183: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28184: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28185: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28186: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28187: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28188: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28189: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28190: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28191: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28192: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28193: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28194: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28195: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28196: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28197: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28198: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28199: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28200: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28201: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28202: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
28203: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
28204: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28205: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28206: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28207: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28208: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28209: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28210:
28211: LTCC='$LTCC'
28212: LTCFLAGS='$LTCFLAGS'
28213: compiler='$compiler_DEFAULT'
28214:
28215: # A function that is used when there is no print builtin or printf.
28216: func_fallback_echo ()
28217: {
28218: eval 'cat <<_LTECHO_EOF
28219: \$1
28220: _LTECHO_EOF'
28221: }
28222:
28223: # Quote evaled strings.
28224: for var in SHELL \
28225: ECHO \
28226: PATH_SEPARATOR \
28227: SED \
28228: GREP \
28229: EGREP \
28230: FGREP \
28231: LD \
28232: NM \
28233: LN_S \
28234: lt_SP2NL \
28235: lt_NL2SP \
28236: reload_flag \
28237: OBJDUMP \
28238: deplibs_check_method \
28239: file_magic_cmd \
28240: file_magic_glob \
28241: want_nocaseglob \
28242: DLLTOOL \
28243: sharedlib_from_linklib_cmd \
28244: AR \
28245: AR_FLAGS \
28246: archiver_list_spec \
28247: STRIP \
28248: RANLIB \
28249: CC \
28250: CFLAGS \
28251: compiler \
28252: lt_cv_sys_global_symbol_pipe \
28253: lt_cv_sys_global_symbol_to_cdecl \
28254: lt_cv_sys_global_symbol_to_import \
28255: lt_cv_sys_global_symbol_to_c_name_address \
28256: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28257: lt_cv_nm_interface \
28258: nm_file_list_spec \
28259: lt_cv_truncate_bin \
28260: lt_prog_compiler_no_builtin_flag \
28261: lt_prog_compiler_pic \
28262: lt_prog_compiler_wl \
28263: lt_prog_compiler_static \
28264: lt_cv_prog_compiler_c_o \
28265: need_locks \
28266: MANIFEST_TOOL \
28267: DSYMUTIL \
28268: NMEDIT \
28269: LIPO \
28270: OTOOL \
28271: OTOOL64 \
28272: shrext_cmds \
28273: export_dynamic_flag_spec \
28274: whole_archive_flag_spec \
28275: compiler_needs_object \
28276: with_gnu_ld \
28277: allow_undefined_flag \
28278: no_undefined_flag \
28279: hardcode_libdir_flag_spec \
28280: hardcode_libdir_separator \
28281: exclude_expsyms \
28282: include_expsyms \
28283: file_list_spec \
28284: variables_saved_for_relink \
28285: libname_spec \
28286: library_names_spec \
28287: soname_spec \
28288: install_override_mode \
28289: finish_eval \
28290: old_striplib \
28291: striplib; do
28292: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28293: *[\\\\\\\`\\"\\\$]*)
28294: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28295: ;;
28296: *)
28297: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28298: ;;
28299: esac
28300: done
28301:
28302: # Double-quote double-evaled strings.
28303: for var in reload_cmds \
28304: old_postinstall_cmds \
28305: old_postuninstall_cmds \
28306: old_archive_cmds \
28307: extract_expsyms_cmds \
28308: old_archive_from_new_cmds \
28309: old_archive_from_expsyms_cmds \
28310: archive_cmds \
28311: archive_expsym_cmds \
28312: module_cmds \
28313: module_expsym_cmds \
28314: export_symbols_cmds \
28315: prelink_cmds \
28316: postlink_cmds \
28317: postinstall_cmds \
28318: postuninstall_cmds \
28319: finish_cmds \
28320: sys_lib_search_path_spec \
28321: configure_time_dlsearch_path \
28322: configure_time_lt_sys_library_path; do
28323: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28324: *[\\\\\\\`\\"\\\$]*)
28325: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28326: ;;
28327: *)
28328: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28329: ;;
28330: esac
28331: done
28332:
28333: ac_aux_dir='$ac_aux_dir'
28334:
28335: # See if we are running on zsh, and set the options that allow our
28336: # commands through without removal of \ escapes INIT.
28337: if test -n "\${ZSH_VERSION+set}"; then
28338: setopt NO_GLOB_SUBST
28339: fi
28340:
28341:
28342: PACKAGE='$PACKAGE'
28343: VERSION='$VERSION'
28344: RM='$RM'
28345: ofile='$ofile'
28346:
28347:
28348:
28349:
28350: _ACEOF
28351:
28352: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28353:
28354: # Handling of arguments.
28355: for ac_config_target in $ac_config_targets
28356: do
28357: case $ac_config_target in
28358: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28359: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28360: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28361: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28362: "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
28363: "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
28364: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
28365: "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
28366: "init/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd/Makefile" ;;
28367: "init/systemd-starter/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd-starter/Makefile" ;;
28368: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
28369: "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
28370: "src/libstrongswan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/Makefile" ;;
28371: "src/libstrongswan/math/libnttfft/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/Makefile" ;;
28372: "src/libstrongswan/math/libnttfft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/tests/Makefile" ;;
28373: "src/libstrongswan/plugins/aes/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aes/Makefile" ;;
28374: "src/libstrongswan/plugins/cmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/cmac/Makefile" ;;
28375: "src/libstrongswan/plugins/des/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/des/Makefile" ;;
28376: "src/libstrongswan/plugins/blowfish/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/blowfish/Makefile" ;;
28377: "src/libstrongswan/plugins/rc2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rc2/Makefile" ;;
28378: "src/libstrongswan/plugins/md4/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md4/Makefile" ;;
28379: "src/libstrongswan/plugins/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md5/Makefile" ;;
28380: "src/libstrongswan/plugins/sha1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha1/Makefile" ;;
28381: "src/libstrongswan/plugins/sha2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha2/Makefile" ;;
28382: "src/libstrongswan/plugins/sha3/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha3/Makefile" ;;
28383: "src/libstrongswan/plugins/mgf1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mgf1/Makefile" ;;
28384: "src/libstrongswan/plugins/fips_prf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/fips_prf/Makefile" ;;
28385: "src/libstrongswan/plugins/gmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gmp/Makefile" ;;
28386: "src/libstrongswan/plugins/curve25519/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curve25519/Makefile" ;;
28387: "src/libstrongswan/plugins/rdrand/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rdrand/Makefile" ;;
28388: "src/libstrongswan/plugins/aesni/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aesni/Makefile" ;;
28389: "src/libstrongswan/plugins/random/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/random/Makefile" ;;
28390: "src/libstrongswan/plugins/nonce/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/nonce/Makefile" ;;
28391: "src/libstrongswan/plugins/hmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/hmac/Makefile" ;;
28392: "src/libstrongswan/plugins/xcbc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/xcbc/Makefile" ;;
28393: "src/libstrongswan/plugins/x509/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/x509/Makefile" ;;
28394: "src/libstrongswan/plugins/revocation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/revocation/Makefile" ;;
28395: "src/libstrongswan/plugins/constraints/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/constraints/Makefile" ;;
28396: "src/libstrongswan/plugins/acert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/acert/Makefile" ;;
28397: "src/libstrongswan/plugins/pubkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pubkey/Makefile" ;;
28398: "src/libstrongswan/plugins/pkcs1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs1/Makefile" ;;
28399: "src/libstrongswan/plugins/pkcs7/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs7/Makefile" ;;
28400: "src/libstrongswan/plugins/pkcs8/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs8/Makefile" ;;
28401: "src/libstrongswan/plugins/pkcs12/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs12/Makefile" ;;
28402: "src/libstrongswan/plugins/pgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pgp/Makefile" ;;
28403: "src/libstrongswan/plugins/dnskey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/dnskey/Makefile" ;;
28404: "src/libstrongswan/plugins/sshkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sshkey/Makefile" ;;
28405: "src/libstrongswan/plugins/pem/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pem/Makefile" ;;
28406: "src/libstrongswan/plugins/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curl/Makefile" ;;
28407: "src/libstrongswan/plugins/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/files/Makefile" ;;
28408: "src/libstrongswan/plugins/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/winhttp/Makefile" ;;
28409: "src/libstrongswan/plugins/unbound/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/unbound/Makefile" ;;
28410: "src/libstrongswan/plugins/soup/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/soup/Makefile" ;;
28411: "src/libstrongswan/plugins/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ldap/Makefile" ;;
28412: "src/libstrongswan/plugins/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mysql/Makefile" ;;
28413: "src/libstrongswan/plugins/sqlite/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sqlite/Makefile" ;;
28414: "src/libstrongswan/plugins/padlock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/padlock/Makefile" ;;
28415: "src/libstrongswan/plugins/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/openssl/Makefile" ;;
28416: "src/libstrongswan/plugins/wolfssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/wolfssl/Makefile" ;;
28417: "src/libstrongswan/plugins/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcrypt/Makefile" ;;
28418: "src/libstrongswan/plugins/botan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/botan/Makefile" ;;
28419: "src/libstrongswan/plugins/agent/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/agent/Makefile" ;;
28420: "src/libstrongswan/plugins/keychain/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/keychain/Makefile" ;;
28421: "src/libstrongswan/plugins/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs11/Makefile" ;;
28422: "src/libstrongswan/plugins/chapoly/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/chapoly/Makefile" ;;
28423: "src/libstrongswan/plugins/ctr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ctr/Makefile" ;;
28424: "src/libstrongswan/plugins/ccm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ccm/Makefile" ;;
28425: "src/libstrongswan/plugins/gcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcm/Makefile" ;;
28426: "src/libstrongswan/plugins/af_alg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/af_alg/Makefile" ;;
28427: "src/libstrongswan/plugins/drbg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/drbg/Makefile" ;;
28428: "src/libstrongswan/plugins/ntru/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ntru/Makefile" ;;
28429: "src/libstrongswan/plugins/bliss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/Makefile" ;;
28430: "src/libstrongswan/plugins/bliss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/tests/Makefile" ;;
28431: "src/libstrongswan/plugins/newhope/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/Makefile" ;;
28432: "src/libstrongswan/plugins/newhope/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/tests/Makefile" ;;
28433: "src/libstrongswan/plugins/test_vectors/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/test_vectors/Makefile" ;;
28434: "src/libstrongswan/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/tests/Makefile" ;;
28435: "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
28436: "src/libipsec/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/tests/Makefile" ;;
28437: "src/libsimaka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsimaka/Makefile" ;;
28438: "src/libtls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/Makefile" ;;
28439: "src/libtls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/tests/Makefile" ;;
28440: "src/libradius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libradius/Makefile" ;;
28441: "src/libtncif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtncif/Makefile" ;;
28442: "src/libtnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/Makefile" ;;
28443: "src/libtnccs/plugins/tnc_tnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_tnccs/Makefile" ;;
28444: "src/libtnccs/plugins/tnc_imc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imc/Makefile" ;;
28445: "src/libtnccs/plugins/tnc_imv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imv/Makefile" ;;
28446: "src/libtnccs/plugins/tnccs_11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_11/Makefile" ;;
28447: "src/libtnccs/plugins/tnccs_20/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_20/Makefile" ;;
28448: "src/libtnccs/plugins/tnccs_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_dynamic/Makefile" ;;
28449: "src/libpttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpttls/Makefile" ;;
28450: "src/libimcv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/Makefile" ;;
28451: "src/libimcv/plugins/imc_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_test/Makefile" ;;
28452: "src/libimcv/plugins/imv_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_test/Makefile" ;;
28453: "src/libimcv/plugins/imc_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_scanner/Makefile" ;;
28454: "src/libimcv/plugins/imv_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_scanner/Makefile" ;;
28455: "src/libimcv/plugins/imc_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_os/Makefile" ;;
28456: "src/libimcv/plugins/imv_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_os/Makefile" ;;
28457: "src/libimcv/plugins/imc_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_attestation/Makefile" ;;
28458: "src/libimcv/plugins/imv_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_attestation/Makefile" ;;
28459: "src/libimcv/plugins/imc_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_swima/Makefile" ;;
28460: "src/libimcv/plugins/imv_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_swima/Makefile" ;;
28461: "src/libimcv/plugins/imc_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_hcd/Makefile" ;;
28462: "src/libimcv/plugins/imv_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_hcd/Makefile" ;;
28463: "src/charon/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon/Makefile" ;;
28464: "src/charon-nm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-nm/Makefile" ;;
28465: "src/charon-tkm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-tkm/Makefile" ;;
28466: "src/charon-cmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/Makefile" ;;
28467: "src/charon-svc/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-svc/Makefile" ;;
28468: "src/charon-systemd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-systemd/Makefile" ;;
28469: "src/libcharon/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/Makefile" ;;
28470: "src/libcharon/plugins/eap_aka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka/Makefile" ;;
28471: "src/libcharon/plugins/eap_aka_3gpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/Makefile" ;;
28472: "src/libcharon/plugins/eap_aka_3gpp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/tests/Makefile" ;;
28473: "src/libcharon/plugins/eap_aka_3gpp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp2/Makefile" ;;
28474: "src/libcharon/plugins/eap_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_dynamic/Makefile" ;;
28475: "src/libcharon/plugins/eap_identity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_identity/Makefile" ;;
28476: "src/libcharon/plugins/eap_md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_md5/Makefile" ;;
28477: "src/libcharon/plugins/eap_gtc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_gtc/Makefile" ;;
28478: "src/libcharon/plugins/eap_sim/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim/Makefile" ;;
28479: "src/libcharon/plugins/eap_sim_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_file/Makefile" ;;
28480: "src/libcharon/plugins/eap_sim_pcsc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_pcsc/Makefile" ;;
28481: "src/libcharon/plugins/eap_simaka_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_sql/Makefile" ;;
28482: "src/libcharon/plugins/eap_simaka_pseudonym/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_pseudonym/Makefile" ;;
28483: "src/libcharon/plugins/eap_simaka_reauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_reauth/Makefile" ;;
28484: "src/libcharon/plugins/eap_mschapv2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_mschapv2/Makefile" ;;
28485: "src/libcharon/plugins/eap_tls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tls/Makefile" ;;
28486: "src/libcharon/plugins/eap_ttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_ttls/Makefile" ;;
28487: "src/libcharon/plugins/eap_peap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_peap/Makefile" ;;
28488: "src/libcharon/plugins/eap_tnc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tnc/Makefile" ;;
28489: "src/libcharon/plugins/eap_radius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_radius/Makefile" ;;
28490: "src/libcharon/plugins/xauth_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_generic/Makefile" ;;
28491: "src/libcharon/plugins/xauth_eap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_eap/Makefile" ;;
28492: "src/libcharon/plugins/xauth_pam/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_pam/Makefile" ;;
28493: "src/libcharon/plugins/xauth_noauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_noauth/Makefile" ;;
28494: "src/libcharon/plugins/tnc_ifmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_ifmap/Makefile" ;;
28495: "src/libcharon/plugins/tnc_pdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_pdp/Makefile" ;;
28496: "src/libcharon/plugins/save_keys/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/save_keys/Makefile" ;;
28497: "src/libcharon/plugins/socket_default/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_default/Makefile" ;;
28498: "src/libcharon/plugins/socket_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_dynamic/Makefile" ;;
28499: "src/libcharon/plugins/socket_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_win/Makefile" ;;
28500: "src/libcharon/plugins/bypass_lan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/bypass_lan/Makefile" ;;
28501: "src/libcharon/plugins/connmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/connmark/Makefile" ;;
28502: "src/libcharon/plugins/counters/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/counters/Makefile" ;;
28503: "src/libcharon/plugins/forecast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/forecast/Makefile" ;;
28504: "src/libcharon/plugins/farp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/farp/Makefile" ;;
28505: "src/libcharon/plugins/smp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/smp/Makefile" ;;
28506: "src/libcharon/plugins/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/sql/Makefile" ;;
28507: "src/libcharon/plugins/dnscert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dnscert/Makefile" ;;
28508: "src/libcharon/plugins/ipseckey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ipseckey/Makefile" ;;
28509: "src/libcharon/plugins/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medsrv/Makefile" ;;
28510: "src/libcharon/plugins/medcli/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medcli/Makefile" ;;
28511: "src/libcharon/plugins/addrblock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/addrblock/Makefile" ;;
28512: "src/libcharon/plugins/unity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/unity/Makefile" ;;
28513: "src/libcharon/plugins/uci/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/uci/Makefile" ;;
28514: "src/libcharon/plugins/ha/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ha/Makefile" ;;
28515: "src/libcharon/plugins/kernel_netlink/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_netlink/Makefile" ;;
28516: "src/libcharon/plugins/kernel_pfkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfkey/Makefile" ;;
28517: "src/libcharon/plugins/kernel_pfroute/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfroute/Makefile" ;;
28518: "src/libcharon/plugins/kernel_libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_libipsec/Makefile" ;;
28519: "src/libcharon/plugins/kernel_wfp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_wfp/Makefile" ;;
28520: "src/libcharon/plugins/kernel_iph/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_iph/Makefile" ;;
28521: "src/libcharon/plugins/whitelist/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/whitelist/Makefile" ;;
28522: "src/libcharon/plugins/ext_auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ext_auth/Makefile" ;;
28523: "src/libcharon/plugins/lookip/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/lookip/Makefile" ;;
28524: "src/libcharon/plugins/error_notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/error_notify/Makefile" ;;
28525: "src/libcharon/plugins/certexpire/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/certexpire/Makefile" ;;
28526: "src/libcharon/plugins/systime_fix/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/systime_fix/Makefile" ;;
28527: "src/libcharon/plugins/led/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/led/Makefile" ;;
28528: "src/libcharon/plugins/duplicheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/duplicheck/Makefile" ;;
28529: "src/libcharon/plugins/coupling/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/coupling/Makefile" ;;
28530: "src/libcharon/plugins/radattr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/radattr/Makefile" ;;
28531: "src/libcharon/plugins/osx_attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/osx_attr/Makefile" ;;
28532: "src/libcharon/plugins/p_cscf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/p_cscf/Makefile" ;;
28533: "src/libcharon/plugins/android_dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_dns/Makefile" ;;
28534: "src/libcharon/plugins/android_log/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_log/Makefile" ;;
28535: "src/libcharon/plugins/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/stroke/Makefile" ;;
28536: "src/libcharon/plugins/vici/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/Makefile" ;;
28537: "src/libcharon/plugins/vici/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/ruby/Makefile" ;;
28538: "src/libcharon/plugins/vici/perl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/perl/Makefile" ;;
28539: "src/libcharon/plugins/vici/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/python/Makefile" ;;
28540: "src/libcharon/plugins/updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/updown/Makefile" ;;
28541: "src/libcharon/plugins/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dhcp/Makefile" ;;
28542: "src/libcharon/plugins/load_tester/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/load_tester/Makefile" ;;
28543: "src/libcharon/plugins/resolve/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/resolve/Makefile" ;;
28544: "src/libcharon/plugins/attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr/Makefile" ;;
28545: "src/libcharon/plugins/attr_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr_sql/Makefile" ;;
28546: "src/libcharon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/tests/Makefile" ;;
28547: "src/libtpmtss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/Makefile" ;;
28548: "src/libtpmtss/plugins/tpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/plugins/tpm/Makefile" ;;
28549: "src/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/stroke/Makefile" ;;
28550: "src/ipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipsec/Makefile" ;;
28551: "src/starter/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/Makefile" ;;
28552: "src/starter/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/tests/Makefile" ;;
28553: "src/_updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/_updown/Makefile" ;;
28554: "src/_copyright/Makefile") CONFIG_FILES="$CONFIG_FILES src/_copyright/Makefile" ;;
28555: "src/scepclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/scepclient/Makefile" ;;
28556: "src/aikgen/Makefile") CONFIG_FILES="$CONFIG_FILES src/aikgen/Makefile" ;;
28557: "src/tpm_extendpcr/Makefile") CONFIG_FILES="$CONFIG_FILES src/tpm_extendpcr/Makefile" ;;
28558: "src/pki/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/Makefile" ;;
28559: "src/pki/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/man/Makefile" ;;
28560: "src/pool/Makefile") CONFIG_FILES="$CONFIG_FILES src/pool/Makefile" ;;
28561: "src/libfast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libfast/Makefile" ;;
28562: "src/manager/Makefile") CONFIG_FILES="$CONFIG_FILES src/manager/Makefile" ;;
28563: "src/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/medsrv/Makefile" ;;
28564: "src/checksum/Makefile") CONFIG_FILES="$CONFIG_FILES src/checksum/Makefile" ;;
28565: "src/conftest/Makefile") CONFIG_FILES="$CONFIG_FILES src/conftest/Makefile" ;;
28566: "src/pt-tls-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/Makefile" ;;
28567: "src/sw-collector/Makefile") CONFIG_FILES="$CONFIG_FILES src/sw-collector/Makefile" ;;
28568: "src/sec-updater/Makefile") CONFIG_FILES="$CONFIG_FILES src/sec-updater/Makefile" ;;
28569: "src/swanctl/Makefile") CONFIG_FILES="$CONFIG_FILES src/swanctl/Makefile" ;;
28570: "src/xfrmi/Makefile") CONFIG_FILES="$CONFIG_FILES src/xfrmi/Makefile" ;;
28571: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
28572: "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
28573: "conf/strongswan.conf.5.head") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.head" ;;
28574: "conf/strongswan.conf.5.tail") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.tail" ;;
28575: "man/ipsec.conf.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.conf.5" ;;
28576: "man/ipsec.secrets.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.secrets.5" ;;
28577: "src/charon-cmd/charon-cmd.8") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/charon-cmd.8" ;;
28578: "src/pki/man/pki.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki.1" ;;
28579: "src/pki/man/pki---acert.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---acert.1" ;;
28580: "src/pki/man/pki---dn.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---dn.1" ;;
28581: "src/pki/man/pki---gen.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---gen.1" ;;
28582: "src/pki/man/pki---issue.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---issue.1" ;;
28583: "src/pki/man/pki---keyid.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---keyid.1" ;;
28584: "src/pki/man/pki---pkcs12.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs12.1" ;;
28585: "src/pki/man/pki---pkcs7.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs7.1" ;;
28586: "src/pki/man/pki---print.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---print.1" ;;
28587: "src/pki/man/pki---pub.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pub.1" ;;
28588: "src/pki/man/pki---req.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---req.1" ;;
28589: "src/pki/man/pki---self.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---self.1" ;;
28590: "src/pki/man/pki---signcrl.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---signcrl.1" ;;
28591: "src/pki/man/pki---verify.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---verify.1" ;;
28592: "src/swanctl/swanctl.8") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.8" ;;
28593: "src/swanctl/swanctl.conf.5.head") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.head" ;;
28594: "src/swanctl/swanctl.conf.5.tail") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.tail" ;;
28595: "src/pt-tls-client/pt-tls-client.1") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/pt-tls-client.1" ;;
28596: "src/sw-collector/sw-collector.8") CONFIG_FILES="$CONFIG_FILES src/sw-collector/sw-collector.8" ;;
28597: "src/sec-updater/sec-updater.8") CONFIG_FILES="$CONFIG_FILES src/sec-updater/sec-updater.8" ;;
28598:
28599: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28600: esac
28601: done
28602:
28603:
28604: # If the user did not use the arguments to specify the items to instantiate,
28605: # then the envvar interface is used. Set only those that are not.
28606: # We use the long form for the default assignment because of an extremely
28607: # bizarre bug on SunOS 4.1.3.
28608: if $ac_need_defaults; then
28609: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28610: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28611: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28612: fi
28613:
28614: # Have a temporary directory for convenience. Make it in the build tree
28615: # simply because there is no reason against having it here, and in addition,
28616: # creating and moving files from /tmp can sometimes cause problems.
28617: # Hook for its removal unless debugging.
28618: # Note that there is a small window in which the directory will not be cleaned:
28619: # after its creation but before its name has been assigned to `$tmp'.
28620: $debug ||
28621: {
28622: tmp= ac_tmp=
28623: trap 'exit_status=$?
28624: : "${ac_tmp:=$tmp}"
28625: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28626: ' 0
28627: trap 'as_fn_exit 1' 1 2 13 15
28628: }
28629: # Create a (secure) tmp directory for tmp files.
28630:
28631: {
28632: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28633: test -d "$tmp"
28634: } ||
28635: {
28636: tmp=./conf$$-$RANDOM
28637: (umask 077 && mkdir "$tmp")
28638: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28639: ac_tmp=$tmp
28640:
28641: # Set up the scripts for CONFIG_FILES section.
28642: # No need to generate them if there are no CONFIG_FILES.
28643: # This happens for instance with `./config.status config.h'.
28644: if test -n "$CONFIG_FILES"; then
28645:
28646:
28647: ac_cr=`echo X | tr X '\015'`
28648: # On cygwin, bash can eat \r inside `` if the user requested igncr.
28649: # But we know of no other shell where ac_cr would be empty at this
28650: # point, so we can use a bashism as a fallback.
28651: if test "x$ac_cr" = x; then
28652: eval ac_cr=\$\'\\r\'
28653: fi
28654: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28655: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28656: ac_cs_awk_cr='\\r'
28657: else
28658: ac_cs_awk_cr=$ac_cr
28659: fi
28660:
28661: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28662: _ACEOF
28663:
28664:
28665: {
28666: echo "cat >conf$$subs.awk <<_ACEOF" &&
28667: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28668: echo "_ACEOF"
28669: } >conf$$subs.sh ||
28670: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28671: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28672: ac_delim='%!_!# '
28673: for ac_last_try in false false false false false :; do
28674: . ./conf$$subs.sh ||
28675: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28676:
28677: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28678: if test $ac_delim_n = $ac_delim_num; then
28679: break
28680: elif $ac_last_try; then
28681: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28682: else
28683: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28684: fi
28685: done
28686: rm -f conf$$subs.sh
28687:
28688: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28689: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28690: _ACEOF
28691: sed -n '
28692: h
28693: s/^/S["/; s/!.*/"]=/
28694: p
28695: g
28696: s/^[^!]*!//
28697: :repl
28698: t repl
28699: s/'"$ac_delim"'$//
28700: t delim
28701: :nl
28702: h
28703: s/\(.\{148\}\)..*/\1/
28704: t more1
28705: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28706: p
28707: n
28708: b repl
28709: :more1
28710: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28711: p
28712: g
28713: s/.\{148\}//
28714: t nl
28715: :delim
28716: h
28717: s/\(.\{148\}\)..*/\1/
28718: t more2
28719: s/["\\]/\\&/g; s/^/"/; s/$/"/
28720: p
28721: b
28722: :more2
28723: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28724: p
28725: g
28726: s/.\{148\}//
28727: t delim
28728: ' <conf$$subs.awk | sed '
28729: /^[^""]/{
28730: N
28731: s/\n//
28732: }
28733: ' >>$CONFIG_STATUS || ac_write_fail=1
28734: rm -f conf$$subs.awk
28735: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28736: _ACAWK
28737: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28738: for (key in S) S_is_set[key] = 1
28739: FS = ""
28740:
28741: }
28742: {
28743: line = $ 0
28744: nfields = split(line, field, "@")
28745: substed = 0
28746: len = length(field[1])
28747: for (i = 2; i < nfields; i++) {
28748: key = field[i]
28749: keylen = length(key)
28750: if (S_is_set[key]) {
28751: value = S[key]
28752: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28753: len += length(value) + length(field[++i])
28754: substed = 1
28755: } else
28756: len += 1 + keylen
28757: }
28758:
28759: print line
28760: }
28761:
28762: _ACAWK
28763: _ACEOF
28764: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28765: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28766: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28767: else
28768: cat
28769: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28770: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28771: _ACEOF
28772:
28773: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28774: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28775: # trailing colons and then remove the whole line if VPATH becomes empty
28776: # (actually we leave an empty line to preserve line numbers).
28777: if test "x$srcdir" = x.; then
28778: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28779: h
28780: s///
28781: s/^/:/
28782: s/[ ]*$/:/
28783: s/:\$(srcdir):/:/g
28784: s/:\${srcdir}:/:/g
28785: s/:@srcdir@:/:/g
28786: s/^:*//
28787: s/:*$//
28788: x
28789: s/\(=[ ]*\).*/\1/
28790: G
28791: s/\n//
28792: s/^[^=]*=[ ]*$//
28793: }'
28794: fi
28795:
28796: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28797: fi # test -n "$CONFIG_FILES"
28798:
28799: # Set up the scripts for CONFIG_HEADERS section.
28800: # No need to generate them if there are no CONFIG_HEADERS.
28801: # This happens for instance with `./config.status Makefile'.
28802: if test -n "$CONFIG_HEADERS"; then
28803: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28804: BEGIN {
28805: _ACEOF
28806:
28807: # Transform confdefs.h into an awk script `defines.awk', embedded as
28808: # here-document in config.status, that substitutes the proper values into
28809: # config.h.in to produce config.h.
28810:
28811: # Create a delimiter string that does not exist in confdefs.h, to ease
28812: # handling of long lines.
28813: ac_delim='%!_!# '
28814: for ac_last_try in false false :; do
28815: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28816: if test -z "$ac_tt"; then
28817: break
28818: elif $ac_last_try; then
28819: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28820: else
28821: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28822: fi
28823: done
28824:
28825: # For the awk script, D is an array of macro values keyed by name,
28826: # likewise P contains macro parameters if any. Preserve backslash
28827: # newline sequences.
28828:
28829: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28830: sed -n '
28831: s/.\{148\}/&'"$ac_delim"'/g
28832: t rset
28833: :rset
28834: s/^[ ]*#[ ]*define[ ][ ]*/ /
28835: t def
28836: d
28837: :def
28838: s/\\$//
28839: t bsnl
28840: s/["\\]/\\&/g
28841: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28842: D["\1"]=" \3"/p
28843: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28844: d
28845: :bsnl
28846: s/["\\]/\\&/g
28847: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28848: D["\1"]=" \3\\\\\\n"\\/p
28849: t cont
28850: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28851: t cont
28852: d
28853: :cont
28854: n
28855: s/.\{148\}/&'"$ac_delim"'/g
28856: t clear
28857: :clear
28858: s/\\$//
28859: t bsnlc
28860: s/["\\]/\\&/g; s/^/"/; s/$/"/p
28861: d
28862: :bsnlc
28863: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28864: b cont
28865: ' <confdefs.h | sed '
28866: s/'"$ac_delim"'/"\\\
28867: "/g' >>$CONFIG_STATUS || ac_write_fail=1
28868:
28869: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28870: for (key in D) D_is_set[key] = 1
28871: FS = ""
28872: }
28873: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28874: line = \$ 0
28875: split(line, arg, " ")
28876: if (arg[1] == "#") {
28877: defundef = arg[2]
28878: mac1 = arg[3]
28879: } else {
28880: defundef = substr(arg[1], 2)
28881: mac1 = arg[2]
28882: }
28883: split(mac1, mac2, "(") #)
28884: macro = mac2[1]
28885: prefix = substr(line, 1, index(line, defundef) - 1)
28886: if (D_is_set[macro]) {
28887: # Preserve the white space surrounding the "#".
28888: print prefix "define", macro P[macro] D[macro]
28889: next
28890: } else {
28891: # Replace #undef with comments. This is necessary, for example,
28892: # in the case of _POSIX_SOURCE, which is predefined and required
28893: # on some systems where configure will not decide to define it.
28894: if (defundef == "undef") {
28895: print "/*", prefix defundef, macro, "*/"
28896: next
28897: }
28898: }
28899: }
28900: { print }
28901: _ACAWK
28902: _ACEOF
28903: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28904: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28905: fi # test -n "$CONFIG_HEADERS"
28906:
28907:
28908: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28909: shift
28910: for ac_tag
28911: do
28912: case $ac_tag in
28913: :[FHLC]) ac_mode=$ac_tag; continue;;
28914: esac
28915: case $ac_mode$ac_tag in
28916: :[FHL]*:*);;
28917: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28918: :[FH]-) ac_tag=-:-;;
28919: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28920: esac
28921: ac_save_IFS=$IFS
28922: IFS=:
28923: set x $ac_tag
28924: IFS=$ac_save_IFS
28925: shift
28926: ac_file=$1
28927: shift
28928:
28929: case $ac_mode in
28930: :L) ac_source=$1;;
28931: :[FH])
28932: ac_file_inputs=
28933: for ac_f
28934: do
28935: case $ac_f in
28936: -) ac_f="$ac_tmp/stdin";;
28937: *) # Look for the file first in the build tree, then in the source tree
28938: # (if the path is not absolute). The absolute path cannot be DOS-style,
28939: # because $ac_f cannot contain `:'.
28940: test -f "$ac_f" ||
28941: case $ac_f in
28942: [\\/$]*) false;;
28943: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28944: esac ||
28945: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28946: esac
28947: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28948: as_fn_append ac_file_inputs " '$ac_f'"
28949: done
28950:
28951: # Let's still pretend it is `configure' which instantiates (i.e., don't
28952: # use $as_me), people would be surprised to read:
28953: # /* config.h. Generated by config.status. */
28954: configure_input='Generated from '`
28955: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28956: `' by configure.'
28957: if test x"$ac_file" != x-; then
28958: configure_input="$ac_file. $configure_input"
28959: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28960: $as_echo "$as_me: creating $ac_file" >&6;}
28961: fi
28962: # Neutralize special characters interpreted by sed in replacement strings.
28963: case $configure_input in #(
28964: *\&* | *\|* | *\\* )
28965: ac_sed_conf_input=`$as_echo "$configure_input" |
28966: sed 's/[\\\\&|]/\\\\&/g'`;; #(
28967: *) ac_sed_conf_input=$configure_input;;
28968: esac
28969:
28970: case $ac_tag in
28971: *:-:* | *:-) cat >"$ac_tmp/stdin" \
28972: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28973: esac
28974: ;;
28975: esac
28976:
28977: ac_dir=`$as_dirname -- "$ac_file" ||
28978: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28979: X"$ac_file" : 'X\(//\)[^/]' \| \
28980: X"$ac_file" : 'X\(//\)$' \| \
28981: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28982: $as_echo X"$ac_file" |
28983: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28984: s//\1/
28985: q
28986: }
28987: /^X\(\/\/\)[^/].*/{
28988: s//\1/
28989: q
28990: }
28991: /^X\(\/\/\)$/{
28992: s//\1/
28993: q
28994: }
28995: /^X\(\/\).*/{
28996: s//\1/
28997: q
28998: }
28999: s/.*/./; q'`
29000: as_dir="$ac_dir"; as_fn_mkdir_p
29001: ac_builddir=.
29002:
29003: case "$ac_dir" in
29004: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29005: *)
29006: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29007: # A ".." for each directory in $ac_dir_suffix.
29008: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29009: case $ac_top_builddir_sub in
29010: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29011: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29012: esac ;;
29013: esac
29014: ac_abs_top_builddir=$ac_pwd
29015: ac_abs_builddir=$ac_pwd$ac_dir_suffix
29016: # for backward compatibility:
29017: ac_top_builddir=$ac_top_build_prefix
29018:
29019: case $srcdir in
29020: .) # We are building in place.
29021: ac_srcdir=.
29022: ac_top_srcdir=$ac_top_builddir_sub
29023: ac_abs_top_srcdir=$ac_pwd ;;
29024: [\\/]* | ?:[\\/]* ) # Absolute name.
29025: ac_srcdir=$srcdir$ac_dir_suffix;
29026: ac_top_srcdir=$srcdir
29027: ac_abs_top_srcdir=$srcdir ;;
29028: *) # Relative name.
29029: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29030: ac_top_srcdir=$ac_top_build_prefix$srcdir
29031: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29032: esac
29033: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29034:
29035:
29036: case $ac_mode in
29037: :F)
29038: #
29039: # CONFIG_FILE
29040: #
29041:
29042: case $INSTALL in
29043: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29044: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29045: esac
29046: ac_MKDIR_P=$MKDIR_P
29047: case $MKDIR_P in
29048: [\\/$]* | ?:[\\/]* ) ;;
29049: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29050: esac
29051: _ACEOF
29052:
29053: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29054: # If the template does not know about datarootdir, expand it.
29055: # FIXME: This hack should be removed a few years after 2.60.
29056: ac_datarootdir_hack=; ac_datarootdir_seen=
29057: ac_sed_dataroot='
29058: /datarootdir/ {
29059: p
29060: q
29061: }
29062: /@datadir@/p
29063: /@docdir@/p
29064: /@infodir@/p
29065: /@localedir@/p
29066: /@mandir@/p'
29067: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29068: *datarootdir*) ac_datarootdir_seen=yes;;
29069: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29070: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29071: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29072: _ACEOF
29073: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29074: ac_datarootdir_hack='
29075: s&@datadir@&$datadir&g
29076: s&@docdir@&$docdir&g
29077: s&@infodir@&$infodir&g
29078: s&@localedir@&$localedir&g
29079: s&@mandir@&$mandir&g
29080: s&\\\${datarootdir}&$datarootdir&g' ;;
29081: esac
29082: _ACEOF
29083:
29084: # Neutralize VPATH when `$srcdir' = `.'.
29085: # Shell code in configure.ac might set extrasub.
29086: # FIXME: do we really want to maintain this feature?
29087: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29088: ac_sed_extra="$ac_vpsub
29089: $extrasub
29090: _ACEOF
29091: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29092: :t
29093: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29094: s|@configure_input@|$ac_sed_conf_input|;t t
29095: s&@top_builddir@&$ac_top_builddir_sub&;t t
29096: s&@top_build_prefix@&$ac_top_build_prefix&;t t
29097: s&@srcdir@&$ac_srcdir&;t t
29098: s&@abs_srcdir@&$ac_abs_srcdir&;t t
29099: s&@top_srcdir@&$ac_top_srcdir&;t t
29100: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29101: s&@builddir@&$ac_builddir&;t t
29102: s&@abs_builddir@&$ac_abs_builddir&;t t
29103: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29104: s&@INSTALL@&$ac_INSTALL&;t t
29105: s&@MKDIR_P@&$ac_MKDIR_P&;t t
29106: $ac_datarootdir_hack
29107: "
29108: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29109: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29110:
29111: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29112: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29113: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29114: "$ac_tmp/out"`; test -z "$ac_out"; } &&
29115: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29116: which seems to be undefined. Please make sure it is defined" >&5
29117: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29118: which seems to be undefined. Please make sure it is defined" >&2;}
29119:
29120: rm -f "$ac_tmp/stdin"
29121: case $ac_file in
29122: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29123: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29124: esac \
29125: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29126: ;;
29127: :H)
29128: #
29129: # CONFIG_HEADER
29130: #
29131: if test x"$ac_file" != x-; then
29132: {
29133: $as_echo "/* $configure_input */" \
29134: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29135: } >"$ac_tmp/config.h" \
29136: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29137: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29138: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29139: $as_echo "$as_me: $ac_file is unchanged" >&6;}
29140: else
29141: rm -f "$ac_file"
29142: mv "$ac_tmp/config.h" "$ac_file" \
29143: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29144: fi
29145: else
29146: $as_echo "/* $configure_input */" \
29147: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29148: || as_fn_error $? "could not create -" "$LINENO" 5
29149: fi
29150: # Compute "$ac_file"'s index in $config_headers.
29151: _am_arg="$ac_file"
29152: _am_stamp_count=1
29153: for _am_header in $config_headers :; do
29154: case $_am_header in
29155: $_am_arg | $_am_arg:* )
29156: break ;;
29157: * )
29158: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29159: esac
29160: done
29161: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29162: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29163: X"$_am_arg" : 'X\(//\)[^/]' \| \
29164: X"$_am_arg" : 'X\(//\)$' \| \
29165: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29166: $as_echo X"$_am_arg" |
29167: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29168: s//\1/
29169: q
29170: }
29171: /^X\(\/\/\)[^/].*/{
29172: s//\1/
29173: q
29174: }
29175: /^X\(\/\/\)$/{
29176: s//\1/
29177: q
29178: }
29179: /^X\(\/\).*/{
29180: s//\1/
29181: q
29182: }
29183: s/.*/./; q'`/stamp-h$_am_stamp_count
29184: ;;
29185:
29186: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29187: $as_echo "$as_me: executing $ac_file commands" >&6;}
29188: ;;
29189: esac
29190:
29191:
29192: case $ac_file$ac_mode in
29193: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29194: # Older Autoconf quotes --file arguments for eval, but not when files
29195: # are listed without --file. Let's play safe and only enable the eval
29196: # if we detect the quoting.
29197: case $CONFIG_FILES in
29198: *\'*) eval set x "$CONFIG_FILES" ;;
29199: *) set x $CONFIG_FILES ;;
29200: esac
29201: shift
29202: for mf
29203: do
29204: # Strip MF so we end up with the name of the file.
29205: mf=`echo "$mf" | sed -e 's/:.*$//'`
29206: # Check whether this is an Automake generated Makefile or not.
29207: # We used to match only the files named 'Makefile.in', but
29208: # some people rename them; so instead we look at the file content.
29209: # Grep'ing the first line is not enough: some people post-process
29210: # each Makefile.in and add a new line on top of each file to say so.
29211: # Grep'ing the whole file is not good either: AIX grep has a line
29212: # limit of 2048, but all sed's we know have understand at least 4000.
29213: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29214: dirpart=`$as_dirname -- "$mf" ||
29215: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29216: X"$mf" : 'X\(//\)[^/]' \| \
29217: X"$mf" : 'X\(//\)$' \| \
29218: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29219: $as_echo X"$mf" |
29220: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29221: s//\1/
29222: q
29223: }
29224: /^X\(\/\/\)[^/].*/{
29225: s//\1/
29226: q
29227: }
29228: /^X\(\/\/\)$/{
29229: s//\1/
29230: q
29231: }
29232: /^X\(\/\).*/{
29233: s//\1/
29234: q
29235: }
29236: s/.*/./; q'`
29237: else
29238: continue
29239: fi
29240: # Extract the definition of DEPDIR, am__include, and am__quote
29241: # from the Makefile without running 'make'.
29242: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29243: test -z "$DEPDIR" && continue
29244: am__include=`sed -n 's/^am__include = //p' < "$mf"`
29245: test -z "$am__include" && continue
29246: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29247: # Find all dependency output files, they are included files with
29248: # $(DEPDIR) in their names. We invoke sed twice because it is the
29249: # simplest approach to changing $(DEPDIR) to its actual value in the
29250: # expansion.
29251: for file in `sed -n "
29252: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29253: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
29254: # Make sure the directory exists.
29255: test -f "$dirpart/$file" && continue
29256: fdir=`$as_dirname -- "$file" ||
29257: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29258: X"$file" : 'X\(//\)[^/]' \| \
29259: X"$file" : 'X\(//\)$' \| \
29260: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29261: $as_echo X"$file" |
29262: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29263: s//\1/
29264: q
29265: }
29266: /^X\(\/\/\)[^/].*/{
29267: s//\1/
29268: q
29269: }
29270: /^X\(\/\/\)$/{
29271: s//\1/
29272: q
29273: }
29274: /^X\(\/\).*/{
29275: s//\1/
29276: q
29277: }
29278: s/.*/./; q'`
29279: as_dir=$dirpart/$fdir; as_fn_mkdir_p
29280: # echo "creating $dirpart/$file"
29281: echo '# dummy' > "$dirpart/$file"
29282: done
29283: done
29284: }
29285: ;;
29286: "libtool":C)
29287:
29288: # See if we are running on zsh, and set the options that allow our
29289: # commands through without removal of \ escapes.
29290: if test -n "${ZSH_VERSION+set}"; then
29291: setopt NO_GLOB_SUBST
29292: fi
29293:
29294: cfgfile=${ofile}T
29295: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29296: $RM "$cfgfile"
29297:
29298: cat <<_LT_EOF >> "$cfgfile"
29299: #! $SHELL
29300: # Generated automatically by $as_me ($PACKAGE) $VERSION
29301: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29302: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29303:
29304: # Provide generalized library-building support services.
29305: # Written by Gordon Matzigkeit, 1996
29306:
29307: # Copyright (C) 2014 Free Software Foundation, Inc.
29308: # This is free software; see the source for copying conditions. There is NO
29309: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29310:
29311: # GNU Libtool is free software; you can redistribute it and/or modify
29312: # it under the terms of the GNU General Public License as published by
29313: # the Free Software Foundation; either version 2 of of the License, or
29314: # (at your option) any later version.
29315: #
29316: # As a special exception to the GNU General Public License, if you
29317: # distribute this file as part of a program or library that is built
29318: # using GNU Libtool, you may include this file under the same
29319: # distribution terms that you use for the rest of that program.
29320: #
29321: # GNU Libtool is distributed in the hope that it will be useful, but
29322: # WITHOUT ANY WARRANTY; without even the implied warranty of
29323: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29324: # GNU General Public License for more details.
29325: #
29326: # You should have received a copy of the GNU General Public License
29327: # along with this program. If not, see <http://www.gnu.org/licenses/>.
29328:
29329:
29330: # The names of the tagged configurations supported by this script.
29331: available_tags=''
29332:
29333: # Configured defaults for sys_lib_dlsearch_path munging.
29334: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
29335:
29336: # ### BEGIN LIBTOOL CONFIG
29337:
29338: # Whether or not to build static libraries.
29339: build_old_libs=$enable_static
29340:
29341: # Which release of libtool.m4 was used?
29342: macro_version=$macro_version
29343: macro_revision=$macro_revision
29344:
29345: # Whether or not to build shared libraries.
29346: build_libtool_libs=$enable_shared
29347:
29348: # What type of objects to build.
29349: pic_mode=$pic_mode
29350:
29351: # Whether or not to optimize for fast installation.
29352: fast_install=$enable_fast_install
29353:
29354: # Shared archive member basename,for filename based shared library versioning on AIX.
29355: shared_archive_member_spec=$shared_archive_member_spec
29356:
29357: # Shell to use when invoking shell scripts.
29358: SHELL=$lt_SHELL
29359:
29360: # An echo program that protects backslashes.
29361: ECHO=$lt_ECHO
29362:
29363: # The PATH separator for the build system.
29364: PATH_SEPARATOR=$lt_PATH_SEPARATOR
29365:
29366: # The host system.
29367: host_alias=$host_alias
29368: host=$host
29369: host_os=$host_os
29370:
29371: # The build system.
29372: build_alias=$build_alias
29373: build=$build
29374: build_os=$build_os
29375:
29376: # A sed program that does not truncate output.
29377: SED=$lt_SED
29378:
29379: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29380: Xsed="\$SED -e 1s/^X//"
29381:
29382: # A grep program that handles long lines.
29383: GREP=$lt_GREP
29384:
29385: # An ERE matcher.
29386: EGREP=$lt_EGREP
29387:
29388: # A literal string matcher.
29389: FGREP=$lt_FGREP
29390:
29391: # A BSD- or MS-compatible name lister.
29392: NM=$lt_NM
29393:
29394: # Whether we need soft or hard links.
29395: LN_S=$lt_LN_S
29396:
29397: # What is the maximum length of a command?
29398: max_cmd_len=$max_cmd_len
29399:
29400: # Object file suffix (normally "o").
29401: objext=$ac_objext
29402:
29403: # Executable file suffix (normally "").
29404: exeext=$exeext
29405:
29406: # whether the shell understands "unset".
29407: lt_unset=$lt_unset
29408:
29409: # turn spaces into newlines.
29410: SP2NL=$lt_lt_SP2NL
29411:
29412: # turn newlines into spaces.
29413: NL2SP=$lt_lt_NL2SP
29414:
29415: # convert \$build file names to \$host format.
29416: to_host_file_cmd=$lt_cv_to_host_file_cmd
29417:
29418: # convert \$build files to toolchain format.
29419: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29420:
29421: # An object symbol dumper.
29422: OBJDUMP=$lt_OBJDUMP
29423:
29424: # Method to check whether dependent libraries are shared objects.
29425: deplibs_check_method=$lt_deplibs_check_method
29426:
29427: # Command to use when deplibs_check_method = "file_magic".
29428: file_magic_cmd=$lt_file_magic_cmd
29429:
29430: # How to find potential files when deplibs_check_method = "file_magic".
29431: file_magic_glob=$lt_file_magic_glob
29432:
29433: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29434: want_nocaseglob=$lt_want_nocaseglob
29435:
29436: # DLL creation program.
29437: DLLTOOL=$lt_DLLTOOL
29438:
29439: # Command to associate shared and link libraries.
29440: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29441:
29442: # The archiver.
29443: AR=$lt_AR
29444:
29445: # Flags to create an archive.
29446: AR_FLAGS=$lt_AR_FLAGS
29447:
29448: # How to feed a file listing to the archiver.
29449: archiver_list_spec=$lt_archiver_list_spec
29450:
29451: # A symbol stripping program.
29452: STRIP=$lt_STRIP
29453:
29454: # Commands used to install an old-style archive.
29455: RANLIB=$lt_RANLIB
29456: old_postinstall_cmds=$lt_old_postinstall_cmds
29457: old_postuninstall_cmds=$lt_old_postuninstall_cmds
29458:
29459: # Whether to use a lock for old archive extraction.
29460: lock_old_archive_extraction=$lock_old_archive_extraction
29461:
29462: # A C compiler.
29463: LTCC=$lt_CC
29464:
29465: # LTCC compiler flags.
29466: LTCFLAGS=$lt_CFLAGS
29467:
29468: # Take the output of nm and produce a listing of raw symbols and C names.
29469: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29470:
29471: # Transform the output of nm in a proper C declaration.
29472: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29473:
29474: # Transform the output of nm into a list of symbols to manually relocate.
29475: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
29476:
29477: # Transform the output of nm in a C name address pair.
29478: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29479:
29480: # Transform the output of nm in a C name address pair when lib prefix is needed.
29481: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29482:
29483: # The name lister interface.
29484: nm_interface=$lt_lt_cv_nm_interface
29485:
29486: # Specify filename containing input files for \$NM.
29487: nm_file_list_spec=$lt_nm_file_list_spec
29488:
29489: # The root where to search for dependent libraries,and where our libraries should be installed.
29490: lt_sysroot=$lt_sysroot
29491:
29492: # Command to truncate a binary pipe.
29493: lt_truncate_bin=$lt_lt_cv_truncate_bin
29494:
29495: # The name of the directory that contains temporary libtool files.
29496: objdir=$objdir
29497:
29498: # Used to examine libraries when file_magic_cmd begins with "file".
29499: MAGIC_CMD=$MAGIC_CMD
29500:
29501: # Must we lock files when doing compilation?
29502: need_locks=$lt_need_locks
29503:
29504: # Manifest tool.
29505: MANIFEST_TOOL=$lt_MANIFEST_TOOL
29506:
29507: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29508: DSYMUTIL=$lt_DSYMUTIL
29509:
29510: # Tool to change global to local symbols on Mac OS X.
29511: NMEDIT=$lt_NMEDIT
29512:
29513: # Tool to manipulate fat objects and archives on Mac OS X.
29514: LIPO=$lt_LIPO
29515:
29516: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29517: OTOOL=$lt_OTOOL
29518:
29519: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29520: OTOOL64=$lt_OTOOL64
29521:
29522: # Old archive suffix (normally "a").
29523: libext=$libext
29524:
29525: # Shared library suffix (normally ".so").
29526: shrext_cmds=$lt_shrext_cmds
29527:
29528: # The commands to extract the exported symbol list from a shared archive.
29529: extract_expsyms_cmds=$lt_extract_expsyms_cmds
29530:
29531: # Variables whose values should be saved in libtool wrapper scripts and
29532: # restored at link time.
29533: variables_saved_for_relink=$lt_variables_saved_for_relink
29534:
29535: # Do we need the "lib" prefix for modules?
29536: need_lib_prefix=$need_lib_prefix
29537:
29538: # Do we need a version for libraries?
29539: need_version=$need_version
29540:
29541: # Library versioning type.
29542: version_type=$version_type
29543:
29544: # Shared library runtime path variable.
29545: runpath_var=$runpath_var
29546:
29547: # Shared library path variable.
29548: shlibpath_var=$shlibpath_var
29549:
29550: # Is shlibpath searched before the hard-coded library search path?
29551: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29552:
29553: # Format of library name prefix.
29554: libname_spec=$lt_libname_spec
29555:
29556: # List of archive names. First name is the real one, the rest are links.
29557: # The last name is the one that the linker finds with -lNAME
29558: library_names_spec=$lt_library_names_spec
29559:
29560: # The coded name of the library, if different from the real name.
29561: soname_spec=$lt_soname_spec
29562:
29563: # Permission mode override for installation of shared libraries.
29564: install_override_mode=$lt_install_override_mode
29565:
29566: # Command to use after installation of a shared archive.
29567: postinstall_cmds=$lt_postinstall_cmds
29568:
29569: # Command to use after uninstallation of a shared archive.
29570: postuninstall_cmds=$lt_postuninstall_cmds
29571:
29572: # Commands used to finish a libtool library installation in a directory.
29573: finish_cmds=$lt_finish_cmds
29574:
29575: # As "finish_cmds", except a single script fragment to be evaled but
29576: # not shown.
29577: finish_eval=$lt_finish_eval
29578:
29579: # Whether we should hardcode library paths into libraries.
29580: hardcode_into_libs=$hardcode_into_libs
29581:
29582: # Compile-time system search path for libraries.
29583: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29584:
29585: # Detected run-time system search path for libraries.
29586: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
29587:
29588: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
29589: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
29590:
29591: # Whether dlopen is supported.
29592: dlopen_support=$enable_dlopen
29593:
29594: # Whether dlopen of programs is supported.
29595: dlopen_self=$enable_dlopen_self
29596:
29597: # Whether dlopen of statically linked programs is supported.
29598: dlopen_self_static=$enable_dlopen_self_static
29599:
29600: # Commands to strip libraries.
29601: old_striplib=$lt_old_striplib
29602: striplib=$lt_striplib
29603:
29604:
29605: # The linker used to build libraries.
29606: LD=$lt_LD
29607:
29608: # How to create reloadable object files.
29609: reload_flag=$lt_reload_flag
29610: reload_cmds=$lt_reload_cmds
29611:
29612: # Commands used to build an old-style archive.
29613: old_archive_cmds=$lt_old_archive_cmds
29614:
29615: # A language specific compiler.
29616: CC=$lt_compiler
29617:
29618: # Is the compiler the GNU compiler?
29619: with_gcc=$GCC
29620:
29621: # Compiler flag to turn off builtin functions.
29622: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29623:
29624: # Additional compiler flags for building library objects.
29625: pic_flag=$lt_lt_prog_compiler_pic
29626:
29627: # How to pass a linker flag through the compiler.
29628: wl=$lt_lt_prog_compiler_wl
29629:
29630: # Compiler flag to prevent dynamic linking.
29631: link_static_flag=$lt_lt_prog_compiler_static
29632:
29633: # Does compiler simultaneously support -c and -o options?
29634: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29635:
29636: # Whether or not to add -lc for building shared libraries.
29637: build_libtool_need_lc=$archive_cmds_need_lc
29638:
29639: # Whether or not to disallow shared libs when runtime libs are static.
29640: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29641:
29642: # Compiler flag to allow reflexive dlopens.
29643: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29644:
29645: # Compiler flag to generate shared objects directly from archives.
29646: whole_archive_flag_spec=$lt_whole_archive_flag_spec
29647:
29648: # Whether the compiler copes with passing no objects directly.
29649: compiler_needs_object=$lt_compiler_needs_object
29650:
29651: # Create an old-style archive from a shared archive.
29652: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29653:
29654: # Create a temporary old-style archive to link instead of a shared archive.
29655: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29656:
29657: # Commands used to build a shared archive.
29658: archive_cmds=$lt_archive_cmds
29659: archive_expsym_cmds=$lt_archive_expsym_cmds
29660:
29661: # Commands used to build a loadable module if different from building
29662: # a shared archive.
29663: module_cmds=$lt_module_cmds
29664: module_expsym_cmds=$lt_module_expsym_cmds
29665:
29666: # Whether we are building with GNU ld or not.
29667: with_gnu_ld=$lt_with_gnu_ld
29668:
29669: # Flag that allows shared libraries with undefined symbols to be built.
29670: allow_undefined_flag=$lt_allow_undefined_flag
29671:
29672: # Flag that enforces no undefined symbols.
29673: no_undefined_flag=$lt_no_undefined_flag
29674:
29675: # Flag to hardcode \$libdir into a binary during linking.
29676: # This must work even if \$libdir does not exist
29677: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29678:
29679: # Whether we need a single "-rpath" flag with a separated argument.
29680: hardcode_libdir_separator=$lt_hardcode_libdir_separator
29681:
29682: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29683: # DIR into the resulting binary.
29684: hardcode_direct=$hardcode_direct
29685:
29686: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29687: # DIR into the resulting binary and the resulting library dependency is
29688: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29689: # library is relocated.
29690: hardcode_direct_absolute=$hardcode_direct_absolute
29691:
29692: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29693: # into the resulting binary.
29694: hardcode_minus_L=$hardcode_minus_L
29695:
29696: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29697: # into the resulting binary.
29698: hardcode_shlibpath_var=$hardcode_shlibpath_var
29699:
29700: # Set to "yes" if building a shared library automatically hardcodes DIR
29701: # into the library and all subsequent libraries and executables linked
29702: # against it.
29703: hardcode_automatic=$hardcode_automatic
29704:
29705: # Set to yes if linker adds runtime paths of dependent libraries
29706: # to runtime path list.
29707: inherit_rpath=$inherit_rpath
29708:
29709: # Whether libtool must link a program against all its dependency libraries.
29710: link_all_deplibs=$link_all_deplibs
29711:
29712: # Set to "yes" if exported symbols are required.
29713: always_export_symbols=$always_export_symbols
29714:
29715: # The commands to list exported symbols.
29716: export_symbols_cmds=$lt_export_symbols_cmds
29717:
29718: # Symbols that should not be listed in the preloaded symbols.
29719: exclude_expsyms=$lt_exclude_expsyms
29720:
29721: # Symbols that must always be exported.
29722: include_expsyms=$lt_include_expsyms
29723:
29724: # Commands necessary for linking programs (against libraries) with templates.
29725: prelink_cmds=$lt_prelink_cmds
29726:
29727: # Commands necessary for finishing linking programs.
29728: postlink_cmds=$lt_postlink_cmds
29729:
29730: # Specify filename containing input files.
29731: file_list_spec=$lt_file_list_spec
29732:
29733: # How to hardcode a shared library path into an executable.
29734: hardcode_action=$hardcode_action
29735:
29736: # ### END LIBTOOL CONFIG
29737:
29738: _LT_EOF
29739:
29740: cat <<'_LT_EOF' >> "$cfgfile"
29741:
29742: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
29743:
29744: # func_munge_path_list VARIABLE PATH
29745: # -----------------------------------
29746: # VARIABLE is name of variable containing _space_ separated list of
29747: # directories to be munged by the contents of PATH, which is string
29748: # having a format:
29749: # "DIR[:DIR]:"
29750: # string "DIR[ DIR]" will be prepended to VARIABLE
29751: # ":DIR[:DIR]"
29752: # string "DIR[ DIR]" will be appended to VARIABLE
29753: # "DIRP[:DIRP]::[DIRA:]DIRA"
29754: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
29755: # "DIRA[ DIRA]" will be appended to VARIABLE
29756: # "DIR[:DIR]"
29757: # VARIABLE will be replaced by "DIR[ DIR]"
29758: func_munge_path_list ()
29759: {
29760: case x$2 in
29761: x)
29762: ;;
29763: *:)
29764: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
29765: ;;
29766: x:*)
29767: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
29768: ;;
29769: *::*)
29770: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
29771: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
29772: ;;
29773: *)
29774: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
29775: ;;
29776: esac
29777: }
29778:
29779:
29780: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
29781: func_cc_basename ()
29782: {
29783: for cc_temp in $*""; do
29784: case $cc_temp in
29785: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
29786: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
29787: \-*) ;;
29788: *) break;;
29789: esac
29790: done
29791: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
29792: }
29793:
29794:
29795: # ### END FUNCTIONS SHARED WITH CONFIGURE
29796:
29797: _LT_EOF
29798:
29799: case $host_os in
29800: aix3*)
29801: cat <<\_LT_EOF >> "$cfgfile"
29802: # AIX sometimes has problems with the GCC collect2 program. For some
29803: # reason, if we set the COLLECT_NAMES environment variable, the problems
29804: # vanish in a puff of smoke.
29805: if test set != "${COLLECT_NAMES+set}"; then
29806: COLLECT_NAMES=
29807: export COLLECT_NAMES
29808: fi
29809: _LT_EOF
29810: ;;
29811: esac
29812:
29813:
29814: ltmain=$ac_aux_dir/ltmain.sh
29815:
29816:
29817: # We use sed instead of cat because bash on DJGPP gets confused if
29818: # if finds mixed CR/LF and LF-only lines. Since sed operates in
29819: # text mode, it properly converts lines to CR/LF. This bash problem
29820: # is reportedly fixed, but why not run on old versions too?
29821: sed '$q' "$ltmain" >> "$cfgfile" \
29822: || (rm -f "$cfgfile"; exit 1)
29823:
29824: mv -f "$cfgfile" "$ofile" ||
29825: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29826: chmod +x "$ofile"
29827:
29828: ;;
29829:
29830: esac
29831: done # for ac_tag
29832:
29833:
29834: as_fn_exit 0
29835: _ACEOF
29836: ac_clean_files=$ac_clean_files_save
29837:
29838: test $ac_write_fail = 0 ||
29839: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29840:
29841:
29842: # configure is writing to config.log, and then calls config.status.
29843: # config.status does its own redirection, appending to config.log.
29844: # Unfortunately, on DOS this fails, as config.log is still kept open
29845: # by configure, so config.status won't be able to write to it; its
29846: # output is simply discarded. So we exec the FD to /dev/null,
29847: # effectively closing config.log, so it can be properly (re)opened and
29848: # appended to by config.status. When coming back to configure, we
29849: # need to make the FD available again.
29850: if test "$no_create" != yes; then
29851: ac_cs_success=:
29852: ac_config_status_args=
29853: test "$silent" = yes &&
29854: ac_config_status_args="$ac_config_status_args --quiet"
29855: exec 5>/dev/null
29856: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29857: exec 5>>config.log
29858: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29859: # would make configure fail if this is the last instruction.
29860: $ac_cs_success || as_fn_exit 1
29861: fi
29862: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29863: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29864: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29865: fi
29866:
29867:
29868: # ========================
29869: # report enabled plugins
29870: # ========================
29871:
29872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
29873: $as_echo "" >&6; }
29874: { $as_echo "$as_me:${as_lineno-$LINENO}: result: strongSwan will be built with the following plugins" >&5
29875: $as_echo " strongSwan will be built with the following plugins" >&6; }
29876: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------------------" >&5
29877: $as_echo "-----------------------------------------------------" >&6; }
29878:
29879: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libstrongswan:$s_plugins" >&5
29880: $as_echo "libstrongswan:$s_plugins" >&6; }
29881: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcharon: $c_plugins" >&5
29882: $as_echo "libcharon: $c_plugins" >&6; }
29883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtnccs: $t_plugins" >&5
29884: $as_echo "libtnccs: $t_plugins" >&6; }
29885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtpmtss: $p_plugins" >&5
29886: $as_echo "libtpmtss: $p_plugins" >&6; }
29887: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
29888: $as_echo "" >&6; }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>