Annotation of embedaddon/strongswan/configure, revision 1.1.1.2
1.1 misho 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2 ! misho 3: # Generated by GNU Autoconf 2.69 for strongSwan 5.9.2.
1.1 misho 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'
1.1.1.2 ! misho 590: PACKAGE_VERSION='5.9.2'
! 591: PACKAGE_STRING='strongSwan 5.9.2'
1.1 misho 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
1.1.1.2 ! misho 1061: GIT_VERSION
1.1 misho 1062: PERL_CPAN_INSTALL_FALSE
1063: PERL_CPAN_INSTALL_TRUE
1064: PYTHON_EGGS_INSTALL_FALSE
1065: PYTHON_EGGS_INSTALL_TRUE
1066: PY_TEST
1067: TOX
1068: PYTHONEGGINSTALLDIR
1069: EASY_INSTALL
1070: PYTHON_PACKAGE_VERSION
1071: RUBY_GEMS_INSTALL_FALSE
1072: RUBY_GEMS_INSTALL_TRUE
1073: RUBYGEMDIR
1074: GEM
1075: FUZZING_LDFLAGS
1076: FUZZING_CFLAGS
1077: COVERAGE_LDFLAGS
1078: COVERAGE_CFLAGS
1079: GENHTML
1080: LCOV
1081: GPRBUILD
1082: dev_headers
1083: USE_DEV_HEADERS_FALSE
1084: USE_DEV_HEADERS_TRUE
1085: UNWINDLIB
1086: BFDLIB
1087: libiptc_LIBS
1088: libiptc_CFLAGS
1089: nm_LIBS
1090: nm_CFLAGS
1091: pcsclite_LIBS
1092: pcsclite_CFLAGS
1093: botan_LIBS
1094: botan_CFLAGS
1095: wolfssl_LIBS
1096: wolfssl_CFLAGS
1097: OPENSSL_LIB
1098: MYSQLCFLAG
1099: MYSQLCONFIG
1100: MYSQLLIB
1101: clearsilver_LIBS
1102: json_LIBS
1103: json_CFLAGS
1104: tss2_socket_LIBS
1105: tss2_socket_CFLAGS
1106: tss2_tabrmd_LIBS
1107: tss2_tabrmd_CFLAGS
1108: tss2_LIBS
1109: tss2_CFLAGS
1110: tss2_esys_LIBS
1111: tss2_esys_CFLAGS
1112: tss2_sys_LIBS
1113: tss2_sys_CFLAGS
1114: systemd_journal_LIBS
1115: systemd_journal_CFLAGS
1116: systemd_daemon_LIBS
1117: systemd_daemon_CFLAGS
1118: systemd_LIBS
1119: systemd_CFLAGS
1120: xml_LIBS
1121: xml_CFLAGS
1122: soup_LIBS
1123: soup_CFLAGS
1124: USE_X86X64_FALSE
1125: USE_X86X64_TRUE
1126: USE_WINDOWS_FALSE
1127: USE_WINDOWS_TRUE
1128: RTLIB
1129: USE_SYSLOG_FALSE
1130: USE_SYSLOG_TRUE
1131: ATOMICLIB
1132: PTHREADLIB
1133: SOCKLIB
1134: BTLIB
1135: DLLIB
1136: ALLOCA
1137: GPERF_LEN_TYPE
1138: GPERF
1139: PERL
1140: pkgpyexecdir
1141: pyexecdir
1142: pkgpythondir
1143: pythondir
1144: PYTHON_PLATFORM
1145: PYTHON_EXEC_PREFIX
1146: PYTHON_PREFIX
1147: PYTHON_VERSION
1148: PYTHON
1149: YFLAGS
1150: YACC
1151: LEXLIB
1152: LEX_OUTPUT_ROOT
1153: LEX
1154: LT_SYS_LIBRARY_PATH
1155: OTOOL64
1156: OTOOL
1157: LIPO
1158: NMEDIT
1159: DSYMUTIL
1160: MANIFEST_TOOL
1161: RANLIB
1162: ac_ct_AR
1163: AR
1164: DLLTOOL
1165: OBJDUMP
1166: LN_S
1167: NM
1168: ac_ct_DUMPBIN
1169: DUMPBIN
1170: LD
1171: FGREP
1172: LIBTOOL
1173: EGREP
1174: GREP
1175: CPP
1176: host_os
1177: host_vendor
1178: host_cpu
1179: host
1180: build_os
1181: build_vendor
1182: build_cpu
1183: build
1184: am__fastdepCC_FALSE
1185: am__fastdepCC_TRUE
1186: CCDEPMODE
1187: am__nodep
1188: AMDEPBACKSLASH
1189: AMDEP_FALSE
1190: AMDEP_TRUE
1191: am__quote
1192: am__include
1193: DEPDIR
1194: OBJEXT
1195: EXEEXT
1196: ac_ct_CC
1197: CPPFLAGS
1198: LDFLAGS
1199: CFLAGS
1200: CC
1201: PLUGIN_CFLAGS
1202: ipsec_script_upper
1203: charon_natt_port
1204: charon_udp_port
1205: ipsecgroup
1206: ipsecuser
1207: dbuspolicydir
1208: dbusdatadir
1209: systemdsystemunitdir
1210: libfuzzer
1211: fips_mode
1212: ipsec_script
1213: routing_table_prio
1214: routing_table
1215: linux_headers
1216: swanctldir
1217: nm_ca_dir
1218: imcvdir
1219: plugindir
1220: ipseclibdir
1221: ipsecdir
1222: piddir
1223: resolv_conf
1224: strongswan_conf
1225: urandom_device
1226: random_device
1227: PACKAGE_VERSION_REVIEW
1228: PACKAGE_VERSION_BUILD
1229: PACKAGE_VERSION_MINOR
1230: PACKAGE_VERSION_MAJOR
1231: SED
1232: PKG_CONFIG_LIBDIR
1233: PKG_CONFIG_PATH
1234: PKG_CONFIG
1235: AM_BACKSLASH
1236: AM_DEFAULT_VERBOSITY
1237: AM_DEFAULT_V
1238: AM_V
1239: am__untar
1240: am__tar
1241: AMTAR
1242: am__leading_dot
1243: SET_MAKE
1244: AWK
1245: mkdir_p
1246: MKDIR_P
1247: INSTALL_STRIP_PROGRAM
1248: STRIP
1249: install_sh
1250: MAKEINFO
1251: AUTOHEADER
1252: AUTOMAKE
1253: AUTOCONF
1254: ACLOCAL
1255: VERSION
1256: PACKAGE
1257: CYGPATH_W
1258: am__isrc
1259: INSTALL_DATA
1260: INSTALL_SCRIPT
1261: INSTALL_PROGRAM
1262: target_alias
1263: host_alias
1264: build_alias
1265: LIBS
1266: ECHO_T
1267: ECHO_N
1268: ECHO_C
1269: DEFS
1270: mandir
1271: localedir
1272: libdir
1273: psdir
1274: pdfdir
1275: dvidir
1276: htmldir
1277: infodir
1278: docdir
1279: oldincludedir
1280: includedir
1281: runstatedir
1282: localstatedir
1283: sharedstatedir
1284: sysconfdir
1285: datadir
1286: datarootdir
1287: libexecdir
1288: sbindir
1289: bindir
1290: program_transform_name
1291: prefix
1292: exec_prefix
1293: PACKAGE_URL
1294: PACKAGE_BUGREPORT
1295: PACKAGE_STRING
1296: PACKAGE_VERSION
1297: PACKAGE_TARNAME
1298: PACKAGE_NAME
1299: PATH_SEPARATOR
1300: SHELL'
1301: ac_subst_files=''
1302: ac_user_opts='
1303: enable_option_checking
1304: enable_silent_rules
1305: enable_static
1306: with_random_device
1307: with_urandom_device
1308: with_strongswan_conf
1309: with_resolv_conf
1310: with_piddir
1311: with_ipsecdir
1312: with_ipseclibdir
1313: with_plugindir
1314: with_imcvdir
1315: with_nm_ca_dir
1316: with_swanctldir
1317: with_linux_headers
1318: with_routing_table
1319: with_routing_table_prio
1320: with_ipsec_script
1321: with_fips_mode
1322: with_libfuzzer
1323: with_capabilities
1324: with_mpz_powm_sec
1325: with_dev_headers
1326: with_printf_hooks
1327: with_rubygemdir
1328: with_pythoneggdir
1329: with_systemdsystemunitdir
1330: with_dbuspolicydir
1331: with_user
1332: with_group
1333: with_charon_udp_port
1334: with_charon_natt_port
1335: enable_aes
1336: enable_af_alg
1337: enable_bliss
1338: enable_blowfish
1339: enable_botan
1340: enable_ccm
1341: enable_chapoly
1342: enable_cmac
1343: enable_ctr
1344: enable_des
1345: enable_drbg
1346: enable_fips_prf
1347: enable_gcm
1348: enable_gcrypt
1349: enable_gmp
1350: enable_curve25519
1351: enable_hmac
1352: enable_md4
1353: enable_md5
1354: enable_mgf1
1355: enable_newhope
1356: enable_nonce
1357: enable_ntru
1358: enable_openssl
1359: enable_wolfssl
1360: enable_padlock
1361: enable_random
1362: enable_rc2
1363: enable_rdrand
1364: enable_aesni
1365: enable_sha1
1366: enable_sha2
1367: enable_sha3
1368: enable_xcbc
1369: enable_dnskey
1370: enable_pem
1371: enable_pgp
1372: enable_pkcs1
1373: enable_pkcs7
1374: enable_pkcs8
1375: enable_pkcs12
1376: enable_pubkey
1377: enable_sshkey
1378: enable_x509
1379: enable_curl
1380: enable_files
1381: enable_ldap
1382: enable_soup
1383: enable_unbound
1384: enable_winhttp
1385: enable_mysql
1386: enable_sqlite
1387: enable_addrblock
1388: enable_acert
1389: enable_agent
1390: enable_constraints
1391: enable_coupling
1392: enable_dnscert
1393: enable_eap_sim
1394: enable_eap_sim_file
1395: enable_eap_sim_pcsc
1396: enable_eap_aka
1397: enable_eap_aka_3gpp
1398: enable_eap_aka_3gpp2
1399: enable_eap_simaka_sql
1400: enable_eap_simaka_pseudonym
1401: enable_eap_simaka_reauth
1402: enable_eap_identity
1403: enable_eap_md5
1404: enable_eap_gtc
1405: enable_eap_mschapv2
1406: enable_eap_tls
1407: enable_eap_ttls
1408: enable_eap_peap
1409: enable_eap_tnc
1410: enable_eap_dynamic
1411: enable_eap_radius
1412: enable_ext_auth
1413: enable_ipseckey
1414: enable_keychain
1415: enable_pkcs11
1416: enable_tpm
1417: enable_revocation
1418: enable_whitelist
1419: enable_xauth_generic
1420: enable_xauth_eap
1421: enable_xauth_pam
1422: enable_xauth_noauth
1423: enable_kernel_netlink
1424: enable_kernel_pfkey
1425: enable_kernel_pfroute
1426: enable_kernel_iph
1427: enable_kernel_libipsec
1428: enable_kernel_wfp
1429: enable_socket_default
1430: enable_socket_dynamic
1431: enable_socket_win
1432: enable_stroke
1433: enable_smp
1434: enable_sql
1435: enable_uci
1436: enable_vici
1437: enable_android_dns
1438: enable_attr
1439: enable_attr_sql
1440: enable_dhcp
1441: enable_osx_attr
1442: enable_p_cscf
1443: enable_resolve
1444: enable_unity
1445: enable_imc_test
1446: enable_imv_test
1447: enable_imc_scanner
1448: enable_imv_scanner
1449: enable_imc_os
1450: enable_imv_os
1451: enable_imc_attestation
1452: enable_imv_attestation
1453: enable_imc_swima
1454: enable_imv_swima
1455: enable_imc_hcd
1456: enable_imv_hcd
1457: enable_tnc_ifmap
1458: enable_tnc_imc
1459: enable_tnc_imv
1460: enable_tnc_pdp
1461: enable_tnccs_11
1462: enable_tnccs_20
1463: enable_tnccs_dynamic
1464: enable_android_log
1465: enable_bypass_lan
1466: enable_certexpire
1467: enable_connmark
1468: enable_counters
1469: enable_forecast
1470: enable_duplicheck
1471: enable_error_notify
1472: enable_farp
1473: enable_ha
1474: enable_led
1475: enable_load_tester
1476: enable_lookip
1477: enable_radattr
1478: enable_save_keys
1479: enable_systime_fix
1480: enable_test_vectors
1481: enable_updown
1482: enable_aikgen
1483: enable_charon
1484: enable_cmd
1485: enable_conftest
1486: enable_fast
1487: enable_fuzzing
1488: enable_libipsec
1489: enable_manager
1490: enable_medcli
1491: enable_medsrv
1492: enable_nm
1493: enable_pki
1494: enable_scepclient
1495: enable_scripts
1496: enable_svc
1497: enable_systemd
1498: enable_swanctl
1499: enable_tkm
1500: enable_bfd_backtraces
1501: enable_dbghelp_backtraces
1502: enable_ikev1
1503: enable_ikev2
1504: enable_integrity_test
1505: enable_load_warning
1506: enable_mediation
1507: enable_unwind_backtraces
1508: enable_ruby_gems
1509: enable_ruby_gems_install
1510: enable_python_eggs
1511: enable_python_eggs_install
1512: enable_perl_cpan
1513: enable_perl_cpan_install
1514: enable_tss_trousers
1515: enable_tss_tss2
1516: enable_coverage
1.1.1.2 ! misho 1517: enable_git_version
1.1 misho 1518: enable_leak_detective
1519: enable_lock_profiler
1520: enable_log_thread_ids
1521: enable_monolithic
1522: enable_defaults
1523: enable_all
1524: enable_dependency_tracking
1525: with_lib_prefix
1526: enable_shared
1527: with_pic
1528: enable_fast_install
1529: with_aix_soname
1530: with_gnu_ld
1531: with_sysroot
1532: enable_libtool_lock
1533: '
1534: ac_precious_vars='build_alias
1535: host_alias
1536: target_alias
1537: PKG_CONFIG
1538: PKG_CONFIG_PATH
1539: PKG_CONFIG_LIBDIR
1540: dbusdatadir
1541: CC
1542: CFLAGS
1543: LDFLAGS
1544: LIBS
1545: CPPFLAGS
1546: CPP
1547: LT_SYS_LIBRARY_PATH
1548: YACC
1549: YFLAGS
1550: PYTHON
1551: PERL
1552: GPERF
1553: soup_CFLAGS
1554: soup_LIBS
1555: xml_CFLAGS
1556: xml_LIBS
1557: systemd_CFLAGS
1558: systemd_LIBS
1559: systemd_daemon_CFLAGS
1560: systemd_daemon_LIBS
1561: systemd_journal_CFLAGS
1562: systemd_journal_LIBS
1563: tss2_sys_CFLAGS
1564: tss2_sys_LIBS
1565: tss2_esys_CFLAGS
1566: tss2_esys_LIBS
1567: tss2_tabrmd_CFLAGS
1568: tss2_tabrmd_LIBS
1569: tss2_socket_CFLAGS
1570: tss2_socket_LIBS
1571: json_CFLAGS
1572: json_LIBS
1573: wolfssl_CFLAGS
1574: wolfssl_LIBS
1575: botan_CFLAGS
1576: botan_LIBS
1577: pcsclite_CFLAGS
1578: pcsclite_LIBS
1579: nm_CFLAGS
1580: nm_LIBS
1581: libiptc_CFLAGS
1582: libiptc_LIBS'
1583:
1584:
1585: # Initialize some variables set by options.
1586: ac_init_help=
1587: ac_init_version=false
1588: ac_unrecognized_opts=
1589: ac_unrecognized_sep=
1590: # The variables have the same names as the options, with
1591: # dashes changed to underlines.
1592: cache_file=/dev/null
1593: exec_prefix=NONE
1594: no_create=
1595: no_recursion=
1596: prefix=NONE
1597: program_prefix=NONE
1598: program_suffix=NONE
1599: program_transform_name=s,x,x,
1600: silent=
1601: site=
1602: srcdir=
1603: verbose=
1604: x_includes=NONE
1605: x_libraries=NONE
1606:
1607: # Installation directory options.
1608: # These are left unexpanded so users can "make install exec_prefix=/foo"
1609: # and all the variables that are supposed to be based on exec_prefix
1610: # by default will actually change.
1611: # Use braces instead of parens because sh, perl, etc. also accept them.
1612: # (The list follows the same order as the GNU Coding Standards.)
1613: bindir='${exec_prefix}/bin'
1614: sbindir='${exec_prefix}/sbin'
1615: libexecdir='${exec_prefix}/libexec'
1616: datarootdir='${prefix}/share'
1617: datadir='${datarootdir}'
1618: sysconfdir='${prefix}/etc'
1619: sharedstatedir='${prefix}/com'
1620: localstatedir='${prefix}/var'
1621: runstatedir='${localstatedir}/run'
1622: includedir='${prefix}/include'
1623: oldincludedir='/usr/include'
1624: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1625: infodir='${datarootdir}/info'
1626: htmldir='${docdir}'
1627: dvidir='${docdir}'
1628: pdfdir='${docdir}'
1629: psdir='${docdir}'
1630: libdir='${exec_prefix}/lib'
1631: localedir='${datarootdir}/locale'
1632: mandir='${datarootdir}/man'
1633:
1634: ac_prev=
1635: ac_dashdash=
1636: for ac_option
1637: do
1638: # If the previous option needs an argument, assign it.
1639: if test -n "$ac_prev"; then
1640: eval $ac_prev=\$ac_option
1641: ac_prev=
1642: continue
1643: fi
1644:
1645: case $ac_option in
1646: *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1647: *=) ac_optarg= ;;
1648: *) ac_optarg=yes ;;
1649: esac
1650:
1651: # Accept the important Cygnus configure options, so we can diagnose typos.
1652:
1653: case $ac_dashdash$ac_option in
1654: --)
1655: ac_dashdash=yes ;;
1656:
1657: -bindir | --bindir | --bindi | --bind | --bin | --bi)
1658: ac_prev=bindir ;;
1659: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1660: bindir=$ac_optarg ;;
1661:
1662: -build | --build | --buil | --bui | --bu)
1663: ac_prev=build_alias ;;
1664: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1665: build_alias=$ac_optarg ;;
1666:
1667: -cache-file | --cache-file | --cache-fil | --cache-fi \
1668: | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1669: ac_prev=cache_file ;;
1670: -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1671: | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1672: cache_file=$ac_optarg ;;
1673:
1674: --config-cache | -C)
1675: cache_file=config.cache ;;
1676:
1677: -datadir | --datadir | --datadi | --datad)
1678: ac_prev=datadir ;;
1679: -datadir=* | --datadir=* | --datadi=* | --datad=*)
1680: datadir=$ac_optarg ;;
1681:
1682: -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1683: | --dataroo | --dataro | --datar)
1684: ac_prev=datarootdir ;;
1685: -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1686: | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1687: datarootdir=$ac_optarg ;;
1688:
1689: -disable-* | --disable-*)
1690: ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1691: # Reject names that are not valid shell variable names.
1692: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1693: as_fn_error $? "invalid feature name: $ac_useropt"
1694: ac_useropt_orig=$ac_useropt
1695: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1696: case $ac_user_opts in
1697: *"
1698: "enable_$ac_useropt"
1699: "*) ;;
1700: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1701: ac_unrecognized_sep=', ';;
1702: esac
1703: eval enable_$ac_useropt=no ;;
1704:
1705: -docdir | --docdir | --docdi | --doc | --do)
1706: ac_prev=docdir ;;
1707: -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1708: docdir=$ac_optarg ;;
1709:
1710: -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1711: ac_prev=dvidir ;;
1712: -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1713: dvidir=$ac_optarg ;;
1714:
1715: -enable-* | --enable-*)
1716: ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1717: # Reject names that are not valid shell variable names.
1718: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1719: as_fn_error $? "invalid feature name: $ac_useropt"
1720: ac_useropt_orig=$ac_useropt
1721: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1722: case $ac_user_opts in
1723: *"
1724: "enable_$ac_useropt"
1725: "*) ;;
1726: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1727: ac_unrecognized_sep=', ';;
1728: esac
1729: eval enable_$ac_useropt=\$ac_optarg ;;
1730:
1731: -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1732: | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1733: | --exec | --exe | --ex)
1734: ac_prev=exec_prefix ;;
1735: -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1736: | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1737: | --exec=* | --exe=* | --ex=*)
1738: exec_prefix=$ac_optarg ;;
1739:
1740: -gas | --gas | --ga | --g)
1741: # Obsolete; use --with-gas.
1742: with_gas=yes ;;
1743:
1744: -help | --help | --hel | --he | -h)
1745: ac_init_help=long ;;
1746: -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1747: ac_init_help=recursive ;;
1748: -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1749: ac_init_help=short ;;
1750:
1751: -host | --host | --hos | --ho)
1752: ac_prev=host_alias ;;
1753: -host=* | --host=* | --hos=* | --ho=*)
1754: host_alias=$ac_optarg ;;
1755:
1756: -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1757: ac_prev=htmldir ;;
1758: -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1759: | --ht=*)
1760: htmldir=$ac_optarg ;;
1761:
1762: -includedir | --includedir | --includedi | --included | --include \
1763: | --includ | --inclu | --incl | --inc)
1764: ac_prev=includedir ;;
1765: -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1766: | --includ=* | --inclu=* | --incl=* | --inc=*)
1767: includedir=$ac_optarg ;;
1768:
1769: -infodir | --infodir | --infodi | --infod | --info | --inf)
1770: ac_prev=infodir ;;
1771: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1772: infodir=$ac_optarg ;;
1773:
1774: -libdir | --libdir | --libdi | --libd)
1775: ac_prev=libdir ;;
1776: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1777: libdir=$ac_optarg ;;
1778:
1779: -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1780: | --libexe | --libex | --libe)
1781: ac_prev=libexecdir ;;
1782: -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1783: | --libexe=* | --libex=* | --libe=*)
1784: libexecdir=$ac_optarg ;;
1785:
1786: -localedir | --localedir | --localedi | --localed | --locale)
1787: ac_prev=localedir ;;
1788: -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1789: localedir=$ac_optarg ;;
1790:
1791: -localstatedir | --localstatedir | --localstatedi | --localstated \
1792: | --localstate | --localstat | --localsta | --localst | --locals)
1793: ac_prev=localstatedir ;;
1794: -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1795: | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1796: localstatedir=$ac_optarg ;;
1797:
1798: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1799: ac_prev=mandir ;;
1800: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1801: mandir=$ac_optarg ;;
1802:
1803: -nfp | --nfp | --nf)
1804: # Obsolete; use --without-fp.
1805: with_fp=no ;;
1806:
1807: -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1808: | --no-cr | --no-c | -n)
1809: no_create=yes ;;
1810:
1811: -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1812: | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1813: no_recursion=yes ;;
1814:
1815: -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1816: | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1817: | --oldin | --oldi | --old | --ol | --o)
1818: ac_prev=oldincludedir ;;
1819: -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1820: | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1821: | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1822: oldincludedir=$ac_optarg ;;
1823:
1824: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1825: ac_prev=prefix ;;
1826: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1827: prefix=$ac_optarg ;;
1828:
1829: -program-prefix | --program-prefix | --program-prefi | --program-pref \
1830: | --program-pre | --program-pr | --program-p)
1831: ac_prev=program_prefix ;;
1832: -program-prefix=* | --program-prefix=* | --program-prefi=* \
1833: | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1834: program_prefix=$ac_optarg ;;
1835:
1836: -program-suffix | --program-suffix | --program-suffi | --program-suff \
1837: | --program-suf | --program-su | --program-s)
1838: ac_prev=program_suffix ;;
1839: -program-suffix=* | --program-suffix=* | --program-suffi=* \
1840: | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1841: program_suffix=$ac_optarg ;;
1842:
1843: -program-transform-name | --program-transform-name \
1844: | --program-transform-nam | --program-transform-na \
1845: | --program-transform-n | --program-transform- \
1846: | --program-transform | --program-transfor \
1847: | --program-transfo | --program-transf \
1848: | --program-trans | --program-tran \
1849: | --progr-tra | --program-tr | --program-t)
1850: ac_prev=program_transform_name ;;
1851: -program-transform-name=* | --program-transform-name=* \
1852: | --program-transform-nam=* | --program-transform-na=* \
1853: | --program-transform-n=* | --program-transform-=* \
1854: | --program-transform=* | --program-transfor=* \
1855: | --program-transfo=* | --program-transf=* \
1856: | --program-trans=* | --program-tran=* \
1857: | --progr-tra=* | --program-tr=* | --program-t=*)
1858: program_transform_name=$ac_optarg ;;
1859:
1860: -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1861: ac_prev=pdfdir ;;
1862: -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1863: pdfdir=$ac_optarg ;;
1864:
1865: -psdir | --psdir | --psdi | --psd | --ps)
1866: ac_prev=psdir ;;
1867: -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1868: psdir=$ac_optarg ;;
1869:
1870: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1871: | -silent | --silent | --silen | --sile | --sil)
1872: silent=yes ;;
1873:
1874: -runstatedir | --runstatedir | --runstatedi | --runstated \
1875: | --runstate | --runstat | --runsta | --runst | --runs \
1876: | --run | --ru | --r)
1877: ac_prev=runstatedir ;;
1878: -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1879: | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1880: | --run=* | --ru=* | --r=*)
1881: runstatedir=$ac_optarg ;;
1882:
1883: -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1884: ac_prev=sbindir ;;
1885: -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1886: | --sbi=* | --sb=*)
1887: sbindir=$ac_optarg ;;
1888:
1889: -sharedstatedir | --sharedstatedir | --sharedstatedi \
1890: | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1891: | --sharedst | --shareds | --shared | --share | --shar \
1892: | --sha | --sh)
1893: ac_prev=sharedstatedir ;;
1894: -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1895: | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1896: | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1897: | --sha=* | --sh=*)
1898: sharedstatedir=$ac_optarg ;;
1899:
1900: -site | --site | --sit)
1901: ac_prev=site ;;
1902: -site=* | --site=* | --sit=*)
1903: site=$ac_optarg ;;
1904:
1905: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1906: ac_prev=srcdir ;;
1907: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1908: srcdir=$ac_optarg ;;
1909:
1910: -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1911: | --syscon | --sysco | --sysc | --sys | --sy)
1912: ac_prev=sysconfdir ;;
1913: -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1914: | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1915: sysconfdir=$ac_optarg ;;
1916:
1917: -target | --target | --targe | --targ | --tar | --ta | --t)
1918: ac_prev=target_alias ;;
1919: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1920: target_alias=$ac_optarg ;;
1921:
1922: -v | -verbose | --verbose | --verbos | --verbo | --verb)
1923: verbose=yes ;;
1924:
1925: -version | --version | --versio | --versi | --vers | -V)
1926: ac_init_version=: ;;
1927:
1928: -with-* | --with-*)
1929: ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1930: # Reject names that are not valid shell variable names.
1931: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1932: as_fn_error $? "invalid package name: $ac_useropt"
1933: ac_useropt_orig=$ac_useropt
1934: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1935: case $ac_user_opts in
1936: *"
1937: "with_$ac_useropt"
1938: "*) ;;
1939: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1940: ac_unrecognized_sep=', ';;
1941: esac
1942: eval with_$ac_useropt=\$ac_optarg ;;
1943:
1944: -without-* | --without-*)
1945: ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1946: # Reject names that are not valid shell variable names.
1947: expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1948: as_fn_error $? "invalid package name: $ac_useropt"
1949: ac_useropt_orig=$ac_useropt
1950: ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1951: case $ac_user_opts in
1952: *"
1953: "with_$ac_useropt"
1954: "*) ;;
1955: *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1956: ac_unrecognized_sep=', ';;
1957: esac
1958: eval with_$ac_useropt=no ;;
1959:
1960: --x)
1961: # Obsolete; use --with-x.
1962: with_x=yes ;;
1963:
1964: -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1965: | --x-incl | --x-inc | --x-in | --x-i)
1966: ac_prev=x_includes ;;
1967: -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1968: | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1969: x_includes=$ac_optarg ;;
1970:
1971: -x-libraries | --x-libraries | --x-librarie | --x-librari \
1972: | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1973: ac_prev=x_libraries ;;
1974: -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1975: | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1976: x_libraries=$ac_optarg ;;
1977:
1978: -*) as_fn_error $? "unrecognized option: \`$ac_option'
1979: Try \`$0 --help' for more information"
1980: ;;
1981:
1982: *=*)
1983: ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1984: # Reject names that are not valid shell variable names.
1985: case $ac_envvar in #(
1986: '' | [0-9]* | *[!_$as_cr_alnum]* )
1987: as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1988: esac
1989: eval $ac_envvar=\$ac_optarg
1990: export $ac_envvar ;;
1991:
1992: *)
1993: # FIXME: should be removed in autoconf 3.0.
1994: $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1995: expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1996: $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1997: : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1998: ;;
1999:
2000: esac
2001: done
2002:
2003: if test -n "$ac_prev"; then
2004: ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2005: as_fn_error $? "missing argument to $ac_option"
2006: fi
2007:
2008: if test -n "$ac_unrecognized_opts"; then
2009: case $enable_option_checking in
2010: no) ;;
2011: fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2012: *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2013: esac
2014: fi
2015:
2016: # Check all directory arguments for consistency.
2017: for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2018: datadir sysconfdir sharedstatedir localstatedir includedir \
2019: oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2020: libdir localedir mandir runstatedir
2021: do
2022: eval ac_val=\$$ac_var
2023: # Remove trailing slashes.
2024: case $ac_val in
2025: */ )
2026: ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2027: eval $ac_var=\$ac_val;;
2028: esac
2029: # Be sure to have absolute directory names.
2030: case $ac_val in
2031: [\\/$]* | ?:[\\/]* ) continue;;
2032: NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2033: esac
2034: as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2035: done
2036:
2037: # There might be people who depend on the old broken behavior: `$host'
2038: # used to hold the argument of --host etc.
2039: # FIXME: To remove some day.
2040: build=$build_alias
2041: host=$host_alias
2042: target=$target_alias
2043:
2044: # FIXME: To remove some day.
2045: if test "x$host_alias" != x; then
2046: if test "x$build_alias" = x; then
2047: cross_compiling=maybe
2048: elif test "x$build_alias" != "x$host_alias"; then
2049: cross_compiling=yes
2050: fi
2051: fi
2052:
2053: ac_tool_prefix=
2054: test -n "$host_alias" && ac_tool_prefix=$host_alias-
2055:
2056: test "$silent" = yes && exec 6>/dev/null
2057:
2058:
2059: ac_pwd=`pwd` && test -n "$ac_pwd" &&
2060: ac_ls_di=`ls -di .` &&
2061: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2062: as_fn_error $? "working directory cannot be determined"
2063: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2064: as_fn_error $? "pwd does not report name of working directory"
2065:
2066:
2067: # Find the source files, if location was not specified.
2068: if test -z "$srcdir"; then
2069: ac_srcdir_defaulted=yes
2070: # Try the directory containing this script, then the parent directory.
2071: ac_confdir=`$as_dirname -- "$as_myself" ||
2072: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2073: X"$as_myself" : 'X\(//\)[^/]' \| \
2074: X"$as_myself" : 'X\(//\)$' \| \
2075: X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2076: $as_echo X"$as_myself" |
2077: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2078: s//\1/
2079: q
2080: }
2081: /^X\(\/\/\)[^/].*/{
2082: s//\1/
2083: q
2084: }
2085: /^X\(\/\/\)$/{
2086: s//\1/
2087: q
2088: }
2089: /^X\(\/\).*/{
2090: s//\1/
2091: q
2092: }
2093: s/.*/./; q'`
2094: srcdir=$ac_confdir
2095: if test ! -r "$srcdir/$ac_unique_file"; then
2096: srcdir=..
2097: fi
2098: else
2099: ac_srcdir_defaulted=no
2100: fi
2101: if test ! -r "$srcdir/$ac_unique_file"; then
2102: test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2103: as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2104: fi
2105: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2106: ac_abs_confdir=`(
2107: cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2108: pwd)`
2109: # When building in place, set srcdir=.
2110: if test "$ac_abs_confdir" = "$ac_pwd"; then
2111: srcdir=.
2112: fi
2113: # Remove unnecessary trailing slashes from srcdir.
2114: # Double slashes in file names in object file debugging info
2115: # mess up M-x gdb in Emacs.
2116: case $srcdir in
2117: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2118: esac
2119: for ac_var in $ac_precious_vars; do
2120: eval ac_env_${ac_var}_set=\${${ac_var}+set}
2121: eval ac_env_${ac_var}_value=\$${ac_var}
2122: eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2123: eval ac_cv_env_${ac_var}_value=\$${ac_var}
2124: done
2125:
2126: #
2127: # Report the --help message.
2128: #
2129: if test "$ac_init_help" = "long"; then
2130: # Omit some internal or obsolete options to make the list less imposing.
2131: # This message is too long to be a string in the A/UX 3.1 sh.
2132: cat <<_ACEOF
1.1.1.2 ! misho 2133: \`configure' configures strongSwan 5.9.2 to adapt to many kinds of systems.
1.1 misho 2134:
2135: Usage: $0 [OPTION]... [VAR=VALUE]...
2136:
2137: To assign environment variables (e.g., CC, CFLAGS...), specify them as
2138: VAR=VALUE. See below for descriptions of some of the useful variables.
2139:
2140: Defaults for the options are specified in brackets.
2141:
2142: Configuration:
2143: -h, --help display this help and exit
2144: --help=short display options specific to this package
2145: --help=recursive display the short help of all the included packages
2146: -V, --version display version information and exit
2147: -q, --quiet, --silent do not print \`checking ...' messages
2148: --cache-file=FILE cache test results in FILE [disabled]
2149: -C, --config-cache alias for \`--cache-file=config.cache'
2150: -n, --no-create do not create output files
2151: --srcdir=DIR find the sources in DIR [configure dir or \`..']
2152:
2153: Installation directories:
2154: --prefix=PREFIX install architecture-independent files in PREFIX
2155: [$ac_default_prefix]
2156: --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2157: [PREFIX]
2158:
2159: By default, \`make install' will install all the files in
2160: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2161: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2162: for instance \`--prefix=\$HOME'.
2163:
2164: For better control, use the options below.
2165:
2166: Fine tuning of the installation directories:
2167: --bindir=DIR user executables [EPREFIX/bin]
2168: --sbindir=DIR system admin executables [EPREFIX/sbin]
2169: --libexecdir=DIR program executables [EPREFIX/libexec]
2170: --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2171: --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2172: --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2173: --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2174: --libdir=DIR object code libraries [EPREFIX/lib]
2175: --includedir=DIR C header files [PREFIX/include]
2176: --oldincludedir=DIR C header files for non-gcc [/usr/include]
2177: --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2178: --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2179: --infodir=DIR info documentation [DATAROOTDIR/info]
2180: --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2181: --mandir=DIR man documentation [DATAROOTDIR/man]
2182: --docdir=DIR documentation root [DATAROOTDIR/doc/strongswan]
2183: --htmldir=DIR html documentation [DOCDIR]
2184: --dvidir=DIR dvi documentation [DOCDIR]
2185: --pdfdir=DIR pdf documentation [DOCDIR]
2186: --psdir=DIR ps documentation [DOCDIR]
2187: _ACEOF
2188:
2189: cat <<\_ACEOF
2190:
2191: Program names:
2192: --program-prefix=PREFIX prepend PREFIX to installed program names
2193: --program-suffix=SUFFIX append SUFFIX to installed program names
2194: --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2195:
2196: System types:
2197: --build=BUILD configure for building on BUILD [guessed]
2198: --host=HOST cross-compile to build programs to run on HOST [BUILD]
2199: _ACEOF
2200: fi
2201:
2202: if test -n "$ac_init_help"; then
2203: case $ac_init_help in
1.1.1.2 ! misho 2204: short | recursive ) echo "Configuration of strongSwan 5.9.2:";;
1.1 misho 2205: esac
2206: cat <<\_ACEOF
2207:
2208: Optional Features:
2209: --disable-option-checking ignore unrecognized --enable/--with options
2210: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2211: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2212: --enable-silent-rules less verbose build output (undo: "make V=1")
2213: --disable-silent-rules verbose build output (undo: "make V=0")
2214: --enable-static[=PKGS] build static libraries [default=no]
2215: --disable-aes disable AES software implementation plugin.
2216: --enable-af-alg enable AF_ALG crypto interface to Linux Crypto API.
2217: --enable-bliss enable BLISS software implementation plugin.
2218: --enable-blowfish enable Blowfish software implementation plugin.
2219: --enable-botan enables the Botan crypto plugin.
2220: --enable-ccm enables the CCM AEAD wrapper crypto plugin.
2221: --enable-chapoly enables the ChaCha20/Poly1305 AEAD plugin.
2222: --disable-cmac disable CMAC crypto implementation plugin.
2223: --enable-ctr enables the Counter Mode wrapper crypto plugin.
2224: --disable-des disable DES/3DES software implementation plugin.
2225: --disable-drbg disable the NIST Deterministic Random Bit Generator
2226: plugin.
2227: --disable-fips-prf disable FIPS PRF software implementation plugin.
2228: --enable-gcm enables the GCM AEAD wrapper crypto plugin.
2229: --enable-gcrypt enables the libgcrypt plugin.
2230: --disable-gmp disable GNU MP (libgmp) based crypto implementation
2231: plugin.
2232: --disable-curve25519 disable Curve25519 Diffie-Hellman plugin.
2233: --disable-hmac disable HMAC crypto implementation plugin.
2234: --enable-md4 enable MD4 software implementation plugin.
2235: --disable-md5 disable MD5 software implementation plugin.
2236: --enable-mgf1 enable the MGF1 software implementation plugin.
2237: --enable-newhope enable New Hope crypto plugin.
2238: --disable-nonce disable nonce generation plugin.
2239: --enable-ntru enables the NTRU crypto plugin.
2240: --enable-openssl enables the OpenSSL crypto plugin.
2241: --enable-wolfssl enables the wolfSSL crypto plugin.
2242: --enable-padlock enables VIA Padlock crypto plugin.
2243: --disable-random disable RNG implementation on top of /dev/(u)random.
2244: --disable-rc2 disable RC2 software implementation plugin.
2245: --enable-rdrand enable Intel RDRAND random generator plugin.
2246: --enable-aesni enable Intel AES-NI crypto plugin.
2247: --disable-sha1 disable SHA1 software implementation plugin.
2248: --disable-sha2 disable SHA256/SHA384/SHA512 software implementation
2249: plugin.
2250: --enable-sha3 enable SHA3_224/SHA3_256/SHA3_384/SHA3_512 software
2251: implementation plugin.
2252: --disable-xcbc disable xcbc crypto implementation plugin.
2253: --disable-dnskey disable DNS RR key decoding plugin.
2254: --disable-pem disable PEM decoding plugin.
2255: --disable-pgp disable PGP key decoding plugin.
2256: --disable-pkcs1 disable PKCS1 key decoding plugin.
2257: --disable-pkcs7 disable PKCS7 container support plugin.
2258: --disable-pkcs8 disable PKCS8 private key decoding plugin.
2259: --disable-pkcs12 disable PKCS12 container support plugin.
2260: --disable-pubkey disable RAW public key support plugin.
2261: --disable-sshkey disable SSH key decoding plugin.
2262: --disable-x509 disable X509 certificate implementation plugin.
2263: --enable-curl enable CURL fetcher plugin to fetch files via
2264: libcurl. Requires libcurl.
2265: --enable-files enable simple file:// URI fetcher.
2266: --enable-ldap enable LDAP fetching plugin to fetch files via
2267: libldap. Requires openLDAP.
2268: --enable-soup enable soup fetcher plugin to fetch from HTTP via
2269: libsoup. Requires libsoup.
2270: --enable-unbound enable UNBOUND resolver plugin to perform DNS
2271: queries via libunbound. Requires libldns and
2272: libunbound.
2273: --enable-winhttp enable WinHTTP based HTTP/HTTPS fetching plugin.
2274: --enable-mysql enable MySQL database support. Requires
2275: libmysqlclient_r.
2276: --enable-sqlite enable SQLite database support. Requires libsqlite3.
2277: --enable-addrblock enables RFC 3779 address block constraint support.
2278: --enable-acert enable X509 attribute certificate checking plugin.
2279: --enable-agent enables the ssh-agent signing plugin.
2280: --disable-constraints disable advanced X509 constraint checking plugin.
2281: --enable-coupling enable IKEv2 plugin to couple peer certificates
2282: permanently to authentication.
2283: --enable-dnscert enable DNSCERT authentication plugin.
2284: --enable-eap-sim enable SIM authentication module for EAP.
2285: --enable-eap-sim-file enable EAP-SIM backend based on a triplet file.
2286: --enable-eap-sim-pcsc enable EAP-SIM backend based on a smartcard reader.
2287: Requires libpcsclite.
2288: --enable-eap-aka enable EAP AKA authentication module.
2289: --enable-eap-aka-3gpp enable EAP AKA backend implementing 3GPP MILENAGE
2290: algorithms in software.
2291: --enable-eap-aka-3gpp2 enable EAP AKA backend implementing 3GPP2 algorithms
2292: in software. Requires libgmp.
2293: --enable-eap-simaka-sql enable EAP-SIM/AKA backend based on a
2294: triplet/quintuplet SQL database.
2295: --enable-eap-simaka-pseudonym
2296: enable EAP-SIM/AKA pseudonym storage plugin.
2297: --enable-eap-simaka-reauth
2298: enable EAP-SIM/AKA reauthentication data storage
2299: plugin.
2300: --enable-eap-identity enable EAP module providing EAP-Identity helper.
2301: --enable-eap-md5 enable EAP MD5 (CHAP) authentication module.
2302: --enable-eap-gtc enable EAP GTC authentication module.
2303: --enable-eap-mschapv2 enable EAP MS-CHAPv2 authentication module.
2304: --enable-eap-tls enable EAP TLS authentication module.
2305: --enable-eap-ttls enable EAP TTLS authentication module.
2306: --enable-eap-peap enable EAP PEAP authentication module.
2307: --enable-eap-tnc enable EAP TNC trusted network connect module.
2308: --enable-eap-dynamic enable dynamic EAP proxy module.
2309: --enable-eap-radius enable RADIUS proxy authentication module.
2310: --enable-ext-auth enable plugin calling an external authorization
2311: script.
2312: --enable-ipseckey enable IPSECKEY authentication plugin.
2313: --enable-keychain enables OS X Keychain Services credential set.
2314: --enable-pkcs11 enables the PKCS11 token support plugin.
2315: --enable-tpm enables the TPM plugin.
2316: --disable-revocation disable X509 CRL/OCSP revocation check plugin.
2317: --enable-whitelist enable peer identity whitelisting plugin.
2318: --disable-xauth-generic disable generic XAuth backend.
2319: --enable-xauth-eap enable XAuth backend using EAP methods to verify
2320: passwords.
2321: --enable-xauth-pam enable XAuth backend using PAM to verify passwords.
2322: --enable-xauth-noauth enable XAuth pseudo-backend that does not actually
2323: verify or even request any credentials.
2324: --disable-kernel-netlink
2325: disable the netlink kernel interface.
2326: --enable-kernel-pfkey enable the PF_KEY kernel interface.
2327: --enable-kernel-pfroute enable the PF_ROUTE kernel interface.
2328: --enable-kernel-iph enable the Windows IP Helper based networking
2329: backend.
2330: --enable-kernel-libipsec
2331: enable the libipsec kernel interface.
2332: --enable-kernel-wfp enable the Windows Filtering Platform IPsec backend.
2333: --disable-socket-default
2334: disable default socket implementation for charon.
2335: --enable-socket-dynamic enable dynamic socket implementation for charon
2336: --enable-socket-win enable Winsock2 based socket implementation for
2337: charon
2338: --disable-stroke disable charons stroke configuration backend.
2339: --enable-smp enable SMP configuration and control interface.
2340: Requires libxml.
2341: --enable-sql enable SQL database configuration backend.
2342: --enable-uci enable OpenWRT UCI configuration plugin.
2343: --disable-vici disable strongSwan IKE generic IPC interface plugin.
2344: --enable-android-dns enable Android specific DNS handler.
2345: --disable-attr disable strongswan.conf based configuration
2346: attribute plugin.
2347: --enable-attr-sql enable SQL based configuration attribute plugin.
2348: --enable-dhcp enable DHCP based attribute provider plugin.
2349: --enable-osx-attr enable OS X SystemConfiguration attribute handler.
2350: --enable-p-cscf enable plugin to request P-CSCF server addresses
2351: from an ePDG.
2352: --disable-resolve disable resolve DNS handler plugin.
2353: --enable-unity enables Cisco Unity extension plugin.
2354: --enable-imc-test enable IMC test module.
2355: --enable-imv-test enable IMV test module.
2356: --enable-imc-scanner enable IMC port scanner module.
2357: --enable-imv-scanner enable IMV port scanner module.
2358: --enable-imc-os enable IMC operating system module.
2359: --enable-imv-os enable IMV operating system module.
2360: --enable-imc-attestation
2361: enable IMC attestation module.
2362: --enable-imv-attestation
2363: enable IMV attestation module.
2364: --enable-imc-swima enable IMC swima module.
2365: --enable-imv-swima enable IMV swima module.
2366: --enable-imc-hcd enable IMC hcd module.
2367: --enable-imv-hcd enable IMV hcd module.
2368: --enable-tnc-ifmap enable TNC IF-MAP module. Requires libxml
2369: --enable-tnc-imc enable TNC IMC module.
2370: --enable-tnc-imv enable TNC IMV module.
2371: --enable-tnc-pdp enable TNC policy decision point module.
2372: --enable-tnccs-11 enable TNCCS 1.1 protocol module. Requires libxml
2373: --enable-tnccs-20 enable TNCCS 2.0 protocol module.
2374: --enable-tnccs-dynamic enable dynamic TNCCS protocol discovery module.
2375: --enable-android-log enable Android specific logger plugin.
2376: --enable-bypass-lan enable plugin to install bypass policies for local
2377: subnets.
2378: --enable-certexpire enable CSV export of expiration dates of used
2379: certificates.
2380: --enable-connmark enable connmark plugin using conntrack based marks
2381: to select return path SA.
2382: --enable-counters enable plugin that collects several performance
2383: counters.
2384: --enable-forecast enable forecast plugin forwarding
2385: broadcast/multicast messages.
2386: --enable-duplicheck advanced duplicate checking plugin using liveness
2387: checks.
2388: --enable-error-notify enable error notification plugin.
2389: --enable-farp enable ARP faking plugin that responds to ARP
2390: requests to peers virtual IP
2391: --enable-ha enable high availability cluster plugin.
2392: --enable-led enable plugin to control LEDs on IKEv2 activity
2393: using the Linux kernel LED subsystem.
2394: --enable-load-tester enable load testing plugin for IKEv2 daemon.
2395: --enable-lookip enable fast virtual IP lookup and notification
2396: plugin.
2397: --enable-radattr enable plugin to inject and process custom RADIUS
2398: attributes as IKEv2 client.
2399: --enable-save-keys enable development/debugging plugin that saves IKE
2400: and ESP keys in Wireshark format.
2401: --enable-systime-fix enable plugin to handle cert lifetimes with invalid
2402: system time gracefully.
2403: --enable-test-vectors enable plugin providing crypto test vectors.
2404: --disable-updown disable updown firewall script plugin.
2405: --enable-aikgen enable AIK generator for TPM 1.2.
2406: --disable-charon disable the IKEv1/IKEv2 keying daemon charon.
2407: --enable-cmd enable the command line IKE client charon-cmd.
2408: --enable-conftest enforce Suite B conformance test framework.
2409: --enable-fast enable libfast (FastCGI Application Server w/
2410: templates.
2411: --enable-fuzzing enable fuzzing scripts (found in directory fuzz).
2412: --enable-libipsec enable user space IPsec implementation.
2413: --enable-manager enable web management console (proof of concept).
2414: --enable-medcli enable mediation client configuration database
2415: plugin.
2416: --enable-medsrv enable mediation server web frontend and daemon
2417: plugin.
2418: --enable-nm enable NetworkManager backend.
2419: --disable-pki disable pki certificate utility.
2420: --disable-scepclient disable SCEP client tool.
2421: --disable-scripts disable additional utilities (found in directory
2422: scripts).
2423: --enable-svc enable charon Windows service.
2424: --enable-systemd enable systemd specific IKE daemon charon-systemd.
2425: --disable-swanctl disable swanctl configuration and control tool.
2426: --enable-tkm enable Trusted Key Manager support.
2427: --enable-bfd-backtraces use binutils libbfd to resolve backtraces for memory
2428: leaks and segfaults.
2429: --enable-dbghelp-backtraces
2430: use dbghlp.dll on Windows to create and print
2431: backtraces for memory leaks and segfaults.
2432: --disable-ikev1 disable IKEv1 protocol support in charon.
2433: --disable-ikev2 disable IKEv2 protocol support in charon.
2434: --enable-integrity-test enable integrity testing of libstrongswan and
2435: plugins.
2436: --disable-load-warning disable the charon plugin load option warning in
2437: starter.
2438: --enable-mediation enable IKEv2 Mediation Extension.
2439: --enable-unwind-backtraces
2440: use libunwind to create backtraces for memory leaks
2441: and segfaults.
2442: --enable-ruby-gems enable build of provided ruby gems.
2443: --enable-ruby-gems-install
2444: enable installation of provided ruby gems.
2445: --enable-python-eggs enable build of provided python eggs.
2446: --enable-python-eggs-install
2447: enable installation of provided python eggs.
2448: --enable-perl-cpan enable build of provided perl CPAN module.
2449: --enable-perl-cpan-install
2450: enable installation of provided CPAN module.
2451: --enable-tss-trousers enable the use of the TrouSerS Trusted Software
2452: Stack
2453: --enable-tss-tss2 enable the use of the TSS 2.0 Trusted Software Stack
2454: --enable-coverage enable lcov coverage report generation.
1.1.1.2 ! misho 2455: --enable-git-version use output of 'git describe' as version information
! 2456: in executables.
1.1 misho 2457: --enable-leak-detective enable malloc hooks to find memory leaks.
2458: --enable-lock-profiler enable lock/mutex profiling code.
2459: --enable-log-thread-ids use thread ID, if available, instead of an
2460: incremented value starting from 1, to identify
2461: threads.
2462: --enable-monolithic build monolithic version of libstrongswan that
2463: includes all enabled plugins. Similarly, the plugins
2464: of charon are assembled in libcharon.
2465: --disable-defaults disable all default plugins (they can be enabled
2466: with their respective --enable options)
2467: --enable-all enable all plugins and features (they can be
2468: disabled with their respective --disable options).
2469: Mainly for testing.
2470: --enable-dependency-tracking
2471: do not reject slow dependency extractors
2472: --disable-dependency-tracking
2473: speeds up one-time build
2474: --enable-shared[=PKGS] build shared libraries [default=yes]
2475: --enable-fast-install[=PKGS]
2476: optimize for fast installation [default=yes]
2477: --disable-libtool-lock avoid locking (might break parallel builds)
2478:
2479: Optional Packages:
2480: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2481: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2482: --with-random-device=arg
2483: set the device to read real random data from
2484: (default: /dev/random).
2485: --with-urandom-device=arg
2486: set the device to read pseudo random data from
2487: (default: /dev/urandom).
2488: --with-strongswan-conf=arg
2489: set the strongswan.conf file location (default:
2490: ${sysconfdir}/strongswan.conf).
2491: --with-resolv-conf=arg set the file to use in DNS handler plugin (default:
2492: ${sysconfdir}/resolv.conf).
2493: --with-piddir=arg set path for PID and UNIX socket files (default:
2494: /var/run).
2495: --with-ipsecdir=arg set installation path for ipsec tools (default:
2496: ${libexecdir%/}/ipsec).
2497: --with-ipseclibdir=arg set installation path for ipsec libraries (default:
2498: ${libdir%/}/ipsec).
2499: --with-plugindir=arg set the installation path of plugins (default:
2500: ${ipseclibdir%/}/plugins).
2501: --with-imcvdir=arg set the installation path of IMC and IMV dynamic
2502: libraries (default: ${ipseclibdir%/}/imcvs).
2503: --with-nm-ca-dir=arg directory the NM backend uses to look up trusted
2504: root certificates (default:
2505: /usr/share/ca-certificates).
2506: --with-swanctldir=arg base directory for swanctl configuration files and
2507: credentials (default: ${sysconfdir}/swanctl).
2508: --with-linux-headers=arg
2509: set directory of linux header files to use (default:
2510: \${top_srcdir}/src/include).
2511: --with-routing-table=arg
2512: set routing table to use for IPsec routes (default:
2513: 220).
2514: --with-routing-table-prio=arg
2515: set priority for IPsec routing table (default: 220).
2516: --with-ipsec-script=arg change the name of the ipsec script (default:
2517: ipsec).
2518: --with-fips-mode=arg set openssl FIPS mode: disabled(0), enabled(1),
2519: Suite B enabled(2) (default: 0).
2520: --with-libfuzzer=arg -fsanitize=fuzzer or path to libFuzzer.a, a local
2521: driver is used if not specified (default: ).
2522: --with-capabilities=arg set capability dropping library. Currently supported
2523: values are "libcap" and "native" (default: no).
2524: --with-mpz_powm_sec=arg use the more side-channel resistant mpz_powm_sec in
2525: libgmp, if available (default: yes).
2526: --with-dev-headers=arg install strongSwan development headers to directory.
2527: (default: no).
2528: --with-printf-hooks=arg force the use of a specific printf hook
2529: implementation (auto, builtin, glibc, vstr).
2530: (default: auto).
2531: --with-rubygemdir=arg path to install ruby gems to (default: "gem
2532: environment gemdir").
2533: --with-pythoneggdir=arg path to install python eggs to to (default: "main
2534: site-packages directory").
2535: --with-systemdsystemunitdir=arg
2536: directory for systemd service files (default:
2537: $systemdsystemunitdir_default).
2538: --with-dbuspolicydir=arg
2539: directory for D-Bus policies (default:
2540: ${dbusdatadir|datarootdir}/dbus-1/system.d)
2541: --with-user=user change user of the daemons to "user" after startup
2542: (default is "root").
2543: --with-group=group change group of the daemons to "group" after startup
2544: (default is "root").
2545: --with-charon-udp-port=port
2546: UDP port used by charon locally (default 500). Set
2547: to 0 to allocate randomly.
2548: --with-charon-natt-port=port
2549: UDP port used by charon locally in case a NAT is
2550: detected (must be different from charon-udp-port,
2551: default 4500). Set to 0 to allocate randomly.
2552: --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2553: --without-lib-prefix don't search for libraries in includedir and libdir
2554: --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2555: both]
2556: --with-aix-soname=aix|svr4|both
2557: shared library versioning (aka "SONAME") variant to
2558: provide on AIX, [default=aix].
2559: --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2560: --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
2561: compiler's sysroot if not specified).
2562:
2563: Some influential environment variables:
2564: PKG_CONFIG path to pkg-config utility
2565: PKG_CONFIG_PATH
2566: directories to add to pkg-config's search path
2567: PKG_CONFIG_LIBDIR
2568: path overriding pkg-config's built-in search path
2569: dbusdatadir value of datadir for dbus-1, overriding pkg-config
2570: CC C compiler command
2571: CFLAGS C compiler flags
2572: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2573: nonstandard directory <lib dir>
2574: LIBS libraries to pass to the linker, e.g. -l<library>
2575: CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2576: you have headers in a nonstandard directory <include dir>
2577: CPP C preprocessor
2578: LT_SYS_LIBRARY_PATH
2579: User-defined run-time library search path.
2580: YACC The `Yet Another Compiler Compiler' implementation to use.
2581: Defaults to the first program found out of: `bison -y', `byacc',
2582: `yacc'.
2583: YFLAGS The list of arguments that will be passed by default to $YACC.
2584: This script will default YFLAGS to the empty string to avoid a
2585: default value of `-d' given by some make applications.
2586: PYTHON the Python interpreter
2587: PERL the Perl interpreter
2588: GPERF the GNU gperf program
2589: soup_CFLAGS C compiler flags for soup, overriding pkg-config
2590: soup_LIBS linker flags for soup, overriding pkg-config
2591: xml_CFLAGS C compiler flags for xml, overriding pkg-config
2592: xml_LIBS linker flags for xml, overriding pkg-config
2593: systemd_CFLAGS
2594: C compiler flags for systemd, overriding pkg-config
2595: systemd_LIBS
2596: linker flags for systemd, overriding pkg-config
2597: systemd_daemon_CFLAGS
2598: C compiler flags for systemd_daemon, overriding pkg-config
2599: systemd_daemon_LIBS
2600: linker flags for systemd_daemon, overriding pkg-config
2601: systemd_journal_CFLAGS
2602: C compiler flags for systemd_journal, overriding pkg-config
2603: systemd_journal_LIBS
2604: linker flags for systemd_journal, overriding pkg-config
2605: tss2_sys_CFLAGS
2606: C compiler flags for tss2_sys, overriding pkg-config
2607: tss2_sys_LIBS
2608: linker flags for tss2_sys, overriding pkg-config
2609: tss2_esys_CFLAGS
2610: C compiler flags for tss2_esys, overriding pkg-config
2611: tss2_esys_LIBS
2612: linker flags for tss2_esys, overriding pkg-config
2613: tss2_tabrmd_CFLAGS
2614: C compiler flags for tss2_tabrmd, overriding pkg-config
2615: tss2_tabrmd_LIBS
2616: linker flags for tss2_tabrmd, overriding pkg-config
2617: tss2_socket_CFLAGS
2618: C compiler flags for tss2_socket, overriding pkg-config
2619: tss2_socket_LIBS
2620: linker flags for tss2_socket, overriding pkg-config
2621: json_CFLAGS C compiler flags for json, overriding pkg-config
2622: json_LIBS linker flags for json, overriding pkg-config
2623: wolfssl_CFLAGS
2624: C compiler flags for wolfssl, overriding pkg-config
2625: wolfssl_LIBS
2626: linker flags for wolfssl, overriding pkg-config
2627: botan_CFLAGS
2628: C compiler flags for botan, overriding pkg-config
2629: botan_LIBS linker flags for botan, overriding pkg-config
2630: pcsclite_CFLAGS
2631: C compiler flags for pcsclite, overriding pkg-config
2632: pcsclite_LIBS
2633: linker flags for pcsclite, overriding pkg-config
2634: nm_CFLAGS C compiler flags for nm, overriding pkg-config
2635: nm_LIBS linker flags for nm, overriding pkg-config
2636: libiptc_CFLAGS
2637: C compiler flags for libiptc, overriding pkg-config
2638: libiptc_LIBS
2639: linker flags for libiptc, overriding pkg-config
2640:
2641: Use these variables to override the choices made by `configure' or to help
2642: it to find libraries and programs with nonstandard names/locations.
2643:
2644: Report bugs to the package provider.
2645: _ACEOF
2646: ac_status=$?
2647: fi
2648:
2649: if test "$ac_init_help" = "recursive"; then
2650: # If there are subdirs, report their specific --help.
2651: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2652: test -d "$ac_dir" ||
2653: { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2654: continue
2655: ac_builddir=.
2656:
2657: case "$ac_dir" in
2658: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2659: *)
2660: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2661: # A ".." for each directory in $ac_dir_suffix.
2662: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2663: case $ac_top_builddir_sub in
2664: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2665: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2666: esac ;;
2667: esac
2668: ac_abs_top_builddir=$ac_pwd
2669: ac_abs_builddir=$ac_pwd$ac_dir_suffix
2670: # for backward compatibility:
2671: ac_top_builddir=$ac_top_build_prefix
2672:
2673: case $srcdir in
2674: .) # We are building in place.
2675: ac_srcdir=.
2676: ac_top_srcdir=$ac_top_builddir_sub
2677: ac_abs_top_srcdir=$ac_pwd ;;
2678: [\\/]* | ?:[\\/]* ) # Absolute name.
2679: ac_srcdir=$srcdir$ac_dir_suffix;
2680: ac_top_srcdir=$srcdir
2681: ac_abs_top_srcdir=$srcdir ;;
2682: *) # Relative name.
2683: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2684: ac_top_srcdir=$ac_top_build_prefix$srcdir
2685: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2686: esac
2687: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2688:
2689: cd "$ac_dir" || { ac_status=$?; continue; }
2690: # Check for guested configure.
2691: if test -f "$ac_srcdir/configure.gnu"; then
2692: echo &&
2693: $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2694: elif test -f "$ac_srcdir/configure"; then
2695: echo &&
2696: $SHELL "$ac_srcdir/configure" --help=recursive
2697: else
2698: $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2699: fi || ac_status=$?
2700: cd "$ac_pwd" || { ac_status=$?; break; }
2701: done
2702: fi
2703:
2704: test -n "$ac_init_help" && exit $ac_status
2705: if $ac_init_version; then
2706: cat <<\_ACEOF
1.1.1.2 ! misho 2707: strongSwan configure 5.9.2
1.1 misho 2708: generated by GNU Autoconf 2.69
2709:
2710: Copyright (C) 2012 Free Software Foundation, Inc.
2711: This configure script is free software; the Free Software Foundation
2712: gives unlimited permission to copy, distribute and modify it.
2713: _ACEOF
2714: exit
2715: fi
2716:
2717: ## ------------------------ ##
2718: ## Autoconf initialization. ##
2719: ## ------------------------ ##
2720:
2721: # ac_fn_c_try_compile LINENO
2722: # --------------------------
2723: # Try to compile conftest.$ac_ext, and return whether this succeeded.
2724: ac_fn_c_try_compile ()
2725: {
2726: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2727: rm -f conftest.$ac_objext
2728: if { { ac_try="$ac_compile"
2729: case "(($ac_try" in
2730: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731: *) ac_try_echo=$ac_try;;
2732: esac
2733: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734: $as_echo "$ac_try_echo"; } >&5
2735: (eval "$ac_compile") 2>conftest.err
2736: ac_status=$?
2737: if test -s conftest.err; then
2738: grep -v '^ *+' conftest.err >conftest.er1
2739: cat conftest.er1 >&5
2740: mv -f conftest.er1 conftest.err
2741: fi
2742: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2743: test $ac_status = 0; } && {
2744: test -z "$ac_c_werror_flag" ||
2745: test ! -s conftest.err
2746: } && test -s conftest.$ac_objext; then :
2747: ac_retval=0
2748: else
2749: $as_echo "$as_me: failed program was:" >&5
2750: sed 's/^/| /' conftest.$ac_ext >&5
2751:
2752: ac_retval=1
2753: fi
2754: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2755: as_fn_set_status $ac_retval
2756:
2757: } # ac_fn_c_try_compile
2758:
2759: # ac_fn_c_try_cpp LINENO
2760: # ----------------------
2761: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2762: ac_fn_c_try_cpp ()
2763: {
2764: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2765: if { { ac_try="$ac_cpp conftest.$ac_ext"
2766: case "(($ac_try" in
2767: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768: *) ac_try_echo=$ac_try;;
2769: esac
2770: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771: $as_echo "$ac_try_echo"; } >&5
2772: (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2773: ac_status=$?
2774: if test -s conftest.err; then
2775: grep -v '^ *+' conftest.err >conftest.er1
2776: cat conftest.er1 >&5
2777: mv -f conftest.er1 conftest.err
2778: fi
2779: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2780: test $ac_status = 0; } > conftest.i && {
2781: test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2782: test ! -s conftest.err
2783: }; then :
2784: ac_retval=0
2785: else
2786: $as_echo "$as_me: failed program was:" >&5
2787: sed 's/^/| /' conftest.$ac_ext >&5
2788:
2789: ac_retval=1
2790: fi
2791: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2792: as_fn_set_status $ac_retval
2793:
2794: } # ac_fn_c_try_cpp
2795:
2796: # ac_fn_c_try_run LINENO
2797: # ----------------------
2798: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2799: # that executables *can* be run.
2800: ac_fn_c_try_run ()
2801: {
2802: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803: if { { ac_try="$ac_link"
2804: case "(($ac_try" in
2805: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806: *) ac_try_echo=$ac_try;;
2807: esac
2808: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809: $as_echo "$ac_try_echo"; } >&5
2810: (eval "$ac_link") 2>&5
2811: ac_status=$?
2812: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813: test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2814: { { case "(($ac_try" in
2815: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816: *) ac_try_echo=$ac_try;;
2817: esac
2818: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819: $as_echo "$ac_try_echo"; } >&5
2820: (eval "$ac_try") 2>&5
2821: ac_status=$?
2822: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2823: test $ac_status = 0; }; }; then :
2824: ac_retval=0
2825: else
2826: $as_echo "$as_me: program exited with status $ac_status" >&5
2827: $as_echo "$as_me: failed program was:" >&5
2828: sed 's/^/| /' conftest.$ac_ext >&5
2829:
2830: ac_retval=$ac_status
2831: fi
2832: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2833: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2834: as_fn_set_status $ac_retval
2835:
2836: } # ac_fn_c_try_run
2837:
2838: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2839: # -------------------------------------------------------
2840: # Tests whether HEADER exists and can be compiled using the include files in
2841: # INCLUDES, setting the cache variable VAR accordingly.
2842: ac_fn_c_check_header_compile ()
2843: {
2844: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2846: $as_echo_n "checking for $2... " >&6; }
2847: if eval \${$3+:} false; then :
2848: $as_echo_n "(cached) " >&6
2849: else
2850: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851: /* end confdefs.h. */
2852: $4
2853: #include <$2>
2854: _ACEOF
2855: if ac_fn_c_try_compile "$LINENO"; then :
2856: eval "$3=yes"
2857: else
2858: eval "$3=no"
2859: fi
2860: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861: fi
2862: eval ac_res=\$$3
2863: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2864: $as_echo "$ac_res" >&6; }
2865: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866:
2867: } # ac_fn_c_check_header_compile
2868:
2869: # ac_fn_c_try_link LINENO
2870: # -----------------------
2871: # Try to link conftest.$ac_ext, and return whether this succeeded.
2872: ac_fn_c_try_link ()
2873: {
2874: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2875: rm -f conftest.$ac_objext conftest$ac_exeext
2876: if { { ac_try="$ac_link"
2877: case "(($ac_try" in
2878: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879: *) ac_try_echo=$ac_try;;
2880: esac
2881: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2882: $as_echo "$ac_try_echo"; } >&5
2883: (eval "$ac_link") 2>conftest.err
2884: ac_status=$?
2885: if test -s conftest.err; then
2886: grep -v '^ *+' conftest.err >conftest.er1
2887: cat conftest.er1 >&5
2888: mv -f conftest.er1 conftest.err
2889: fi
2890: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2891: test $ac_status = 0; } && {
2892: test -z "$ac_c_werror_flag" ||
2893: test ! -s conftest.err
2894: } && test -s conftest$ac_exeext && {
2895: test "$cross_compiling" = yes ||
2896: test -x conftest$ac_exeext
2897: }; then :
2898: ac_retval=0
2899: else
2900: $as_echo "$as_me: failed program was:" >&5
2901: sed 's/^/| /' conftest.$ac_ext >&5
2902:
2903: ac_retval=1
2904: fi
2905: # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2906: # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2907: # interfere with the next link command; also delete a directory that is
2908: # left behind by Apple's compiler. We do this before executing the actions.
2909: rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2910: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911: as_fn_set_status $ac_retval
2912:
2913: } # ac_fn_c_try_link
2914:
2915: # ac_fn_c_check_func LINENO FUNC VAR
2916: # ----------------------------------
2917: # Tests whether FUNC exists, setting the cache variable VAR accordingly
2918: ac_fn_c_check_func ()
2919: {
2920: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2922: $as_echo_n "checking for $2... " >&6; }
2923: if eval \${$3+:} false; then :
2924: $as_echo_n "(cached) " >&6
2925: else
2926: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927: /* end confdefs.h. */
2928: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2929: For example, HP-UX 11i <limits.h> declares gettimeofday. */
2930: #define $2 innocuous_$2
2931:
2932: /* System header to define __stub macros and hopefully few prototypes,
2933: which can conflict with char $2 (); below.
2934: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2935: <limits.h> exists even on freestanding compilers. */
2936:
2937: #ifdef __STDC__
2938: # include <limits.h>
2939: #else
2940: # include <assert.h>
2941: #endif
2942:
2943: #undef $2
2944:
2945: /* Override any GCC internal prototype to avoid an error.
2946: Use char because int might match the return type of a GCC
2947: builtin and then its argument prototype would still apply. */
2948: #ifdef __cplusplus
2949: extern "C"
2950: #endif
2951: char $2 ();
2952: /* The GNU C library defines this for functions which it implements
2953: to always fail with ENOSYS. Some functions are actually named
2954: something starting with __ and the normal name is an alias. */
2955: #if defined __stub_$2 || defined __stub___$2
2956: choke me
2957: #endif
2958:
2959: int
2960: main ()
2961: {
2962: return $2 ();
2963: ;
2964: return 0;
2965: }
2966: _ACEOF
2967: if ac_fn_c_try_link "$LINENO"; then :
2968: eval "$3=yes"
2969: else
2970: eval "$3=no"
2971: fi
2972: rm -f core conftest.err conftest.$ac_objext \
2973: conftest$ac_exeext conftest.$ac_ext
2974: fi
2975: eval ac_res=\$$3
2976: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2977: $as_echo "$ac_res" >&6; }
2978: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2979:
2980: } # ac_fn_c_check_func
2981:
2982: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2983: # -------------------------------------------
2984: # Tests whether TYPE exists after having included INCLUDES, setting cache
2985: # variable VAR accordingly.
2986: ac_fn_c_check_type ()
2987: {
2988: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2990: $as_echo_n "checking for $2... " >&6; }
2991: if eval \${$3+:} false; then :
2992: $as_echo_n "(cached) " >&6
2993: else
2994: eval "$3=no"
2995: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996: /* end confdefs.h. */
2997: $4
2998: int
2999: main ()
3000: {
3001: if (sizeof ($2))
3002: return 0;
3003: ;
3004: return 0;
3005: }
3006: _ACEOF
3007: if ac_fn_c_try_compile "$LINENO"; then :
3008: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3009: /* end confdefs.h. */
3010: $4
3011: int
3012: main ()
3013: {
3014: if (sizeof (($2)))
3015: return 0;
3016: ;
3017: return 0;
3018: }
3019: _ACEOF
3020: if ac_fn_c_try_compile "$LINENO"; then :
3021:
3022: else
3023: eval "$3=yes"
3024: fi
3025: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026: fi
3027: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3028: fi
3029: eval ac_res=\$$3
3030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3031: $as_echo "$ac_res" >&6; }
3032: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3033:
3034: } # ac_fn_c_check_type
3035:
3036: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3037: # ---------------------------------------------
3038: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3039: # accordingly.
3040: ac_fn_c_check_decl ()
3041: {
3042: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3043: as_decl_name=`echo $2|sed 's/ *(.*//'`
3044: as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3046: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3047: if eval \${$3+:} false; then :
3048: $as_echo_n "(cached) " >&6
3049: else
3050: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051: /* end confdefs.h. */
3052: $4
3053: int
3054: main ()
3055: {
3056: #ifndef $as_decl_name
3057: #ifdef __cplusplus
3058: (void) $as_decl_use;
3059: #else
3060: (void) $as_decl_name;
3061: #endif
3062: #endif
3063:
3064: ;
3065: return 0;
3066: }
3067: _ACEOF
3068: if ac_fn_c_try_compile "$LINENO"; then :
3069: eval "$3=yes"
3070: else
3071: eval "$3=no"
3072: fi
3073: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3074: fi
3075: eval ac_res=\$$3
3076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3077: $as_echo "$ac_res" >&6; }
3078: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3079:
3080: } # ac_fn_c_check_decl
3081:
3082: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3083: # -------------------------------------------------------
3084: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3085: # the include files in INCLUDES and setting the cache variable VAR
3086: # accordingly.
3087: ac_fn_c_check_header_mongrel ()
3088: {
3089: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3090: if eval \${$3+:} false; then :
3091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3092: $as_echo_n "checking for $2... " >&6; }
3093: if eval \${$3+:} false; then :
3094: $as_echo_n "(cached) " >&6
3095: fi
3096: eval ac_res=\$$3
3097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3098: $as_echo "$ac_res" >&6; }
3099: else
3100: # Is the header compilable?
3101: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3102: $as_echo_n "checking $2 usability... " >&6; }
3103: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104: /* end confdefs.h. */
3105: $4
3106: #include <$2>
3107: _ACEOF
3108: if ac_fn_c_try_compile "$LINENO"; then :
3109: ac_header_compiler=yes
3110: else
3111: ac_header_compiler=no
3112: fi
3113: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3115: $as_echo "$ac_header_compiler" >&6; }
3116:
3117: # Is the header present?
3118: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3119: $as_echo_n "checking $2 presence... " >&6; }
3120: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121: /* end confdefs.h. */
3122: #include <$2>
3123: _ACEOF
3124: if ac_fn_c_try_cpp "$LINENO"; then :
3125: ac_header_preproc=yes
3126: else
3127: ac_header_preproc=no
3128: fi
3129: rm -f conftest.err conftest.i conftest.$ac_ext
3130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3131: $as_echo "$ac_header_preproc" >&6; }
3132:
3133: # So? What about this header?
3134: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3135: yes:no: )
3136: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3137: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3138: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3139: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3140: ;;
3141: no:yes:* )
3142: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3143: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3144: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3145: $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3146: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3147: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3148: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3149: $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3150: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3151: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3152: ;;
3153: esac
3154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3155: $as_echo_n "checking for $2... " >&6; }
3156: if eval \${$3+:} false; then :
3157: $as_echo_n "(cached) " >&6
3158: else
3159: eval "$3=\$ac_header_compiler"
3160: fi
3161: eval ac_res=\$$3
3162: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3163: $as_echo "$ac_res" >&6; }
3164: fi
3165: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3166:
3167: } # ac_fn_c_check_header_mongrel
3168:
3169: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3170: # ----------------------------------------------------
3171: # Tries to find if the field MEMBER exists in type AGGR, after including
3172: # INCLUDES, setting cache variable VAR accordingly.
3173: ac_fn_c_check_member ()
3174: {
3175: as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3176: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3177: $as_echo_n "checking for $2.$3... " >&6; }
3178: if eval \${$4+:} false; then :
3179: $as_echo_n "(cached) " >&6
3180: else
3181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3182: /* end confdefs.h. */
3183: $5
3184: int
3185: main ()
3186: {
3187: static $2 ac_aggr;
3188: if (ac_aggr.$3)
3189: return 0;
3190: ;
3191: return 0;
3192: }
3193: _ACEOF
3194: if ac_fn_c_try_compile "$LINENO"; then :
3195: eval "$4=yes"
3196: else
3197: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3198: /* end confdefs.h. */
3199: $5
3200: int
3201: main ()
3202: {
3203: static $2 ac_aggr;
3204: if (sizeof ac_aggr.$3)
3205: return 0;
3206: ;
3207: return 0;
3208: }
3209: _ACEOF
3210: if ac_fn_c_try_compile "$LINENO"; then :
3211: eval "$4=yes"
3212: else
3213: eval "$4=no"
3214: fi
3215: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216: fi
3217: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3218: fi
3219: eval ac_res=\$$4
3220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3221: $as_echo "$ac_res" >&6; }
3222: eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3223:
3224: } # ac_fn_c_check_member
3225: cat >config.log <<_ACEOF
3226: This file contains any messages produced by compilers while
3227: running configure, to aid debugging if configure makes a mistake.
3228:
1.1.1.2 ! misho 3229: It was created by strongSwan $as_me 5.9.2, which was
1.1 misho 3230: generated by GNU Autoconf 2.69. Invocation command line was
3231:
3232: $ $0 $@
3233:
3234: _ACEOF
3235: exec 5>>config.log
3236: {
3237: cat <<_ASUNAME
3238: ## --------- ##
3239: ## Platform. ##
3240: ## --------- ##
3241:
3242: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3243: uname -m = `(uname -m) 2>/dev/null || echo unknown`
3244: uname -r = `(uname -r) 2>/dev/null || echo unknown`
3245: uname -s = `(uname -s) 2>/dev/null || echo unknown`
3246: uname -v = `(uname -v) 2>/dev/null || echo unknown`
3247:
3248: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3249: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3250:
3251: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3252: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3253: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3254: /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3255: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3256: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3257: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3258:
3259: _ASUNAME
3260:
3261: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262: for as_dir in $PATH
3263: do
3264: IFS=$as_save_IFS
3265: test -z "$as_dir" && as_dir=.
3266: $as_echo "PATH: $as_dir"
3267: done
3268: IFS=$as_save_IFS
3269:
3270: } >&5
3271:
3272: cat >&5 <<_ACEOF
3273:
3274:
3275: ## ----------- ##
3276: ## Core tests. ##
3277: ## ----------- ##
3278:
3279: _ACEOF
3280:
3281:
3282: # Keep a trace of the command line.
3283: # Strip out --no-create and --no-recursion so they do not pile up.
3284: # Strip out --silent because we don't want to record it for future runs.
3285: # Also quote any args containing shell meta-characters.
3286: # Make two passes to allow for proper duplicate-argument suppression.
3287: ac_configure_args=
3288: ac_configure_args0=
3289: ac_configure_args1=
3290: ac_must_keep_next=false
3291: for ac_pass in 1 2
3292: do
3293: for ac_arg
3294: do
3295: case $ac_arg in
3296: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3297: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3298: | -silent | --silent | --silen | --sile | --sil)
3299: continue ;;
3300: *\'*)
3301: ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3302: esac
3303: case $ac_pass in
3304: 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3305: 2)
3306: as_fn_append ac_configure_args1 " '$ac_arg'"
3307: if test $ac_must_keep_next = true; then
3308: ac_must_keep_next=false # Got value, back to normal.
3309: else
3310: case $ac_arg in
3311: *=* | --config-cache | -C | -disable-* | --disable-* \
3312: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3313: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3314: | -with-* | --with-* | -without-* | --without-* | --x)
3315: case "$ac_configure_args0 " in
3316: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3317: esac
3318: ;;
3319: -* ) ac_must_keep_next=true ;;
3320: esac
3321: fi
3322: as_fn_append ac_configure_args " '$ac_arg'"
3323: ;;
3324: esac
3325: done
3326: done
3327: { ac_configure_args0=; unset ac_configure_args0;}
3328: { ac_configure_args1=; unset ac_configure_args1;}
3329:
3330: # When interrupted or exit'd, cleanup temporary files, and complete
3331: # config.log. We remove comments because anyway the quotes in there
3332: # would cause problems or look ugly.
3333: # WARNING: Use '\'' to represent an apostrophe within the trap.
3334: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3335: trap 'exit_status=$?
3336: # Save into config.log some information that might help in debugging.
3337: {
3338: echo
3339:
3340: $as_echo "## ---------------- ##
3341: ## Cache variables. ##
3342: ## ---------------- ##"
3343: echo
3344: # The following way of writing the cache mishandles newlines in values,
3345: (
3346: for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3347: eval ac_val=\$$ac_var
3348: case $ac_val in #(
3349: *${as_nl}*)
3350: case $ac_var in #(
3351: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3352: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3353: esac
3354: case $ac_var in #(
3355: _ | IFS | as_nl) ;; #(
3356: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3357: *) { eval $ac_var=; unset $ac_var;} ;;
3358: esac ;;
3359: esac
3360: done
3361: (set) 2>&1 |
3362: case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3363: *${as_nl}ac_space=\ *)
3364: sed -n \
3365: "s/'\''/'\''\\\\'\'''\''/g;
3366: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3367: ;; #(
3368: *)
3369: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3370: ;;
3371: esac |
3372: sort
3373: )
3374: echo
3375:
3376: $as_echo "## ----------------- ##
3377: ## Output variables. ##
3378: ## ----------------- ##"
3379: echo
3380: for ac_var in $ac_subst_vars
3381: do
3382: eval ac_val=\$$ac_var
3383: case $ac_val in
3384: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3385: esac
3386: $as_echo "$ac_var='\''$ac_val'\''"
3387: done | sort
3388: echo
3389:
3390: if test -n "$ac_subst_files"; then
3391: $as_echo "## ------------------- ##
3392: ## File substitutions. ##
3393: ## ------------------- ##"
3394: echo
3395: for ac_var in $ac_subst_files
3396: do
3397: eval ac_val=\$$ac_var
3398: case $ac_val in
3399: *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3400: esac
3401: $as_echo "$ac_var='\''$ac_val'\''"
3402: done | sort
3403: echo
3404: fi
3405:
3406: if test -s confdefs.h; then
3407: $as_echo "## ----------- ##
3408: ## confdefs.h. ##
3409: ## ----------- ##"
3410: echo
3411: cat confdefs.h
3412: echo
3413: fi
3414: test "$ac_signal" != 0 &&
3415: $as_echo "$as_me: caught signal $ac_signal"
3416: $as_echo "$as_me: exit $exit_status"
3417: } >&5
3418: rm -f core *.core core.conftest.* &&
3419: rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3420: exit $exit_status
3421: ' 0
3422: for ac_signal in 1 2 13 15; do
3423: trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3424: done
3425: ac_signal=0
3426:
3427: # confdefs.h avoids OS command line length limits that DEFS can exceed.
3428: rm -f -r conftest* confdefs.h
3429:
3430: $as_echo "/* confdefs.h */" > confdefs.h
3431:
3432: # Predefined preprocessor variables.
3433:
3434: cat >>confdefs.h <<_ACEOF
3435: #define PACKAGE_NAME "$PACKAGE_NAME"
3436: _ACEOF
3437:
3438: cat >>confdefs.h <<_ACEOF
3439: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3440: _ACEOF
3441:
3442: cat >>confdefs.h <<_ACEOF
3443: #define PACKAGE_VERSION "$PACKAGE_VERSION"
3444: _ACEOF
3445:
3446: cat >>confdefs.h <<_ACEOF
3447: #define PACKAGE_STRING "$PACKAGE_STRING"
3448: _ACEOF
3449:
3450: cat >>confdefs.h <<_ACEOF
3451: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3452: _ACEOF
3453:
3454: cat >>confdefs.h <<_ACEOF
3455: #define PACKAGE_URL "$PACKAGE_URL"
3456: _ACEOF
3457:
3458:
3459: # Let the site file select an alternate cache file if it wants to.
3460: # Prefer an explicitly selected file to automatically selected ones.
3461: ac_site_file1=NONE
3462: ac_site_file2=NONE
3463: if test -n "$CONFIG_SITE"; then
3464: # We do not want a PATH search for config.site.
3465: case $CONFIG_SITE in #((
3466: -*) ac_site_file1=./$CONFIG_SITE;;
3467: */*) ac_site_file1=$CONFIG_SITE;;
3468: *) ac_site_file1=./$CONFIG_SITE;;
3469: esac
3470: elif test "x$prefix" != xNONE; then
3471: ac_site_file1=$prefix/share/config.site
3472: ac_site_file2=$prefix/etc/config.site
3473: else
3474: ac_site_file1=$ac_default_prefix/share/config.site
3475: ac_site_file2=$ac_default_prefix/etc/config.site
3476: fi
3477: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3478: do
3479: test "x$ac_site_file" = xNONE && continue
3480: if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3481: { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3482: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3483: sed 's/^/| /' "$ac_site_file" >&5
3484: . "$ac_site_file" \
3485: || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487: as_fn_error $? "failed to load site script $ac_site_file
3488: See \`config.log' for more details" "$LINENO" 5; }
3489: fi
3490: done
3491:
3492: if test -r "$cache_file"; then
3493: # Some versions of bash will fail to source /dev/null (special files
3494: # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3495: if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3496: { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3497: $as_echo "$as_me: loading cache $cache_file" >&6;}
3498: case $cache_file in
3499: [\\/]* | ?:[\\/]* ) . "$cache_file";;
3500: *) . "./$cache_file";;
3501: esac
3502: fi
3503: else
3504: { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3505: $as_echo "$as_me: creating cache $cache_file" >&6;}
3506: >$cache_file
3507: fi
3508:
3509: # Check that the precious variables saved in the cache have kept the same
3510: # value.
3511: ac_cache_corrupted=false
3512: for ac_var in $ac_precious_vars; do
3513: eval ac_old_set=\$ac_cv_env_${ac_var}_set
3514: eval ac_new_set=\$ac_env_${ac_var}_set
3515: eval ac_old_val=\$ac_cv_env_${ac_var}_value
3516: eval ac_new_val=\$ac_env_${ac_var}_value
3517: case $ac_old_set,$ac_new_set in
3518: set,)
3519: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3520: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3521: ac_cache_corrupted=: ;;
3522: ,set)
3523: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3524: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3525: ac_cache_corrupted=: ;;
3526: ,);;
3527: *)
3528: if test "x$ac_old_val" != "x$ac_new_val"; then
3529: # differences in whitespace do not lead to failure.
3530: ac_old_val_w=`echo x $ac_old_val`
3531: ac_new_val_w=`echo x $ac_new_val`
3532: if test "$ac_old_val_w" != "$ac_new_val_w"; then
3533: { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3534: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3535: ac_cache_corrupted=:
3536: else
3537: { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3538: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3539: eval $ac_var=\$ac_old_val
3540: fi
3541: { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3542: $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3543: { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3544: $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3545: fi;;
3546: esac
3547: # Pass precious variables to config.status.
3548: if test "$ac_new_set" = set; then
3549: case $ac_new_val in
3550: *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3551: *) ac_arg=$ac_var=$ac_new_val ;;
3552: esac
3553: case " $ac_configure_args " in
3554: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3555: *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3556: esac
3557: fi
3558: done
3559: if $ac_cache_corrupted; then
3560: { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562: { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3563: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3564: as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3565: fi
3566: ## -------------------- ##
3567: ## Main body of script. ##
3568: ## -------------------- ##
3569:
3570: ac_ext=c
3571: ac_cpp='$CPP $CPPFLAGS'
3572: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574: ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575:
3576:
3577: am__api_version='1.15'
3578:
3579: ac_aux_dir=
3580: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3581: if 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/install.sh"; then
3586: ac_aux_dir=$ac_dir
3587: ac_install_sh="$ac_aux_dir/install.sh -c"
3588: break
3589: elif test -f "$ac_dir/shtool"; then
3590: ac_aux_dir=$ac_dir
3591: ac_install_sh="$ac_aux_dir/shtool install -c"
3592: break
3593: fi
3594: done
3595: if test -z "$ac_aux_dir"; then
3596: as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3597: fi
3598:
3599: # These three variables are undocumented and unsupported,
3600: # and are intended to be withdrawn in a future Autoconf release.
3601: # They can cause serious problems if a builder's source tree is in a directory
3602: # whose full name contains unusual characters.
3603: ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3604: ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3605: ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3606:
3607:
3608: # Find a good install program. We prefer a C program (faster),
3609: # so one script is as good as another. But avoid the broken or
3610: # incompatible versions:
3611: # SysV /etc/install, /usr/sbin/install
3612: # SunOS /usr/etc/install
3613: # IRIX /sbin/install
3614: # AIX /bin/install
3615: # AmigaOS /C/install, which installs bootblocks on floppy discs
3616: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3617: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3618: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3619: # OS/2's system install, which has a completely different semantic
3620: # ./install, which can be erroneously created by make from ./install.sh.
3621: # Reject install programs that cannot install multiple files.
3622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3623: $as_echo_n "checking for a BSD-compatible install... " >&6; }
3624: if test -z "$INSTALL"; then
3625: if ${ac_cv_path_install+:} false; then :
3626: $as_echo_n "(cached) " >&6
3627: else
3628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629: for as_dir in $PATH
3630: do
3631: IFS=$as_save_IFS
3632: test -z "$as_dir" && as_dir=.
3633: # Account for people who put trailing slashes in PATH elements.
3634: case $as_dir/ in #((
3635: ./ | .// | /[cC]/* | \
3636: /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3637: ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3638: /usr/ucb/* ) ;;
3639: *)
3640: # OSF1 and SCO ODT 3.0 have their own names for install.
3641: # Don't use installbsd from OSF since it installs stuff as root
3642: # by default.
3643: for ac_prog in ginstall scoinst install; do
3644: for ac_exec_ext in '' $ac_executable_extensions; do
3645: if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3646: if test $ac_prog = install &&
3647: grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3648: # AIX install. It has an incompatible calling convention.
3649: :
3650: elif test $ac_prog = install &&
3651: grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3652: # program-specific install script used by HP pwplus--don't use.
3653: :
3654: else
3655: rm -rf conftest.one conftest.two conftest.dir
3656: echo one > conftest.one
3657: echo two > conftest.two
3658: mkdir conftest.dir
3659: if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3660: test -s conftest.one && test -s conftest.two &&
3661: test -s conftest.dir/conftest.one &&
3662: test -s conftest.dir/conftest.two
3663: then
3664: ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3665: break 3
3666: fi
3667: fi
3668: fi
3669: done
3670: done
3671: ;;
3672: esac
3673:
3674: done
3675: IFS=$as_save_IFS
3676:
3677: rm -rf conftest.one conftest.two conftest.dir
3678:
3679: fi
3680: if test "${ac_cv_path_install+set}" = set; then
3681: INSTALL=$ac_cv_path_install
3682: else
3683: # As a last resort, use the slow shell script. Don't cache a
3684: # value for INSTALL within a source directory, because that will
3685: # break other packages using the cache if that directory is
3686: # removed, or if the value is a relative name.
3687: INSTALL=$ac_install_sh
3688: fi
3689: fi
3690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3691: $as_echo "$INSTALL" >&6; }
3692:
3693: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3694: # It thinks the first close brace ends the variable substitution.
3695: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3696:
3697: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3698:
3699: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3700:
3701: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3702: $as_echo_n "checking whether build environment is sane... " >&6; }
3703: # Reject unsafe characters in $srcdir or the absolute working directory
3704: # name. Accept space and tab only in the latter.
3705: am_lf='
3706: '
3707: case `pwd` in
3708: *[\\\"\#\$\&\'\`$am_lf]*)
3709: as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3710: esac
3711: case $srcdir in
3712: *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3713: as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3714: esac
3715:
3716: # Do 'set' in a subshell so we don't clobber the current shell's
3717: # arguments. Must try -L first in case configure is actually a
3718: # symlink; some systems play weird games with the mod time of symlinks
3719: # (eg FreeBSD returns the mod time of the symlink's containing
3720: # directory).
3721: if (
3722: am_has_slept=no
3723: for am_try in 1 2; do
3724: echo "timestamp, slept: $am_has_slept" > conftest.file
3725: set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3726: if test "$*" = "X"; then
3727: # -L didn't work.
3728: set X `ls -t "$srcdir/configure" conftest.file`
3729: fi
3730: if test "$*" != "X $srcdir/configure conftest.file" \
3731: && test "$*" != "X conftest.file $srcdir/configure"; then
3732:
3733: # If neither matched, then we have a broken ls. This can happen
3734: # if, for instance, CONFIG_SHELL is bash and it inherits a
3735: # broken ls alias from the environment. This has actually
3736: # happened. Such a system could not be considered "sane".
3737: as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3738: alias in your environment" "$LINENO" 5
3739: fi
3740: if test "$2" = conftest.file || test $am_try -eq 2; then
3741: break
3742: fi
3743: # Just in case.
3744: sleep 1
3745: am_has_slept=yes
3746: done
3747: test "$2" = conftest.file
3748: )
3749: then
3750: # Ok.
3751: :
3752: else
3753: as_fn_error $? "newly created file is older than distributed files!
3754: Check your system clock" "$LINENO" 5
3755: fi
3756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3757: $as_echo "yes" >&6; }
3758: # If we didn't sleep, we still need to ensure time stamps of config.status and
3759: # generated files are strictly newer.
3760: am_sleep_pid=
3761: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3762: ( sleep 1 ) &
3763: am_sleep_pid=$!
3764: fi
3765:
3766: rm -f conftest.file
3767:
3768: test "$program_prefix" != NONE &&
3769: program_transform_name="s&^&$program_prefix&;$program_transform_name"
3770: # Use a double $ so make ignores it.
3771: test "$program_suffix" != NONE &&
3772: program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3773: # Double any \ or $.
3774: # By default was `s,x,x', remove it if useless.
3775: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3776: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3777:
3778: # Expand $ac_aux_dir to an absolute path.
3779: am_aux_dir=`cd "$ac_aux_dir" && pwd`
3780:
3781: if test x"${MISSING+set}" != xset; then
3782: case $am_aux_dir in
3783: *\ * | *\ *)
3784: MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3785: *)
3786: MISSING="\${SHELL} $am_aux_dir/missing" ;;
3787: esac
3788: fi
3789: # Use eval to expand $SHELL
3790: if eval "$MISSING --is-lightweight"; then
3791: am_missing_run="$MISSING "
3792: else
3793: am_missing_run=
3794: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3795: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3796: fi
3797:
3798: if test x"${install_sh+set}" != xset; then
3799: case $am_aux_dir in
3800: *\ * | *\ *)
3801: install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3802: *)
3803: install_sh="\${SHELL} $am_aux_dir/install-sh"
3804: esac
3805: fi
3806:
3807: # Installed binaries are usually stripped using 'strip' when the user
3808: # run "make install-strip". However 'strip' might not be the right
3809: # tool to use in cross-compilation environments, therefore Automake
3810: # will honor the 'STRIP' environment variable to overrule this program.
3811: if test "$cross_compiling" != no; then
3812: if test -n "$ac_tool_prefix"; then
3813: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3814: set dummy ${ac_tool_prefix}strip; ac_word=$2
3815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3816: $as_echo_n "checking for $ac_word... " >&6; }
3817: if ${ac_cv_prog_STRIP+:} false; then :
3818: $as_echo_n "(cached) " >&6
3819: else
3820: if test -n "$STRIP"; then
3821: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3822: else
3823: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3824: for as_dir in $PATH
3825: do
3826: IFS=$as_save_IFS
3827: test -z "$as_dir" && as_dir=.
3828: for ac_exec_ext in '' $ac_executable_extensions; do
3829: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3830: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3831: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832: break 2
3833: fi
3834: done
3835: done
3836: IFS=$as_save_IFS
3837:
3838: fi
3839: fi
3840: STRIP=$ac_cv_prog_STRIP
3841: if test -n "$STRIP"; then
3842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3843: $as_echo "$STRIP" >&6; }
3844: else
3845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3846: $as_echo "no" >&6; }
3847: fi
3848:
3849:
3850: fi
3851: if test -z "$ac_cv_prog_STRIP"; then
3852: ac_ct_STRIP=$STRIP
3853: # Extract the first word of "strip", so it can be a program name with args.
3854: set dummy strip; ac_word=$2
3855: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856: $as_echo_n "checking for $ac_word... " >&6; }
3857: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3858: $as_echo_n "(cached) " >&6
3859: else
3860: if test -n "$ac_ct_STRIP"; then
3861: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3862: else
3863: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864: for as_dir in $PATH
3865: do
3866: IFS=$as_save_IFS
3867: test -z "$as_dir" && as_dir=.
3868: for ac_exec_ext in '' $ac_executable_extensions; do
3869: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870: ac_cv_prog_ac_ct_STRIP="strip"
3871: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3872: break 2
3873: fi
3874: done
3875: done
3876: IFS=$as_save_IFS
3877:
3878: fi
3879: fi
3880: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3881: if test -n "$ac_ct_STRIP"; then
3882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3883: $as_echo "$ac_ct_STRIP" >&6; }
3884: else
3885: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886: $as_echo "no" >&6; }
3887: fi
3888:
3889: if test "x$ac_ct_STRIP" = x; then
3890: STRIP=":"
3891: else
3892: case $cross_compiling:$ac_tool_warned in
3893: yes:)
3894: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3895: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3896: ac_tool_warned=yes ;;
3897: esac
3898: STRIP=$ac_ct_STRIP
3899: fi
3900: else
3901: STRIP="$ac_cv_prog_STRIP"
3902: fi
3903:
3904: fi
3905: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3906:
3907: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3908: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3909: if test -z "$MKDIR_P"; then
3910: if ${ac_cv_path_mkdir+:} false; then :
3911: $as_echo_n "(cached) " >&6
3912: else
3913: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3915: do
3916: IFS=$as_save_IFS
3917: test -z "$as_dir" && as_dir=.
3918: for ac_prog in mkdir gmkdir; do
3919: for ac_exec_ext in '' $ac_executable_extensions; do
3920: as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3921: case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3922: 'mkdir (GNU coreutils) '* | \
3923: 'mkdir (coreutils) '* | \
3924: 'mkdir (fileutils) '4.1*)
3925: ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3926: break 3;;
3927: esac
3928: done
3929: done
3930: done
3931: IFS=$as_save_IFS
3932:
3933: fi
3934:
3935: test -d ./--version && rmdir ./--version
3936: if test "${ac_cv_path_mkdir+set}" = set; then
3937: MKDIR_P="$ac_cv_path_mkdir -p"
3938: else
3939: # As a last resort, use the slow shell script. Don't cache a
3940: # value for MKDIR_P within a source directory, because that will
3941: # break other packages using the cache if that directory is
3942: # removed, or if the value is a relative name.
3943: MKDIR_P="$ac_install_sh -d"
3944: fi
3945: fi
3946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3947: $as_echo "$MKDIR_P" >&6; }
3948:
3949: for ac_prog in gawk mawk nawk awk
3950: do
3951: # Extract the first word of "$ac_prog", so it can be a program name with args.
3952: set dummy $ac_prog; ac_word=$2
3953: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3954: $as_echo_n "checking for $ac_word... " >&6; }
3955: if ${ac_cv_prog_AWK+:} false; then :
3956: $as_echo_n "(cached) " >&6
3957: else
3958: if test -n "$AWK"; then
3959: ac_cv_prog_AWK="$AWK" # Let the user override the test.
3960: else
3961: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3962: for as_dir in $PATH
3963: do
3964: IFS=$as_save_IFS
3965: test -z "$as_dir" && as_dir=.
3966: for ac_exec_ext in '' $ac_executable_extensions; do
3967: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3968: ac_cv_prog_AWK="$ac_prog"
3969: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970: break 2
3971: fi
3972: done
3973: done
3974: IFS=$as_save_IFS
3975:
3976: fi
3977: fi
3978: AWK=$ac_cv_prog_AWK
3979: if test -n "$AWK"; then
3980: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3981: $as_echo "$AWK" >&6; }
3982: else
3983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984: $as_echo "no" >&6; }
3985: fi
3986:
3987:
3988: test -n "$AWK" && break
3989: done
3990:
3991: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3992: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3993: set x ${MAKE-make}
3994: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3995: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3996: $as_echo_n "(cached) " >&6
3997: else
3998: cat >conftest.make <<\_ACEOF
3999: SHELL = /bin/sh
4000: all:
4001: @echo '@@@%%%=$(MAKE)=@@@%%%'
4002: _ACEOF
4003: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4004: case `${MAKE-make} -f conftest.make 2>/dev/null` in
4005: *@@@%%%=?*=@@@%%%*)
4006: eval ac_cv_prog_make_${ac_make}_set=yes;;
4007: *)
4008: eval ac_cv_prog_make_${ac_make}_set=no;;
4009: esac
4010: rm -f conftest.make
4011: fi
4012: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014: $as_echo "yes" >&6; }
4015: SET_MAKE=
4016: else
4017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018: $as_echo "no" >&6; }
4019: SET_MAKE="MAKE=${MAKE-make}"
4020: fi
4021:
4022: rm -rf .tst 2>/dev/null
4023: mkdir .tst 2>/dev/null
4024: if test -d .tst; then
4025: am__leading_dot=.
4026: else
4027: am__leading_dot=_
4028: fi
4029: rmdir .tst 2>/dev/null
4030:
4031: # Check whether --enable-silent-rules was given.
4032: if test "${enable_silent_rules+set}" = set; then :
4033: enableval=$enable_silent_rules;
4034: fi
4035:
4036: case $enable_silent_rules in # (((
4037: yes) AM_DEFAULT_VERBOSITY=0;;
4038: no) AM_DEFAULT_VERBOSITY=1;;
4039: *) AM_DEFAULT_VERBOSITY=1;;
4040: esac
4041: am_make=${MAKE-make}
4042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4043: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4044: if ${am_cv_make_support_nested_variables+:} false; then :
4045: $as_echo_n "(cached) " >&6
4046: else
4047: if $as_echo 'TRUE=$(BAR$(V))
4048: BAR0=false
4049: BAR1=true
4050: V=1
4051: am__doit:
4052: @$(TRUE)
4053: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4054: am_cv_make_support_nested_variables=yes
4055: else
4056: am_cv_make_support_nested_variables=no
4057: fi
4058: fi
4059: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4060: $as_echo "$am_cv_make_support_nested_variables" >&6; }
4061: if test $am_cv_make_support_nested_variables = yes; then
4062: AM_V='$(V)'
4063: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4064: else
4065: AM_V=$AM_DEFAULT_VERBOSITY
4066: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4067: fi
4068: AM_BACKSLASH='\'
4069:
4070: if test "`cd $srcdir && pwd`" != "`pwd`"; then
4071: # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4072: # is not polluted with repeated "-I."
4073: am__isrc=' -I$(srcdir)'
4074: # test to see if srcdir already configured
4075: if test -f $srcdir/config.status; then
4076: as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4077: fi
4078: fi
4079:
4080: # test whether we have cygpath
4081: if test -z "$CYGPATH_W"; then
4082: if (cygpath --version) >/dev/null 2>/dev/null; then
4083: CYGPATH_W='cygpath -w'
4084: else
4085: CYGPATH_W=echo
4086: fi
4087: fi
4088:
4089:
4090: # Define the identity of the package.
4091: PACKAGE='strongswan'
1.1.1.2 ! misho 4092: VERSION='5.9.2'
1.1 misho 4093:
4094:
4095: cat >>confdefs.h <<_ACEOF
4096: #define PACKAGE "$PACKAGE"
4097: _ACEOF
4098:
4099:
4100: cat >>confdefs.h <<_ACEOF
4101: #define VERSION "$VERSION"
4102: _ACEOF
4103:
4104: # Some tools Automake needs.
4105:
4106: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4107:
4108:
4109: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4110:
4111:
4112: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4113:
4114:
4115: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4116:
4117:
4118: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4119:
4120: # For better backward compatibility. To be removed once Automake 1.9.x
4121: # dies out for good. For more background, see:
4122: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
4123: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
4124: mkdir_p='$(MKDIR_P)'
4125:
4126: # We need awk for the "check" target (and possibly the TAP driver). The
4127: # system "awk" is bad on some platforms.
4128: # Always define AMTAR for backward compatibility. Yes, it's still used
4129: # in the wild :-( We should find a proper way to deprecate it ...
4130: AMTAR='$${TAR-tar}'
4131:
4132:
4133: # We'll loop over all known methods to create a tar archive until one works.
4134: _am_tools='gnutar plaintar pax cpio none'
4135:
4136: # The POSIX 1988 'ustar' format is defined with fixed-size fields.
4137: # There is notably a 21 bits limit for the UID and the GID. In fact,
4138: # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
4139: # and bug#13588).
4140: am_max_uid=2097151 # 2^21 - 1
4141: am_max_gid=$am_max_uid
4142: # The $UID and $GID variables are not portable, so we need to resort
4143: # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
4144: # below are definitely unexpected, so allow the users to see them
4145: # (that is, avoid stderr redirection).
4146: am_uid=`id -u || echo unknown`
4147: am_gid=`id -g || echo unknown`
4148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
4149: $as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
4150: if test $am_uid -le $am_max_uid; then
4151: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4152: $as_echo "yes" >&6; }
4153: else
4154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155: $as_echo "no" >&6; }
4156: _am_tools=none
4157: fi
4158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
4159: $as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
4160: if test $am_gid -le $am_max_gid; then
4161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4162: $as_echo "yes" >&6; }
4163: else
4164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165: $as_echo "no" >&6; }
4166: _am_tools=none
4167: fi
4168:
4169: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
4170: $as_echo_n "checking how to create a ustar tar archive... " >&6; }
4171:
4172: # Go ahead even if we have the value already cached. We do so because we
4173: # need to set the values for the 'am__tar' and 'am__untar' variables.
4174: _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
4175:
4176: for _am_tool in $_am_tools; do
4177: case $_am_tool in
4178: gnutar)
4179: for _am_tar in tar gnutar gtar; do
4180: { echo "$as_me:$LINENO: $_am_tar --version" >&5
4181: ($_am_tar --version) >&5 2>&5
4182: ac_status=$?
4183: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184: (exit $ac_status); } && break
4185: done
4186: am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
4187: am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
4188: am__untar="$_am_tar -xf -"
4189: ;;
4190: plaintar)
4191: # Must skip GNU tar: if it does not support --format= it doesn't create
4192: # ustar tarball either.
4193: (tar --version) >/dev/null 2>&1 && continue
4194: am__tar='tar chf - "$$tardir"'
4195: am__tar_='tar chf - "$tardir"'
4196: am__untar='tar xf -'
4197: ;;
4198: pax)
4199: am__tar='pax -L -x ustar -w "$$tardir"'
4200: am__tar_='pax -L -x ustar -w "$tardir"'
4201: am__untar='pax -r'
4202: ;;
4203: cpio)
4204: am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
4205: am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
4206: am__untar='cpio -i -H ustar -d'
4207: ;;
4208: none)
4209: am__tar=false
4210: am__tar_=false
4211: am__untar=false
4212: ;;
4213: esac
4214:
4215: # If the value was cached, stop now. We just wanted to have am__tar
4216: # and am__untar set.
4217: test -n "${am_cv_prog_tar_ustar}" && break
4218:
4219: # tar/untar a dummy directory, and stop if the command works.
4220: rm -rf conftest.dir
4221: mkdir conftest.dir
4222: echo GrepMe > conftest.dir/file
4223: { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
4224: (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
4225: ac_status=$?
4226: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227: (exit $ac_status); }
4228: rm -rf conftest.dir
4229: if test -s conftest.tar; then
4230: { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
4231: ($am__untar <conftest.tar) >&5 2>&5
4232: ac_status=$?
4233: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234: (exit $ac_status); }
4235: { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
4236: (cat conftest.dir/file) >&5 2>&5
4237: ac_status=$?
4238: echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239: (exit $ac_status); }
4240: grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
4241: fi
4242: done
4243: rm -rf conftest.dir
4244:
4245: if ${am_cv_prog_tar_ustar+:} false; then :
4246: $as_echo_n "(cached) " >&6
4247: else
4248: am_cv_prog_tar_ustar=$_am_tool
4249: fi
4250:
4251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
4252: $as_echo "$am_cv_prog_tar_ustar" >&6; }
4253:
4254:
4255:
4256:
4257:
4258:
4259: # POSIX will say in a future version that running "rm -f" with no argument
4260: # is OK; and we want to be able to make that assumption in our Makefile
4261: # recipes. So use an aggressive probe to check that the usage we want is
4262: # actually supported "in the wild" to an acceptable degree.
4263: # See automake bug#10828.
4264: # To make any issue more visible, cause the running configure to be aborted
4265: # by default if the 'rm' program in use doesn't match our expectations; the
4266: # user can still override this though.
4267: if rm -f && rm -fr && rm -rf; then : OK; else
4268: cat >&2 <<'END'
4269: Oops!
4270:
4271: Your 'rm' program seems unable to run without file operands specified
4272: on the command line, even when the '-f' option is present. This is contrary
4273: to the behaviour of most rm programs out there, and not conforming with
4274: the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
4275:
4276: Please tell bug-automake@gnu.org about your system, including the value
4277: of your $PATH and any error possibly output before this message. This
4278: can help us improve future automake versions.
4279:
4280: END
4281: if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
4282: echo 'Configuration will proceed anyway, since you have set the' >&2
4283: echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
4284: echo >&2
4285: else
4286: cat >&2 <<'END'
4287: Aborting the configuration process, to ensure you take notice of the issue.
4288:
4289: You can download and install GNU coreutils to get an 'rm' implementation
4290: that behaves properly: <http://www.gnu.org/software/coreutils/>.
4291:
4292: If you want to complete the configuration process using your problematic
4293: 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
4294: to "yes", and re-run configure.
4295:
4296: END
4297: as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
4298: fi
4299: fi
4300:
4301: # Check whether --enable-silent-rules was given.
4302: if test "${enable_silent_rules+set}" = set; then :
4303: enableval=$enable_silent_rules;
4304: fi
4305:
4306: case $enable_silent_rules in # (((
4307: yes) AM_DEFAULT_VERBOSITY=0;;
4308: no) AM_DEFAULT_VERBOSITY=1;;
4309: *) AM_DEFAULT_VERBOSITY=1;;
4310: esac
4311: am_make=${MAKE-make}
4312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4313: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4314: if ${am_cv_make_support_nested_variables+:} false; then :
4315: $as_echo_n "(cached) " >&6
4316: else
4317: if $as_echo 'TRUE=$(BAR$(V))
4318: BAR0=false
4319: BAR1=true
4320: V=1
4321: am__doit:
4322: @$(TRUE)
4323: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4324: am_cv_make_support_nested_variables=yes
4325: else
4326: am_cv_make_support_nested_variables=no
4327: fi
4328: fi
4329: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4330: $as_echo "$am_cv_make_support_nested_variables" >&6; }
4331: if test $am_cv_make_support_nested_variables = yes; then
4332: AM_V='$(V)'
4333: AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4334: else
4335: AM_V=$AM_DEFAULT_VERBOSITY
4336: AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4337: fi
4338: AM_BACKSLASH='\'
4339:
4340:
4341: ac_config_headers="$ac_config_headers config.h"
4342:
4343:
4344: $as_echo "#define CONFIG_H_INCLUDED /**/" >>confdefs.h
4345:
4346: # Check whether --enable-static was given.
4347: if test "${enable_static+set}" = set; then :
4348: enableval=$enable_static; p=${PACKAGE-default}
4349: case $enableval in
4350: yes) enable_static=yes ;;
4351: no) enable_static=no ;;
4352: *)
4353: enable_static=no
4354: # Look at the argument we got. We use all the common list separators.
4355: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
4356: for pkg in $enableval; do
4357: IFS=$lt_save_ifs
4358: if test "X$pkg" = "X$p"; then
4359: enable_static=yes
4360: fi
4361: done
4362: IFS=$lt_save_ifs
4363: ;;
4364: esac
4365: else
4366: enable_static=no
4367: fi
4368:
4369:
4370:
4371:
4372:
4373:
4374:
4375:
4376:
4377:
4378:
4379:
4380:
4381:
4382:
4383:
4384: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4385: if test -n "$ac_tool_prefix"; then
4386: # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4387: set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4388: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389: $as_echo_n "checking for $ac_word... " >&6; }
4390: if ${ac_cv_path_PKG_CONFIG+:} false; then :
4391: $as_echo_n "(cached) " >&6
4392: else
4393: case $PKG_CONFIG in
4394: [\\/]* | ?:[\\/]*)
4395: ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4396: ;;
4397: *)
4398: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399: for as_dir in $PATH
4400: do
4401: IFS=$as_save_IFS
4402: test -z "$as_dir" && as_dir=.
4403: for ac_exec_ext in '' $ac_executable_extensions; do
4404: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4405: ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4406: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4407: break 2
4408: fi
4409: done
4410: done
4411: IFS=$as_save_IFS
4412:
4413: ;;
4414: esac
4415: fi
4416: PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4417: if test -n "$PKG_CONFIG"; then
4418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4419: $as_echo "$PKG_CONFIG" >&6; }
4420: else
4421: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4422: $as_echo "no" >&6; }
4423: fi
4424:
4425:
4426: fi
4427: if test -z "$ac_cv_path_PKG_CONFIG"; then
4428: ac_pt_PKG_CONFIG=$PKG_CONFIG
4429: # Extract the first word of "pkg-config", so it can be a program name with args.
4430: set dummy pkg-config; ac_word=$2
4431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4432: $as_echo_n "checking for $ac_word... " >&6; }
4433: if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4434: $as_echo_n "(cached) " >&6
4435: else
4436: case $ac_pt_PKG_CONFIG in
4437: [\\/]* | ?:[\\/]*)
4438: ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4439: ;;
4440: *)
4441: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4442: for as_dir in $PATH
4443: do
4444: IFS=$as_save_IFS
4445: test -z "$as_dir" && as_dir=.
4446: for ac_exec_ext in '' $ac_executable_extensions; do
4447: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4448: ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4449: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4450: break 2
4451: fi
4452: done
4453: done
4454: IFS=$as_save_IFS
4455:
4456: ;;
4457: esac
4458: fi
4459: ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4460: if test -n "$ac_pt_PKG_CONFIG"; then
4461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4462: $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4463: else
4464: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465: $as_echo "no" >&6; }
4466: fi
4467:
4468: if test "x$ac_pt_PKG_CONFIG" = x; then
4469: PKG_CONFIG=""
4470: else
4471: case $cross_compiling:$ac_tool_warned in
4472: yes:)
4473: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4474: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4475: ac_tool_warned=yes ;;
4476: esac
4477: PKG_CONFIG=$ac_pt_PKG_CONFIG
4478: fi
4479: else
4480: PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4481: fi
4482:
4483: fi
4484: if test -n "$PKG_CONFIG"; then
4485: _pkg_min_version=0.9.0
4486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4487: $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4488: if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4490: $as_echo "yes" >&6; }
4491: else
4492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493: $as_echo "no" >&6; }
4494: PKG_CONFIG=""
4495: fi
4496: fi
4497:
4498: # SPLIT_PACKAGE_VERSION
4499: # ---------------------------
4500: # Split package version in four parts
4501:
4502:
4503:
4504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4505: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4506: if ${ac_cv_path_SED+:} false; then :
4507: $as_echo_n "(cached) " >&6
4508: else
4509: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4510: for ac_i in 1 2 3 4 5 6 7; do
4511: ac_script="$ac_script$as_nl$ac_script"
4512: done
4513: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4514: { ac_script=; unset ac_script;}
4515: if test -z "$SED"; then
4516: ac_path_SED_found=false
4517: # Loop through the user's path and test for each of PROGNAME-LIST
4518: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519: for as_dir in $PATH
4520: do
4521: IFS=$as_save_IFS
4522: test -z "$as_dir" && as_dir=.
4523: for ac_prog in sed gsed; do
4524: for ac_exec_ext in '' $ac_executable_extensions; do
4525: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4526: as_fn_executable_p "$ac_path_SED" || continue
4527: # Check for GNU ac_path_SED and select it if it is found.
4528: # Check for GNU $ac_path_SED
4529: case `"$ac_path_SED" --version 2>&1` in
4530: *GNU*)
4531: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4532: *)
4533: ac_count=0
4534: $as_echo_n 0123456789 >"conftest.in"
4535: while :
4536: do
4537: cat "conftest.in" "conftest.in" >"conftest.tmp"
4538: mv "conftest.tmp" "conftest.in"
4539: cp "conftest.in" "conftest.nl"
4540: $as_echo '' >> "conftest.nl"
4541: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4542: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4543: as_fn_arith $ac_count + 1 && ac_count=$as_val
4544: if test $ac_count -gt ${ac_path_SED_max-0}; then
4545: # Best one so far, save it but keep looking for a better one
4546: ac_cv_path_SED="$ac_path_SED"
4547: ac_path_SED_max=$ac_count
4548: fi
4549: # 10*(2^10) chars as input seems more than enough
4550: test $ac_count -gt 10 && break
4551: done
4552: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553: esac
4554:
4555: $ac_path_SED_found && break 3
4556: done
4557: done
4558: done
4559: IFS=$as_save_IFS
4560: if test -z "$ac_cv_path_SED"; then
4561: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4562: fi
4563: else
4564: ac_cv_path_SED=$SED
4565: fi
4566:
4567: fi
4568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4569: $as_echo "$ac_cv_path_SED" >&6; }
4570: SED="$ac_cv_path_SED"
4571: rm -f conftest.sed
4572:
4573:
4574:
4575: PACKAGE_VERSION_MAJOR=`echo "$PACKAGE_VERSION" | $SED 's/\([0-9]\+\).*/\1/'`
4576: PACKAGE_VERSION_MINOR=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.\([0-9]\+\).*/\1/'`
4577: PACKAGE_VERSION_BUILD=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.\([0-9]\+\).*/\1/'`
4578: PACKAGE_VERSION_REVIEW=`echo "$PACKAGE_VERSION" | $SED 's/[0-9]\+\.[0-9]\+\.[0-9]\+\(.*\)/\1/'`
4579:
4580:
4581:
4582:
4583:
4584:
4585:
4586: # =================================
4587: # check --enable-xxx & --with-xxx
4588: # =================================
4589:
4590:
4591: # ARG_WITH_SUBST(option, default, help)
4592: # -----------------------------------
4593: # Create a --with-$1 option with helptext, AC_SUBST($1) to $withval/default
4594:
4595:
4596: # ARG_WITH_SET(option, default, help)
4597: # -----------------------------------
4598: # Create a --with-$1 option with helptext, set a variable $1 to $withval/default
4599:
4600:
4601:
4602:
4603: # Check whether --with-random-device was given.
4604: if test "${with_random_device+set}" = set; then :
4605: withval=$with_random_device; random_device="$withval"
4606:
4607: else
4608: random_device="/dev/random"
4609:
4610:
4611: fi
4612:
4613:
4614:
4615: # Check whether --with-urandom-device was given.
4616: if test "${with_urandom_device+set}" = set; then :
4617: withval=$with_urandom_device; urandom_device="$withval"
4618:
4619: else
4620: urandom_device="/dev/urandom"
4621:
4622:
4623: fi
4624:
4625:
4626:
4627: # Check whether --with-strongswan-conf was given.
4628: if test "${with_strongswan_conf+set}" = set; then :
4629: withval=$with_strongswan_conf; strongswan_conf="$withval"
4630:
4631: else
4632: strongswan_conf="${sysconfdir}/strongswan.conf"
4633:
4634:
4635: fi
4636:
4637:
4638:
4639: # Check whether --with-resolv-conf was given.
4640: if test "${with_resolv_conf+set}" = set; then :
4641: withval=$with_resolv_conf; resolv_conf="$withval"
4642:
4643: else
4644: resolv_conf="${sysconfdir}/resolv.conf"
4645:
4646:
4647: fi
4648:
4649:
4650:
4651: # Check whether --with-piddir was given.
4652: if test "${with_piddir+set}" = set; then :
4653: withval=$with_piddir; piddir="$withval"
4654:
4655: else
4656: piddir="/var/run"
4657:
4658:
4659: fi
4660:
4661:
4662:
4663: # Check whether --with-ipsecdir was given.
4664: if test "${with_ipsecdir+set}" = set; then :
4665: withval=$with_ipsecdir; ipsecdir="$withval"
4666:
4667: else
4668: ipsecdir="${libexecdir%/}/ipsec"
4669:
4670:
4671: fi
4672:
4673:
4674:
4675: # Check whether --with-ipseclibdir was given.
4676: if test "${with_ipseclibdir+set}" = set; then :
4677: withval=$with_ipseclibdir; ipseclibdir="$withval"
4678:
4679: else
4680: ipseclibdir="${libdir%/}/ipsec"
4681:
4682:
4683: fi
4684:
4685:
4686:
4687: # Check whether --with-plugindir was given.
4688: if test "${with_plugindir+set}" = set; then :
4689: withval=$with_plugindir; plugindir="$withval"
4690:
4691: else
4692: plugindir="${ipseclibdir%/}/plugins"
4693:
4694:
4695: fi
4696:
4697:
4698:
4699: # Check whether --with-imcvdir was given.
4700: if test "${with_imcvdir+set}" = set; then :
4701: withval=$with_imcvdir; imcvdir="$withval"
4702:
4703: else
4704: imcvdir="${ipseclibdir%/}/imcvs"
4705:
4706:
4707: fi
4708:
4709:
4710:
4711: # Check whether --with-nm-ca-dir was given.
4712: if test "${with_nm_ca_dir+set}" = set; then :
4713: withval=$with_nm_ca_dir; nm_ca_dir="$withval"
4714:
4715: else
4716: nm_ca_dir="/usr/share/ca-certificates"
4717:
4718:
4719: fi
4720:
4721:
4722:
4723: # Check whether --with-swanctldir was given.
4724: if test "${with_swanctldir+set}" = set; then :
4725: withval=$with_swanctldir; swanctldir="$withval"
4726:
4727: else
4728: swanctldir="${sysconfdir}/swanctl"
4729:
4730:
4731: fi
4732:
4733:
4734:
4735: # Check whether --with-linux-headers was given.
4736: if test "${with_linux_headers+set}" = set; then :
4737: withval=$with_linux_headers; linux_headers="$withval"
4738:
4739: else
4740: linux_headers="\${top_srcdir}/src/include"
4741:
4742:
4743: fi
4744:
4745:
4746:
4747: # Check whether --with-routing-table was given.
4748: if test "${with_routing_table+set}" = set; then :
4749: withval=$with_routing_table; routing_table="$withval"
4750:
4751: else
4752: routing_table="220"
4753:
4754:
4755: fi
4756:
4757:
4758:
4759: # Check whether --with-routing-table-prio was given.
4760: if test "${with_routing_table_prio+set}" = set; then :
4761: withval=$with_routing_table_prio; routing_table_prio="$withval"
4762:
4763: else
4764: routing_table_prio="220"
4765:
4766:
4767: fi
4768:
4769:
4770:
4771: # Check whether --with-ipsec-script was given.
4772: if test "${with_ipsec_script+set}" = set; then :
4773: withval=$with_ipsec_script; ipsec_script="$withval"
4774:
4775: else
4776: ipsec_script="ipsec"
4777:
4778:
4779: fi
4780:
4781:
4782:
4783: # Check whether --with-fips-mode was given.
4784: if test "${with_fips_mode+set}" = set; then :
4785: withval=$with_fips_mode; fips_mode="$withval"
4786:
4787: else
4788: fips_mode="0"
4789:
4790:
4791: fi
4792:
4793:
4794:
4795: # Check whether --with-libfuzzer was given.
4796: if test "${with_libfuzzer+set}" = set; then :
4797: withval=$with_libfuzzer; libfuzzer="$withval"
4798:
4799: else
4800: libfuzzer=""
4801:
4802:
4803: fi
4804:
4805:
4806:
4807: # Check whether --with-capabilities was given.
4808: if test "${with_capabilities+set}" = set; then :
4809: withval=$with_capabilities; capabilities="$withval"
4810: else
4811: capabilities=no
4812:
4813: fi
4814:
4815:
4816:
4817: # Check whether --with-mpz_powm_sec was given.
4818: if test "${with_mpz_powm_sec+set}" = set; then :
4819: withval=$with_mpz_powm_sec; mpz_powm_sec="$withval"
4820: else
4821: mpz_powm_sec=yes
4822:
4823: fi
4824:
4825:
4826:
4827: # Check whether --with-dev-headers was given.
4828: if test "${with_dev_headers+set}" = set; then :
4829: withval=$with_dev_headers; dev_headers="$withval"
4830: else
4831: dev_headers=no
4832:
4833: fi
4834:
4835:
4836:
4837: # Check whether --with-printf-hooks was given.
4838: if test "${with_printf_hooks+set}" = set; then :
4839: withval=$with_printf_hooks; printf_hooks="$withval"
4840: else
4841: printf_hooks=auto
4842:
4843: fi
4844:
4845:
4846:
4847: # Check whether --with-rubygemdir was given.
4848: if test "${with_rubygemdir+set}" = set; then :
4849: withval=$with_rubygemdir; rubygemdir="$withval"
4850: else
4851: rubygemdir="gem environment gemdir"
4852:
4853: fi
4854:
4855:
4856:
4857: # Check whether --with-pythoneggdir was given.
4858: if test "${with_pythoneggdir+set}" = set; then :
4859: withval=$with_pythoneggdir; pythoneggdir="$withval"
4860: else
4861: pythoneggdir="main site-packages directory"
4862:
4863: fi
4864:
4865:
4866:
4867: if test -n "$PKG_CONFIG"; then
4868: systemdsystemunitdir_default=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4869: fi
4870:
4871: # Check whether --with-systemdsystemunitdir was given.
4872: if test "${with_systemdsystemunitdir+set}" = set; then :
4873: withval=$with_systemdsystemunitdir; systemdsystemunitdir="$withval"
4874: else
4875: systemdsystemunitdir=$systemdsystemunitdir_default
4876:
4877: fi
4878:
4879:
4880:
4881:
4882:
4883: # Check whether --with-dbuspolicydir was given.
4884: if test "${with_dbuspolicydir+set}" = set; then :
4885: withval=$with_dbuspolicydir; dbuspolicydir="$withval"
4886: else
4887:
4888: if test -n "$dbusdatadir"; then
4889: pkg_cv_dbusdatadir="$dbusdatadir"
4890: elif test -n "$PKG_CONFIG"; then
4891: if test -n "$PKG_CONFIG" && \
4892: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5
4893: ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5
4894: ac_status=$?
4895: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4896: test $ac_status = 0; }; then
4897: pkg_cv_dbusdatadir=`$PKG_CONFIG --variable="datadir" "dbus-1" 2>/dev/null`
4898: test "x$?" != "x0" && pkg_failed=yes
4899: else
4900: pkg_failed=yes
4901: fi
4902: else
4903: pkg_failed=untried
4904: fi
4905: dbusdatadir=$pkg_cv_dbusdatadir
4906:
4907: if test "x$dbusdatadir" = x""; then :
4908: dbusdatadir="${datarootdir}"
4909: fi
4910: dbuspolicydir="${dbusdatadir}/dbus-1/system.d"
4911:
4912: fi
4913:
4914:
4915:
4916:
4917: # Check whether --with-user was given.
4918: if test "${with_user+set}" = set; then :
4919: withval=$with_user;
4920: cat >>confdefs.h <<_ACEOF
4921: #define IPSEC_USER "$withval"
4922: _ACEOF
4923:
4924: ipsecuser="$withval"
4925:
4926: else
4927: ipsecuser="root"
4928:
4929:
4930: fi
4931:
4932:
4933:
4934: # Check whether --with-group was given.
4935: if test "${with_group+set}" = set; then :
4936: withval=$with_group;
4937: cat >>confdefs.h <<_ACEOF
4938: #define IPSEC_GROUP "$withval"
4939: _ACEOF
4940:
4941: ipsecgroup="$withval"
4942:
4943: else
4944: ipsecgroup="root"
4945:
4946:
4947: fi
4948:
4949:
4950:
4951: # Check whether --with-charon-udp-port was given.
4952: if test "${with_charon_udp_port+set}" = set; then :
4953: withval=$with_charon_udp_port;
4954: cat >>confdefs.h <<_ACEOF
4955: #define CHARON_UDP_PORT $withval
4956: _ACEOF
4957:
4958: charon_udp_port=$withval
4959:
4960: else
4961: charon_udp_port=500
4962:
4963:
4964: fi
4965:
4966:
4967:
4968: # Check whether --with-charon-natt-port was given.
4969: if test "${with_charon_natt_port+set}" = set; then :
4970: withval=$with_charon_natt_port;
4971: cat >>confdefs.h <<_ACEOF
4972: #define CHARON_NATT_PORT $withval
4973: _ACEOF
4974:
4975: charon_natt_port=$withval
4976:
4977: else
4978: charon_natt_port=4500
4979:
4980:
4981: fi
4982:
4983:
4984: { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured UDP ports ($charon_udp_port, $charon_natt_port)" >&5
4985: $as_echo_n "checking configured UDP ports ($charon_udp_port, $charon_natt_port)... " >&6; }
4986: if test x$charon_udp_port != x0 -a x$charon_udp_port = x$charon_natt_port; then
4987: as_fn_error $? "the ports have to be different" "$LINENO" 5
4988: else
4989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4990: $as_echo "ok" >&6; }
4991: fi
4992:
4993: # convert script name to uppercase
4994: ipsec_script_upper=`echo -n "$ipsec_script" | tr a-z A-Z`
4995:
4996:
4997:
4998: # ARG_ENABL_SET(option, help)
4999: # ---------------------------
5000: # Create a --enable-$1 option with helptext, set a variable $1 to true/false
5001: # All $1 are collected in the variable $disabled_by_default
5002:
5003:
5004: # ARG_DISBL_SET(option, help)
5005: # ---------------------------
5006: # Create a --disable-$1 option with helptext, set a variable $1 to true/false
5007: # All $1 are collected in the variable $enabled_by_default
5008:
5009:
5010:
5011: # crypto plugins
5012: # Check whether --enable-aes was given.
5013: if test "${enable_aes+set}" = set; then :
5014: enableval=$enable_aes; aes_given=true
5015: if test x$enableval = xyes; then
5016: aes=true
5017: else
5018: aes=false
5019: fi
5020: else
5021: aes=true
5022: aes_given=false
5023:
5024: fi
5025:
5026: enabled_by_default=${enabled_by_default}" aes"
5027:
5028: # Check whether --enable-af-alg was given.
5029: if test "${enable_af_alg+set}" = set; then :
5030: enableval=$enable_af_alg; af_alg_given=true
5031: if test x$enableval = xyes; then
5032: af_alg=true
5033: else
5034: af_alg=false
5035: fi
5036: else
5037: af_alg=false
5038: af_alg_given=false
5039:
5040: fi
5041:
5042: disabled_by_default=${disabled_by_default}" af_alg"
5043:
5044: # Check whether --enable-bliss was given.
5045: if test "${enable_bliss+set}" = set; then :
5046: enableval=$enable_bliss; bliss_given=true
5047: if test x$enableval = xyes; then
5048: bliss=true
5049: else
5050: bliss=false
5051: fi
5052: else
5053: bliss=false
5054: bliss_given=false
5055:
5056: fi
5057:
5058: disabled_by_default=${disabled_by_default}" bliss"
5059:
5060: # Check whether --enable-blowfish was given.
5061: if test "${enable_blowfish+set}" = set; then :
5062: enableval=$enable_blowfish; blowfish_given=true
5063: if test x$enableval = xyes; then
5064: blowfish=true
5065: else
5066: blowfish=false
5067: fi
5068: else
5069: blowfish=false
5070: blowfish_given=false
5071:
5072: fi
5073:
5074: disabled_by_default=${disabled_by_default}" blowfish"
5075:
5076: # Check whether --enable-botan was given.
5077: if test "${enable_botan+set}" = set; then :
5078: enableval=$enable_botan; botan_given=true
5079: if test x$enableval = xyes; then
5080: botan=true
5081: else
5082: botan=false
5083: fi
5084: else
5085: botan=false
5086: botan_given=false
5087:
5088: fi
5089:
5090: disabled_by_default=${disabled_by_default}" botan"
5091:
5092: # Check whether --enable-ccm was given.
5093: if test "${enable_ccm+set}" = set; then :
5094: enableval=$enable_ccm; ccm_given=true
5095: if test x$enableval = xyes; then
5096: ccm=true
5097: else
5098: ccm=false
5099: fi
5100: else
5101: ccm=false
5102: ccm_given=false
5103:
5104: fi
5105:
5106: disabled_by_default=${disabled_by_default}" ccm"
5107:
5108: # Check whether --enable-chapoly was given.
5109: if test "${enable_chapoly+set}" = set; then :
5110: enableval=$enable_chapoly; chapoly_given=true
5111: if test x$enableval = xyes; then
5112: chapoly=true
5113: else
5114: chapoly=false
5115: fi
5116: else
5117: chapoly=false
5118: chapoly_given=false
5119:
5120: fi
5121:
5122: disabled_by_default=${disabled_by_default}" chapoly"
5123:
5124: # Check whether --enable-cmac was given.
5125: if test "${enable_cmac+set}" = set; then :
5126: enableval=$enable_cmac; cmac_given=true
5127: if test x$enableval = xyes; then
5128: cmac=true
5129: else
5130: cmac=false
5131: fi
5132: else
5133: cmac=true
5134: cmac_given=false
5135:
5136: fi
5137:
5138: enabled_by_default=${enabled_by_default}" cmac"
5139:
5140: # Check whether --enable-ctr was given.
5141: if test "${enable_ctr+set}" = set; then :
5142: enableval=$enable_ctr; ctr_given=true
5143: if test x$enableval = xyes; then
5144: ctr=true
5145: else
5146: ctr=false
5147: fi
5148: else
5149: ctr=false
5150: ctr_given=false
5151:
5152: fi
5153:
5154: disabled_by_default=${disabled_by_default}" ctr"
5155:
5156: # Check whether --enable-des was given.
5157: if test "${enable_des+set}" = set; then :
5158: enableval=$enable_des; des_given=true
5159: if test x$enableval = xyes; then
5160: des=true
5161: else
5162: des=false
5163: fi
5164: else
5165: des=true
5166: des_given=false
5167:
5168: fi
5169:
5170: enabled_by_default=${enabled_by_default}" des"
5171:
5172: # Check whether --enable-drbg was given.
5173: if test "${enable_drbg+set}" = set; then :
5174: enableval=$enable_drbg; drbg_given=true
5175: if test x$enableval = xyes; then
5176: drbg=true
5177: else
5178: drbg=false
5179: fi
5180: else
5181: drbg=true
5182: drbg_given=false
5183:
5184: fi
5185:
5186: enabled_by_default=${enabled_by_default}" drbg"
5187:
5188: # Check whether --enable-fips-prf was given.
5189: if test "${enable_fips_prf+set}" = set; then :
5190: enableval=$enable_fips_prf; fips_prf_given=true
5191: if test x$enableval = xyes; then
5192: fips_prf=true
5193: else
5194: fips_prf=false
5195: fi
5196: else
5197: fips_prf=true
5198: fips_prf_given=false
5199:
5200: fi
5201:
5202: enabled_by_default=${enabled_by_default}" fips_prf"
5203:
5204: # Check whether --enable-gcm was given.
5205: if test "${enable_gcm+set}" = set; then :
5206: enableval=$enable_gcm; gcm_given=true
5207: if test x$enableval = xyes; then
5208: gcm=true
5209: else
5210: gcm=false
5211: fi
5212: else
5213: gcm=false
5214: gcm_given=false
5215:
5216: fi
5217:
5218: disabled_by_default=${disabled_by_default}" gcm"
5219:
5220: # Check whether --enable-gcrypt was given.
5221: if test "${enable_gcrypt+set}" = set; then :
5222: enableval=$enable_gcrypt; gcrypt_given=true
5223: if test x$enableval = xyes; then
5224: gcrypt=true
5225: else
5226: gcrypt=false
5227: fi
5228: else
5229: gcrypt=false
5230: gcrypt_given=false
5231:
5232: fi
5233:
5234: disabled_by_default=${disabled_by_default}" gcrypt"
5235:
5236: # Check whether --enable-gmp was given.
5237: if test "${enable_gmp+set}" = set; then :
5238: enableval=$enable_gmp; gmp_given=true
5239: if test x$enableval = xyes; then
5240: gmp=true
5241: else
5242: gmp=false
5243: fi
5244: else
5245: gmp=true
5246: gmp_given=false
5247:
5248: fi
5249:
5250: enabled_by_default=${enabled_by_default}" gmp"
5251:
5252: # Check whether --enable-curve25519 was given.
5253: if test "${enable_curve25519+set}" = set; then :
5254: enableval=$enable_curve25519; curve25519_given=true
5255: if test x$enableval = xyes; then
5256: curve25519=true
5257: else
5258: curve25519=false
5259: fi
5260: else
5261: curve25519=true
5262: curve25519_given=false
5263:
5264: fi
5265:
5266: enabled_by_default=${enabled_by_default}" curve25519"
5267:
5268: # Check whether --enable-hmac was given.
5269: if test "${enable_hmac+set}" = set; then :
5270: enableval=$enable_hmac; hmac_given=true
5271: if test x$enableval = xyes; then
5272: hmac=true
5273: else
5274: hmac=false
5275: fi
5276: else
5277: hmac=true
5278: hmac_given=false
5279:
5280: fi
5281:
5282: enabled_by_default=${enabled_by_default}" hmac"
5283:
5284: # Check whether --enable-md4 was given.
5285: if test "${enable_md4+set}" = set; then :
5286: enableval=$enable_md4; md4_given=true
5287: if test x$enableval = xyes; then
5288: md4=true
5289: else
5290: md4=false
5291: fi
5292: else
5293: md4=false
5294: md4_given=false
5295:
5296: fi
5297:
5298: disabled_by_default=${disabled_by_default}" md4"
5299:
5300: # Check whether --enable-md5 was given.
5301: if test "${enable_md5+set}" = set; then :
5302: enableval=$enable_md5; md5_given=true
5303: if test x$enableval = xyes; then
5304: md5=true
5305: else
5306: md5=false
5307: fi
5308: else
5309: md5=true
5310: md5_given=false
5311:
5312: fi
5313:
5314: enabled_by_default=${enabled_by_default}" md5"
5315:
5316: # Check whether --enable-mgf1 was given.
5317: if test "${enable_mgf1+set}" = set; then :
5318: enableval=$enable_mgf1; mgf1_given=true
5319: if test x$enableval = xyes; then
5320: mgf1=true
5321: else
5322: mgf1=false
5323: fi
5324: else
5325: mgf1=false
5326: mgf1_given=false
5327:
5328: fi
5329:
5330: disabled_by_default=${disabled_by_default}" mgf1"
5331:
5332: # Check whether --enable-newhope was given.
5333: if test "${enable_newhope+set}" = set; then :
5334: enableval=$enable_newhope; newhope_given=true
5335: if test x$enableval = xyes; then
5336: newhope=true
5337: else
5338: newhope=false
5339: fi
5340: else
5341: newhope=false
5342: newhope_given=false
5343:
5344: fi
5345:
5346: disabled_by_default=${disabled_by_default}" newhope"
5347:
5348: # Check whether --enable-nonce was given.
5349: if test "${enable_nonce+set}" = set; then :
5350: enableval=$enable_nonce; nonce_given=true
5351: if test x$enableval = xyes; then
5352: nonce=true
5353: else
5354: nonce=false
5355: fi
5356: else
5357: nonce=true
5358: nonce_given=false
5359:
5360: fi
5361:
5362: enabled_by_default=${enabled_by_default}" nonce"
5363:
5364: # Check whether --enable-ntru was given.
5365: if test "${enable_ntru+set}" = set; then :
5366: enableval=$enable_ntru; ntru_given=true
5367: if test x$enableval = xyes; then
5368: ntru=true
5369: else
5370: ntru=false
5371: fi
5372: else
5373: ntru=false
5374: ntru_given=false
5375:
5376: fi
5377:
5378: disabled_by_default=${disabled_by_default}" ntru"
5379:
5380: # Check whether --enable-openssl was given.
5381: if test "${enable_openssl+set}" = set; then :
5382: enableval=$enable_openssl; openssl_given=true
5383: if test x$enableval = xyes; then
5384: openssl=true
5385: else
5386: openssl=false
5387: fi
5388: else
5389: openssl=false
5390: openssl_given=false
5391:
5392: fi
5393:
5394: disabled_by_default=${disabled_by_default}" openssl"
5395:
5396: # Check whether --enable-wolfssl was given.
5397: if test "${enable_wolfssl+set}" = set; then :
5398: enableval=$enable_wolfssl; wolfssl_given=true
5399: if test x$enableval = xyes; then
5400: wolfssl=true
5401: else
5402: wolfssl=false
5403: fi
5404: else
5405: wolfssl=false
5406: wolfssl_given=false
5407:
5408: fi
5409:
5410: disabled_by_default=${disabled_by_default}" wolfssl"
5411:
5412: # Check whether --enable-padlock was given.
5413: if test "${enable_padlock+set}" = set; then :
5414: enableval=$enable_padlock; padlock_given=true
5415: if test x$enableval = xyes; then
5416: padlock=true
5417: else
5418: padlock=false
5419: fi
5420: else
5421: padlock=false
5422: padlock_given=false
5423:
5424: fi
5425:
5426: disabled_by_default=${disabled_by_default}" padlock"
5427:
5428: # Check whether --enable-random was given.
5429: if test "${enable_random+set}" = set; then :
5430: enableval=$enable_random; random_given=true
5431: if test x$enableval = xyes; then
5432: random=true
5433: else
5434: random=false
5435: fi
5436: else
5437: random=true
5438: random_given=false
5439:
5440: fi
5441:
5442: enabled_by_default=${enabled_by_default}" random"
5443:
5444: # Check whether --enable-rc2 was given.
5445: if test "${enable_rc2+set}" = set; then :
5446: enableval=$enable_rc2; rc2_given=true
5447: if test x$enableval = xyes; then
5448: rc2=true
5449: else
5450: rc2=false
5451: fi
5452: else
5453: rc2=true
5454: rc2_given=false
5455:
5456: fi
5457:
5458: enabled_by_default=${enabled_by_default}" rc2"
5459:
5460: # Check whether --enable-rdrand was given.
5461: if test "${enable_rdrand+set}" = set; then :
5462: enableval=$enable_rdrand; rdrand_given=true
5463: if test x$enableval = xyes; then
5464: rdrand=true
5465: else
5466: rdrand=false
5467: fi
5468: else
5469: rdrand=false
5470: rdrand_given=false
5471:
5472: fi
5473:
5474: disabled_by_default=${disabled_by_default}" rdrand"
5475:
5476: # Check whether --enable-aesni was given.
5477: if test "${enable_aesni+set}" = set; then :
5478: enableval=$enable_aesni; aesni_given=true
5479: if test x$enableval = xyes; then
5480: aesni=true
5481: else
5482: aesni=false
5483: fi
5484: else
5485: aesni=false
5486: aesni_given=false
5487:
5488: fi
5489:
5490: disabled_by_default=${disabled_by_default}" aesni"
5491:
5492: # Check whether --enable-sha1 was given.
5493: if test "${enable_sha1+set}" = set; then :
5494: enableval=$enable_sha1; sha1_given=true
5495: if test x$enableval = xyes; then
5496: sha1=true
5497: else
5498: sha1=false
5499: fi
5500: else
5501: sha1=true
5502: sha1_given=false
5503:
5504: fi
5505:
5506: enabled_by_default=${enabled_by_default}" sha1"
5507:
5508: # Check whether --enable-sha2 was given.
5509: if test "${enable_sha2+set}" = set; then :
5510: enableval=$enable_sha2; sha2_given=true
5511: if test x$enableval = xyes; then
5512: sha2=true
5513: else
5514: sha2=false
5515: fi
5516: else
5517: sha2=true
5518: sha2_given=false
5519:
5520: fi
5521:
5522: enabled_by_default=${enabled_by_default}" sha2"
5523:
5524: # Check whether --enable-sha3 was given.
5525: if test "${enable_sha3+set}" = set; then :
5526: enableval=$enable_sha3; sha3_given=true
5527: if test x$enableval = xyes; then
5528: sha3=true
5529: else
5530: sha3=false
5531: fi
5532: else
5533: sha3=false
5534: sha3_given=false
5535:
5536: fi
5537:
5538: disabled_by_default=${disabled_by_default}" sha3"
5539:
5540: # Check whether --enable-xcbc was given.
5541: if test "${enable_xcbc+set}" = set; then :
5542: enableval=$enable_xcbc; xcbc_given=true
5543: if test x$enableval = xyes; then
5544: xcbc=true
5545: else
5546: xcbc=false
5547: fi
5548: else
5549: xcbc=true
5550: xcbc_given=false
5551:
5552: fi
5553:
5554: enabled_by_default=${enabled_by_default}" xcbc"
5555:
5556: # encoding/decoding plugins
5557: # Check whether --enable-dnskey was given.
5558: if test "${enable_dnskey+set}" = set; then :
5559: enableval=$enable_dnskey; dnskey_given=true
5560: if test x$enableval = xyes; then
5561: dnskey=true
5562: else
5563: dnskey=false
5564: fi
5565: else
5566: dnskey=true
5567: dnskey_given=false
5568:
5569: fi
5570:
5571: enabled_by_default=${enabled_by_default}" dnskey"
5572:
5573: # Check whether --enable-pem was given.
5574: if test "${enable_pem+set}" = set; then :
5575: enableval=$enable_pem; pem_given=true
5576: if test x$enableval = xyes; then
5577: pem=true
5578: else
5579: pem=false
5580: fi
5581: else
5582: pem=true
5583: pem_given=false
5584:
5585: fi
5586:
5587: enabled_by_default=${enabled_by_default}" pem"
5588:
5589: # Check whether --enable-pgp was given.
5590: if test "${enable_pgp+set}" = set; then :
5591: enableval=$enable_pgp; pgp_given=true
5592: if test x$enableval = xyes; then
5593: pgp=true
5594: else
5595: pgp=false
5596: fi
5597: else
5598: pgp=true
5599: pgp_given=false
5600:
5601: fi
5602:
5603: enabled_by_default=${enabled_by_default}" pgp"
5604:
5605: # Check whether --enable-pkcs1 was given.
5606: if test "${enable_pkcs1+set}" = set; then :
5607: enableval=$enable_pkcs1; pkcs1_given=true
5608: if test x$enableval = xyes; then
5609: pkcs1=true
5610: else
5611: pkcs1=false
5612: fi
5613: else
5614: pkcs1=true
5615: pkcs1_given=false
5616:
5617: fi
5618:
5619: enabled_by_default=${enabled_by_default}" pkcs1"
5620:
5621: # Check whether --enable-pkcs7 was given.
5622: if test "${enable_pkcs7+set}" = set; then :
5623: enableval=$enable_pkcs7; pkcs7_given=true
5624: if test x$enableval = xyes; then
5625: pkcs7=true
5626: else
5627: pkcs7=false
5628: fi
5629: else
5630: pkcs7=true
5631: pkcs7_given=false
5632:
5633: fi
5634:
5635: enabled_by_default=${enabled_by_default}" pkcs7"
5636:
5637: # Check whether --enable-pkcs8 was given.
5638: if test "${enable_pkcs8+set}" = set; then :
5639: enableval=$enable_pkcs8; pkcs8_given=true
5640: if test x$enableval = xyes; then
5641: pkcs8=true
5642: else
5643: pkcs8=false
5644: fi
5645: else
5646: pkcs8=true
5647: pkcs8_given=false
5648:
5649: fi
5650:
5651: enabled_by_default=${enabled_by_default}" pkcs8"
5652:
5653: # Check whether --enable-pkcs12 was given.
5654: if test "${enable_pkcs12+set}" = set; then :
5655: enableval=$enable_pkcs12; pkcs12_given=true
5656: if test x$enableval = xyes; then
5657: pkcs12=true
5658: else
5659: pkcs12=false
5660: fi
5661: else
5662: pkcs12=true
5663: pkcs12_given=false
5664:
5665: fi
5666:
5667: enabled_by_default=${enabled_by_default}" pkcs12"
5668:
5669: # Check whether --enable-pubkey was given.
5670: if test "${enable_pubkey+set}" = set; then :
5671: enableval=$enable_pubkey; pubkey_given=true
5672: if test x$enableval = xyes; then
5673: pubkey=true
5674: else
5675: pubkey=false
5676: fi
5677: else
5678: pubkey=true
5679: pubkey_given=false
5680:
5681: fi
5682:
5683: enabled_by_default=${enabled_by_default}" pubkey"
5684:
5685: # Check whether --enable-sshkey was given.
5686: if test "${enable_sshkey+set}" = set; then :
5687: enableval=$enable_sshkey; sshkey_given=true
5688: if test x$enableval = xyes; then
5689: sshkey=true
5690: else
5691: sshkey=false
5692: fi
5693: else
5694: sshkey=true
5695: sshkey_given=false
5696:
5697: fi
5698:
5699: enabled_by_default=${enabled_by_default}" sshkey"
5700:
5701: # Check whether --enable-x509 was given.
5702: if test "${enable_x509+set}" = set; then :
5703: enableval=$enable_x509; x509_given=true
5704: if test x$enableval = xyes; then
5705: x509=true
5706: else
5707: x509=false
5708: fi
5709: else
5710: x509=true
5711: x509_given=false
5712:
5713: fi
5714:
5715: enabled_by_default=${enabled_by_default}" x509"
5716:
5717: # fetcher/resolver plugins
5718: # Check whether --enable-curl was given.
5719: if test "${enable_curl+set}" = set; then :
5720: enableval=$enable_curl; curl_given=true
5721: if test x$enableval = xyes; then
5722: curl=true
5723: else
5724: curl=false
5725: fi
5726: else
5727: curl=false
5728: curl_given=false
5729:
5730: fi
5731:
5732: disabled_by_default=${disabled_by_default}" curl"
5733:
5734: # Check whether --enable-files was given.
5735: if test "${enable_files+set}" = set; then :
5736: enableval=$enable_files; files_given=true
5737: if test x$enableval = xyes; then
5738: files=true
5739: else
5740: files=false
5741: fi
5742: else
5743: files=false
5744: files_given=false
5745:
5746: fi
5747:
5748: disabled_by_default=${disabled_by_default}" files"
5749:
5750: # Check whether --enable-ldap was given.
5751: if test "${enable_ldap+set}" = set; then :
5752: enableval=$enable_ldap; ldap_given=true
5753: if test x$enableval = xyes; then
5754: ldap=true
5755: else
5756: ldap=false
5757: fi
5758: else
5759: ldap=false
5760: ldap_given=false
5761:
5762: fi
5763:
5764: disabled_by_default=${disabled_by_default}" ldap"
5765:
5766: # Check whether --enable-soup was given.
5767: if test "${enable_soup+set}" = set; then :
5768: enableval=$enable_soup; soup_given=true
5769: if test x$enableval = xyes; then
5770: soup=true
5771: else
5772: soup=false
5773: fi
5774: else
5775: soup=false
5776: soup_given=false
5777:
5778: fi
5779:
5780: disabled_by_default=${disabled_by_default}" soup"
5781:
5782: # Check whether --enable-unbound was given.
5783: if test "${enable_unbound+set}" = set; then :
5784: enableval=$enable_unbound; unbound_given=true
5785: if test x$enableval = xyes; then
5786: unbound=true
5787: else
5788: unbound=false
5789: fi
5790: else
5791: unbound=false
5792: unbound_given=false
5793:
5794: fi
5795:
5796: disabled_by_default=${disabled_by_default}" unbound"
5797:
5798: # Check whether --enable-winhttp was given.
5799: if test "${enable_winhttp+set}" = set; then :
5800: enableval=$enable_winhttp; winhttp_given=true
5801: if test x$enableval = xyes; then
5802: winhttp=true
5803: else
5804: winhttp=false
5805: fi
5806: else
5807: winhttp=false
5808: winhttp_given=false
5809:
5810: fi
5811:
5812: disabled_by_default=${disabled_by_default}" winhttp"
5813:
5814: # database plugins
5815: # Check whether --enable-mysql was given.
5816: if test "${enable_mysql+set}" = set; then :
5817: enableval=$enable_mysql; mysql_given=true
5818: if test x$enableval = xyes; then
5819: mysql=true
5820: else
5821: mysql=false
5822: fi
5823: else
5824: mysql=false
5825: mysql_given=false
5826:
5827: fi
5828:
5829: disabled_by_default=${disabled_by_default}" mysql"
5830:
5831: # Check whether --enable-sqlite was given.
5832: if test "${enable_sqlite+set}" = set; then :
5833: enableval=$enable_sqlite; sqlite_given=true
5834: if test x$enableval = xyes; then
5835: sqlite=true
5836: else
5837: sqlite=false
5838: fi
5839: else
5840: sqlite=false
5841: sqlite_given=false
5842:
5843: fi
5844:
5845: disabled_by_default=${disabled_by_default}" sqlite"
5846:
5847: # authentication/credential plugins
5848: # Check whether --enable-addrblock was given.
5849: if test "${enable_addrblock+set}" = set; then :
5850: enableval=$enable_addrblock; addrblock_given=true
5851: if test x$enableval = xyes; then
5852: addrblock=true
5853: else
5854: addrblock=false
5855: fi
5856: else
5857: addrblock=false
5858: addrblock_given=false
5859:
5860: fi
5861:
5862: disabled_by_default=${disabled_by_default}" addrblock"
5863:
5864: # Check whether --enable-acert was given.
5865: if test "${enable_acert+set}" = set; then :
5866: enableval=$enable_acert; acert_given=true
5867: if test x$enableval = xyes; then
5868: acert=true
5869: else
5870: acert=false
5871: fi
5872: else
5873: acert=false
5874: acert_given=false
5875:
5876: fi
5877:
5878: disabled_by_default=${disabled_by_default}" acert"
5879:
5880: # Check whether --enable-agent was given.
5881: if test "${enable_agent+set}" = set; then :
5882: enableval=$enable_agent; agent_given=true
5883: if test x$enableval = xyes; then
5884: agent=true
5885: else
5886: agent=false
5887: fi
5888: else
5889: agent=false
5890: agent_given=false
5891:
5892: fi
5893:
5894: disabled_by_default=${disabled_by_default}" agent"
5895:
5896: # Check whether --enable-constraints was given.
5897: if test "${enable_constraints+set}" = set; then :
5898: enableval=$enable_constraints; constraints_given=true
5899: if test x$enableval = xyes; then
5900: constraints=true
5901: else
5902: constraints=false
5903: fi
5904: else
5905: constraints=true
5906: constraints_given=false
5907:
5908: fi
5909:
5910: enabled_by_default=${enabled_by_default}" constraints"
5911:
5912: # Check whether --enable-coupling was given.
5913: if test "${enable_coupling+set}" = set; then :
5914: enableval=$enable_coupling; coupling_given=true
5915: if test x$enableval = xyes; then
5916: coupling=true
5917: else
5918: coupling=false
5919: fi
5920: else
5921: coupling=false
5922: coupling_given=false
5923:
5924: fi
5925:
5926: disabled_by_default=${disabled_by_default}" coupling"
5927:
5928: # Check whether --enable-dnscert was given.
5929: if test "${enable_dnscert+set}" = set; then :
5930: enableval=$enable_dnscert; dnscert_given=true
5931: if test x$enableval = xyes; then
5932: dnscert=true
5933: else
5934: dnscert=false
5935: fi
5936: else
5937: dnscert=false
5938: dnscert_given=false
5939:
5940: fi
5941:
5942: disabled_by_default=${disabled_by_default}" dnscert"
5943:
5944: # Check whether --enable-eap-sim was given.
5945: if test "${enable_eap_sim+set}" = set; then :
5946: enableval=$enable_eap_sim; eap_sim_given=true
5947: if test x$enableval = xyes; then
5948: eap_sim=true
5949: else
5950: eap_sim=false
5951: fi
5952: else
5953: eap_sim=false
5954: eap_sim_given=false
5955:
5956: fi
5957:
5958: disabled_by_default=${disabled_by_default}" eap_sim"
5959:
5960: # Check whether --enable-eap-sim-file was given.
5961: if test "${enable_eap_sim_file+set}" = set; then :
5962: enableval=$enable_eap_sim_file; eap_sim_file_given=true
5963: if test x$enableval = xyes; then
5964: eap_sim_file=true
5965: else
5966: eap_sim_file=false
5967: fi
5968: else
5969: eap_sim_file=false
5970: eap_sim_file_given=false
5971:
5972: fi
5973:
5974: disabled_by_default=${disabled_by_default}" eap_sim_file"
5975:
5976: # Check whether --enable-eap-sim-pcsc was given.
5977: if test "${enable_eap_sim_pcsc+set}" = set; then :
5978: enableval=$enable_eap_sim_pcsc; eap_sim_pcsc_given=true
5979: if test x$enableval = xyes; then
5980: eap_sim_pcsc=true
5981: else
5982: eap_sim_pcsc=false
5983: fi
5984: else
5985: eap_sim_pcsc=false
5986: eap_sim_pcsc_given=false
5987:
5988: fi
5989:
5990: disabled_by_default=${disabled_by_default}" eap_sim_pcsc"
5991:
5992: # Check whether --enable-eap-aka was given.
5993: if test "${enable_eap_aka+set}" = set; then :
5994: enableval=$enable_eap_aka; eap_aka_given=true
5995: if test x$enableval = xyes; then
5996: eap_aka=true
5997: else
5998: eap_aka=false
5999: fi
6000: else
6001: eap_aka=false
6002: eap_aka_given=false
6003:
6004: fi
6005:
6006: disabled_by_default=${disabled_by_default}" eap_aka"
6007:
6008: # Check whether --enable-eap-aka-3gpp was given.
6009: if test "${enable_eap_aka_3gpp+set}" = set; then :
6010: enableval=$enable_eap_aka_3gpp; eap_aka_3gpp_given=true
6011: if test x$enableval = xyes; then
6012: eap_aka_3gpp=true
6013: else
6014: eap_aka_3gpp=false
6015: fi
6016: else
6017: eap_aka_3gpp=false
6018: eap_aka_3gpp_given=false
6019:
6020: fi
6021:
6022: disabled_by_default=${disabled_by_default}" eap_aka_3gpp"
6023:
6024: # Check whether --enable-eap-aka-3gpp2 was given.
6025: if test "${enable_eap_aka_3gpp2+set}" = set; then :
6026: enableval=$enable_eap_aka_3gpp2; eap_aka_3gpp2_given=true
6027: if test x$enableval = xyes; then
6028: eap_aka_3gpp2=true
6029: else
6030: eap_aka_3gpp2=false
6031: fi
6032: else
6033: eap_aka_3gpp2=false
6034: eap_aka_3gpp2_given=false
6035:
6036: fi
6037:
6038: disabled_by_default=${disabled_by_default}" eap_aka_3gpp2"
6039:
6040: # Check whether --enable-eap-simaka-sql was given.
6041: if test "${enable_eap_simaka_sql+set}" = set; then :
6042: enableval=$enable_eap_simaka_sql; eap_simaka_sql_given=true
6043: if test x$enableval = xyes; then
6044: eap_simaka_sql=true
6045: else
6046: eap_simaka_sql=false
6047: fi
6048: else
6049: eap_simaka_sql=false
6050: eap_simaka_sql_given=false
6051:
6052: fi
6053:
6054: disabled_by_default=${disabled_by_default}" eap_simaka_sql"
6055:
6056: # Check whether --enable-eap-simaka-pseudonym was given.
6057: if test "${enable_eap_simaka_pseudonym+set}" = set; then :
6058: enableval=$enable_eap_simaka_pseudonym; eap_simaka_pseudonym_given=true
6059: if test x$enableval = xyes; then
6060: eap_simaka_pseudonym=true
6061: else
6062: eap_simaka_pseudonym=false
6063: fi
6064: else
6065: eap_simaka_pseudonym=false
6066: eap_simaka_pseudonym_given=false
6067:
6068: fi
6069:
6070: disabled_by_default=${disabled_by_default}" eap_simaka_pseudonym"
6071:
6072: # Check whether --enable-eap-simaka-reauth was given.
6073: if test "${enable_eap_simaka_reauth+set}" = set; then :
6074: enableval=$enable_eap_simaka_reauth; eap_simaka_reauth_given=true
6075: if test x$enableval = xyes; then
6076: eap_simaka_reauth=true
6077: else
6078: eap_simaka_reauth=false
6079: fi
6080: else
6081: eap_simaka_reauth=false
6082: eap_simaka_reauth_given=false
6083:
6084: fi
6085:
6086: disabled_by_default=${disabled_by_default}" eap_simaka_reauth"
6087:
6088: # Check whether --enable-eap-identity was given.
6089: if test "${enable_eap_identity+set}" = set; then :
6090: enableval=$enable_eap_identity; eap_identity_given=true
6091: if test x$enableval = xyes; then
6092: eap_identity=true
6093: else
6094: eap_identity=false
6095: fi
6096: else
6097: eap_identity=false
6098: eap_identity_given=false
6099:
6100: fi
6101:
6102: disabled_by_default=${disabled_by_default}" eap_identity"
6103:
6104: # Check whether --enable-eap-md5 was given.
6105: if test "${enable_eap_md5+set}" = set; then :
6106: enableval=$enable_eap_md5; eap_md5_given=true
6107: if test x$enableval = xyes; then
6108: eap_md5=true
6109: else
6110: eap_md5=false
6111: fi
6112: else
6113: eap_md5=false
6114: eap_md5_given=false
6115:
6116: fi
6117:
6118: disabled_by_default=${disabled_by_default}" eap_md5"
6119:
6120: # Check whether --enable-eap-gtc was given.
6121: if test "${enable_eap_gtc+set}" = set; then :
6122: enableval=$enable_eap_gtc; eap_gtc_given=true
6123: if test x$enableval = xyes; then
6124: eap_gtc=true
6125: else
6126: eap_gtc=false
6127: fi
6128: else
6129: eap_gtc=false
6130: eap_gtc_given=false
6131:
6132: fi
6133:
6134: disabled_by_default=${disabled_by_default}" eap_gtc"
6135:
6136: # Check whether --enable-eap-mschapv2 was given.
6137: if test "${enable_eap_mschapv2+set}" = set; then :
6138: enableval=$enable_eap_mschapv2; eap_mschapv2_given=true
6139: if test x$enableval = xyes; then
6140: eap_mschapv2=true
6141: else
6142: eap_mschapv2=false
6143: fi
6144: else
6145: eap_mschapv2=false
6146: eap_mschapv2_given=false
6147:
6148: fi
6149:
6150: disabled_by_default=${disabled_by_default}" eap_mschapv2"
6151:
6152: # Check whether --enable-eap-tls was given.
6153: if test "${enable_eap_tls+set}" = set; then :
6154: enableval=$enable_eap_tls; eap_tls_given=true
6155: if test x$enableval = xyes; then
6156: eap_tls=true
6157: else
6158: eap_tls=false
6159: fi
6160: else
6161: eap_tls=false
6162: eap_tls_given=false
6163:
6164: fi
6165:
6166: disabled_by_default=${disabled_by_default}" eap_tls"
6167:
6168: # Check whether --enable-eap-ttls was given.
6169: if test "${enable_eap_ttls+set}" = set; then :
6170: enableval=$enable_eap_ttls; eap_ttls_given=true
6171: if test x$enableval = xyes; then
6172: eap_ttls=true
6173: else
6174: eap_ttls=false
6175: fi
6176: else
6177: eap_ttls=false
6178: eap_ttls_given=false
6179:
6180: fi
6181:
6182: disabled_by_default=${disabled_by_default}" eap_ttls"
6183:
6184: # Check whether --enable-eap-peap was given.
6185: if test "${enable_eap_peap+set}" = set; then :
6186: enableval=$enable_eap_peap; eap_peap_given=true
6187: if test x$enableval = xyes; then
6188: eap_peap=true
6189: else
6190: eap_peap=false
6191: fi
6192: else
6193: eap_peap=false
6194: eap_peap_given=false
6195:
6196: fi
6197:
6198: disabled_by_default=${disabled_by_default}" eap_peap"
6199:
6200: # Check whether --enable-eap-tnc was given.
6201: if test "${enable_eap_tnc+set}" = set; then :
6202: enableval=$enable_eap_tnc; eap_tnc_given=true
6203: if test x$enableval = xyes; then
6204: eap_tnc=true
6205: else
6206: eap_tnc=false
6207: fi
6208: else
6209: eap_tnc=false
6210: eap_tnc_given=false
6211:
6212: fi
6213:
6214: disabled_by_default=${disabled_by_default}" eap_tnc"
6215:
6216: # Check whether --enable-eap-dynamic was given.
6217: if test "${enable_eap_dynamic+set}" = set; then :
6218: enableval=$enable_eap_dynamic; eap_dynamic_given=true
6219: if test x$enableval = xyes; then
6220: eap_dynamic=true
6221: else
6222: eap_dynamic=false
6223: fi
6224: else
6225: eap_dynamic=false
6226: eap_dynamic_given=false
6227:
6228: fi
6229:
6230: disabled_by_default=${disabled_by_default}" eap_dynamic"
6231:
6232: # Check whether --enable-eap-radius was given.
6233: if test "${enable_eap_radius+set}" = set; then :
6234: enableval=$enable_eap_radius; eap_radius_given=true
6235: if test x$enableval = xyes; then
6236: eap_radius=true
6237: else
6238: eap_radius=false
6239: fi
6240: else
6241: eap_radius=false
6242: eap_radius_given=false
6243:
6244: fi
6245:
6246: disabled_by_default=${disabled_by_default}" eap_radius"
6247:
6248: # Check whether --enable-ext-auth was given.
6249: if test "${enable_ext_auth+set}" = set; then :
6250: enableval=$enable_ext_auth; ext_auth_given=true
6251: if test x$enableval = xyes; then
6252: ext_auth=true
6253: else
6254: ext_auth=false
6255: fi
6256: else
6257: ext_auth=false
6258: ext_auth_given=false
6259:
6260: fi
6261:
6262: disabled_by_default=${disabled_by_default}" ext_auth"
6263:
6264: # Check whether --enable-ipseckey was given.
6265: if test "${enable_ipseckey+set}" = set; then :
6266: enableval=$enable_ipseckey; ipseckey_given=true
6267: if test x$enableval = xyes; then
6268: ipseckey=true
6269: else
6270: ipseckey=false
6271: fi
6272: else
6273: ipseckey=false
6274: ipseckey_given=false
6275:
6276: fi
6277:
6278: disabled_by_default=${disabled_by_default}" ipseckey"
6279:
6280: # Check whether --enable-keychain was given.
6281: if test "${enable_keychain+set}" = set; then :
6282: enableval=$enable_keychain; keychain_given=true
6283: if test x$enableval = xyes; then
6284: keychain=true
6285: else
6286: keychain=false
6287: fi
6288: else
6289: keychain=false
6290: keychain_given=false
6291:
6292: fi
6293:
6294: disabled_by_default=${disabled_by_default}" keychain"
6295:
6296: # Check whether --enable-pkcs11 was given.
6297: if test "${enable_pkcs11+set}" = set; then :
6298: enableval=$enable_pkcs11; pkcs11_given=true
6299: if test x$enableval = xyes; then
6300: pkcs11=true
6301: else
6302: pkcs11=false
6303: fi
6304: else
6305: pkcs11=false
6306: pkcs11_given=false
6307:
6308: fi
6309:
6310: disabled_by_default=${disabled_by_default}" pkcs11"
6311:
6312: # Check whether --enable-tpm was given.
6313: if test "${enable_tpm+set}" = set; then :
6314: enableval=$enable_tpm; tpm_given=true
6315: if test x$enableval = xyes; then
6316: tpm=true
6317: else
6318: tpm=false
6319: fi
6320: else
6321: tpm=false
6322: tpm_given=false
6323:
6324: fi
6325:
6326: disabled_by_default=${disabled_by_default}" tpm"
6327:
6328: # Check whether --enable-revocation was given.
6329: if test "${enable_revocation+set}" = set; then :
6330: enableval=$enable_revocation; revocation_given=true
6331: if test x$enableval = xyes; then
6332: revocation=true
6333: else
6334: revocation=false
6335: fi
6336: else
6337: revocation=true
6338: revocation_given=false
6339:
6340: fi
6341:
6342: enabled_by_default=${enabled_by_default}" revocation"
6343:
6344: # Check whether --enable-whitelist was given.
6345: if test "${enable_whitelist+set}" = set; then :
6346: enableval=$enable_whitelist; whitelist_given=true
6347: if test x$enableval = xyes; then
6348: whitelist=true
6349: else
6350: whitelist=false
6351: fi
6352: else
6353: whitelist=false
6354: whitelist_given=false
6355:
6356: fi
6357:
6358: disabled_by_default=${disabled_by_default}" whitelist"
6359:
6360: # Check whether --enable-xauth-generic was given.
6361: if test "${enable_xauth_generic+set}" = set; then :
6362: enableval=$enable_xauth_generic; xauth_generic_given=true
6363: if test x$enableval = xyes; then
6364: xauth_generic=true
6365: else
6366: xauth_generic=false
6367: fi
6368: else
6369: xauth_generic=true
6370: xauth_generic_given=false
6371:
6372: fi
6373:
6374: enabled_by_default=${enabled_by_default}" xauth_generic"
6375:
6376: # Check whether --enable-xauth-eap was given.
6377: if test "${enable_xauth_eap+set}" = set; then :
6378: enableval=$enable_xauth_eap; xauth_eap_given=true
6379: if test x$enableval = xyes; then
6380: xauth_eap=true
6381: else
6382: xauth_eap=false
6383: fi
6384: else
6385: xauth_eap=false
6386: xauth_eap_given=false
6387:
6388: fi
6389:
6390: disabled_by_default=${disabled_by_default}" xauth_eap"
6391:
6392: # Check whether --enable-xauth-pam was given.
6393: if test "${enable_xauth_pam+set}" = set; then :
6394: enableval=$enable_xauth_pam; xauth_pam_given=true
6395: if test x$enableval = xyes; then
6396: xauth_pam=true
6397: else
6398: xauth_pam=false
6399: fi
6400: else
6401: xauth_pam=false
6402: xauth_pam_given=false
6403:
6404: fi
6405:
6406: disabled_by_default=${disabled_by_default}" xauth_pam"
6407:
6408: # Check whether --enable-xauth-noauth was given.
6409: if test "${enable_xauth_noauth+set}" = set; then :
6410: enableval=$enable_xauth_noauth; xauth_noauth_given=true
6411: if test x$enableval = xyes; then
6412: xauth_noauth=true
6413: else
6414: xauth_noauth=false
6415: fi
6416: else
6417: xauth_noauth=false
6418: xauth_noauth_given=false
6419:
6420: fi
6421:
6422: disabled_by_default=${disabled_by_default}" xauth_noauth"
6423:
6424: # kernel interfaces / sockets
6425: # Check whether --enable-kernel-netlink was given.
6426: if test "${enable_kernel_netlink+set}" = set; then :
6427: enableval=$enable_kernel_netlink; kernel_netlink_given=true
6428: if test x$enableval = xyes; then
6429: kernel_netlink=true
6430: else
6431: kernel_netlink=false
6432: fi
6433: else
6434: kernel_netlink=true
6435: kernel_netlink_given=false
6436:
6437: fi
6438:
6439: enabled_by_default=${enabled_by_default}" kernel_netlink"
6440:
6441: # Check whether --enable-kernel-pfkey was given.
6442: if test "${enable_kernel_pfkey+set}" = set; then :
6443: enableval=$enable_kernel_pfkey; kernel_pfkey_given=true
6444: if test x$enableval = xyes; then
6445: kernel_pfkey=true
6446: else
6447: kernel_pfkey=false
6448: fi
6449: else
6450: kernel_pfkey=false
6451: kernel_pfkey_given=false
6452:
6453: fi
6454:
6455: disabled_by_default=${disabled_by_default}" kernel_pfkey"
6456:
6457: # Check whether --enable-kernel-pfroute was given.
6458: if test "${enable_kernel_pfroute+set}" = set; then :
6459: enableval=$enable_kernel_pfroute; kernel_pfroute_given=true
6460: if test x$enableval = xyes; then
6461: kernel_pfroute=true
6462: else
6463: kernel_pfroute=false
6464: fi
6465: else
6466: kernel_pfroute=false
6467: kernel_pfroute_given=false
6468:
6469: fi
6470:
6471: disabled_by_default=${disabled_by_default}" kernel_pfroute"
6472:
6473: # Check whether --enable-kernel-iph was given.
6474: if test "${enable_kernel_iph+set}" = set; then :
6475: enableval=$enable_kernel_iph; kernel_iph_given=true
6476: if test x$enableval = xyes; then
6477: kernel_iph=true
6478: else
6479: kernel_iph=false
6480: fi
6481: else
6482: kernel_iph=false
6483: kernel_iph_given=false
6484:
6485: fi
6486:
6487: disabled_by_default=${disabled_by_default}" kernel_iph"
6488:
6489: # Check whether --enable-kernel-libipsec was given.
6490: if test "${enable_kernel_libipsec+set}" = set; then :
6491: enableval=$enable_kernel_libipsec; kernel_libipsec_given=true
6492: if test x$enableval = xyes; then
6493: kernel_libipsec=true
6494: else
6495: kernel_libipsec=false
6496: fi
6497: else
6498: kernel_libipsec=false
6499: kernel_libipsec_given=false
6500:
6501: fi
6502:
6503: disabled_by_default=${disabled_by_default}" kernel_libipsec"
6504:
6505: # Check whether --enable-kernel-wfp was given.
6506: if test "${enable_kernel_wfp+set}" = set; then :
6507: enableval=$enable_kernel_wfp; kernel_wfp_given=true
6508: if test x$enableval = xyes; then
6509: kernel_wfp=true
6510: else
6511: kernel_wfp=false
6512: fi
6513: else
6514: kernel_wfp=false
6515: kernel_wfp_given=false
6516:
6517: fi
6518:
6519: disabled_by_default=${disabled_by_default}" kernel_wfp"
6520:
6521: # Check whether --enable-socket-default was given.
6522: if test "${enable_socket_default+set}" = set; then :
6523: enableval=$enable_socket_default; socket_default_given=true
6524: if test x$enableval = xyes; then
6525: socket_default=true
6526: else
6527: socket_default=false
6528: fi
6529: else
6530: socket_default=true
6531: socket_default_given=false
6532:
6533: fi
6534:
6535: enabled_by_default=${enabled_by_default}" socket_default"
6536:
6537: # Check whether --enable-socket-dynamic was given.
6538: if test "${enable_socket_dynamic+set}" = set; then :
6539: enableval=$enable_socket_dynamic; socket_dynamic_given=true
6540: if test x$enableval = xyes; then
6541: socket_dynamic=true
6542: else
6543: socket_dynamic=false
6544: fi
6545: else
6546: socket_dynamic=false
6547: socket_dynamic_given=false
6548:
6549: fi
6550:
6551: disabled_by_default=${disabled_by_default}" socket_dynamic"
6552:
6553: # Check whether --enable-socket-win was given.
6554: if test "${enable_socket_win+set}" = set; then :
6555: enableval=$enable_socket_win; socket_win_given=true
6556: if test x$enableval = xyes; then
6557: socket_win=true
6558: else
6559: socket_win=false
6560: fi
6561: else
6562: socket_win=false
6563: socket_win_given=false
6564:
6565: fi
6566:
6567: disabled_by_default=${disabled_by_default}" socket_win"
6568:
6569: # configuration/control plugins
6570: # Check whether --enable-stroke was given.
6571: if test "${enable_stroke+set}" = set; then :
6572: enableval=$enable_stroke; stroke_given=true
6573: if test x$enableval = xyes; then
6574: stroke=true
6575: else
6576: stroke=false
6577: fi
6578: else
6579: stroke=true
6580: stroke_given=false
6581:
6582: fi
6583:
6584: enabled_by_default=${enabled_by_default}" stroke"
6585:
6586: # Check whether --enable-smp was given.
6587: if test "${enable_smp+set}" = set; then :
6588: enableval=$enable_smp; smp_given=true
6589: if test x$enableval = xyes; then
6590: smp=true
6591: else
6592: smp=false
6593: fi
6594: else
6595: smp=false
6596: smp_given=false
6597:
6598: fi
6599:
6600: disabled_by_default=${disabled_by_default}" smp"
6601:
6602: # Check whether --enable-sql was given.
6603: if test "${enable_sql+set}" = set; then :
6604: enableval=$enable_sql; sql_given=true
6605: if test x$enableval = xyes; then
6606: sql=true
6607: else
6608: sql=false
6609: fi
6610: else
6611: sql=false
6612: sql_given=false
6613:
6614: fi
6615:
6616: disabled_by_default=${disabled_by_default}" sql"
6617:
6618: # Check whether --enable-uci was given.
6619: if test "${enable_uci+set}" = set; then :
6620: enableval=$enable_uci; uci_given=true
6621: if test x$enableval = xyes; then
6622: uci=true
6623: else
6624: uci=false
6625: fi
6626: else
6627: uci=false
6628: uci_given=false
6629:
6630: fi
6631:
6632: disabled_by_default=${disabled_by_default}" uci"
6633:
6634: # Check whether --enable-vici was given.
6635: if test "${enable_vici+set}" = set; then :
6636: enableval=$enable_vici; vici_given=true
6637: if test x$enableval = xyes; then
6638: vici=true
6639: else
6640: vici=false
6641: fi
6642: else
6643: vici=true
6644: vici_given=false
6645:
6646: fi
6647:
6648: enabled_by_default=${enabled_by_default}" vici"
6649:
6650: # attribute provider/consumer plugins
6651: # Check whether --enable-android-dns was given.
6652: if test "${enable_android_dns+set}" = set; then :
6653: enableval=$enable_android_dns; android_dns_given=true
6654: if test x$enableval = xyes; then
6655: android_dns=true
6656: else
6657: android_dns=false
6658: fi
6659: else
6660: android_dns=false
6661: android_dns_given=false
6662:
6663: fi
6664:
6665: disabled_by_default=${disabled_by_default}" android_dns"
6666:
6667: # Check whether --enable-attr was given.
6668: if test "${enable_attr+set}" = set; then :
6669: enableval=$enable_attr; attr_given=true
6670: if test x$enableval = xyes; then
6671: attr=true
6672: else
6673: attr=false
6674: fi
6675: else
6676: attr=true
6677: attr_given=false
6678:
6679: fi
6680:
6681: enabled_by_default=${enabled_by_default}" attr"
6682:
6683: # Check whether --enable-attr-sql was given.
6684: if test "${enable_attr_sql+set}" = set; then :
6685: enableval=$enable_attr_sql; attr_sql_given=true
6686: if test x$enableval = xyes; then
6687: attr_sql=true
6688: else
6689: attr_sql=false
6690: fi
6691: else
6692: attr_sql=false
6693: attr_sql_given=false
6694:
6695: fi
6696:
6697: disabled_by_default=${disabled_by_default}" attr_sql"
6698:
6699: # Check whether --enable-dhcp was given.
6700: if test "${enable_dhcp+set}" = set; then :
6701: enableval=$enable_dhcp; dhcp_given=true
6702: if test x$enableval = xyes; then
6703: dhcp=true
6704: else
6705: dhcp=false
6706: fi
6707: else
6708: dhcp=false
6709: dhcp_given=false
6710:
6711: fi
6712:
6713: disabled_by_default=${disabled_by_default}" dhcp"
6714:
6715: # Check whether --enable-osx-attr was given.
6716: if test "${enable_osx_attr+set}" = set; then :
6717: enableval=$enable_osx_attr; osx_attr_given=true
6718: if test x$enableval = xyes; then
6719: osx_attr=true
6720: else
6721: osx_attr=false
6722: fi
6723: else
6724: osx_attr=false
6725: osx_attr_given=false
6726:
6727: fi
6728:
6729: disabled_by_default=${disabled_by_default}" osx_attr"
6730:
6731: # Check whether --enable-p-cscf was given.
6732: if test "${enable_p_cscf+set}" = set; then :
6733: enableval=$enable_p_cscf; p_cscf_given=true
6734: if test x$enableval = xyes; then
6735: p_cscf=true
6736: else
6737: p_cscf=false
6738: fi
6739: else
6740: p_cscf=false
6741: p_cscf_given=false
6742:
6743: fi
6744:
6745: disabled_by_default=${disabled_by_default}" p_cscf"
6746:
6747: # Check whether --enable-resolve was given.
6748: if test "${enable_resolve+set}" = set; then :
6749: enableval=$enable_resolve; resolve_given=true
6750: if test x$enableval = xyes; then
6751: resolve=true
6752: else
6753: resolve=false
6754: fi
6755: else
6756: resolve=true
6757: resolve_given=false
6758:
6759: fi
6760:
6761: enabled_by_default=${enabled_by_default}" resolve"
6762:
6763: # Check whether --enable-unity was given.
6764: if test "${enable_unity+set}" = set; then :
6765: enableval=$enable_unity; unity_given=true
6766: if test x$enableval = xyes; then
6767: unity=true
6768: else
6769: unity=false
6770: fi
6771: else
6772: unity=false
6773: unity_given=false
6774:
6775: fi
6776:
6777: disabled_by_default=${disabled_by_default}" unity"
6778:
6779: # TNC modules/plugins
6780: # Check whether --enable-imc-test was given.
6781: if test "${enable_imc_test+set}" = set; then :
6782: enableval=$enable_imc_test; imc_test_given=true
6783: if test x$enableval = xyes; then
6784: imc_test=true
6785: else
6786: imc_test=false
6787: fi
6788: else
6789: imc_test=false
6790: imc_test_given=false
6791:
6792: fi
6793:
6794: disabled_by_default=${disabled_by_default}" imc_test"
6795:
6796: # Check whether --enable-imv-test was given.
6797: if test "${enable_imv_test+set}" = set; then :
6798: enableval=$enable_imv_test; imv_test_given=true
6799: if test x$enableval = xyes; then
6800: imv_test=true
6801: else
6802: imv_test=false
6803: fi
6804: else
6805: imv_test=false
6806: imv_test_given=false
6807:
6808: fi
6809:
6810: disabled_by_default=${disabled_by_default}" imv_test"
6811:
6812: # Check whether --enable-imc-scanner was given.
6813: if test "${enable_imc_scanner+set}" = set; then :
6814: enableval=$enable_imc_scanner; imc_scanner_given=true
6815: if test x$enableval = xyes; then
6816: imc_scanner=true
6817: else
6818: imc_scanner=false
6819: fi
6820: else
6821: imc_scanner=false
6822: imc_scanner_given=false
6823:
6824: fi
6825:
6826: disabled_by_default=${disabled_by_default}" imc_scanner"
6827:
6828: # Check whether --enable-imv-scanner was given.
6829: if test "${enable_imv_scanner+set}" = set; then :
6830: enableval=$enable_imv_scanner; imv_scanner_given=true
6831: if test x$enableval = xyes; then
6832: imv_scanner=true
6833: else
6834: imv_scanner=false
6835: fi
6836: else
6837: imv_scanner=false
6838: imv_scanner_given=false
6839:
6840: fi
6841:
6842: disabled_by_default=${disabled_by_default}" imv_scanner"
6843:
6844: # Check whether --enable-imc-os was given.
6845: if test "${enable_imc_os+set}" = set; then :
6846: enableval=$enable_imc_os; imc_os_given=true
6847: if test x$enableval = xyes; then
6848: imc_os=true
6849: else
6850: imc_os=false
6851: fi
6852: else
6853: imc_os=false
6854: imc_os_given=false
6855:
6856: fi
6857:
6858: disabled_by_default=${disabled_by_default}" imc_os"
6859:
6860: # Check whether --enable-imv-os was given.
6861: if test "${enable_imv_os+set}" = set; then :
6862: enableval=$enable_imv_os; imv_os_given=true
6863: if test x$enableval = xyes; then
6864: imv_os=true
6865: else
6866: imv_os=false
6867: fi
6868: else
6869: imv_os=false
6870: imv_os_given=false
6871:
6872: fi
6873:
6874: disabled_by_default=${disabled_by_default}" imv_os"
6875:
6876: # Check whether --enable-imc-attestation was given.
6877: if test "${enable_imc_attestation+set}" = set; then :
6878: enableval=$enable_imc_attestation; imc_attestation_given=true
6879: if test x$enableval = xyes; then
6880: imc_attestation=true
6881: else
6882: imc_attestation=false
6883: fi
6884: else
6885: imc_attestation=false
6886: imc_attestation_given=false
6887:
6888: fi
6889:
6890: disabled_by_default=${disabled_by_default}" imc_attestation"
6891:
6892: # Check whether --enable-imv-attestation was given.
6893: if test "${enable_imv_attestation+set}" = set; then :
6894: enableval=$enable_imv_attestation; imv_attestation_given=true
6895: if test x$enableval = xyes; then
6896: imv_attestation=true
6897: else
6898: imv_attestation=false
6899: fi
6900: else
6901: imv_attestation=false
6902: imv_attestation_given=false
6903:
6904: fi
6905:
6906: disabled_by_default=${disabled_by_default}" imv_attestation"
6907:
6908: # Check whether --enable-imc-swima was given.
6909: if test "${enable_imc_swima+set}" = set; then :
6910: enableval=$enable_imc_swima; imc_swima_given=true
6911: if test x$enableval = xyes; then
6912: imc_swima=true
6913: else
6914: imc_swima=false
6915: fi
6916: else
6917: imc_swima=false
6918: imc_swima_given=false
6919:
6920: fi
6921:
6922: disabled_by_default=${disabled_by_default}" imc_swima"
6923:
6924: # Check whether --enable-imv-swima was given.
6925: if test "${enable_imv_swima+set}" = set; then :
6926: enableval=$enable_imv_swima; imv_swima_given=true
6927: if test x$enableval = xyes; then
6928: imv_swima=true
6929: else
6930: imv_swima=false
6931: fi
6932: else
6933: imv_swima=false
6934: imv_swima_given=false
6935:
6936: fi
6937:
6938: disabled_by_default=${disabled_by_default}" imv_swima"
6939:
6940: # Check whether --enable-imc-hcd was given.
6941: if test "${enable_imc_hcd+set}" = set; then :
6942: enableval=$enable_imc_hcd; imc_hcd_given=true
6943: if test x$enableval = xyes; then
6944: imc_hcd=true
6945: else
6946: imc_hcd=false
6947: fi
6948: else
6949: imc_hcd=false
6950: imc_hcd_given=false
6951:
6952: fi
6953:
6954: disabled_by_default=${disabled_by_default}" imc_hcd"
6955:
6956: # Check whether --enable-imv-hcd was given.
6957: if test "${enable_imv_hcd+set}" = set; then :
6958: enableval=$enable_imv_hcd; imv_hcd_given=true
6959: if test x$enableval = xyes; then
6960: imv_hcd=true
6961: else
6962: imv_hcd=false
6963: fi
6964: else
6965: imv_hcd=false
6966: imv_hcd_given=false
6967:
6968: fi
6969:
6970: disabled_by_default=${disabled_by_default}" imv_hcd"
6971:
6972: # Check whether --enable-tnc-ifmap was given.
6973: if test "${enable_tnc_ifmap+set}" = set; then :
6974: enableval=$enable_tnc_ifmap; tnc_ifmap_given=true
6975: if test x$enableval = xyes; then
6976: tnc_ifmap=true
6977: else
6978: tnc_ifmap=false
6979: fi
6980: else
6981: tnc_ifmap=false
6982: tnc_ifmap_given=false
6983:
6984: fi
6985:
6986: disabled_by_default=${disabled_by_default}" tnc_ifmap"
6987:
6988: # Check whether --enable-tnc-imc was given.
6989: if test "${enable_tnc_imc+set}" = set; then :
6990: enableval=$enable_tnc_imc; tnc_imc_given=true
6991: if test x$enableval = xyes; then
6992: tnc_imc=true
6993: else
6994: tnc_imc=false
6995: fi
6996: else
6997: tnc_imc=false
6998: tnc_imc_given=false
6999:
7000: fi
7001:
7002: disabled_by_default=${disabled_by_default}" tnc_imc"
7003:
7004: # Check whether --enable-tnc-imv was given.
7005: if test "${enable_tnc_imv+set}" = set; then :
7006: enableval=$enable_tnc_imv; tnc_imv_given=true
7007: if test x$enableval = xyes; then
7008: tnc_imv=true
7009: else
7010: tnc_imv=false
7011: fi
7012: else
7013: tnc_imv=false
7014: tnc_imv_given=false
7015:
7016: fi
7017:
7018: disabled_by_default=${disabled_by_default}" tnc_imv"
7019:
7020: # Check whether --enable-tnc-pdp was given.
7021: if test "${enable_tnc_pdp+set}" = set; then :
7022: enableval=$enable_tnc_pdp; tnc_pdp_given=true
7023: if test x$enableval = xyes; then
7024: tnc_pdp=true
7025: else
7026: tnc_pdp=false
7027: fi
7028: else
7029: tnc_pdp=false
7030: tnc_pdp_given=false
7031:
7032: fi
7033:
7034: disabled_by_default=${disabled_by_default}" tnc_pdp"
7035:
7036: # Check whether --enable-tnccs-11 was given.
7037: if test "${enable_tnccs_11+set}" = set; then :
7038: enableval=$enable_tnccs_11; tnccs_11_given=true
7039: if test x$enableval = xyes; then
7040: tnccs_11=true
7041: else
7042: tnccs_11=false
7043: fi
7044: else
7045: tnccs_11=false
7046: tnccs_11_given=false
7047:
7048: fi
7049:
7050: disabled_by_default=${disabled_by_default}" tnccs_11"
7051:
7052: # Check whether --enable-tnccs-20 was given.
7053: if test "${enable_tnccs_20+set}" = set; then :
7054: enableval=$enable_tnccs_20; tnccs_20_given=true
7055: if test x$enableval = xyes; then
7056: tnccs_20=true
7057: else
7058: tnccs_20=false
7059: fi
7060: else
7061: tnccs_20=false
7062: tnccs_20_given=false
7063:
7064: fi
7065:
7066: disabled_by_default=${disabled_by_default}" tnccs_20"
7067:
7068: # Check whether --enable-tnccs-dynamic was given.
7069: if test "${enable_tnccs_dynamic+set}" = set; then :
7070: enableval=$enable_tnccs_dynamic; tnccs_dynamic_given=true
7071: if test x$enableval = xyes; then
7072: tnccs_dynamic=true
7073: else
7074: tnccs_dynamic=false
7075: fi
7076: else
7077: tnccs_dynamic=false
7078: tnccs_dynamic_given=false
7079:
7080: fi
7081:
7082: disabled_by_default=${disabled_by_default}" tnccs_dynamic"
7083:
7084: # misc plugins
7085: # Check whether --enable-android-log was given.
7086: if test "${enable_android_log+set}" = set; then :
7087: enableval=$enable_android_log; android_log_given=true
7088: if test x$enableval = xyes; then
7089: android_log=true
7090: else
7091: android_log=false
7092: fi
7093: else
7094: android_log=false
7095: android_log_given=false
7096:
7097: fi
7098:
7099: disabled_by_default=${disabled_by_default}" android_log"
7100:
7101: # Check whether --enable-bypass-lan was given.
7102: if test "${enable_bypass_lan+set}" = set; then :
7103: enableval=$enable_bypass_lan; bypass_lan_given=true
7104: if test x$enableval = xyes; then
7105: bypass_lan=true
7106: else
7107: bypass_lan=false
7108: fi
7109: else
7110: bypass_lan=false
7111: bypass_lan_given=false
7112:
7113: fi
7114:
7115: disabled_by_default=${disabled_by_default}" bypass_lan"
7116:
7117: # Check whether --enable-certexpire was given.
7118: if test "${enable_certexpire+set}" = set; then :
7119: enableval=$enable_certexpire; certexpire_given=true
7120: if test x$enableval = xyes; then
7121: certexpire=true
7122: else
7123: certexpire=false
7124: fi
7125: else
7126: certexpire=false
7127: certexpire_given=false
7128:
7129: fi
7130:
7131: disabled_by_default=${disabled_by_default}" certexpire"
7132:
7133: # Check whether --enable-connmark was given.
7134: if test "${enable_connmark+set}" = set; then :
7135: enableval=$enable_connmark; connmark_given=true
7136: if test x$enableval = xyes; then
7137: connmark=true
7138: else
7139: connmark=false
7140: fi
7141: else
7142: connmark=false
7143: connmark_given=false
7144:
7145: fi
7146:
7147: disabled_by_default=${disabled_by_default}" connmark"
7148:
7149: # Check whether --enable-counters was given.
7150: if test "${enable_counters+set}" = set; then :
7151: enableval=$enable_counters; counters_given=true
7152: if test x$enableval = xyes; then
7153: counters=true
7154: else
7155: counters=false
7156: fi
7157: else
7158: counters=false
7159: counters_given=false
7160:
7161: fi
7162:
7163: disabled_by_default=${disabled_by_default}" counters"
7164:
7165: # Check whether --enable-forecast was given.
7166: if test "${enable_forecast+set}" = set; then :
7167: enableval=$enable_forecast; forecast_given=true
7168: if test x$enableval = xyes; then
7169: forecast=true
7170: else
7171: forecast=false
7172: fi
7173: else
7174: forecast=false
7175: forecast_given=false
7176:
7177: fi
7178:
7179: disabled_by_default=${disabled_by_default}" forecast"
7180:
7181: # Check whether --enable-duplicheck was given.
7182: if test "${enable_duplicheck+set}" = set; then :
7183: enableval=$enable_duplicheck; duplicheck_given=true
7184: if test x$enableval = xyes; then
7185: duplicheck=true
7186: else
7187: duplicheck=false
7188: fi
7189: else
7190: duplicheck=false
7191: duplicheck_given=false
7192:
7193: fi
7194:
7195: disabled_by_default=${disabled_by_default}" duplicheck"
7196:
7197: # Check whether --enable-error-notify was given.
7198: if test "${enable_error_notify+set}" = set; then :
7199: enableval=$enable_error_notify; error_notify_given=true
7200: if test x$enableval = xyes; then
7201: error_notify=true
7202: else
7203: error_notify=false
7204: fi
7205: else
7206: error_notify=false
7207: error_notify_given=false
7208:
7209: fi
7210:
7211: disabled_by_default=${disabled_by_default}" error_notify"
7212:
7213: # Check whether --enable-farp was given.
7214: if test "${enable_farp+set}" = set; then :
7215: enableval=$enable_farp; farp_given=true
7216: if test x$enableval = xyes; then
7217: farp=true
7218: else
7219: farp=false
7220: fi
7221: else
7222: farp=false
7223: farp_given=false
7224:
7225: fi
7226:
7227: disabled_by_default=${disabled_by_default}" farp"
7228:
7229: # Check whether --enable-ha was given.
7230: if test "${enable_ha+set}" = set; then :
7231: enableval=$enable_ha; ha_given=true
7232: if test x$enableval = xyes; then
7233: ha=true
7234: else
7235: ha=false
7236: fi
7237: else
7238: ha=false
7239: ha_given=false
7240:
7241: fi
7242:
7243: disabled_by_default=${disabled_by_default}" ha"
7244:
7245: # Check whether --enable-led was given.
7246: if test "${enable_led+set}" = set; then :
7247: enableval=$enable_led; led_given=true
7248: if test x$enableval = xyes; then
7249: led=true
7250: else
7251: led=false
7252: fi
7253: else
7254: led=false
7255: led_given=false
7256:
7257: fi
7258:
7259: disabled_by_default=${disabled_by_default}" led"
7260:
7261: # Check whether --enable-load-tester was given.
7262: if test "${enable_load_tester+set}" = set; then :
7263: enableval=$enable_load_tester; load_tester_given=true
7264: if test x$enableval = xyes; then
7265: load_tester=true
7266: else
7267: load_tester=false
7268: fi
7269: else
7270: load_tester=false
7271: load_tester_given=false
7272:
7273: fi
7274:
7275: disabled_by_default=${disabled_by_default}" load_tester"
7276:
7277: # Check whether --enable-lookip was given.
7278: if test "${enable_lookip+set}" = set; then :
7279: enableval=$enable_lookip; lookip_given=true
7280: if test x$enableval = xyes; then
7281: lookip=true
7282: else
7283: lookip=false
7284: fi
7285: else
7286: lookip=false
7287: lookip_given=false
7288:
7289: fi
7290:
7291: disabled_by_default=${disabled_by_default}" lookip"
7292:
7293: # Check whether --enable-radattr was given.
7294: if test "${enable_radattr+set}" = set; then :
7295: enableval=$enable_radattr; radattr_given=true
7296: if test x$enableval = xyes; then
7297: radattr=true
7298: else
7299: radattr=false
7300: fi
7301: else
7302: radattr=false
7303: radattr_given=false
7304:
7305: fi
7306:
7307: disabled_by_default=${disabled_by_default}" radattr"
7308:
7309: # Check whether --enable-save-keys was given.
7310: if test "${enable_save_keys+set}" = set; then :
7311: enableval=$enable_save_keys; save_keys_given=true
7312: if test x$enableval = xyes; then
7313: save_keys=true
7314: else
7315: save_keys=false
7316: fi
7317: else
7318: save_keys=false
7319: save_keys_given=false
7320:
7321: fi
7322:
7323: disabled_by_default=${disabled_by_default}" save_keys"
7324:
7325: # Check whether --enable-systime-fix was given.
7326: if test "${enable_systime_fix+set}" = set; then :
7327: enableval=$enable_systime_fix; systime_fix_given=true
7328: if test x$enableval = xyes; then
7329: systime_fix=true
7330: else
7331: systime_fix=false
7332: fi
7333: else
7334: systime_fix=false
7335: systime_fix_given=false
7336:
7337: fi
7338:
7339: disabled_by_default=${disabled_by_default}" systime_fix"
7340:
7341: # Check whether --enable-test-vectors was given.
7342: if test "${enable_test_vectors+set}" = set; then :
7343: enableval=$enable_test_vectors; test_vectors_given=true
7344: if test x$enableval = xyes; then
7345: test_vectors=true
7346: else
7347: test_vectors=false
7348: fi
7349: else
7350: test_vectors=false
7351: test_vectors_given=false
7352:
7353: fi
7354:
7355: disabled_by_default=${disabled_by_default}" test_vectors"
7356:
7357: # Check whether --enable-updown was given.
7358: if test "${enable_updown+set}" = set; then :
7359: enableval=$enable_updown; updown_given=true
7360: if test x$enableval = xyes; then
7361: updown=true
7362: else
7363: updown=false
7364: fi
7365: else
7366: updown=true
7367: updown_given=false
7368:
7369: fi
7370:
7371: enabled_by_default=${enabled_by_default}" updown"
7372:
7373: # programs/components
7374: # Check whether --enable-aikgen was given.
7375: if test "${enable_aikgen+set}" = set; then :
7376: enableval=$enable_aikgen; aikgen_given=true
7377: if test x$enableval = xyes; then
7378: aikgen=true
7379: else
7380: aikgen=false
7381: fi
7382: else
7383: aikgen=false
7384: aikgen_given=false
7385:
7386: fi
7387:
7388: disabled_by_default=${disabled_by_default}" aikgen"
7389:
7390: # Check whether --enable-charon was given.
7391: if test "${enable_charon+set}" = set; then :
7392: enableval=$enable_charon; charon_given=true
7393: if test x$enableval = xyes; then
7394: charon=true
7395: else
7396: charon=false
7397: fi
7398: else
7399: charon=true
7400: charon_given=false
7401:
7402: fi
7403:
7404: enabled_by_default=${enabled_by_default}" charon"
7405:
7406: # Check whether --enable-cmd was given.
7407: if test "${enable_cmd+set}" = set; then :
7408: enableval=$enable_cmd; cmd_given=true
7409: if test x$enableval = xyes; then
7410: cmd=true
7411: else
7412: cmd=false
7413: fi
7414: else
7415: cmd=false
7416: cmd_given=false
7417:
7418: fi
7419:
7420: disabled_by_default=${disabled_by_default}" cmd"
7421:
7422: # Check whether --enable-conftest was given.
7423: if test "${enable_conftest+set}" = set; then :
7424: enableval=$enable_conftest; conftest_given=true
7425: if test x$enableval = xyes; then
7426: conftest=true
7427: else
7428: conftest=false
7429: fi
7430: else
7431: conftest=false
7432: conftest_given=false
7433:
7434: fi
7435:
7436: disabled_by_default=${disabled_by_default}" conftest"
7437:
7438: # Check whether --enable-fast was given.
7439: if test "${enable_fast+set}" = set; then :
7440: enableval=$enable_fast; fast_given=true
7441: if test x$enableval = xyes; then
7442: fast=true
7443: else
7444: fast=false
7445: fi
7446: else
7447: fast=false
7448: fast_given=false
7449:
7450: fi
7451:
7452: disabled_by_default=${disabled_by_default}" fast"
7453:
7454: # Check whether --enable-fuzzing was given.
7455: if test "${enable_fuzzing+set}" = set; then :
7456: enableval=$enable_fuzzing; fuzzing_given=true
7457: if test x$enableval = xyes; then
7458: fuzzing=true
7459: else
7460: fuzzing=false
7461: fi
7462: else
7463: fuzzing=false
7464: fuzzing_given=false
7465:
7466: fi
7467:
7468: disabled_by_default=${disabled_by_default}" fuzzing"
7469:
7470: # Check whether --enable-libipsec was given.
7471: if test "${enable_libipsec+set}" = set; then :
7472: enableval=$enable_libipsec; libipsec_given=true
7473: if test x$enableval = xyes; then
7474: libipsec=true
7475: else
7476: libipsec=false
7477: fi
7478: else
7479: libipsec=false
7480: libipsec_given=false
7481:
7482: fi
7483:
7484: disabled_by_default=${disabled_by_default}" libipsec"
7485:
7486: # Check whether --enable-manager was given.
7487: if test "${enable_manager+set}" = set; then :
7488: enableval=$enable_manager; manager_given=true
7489: if test x$enableval = xyes; then
7490: manager=true
7491: else
7492: manager=false
7493: fi
7494: else
7495: manager=false
7496: manager_given=false
7497:
7498: fi
7499:
7500: disabled_by_default=${disabled_by_default}" manager"
7501:
7502: # Check whether --enable-medcli was given.
7503: if test "${enable_medcli+set}" = set; then :
7504: enableval=$enable_medcli; medcli_given=true
7505: if test x$enableval = xyes; then
7506: medcli=true
7507: else
7508: medcli=false
7509: fi
7510: else
7511: medcli=false
7512: medcli_given=false
7513:
7514: fi
7515:
7516: disabled_by_default=${disabled_by_default}" medcli"
7517:
7518: # Check whether --enable-medsrv was given.
7519: if test "${enable_medsrv+set}" = set; then :
7520: enableval=$enable_medsrv; medsrv_given=true
7521: if test x$enableval = xyes; then
7522: medsrv=true
7523: else
7524: medsrv=false
7525: fi
7526: else
7527: medsrv=false
7528: medsrv_given=false
7529:
7530: fi
7531:
7532: disabled_by_default=${disabled_by_default}" medsrv"
7533:
7534: # Check whether --enable-nm was given.
7535: if test "${enable_nm+set}" = set; then :
7536: enableval=$enable_nm; nm_given=true
7537: if test x$enableval = xyes; then
7538: nm=true
7539: else
7540: nm=false
7541: fi
7542: else
7543: nm=false
7544: nm_given=false
7545:
7546: fi
7547:
7548: disabled_by_default=${disabled_by_default}" nm"
7549:
7550: # Check whether --enable-pki was given.
7551: if test "${enable_pki+set}" = set; then :
7552: enableval=$enable_pki; pki_given=true
7553: if test x$enableval = xyes; then
7554: pki=true
7555: else
7556: pki=false
7557: fi
7558: else
7559: pki=true
7560: pki_given=false
7561:
7562: fi
7563:
7564: enabled_by_default=${enabled_by_default}" pki"
7565:
7566: # Check whether --enable-scepclient was given.
7567: if test "${enable_scepclient+set}" = set; then :
7568: enableval=$enable_scepclient; scepclient_given=true
7569: if test x$enableval = xyes; then
7570: scepclient=true
7571: else
7572: scepclient=false
7573: fi
7574: else
7575: scepclient=true
7576: scepclient_given=false
7577:
7578: fi
7579:
7580: enabled_by_default=${enabled_by_default}" scepclient"
7581:
7582: # Check whether --enable-scripts was given.
7583: if test "${enable_scripts+set}" = set; then :
7584: enableval=$enable_scripts; scripts_given=true
7585: if test x$enableval = xyes; then
7586: scripts=true
7587: else
7588: scripts=false
7589: fi
7590: else
7591: scripts=true
7592: scripts_given=false
7593:
7594: fi
7595:
7596: enabled_by_default=${enabled_by_default}" scripts"
7597:
7598: # Check whether --enable-svc was given.
7599: if test "${enable_svc+set}" = set; then :
7600: enableval=$enable_svc; svc_given=true
7601: if test x$enableval = xyes; then
7602: svc=true
7603: else
7604: svc=false
7605: fi
7606: else
7607: svc=false
7608: svc_given=false
7609:
7610: fi
7611:
7612: disabled_by_default=${disabled_by_default}" svc"
7613:
7614: # Check whether --enable-systemd was given.
7615: if test "${enable_systemd+set}" = set; then :
7616: enableval=$enable_systemd; systemd_given=true
7617: if test x$enableval = xyes; then
7618: systemd=true
7619: else
7620: systemd=false
7621: fi
7622: else
7623: systemd=false
7624: systemd_given=false
7625:
7626: fi
7627:
7628: disabled_by_default=${disabled_by_default}" systemd"
7629:
7630: # Check whether --enable-swanctl was given.
7631: if test "${enable_swanctl+set}" = set; then :
7632: enableval=$enable_swanctl; swanctl_given=true
7633: if test x$enableval = xyes; then
7634: swanctl=true
7635: else
7636: swanctl=false
7637: fi
7638: else
7639: swanctl=true
7640: swanctl_given=false
7641:
7642: fi
7643:
7644: enabled_by_default=${enabled_by_default}" swanctl"
7645:
7646: # Check whether --enable-tkm was given.
7647: if test "${enable_tkm+set}" = set; then :
7648: enableval=$enable_tkm; tkm_given=true
7649: if test x$enableval = xyes; then
7650: tkm=true
7651: else
7652: tkm=false
7653: fi
7654: else
7655: tkm=false
7656: tkm_given=false
7657:
7658: fi
7659:
7660: disabled_by_default=${disabled_by_default}" tkm"
7661:
7662: # optional features
7663: # Check whether --enable-bfd-backtraces was given.
7664: if test "${enable_bfd_backtraces+set}" = set; then :
7665: enableval=$enable_bfd_backtraces; bfd_backtraces_given=true
7666: if test x$enableval = xyes; then
7667: bfd_backtraces=true
7668: else
7669: bfd_backtraces=false
7670: fi
7671: else
7672: bfd_backtraces=false
7673: bfd_backtraces_given=false
7674:
7675: fi
7676:
7677: disabled_by_default=${disabled_by_default}" bfd_backtraces"
7678:
7679: # Check whether --enable-dbghelp-backtraces was given.
7680: if test "${enable_dbghelp_backtraces+set}" = set; then :
7681: enableval=$enable_dbghelp_backtraces; dbghelp_backtraces_given=true
7682: if test x$enableval = xyes; then
7683: dbghelp_backtraces=true
7684: else
7685: dbghelp_backtraces=false
7686: fi
7687: else
7688: dbghelp_backtraces=false
7689: dbghelp_backtraces_given=false
7690:
7691: fi
7692:
7693: disabled_by_default=${disabled_by_default}" dbghelp_backtraces"
7694:
7695: # Check whether --enable-ikev1 was given.
7696: if test "${enable_ikev1+set}" = set; then :
7697: enableval=$enable_ikev1; ikev1_given=true
7698: if test x$enableval = xyes; then
7699: ikev1=true
7700: else
7701: ikev1=false
7702: fi
7703: else
7704: ikev1=true
7705: ikev1_given=false
7706:
7707: fi
7708:
7709: enabled_by_default=${enabled_by_default}" ikev1"
7710:
7711: # Check whether --enable-ikev2 was given.
7712: if test "${enable_ikev2+set}" = set; then :
7713: enableval=$enable_ikev2; ikev2_given=true
7714: if test x$enableval = xyes; then
7715: ikev2=true
7716: else
7717: ikev2=false
7718: fi
7719: else
7720: ikev2=true
7721: ikev2_given=false
7722:
7723: fi
7724:
7725: enabled_by_default=${enabled_by_default}" ikev2"
7726:
7727: # Check whether --enable-integrity-test was given.
7728: if test "${enable_integrity_test+set}" = set; then :
7729: enableval=$enable_integrity_test; integrity_test_given=true
7730: if test x$enableval = xyes; then
7731: integrity_test=true
7732: else
7733: integrity_test=false
7734: fi
7735: else
7736: integrity_test=false
7737: integrity_test_given=false
7738:
7739: fi
7740:
7741: disabled_by_default=${disabled_by_default}" integrity_test"
7742:
7743: # Check whether --enable-load-warning was given.
7744: if test "${enable_load_warning+set}" = set; then :
7745: enableval=$enable_load_warning; load_warning_given=true
7746: if test x$enableval = xyes; then
7747: load_warning=true
7748: else
7749: load_warning=false
7750: fi
7751: else
7752: load_warning=true
7753: load_warning_given=false
7754:
7755: fi
7756:
7757: enabled_by_default=${enabled_by_default}" load_warning"
7758:
7759: # Check whether --enable-mediation was given.
7760: if test "${enable_mediation+set}" = set; then :
7761: enableval=$enable_mediation; mediation_given=true
7762: if test x$enableval = xyes; then
7763: mediation=true
7764: else
7765: mediation=false
7766: fi
7767: else
7768: mediation=false
7769: mediation_given=false
7770:
7771: fi
7772:
7773: disabled_by_default=${disabled_by_default}" mediation"
7774:
7775: # Check whether --enable-unwind-backtraces was given.
7776: if test "${enable_unwind_backtraces+set}" = set; then :
7777: enableval=$enable_unwind_backtraces; unwind_backtraces_given=true
7778: if test x$enableval = xyes; then
7779: unwind_backtraces=true
7780: else
7781: unwind_backtraces=false
7782: fi
7783: else
7784: unwind_backtraces=false
7785: unwind_backtraces_given=false
7786:
7787: fi
7788:
7789: disabled_by_default=${disabled_by_default}" unwind_backtraces"
7790:
7791: # Check whether --enable-ruby-gems was given.
7792: if test "${enable_ruby_gems+set}" = set; then :
7793: enableval=$enable_ruby_gems; ruby_gems_given=true
7794: if test x$enableval = xyes; then
7795: ruby_gems=true
7796: else
7797: ruby_gems=false
7798: fi
7799: else
7800: ruby_gems=false
7801: ruby_gems_given=false
7802:
7803: fi
7804:
7805: disabled_by_default=${disabled_by_default}" ruby_gems"
7806:
7807: # Check whether --enable-ruby-gems-install was given.
7808: if test "${enable_ruby_gems_install+set}" = set; then :
7809: enableval=$enable_ruby_gems_install; ruby_gems_install_given=true
7810: if test x$enableval = xyes; then
7811: ruby_gems_install=true
7812: else
7813: ruby_gems_install=false
7814: fi
7815: else
7816: ruby_gems_install=false
7817: ruby_gems_install_given=false
7818:
7819: fi
7820:
7821: disabled_by_default=${disabled_by_default}" ruby_gems_install"
7822:
7823: # Check whether --enable-python-eggs was given.
7824: if test "${enable_python_eggs+set}" = set; then :
7825: enableval=$enable_python_eggs; python_eggs_given=true
7826: if test x$enableval = xyes; then
7827: python_eggs=true
7828: else
7829: python_eggs=false
7830: fi
7831: else
7832: python_eggs=false
7833: python_eggs_given=false
7834:
7835: fi
7836:
7837: disabled_by_default=${disabled_by_default}" python_eggs"
7838:
7839: # Check whether --enable-python-eggs-install was given.
7840: if test "${enable_python_eggs_install+set}" = set; then :
7841: enableval=$enable_python_eggs_install; python_eggs_install_given=true
7842: if test x$enableval = xyes; then
7843: python_eggs_install=true
7844: else
7845: python_eggs_install=false
7846: fi
7847: else
7848: python_eggs_install=false
7849: python_eggs_install_given=false
7850:
7851: fi
7852:
7853: disabled_by_default=${disabled_by_default}" python_eggs_install"
7854:
7855: # Check whether --enable-perl-cpan was given.
7856: if test "${enable_perl_cpan+set}" = set; then :
7857: enableval=$enable_perl_cpan; perl_cpan_given=true
7858: if test x$enableval = xyes; then
7859: perl_cpan=true
7860: else
7861: perl_cpan=false
7862: fi
7863: else
7864: perl_cpan=false
7865: perl_cpan_given=false
7866:
7867: fi
7868:
7869: disabled_by_default=${disabled_by_default}" perl_cpan"
7870:
7871: # Check whether --enable-perl-cpan-install was given.
7872: if test "${enable_perl_cpan_install+set}" = set; then :
7873: enableval=$enable_perl_cpan_install; perl_cpan_install_given=true
7874: if test x$enableval = xyes; then
7875: perl_cpan_install=true
7876: else
7877: perl_cpan_install=false
7878: fi
7879: else
7880: perl_cpan_install=false
7881: perl_cpan_install_given=false
7882:
7883: fi
7884:
7885: disabled_by_default=${disabled_by_default}" perl_cpan_install"
7886:
7887: # Check whether --enable-tss-trousers was given.
7888: if test "${enable_tss_trousers+set}" = set; then :
7889: enableval=$enable_tss_trousers; tss_trousers_given=true
7890: if test x$enableval = xyes; then
7891: tss_trousers=true
7892: else
7893: tss_trousers=false
7894: fi
7895: else
7896: tss_trousers=false
7897: tss_trousers_given=false
7898:
7899: fi
7900:
7901: disabled_by_default=${disabled_by_default}" tss_trousers"
7902:
7903: # Check whether --enable-tss-tss2 was given.
7904: if test "${enable_tss_tss2+set}" = set; then :
7905: enableval=$enable_tss_tss2; tss_tss2_given=true
7906: if test x$enableval = xyes; then
7907: tss_tss2=true
7908: else
7909: tss_tss2=false
7910: fi
7911: else
7912: tss_tss2=false
7913: tss_tss2_given=false
7914:
7915: fi
7916:
7917: disabled_by_default=${disabled_by_default}" tss_tss2"
7918:
7919:
7920: # compile options
7921: # Check whether --enable-coverage was given.
7922: if test "${enable_coverage+set}" = set; then :
7923: enableval=$enable_coverage; coverage_given=true
7924: if test x$enableval = xyes; then
7925: coverage=true
7926: else
7927: coverage=false
7928: fi
7929: else
7930: coverage=false
7931: coverage_given=false
7932:
7933: fi
7934:
7935: disabled_by_default=${disabled_by_default}" coverage"
7936:
1.1.1.2 ! misho 7937: # Check whether --enable-git-version was given.
! 7938: if test "${enable_git_version+set}" = set; then :
! 7939: enableval=$enable_git_version; git_version_given=true
! 7940: if test x$enableval = xyes; then
! 7941: git_version=true
! 7942: else
! 7943: git_version=false
! 7944: fi
! 7945: else
! 7946: git_version=false
! 7947: git_version_given=false
! 7948:
! 7949: fi
! 7950:
! 7951: disabled_by_default=${disabled_by_default}" git_version"
! 7952:
1.1 misho 7953: # Check whether --enable-leak-detective was given.
7954: if test "${enable_leak_detective+set}" = set; then :
7955: enableval=$enable_leak_detective; leak_detective_given=true
7956: if test x$enableval = xyes; then
7957: leak_detective=true
7958: else
7959: leak_detective=false
7960: fi
7961: else
7962: leak_detective=false
7963: leak_detective_given=false
7964:
7965: fi
7966:
7967: disabled_by_default=${disabled_by_default}" leak_detective"
7968:
7969: # Check whether --enable-lock-profiler was given.
7970: if test "${enable_lock_profiler+set}" = set; then :
7971: enableval=$enable_lock_profiler; lock_profiler_given=true
7972: if test x$enableval = xyes; then
7973: lock_profiler=true
7974: else
7975: lock_profiler=false
7976: fi
7977: else
7978: lock_profiler=false
7979: lock_profiler_given=false
7980:
7981: fi
7982:
7983: disabled_by_default=${disabled_by_default}" lock_profiler"
7984:
7985: # Check whether --enable-log-thread-ids was given.
7986: if test "${enable_log_thread_ids+set}" = set; then :
7987: enableval=$enable_log_thread_ids; log_thread_ids_given=true
7988: if test x$enableval = xyes; then
7989: log_thread_ids=true
7990: else
7991: log_thread_ids=false
7992: fi
7993: else
7994: log_thread_ids=false
7995: log_thread_ids_given=false
7996:
7997: fi
7998:
7999: disabled_by_default=${disabled_by_default}" log_thread_ids"
8000:
8001: # Check whether --enable-monolithic was given.
8002: if test "${enable_monolithic+set}" = set; then :
8003: enableval=$enable_monolithic; monolithic_given=true
8004: if test x$enableval = xyes; then
8005: monolithic=true
8006: else
8007: monolithic=false
8008: fi
8009: else
8010: monolithic=false
8011: monolithic_given=false
8012:
8013: fi
8014:
8015: disabled_by_default=${disabled_by_default}" monolithic"
8016:
8017:
8018: # ===================================
8019: # option to disable default options
8020: # ===================================
8021:
8022: # Check whether --enable-defaults was given.
8023: if test "${enable_defaults+set}" = set; then :
8024: enableval=$enable_defaults; defaults_given=true
8025: if test x$enableval = xyes; then
8026: defaults=true
8027: else
8028: defaults=false
8029: fi
8030: else
8031: defaults=true
8032: defaults_given=false
8033:
8034: fi
8035:
8036: enabled_by_default=${enabled_by_default}" defaults"
8037:
8038:
8039: if test x$defaults = xfalse; then
8040: for option in $enabled_by_default; do
8041: eval test x\${${option}_given} = xtrue && continue
8042: eval $option=false
8043: done
8044: fi
8045:
8046: # ==============================
8047: # option to enable all options
8048: # ==============================
8049:
8050: # Check whether --enable-all was given.
8051: if test "${enable_all+set}" = set; then :
8052: enableval=$enable_all; all_given=true
8053: if test x$enableval = xyes; then
8054: all=true
8055: else
8056: all=false
8057: fi
8058: else
8059: all=false
8060: all_given=false
8061:
8062: fi
8063:
8064: disabled_by_default=${disabled_by_default}" all"
8065:
8066:
8067: if test x$all_given = xtrue; then
8068: for option in $disabled_by_default; do
8069: eval test x\${${option}_given} = xtrue && continue
8070: eval $option=true
8071: done
8072: fi
8073:
8074: # ===========================
8075: # set up compiler and flags
8076: # ===========================
8077:
8078: if test -z "$CFLAGS"; then
8079: CFLAGS="-g -O2 -Wall -Wno-format -Wno-format-security -Wno-pointer-sign"
8080: fi
8081:
8082: ac_ext=c
8083: ac_cpp='$CPP $CPPFLAGS'
8084: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8085: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8086: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8087: if test -n "$ac_tool_prefix"; then
8088: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
8089: set dummy ${ac_tool_prefix}gcc; ac_word=$2
8090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8091: $as_echo_n "checking for $ac_word... " >&6; }
8092: if ${ac_cv_prog_CC+:} false; then :
8093: $as_echo_n "(cached) " >&6
8094: else
8095: if test -n "$CC"; then
8096: ac_cv_prog_CC="$CC" # Let the user override the test.
8097: else
8098: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8099: for as_dir in $PATH
8100: do
8101: IFS=$as_save_IFS
8102: test -z "$as_dir" && as_dir=.
8103: for ac_exec_ext in '' $ac_executable_extensions; do
8104: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8105: ac_cv_prog_CC="${ac_tool_prefix}gcc"
8106: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8107: break 2
8108: fi
8109: done
8110: done
8111: IFS=$as_save_IFS
8112:
8113: fi
8114: fi
8115: CC=$ac_cv_prog_CC
8116: if test -n "$CC"; then
8117: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8118: $as_echo "$CC" >&6; }
8119: else
8120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8121: $as_echo "no" >&6; }
8122: fi
8123:
8124:
8125: fi
8126: if test -z "$ac_cv_prog_CC"; then
8127: ac_ct_CC=$CC
8128: # Extract the first word of "gcc", so it can be a program name with args.
8129: set dummy gcc; ac_word=$2
8130: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8131: $as_echo_n "checking for $ac_word... " >&6; }
8132: if ${ac_cv_prog_ac_ct_CC+:} false; then :
8133: $as_echo_n "(cached) " >&6
8134: else
8135: if test -n "$ac_ct_CC"; then
8136: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8137: else
8138: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139: for as_dir in $PATH
8140: do
8141: IFS=$as_save_IFS
8142: test -z "$as_dir" && as_dir=.
8143: for ac_exec_ext in '' $ac_executable_extensions; do
8144: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145: ac_cv_prog_ac_ct_CC="gcc"
8146: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147: break 2
8148: fi
8149: done
8150: done
8151: IFS=$as_save_IFS
8152:
8153: fi
8154: fi
8155: ac_ct_CC=$ac_cv_prog_ac_ct_CC
8156: if test -n "$ac_ct_CC"; then
8157: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8158: $as_echo "$ac_ct_CC" >&6; }
8159: else
8160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8161: $as_echo "no" >&6; }
8162: fi
8163:
8164: if test "x$ac_ct_CC" = x; then
8165: CC=""
8166: else
8167: case $cross_compiling:$ac_tool_warned in
8168: yes:)
8169: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8170: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8171: ac_tool_warned=yes ;;
8172: esac
8173: CC=$ac_ct_CC
8174: fi
8175: else
8176: CC="$ac_cv_prog_CC"
8177: fi
8178:
8179: if test -z "$CC"; then
8180: if test -n "$ac_tool_prefix"; then
8181: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
8182: set dummy ${ac_tool_prefix}cc; ac_word=$2
8183: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8184: $as_echo_n "checking for $ac_word... " >&6; }
8185: if ${ac_cv_prog_CC+:} false; then :
8186: $as_echo_n "(cached) " >&6
8187: else
8188: if test -n "$CC"; then
8189: ac_cv_prog_CC="$CC" # Let the user override the test.
8190: else
8191: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8192: for as_dir in $PATH
8193: do
8194: IFS=$as_save_IFS
8195: test -z "$as_dir" && as_dir=.
8196: for ac_exec_ext in '' $ac_executable_extensions; do
8197: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8198: ac_cv_prog_CC="${ac_tool_prefix}cc"
8199: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8200: break 2
8201: fi
8202: done
8203: done
8204: IFS=$as_save_IFS
8205:
8206: fi
8207: fi
8208: CC=$ac_cv_prog_CC
8209: if test -n "$CC"; then
8210: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8211: $as_echo "$CC" >&6; }
8212: else
8213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8214: $as_echo "no" >&6; }
8215: fi
8216:
8217:
8218: fi
8219: fi
8220: if test -z "$CC"; then
8221: # Extract the first word of "cc", so it can be a program name with args.
8222: set dummy cc; ac_word=$2
8223: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8224: $as_echo_n "checking for $ac_word... " >&6; }
8225: if ${ac_cv_prog_CC+:} false; then :
8226: $as_echo_n "(cached) " >&6
8227: else
8228: if test -n "$CC"; then
8229: ac_cv_prog_CC="$CC" # Let the user override the test.
8230: else
8231: ac_prog_rejected=no
8232: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8233: for as_dir in $PATH
8234: do
8235: IFS=$as_save_IFS
8236: test -z "$as_dir" && as_dir=.
8237: for ac_exec_ext in '' $ac_executable_extensions; do
8238: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8239: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
8240: ac_prog_rejected=yes
8241: continue
8242: fi
8243: ac_cv_prog_CC="cc"
8244: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245: break 2
8246: fi
8247: done
8248: done
8249: IFS=$as_save_IFS
8250:
8251: if test $ac_prog_rejected = yes; then
8252: # We found a bogon in the path, so make sure we never use it.
8253: set dummy $ac_cv_prog_CC
8254: shift
8255: if test $# != 0; then
8256: # We chose a different compiler from the bogus one.
8257: # However, it has the same basename, so the bogon will be chosen
8258: # first if we set CC to just the basename; use the full file name.
8259: shift
8260: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
8261: fi
8262: fi
8263: fi
8264: fi
8265: CC=$ac_cv_prog_CC
8266: if test -n "$CC"; then
8267: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8268: $as_echo "$CC" >&6; }
8269: else
8270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8271: $as_echo "no" >&6; }
8272: fi
8273:
8274:
8275: fi
8276: if test -z "$CC"; then
8277: if test -n "$ac_tool_prefix"; then
8278: for ac_prog in cl.exe
8279: do
8280: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8281: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8282: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283: $as_echo_n "checking for $ac_word... " >&6; }
8284: if ${ac_cv_prog_CC+:} false; then :
8285: $as_echo_n "(cached) " >&6
8286: else
8287: if test -n "$CC"; then
8288: ac_cv_prog_CC="$CC" # Let the user override the test.
8289: else
8290: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8291: for as_dir in $PATH
8292: do
8293: IFS=$as_save_IFS
8294: test -z "$as_dir" && as_dir=.
8295: for ac_exec_ext in '' $ac_executable_extensions; do
8296: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8297: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
8298: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299: break 2
8300: fi
8301: done
8302: done
8303: IFS=$as_save_IFS
8304:
8305: fi
8306: fi
8307: CC=$ac_cv_prog_CC
8308: if test -n "$CC"; then
8309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8310: $as_echo "$CC" >&6; }
8311: else
8312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313: $as_echo "no" >&6; }
8314: fi
8315:
8316:
8317: test -n "$CC" && break
8318: done
8319: fi
8320: if test -z "$CC"; then
8321: ac_ct_CC=$CC
8322: for ac_prog in cl.exe
8323: do
8324: # Extract the first word of "$ac_prog", so it can be a program name with args.
8325: set dummy $ac_prog; ac_word=$2
8326: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8327: $as_echo_n "checking for $ac_word... " >&6; }
8328: if ${ac_cv_prog_ac_ct_CC+:} false; then :
8329: $as_echo_n "(cached) " >&6
8330: else
8331: if test -n "$ac_ct_CC"; then
8332: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
8333: else
8334: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8335: for as_dir in $PATH
8336: do
8337: IFS=$as_save_IFS
8338: test -z "$as_dir" && as_dir=.
8339: for ac_exec_ext in '' $ac_executable_extensions; do
8340: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341: ac_cv_prog_ac_ct_CC="$ac_prog"
8342: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8343: break 2
8344: fi
8345: done
8346: done
8347: IFS=$as_save_IFS
8348:
8349: fi
8350: fi
8351: ac_ct_CC=$ac_cv_prog_ac_ct_CC
8352: if test -n "$ac_ct_CC"; then
8353: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
8354: $as_echo "$ac_ct_CC" >&6; }
8355: else
8356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8357: $as_echo "no" >&6; }
8358: fi
8359:
8360:
8361: test -n "$ac_ct_CC" && break
8362: done
8363:
8364: if test "x$ac_ct_CC" = x; then
8365: CC=""
8366: else
8367: case $cross_compiling:$ac_tool_warned in
8368: yes:)
8369: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8370: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8371: ac_tool_warned=yes ;;
8372: esac
8373: CC=$ac_ct_CC
8374: fi
8375: fi
8376:
8377: fi
8378:
8379:
8380: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8381: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8382: as_fn_error $? "no acceptable C compiler found in \$PATH
8383: See \`config.log' for more details" "$LINENO" 5; }
8384:
8385: # Provide some information about the compiler.
8386: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
8387: set X $ac_compile
8388: ac_compiler=$2
8389: for ac_option in --version -v -V -qversion; do
8390: { { ac_try="$ac_compiler $ac_option >&5"
8391: case "(($ac_try" in
8392: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8393: *) ac_try_echo=$ac_try;;
8394: esac
8395: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8396: $as_echo "$ac_try_echo"; } >&5
8397: (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8398: ac_status=$?
8399: if test -s conftest.err; then
8400: sed '10a\
8401: ... rest of stderr output deleted ...
8402: 10q' conftest.err >conftest.er1
8403: cat conftest.er1 >&5
8404: fi
8405: rm -f conftest.er1 conftest.err
8406: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8407: test $ac_status = 0; }
8408: done
8409:
8410: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8411: /* end confdefs.h. */
8412:
8413: int
8414: main ()
8415: {
8416:
8417: ;
8418: return 0;
8419: }
8420: _ACEOF
8421: ac_clean_files_save=$ac_clean_files
8422: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
8423: # Try to create an executable without -o first, disregard a.out.
8424: # It will help us diagnose broken compilers, and finding out an intuition
8425: # of exeext.
8426: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
8427: $as_echo_n "checking whether the C compiler works... " >&6; }
8428: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
8429:
8430: # The possible output files:
8431: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
8432:
8433: ac_rmfiles=
8434: for ac_file in $ac_files
8435: do
8436: case $ac_file in
8437: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8438: * ) ac_rmfiles="$ac_rmfiles $ac_file";;
8439: esac
8440: done
8441: rm -f $ac_rmfiles
8442:
8443: if { { ac_try="$ac_link_default"
8444: case "(($ac_try" in
8445: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8446: *) ac_try_echo=$ac_try;;
8447: esac
8448: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8449: $as_echo "$ac_try_echo"; } >&5
8450: (eval "$ac_link_default") 2>&5
8451: ac_status=$?
8452: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8453: test $ac_status = 0; }; then :
8454: # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
8455: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
8456: # in a Makefile. We should not override ac_cv_exeext if it was cached,
8457: # so that the user can short-circuit this test for compilers unknown to
8458: # Autoconf.
8459: for ac_file in $ac_files ''
8460: do
8461: test -f "$ac_file" || continue
8462: case $ac_file in
8463: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
8464: ;;
8465: [ab].out )
8466: # We found the default executable, but exeext='' is most
8467: # certainly right.
8468: break;;
8469: *.* )
8470: if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
8471: then :; else
8472: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8473: fi
8474: # We set ac_cv_exeext here because the later test for it is not
8475: # safe: cross compilers may not add the suffix if given an `-o'
8476: # argument, so we may need to know it at that point already.
8477: # Even if this section looks crufty: it has the advantage of
8478: # actually working.
8479: break;;
8480: * )
8481: break;;
8482: esac
8483: done
8484: test "$ac_cv_exeext" = no && ac_cv_exeext=
8485:
8486: else
8487: ac_file=''
8488: fi
8489: if test -z "$ac_file"; then :
8490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8491: $as_echo "no" >&6; }
8492: $as_echo "$as_me: failed program was:" >&5
8493: sed 's/^/| /' conftest.$ac_ext >&5
8494:
8495: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8496: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8497: as_fn_error 77 "C compiler cannot create executables
8498: See \`config.log' for more details" "$LINENO" 5; }
8499: else
8500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8501: $as_echo "yes" >&6; }
8502: fi
8503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
8504: $as_echo_n "checking for C compiler default output file name... " >&6; }
8505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
8506: $as_echo "$ac_file" >&6; }
8507: ac_exeext=$ac_cv_exeext
8508:
8509: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
8510: ac_clean_files=$ac_clean_files_save
8511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
8512: $as_echo_n "checking for suffix of executables... " >&6; }
8513: if { { ac_try="$ac_link"
8514: case "(($ac_try" in
8515: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8516: *) ac_try_echo=$ac_try;;
8517: esac
8518: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8519: $as_echo "$ac_try_echo"; } >&5
8520: (eval "$ac_link") 2>&5
8521: ac_status=$?
8522: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8523: test $ac_status = 0; }; then :
8524: # If both `conftest.exe' and `conftest' are `present' (well, observable)
8525: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
8526: # work properly (i.e., refer to `conftest.exe'), while it won't with
8527: # `rm'.
8528: for ac_file in conftest.exe conftest conftest.*; do
8529: test -f "$ac_file" || continue
8530: case $ac_file in
8531: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
8532: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
8533: break;;
8534: * ) break;;
8535: esac
8536: done
8537: else
8538: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8539: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8540: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
8541: See \`config.log' for more details" "$LINENO" 5; }
8542: fi
8543: rm -f conftest conftest$ac_cv_exeext
8544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
8545: $as_echo "$ac_cv_exeext" >&6; }
8546:
8547: rm -f conftest.$ac_ext
8548: EXEEXT=$ac_cv_exeext
8549: ac_exeext=$EXEEXT
8550: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8551: /* end confdefs.h. */
8552: #include <stdio.h>
8553: int
8554: main ()
8555: {
8556: FILE *f = fopen ("conftest.out", "w");
8557: return ferror (f) || fclose (f) != 0;
8558:
8559: ;
8560: return 0;
8561: }
8562: _ACEOF
8563: ac_clean_files="$ac_clean_files conftest.out"
8564: # Check that the compiler produces executables we can run. If not, either
8565: # the compiler is broken, or we cross compile.
8566: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
8567: $as_echo_n "checking whether we are cross compiling... " >&6; }
8568: if test "$cross_compiling" != yes; then
8569: { { ac_try="$ac_link"
8570: case "(($ac_try" in
8571: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8572: *) ac_try_echo=$ac_try;;
8573: esac
8574: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8575: $as_echo "$ac_try_echo"; } >&5
8576: (eval "$ac_link") 2>&5
8577: ac_status=$?
8578: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8579: test $ac_status = 0; }
8580: if { ac_try='./conftest$ac_cv_exeext'
8581: { { case "(($ac_try" in
8582: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8583: *) ac_try_echo=$ac_try;;
8584: esac
8585: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8586: $as_echo "$ac_try_echo"; } >&5
8587: (eval "$ac_try") 2>&5
8588: ac_status=$?
8589: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8590: test $ac_status = 0; }; }; then
8591: cross_compiling=no
8592: else
8593: if test "$cross_compiling" = maybe; then
8594: cross_compiling=yes
8595: else
8596: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8597: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8598: as_fn_error $? "cannot run C compiled programs.
8599: If you meant to cross compile, use \`--host'.
8600: See \`config.log' for more details" "$LINENO" 5; }
8601: fi
8602: fi
8603: fi
8604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
8605: $as_echo "$cross_compiling" >&6; }
8606:
8607: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
8608: ac_clean_files=$ac_clean_files_save
8609: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
8610: $as_echo_n "checking for suffix of object files... " >&6; }
8611: if ${ac_cv_objext+:} false; then :
8612: $as_echo_n "(cached) " >&6
8613: else
8614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615: /* end confdefs.h. */
8616:
8617: int
8618: main ()
8619: {
8620:
8621: ;
8622: return 0;
8623: }
8624: _ACEOF
8625: rm -f conftest.o conftest.obj
8626: if { { ac_try="$ac_compile"
8627: case "(($ac_try" in
8628: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8629: *) ac_try_echo=$ac_try;;
8630: esac
8631: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8632: $as_echo "$ac_try_echo"; } >&5
8633: (eval "$ac_compile") 2>&5
8634: ac_status=$?
8635: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8636: test $ac_status = 0; }; then :
8637: for ac_file in conftest.o conftest.obj conftest.*; do
8638: test -f "$ac_file" || continue;
8639: case $ac_file in
8640: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
8641: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
8642: break;;
8643: esac
8644: done
8645: else
8646: $as_echo "$as_me: failed program was:" >&5
8647: sed 's/^/| /' conftest.$ac_ext >&5
8648:
8649: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8650: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8651: as_fn_error $? "cannot compute suffix of object files: cannot compile
8652: See \`config.log' for more details" "$LINENO" 5; }
8653: fi
8654: rm -f conftest.$ac_cv_objext conftest.$ac_ext
8655: fi
8656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
8657: $as_echo "$ac_cv_objext" >&6; }
8658: OBJEXT=$ac_cv_objext
8659: ac_objext=$OBJEXT
8660: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8661: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
8662: if ${ac_cv_c_compiler_gnu+:} false; then :
8663: $as_echo_n "(cached) " >&6
8664: else
8665: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666: /* end confdefs.h. */
8667:
8668: int
8669: main ()
8670: {
8671: #ifndef __GNUC__
8672: choke me
8673: #endif
8674:
8675: ;
8676: return 0;
8677: }
8678: _ACEOF
8679: if ac_fn_c_try_compile "$LINENO"; then :
8680: ac_compiler_gnu=yes
8681: else
8682: ac_compiler_gnu=no
8683: fi
8684: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8685: ac_cv_c_compiler_gnu=$ac_compiler_gnu
8686:
8687: fi
8688: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
8689: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
8690: if test $ac_compiler_gnu = yes; then
8691: GCC=yes
8692: else
8693: GCC=
8694: fi
8695: ac_test_CFLAGS=${CFLAGS+set}
8696: ac_save_CFLAGS=$CFLAGS
8697: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
8698: $as_echo_n "checking whether $CC accepts -g... " >&6; }
8699: if ${ac_cv_prog_cc_g+:} false; then :
8700: $as_echo_n "(cached) " >&6
8701: else
8702: ac_save_c_werror_flag=$ac_c_werror_flag
8703: ac_c_werror_flag=yes
8704: ac_cv_prog_cc_g=no
8705: CFLAGS="-g"
8706: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8707: /* end confdefs.h. */
8708:
8709: int
8710: main ()
8711: {
8712:
8713: ;
8714: return 0;
8715: }
8716: _ACEOF
8717: if ac_fn_c_try_compile "$LINENO"; then :
8718: ac_cv_prog_cc_g=yes
8719: else
8720: CFLAGS=""
8721: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8722: /* end confdefs.h. */
8723:
8724: int
8725: main ()
8726: {
8727:
8728: ;
8729: return 0;
8730: }
8731: _ACEOF
8732: if ac_fn_c_try_compile "$LINENO"; then :
8733:
8734: else
8735: ac_c_werror_flag=$ac_save_c_werror_flag
8736: CFLAGS="-g"
8737: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738: /* end confdefs.h. */
8739:
8740: int
8741: main ()
8742: {
8743:
8744: ;
8745: return 0;
8746: }
8747: _ACEOF
8748: if ac_fn_c_try_compile "$LINENO"; then :
8749: ac_cv_prog_cc_g=yes
8750: fi
8751: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8752: fi
8753: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8754: fi
8755: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8756: ac_c_werror_flag=$ac_save_c_werror_flag
8757: fi
8758: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
8759: $as_echo "$ac_cv_prog_cc_g" >&6; }
8760: if test "$ac_test_CFLAGS" = set; then
8761: CFLAGS=$ac_save_CFLAGS
8762: elif test $ac_cv_prog_cc_g = yes; then
8763: if test "$GCC" = yes; then
8764: CFLAGS="-g -O2"
8765: else
8766: CFLAGS="-g"
8767: fi
8768: else
8769: if test "$GCC" = yes; then
8770: CFLAGS="-O2"
8771: else
8772: CFLAGS=
8773: fi
8774: fi
8775: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
8776: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
8777: if ${ac_cv_prog_cc_c89+:} false; then :
8778: $as_echo_n "(cached) " >&6
8779: else
8780: ac_cv_prog_cc_c89=no
8781: ac_save_CC=$CC
8782: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783: /* end confdefs.h. */
8784: #include <stdarg.h>
8785: #include <stdio.h>
8786: struct stat;
8787: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
8788: struct buf { int x; };
8789: FILE * (*rcsopen) (struct buf *, struct stat *, int);
8790: static char *e (p, i)
8791: char **p;
8792: int i;
8793: {
8794: return p[i];
8795: }
8796: static char *f (char * (*g) (char **, int), char **p, ...)
8797: {
8798: char *s;
8799: va_list v;
8800: va_start (v,p);
8801: s = g (p, va_arg (v,int));
8802: va_end (v);
8803: return s;
8804: }
8805:
8806: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
8807: function prototypes and stuff, but not '\xHH' hex character constants.
8808: These don't provoke an error unfortunately, instead are silently treated
8809: as 'x'. The following induces an error, until -std is added to get
8810: proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
8811: array size at least. It's necessary to write '\x00'==0 to get something
8812: that's true only with -std. */
8813: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
8814:
8815: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
8816: inside strings and character constants. */
8817: #define FOO(x) 'x'
8818: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
8819:
8820: int test (int i, double x);
8821: struct s1 {int (*f) (int a);};
8822: struct s2 {int (*f) (double a);};
8823: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
8824: int argc;
8825: char **argv;
8826: int
8827: main ()
8828: {
8829: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
8830: ;
8831: return 0;
8832: }
8833: _ACEOF
8834: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
8835: -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
8836: do
8837: CC="$ac_save_CC $ac_arg"
8838: if ac_fn_c_try_compile "$LINENO"; then :
8839: ac_cv_prog_cc_c89=$ac_arg
8840: fi
8841: rm -f core conftest.err conftest.$ac_objext
8842: test "x$ac_cv_prog_cc_c89" != "xno" && break
8843: done
8844: rm -f conftest.$ac_ext
8845: CC=$ac_save_CC
8846:
8847: fi
8848: # AC_CACHE_VAL
8849: case "x$ac_cv_prog_cc_c89" in
8850: x)
8851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
8852: $as_echo "none needed" >&6; } ;;
8853: xno)
8854: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
8855: $as_echo "unsupported" >&6; } ;;
8856: *)
8857: CC="$CC $ac_cv_prog_cc_c89"
8858: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
8859: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
8860: esac
8861: if test "x$ac_cv_prog_cc_c89" != xno; then :
8862:
8863: fi
8864:
8865: ac_ext=c
8866: ac_cpp='$CPP $CPPFLAGS'
8867: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8868: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8869: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8870:
8871: ac_ext=c
8872: ac_cpp='$CPP $CPPFLAGS'
8873: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8874: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8875: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
8877: $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
8878: if ${am_cv_prog_cc_c_o+:} false; then :
8879: $as_echo_n "(cached) " >&6
8880: else
8881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8882: /* end confdefs.h. */
8883:
8884: int
8885: main ()
8886: {
8887:
8888: ;
8889: return 0;
8890: }
8891: _ACEOF
8892: # Make sure it works both with $CC and with simple cc.
8893: # Following AC_PROG_CC_C_O, we do the test twice because some
8894: # compilers refuse to overwrite an existing .o file with -o,
8895: # though they will create one.
8896: am_cv_prog_cc_c_o=yes
8897: for am_i in 1 2; do
8898: if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
8899: ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
8900: ac_status=$?
8901: echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902: (exit $ac_status); } \
8903: && test -f conftest2.$ac_objext; then
8904: : OK
8905: else
8906: am_cv_prog_cc_c_o=no
8907: break
8908: fi
8909: done
8910: rm -f core conftest*
8911: unset am_i
8912: fi
8913: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
8914: $as_echo "$am_cv_prog_cc_c_o" >&6; }
8915: if test "$am_cv_prog_cc_c_o" != yes; then
8916: # Losing compiler, so override with the script.
8917: # FIXME: It is wrong to rewrite CC.
8918: # But if we don't then we get into trouble of one sort or another.
8919: # A longer-term fix would be to have automake use am__CC in this case,
8920: # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
8921: CC="$am_aux_dir/compile $CC"
8922: fi
8923: ac_ext=c
8924: ac_cpp='$CPP $CPPFLAGS'
8925: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8926: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8927: ac_compiler_gnu=$ac_cv_c_compiler_gnu
8928:
8929: DEPDIR="${am__leading_dot}deps"
8930:
8931: ac_config_commands="$ac_config_commands depfiles"
8932:
8933:
8934: am_make=${MAKE-make}
8935: cat > confinc << 'END'
8936: am__doit:
8937: @echo this is the am__doit target
8938: .PHONY: am__doit
8939: END
8940: # If we don't find an include directive, just comment out the code.
8941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
8942: $as_echo_n "checking for style of include used by $am_make... " >&6; }
8943: am__include="#"
8944: am__quote=
8945: _am_result=none
8946: # First try GNU make style include.
8947: echo "include confinc" > confmf
8948: # Ignore all kinds of additional output from 'make'.
8949: case `$am_make -s -f confmf 2> /dev/null` in #(
8950: *the\ am__doit\ target*)
8951: am__include=include
8952: am__quote=
8953: _am_result=GNU
8954: ;;
8955: esac
8956: # Now try BSD make style include.
8957: if test "$am__include" = "#"; then
8958: echo '.include "confinc"' > confmf
8959: case `$am_make -s -f confmf 2> /dev/null` in #(
8960: *the\ am__doit\ target*)
8961: am__include=.include
8962: am__quote="\""
8963: _am_result=BSD
8964: ;;
8965: esac
8966: fi
8967:
8968:
8969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
8970: $as_echo "$_am_result" >&6; }
8971: rm -f confinc confmf
8972:
8973: # Check whether --enable-dependency-tracking was given.
8974: if test "${enable_dependency_tracking+set}" = set; then :
8975: enableval=$enable_dependency_tracking;
8976: fi
8977:
8978: if test "x$enable_dependency_tracking" != xno; then
8979: am_depcomp="$ac_aux_dir/depcomp"
8980: AMDEPBACKSLASH='\'
8981: am__nodep='_no'
8982: fi
8983: if test "x$enable_dependency_tracking" != xno; then
8984: AMDEP_TRUE=
8985: AMDEP_FALSE='#'
8986: else
8987: AMDEP_TRUE='#'
8988: AMDEP_FALSE=
8989: fi
8990:
8991:
8992:
8993: depcc="$CC" am_compiler_list=
8994:
8995: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
8996: $as_echo_n "checking dependency style of $depcc... " >&6; }
8997: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
8998: $as_echo_n "(cached) " >&6
8999: else
9000: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9001: # We make a subdir and do the tests there. Otherwise we can end up
9002: # making bogus files that we don't know about and never remove. For
9003: # instance it was reported that on HP-UX the gcc test will end up
9004: # making a dummy file named 'D' -- because '-MD' means "put the output
9005: # in D".
9006: rm -rf conftest.dir
9007: mkdir conftest.dir
9008: # Copy depcomp to subdir because otherwise we won't find it if we're
9009: # using a relative directory.
9010: cp "$am_depcomp" conftest.dir
9011: cd conftest.dir
9012: # We will build objects and dependencies in a subdirectory because
9013: # it helps to detect inapplicable dependency modes. For instance
9014: # both Tru64's cc and ICC support -MD to output dependencies as a
9015: # side effect of compilation, but ICC will put the dependencies in
9016: # the current directory while Tru64 will put them in the object
9017: # directory.
9018: mkdir sub
9019:
9020: am_cv_CC_dependencies_compiler_type=none
9021: if test "$am_compiler_list" = ""; then
9022: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
9023: fi
9024: am__universal=false
9025: case " $depcc " in #(
9026: *\ -arch\ *\ -arch\ *) am__universal=true ;;
9027: esac
9028:
9029: for depmode in $am_compiler_list; do
9030: # Setup a source with many dependencies, because some compilers
9031: # like to wrap large dependency lists on column 80 (with \), and
9032: # we should not choose a depcomp mode which is confused by this.
9033: #
9034: # We need to recreate these files for each test, as the compiler may
9035: # overwrite some of them when testing with obscure command lines.
9036: # This happens at least with the AIX C compiler.
9037: : > sub/conftest.c
9038: for i in 1 2 3 4 5 6; do
9039: echo '#include "conftst'$i'.h"' >> sub/conftest.c
9040: # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
9041: # Solaris 10 /bin/sh.
9042: echo '/* dummy */' > sub/conftst$i.h
9043: done
9044: echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9045:
9046: # We check with '-c' and '-o' for the sake of the "dashmstdout"
9047: # mode. It turns out that the SunPro C++ compiler does not properly
9048: # handle '-M -o', and we need to detect this. Also, some Intel
9049: # versions had trouble with output in subdirs.
9050: am__obj=sub/conftest.${OBJEXT-o}
9051: am__minus_obj="-o $am__obj"
9052: case $depmode in
9053: gcc)
9054: # This depmode causes a compiler race in universal mode.
9055: test "$am__universal" = false || continue
9056: ;;
9057: nosideeffect)
9058: # After this tag, mechanisms are not by side-effect, so they'll
9059: # only be used when explicitly requested.
9060: if test "x$enable_dependency_tracking" = xyes; then
9061: continue
9062: else
9063: break
9064: fi
9065: ;;
9066: msvc7 | msvc7msys | msvisualcpp | msvcmsys)
9067: # This compiler won't grok '-c -o', but also, the minuso test has
9068: # not run yet. These depmodes are late enough in the game, and
9069: # so weak that their functioning should not be impacted.
9070: am__obj=conftest.${OBJEXT-o}
9071: am__minus_obj=
9072: ;;
9073: none) break ;;
9074: esac
9075: if depmode=$depmode \
9076: source=sub/conftest.c object=$am__obj \
9077: depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9078: $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9079: >/dev/null 2>conftest.err &&
9080: grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9081: grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9082: grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9083: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9084: # icc doesn't choke on unknown options, it will just issue warnings
9085: # or remarks (even with -Werror). So we grep stderr for any message
9086: # that says an option was ignored or not supported.
9087: # When given -MP, icc 7.0 and 7.1 complain thusly:
9088: # icc: Command line warning: ignoring option '-M'; no argument required
9089: # The diagnosis changed in icc 8.0:
9090: # icc: Command line remark: option '-MP' not supported
9091: if (grep 'ignoring option' conftest.err ||
9092: grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9093: am_cv_CC_dependencies_compiler_type=$depmode
9094: break
9095: fi
9096: fi
9097: done
9098:
9099: cd ..
9100: rm -rf conftest.dir
9101: else
9102: am_cv_CC_dependencies_compiler_type=none
9103: fi
9104:
9105: fi
9106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
9107: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
9108: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
9109:
9110: if
9111: test "x$enable_dependency_tracking" != xno \
9112: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
9113: am__fastdepCC_TRUE=
9114: am__fastdepCC_FALSE='#'
9115: else
9116: am__fastdepCC_TRUE='#'
9117: am__fastdepCC_FALSE=
9118: fi
9119:
9120:
9121:
9122:
9123: # Make sure we can run config.sub.
9124: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
9125: as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
9126:
9127: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
9128: $as_echo_n "checking build system type... " >&6; }
9129: if ${ac_cv_build+:} false; then :
9130: $as_echo_n "(cached) " >&6
9131: else
9132: ac_build_alias=$build_alias
9133: test "x$ac_build_alias" = x &&
9134: ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
9135: test "x$ac_build_alias" = x &&
9136: as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
9137: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
9138: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
9139:
9140: fi
9141: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
9142: $as_echo "$ac_cv_build" >&6; }
9143: case $ac_cv_build in
9144: *-*-*) ;;
9145: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
9146: esac
9147: build=$ac_cv_build
9148: ac_save_IFS=$IFS; IFS='-'
9149: set x $ac_cv_build
9150: shift
9151: build_cpu=$1
9152: build_vendor=$2
9153: shift; shift
9154: # Remember, the first character of IFS is used to create $*,
9155: # except with old shells:
9156: build_os=$*
9157: IFS=$ac_save_IFS
9158: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
9159:
9160:
9161: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
9162: $as_echo_n "checking host system type... " >&6; }
9163: if ${ac_cv_host+:} false; then :
9164: $as_echo_n "(cached) " >&6
9165: else
9166: if test "x$host_alias" = x; then
9167: ac_cv_host=$ac_cv_build
9168: else
9169: ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
9170: as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
9171: fi
9172:
9173: fi
9174: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
9175: $as_echo "$ac_cv_host" >&6; }
9176: case $ac_cv_host in
9177: *-*-*) ;;
9178: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
9179: esac
9180: host=$ac_cv_host
9181: ac_save_IFS=$IFS; IFS='-'
9182: set x $ac_cv_host
9183: shift
9184: host_cpu=$1
9185: host_vendor=$2
9186: shift; shift
9187: # Remember, the first character of IFS is used to create $*,
9188: # except with old shells:
9189: host_os=$*
9190: IFS=$ac_save_IFS
9191: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
9192:
9193:
9194:
9195: ac_ext=c
9196: ac_cpp='$CPP $CPPFLAGS'
9197: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9198: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9199: ac_compiler_gnu=$ac_cv_c_compiler_gnu
9200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9201: $as_echo_n "checking how to run the C preprocessor... " >&6; }
9202: # On Suns, sometimes $CPP names a directory.
9203: if test -n "$CPP" && test -d "$CPP"; then
9204: CPP=
9205: fi
9206: if test -z "$CPP"; then
9207: if ${ac_cv_prog_CPP+:} false; then :
9208: $as_echo_n "(cached) " >&6
9209: else
9210: # Double quotes because CPP needs to be expanded
9211: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9212: do
9213: ac_preproc_ok=false
9214: for ac_c_preproc_warn_flag in '' yes
9215: do
9216: # Use a header file that comes with gcc, so configuring glibc
9217: # with a fresh cross-compiler works.
9218: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9219: # <limits.h> exists even on freestanding compilers.
9220: # On the NeXT, cc -E runs the code through the compiler's parser,
9221: # not just through cpp. "Syntax error" is here to catch this case.
9222: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9223: /* end confdefs.h. */
9224: #ifdef __STDC__
9225: # include <limits.h>
9226: #else
9227: # include <assert.h>
9228: #endif
9229: Syntax error
9230: _ACEOF
9231: if ac_fn_c_try_cpp "$LINENO"; then :
9232:
9233: else
9234: # Broken: fails on valid input.
9235: continue
9236: fi
9237: rm -f conftest.err conftest.i conftest.$ac_ext
9238:
9239: # OK, works on sane cases. Now check whether nonexistent headers
9240: # can be detected and how.
9241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242: /* end confdefs.h. */
9243: #include <ac_nonexistent.h>
9244: _ACEOF
9245: if ac_fn_c_try_cpp "$LINENO"; then :
9246: # Broken: success on invalid input.
9247: continue
9248: else
9249: # Passes both tests.
9250: ac_preproc_ok=:
9251: break
9252: fi
9253: rm -f conftest.err conftest.i conftest.$ac_ext
9254:
9255: done
9256: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9257: rm -f conftest.i conftest.err conftest.$ac_ext
9258: if $ac_preproc_ok; then :
9259: break
9260: fi
9261:
9262: done
9263: ac_cv_prog_CPP=$CPP
9264:
9265: fi
9266: CPP=$ac_cv_prog_CPP
9267: else
9268: ac_cv_prog_CPP=$CPP
9269: fi
9270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9271: $as_echo "$CPP" >&6; }
9272: ac_preproc_ok=false
9273: for ac_c_preproc_warn_flag in '' yes
9274: do
9275: # Use a header file that comes with gcc, so configuring glibc
9276: # with a fresh cross-compiler works.
9277: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9278: # <limits.h> exists even on freestanding compilers.
9279: # On the NeXT, cc -E runs the code through the compiler's parser,
9280: # not just through cpp. "Syntax error" is here to catch this case.
9281: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9282: /* end confdefs.h. */
9283: #ifdef __STDC__
9284: # include <limits.h>
9285: #else
9286: # include <assert.h>
9287: #endif
9288: Syntax error
9289: _ACEOF
9290: if ac_fn_c_try_cpp "$LINENO"; then :
9291:
9292: else
9293: # Broken: fails on valid input.
9294: continue
9295: fi
9296: rm -f conftest.err conftest.i conftest.$ac_ext
9297:
9298: # OK, works on sane cases. Now check whether nonexistent headers
9299: # can be detected and how.
9300: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9301: /* end confdefs.h. */
9302: #include <ac_nonexistent.h>
9303: _ACEOF
9304: if ac_fn_c_try_cpp "$LINENO"; then :
9305: # Broken: success on invalid input.
9306: continue
9307: else
9308: # Passes both tests.
9309: ac_preproc_ok=:
9310: break
9311: fi
9312: rm -f conftest.err conftest.i conftest.$ac_ext
9313:
9314: done
9315: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9316: rm -f conftest.i conftest.err conftest.$ac_ext
9317: if $ac_preproc_ok; then :
9318:
9319: else
9320: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9321: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9322: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9323: See \`config.log' for more details" "$LINENO" 5; }
9324: fi
9325:
9326: ac_ext=c
9327: ac_cpp='$CPP $CPPFLAGS'
9328: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9329: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9330: ac_compiler_gnu=$ac_cv_c_compiler_gnu
9331:
9332:
9333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
9334: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
9335: if ${ac_cv_path_GREP+:} false; then :
9336: $as_echo_n "(cached) " >&6
9337: else
9338: if test -z "$GREP"; then
9339: ac_path_GREP_found=false
9340: # Loop through the user's path and test for each of PROGNAME-LIST
9341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9342: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9343: do
9344: IFS=$as_save_IFS
9345: test -z "$as_dir" && as_dir=.
9346: for ac_prog in grep ggrep; do
9347: for ac_exec_ext in '' $ac_executable_extensions; do
9348: ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
9349: as_fn_executable_p "$ac_path_GREP" || continue
9350: # Check for GNU ac_path_GREP and select it if it is found.
9351: # Check for GNU $ac_path_GREP
9352: case `"$ac_path_GREP" --version 2>&1` in
9353: *GNU*)
9354: ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
9355: *)
9356: ac_count=0
9357: $as_echo_n 0123456789 >"conftest.in"
9358: while :
9359: do
9360: cat "conftest.in" "conftest.in" >"conftest.tmp"
9361: mv "conftest.tmp" "conftest.in"
9362: cp "conftest.in" "conftest.nl"
9363: $as_echo 'GREP' >> "conftest.nl"
9364: "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9365: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9366: as_fn_arith $ac_count + 1 && ac_count=$as_val
9367: if test $ac_count -gt ${ac_path_GREP_max-0}; then
9368: # Best one so far, save it but keep looking for a better one
9369: ac_cv_path_GREP="$ac_path_GREP"
9370: ac_path_GREP_max=$ac_count
9371: fi
9372: # 10*(2^10) chars as input seems more than enough
9373: test $ac_count -gt 10 && break
9374: done
9375: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9376: esac
9377:
9378: $ac_path_GREP_found && break 3
9379: done
9380: done
9381: done
9382: IFS=$as_save_IFS
9383: if test -z "$ac_cv_path_GREP"; then
9384: as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9385: fi
9386: else
9387: ac_cv_path_GREP=$GREP
9388: fi
9389:
9390: fi
9391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
9392: $as_echo "$ac_cv_path_GREP" >&6; }
9393: GREP="$ac_cv_path_GREP"
9394:
9395:
9396: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
9397: $as_echo_n "checking for egrep... " >&6; }
9398: if ${ac_cv_path_EGREP+:} false; then :
9399: $as_echo_n "(cached) " >&6
9400: else
9401: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
9402: then ac_cv_path_EGREP="$GREP -E"
9403: else
9404: if test -z "$EGREP"; then
9405: ac_path_EGREP_found=false
9406: # Loop through the user's path and test for each of PROGNAME-LIST
9407: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9408: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
9409: do
9410: IFS=$as_save_IFS
9411: test -z "$as_dir" && as_dir=.
9412: for ac_prog in egrep; do
9413: for ac_exec_ext in '' $ac_executable_extensions; do
9414: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
9415: as_fn_executable_p "$ac_path_EGREP" || continue
9416: # Check for GNU ac_path_EGREP and select it if it is found.
9417: # Check for GNU $ac_path_EGREP
9418: case `"$ac_path_EGREP" --version 2>&1` in
9419: *GNU*)
9420: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
9421: *)
9422: ac_count=0
9423: $as_echo_n 0123456789 >"conftest.in"
9424: while :
9425: do
9426: cat "conftest.in" "conftest.in" >"conftest.tmp"
9427: mv "conftest.tmp" "conftest.in"
9428: cp "conftest.in" "conftest.nl"
9429: $as_echo 'EGREP' >> "conftest.nl"
9430: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
9431: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
9432: as_fn_arith $ac_count + 1 && ac_count=$as_val
9433: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
9434: # Best one so far, save it but keep looking for a better one
9435: ac_cv_path_EGREP="$ac_path_EGREP"
9436: ac_path_EGREP_max=$ac_count
9437: fi
9438: # 10*(2^10) chars as input seems more than enough
9439: test $ac_count -gt 10 && break
9440: done
9441: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
9442: esac
9443:
9444: $ac_path_EGREP_found && break 3
9445: done
9446: done
9447: done
9448: IFS=$as_save_IFS
9449: if test -z "$ac_cv_path_EGREP"; then
9450: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
9451: fi
9452: else
9453: ac_cv_path_EGREP=$EGREP
9454: fi
9455:
9456: fi
9457: fi
9458: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
9459: $as_echo "$ac_cv_path_EGREP" >&6; }
9460: EGREP="$ac_cv_path_EGREP"
9461:
9462:
9463:
9464:
9465: acl_libdirstem=lib
9466: acl_libdirstem2=
9467: case "$host_os" in
9468: solaris*)
9469: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
9470: $as_echo_n "checking for 64-bit host... " >&6; }
9471: if ${gl_cv_solaris_64bit+:} false; then :
9472: $as_echo_n "(cached) " >&6
9473: else
9474: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9475: /* end confdefs.h. */
9476:
9477: #ifdef _LP64
9478: sixtyfour bits
9479: #endif
9480:
9481: _ACEOF
9482: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9483: $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
9484: gl_cv_solaris_64bit=yes
9485: else
9486: gl_cv_solaris_64bit=no
9487: fi
9488: rm -f conftest*
9489:
9490:
9491: fi
9492: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
9493: $as_echo "$gl_cv_solaris_64bit" >&6; }
9494: if test $gl_cv_solaris_64bit = yes; then
9495: acl_libdirstem=lib/64
9496: case "$host_cpu" in
9497: sparc*) acl_libdirstem2=lib/sparcv9 ;;
9498: i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
9499: esac
9500: fi
9501: ;;
9502: *)
9503: searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
9504: if test -n "$searchpath"; then
9505: acl_save_IFS="${IFS= }"; IFS=":"
9506: for searchdir in $searchpath; do
9507: if test -d "$searchdir"; then
9508: case "$searchdir" in
9509: */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
9510: */../ | */.. )
9511: # Better ignore directories of this form. They are misleading.
9512: ;;
9513: *) searchdir=`cd "$searchdir" && pwd`
9514: case "$searchdir" in
9515: */lib64 ) acl_libdirstem=lib64 ;;
9516: esac ;;
9517: esac
9518: fi
9519: done
9520: IFS="$acl_save_IFS"
9521: fi
9522: ;;
9523: esac
9524: test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
9525:
9526:
9527: if test "X$prefix" = "XNONE"; then
9528: acl_final_prefix="$ac_default_prefix"
9529: else
9530: acl_final_prefix="$prefix"
9531: fi
9532: if test "X$exec_prefix" = "XNONE"; then
9533: acl_final_exec_prefix='${prefix}'
9534: else
9535: acl_final_exec_prefix="$exec_prefix"
9536: fi
9537: acl_save_prefix="$prefix"
9538: prefix="$acl_final_prefix"
9539: eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
9540: prefix="$acl_save_prefix"
9541:
9542:
9543:
9544:
9545:
9546:
9547:
9548: use_additional=yes
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:
9562: # Check whether --with-lib-prefix was given.
9563: if test "${with_lib_prefix+set}" = set; then :
9564: withval=$with_lib_prefix;
9565: if test "X$withval" = "Xno"; then
9566: use_additional=no
9567: else
9568: if test "X$withval" = "X"; then
9569:
9570: acl_save_prefix="$prefix"
9571: prefix="$acl_final_prefix"
9572: acl_save_exec_prefix="$exec_prefix"
9573: exec_prefix="$acl_final_exec_prefix"
9574:
9575: eval additional_includedir=\"$includedir\"
9576: eval additional_libdir=\"$libdir\"
9577:
9578: exec_prefix="$acl_save_exec_prefix"
9579: prefix="$acl_save_prefix"
9580:
9581: else
9582: additional_includedir="$withval/include"
9583: additional_libdir="$withval/$acl_libdirstem"
9584: fi
9585: fi
9586:
9587: fi
9588:
9589: if test $use_additional = yes; then
9590: if test "X$additional_includedir" != "X/usr/include"; then
9591: haveit=
9592: for x in $CPPFLAGS; do
9593:
9594: acl_save_prefix="$prefix"
9595: prefix="$acl_final_prefix"
9596: acl_save_exec_prefix="$exec_prefix"
9597: exec_prefix="$acl_final_exec_prefix"
9598: eval x=\"$x\"
9599: exec_prefix="$acl_save_exec_prefix"
9600: prefix="$acl_save_prefix"
9601:
9602: if test "X$x" = "X-I$additional_includedir"; then
9603: haveit=yes
9604: break
9605: fi
9606: done
9607: if test -z "$haveit"; then
9608: if test "X$additional_includedir" = "X/usr/local/include"; then
9609: if test -n "$GCC"; then
9610: case $host_os in
9611: linux* | gnu* | k*bsd*-gnu) haveit=yes;;
9612: esac
9613: fi
9614: fi
9615: if test -z "$haveit"; then
9616: if test -d "$additional_includedir"; then
9617: CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir"
9618: fi
9619: fi
9620: fi
9621: fi
9622: if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
9623: haveit=
9624: for x in $LDFLAGS; do
9625:
9626: acl_save_prefix="$prefix"
9627: prefix="$acl_final_prefix"
9628: acl_save_exec_prefix="$exec_prefix"
9629: exec_prefix="$acl_final_exec_prefix"
9630: eval x=\"$x\"
9631: exec_prefix="$acl_save_exec_prefix"
9632: prefix="$acl_save_prefix"
9633:
9634: if test "X$x" = "X-L$additional_libdir"; then
9635: haveit=yes
9636: break
9637: fi
9638: done
9639: if test -z "$haveit"; then
9640: if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
9641: if test -n "$GCC"; then
9642: case $host_os in
9643: linux*) haveit=yes;;
9644: esac
9645: fi
9646: fi
9647: if test -z "$haveit"; then
9648: if test -d "$additional_libdir"; then
9649: LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir"
9650: fi
9651: fi
9652: fi
9653: fi
9654: fi
9655:
9656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9657: $as_echo_n "checking for ANSI C header files... " >&6; }
9658: if ${ac_cv_header_stdc+:} false; then :
9659: $as_echo_n "(cached) " >&6
9660: else
9661: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662: /* end confdefs.h. */
9663: #include <stdlib.h>
9664: #include <stdarg.h>
9665: #include <string.h>
9666: #include <float.h>
9667:
9668: int
9669: main ()
9670: {
9671:
9672: ;
9673: return 0;
9674: }
9675: _ACEOF
9676: if ac_fn_c_try_compile "$LINENO"; then :
9677: ac_cv_header_stdc=yes
9678: else
9679: ac_cv_header_stdc=no
9680: fi
9681: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9682:
9683: if test $ac_cv_header_stdc = yes; then
9684: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9685: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9686: /* end confdefs.h. */
9687: #include <string.h>
9688:
9689: _ACEOF
9690: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9691: $EGREP "memchr" >/dev/null 2>&1; then :
9692:
9693: else
9694: ac_cv_header_stdc=no
9695: fi
9696: rm -f conftest*
9697:
9698: fi
9699:
9700: if test $ac_cv_header_stdc = yes; then
9701: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703: /* end confdefs.h. */
9704: #include <stdlib.h>
9705:
9706: _ACEOF
9707: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9708: $EGREP "free" >/dev/null 2>&1; then :
9709:
9710: else
9711: ac_cv_header_stdc=no
9712: fi
9713: rm -f conftest*
9714:
9715: fi
9716:
9717: if test $ac_cv_header_stdc = yes; then
9718: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9719: if test "$cross_compiling" = yes; then :
9720: :
9721: else
9722: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723: /* end confdefs.h. */
9724: #include <ctype.h>
9725: #include <stdlib.h>
9726: #if ((' ' & 0x0FF) == 0x020)
9727: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9728: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9729: #else
9730: # define ISLOWER(c) \
9731: (('a' <= (c) && (c) <= 'i') \
9732: || ('j' <= (c) && (c) <= 'r') \
9733: || ('s' <= (c) && (c) <= 'z'))
9734: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9735: #endif
9736:
9737: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9738: int
9739: main ()
9740: {
9741: int i;
9742: for (i = 0; i < 256; i++)
9743: if (XOR (islower (i), ISLOWER (i))
9744: || toupper (i) != TOUPPER (i))
9745: return 2;
9746: return 0;
9747: }
9748: _ACEOF
9749: if ac_fn_c_try_run "$LINENO"; then :
9750:
9751: else
9752: ac_cv_header_stdc=no
9753: fi
9754: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9755: conftest.$ac_objext conftest.beam conftest.$ac_ext
9756: fi
9757:
9758: fi
9759: fi
9760: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9761: $as_echo "$ac_cv_header_stdc" >&6; }
9762: if test $ac_cv_header_stdc = yes; then
9763:
9764: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9765:
9766: fi
9767:
9768: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9769: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9770: inttypes.h stdint.h unistd.h
9771: do :
9772: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9773: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9774: "
9775: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9776: cat >>confdefs.h <<_ACEOF
9777: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9778: _ACEOF
9779:
9780: fi
9781:
9782: done
9783:
9784:
9785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
9786: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
9787: if ${ac_cv_c_bigendian+:} false; then :
9788: $as_echo_n "(cached) " >&6
9789: else
9790: ac_cv_c_bigendian=unknown
9791: # See if we're dealing with a universal compiler.
9792: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9793: /* end confdefs.h. */
9794: #ifndef __APPLE_CC__
9795: not a universal capable compiler
9796: #endif
9797: typedef int dummy;
9798:
9799: _ACEOF
9800: if ac_fn_c_try_compile "$LINENO"; then :
9801:
9802: # Check for potential -arch flags. It is not universal unless
9803: # there are at least two -arch flags with different values.
9804: ac_arch=
9805: ac_prev=
9806: for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
9807: if test -n "$ac_prev"; then
9808: case $ac_word in
9809: i?86 | x86_64 | ppc | ppc64)
9810: if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
9811: ac_arch=$ac_word
9812: else
9813: ac_cv_c_bigendian=universal
9814: break
9815: fi
9816: ;;
9817: esac
9818: ac_prev=
9819: elif test "x$ac_word" = "x-arch"; then
9820: ac_prev=arch
9821: fi
9822: done
9823: fi
9824: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9825: if test $ac_cv_c_bigendian = unknown; then
9826: # See if sys/param.h defines the BYTE_ORDER macro.
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 ! (defined BYTE_ORDER && defined BIG_ENDIAN \
9836: && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
9837: && LITTLE_ENDIAN)
9838: bogus endian macros
9839: #endif
9840:
9841: ;
9842: return 0;
9843: }
9844: _ACEOF
9845: if ac_fn_c_try_compile "$LINENO"; then :
9846: # It does; now see whether it defined to BIG_ENDIAN or not.
9847: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848: /* end confdefs.h. */
9849: #include <sys/types.h>
9850: #include <sys/param.h>
9851:
9852: int
9853: main ()
9854: {
9855: #if BYTE_ORDER != BIG_ENDIAN
9856: not big endian
9857: #endif
9858:
9859: ;
9860: return 0;
9861: }
9862: _ACEOF
9863: if ac_fn_c_try_compile "$LINENO"; then :
9864: ac_cv_c_bigendian=yes
9865: else
9866: ac_cv_c_bigendian=no
9867: fi
9868: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9869: fi
9870: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9871: fi
9872: if test $ac_cv_c_bigendian = unknown; then
9873: # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
9874: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9875: /* end confdefs.h. */
9876: #include <limits.h>
9877:
9878: int
9879: main ()
9880: {
9881: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
9882: bogus endian macros
9883: #endif
9884:
9885: ;
9886: return 0;
9887: }
9888: _ACEOF
9889: if ac_fn_c_try_compile "$LINENO"; then :
9890: # It does; now see whether it defined to _BIG_ENDIAN or not.
9891: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892: /* end confdefs.h. */
9893: #include <limits.h>
9894:
9895: int
9896: main ()
9897: {
9898: #ifndef _BIG_ENDIAN
9899: not big endian
9900: #endif
9901:
9902: ;
9903: return 0;
9904: }
9905: _ACEOF
9906: if ac_fn_c_try_compile "$LINENO"; then :
9907: ac_cv_c_bigendian=yes
9908: else
9909: ac_cv_c_bigendian=no
9910: fi
9911: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9912: fi
9913: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9914: fi
9915: if test $ac_cv_c_bigendian = unknown; then
9916: # Compile a test program.
9917: if test "$cross_compiling" = yes; then :
9918: # Try to guess by grepping values from an object file.
9919: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9920: /* end confdefs.h. */
9921: short int ascii_mm[] =
9922: { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
9923: short int ascii_ii[] =
9924: { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
9925: int use_ascii (int i) {
9926: return ascii_mm[i] + ascii_ii[i];
9927: }
9928: short int ebcdic_ii[] =
9929: { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
9930: short int ebcdic_mm[] =
9931: { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
9932: int use_ebcdic (int i) {
9933: return ebcdic_mm[i] + ebcdic_ii[i];
9934: }
9935: extern int foo;
9936:
9937: int
9938: main ()
9939: {
9940: return use_ascii (foo) == use_ebcdic (foo);
9941: ;
9942: return 0;
9943: }
9944: _ACEOF
9945: if ac_fn_c_try_compile "$LINENO"; then :
9946: if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
9947: ac_cv_c_bigendian=yes
9948: fi
9949: if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
9950: if test "$ac_cv_c_bigendian" = unknown; then
9951: ac_cv_c_bigendian=no
9952: else
9953: # finding both strings is unlikely to happen, but who knows?
9954: ac_cv_c_bigendian=unknown
9955: fi
9956: fi
9957: fi
9958: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9959: else
9960: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9961: /* end confdefs.h. */
9962: $ac_includes_default
9963: int
9964: main ()
9965: {
9966:
9967: /* Are we little or big endian? From Harbison&Steele. */
9968: union
9969: {
9970: long int l;
9971: char c[sizeof (long int)];
9972: } u;
9973: u.l = 1;
9974: return u.c[sizeof (long int) - 1] == 1;
9975:
9976: ;
9977: return 0;
9978: }
9979: _ACEOF
9980: if ac_fn_c_try_run "$LINENO"; then :
9981: ac_cv_c_bigendian=no
9982: else
9983: ac_cv_c_bigendian=yes
9984: fi
9985: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9986: conftest.$ac_objext conftest.beam conftest.$ac_ext
9987: fi
9988:
9989: fi
9990: fi
9991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
9992: $as_echo "$ac_cv_c_bigendian" >&6; }
9993: case $ac_cv_c_bigendian in #(
9994: yes)
9995: $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
9996: ;; #(
9997: no)
9998: ;; #(
9999: universal)
10000:
10001: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
10002:
10003: ;; #(
10004: *)
10005: as_fn_error $? "unknown endianness
10006: presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
10007: esac
10008:
10009:
10010: # =========================
10011: # check required programs
10012: # =========================
10013:
10014: case `pwd` in
10015: *\ * | *\ *)
10016: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
10017: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
10018: esac
10019:
10020:
10021:
10022: macro_version='2.4.6'
10023: macro_revision='2.4.6'
10024:
10025:
10026:
10027:
10028:
10029:
10030:
10031:
10032:
10033:
10034:
10035:
10036:
10037: ltmain=$ac_aux_dir/ltmain.sh
10038:
10039: # Backslashify metacharacters that are still active within
10040: # double-quoted strings.
10041: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10042:
10043: # Same as above, but do not quote variable references.
10044: double_quote_subst='s/\(["`\\]\)/\\\1/g'
10045:
10046: # Sed substitution to delay expansion of an escaped shell variable in a
10047: # double_quote_subst'ed string.
10048: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10049:
10050: # Sed substitution to delay expansion of an escaped single quote.
10051: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10052:
10053: # Sed substitution to avoid accidental globbing in evaled expressions
10054: no_glob_subst='s/\*/\\\*/g'
10055:
10056: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10057: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
10058: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
10059:
10060: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
10061: $as_echo_n "checking how to print strings... " >&6; }
10062: # Test print first, because it will be a builtin if present.
10063: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
10064: test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
10065: ECHO='print -r --'
10066: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
10067: ECHO='printf %s\n'
10068: else
10069: # Use this function as a fallback that always works.
10070: func_fallback_echo ()
10071: {
10072: eval 'cat <<_LTECHO_EOF
10073: $1
10074: _LTECHO_EOF'
10075: }
10076: ECHO='func_fallback_echo'
10077: fi
10078:
10079: # func_echo_all arg...
10080: # Invoke $ECHO with all args, space-separated.
10081: func_echo_all ()
10082: {
10083: $ECHO ""
10084: }
10085:
10086: case $ECHO in
10087: printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
10088: $as_echo "printf" >&6; } ;;
10089: print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
10090: $as_echo "print -r" >&6; } ;;
10091: *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
10092: $as_echo "cat" >&6; } ;;
10093: esac
10094:
10095:
10096:
10097:
10098:
10099:
10100:
10101:
10102:
10103:
10104:
10105:
10106:
10107:
10108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
10109: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
10110: if ${ac_cv_path_SED+:} false; then :
10111: $as_echo_n "(cached) " >&6
10112: else
10113: ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
10114: for ac_i in 1 2 3 4 5 6 7; do
10115: ac_script="$ac_script$as_nl$ac_script"
10116: done
10117: echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
10118: { ac_script=; unset ac_script;}
10119: if test -z "$SED"; then
10120: ac_path_SED_found=false
10121: # Loop through the user's path and test for each of PROGNAME-LIST
10122: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123: for as_dir in $PATH
10124: do
10125: IFS=$as_save_IFS
10126: test -z "$as_dir" && as_dir=.
10127: for ac_prog in sed gsed; do
10128: for ac_exec_ext in '' $ac_executable_extensions; do
10129: ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
10130: as_fn_executable_p "$ac_path_SED" || continue
10131: # Check for GNU ac_path_SED and select it if it is found.
10132: # Check for GNU $ac_path_SED
10133: case `"$ac_path_SED" --version 2>&1` in
10134: *GNU*)
10135: ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
10136: *)
10137: ac_count=0
10138: $as_echo_n 0123456789 >"conftest.in"
10139: while :
10140: do
10141: cat "conftest.in" "conftest.in" >"conftest.tmp"
10142: mv "conftest.tmp" "conftest.in"
10143: cp "conftest.in" "conftest.nl"
10144: $as_echo '' >> "conftest.nl"
10145: "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
10146: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10147: as_fn_arith $ac_count + 1 && ac_count=$as_val
10148: if test $ac_count -gt ${ac_path_SED_max-0}; then
10149: # Best one so far, save it but keep looking for a better one
10150: ac_cv_path_SED="$ac_path_SED"
10151: ac_path_SED_max=$ac_count
10152: fi
10153: # 10*(2^10) chars as input seems more than enough
10154: test $ac_count -gt 10 && break
10155: done
10156: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10157: esac
10158:
10159: $ac_path_SED_found && break 3
10160: done
10161: done
10162: done
10163: IFS=$as_save_IFS
10164: if test -z "$ac_cv_path_SED"; then
10165: as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
10166: fi
10167: else
10168: ac_cv_path_SED=$SED
10169: fi
10170:
10171: fi
10172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
10173: $as_echo "$ac_cv_path_SED" >&6; }
10174: SED="$ac_cv_path_SED"
10175: rm -f conftest.sed
10176:
10177: test -z "$SED" && SED=sed
10178: Xsed="$SED -e 1s/^X//"
10179:
10180:
10181:
10182:
10183:
10184:
10185:
10186:
10187:
10188:
10189:
10190: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
10191: $as_echo_n "checking for fgrep... " >&6; }
10192: if ${ac_cv_path_FGREP+:} false; then :
10193: $as_echo_n "(cached) " >&6
10194: else
10195: if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
10196: then ac_cv_path_FGREP="$GREP -F"
10197: else
10198: if test -z "$FGREP"; then
10199: ac_path_FGREP_found=false
10200: # Loop through the user's path and test for each of PROGNAME-LIST
10201: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10202: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
10203: do
10204: IFS=$as_save_IFS
10205: test -z "$as_dir" && as_dir=.
10206: for ac_prog in fgrep; do
10207: for ac_exec_ext in '' $ac_executable_extensions; do
10208: ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
10209: as_fn_executable_p "$ac_path_FGREP" || continue
10210: # Check for GNU ac_path_FGREP and select it if it is found.
10211: # Check for GNU $ac_path_FGREP
10212: case `"$ac_path_FGREP" --version 2>&1` in
10213: *GNU*)
10214: ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
10215: *)
10216: ac_count=0
10217: $as_echo_n 0123456789 >"conftest.in"
10218: while :
10219: do
10220: cat "conftest.in" "conftest.in" >"conftest.tmp"
10221: mv "conftest.tmp" "conftest.in"
10222: cp "conftest.in" "conftest.nl"
10223: $as_echo 'FGREP' >> "conftest.nl"
10224: "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
10225: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
10226: as_fn_arith $ac_count + 1 && ac_count=$as_val
10227: if test $ac_count -gt ${ac_path_FGREP_max-0}; then
10228: # Best one so far, save it but keep looking for a better one
10229: ac_cv_path_FGREP="$ac_path_FGREP"
10230: ac_path_FGREP_max=$ac_count
10231: fi
10232: # 10*(2^10) chars as input seems more than enough
10233: test $ac_count -gt 10 && break
10234: done
10235: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
10236: esac
10237:
10238: $ac_path_FGREP_found && break 3
10239: done
10240: done
10241: done
10242: IFS=$as_save_IFS
10243: if test -z "$ac_cv_path_FGREP"; then
10244: as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
10245: fi
10246: else
10247: ac_cv_path_FGREP=$FGREP
10248: fi
10249:
10250: fi
10251: fi
10252: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
10253: $as_echo "$ac_cv_path_FGREP" >&6; }
10254: FGREP="$ac_cv_path_FGREP"
10255:
10256:
10257: test -z "$GREP" && GREP=grep
10258:
10259:
10260:
10261:
10262:
10263:
10264:
10265:
10266:
10267:
10268:
10269:
10270:
10271:
10272:
10273:
10274:
10275:
10276:
10277: # Check whether --with-gnu-ld was given.
10278: if test "${with_gnu_ld+set}" = set; then :
10279: withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
10280: else
10281: with_gnu_ld=no
10282: fi
10283:
10284: ac_prog=ld
10285: if test yes = "$GCC"; then
10286: # Check if gcc -print-prog-name=ld gives a path.
10287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
10288: $as_echo_n "checking for ld used by $CC... " >&6; }
10289: case $host in
10290: *-*-mingw*)
10291: # gcc leaves a trailing carriage return, which upsets mingw
10292: ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10293: *)
10294: ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10295: esac
10296: case $ac_prog in
10297: # Accept absolute paths.
10298: [\\/]* | ?:[\\/]*)
10299: re_direlt='/[^/][^/]*/\.\./'
10300: # Canonicalize the pathname of ld
10301: ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10302: while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10303: ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10304: done
10305: test -z "$LD" && LD=$ac_prog
10306: ;;
10307: "")
10308: # If it fails, then pretend we aren't using GCC.
10309: ac_prog=ld
10310: ;;
10311: *)
10312: # If it is relative, then search for the first ld in PATH.
10313: with_gnu_ld=unknown
10314: ;;
10315: esac
10316: elif test yes = "$with_gnu_ld"; then
10317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
10318: $as_echo_n "checking for GNU ld... " >&6; }
10319: else
10320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10321: $as_echo_n "checking for non-GNU ld... " >&6; }
10322: fi
10323: if ${lt_cv_path_LD+:} false; then :
10324: $as_echo_n "(cached) " >&6
10325: else
10326: if test -z "$LD"; then
10327: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10328: for ac_dir in $PATH; do
10329: IFS=$lt_save_ifs
10330: test -z "$ac_dir" && ac_dir=.
10331: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10332: lt_cv_path_LD=$ac_dir/$ac_prog
10333: # Check to see if the program is GNU ld. I'd rather use --version,
10334: # but apparently some variants of GNU ld only accept -v.
10335: # Break only if it was the GNU/non-GNU ld that we prefer.
10336: case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10337: *GNU* | *'with BFD'*)
10338: test no != "$with_gnu_ld" && break
10339: ;;
10340: *)
10341: test yes != "$with_gnu_ld" && break
10342: ;;
10343: esac
10344: fi
10345: done
10346: IFS=$lt_save_ifs
10347: else
10348: lt_cv_path_LD=$LD # Let the user override the test with a path.
10349: fi
10350: fi
10351:
10352: LD=$lt_cv_path_LD
10353: if test -n "$LD"; then
10354: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
10355: $as_echo "$LD" >&6; }
10356: else
10357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10358: $as_echo "no" >&6; }
10359: fi
10360: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10361: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10362: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10363: if ${lt_cv_prog_gnu_ld+:} false; then :
10364: $as_echo_n "(cached) " >&6
10365: else
10366: # I'd rather use --version here, but apparently some GNU lds only accept -v.
10367: case `$LD -v 2>&1 </dev/null` in
10368: *GNU* | *'with BFD'*)
10369: lt_cv_prog_gnu_ld=yes
10370: ;;
10371: *)
10372: lt_cv_prog_gnu_ld=no
10373: ;;
10374: esac
10375: fi
10376: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
10377: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
10378: with_gnu_ld=$lt_cv_prog_gnu_ld
10379:
10380:
10381:
10382:
10383:
10384:
10385:
10386:
10387:
10388: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
10389: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
10390: if ${lt_cv_path_NM+:} false; then :
10391: $as_echo_n "(cached) " >&6
10392: else
10393: if test -n "$NM"; then
10394: # Let the user override the test.
10395: lt_cv_path_NM=$NM
10396: else
10397: lt_nm_to_check=${ac_tool_prefix}nm
10398: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
10399: lt_nm_to_check="$lt_nm_to_check nm"
10400: fi
10401: for lt_tmp_nm in $lt_nm_to_check; do
10402: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10403: for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
10404: IFS=$lt_save_ifs
10405: test -z "$ac_dir" && ac_dir=.
10406: tmp_nm=$ac_dir/$lt_tmp_nm
10407: if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
10408: # Check to see if the nm accepts a BSD-compat flag.
10409: # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
10410: # nm: unknown option "B" ignored
10411: # Tru64's nm complains that /dev/null is an invalid object file
10412: # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
10413: case $build_os in
10414: mingw*) lt_bad_file=conftest.nm/nofile ;;
10415: *) lt_bad_file=/dev/null ;;
10416: esac
10417: case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
10418: *$lt_bad_file* | *'Invalid file or object type'*)
10419: lt_cv_path_NM="$tmp_nm -B"
10420: break 2
10421: ;;
10422: *)
10423: case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
10424: */dev/null*)
10425: lt_cv_path_NM="$tmp_nm -p"
10426: break 2
10427: ;;
10428: *)
10429: lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
10430: continue # so that we can try to find one that supports BSD flags
10431: ;;
10432: esac
10433: ;;
10434: esac
10435: fi
10436: done
10437: IFS=$lt_save_ifs
10438: done
10439: : ${lt_cv_path_NM=no}
10440: fi
10441: fi
10442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
10443: $as_echo "$lt_cv_path_NM" >&6; }
10444: if test no != "$lt_cv_path_NM"; then
10445: NM=$lt_cv_path_NM
10446: else
10447: # Didn't find any BSD compatible name lister, look for dumpbin.
10448: if test -n "$DUMPBIN"; then :
10449: # Let the user override the test.
10450: else
10451: if test -n "$ac_tool_prefix"; then
10452: for ac_prog in dumpbin "link -dump"
10453: do
10454: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10455: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10456: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10457: $as_echo_n "checking for $ac_word... " >&6; }
10458: if ${ac_cv_prog_DUMPBIN+:} false; then :
10459: $as_echo_n "(cached) " >&6
10460: else
10461: if test -n "$DUMPBIN"; then
10462: ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
10463: else
10464: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10465: for as_dir in $PATH
10466: do
10467: IFS=$as_save_IFS
10468: test -z "$as_dir" && as_dir=.
10469: for ac_exec_ext in '' $ac_executable_extensions; do
10470: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10471: ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
10472: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10473: break 2
10474: fi
10475: done
10476: done
10477: IFS=$as_save_IFS
10478:
10479: fi
10480: fi
10481: DUMPBIN=$ac_cv_prog_DUMPBIN
10482: if test -n "$DUMPBIN"; then
10483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
10484: $as_echo "$DUMPBIN" >&6; }
10485: else
10486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10487: $as_echo "no" >&6; }
10488: fi
10489:
10490:
10491: test -n "$DUMPBIN" && break
10492: done
10493: fi
10494: if test -z "$DUMPBIN"; then
10495: ac_ct_DUMPBIN=$DUMPBIN
10496: for ac_prog in dumpbin "link -dump"
10497: do
10498: # Extract the first word of "$ac_prog", so it can be a program name with args.
10499: set dummy $ac_prog; ac_word=$2
10500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10501: $as_echo_n "checking for $ac_word... " >&6; }
10502: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
10503: $as_echo_n "(cached) " >&6
10504: else
10505: if test -n "$ac_ct_DUMPBIN"; then
10506: ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
10507: else
10508: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509: for as_dir in $PATH
10510: do
10511: IFS=$as_save_IFS
10512: test -z "$as_dir" && as_dir=.
10513: for ac_exec_ext in '' $ac_executable_extensions; do
10514: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10515: ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
10516: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10517: break 2
10518: fi
10519: done
10520: done
10521: IFS=$as_save_IFS
10522:
10523: fi
10524: fi
10525: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
10526: if test -n "$ac_ct_DUMPBIN"; then
10527: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
10528: $as_echo "$ac_ct_DUMPBIN" >&6; }
10529: else
10530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10531: $as_echo "no" >&6; }
10532: fi
10533:
10534:
10535: test -n "$ac_ct_DUMPBIN" && break
10536: done
10537:
10538: if test "x$ac_ct_DUMPBIN" = x; then
10539: DUMPBIN=":"
10540: else
10541: case $cross_compiling:$ac_tool_warned in
10542: yes:)
10543: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10544: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10545: ac_tool_warned=yes ;;
10546: esac
10547: DUMPBIN=$ac_ct_DUMPBIN
10548: fi
10549: fi
10550:
10551: case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
10552: *COFF*)
10553: DUMPBIN="$DUMPBIN -symbols -headers"
10554: ;;
10555: *)
10556: DUMPBIN=:
10557: ;;
10558: esac
10559: fi
10560:
10561: if test : != "$DUMPBIN"; then
10562: NM=$DUMPBIN
10563: fi
10564: fi
10565: test -z "$NM" && NM=nm
10566:
10567:
10568:
10569:
10570:
10571:
10572: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
10573: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
10574: if ${lt_cv_nm_interface+:} false; then :
10575: $as_echo_n "(cached) " >&6
10576: else
10577: lt_cv_nm_interface="BSD nm"
10578: echo "int some_variable = 0;" > conftest.$ac_ext
10579: (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
10580: (eval "$ac_compile" 2>conftest.err)
10581: cat conftest.err >&5
10582: (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
10583: (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
10584: cat conftest.err >&5
10585: (eval echo "\"\$as_me:$LINENO: output\"" >&5)
10586: cat conftest.out >&5
10587: if $GREP 'External.*some_variable' conftest.out > /dev/null; then
10588: lt_cv_nm_interface="MS dumpbin"
10589: fi
10590: rm -f conftest*
10591: fi
10592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
10593: $as_echo "$lt_cv_nm_interface" >&6; }
10594:
10595: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
10596: $as_echo_n "checking whether ln -s works... " >&6; }
10597: LN_S=$as_ln_s
10598: if test "$LN_S" = "ln -s"; then
10599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10600: $as_echo "yes" >&6; }
10601: else
10602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
10603: $as_echo "no, using $LN_S" >&6; }
10604: fi
10605:
10606: # find the maximum length of command line arguments
10607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
10608: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
10609: if ${lt_cv_sys_max_cmd_len+:} false; then :
10610: $as_echo_n "(cached) " >&6
10611: else
10612: i=0
10613: teststring=ABCD
10614:
10615: case $build_os in
10616: msdosdjgpp*)
10617: # On DJGPP, this test can blow up pretty badly due to problems in libc
10618: # (any single argument exceeding 2000 bytes causes a buffer overrun
10619: # during glob expansion). Even if it were fixed, the result of this
10620: # check would be larger than it should be.
10621: lt_cv_sys_max_cmd_len=12288; # 12K is about right
10622: ;;
10623:
10624: gnu*)
10625: # Under GNU Hurd, this test is not required because there is
10626: # no limit to the length of command line arguments.
10627: # Libtool will interpret -1 as no limit whatsoever
10628: lt_cv_sys_max_cmd_len=-1;
10629: ;;
10630:
10631: cygwin* | mingw* | cegcc*)
10632: # On Win9x/ME, this test blows up -- it succeeds, but takes
10633: # about 5 minutes as the teststring grows exponentially.
10634: # Worse, since 9x/ME are not pre-emptively multitasking,
10635: # you end up with a "frozen" computer, even though with patience
10636: # the test eventually succeeds (with a max line length of 256k).
10637: # Instead, let's just punt: use the minimum linelength reported by
10638: # all of the supported platforms: 8192 (on NT/2K/XP).
10639: lt_cv_sys_max_cmd_len=8192;
10640: ;;
10641:
10642: mint*)
10643: # On MiNT this can take a long time and run out of memory.
10644: lt_cv_sys_max_cmd_len=8192;
10645: ;;
10646:
10647: amigaos*)
10648: # On AmigaOS with pdksh, this test takes hours, literally.
10649: # So we just punt and use a minimum line length of 8192.
10650: lt_cv_sys_max_cmd_len=8192;
10651: ;;
10652:
10653: bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
10654: # This has been around since 386BSD, at least. Likely further.
10655: if test -x /sbin/sysctl; then
10656: lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
10657: elif test -x /usr/sbin/sysctl; then
10658: lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
10659: else
10660: lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
10661: fi
10662: # And add a safety zone
10663: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10664: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10665: ;;
10666:
10667: interix*)
10668: # We know the value 262144 and hardcode it with a safety zone (like BSD)
10669: lt_cv_sys_max_cmd_len=196608
10670: ;;
10671:
10672: os2*)
10673: # The test takes a long time on OS/2.
10674: lt_cv_sys_max_cmd_len=8192
10675: ;;
10676:
10677: osf*)
10678: # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
10679: # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
10680: # nice to cause kernel panics so lets avoid the loop below.
10681: # First set a reasonable default.
10682: lt_cv_sys_max_cmd_len=16384
10683: #
10684: if test -x /sbin/sysconfig; then
10685: case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
10686: *1*) lt_cv_sys_max_cmd_len=-1 ;;
10687: esac
10688: fi
10689: ;;
10690: sco3.2v5*)
10691: lt_cv_sys_max_cmd_len=102400
10692: ;;
10693: sysv5* | sco5v6* | sysv4.2uw2*)
10694: kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
10695: if test -n "$kargmax"; then
10696: lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
10697: else
10698: lt_cv_sys_max_cmd_len=32768
10699: fi
10700: ;;
10701: *)
10702: lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
10703: if test -n "$lt_cv_sys_max_cmd_len" && \
10704: test undefined != "$lt_cv_sys_max_cmd_len"; then
10705: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
10706: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
10707: else
10708: # Make teststring a little bigger before we do anything with it.
10709: # a 1K string should be a reasonable start.
10710: for i in 1 2 3 4 5 6 7 8; do
10711: teststring=$teststring$teststring
10712: done
10713: SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
10714: # If test is not a shell built-in, we'll probably end up computing a
10715: # maximum length that is only half of the actual maximum length, but
10716: # we can't tell.
10717: while { test X`env echo "$teststring$teststring" 2>/dev/null` \
10718: = "X$teststring$teststring"; } >/dev/null 2>&1 &&
10719: test 17 != "$i" # 1/2 MB should be enough
10720: do
10721: i=`expr $i + 1`
10722: teststring=$teststring$teststring
10723: done
10724: # Only check the string length outside the loop.
10725: lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
10726: teststring=
10727: # Add a significant safety factor because C++ compilers can tack on
10728: # massive amounts of additional arguments before passing them to the
10729: # linker. It appears as though 1/2 is a usable value.
10730: lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
10731: fi
10732: ;;
10733: esac
10734:
10735: fi
10736:
10737: if test -n "$lt_cv_sys_max_cmd_len"; then
10738: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
10739: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
10740: else
10741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
10742: $as_echo "none" >&6; }
10743: fi
10744: max_cmd_len=$lt_cv_sys_max_cmd_len
10745:
10746:
10747:
10748:
10749:
10750:
10751: : ${CP="cp -f"}
10752: : ${MV="mv -f"}
10753: : ${RM="rm -f"}
10754:
10755: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10756: lt_unset=unset
10757: else
10758: lt_unset=false
10759: fi
10760:
10761:
10762:
10763:
10764:
10765: # test EBCDIC or ASCII
10766: case `echo X|tr X '\101'` in
10767: A) # ASCII based system
10768: # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
10769: lt_SP2NL='tr \040 \012'
10770: lt_NL2SP='tr \015\012 \040\040'
10771: ;;
10772: *) # EBCDIC based system
10773: lt_SP2NL='tr \100 \n'
10774: lt_NL2SP='tr \r\n \100\100'
10775: ;;
10776: esac
10777:
10778:
10779:
10780:
10781:
10782:
10783:
10784:
10785:
10786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
10787: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
10788: if ${lt_cv_to_host_file_cmd+:} false; then :
10789: $as_echo_n "(cached) " >&6
10790: else
10791: case $host in
10792: *-*-mingw* )
10793: case $build in
10794: *-*-mingw* ) # actually msys
10795: lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
10796: ;;
10797: *-*-cygwin* )
10798: lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
10799: ;;
10800: * ) # otherwise, assume *nix
10801: lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
10802: ;;
10803: esac
10804: ;;
10805: *-*-cygwin* )
10806: case $build in
10807: *-*-mingw* ) # actually msys
10808: lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
10809: ;;
10810: *-*-cygwin* )
10811: lt_cv_to_host_file_cmd=func_convert_file_noop
10812: ;;
10813: * ) # otherwise, assume *nix
10814: lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
10815: ;;
10816: esac
10817: ;;
10818: * ) # unhandled hosts (and "normal" native builds)
10819: lt_cv_to_host_file_cmd=func_convert_file_noop
10820: ;;
10821: esac
10822:
10823: fi
10824:
10825: to_host_file_cmd=$lt_cv_to_host_file_cmd
10826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
10827: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
10828:
10829:
10830:
10831:
10832:
10833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
10834: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
10835: if ${lt_cv_to_tool_file_cmd+:} false; then :
10836: $as_echo_n "(cached) " >&6
10837: else
10838: #assume ordinary cross tools, or native build.
10839: lt_cv_to_tool_file_cmd=func_convert_file_noop
10840: case $host in
10841: *-*-mingw* )
10842: case $build in
10843: *-*-mingw* ) # actually msys
10844: lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
10845: ;;
10846: esac
10847: ;;
10848: esac
10849:
10850: fi
10851:
10852: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
10853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
10854: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
10855:
10856:
10857:
10858:
10859:
10860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
10861: $as_echo_n "checking for $LD option to reload object files... " >&6; }
10862: if ${lt_cv_ld_reload_flag+:} false; then :
10863: $as_echo_n "(cached) " >&6
10864: else
10865: lt_cv_ld_reload_flag='-r'
10866: fi
10867: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
10868: $as_echo "$lt_cv_ld_reload_flag" >&6; }
10869: reload_flag=$lt_cv_ld_reload_flag
10870: case $reload_flag in
10871: "" | " "*) ;;
10872: *) reload_flag=" $reload_flag" ;;
10873: esac
10874: reload_cmds='$LD$reload_flag -o $output$reload_objs'
10875: case $host_os in
10876: cygwin* | mingw* | pw32* | cegcc*)
10877: if test yes != "$GCC"; then
10878: reload_cmds=false
10879: fi
10880: ;;
10881: darwin*)
10882: if test yes = "$GCC"; then
10883: reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
10884: else
10885: reload_cmds='$LD$reload_flag -o $output$reload_objs'
10886: fi
10887: ;;
10888: esac
10889:
10890:
10891:
10892:
10893:
10894:
10895:
10896:
10897:
10898: if test -n "$ac_tool_prefix"; then
10899: # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
10900: set dummy ${ac_tool_prefix}objdump; ac_word=$2
10901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10902: $as_echo_n "checking for $ac_word... " >&6; }
10903: if ${ac_cv_prog_OBJDUMP+:} false; then :
10904: $as_echo_n "(cached) " >&6
10905: else
10906: if test -n "$OBJDUMP"; then
10907: ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10908: else
10909: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10910: for as_dir in $PATH
10911: do
10912: IFS=$as_save_IFS
10913: test -z "$as_dir" && as_dir=.
10914: for ac_exec_ext in '' $ac_executable_extensions; do
10915: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10916: ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
10917: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10918: break 2
10919: fi
10920: done
10921: done
10922: IFS=$as_save_IFS
10923:
10924: fi
10925: fi
10926: OBJDUMP=$ac_cv_prog_OBJDUMP
10927: if test -n "$OBJDUMP"; then
10928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10929: $as_echo "$OBJDUMP" >&6; }
10930: else
10931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10932: $as_echo "no" >&6; }
10933: fi
10934:
10935:
10936: fi
10937: if test -z "$ac_cv_prog_OBJDUMP"; then
10938: ac_ct_OBJDUMP=$OBJDUMP
10939: # Extract the first word of "objdump", so it can be a program name with args.
10940: set dummy objdump; ac_word=$2
10941: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10942: $as_echo_n "checking for $ac_word... " >&6; }
10943: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
10944: $as_echo_n "(cached) " >&6
10945: else
10946: if test -n "$ac_ct_OBJDUMP"; then
10947: ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10948: else
10949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950: for as_dir in $PATH
10951: do
10952: IFS=$as_save_IFS
10953: test -z "$as_dir" && as_dir=.
10954: for ac_exec_ext in '' $ac_executable_extensions; do
10955: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10956: ac_cv_prog_ac_ct_OBJDUMP="objdump"
10957: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10958: break 2
10959: fi
10960: done
10961: done
10962: IFS=$as_save_IFS
10963:
10964: fi
10965: fi
10966: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10967: if test -n "$ac_ct_OBJDUMP"; then
10968: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10969: $as_echo "$ac_ct_OBJDUMP" >&6; }
10970: else
10971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10972: $as_echo "no" >&6; }
10973: fi
10974:
10975: if test "x$ac_ct_OBJDUMP" = x; then
10976: OBJDUMP="false"
10977: else
10978: case $cross_compiling:$ac_tool_warned in
10979: yes:)
10980: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10981: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10982: ac_tool_warned=yes ;;
10983: esac
10984: OBJDUMP=$ac_ct_OBJDUMP
10985: fi
10986: else
10987: OBJDUMP="$ac_cv_prog_OBJDUMP"
10988: fi
10989:
10990: test -z "$OBJDUMP" && OBJDUMP=objdump
10991:
10992:
10993:
10994:
10995:
10996:
10997:
10998:
10999:
11000: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
11001: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
11002: if ${lt_cv_deplibs_check_method+:} false; then :
11003: $as_echo_n "(cached) " >&6
11004: else
11005: lt_cv_file_magic_cmd='$MAGIC_CMD'
11006: lt_cv_file_magic_test_file=
11007: lt_cv_deplibs_check_method='unknown'
11008: # Need to set the preceding variable on all platforms that support
11009: # interlibrary dependencies.
11010: # 'none' -- dependencies not supported.
11011: # 'unknown' -- same as none, but documents that we really don't know.
11012: # 'pass_all' -- all dependencies passed with no checks.
11013: # 'test_compile' -- check by making test program.
11014: # 'file_magic [[regex]]' -- check by looking for files in library path
11015: # that responds to the $file_magic_cmd with a given extended regex.
11016: # If you have 'file' or equivalent on your system and you're not sure
11017: # whether 'pass_all' will *always* work, you probably want this one.
11018:
11019: case $host_os in
11020: aix[4-9]*)
11021: lt_cv_deplibs_check_method=pass_all
11022: ;;
11023:
11024: beos*)
11025: lt_cv_deplibs_check_method=pass_all
11026: ;;
11027:
11028: bsdi[45]*)
11029: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
11030: lt_cv_file_magic_cmd='/usr/bin/file -L'
11031: lt_cv_file_magic_test_file=/shlib/libc.so
11032: ;;
11033:
11034: cygwin*)
11035: # func_win32_libid is a shell function defined in ltmain.sh
11036: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11037: lt_cv_file_magic_cmd='func_win32_libid'
11038: ;;
11039:
11040: mingw* | pw32*)
11041: # Base MSYS/MinGW do not provide the 'file' command needed by
11042: # func_win32_libid shell function, so use a weaker test based on 'objdump',
11043: # unless we find 'file', for example because we are cross-compiling.
11044: if ( file / ) >/dev/null 2>&1; then
11045: lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
11046: lt_cv_file_magic_cmd='func_win32_libid'
11047: else
11048: # Keep this pattern in sync with the one in func_win32_libid.
11049: lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
11050: lt_cv_file_magic_cmd='$OBJDUMP -f'
11051: fi
11052: ;;
11053:
11054: cegcc*)
11055: # use the weaker test based on 'objdump'. See mingw*.
11056: lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
11057: lt_cv_file_magic_cmd='$OBJDUMP -f'
11058: ;;
11059:
11060: darwin* | rhapsody*)
11061: lt_cv_deplibs_check_method=pass_all
11062: ;;
11063:
11064: freebsd* | dragonfly*)
11065: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11066: case $host_cpu in
11067: i*86 )
11068: # Not sure whether the presence of OpenBSD here was a mistake.
11069: # Let's accept both of them until this is cleared up.
11070: lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
11071: lt_cv_file_magic_cmd=/usr/bin/file
11072: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
11073: ;;
11074: esac
11075: else
11076: lt_cv_deplibs_check_method=pass_all
11077: fi
11078: ;;
11079:
11080: haiku*)
11081: lt_cv_deplibs_check_method=pass_all
11082: ;;
11083:
11084: hpux10.20* | hpux11*)
11085: lt_cv_file_magic_cmd=/usr/bin/file
11086: case $host_cpu in
11087: ia64*)
11088: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
11089: lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
11090: ;;
11091: hppa*64*)
11092: 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]'
11093: lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
11094: ;;
11095: *)
11096: lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
11097: lt_cv_file_magic_test_file=/usr/lib/libc.sl
11098: ;;
11099: esac
11100: ;;
11101:
11102: interix[3-9]*)
11103: # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
11104: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
11105: ;;
11106:
11107: irix5* | irix6* | nonstopux*)
11108: case $LD in
11109: *-32|*"-32 ") libmagic=32-bit;;
11110: *-n32|*"-n32 ") libmagic=N32;;
11111: *-64|*"-64 ") libmagic=64-bit;;
11112: *) libmagic=never-match;;
11113: esac
11114: lt_cv_deplibs_check_method=pass_all
11115: ;;
11116:
11117: # This must be glibc/ELF.
11118: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11119: lt_cv_deplibs_check_method=pass_all
11120: ;;
11121:
11122: netbsd* | netbsdelf*-gnu)
11123: if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11124: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11125: else
11126: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
11127: fi
11128: ;;
11129:
11130: newos6*)
11131: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
11132: lt_cv_file_magic_cmd=/usr/bin/file
11133: lt_cv_file_magic_test_file=/usr/lib/libnls.so
11134: ;;
11135:
11136: *nto* | *qnx*)
11137: lt_cv_deplibs_check_method=pass_all
11138: ;;
11139:
11140: openbsd* | bitrig*)
11141: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11142: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
11143: else
11144: lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11145: fi
11146: ;;
11147:
11148: osf3* | osf4* | osf5*)
11149: lt_cv_deplibs_check_method=pass_all
11150: ;;
11151:
11152: rdos*)
11153: lt_cv_deplibs_check_method=pass_all
11154: ;;
11155:
11156: solaris*)
11157: lt_cv_deplibs_check_method=pass_all
11158: ;;
11159:
11160: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11161: lt_cv_deplibs_check_method=pass_all
11162: ;;
11163:
11164: sysv4 | sysv4.3*)
11165: case $host_vendor in
11166: motorola)
11167: 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]'
11168: lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
11169: ;;
11170: ncr)
11171: lt_cv_deplibs_check_method=pass_all
11172: ;;
11173: sequent)
11174: lt_cv_file_magic_cmd='/bin/file'
11175: lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
11176: ;;
11177: sni)
11178: lt_cv_file_magic_cmd='/bin/file'
11179: lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
11180: lt_cv_file_magic_test_file=/lib/libc.so
11181: ;;
11182: siemens)
11183: lt_cv_deplibs_check_method=pass_all
11184: ;;
11185: pc)
11186: lt_cv_deplibs_check_method=pass_all
11187: ;;
11188: esac
11189: ;;
11190:
11191: tpf*)
11192: lt_cv_deplibs_check_method=pass_all
11193: ;;
11194: os2*)
11195: lt_cv_deplibs_check_method=pass_all
11196: ;;
11197: esac
11198:
11199: fi
11200: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11201: $as_echo "$lt_cv_deplibs_check_method" >&6; }
11202:
11203: file_magic_glob=
11204: want_nocaseglob=no
11205: if test "$build" = "$host"; then
11206: case $host_os in
11207: mingw* | pw32*)
11208: if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
11209: want_nocaseglob=yes
11210: else
11211: file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
11212: fi
11213: ;;
11214: esac
11215: fi
11216:
11217: file_magic_cmd=$lt_cv_file_magic_cmd
11218: deplibs_check_method=$lt_cv_deplibs_check_method
11219: test -z "$deplibs_check_method" && deplibs_check_method=unknown
11220:
11221:
11222:
11223:
11224:
11225:
11226:
11227:
11228:
11229:
11230:
11231:
11232:
11233:
11234:
11235:
11236:
11237:
11238:
11239:
11240:
11241:
11242: if test -n "$ac_tool_prefix"; then
11243: # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11244: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11245: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11246: $as_echo_n "checking for $ac_word... " >&6; }
11247: if ${ac_cv_prog_DLLTOOL+:} false; then :
11248: $as_echo_n "(cached) " >&6
11249: else
11250: if test -n "$DLLTOOL"; then
11251: ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11252: else
11253: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11254: for as_dir in $PATH
11255: do
11256: IFS=$as_save_IFS
11257: test -z "$as_dir" && as_dir=.
11258: for ac_exec_ext in '' $ac_executable_extensions; do
11259: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11260: ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11261: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11262: break 2
11263: fi
11264: done
11265: done
11266: IFS=$as_save_IFS
11267:
11268: fi
11269: fi
11270: DLLTOOL=$ac_cv_prog_DLLTOOL
11271: if test -n "$DLLTOOL"; then
11272: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
11273: $as_echo "$DLLTOOL" >&6; }
11274: else
11275: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11276: $as_echo "no" >&6; }
11277: fi
11278:
11279:
11280: fi
11281: if test -z "$ac_cv_prog_DLLTOOL"; then
11282: ac_ct_DLLTOOL=$DLLTOOL
11283: # Extract the first word of "dlltool", so it can be a program name with args.
11284: set dummy dlltool; ac_word=$2
11285: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11286: $as_echo_n "checking for $ac_word... " >&6; }
11287: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
11288: $as_echo_n "(cached) " >&6
11289: else
11290: if test -n "$ac_ct_DLLTOOL"; then
11291: ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11292: else
11293: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11294: for as_dir in $PATH
11295: do
11296: IFS=$as_save_IFS
11297: test -z "$as_dir" && as_dir=.
11298: for ac_exec_ext in '' $ac_executable_extensions; do
11299: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11300: ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11301: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11302: break 2
11303: fi
11304: done
11305: done
11306: IFS=$as_save_IFS
11307:
11308: fi
11309: fi
11310: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11311: if test -n "$ac_ct_DLLTOOL"; then
11312: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
11313: $as_echo "$ac_ct_DLLTOOL" >&6; }
11314: else
11315: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11316: $as_echo "no" >&6; }
11317: fi
11318:
11319: if test "x$ac_ct_DLLTOOL" = x; then
11320: DLLTOOL="false"
11321: else
11322: case $cross_compiling:$ac_tool_warned in
11323: yes:)
11324: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11325: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11326: ac_tool_warned=yes ;;
11327: esac
11328: DLLTOOL=$ac_ct_DLLTOOL
11329: fi
11330: else
11331: DLLTOOL="$ac_cv_prog_DLLTOOL"
11332: fi
11333:
11334: test -z "$DLLTOOL" && DLLTOOL=dlltool
11335:
11336:
11337:
11338:
11339:
11340:
11341:
11342:
11343:
11344:
11345: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
11346: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
11347: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
11348: $as_echo_n "(cached) " >&6
11349: else
11350: lt_cv_sharedlib_from_linklib_cmd='unknown'
11351:
11352: case $host_os in
11353: cygwin* | mingw* | pw32* | cegcc*)
11354: # two different shell functions defined in ltmain.sh;
11355: # decide which one to use based on capabilities of $DLLTOOL
11356: case `$DLLTOOL --help 2>&1` in
11357: *--identify-strict*)
11358: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
11359: ;;
11360: *)
11361: lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
11362: ;;
11363: esac
11364: ;;
11365: *)
11366: # fallback: assume linklib IS sharedlib
11367: lt_cv_sharedlib_from_linklib_cmd=$ECHO
11368: ;;
11369: esac
11370:
11371: fi
11372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
11373: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
11374: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
11375: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
11376:
11377:
11378:
11379:
11380:
11381:
11382:
11383: if test -n "$ac_tool_prefix"; then
11384: for ac_prog in ar
11385: do
11386: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11387: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11388: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11389: $as_echo_n "checking for $ac_word... " >&6; }
11390: if ${ac_cv_prog_AR+:} false; then :
11391: $as_echo_n "(cached) " >&6
11392: else
11393: if test -n "$AR"; then
11394: ac_cv_prog_AR="$AR" # Let the user override the test.
11395: else
11396: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11397: for as_dir in $PATH
11398: do
11399: IFS=$as_save_IFS
11400: test -z "$as_dir" && as_dir=.
11401: for ac_exec_ext in '' $ac_executable_extensions; do
11402: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11403: ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
11404: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11405: break 2
11406: fi
11407: done
11408: done
11409: IFS=$as_save_IFS
11410:
11411: fi
11412: fi
11413: AR=$ac_cv_prog_AR
11414: if test -n "$AR"; then
11415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11416: $as_echo "$AR" >&6; }
11417: else
11418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11419: $as_echo "no" >&6; }
11420: fi
11421:
11422:
11423: test -n "$AR" && break
11424: done
11425: fi
11426: if test -z "$AR"; then
11427: ac_ct_AR=$AR
11428: for ac_prog in ar
11429: do
11430: # Extract the first word of "$ac_prog", so it can be a program name with args.
11431: set dummy $ac_prog; ac_word=$2
11432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11433: $as_echo_n "checking for $ac_word... " >&6; }
11434: if ${ac_cv_prog_ac_ct_AR+:} false; then :
11435: $as_echo_n "(cached) " >&6
11436: else
11437: if test -n "$ac_ct_AR"; then
11438: ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
11439: else
11440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11441: for as_dir in $PATH
11442: do
11443: IFS=$as_save_IFS
11444: test -z "$as_dir" && as_dir=.
11445: for ac_exec_ext in '' $ac_executable_extensions; do
11446: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11447: ac_cv_prog_ac_ct_AR="$ac_prog"
11448: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11449: break 2
11450: fi
11451: done
11452: done
11453: IFS=$as_save_IFS
11454:
11455: fi
11456: fi
11457: ac_ct_AR=$ac_cv_prog_ac_ct_AR
11458: if test -n "$ac_ct_AR"; then
11459: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
11460: $as_echo "$ac_ct_AR" >&6; }
11461: else
11462: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11463: $as_echo "no" >&6; }
11464: fi
11465:
11466:
11467: test -n "$ac_ct_AR" && break
11468: done
11469:
11470: if test "x$ac_ct_AR" = x; then
11471: AR="false"
11472: else
11473: case $cross_compiling:$ac_tool_warned in
11474: yes:)
11475: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11476: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11477: ac_tool_warned=yes ;;
11478: esac
11479: AR=$ac_ct_AR
11480: fi
11481: fi
11482:
11483: : ${AR=ar}
11484: : ${AR_FLAGS=cru}
11485:
11486:
11487:
11488:
11489:
11490:
11491:
11492:
11493:
11494:
11495:
11496: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
11497: $as_echo_n "checking for archiver @FILE support... " >&6; }
11498: if ${lt_cv_ar_at_file+:} false; then :
11499: $as_echo_n "(cached) " >&6
11500: else
11501: lt_cv_ar_at_file=no
11502: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11503: /* end confdefs.h. */
11504:
11505: int
11506: main ()
11507: {
11508:
11509: ;
11510: return 0;
11511: }
11512: _ACEOF
11513: if ac_fn_c_try_compile "$LINENO"; then :
11514: echo conftest.$ac_objext > conftest.lst
11515: lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
11516: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11517: (eval $lt_ar_try) 2>&5
11518: ac_status=$?
11519: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11520: test $ac_status = 0; }
11521: if test 0 -eq "$ac_status"; then
11522: # Ensure the archiver fails upon bogus file names.
11523: rm -f conftest.$ac_objext libconftest.a
11524: { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
11525: (eval $lt_ar_try) 2>&5
11526: ac_status=$?
11527: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11528: test $ac_status = 0; }
11529: if test 0 -ne "$ac_status"; then
11530: lt_cv_ar_at_file=@
11531: fi
11532: fi
11533: rm -f conftest.* libconftest.a
11534:
11535: fi
11536: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11537:
11538: fi
11539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
11540: $as_echo "$lt_cv_ar_at_file" >&6; }
11541:
11542: if test no = "$lt_cv_ar_at_file"; then
11543: archiver_list_spec=
11544: else
11545: archiver_list_spec=$lt_cv_ar_at_file
11546: fi
11547:
11548:
11549:
11550:
11551:
11552:
11553:
11554: if test -n "$ac_tool_prefix"; then
11555: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
11556: set dummy ${ac_tool_prefix}strip; ac_word=$2
11557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11558: $as_echo_n "checking for $ac_word... " >&6; }
11559: if ${ac_cv_prog_STRIP+:} false; then :
11560: $as_echo_n "(cached) " >&6
11561: else
11562: if test -n "$STRIP"; then
11563: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11564: else
11565: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11566: for as_dir in $PATH
11567: do
11568: IFS=$as_save_IFS
11569: test -z "$as_dir" && as_dir=.
11570: for ac_exec_ext in '' $ac_executable_extensions; do
11571: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11572: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
11573: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11574: break 2
11575: fi
11576: done
11577: done
11578: IFS=$as_save_IFS
11579:
11580: fi
11581: fi
11582: STRIP=$ac_cv_prog_STRIP
11583: if test -n "$STRIP"; then
11584: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
11585: $as_echo "$STRIP" >&6; }
11586: else
11587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588: $as_echo "no" >&6; }
11589: fi
11590:
11591:
11592: fi
11593: if test -z "$ac_cv_prog_STRIP"; then
11594: ac_ct_STRIP=$STRIP
11595: # Extract the first word of "strip", so it can be a program name with args.
11596: set dummy strip; ac_word=$2
11597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11598: $as_echo_n "checking for $ac_word... " >&6; }
11599: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11600: $as_echo_n "(cached) " >&6
11601: else
11602: if test -n "$ac_ct_STRIP"; then
11603: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
11604: else
11605: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606: for as_dir in $PATH
11607: do
11608: IFS=$as_save_IFS
11609: test -z "$as_dir" && as_dir=.
11610: for ac_exec_ext in '' $ac_executable_extensions; do
11611: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11612: ac_cv_prog_ac_ct_STRIP="strip"
11613: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11614: break 2
11615: fi
11616: done
11617: done
11618: IFS=$as_save_IFS
11619:
11620: fi
11621: fi
11622: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
11623: if test -n "$ac_ct_STRIP"; then
11624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
11625: $as_echo "$ac_ct_STRIP" >&6; }
11626: else
11627: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628: $as_echo "no" >&6; }
11629: fi
11630:
11631: if test "x$ac_ct_STRIP" = x; then
11632: STRIP=":"
11633: else
11634: case $cross_compiling:$ac_tool_warned in
11635: yes:)
11636: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11637: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11638: ac_tool_warned=yes ;;
11639: esac
11640: STRIP=$ac_ct_STRIP
11641: fi
11642: else
11643: STRIP="$ac_cv_prog_STRIP"
11644: fi
11645:
11646: test -z "$STRIP" && STRIP=:
11647:
11648:
11649:
11650:
11651:
11652:
11653: if test -n "$ac_tool_prefix"; then
11654: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11655: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11656: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11657: $as_echo_n "checking for $ac_word... " >&6; }
11658: if ${ac_cv_prog_RANLIB+:} false; then :
11659: $as_echo_n "(cached) " >&6
11660: else
11661: if test -n "$RANLIB"; then
11662: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11663: else
11664: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11665: for as_dir in $PATH
11666: do
11667: IFS=$as_save_IFS
11668: test -z "$as_dir" && as_dir=.
11669: for ac_exec_ext in '' $ac_executable_extensions; do
11670: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11671: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11672: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11673: break 2
11674: fi
11675: done
11676: done
11677: IFS=$as_save_IFS
11678:
11679: fi
11680: fi
11681: RANLIB=$ac_cv_prog_RANLIB
11682: if test -n "$RANLIB"; then
11683: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
11684: $as_echo "$RANLIB" >&6; }
11685: else
11686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11687: $as_echo "no" >&6; }
11688: fi
11689:
11690:
11691: fi
11692: if test -z "$ac_cv_prog_RANLIB"; then
11693: ac_ct_RANLIB=$RANLIB
11694: # Extract the first word of "ranlib", so it can be a program name with args.
11695: set dummy ranlib; ac_word=$2
11696: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11697: $as_echo_n "checking for $ac_word... " >&6; }
11698: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11699: $as_echo_n "(cached) " >&6
11700: else
11701: if test -n "$ac_ct_RANLIB"; then
11702: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11703: else
11704: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11705: for as_dir in $PATH
11706: do
11707: IFS=$as_save_IFS
11708: test -z "$as_dir" && as_dir=.
11709: for ac_exec_ext in '' $ac_executable_extensions; do
11710: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11711: ac_cv_prog_ac_ct_RANLIB="ranlib"
11712: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11713: break 2
11714: fi
11715: done
11716: done
11717: IFS=$as_save_IFS
11718:
11719: fi
11720: fi
11721: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11722: if test -n "$ac_ct_RANLIB"; then
11723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
11724: $as_echo "$ac_ct_RANLIB" >&6; }
11725: else
11726: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11727: $as_echo "no" >&6; }
11728: fi
11729:
11730: if test "x$ac_ct_RANLIB" = x; then
11731: RANLIB=":"
11732: else
11733: case $cross_compiling:$ac_tool_warned in
11734: yes:)
11735: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11736: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11737: ac_tool_warned=yes ;;
11738: esac
11739: RANLIB=$ac_ct_RANLIB
11740: fi
11741: else
11742: RANLIB="$ac_cv_prog_RANLIB"
11743: fi
11744:
11745: test -z "$RANLIB" && RANLIB=:
11746:
11747:
11748:
11749:
11750:
11751:
11752: # Determine commands to create old-style static archives.
11753: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
11754: old_postinstall_cmds='chmod 644 $oldlib'
11755: old_postuninstall_cmds=
11756:
11757: if test -n "$RANLIB"; then
11758: case $host_os in
11759: bitrig* | openbsd*)
11760: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
11761: ;;
11762: *)
11763: old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
11764: ;;
11765: esac
11766: old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
11767: fi
11768:
11769: case $host_os in
11770: darwin*)
11771: lock_old_archive_extraction=yes ;;
11772: *)
11773: lock_old_archive_extraction=no ;;
11774: esac
11775:
11776:
11777:
11778:
11779:
11780:
11781:
11782:
11783:
11784:
11785:
11786:
11787:
11788:
11789:
11790:
11791:
11792:
11793:
11794:
11795:
11796:
11797:
11798:
11799:
11800:
11801:
11802:
11803:
11804:
11805:
11806:
11807:
11808:
11809:
11810:
11811:
11812:
11813:
11814: # If no C compiler was specified, use CC.
11815: LTCC=${LTCC-"$CC"}
11816:
11817: # If no C compiler flags were specified, use CFLAGS.
11818: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11819:
11820: # Allow CC to be a program name with arguments.
11821: compiler=$CC
11822:
11823:
11824: # Check for command to grab the raw symbol name followed by C symbol from nm.
11825: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
11826: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
11827: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
11828: $as_echo_n "(cached) " >&6
11829: else
11830:
11831: # These are sane defaults that work on at least a few old systems.
11832: # [They come from Ultrix. What could be older than Ultrix?!! ;)]
11833:
11834: # Character class describing NM global symbol codes.
11835: symcode='[BCDEGRST]'
11836:
11837: # Regexp to match symbols that can be accessed directly from C.
11838: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
11839:
11840: # Define system-specific variables.
11841: case $host_os in
11842: aix*)
11843: symcode='[BCDT]'
11844: ;;
11845: cygwin* | mingw* | pw32* | cegcc*)
11846: symcode='[ABCDGISTW]'
11847: ;;
11848: hpux*)
11849: if test ia64 = "$host_cpu"; then
11850: symcode='[ABCDEGRST]'
11851: fi
11852: ;;
11853: irix* | nonstopux*)
11854: symcode='[BCDEGRST]'
11855: ;;
11856: osf*)
11857: symcode='[BCDEGQRST]'
11858: ;;
11859: solaris*)
11860: symcode='[BDRT]'
11861: ;;
11862: sco3.2v5*)
11863: symcode='[DT]'
11864: ;;
11865: sysv4.2uw2*)
11866: symcode='[DT]'
11867: ;;
11868: sysv5* | sco5v6* | unixware* | OpenUNIX*)
11869: symcode='[ABDT]'
11870: ;;
11871: sysv4)
11872: symcode='[DFNSTU]'
11873: ;;
11874: esac
11875:
11876: # If we're using GNU nm, then use its standard symbol codes.
11877: case `$NM -V 2>&1` in
11878: *GNU* | *'with BFD'*)
11879: symcode='[ABCDGIRSTW]' ;;
11880: esac
11881:
11882: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11883: # Gets list of data symbols to import.
11884: lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
11885: # Adjust the below global symbol transforms to fixup imported variables.
11886: lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
11887: lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
11888: lt_c_name_lib_hook="\
11889: -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
11890: -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
11891: else
11892: # Disable hooks by default.
11893: lt_cv_sys_global_symbol_to_import=
11894: lt_cdecl_hook=
11895: lt_c_name_hook=
11896: lt_c_name_lib_hook=
11897: fi
11898:
11899: # Transform an extracted symbol line into a proper C declaration.
11900: # Some systems (esp. on ia64) link data and code symbols differently,
11901: # so use this general approach.
11902: lt_cv_sys_global_symbol_to_cdecl="sed -n"\
11903: $lt_cdecl_hook\
11904: " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
11905: " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
11906:
11907: # Transform an extracted symbol line into symbol name and symbol address
11908: lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
11909: $lt_c_name_hook\
11910: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
11911: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
11912:
11913: # Transform an extracted symbol line into symbol name with lib prefix and
11914: # symbol address.
11915: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
11916: $lt_c_name_lib_hook\
11917: " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
11918: " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
11919: " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
11920:
11921: # Handle CRLF in mingw tool chain
11922: opt_cr=
11923: case $build_os in
11924: mingw*)
11925: opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
11926: ;;
11927: esac
11928:
11929: # Try without a prefix underscore, then with it.
11930: for ac_symprfx in "" "_"; do
11931:
11932: # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
11933: symxfrm="\\1 $ac_symprfx\\2 \\2"
11934:
11935: # Write the raw and C identifiers.
11936: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
11937: # Fake it for dumpbin and say T for any non-static function,
11938: # D for any global variable and I for any imported variable.
11939: # Also find C++ and __fastcall symbols from MSVC++,
11940: # which start with @ or ?.
11941: lt_cv_sys_global_symbol_pipe="$AWK '"\
11942: " {last_section=section; section=\$ 3};"\
11943: " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
11944: " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
11945: " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
11946: " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
11947: " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
11948: " \$ 0!~/External *\|/{next};"\
11949: " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
11950: " {if(hide[section]) next};"\
11951: " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
11952: " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
11953: " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
11954: " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
11955: " ' prfx=^$ac_symprfx"
11956: else
11957: lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11958: fi
11959: lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
11960:
11961: # Check to see that the pipe works correctly.
11962: pipe_works=no
11963:
11964: rm -f conftest*
11965: cat > conftest.$ac_ext <<_LT_EOF
11966: #ifdef __cplusplus
11967: extern "C" {
11968: #endif
11969: char nm_test_var;
11970: void nm_test_func(void);
11971: void nm_test_func(void){}
11972: #ifdef __cplusplus
11973: }
11974: #endif
11975: int main(){nm_test_var='a';nm_test_func();return(0);}
11976: _LT_EOF
11977:
11978: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11979: (eval $ac_compile) 2>&5
11980: ac_status=$?
11981: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11982: test $ac_status = 0; }; then
11983: # Now try to grab the symbols.
11984: nlist=conftest.nm
11985: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
11986: (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
11987: ac_status=$?
11988: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11989: test $ac_status = 0; } && test -s "$nlist"; then
11990: # Try sorting and uniquifying the output.
11991: if sort "$nlist" | uniq > "$nlist"T; then
11992: mv -f "$nlist"T "$nlist"
11993: else
11994: rm -f "$nlist"T
11995: fi
11996:
11997: # Make sure that we snagged all the symbols we need.
11998: if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11999: if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
12000: cat <<_LT_EOF > conftest.$ac_ext
12001: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
12002: #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
12003: /* DATA imports from DLLs on WIN32 can't be const, because runtime
12004: relocations are performed -- see ld's documentation on pseudo-relocs. */
12005: # define LT_DLSYM_CONST
12006: #elif defined __osf__
12007: /* This system does not cope well with relocations in const data. */
12008: # define LT_DLSYM_CONST
12009: #else
12010: # define LT_DLSYM_CONST const
12011: #endif
12012:
12013: #ifdef __cplusplus
12014: extern "C" {
12015: #endif
12016:
12017: _LT_EOF
12018: # Now generate the symbol file.
12019: eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
12020:
12021: cat <<_LT_EOF >> conftest.$ac_ext
12022:
12023: /* The mapping between symbol names and symbols. */
12024: LT_DLSYM_CONST struct {
12025: const char *name;
12026: void *address;
12027: }
12028: lt__PROGRAM__LTX_preloaded_symbols[] =
12029: {
12030: { "@PROGRAM@", (void *) 0 },
12031: _LT_EOF
12032: $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
12033: cat <<\_LT_EOF >> conftest.$ac_ext
12034: {0, (void *) 0}
12035: };
12036:
12037: /* This works around a problem in FreeBSD linker */
12038: #ifdef FREEBSD_WORKAROUND
12039: static const void *lt_preloaded_setup() {
12040: return lt__PROGRAM__LTX_preloaded_symbols;
12041: }
12042: #endif
12043:
12044: #ifdef __cplusplus
12045: }
12046: #endif
12047: _LT_EOF
12048: # Now try linking the two files.
12049: mv conftest.$ac_objext conftstm.$ac_objext
12050: lt_globsym_save_LIBS=$LIBS
12051: lt_globsym_save_CFLAGS=$CFLAGS
12052: LIBS=conftstm.$ac_objext
12053: CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
12054: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12055: (eval $ac_link) 2>&5
12056: ac_status=$?
12057: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12058: test $ac_status = 0; } && test -s conftest$ac_exeext; then
12059: pipe_works=yes
12060: fi
12061: LIBS=$lt_globsym_save_LIBS
12062: CFLAGS=$lt_globsym_save_CFLAGS
12063: else
12064: echo "cannot find nm_test_func in $nlist" >&5
12065: fi
12066: else
12067: echo "cannot find nm_test_var in $nlist" >&5
12068: fi
12069: else
12070: echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
12071: fi
12072: else
12073: echo "$progname: failed program was:" >&5
12074: cat conftest.$ac_ext >&5
12075: fi
12076: rm -rf conftest* conftst*
12077:
12078: # Do not use the global_symbol_pipe unless it works.
12079: if test yes = "$pipe_works"; then
12080: break
12081: else
12082: lt_cv_sys_global_symbol_pipe=
12083: fi
12084: done
12085:
12086: fi
12087:
12088: if test -z "$lt_cv_sys_global_symbol_pipe"; then
12089: lt_cv_sys_global_symbol_to_cdecl=
12090: fi
12091: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
12092: { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
12093: $as_echo "failed" >&6; }
12094: else
12095: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12096: $as_echo "ok" >&6; }
12097: fi
12098:
12099: # Response file support.
12100: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
12101: nm_file_list_spec='@'
12102: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
12103: nm_file_list_spec='@'
12104: fi
12105:
12106:
12107:
12108:
12109:
12110:
12111:
12112:
12113:
12114:
12115:
12116:
12117:
12118:
12119:
12120:
12121:
12122:
12123:
12124:
12125:
12126:
12127:
12128:
12129:
12130:
12131:
12132:
12133:
12134:
12135:
12136:
12137:
12138:
12139:
12140:
12141:
12142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
12143: $as_echo_n "checking for sysroot... " >&6; }
12144:
12145: # Check whether --with-sysroot was given.
12146: if test "${with_sysroot+set}" = set; then :
12147: withval=$with_sysroot;
12148: else
12149: with_sysroot=no
12150: fi
12151:
12152:
12153: lt_sysroot=
12154: case $with_sysroot in #(
12155: yes)
12156: if test yes = "$GCC"; then
12157: lt_sysroot=`$CC --print-sysroot 2>/dev/null`
12158: fi
12159: ;; #(
12160: /*)
12161: lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
12162: ;; #(
12163: no|'')
12164: ;; #(
12165: *)
12166: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
12167: $as_echo "$with_sysroot" >&6; }
12168: as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
12169: ;;
12170: esac
12171:
12172: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
12173: $as_echo "${lt_sysroot:-no}" >&6; }
12174:
12175:
12176:
12177:
12178:
12179: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
12180: $as_echo_n "checking for a working dd... " >&6; }
12181: if ${ac_cv_path_lt_DD+:} false; then :
12182: $as_echo_n "(cached) " >&6
12183: else
12184: printf 0123456789abcdef0123456789abcdef >conftest.i
12185: cat conftest.i conftest.i >conftest2.i
12186: : ${lt_DD:=$DD}
12187: if test -z "$lt_DD"; then
12188: ac_path_lt_DD_found=false
12189: # Loop through the user's path and test for each of PROGNAME-LIST
12190: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191: for as_dir in $PATH
12192: do
12193: IFS=$as_save_IFS
12194: test -z "$as_dir" && as_dir=.
12195: for ac_prog in dd; do
12196: for ac_exec_ext in '' $ac_executable_extensions; do
12197: ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
12198: as_fn_executable_p "$ac_path_lt_DD" || continue
12199: if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
12200: cmp -s conftest.i conftest.out \
12201: && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
12202: fi
12203: $ac_path_lt_DD_found && break 3
12204: done
12205: done
12206: done
12207: IFS=$as_save_IFS
12208: if test -z "$ac_cv_path_lt_DD"; then
12209: :
12210: fi
12211: else
12212: ac_cv_path_lt_DD=$lt_DD
12213: fi
12214:
12215: rm -f conftest.i conftest2.i conftest.out
12216: fi
12217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
12218: $as_echo "$ac_cv_path_lt_DD" >&6; }
12219:
12220:
12221: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
12222: $as_echo_n "checking how to truncate binary pipes... " >&6; }
12223: if ${lt_cv_truncate_bin+:} false; then :
12224: $as_echo_n "(cached) " >&6
12225: else
12226: printf 0123456789abcdef0123456789abcdef >conftest.i
12227: cat conftest.i conftest.i >conftest2.i
12228: lt_cv_truncate_bin=
12229: if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
12230: cmp -s conftest.i conftest.out \
12231: && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
12232: fi
12233: rm -f conftest.i conftest2.i conftest.out
12234: test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
12235: fi
12236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
12237: $as_echo "$lt_cv_truncate_bin" >&6; }
12238:
12239:
12240:
12241:
12242:
12243:
12244:
12245: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
12246: func_cc_basename ()
12247: {
12248: for cc_temp in $*""; do
12249: case $cc_temp in
12250: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12251: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12252: \-*) ;;
12253: *) break;;
12254: esac
12255: done
12256: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12257: }
12258:
12259: # Check whether --enable-libtool-lock was given.
12260: if test "${enable_libtool_lock+set}" = set; then :
12261: enableval=$enable_libtool_lock;
12262: fi
12263:
12264: test no = "$enable_libtool_lock" || enable_libtool_lock=yes
12265:
12266: # Some flags need to be propagated to the compiler or linker for good
12267: # libtool support.
12268: case $host in
12269: ia64-*-hpux*)
12270: # Find out what ABI is being produced by ac_compile, and set mode
12271: # options accordingly.
12272: echo 'int i;' > 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: case `/usr/bin/file conftest.$ac_objext` in
12279: *ELF-32*)
12280: HPUX_IA64_MODE=32
12281: ;;
12282: *ELF-64*)
12283: HPUX_IA64_MODE=64
12284: ;;
12285: esac
12286: fi
12287: rm -rf conftest*
12288: ;;
12289: *-*-irix6*)
12290: # Find out what ABI is being produced by ac_compile, and set linker
12291: # options accordingly.
12292: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
12293: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12294: (eval $ac_compile) 2>&5
12295: ac_status=$?
12296: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12297: test $ac_status = 0; }; then
12298: if test yes = "$lt_cv_prog_gnu_ld"; then
12299: case `/usr/bin/file conftest.$ac_objext` in
12300: *32-bit*)
12301: LD="${LD-ld} -melf32bsmip"
12302: ;;
12303: *N32*)
12304: LD="${LD-ld} -melf32bmipn32"
12305: ;;
12306: *64-bit*)
12307: LD="${LD-ld} -melf64bmip"
12308: ;;
12309: esac
12310: else
12311: case `/usr/bin/file conftest.$ac_objext` in
12312: *32-bit*)
12313: LD="${LD-ld} -32"
12314: ;;
12315: *N32*)
12316: LD="${LD-ld} -n32"
12317: ;;
12318: *64-bit*)
12319: LD="${LD-ld} -64"
12320: ;;
12321: esac
12322: fi
12323: fi
12324: rm -rf conftest*
12325: ;;
12326:
12327: mips64*-*linux*)
12328: # Find out what ABI is being produced by ac_compile, and set linker
12329: # options accordingly.
12330: echo '#line '$LINENO' "configure"' > conftest.$ac_ext
12331: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12332: (eval $ac_compile) 2>&5
12333: ac_status=$?
12334: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12335: test $ac_status = 0; }; then
12336: emul=elf
12337: case `/usr/bin/file conftest.$ac_objext` in
12338: *32-bit*)
12339: emul="${emul}32"
12340: ;;
12341: *64-bit*)
12342: emul="${emul}64"
12343: ;;
12344: esac
12345: case `/usr/bin/file conftest.$ac_objext` in
12346: *MSB*)
12347: emul="${emul}btsmip"
12348: ;;
12349: *LSB*)
12350: emul="${emul}ltsmip"
12351: ;;
12352: esac
12353: case `/usr/bin/file conftest.$ac_objext` in
12354: *N32*)
12355: emul="${emul}n32"
12356: ;;
12357: esac
12358: LD="${LD-ld} -m $emul"
12359: fi
12360: rm -rf conftest*
12361: ;;
12362:
12363: x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
12364: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
12365: # Find out what ABI is being produced by ac_compile, and set linker
12366: # options accordingly. Note that the listed cases only cover the
12367: # situations where additional linker options are needed (such as when
12368: # doing 32-bit compilation for a host where ld defaults to 64-bit, or
12369: # vice versa); the common cases where no linker options are needed do
12370: # not appear in the list.
12371: echo 'int i;' > conftest.$ac_ext
12372: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12373: (eval $ac_compile) 2>&5
12374: ac_status=$?
12375: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12376: test $ac_status = 0; }; then
12377: case `/usr/bin/file conftest.o` in
12378: *32-bit*)
12379: case $host in
12380: x86_64-*kfreebsd*-gnu)
12381: LD="${LD-ld} -m elf_i386_fbsd"
12382: ;;
12383: x86_64-*linux*)
12384: case `/usr/bin/file conftest.o` in
12385: *x86-64*)
12386: LD="${LD-ld} -m elf32_x86_64"
12387: ;;
12388: *)
12389: LD="${LD-ld} -m elf_i386"
12390: ;;
12391: esac
12392: ;;
12393: powerpc64le-*linux*)
12394: LD="${LD-ld} -m elf32lppclinux"
12395: ;;
12396: powerpc64-*linux*)
12397: LD="${LD-ld} -m elf32ppclinux"
12398: ;;
12399: s390x-*linux*)
12400: LD="${LD-ld} -m elf_s390"
12401: ;;
12402: sparc64-*linux*)
12403: LD="${LD-ld} -m elf32_sparc"
12404: ;;
12405: esac
12406: ;;
12407: *64-bit*)
12408: case $host in
12409: x86_64-*kfreebsd*-gnu)
12410: LD="${LD-ld} -m elf_x86_64_fbsd"
12411: ;;
12412: x86_64-*linux*)
12413: LD="${LD-ld} -m elf_x86_64"
12414: ;;
12415: powerpcle-*linux*)
12416: LD="${LD-ld} -m elf64lppc"
12417: ;;
12418: powerpc-*linux*)
12419: LD="${LD-ld} -m elf64ppc"
12420: ;;
12421: s390*-*linux*|s390*-*tpf*)
12422: LD="${LD-ld} -m elf64_s390"
12423: ;;
12424: sparc*-*linux*)
12425: LD="${LD-ld} -m elf64_sparc"
12426: ;;
12427: esac
12428: ;;
12429: esac
12430: fi
12431: rm -rf conftest*
12432: ;;
12433:
12434: *-*-sco3.2v5*)
12435: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
12436: SAVE_CFLAGS=$CFLAGS
12437: CFLAGS="$CFLAGS -belf"
12438: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
12439: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
12440: if ${lt_cv_cc_needs_belf+:} false; then :
12441: $as_echo_n "(cached) " >&6
12442: else
12443: ac_ext=c
12444: ac_cpp='$CPP $CPPFLAGS'
12445: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12446: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12447: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12448:
12449: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12450: /* end confdefs.h. */
12451:
12452: int
12453: main ()
12454: {
12455:
12456: ;
12457: return 0;
12458: }
12459: _ACEOF
12460: if ac_fn_c_try_link "$LINENO"; then :
12461: lt_cv_cc_needs_belf=yes
12462: else
12463: lt_cv_cc_needs_belf=no
12464: fi
12465: rm -f core conftest.err conftest.$ac_objext \
12466: conftest$ac_exeext conftest.$ac_ext
12467: ac_ext=c
12468: ac_cpp='$CPP $CPPFLAGS'
12469: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12470: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12471: ac_compiler_gnu=$ac_cv_c_compiler_gnu
12472:
12473: fi
12474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
12475: $as_echo "$lt_cv_cc_needs_belf" >&6; }
12476: if test yes != "$lt_cv_cc_needs_belf"; then
12477: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
12478: CFLAGS=$SAVE_CFLAGS
12479: fi
12480: ;;
12481: *-*solaris*)
12482: # Find out what ABI is being produced by ac_compile, and set linker
12483: # options accordingly.
12484: echo 'int i;' > conftest.$ac_ext
12485: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12486: (eval $ac_compile) 2>&5
12487: ac_status=$?
12488: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12489: test $ac_status = 0; }; then
12490: case `/usr/bin/file conftest.o` in
12491: *64-bit*)
12492: case $lt_cv_prog_gnu_ld in
12493: yes*)
12494: case $host in
12495: i?86-*-solaris*|x86_64-*-solaris*)
12496: LD="${LD-ld} -m elf_x86_64"
12497: ;;
12498: sparc*-*-solaris*)
12499: LD="${LD-ld} -m elf64_sparc"
12500: ;;
12501: esac
12502: # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
12503: if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
12504: LD=${LD-ld}_sol2
12505: fi
12506: ;;
12507: *)
12508: if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
12509: LD="${LD-ld} -64"
12510: fi
12511: ;;
12512: esac
12513: ;;
12514: esac
12515: fi
12516: rm -rf conftest*
12517: ;;
12518: esac
12519:
12520: need_locks=$enable_libtool_lock
12521:
12522: if test -n "$ac_tool_prefix"; then
12523: # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
12524: set dummy ${ac_tool_prefix}mt; ac_word=$2
12525: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12526: $as_echo_n "checking for $ac_word... " >&6; }
12527: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
12528: $as_echo_n "(cached) " >&6
12529: else
12530: if test -n "$MANIFEST_TOOL"; then
12531: ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
12532: else
12533: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12534: for as_dir in $PATH
12535: do
12536: IFS=$as_save_IFS
12537: test -z "$as_dir" && as_dir=.
12538: for ac_exec_ext in '' $ac_executable_extensions; do
12539: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12540: ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
12541: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12542: break 2
12543: fi
12544: done
12545: done
12546: IFS=$as_save_IFS
12547:
12548: fi
12549: fi
12550: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
12551: if test -n "$MANIFEST_TOOL"; then
12552: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
12553: $as_echo "$MANIFEST_TOOL" >&6; }
12554: else
12555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12556: $as_echo "no" >&6; }
12557: fi
12558:
12559:
12560: fi
12561: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
12562: ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
12563: # Extract the first word of "mt", so it can be a program name with args.
12564: set dummy mt; ac_word=$2
12565: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12566: $as_echo_n "checking for $ac_word... " >&6; }
12567: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
12568: $as_echo_n "(cached) " >&6
12569: else
12570: if test -n "$ac_ct_MANIFEST_TOOL"; then
12571: ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
12572: else
12573: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12574: for as_dir in $PATH
12575: do
12576: IFS=$as_save_IFS
12577: test -z "$as_dir" && as_dir=.
12578: for ac_exec_ext in '' $ac_executable_extensions; do
12579: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12580: ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
12581: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12582: break 2
12583: fi
12584: done
12585: done
12586: IFS=$as_save_IFS
12587:
12588: fi
12589: fi
12590: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
12591: if test -n "$ac_ct_MANIFEST_TOOL"; then
12592: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
12593: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
12594: else
12595: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596: $as_echo "no" >&6; }
12597: fi
12598:
12599: if test "x$ac_ct_MANIFEST_TOOL" = x; then
12600: MANIFEST_TOOL=":"
12601: else
12602: case $cross_compiling:$ac_tool_warned in
12603: yes:)
12604: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12605: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12606: ac_tool_warned=yes ;;
12607: esac
12608: MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
12609: fi
12610: else
12611: MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
12612: fi
12613:
12614: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
12615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
12616: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
12617: if ${lt_cv_path_mainfest_tool+:} false; then :
12618: $as_echo_n "(cached) " >&6
12619: else
12620: lt_cv_path_mainfest_tool=no
12621: echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
12622: $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
12623: cat conftest.err >&5
12624: if $GREP 'Manifest Tool' conftest.out > /dev/null; then
12625: lt_cv_path_mainfest_tool=yes
12626: fi
12627: rm -f conftest*
12628: fi
12629: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
12630: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
12631: if test yes != "$lt_cv_path_mainfest_tool"; then
12632: MANIFEST_TOOL=:
12633: fi
12634:
12635:
12636:
12637:
12638:
12639:
12640: case $host_os in
12641: rhapsody* | darwin*)
12642: if test -n "$ac_tool_prefix"; then
12643: # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
12644: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
12645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12646: $as_echo_n "checking for $ac_word... " >&6; }
12647: if ${ac_cv_prog_DSYMUTIL+:} false; then :
12648: $as_echo_n "(cached) " >&6
12649: else
12650: if test -n "$DSYMUTIL"; then
12651: ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
12652: else
12653: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12654: for as_dir in $PATH
12655: do
12656: IFS=$as_save_IFS
12657: test -z "$as_dir" && as_dir=.
12658: for ac_exec_ext in '' $ac_executable_extensions; do
12659: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12660: ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
12661: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12662: break 2
12663: fi
12664: done
12665: done
12666: IFS=$as_save_IFS
12667:
12668: fi
12669: fi
12670: DSYMUTIL=$ac_cv_prog_DSYMUTIL
12671: if test -n "$DSYMUTIL"; then
12672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
12673: $as_echo "$DSYMUTIL" >&6; }
12674: else
12675: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12676: $as_echo "no" >&6; }
12677: fi
12678:
12679:
12680: fi
12681: if test -z "$ac_cv_prog_DSYMUTIL"; then
12682: ac_ct_DSYMUTIL=$DSYMUTIL
12683: # Extract the first word of "dsymutil", so it can be a program name with args.
12684: set dummy dsymutil; ac_word=$2
12685: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12686: $as_echo_n "checking for $ac_word... " >&6; }
12687: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
12688: $as_echo_n "(cached) " >&6
12689: else
12690: if test -n "$ac_ct_DSYMUTIL"; then
12691: ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
12692: else
12693: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12694: for as_dir in $PATH
12695: do
12696: IFS=$as_save_IFS
12697: test -z "$as_dir" && as_dir=.
12698: for ac_exec_ext in '' $ac_executable_extensions; do
12699: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12700: ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
12701: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12702: break 2
12703: fi
12704: done
12705: done
12706: IFS=$as_save_IFS
12707:
12708: fi
12709: fi
12710: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
12711: if test -n "$ac_ct_DSYMUTIL"; then
12712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
12713: $as_echo "$ac_ct_DSYMUTIL" >&6; }
12714: else
12715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12716: $as_echo "no" >&6; }
12717: fi
12718:
12719: if test "x$ac_ct_DSYMUTIL" = x; then
12720: DSYMUTIL=":"
12721: else
12722: case $cross_compiling:$ac_tool_warned in
12723: yes:)
12724: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12725: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12726: ac_tool_warned=yes ;;
12727: esac
12728: DSYMUTIL=$ac_ct_DSYMUTIL
12729: fi
12730: else
12731: DSYMUTIL="$ac_cv_prog_DSYMUTIL"
12732: fi
12733:
12734: if test -n "$ac_tool_prefix"; then
12735: # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
12736: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
12737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12738: $as_echo_n "checking for $ac_word... " >&6; }
12739: if ${ac_cv_prog_NMEDIT+:} false; then :
12740: $as_echo_n "(cached) " >&6
12741: else
12742: if test -n "$NMEDIT"; then
12743: ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
12744: else
12745: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12746: for as_dir in $PATH
12747: do
12748: IFS=$as_save_IFS
12749: test -z "$as_dir" && as_dir=.
12750: for ac_exec_ext in '' $ac_executable_extensions; do
12751: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12752: ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
12753: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12754: break 2
12755: fi
12756: done
12757: done
12758: IFS=$as_save_IFS
12759:
12760: fi
12761: fi
12762: NMEDIT=$ac_cv_prog_NMEDIT
12763: if test -n "$NMEDIT"; then
12764: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
12765: $as_echo "$NMEDIT" >&6; }
12766: else
12767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12768: $as_echo "no" >&6; }
12769: fi
12770:
12771:
12772: fi
12773: if test -z "$ac_cv_prog_NMEDIT"; then
12774: ac_ct_NMEDIT=$NMEDIT
12775: # Extract the first word of "nmedit", so it can be a program name with args.
12776: set dummy nmedit; ac_word=$2
12777: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12778: $as_echo_n "checking for $ac_word... " >&6; }
12779: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
12780: $as_echo_n "(cached) " >&6
12781: else
12782: if test -n "$ac_ct_NMEDIT"; then
12783: ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
12784: else
12785: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12786: for as_dir in $PATH
12787: do
12788: IFS=$as_save_IFS
12789: test -z "$as_dir" && as_dir=.
12790: for ac_exec_ext in '' $ac_executable_extensions; do
12791: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12792: ac_cv_prog_ac_ct_NMEDIT="nmedit"
12793: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12794: break 2
12795: fi
12796: done
12797: done
12798: IFS=$as_save_IFS
12799:
12800: fi
12801: fi
12802: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
12803: if test -n "$ac_ct_NMEDIT"; then
12804: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
12805: $as_echo "$ac_ct_NMEDIT" >&6; }
12806: else
12807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12808: $as_echo "no" >&6; }
12809: fi
12810:
12811: if test "x$ac_ct_NMEDIT" = x; then
12812: NMEDIT=":"
12813: else
12814: case $cross_compiling:$ac_tool_warned in
12815: yes:)
12816: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12817: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12818: ac_tool_warned=yes ;;
12819: esac
12820: NMEDIT=$ac_ct_NMEDIT
12821: fi
12822: else
12823: NMEDIT="$ac_cv_prog_NMEDIT"
12824: fi
12825:
12826: if test -n "$ac_tool_prefix"; then
12827: # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
12828: set dummy ${ac_tool_prefix}lipo; ac_word=$2
12829: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12830: $as_echo_n "checking for $ac_word... " >&6; }
12831: if ${ac_cv_prog_LIPO+:} false; then :
12832: $as_echo_n "(cached) " >&6
12833: else
12834: if test -n "$LIPO"; then
12835: ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
12836: else
12837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12838: for as_dir in $PATH
12839: do
12840: IFS=$as_save_IFS
12841: test -z "$as_dir" && as_dir=.
12842: for ac_exec_ext in '' $ac_executable_extensions; do
12843: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12844: ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
12845: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12846: break 2
12847: fi
12848: done
12849: done
12850: IFS=$as_save_IFS
12851:
12852: fi
12853: fi
12854: LIPO=$ac_cv_prog_LIPO
12855: if test -n "$LIPO"; then
12856: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
12857: $as_echo "$LIPO" >&6; }
12858: else
12859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860: $as_echo "no" >&6; }
12861: fi
12862:
12863:
12864: fi
12865: if test -z "$ac_cv_prog_LIPO"; then
12866: ac_ct_LIPO=$LIPO
12867: # Extract the first word of "lipo", so it can be a program name with args.
12868: set dummy lipo; ac_word=$2
12869: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12870: $as_echo_n "checking for $ac_word... " >&6; }
12871: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
12872: $as_echo_n "(cached) " >&6
12873: else
12874: if test -n "$ac_ct_LIPO"; then
12875: ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
12876: else
12877: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12878: for as_dir in $PATH
12879: do
12880: IFS=$as_save_IFS
12881: test -z "$as_dir" && as_dir=.
12882: for ac_exec_ext in '' $ac_executable_extensions; do
12883: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12884: ac_cv_prog_ac_ct_LIPO="lipo"
12885: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12886: break 2
12887: fi
12888: done
12889: done
12890: IFS=$as_save_IFS
12891:
12892: fi
12893: fi
12894: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
12895: if test -n "$ac_ct_LIPO"; then
12896: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
12897: $as_echo "$ac_ct_LIPO" >&6; }
12898: else
12899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900: $as_echo "no" >&6; }
12901: fi
12902:
12903: if test "x$ac_ct_LIPO" = x; then
12904: LIPO=":"
12905: else
12906: case $cross_compiling:$ac_tool_warned in
12907: yes:)
12908: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12909: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12910: ac_tool_warned=yes ;;
12911: esac
12912: LIPO=$ac_ct_LIPO
12913: fi
12914: else
12915: LIPO="$ac_cv_prog_LIPO"
12916: fi
12917:
12918: if test -n "$ac_tool_prefix"; then
12919: # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
12920: set dummy ${ac_tool_prefix}otool; ac_word=$2
12921: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12922: $as_echo_n "checking for $ac_word... " >&6; }
12923: if ${ac_cv_prog_OTOOL+:} false; then :
12924: $as_echo_n "(cached) " >&6
12925: else
12926: if test -n "$OTOOL"; then
12927: ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
12928: else
12929: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12930: for as_dir in $PATH
12931: do
12932: IFS=$as_save_IFS
12933: test -z "$as_dir" && as_dir=.
12934: for ac_exec_ext in '' $ac_executable_extensions; do
12935: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12936: ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
12937: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12938: break 2
12939: fi
12940: done
12941: done
12942: IFS=$as_save_IFS
12943:
12944: fi
12945: fi
12946: OTOOL=$ac_cv_prog_OTOOL
12947: if test -n "$OTOOL"; then
12948: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
12949: $as_echo "$OTOOL" >&6; }
12950: else
12951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952: $as_echo "no" >&6; }
12953: fi
12954:
12955:
12956: fi
12957: if test -z "$ac_cv_prog_OTOOL"; then
12958: ac_ct_OTOOL=$OTOOL
12959: # Extract the first word of "otool", so it can be a program name with args.
12960: set dummy otool; ac_word=$2
12961: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12962: $as_echo_n "checking for $ac_word... " >&6; }
12963: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
12964: $as_echo_n "(cached) " >&6
12965: else
12966: if test -n "$ac_ct_OTOOL"; then
12967: ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
12968: else
12969: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12970: for as_dir in $PATH
12971: do
12972: IFS=$as_save_IFS
12973: test -z "$as_dir" && as_dir=.
12974: for ac_exec_ext in '' $ac_executable_extensions; do
12975: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12976: ac_cv_prog_ac_ct_OTOOL="otool"
12977: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12978: break 2
12979: fi
12980: done
12981: done
12982: IFS=$as_save_IFS
12983:
12984: fi
12985: fi
12986: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
12987: if test -n "$ac_ct_OTOOL"; then
12988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
12989: $as_echo "$ac_ct_OTOOL" >&6; }
12990: else
12991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12992: $as_echo "no" >&6; }
12993: fi
12994:
12995: if test "x$ac_ct_OTOOL" = x; then
12996: OTOOL=":"
12997: else
12998: case $cross_compiling:$ac_tool_warned in
12999: yes:)
13000: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13001: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13002: ac_tool_warned=yes ;;
13003: esac
13004: OTOOL=$ac_ct_OTOOL
13005: fi
13006: else
13007: OTOOL="$ac_cv_prog_OTOOL"
13008: fi
13009:
13010: if test -n "$ac_tool_prefix"; then
13011: # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
13012: set dummy ${ac_tool_prefix}otool64; ac_word=$2
13013: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13014: $as_echo_n "checking for $ac_word... " >&6; }
13015: if ${ac_cv_prog_OTOOL64+:} false; then :
13016: $as_echo_n "(cached) " >&6
13017: else
13018: if test -n "$OTOOL64"; then
13019: ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
13020: else
13021: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13022: for as_dir in $PATH
13023: do
13024: IFS=$as_save_IFS
13025: test -z "$as_dir" && as_dir=.
13026: for ac_exec_ext in '' $ac_executable_extensions; do
13027: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13028: ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
13029: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13030: break 2
13031: fi
13032: done
13033: done
13034: IFS=$as_save_IFS
13035:
13036: fi
13037: fi
13038: OTOOL64=$ac_cv_prog_OTOOL64
13039: if test -n "$OTOOL64"; then
13040: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
13041: $as_echo "$OTOOL64" >&6; }
13042: else
13043: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13044: $as_echo "no" >&6; }
13045: fi
13046:
13047:
13048: fi
13049: if test -z "$ac_cv_prog_OTOOL64"; then
13050: ac_ct_OTOOL64=$OTOOL64
13051: # Extract the first word of "otool64", so it can be a program name with args.
13052: set dummy otool64; ac_word=$2
13053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13054: $as_echo_n "checking for $ac_word... " >&6; }
13055: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
13056: $as_echo_n "(cached) " >&6
13057: else
13058: if test -n "$ac_ct_OTOOL64"; then
13059: ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
13060: else
13061: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062: for as_dir in $PATH
13063: do
13064: IFS=$as_save_IFS
13065: test -z "$as_dir" && as_dir=.
13066: for ac_exec_ext in '' $ac_executable_extensions; do
13067: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13068: ac_cv_prog_ac_ct_OTOOL64="otool64"
13069: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13070: break 2
13071: fi
13072: done
13073: done
13074: IFS=$as_save_IFS
13075:
13076: fi
13077: fi
13078: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
13079: if test -n "$ac_ct_OTOOL64"; then
13080: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
13081: $as_echo "$ac_ct_OTOOL64" >&6; }
13082: else
13083: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13084: $as_echo "no" >&6; }
13085: fi
13086:
13087: if test "x$ac_ct_OTOOL64" = x; then
13088: OTOOL64=":"
13089: else
13090: case $cross_compiling:$ac_tool_warned in
13091: yes:)
13092: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13093: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13094: ac_tool_warned=yes ;;
13095: esac
13096: OTOOL64=$ac_ct_OTOOL64
13097: fi
13098: else
13099: OTOOL64="$ac_cv_prog_OTOOL64"
13100: fi
13101:
13102:
13103:
13104:
13105:
13106:
13107:
13108:
13109:
13110:
13111:
13112:
13113:
13114:
13115:
13116:
13117:
13118:
13119:
13120:
13121:
13122:
13123:
13124:
13125:
13126:
13127:
13128: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
13129: $as_echo_n "checking for -single_module linker flag... " >&6; }
13130: if ${lt_cv_apple_cc_single_mod+:} false; then :
13131: $as_echo_n "(cached) " >&6
13132: else
13133: lt_cv_apple_cc_single_mod=no
13134: if test -z "$LT_MULTI_MODULE"; then
13135: # By default we will add the -single_module flag. You can override
13136: # by either setting the environment variable LT_MULTI_MODULE
13137: # non-empty at configure time, or by adding -multi_module to the
13138: # link flags.
13139: rm -rf libconftest.dylib*
13140: echo "int foo(void){return 1;}" > conftest.c
13141: echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13142: -dynamiclib -Wl,-single_module conftest.c" >&5
13143: $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
13144: -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
13145: _lt_result=$?
13146: # If there is a non-empty error log, and "single_module"
13147: # appears in it, assume the flag caused a linker warning
13148: if test -s conftest.err && $GREP single_module conftest.err; then
13149: cat conftest.err >&5
13150: # Otherwise, if the output was created with a 0 exit code from
13151: # the compiler, it worked.
13152: elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
13153: lt_cv_apple_cc_single_mod=yes
13154: else
13155: cat conftest.err >&5
13156: fi
13157: rm -rf libconftest.dylib*
13158: rm -f conftest.*
13159: fi
13160: fi
13161: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
13162: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
13163:
13164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
13165: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
13166: if ${lt_cv_ld_exported_symbols_list+:} false; then :
13167: $as_echo_n "(cached) " >&6
13168: else
13169: lt_cv_ld_exported_symbols_list=no
13170: save_LDFLAGS=$LDFLAGS
13171: echo "_main" > conftest.sym
13172: LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
13173: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13174: /* end confdefs.h. */
13175:
13176: int
13177: main ()
13178: {
13179:
13180: ;
13181: return 0;
13182: }
13183: _ACEOF
13184: if ac_fn_c_try_link "$LINENO"; then :
13185: lt_cv_ld_exported_symbols_list=yes
13186: else
13187: lt_cv_ld_exported_symbols_list=no
13188: fi
13189: rm -f core conftest.err conftest.$ac_objext \
13190: conftest$ac_exeext conftest.$ac_ext
13191: LDFLAGS=$save_LDFLAGS
13192:
13193: fi
13194: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
13195: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
13196:
13197: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
13198: $as_echo_n "checking for -force_load linker flag... " >&6; }
13199: if ${lt_cv_ld_force_load+:} false; then :
13200: $as_echo_n "(cached) " >&6
13201: else
13202: lt_cv_ld_force_load=no
13203: cat > conftest.c << _LT_EOF
13204: int forced_loaded() { return 2;}
13205: _LT_EOF
13206: echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
13207: $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
13208: echo "$AR cru libconftest.a conftest.o" >&5
13209: $AR cru libconftest.a conftest.o 2>&5
13210: echo "$RANLIB libconftest.a" >&5
13211: $RANLIB libconftest.a 2>&5
13212: cat > conftest.c << _LT_EOF
13213: int main() { return 0;}
13214: _LT_EOF
13215: echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
13216: $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
13217: _lt_result=$?
13218: if test -s conftest.err && $GREP force_load conftest.err; then
13219: cat conftest.err >&5
13220: elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
13221: lt_cv_ld_force_load=yes
13222: else
13223: cat conftest.err >&5
13224: fi
13225: rm -f conftest.err libconftest.a conftest conftest.c
13226: rm -rf conftest.dSYM
13227:
13228: fi
13229: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
13230: $as_echo "$lt_cv_ld_force_load" >&6; }
13231: case $host_os in
13232: rhapsody* | darwin1.[012])
13233: _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
13234: darwin1.*)
13235: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
13236: darwin*) # darwin 5.x on
13237: # if running on 10.5 or later, the deployment target defaults
13238: # to the OS version, if on x86, and 10.4, the deployment
13239: # target defaults to 10.4. Don't you love it?
13240: case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
13241: 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
13242: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
13243: 10.[012][,.]*)
13244: _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
13245: 10.*)
13246: _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
13247: esac
13248: ;;
13249: esac
13250: if test yes = "$lt_cv_apple_cc_single_mod"; then
13251: _lt_dar_single_mod='$single_module'
13252: fi
13253: if test yes = "$lt_cv_ld_exported_symbols_list"; then
13254: _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
13255: else
13256: _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
13257: fi
13258: if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
13259: _lt_dsymutil='~$DSYMUTIL $lib || :'
13260: else
13261: _lt_dsymutil=
13262: fi
13263: ;;
13264: esac
13265:
13266: # func_munge_path_list VARIABLE PATH
13267: # -----------------------------------
13268: # VARIABLE is name of variable containing _space_ separated list of
13269: # directories to be munged by the contents of PATH, which is string
13270: # having a format:
13271: # "DIR[:DIR]:"
13272: # string "DIR[ DIR]" will be prepended to VARIABLE
13273: # ":DIR[:DIR]"
13274: # string "DIR[ DIR]" will be appended to VARIABLE
13275: # "DIRP[:DIRP]::[DIRA:]DIRA"
13276: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
13277: # "DIRA[ DIRA]" will be appended to VARIABLE
13278: # "DIR[:DIR]"
13279: # VARIABLE will be replaced by "DIR[ DIR]"
13280: func_munge_path_list ()
13281: {
13282: case x$2 in
13283: x)
13284: ;;
13285: *:)
13286: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
13287: ;;
13288: x:*)
13289: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
13290: ;;
13291: *::*)
13292: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
13293: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
13294: ;;
13295: *)
13296: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
13297: ;;
13298: esac
13299: }
13300:
13301: for ac_header in dlfcn.h
13302: do :
13303: ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
13304: "
13305: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13306: cat >>confdefs.h <<_ACEOF
13307: #define HAVE_DLFCN_H 1
13308: _ACEOF
13309:
13310: fi
13311:
13312: done
13313:
13314:
13315:
13316:
13317:
13318: # Set options
13319:
13320:
13321:
13322: enable_dlopen=no
13323:
13324:
13325: enable_win32_dll=no
13326:
13327:
13328: # Check whether --enable-shared was given.
13329: if test "${enable_shared+set}" = set; then :
13330: enableval=$enable_shared; p=${PACKAGE-default}
13331: case $enableval in
13332: yes) enable_shared=yes ;;
13333: no) enable_shared=no ;;
13334: *)
13335: enable_shared=no
13336: # Look at the argument we got. We use all the common list separators.
13337: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13338: for pkg in $enableval; do
13339: IFS=$lt_save_ifs
13340: if test "X$pkg" = "X$p"; then
13341: enable_shared=yes
13342: fi
13343: done
13344: IFS=$lt_save_ifs
13345: ;;
13346: esac
13347: else
13348: enable_shared=yes
13349: fi
13350:
13351:
13352:
13353:
13354:
13355:
13356:
13357:
13358:
13359:
13360:
13361: # Check whether --with-pic was given.
13362: if test "${with_pic+set}" = set; then :
13363: withval=$with_pic; lt_p=${PACKAGE-default}
13364: case $withval in
13365: yes|no) pic_mode=$withval ;;
13366: *)
13367: pic_mode=default
13368: # Look at the argument we got. We use all the common list separators.
13369: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13370: for lt_pkg in $withval; do
13371: IFS=$lt_save_ifs
13372: if test "X$lt_pkg" = "X$lt_p"; then
13373: pic_mode=yes
13374: fi
13375: done
13376: IFS=$lt_save_ifs
13377: ;;
13378: esac
13379: else
13380: pic_mode=default
13381: fi
13382:
13383:
13384:
13385:
13386:
13387:
13388:
13389:
13390: # Check whether --enable-fast-install was given.
13391: if test "${enable_fast_install+set}" = set; then :
13392: enableval=$enable_fast_install; p=${PACKAGE-default}
13393: case $enableval in
13394: yes) enable_fast_install=yes ;;
13395: no) enable_fast_install=no ;;
13396: *)
13397: enable_fast_install=no
13398: # Look at the argument we got. We use all the common list separators.
13399: lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
13400: for pkg in $enableval; do
13401: IFS=$lt_save_ifs
13402: if test "X$pkg" = "X$p"; then
13403: enable_fast_install=yes
13404: fi
13405: done
13406: IFS=$lt_save_ifs
13407: ;;
13408: esac
13409: else
13410: enable_fast_install=yes
13411: fi
13412:
13413:
13414:
13415:
13416:
13417:
13418:
13419:
13420: shared_archive_member_spec=
13421: case $host,$enable_shared in
13422: power*-*-aix[5-9]*,yes)
13423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
13424: $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
13425:
13426: # Check whether --with-aix-soname was given.
13427: if test "${with_aix_soname+set}" = set; then :
13428: withval=$with_aix_soname; case $withval in
13429: aix|svr4|both)
13430: ;;
13431: *)
13432: as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
13433: ;;
13434: esac
13435: lt_cv_with_aix_soname=$with_aix_soname
13436: else
13437: if ${lt_cv_with_aix_soname+:} false; then :
13438: $as_echo_n "(cached) " >&6
13439: else
13440: lt_cv_with_aix_soname=aix
13441: fi
13442:
13443: with_aix_soname=$lt_cv_with_aix_soname
13444: fi
13445:
13446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
13447: $as_echo "$with_aix_soname" >&6; }
13448: if test aix != "$with_aix_soname"; then
13449: # For the AIX way of multilib, we name the shared archive member
13450: # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
13451: # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
13452: # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
13453: # the AIX toolchain works better with OBJECT_MODE set (default 32).
13454: if test 64 = "${OBJECT_MODE-32}"; then
13455: shared_archive_member_spec=shr_64
13456: else
13457: shared_archive_member_spec=shr
13458: fi
13459: fi
13460: ;;
13461: *)
13462: with_aix_soname=aix
13463: ;;
13464: esac
13465:
13466:
13467:
13468:
13469:
13470:
13471:
13472:
13473:
13474:
13475: # This can be used to rebuild libtool when needed
13476: LIBTOOL_DEPS=$ltmain
13477:
13478: # Always use our own libtool.
13479: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
13480:
13481:
13482:
13483:
13484:
13485:
13486:
13487:
13488:
13489:
13490:
13491:
13492:
13493:
13494:
13495:
13496:
13497:
13498:
13499:
13500:
13501:
13502:
13503:
13504:
13505:
13506:
13507:
13508:
13509:
13510: test -z "$LN_S" && LN_S="ln -s"
13511:
13512:
13513:
13514:
13515:
13516:
13517:
13518:
13519:
13520:
13521:
13522:
13523:
13524:
13525: if test -n "${ZSH_VERSION+set}"; then
13526: setopt NO_GLOB_SUBST
13527: fi
13528:
13529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
13530: $as_echo_n "checking for objdir... " >&6; }
13531: if ${lt_cv_objdir+:} false; then :
13532: $as_echo_n "(cached) " >&6
13533: else
13534: rm -f .libs 2>/dev/null
13535: mkdir .libs 2>/dev/null
13536: if test -d .libs; then
13537: lt_cv_objdir=.libs
13538: else
13539: # MS-DOS does not allow filenames that begin with a dot.
13540: lt_cv_objdir=_libs
13541: fi
13542: rmdir .libs 2>/dev/null
13543: fi
13544: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
13545: $as_echo "$lt_cv_objdir" >&6; }
13546: objdir=$lt_cv_objdir
13547:
13548:
13549:
13550:
13551:
13552: cat >>confdefs.h <<_ACEOF
13553: #define LT_OBJDIR "$lt_cv_objdir/"
13554: _ACEOF
13555:
13556:
13557:
13558:
13559: case $host_os in
13560: aix3*)
13561: # AIX sometimes has problems with the GCC collect2 program. For some
13562: # reason, if we set the COLLECT_NAMES environment variable, the problems
13563: # vanish in a puff of smoke.
13564: if test set != "${COLLECT_NAMES+set}"; then
13565: COLLECT_NAMES=
13566: export COLLECT_NAMES
13567: fi
13568: ;;
13569: esac
13570:
13571: # Global variables:
13572: ofile=libtool
13573: can_build_shared=yes
13574:
13575: # All known linkers require a '.a' archive for static linking (except MSVC,
13576: # which needs '.lib').
13577: libext=a
13578:
13579: with_gnu_ld=$lt_cv_prog_gnu_ld
13580:
13581: old_CC=$CC
13582: old_CFLAGS=$CFLAGS
13583:
13584: # Set sane defaults for various variables
13585: test -z "$CC" && CC=cc
13586: test -z "$LTCC" && LTCC=$CC
13587: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
13588: test -z "$LD" && LD=ld
13589: test -z "$ac_objext" && ac_objext=o
13590:
13591: func_cc_basename $compiler
13592: cc_basename=$func_cc_basename_result
13593:
13594:
13595: # Only perform the check for file, if the check method requires it
13596: test -z "$MAGIC_CMD" && MAGIC_CMD=file
13597: case $deplibs_check_method in
13598: file_magic*)
13599: if test "$file_magic_cmd" = '$MAGIC_CMD'; then
13600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
13601: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
13602: if ${lt_cv_path_MAGIC_CMD+:} false; then :
13603: $as_echo_n "(cached) " >&6
13604: else
13605: case $MAGIC_CMD in
13606: [\\/*] | ?:[\\/]*)
13607: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13608: ;;
13609: *)
13610: lt_save_MAGIC_CMD=$MAGIC_CMD
13611: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13612: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13613: for ac_dir in $ac_dummy; do
13614: IFS=$lt_save_ifs
13615: test -z "$ac_dir" && ac_dir=.
13616: if test -f "$ac_dir/${ac_tool_prefix}file"; then
13617: lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
13618: if test -n "$file_magic_test_file"; then
13619: case $deplibs_check_method in
13620: "file_magic "*)
13621: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13622: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13623: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13624: $EGREP "$file_magic_regex" > /dev/null; then
13625: :
13626: else
13627: cat <<_LT_EOF 1>&2
13628:
13629: *** Warning: the command libtool uses to detect shared libraries,
13630: *** $file_magic_cmd, produces output that libtool cannot recognize.
13631: *** The result is that libtool may fail to recognize shared libraries
13632: *** as such. This will affect the creation of libtool libraries that
13633: *** depend on shared libraries, but programs linked with such libtool
13634: *** libraries will work regardless of this problem. Nevertheless, you
13635: *** may want to report the problem to your system manager and/or to
13636: *** bug-libtool@gnu.org
13637:
13638: _LT_EOF
13639: fi ;;
13640: esac
13641: fi
13642: break
13643: fi
13644: done
13645: IFS=$lt_save_ifs
13646: MAGIC_CMD=$lt_save_MAGIC_CMD
13647: ;;
13648: esac
13649: fi
13650:
13651: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13652: if test -n "$MAGIC_CMD"; then
13653: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13654: $as_echo "$MAGIC_CMD" >&6; }
13655: else
13656: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13657: $as_echo "no" >&6; }
13658: fi
13659:
13660:
13661:
13662:
13663:
13664: if test -z "$lt_cv_path_MAGIC_CMD"; then
13665: if test -n "$ac_tool_prefix"; then
13666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
13667: $as_echo_n "checking for file... " >&6; }
13668: if ${lt_cv_path_MAGIC_CMD+:} false; then :
13669: $as_echo_n "(cached) " >&6
13670: else
13671: case $MAGIC_CMD in
13672: [\\/*] | ?:[\\/]*)
13673: lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
13674: ;;
13675: *)
13676: lt_save_MAGIC_CMD=$MAGIC_CMD
13677: lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
13678: ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
13679: for ac_dir in $ac_dummy; do
13680: IFS=$lt_save_ifs
13681: test -z "$ac_dir" && ac_dir=.
13682: if test -f "$ac_dir/file"; then
13683: lt_cv_path_MAGIC_CMD=$ac_dir/"file"
13684: if test -n "$file_magic_test_file"; then
13685: case $deplibs_check_method in
13686: "file_magic "*)
13687: file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
13688: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13689: if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
13690: $EGREP "$file_magic_regex" > /dev/null; then
13691: :
13692: else
13693: cat <<_LT_EOF 1>&2
13694:
13695: *** Warning: the command libtool uses to detect shared libraries,
13696: *** $file_magic_cmd, produces output that libtool cannot recognize.
13697: *** The result is that libtool may fail to recognize shared libraries
13698: *** as such. This will affect the creation of libtool libraries that
13699: *** depend on shared libraries, but programs linked with such libtool
13700: *** libraries will work regardless of this problem. Nevertheless, you
13701: *** may want to report the problem to your system manager and/or to
13702: *** bug-libtool@gnu.org
13703:
13704: _LT_EOF
13705: fi ;;
13706: esac
13707: fi
13708: break
13709: fi
13710: done
13711: IFS=$lt_save_ifs
13712: MAGIC_CMD=$lt_save_MAGIC_CMD
13713: ;;
13714: esac
13715: fi
13716:
13717: MAGIC_CMD=$lt_cv_path_MAGIC_CMD
13718: if test -n "$MAGIC_CMD"; then
13719: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
13720: $as_echo "$MAGIC_CMD" >&6; }
13721: else
13722: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13723: $as_echo "no" >&6; }
13724: fi
13725:
13726:
13727: else
13728: MAGIC_CMD=:
13729: fi
13730: fi
13731:
13732: fi
13733: ;;
13734: esac
13735:
13736: # Use C for the default configuration in the libtool script
13737:
13738: lt_save_CC=$CC
13739: ac_ext=c
13740: ac_cpp='$CPP $CPPFLAGS'
13741: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13742: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13743: ac_compiler_gnu=$ac_cv_c_compiler_gnu
13744:
13745:
13746: # Source file extension for C test sources.
13747: ac_ext=c
13748:
13749: # Object file extension for compiled C test sources.
13750: objext=o
13751: objext=$objext
13752:
13753: # Code to be used in simple compile tests
13754: lt_simple_compile_test_code="int some_variable = 0;"
13755:
13756: # Code to be used in simple link tests
13757: lt_simple_link_test_code='int main(){return(0);}'
13758:
13759:
13760:
13761:
13762:
13763:
13764:
13765: # If no C compiler was specified, use CC.
13766: LTCC=${LTCC-"$CC"}
13767:
13768: # If no C compiler flags were specified, use CFLAGS.
13769: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13770:
13771: # Allow CC to be a program name with arguments.
13772: compiler=$CC
13773:
13774: # Save the default compiler, since it gets overwritten when the other
13775: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
13776: compiler_DEFAULT=$CC
13777:
13778: # save warnings/boilerplate of simple test code
13779: ac_outfile=conftest.$ac_objext
13780: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13781: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13782: _lt_compiler_boilerplate=`cat conftest.err`
13783: $RM conftest*
13784:
13785: ac_outfile=conftest.$ac_objext
13786: echo "$lt_simple_link_test_code" >conftest.$ac_ext
13787: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13788: _lt_linker_boilerplate=`cat conftest.err`
13789: $RM -r conftest*
13790:
13791:
13792: ## CAVEAT EMPTOR:
13793: ## There is no encapsulation within the following macros, do not change
13794: ## the running order or otherwise move them around unless you know exactly
13795: ## what you are doing...
13796: if test -n "$compiler"; then
13797:
13798: lt_prog_compiler_no_builtin_flag=
13799:
13800: if test yes = "$GCC"; then
13801: case $cc_basename in
13802: nvcc*)
13803: lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
13804: *)
13805: lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
13806: esac
13807:
13808: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13809: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13810: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
13811: $as_echo_n "(cached) " >&6
13812: else
13813: lt_cv_prog_compiler_rtti_exceptions=no
13814: ac_outfile=conftest.$ac_objext
13815: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13816: lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
13817: # Insert the option either (1) after the last *FLAGS variable, or
13818: # (2) before a word containing "conftest.", or (3) at the end.
13819: # Note that $ac_compile itself does not contain backslashes and begins
13820: # with a dollar sign (not a hyphen), so the echo should work correctly.
13821: # The option is referenced via a variable to avoid confusing sed.
13822: lt_compile=`echo "$ac_compile" | $SED \
13823: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13824: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13825: -e 's:$: $lt_compiler_flag:'`
13826: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13827: (eval "$lt_compile" 2>conftest.err)
13828: ac_status=$?
13829: cat conftest.err >&5
13830: echo "$as_me:$LINENO: \$? = $ac_status" >&5
13831: if (exit $ac_status) && test -s "$ac_outfile"; then
13832: # The compiler can only warn and ignore the option if not recognized
13833: # So say no if there are warnings other than the usual output.
13834: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13835: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13836: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13837: lt_cv_prog_compiler_rtti_exceptions=yes
13838: fi
13839: fi
13840: $RM conftest*
13841:
13842: fi
13843: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
13844: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
13845:
13846: if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
13847: lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
13848: else
13849: :
13850: fi
13851:
13852: fi
13853:
13854:
13855:
13856:
13857:
13858:
13859: lt_prog_compiler_wl=
13860: lt_prog_compiler_pic=
13861: lt_prog_compiler_static=
13862:
13863:
13864: if test yes = "$GCC"; then
13865: lt_prog_compiler_wl='-Wl,'
13866: lt_prog_compiler_static='-static'
13867:
13868: case $host_os in
13869: aix*)
13870: # All AIX code is PIC.
13871: if test ia64 = "$host_cpu"; then
13872: # AIX 5 now supports IA64 processor
13873: lt_prog_compiler_static='-Bstatic'
13874: fi
13875: lt_prog_compiler_pic='-fPIC'
13876: ;;
13877:
13878: amigaos*)
13879: case $host_cpu in
13880: powerpc)
13881: # see comment about AmigaOS4 .so support
13882: lt_prog_compiler_pic='-fPIC'
13883: ;;
13884: m68k)
13885: # FIXME: we need at least 68020 code to build shared libraries, but
13886: # adding the '-m68020' flag to GCC prevents building anything better,
13887: # like '-m68040'.
13888: lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
13889: ;;
13890: esac
13891: ;;
13892:
13893: beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13894: # PIC is the default for these OSes.
13895: ;;
13896:
13897: mingw* | cygwin* | pw32* | os2* | cegcc*)
13898: # This hack is so that the source file can tell whether it is being
13899: # built for inclusion in a dll (and should export symbols for example).
13900: # Although the cygwin gcc ignores -fPIC, still need this for old-style
13901: # (--disable-auto-import) libraries
13902: lt_prog_compiler_pic='-DDLL_EXPORT'
13903: case $host_os in
13904: os2*)
13905: lt_prog_compiler_static='$wl-static'
13906: ;;
13907: esac
13908: ;;
13909:
13910: darwin* | rhapsody*)
13911: # PIC is the default on this platform
13912: # Common symbols not allowed in MH_DYLIB files
13913: lt_prog_compiler_pic='-fno-common'
13914: ;;
13915:
13916: haiku*)
13917: # PIC is the default for Haiku.
13918: # The "-static" flag exists, but is broken.
13919: lt_prog_compiler_static=
13920: ;;
13921:
13922: hpux*)
13923: # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13924: # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13925: # sets the default TLS model and affects inlining.
13926: case $host_cpu in
13927: hppa*64*)
13928: # +Z the default
13929: ;;
13930: *)
13931: lt_prog_compiler_pic='-fPIC'
13932: ;;
13933: esac
13934: ;;
13935:
13936: interix[3-9]*)
13937: # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13938: # Instead, we relocate shared libraries at runtime.
13939: ;;
13940:
13941: msdosdjgpp*)
13942: # Just because we use GCC doesn't mean we suddenly get shared libraries
13943: # on systems that don't support them.
13944: lt_prog_compiler_can_build_shared=no
13945: enable_shared=no
13946: ;;
13947:
13948: *nto* | *qnx*)
13949: # QNX uses GNU C++, but need to define -shared option too, otherwise
13950: # it will coredump.
13951: lt_prog_compiler_pic='-fPIC -shared'
13952: ;;
13953:
13954: sysv4*MP*)
13955: if test -d /usr/nec; then
13956: lt_prog_compiler_pic=-Kconform_pic
13957: fi
13958: ;;
13959:
13960: *)
13961: lt_prog_compiler_pic='-fPIC'
13962: ;;
13963: esac
13964:
13965: case $cc_basename in
13966: nvcc*) # Cuda Compiler Driver 2.2
13967: lt_prog_compiler_wl='-Xlinker '
13968: if test -n "$lt_prog_compiler_pic"; then
13969: lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
13970: fi
13971: ;;
13972: esac
13973: else
13974: # PORTME Check for flag to pass linker flags through the system compiler.
13975: case $host_os in
13976: aix*)
13977: lt_prog_compiler_wl='-Wl,'
13978: if test ia64 = "$host_cpu"; then
13979: # AIX 5 now supports IA64 processor
13980: lt_prog_compiler_static='-Bstatic'
13981: else
13982: lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
13983: fi
13984: ;;
13985:
13986: darwin* | rhapsody*)
13987: # PIC is the default on this platform
13988: # Common symbols not allowed in MH_DYLIB files
13989: lt_prog_compiler_pic='-fno-common'
13990: case $cc_basename in
13991: nagfor*)
13992: # NAG Fortran compiler
13993: lt_prog_compiler_wl='-Wl,-Wl,,'
13994: lt_prog_compiler_pic='-PIC'
13995: lt_prog_compiler_static='-Bstatic'
13996: ;;
13997: esac
13998: ;;
13999:
14000: mingw* | cygwin* | pw32* | os2* | cegcc*)
14001: # This hack is so that the source file can tell whether it is being
14002: # built for inclusion in a dll (and should export symbols for example).
14003: lt_prog_compiler_pic='-DDLL_EXPORT'
14004: case $host_os in
14005: os2*)
14006: lt_prog_compiler_static='$wl-static'
14007: ;;
14008: esac
14009: ;;
14010:
14011: hpux9* | hpux10* | hpux11*)
14012: lt_prog_compiler_wl='-Wl,'
14013: # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14014: # not for PA HP-UX.
14015: case $host_cpu in
14016: hppa*64*|ia64*)
14017: # +Z the default
14018: ;;
14019: *)
14020: lt_prog_compiler_pic='+Z'
14021: ;;
14022: esac
14023: # Is there a better lt_prog_compiler_static that works with the bundled CC?
14024: lt_prog_compiler_static='$wl-a ${wl}archive'
14025: ;;
14026:
14027: irix5* | irix6* | nonstopux*)
14028: lt_prog_compiler_wl='-Wl,'
14029: # PIC (with -KPIC) is the default.
14030: lt_prog_compiler_static='-non_shared'
14031: ;;
14032:
14033: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14034: case $cc_basename in
14035: # old Intel for x86_64, which still supported -KPIC.
14036: ecc*)
14037: lt_prog_compiler_wl='-Wl,'
14038: lt_prog_compiler_pic='-KPIC'
14039: lt_prog_compiler_static='-static'
14040: ;;
14041: # icc used to be incompatible with GCC.
14042: # ICC 10 doesn't accept -KPIC any more.
14043: icc* | ifort*)
14044: lt_prog_compiler_wl='-Wl,'
14045: lt_prog_compiler_pic='-fPIC'
14046: lt_prog_compiler_static='-static'
14047: ;;
14048: # Lahey Fortran 8.1.
14049: lf95*)
14050: lt_prog_compiler_wl='-Wl,'
14051: lt_prog_compiler_pic='--shared'
14052: lt_prog_compiler_static='--static'
14053: ;;
14054: nagfor*)
14055: # NAG Fortran compiler
14056: lt_prog_compiler_wl='-Wl,-Wl,,'
14057: lt_prog_compiler_pic='-PIC'
14058: lt_prog_compiler_static='-Bstatic'
14059: ;;
14060: tcc*)
14061: # Fabrice Bellard et al's Tiny C Compiler
14062: lt_prog_compiler_wl='-Wl,'
14063: lt_prog_compiler_pic='-fPIC'
14064: lt_prog_compiler_static='-static'
14065: ;;
14066: pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
14067: # Portland Group compilers (*not* the Pentium gcc compiler,
14068: # which looks to be a dead project)
14069: lt_prog_compiler_wl='-Wl,'
14070: lt_prog_compiler_pic='-fpic'
14071: lt_prog_compiler_static='-Bstatic'
14072: ;;
14073: ccc*)
14074: lt_prog_compiler_wl='-Wl,'
14075: # All Alpha code is PIC.
14076: lt_prog_compiler_static='-non_shared'
14077: ;;
14078: xl* | bgxl* | bgf* | mpixl*)
14079: # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14080: lt_prog_compiler_wl='-Wl,'
14081: lt_prog_compiler_pic='-qpic'
14082: lt_prog_compiler_static='-qstaticlink'
14083: ;;
14084: *)
14085: case `$CC -V 2>&1 | sed 5q` in
14086: *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
14087: # Sun Fortran 8.3 passes all unrecognized flags to the linker
14088: lt_prog_compiler_pic='-KPIC'
14089: lt_prog_compiler_static='-Bstatic'
14090: lt_prog_compiler_wl=''
14091: ;;
14092: *Sun\ F* | *Sun*Fortran*)
14093: lt_prog_compiler_pic='-KPIC'
14094: lt_prog_compiler_static='-Bstatic'
14095: lt_prog_compiler_wl='-Qoption ld '
14096: ;;
14097: *Sun\ C*)
14098: # Sun C 5.9
14099: lt_prog_compiler_pic='-KPIC'
14100: lt_prog_compiler_static='-Bstatic'
14101: lt_prog_compiler_wl='-Wl,'
14102: ;;
14103: *Intel*\ [CF]*Compiler*)
14104: lt_prog_compiler_wl='-Wl,'
14105: lt_prog_compiler_pic='-fPIC'
14106: lt_prog_compiler_static='-static'
14107: ;;
14108: *Portland\ Group*)
14109: lt_prog_compiler_wl='-Wl,'
14110: lt_prog_compiler_pic='-fpic'
14111: lt_prog_compiler_static='-Bstatic'
14112: ;;
14113: esac
14114: ;;
14115: esac
14116: ;;
14117:
14118: newsos6)
14119: lt_prog_compiler_pic='-KPIC'
14120: lt_prog_compiler_static='-Bstatic'
14121: ;;
14122:
14123: *nto* | *qnx*)
14124: # QNX uses GNU C++, but need to define -shared option too, otherwise
14125: # it will coredump.
14126: lt_prog_compiler_pic='-fPIC -shared'
14127: ;;
14128:
14129: osf3* | osf4* | osf5*)
14130: lt_prog_compiler_wl='-Wl,'
14131: # All OSF/1 code is PIC.
14132: lt_prog_compiler_static='-non_shared'
14133: ;;
14134:
14135: rdos*)
14136: lt_prog_compiler_static='-non_shared'
14137: ;;
14138:
14139: solaris*)
14140: lt_prog_compiler_pic='-KPIC'
14141: lt_prog_compiler_static='-Bstatic'
14142: case $cc_basename in
14143: f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
14144: lt_prog_compiler_wl='-Qoption ld ';;
14145: *)
14146: lt_prog_compiler_wl='-Wl,';;
14147: esac
14148: ;;
14149:
14150: sunos4*)
14151: lt_prog_compiler_wl='-Qoption ld '
14152: lt_prog_compiler_pic='-PIC'
14153: lt_prog_compiler_static='-Bstatic'
14154: ;;
14155:
14156: sysv4 | sysv4.2uw2* | sysv4.3*)
14157: lt_prog_compiler_wl='-Wl,'
14158: lt_prog_compiler_pic='-KPIC'
14159: lt_prog_compiler_static='-Bstatic'
14160: ;;
14161:
14162: sysv4*MP*)
14163: if test -d /usr/nec; then
14164: lt_prog_compiler_pic='-Kconform_pic'
14165: lt_prog_compiler_static='-Bstatic'
14166: fi
14167: ;;
14168:
14169: sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14170: lt_prog_compiler_wl='-Wl,'
14171: lt_prog_compiler_pic='-KPIC'
14172: lt_prog_compiler_static='-Bstatic'
14173: ;;
14174:
14175: unicos*)
14176: lt_prog_compiler_wl='-Wl,'
14177: lt_prog_compiler_can_build_shared=no
14178: ;;
14179:
14180: uts4*)
14181: lt_prog_compiler_pic='-pic'
14182: lt_prog_compiler_static='-Bstatic'
14183: ;;
14184:
14185: *)
14186: lt_prog_compiler_can_build_shared=no
14187: ;;
14188: esac
14189: fi
14190:
14191: case $host_os in
14192: # For platforms that do not support PIC, -DPIC is meaningless:
14193: *djgpp*)
14194: lt_prog_compiler_pic=
14195: ;;
14196: *)
14197: lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
14198: ;;
14199: esac
14200:
14201: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14202: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14203: if ${lt_cv_prog_compiler_pic+:} false; then :
14204: $as_echo_n "(cached) " >&6
14205: else
14206: lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
14207: fi
14208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
14209: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
14210: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
14211:
14212: #
14213: # Check to make sure the PIC flag actually works.
14214: #
14215: if test -n "$lt_prog_compiler_pic"; then
14216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
14217: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
14218: if ${lt_cv_prog_compiler_pic_works+:} false; then :
14219: $as_echo_n "(cached) " >&6
14220: else
14221: lt_cv_prog_compiler_pic_works=no
14222: ac_outfile=conftest.$ac_objext
14223: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14224: lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
14225: # Insert the option either (1) after the last *FLAGS variable, or
14226: # (2) before a word containing "conftest.", or (3) at the end.
14227: # Note that $ac_compile itself does not contain backslashes and begins
14228: # with a dollar sign (not a hyphen), so the echo should work correctly.
14229: # The option is referenced via a variable to avoid confusing sed.
14230: lt_compile=`echo "$ac_compile" | $SED \
14231: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14232: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14233: -e 's:$: $lt_compiler_flag:'`
14234: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14235: (eval "$lt_compile" 2>conftest.err)
14236: ac_status=$?
14237: cat conftest.err >&5
14238: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239: if (exit $ac_status) && test -s "$ac_outfile"; then
14240: # The compiler can only warn and ignore the option if not recognized
14241: # So say no if there are warnings other than the usual output.
14242: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14243: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14244: if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14245: lt_cv_prog_compiler_pic_works=yes
14246: fi
14247: fi
14248: $RM conftest*
14249:
14250: fi
14251: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
14252: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
14253:
14254: if test yes = "$lt_cv_prog_compiler_pic_works"; then
14255: case $lt_prog_compiler_pic in
14256: "" | " "*) ;;
14257: *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
14258: esac
14259: else
14260: lt_prog_compiler_pic=
14261: lt_prog_compiler_can_build_shared=no
14262: fi
14263:
14264: fi
14265:
14266:
14267:
14268:
14269:
14270:
14271:
14272:
14273:
14274:
14275:
14276: #
14277: # Check to make sure the static flag actually works.
14278: #
14279: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
14280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14281: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14282: if ${lt_cv_prog_compiler_static_works+:} false; then :
14283: $as_echo_n "(cached) " >&6
14284: else
14285: lt_cv_prog_compiler_static_works=no
14286: save_LDFLAGS=$LDFLAGS
14287: LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14288: echo "$lt_simple_link_test_code" > conftest.$ac_ext
14289: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14290: # The linker can only warn and ignore the option if not recognized
14291: # So say no if there are warnings
14292: if test -s conftest.err; then
14293: # Append any errors to the config.log.
14294: cat conftest.err 1>&5
14295: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14296: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14297: if diff conftest.exp conftest.er2 >/dev/null; then
14298: lt_cv_prog_compiler_static_works=yes
14299: fi
14300: else
14301: lt_cv_prog_compiler_static_works=yes
14302: fi
14303: fi
14304: $RM -r conftest*
14305: LDFLAGS=$save_LDFLAGS
14306:
14307: fi
14308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
14309: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
14310:
14311: if test yes = "$lt_cv_prog_compiler_static_works"; then
14312: :
14313: else
14314: lt_prog_compiler_static=
14315: fi
14316:
14317:
14318:
14319:
14320:
14321:
14322:
14323: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14324: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14325: if ${lt_cv_prog_compiler_c_o+:} false; then :
14326: $as_echo_n "(cached) " >&6
14327: else
14328: lt_cv_prog_compiler_c_o=no
14329: $RM -r conftest 2>/dev/null
14330: mkdir conftest
14331: cd conftest
14332: mkdir out
14333: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14334:
14335: lt_compiler_flag="-o out/conftest2.$ac_objext"
14336: # Insert the option either (1) after the last *FLAGS variable, or
14337: # (2) before a word containing "conftest.", or (3) at the end.
14338: # Note that $ac_compile itself does not contain backslashes and begins
14339: # with a dollar sign (not a hyphen), so the echo should work correctly.
14340: lt_compile=`echo "$ac_compile" | $SED \
14341: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14342: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14343: -e 's:$: $lt_compiler_flag:'`
14344: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14345: (eval "$lt_compile" 2>out/conftest.err)
14346: ac_status=$?
14347: cat out/conftest.err >&5
14348: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349: if (exit $ac_status) && test -s out/conftest2.$ac_objext
14350: then
14351: # The compiler can only warn and ignore the option if not recognized
14352: # So say no if there are warnings
14353: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14354: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14355: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14356: lt_cv_prog_compiler_c_o=yes
14357: fi
14358: fi
14359: chmod u+w . 2>&5
14360: $RM conftest*
14361: # SGI C++ compiler will create directory out/ii_files/ for
14362: # template instantiation
14363: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14364: $RM out/* && rmdir out
14365: cd ..
14366: $RM -r conftest
14367: $RM conftest*
14368:
14369: fi
14370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
14371: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14372:
14373:
14374:
14375:
14376:
14377:
14378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14379: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14380: if ${lt_cv_prog_compiler_c_o+:} false; then :
14381: $as_echo_n "(cached) " >&6
14382: else
14383: lt_cv_prog_compiler_c_o=no
14384: $RM -r conftest 2>/dev/null
14385: mkdir conftest
14386: cd conftest
14387: mkdir out
14388: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14389:
14390: lt_compiler_flag="-o out/conftest2.$ac_objext"
14391: # Insert the option either (1) after the last *FLAGS variable, or
14392: # (2) before a word containing "conftest.", or (3) at the end.
14393: # Note that $ac_compile itself does not contain backslashes and begins
14394: # with a dollar sign (not a hyphen), so the echo should work correctly.
14395: lt_compile=`echo "$ac_compile" | $SED \
14396: -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14397: -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14398: -e 's:$: $lt_compiler_flag:'`
14399: (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14400: (eval "$lt_compile" 2>out/conftest.err)
14401: ac_status=$?
14402: cat out/conftest.err >&5
14403: echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404: if (exit $ac_status) && test -s out/conftest2.$ac_objext
14405: then
14406: # The compiler can only warn and ignore the option if not recognized
14407: # So say no if there are warnings
14408: $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14409: $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14410: if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14411: lt_cv_prog_compiler_c_o=yes
14412: fi
14413: fi
14414: chmod u+w . 2>&5
14415: $RM conftest*
14416: # SGI C++ compiler will create directory out/ii_files/ for
14417: # template instantiation
14418: test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14419: $RM out/* && rmdir out
14420: cd ..
14421: $RM -r conftest
14422: $RM conftest*
14423:
14424: fi
14425: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
14426: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
14427:
14428:
14429:
14430:
14431: hard_links=nottested
14432: if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
14433: # do not overwrite the value of need_locks provided by the user
14434: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14435: $as_echo_n "checking if we can lock with hard links... " >&6; }
14436: hard_links=yes
14437: $RM conftest*
14438: ln conftest.a conftest.b 2>/dev/null && hard_links=no
14439: touch conftest.a
14440: ln conftest.a conftest.b 2>&5 || hard_links=no
14441: ln conftest.a conftest.b 2>/dev/null && hard_links=no
14442: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14443: $as_echo "$hard_links" >&6; }
14444: if test no = "$hard_links"; then
14445: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
14446: $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
14447: need_locks=warn
14448: fi
14449: else
14450: need_locks=no
14451: fi
14452:
14453:
14454:
14455:
14456:
14457:
14458: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14459: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14460:
14461: runpath_var=
14462: allow_undefined_flag=
14463: always_export_symbols=no
14464: archive_cmds=
14465: archive_expsym_cmds=
14466: compiler_needs_object=no
14467: enable_shared_with_static_runtimes=no
14468: export_dynamic_flag_spec=
14469: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14470: hardcode_automatic=no
14471: hardcode_direct=no
14472: hardcode_direct_absolute=no
14473: hardcode_libdir_flag_spec=
14474: hardcode_libdir_separator=
14475: hardcode_minus_L=no
14476: hardcode_shlibpath_var=unsupported
14477: inherit_rpath=no
14478: link_all_deplibs=unknown
14479: module_cmds=
14480: module_expsym_cmds=
14481: old_archive_from_new_cmds=
14482: old_archive_from_expsyms_cmds=
14483: thread_safe_flag_spec=
14484: whole_archive_flag_spec=
14485: # include_expsyms should be a list of space-separated symbols to be *always*
14486: # included in the symbol list
14487: include_expsyms=
14488: # exclude_expsyms can be an extended regexp of symbols to exclude
14489: # it will be wrapped by ' (' and ')$', so one must not match beginning or
14490: # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
14491: # as well as any symbol that contains 'd'.
14492: exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14493: # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14494: # platforms (ab)use it in PIC code, but their linkers get confused if
14495: # the symbol is explicitly referenced. Since portable code cannot
14496: # rely on this symbol name, it's probably fine to never include it in
14497: # preloaded symbol tables.
14498: # Exclude shared library initialization/finalization symbols.
14499: extract_expsyms_cmds=
14500:
14501: case $host_os in
14502: cygwin* | mingw* | pw32* | cegcc*)
14503: # FIXME: the MSVC++ port hasn't been tested in a loooong time
14504: # When not using gcc, we currently assume that we are using
14505: # Microsoft Visual C++.
14506: if test yes != "$GCC"; then
14507: with_gnu_ld=no
14508: fi
14509: ;;
14510: interix*)
14511: # we just hope/assume this is gcc and not c89 (= MSVC++)
14512: with_gnu_ld=yes
14513: ;;
14514: openbsd* | bitrig*)
14515: with_gnu_ld=no
14516: ;;
14517: linux* | k*bsd*-gnu | gnu*)
14518: link_all_deplibs=no
14519: ;;
14520: esac
14521:
14522: ld_shlibs=yes
14523:
14524: # On some targets, GNU ld is compatible enough with the native linker
14525: # that we're better off using the native interface for both.
14526: lt_use_gnu_ld_interface=no
14527: if test yes = "$with_gnu_ld"; then
14528: case $host_os in
14529: aix*)
14530: # The AIX port of GNU ld has always aspired to compatibility
14531: # with the native linker. However, as the warning in the GNU ld
14532: # block says, versions before 2.19.5* couldn't really create working
14533: # shared libraries, regardless of the interface used.
14534: case `$LD -v 2>&1` in
14535: *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
14536: *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
14537: *\ \(GNU\ Binutils\)\ [3-9]*) ;;
14538: *)
14539: lt_use_gnu_ld_interface=yes
14540: ;;
14541: esac
14542: ;;
14543: *)
14544: lt_use_gnu_ld_interface=yes
14545: ;;
14546: esac
14547: fi
14548:
14549: if test yes = "$lt_use_gnu_ld_interface"; then
14550: # If archive_cmds runs LD, not CC, wlarc should be empty
14551: wlarc='$wl'
14552:
14553: # Set some defaults for GNU ld with shared library support. These
14554: # are reset later if shared libraries are not supported. Putting them
14555: # here allows them to be overridden if necessary.
14556: runpath_var=LD_RUN_PATH
14557: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14558: export_dynamic_flag_spec='$wl--export-dynamic'
14559: # ancient GNU ld didn't support --whole-archive et. al.
14560: if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
14561: whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14562: else
14563: whole_archive_flag_spec=
14564: fi
14565: supports_anon_versioning=no
14566: case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
14567: *GNU\ gold*) supports_anon_versioning=yes ;;
14568: *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14569: *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14570: *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14571: *\ 2.11.*) ;; # other 2.11 versions
14572: *) supports_anon_versioning=yes ;;
14573: esac
14574:
14575: # See if GNU ld supports shared libraries.
14576: case $host_os in
14577: aix[3-9]*)
14578: # On AIX/PPC, the GNU linker is very broken
14579: if test ia64 != "$host_cpu"; then
14580: ld_shlibs=no
14581: cat <<_LT_EOF 1>&2
14582:
14583: *** Warning: the GNU linker, at least up to release 2.19, is reported
14584: *** to be unable to reliably create shared libraries on AIX.
14585: *** Therefore, libtool is disabling shared libraries support. If you
14586: *** really care for shared libraries, you may want to install binutils
14587: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14588: *** You will then need to restart the configuration process.
14589:
14590: _LT_EOF
14591: fi
14592: ;;
14593:
14594: amigaos*)
14595: case $host_cpu in
14596: powerpc)
14597: # see comment about AmigaOS4 .so support
14598: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14599: archive_expsym_cmds=''
14600: ;;
14601: m68k)
14602: 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)'
14603: hardcode_libdir_flag_spec='-L$libdir'
14604: hardcode_minus_L=yes
14605: ;;
14606: esac
14607: ;;
14608:
14609: beos*)
14610: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14611: allow_undefined_flag=unsupported
14612: # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14613: # support --undefined. This deserves some investigation. FIXME
14614: archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14615: else
14616: ld_shlibs=no
14617: fi
14618: ;;
14619:
14620: cygwin* | mingw* | pw32* | cegcc*)
14621: # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
14622: # as there is no search path for DLLs.
14623: hardcode_libdir_flag_spec='-L$libdir'
14624: export_dynamic_flag_spec='$wl--export-all-symbols'
14625: allow_undefined_flag=unsupported
14626: always_export_symbols=no
14627: enable_shared_with_static_runtimes=yes
14628: 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'
14629: exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14630:
14631: if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14632: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14633: # If the export-symbols file already is a .def file, use it as
14634: # is; otherwise, prepend EXPORTS...
14635: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
14636: cp $export_symbols $output_objdir/$soname.def;
14637: else
14638: echo EXPORTS > $output_objdir/$soname.def;
14639: cat $export_symbols >> $output_objdir/$soname.def;
14640: fi~
14641: $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14642: else
14643: ld_shlibs=no
14644: fi
14645: ;;
14646:
14647: haiku*)
14648: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14649: link_all_deplibs=yes
14650: ;;
14651:
14652: os2*)
14653: hardcode_libdir_flag_spec='-L$libdir'
14654: hardcode_minus_L=yes
14655: allow_undefined_flag=unsupported
14656: shrext_cmds=.dll
14657: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14658: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14659: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14660: $ECHO EXPORTS >> $output_objdir/$libname.def~
14661: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14662: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14663: emximp -o $lib $output_objdir/$libname.def'
14664: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14665: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14666: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14667: $ECHO EXPORTS >> $output_objdir/$libname.def~
14668: prefix_cmds="$SED"~
14669: if test EXPORTS = "`$SED 1q $export_symbols`"; then
14670: prefix_cmds="$prefix_cmds -e 1d";
14671: fi~
14672: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14673: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14674: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14675: emximp -o $lib $output_objdir/$libname.def'
14676: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14677: enable_shared_with_static_runtimes=yes
14678: ;;
14679:
14680: interix[3-9]*)
14681: hardcode_direct=no
14682: hardcode_shlibpath_var=no
14683: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
14684: export_dynamic_flag_spec='$wl-E'
14685: # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14686: # Instead, shared libraries are loaded at an image base (0x10000000 by
14687: # default) and relocated if they conflict, which is a slow very memory
14688: # consuming and fragmenting process. To avoid this, we pick a random,
14689: # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14690: # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14691: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14692: 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'
14693: ;;
14694:
14695: gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
14696: tmp_diet=no
14697: if test linux-dietlibc = "$host_os"; then
14698: case $cc_basename in
14699: diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
14700: esac
14701: fi
14702: if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
14703: && test no = "$tmp_diet"
14704: then
14705: tmp_addflag=' $pic_flag'
14706: tmp_sharedflag='-shared'
14707: case $cc_basename,$host_cpu in
14708: pgcc*) # Portland Group C compiler
14709: 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'
14710: tmp_addflag=' $pic_flag'
14711: ;;
14712: pgf77* | pgf90* | pgf95* | pgfortran*)
14713: # Portland Group f77 and f90 compilers
14714: 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'
14715: tmp_addflag=' $pic_flag -Mnomain' ;;
14716: ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14717: tmp_addflag=' -i_dynamic' ;;
14718: efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14719: tmp_addflag=' -i_dynamic -nofor_main' ;;
14720: ifc* | ifort*) # Intel Fortran compiler
14721: tmp_addflag=' -nofor_main' ;;
14722: lf95*) # Lahey Fortran 8.1
14723: whole_archive_flag_spec=
14724: tmp_sharedflag='--shared' ;;
14725: nagfor*) # NAGFOR 5.3
14726: tmp_sharedflag='-Wl,-shared' ;;
14727: xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14728: tmp_sharedflag='-qmkshrobj'
14729: tmp_addflag= ;;
14730: nvcc*) # Cuda Compiler Driver 2.2
14731: 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'
14732: compiler_needs_object=yes
14733: ;;
14734: esac
14735: case `$CC -V 2>&1 | sed 5q` in
14736: *Sun\ C*) # Sun C 5.9
14737: 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'
14738: compiler_needs_object=yes
14739: tmp_sharedflag='-G' ;;
14740: *Sun\ F*) # Sun Fortran 8.3
14741: tmp_sharedflag='-G' ;;
14742: esac
14743: archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14744:
14745: if test yes = "$supports_anon_versioning"; then
14746: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14747: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14748: echo "local: *; };" >> $output_objdir/$libname.ver~
14749: $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
14750: fi
14751:
14752: case $cc_basename in
14753: tcc*)
14754: export_dynamic_flag_spec='-rdynamic'
14755: ;;
14756: xlf* | bgf* | bgxlf* | mpixlf*)
14757: # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14758: whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
14759: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14760: archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
14761: if test yes = "$supports_anon_versioning"; then
14762: archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
14763: cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14764: echo "local: *; };" >> $output_objdir/$libname.ver~
14765: $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14766: fi
14767: ;;
14768: esac
14769: else
14770: ld_shlibs=no
14771: fi
14772: ;;
14773:
14774: netbsd* | netbsdelf*-gnu)
14775: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14776: archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14777: wlarc=
14778: else
14779: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14780: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14781: fi
14782: ;;
14783:
14784: solaris*)
14785: if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14786: ld_shlibs=no
14787: cat <<_LT_EOF 1>&2
14788:
14789: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14790: *** create shared libraries on Solaris systems. Therefore, libtool
14791: *** is disabling shared libraries support. We urge you to upgrade GNU
14792: *** binutils to release 2.9.1 or newer. Another option is to modify
14793: *** your PATH or compiler configuration so that the native linker is
14794: *** used, and then restart.
14795:
14796: _LT_EOF
14797: elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14798: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14799: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14800: else
14801: ld_shlibs=no
14802: fi
14803: ;;
14804:
14805: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14806: case `$LD -v 2>&1` in
14807: *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14808: ld_shlibs=no
14809: cat <<_LT_EOF 1>&2
14810:
14811: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
14812: *** reliably create shared libraries on SCO systems. Therefore, libtool
14813: *** is disabling shared libraries support. We urge you to upgrade GNU
14814: *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14815: *** your PATH or compiler configuration so that the native linker is
14816: *** used, and then restart.
14817:
14818: _LT_EOF
14819: ;;
14820: *)
14821: # For security reasons, it is highly recommended that you always
14822: # use absolute paths for naming shared libraries, and exclude the
14823: # DT_RUNPATH tag from executables and libraries. But doing so
14824: # requires that you compile everything twice, which is a pain.
14825: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14826: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
14827: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14828: archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14829: else
14830: ld_shlibs=no
14831: fi
14832: ;;
14833: esac
14834: ;;
14835:
14836: sunos4*)
14837: archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14838: wlarc=
14839: hardcode_direct=yes
14840: hardcode_shlibpath_var=no
14841: ;;
14842:
14843: *)
14844: if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14845: archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14846: archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
14847: else
14848: ld_shlibs=no
14849: fi
14850: ;;
14851: esac
14852:
14853: if test no = "$ld_shlibs"; then
14854: runpath_var=
14855: hardcode_libdir_flag_spec=
14856: export_dynamic_flag_spec=
14857: whole_archive_flag_spec=
14858: fi
14859: else
14860: # PORTME fill in a description of your system's linker (not GNU ld)
14861: case $host_os in
14862: aix3*)
14863: allow_undefined_flag=unsupported
14864: always_export_symbols=yes
14865: 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'
14866: # Note: this linker hardcodes the directories in LIBPATH if there
14867: # are no directories specified by -L.
14868: hardcode_minus_L=yes
14869: if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
14870: # Neither direct hardcoding nor static linking is supported with a
14871: # broken collect2.
14872: hardcode_direct=unsupported
14873: fi
14874: ;;
14875:
14876: aix[4-9]*)
14877: if test ia64 = "$host_cpu"; then
14878: # On IA64, the linker does run time linking by default, so we don't
14879: # have to do anything special.
14880: aix_use_runtimelinking=no
14881: exp_sym_flag='-Bexport'
14882: no_entry_flag=
14883: else
14884: # If we're using GNU nm, then we don't want the "-C" option.
14885: # -C means demangle to GNU nm, but means don't demangle to AIX nm.
14886: # Without the "-l" option, or with the "-B" option, AIX nm treats
14887: # weak defined symbols like other global defined symbols, whereas
14888: # GNU nm marks them as "W".
14889: # While the 'weak' keyword is ignored in the Export File, we need
14890: # it in the Import File for the 'aix-soname' feature, so we have
14891: # to replace the "-B" option with "-P" for AIX nm.
14892: if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14893: 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'
14894: else
14895: 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'
14896: fi
14897: aix_use_runtimelinking=no
14898:
14899: # Test if we are trying to use run time linking or normal
14900: # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14901: # have runtime linking enabled, and use it for executables.
14902: # For shared libraries, we enable/disable runtime linking
14903: # depending on the kind of the shared library created -
14904: # when "with_aix_soname,aix_use_runtimelinking" is:
14905: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
14906: # "aix,yes" lib.so shared, rtl:yes, for executables
14907: # lib.a static archive
14908: # "both,no" lib.so.V(shr.o) shared, rtl:yes
14909: # lib.a(lib.so.V) shared, rtl:no, for executables
14910: # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14911: # lib.a(lib.so.V) shared, rtl:no
14912: # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
14913: # lib.a static archive
14914: case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14915: for ld_flag in $LDFLAGS; do
14916: if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
14917: aix_use_runtimelinking=yes
14918: break
14919: fi
14920: done
14921: if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14922: # With aix-soname=svr4, we create the lib.so.V shared archives only,
14923: # so we don't have lib.a shared libs to link our executables.
14924: # We have to force runtime linking in this case.
14925: aix_use_runtimelinking=yes
14926: LDFLAGS="$LDFLAGS -Wl,-brtl"
14927: fi
14928: ;;
14929: esac
14930:
14931: exp_sym_flag='-bexport'
14932: no_entry_flag='-bnoentry'
14933: fi
14934:
14935: # When large executables or shared objects are built, AIX ld can
14936: # have problems creating the table of contents. If linking a library
14937: # or program results in "error TOC overflow" add -mminimal-toc to
14938: # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14939: # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14940:
14941: archive_cmds=''
14942: hardcode_direct=yes
14943: hardcode_direct_absolute=yes
14944: hardcode_libdir_separator=':'
14945: link_all_deplibs=yes
14946: file_list_spec='$wl-f,'
14947: case $with_aix_soname,$aix_use_runtimelinking in
14948: aix,*) ;; # traditional, no import file
14949: svr4,* | *,yes) # use import file
14950: # The Import File defines what to hardcode.
14951: hardcode_direct=no
14952: hardcode_direct_absolute=no
14953: ;;
14954: esac
14955:
14956: if test yes = "$GCC"; then
14957: case $host_os in aix4.[012]|aix4.[012].*)
14958: # We only want to do this on AIX 4.2 and lower, the check
14959: # below for broken collect2 doesn't work under 4.3+
14960: collect2name=`$CC -print-prog-name=collect2`
14961: if test -f "$collect2name" &&
14962: strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14963: then
14964: # We have reworked collect2
14965: :
14966: else
14967: # We have old collect2
14968: hardcode_direct=unsupported
14969: # It fails to find uninstalled libraries when the uninstalled
14970: # path is not listed in the libpath. Setting hardcode_minus_L
14971: # to unsupported forces relinking
14972: hardcode_minus_L=yes
14973: hardcode_libdir_flag_spec='-L$libdir'
14974: hardcode_libdir_separator=
14975: fi
14976: ;;
14977: esac
14978: shared_flag='-shared'
14979: if test yes = "$aix_use_runtimelinking"; then
14980: shared_flag="$shared_flag "'$wl-G'
14981: fi
14982: # Need to ensure runtime linking is disabled for the traditional
14983: # shared library, or the linker may eventually find shared libraries
14984: # /with/ Import File - we do not want to mix them.
14985: shared_flag_aix='-shared'
14986: shared_flag_svr4='-shared $wl-G'
14987: else
14988: # not using gcc
14989: if test ia64 = "$host_cpu"; then
14990: # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14991: # chokes on -Wl,-G. The following line is correct:
14992: shared_flag='-G'
14993: else
14994: if test yes = "$aix_use_runtimelinking"; then
14995: shared_flag='$wl-G'
14996: else
14997: shared_flag='$wl-bM:SRE'
14998: fi
14999: shared_flag_aix='$wl-bM:SRE'
15000: shared_flag_svr4='$wl-G'
15001: fi
15002: fi
15003:
15004: export_dynamic_flag_spec='$wl-bexpall'
15005: # It seems that -bexpall does not export symbols beginning with
15006: # underscore (_), so it is better to generate a list of symbols to export.
15007: always_export_symbols=yes
15008: if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15009: # Warning - without using the other runtime loading flags (-brtl),
15010: # -berok will link without error, but may produce a broken library.
15011: allow_undefined_flag='-berok'
15012: # Determine the default libpath from the value encoded in an
15013: # empty executable.
15014: if test set = "${lt_cv_aix_libpath+set}"; then
15015: aix_libpath=$lt_cv_aix_libpath
15016: else
15017: if ${lt_cv_aix_libpath_+:} false; then :
15018: $as_echo_n "(cached) " >&6
15019: else
15020: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15021: /* end confdefs.h. */
15022:
15023: int
15024: main ()
15025: {
15026:
15027: ;
15028: return 0;
15029: }
15030: _ACEOF
15031: if ac_fn_c_try_link "$LINENO"; then :
15032:
15033: lt_aix_libpath_sed='
15034: /Import File Strings/,/^$/ {
15035: /^0/ {
15036: s/^0 *\([^ ]*\) *$/\1/
15037: p
15038: }
15039: }'
15040: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15041: # Check for a 64-bit object if we didn't find anything.
15042: if test -z "$lt_cv_aix_libpath_"; then
15043: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15044: fi
15045: fi
15046: rm -f core conftest.err conftest.$ac_objext \
15047: conftest$ac_exeext conftest.$ac_ext
15048: if test -z "$lt_cv_aix_libpath_"; then
15049: lt_cv_aix_libpath_=/usr/lib:/lib
15050: fi
15051:
15052: fi
15053:
15054: aix_libpath=$lt_cv_aix_libpath_
15055: fi
15056:
15057: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
15058: 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
15059: else
15060: if test ia64 = "$host_cpu"; then
15061: hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
15062: allow_undefined_flag="-z nodefs"
15063: 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"
15064: else
15065: # Determine the default libpath from the value encoded in an
15066: # empty executable.
15067: if test set = "${lt_cv_aix_libpath+set}"; then
15068: aix_libpath=$lt_cv_aix_libpath
15069: else
15070: if ${lt_cv_aix_libpath_+:} false; then :
15071: $as_echo_n "(cached) " >&6
15072: else
15073: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074: /* end confdefs.h. */
15075:
15076: int
15077: main ()
15078: {
15079:
15080: ;
15081: return 0;
15082: }
15083: _ACEOF
15084: if ac_fn_c_try_link "$LINENO"; then :
15085:
15086: lt_aix_libpath_sed='
15087: /Import File Strings/,/^$/ {
15088: /^0/ {
15089: s/^0 *\([^ ]*\) *$/\1/
15090: p
15091: }
15092: }'
15093: lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15094: # Check for a 64-bit object if we didn't find anything.
15095: if test -z "$lt_cv_aix_libpath_"; then
15096: lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15097: fi
15098: fi
15099: rm -f core conftest.err conftest.$ac_objext \
15100: conftest$ac_exeext conftest.$ac_ext
15101: if test -z "$lt_cv_aix_libpath_"; then
15102: lt_cv_aix_libpath_=/usr/lib:/lib
15103: fi
15104:
15105: fi
15106:
15107: aix_libpath=$lt_cv_aix_libpath_
15108: fi
15109:
15110: hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
15111: # Warning - without using the other run time loading flags,
15112: # -berok will link without error, but may produce a broken library.
15113: no_undefined_flag=' $wl-bernotok'
15114: allow_undefined_flag=' $wl-berok'
15115: if test yes = "$with_gnu_ld"; then
15116: # We only use this code for GNU lds that support --whole-archive.
15117: whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
15118: else
15119: # Exported symbols can be pulled into shared objects from archives
15120: whole_archive_flag_spec='$convenience'
15121: fi
15122: archive_cmds_need_lc=yes
15123: archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15124: # -brtl affects multiple linker settings, -berok does not and is overridden later
15125: compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15126: if test svr4 != "$with_aix_soname"; then
15127: # This is similar to how AIX traditionally builds its shared libraries.
15128: 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'
15129: fi
15130: if test aix != "$with_aix_soname"; then
15131: 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'
15132: else
15133: # used by -dlpreopen to get the symbols
15134: archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15135: fi
15136: archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
15137: fi
15138: fi
15139: ;;
15140:
15141: amigaos*)
15142: case $host_cpu in
15143: powerpc)
15144: # see comment about AmigaOS4 .so support
15145: archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15146: archive_expsym_cmds=''
15147: ;;
15148: m68k)
15149: 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)'
15150: hardcode_libdir_flag_spec='-L$libdir'
15151: hardcode_minus_L=yes
15152: ;;
15153: esac
15154: ;;
15155:
15156: bsdi[45]*)
15157: export_dynamic_flag_spec=-rdynamic
15158: ;;
15159:
15160: cygwin* | mingw* | pw32* | cegcc*)
15161: # When not using gcc, we currently assume that we are using
15162: # Microsoft Visual C++.
15163: # hardcode_libdir_flag_spec is actually meaningless, as there is
15164: # no search path for DLLs.
15165: case $cc_basename in
15166: cl*)
15167: # Native MSVC
15168: hardcode_libdir_flag_spec=' '
15169: allow_undefined_flag=unsupported
15170: always_export_symbols=yes
15171: file_list_spec='@'
15172: # Tell ltmain to make .lib files, not .a files.
15173: libext=lib
15174: # Tell ltmain to make .dll files, not .so files.
15175: shrext_cmds=.dll
15176: # FIXME: Setting linknames here is a bad hack.
15177: archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15178: archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15179: cp "$export_symbols" "$output_objdir/$soname.def";
15180: echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15181: else
15182: $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15183: fi~
15184: $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15185: linknames='
15186: # The linker will not automatically build a static lib if we build a DLL.
15187: # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
15188: enable_shared_with_static_runtimes=yes
15189: exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
15190: export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
15191: # Don't use ranlib
15192: old_postinstall_cmds='chmod 644 $oldlib'
15193: postlink_cmds='lt_outputfile="@OUTPUT@"~
15194: lt_tool_outputfile="@TOOL_OUTPUT@"~
15195: case $lt_outputfile in
15196: *.exe|*.EXE) ;;
15197: *)
15198: lt_outputfile=$lt_outputfile.exe
15199: lt_tool_outputfile=$lt_tool_outputfile.exe
15200: ;;
15201: esac~
15202: if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15203: $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15204: $RM "$lt_outputfile.manifest";
15205: fi'
15206: ;;
15207: *)
15208: # Assume MSVC wrapper
15209: hardcode_libdir_flag_spec=' '
15210: allow_undefined_flag=unsupported
15211: # Tell ltmain to make .lib files, not .a files.
15212: libext=lib
15213: # Tell ltmain to make .dll files, not .so files.
15214: shrext_cmds=.dll
15215: # FIXME: Setting linknames here is a bad hack.
15216: archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
15217: # The linker will automatically build a .lib file if we build a DLL.
15218: old_archive_from_new_cmds='true'
15219: # FIXME: Should let the user specify the lib program.
15220: old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
15221: enable_shared_with_static_runtimes=yes
15222: ;;
15223: esac
15224: ;;
15225:
15226: darwin* | rhapsody*)
15227:
15228:
15229: archive_cmds_need_lc=no
15230: hardcode_direct=no
15231: hardcode_automatic=yes
15232: hardcode_shlibpath_var=unsupported
15233: if test yes = "$lt_cv_ld_force_load"; then
15234: 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\"`'
15235:
15236: else
15237: whole_archive_flag_spec=''
15238: fi
15239: link_all_deplibs=yes
15240: allow_undefined_flag=$_lt_dar_allow_undefined
15241: case $cc_basename in
15242: ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15243: *) _lt_dar_can_shared=$GCC ;;
15244: esac
15245: if test yes = "$_lt_dar_can_shared"; then
15246: output_verbose_link_cmd=func_echo_all
15247: archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15248: module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15249: 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"
15250: 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"
15251:
15252: else
15253: ld_shlibs=no
15254: fi
15255:
15256: ;;
15257:
15258: dgux*)
15259: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15260: hardcode_libdir_flag_spec='-L$libdir'
15261: hardcode_shlibpath_var=no
15262: ;;
15263:
15264: # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15265: # support. Future versions do this automatically, but an explicit c++rt0.o
15266: # does not break anything, and helps significantly (at the cost of a little
15267: # extra space).
15268: freebsd2.2*)
15269: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15270: hardcode_libdir_flag_spec='-R$libdir'
15271: hardcode_direct=yes
15272: hardcode_shlibpath_var=no
15273: ;;
15274:
15275: # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15276: freebsd2.*)
15277: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15278: hardcode_direct=yes
15279: hardcode_minus_L=yes
15280: hardcode_shlibpath_var=no
15281: ;;
15282:
15283: # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15284: freebsd* | dragonfly*)
15285: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15286: hardcode_libdir_flag_spec='-R$libdir'
15287: hardcode_direct=yes
15288: hardcode_shlibpath_var=no
15289: ;;
15290:
15291: hpux9*)
15292: if test yes = "$GCC"; then
15293: 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'
15294: else
15295: 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'
15296: fi
15297: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15298: hardcode_libdir_separator=:
15299: hardcode_direct=yes
15300:
15301: # hardcode_minus_L: Not really in the search PATH,
15302: # but as the default location of the library.
15303: hardcode_minus_L=yes
15304: export_dynamic_flag_spec='$wl-E'
15305: ;;
15306:
15307: hpux10*)
15308: if test yes,no = "$GCC,$with_gnu_ld"; then
15309: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15310: else
15311: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15312: fi
15313: if test no = "$with_gnu_ld"; then
15314: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15315: hardcode_libdir_separator=:
15316: hardcode_direct=yes
15317: hardcode_direct_absolute=yes
15318: export_dynamic_flag_spec='$wl-E'
15319: # hardcode_minus_L: Not really in the search PATH,
15320: # but as the default location of the library.
15321: hardcode_minus_L=yes
15322: fi
15323: ;;
15324:
15325: hpux11*)
15326: if test yes,no = "$GCC,$with_gnu_ld"; then
15327: case $host_cpu in
15328: hppa*64*)
15329: archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15330: ;;
15331: ia64*)
15332: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15333: ;;
15334: *)
15335: archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15336: ;;
15337: esac
15338: else
15339: case $host_cpu in
15340: hppa*64*)
15341: archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15342: ;;
15343: ia64*)
15344: archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15345: ;;
15346: *)
15347:
15348: # Older versions of the 11.00 compiler do not understand -b yet
15349: # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
15350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
15351: $as_echo_n "checking if $CC understands -b... " >&6; }
15352: if ${lt_cv_prog_compiler__b+:} false; then :
15353: $as_echo_n "(cached) " >&6
15354: else
15355: lt_cv_prog_compiler__b=no
15356: save_LDFLAGS=$LDFLAGS
15357: LDFLAGS="$LDFLAGS -b"
15358: echo "$lt_simple_link_test_code" > conftest.$ac_ext
15359: if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15360: # The linker can only warn and ignore the option if not recognized
15361: # So say no if there are warnings
15362: if test -s conftest.err; then
15363: # Append any errors to the config.log.
15364: cat conftest.err 1>&5
15365: $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
15366: $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15367: if diff conftest.exp conftest.er2 >/dev/null; then
15368: lt_cv_prog_compiler__b=yes
15369: fi
15370: else
15371: lt_cv_prog_compiler__b=yes
15372: fi
15373: fi
15374: $RM -r conftest*
15375: LDFLAGS=$save_LDFLAGS
15376:
15377: fi
15378: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
15379: $as_echo "$lt_cv_prog_compiler__b" >&6; }
15380:
15381: if test yes = "$lt_cv_prog_compiler__b"; then
15382: archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15383: else
15384: archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15385: fi
15386:
15387: ;;
15388: esac
15389: fi
15390: if test no = "$with_gnu_ld"; then
15391: hardcode_libdir_flag_spec='$wl+b $wl$libdir'
15392: hardcode_libdir_separator=:
15393:
15394: case $host_cpu in
15395: hppa*64*|ia64*)
15396: hardcode_direct=no
15397: hardcode_shlibpath_var=no
15398: ;;
15399: *)
15400: hardcode_direct=yes
15401: hardcode_direct_absolute=yes
15402: export_dynamic_flag_spec='$wl-E'
15403:
15404: # hardcode_minus_L: Not really in the search PATH,
15405: # but as the default location of the library.
15406: hardcode_minus_L=yes
15407: ;;
15408: esac
15409: fi
15410: ;;
15411:
15412: irix5* | irix6* | nonstopux*)
15413: if test yes = "$GCC"; then
15414: 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'
15415: # Try to use the -exported_symbol ld option, if it does not
15416: # work, assume that -exports_file does not work either and
15417: # implicitly export all symbols.
15418: # This should be the same for all languages, so no per-tag cache variable.
15419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
15420: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
15421: if ${lt_cv_irix_exported_symbol+:} false; then :
15422: $as_echo_n "(cached) " >&6
15423: else
15424: save_LDFLAGS=$LDFLAGS
15425: LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
15426: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427: /* end confdefs.h. */
15428: int foo (void) { return 0; }
15429: _ACEOF
15430: if ac_fn_c_try_link "$LINENO"; then :
15431: lt_cv_irix_exported_symbol=yes
15432: else
15433: lt_cv_irix_exported_symbol=no
15434: fi
15435: rm -f core conftest.err conftest.$ac_objext \
15436: conftest$ac_exeext conftest.$ac_ext
15437: LDFLAGS=$save_LDFLAGS
15438: fi
15439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
15440: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
15441: if test yes = "$lt_cv_irix_exported_symbol"; then
15442: 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'
15443: fi
15444: link_all_deplibs=no
15445: else
15446: 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'
15447: 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'
15448: fi
15449: archive_cmds_need_lc='no'
15450: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15451: hardcode_libdir_separator=:
15452: inherit_rpath=yes
15453: link_all_deplibs=yes
15454: ;;
15455:
15456: linux*)
15457: case $cc_basename in
15458: tcc*)
15459: # Fabrice Bellard et al's Tiny C Compiler
15460: ld_shlibs=yes
15461: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15462: ;;
15463: esac
15464: ;;
15465:
15466: netbsd* | netbsdelf*-gnu)
15467: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15468: archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15469: else
15470: archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15471: fi
15472: hardcode_libdir_flag_spec='-R$libdir'
15473: hardcode_direct=yes
15474: hardcode_shlibpath_var=no
15475: ;;
15476:
15477: newsos6)
15478: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15479: hardcode_direct=yes
15480: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15481: hardcode_libdir_separator=:
15482: hardcode_shlibpath_var=no
15483: ;;
15484:
15485: *nto* | *qnx*)
15486: ;;
15487:
15488: openbsd* | bitrig*)
15489: if test -f /usr/libexec/ld.so; then
15490: hardcode_direct=yes
15491: hardcode_shlibpath_var=no
15492: hardcode_direct_absolute=yes
15493: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
15494: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15495: archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
15496: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15497: export_dynamic_flag_spec='$wl-E'
15498: else
15499: archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15500: hardcode_libdir_flag_spec='$wl-rpath,$libdir'
15501: fi
15502: else
15503: ld_shlibs=no
15504: fi
15505: ;;
15506:
15507: os2*)
15508: hardcode_libdir_flag_spec='-L$libdir'
15509: hardcode_minus_L=yes
15510: allow_undefined_flag=unsupported
15511: shrext_cmds=.dll
15512: archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15513: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15514: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15515: $ECHO EXPORTS >> $output_objdir/$libname.def~
15516: emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15517: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15518: emximp -o $lib $output_objdir/$libname.def'
15519: archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15520: $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15521: $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15522: $ECHO EXPORTS >> $output_objdir/$libname.def~
15523: prefix_cmds="$SED"~
15524: if test EXPORTS = "`$SED 1q $export_symbols`"; then
15525: prefix_cmds="$prefix_cmds -e 1d";
15526: fi~
15527: prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15528: cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15529: $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15530: emximp -o $lib $output_objdir/$libname.def'
15531: old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15532: enable_shared_with_static_runtimes=yes
15533: ;;
15534:
15535: osf3*)
15536: if test yes = "$GCC"; then
15537: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15538: 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'
15539: else
15540: allow_undefined_flag=' -expect_unresolved \*'
15541: 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'
15542: fi
15543: archive_cmds_need_lc='no'
15544: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15545: hardcode_libdir_separator=:
15546: ;;
15547:
15548: osf4* | osf5*) # as osf3* with the addition of -msym flag
15549: if test yes = "$GCC"; then
15550: allow_undefined_flag=' $wl-expect_unresolved $wl\*'
15551: 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'
15552: hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
15553: else
15554: allow_undefined_flag=' -expect_unresolved \*'
15555: 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'
15556: 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~
15557: $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'
15558:
15559: # Both c and cxx compiler support -rpath directly
15560: hardcode_libdir_flag_spec='-rpath $libdir'
15561: fi
15562: archive_cmds_need_lc='no'
15563: hardcode_libdir_separator=:
15564: ;;
15565:
15566: solaris*)
15567: no_undefined_flag=' -z defs'
15568: if test yes = "$GCC"; then
15569: wlarc='$wl'
15570: archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
15571: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15572: $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'
15573: else
15574: case `$CC -V 2>&1` in
15575: *"Compilers 5.0"*)
15576: wlarc=''
15577: archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
15578: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15579: $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15580: ;;
15581: *)
15582: wlarc='$wl'
15583: archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15584: archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15585: $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15586: ;;
15587: esac
15588: fi
15589: hardcode_libdir_flag_spec='-R$libdir'
15590: hardcode_shlibpath_var=no
15591: case $host_os in
15592: solaris2.[0-5] | solaris2.[0-5].*) ;;
15593: *)
15594: # The compiler driver will combine and reorder linker options,
15595: # but understands '-z linker_flag'. GCC discards it without '$wl',
15596: # but is careful enough not to reorder.
15597: # Supported since Solaris 2.6 (maybe 2.5.1?)
15598: if test yes = "$GCC"; then
15599: whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15600: else
15601: whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
15602: fi
15603: ;;
15604: esac
15605: link_all_deplibs=yes
15606: ;;
15607:
15608: sunos4*)
15609: if test sequent = "$host_vendor"; then
15610: # Use $CC to link under sequent, because it throws in some extra .o
15611: # files that make .init and .fini sections work.
15612: archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15613: else
15614: archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15615: fi
15616: hardcode_libdir_flag_spec='-L$libdir'
15617: hardcode_direct=yes
15618: hardcode_minus_L=yes
15619: hardcode_shlibpath_var=no
15620: ;;
15621:
15622: sysv4)
15623: case $host_vendor in
15624: sni)
15625: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15626: hardcode_direct=yes # is this really true???
15627: ;;
15628: siemens)
15629: ## LD is ld it makes a PLAMLIB
15630: ## CC just makes a GrossModule.
15631: archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15632: reload_cmds='$CC -r -o $output$reload_objs'
15633: hardcode_direct=no
15634: ;;
15635: motorola)
15636: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15637: hardcode_direct=no #Motorola manual says yes, but my tests say they lie
15638: ;;
15639: esac
15640: runpath_var='LD_RUN_PATH'
15641: hardcode_shlibpath_var=no
15642: ;;
15643:
15644: sysv4.3*)
15645: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15646: hardcode_shlibpath_var=no
15647: export_dynamic_flag_spec='-Bexport'
15648: ;;
15649:
15650: sysv4*MP*)
15651: if test -d /usr/nec; then
15652: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15653: hardcode_shlibpath_var=no
15654: runpath_var=LD_RUN_PATH
15655: hardcode_runpath_var=yes
15656: ld_shlibs=yes
15657: fi
15658: ;;
15659:
15660: sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15661: no_undefined_flag='$wl-z,text'
15662: archive_cmds_need_lc=no
15663: hardcode_shlibpath_var=no
15664: runpath_var='LD_RUN_PATH'
15665:
15666: if test yes = "$GCC"; then
15667: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15668: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15669: else
15670: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15671: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15672: fi
15673: ;;
15674:
15675: sysv5* | sco3.2v5* | sco5v6*)
15676: # Note: We CANNOT use -z defs as we might desire, because we do not
15677: # link with -lc, and that would cause any symbols used from libc to
15678: # always be unresolved, which means just about no library would
15679: # ever link correctly. If we're not using GNU ld we use -z text
15680: # though, which does catch some bad symbols but isn't as heavy-handed
15681: # as -z defs.
15682: no_undefined_flag='$wl-z,text'
15683: allow_undefined_flag='$wl-z,nodefs'
15684: archive_cmds_need_lc=no
15685: hardcode_shlibpath_var=no
15686: hardcode_libdir_flag_spec='$wl-R,$libdir'
15687: hardcode_libdir_separator=':'
15688: link_all_deplibs=yes
15689: export_dynamic_flag_spec='$wl-Bexport'
15690: runpath_var='LD_RUN_PATH'
15691:
15692: if test yes = "$GCC"; then
15693: archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15694: archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15695: else
15696: archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15697: archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15698: fi
15699: ;;
15700:
15701: uts4*)
15702: archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15703: hardcode_libdir_flag_spec='-L$libdir'
15704: hardcode_shlibpath_var=no
15705: ;;
15706:
15707: *)
15708: ld_shlibs=no
15709: ;;
15710: esac
15711:
15712: if test sni = "$host_vendor"; then
15713: case $host in
15714: sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15715: export_dynamic_flag_spec='$wl-Blargedynsym'
15716: ;;
15717: esac
15718: fi
15719: fi
15720:
15721: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
15722: $as_echo "$ld_shlibs" >&6; }
15723: test no = "$ld_shlibs" && can_build_shared=no
15724:
15725: with_gnu_ld=$with_gnu_ld
15726:
15727:
15728:
15729:
15730:
15731:
15732:
15733:
15734:
15735:
15736:
15737:
15738:
15739:
15740:
15741: #
15742: # Do we need to explicitly link libc?
15743: #
15744: case "x$archive_cmds_need_lc" in
15745: x|xyes)
15746: # Assume -lc should be added
15747: archive_cmds_need_lc=yes
15748:
15749: if test yes,yes = "$GCC,$enable_shared"; then
15750: case $archive_cmds in
15751: *'~'*)
15752: # FIXME: we may have to deal with multi-command sequences.
15753: ;;
15754: '$CC '*)
15755: # Test whether the compiler implicitly links with -lc since on some
15756: # systems, -lgcc has to come before -lc. If gcc already passes -lc
15757: # to ld, don't add -lc before -lgcc.
15758: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15759: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15760: if ${lt_cv_archive_cmds_need_lc+:} false; then :
15761: $as_echo_n "(cached) " >&6
15762: else
15763: $RM conftest*
15764: echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15765:
15766: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15767: (eval $ac_compile) 2>&5
15768: ac_status=$?
15769: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15770: test $ac_status = 0; } 2>conftest.err; then
15771: soname=conftest
15772: lib=conftest
15773: libobjs=conftest.$ac_objext
15774: deplibs=
15775: wl=$lt_prog_compiler_wl
15776: pic_flag=$lt_prog_compiler_pic
15777: compiler_flags=-v
15778: linker_flags=-v
15779: verstring=
15780: output_objdir=.
15781: libname=conftest
15782: lt_save_allow_undefined_flag=$allow_undefined_flag
15783: allow_undefined_flag=
15784: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15785: (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15786: ac_status=$?
15787: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15788: test $ac_status = 0; }
15789: then
15790: lt_cv_archive_cmds_need_lc=no
15791: else
15792: lt_cv_archive_cmds_need_lc=yes
15793: fi
15794: allow_undefined_flag=$lt_save_allow_undefined_flag
15795: else
15796: cat conftest.err 1>&5
15797: fi
15798: $RM conftest*
15799:
15800: fi
15801: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
15802: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
15803: archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
15804: ;;
15805: esac
15806: fi
15807: ;;
15808: esac
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:
15942:
15943:
15944:
15945:
15946:
15947:
15948:
15949:
15950:
15951:
15952:
15953:
15954:
15955:
15956:
15957:
15958:
15959:
15960:
15961: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15962: $as_echo_n "checking dynamic linker characteristics... " >&6; }
15963:
15964: if test yes = "$GCC"; then
15965: case $host_os in
15966: darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
15967: *) lt_awk_arg='/^libraries:/' ;;
15968: esac
15969: case $host_os in
15970: mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
15971: *) lt_sed_strip_eq='s|=/|/|g' ;;
15972: esac
15973: lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
15974: case $lt_search_path_spec in
15975: *\;*)
15976: # if the path contains ";" then we assume it to be the separator
15977: # otherwise default to the standard path separator (i.e. ":") - it is
15978: # assumed that no part of a normal pathname contains ";" but that should
15979: # okay in the real world where ";" in dirpaths is itself problematic.
15980: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
15981: ;;
15982: *)
15983: lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
15984: ;;
15985: esac
15986: # Ok, now we have the path, separated by spaces, we can step through it
15987: # and add multilib dir if necessary...
15988: lt_tmp_lt_search_path_spec=
15989: lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
15990: # ...but if some path component already ends with the multilib dir we assume
15991: # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
15992: case "$lt_multi_os_dir; $lt_search_path_spec " in
15993: "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
15994: lt_multi_os_dir=
15995: ;;
15996: esac
15997: for lt_sys_path in $lt_search_path_spec; do
15998: if test -d "$lt_sys_path$lt_multi_os_dir"; then
15999: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
16000: elif test -n "$lt_multi_os_dir"; then
16001: test -d "$lt_sys_path" && \
16002: lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
16003: fi
16004: done
16005: lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
16006: BEGIN {RS = " "; FS = "/|\n";} {
16007: lt_foo = "";
16008: lt_count = 0;
16009: for (lt_i = NF; lt_i > 0; lt_i--) {
16010: if ($lt_i != "" && $lt_i != ".") {
16011: if ($lt_i == "..") {
16012: lt_count++;
16013: } else {
16014: if (lt_count == 0) {
16015: lt_foo = "/" $lt_i lt_foo;
16016: } else {
16017: lt_count--;
16018: }
16019: }
16020: }
16021: }
16022: if (lt_foo != "") { lt_freq[lt_foo]++; }
16023: if (lt_freq[lt_foo] == 1) { print lt_foo; }
16024: }'`
16025: # AWK program above erroneously prepends '/' to C:/dos/paths
16026: # for these hosts.
16027: case $host_os in
16028: mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
16029: $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
16030: esac
16031: sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
16032: else
16033: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16034: fi
16035: library_names_spec=
16036: libname_spec='lib$name'
16037: soname_spec=
16038: shrext_cmds=.so
16039: postinstall_cmds=
16040: postuninstall_cmds=
16041: finish_cmds=
16042: finish_eval=
16043: shlibpath_var=
16044: shlibpath_overrides_runpath=unknown
16045: version_type=none
16046: dynamic_linker="$host_os ld.so"
16047: sys_lib_dlsearch_path_spec="/lib /usr/lib"
16048: need_lib_prefix=unknown
16049: hardcode_into_libs=no
16050:
16051: # when you set need_version to no, make sure it does not cause -set_version
16052: # flags to be left without arguments
16053: need_version=unknown
16054:
16055:
16056:
16057: case $host_os in
16058: aix3*)
16059: version_type=linux # correct to gnu/linux during the next big refactor
16060: library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16061: shlibpath_var=LIBPATH
16062:
16063: # AIX 3 has no versioning support, so we append a major version to the name.
16064: soname_spec='$libname$release$shared_ext$major'
16065: ;;
16066:
16067: aix[4-9]*)
16068: version_type=linux # correct to gnu/linux during the next big refactor
16069: need_lib_prefix=no
16070: need_version=no
16071: hardcode_into_libs=yes
16072: if test ia64 = "$host_cpu"; then
16073: # AIX 5 supports IA64
16074: library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16075: shlibpath_var=LD_LIBRARY_PATH
16076: else
16077: # With GCC up to 2.95.x, collect2 would create an import file
16078: # for dependence libraries. The import file would start with
16079: # the line '#! .'. This would cause the generated library to
16080: # depend on '.', always an invalid library. This was fixed in
16081: # development snapshots of GCC prior to 3.0.
16082: case $host_os in
16083: aix4 | aix4.[01] | aix4.[01].*)
16084: if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16085: echo ' yes '
16086: echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16087: :
16088: else
16089: can_build_shared=no
16090: fi
16091: ;;
16092: esac
16093: # Using Import Files as archive members, it is possible to support
16094: # filename-based versioning of shared library archives on AIX. While
16095: # this would work for both with and without runtime linking, it will
16096: # prevent static linking of such archives. So we do filename-based
16097: # shared library versioning with .so extension only, which is used
16098: # when both runtime linking and shared linking is enabled.
16099: # Unfortunately, runtime linking may impact performance, so we do
16100: # not want this to be the default eventually. Also, we use the
16101: # versioned .so libs for executables only if there is the -brtl
16102: # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16103: # To allow for filename-based versioning support, we need to create
16104: # libNAME.so.V as an archive file, containing:
16105: # *) an Import File, referring to the versioned filename of the
16106: # archive as well as the shared archive member, telling the
16107: # bitwidth (32 or 64) of that shared object, and providing the
16108: # list of exported symbols of that shared object, eventually
16109: # decorated with the 'weak' keyword
16110: # *) the shared object with the F_LOADONLY flag set, to really avoid
16111: # it being seen by the linker.
16112: # At run time we better use the real file rather than another symlink,
16113: # but for link time we create the symlink libNAME.so -> libNAME.so.V
16114:
16115: case $with_aix_soname,$aix_use_runtimelinking in
16116: # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16117: # soname into executable. Probably we can add versioning support to
16118: # collect2, so additional links can be useful in future.
16119: aix,yes) # traditional libtool
16120: dynamic_linker='AIX unversionable lib.so'
16121: # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16122: # instead of lib<name>.a to let people know that these are not
16123: # typical AIX shared libraries.
16124: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16125: ;;
16126: aix,no) # traditional AIX only
16127: dynamic_linker='AIX lib.a(lib.so.V)'
16128: # We preserve .a as extension for shared libraries through AIX4.2
16129: # and later when we are not doing run time linking.
16130: library_names_spec='$libname$release.a $libname.a'
16131: soname_spec='$libname$release$shared_ext$major'
16132: ;;
16133: svr4,*) # full svr4 only
16134: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16135: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16136: # We do not specify a path in Import Files, so LIBPATH fires.
16137: shlibpath_overrides_runpath=yes
16138: ;;
16139: *,yes) # both, prefer svr4
16140: dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16141: library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16142: # unpreferred sharedlib libNAME.a needs extra handling
16143: 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"'
16144: 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"'
16145: # We do not specify a path in Import Files, so LIBPATH fires.
16146: shlibpath_overrides_runpath=yes
16147: ;;
16148: *,no) # both, prefer aix
16149: dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16150: library_names_spec='$libname$release.a $libname.a'
16151: soname_spec='$libname$release$shared_ext$major'
16152: # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16153: 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)'
16154: 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"'
16155: ;;
16156: esac
16157: shlibpath_var=LIBPATH
16158: fi
16159: ;;
16160:
16161: amigaos*)
16162: case $host_cpu in
16163: powerpc)
16164: # Since July 2007 AmigaOS4 officially supports .so libraries.
16165: # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16166: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16167: ;;
16168: m68k)
16169: library_names_spec='$libname.ixlibrary $libname.a'
16170: # Create ${libname}_ixlibrary.a entries in /sys/libs.
16171: 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'
16172: ;;
16173: esac
16174: ;;
16175:
16176: beos*)
16177: library_names_spec='$libname$shared_ext'
16178: dynamic_linker="$host_os ld.so"
16179: shlibpath_var=LIBRARY_PATH
16180: ;;
16181:
16182: bsdi[45]*)
16183: version_type=linux # correct to gnu/linux during the next big refactor
16184: need_version=no
16185: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16186: soname_spec='$libname$release$shared_ext$major'
16187: finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16188: shlibpath_var=LD_LIBRARY_PATH
16189: sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16190: sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16191: # the default ld.so.conf also contains /usr/contrib/lib and
16192: # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16193: # libtool to hard-code these into programs
16194: ;;
16195:
16196: cygwin* | mingw* | pw32* | cegcc*)
16197: version_type=windows
16198: shrext_cmds=.dll
16199: need_version=no
16200: need_lib_prefix=no
16201:
16202: case $GCC,$cc_basename in
16203: yes,*)
16204: # gcc
16205: library_names_spec='$libname.dll.a'
16206: # DLL is installed to $(libdir)/../bin by postinstall_cmds
16207: postinstall_cmds='base_file=`basename \$file`~
16208: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16209: dldir=$destdir/`dirname \$dlpath`~
16210: test -d \$dldir || mkdir -p \$dldir~
16211: $install_prog $dir/$dlname \$dldir/$dlname~
16212: chmod a+x \$dldir/$dlname~
16213: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16214: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16215: fi'
16216: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16217: dlpath=$dir/\$dldll~
16218: $RM \$dlpath'
16219: shlibpath_overrides_runpath=yes
16220:
16221: case $host_os in
16222: cygwin*)
16223: # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16224: soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16225:
16226: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
16227: ;;
16228: mingw* | cegcc*)
16229: # MinGW DLLs use traditional 'lib' prefix
16230: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16231: ;;
16232: pw32*)
16233: # pw32 DLLs use 'pw' prefix rather than 'lib'
16234: library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16235: ;;
16236: esac
16237: dynamic_linker='Win32 ld.exe'
16238: ;;
16239:
16240: *,cl*)
16241: # Native MSVC
16242: libname_spec='$name'
16243: soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16244: library_names_spec='$libname.dll.lib'
16245:
16246: case $build_os in
16247: mingw*)
16248: sys_lib_search_path_spec=
16249: lt_save_ifs=$IFS
16250: IFS=';'
16251: for lt_path in $LIB
16252: do
16253: IFS=$lt_save_ifs
16254: # Let DOS variable expansion print the short 8.3 style file name.
16255: lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16256: sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16257: done
16258: IFS=$lt_save_ifs
16259: # Convert to MSYS style.
16260: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16261: ;;
16262: cygwin*)
16263: # Convert to unix form, then to dos form, then back to unix form
16264: # but this time dos style (no spaces!) so that the unix form looks
16265: # like /cygdrive/c/PROGRA~1:/cygdr...
16266: sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16267: sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16268: sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16269: ;;
16270: *)
16271: sys_lib_search_path_spec=$LIB
16272: if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16273: # It is most probably a Windows format PATH.
16274: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16275: else
16276: sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16277: fi
16278: # FIXME: find the short name or the path components, as spaces are
16279: # common. (e.g. "Program Files" -> "PROGRA~1")
16280: ;;
16281: esac
16282:
16283: # DLL is installed to $(libdir)/../bin by postinstall_cmds
16284: postinstall_cmds='base_file=`basename \$file`~
16285: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16286: dldir=$destdir/`dirname \$dlpath`~
16287: test -d \$dldir || mkdir -p \$dldir~
16288: $install_prog $dir/$dlname \$dldir/$dlname'
16289: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16290: dlpath=$dir/\$dldll~
16291: $RM \$dlpath'
16292: shlibpath_overrides_runpath=yes
16293: dynamic_linker='Win32 link.exe'
16294: ;;
16295:
16296: *)
16297: # Assume MSVC wrapper
16298: library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16299: dynamic_linker='Win32 ld.exe'
16300: ;;
16301: esac
16302: # FIXME: first we should search . and the directory the executable is in
16303: shlibpath_var=PATH
16304: ;;
16305:
16306: darwin* | rhapsody*)
16307: dynamic_linker="$host_os dyld"
16308: version_type=darwin
16309: need_lib_prefix=no
16310: need_version=no
16311: library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16312: soname_spec='$libname$release$major$shared_ext'
16313: shlibpath_overrides_runpath=yes
16314: shlibpath_var=DYLD_LIBRARY_PATH
16315: shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16316:
16317: sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
16318: sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16319: ;;
16320:
16321: dgux*)
16322: version_type=linux # correct to gnu/linux during the next big refactor
16323: need_lib_prefix=no
16324: need_version=no
16325: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16326: soname_spec='$libname$release$shared_ext$major'
16327: shlibpath_var=LD_LIBRARY_PATH
16328: ;;
16329:
16330: freebsd* | dragonfly*)
16331: # DragonFly does not have aout. When/if they implement a new
16332: # versioning mechanism, adjust this.
16333: if test -x /usr/bin/objformat; then
16334: objformat=`/usr/bin/objformat`
16335: else
16336: case $host_os in
16337: freebsd[23].*) objformat=aout ;;
16338: *) objformat=elf ;;
16339: esac
16340: fi
16341: version_type=freebsd-$objformat
16342: case $version_type in
16343: freebsd-elf*)
16344: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16345: soname_spec='$libname$release$shared_ext$major'
16346: need_version=no
16347: need_lib_prefix=no
16348: ;;
16349: freebsd-*)
16350: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16351: need_version=yes
16352: ;;
16353: esac
16354: shlibpath_var=LD_LIBRARY_PATH
16355: case $host_os in
16356: freebsd2.*)
16357: shlibpath_overrides_runpath=yes
16358: ;;
16359: freebsd3.[01]* | freebsdelf3.[01]*)
16360: shlibpath_overrides_runpath=yes
16361: hardcode_into_libs=yes
16362: ;;
16363: freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16364: freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16365: shlibpath_overrides_runpath=no
16366: hardcode_into_libs=yes
16367: ;;
16368: *) # from 4.6 on, and DragonFly
16369: shlibpath_overrides_runpath=yes
16370: hardcode_into_libs=yes
16371: ;;
16372: esac
16373: ;;
16374:
16375: haiku*)
16376: version_type=linux # correct to gnu/linux during the next big refactor
16377: need_lib_prefix=no
16378: need_version=no
16379: dynamic_linker="$host_os runtime_loader"
16380: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16381: soname_spec='$libname$release$shared_ext$major'
16382: shlibpath_var=LIBRARY_PATH
16383: shlibpath_overrides_runpath=no
16384: sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16385: hardcode_into_libs=yes
16386: ;;
16387:
16388: hpux9* | hpux10* | hpux11*)
16389: # Give a soname corresponding to the major version so that dld.sl refuses to
16390: # link against other versions.
16391: version_type=sunos
16392: need_lib_prefix=no
16393: need_version=no
16394: case $host_cpu in
16395: ia64*)
16396: shrext_cmds='.so'
16397: hardcode_into_libs=yes
16398: dynamic_linker="$host_os dld.so"
16399: shlibpath_var=LD_LIBRARY_PATH
16400: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16401: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16402: soname_spec='$libname$release$shared_ext$major'
16403: if test 32 = "$HPUX_IA64_MODE"; then
16404: sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16405: sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16406: else
16407: sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16408: sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16409: fi
16410: ;;
16411: hppa*64*)
16412: shrext_cmds='.sl'
16413: hardcode_into_libs=yes
16414: dynamic_linker="$host_os dld.sl"
16415: shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16416: shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16417: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16418: soname_spec='$libname$release$shared_ext$major'
16419: sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16420: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16421: ;;
16422: *)
16423: shrext_cmds='.sl'
16424: dynamic_linker="$host_os dld.sl"
16425: shlibpath_var=SHLIB_PATH
16426: shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16427: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16428: soname_spec='$libname$release$shared_ext$major'
16429: ;;
16430: esac
16431: # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16432: postinstall_cmds='chmod 555 $lib'
16433: # or fails outright, so override atomically:
16434: install_override_mode=555
16435: ;;
16436:
16437: interix[3-9]*)
16438: version_type=linux # correct to gnu/linux during the next big refactor
16439: need_lib_prefix=no
16440: need_version=no
16441: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16442: soname_spec='$libname$release$shared_ext$major'
16443: dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16444: shlibpath_var=LD_LIBRARY_PATH
16445: shlibpath_overrides_runpath=no
16446: hardcode_into_libs=yes
16447: ;;
16448:
16449: irix5* | irix6* | nonstopux*)
16450: case $host_os in
16451: nonstopux*) version_type=nonstopux ;;
16452: *)
16453: if test yes = "$lt_cv_prog_gnu_ld"; then
16454: version_type=linux # correct to gnu/linux during the next big refactor
16455: else
16456: version_type=irix
16457: fi ;;
16458: esac
16459: need_lib_prefix=no
16460: need_version=no
16461: soname_spec='$libname$release$shared_ext$major'
16462: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16463: case $host_os in
16464: irix5* | nonstopux*)
16465: libsuff= shlibsuff=
16466: ;;
16467: *)
16468: case $LD in # libtool.m4 will add one of these switches to LD
16469: *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16470: libsuff= shlibsuff= libmagic=32-bit;;
16471: *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16472: libsuff=32 shlibsuff=N32 libmagic=N32;;
16473: *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16474: libsuff=64 shlibsuff=64 libmagic=64-bit;;
16475: *) libsuff= shlibsuff= libmagic=never-match;;
16476: esac
16477: ;;
16478: esac
16479: shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16480: shlibpath_overrides_runpath=no
16481: sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16482: sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16483: hardcode_into_libs=yes
16484: ;;
16485:
16486: # No shared lib support for Linux oldld, aout, or coff.
16487: linux*oldld* | linux*aout* | linux*coff*)
16488: dynamic_linker=no
16489: ;;
16490:
16491: linux*android*)
16492: version_type=none # Android doesn't support versioned libraries.
16493: need_lib_prefix=no
16494: need_version=no
16495: library_names_spec='$libname$release$shared_ext'
16496: soname_spec='$libname$release$shared_ext'
16497: finish_cmds=
16498: shlibpath_var=LD_LIBRARY_PATH
16499: shlibpath_overrides_runpath=yes
16500:
16501: # This implies no fast_install, which is unacceptable.
16502: # Some rework will be needed to allow for fast_install
16503: # before this can be enabled.
16504: hardcode_into_libs=yes
16505:
16506: dynamic_linker='Android linker'
16507: # Don't embed -rpath directories since the linker doesn't support them.
16508: hardcode_libdir_flag_spec='-L$libdir'
16509: ;;
16510:
16511: # This must be glibc/ELF.
16512: linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16513: version_type=linux # correct to gnu/linux during the next big refactor
16514: need_lib_prefix=no
16515: need_version=no
16516: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16517: soname_spec='$libname$release$shared_ext$major'
16518: finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16519: shlibpath_var=LD_LIBRARY_PATH
16520: shlibpath_overrides_runpath=no
16521:
16522: # Some binutils ld are patched to set DT_RUNPATH
16523: if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16524: $as_echo_n "(cached) " >&6
16525: else
16526: lt_cv_shlibpath_overrides_runpath=no
16527: save_LDFLAGS=$LDFLAGS
16528: save_libdir=$libdir
16529: eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
16530: LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
16531: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532: /* end confdefs.h. */
16533:
16534: int
16535: main ()
16536: {
16537:
16538: ;
16539: return 0;
16540: }
16541: _ACEOF
16542: if ac_fn_c_try_link "$LINENO"; then :
16543: if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16544: lt_cv_shlibpath_overrides_runpath=yes
16545: fi
16546: fi
16547: rm -f core conftest.err conftest.$ac_objext \
16548: conftest$ac_exeext conftest.$ac_ext
16549: LDFLAGS=$save_LDFLAGS
16550: libdir=$save_libdir
16551:
16552: fi
16553:
16554: shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16555:
16556: # This implies no fast_install, which is unacceptable.
16557: # Some rework will be needed to allow for fast_install
16558: # before this can be enabled.
16559: hardcode_into_libs=yes
16560:
16561: # Ideally, we could use ldconfig to report *all* directores which are
16562: # searched for libraries, however this is still not possible. Aside from not
16563: # being certain /sbin/ldconfig is available, command
16564: # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16565: # even though it is searched at run-time. Try to do the best guess by
16566: # appending ld.so.conf contents (and includes) to the search path.
16567: if test -f /etc/ld.so.conf; then
16568: 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' ' '`
16569: sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16570: fi
16571:
16572: # We used to test for /lib/ld.so.1 and disable shared libraries on
16573: # powerpc, because MkLinux only supported shared libraries with the
16574: # GNU dynamic linker. Since this was broken with cross compilers,
16575: # most powerpc-linux boxes support dynamic linking these days and
16576: # people can always --disable-shared, the test was removed, and we
16577: # assume the GNU/Linux dynamic linker is in use.
16578: dynamic_linker='GNU/Linux ld.so'
16579: ;;
16580:
16581: netbsdelf*-gnu)
16582: version_type=linux
16583: need_lib_prefix=no
16584: need_version=no
16585: library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16586: soname_spec='${libname}${release}${shared_ext}$major'
16587: shlibpath_var=LD_LIBRARY_PATH
16588: shlibpath_overrides_runpath=no
16589: hardcode_into_libs=yes
16590: dynamic_linker='NetBSD ld.elf_so'
16591: ;;
16592:
16593: netbsd*)
16594: version_type=sunos
16595: need_lib_prefix=no
16596: need_version=no
16597: if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16598: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16599: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16600: dynamic_linker='NetBSD (a.out) ld.so'
16601: else
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: dynamic_linker='NetBSD ld.elf_so'
16605: fi
16606: shlibpath_var=LD_LIBRARY_PATH
16607: shlibpath_overrides_runpath=yes
16608: hardcode_into_libs=yes
16609: ;;
16610:
16611: newsos6)
16612: version_type=linux # correct to gnu/linux during the next big refactor
16613: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16614: shlibpath_var=LD_LIBRARY_PATH
16615: shlibpath_overrides_runpath=yes
16616: ;;
16617:
16618: *nto* | *qnx*)
16619: version_type=qnx
16620: need_lib_prefix=no
16621: need_version=no
16622: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16623: soname_spec='$libname$release$shared_ext$major'
16624: shlibpath_var=LD_LIBRARY_PATH
16625: shlibpath_overrides_runpath=no
16626: hardcode_into_libs=yes
16627: dynamic_linker='ldqnx.so'
16628: ;;
16629:
16630: openbsd* | bitrig*)
16631: version_type=sunos
16632: sys_lib_dlsearch_path_spec=/usr/lib
16633: need_lib_prefix=no
16634: if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16635: need_version=no
16636: else
16637: need_version=yes
16638: fi
16639: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16640: finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16641: shlibpath_var=LD_LIBRARY_PATH
16642: shlibpath_overrides_runpath=yes
16643: ;;
16644:
16645: os2*)
16646: libname_spec='$name'
16647: version_type=windows
16648: shrext_cmds=.dll
16649: need_version=no
16650: need_lib_prefix=no
16651: # OS/2 can only load a DLL with a base name of 8 characters or less.
16652: soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
16653: v=$($ECHO $release$versuffix | tr -d .-);
16654: n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
16655: $ECHO $n$v`$shared_ext'
16656: library_names_spec='${libname}_dll.$libext'
16657: dynamic_linker='OS/2 ld.exe'
16658: shlibpath_var=BEGINLIBPATH
16659: sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16660: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16661: postinstall_cmds='base_file=`basename \$file`~
16662: dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
16663: dldir=$destdir/`dirname \$dlpath`~
16664: test -d \$dldir || mkdir -p \$dldir~
16665: $install_prog $dir/$dlname \$dldir/$dlname~
16666: chmod a+x \$dldir/$dlname~
16667: if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16668: eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16669: fi'
16670: postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
16671: dlpath=$dir/\$dldll~
16672: $RM \$dlpath'
16673: ;;
16674:
16675: osf3* | osf4* | osf5*)
16676: version_type=osf
16677: need_lib_prefix=no
16678: need_version=no
16679: soname_spec='$libname$release$shared_ext$major'
16680: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16681: shlibpath_var=LD_LIBRARY_PATH
16682: sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16683: sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16684: ;;
16685:
16686: rdos*)
16687: dynamic_linker=no
16688: ;;
16689:
16690: solaris*)
16691: version_type=linux # correct to gnu/linux during the next big refactor
16692: need_lib_prefix=no
16693: need_version=no
16694: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16695: soname_spec='$libname$release$shared_ext$major'
16696: shlibpath_var=LD_LIBRARY_PATH
16697: shlibpath_overrides_runpath=yes
16698: hardcode_into_libs=yes
16699: # ldd complains unless libraries are executable
16700: postinstall_cmds='chmod +x $lib'
16701: ;;
16702:
16703: sunos4*)
16704: version_type=sunos
16705: library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16706: finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16707: shlibpath_var=LD_LIBRARY_PATH
16708: shlibpath_overrides_runpath=yes
16709: if test yes = "$with_gnu_ld"; then
16710: need_lib_prefix=no
16711: fi
16712: need_version=yes
16713: ;;
16714:
16715: sysv4 | sysv4.3*)
16716: version_type=linux # correct to gnu/linux during the next big refactor
16717: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16718: soname_spec='$libname$release$shared_ext$major'
16719: shlibpath_var=LD_LIBRARY_PATH
16720: case $host_vendor in
16721: sni)
16722: shlibpath_overrides_runpath=no
16723: need_lib_prefix=no
16724: runpath_var=LD_RUN_PATH
16725: ;;
16726: siemens)
16727: need_lib_prefix=no
16728: ;;
16729: motorola)
16730: need_lib_prefix=no
16731: need_version=no
16732: shlibpath_overrides_runpath=no
16733: sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16734: ;;
16735: esac
16736: ;;
16737:
16738: sysv4*MP*)
16739: if test -d /usr/nec; then
16740: version_type=linux # correct to gnu/linux during the next big refactor
16741: library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
16742: soname_spec='$libname$shared_ext.$major'
16743: shlibpath_var=LD_LIBRARY_PATH
16744: fi
16745: ;;
16746:
16747: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16748: version_type=sco
16749: need_lib_prefix=no
16750: need_version=no
16751: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
16752: soname_spec='$libname$release$shared_ext$major'
16753: shlibpath_var=LD_LIBRARY_PATH
16754: shlibpath_overrides_runpath=yes
16755: hardcode_into_libs=yes
16756: if test yes = "$with_gnu_ld"; then
16757: sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16758: else
16759: sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16760: case $host_os in
16761: sco3.2v5*)
16762: sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16763: ;;
16764: esac
16765: fi
16766: sys_lib_dlsearch_path_spec='/usr/lib'
16767: ;;
16768:
16769: tpf*)
16770: # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16771: version_type=linux # correct to gnu/linux during the next big refactor
16772: need_lib_prefix=no
16773: need_version=no
16774: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16775: shlibpath_var=LD_LIBRARY_PATH
16776: shlibpath_overrides_runpath=no
16777: hardcode_into_libs=yes
16778: ;;
16779:
16780: uts4*)
16781: version_type=linux # correct to gnu/linux during the next big refactor
16782: library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16783: soname_spec='$libname$release$shared_ext$major'
16784: shlibpath_var=LD_LIBRARY_PATH
16785: ;;
16786:
16787: *)
16788: dynamic_linker=no
16789: ;;
16790: esac
16791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16792: $as_echo "$dynamic_linker" >&6; }
16793: test no = "$dynamic_linker" && can_build_shared=no
16794:
16795: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16796: if test yes = "$GCC"; then
16797: variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16798: fi
16799:
16800: if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
16801: sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
16802: fi
16803:
16804: if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
16805: sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
16806: fi
16807:
16808: # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
16809: configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
16810:
16811: # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
16812: func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
16813:
16814: # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
16815: configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
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:
16894:
16895:
16896:
16897:
16898:
16899:
16900:
16901:
16902:
16903:
16904:
16905:
16906:
16907:
16908:
16909:
16910:
16911:
16912:
16913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16914: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16915: hardcode_action=
16916: if test -n "$hardcode_libdir_flag_spec" ||
16917: test -n "$runpath_var" ||
16918: test yes = "$hardcode_automatic"; then
16919:
16920: # We can hardcode non-existent directories.
16921: if test no != "$hardcode_direct" &&
16922: # If the only mechanism to avoid hardcoding is shlibpath_var, we
16923: # have to relink, otherwise we might link with an installed library
16924: # when we should be linking with a yet-to-be-installed one
16925: ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
16926: test no != "$hardcode_minus_L"; then
16927: # Linking always hardcodes the temporary library directory.
16928: hardcode_action=relink
16929: else
16930: # We can link without hardcoding, and we can hardcode nonexisting dirs.
16931: hardcode_action=immediate
16932: fi
16933: else
16934: # We cannot hardcode anything, or else we can only hardcode existing
16935: # directories.
16936: hardcode_action=unsupported
16937: fi
16938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
16939: $as_echo "$hardcode_action" >&6; }
16940:
16941: if test relink = "$hardcode_action" ||
16942: test yes = "$inherit_rpath"; then
16943: # Fast installation is not supported
16944: enable_fast_install=no
16945: elif test yes = "$shlibpath_overrides_runpath" ||
16946: test no = "$enable_shared"; then
16947: # Fast installation is not necessary
16948: enable_fast_install=needless
16949: fi
16950:
16951:
16952:
16953:
16954:
16955:
16956: if test yes != "$enable_dlopen"; then
16957: enable_dlopen=unknown
16958: enable_dlopen_self=unknown
16959: enable_dlopen_self_static=unknown
16960: else
16961: lt_cv_dlopen=no
16962: lt_cv_dlopen_libs=
16963:
16964: case $host_os in
16965: beos*)
16966: lt_cv_dlopen=load_add_on
16967: lt_cv_dlopen_libs=
16968: lt_cv_dlopen_self=yes
16969: ;;
16970:
16971: mingw* | pw32* | cegcc*)
16972: lt_cv_dlopen=LoadLibrary
16973: lt_cv_dlopen_libs=
16974: ;;
16975:
16976: cygwin*)
16977: lt_cv_dlopen=dlopen
16978: lt_cv_dlopen_libs=
16979: ;;
16980:
16981: darwin*)
16982: # if libdl is installed we need to link against it
16983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
16984: $as_echo_n "checking for dlopen in -ldl... " >&6; }
16985: if ${ac_cv_lib_dl_dlopen+:} false; then :
16986: $as_echo_n "(cached) " >&6
16987: else
16988: ac_check_lib_save_LIBS=$LIBS
16989: LIBS="-ldl $LIBS"
16990: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991: /* end confdefs.h. */
16992:
16993: /* Override any GCC internal prototype to avoid an error.
16994: Use char because int might match the return type of a GCC
16995: builtin and then its argument prototype would still apply. */
16996: #ifdef __cplusplus
16997: extern "C"
16998: #endif
16999: char dlopen ();
17000: int
17001: main ()
17002: {
17003: return dlopen ();
17004: ;
17005: return 0;
17006: }
17007: _ACEOF
17008: if ac_fn_c_try_link "$LINENO"; then :
17009: ac_cv_lib_dl_dlopen=yes
17010: else
17011: ac_cv_lib_dl_dlopen=no
17012: fi
17013: rm -f core conftest.err conftest.$ac_objext \
17014: conftest$ac_exeext conftest.$ac_ext
17015: LIBS=$ac_check_lib_save_LIBS
17016: fi
17017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17018: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17019: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17020: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
17021: else
17022:
17023: lt_cv_dlopen=dyld
17024: lt_cv_dlopen_libs=
17025: lt_cv_dlopen_self=yes
17026:
17027: fi
17028:
17029: ;;
17030:
17031: tpf*)
17032: # Don't try to run any link tests for TPF. We know it's impossible
17033: # because TPF is a cross-compiler, and we know how we open DSOs.
17034: lt_cv_dlopen=dlopen
17035: lt_cv_dlopen_libs=
17036: lt_cv_dlopen_self=no
17037: ;;
17038:
17039: *)
17040: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
17041: if test "x$ac_cv_func_shl_load" = xyes; then :
17042: lt_cv_dlopen=shl_load
17043: else
17044: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
17045: $as_echo_n "checking for shl_load in -ldld... " >&6; }
17046: if ${ac_cv_lib_dld_shl_load+:} false; then :
17047: $as_echo_n "(cached) " >&6
17048: else
17049: ac_check_lib_save_LIBS=$LIBS
17050: LIBS="-ldld $LIBS"
17051: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052: /* end confdefs.h. */
17053:
17054: /* Override any GCC internal prototype to avoid an error.
17055: Use char because int might match the return type of a GCC
17056: builtin and then its argument prototype would still apply. */
17057: #ifdef __cplusplus
17058: extern "C"
17059: #endif
17060: char shl_load ();
17061: int
17062: main ()
17063: {
17064: return shl_load ();
17065: ;
17066: return 0;
17067: }
17068: _ACEOF
17069: if ac_fn_c_try_link "$LINENO"; then :
17070: ac_cv_lib_dld_shl_load=yes
17071: else
17072: ac_cv_lib_dld_shl_load=no
17073: fi
17074: rm -f core conftest.err conftest.$ac_objext \
17075: conftest$ac_exeext conftest.$ac_ext
17076: LIBS=$ac_check_lib_save_LIBS
17077: fi
17078: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
17079: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
17080: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
17081: lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
17082: else
17083: ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
17084: if test "x$ac_cv_func_dlopen" = xyes; then :
17085: lt_cv_dlopen=dlopen
17086: else
17087: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17088: $as_echo_n "checking for dlopen in -ldl... " >&6; }
17089: if ${ac_cv_lib_dl_dlopen+:} false; then :
17090: $as_echo_n "(cached) " >&6
17091: else
17092: ac_check_lib_save_LIBS=$LIBS
17093: LIBS="-ldl $LIBS"
17094: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095: /* end confdefs.h. */
17096:
17097: /* Override any GCC internal prototype to avoid an error.
17098: Use char because int might match the return type of a GCC
17099: builtin and then its argument prototype would still apply. */
17100: #ifdef __cplusplus
17101: extern "C"
17102: #endif
17103: char dlopen ();
17104: int
17105: main ()
17106: {
17107: return dlopen ();
17108: ;
17109: return 0;
17110: }
17111: _ACEOF
17112: if ac_fn_c_try_link "$LINENO"; then :
17113: ac_cv_lib_dl_dlopen=yes
17114: else
17115: ac_cv_lib_dl_dlopen=no
17116: fi
17117: rm -f core conftest.err conftest.$ac_objext \
17118: conftest$ac_exeext conftest.$ac_ext
17119: LIBS=$ac_check_lib_save_LIBS
17120: fi
17121: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17122: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17123: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17124: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
17125: else
17126: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
17127: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
17128: if ${ac_cv_lib_svld_dlopen+:} false; then :
17129: $as_echo_n "(cached) " >&6
17130: else
17131: ac_check_lib_save_LIBS=$LIBS
17132: LIBS="-lsvld $LIBS"
17133: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134: /* end confdefs.h. */
17135:
17136: /* Override any GCC internal prototype to avoid an error.
17137: Use char because int might match the return type of a GCC
17138: builtin and then its argument prototype would still apply. */
17139: #ifdef __cplusplus
17140: extern "C"
17141: #endif
17142: char dlopen ();
17143: int
17144: main ()
17145: {
17146: return dlopen ();
17147: ;
17148: return 0;
17149: }
17150: _ACEOF
17151: if ac_fn_c_try_link "$LINENO"; then :
17152: ac_cv_lib_svld_dlopen=yes
17153: else
17154: ac_cv_lib_svld_dlopen=no
17155: fi
17156: rm -f core conftest.err conftest.$ac_objext \
17157: conftest$ac_exeext conftest.$ac_ext
17158: LIBS=$ac_check_lib_save_LIBS
17159: fi
17160: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
17161: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
17162: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
17163: lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
17164: else
17165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
17166: $as_echo_n "checking for dld_link in -ldld... " >&6; }
17167: if ${ac_cv_lib_dld_dld_link+:} false; then :
17168: $as_echo_n "(cached) " >&6
17169: else
17170: ac_check_lib_save_LIBS=$LIBS
17171: LIBS="-ldld $LIBS"
17172: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17173: /* end confdefs.h. */
17174:
17175: /* Override any GCC internal prototype to avoid an error.
17176: Use char because int might match the return type of a GCC
17177: builtin and then its argument prototype would still apply. */
17178: #ifdef __cplusplus
17179: extern "C"
17180: #endif
17181: char dld_link ();
17182: int
17183: main ()
17184: {
17185: return dld_link ();
17186: ;
17187: return 0;
17188: }
17189: _ACEOF
17190: if ac_fn_c_try_link "$LINENO"; then :
17191: ac_cv_lib_dld_dld_link=yes
17192: else
17193: ac_cv_lib_dld_dld_link=no
17194: fi
17195: rm -f core conftest.err conftest.$ac_objext \
17196: conftest$ac_exeext conftest.$ac_ext
17197: LIBS=$ac_check_lib_save_LIBS
17198: fi
17199: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
17200: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
17201: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
17202: lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
17203: fi
17204:
17205:
17206: fi
17207:
17208:
17209: fi
17210:
17211:
17212: fi
17213:
17214:
17215: fi
17216:
17217:
17218: fi
17219:
17220: ;;
17221: esac
17222:
17223: if test no = "$lt_cv_dlopen"; then
17224: enable_dlopen=no
17225: else
17226: enable_dlopen=yes
17227: fi
17228:
17229: case $lt_cv_dlopen in
17230: dlopen)
17231: save_CPPFLAGS=$CPPFLAGS
17232: test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17233:
17234: save_LDFLAGS=$LDFLAGS
17235: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17236:
17237: save_LIBS=$LIBS
17238: LIBS="$lt_cv_dlopen_libs $LIBS"
17239:
17240: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
17241: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
17242: if ${lt_cv_dlopen_self+:} false; then :
17243: $as_echo_n "(cached) " >&6
17244: else
17245: if test yes = "$cross_compiling"; then :
17246: lt_cv_dlopen_self=cross
17247: else
17248: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17249: lt_status=$lt_dlunknown
17250: cat > conftest.$ac_ext <<_LT_EOF
17251: #line $LINENO "configure"
17252: #include "confdefs.h"
17253:
17254: #if HAVE_DLFCN_H
17255: #include <dlfcn.h>
17256: #endif
17257:
17258: #include <stdio.h>
17259:
17260: #ifdef RTLD_GLOBAL
17261: # define LT_DLGLOBAL RTLD_GLOBAL
17262: #else
17263: # ifdef DL_GLOBAL
17264: # define LT_DLGLOBAL DL_GLOBAL
17265: # else
17266: # define LT_DLGLOBAL 0
17267: # endif
17268: #endif
17269:
17270: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17271: find out it does not work in some platform. */
17272: #ifndef LT_DLLAZY_OR_NOW
17273: # ifdef RTLD_LAZY
17274: # define LT_DLLAZY_OR_NOW RTLD_LAZY
17275: # else
17276: # ifdef DL_LAZY
17277: # define LT_DLLAZY_OR_NOW DL_LAZY
17278: # else
17279: # ifdef RTLD_NOW
17280: # define LT_DLLAZY_OR_NOW RTLD_NOW
17281: # else
17282: # ifdef DL_NOW
17283: # define LT_DLLAZY_OR_NOW DL_NOW
17284: # else
17285: # define LT_DLLAZY_OR_NOW 0
17286: # endif
17287: # endif
17288: # endif
17289: # endif
17290: #endif
17291:
17292: /* When -fvisibility=hidden is used, assume the code has been annotated
17293: correspondingly for the symbols needed. */
17294: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
17295: int fnord () __attribute__((visibility("default")));
17296: #endif
17297:
17298: int fnord () { return 42; }
17299: int main ()
17300: {
17301: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17302: int status = $lt_dlunknown;
17303:
17304: if (self)
17305: {
17306: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17307: else
17308: {
17309: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17310: else puts (dlerror ());
17311: }
17312: /* dlclose (self); */
17313: }
17314: else
17315: puts (dlerror ());
17316:
17317: return status;
17318: }
17319: _LT_EOF
17320: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17321: (eval $ac_link) 2>&5
17322: ac_status=$?
17323: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17324: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
17325: (./conftest; exit; ) >&5 2>/dev/null
17326: lt_status=$?
17327: case x$lt_status in
17328: x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17329: x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17330: x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
17331: esac
17332: else :
17333: # compilation failed
17334: lt_cv_dlopen_self=no
17335: fi
17336: fi
17337: rm -fr conftest*
17338:
17339:
17340: fi
17341: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
17342: $as_echo "$lt_cv_dlopen_self" >&6; }
17343:
17344: if test yes = "$lt_cv_dlopen_self"; then
17345: wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
17346: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
17347: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
17348: if ${lt_cv_dlopen_self_static+:} false; then :
17349: $as_echo_n "(cached) " >&6
17350: else
17351: if test yes = "$cross_compiling"; then :
17352: lt_cv_dlopen_self_static=cross
17353: else
17354: lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17355: lt_status=$lt_dlunknown
17356: cat > conftest.$ac_ext <<_LT_EOF
17357: #line $LINENO "configure"
17358: #include "confdefs.h"
17359:
17360: #if HAVE_DLFCN_H
17361: #include <dlfcn.h>
17362: #endif
17363:
17364: #include <stdio.h>
17365:
17366: #ifdef RTLD_GLOBAL
17367: # define LT_DLGLOBAL RTLD_GLOBAL
17368: #else
17369: # ifdef DL_GLOBAL
17370: # define LT_DLGLOBAL DL_GLOBAL
17371: # else
17372: # define LT_DLGLOBAL 0
17373: # endif
17374: #endif
17375:
17376: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17377: find out it does not work in some platform. */
17378: #ifndef LT_DLLAZY_OR_NOW
17379: # ifdef RTLD_LAZY
17380: # define LT_DLLAZY_OR_NOW RTLD_LAZY
17381: # else
17382: # ifdef DL_LAZY
17383: # define LT_DLLAZY_OR_NOW DL_LAZY
17384: # else
17385: # ifdef RTLD_NOW
17386: # define LT_DLLAZY_OR_NOW RTLD_NOW
17387: # else
17388: # ifdef DL_NOW
17389: # define LT_DLLAZY_OR_NOW DL_NOW
17390: # else
17391: # define LT_DLLAZY_OR_NOW 0
17392: # endif
17393: # endif
17394: # endif
17395: # endif
17396: #endif
17397:
17398: /* When -fvisibility=hidden is used, assume the code has been annotated
17399: correspondingly for the symbols needed. */
17400: #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
17401: int fnord () __attribute__((visibility("default")));
17402: #endif
17403:
17404: int fnord () { return 42; }
17405: int main ()
17406: {
17407: void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17408: int status = $lt_dlunknown;
17409:
17410: if (self)
17411: {
17412: if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17413: else
17414: {
17415: if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17416: else puts (dlerror ());
17417: }
17418: /* dlclose (self); */
17419: }
17420: else
17421: puts (dlerror ());
17422:
17423: return status;
17424: }
17425: _LT_EOF
17426: if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
17427: (eval $ac_link) 2>&5
17428: ac_status=$?
17429: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17430: test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
17431: (./conftest; exit; ) >&5 2>/dev/null
17432: lt_status=$?
17433: case x$lt_status in
17434: x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17435: x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17436: x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
17437: esac
17438: else :
17439: # compilation failed
17440: lt_cv_dlopen_self_static=no
17441: fi
17442: fi
17443: rm -fr conftest*
17444:
17445:
17446: fi
17447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
17448: $as_echo "$lt_cv_dlopen_self_static" >&6; }
17449: fi
17450:
17451: CPPFLAGS=$save_CPPFLAGS
17452: LDFLAGS=$save_LDFLAGS
17453: LIBS=$save_LIBS
17454: ;;
17455: esac
17456:
17457: case $lt_cv_dlopen_self in
17458: yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17459: *) enable_dlopen_self=unknown ;;
17460: esac
17461:
17462: case $lt_cv_dlopen_self_static in
17463: yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17464: *) enable_dlopen_self_static=unknown ;;
17465: esac
17466: fi
17467:
17468:
17469:
17470:
17471:
17472:
17473:
17474:
17475:
17476:
17477:
17478:
17479:
17480:
17481:
17482:
17483:
17484: striplib=
17485: old_striplib=
17486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
17487: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
17488: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
17489: test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17490: test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17491: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17492: $as_echo "yes" >&6; }
17493: else
17494: # FIXME - insert some real tests, host_os isn't really good enough
17495: case $host_os in
17496: darwin*)
17497: if test -n "$STRIP"; then
17498: striplib="$STRIP -x"
17499: old_striplib="$STRIP -S"
17500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17501: $as_echo "yes" >&6; }
17502: else
17503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504: $as_echo "no" >&6; }
17505: fi
17506: ;;
17507: *)
17508: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17509: $as_echo "no" >&6; }
17510: ;;
17511: esac
17512: fi
17513:
17514:
17515:
17516:
17517:
17518:
17519:
17520:
17521:
17522:
17523:
17524:
17525: # Report what library types will actually be built
17526: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
17527: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
17528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
17529: $as_echo "$can_build_shared" >&6; }
17530:
17531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
17532: $as_echo_n "checking whether to build shared libraries... " >&6; }
17533: test no = "$can_build_shared" && enable_shared=no
17534:
17535: # On AIX, shared libraries and static libraries use the same namespace, and
17536: # are all built from PIC.
17537: case $host_os in
17538: aix3*)
17539: test yes = "$enable_shared" && enable_static=no
17540: if test -n "$RANLIB"; then
17541: archive_cmds="$archive_cmds~\$RANLIB \$lib"
17542: postinstall_cmds='$RANLIB $lib'
17543: fi
17544: ;;
17545:
17546: aix[4-9]*)
17547: if test ia64 != "$host_cpu"; then
17548: case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
17549: yes,aix,yes) ;; # shared object as lib.so file only
17550: yes,svr4,*) ;; # shared object as lib.so archive member only
17551: yes,*) enable_static=no ;; # shared object in lib.a archive as well
17552: esac
17553: fi
17554: ;;
17555: esac
17556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
17557: $as_echo "$enable_shared" >&6; }
17558:
17559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
17560: $as_echo_n "checking whether to build static libraries... " >&6; }
17561: # Make sure either enable_shared or enable_static is yes.
17562: test yes = "$enable_shared" || enable_static=yes
17563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
17564: $as_echo "$enable_static" >&6; }
17565:
17566:
17567:
17568:
17569: fi
17570: ac_ext=c
17571: ac_cpp='$CPP $CPPFLAGS'
17572: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17573: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17574: ac_compiler_gnu=$ac_cv_c_compiler_gnu
17575:
17576: CC=$lt_save_CC
17577:
17578:
17579:
17580:
17581:
17582:
17583:
17584:
17585:
17586:
17587:
17588:
17589:
17590:
17591:
17592: ac_config_commands="$ac_config_commands libtool"
17593:
17594:
17595:
17596:
17597: # Only expand once:
17598:
17599:
17600:
17601: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17602: $as_echo_n "checking for egrep... " >&6; }
17603: if ${ac_cv_path_EGREP+:} false; then :
17604: $as_echo_n "(cached) " >&6
17605: else
17606: if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17607: then ac_cv_path_EGREP="$GREP -E"
17608: else
17609: if test -z "$EGREP"; then
17610: ac_path_EGREP_found=false
17611: # Loop through the user's path and test for each of PROGNAME-LIST
17612: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17613: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17614: do
17615: IFS=$as_save_IFS
17616: test -z "$as_dir" && as_dir=.
17617: for ac_prog in egrep; do
17618: for ac_exec_ext in '' $ac_executable_extensions; do
17619: ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17620: as_fn_executable_p "$ac_path_EGREP" || continue
17621: # Check for GNU ac_path_EGREP and select it if it is found.
17622: # Check for GNU $ac_path_EGREP
17623: case `"$ac_path_EGREP" --version 2>&1` in
17624: *GNU*)
17625: ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17626: *)
17627: ac_count=0
17628: $as_echo_n 0123456789 >"conftest.in"
17629: while :
17630: do
17631: cat "conftest.in" "conftest.in" >"conftest.tmp"
17632: mv "conftest.tmp" "conftest.in"
17633: cp "conftest.in" "conftest.nl"
17634: $as_echo 'EGREP' >> "conftest.nl"
17635: "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17636: diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17637: as_fn_arith $ac_count + 1 && ac_count=$as_val
17638: if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17639: # Best one so far, save it but keep looking for a better one
17640: ac_cv_path_EGREP="$ac_path_EGREP"
17641: ac_path_EGREP_max=$ac_count
17642: fi
17643: # 10*(2^10) chars as input seems more than enough
17644: test $ac_count -gt 10 && break
17645: done
17646: rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17647: esac
17648:
17649: $ac_path_EGREP_found && break 3
17650: done
17651: done
17652: done
17653: IFS=$as_save_IFS
17654: if test -z "$ac_cv_path_EGREP"; then
17655: as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17656: fi
17657: else
17658: ac_cv_path_EGREP=$EGREP
17659: fi
17660:
17661: fi
17662: fi
17663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17664: $as_echo "$ac_cv_path_EGREP" >&6; }
17665: EGREP="$ac_cv_path_EGREP"
17666:
17667:
17668: for ac_prog in gawk mawk nawk awk
17669: do
17670: # Extract the first word of "$ac_prog", so it can be a program name with args.
17671: set dummy $ac_prog; ac_word=$2
17672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17673: $as_echo_n "checking for $ac_word... " >&6; }
17674: if ${ac_cv_prog_AWK+:} false; then :
17675: $as_echo_n "(cached) " >&6
17676: else
17677: if test -n "$AWK"; then
17678: ac_cv_prog_AWK="$AWK" # Let the user override the test.
17679: else
17680: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17681: for as_dir in $PATH
17682: do
17683: IFS=$as_save_IFS
17684: test -z "$as_dir" && as_dir=.
17685: for ac_exec_ext in '' $ac_executable_extensions; do
17686: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17687: ac_cv_prog_AWK="$ac_prog"
17688: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17689: break 2
17690: fi
17691: done
17692: done
17693: IFS=$as_save_IFS
17694:
17695: fi
17696: fi
17697: AWK=$ac_cv_prog_AWK
17698: if test -n "$AWK"; then
17699: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
17700: $as_echo "$AWK" >&6; }
17701: else
17702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17703: $as_echo "no" >&6; }
17704: fi
17705:
17706:
17707: test -n "$AWK" && break
17708: done
17709:
17710: for ac_prog in flex lex
17711: do
17712: # Extract the first word of "$ac_prog", so it can be a program name with args.
17713: set dummy $ac_prog; ac_word=$2
17714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17715: $as_echo_n "checking for $ac_word... " >&6; }
17716: if ${ac_cv_prog_LEX+:} false; then :
17717: $as_echo_n "(cached) " >&6
17718: else
17719: if test -n "$LEX"; then
17720: ac_cv_prog_LEX="$LEX" # Let the user override the test.
17721: else
17722: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17723: for as_dir in $PATH
17724: do
17725: IFS=$as_save_IFS
17726: test -z "$as_dir" && as_dir=.
17727: for ac_exec_ext in '' $ac_executable_extensions; do
17728: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17729: ac_cv_prog_LEX="$ac_prog"
17730: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17731: break 2
17732: fi
17733: done
17734: done
17735: IFS=$as_save_IFS
17736:
17737: fi
17738: fi
17739: LEX=$ac_cv_prog_LEX
17740: if test -n "$LEX"; then
17741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
17742: $as_echo "$LEX" >&6; }
17743: else
17744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17745: $as_echo "no" >&6; }
17746: fi
17747:
17748:
17749: test -n "$LEX" && break
17750: done
17751: test -n "$LEX" || LEX=":"
17752:
17753: if test "x$LEX" != "x:"; then
17754: cat >conftest.l <<_ACEOF
17755: %%
17756: a { ECHO; }
17757: b { REJECT; }
17758: c { yymore (); }
17759: d { yyless (1); }
17760: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
17761: yyless ((input () != 0)); }
17762: f { unput (yytext[0]); }
17763: . { BEGIN INITIAL; }
17764: %%
17765: #ifdef YYTEXT_POINTER
17766: extern char *yytext;
17767: #endif
17768: int
17769: main (void)
17770: {
17771: return ! yylex () + ! yywrap ();
17772: }
17773: _ACEOF
17774: { { ac_try="$LEX conftest.l"
17775: case "(($ac_try" in
17776: *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777: *) ac_try_echo=$ac_try;;
17778: esac
17779: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17780: $as_echo "$ac_try_echo"; } >&5
17781: (eval "$LEX conftest.l") 2>&5
17782: ac_status=$?
17783: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17784: test $ac_status = 0; }
17785: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
17786: $as_echo_n "checking lex output file root... " >&6; }
17787: if ${ac_cv_prog_lex_root+:} false; then :
17788: $as_echo_n "(cached) " >&6
17789: else
17790:
17791: if test -f lex.yy.c; then
17792: ac_cv_prog_lex_root=lex.yy
17793: elif test -f lexyy.c; then
17794: ac_cv_prog_lex_root=lexyy
17795: else
17796: as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
17797: fi
17798: fi
17799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
17800: $as_echo "$ac_cv_prog_lex_root" >&6; }
17801: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
17802:
17803: if test -z "${LEXLIB+set}"; then
17804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
17805: $as_echo_n "checking lex library... " >&6; }
17806: if ${ac_cv_lib_lex+:} false; then :
17807: $as_echo_n "(cached) " >&6
17808: else
17809:
17810: ac_save_LIBS=$LIBS
17811: ac_cv_lib_lex='none needed'
17812: for ac_lib in '' -lfl -ll; do
17813: LIBS="$ac_lib $ac_save_LIBS"
17814: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815: /* end confdefs.h. */
17816: `cat $LEX_OUTPUT_ROOT.c`
17817: _ACEOF
17818: if ac_fn_c_try_link "$LINENO"; then :
17819: ac_cv_lib_lex=$ac_lib
17820: fi
17821: rm -f core conftest.err conftest.$ac_objext \
17822: conftest$ac_exeext conftest.$ac_ext
17823: test "$ac_cv_lib_lex" != 'none needed' && break
17824: done
17825: LIBS=$ac_save_LIBS
17826:
17827: fi
17828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
17829: $as_echo "$ac_cv_lib_lex" >&6; }
17830: test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
17831: fi
17832:
17833:
17834: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
17835: $as_echo_n "checking whether yytext is a pointer... " >&6; }
17836: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
17837: $as_echo_n "(cached) " >&6
17838: else
17839: # POSIX says lex can declare yytext either as a pointer or an array; the
17840: # default is implementation-dependent. Figure out which it is, since
17841: # not all implementations provide the %pointer and %array declarations.
17842: ac_cv_prog_lex_yytext_pointer=no
17843: ac_save_LIBS=$LIBS
17844: LIBS="$LEXLIB $ac_save_LIBS"
17845: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846: /* end confdefs.h. */
17847:
17848: #define YYTEXT_POINTER 1
17849: `cat $LEX_OUTPUT_ROOT.c`
17850: _ACEOF
17851: if ac_fn_c_try_link "$LINENO"; then :
17852: ac_cv_prog_lex_yytext_pointer=yes
17853: fi
17854: rm -f core conftest.err conftest.$ac_objext \
17855: conftest$ac_exeext conftest.$ac_ext
17856: LIBS=$ac_save_LIBS
17857:
17858: fi
17859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
17860: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
17861: if test $ac_cv_prog_lex_yytext_pointer = yes; then
17862:
17863: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
17864:
17865: fi
17866: rm -f conftest.l $LEX_OUTPUT_ROOT.c
17867:
17868: fi
17869: for ac_prog in 'bison -y' byacc
17870: do
17871: # Extract the first word of "$ac_prog", so it can be a program name with args.
17872: set dummy $ac_prog; ac_word=$2
17873: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17874: $as_echo_n "checking for $ac_word... " >&6; }
17875: if ${ac_cv_prog_YACC+:} false; then :
17876: $as_echo_n "(cached) " >&6
17877: else
17878: if test -n "$YACC"; then
17879: ac_cv_prog_YACC="$YACC" # Let the user override the test.
17880: else
17881: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17882: for as_dir in $PATH
17883: do
17884: IFS=$as_save_IFS
17885: test -z "$as_dir" && as_dir=.
17886: for ac_exec_ext in '' $ac_executable_extensions; do
17887: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17888: ac_cv_prog_YACC="$ac_prog"
17889: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17890: break 2
17891: fi
17892: done
17893: done
17894: IFS=$as_save_IFS
17895:
17896: fi
17897: fi
17898: YACC=$ac_cv_prog_YACC
17899: if test -n "$YACC"; then
17900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
17901: $as_echo "$YACC" >&6; }
17902: else
17903: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17904: $as_echo "no" >&6; }
17905: fi
17906:
17907:
17908: test -n "$YACC" && break
17909: done
17910: test -n "$YACC" || YACC="yacc"
17911:
17912:
17913:
17914:
17915:
17916:
17917:
17918: # Find any Python interpreter.
17919: if test -z "$PYTHON"; then
17920: 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
17921: do
17922: # Extract the first word of "$ac_prog", so it can be a program name with args.
17923: set dummy $ac_prog; ac_word=$2
17924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17925: $as_echo_n "checking for $ac_word... " >&6; }
17926: if ${ac_cv_path_PYTHON+:} false; then :
17927: $as_echo_n "(cached) " >&6
17928: else
17929: case $PYTHON in
17930: [\\/]* | ?:[\\/]*)
17931: ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
17932: ;;
17933: *)
17934: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17935: for as_dir in $PATH
17936: do
17937: IFS=$as_save_IFS
17938: test -z "$as_dir" && as_dir=.
17939: for ac_exec_ext in '' $ac_executable_extensions; do
17940: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17941: ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
17942: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17943: break 2
17944: fi
17945: done
17946: done
17947: IFS=$as_save_IFS
17948:
17949: ;;
17950: esac
17951: fi
17952: PYTHON=$ac_cv_path_PYTHON
17953: if test -n "$PYTHON"; then
17954: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
17955: $as_echo "$PYTHON" >&6; }
17956: else
17957: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17958: $as_echo "no" >&6; }
17959: fi
17960:
17961:
17962: test -n "$PYTHON" && break
17963: done
17964: test -n "$PYTHON" || PYTHON=":"
17965:
17966: fi
17967: am_display_PYTHON=python
17968:
17969:
17970: if test "$PYTHON" = :; then
17971: :
17972: else
17973:
17974:
17975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
17976: $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
17977: if ${am_cv_python_version+:} false; then :
17978: $as_echo_n "(cached) " >&6
17979: else
17980: am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
17981: fi
17982: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
17983: $as_echo "$am_cv_python_version" >&6; }
17984: PYTHON_VERSION=$am_cv_python_version
17985:
17986:
17987:
17988: PYTHON_PREFIX='${prefix}'
17989:
17990: PYTHON_EXEC_PREFIX='${exec_prefix}'
17991:
17992:
17993:
17994: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
17995: $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
17996: if ${am_cv_python_platform+:} false; then :
17997: $as_echo_n "(cached) " >&6
17998: else
17999: am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
18000: fi
18001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
18002: $as_echo "$am_cv_python_platform" >&6; }
18003: PYTHON_PLATFORM=$am_cv_python_platform
18004:
18005:
18006: # Just factor out some code duplication.
18007: am_python_setup_sysconfig="\
18008: import sys
18009: # Prefer sysconfig over distutils.sysconfig, for better compatibility
18010: # with python 3.x. See automake bug#10227.
18011: try:
18012: import sysconfig
18013: except ImportError:
18014: can_use_sysconfig = 0
18015: else:
18016: can_use_sysconfig = 1
18017: # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
18018: # <https://github.com/pypa/virtualenv/issues/118>
18019: try:
18020: from platform import python_implementation
18021: if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
18022: can_use_sysconfig = 0
18023: except ImportError:
18024: pass"
18025:
18026:
18027: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
18028: $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
18029: if ${am_cv_python_pythondir+:} false; then :
18030: $as_echo_n "(cached) " >&6
18031: else
18032: if test "x$prefix" = xNONE
18033: then
18034: am_py_prefix=$ac_default_prefix
18035: else
18036: am_py_prefix=$prefix
18037: fi
18038: am_cv_python_pythondir=`$PYTHON -c "
18039: $am_python_setup_sysconfig
18040: if can_use_sysconfig:
18041: sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
18042: else:
18043: from distutils import sysconfig
18044: sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
18045: sys.stdout.write(sitedir)"`
18046: case $am_cv_python_pythondir in
18047: $am_py_prefix*)
18048: am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
18049: am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
18050: ;;
18051: *)
18052: case $am_py_prefix in
18053: /usr|/System*) ;;
18054: *)
18055: am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
18056: ;;
18057: esac
18058: ;;
18059: esac
18060:
18061: fi
18062: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
18063: $as_echo "$am_cv_python_pythondir" >&6; }
18064: pythondir=$am_cv_python_pythondir
18065:
18066:
18067:
18068: pkgpythondir=\${pythondir}/$PACKAGE
18069:
18070:
18071: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
18072: $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
18073: if ${am_cv_python_pyexecdir+:} false; then :
18074: $as_echo_n "(cached) " >&6
18075: else
18076: if test "x$exec_prefix" = xNONE
18077: then
18078: am_py_exec_prefix=$am_py_prefix
18079: else
18080: am_py_exec_prefix=$exec_prefix
18081: fi
18082: am_cv_python_pyexecdir=`$PYTHON -c "
18083: $am_python_setup_sysconfig
18084: if can_use_sysconfig:
18085: sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
18086: else:
18087: from distutils import sysconfig
18088: sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
18089: sys.stdout.write(sitedir)"`
18090: case $am_cv_python_pyexecdir in
18091: $am_py_exec_prefix*)
18092: am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
18093: am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
18094: ;;
18095: *)
18096: case $am_py_exec_prefix in
18097: /usr|/System*) ;;
18098: *)
18099: am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
18100: ;;
18101: esac
18102: ;;
18103: esac
18104:
18105: fi
18106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
18107: $as_echo "$am_cv_python_pyexecdir" >&6; }
18108: pyexecdir=$am_cv_python_pyexecdir
18109:
18110:
18111:
18112: pkgpyexecdir=\${pyexecdir}/$PACKAGE
18113:
18114:
18115:
18116: fi
18117:
18118:
18119: # Extract the first word of "perl", so it can be a program name with args.
18120: set dummy perl; ac_word=$2
18121: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18122: $as_echo_n "checking for $ac_word... " >&6; }
18123: if ${ac_cv_path_PERL+:} false; then :
18124: $as_echo_n "(cached) " >&6
18125: else
18126: case $PERL in
18127: [\\/]* | ?:[\\/]*)
18128: ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
18129: ;;
18130: *)
18131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18132: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
18133: for as_dir in $as_dummy
18134: do
18135: IFS=$as_save_IFS
18136: test -z "$as_dir" && as_dir=.
18137: for ac_exec_ext in '' $ac_executable_extensions; do
18138: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18139: ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
18140: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18141: break 2
18142: fi
18143: done
18144: done
18145: IFS=$as_save_IFS
18146:
18147: ;;
18148: esac
18149: fi
18150: PERL=$ac_cv_path_PERL
18151: if test -n "$PERL"; then
18152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
18153: $as_echo "$PERL" >&6; }
18154: else
18155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18156: $as_echo "no" >&6; }
18157: fi
18158:
18159:
18160:
18161: # Extract the first word of "gperf", so it can be a program name with args.
18162: set dummy gperf; ac_word=$2
18163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18164: $as_echo_n "checking for $ac_word... " >&6; }
18165: if ${ac_cv_path_GPERF+:} false; then :
18166: $as_echo_n "(cached) " >&6
18167: else
18168: case $GPERF in
18169: [\\/]* | ?:[\\/]*)
18170: ac_cv_path_GPERF="$GPERF" # Let the user override the test with a path.
18171: ;;
18172: *)
18173: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18174: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
18175: for as_dir in $as_dummy
18176: do
18177: IFS=$as_save_IFS
18178: test -z "$as_dir" && as_dir=.
18179: for ac_exec_ext in '' $ac_executable_extensions; do
18180: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18181: ac_cv_path_GPERF="$as_dir/$ac_word$ac_exec_ext"
18182: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18183: break 2
18184: fi
18185: done
18186: done
18187: IFS=$as_save_IFS
18188:
18189: ;;
18190: esac
18191: fi
18192: GPERF=$ac_cv_path_GPERF
18193: if test -n "$GPERF"; then
18194: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF" >&5
18195: $as_echo "$GPERF" >&6; }
18196: else
18197: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18198: $as_echo "no" >&6; }
18199: fi
18200:
18201:
18202:
18203:
18204: # because gperf is not needed by end-users we only abort if generated files don't exist
18205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gperf len type" >&5
18206: $as_echo_n "checking gperf len type... " >&6; }
18207: if test -x "$GPERF"; then
18208: GPERF_OUTPUT="`echo foo | ${GPERF}`"
18209: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210: /* end confdefs.h. */
18211: #include <string.h>
18212: const char *in_word_set(const char*, size_t); $GPERF_OUTPUT
18213: int
18214: main ()
18215: {
18216:
18217: ;
18218: return 0;
18219: }
18220: _ACEOF
18221: if ac_fn_c_try_compile "$LINENO"; then :
18222: GPERF_LEN_TYPE=size_t
18223: else
18224: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18225: /* end confdefs.h. */
18226: #include <string.h>
18227: const char *in_word_set(const char*, unsigned); $GPERF_OUTPUT
18228: int
18229: main ()
18230: {
18231:
18232: ;
18233: return 0;
18234: }
18235: _ACEOF
18236: if ac_fn_c_try_compile "$LINENO"; then :
18237: GPERF_LEN_TYPE=unsigned
18238: else
18239: as_fn_error $? "unable to determine gperf len type" "$LINENO" 5
18240:
18241: fi
18242: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18243:
18244: fi
18245: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246:
18247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF_LEN_TYPE" >&5
18248: $as_echo "$GPERF_LEN_TYPE" >&6; }
18249: else
18250: { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18251: $as_echo "not found" >&6; }
18252: GPERF_TEST_FILE="$srcdir/src/libstrongswan/crypto/proposal/proposal_keywords_static.c"
18253: if test ! -f "$GPERF_TEST_FILE"; then
18254: as_fn_error $? "GNU gperf required to generate e.g. $GPERF_TEST_FILE" "$LINENO" 5
18255: fi
18256: fi
18257:
18258: # ========================
18259: # dependency calculation
18260: # ========================
18261:
18262: if test x$xauth_generic_given = xfalse -a x$ikev1 = xfalse; then
18263: xauth_generic=false;
18264: fi
18265:
18266: if test x$kernel_libipsec = xtrue; then
18267: libipsec=true;
18268: fi
18269:
18270: if test x$eap_aka_3gpp2 = xtrue; then
18271: gmp=true;
18272: fi
18273:
18274: if test x$eap_aka = xtrue; then
18275: fips_prf=true;
18276: simaka=true;
18277: fi
18278:
18279: if test x$eap_sim = xtrue; then
18280: fips_prf=true;
18281: simaka=true;
18282: fi
18283:
18284: if test x$eap_radius = xtrue -o x$radattr = xtrue -o x$tnc_pdp = xtrue; then
18285: radius=true;
18286: fi
18287:
18288: 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
18289: tnc_tnccs=true;
18290: fi
18291:
18292: if test x$eap_tls = xtrue -o x$eap_ttls = xtrue -o x$eap_peap = xtrue -o x$tnc_tnccs = xtrue; then
18293: tls=true;
18294: fi
18295:
18296: 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
18297: imcv=true;
18298: fi
18299:
18300: if test x$fips_prf = xtrue; then
18301: if test x$openssl = xfalse -a x$wolfssl = xfalse; then
18302: sha1=true;
18303: fi
18304: fi
18305:
18306: if test x$swanctl = xtrue; then
18307: vici=true
18308: fi
18309:
18310: if test x$smp = xtrue -o x$tnccs_11 = xtrue -o x$tnc_ifmap = xtrue; then
18311: xml=true
18312: fi
18313:
18314: if test x$manager = xtrue; then
18315: fast=true
18316: fi
18317:
18318: if test x$medsrv = xtrue; then
18319: mediation=true
18320: fast=true
18321: fi
18322:
18323: if test x$medcli = xtrue; then
18324: mediation=true
18325: fi
18326:
18327: if test x$ruby_gems_install = xtrue; then
18328: ruby_gems=true
18329: fi
18330:
18331: if test x$python_eggs_install = xtrue; then
18332: python_eggs=true
18333: fi
18334:
18335: if test x$perl_cpan_install = xtrue; then
18336: perl_cpan=true
18337: fi
18338:
18339: if test x$aikgen = xtrue; then
18340: tss_trousers=true
18341: fi
18342:
18343: if test x$gmp = xtrue -o x$ntru = xtrue -o x$bliss = xtrue; then
18344: mgf1=true
18345: fi
18346:
18347: if test x$stroke = xtrue; then
18348: counters=true
18349: fi
18350:
18351: # ===========================================
18352: # check required libraries and header files
18353: # ===========================================
18354:
18355: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
18356: $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
18357: if ${ac_cv_header_stdbool_h+:} false; then :
18358: $as_echo_n "(cached) " >&6
18359: else
18360: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361: /* end confdefs.h. */
18362:
18363: #include <stdbool.h>
18364: #ifndef bool
18365: "error: bool is not defined"
18366: #endif
18367: #ifndef false
18368: "error: false is not defined"
18369: #endif
18370: #if false
18371: "error: false is not 0"
18372: #endif
18373: #ifndef true
18374: "error: true is not defined"
18375: #endif
18376: #if true != 1
18377: "error: true is not 1"
18378: #endif
18379: #ifndef __bool_true_false_are_defined
18380: "error: __bool_true_false_are_defined is not defined"
18381: #endif
18382:
18383: struct s { _Bool s: 1; _Bool t; } s;
18384:
18385: char a[true == 1 ? 1 : -1];
18386: char b[false == 0 ? 1 : -1];
18387: char c[__bool_true_false_are_defined == 1 ? 1 : -1];
18388: char d[(bool) 0.5 == true ? 1 : -1];
18389: /* See body of main program for 'e'. */
18390: char f[(_Bool) 0.0 == false ? 1 : -1];
18391: char g[true];
18392: char h[sizeof (_Bool)];
18393: char i[sizeof s.t];
18394: enum { j = false, k = true, l = false * true, m = true * 256 };
18395: /* The following fails for
18396: HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
18397: _Bool n[m];
18398: char o[sizeof n == m * sizeof n[0] ? 1 : -1];
18399: char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
18400: /* Catch a bug in an HP-UX C compiler. See
18401: http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
18402: http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
18403: */
18404: _Bool q = true;
18405: _Bool *pq = &q;
18406:
18407: int
18408: main ()
18409: {
18410:
18411: bool e = &s;
18412: *pq |= q;
18413: *pq |= ! q;
18414: /* Refer to every declared value, to avoid compiler optimizations. */
18415: return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
18416: + !m + !n + !o + !p + !q + !pq);
18417:
18418: ;
18419: return 0;
18420: }
18421: _ACEOF
18422: if ac_fn_c_try_compile "$LINENO"; then :
18423: ac_cv_header_stdbool_h=yes
18424: else
18425: ac_cv_header_stdbool_h=no
18426: fi
18427: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428: fi
18429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
18430: $as_echo "$ac_cv_header_stdbool_h" >&6; }
18431: ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
18432: if test "x$ac_cv_type__Bool" = xyes; then :
18433:
18434: cat >>confdefs.h <<_ACEOF
18435: #define HAVE__BOOL 1
18436: _ACEOF
18437:
18438:
18439: fi
18440:
18441:
18442: if test $ac_cv_header_stdbool_h = yes; then
18443:
18444: $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
18445:
18446: fi
18447:
18448: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18449: if test "x$ac_cv_type_size_t" = xyes; then :
18450:
18451: else
18452:
18453: cat >>confdefs.h <<_ACEOF
18454: #define size_t unsigned int
18455: _ACEOF
18456:
18457: fi
18458:
18459: # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
18460: # for constant arguments. Useless!
18461: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
18462: $as_echo_n "checking for working alloca.h... " >&6; }
18463: if ${ac_cv_working_alloca_h+:} false; then :
18464: $as_echo_n "(cached) " >&6
18465: else
18466: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467: /* end confdefs.h. */
18468: #include <alloca.h>
18469: int
18470: main ()
18471: {
18472: char *p = (char *) alloca (2 * sizeof (int));
18473: if (p) return 0;
18474: ;
18475: return 0;
18476: }
18477: _ACEOF
18478: if ac_fn_c_try_link "$LINENO"; then :
18479: ac_cv_working_alloca_h=yes
18480: else
18481: ac_cv_working_alloca_h=no
18482: fi
18483: rm -f core conftest.err conftest.$ac_objext \
18484: conftest$ac_exeext conftest.$ac_ext
18485: fi
18486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
18487: $as_echo "$ac_cv_working_alloca_h" >&6; }
18488: if test $ac_cv_working_alloca_h = yes; then
18489:
18490: $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
18491:
18492: fi
18493:
18494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
18495: $as_echo_n "checking for alloca... " >&6; }
18496: if ${ac_cv_func_alloca_works+:} false; then :
18497: $as_echo_n "(cached) " >&6
18498: else
18499: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18500: /* end confdefs.h. */
18501: #ifdef __GNUC__
18502: # define alloca __builtin_alloca
18503: #else
18504: # ifdef _MSC_VER
18505: # include <malloc.h>
18506: # define alloca _alloca
18507: # else
18508: # ifdef HAVE_ALLOCA_H
18509: # include <alloca.h>
18510: # else
18511: # ifdef _AIX
18512: #pragma alloca
18513: # else
18514: # ifndef alloca /* predefined by HP cc +Olibcalls */
18515: void *alloca (size_t);
18516: # endif
18517: # endif
18518: # endif
18519: # endif
18520: #endif
18521:
18522: int
18523: main ()
18524: {
18525: char *p = (char *) alloca (1);
18526: if (p) return 0;
18527: ;
18528: return 0;
18529: }
18530: _ACEOF
18531: if ac_fn_c_try_link "$LINENO"; then :
18532: ac_cv_func_alloca_works=yes
18533: else
18534: ac_cv_func_alloca_works=no
18535: fi
18536: rm -f core conftest.err conftest.$ac_objext \
18537: conftest$ac_exeext conftest.$ac_ext
18538: fi
18539: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
18540: $as_echo "$ac_cv_func_alloca_works" >&6; }
18541:
18542: if test $ac_cv_func_alloca_works = yes; then
18543:
18544: $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
18545:
18546: else
18547: # The SVR3 libPW and SVR4 libucb both contain incompatible functions
18548: # that cause trouble. Some versions do not even contain alloca or
18549: # contain a buggy version. If you still want to use their alloca,
18550: # use ar to extract alloca.o from them instead of compiling alloca.c.
18551:
18552: ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
18553:
18554: $as_echo "#define C_ALLOCA 1" >>confdefs.h
18555:
18556:
18557: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
18558: $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
18559: if ${ac_cv_os_cray+:} false; then :
18560: $as_echo_n "(cached) " >&6
18561: else
18562: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18563: /* end confdefs.h. */
18564: #if defined CRAY && ! defined CRAY2
18565: webecray
18566: #else
18567: wenotbecray
18568: #endif
18569:
18570: _ACEOF
18571: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18572: $EGREP "webecray" >/dev/null 2>&1; then :
18573: ac_cv_os_cray=yes
18574: else
18575: ac_cv_os_cray=no
18576: fi
18577: rm -f conftest*
18578:
18579: fi
18580: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
18581: $as_echo "$ac_cv_os_cray" >&6; }
18582: if test $ac_cv_os_cray = yes; then
18583: for ac_func in _getb67 GETB67 getb67; do
18584: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18585: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18586: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18587:
18588: cat >>confdefs.h <<_ACEOF
18589: #define CRAY_STACKSEG_END $ac_func
18590: _ACEOF
18591:
18592: break
18593: fi
18594:
18595: done
18596: fi
18597:
18598: { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
18599: $as_echo_n "checking stack direction for C alloca... " >&6; }
18600: if ${ac_cv_c_stack_direction+:} false; then :
18601: $as_echo_n "(cached) " >&6
18602: else
18603: if test "$cross_compiling" = yes; then :
18604: ac_cv_c_stack_direction=0
18605: else
18606: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607: /* end confdefs.h. */
18608: $ac_includes_default
18609: int
18610: find_stack_direction (int *addr, int depth)
18611: {
18612: int dir, dummy = 0;
18613: if (! addr)
18614: addr = &dummy;
18615: *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
18616: dir = depth ? find_stack_direction (addr, depth - 1) : 0;
18617: return dir + dummy;
18618: }
18619:
18620: int
18621: main (int argc, char **argv)
18622: {
18623: return find_stack_direction (0, argc + !argv + 20) < 0;
18624: }
18625: _ACEOF
18626: if ac_fn_c_try_run "$LINENO"; then :
18627: ac_cv_c_stack_direction=1
18628: else
18629: ac_cv_c_stack_direction=-1
18630: fi
18631: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18632: conftest.$ac_objext conftest.beam conftest.$ac_ext
18633: fi
18634:
18635: fi
18636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
18637: $as_echo "$ac_cv_c_stack_direction" >&6; }
18638: cat >>confdefs.h <<_ACEOF
18639: #define STACK_DIRECTION $ac_cv_c_stack_direction
18640: _ACEOF
18641:
18642:
18643: fi
18644:
18645: ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
18646: if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
18647: ac_have_decl=1
18648: else
18649: ac_have_decl=0
18650: fi
18651:
18652: cat >>confdefs.h <<_ACEOF
18653: #define HAVE_DECL_STRERROR_R $ac_have_decl
18654: _ACEOF
18655:
18656: for ac_func in strerror_r
18657: do :
18658: ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
18659: if test "x$ac_cv_func_strerror_r" = xyes; then :
18660: cat >>confdefs.h <<_ACEOF
18661: #define HAVE_STRERROR_R 1
18662: _ACEOF
18663:
18664: fi
18665: done
18666:
18667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
18668: $as_echo_n "checking whether strerror_r returns char *... " >&6; }
18669: if ${ac_cv_func_strerror_r_char_p+:} false; then :
18670: $as_echo_n "(cached) " >&6
18671: else
18672:
18673: ac_cv_func_strerror_r_char_p=no
18674: if test $ac_cv_have_decl_strerror_r = yes; then
18675: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676: /* end confdefs.h. */
18677: $ac_includes_default
18678: int
18679: main ()
18680: {
18681:
18682: char buf[100];
18683: char x = *strerror_r (0, buf, sizeof buf);
18684: char *p = strerror_r (0, buf, sizeof buf);
18685: return !p || x;
18686:
18687: ;
18688: return 0;
18689: }
18690: _ACEOF
18691: if ac_fn_c_try_compile "$LINENO"; then :
18692: ac_cv_func_strerror_r_char_p=yes
18693: fi
18694: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695: else
18696: # strerror_r is not declared. Choose between
18697: # systems that have relatively inaccessible declarations for the
18698: # function. BeOS and DEC UNIX 4.0 fall in this category, but the
18699: # former has a strerror_r that returns char*, while the latter
18700: # has a strerror_r that returns `int'.
18701: # This test should segfault on the DEC system.
18702: if test "$cross_compiling" = yes; then :
18703: :
18704: else
18705: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18706: /* end confdefs.h. */
18707: $ac_includes_default
18708: extern char *strerror_r ();
18709: int
18710: main ()
18711: {
18712: char buf[100];
18713: char x = *strerror_r (0, buf, sizeof buf);
18714: return ! isalpha (x);
18715: ;
18716: return 0;
18717: }
18718: _ACEOF
18719: if ac_fn_c_try_run "$LINENO"; then :
18720: ac_cv_func_strerror_r_char_p=yes
18721: fi
18722: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18723: conftest.$ac_objext conftest.beam conftest.$ac_ext
18724: fi
18725:
18726: fi
18727:
18728: fi
18729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
18730: $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
18731: if test $ac_cv_func_strerror_r_char_p = yes; then
18732:
18733: $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
18734:
18735: fi
18736:
18737:
18738: # libraries needed on some platforms but not on others
18739: # ------------------------------------------------------
18740: saved_LIBS=$LIBS
18741:
18742: # FreeBSD and Mac OS X have dlopen integrated in libc, Linux needs libdl
18743: LIBS=""
18744: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18745: $as_echo_n "checking for library containing dlopen... " >&6; }
18746: if ${ac_cv_search_dlopen+:} false; then :
18747: $as_echo_n "(cached) " >&6
18748: else
18749: ac_func_search_save_LIBS=$LIBS
18750: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18751: /* end confdefs.h. */
18752:
18753: /* Override any GCC internal prototype to avoid an error.
18754: Use char because int might match the return type of a GCC
18755: builtin and then its argument prototype would still apply. */
18756: #ifdef __cplusplus
18757: extern "C"
18758: #endif
18759: char dlopen ();
18760: int
18761: main ()
18762: {
18763: return dlopen ();
18764: ;
18765: return 0;
18766: }
18767: _ACEOF
18768: for ac_lib in '' dl; do
18769: if test -z "$ac_lib"; then
18770: ac_res="none required"
18771: else
18772: ac_res=-l$ac_lib
18773: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18774: fi
18775: if ac_fn_c_try_link "$LINENO"; then :
18776: ac_cv_search_dlopen=$ac_res
18777: fi
18778: rm -f core conftest.err conftest.$ac_objext \
18779: conftest$ac_exeext
18780: if ${ac_cv_search_dlopen+:} false; then :
18781: break
18782: fi
18783: done
18784: if ${ac_cv_search_dlopen+:} false; then :
18785:
18786: else
18787: ac_cv_search_dlopen=no
18788: fi
18789: rm conftest.$ac_ext
18790: LIBS=$ac_func_search_save_LIBS
18791: fi
18792: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18793: $as_echo "$ac_cv_search_dlopen" >&6; }
18794: ac_res=$ac_cv_search_dlopen
18795: if test "$ac_res" != no; then :
18796: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18797: DLLIB=$LIBS
18798: fi
18799:
18800:
18801:
18802: # glibc's backtrace() can be replicated on FreeBSD with libexecinfo
18803: LIBS=""
18804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
18805: $as_echo_n "checking for library containing backtrace... " >&6; }
18806: if ${ac_cv_search_backtrace+:} false; then :
18807: $as_echo_n "(cached) " >&6
18808: else
18809: ac_func_search_save_LIBS=$LIBS
18810: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18811: /* end confdefs.h. */
18812:
18813: /* Override any GCC internal prototype to avoid an error.
18814: Use char because int might match the return type of a GCC
18815: builtin and then its argument prototype would still apply. */
18816: #ifdef __cplusplus
18817: extern "C"
18818: #endif
18819: char backtrace ();
18820: int
18821: main ()
18822: {
18823: return backtrace ();
18824: ;
18825: return 0;
18826: }
18827: _ACEOF
18828: for ac_lib in '' execinfo; do
18829: if test -z "$ac_lib"; then
18830: ac_res="none required"
18831: else
18832: ac_res=-l$ac_lib
18833: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18834: fi
18835: if ac_fn_c_try_link "$LINENO"; then :
18836: ac_cv_search_backtrace=$ac_res
18837: fi
18838: rm -f core conftest.err conftest.$ac_objext \
18839: conftest$ac_exeext
18840: if ${ac_cv_search_backtrace+:} false; then :
18841: break
18842: fi
18843: done
18844: if ${ac_cv_search_backtrace+:} false; then :
18845:
18846: else
18847: ac_cv_search_backtrace=no
18848: fi
18849: rm conftest.$ac_ext
18850: LIBS=$ac_func_search_save_LIBS
18851: fi
18852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
18853: $as_echo "$ac_cv_search_backtrace" >&6; }
18854: ac_res=$ac_cv_search_backtrace
18855: if test "$ac_res" != no; then :
18856: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18857: BTLIB=$LIBS
18858: fi
18859:
18860: for ac_func in backtrace
18861: do :
18862: ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
18863: if test "x$ac_cv_func_backtrace" = xyes; then :
18864: cat >>confdefs.h <<_ACEOF
18865: #define HAVE_BACKTRACE 1
18866: _ACEOF
18867:
18868: fi
18869: done
18870:
18871:
18872:
18873: # OpenSolaris needs libsocket and libnsl for socket()
18874: LIBS=""
18875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18876: $as_echo_n "checking for library containing socket... " >&6; }
18877: if ${ac_cv_search_socket+:} false; then :
18878: $as_echo_n "(cached) " >&6
18879: else
18880: ac_func_search_save_LIBS=$LIBS
18881: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18882: /* end confdefs.h. */
18883:
18884: /* Override any GCC internal prototype to avoid an error.
18885: Use char because int might match the return type of a GCC
18886: builtin and then its argument prototype would still apply. */
18887: #ifdef __cplusplus
18888: extern "C"
18889: #endif
18890: char socket ();
18891: int
18892: main ()
18893: {
18894: return socket ();
18895: ;
18896: return 0;
18897: }
18898: _ACEOF
18899: for ac_lib in '' socket; do
18900: if test -z "$ac_lib"; then
18901: ac_res="none required"
18902: else
18903: ac_res=-l$ac_lib
18904: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18905: fi
18906: if ac_fn_c_try_link "$LINENO"; then :
18907: ac_cv_search_socket=$ac_res
18908: fi
18909: rm -f core conftest.err conftest.$ac_objext \
18910: conftest$ac_exeext
18911: if ${ac_cv_search_socket+:} false; then :
18912: break
18913: fi
18914: done
18915: if ${ac_cv_search_socket+:} false; then :
18916:
18917: else
18918: ac_cv_search_socket=no
18919: fi
18920: rm conftest.$ac_ext
18921: LIBS=$ac_func_search_save_LIBS
18922: fi
18923: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18924: $as_echo "$ac_cv_search_socket" >&6; }
18925: ac_res=$ac_cv_search_socket
18926: if test "$ac_res" != no; then :
18927: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18928: SOCKLIB=$LIBS
18929: else
18930: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
18931: $as_echo_n "checking for socket in -lnsl... " >&6; }
18932: if ${ac_cv_lib_nsl_socket+:} false; then :
18933: $as_echo_n "(cached) " >&6
18934: else
18935: ac_check_lib_save_LIBS=$LIBS
18936: LIBS="-lnsl -lsocket $LIBS"
18937: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18938: /* end confdefs.h. */
18939:
18940: /* Override any GCC internal prototype to avoid an error.
18941: Use char because int might match the return type of a GCC
18942: builtin and then its argument prototype would still apply. */
18943: #ifdef __cplusplus
18944: extern "C"
18945: #endif
18946: char socket ();
18947: int
18948: main ()
18949: {
18950: return socket ();
18951: ;
18952: return 0;
18953: }
18954: _ACEOF
18955: if ac_fn_c_try_link "$LINENO"; then :
18956: ac_cv_lib_nsl_socket=yes
18957: else
18958: ac_cv_lib_nsl_socket=no
18959: fi
18960: rm -f core conftest.err conftest.$ac_objext \
18961: conftest$ac_exeext conftest.$ac_ext
18962: LIBS=$ac_check_lib_save_LIBS
18963: fi
18964: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
18965: $as_echo "$ac_cv_lib_nsl_socket" >&6; }
18966: if test "x$ac_cv_lib_nsl_socket" = xyes; then :
18967: SOCKLIB="-lsocket -lnsl"
18968: fi
18969:
18970:
18971: fi
18972:
18973:
18974:
18975: # Android has pthread_* functions in bionic (libc), others need libpthread
18976: LIBS=$DLLIB
18977: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
18978: $as_echo_n "checking for library containing pthread_create... " >&6; }
18979: if ${ac_cv_search_pthread_create+:} false; then :
18980: $as_echo_n "(cached) " >&6
18981: else
18982: ac_func_search_save_LIBS=$LIBS
18983: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18984: /* end confdefs.h. */
18985:
18986: /* Override any GCC internal prototype to avoid an error.
18987: Use char because int might match the return type of a GCC
18988: builtin and then its argument prototype would still apply. */
18989: #ifdef __cplusplus
18990: extern "C"
18991: #endif
18992: char pthread_create ();
18993: int
18994: main ()
18995: {
18996: return pthread_create ();
18997: ;
18998: return 0;
18999: }
19000: _ACEOF
19001: for ac_lib in '' pthread; do
19002: if test -z "$ac_lib"; then
19003: ac_res="none required"
19004: else
19005: ac_res=-l$ac_lib
19006: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19007: fi
19008: if ac_fn_c_try_link "$LINENO"; then :
19009: ac_cv_search_pthread_create=$ac_res
19010: fi
19011: rm -f core conftest.err conftest.$ac_objext \
19012: conftest$ac_exeext
19013: if ${ac_cv_search_pthread_create+:} false; then :
19014: break
19015: fi
19016: done
19017: if ${ac_cv_search_pthread_create+:} false; then :
19018:
19019: else
19020: ac_cv_search_pthread_create=no
19021: fi
19022: rm conftest.$ac_ext
19023: LIBS=$ac_func_search_save_LIBS
19024: fi
19025: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
19026: $as_echo "$ac_cv_search_pthread_create" >&6; }
19027: ac_res=$ac_cv_search_pthread_create
19028: if test "$ac_res" != no; then :
19029: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19030: PTHREADLIB=$LIBS
19031: fi
19032:
19033:
19034:
19035: # Some architectures require explicit -latomic for __atomic_* operations
19036: # AC_SEARCH_LIBS() does not work when checking built-ins due to conflicting types
19037: LIBS=""
19038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __atomic_and_fetch" >&5
19039: $as_echo_n "checking for library containing __atomic_and_fetch... " >&6; }
19040: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19041: /* end confdefs.h. */
19042:
19043: int
19044: main ()
19045: {
19046: int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
19047: ;
19048: return 0;
19049: }
19050: _ACEOF
19051: if ac_fn_c_try_link "$LINENO"; then :
19052: { $as_echo "$as_me:${as_lineno-$LINENO}: result: none required" >&5
19053: $as_echo "none required" >&6; }
19054: else
19055: LIBS="-latomic";
19056: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057: /* end confdefs.h. */
19058:
19059: int
19060: main ()
19061: {
19062: int x; __atomic_and_fetch(&x, 1, __ATOMIC_RELAXED);
19063: ;
19064: return 0;
19065: }
19066: _ACEOF
19067: if ac_fn_c_try_link "$LINENO"; then :
19068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -latomic" >&5
19069: $as_echo "-latomic" >&6; }; ATOMICLIB=$LIBS
19070: else
19071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19072: $as_echo "no" >&6; }
19073: fi
19074: rm -f core conftest.err conftest.$ac_objext \
19075: conftest$ac_exeext conftest.$ac_ext
19076:
19077:
19078: fi
19079: rm -f core conftest.err conftest.$ac_objext \
19080: conftest$ac_exeext conftest.$ac_ext
19081:
19082:
19083: LIBS=$saved_LIBS
19084: # ------------------------------------------------------
19085:
19086: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr" >&5
19087: $as_echo_n "checking for dladdr... " >&6; }
19088: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089: /* end confdefs.h. */
19090: #define _GNU_SOURCE
19091: #include <dlfcn.h>
19092: int
19093: main ()
19094: {
19095: Dl_info* info = 0;
19096: dladdr(0, info);
19097: ;
19098: return 0;
19099: }
19100: _ACEOF
19101: if ac_fn_c_try_compile "$LINENO"; then :
19102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19103: $as_echo "yes" >&6; };
19104: $as_echo "#define HAVE_DLADDR /**/" >>confdefs.h
19105:
19106: else
19107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19108: $as_echo "no" >&6; }
19109:
19110: fi
19111: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19112:
19113: # check if pthread_condattr_setclock(CLOCK_MONOTONIC) is supported
19114: saved_LIBS=$LIBS
19115: LIBS=$PTHREADLIB
19116: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_condattr_setclock(CLOCK_MONOTONIC)" >&5
19117: $as_echo_n "checking for pthread_condattr_setclock(CLOCK_MONOTONIC)... " >&6; }
19118: if test "$cross_compiling" = yes; then :
19119: # Check existence of pthread_condattr_setclock if cross-compiling
19120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
19121: $as_echo "unknown" >&6; };
19122: for ac_func in pthread_condattr_setclock
19123: do :
19124: ac_fn_c_check_func "$LINENO" "pthread_condattr_setclock" "ac_cv_func_pthread_condattr_setclock"
19125: if test "x$ac_cv_func_pthread_condattr_setclock" = xyes; then :
19126: cat >>confdefs.h <<_ACEOF
19127: #define HAVE_PTHREAD_CONDATTR_SETCLOCK 1
19128: _ACEOF
19129:
19130: $as_echo "#define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
19131:
19132:
19133: fi
19134: done
19135:
19136:
19137: else
19138: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19139: /* end confdefs.h. */
19140: #include <pthread.h>
19141: int main() { pthread_condattr_t attr;
19142: pthread_condattr_init(&attr);
19143: return pthread_condattr_setclock(&attr, CLOCK_MONOTONIC);}
19144: _ACEOF
19145: if ac_fn_c_try_run "$LINENO"; then :
19146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19147: $as_echo "yes" >&6; };
19148:
19149: $as_echo "#define HAVE_CONDATTR_CLOCK_MONOTONIC /**/" >>confdefs.h
19150:
19151: else
19152: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19153: $as_echo "no" >&6; }
19154: fi
19155: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19156: conftest.$ac_objext conftest.beam conftest.$ac_ext
19157: fi
19158:
19159: # check if we actually are able to configure attributes on cond vars
19160: for ac_func in pthread_condattr_init
19161: do :
19162: ac_fn_c_check_func "$LINENO" "pthread_condattr_init" "ac_cv_func_pthread_condattr_init"
19163: if test "x$ac_cv_func_pthread_condattr_init" = xyes; then :
19164: cat >>confdefs.h <<_ACEOF
19165: #define HAVE_PTHREAD_CONDATTR_INIT 1
19166: _ACEOF
19167:
19168: fi
19169: done
19170:
19171: # instead of pthread_condattr_setclock Android has this function
19172: for ac_func in pthread_cond_timedwait_monotonic
19173: do :
19174: ac_fn_c_check_func "$LINENO" "pthread_cond_timedwait_monotonic" "ac_cv_func_pthread_cond_timedwait_monotonic"
19175: if test "x$ac_cv_func_pthread_cond_timedwait_monotonic" = xyes; then :
19176: cat >>confdefs.h <<_ACEOF
19177: #define HAVE_PTHREAD_COND_TIMEDWAIT_MONOTONIC 1
19178: _ACEOF
19179:
19180: fi
19181: done
19182:
19183: # check if we can cancel threads
19184: for ac_func in pthread_cancel
19185: do :
19186: ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
19187: if test "x$ac_cv_func_pthread_cancel" = xyes; then :
19188: cat >>confdefs.h <<_ACEOF
19189: #define HAVE_PTHREAD_CANCEL 1
19190: _ACEOF
19191:
19192: fi
19193: done
19194:
19195: # check if native rwlocks are available
19196: for ac_func in pthread_rwlock_init
19197: do :
19198: ac_fn_c_check_func "$LINENO" "pthread_rwlock_init" "ac_cv_func_pthread_rwlock_init"
19199: if test "x$ac_cv_func_pthread_rwlock_init" = xyes; then :
19200: cat >>confdefs.h <<_ACEOF
19201: #define HAVE_PTHREAD_RWLOCK_INIT 1
19202: _ACEOF
19203:
19204: fi
19205: done
19206:
19207: # check if pthread spinlocks are available
19208: for ac_func in pthread_spin_init
19209: do :
19210: ac_fn_c_check_func "$LINENO" "pthread_spin_init" "ac_cv_func_pthread_spin_init"
19211: if test "x$ac_cv_func_pthread_spin_init" = xyes; then :
19212: cat >>confdefs.h <<_ACEOF
19213: #define HAVE_PTHREAD_SPIN_INIT 1
19214: _ACEOF
19215:
19216: fi
19217: done
19218:
19219: # check if we have POSIX semaphore functions, including timed-wait
19220: for ac_func in sem_timedwait
19221: do :
19222: ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
19223: if test "x$ac_cv_func_sem_timedwait" = xyes; then :
19224: cat >>confdefs.h <<_ACEOF
19225: #define HAVE_SEM_TIMEDWAIT 1
19226: _ACEOF
19227:
19228: fi
19229: done
19230:
19231: LIBS=$saved_LIBS
19232:
19233: ac_fn_c_check_func "$LINENO" "gettid" "ac_cv_func_gettid"
19234: if test "x$ac_cv_func_gettid" = xyes; then :
19235:
19236: $as_echo "#define HAVE_GETTID /**/" >>confdefs.h
19237:
19238: else
19239: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_gettid" >&5
19240: $as_echo_n "checking for SYS_gettid... " >&6; }
19241: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242: /* end confdefs.h. */
19243: #define _GNU_SOURCE
19244: #include <unistd.h>
19245: #include <sys/syscall.h>
19246: int
19247: main ()
19248: {
19249: int main() {
19250: return syscall(SYS_gettid);}
19251: ;
19252: return 0;
19253: }
19254: _ACEOF
19255: if ac_fn_c_try_compile "$LINENO"; then :
19256: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19257: $as_echo "yes" >&6; };
19258:
19259: $as_echo "#define HAVE_GETTID /**/" >>confdefs.h
19260:
19261:
19262: $as_echo "#define HAVE_SYS_GETTID /**/" >>confdefs.h
19263:
19264: else
19265: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19266: $as_echo "no" >&6; }
19267:
19268: fi
19269: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270:
19271: fi
19272:
19273:
19274: ac_fn_c_check_func "$LINENO" "qsort_r" "ac_cv_func_qsort_r"
19275: if test "x$ac_cv_func_qsort_r" = xyes; then :
19276:
19277:
19278: $as_echo "#define HAVE_QSORT_R /**/" >>confdefs.h
19279:
19280: # set -Werror so that we get an error for "argument ... has
19281: # incompatible pointer type" warnings
19282: save_CFLAGS="$CFLAGS"
19283: CFLAGS="$CFLAGS -Werror -Wno-unused-parameter"
19284: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style qsort_r" >&5
19285: $as_echo_n "checking for GNU-style qsort_r... " >&6; }
19286: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19287: /* end confdefs.h. */
19288: #define _GNU_SOURCE
19289: #include <stdlib.h>
19290: int cmp (const void *a, const void *b, void *x) { return 0; }
19291: int
19292: main ()
19293: {
19294: int arr[] = { 0, 1 };
19295: qsort_r(arr, 2, sizeof(int), cmp, arr);
19296: ;
19297: return 0;
19298: }
19299: _ACEOF
19300: if ac_fn_c_try_compile "$LINENO"; then :
19301: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19302: $as_echo "yes" >&6; };
19303:
19304: $as_echo "#define HAVE_QSORT_R_GNU /**/" >>confdefs.h
19305:
19306: else
19307:
19308: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19309: $as_echo "no" >&6; };
19310: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-style qsort_r" >&5
19311: $as_echo_n "checking for BSD-style qsort_r... " >&6; }
19312: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313: /* end confdefs.h. */
19314: #include <stdlib.h>
19315: int cmp (void *x, const void *a, const void *b) { return 0; }
19316: int
19317: main ()
19318: {
19319: int arr[] = { 0, 1 };
19320: qsort_r(arr, 2, sizeof(int), arr, cmp);
19321: ;
19322: return 0;
19323: }
19324: _ACEOF
19325: if ac_fn_c_try_compile "$LINENO"; then :
19326: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19327: $as_echo "yes" >&6; };
19328:
19329: $as_echo "#define HAVE_QSORT_R_BSD /**/" >>confdefs.h
19330:
19331: else
19332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19333: $as_echo "no" >&6; };
19334: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19335: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19336: as_fn_error $? "qsort_r has unknown semantics
19337: See \`config.log' for more details" "$LINENO" 5; }
19338: fi
19339: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340:
19341: fi
19342: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343: CFLAGS="$save_CFLAGS"
19344:
19345:
19346: fi
19347:
19348:
1.1.1.2 ! misho 19349: for ac_func in prctl mallinfo getpass closefrom getpwnam_r getgrnam_r getpwuid_r chown
1.1 misho 19350: do :
19351: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19352: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19353: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19354: cat >>confdefs.h <<_ACEOF
19355: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19356: _ACEOF
19357:
19358: fi
19359: done
19360:
19361: for ac_func in fmemopen funopen mmap memrchr setlinebuf strptime dirfd sigwaitinfo explicit_bzero
19362: do :
19363: as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19364: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19365: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19366: cat >>confdefs.h <<_ACEOF
19367: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19368: _ACEOF
19369:
19370: fi
19371: done
19372:
19373:
19374: ac_fn_c_check_func "$LINENO" "syslog" "ac_cv_func_syslog"
19375: if test "x$ac_cv_func_syslog" = xyes; then :
19376:
19377:
19378: $as_echo "#define HAVE_SYSLOG /**/" >>confdefs.h
19379:
19380: syslog=true
19381:
19382: fi
19383:
19384: if test "x$syslog" = xtrue; then
19385: USE_SYSLOG_TRUE=
19386: USE_SYSLOG_FALSE='#'
19387: else
19388: USE_SYSLOG_TRUE='#'
19389: USE_SYSLOG_FALSE=
19390: fi
19391:
19392:
19393: for ac_header in sys/sockio.h sys/syscall.h sys/param.h glob.h net/if_tun.h
19394: do :
19395: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19396: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19397: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19398: cat >>confdefs.h <<_ACEOF
19399: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19400: _ACEOF
19401:
19402: fi
19403:
19404: done
19405:
19406: for ac_header in net/pfkeyv2.h netipsec/ipsec.h netinet6/ipsec.h linux/udp.h
19407: do :
19408: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19409: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19410: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19411: cat >>confdefs.h <<_ACEOF
19412: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19413: _ACEOF
19414:
19415: fi
19416:
19417: done
19418:
19419: for ac_header in netinet/ip6.h linux/fib_rules.h
19420: do :
19421: as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19422: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
19423: #include <sys/types.h>
19424: #include <netinet/in.h>
19425:
19426: "
19427: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19428: cat >>confdefs.h <<_ACEOF
19429: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19430: _ACEOF
19431:
19432: fi
19433:
19434: done
19435:
19436:
19437: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "
19438: #include <sys/types.h>
19439: #include <sys/socket.h>
19440:
19441: "
19442: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
19443:
19444: cat >>confdefs.h <<_ACEOF
19445: #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19446: _ACEOF
19447:
19448:
19449: fi
19450:
19451:
19452: 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" "
19453: #include <sys/types.h>
19454: #ifdef HAVE_NET_PFKEYV2_H
19455: #include <net/pfkeyv2.h>
19456: #else
19457: #include <stdint.h>
19458: #include <linux/pfkeyv2.h>
19459: #endif
19460:
19461: "
19462: if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = xyes; then :
19463:
19464: cat >>confdefs.h <<_ACEOF
19465: #define HAVE_STRUCT_SADB_X_POLICY_SADB_X_POLICY_PRIORITY 1
19466: _ACEOF
19467:
19468:
19469: fi
19470:
19471:
19472: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6addr_any" >&5
19473: $as_echo_n "checking for in6addr_any... " >&6; }
19474: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19475: /* end confdefs.h. */
19476: #include <sys/types.h>
19477: #include <sys/socket.h>
19478: #include <netinet/in.h>
19479: int
19480: main ()
19481: {
19482: struct in6_addr in6 __attribute__((unused));
19483: in6 = in6addr_any;
19484: ;
19485: return 0;
19486: }
19487: _ACEOF
19488: if ac_fn_c_try_compile "$LINENO"; then :
19489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19490: $as_echo "yes" >&6; };
19491:
19492: $as_echo "#define HAVE_IN6ADDR_ANY /**/" >>confdefs.h
19493:
19494: else
19495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19496: $as_echo "no" >&6; }
19497:
19498: fi
19499: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500:
19501: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in6_pktinfo" >&5
19502: $as_echo_n "checking for in6_pktinfo... " >&6; }
19503: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504: /* end confdefs.h. */
19505: #define _GNU_SOURCE
19506: #include <sys/types.h>
19507: #include <sys/socket.h>
19508: #include <netinet/in.h>
19509: int
19510: main ()
19511: {
19512: struct in6_pktinfo pi;
19513: if (pi.ipi6_ifindex)
19514: {
19515: return 0;
19516: }
19517: ;
19518: return 0;
19519: }
19520: _ACEOF
19521: if ac_fn_c_try_compile "$LINENO"; then :
19522: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19523: $as_echo "yes" >&6; };
19524:
19525: $as_echo "#define HAVE_IN6_PKTINFO /**/" >>confdefs.h
19526:
19527: else
19528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19529: $as_echo "no" >&6; }
19530:
19531: fi
19532: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19533:
19534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTM_IFANNOUNCE" >&5
19535: $as_echo_n "checking for RTM_IFANNOUNCE... " >&6; }
19536: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537: /* end confdefs.h. */
19538: #include <sys/socket.h>
19539: #include <net/if.h>
19540: #include <net/route.h>
19541: int
19542: main ()
19543: {
19544: return RTM_IFANNOUNCE;
19545: ;
19546: return 0;
19547: }
19548: _ACEOF
19549: if ac_fn_c_try_compile "$LINENO"; then :
19550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19551: $as_echo "yes" >&6; };
19552:
19553: $as_echo "#define HAVE_RTM_IFANNOUNCE /**/" >>confdefs.h
19554:
19555: else
19556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19557: $as_echo "no" >&6; }
19558:
19559: fi
19560: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561:
19562: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_MODE_BEET" >&5
19563: $as_echo_n "checking for IPSEC_MODE_BEET... " >&6; }
19564: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565: /* end confdefs.h. */
19566: #include <sys/types.h>
19567: #ifdef HAVE_NETIPSEC_IPSEC_H
19568: #include <netipsec/ipsec.h>
19569: #elif defined(HAVE_NETINET6_IPSEC_H)
19570: #include <netinet6/ipsec.h>
19571: #else
19572: #include <stdint.h>
19573: #include <linux/ipsec.h>
19574: #endif
19575: int
19576: main ()
19577: {
19578: int mode = IPSEC_MODE_BEET;
19579: return mode;
19580: ;
19581: return 0;
19582: }
19583: _ACEOF
19584: if ac_fn_c_try_compile "$LINENO"; then :
19585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19586: $as_echo "yes" >&6; };
19587:
19588: $as_echo "#define HAVE_IPSEC_MODE_BEET /**/" >>confdefs.h
19589:
19590: else
19591: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19592: $as_echo "no" >&6; }
19593:
19594: fi
19595: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19596:
19597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPSEC_DIR_FWD" >&5
19598: $as_echo_n "checking for IPSEC_DIR_FWD... " >&6; }
19599: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600: /* end confdefs.h. */
19601: #include <sys/types.h>
19602: #ifdef HAVE_NETIPSEC_IPSEC_H
19603: #include <netipsec/ipsec.h>
19604: #elif defined(HAVE_NETINET6_IPSEC_H)
19605: #include <netinet6/ipsec.h>
19606: #else
19607: #include <stdint.h>
19608: #include <linux/ipsec.h>
19609: #endif
19610: int
19611: main ()
19612: {
19613: int dir = IPSEC_DIR_FWD;
19614: return dir;
19615: ;
19616: return 0;
19617: }
19618: _ACEOF
19619: if ac_fn_c_try_compile "$LINENO"; then :
19620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19621: $as_echo "yes" >&6; };
19622:
19623: $as_echo "#define HAVE_IPSEC_DIR_FWD /**/" >>confdefs.h
19624:
19625: else
19626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19627: $as_echo "no" >&6; }
19628:
19629: fi
19630: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631:
19632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTA_TABLE" >&5
19633: $as_echo_n "checking for RTA_TABLE... " >&6; }
19634: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19635: /* end confdefs.h. */
19636: #include <sys/socket.h>
19637: #include <linux/netlink.h>
19638: #include <linux/rtnetlink.h>
19639: int
19640: main ()
19641: {
19642: int rta_type = RTA_TABLE;
19643: return rta_type;
19644: ;
19645: return 0;
19646: }
19647: _ACEOF
19648: if ac_fn_c_try_compile "$LINENO"; then :
19649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19650: $as_echo "yes" >&6; };
19651:
19652: $as_echo "#define HAVE_RTA_TABLE /**/" >>confdefs.h
19653:
19654: else
19655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656: $as_echo "no" >&6; }
19657:
19658: fi
19659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660:
19661: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
19662: $as_echo_n "checking for __int128... " >&6; }
19663: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664: /* end confdefs.h. */
19665: #include <sys/types.h>
19666: int
19667: main ()
19668: {
19669: __int128 x = 0;
19670: return x;
19671: ;
19672: return 0;
19673: }
19674: _ACEOF
19675: if ac_fn_c_try_compile "$LINENO"; then :
19676: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19677: $as_echo "yes" >&6; };
19678:
19679: $as_echo "#define HAVE_INT128 /**/" >>confdefs.h
19680:
19681: else
19682: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19683: $as_echo "no" >&6; }
19684:
19685: fi
19686: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19687:
19688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC __sync operations" >&5
19689: $as_echo_n "checking for GCC __sync operations... " >&6; }
19690: if test "$cross_compiling" = yes; then :
19691: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19692: $as_echo "no" >&6; }
19693:
19694: else
19695: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696: /* end confdefs.h. */
19697:
19698: int main() {
19699: int ref = 1;
19700: __sync_fetch_and_add (&ref, 1);
19701: __sync_sub_and_fetch (&ref, 1);
19702: __sync_val_compare_and_swap(&ref, 1, 0);
19703: return ref;
19704: }
19705:
19706: _ACEOF
19707: if ac_fn_c_try_run "$LINENO"; then :
19708: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19709: $as_echo "yes" >&6; };
19710:
19711: $as_echo "#define HAVE_GCC_SYNC_OPERATIONS /**/" >>confdefs.h
19712:
19713: else
19714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19715: $as_echo "no" >&6; }
19716: fi
19717: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19718: conftest.$ac_objext conftest.beam conftest.$ac_ext
19719: fi
19720:
19721:
19722: case "$printf_hooks" in
19723: auto|builtin|glibc|vstr)
19724: ;;
19725: *)
19726: { $as_echo "$as_me:${as_lineno-$LINENO}: invalid printf hook implementation, defaulting to 'auto'" >&5
19727: $as_echo "$as_me: invalid printf hook implementation, defaulting to 'auto'" >&6;}
19728: printf_hooks=auto
19729: ;;
19730: esac
19731:
19732: if test x$printf_hooks = xauto -o x$printf_hooks = xglibc; then
19733: # check for the new register_printf_specifier function with len argument,
19734: # or the deprecated register_printf_function without
19735: ac_fn_c_check_func "$LINENO" "register_printf_specifier" "ac_cv_func_register_printf_specifier"
19736: if test "x$ac_cv_func_register_printf_specifier" = xyes; then :
19737:
19738: $as_echo "#define HAVE_PRINTF_SPECIFIER /**/" >>confdefs.h
19739:
19740: else
19741: ac_fn_c_check_func "$LINENO" "register_printf_function" "ac_cv_func_register_printf_function"
19742: if test "x$ac_cv_func_register_printf_function" = xyes; then :
19743:
19744: $as_echo "#define HAVE_PRINTF_FUNCTION /**/" >>confdefs.h
19745:
19746: else
19747:
19748: { $as_echo "$as_me:${as_lineno-$LINENO}: printf(3) does not support custom format specifiers!" >&5
19749: $as_echo "$as_me: printf(3) does not support custom format specifiers!" >&6;}
19750: if test x$printf_hooks = xglibc; then
19751: as_fn_error $? "please select a different printf hook implementation" "$LINENO" 5
19752: else
19753: # fallback to builtin printf hook implementation
19754: printf_hooks=builtin
19755: fi
19756:
19757:
19758: fi
19759:
19760:
19761: fi
19762:
19763: fi
19764:
19765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Windows target" >&5
19766: $as_echo_n "checking for Windows target... " >&6; }
19767: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768: /* end confdefs.h. */
19769: #include <windows.h>
19770: int
19771: main ()
19772: {
19773: #ifndef WIN32
19774: # error WIN32 undefined
19775: #endif
19776:
19777: ;
19778: return 0;
19779: }
19780: _ACEOF
19781: if ac_fn_c_try_compile "$LINENO"; then :
19782:
19783: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19784: $as_echo "yes" >&6; }
19785: windows=true
19786:
19787: PTHREADLIB=""
19788:
19789: # explicitly disable ms-bitfields, as it breaks __attribute__((packed))
19790: case "$CFLAGS" in
19791: *ms-bitfields*) ;;
19792: *) CFLAGS="$CFLAGS -mno-ms-bitfields" ;;
19793: esac
19794:
19795: else
19796:
19797: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19798: $as_echo "no" >&6; }
19799:
19800: # check for clock_gettime() on non-Windows only. Otherwise this
19801: # check might find clock_gettime() in libwinpthread, but we don't want
19802: # to link against it.
19803: saved_LIBS=$LIBS
19804: # FreeBSD has clock_gettime in libc, Linux needs librt
19805: LIBS=""
19806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19807: $as_echo_n "checking for library containing clock_gettime... " >&6; }
19808: if ${ac_cv_search_clock_gettime+:} false; then :
19809: $as_echo_n "(cached) " >&6
19810: else
19811: ac_func_search_save_LIBS=$LIBS
19812: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813: /* end confdefs.h. */
19814:
19815: /* Override any GCC internal prototype to avoid an error.
19816: Use char because int might match the return type of a GCC
19817: builtin and then its argument prototype would still apply. */
19818: #ifdef __cplusplus
19819: extern "C"
19820: #endif
19821: char clock_gettime ();
19822: int
19823: main ()
19824: {
19825: return clock_gettime ();
19826: ;
19827: return 0;
19828: }
19829: _ACEOF
19830: for ac_lib in '' rt; do
19831: if test -z "$ac_lib"; then
19832: ac_res="none required"
19833: else
19834: ac_res=-l$ac_lib
19835: LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19836: fi
19837: if ac_fn_c_try_link "$LINENO"; then :
19838: ac_cv_search_clock_gettime=$ac_res
19839: fi
19840: rm -f core conftest.err conftest.$ac_objext \
19841: conftest$ac_exeext
19842: if ${ac_cv_search_clock_gettime+:} false; then :
19843: break
19844: fi
19845: done
19846: if ${ac_cv_search_clock_gettime+:} false; then :
19847:
19848: else
19849: ac_cv_search_clock_gettime=no
19850: fi
19851: rm conftest.$ac_ext
19852: LIBS=$ac_func_search_save_LIBS
19853: fi
19854: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19855: $as_echo "$ac_cv_search_clock_gettime" >&6; }
19856: ac_res=$ac_cv_search_clock_gettime
19857: if test "$ac_res" != no; then :
19858: test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19859: RTLIB=$LIBS
19860: fi
19861:
19862: for ac_func in clock_gettime
19863: do :
19864: ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
19865: if test "x$ac_cv_func_clock_gettime" = xyes; then :
19866: cat >>confdefs.h <<_ACEOF
19867: #define HAVE_CLOCK_GETTIME 1
19868: _ACEOF
19869:
19870: fi
19871: done
19872:
19873:
19874: LIBS=$saved_LIBS
19875:
19876:
19877: fi
19878: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879: if test "x$windows" = xtrue; then
19880: USE_WINDOWS_TRUE=
19881: USE_WINDOWS_FALSE='#'
19882: else
19883: USE_WINDOWS_TRUE='#'
19884: USE_WINDOWS_FALSE=
19885: fi
19886:
19887:
19888: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working __attribute__((packed))" >&5
19889: $as_echo_n "checking for working __attribute__((packed))... " >&6; }
19890: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891: /* end confdefs.h. */
19892:
19893: int
19894: main ()
19895: {
19896:
19897: struct test { char a; short b; } __attribute__((packed));
19898: char x[sizeof(struct test) == sizeof(char) + sizeof(short) ? 1 : -1]
19899: __attribute__((unused));
19900: return 0;
19901:
19902: ;
19903: return 0;
19904: }
19905: _ACEOF
19906: if ac_fn_c_try_compile "$LINENO"; then :
19907: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19908: $as_echo "yes" >&6; }
19909: else
19910: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19911: $as_echo "no" >&6; }; as_fn_error $? "__attribute__((packed)) does not work" "$LINENO" 5
19912:
19913: fi
19914: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19915:
19916: { $as_echo "$as_me:${as_lineno-$LINENO}: checking clang" >&5
19917: $as_echo_n "checking clang... " >&6; }
19918: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919: /* end confdefs.h. */
19920:
19921: int
19922: main ()
19923: {
19924:
19925: #ifndef __clang__
19926: # error not using LLVM clang
19927: #endif
19928:
19929: ;
19930: return 0;
19931: }
19932: _ACEOF
19933: if ac_fn_c_try_compile "$LINENO"; then :
19934:
19935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19936: $as_echo "yes" >&6; }
19937:
19938: else
19939:
19940: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19941: $as_echo "no" >&6; }
19942: # GCC, but not MinGW requires -rdynamic for plugins
19943: if test x$windows != xtrue; then
19944: PLUGIN_CFLAGS="$PLUGIN_CFLAGS -rdynamic"
19945: fi
19946:
19947:
19948: fi
19949: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19950:
19951: { $as_echo "$as_me:${as_lineno-$LINENO}: checking x86/x64 target" >&5
19952: $as_echo_n "checking x86/x64 target... " >&6; }
19953: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954: /* end confdefs.h. */
19955:
19956: int
19957: main ()
19958: {
19959:
19960: #if !defined(__i386__) && !defined(__x86_64__)
19961: # error not on x86/x64
19962: #endif
19963:
19964: ;
19965: return 0;
19966: }
19967: _ACEOF
19968: if ac_fn_c_try_compile "$LINENO"; then :
19969:
19970: x86x64=true
19971: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19972: $as_echo "yes" >&6; }
19973:
19974: else
19975: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19976: $as_echo "no" >&6; }
19977:
19978: fi
19979: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980: if test "x$x86x64" = xtrue; then
19981: USE_X86X64_TRUE=
19982: USE_X86X64_FALSE='#'
19983: else
19984: USE_X86X64_TRUE='#'
19985: USE_X86X64_FALSE=
19986: fi
19987:
19988:
19989: if test x$printf_hooks = xvstr; then
19990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vstr_init in -lvstr" >&5
19991: $as_echo_n "checking for vstr_init in -lvstr... " >&6; }
19992: if ${ac_cv_lib_vstr_vstr_init+:} false; then :
19993: $as_echo_n "(cached) " >&6
19994: else
19995: ac_check_lib_save_LIBS=$LIBS
19996: LIBS="-lvstr $LIBS"
19997: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19998: /* end confdefs.h. */
19999:
20000: /* Override any GCC internal prototype to avoid an error.
20001: Use char because int might match the return type of a GCC
20002: builtin and then its argument prototype would still apply. */
20003: #ifdef __cplusplus
20004: extern "C"
20005: #endif
20006: char vstr_init ();
20007: int
20008: main ()
20009: {
20010: return vstr_init ();
20011: ;
20012: return 0;
20013: }
20014: _ACEOF
20015: if ac_fn_c_try_link "$LINENO"; then :
20016: ac_cv_lib_vstr_vstr_init=yes
20017: else
20018: ac_cv_lib_vstr_vstr_init=no
20019: fi
20020: rm -f core conftest.err conftest.$ac_objext \
20021: conftest$ac_exeext conftest.$ac_ext
20022: LIBS=$ac_check_lib_save_LIBS
20023: fi
20024: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vstr_vstr_init" >&5
20025: $as_echo "$ac_cv_lib_vstr_vstr_init" >&6; }
20026: if test "x$ac_cv_lib_vstr_vstr_init" = xyes; then :
20027: LIBS="$LIBS"
20028: else
20029: as_fn_error $? "Vstr string library not found" "$LINENO" 5
20030: fi
20031:
20032:
20033: $as_echo "#define USE_VSTR /**/" >>confdefs.h
20034:
20035: fi
20036:
20037: if test x$printf_hooks = xbuiltin; then
20038:
20039: $as_echo "#define USE_BUILTIN_PRINTF /**/" >>confdefs.h
20040:
20041: fi
20042:
20043: if test x$gmp = xtrue; then
20044: saved_LIBS=$LIBS
20045: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
20046: $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20047: if ${ac_cv_lib_gmp___gmpz_init+:} false; then :
20048: $as_echo_n "(cached) " >&6
20049: else
20050: ac_check_lib_save_LIBS=$LIBS
20051: LIBS="-lgmp $LIBS"
20052: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053: /* end confdefs.h. */
20054:
20055: /* Override any GCC internal prototype to avoid an error.
20056: Use char because int might match the return type of a GCC
20057: builtin and then its argument prototype would still apply. */
20058: #ifdef __cplusplus
20059: extern "C"
20060: #endif
20061: char __gmpz_init ();
20062: int
20063: main ()
20064: {
20065: return __gmpz_init ();
20066: ;
20067: return 0;
20068: }
20069: _ACEOF
20070: if ac_fn_c_try_link "$LINENO"; then :
20071: ac_cv_lib_gmp___gmpz_init=yes
20072: else
20073: ac_cv_lib_gmp___gmpz_init=no
20074: fi
20075: rm -f core conftest.err conftest.$ac_objext \
20076: conftest$ac_exeext conftest.$ac_ext
20077: LIBS=$ac_check_lib_save_LIBS
20078: fi
20079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
20080: $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
20081: if test "x$ac_cv_lib_gmp___gmpz_init" = xyes; then :
20082: cat >>confdefs.h <<_ACEOF
20083: #define HAVE_LIBGMP 1
20084: _ACEOF
20085:
20086: LIBS="-lgmp $LIBS"
20087:
20088: else
20089: as_fn_error $? "GNU Multi Precision library gmp not found" "$LINENO" 5
20090: fi
20091:
20092: { $as_echo "$as_me:${as_lineno-$LINENO}: checking mpz_powm_sec" >&5
20093: $as_echo_n "checking mpz_powm_sec... " >&6; }
20094: if test x$mpz_powm_sec = xyes; then
20095: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20096: /* end confdefs.h. */
20097: #include "gmp.h"
20098: int
20099: main ()
20100: {
20101: void *x __attribute__((unused)); x = mpz_powm_sec;
20102: ;
20103: return 0;
20104: }
20105: _ACEOF
20106: if ac_fn_c_try_compile "$LINENO"; then :
20107: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20108: $as_echo "yes" >&6; };
20109:
20110: $as_echo "#define HAVE_MPZ_POWM_SEC /**/" >>confdefs.h
20111:
20112: else
20113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20114: $as_echo "no" >&6; }
20115:
20116: fi
20117: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118: else
20119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
20120: $as_echo "disabled" >&6; }
20121: fi
20122: LIBS=$saved_LIBS
20123: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gmp.h version >= 4.1.4" >&5
20124: $as_echo_n "checking gmp.h version >= 4.1.4... " >&6; }
20125: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126: /* end confdefs.h. */
20127: #include "gmp.h"
20128: int
20129: main ()
20130: {
20131:
20132: #if (__GNU_MP_VERSION*100 + __GNU_MP_VERSION_MINOR*10 + __GNU_MP_VERSION_PATCHLEVEL) < 414
20133: #error bad gmp
20134: #endif
20135: ;
20136: return 0;
20137: }
20138: _ACEOF
20139: if ac_fn_c_try_compile "$LINENO"; then :
20140: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20141: $as_echo "yes" >&6; }
20142: else
20143: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20144: $as_echo "no" >&6; }; as_fn_error $? "No usable gmp.h found!" "$LINENO" 5
20145:
20146: fi
20147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20148: fi
20149:
20150: if test x$ldap = xtrue; then
20151: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5
20152: $as_echo_n "checking for ldap_init in -lldap... " >&6; }
20153: if ${ac_cv_lib_ldap_ldap_init+:} false; then :
20154: $as_echo_n "(cached) " >&6
20155: else
20156: ac_check_lib_save_LIBS=$LIBS
20157: LIBS="-lldap $LIBS"
20158: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20159: /* end confdefs.h. */
20160:
20161: /* Override any GCC internal prototype to avoid an error.
20162: Use char because int might match the return type of a GCC
20163: builtin and then its argument prototype would still apply. */
20164: #ifdef __cplusplus
20165: extern "C"
20166: #endif
20167: char ldap_init ();
20168: int
20169: main ()
20170: {
20171: return ldap_init ();
20172: ;
20173: return 0;
20174: }
20175: _ACEOF
20176: if ac_fn_c_try_link "$LINENO"; then :
20177: ac_cv_lib_ldap_ldap_init=yes
20178: else
20179: ac_cv_lib_ldap_ldap_init=no
20180: fi
20181: rm -f core conftest.err conftest.$ac_objext \
20182: conftest$ac_exeext conftest.$ac_ext
20183: LIBS=$ac_check_lib_save_LIBS
20184: fi
20185: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5
20186: $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; }
20187: if test "x$ac_cv_lib_ldap_ldap_init" = xyes; then :
20188: LIBS="$LIBS"
20189: else
20190: as_fn_error $? "LDAP library ldap not found" "$LINENO" 5
20191: fi
20192:
20193: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_free in -llber" >&5
20194: $as_echo_n "checking for ber_free in -llber... " >&6; }
20195: if ${ac_cv_lib_lber_ber_free+:} false; then :
20196: $as_echo_n "(cached) " >&6
20197: else
20198: ac_check_lib_save_LIBS=$LIBS
20199: LIBS="-llber $LIBS"
20200: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20201: /* end confdefs.h. */
20202:
20203: /* Override any GCC internal prototype to avoid an error.
20204: Use char because int might match the return type of a GCC
20205: builtin and then its argument prototype would still apply. */
20206: #ifdef __cplusplus
20207: extern "C"
20208: #endif
20209: char ber_free ();
20210: int
20211: main ()
20212: {
20213: return ber_free ();
20214: ;
20215: return 0;
20216: }
20217: _ACEOF
20218: if ac_fn_c_try_link "$LINENO"; then :
20219: ac_cv_lib_lber_ber_free=yes
20220: else
20221: ac_cv_lib_lber_ber_free=no
20222: fi
20223: rm -f core conftest.err conftest.$ac_objext \
20224: conftest$ac_exeext conftest.$ac_ext
20225: LIBS=$ac_check_lib_save_LIBS
20226: fi
20227: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_free" >&5
20228: $as_echo "$ac_cv_lib_lber_ber_free" >&6; }
20229: if test "x$ac_cv_lib_lber_ber_free" = xyes; then :
20230: LIBS="$LIBS"
20231: else
20232: as_fn_error $? "LDAP library lber not found" "$LINENO" 5
20233: fi
20234:
20235: ac_fn_c_check_header_mongrel "$LINENO" "ldap.h" "ac_cv_header_ldap_h" "$ac_includes_default"
20236: if test "x$ac_cv_header_ldap_h" = xyes; then :
20237:
20238: else
20239: as_fn_error $? "LDAP header ldap.h not found!" "$LINENO" 5
20240: fi
20241:
20242:
20243: fi
20244:
20245: if test x$curl = xtrue; then
20246: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for curl_global_init in -lcurl" >&5
20247: $as_echo_n "checking for curl_global_init in -lcurl... " >&6; }
20248: if ${ac_cv_lib_curl_curl_global_init+:} false; then :
20249: $as_echo_n "(cached) " >&6
20250: else
20251: ac_check_lib_save_LIBS=$LIBS
20252: LIBS="-lcurl $LIBS"
20253: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20254: /* end confdefs.h. */
20255:
20256: /* Override any GCC internal prototype to avoid an error.
20257: Use char because int might match the return type of a GCC
20258: builtin and then its argument prototype would still apply. */
20259: #ifdef __cplusplus
20260: extern "C"
20261: #endif
20262: char curl_global_init ();
20263: int
20264: main ()
20265: {
20266: return curl_global_init ();
20267: ;
20268: return 0;
20269: }
20270: _ACEOF
20271: if ac_fn_c_try_link "$LINENO"; then :
20272: ac_cv_lib_curl_curl_global_init=yes
20273: else
20274: ac_cv_lib_curl_curl_global_init=no
20275: fi
20276: rm -f core conftest.err conftest.$ac_objext \
20277: conftest$ac_exeext conftest.$ac_ext
20278: LIBS=$ac_check_lib_save_LIBS
20279: fi
20280: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_curl_global_init" >&5
20281: $as_echo "$ac_cv_lib_curl_curl_global_init" >&6; }
20282: if test "x$ac_cv_lib_curl_curl_global_init" = xyes; then :
20283: LIBS="$LIBS"
20284: else
20285: as_fn_error $? "CURL library curl not found" "$LINENO" 5
20286: fi
20287:
20288: ac_fn_c_check_header_mongrel "$LINENO" "curl/curl.h" "ac_cv_header_curl_curl_h" "$ac_includes_default"
20289: if test "x$ac_cv_header_curl_curl_h" = xyes; then :
20290:
20291: else
20292: as_fn_error $? "CURL header curl/curl.h not found!" "$LINENO" 5
20293: fi
20294:
20295:
20296: fi
20297:
20298: if test x$unbound = xtrue; then
20299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldns_rr_get_type in -lldns" >&5
20300: $as_echo_n "checking for ldns_rr_get_type in -lldns... " >&6; }
20301: if ${ac_cv_lib_ldns_ldns_rr_get_type+:} false; then :
20302: $as_echo_n "(cached) " >&6
20303: else
20304: ac_check_lib_save_LIBS=$LIBS
20305: LIBS="-lldns $LIBS"
20306: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307: /* end confdefs.h. */
20308:
20309: /* Override any GCC internal prototype to avoid an error.
20310: Use char because int might match the return type of a GCC
20311: builtin and then its argument prototype would still apply. */
20312: #ifdef __cplusplus
20313: extern "C"
20314: #endif
20315: char ldns_rr_get_type ();
20316: int
20317: main ()
20318: {
20319: return ldns_rr_get_type ();
20320: ;
20321: return 0;
20322: }
20323: _ACEOF
20324: if ac_fn_c_try_link "$LINENO"; then :
20325: ac_cv_lib_ldns_ldns_rr_get_type=yes
20326: else
20327: ac_cv_lib_ldns_ldns_rr_get_type=no
20328: fi
20329: rm -f core conftest.err conftest.$ac_objext \
20330: conftest$ac_exeext conftest.$ac_ext
20331: LIBS=$ac_check_lib_save_LIBS
20332: fi
20333: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldns_ldns_rr_get_type" >&5
20334: $as_echo "$ac_cv_lib_ldns_ldns_rr_get_type" >&6; }
20335: if test "x$ac_cv_lib_ldns_ldns_rr_get_type" = xyes; then :
20336: LIBS="$LIBS"
20337: else
20338: as_fn_error $? "UNBOUND library ldns not found" "$LINENO" 5
20339: fi
20340:
20341: ac_fn_c_check_header_mongrel "$LINENO" "ldns/ldns.h" "ac_cv_header_ldns_ldns_h" "$ac_includes_default"
20342: if test "x$ac_cv_header_ldns_ldns_h" = xyes; then :
20343:
20344: else
20345: as_fn_error $? "UNBOUND header ldns/ldns.h not found!" "$LINENO" 5
20346: fi
20347:
20348:
20349: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ub_ctx_create in -lunbound" >&5
20350: $as_echo_n "checking for ub_ctx_create in -lunbound... " >&6; }
20351: if ${ac_cv_lib_unbound_ub_ctx_create+:} false; then :
20352: $as_echo_n "(cached) " >&6
20353: else
20354: ac_check_lib_save_LIBS=$LIBS
20355: LIBS="-lunbound $LIBS"
20356: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20357: /* end confdefs.h. */
20358:
20359: /* Override any GCC internal prototype to avoid an error.
20360: Use char because int might match the return type of a GCC
20361: builtin and then its argument prototype would still apply. */
20362: #ifdef __cplusplus
20363: extern "C"
20364: #endif
20365: char ub_ctx_create ();
20366: int
20367: main ()
20368: {
20369: return ub_ctx_create ();
20370: ;
20371: return 0;
20372: }
20373: _ACEOF
20374: if ac_fn_c_try_link "$LINENO"; then :
20375: ac_cv_lib_unbound_ub_ctx_create=yes
20376: else
20377: ac_cv_lib_unbound_ub_ctx_create=no
20378: fi
20379: rm -f core conftest.err conftest.$ac_objext \
20380: conftest$ac_exeext conftest.$ac_ext
20381: LIBS=$ac_check_lib_save_LIBS
20382: fi
20383: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unbound_ub_ctx_create" >&5
20384: $as_echo "$ac_cv_lib_unbound_ub_ctx_create" >&6; }
20385: if test "x$ac_cv_lib_unbound_ub_ctx_create" = xyes; then :
20386: LIBS="$LIBS"
20387: else
20388: as_fn_error $? "UNBOUND library libunbound not found" "$LINENO" 5
20389: fi
20390:
20391: ac_fn_c_check_header_mongrel "$LINENO" "unbound.h" "ac_cv_header_unbound_h" "$ac_includes_default"
20392: if test "x$ac_cv_header_unbound_h" = xyes; then :
20393:
20394: else
20395: as_fn_error $? "UNBOUND header unbound.h not found!" "$LINENO" 5
20396: fi
20397:
20398:
20399: fi
20400:
20401: if test x$soup = xtrue; then
20402:
20403: pkg_failed=no
20404: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for soup" >&5
20405: $as_echo_n "checking for soup... " >&6; }
20406:
20407: if test -n "$soup_CFLAGS"; then
20408: pkg_cv_soup_CFLAGS="$soup_CFLAGS"
20409: elif test -n "$PKG_CONFIG"; then
20410: if test -n "$PKG_CONFIG" && \
20411: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20412: ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20413: ac_status=$?
20414: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20415: test $ac_status = 0; }; then
20416: pkg_cv_soup_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
20417: test "x$?" != "x0" && pkg_failed=yes
20418: else
20419: pkg_failed=yes
20420: fi
20421: else
20422: pkg_failed=untried
20423: fi
20424: if test -n "$soup_LIBS"; then
20425: pkg_cv_soup_LIBS="$soup_LIBS"
20426: elif test -n "$PKG_CONFIG"; then
20427: if test -n "$PKG_CONFIG" && \
20428: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20429: ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20430: ac_status=$?
20431: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20432: test $ac_status = 0; }; then
20433: pkg_cv_soup_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
20434: test "x$?" != "x0" && pkg_failed=yes
20435: else
20436: pkg_failed=yes
20437: fi
20438: else
20439: pkg_failed=untried
20440: fi
20441:
20442:
20443:
20444: if test $pkg_failed = yes; then
20445: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20446: $as_echo "no" >&6; }
20447:
20448: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20449: _pkg_short_errors_supported=yes
20450: else
20451: _pkg_short_errors_supported=no
20452: fi
20453: if test $_pkg_short_errors_supported = yes; then
20454: soup_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20455: else
20456: soup_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20457: fi
20458: # Put the nasty error message in config.log where it belongs
20459: echo "$soup_PKG_ERRORS" >&5
20460:
20461: as_fn_error $? "Package requirements (libsoup-2.4) were not met:
20462:
20463: $soup_PKG_ERRORS
20464:
20465: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20466: installed software in a non-standard prefix.
20467:
20468: Alternatively, you may set the environment variables soup_CFLAGS
20469: and soup_LIBS to avoid the need to call pkg-config.
20470: See the pkg-config man page for more details." "$LINENO" 5
20471: elif test $pkg_failed = untried; then
20472: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20473: $as_echo "no" >&6; }
20474: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20475: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20476: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20477: is in your PATH or set the PKG_CONFIG environment variable to the full
20478: path to pkg-config.
20479:
20480: Alternatively, you may set the environment variables soup_CFLAGS
20481: and soup_LIBS to avoid the need to call pkg-config.
20482: See the pkg-config man page for more details.
20483:
20484: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20485: See \`config.log' for more details" "$LINENO" 5; }
20486: else
20487: soup_CFLAGS=$pkg_cv_soup_CFLAGS
20488: soup_LIBS=$pkg_cv_soup_LIBS
20489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20490: $as_echo "yes" >&6; }
20491:
20492: fi
20493:
20494:
20495: fi
20496:
20497: if test x$xml = xtrue; then
20498:
20499: pkg_failed=no
20500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml" >&5
20501: $as_echo_n "checking for xml... " >&6; }
20502:
20503: if test -n "$xml_CFLAGS"; then
20504: pkg_cv_xml_CFLAGS="$xml_CFLAGS"
20505: elif test -n "$PKG_CONFIG"; then
20506: if test -n "$PKG_CONFIG" && \
20507: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
20508: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
20509: ac_status=$?
20510: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20511: test $ac_status = 0; }; then
20512: pkg_cv_xml_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
20513: test "x$?" != "x0" && pkg_failed=yes
20514: else
20515: pkg_failed=yes
20516: fi
20517: else
20518: pkg_failed=untried
20519: fi
20520: if test -n "$xml_LIBS"; then
20521: pkg_cv_xml_LIBS="$xml_LIBS"
20522: elif test -n "$PKG_CONFIG"; then
20523: if test -n "$PKG_CONFIG" && \
20524: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
20525: ($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
20526: ac_status=$?
20527: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20528: test $ac_status = 0; }; then
20529: pkg_cv_xml_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
20530: test "x$?" != "x0" && pkg_failed=yes
20531: else
20532: pkg_failed=yes
20533: fi
20534: else
20535: pkg_failed=untried
20536: fi
20537:
20538:
20539:
20540: if test $pkg_failed = yes; then
20541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20542: $as_echo "no" >&6; }
20543:
20544: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20545: _pkg_short_errors_supported=yes
20546: else
20547: _pkg_short_errors_supported=no
20548: fi
20549: if test $_pkg_short_errors_supported = yes; then
20550: xml_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
20551: else
20552: xml_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
20553: fi
20554: # Put the nasty error message in config.log where it belongs
20555: echo "$xml_PKG_ERRORS" >&5
20556:
20557: as_fn_error $? "Package requirements (libxml-2.0) were not met:
20558:
20559: $xml_PKG_ERRORS
20560:
20561: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20562: installed software in a non-standard prefix.
20563:
20564: Alternatively, you may set the environment variables xml_CFLAGS
20565: and xml_LIBS to avoid the need to call pkg-config.
20566: See the pkg-config man page for more details." "$LINENO" 5
20567: elif test $pkg_failed = untried; then
20568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20569: $as_echo "no" >&6; }
20570: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20571: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20572: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20573: is in your PATH or set the PKG_CONFIG environment variable to the full
20574: path to pkg-config.
20575:
20576: Alternatively, you may set the environment variables xml_CFLAGS
20577: and xml_LIBS to avoid the need to call pkg-config.
20578: See the pkg-config man page for more details.
20579:
20580: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20581: See \`config.log' for more details" "$LINENO" 5; }
20582: else
20583: xml_CFLAGS=$pkg_cv_xml_CFLAGS
20584: xml_LIBS=$pkg_cv_xml_LIBS
20585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20586: $as_echo "yes" >&6; }
20587:
20588: fi
20589:
20590:
20591: fi
20592:
20593: if test x$systemd = xtrue; then
20594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd system unit directory" >&5
20595: $as_echo_n "checking for systemd system unit directory... " >&6; }
20596: if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
20597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $systemdsystemunitdir" >&5
20598: $as_echo "$systemdsystemunitdir" >&6; }
20599: else
20600: as_fn_error $? "not found (try --with-systemdsystemunitdir)" "$LINENO" 5
20601: fi
20602:
20603:
20604: pkg_failed=no
20605: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd" >&5
20606: $as_echo_n "checking for systemd... " >&6; }
20607:
20608: if test -n "$systemd_CFLAGS"; then
20609: pkg_cv_systemd_CFLAGS="$systemd_CFLAGS"
20610: elif test -n "$PKG_CONFIG"; then
20611: if test -n "$PKG_CONFIG" && \
20612: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
20613: ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
20614: ac_status=$?
20615: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20616: test $ac_status = 0; }; then
20617: pkg_cv_systemd_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209" 2>/dev/null`
20618: test "x$?" != "x0" && pkg_failed=yes
20619: else
20620: pkg_failed=yes
20621: fi
20622: else
20623: pkg_failed=untried
20624: fi
20625: if test -n "$systemd_LIBS"; then
20626: pkg_cv_systemd_LIBS="$systemd_LIBS"
20627: elif test -n "$PKG_CONFIG"; then
20628: if test -n "$PKG_CONFIG" && \
20629: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5
20630: ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5
20631: ac_status=$?
20632: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20633: test $ac_status = 0; }; then
20634: pkg_cv_systemd_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209" 2>/dev/null`
20635: test "x$?" != "x0" && pkg_failed=yes
20636: else
20637: pkg_failed=yes
20638: fi
20639: else
20640: pkg_failed=untried
20641: fi
20642:
20643:
20644:
20645: if test $pkg_failed = yes; then
20646: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20647: $as_echo "no" >&6; }
20648:
20649: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20650: _pkg_short_errors_supported=yes
20651: else
20652: _pkg_short_errors_supported=no
20653: fi
20654: if test $_pkg_short_errors_supported = yes; then
20655: systemd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
20656: else
20657: systemd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209" 2>&1`
20658: fi
20659: # Put the nasty error message in config.log where it belongs
20660: echo "$systemd_PKG_ERRORS" >&5
20661:
20662:
20663: pkg_failed=no
20664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
20665: $as_echo_n "checking for systemd_daemon... " >&6; }
20666:
20667: if test -n "$systemd_daemon_CFLAGS"; then
20668: pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
20669: elif test -n "$PKG_CONFIG"; then
20670: if test -n "$PKG_CONFIG" && \
20671: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20672: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20673: ac_status=$?
20674: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20675: test $ac_status = 0; }; then
20676: pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
20677: test "x$?" != "x0" && pkg_failed=yes
20678: else
20679: pkg_failed=yes
20680: fi
20681: else
20682: pkg_failed=untried
20683: fi
20684: if test -n "$systemd_daemon_LIBS"; then
20685: pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
20686: elif test -n "$PKG_CONFIG"; then
20687: if test -n "$PKG_CONFIG" && \
20688: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20689: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20690: ac_status=$?
20691: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20692: test $ac_status = 0; }; then
20693: pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
20694: test "x$?" != "x0" && pkg_failed=yes
20695: else
20696: pkg_failed=yes
20697: fi
20698: else
20699: pkg_failed=untried
20700: fi
20701:
20702:
20703:
20704: if test $pkg_failed = yes; then
20705: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20706: $as_echo "no" >&6; }
20707:
20708: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20709: _pkg_short_errors_supported=yes
20710: else
20711: _pkg_short_errors_supported=no
20712: fi
20713: if test $_pkg_short_errors_supported = yes; then
20714: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20715: else
20716: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20717: fi
20718: # Put the nasty error message in config.log where it belongs
20719: echo "$systemd_daemon_PKG_ERRORS" >&5
20720:
20721: as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
20722:
20723: $systemd_daemon_PKG_ERRORS
20724:
20725: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20726: installed software in a non-standard prefix.
20727:
20728: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20729: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20730: See the pkg-config man page for more details." "$LINENO" 5
20731: elif test $pkg_failed = untried; then
20732: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20733: $as_echo "no" >&6; }
20734: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20735: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20736: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20737: is in your PATH or set the PKG_CONFIG environment variable to the full
20738: path to pkg-config.
20739:
20740: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20741: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20742: See the pkg-config man page for more details.
20743:
20744: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20745: See \`config.log' for more details" "$LINENO" 5; }
20746: else
20747: systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
20748: systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
20749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20750: $as_echo "yes" >&6; }
20751:
20752: fi
20753:
20754:
20755:
20756: pkg_failed=no
20757: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
20758: $as_echo_n "checking for systemd_journal... " >&6; }
20759:
20760: if test -n "$systemd_journal_CFLAGS"; then
20761: pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
20762: elif test -n "$PKG_CONFIG"; then
20763: if test -n "$PKG_CONFIG" && \
20764: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20765: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20766: ac_status=$?
20767: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20768: test $ac_status = 0; }; then
20769: pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
20770: test "x$?" != "x0" && pkg_failed=yes
20771: else
20772: pkg_failed=yes
20773: fi
20774: else
20775: pkg_failed=untried
20776: fi
20777: if test -n "$systemd_journal_LIBS"; then
20778: pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
20779: elif test -n "$PKG_CONFIG"; then
20780: if test -n "$PKG_CONFIG" && \
20781: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20782: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20783: ac_status=$?
20784: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20785: test $ac_status = 0; }; then
20786: pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
20787: test "x$?" != "x0" && pkg_failed=yes
20788: else
20789: pkg_failed=yes
20790: fi
20791: else
20792: pkg_failed=untried
20793: fi
20794:
20795:
20796:
20797: if test $pkg_failed = yes; then
20798: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20799: $as_echo "no" >&6; }
20800:
20801: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20802: _pkg_short_errors_supported=yes
20803: else
20804: _pkg_short_errors_supported=no
20805: fi
20806: if test $_pkg_short_errors_supported = yes; then
20807: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20808: else
20809: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20810: fi
20811: # Put the nasty error message in config.log where it belongs
20812: echo "$systemd_journal_PKG_ERRORS" >&5
20813:
20814: as_fn_error $? "Package requirements (libsystemd-journal) were not met:
20815:
20816: $systemd_journal_PKG_ERRORS
20817:
20818: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20819: installed software in a non-standard prefix.
20820:
20821: Alternatively, you may set the environment variables systemd_journal_CFLAGS
20822: and systemd_journal_LIBS to avoid the need to call pkg-config.
20823: See the pkg-config man page for more details." "$LINENO" 5
20824: elif test $pkg_failed = untried; then
20825: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20826: $as_echo "no" >&6; }
20827: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20828: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20829: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20830: is in your PATH or set the PKG_CONFIG environment variable to the full
20831: path to pkg-config.
20832:
20833: Alternatively, you may set the environment variables systemd_journal_CFLAGS
20834: and systemd_journal_LIBS to avoid the need to call pkg-config.
20835: See the pkg-config man page for more details.
20836:
20837: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20838: See \`config.log' for more details" "$LINENO" 5; }
20839: else
20840: systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
20841: systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
20842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20843: $as_echo "yes" >&6; }
20844:
20845: fi
20846:
20847:
20848:
20849: elif test $pkg_failed = untried; then
20850: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20851: $as_echo "no" >&6; }
20852:
20853: pkg_failed=no
20854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_daemon" >&5
20855: $as_echo_n "checking for systemd_daemon... " >&6; }
20856:
20857: if test -n "$systemd_daemon_CFLAGS"; then
20858: pkg_cv_systemd_daemon_CFLAGS="$systemd_daemon_CFLAGS"
20859: elif test -n "$PKG_CONFIG"; then
20860: if test -n "$PKG_CONFIG" && \
20861: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20862: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20863: ac_status=$?
20864: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20865: test $ac_status = 0; }; then
20866: pkg_cv_systemd_daemon_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-daemon" 2>/dev/null`
20867: test "x$?" != "x0" && pkg_failed=yes
20868: else
20869: pkg_failed=yes
20870: fi
20871: else
20872: pkg_failed=untried
20873: fi
20874: if test -n "$systemd_daemon_LIBS"; then
20875: pkg_cv_systemd_daemon_LIBS="$systemd_daemon_LIBS"
20876: elif test -n "$PKG_CONFIG"; then
20877: if test -n "$PKG_CONFIG" && \
20878: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-daemon\""; } >&5
20879: ($PKG_CONFIG --exists --print-errors "libsystemd-daemon") 2>&5
20880: ac_status=$?
20881: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20882: test $ac_status = 0; }; then
20883: pkg_cv_systemd_daemon_LIBS=`$PKG_CONFIG --libs "libsystemd-daemon" 2>/dev/null`
20884: test "x$?" != "x0" && pkg_failed=yes
20885: else
20886: pkg_failed=yes
20887: fi
20888: else
20889: pkg_failed=untried
20890: fi
20891:
20892:
20893:
20894: if test $pkg_failed = yes; then
20895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20896: $as_echo "no" >&6; }
20897:
20898: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20899: _pkg_short_errors_supported=yes
20900: else
20901: _pkg_short_errors_supported=no
20902: fi
20903: if test $_pkg_short_errors_supported = yes; then
20904: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20905: else
20906: systemd_daemon_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-daemon" 2>&1`
20907: fi
20908: # Put the nasty error message in config.log where it belongs
20909: echo "$systemd_daemon_PKG_ERRORS" >&5
20910:
20911: as_fn_error $? "Package requirements (libsystemd-daemon) were not met:
20912:
20913: $systemd_daemon_PKG_ERRORS
20914:
20915: Consider adjusting the PKG_CONFIG_PATH environment variable if you
20916: installed software in a non-standard prefix.
20917:
20918: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20919: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20920: See the pkg-config man page for more details." "$LINENO" 5
20921: elif test $pkg_failed = untried; then
20922: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20923: $as_echo "no" >&6; }
20924: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20925: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20926: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20927: is in your PATH or set the PKG_CONFIG environment variable to the full
20928: path to pkg-config.
20929:
20930: Alternatively, you may set the environment variables systemd_daemon_CFLAGS
20931: and systemd_daemon_LIBS to avoid the need to call pkg-config.
20932: See the pkg-config man page for more details.
20933:
20934: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20935: See \`config.log' for more details" "$LINENO" 5; }
20936: else
20937: systemd_daemon_CFLAGS=$pkg_cv_systemd_daemon_CFLAGS
20938: systemd_daemon_LIBS=$pkg_cv_systemd_daemon_LIBS
20939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20940: $as_echo "yes" >&6; }
20941:
20942: fi
20943:
20944:
20945:
20946: pkg_failed=no
20947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemd_journal" >&5
20948: $as_echo_n "checking for systemd_journal... " >&6; }
20949:
20950: if test -n "$systemd_journal_CFLAGS"; then
20951: pkg_cv_systemd_journal_CFLAGS="$systemd_journal_CFLAGS"
20952: elif test -n "$PKG_CONFIG"; then
20953: if test -n "$PKG_CONFIG" && \
20954: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20955: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20956: ac_status=$?
20957: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20958: test $ac_status = 0; }; then
20959: pkg_cv_systemd_journal_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-journal" 2>/dev/null`
20960: test "x$?" != "x0" && pkg_failed=yes
20961: else
20962: pkg_failed=yes
20963: fi
20964: else
20965: pkg_failed=untried
20966: fi
20967: if test -n "$systemd_journal_LIBS"; then
20968: pkg_cv_systemd_journal_LIBS="$systemd_journal_LIBS"
20969: elif test -n "$PKG_CONFIG"; then
20970: if test -n "$PKG_CONFIG" && \
20971: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-journal\""; } >&5
20972: ($PKG_CONFIG --exists --print-errors "libsystemd-journal") 2>&5
20973: ac_status=$?
20974: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20975: test $ac_status = 0; }; then
20976: pkg_cv_systemd_journal_LIBS=`$PKG_CONFIG --libs "libsystemd-journal" 2>/dev/null`
20977: test "x$?" != "x0" && pkg_failed=yes
20978: else
20979: pkg_failed=yes
20980: fi
20981: else
20982: pkg_failed=untried
20983: fi
20984:
20985:
20986:
20987: if test $pkg_failed = yes; then
20988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20989: $as_echo "no" >&6; }
20990:
20991: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20992: _pkg_short_errors_supported=yes
20993: else
20994: _pkg_short_errors_supported=no
20995: fi
20996: if test $_pkg_short_errors_supported = yes; then
20997: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-journal" 2>&1`
20998: else
20999: systemd_journal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-journal" 2>&1`
21000: fi
21001: # Put the nasty error message in config.log where it belongs
21002: echo "$systemd_journal_PKG_ERRORS" >&5
21003:
21004: as_fn_error $? "Package requirements (libsystemd-journal) were not met:
21005:
21006: $systemd_journal_PKG_ERRORS
21007:
21008: Consider adjusting the PKG_CONFIG_PATH environment variable if you
21009: installed software in a non-standard prefix.
21010:
21011: Alternatively, you may set the environment variables systemd_journal_CFLAGS
21012: and systemd_journal_LIBS to avoid the need to call pkg-config.
21013: See the pkg-config man page for more details." "$LINENO" 5
21014: elif test $pkg_failed = untried; then
21015: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21016: $as_echo "no" >&6; }
21017: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21018: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21019: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21020: is in your PATH or set the PKG_CONFIG environment variable to the full
21021: path to pkg-config.
21022:
21023: Alternatively, you may set the environment variables systemd_journal_CFLAGS
21024: and systemd_journal_LIBS to avoid the need to call pkg-config.
21025: See the pkg-config man page for more details.
21026:
21027: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21028: See \`config.log' for more details" "$LINENO" 5; }
21029: else
21030: systemd_journal_CFLAGS=$pkg_cv_systemd_journal_CFLAGS
21031: systemd_journal_LIBS=$pkg_cv_systemd_journal_LIBS
21032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21033: $as_echo "yes" >&6; }
21034:
21035: fi
21036:
21037:
21038:
21039: else
21040: systemd_CFLAGS=$pkg_cv_systemd_CFLAGS
21041: systemd_LIBS=$pkg_cv_systemd_LIBS
21042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21043: $as_echo "yes" >&6; }
21044:
21045:
21046: fi
21047: saved_LIBS=$LIBS
21048: LIBS="$systemd_LIBS $systemd_daemon_LIBS"
21049: for ac_func in sd_listen_fds_with_names
21050: do :
21051: ac_fn_c_check_func "$LINENO" "sd_listen_fds_with_names" "ac_cv_func_sd_listen_fds_with_names"
21052: if test "x$ac_cv_func_sd_listen_fds_with_names" = xyes; then :
21053: cat >>confdefs.h <<_ACEOF
21054: #define HAVE_SD_LISTEN_FDS_WITH_NAMES 1
21055: _ACEOF
21056:
21057: fi
21058: done
21059:
21060: LIBS=$saved_LIBS
21061: fi
21062:
21063: if test x$tss_trousers = xtrue; then
21064: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tspi_Context_Create in -ltspi" >&5
21065: $as_echo_n "checking for Tspi_Context_Create in -ltspi... " >&6; }
21066: if ${ac_cv_lib_tspi_Tspi_Context_Create+:} false; then :
21067: $as_echo_n "(cached) " >&6
21068: else
21069: ac_check_lib_save_LIBS=$LIBS
21070: LIBS="-ltspi $LIBS"
21071: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21072: /* end confdefs.h. */
21073:
21074: /* Override any GCC internal prototype to avoid an error.
21075: Use char because int might match the return type of a GCC
21076: builtin and then its argument prototype would still apply. */
21077: #ifdef __cplusplus
21078: extern "C"
21079: #endif
21080: char Tspi_Context_Create ();
21081: int
21082: main ()
21083: {
21084: return Tspi_Context_Create ();
21085: ;
21086: return 0;
21087: }
21088: _ACEOF
21089: if ac_fn_c_try_link "$LINENO"; then :
21090: ac_cv_lib_tspi_Tspi_Context_Create=yes
21091: else
21092: ac_cv_lib_tspi_Tspi_Context_Create=no
21093: fi
21094: rm -f core conftest.err conftest.$ac_objext \
21095: conftest$ac_exeext conftest.$ac_ext
21096: LIBS=$ac_check_lib_save_LIBS
21097: fi
21098: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tspi_Tspi_Context_Create" >&5
21099: $as_echo "$ac_cv_lib_tspi_Tspi_Context_Create" >&6; }
21100: if test "x$ac_cv_lib_tspi_Tspi_Context_Create" = xyes; then :
21101: LIBS="$LIBS"
21102: else
21103: as_fn_error $? "TrouSerS library libtspi not found" "$LINENO" 5
21104: fi
21105:
21106: ac_fn_c_check_header_mongrel "$LINENO" "trousers/tss.h" "ac_cv_header_trousers_tss_h" "$ac_includes_default"
21107: if test "x$ac_cv_header_trousers_tss_h" = xyes; then :
21108:
21109: else
21110: as_fn_error $? "TrouSerS header trousers/tss.h not found!" "$LINENO" 5
21111: fi
21112:
21113:
21114:
21115: $as_echo "#define TSS_TROUSERS /**/" >>confdefs.h
21116:
21117: fi
21118:
21119: if test x$tss_tss2 = xtrue; then
21120:
21121: pkg_failed=no
21122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_sys" >&5
21123: $as_echo_n "checking for tss2_sys... " >&6; }
21124:
21125: if test -n "$tss2_sys_CFLAGS"; then
21126: pkg_cv_tss2_sys_CFLAGS="$tss2_sys_CFLAGS"
21127: elif test -n "$PKG_CONFIG"; then
21128: if test -n "$PKG_CONFIG" && \
21129: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
21130: ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
21131: ac_status=$?
21132: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21133: test $ac_status = 0; }; then
21134: pkg_cv_tss2_sys_CFLAGS=`$PKG_CONFIG --cflags "tss2-sys" 2>/dev/null`
21135: test "x$?" != "x0" && pkg_failed=yes
21136: else
21137: pkg_failed=yes
21138: fi
21139: else
21140: pkg_failed=untried
21141: fi
21142: if test -n "$tss2_sys_LIBS"; then
21143: pkg_cv_tss2_sys_LIBS="$tss2_sys_LIBS"
21144: elif test -n "$PKG_CONFIG"; then
21145: if test -n "$PKG_CONFIG" && \
21146: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-sys\""; } >&5
21147: ($PKG_CONFIG --exists --print-errors "tss2-sys") 2>&5
21148: ac_status=$?
21149: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21150: test $ac_status = 0; }; then
21151: pkg_cv_tss2_sys_LIBS=`$PKG_CONFIG --libs "tss2-sys" 2>/dev/null`
21152: test "x$?" != "x0" && pkg_failed=yes
21153: else
21154: pkg_failed=yes
21155: fi
21156: else
21157: pkg_failed=untried
21158: fi
21159:
21160:
21161:
21162: if test $pkg_failed = yes; then
21163: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21164: $as_echo "no" >&6; }
21165:
21166: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21167: _pkg_short_errors_supported=yes
21168: else
21169: _pkg_short_errors_supported=no
21170: fi
21171: if test $_pkg_short_errors_supported = yes; then
21172: tss2_sys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-sys" 2>&1`
21173: else
21174: tss2_sys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-sys" 2>&1`
21175: fi
21176: # Put the nasty error message in config.log where it belongs
21177: echo "$tss2_sys_PKG_ERRORS" >&5
21178:
21179: tss2_sys=false
21180: elif test $pkg_failed = untried; then
21181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21182: $as_echo "no" >&6; }
21183: tss2_sys=false
21184: else
21185: tss2_sys_CFLAGS=$pkg_cv_tss2_sys_CFLAGS
21186: tss2_sys_LIBS=$pkg_cv_tss2_sys_LIBS
21187: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21188: $as_echo "yes" >&6; }
21189: tss2_sys=true;
21190: $as_echo "#define TSS2_SYS /**/" >>confdefs.h
21191:
21192: fi
21193:
21194: pkg_failed=no
21195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_esys" >&5
21196: $as_echo_n "checking for tss2_esys... " >&6; }
21197:
21198: if test -n "$tss2_esys_CFLAGS"; then
21199: pkg_cv_tss2_esys_CFLAGS="$tss2_esys_CFLAGS"
21200: elif test -n "$PKG_CONFIG"; then
21201: if test -n "$PKG_CONFIG" && \
21202: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
21203: ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
21204: ac_status=$?
21205: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21206: test $ac_status = 0; }; then
21207: pkg_cv_tss2_esys_CFLAGS=`$PKG_CONFIG --cflags "tss2-esys" 2>/dev/null`
21208: test "x$?" != "x0" && pkg_failed=yes
21209: else
21210: pkg_failed=yes
21211: fi
21212: else
21213: pkg_failed=untried
21214: fi
21215: if test -n "$tss2_esys_LIBS"; then
21216: pkg_cv_tss2_esys_LIBS="$tss2_esys_LIBS"
21217: elif test -n "$PKG_CONFIG"; then
21218: if test -n "$PKG_CONFIG" && \
21219: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tss2-esys\""; } >&5
21220: ($PKG_CONFIG --exists --print-errors "tss2-esys") 2>&5
21221: ac_status=$?
21222: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21223: test $ac_status = 0; }; then
21224: pkg_cv_tss2_esys_LIBS=`$PKG_CONFIG --libs "tss2-esys" 2>/dev/null`
21225: test "x$?" != "x0" && pkg_failed=yes
21226: else
21227: pkg_failed=yes
21228: fi
21229: else
21230: pkg_failed=untried
21231: fi
21232:
21233:
21234:
21235: if test $pkg_failed = yes; then
21236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21237: $as_echo "no" >&6; }
21238:
21239: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21240: _pkg_short_errors_supported=yes
21241: else
21242: _pkg_short_errors_supported=no
21243: fi
21244: if test $_pkg_short_errors_supported = yes; then
21245: tss2_esys_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tss2-esys" 2>&1`
21246: else
21247: tss2_esys_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tss2-esys" 2>&1`
21248: fi
21249: # Put the nasty error message in config.log where it belongs
21250: echo "$tss2_esys_PKG_ERRORS" >&5
21251:
21252: tss2_esys=false
21253: elif test $pkg_failed = untried; then
21254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21255: $as_echo "no" >&6; }
21256: tss2_esys=false
21257: else
21258: tss2_esys_CFLAGS=$pkg_cv_tss2_esys_CFLAGS
21259: tss2_esys_LIBS=$pkg_cv_tss2_esys_LIBS
21260: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21261: $as_echo "yes" >&6; }
21262: tss2_esys=true;
21263: $as_echo "#define TSS2_ESYS /**/" >>confdefs.h
21264:
21265: fi
21266: if test x$tss2_sys = xtrue; then
21267:
21268: $as_echo "#define TSS_TSS2_V2 /**/" >>confdefs.h
21269:
21270: tss2_CFLAGS="$tss2_sys_CFLAGS"
21271:
21272: tss2_LIBS="$tss2_sys_LIBS"
21273:
21274: else
21275:
21276: pkg_failed=no
21277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_tabrmd" >&5
21278: $as_echo_n "checking for tss2_tabrmd... " >&6; }
21279:
21280: if test -n "$tss2_tabrmd_CFLAGS"; then
21281: pkg_cv_tss2_tabrmd_CFLAGS="$tss2_tabrmd_CFLAGS"
21282: elif test -n "$PKG_CONFIG"; then
21283: if test -n "$PKG_CONFIG" && \
21284: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
21285: ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
21286: ac_status=$?
21287: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21288: test $ac_status = 0; }; then
21289: pkg_cv_tss2_tabrmd_CFLAGS=`$PKG_CONFIG --cflags "tcti-tabrmd" 2>/dev/null`
21290: test "x$?" != "x0" && pkg_failed=yes
21291: else
21292: pkg_failed=yes
21293: fi
21294: else
21295: pkg_failed=untried
21296: fi
21297: if test -n "$tss2_tabrmd_LIBS"; then
21298: pkg_cv_tss2_tabrmd_LIBS="$tss2_tabrmd_LIBS"
21299: elif test -n "$PKG_CONFIG"; then
21300: if test -n "$PKG_CONFIG" && \
21301: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-tabrmd\""; } >&5
21302: ($PKG_CONFIG --exists --print-errors "tcti-tabrmd") 2>&5
21303: ac_status=$?
21304: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21305: test $ac_status = 0; }; then
21306: pkg_cv_tss2_tabrmd_LIBS=`$PKG_CONFIG --libs "tcti-tabrmd" 2>/dev/null`
21307: test "x$?" != "x0" && pkg_failed=yes
21308: else
21309: pkg_failed=yes
21310: fi
21311: else
21312: pkg_failed=untried
21313: fi
21314:
21315:
21316:
21317: if test $pkg_failed = yes; then
21318: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21319: $as_echo "no" >&6; }
21320:
21321: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21322: _pkg_short_errors_supported=yes
21323: else
21324: _pkg_short_errors_supported=no
21325: fi
21326: if test $_pkg_short_errors_supported = yes; then
21327: tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
21328: else
21329: tss2_tabrmd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-tabrmd" 2>&1`
21330: fi
21331: # Put the nasty error message in config.log where it belongs
21332: echo "$tss2_tabrmd_PKG_ERRORS" >&5
21333:
21334: tss2_tabrmd=false
21335: elif test $pkg_failed = untried; then
21336: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21337: $as_echo "no" >&6; }
21338: tss2_tabrmd=false
21339: else
21340: tss2_tabrmd_CFLAGS=$pkg_cv_tss2_tabrmd_CFLAGS
21341: tss2_tabrmd_LIBS=$pkg_cv_tss2_tabrmd_LIBS
21342: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21343: $as_echo "yes" >&6; }
21344: tss2_tabrmd=true;
21345: $as_echo "#define TSS2_TCTI_TABRMD /**/" >>confdefs.h
21346:
21347: fi
21348:
21349: pkg_failed=no
21350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tss2_socket" >&5
21351: $as_echo_n "checking for tss2_socket... " >&6; }
21352:
21353: if test -n "$tss2_socket_CFLAGS"; then
21354: pkg_cv_tss2_socket_CFLAGS="$tss2_socket_CFLAGS"
21355: elif test -n "$PKG_CONFIG"; then
21356: if test -n "$PKG_CONFIG" && \
21357: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
21358: ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
21359: ac_status=$?
21360: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21361: test $ac_status = 0; }; then
21362: pkg_cv_tss2_socket_CFLAGS=`$PKG_CONFIG --cflags "tcti-socket" 2>/dev/null`
21363: test "x$?" != "x0" && pkg_failed=yes
21364: else
21365: pkg_failed=yes
21366: fi
21367: else
21368: pkg_failed=untried
21369: fi
21370: if test -n "$tss2_socket_LIBS"; then
21371: pkg_cv_tss2_socket_LIBS="$tss2_socket_LIBS"
21372: elif test -n "$PKG_CONFIG"; then
21373: if test -n "$PKG_CONFIG" && \
21374: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tcti-socket\""; } >&5
21375: ($PKG_CONFIG --exists --print-errors "tcti-socket") 2>&5
21376: ac_status=$?
21377: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21378: test $ac_status = 0; }; then
21379: pkg_cv_tss2_socket_LIBS=`$PKG_CONFIG --libs "tcti-socket" 2>/dev/null`
21380: test "x$?" != "x0" && pkg_failed=yes
21381: else
21382: pkg_failed=yes
21383: fi
21384: else
21385: pkg_failed=untried
21386: fi
21387:
21388:
21389:
21390: if test $pkg_failed = yes; then
21391: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21392: $as_echo "no" >&6; }
21393:
21394: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21395: _pkg_short_errors_supported=yes
21396: else
21397: _pkg_short_errors_supported=no
21398: fi
21399: if test $_pkg_short_errors_supported = yes; then
21400: tss2_socket_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "tcti-socket" 2>&1`
21401: else
21402: tss2_socket_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "tcti-socket" 2>&1`
21403: fi
21404: # Put the nasty error message in config.log where it belongs
21405: echo "$tss2_socket_PKG_ERRORS" >&5
21406:
21407: tss2_socket=false
21408: elif test $pkg_failed = untried; then
21409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21410: $as_echo "no" >&6; }
21411: tss2_socket=false
21412: else
21413: tss2_socket_CFLAGS=$pkg_cv_tss2_socket_CFLAGS
21414: tss2_socket_LIBS=$pkg_cv_tss2_socket_LIBS
21415: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21416: $as_echo "yes" >&6; }
21417: tss2_socket=true;
21418: $as_echo "#define TSS2_TCTI_SOCKET /**/" >>confdefs.h
21419:
21420: fi
21421: if test x$tss2_tabrmd = xtrue -o x$tss2_socket = xtrue; then
21422:
21423: $as_echo "#define TSS_TSS2_V1 /**/" >>confdefs.h
21424:
21425: tss2_CFLAGS="$tss2_tabrmd_CFLAGS $tss2_socket_CFLAGS"
21426:
21427: tss2_LIBS="$tss2_tabrmd_LIBS $tss2_socket_LIBS"
21428:
21429: else
21430: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21431: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21432: as_fn_error $? "no TSS2 TCTI or SAPI libraries detected
21433: See \`config.log' for more details" "$LINENO" 5; }
21434: fi
21435: fi
21436: fi
21437:
1.1.1.2 ! misho 21438: if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then
1.1 misho 21439:
21440: pkg_failed=no
21441: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21442: $as_echo_n "checking for json... " >&6; }
21443:
21444: if test -n "$json_CFLAGS"; then
21445: pkg_cv_json_CFLAGS="$json_CFLAGS"
21446: elif test -n "$PKG_CONFIG"; then
21447: if test -n "$PKG_CONFIG" && \
21448: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
21449: ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
21450: ac_status=$?
21451: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21452: test $ac_status = 0; }; then
21453: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json-c" 2>/dev/null`
21454: test "x$?" != "x0" && pkg_failed=yes
21455: else
21456: pkg_failed=yes
21457: fi
21458: else
21459: pkg_failed=untried
21460: fi
21461: if test -n "$json_LIBS"; then
21462: pkg_cv_json_LIBS="$json_LIBS"
21463: elif test -n "$PKG_CONFIG"; then
21464: if test -n "$PKG_CONFIG" && \
21465: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json-c\""; } >&5
21466: ($PKG_CONFIG --exists --print-errors "json-c") 2>&5
21467: ac_status=$?
21468: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21469: test $ac_status = 0; }; then
21470: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json-c" 2>/dev/null`
21471: test "x$?" != "x0" && pkg_failed=yes
21472: else
21473: pkg_failed=yes
21474: fi
21475: else
21476: pkg_failed=untried
21477: fi
21478:
21479:
21480:
21481: if test $pkg_failed = yes; then
21482: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21483: $as_echo "no" >&6; }
21484:
21485: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21486: _pkg_short_errors_supported=yes
21487: else
21488: _pkg_short_errors_supported=no
21489: fi
21490: if test $_pkg_short_errors_supported = yes; then
21491: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json-c" 2>&1`
21492: else
21493: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json-c" 2>&1`
21494: fi
21495: # Put the nasty error message in config.log where it belongs
21496: echo "$json_PKG_ERRORS" >&5
21497:
21498:
21499: pkg_failed=no
21500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21501: $as_echo_n "checking for json... " >&6; }
21502:
21503: if test -n "$json_CFLAGS"; then
21504: pkg_cv_json_CFLAGS="$json_CFLAGS"
21505: elif test -n "$PKG_CONFIG"; then
21506: if test -n "$PKG_CONFIG" && \
21507: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21508: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21509: ac_status=$?
21510: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21511: test $ac_status = 0; }; then
21512: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
21513: test "x$?" != "x0" && pkg_failed=yes
21514: else
21515: pkg_failed=yes
21516: fi
21517: else
21518: pkg_failed=untried
21519: fi
21520: if test -n "$json_LIBS"; then
21521: pkg_cv_json_LIBS="$json_LIBS"
21522: elif test -n "$PKG_CONFIG"; then
21523: if test -n "$PKG_CONFIG" && \
21524: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21525: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21526: ac_status=$?
21527: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21528: test $ac_status = 0; }; then
21529: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
21530: test "x$?" != "x0" && pkg_failed=yes
21531: else
21532: pkg_failed=yes
21533: fi
21534: else
21535: pkg_failed=untried
21536: fi
21537:
21538:
21539:
21540: if test $pkg_failed = yes; then
21541: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21542: $as_echo "no" >&6; }
21543:
21544: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21545: _pkg_short_errors_supported=yes
21546: else
21547: _pkg_short_errors_supported=no
21548: fi
21549: if test $_pkg_short_errors_supported = yes; then
21550: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
21551: else
21552: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
21553: fi
21554: # Put the nasty error message in config.log where it belongs
21555: echo "$json_PKG_ERRORS" >&5
21556:
21557: as_fn_error $? "Package requirements (json) were not met:
21558:
21559: $json_PKG_ERRORS
21560:
21561: Consider adjusting the PKG_CONFIG_PATH environment variable if you
21562: installed software in a non-standard prefix.
21563:
21564: Alternatively, you may set the environment variables json_CFLAGS
21565: and json_LIBS to avoid the need to call pkg-config.
21566: See the pkg-config man page for more details." "$LINENO" 5
21567: elif test $pkg_failed = untried; then
21568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21569: $as_echo "no" >&6; }
21570: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21571: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21572: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21573: is in your PATH or set the PKG_CONFIG environment variable to the full
21574: path to pkg-config.
21575:
21576: Alternatively, you may set the environment variables json_CFLAGS
21577: and json_LIBS to avoid the need to call pkg-config.
21578: See the pkg-config man page for more details.
21579:
21580: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21581: See \`config.log' for more details" "$LINENO" 5; }
21582: else
21583: json_CFLAGS=$pkg_cv_json_CFLAGS
21584: json_LIBS=$pkg_cv_json_LIBS
21585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21586: $as_echo "yes" >&6; }
21587:
21588: fi
21589: elif test $pkg_failed = untried; then
21590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21591: $as_echo "no" >&6; }
21592:
21593: pkg_failed=no
21594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for json" >&5
21595: $as_echo_n "checking for json... " >&6; }
21596:
21597: if test -n "$json_CFLAGS"; then
21598: pkg_cv_json_CFLAGS="$json_CFLAGS"
21599: elif test -n "$PKG_CONFIG"; then
21600: if test -n "$PKG_CONFIG" && \
21601: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21602: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21603: ac_status=$?
21604: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21605: test $ac_status = 0; }; then
21606: pkg_cv_json_CFLAGS=`$PKG_CONFIG --cflags "json" 2>/dev/null`
21607: test "x$?" != "x0" && pkg_failed=yes
21608: else
21609: pkg_failed=yes
21610: fi
21611: else
21612: pkg_failed=untried
21613: fi
21614: if test -n "$json_LIBS"; then
21615: pkg_cv_json_LIBS="$json_LIBS"
21616: elif test -n "$PKG_CONFIG"; then
21617: if test -n "$PKG_CONFIG" && \
21618: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"json\""; } >&5
21619: ($PKG_CONFIG --exists --print-errors "json") 2>&5
21620: ac_status=$?
21621: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21622: test $ac_status = 0; }; then
21623: pkg_cv_json_LIBS=`$PKG_CONFIG --libs "json" 2>/dev/null`
21624: test "x$?" != "x0" && pkg_failed=yes
21625: else
21626: pkg_failed=yes
21627: fi
21628: else
21629: pkg_failed=untried
21630: fi
21631:
21632:
21633:
21634: if test $pkg_failed = yes; then
21635: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21636: $as_echo "no" >&6; }
21637:
21638: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21639: _pkg_short_errors_supported=yes
21640: else
21641: _pkg_short_errors_supported=no
21642: fi
21643: if test $_pkg_short_errors_supported = yes; then
21644: json_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "json" 2>&1`
21645: else
21646: json_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "json" 2>&1`
21647: fi
21648: # Put the nasty error message in config.log where it belongs
21649: echo "$json_PKG_ERRORS" >&5
21650:
21651: as_fn_error $? "Package requirements (json) were not met:
21652:
21653: $json_PKG_ERRORS
21654:
21655: Consider adjusting the PKG_CONFIG_PATH environment variable if you
21656: installed software in a non-standard prefix.
21657:
21658: Alternatively, you may set the environment variables json_CFLAGS
21659: and json_LIBS to avoid the need to call pkg-config.
21660: See the pkg-config man page for more details." "$LINENO" 5
21661: elif test $pkg_failed = untried; then
21662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21663: $as_echo "no" >&6; }
21664: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21665: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21666: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21667: is in your PATH or set the PKG_CONFIG environment variable to the full
21668: path to pkg-config.
21669:
21670: Alternatively, you may set the environment variables json_CFLAGS
21671: and json_LIBS to avoid the need to call pkg-config.
21672: See the pkg-config man page for more details.
21673:
21674: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21675: See \`config.log' for more details" "$LINENO" 5; }
21676: else
21677: json_CFLAGS=$pkg_cv_json_CFLAGS
21678: json_LIBS=$pkg_cv_json_LIBS
21679: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21680: $as_echo "yes" >&6; }
21681:
21682: fi
21683: else
21684: json_CFLAGS=$pkg_cv_json_CFLAGS
21685: json_LIBS=$pkg_cv_json_LIBS
21686: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21687: $as_echo "yes" >&6; }
21688:
21689: fi
21690:
21691:
21692: fi
21693:
21694: if test x$fast = xtrue; then
21695: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf_init in -lneo_utl" >&5
21696: $as_echo_n "checking for hdf_init in -lneo_utl... " >&6; }
21697: if ${ac_cv_lib_neo_utl_hdf_init+:} false; then :
21698: $as_echo_n "(cached) " >&6
21699: else
21700: ac_check_lib_save_LIBS=$LIBS
21701: LIBS="-lneo_utl $LIBS"
21702: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21703: /* end confdefs.h. */
21704:
21705: /* Override any GCC internal prototype to avoid an error.
21706: Use char because int might match the return type of a GCC
21707: builtin and then its argument prototype would still apply. */
21708: #ifdef __cplusplus
21709: extern "C"
21710: #endif
21711: char hdf_init ();
21712: int
21713: main ()
21714: {
21715: return hdf_init ();
21716: ;
21717: return 0;
21718: }
21719: _ACEOF
21720: if ac_fn_c_try_link "$LINENO"; then :
21721: ac_cv_lib_neo_utl_hdf_init=yes
21722: else
21723: ac_cv_lib_neo_utl_hdf_init=no
21724: fi
21725: rm -f core conftest.err conftest.$ac_objext \
21726: conftest$ac_exeext conftest.$ac_ext
21727: LIBS=$ac_check_lib_save_LIBS
21728: fi
21729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_neo_utl_hdf_init" >&5
21730: $as_echo "$ac_cv_lib_neo_utl_hdf_init" >&6; }
21731: if test "x$ac_cv_lib_neo_utl_hdf_init" = xyes; then :
21732: LIBS="$LIBS"
21733: else
21734: as_fn_error $? "ClearSilver library neo_utl not found!" "$LINENO" 5
21735: fi
21736:
21737: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lneo_cgi and dependencies" >&5
21738: $as_echo_n "checking for -lneo_cgi and dependencies... " >&6; }
21739: saved_CFLAGS=$CFLAGS
21740: saved_LIBS=$LIBS
21741: LIBS="-lneo_cgi -lneo_cs -lneo_utl"
21742: CFLAGS="-I/usr/include/ClearSilver"
21743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21744: /* end confdefs.h. */
21745: #include <cgi/cgi.h>
21746: int
21747: main ()
21748: {
21749: NEOERR *err = cgi_display(NULL, NULL);
21750: ;
21751: return 0;
21752: }
21753: _ACEOF
21754: if ac_fn_c_try_link "$LINENO"; then :
21755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21756: $as_echo "yes" >&6; }
21757: else
21758: LIBS="$LIBS -lz";
21759: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760: /* end confdefs.h. */
21761: #include <cgi/cgi.h>
21762: int
21763: main ()
21764: {
21765: NEOERR *err = cgi_display(NULL, NULL);
21766: ;
21767: return 0;
21768: }
21769: _ACEOF
21770: if ac_fn_c_try_link "$LINENO"; then :
21771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, zlib required" >&5
21772: $as_echo "yes, zlib required" >&6; }
21773: else
21774: as_fn_error $? "not found" "$LINENO" 5
21775:
21776: fi
21777: rm -f core conftest.err conftest.$ac_objext \
21778: conftest$ac_exeext conftest.$ac_ext
21779:
21780: fi
21781: rm -f core conftest.err conftest.$ac_objext \
21782: conftest$ac_exeext conftest.$ac_ext
21783: clearsilver_LIBS="$LIBS"
21784:
21785: LIBS=$saved_LIBS
21786: CFLAGS=$saved_CFLAGS
21787:
21788: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FCGX_Init in -lfcgi" >&5
21789: $as_echo_n "checking for FCGX_Init in -lfcgi... " >&6; }
21790: if ${ac_cv_lib_fcgi_FCGX_Init+:} false; then :
21791: $as_echo_n "(cached) " >&6
21792: else
21793: ac_check_lib_save_LIBS=$LIBS
21794: LIBS="-lfcgi $LIBS"
21795: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796: /* end confdefs.h. */
21797:
21798: /* Override any GCC internal prototype to avoid an error.
21799: Use char because int might match the return type of a GCC
21800: builtin and then its argument prototype would still apply. */
21801: #ifdef __cplusplus
21802: extern "C"
21803: #endif
21804: char FCGX_Init ();
21805: int
21806: main ()
21807: {
21808: return FCGX_Init ();
21809: ;
21810: return 0;
21811: }
21812: _ACEOF
21813: if ac_fn_c_try_link "$LINENO"; then :
21814: ac_cv_lib_fcgi_FCGX_Init=yes
21815: else
21816: ac_cv_lib_fcgi_FCGX_Init=no
21817: fi
21818: rm -f core conftest.err conftest.$ac_objext \
21819: conftest$ac_exeext conftest.$ac_ext
21820: LIBS=$ac_check_lib_save_LIBS
21821: fi
21822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcgi_FCGX_Init" >&5
21823: $as_echo "$ac_cv_lib_fcgi_FCGX_Init" >&6; }
21824: if test "x$ac_cv_lib_fcgi_FCGX_Init" = xyes; then :
21825: LIBS="$LIBS"
21826: else
21827: as_fn_error $? "FastCGI library fcgi not found!" "$LINENO" 5
21828: fi
21829:
21830: ac_fn_c_check_header_mongrel "$LINENO" "fcgiapp.h" "ac_cv_header_fcgiapp_h" "$ac_includes_default"
21831: if test "x$ac_cv_header_fcgiapp_h" = xyes; then :
21832:
21833: else
21834: as_fn_error $? "FastCGI header file fcgiapp.h not found!" "$LINENO" 5
21835: fi
21836:
21837:
21838: fi
21839:
21840: if test x$mysql = xtrue; then
21841: if test "x$windows" = xtrue; then
21842: ac_fn_c_check_header_mongrel "$LINENO" "mysql.h" "ac_cv_header_mysql_h" "$ac_includes_default"
21843: if test "x$ac_cv_header_mysql_h" = xyes; then :
21844:
21845: else
21846: as_fn_error $? "MySQL header file mysql.h not found!" "$LINENO" 5
21847: fi
21848:
21849:
21850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mysql_database_init in -lmysql" >&5
21851: $as_echo_n "checking for mysql_database_init in -lmysql... " >&6; }
21852: if ${ac_cv_lib_mysql_mysql_database_init+:} false; then :
21853: $as_echo_n "(cached) " >&6
21854: else
21855: ac_check_lib_save_LIBS=$LIBS
21856: LIBS="-lmysql $LIBS"
21857: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858: /* end confdefs.h. */
21859:
21860: /* Override any GCC internal prototype to avoid an error.
21861: Use char because int might match the return type of a GCC
21862: builtin and then its argument prototype would still apply. */
21863: #ifdef __cplusplus
21864: extern "C"
21865: #endif
21866: char mysql_database_init ();
21867: int
21868: main ()
21869: {
21870: return mysql_database_init ();
21871: ;
21872: return 0;
21873: }
21874: _ACEOF
21875: if ac_fn_c_try_link "$LINENO"; then :
21876: ac_cv_lib_mysql_mysql_database_init=yes
21877: else
21878: ac_cv_lib_mysql_mysql_database_init=no
21879: fi
21880: rm -f core conftest.err conftest.$ac_objext \
21881: conftest$ac_exeext conftest.$ac_ext
21882: LIBS=$ac_check_lib_save_LIBS
21883: fi
21884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mysql_mysql_database_init" >&5
21885: $as_echo "$ac_cv_lib_mysql_mysql_database_init" >&6; }
21886: if test "x$ac_cv_lib_mysql_mysql_database_init" = xyes; then :
21887: LIBS="$LIBS"
21888: else
21889: as_fn_error $? "MySQL library not found!" "$LINENO" 5
21890: fi
21891:
21892: MYSQLLIB=-lmysql
21893:
21894: else
21895: # Extract the first word of "mysql_config", so it can be a program name with args.
21896: set dummy mysql_config; ac_word=$2
21897: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21898: $as_echo_n "checking for $ac_word... " >&6; }
21899: if ${ac_cv_path_MYSQLCONFIG+:} false; then :
21900: $as_echo_n "(cached) " >&6
21901: else
21902: case $MYSQLCONFIG in
21903: [\\/]* | ?:[\\/]*)
21904: ac_cv_path_MYSQLCONFIG="$MYSQLCONFIG" # Let the user override the test with a path.
21905: ;;
21906: *)
21907: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21908: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
21909: for as_dir in $as_dummy
21910: do
21911: IFS=$as_save_IFS
21912: test -z "$as_dir" && as_dir=.
21913: for ac_exec_ext in '' $ac_executable_extensions; do
21914: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21915: ac_cv_path_MYSQLCONFIG="$as_dir/$ac_word$ac_exec_ext"
21916: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21917: break 2
21918: fi
21919: done
21920: done
21921: IFS=$as_save_IFS
21922:
21923: ;;
21924: esac
21925: fi
21926: MYSQLCONFIG=$ac_cv_path_MYSQLCONFIG
21927: if test -n "$MYSQLCONFIG"; then
21928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MYSQLCONFIG" >&5
21929: $as_echo "$MYSQLCONFIG" >&6; }
21930: else
21931: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21932: $as_echo "no" >&6; }
21933: fi
21934:
21935:
21936: if test x$MYSQLCONFIG = x; then
21937: as_fn_error $? "mysql_config not found!" "$LINENO" 5
21938: fi
21939: MYSQLLIB=`$MYSQLCONFIG --libs_r`
21940:
21941: MYSQLCFLAG=`$MYSQLCONFIG --cflags`
21942:
21943: fi
21944: fi
21945:
21946: if test x$sqlite = xtrue; then
21947: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_open in -lsqlite3" >&5
21948: $as_echo_n "checking for sqlite3_open in -lsqlite3... " >&6; }
21949: if ${ac_cv_lib_sqlite3_sqlite3_open+:} false; then :
21950: $as_echo_n "(cached) " >&6
21951: else
21952: ac_check_lib_save_LIBS=$LIBS
21953: LIBS="-lsqlite3 $LIBS"
21954: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21955: /* end confdefs.h. */
21956:
21957: /* Override any GCC internal prototype to avoid an error.
21958: Use char because int might match the return type of a GCC
21959: builtin and then its argument prototype would still apply. */
21960: #ifdef __cplusplus
21961: extern "C"
21962: #endif
21963: char sqlite3_open ();
21964: int
21965: main ()
21966: {
21967: return sqlite3_open ();
21968: ;
21969: return 0;
21970: }
21971: _ACEOF
21972: if ac_fn_c_try_link "$LINENO"; then :
21973: ac_cv_lib_sqlite3_sqlite3_open=yes
21974: else
21975: ac_cv_lib_sqlite3_sqlite3_open=no
21976: fi
21977: rm -f core conftest.err conftest.$ac_objext \
21978: conftest$ac_exeext conftest.$ac_ext
21979: LIBS=$ac_check_lib_save_LIBS
21980: fi
21981: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_open" >&5
21982: $as_echo "$ac_cv_lib_sqlite3_sqlite3_open" >&6; }
21983: if test "x$ac_cv_lib_sqlite3_sqlite3_open" = xyes; then :
21984: LIBS="$LIBS"
21985: else
21986: as_fn_error $? "SQLite library sqlite3 not found" "$LINENO" 5
21987: fi
21988:
21989: ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
21990: if test "x$ac_cv_header_sqlite3_h" = xyes; then :
21991:
21992: else
21993: as_fn_error $? "SQLite header sqlite3.h not found!" "$LINENO" 5
21994: fi
21995:
21996:
21997: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3_prepare_v2" >&5
21998: $as_echo_n "checking sqlite3_prepare_v2... " >&6; }
21999: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22000: /* end confdefs.h. */
22001: #include <sqlite3.h>
22002: int
22003: main ()
22004: {
22005: void *test = sqlite3_prepare_v2;
22006: ;
22007: return 0;
22008: }
22009: _ACEOF
22010: if ac_fn_c_try_compile "$LINENO"; then :
22011: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22012: $as_echo "yes" >&6; };
22013:
22014: $as_echo "#define HAVE_SQLITE3_PREPARE_V2 /**/" >>confdefs.h
22015:
22016: else
22017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22018: $as_echo "no" >&6; }
22019:
22020: fi
22021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite3.h version >= 3.3.1" >&5
22023: $as_echo_n "checking sqlite3.h version >= 3.3.1... " >&6; }
22024: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22025: /* end confdefs.h. */
22026: #include <sqlite3.h>
22027: int
22028: main ()
22029: {
22030:
22031: #if SQLITE_VERSION_NUMBER < 3003001
22032: #error bad sqlite
22033: #endif
22034: ;
22035: return 0;
22036: }
22037: _ACEOF
22038: if ac_fn_c_try_compile "$LINENO"; then :
22039: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22040: $as_echo "yes" >&6; }
22041: else
22042: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22043: $as_echo "no" >&6; }; as_fn_error $? "SQLite version >= 3.3.1 required!" "$LINENO" 5
22044:
22045: fi
22046: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047: fi
22048:
22049: if test x$openssl = xtrue; then
22050: if test "x$windows" = xtrue; then
22051: openssl_lib=eay32
22052: as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
22053: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
22054: $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
22055: if eval \${$as_ac_Lib+:} false; then :
22056: $as_echo_n "(cached) " >&6
22057: else
22058: ac_check_lib_save_LIBS=$LIBS
22059: LIBS="-l$openssl_lib $DLLIB $LIBS"
22060: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22061: /* end confdefs.h. */
22062:
22063: /* Override any GCC internal prototype to avoid an error.
22064: Use char because int might match the return type of a GCC
22065: builtin and then its argument prototype would still apply. */
22066: #ifdef __cplusplus
22067: extern "C"
22068: #endif
22069: char EVP_CIPHER_CTX_new ();
22070: int
22071: main ()
22072: {
22073: return EVP_CIPHER_CTX_new ();
22074: ;
22075: return 0;
22076: }
22077: _ACEOF
22078: if ac_fn_c_try_link "$LINENO"; then :
22079: eval "$as_ac_Lib=yes"
22080: else
22081: eval "$as_ac_Lib=no"
22082: fi
22083: rm -f core conftest.err conftest.$ac_objext \
22084: conftest$ac_exeext conftest.$ac_ext
22085: LIBS=$ac_check_lib_save_LIBS
22086: fi
22087: eval ac_res=\$$as_ac_Lib
22088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22089: $as_echo "$ac_res" >&6; }
22090: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22091: LIBS="$LIBS"
22092: else
22093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22094: $as_echo "no" >&6; };openssl_lib=""
22095: fi
22096:
22097: fi
22098: if test -z "$openssl_lib"; then
22099: openssl_lib=crypto
22100: as_ac_Lib=`$as_echo "ac_cv_lib_$openssl_lib''_EVP_CIPHER_CTX_new" | $as_tr_sh`
22101: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVP_CIPHER_CTX_new in -l$openssl_lib" >&5
22102: $as_echo_n "checking for EVP_CIPHER_CTX_new in -l$openssl_lib... " >&6; }
22103: if eval \${$as_ac_Lib+:} false; then :
22104: $as_echo_n "(cached) " >&6
22105: else
22106: ac_check_lib_save_LIBS=$LIBS
22107: LIBS="-l$openssl_lib $DLLIB $LIBS"
22108: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22109: /* end confdefs.h. */
22110:
22111: /* Override any GCC internal prototype to avoid an error.
22112: Use char because int might match the return type of a GCC
22113: builtin and then its argument prototype would still apply. */
22114: #ifdef __cplusplus
22115: extern "C"
22116: #endif
22117: char EVP_CIPHER_CTX_new ();
22118: int
22119: main ()
22120: {
22121: return EVP_CIPHER_CTX_new ();
22122: ;
22123: return 0;
22124: }
22125: _ACEOF
22126: if ac_fn_c_try_link "$LINENO"; then :
22127: eval "$as_ac_Lib=yes"
22128: else
22129: eval "$as_ac_Lib=no"
22130: fi
22131: rm -f core conftest.err conftest.$ac_objext \
22132: conftest$ac_exeext conftest.$ac_ext
22133: LIBS=$ac_check_lib_save_LIBS
22134: fi
22135: eval ac_res=\$$as_ac_Lib
22136: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22137: $as_echo "$ac_res" >&6; }
22138: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
22139: LIBS="$LIBS"
22140: else
22141: as_fn_error $? "OpenSSL lib$openssl_lib not found" "$LINENO" 5
22142: fi
22143:
22144: fi
22145: OPENSSL_LIB=-l$openssl_lib
22146:
22147: ac_fn_c_check_header_mongrel "$LINENO" "openssl/evp.h" "ac_cv_header_openssl_evp_h" "$ac_includes_default"
22148: if test "x$ac_cv_header_openssl_evp_h" = xyes; then :
22149:
22150: else
22151: as_fn_error $? "OpenSSL header openssl/evp.h not found!" "$LINENO" 5
22152: fi
22153:
22154:
22155: fi
22156:
22157: if test x$wolfssl = xtrue; then
22158:
22159: pkg_failed=no
22160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wolfssl" >&5
22161: $as_echo_n "checking for wolfssl... " >&6; }
22162:
22163: if test -n "$wolfssl_CFLAGS"; then
22164: pkg_cv_wolfssl_CFLAGS="$wolfssl_CFLAGS"
22165: elif test -n "$PKG_CONFIG"; then
22166: if test -n "$PKG_CONFIG" && \
22167: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5
22168: ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5
22169: ac_status=$?
22170: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22171: test $ac_status = 0; }; then
22172: pkg_cv_wolfssl_CFLAGS=`$PKG_CONFIG --cflags "wolfssl" 2>/dev/null`
22173: test "x$?" != "x0" && pkg_failed=yes
22174: else
22175: pkg_failed=yes
22176: fi
22177: else
22178: pkg_failed=untried
22179: fi
22180: if test -n "$wolfssl_LIBS"; then
22181: pkg_cv_wolfssl_LIBS="$wolfssl_LIBS"
22182: elif test -n "$PKG_CONFIG"; then
22183: if test -n "$PKG_CONFIG" && \
22184: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wolfssl\""; } >&5
22185: ($PKG_CONFIG --exists --print-errors "wolfssl") 2>&5
22186: ac_status=$?
22187: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22188: test $ac_status = 0; }; then
22189: pkg_cv_wolfssl_LIBS=`$PKG_CONFIG --libs "wolfssl" 2>/dev/null`
22190: test "x$?" != "x0" && pkg_failed=yes
22191: else
22192: pkg_failed=yes
22193: fi
22194: else
22195: pkg_failed=untried
22196: fi
22197:
22198:
22199:
22200: if test $pkg_failed = yes; then
22201: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22202: $as_echo "no" >&6; }
22203:
22204: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22205: _pkg_short_errors_supported=yes
22206: else
22207: _pkg_short_errors_supported=no
22208: fi
22209: if test $_pkg_short_errors_supported = yes; then
22210: wolfssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wolfssl" 2>&1`
22211: else
22212: wolfssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wolfssl" 2>&1`
22213: fi
22214: # Put the nasty error message in config.log where it belongs
22215: echo "$wolfssl_PKG_ERRORS" >&5
22216:
22217: as_fn_error $? "Package requirements (wolfssl) were not met:
22218:
22219: $wolfssl_PKG_ERRORS
22220:
22221: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22222: installed software in a non-standard prefix.
22223:
22224: Alternatively, you may set the environment variables wolfssl_CFLAGS
22225: and wolfssl_LIBS to avoid the need to call pkg-config.
22226: See the pkg-config man page for more details." "$LINENO" 5
22227: elif test $pkg_failed = untried; then
22228: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22229: $as_echo "no" >&6; }
22230: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22231: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22232: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22233: is in your PATH or set the PKG_CONFIG environment variable to the full
22234: path to pkg-config.
22235:
22236: Alternatively, you may set the environment variables wolfssl_CFLAGS
22237: and wolfssl_LIBS to avoid the need to call pkg-config.
22238: See the pkg-config man page for more details.
22239:
22240: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22241: See \`config.log' for more details" "$LINENO" 5; }
22242: else
22243: wolfssl_CFLAGS=$pkg_cv_wolfssl_CFLAGS
22244: wolfssl_LIBS=$pkg_cv_wolfssl_LIBS
22245: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22246: $as_echo "yes" >&6; }
22247:
22248: fi
22249:
22250:
22251: fi
22252:
22253: if test x$gcrypt = xtrue; then
22254: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcry_control in -lgcrypt" >&5
22255: $as_echo_n "checking for gcry_control in -lgcrypt... " >&6; }
22256: if ${ac_cv_lib_gcrypt_gcry_control+:} false; then :
22257: $as_echo_n "(cached) " >&6
22258: else
22259: ac_check_lib_save_LIBS=$LIBS
22260: LIBS="-lgcrypt -lgpg-error $LIBS"
22261: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262: /* end confdefs.h. */
22263:
22264: /* Override any GCC internal prototype to avoid an error.
22265: Use char because int might match the return type of a GCC
22266: builtin and then its argument prototype would still apply. */
22267: #ifdef __cplusplus
22268: extern "C"
22269: #endif
22270: char gcry_control ();
22271: int
22272: main ()
22273: {
22274: return gcry_control ();
22275: ;
22276: return 0;
22277: }
22278: _ACEOF
22279: if ac_fn_c_try_link "$LINENO"; then :
22280: ac_cv_lib_gcrypt_gcry_control=yes
22281: else
22282: ac_cv_lib_gcrypt_gcry_control=no
22283: fi
22284: rm -f core conftest.err conftest.$ac_objext \
22285: conftest$ac_exeext conftest.$ac_ext
22286: LIBS=$ac_check_lib_save_LIBS
22287: fi
22288: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gcrypt_gcry_control" >&5
22289: $as_echo "$ac_cv_lib_gcrypt_gcry_control" >&6; }
22290: if test "x$ac_cv_lib_gcrypt_gcry_control" = xyes; then :
22291: LIBS="$LIBS"
22292: else
22293: as_fn_error $? "gcrypt library not found" "$LINENO" 5
22294: fi
22295:
22296: ac_fn_c_check_header_mongrel "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
22297: if test "x$ac_cv_header_gcrypt_h" = xyes; then :
22298:
22299: else
22300: as_fn_error $? "gcrypt header gcrypt.h not found!" "$LINENO" 5
22301: fi
22302:
22303:
22304: { $as_echo "$as_me:${as_lineno-$LINENO}: checking gcrypt CAMELLIA cipher" >&5
22305: $as_echo_n "checking gcrypt CAMELLIA cipher... " >&6; }
22306: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307: /* end confdefs.h. */
22308: #include <gcrypt.h>
22309: int
22310: main ()
22311: {
22312: enum gcry_cipher_algos alg = GCRY_CIPHER_CAMELLIA128;
22313: ;
22314: return 0;
22315: }
22316: _ACEOF
22317: if ac_fn_c_try_compile "$LINENO"; then :
22318: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22319: $as_echo "yes" >&6; };
22320:
22321: $as_echo "#define HAVE_GCRY_CIPHER_CAMELLIA /**/" >>confdefs.h
22322:
22323: else
22324: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22325: $as_echo "no" >&6; }
22326:
22327: fi
22328: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22329: fi
22330:
22331: if test x$botan = xtrue; then
22332:
22333: pkg_failed=no
22334: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for botan" >&5
22335: $as_echo_n "checking for botan... " >&6; }
22336:
22337: if test -n "$botan_CFLAGS"; then
22338: pkg_cv_botan_CFLAGS="$botan_CFLAGS"
22339: elif test -n "$PKG_CONFIG"; then
22340: if test -n "$PKG_CONFIG" && \
1.1.1.2 ! misho 22341: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-3\""; } >&5
! 22342: ($PKG_CONFIG --exists --print-errors "botan-3") 2>&5
! 22343: ac_status=$?
! 22344: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 22345: test $ac_status = 0; }; then
! 22346: pkg_cv_botan_CFLAGS=`$PKG_CONFIG --cflags "botan-3" 2>/dev/null`
! 22347: test "x$?" != "x0" && pkg_failed=yes
! 22348: else
! 22349: pkg_failed=yes
! 22350: fi
! 22351: else
! 22352: pkg_failed=untried
! 22353: fi
! 22354: if test -n "$botan_LIBS"; then
! 22355: pkg_cv_botan_LIBS="$botan_LIBS"
! 22356: elif test -n "$PKG_CONFIG"; then
! 22357: if test -n "$PKG_CONFIG" && \
! 22358: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-3\""; } >&5
! 22359: ($PKG_CONFIG --exists --print-errors "botan-3") 2>&5
! 22360: ac_status=$?
! 22361: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 22362: test $ac_status = 0; }; then
! 22363: pkg_cv_botan_LIBS=`$PKG_CONFIG --libs "botan-3" 2>/dev/null`
! 22364: test "x$?" != "x0" && pkg_failed=yes
! 22365: else
! 22366: pkg_failed=yes
! 22367: fi
! 22368: else
! 22369: pkg_failed=untried
! 22370: fi
! 22371:
! 22372:
! 22373:
! 22374: if test $pkg_failed = yes; then
! 22375: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 22376: $as_echo "no" >&6; }
! 22377:
! 22378: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 22379: _pkg_short_errors_supported=yes
! 22380: else
! 22381: _pkg_short_errors_supported=no
! 22382: fi
! 22383: if test $_pkg_short_errors_supported = yes; then
! 22384: botan_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "botan-3" 2>&1`
! 22385: else
! 22386: botan_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "botan-3" 2>&1`
! 22387: fi
! 22388: # Put the nasty error message in config.log where it belongs
! 22389: echo "$botan_PKG_ERRORS" >&5
! 22390:
! 22391:
! 22392: pkg_failed=no
! 22393: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for botan" >&5
! 22394: $as_echo_n "checking for botan... " >&6; }
! 22395:
! 22396: if test -n "$botan_CFLAGS"; then
! 22397: pkg_cv_botan_CFLAGS="$botan_CFLAGS"
! 22398: elif test -n "$PKG_CONFIG"; then
! 22399: if test -n "$PKG_CONFIG" && \
! 22400: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
! 22401: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
! 22402: ac_status=$?
! 22403: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 22404: test $ac_status = 0; }; then
! 22405: pkg_cv_botan_CFLAGS=`$PKG_CONFIG --cflags "botan-2" 2>/dev/null`
! 22406: test "x$?" != "x0" && pkg_failed=yes
! 22407: else
! 22408: pkg_failed=yes
! 22409: fi
! 22410: else
! 22411: pkg_failed=untried
! 22412: fi
! 22413: if test -n "$botan_LIBS"; then
! 22414: pkg_cv_botan_LIBS="$botan_LIBS"
! 22415: elif test -n "$PKG_CONFIG"; then
! 22416: if test -n "$PKG_CONFIG" && \
! 22417: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
! 22418: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
! 22419: ac_status=$?
! 22420: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
! 22421: test $ac_status = 0; }; then
! 22422: pkg_cv_botan_LIBS=`$PKG_CONFIG --libs "botan-2" 2>/dev/null`
! 22423: test "x$?" != "x0" && pkg_failed=yes
! 22424: else
! 22425: pkg_failed=yes
! 22426: fi
! 22427: else
! 22428: pkg_failed=untried
! 22429: fi
! 22430:
! 22431:
! 22432:
! 22433: if test $pkg_failed = yes; then
! 22434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 22435: $as_echo "no" >&6; }
! 22436:
! 22437: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
! 22438: _pkg_short_errors_supported=yes
! 22439: else
! 22440: _pkg_short_errors_supported=no
! 22441: fi
! 22442: if test $_pkg_short_errors_supported = yes; then
! 22443: botan_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "botan-2" 2>&1`
! 22444: else
! 22445: botan_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "botan-2" 2>&1`
! 22446: fi
! 22447: # Put the nasty error message in config.log where it belongs
! 22448: echo "$botan_PKG_ERRORS" >&5
! 22449:
! 22450: as_fn_error $? "Package requirements (botan-2) were not met:
! 22451:
! 22452: $botan_PKG_ERRORS
! 22453:
! 22454: Consider adjusting the PKG_CONFIG_PATH environment variable if you
! 22455: installed software in a non-standard prefix.
! 22456:
! 22457: Alternatively, you may set the environment variables botan_CFLAGS
! 22458: and botan_LIBS to avoid the need to call pkg-config.
! 22459: See the pkg-config man page for more details." "$LINENO" 5
! 22460: elif test $pkg_failed = untried; then
! 22461: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 22462: $as_echo "no" >&6; }
! 22463: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
! 22464: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
! 22465: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
! 22466: is in your PATH or set the PKG_CONFIG environment variable to the full
! 22467: path to pkg-config.
! 22468:
! 22469: Alternatively, you may set the environment variables botan_CFLAGS
! 22470: and botan_LIBS to avoid the need to call pkg-config.
! 22471: See the pkg-config man page for more details.
! 22472:
! 22473: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
! 22474: See \`config.log' for more details" "$LINENO" 5; }
! 22475: else
! 22476: botan_CFLAGS=$pkg_cv_botan_CFLAGS
! 22477: botan_LIBS=$pkg_cv_botan_LIBS
! 22478: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 22479: $as_echo "yes" >&6; }
! 22480:
! 22481: fi
! 22482: elif test $pkg_failed = untried; then
! 22483: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
! 22484: $as_echo "no" >&6; }
! 22485:
! 22486: pkg_failed=no
! 22487: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for botan" >&5
! 22488: $as_echo_n "checking for botan... " >&6; }
! 22489:
! 22490: if test -n "$botan_CFLAGS"; then
! 22491: pkg_cv_botan_CFLAGS="$botan_CFLAGS"
! 22492: elif test -n "$PKG_CONFIG"; then
! 22493: if test -n "$PKG_CONFIG" && \
1.1 misho 22494: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
22495: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
22496: ac_status=$?
22497: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22498: test $ac_status = 0; }; then
22499: pkg_cv_botan_CFLAGS=`$PKG_CONFIG --cflags "botan-2" 2>/dev/null`
22500: test "x$?" != "x0" && pkg_failed=yes
22501: else
22502: pkg_failed=yes
22503: fi
22504: else
22505: pkg_failed=untried
22506: fi
22507: if test -n "$botan_LIBS"; then
22508: pkg_cv_botan_LIBS="$botan_LIBS"
22509: elif test -n "$PKG_CONFIG"; then
22510: if test -n "$PKG_CONFIG" && \
22511: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"botan-2\""; } >&5
22512: ($PKG_CONFIG --exists --print-errors "botan-2") 2>&5
22513: ac_status=$?
22514: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22515: test $ac_status = 0; }; then
22516: pkg_cv_botan_LIBS=`$PKG_CONFIG --libs "botan-2" 2>/dev/null`
22517: test "x$?" != "x0" && pkg_failed=yes
22518: else
22519: pkg_failed=yes
22520: fi
22521: else
22522: pkg_failed=untried
22523: fi
22524:
22525:
22526:
22527: if test $pkg_failed = yes; then
22528: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22529: $as_echo "no" >&6; }
22530:
22531: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22532: _pkg_short_errors_supported=yes
22533: else
22534: _pkg_short_errors_supported=no
22535: fi
22536: if test $_pkg_short_errors_supported = yes; then
22537: botan_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "botan-2" 2>&1`
22538: else
22539: botan_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "botan-2" 2>&1`
22540: fi
22541: # Put the nasty error message in config.log where it belongs
22542: echo "$botan_PKG_ERRORS" >&5
22543:
22544: as_fn_error $? "Package requirements (botan-2) were not met:
22545:
22546: $botan_PKG_ERRORS
22547:
22548: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22549: installed software in a non-standard prefix.
22550:
22551: Alternatively, you may set the environment variables botan_CFLAGS
22552: and botan_LIBS to avoid the need to call pkg-config.
22553: See the pkg-config man page for more details." "$LINENO" 5
22554: elif test $pkg_failed = untried; then
22555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22556: $as_echo "no" >&6; }
22557: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22558: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22559: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22560: is in your PATH or set the PKG_CONFIG environment variable to the full
22561: path to pkg-config.
22562:
22563: Alternatively, you may set the environment variables botan_CFLAGS
22564: and botan_LIBS to avoid the need to call pkg-config.
22565: See the pkg-config man page for more details.
22566:
22567: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22568: See \`config.log' for more details" "$LINENO" 5; }
22569: else
22570: botan_CFLAGS=$pkg_cv_botan_CFLAGS
22571: botan_LIBS=$pkg_cv_botan_LIBS
22572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22573: $as_echo "yes" >&6; }
22574:
22575: fi
1.1.1.2 ! misho 22576: else
! 22577: botan_CFLAGS=$pkg_cv_botan_CFLAGS
! 22578: botan_LIBS=$pkg_cv_botan_LIBS
! 22579: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
! 22580: $as_echo "yes" >&6; }
! 22581:
! 22582: fi
1.1 misho 22583:
22584:
1.1.1.2 ! misho 22585: saved_LIBS=$LIBS
! 22586: LIBS="$botan_LIBS"
! 22587: for ac_func in botan_rng_init_custom
! 22588: do :
! 22589: ac_fn_c_check_func "$LINENO" "botan_rng_init_custom" "ac_cv_func_botan_rng_init_custom"
! 22590: if test "x$ac_cv_func_botan_rng_init_custom" = xyes; then :
! 22591: cat >>confdefs.h <<_ACEOF
! 22592: #define HAVE_BOTAN_RNG_INIT_CUSTOM 1
! 22593: _ACEOF
! 22594:
! 22595: fi
! 22596: done
! 22597:
! 22598: LIBS=$saved_LIBS
1.1 misho 22599: fi
22600:
22601: if test x$uci = xtrue; then
22602: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uci_alloc_context in -luci" >&5
22603: $as_echo_n "checking for uci_alloc_context in -luci... " >&6; }
22604: if ${ac_cv_lib_uci_uci_alloc_context+:} false; then :
22605: $as_echo_n "(cached) " >&6
22606: else
22607: ac_check_lib_save_LIBS=$LIBS
22608: LIBS="-luci $LIBS"
22609: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22610: /* end confdefs.h. */
22611:
22612: /* Override any GCC internal prototype to avoid an error.
22613: Use char because int might match the return type of a GCC
22614: builtin and then its argument prototype would still apply. */
22615: #ifdef __cplusplus
22616: extern "C"
22617: #endif
22618: char uci_alloc_context ();
22619: int
22620: main ()
22621: {
22622: return uci_alloc_context ();
22623: ;
22624: return 0;
22625: }
22626: _ACEOF
22627: if ac_fn_c_try_link "$LINENO"; then :
22628: ac_cv_lib_uci_uci_alloc_context=yes
22629: else
22630: ac_cv_lib_uci_uci_alloc_context=no
22631: fi
22632: rm -f core conftest.err conftest.$ac_objext \
22633: conftest$ac_exeext conftest.$ac_ext
22634: LIBS=$ac_check_lib_save_LIBS
22635: fi
22636: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uci_uci_alloc_context" >&5
22637: $as_echo "$ac_cv_lib_uci_uci_alloc_context" >&6; }
22638: if test "x$ac_cv_lib_uci_uci_alloc_context" = xyes; then :
22639: LIBS="$LIBS"
22640: else
22641: as_fn_error $? "UCI library libuci not found" "$LINENO" 5
22642: fi
22643:
22644: ac_fn_c_check_header_mongrel "$LINENO" "uci.h" "ac_cv_header_uci_h" "$ac_includes_default"
22645: if test "x$ac_cv_header_uci_h" = xyes; then :
22646:
22647: else
22648: as_fn_error $? "UCI header uci.h not found!" "$LINENO" 5
22649: fi
22650:
22651:
22652: fi
22653:
22654: if test x$android_dns = xtrue; then
22655: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for property_get in -lcutils" >&5
22656: $as_echo_n "checking for property_get in -lcutils... " >&6; }
22657: if ${ac_cv_lib_cutils_property_get+:} false; then :
22658: $as_echo_n "(cached) " >&6
22659: else
22660: ac_check_lib_save_LIBS=$LIBS
22661: LIBS="-lcutils $LIBS"
22662: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663: /* end confdefs.h. */
22664:
22665: /* Override any GCC internal prototype to avoid an error.
22666: Use char because int might match the return type of a GCC
22667: builtin and then its argument prototype would still apply. */
22668: #ifdef __cplusplus
22669: extern "C"
22670: #endif
22671: char property_get ();
22672: int
22673: main ()
22674: {
22675: return property_get ();
22676: ;
22677: return 0;
22678: }
22679: _ACEOF
22680: if ac_fn_c_try_link "$LINENO"; then :
22681: ac_cv_lib_cutils_property_get=yes
22682: else
22683: ac_cv_lib_cutils_property_get=no
22684: fi
22685: rm -f core conftest.err conftest.$ac_objext \
22686: conftest$ac_exeext conftest.$ac_ext
22687: LIBS=$ac_check_lib_save_LIBS
22688: fi
22689: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cutils_property_get" >&5
22690: $as_echo "$ac_cv_lib_cutils_property_get" >&6; }
22691: if test "x$ac_cv_lib_cutils_property_get" = xyes; then :
22692: LIBS="$LIBS"
22693: else
22694: as_fn_error $? "Android library libcutils not found" "$LINENO" 5
22695: fi
22696:
22697: ac_fn_c_check_header_mongrel "$LINENO" "cutils/properties.h" "ac_cv_header_cutils_properties_h" "$ac_includes_default"
22698: if test "x$ac_cv_header_cutils_properties_h" = xyes; then :
22699:
22700: else
22701: as_fn_error $? "Android header cutils/properties.h not found!" "$LINENO" 5
22702: fi
22703:
22704:
22705: # we have to force the use of libdl here because the autodetection
22706: # above does not work correctly when cross-compiling for android.
22707: DLLIB="-ldl"
22708:
22709: fi
22710:
22711: if test x$eap_sim_pcsc = xtrue; then
22712:
22713: pkg_failed=no
22714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcsclite" >&5
22715: $as_echo_n "checking for pcsclite... " >&6; }
22716:
22717: if test -n "$pcsclite_CFLAGS"; then
22718: pkg_cv_pcsclite_CFLAGS="$pcsclite_CFLAGS"
22719: elif test -n "$PKG_CONFIG"; then
22720: if test -n "$PKG_CONFIG" && \
22721: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
22722: ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
22723: ac_status=$?
22724: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22725: test $ac_status = 0; }; then
22726: pkg_cv_pcsclite_CFLAGS=`$PKG_CONFIG --cflags "libpcsclite" 2>/dev/null`
22727: test "x$?" != "x0" && pkg_failed=yes
22728: else
22729: pkg_failed=yes
22730: fi
22731: else
22732: pkg_failed=untried
22733: fi
22734: if test -n "$pcsclite_LIBS"; then
22735: pkg_cv_pcsclite_LIBS="$pcsclite_LIBS"
22736: elif test -n "$PKG_CONFIG"; then
22737: if test -n "$PKG_CONFIG" && \
22738: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcsclite\""; } >&5
22739: ($PKG_CONFIG --exists --print-errors "libpcsclite") 2>&5
22740: ac_status=$?
22741: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22742: test $ac_status = 0; }; then
22743: pkg_cv_pcsclite_LIBS=`$PKG_CONFIG --libs "libpcsclite" 2>/dev/null`
22744: test "x$?" != "x0" && pkg_failed=yes
22745: else
22746: pkg_failed=yes
22747: fi
22748: else
22749: pkg_failed=untried
22750: fi
22751:
22752:
22753:
22754: if test $pkg_failed = yes; then
22755: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22756: $as_echo "no" >&6; }
22757:
22758: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22759: _pkg_short_errors_supported=yes
22760: else
22761: _pkg_short_errors_supported=no
22762: fi
22763: if test $_pkg_short_errors_supported = yes; then
22764: pcsclite_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcsclite" 2>&1`
22765: else
22766: pcsclite_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcsclite" 2>&1`
22767: fi
22768: # Put the nasty error message in config.log where it belongs
22769: echo "$pcsclite_PKG_ERRORS" >&5
22770:
22771: as_fn_error $? "Package requirements (libpcsclite) were not met:
22772:
22773: $pcsclite_PKG_ERRORS
22774:
22775: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22776: installed software in a non-standard prefix.
22777:
22778: Alternatively, you may set the environment variables pcsclite_CFLAGS
22779: and pcsclite_LIBS to avoid the need to call pkg-config.
22780: See the pkg-config man page for more details." "$LINENO" 5
22781: elif test $pkg_failed = untried; then
22782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22783: $as_echo "no" >&6; }
22784: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22785: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22786: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22787: is in your PATH or set the PKG_CONFIG environment variable to the full
22788: path to pkg-config.
22789:
22790: Alternatively, you may set the environment variables pcsclite_CFLAGS
22791: and pcsclite_LIBS to avoid the need to call pkg-config.
22792: See the pkg-config man page for more details.
22793:
22794: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22795: See \`config.log' for more details" "$LINENO" 5; }
22796: else
22797: pcsclite_CFLAGS=$pkg_cv_pcsclite_CFLAGS
22798: pcsclite_LIBS=$pkg_cv_pcsclite_LIBS
22799: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22800: $as_echo "yes" >&6; }
22801:
22802: fi
22803:
22804:
22805: fi
22806:
22807: if test x$nm = xtrue; then
22808:
22809: pkg_failed=no
22810: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nm" >&5
22811: $as_echo_n "checking for nm... " >&6; }
22812:
22813: if test -n "$nm_CFLAGS"; then
22814: pkg_cv_nm_CFLAGS="$nm_CFLAGS"
22815: elif test -n "$PKG_CONFIG"; then
22816: if test -n "$PKG_CONFIG" && \
22817: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
22818: ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
22819: ac_status=$?
22820: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22821: test $ac_status = 0; }; then
22822: pkg_cv_nm_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0 libnm" 2>/dev/null`
22823: test "x$?" != "x0" && pkg_failed=yes
22824: else
22825: pkg_failed=yes
22826: fi
22827: else
22828: pkg_failed=untried
22829: fi
22830: if test -n "$nm_LIBS"; then
22831: pkg_cv_nm_LIBS="$nm_LIBS"
22832: elif test -n "$PKG_CONFIG"; then
22833: if test -n "$PKG_CONFIG" && \
22834: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gthread-2.0 libnm\""; } >&5
22835: ($PKG_CONFIG --exists --print-errors "gthread-2.0 libnm") 2>&5
22836: ac_status=$?
22837: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22838: test $ac_status = 0; }; then
22839: pkg_cv_nm_LIBS=`$PKG_CONFIG --libs "gthread-2.0 libnm" 2>/dev/null`
22840: test "x$?" != "x0" && pkg_failed=yes
22841: else
22842: pkg_failed=yes
22843: fi
22844: else
22845: pkg_failed=untried
22846: fi
22847:
22848:
22849:
22850: if test $pkg_failed = yes; then
22851: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22852: $as_echo "no" >&6; }
22853:
22854: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22855: _pkg_short_errors_supported=yes
22856: else
22857: _pkg_short_errors_supported=no
22858: fi
22859: if test $_pkg_short_errors_supported = yes; then
22860: nm_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
22861: else
22862: nm_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gthread-2.0 libnm" 2>&1`
22863: fi
22864: # Put the nasty error message in config.log where it belongs
22865: echo "$nm_PKG_ERRORS" >&5
22866:
22867: as_fn_error $? "Package requirements (gthread-2.0 libnm) were not met:
22868:
22869: $nm_PKG_ERRORS
22870:
22871: Consider adjusting the PKG_CONFIG_PATH environment variable if you
22872: installed software in a non-standard prefix.
22873:
22874: Alternatively, you may set the environment variables nm_CFLAGS
22875: and nm_LIBS to avoid the need to call pkg-config.
22876: See the pkg-config man page for more details." "$LINENO" 5
22877: elif test $pkg_failed = untried; then
22878: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22879: $as_echo "no" >&6; }
22880: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22881: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22882: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
22883: is in your PATH or set the PKG_CONFIG environment variable to the full
22884: path to pkg-config.
22885:
22886: Alternatively, you may set the environment variables nm_CFLAGS
22887: and nm_LIBS to avoid the need to call pkg-config.
22888: See the pkg-config man page for more details.
22889:
22890: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
22891: See \`config.log' for more details" "$LINENO" 5; }
22892: else
22893: nm_CFLAGS=$pkg_cv_nm_CFLAGS
22894: nm_LIBS=$pkg_cv_nm_LIBS
22895: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22896: $as_echo "yes" >&6; }
22897:
22898: fi
22899:
22900:
22901:
22902: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus policy directory" >&5
22903: $as_echo_n "checking for D-Bus policy directory... " >&6; }
22904: if test -n "$dbuspolicydir" -a "x$dbuspolicydir" != xno; then
22905: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbuspolicydir" >&5
22906: $as_echo "$dbuspolicydir" >&6; }
22907: else
22908: as_fn_error $? "not found (try --with-dbuspolicydir)" "$LINENO" 5
22909: fi
22910: fi
22911:
22912: if test x$xauth_pam = xtrue; then
22913: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
22914: $as_echo_n "checking for pam_start in -lpam... " >&6; }
22915: if ${ac_cv_lib_pam_pam_start+:} false; then :
22916: $as_echo_n "(cached) " >&6
22917: else
22918: ac_check_lib_save_LIBS=$LIBS
22919: LIBS="-lpam $LIBS"
22920: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22921: /* end confdefs.h. */
22922:
22923: /* Override any GCC internal prototype to avoid an error.
22924: Use char because int might match the return type of a GCC
22925: builtin and then its argument prototype would still apply. */
22926: #ifdef __cplusplus
22927: extern "C"
22928: #endif
22929: char pam_start ();
22930: int
22931: main ()
22932: {
22933: return pam_start ();
22934: ;
22935: return 0;
22936: }
22937: _ACEOF
22938: if ac_fn_c_try_link "$LINENO"; then :
22939: ac_cv_lib_pam_pam_start=yes
22940: else
22941: ac_cv_lib_pam_pam_start=no
22942: fi
22943: rm -f core conftest.err conftest.$ac_objext \
22944: conftest$ac_exeext conftest.$ac_ext
22945: LIBS=$ac_check_lib_save_LIBS
22946: fi
22947: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
22948: $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
22949: if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
22950: LIBS="$LIBS"
22951: else
22952: as_fn_error $? "PAM library not found" "$LINENO" 5
22953: fi
22954:
22955: ac_fn_c_check_header_mongrel "$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
22956: if test "x$ac_cv_header_security_pam_appl_h" = xyes; then :
22957:
22958: else
22959: as_fn_error $? "PAM header security/pam_appl.h not found!" "$LINENO" 5
22960: fi
22961:
22962:
22963: fi
22964:
22965: if test x$connmark = xtrue -o x$forecast = xtrue; then
22966:
22967: pkg_failed=no
22968: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiptc" >&5
22969: $as_echo_n "checking for libiptc... " >&6; }
22970:
22971: if test -n "$libiptc_CFLAGS"; then
22972: pkg_cv_libiptc_CFLAGS="$libiptc_CFLAGS"
22973: elif test -n "$PKG_CONFIG"; then
22974: if test -n "$PKG_CONFIG" && \
22975: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libip4tc\""; } >&5
22976: ($PKG_CONFIG --exists --print-errors "libip4tc") 2>&5
22977: ac_status=$?
22978: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22979: test $ac_status = 0; }; then
22980: pkg_cv_libiptc_CFLAGS=`$PKG_CONFIG --cflags "libip4tc" 2>/dev/null`
22981: test "x$?" != "x0" && pkg_failed=yes
22982: else
22983: pkg_failed=yes
22984: fi
22985: else
22986: pkg_failed=untried
22987: fi
22988: if test -n "$libiptc_LIBS"; then
22989: pkg_cv_libiptc_LIBS="$libiptc_LIBS"
22990: elif test -n "$PKG_CONFIG"; then
22991: if test -n "$PKG_CONFIG" && \
22992: { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libip4tc\""; } >&5
22993: ($PKG_CONFIG --exists --print-errors "libip4tc") 2>&5
22994: ac_status=$?
22995: $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22996: test $ac_status = 0; }; then
22997: pkg_cv_libiptc_LIBS=`$PKG_CONFIG --libs "libip4tc" 2>/dev/null`
22998: test "x$?" != "x0" && pkg_failed=yes
22999: else
23000: pkg_failed=yes
23001: fi
23002: else
23003: pkg_failed=untried
23004: fi
23005:
23006:
23007:
23008: if test $pkg_failed = yes; then
23009: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23010: $as_echo "no" >&6; }
23011:
23012: if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23013: _pkg_short_errors_supported=yes
23014: else
23015: _pkg_short_errors_supported=no
23016: fi
23017: if test $_pkg_short_errors_supported = yes; then
23018: libiptc_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libip4tc" 2>&1`
23019: else
23020: libiptc_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libip4tc" 2>&1`
23021: fi
23022: # Put the nasty error message in config.log where it belongs
23023: echo "$libiptc_PKG_ERRORS" >&5
23024:
23025: as_fn_error $? "Package requirements (libip4tc) were not met:
23026:
23027: $libiptc_PKG_ERRORS
23028:
23029: Consider adjusting the PKG_CONFIG_PATH environment variable if you
23030: installed software in a non-standard prefix.
23031:
23032: Alternatively, you may set the environment variables libiptc_CFLAGS
23033: and libiptc_LIBS to avoid the need to call pkg-config.
23034: See the pkg-config man page for more details." "$LINENO" 5
23035: elif test $pkg_failed = untried; then
23036: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23037: $as_echo "no" >&6; }
23038: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23039: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23040: as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23041: is in your PATH or set the PKG_CONFIG environment variable to the full
23042: path to pkg-config.
23043:
23044: Alternatively, you may set the environment variables libiptc_CFLAGS
23045: and libiptc_LIBS to avoid the need to call pkg-config.
23046: See the pkg-config man page for more details.
23047:
23048: To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23049: See \`config.log' for more details" "$LINENO" 5; }
23050: else
23051: libiptc_CFLAGS=$pkg_cv_libiptc_CFLAGS
23052: libiptc_LIBS=$pkg_cv_libiptc_LIBS
23053: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23054: $as_echo "yes" >&6; }
23055:
23056: fi
23057:
23058:
23059: fi
23060:
23061: if test x$capabilities = xnative; then
23062: { $as_echo "$as_me:${as_lineno-$LINENO}: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&5
23063: $as_echo "$as_me: Usage of the native Linux capabilities interface is deprecated, use libcap instead" >&6;}
23064: # Linux requires the following for capset(), Android does not have it,
23065: # but defines capset() in unistd.h instead.
23066: for ac_header in sys/capability.h
23067: do :
23068: ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
23069: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
23070: cat >>confdefs.h <<_ACEOF
23071: #define HAVE_SYS_CAPABILITY_H 1
23072: _ACEOF
23073:
23074: fi
23075:
23076: done
23077:
23078: ac_fn_c_check_func "$LINENO" "capset" "ac_cv_func_capset"
23079: if test "x$ac_cv_func_capset" = xyes; then :
23080:
23081: else
23082: as_fn_error $? "capset() not found!" "$LINENO" 5
23083: fi
23084:
23085:
23086: $as_echo "#define CAPABILITIES_NATIVE /**/" >>confdefs.h
23087:
23088: fi
23089:
23090: if test x$capabilities = xlibcap; then
23091: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
23092: $as_echo_n "checking for cap_init in -lcap... " >&6; }
23093: if ${ac_cv_lib_cap_cap_init+:} false; then :
23094: $as_echo_n "(cached) " >&6
23095: else
23096: ac_check_lib_save_LIBS=$LIBS
23097: LIBS="-lcap $LIBS"
23098: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23099: /* end confdefs.h. */
23100:
23101: /* Override any GCC internal prototype to avoid an error.
23102: Use char because int might match the return type of a GCC
23103: builtin and then its argument prototype would still apply. */
23104: #ifdef __cplusplus
23105: extern "C"
23106: #endif
23107: char cap_init ();
23108: int
23109: main ()
23110: {
23111: return cap_init ();
23112: ;
23113: return 0;
23114: }
23115: _ACEOF
23116: if ac_fn_c_try_link "$LINENO"; then :
23117: ac_cv_lib_cap_cap_init=yes
23118: else
23119: ac_cv_lib_cap_cap_init=no
23120: fi
23121: rm -f core conftest.err conftest.$ac_objext \
23122: conftest$ac_exeext conftest.$ac_ext
23123: LIBS=$ac_check_lib_save_LIBS
23124: fi
23125: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
23126: $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
23127: if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
23128: LIBS="$LIBS"
23129: else
23130: as_fn_error $? "libcap library not found" "$LINENO" 5
23131: fi
23132:
23133: ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
23134: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
23135:
23136: $as_echo "#define HAVE_SYS_CAPABILITY_H /**/" >>confdefs.h
23137:
23138: else
23139: as_fn_error $? "libcap header sys/capability.h not found!" "$LINENO" 5
23140: fi
23141:
23142:
23143:
23144: $as_echo "#define CAPABILITIES_LIBCAP /**/" >>confdefs.h
23145:
23146: fi
23147:
23148: if test x$integrity_test = xtrue; then
23149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr()" >&5
23150: $as_echo_n "checking for dladdr()... " >&6; }
23151: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23152: /* end confdefs.h. */
23153: #define _GNU_SOURCE
23154: #include <dlfcn.h>
23155: int
23156: main ()
23157: {
23158: Dl_info info; dladdr(main, &info);
23159: ;
23160: return 0;
23161: }
23162: _ACEOF
23163: if ac_fn_c_try_compile "$LINENO"; then :
23164: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23165: $as_echo "yes" >&6; }
23166: else
23167: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23168: $as_echo "no" >&6; };
23169: as_fn_error $? "dladdr() not supported, required by integrity-test!" "$LINENO" 5
23170:
23171: fi
23172: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dl_iterate_phdr()" >&5
23174: $as_echo_n "checking for dl_iterate_phdr()... " >&6; }
23175: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23176: /* end confdefs.h. */
23177: #define _GNU_SOURCE
23178: #include <link.h>
23179: int
23180: main ()
23181: {
23182: dl_iterate_phdr((void*)0, (void*)0);
23183: ;
23184: return 0;
23185: }
23186: _ACEOF
23187: if ac_fn_c_try_compile "$LINENO"; then :
23188: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23189: $as_echo "yes" >&6; }
23190: else
23191: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23192: $as_echo "no" >&6; };
23193: as_fn_error $? "dl_iterate_phdr() not supported, required by integrity-test!" "$LINENO" 5
23194:
23195: fi
23196: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197: fi
23198:
23199: if test x$bfd_backtraces = xtrue; then
23200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bfd_init in -lbfd" >&5
23201: $as_echo_n "checking for bfd_init in -lbfd... " >&6; }
23202: if ${ac_cv_lib_bfd_bfd_init+:} false; then :
23203: $as_echo_n "(cached) " >&6
23204: else
23205: ac_check_lib_save_LIBS=$LIBS
23206: LIBS="-lbfd $LIBS"
23207: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23208: /* end confdefs.h. */
23209:
23210: /* Override any GCC internal prototype to avoid an error.
23211: Use char because int might match the return type of a GCC
23212: builtin and then its argument prototype would still apply. */
23213: #ifdef __cplusplus
23214: extern "C"
23215: #endif
23216: char bfd_init ();
23217: int
23218: main ()
23219: {
23220: return bfd_init ();
23221: ;
23222: return 0;
23223: }
23224: _ACEOF
23225: if ac_fn_c_try_link "$LINENO"; then :
23226: ac_cv_lib_bfd_bfd_init=yes
23227: else
23228: ac_cv_lib_bfd_bfd_init=no
23229: fi
23230: rm -f core conftest.err conftest.$ac_objext \
23231: conftest$ac_exeext conftest.$ac_ext
23232: LIBS=$ac_check_lib_save_LIBS
23233: fi
23234: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfd_bfd_init" >&5
23235: $as_echo "$ac_cv_lib_bfd_bfd_init" >&6; }
23236: if test "x$ac_cv_lib_bfd_bfd_init" = xyes; then :
23237: LIBS="$LIBS"
23238: else
23239: as_fn_error $? "binutils libbfd not found!" "$LINENO" 5
23240: fi
23241:
23242: ac_fn_c_check_header_mongrel "$LINENO" "bfd.h" "ac_cv_header_bfd_h" "$ac_includes_default"
23243: if test "x$ac_cv_header_bfd_h" = xyes; then :
23244:
23245: $as_echo "#define HAVE_BFD_H /**/" >>confdefs.h
23246:
23247: else
23248: as_fn_error $? "binutils bfd.h header not found!" "$LINENO" 5
23249: fi
23250:
23251:
23252: BFDLIB="-lbfd"
23253:
23254: fi
23255:
23256: if test x$unwind_backtraces = xtrue; then
23257: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_backtrace in -lunwind" >&5
23258: $as_echo_n "checking for unw_backtrace in -lunwind... " >&6; }
23259: if ${ac_cv_lib_unwind_unw_backtrace+:} false; then :
23260: $as_echo_n "(cached) " >&6
23261: else
23262: ac_check_lib_save_LIBS=$LIBS
23263: LIBS="-lunwind $LIBS"
23264: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265: /* end confdefs.h. */
23266:
23267: /* Override any GCC internal prototype to avoid an error.
23268: Use char because int might match the return type of a GCC
23269: builtin and then its argument prototype would still apply. */
23270: #ifdef __cplusplus
23271: extern "C"
23272: #endif
23273: char unw_backtrace ();
23274: int
23275: main ()
23276: {
23277: return unw_backtrace ();
23278: ;
23279: return 0;
23280: }
23281: _ACEOF
23282: if ac_fn_c_try_link "$LINENO"; then :
23283: ac_cv_lib_unwind_unw_backtrace=yes
23284: else
23285: ac_cv_lib_unwind_unw_backtrace=no
23286: fi
23287: rm -f core conftest.err conftest.$ac_objext \
23288: conftest$ac_exeext conftest.$ac_ext
23289: LIBS=$ac_check_lib_save_LIBS
23290: fi
23291: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unwind_unw_backtrace" >&5
23292: $as_echo "$ac_cv_lib_unwind_unw_backtrace" >&6; }
23293: if test "x$ac_cv_lib_unwind_unw_backtrace" = xyes; then :
23294: LIBS="$LIBS"
23295: else
23296: as_fn_error $? "libunwind not found!" "$LINENO" 5
23297: fi
23298:
23299: ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
23300: if test "x$ac_cv_header_libunwind_h" = xyes; then :
23301:
23302: $as_echo "#define HAVE_LIBUNWIND_H /**/" >>confdefs.h
23303:
23304: else
23305: as_fn_error $? "libunwind.h header not found!" "$LINENO" 5
23306: fi
23307:
23308:
23309: UNWINDLIB="-lunwind"
23310:
23311: fi
23312:
23313: if test "x$dev_headers" != xno; then
23314: USE_DEV_HEADERS_TRUE=
23315: USE_DEV_HEADERS_FALSE='#'
23316: else
23317: USE_DEV_HEADERS_TRUE='#'
23318: USE_DEV_HEADERS_FALSE=
23319: fi
23320:
23321: if test x$dev_headers = xyes; then
23322: dev_headers="$includedir/strongswan"
23323: fi
23324:
23325:
23326: CFLAGS="$CFLAGS -include `pwd`/config.h"
23327:
23328: if test x$tkm = xtrue; then
23329: # Extract the first word of "gprbuild", so it can be a program name with args.
23330: set dummy gprbuild; ac_word=$2
23331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23332: $as_echo_n "checking for $ac_word... " >&6; }
23333: if ${ac_cv_path_GPRBUILD+:} false; then :
23334: $as_echo_n "(cached) " >&6
23335: else
23336: case $GPRBUILD in
23337: [\\/]* | ?:[\\/]*)
23338: ac_cv_path_GPRBUILD="$GPRBUILD" # Let the user override the test with a path.
23339: ;;
23340: *)
23341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23342: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23343: for as_dir in $as_dummy
23344: do
23345: IFS=$as_save_IFS
23346: test -z "$as_dir" && as_dir=.
23347: for ac_exec_ext in '' $ac_executable_extensions; do
23348: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23349: ac_cv_path_GPRBUILD="$as_dir/$ac_word$ac_exec_ext"
23350: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23351: break 2
23352: fi
23353: done
23354: done
23355: IFS=$as_save_IFS
23356:
23357: ;;
23358: esac
23359: fi
23360: GPRBUILD=$ac_cv_path_GPRBUILD
23361: if test -n "$GPRBUILD"; then
23362: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPRBUILD" >&5
23363: $as_echo "$GPRBUILD" >&6; }
23364: else
23365: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23366: $as_echo "no" >&6; }
23367: fi
23368:
23369:
23370: if test x$GPRBUILD = x; then
23371: as_fn_error $? "gprbuild not found" "$LINENO" 5
23372: fi
23373: fi
23374:
23375: if test x$coverage = xtrue; then
23376: # Extract the first word of "lcov", so it can be a program name with args.
23377: set dummy lcov; ac_word=$2
23378: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23379: $as_echo_n "checking for $ac_word... " >&6; }
23380: if ${ac_cv_path_LCOV+:} false; then :
23381: $as_echo_n "(cached) " >&6
23382: else
23383: case $LCOV in
23384: [\\/]* | ?:[\\/]*)
23385: ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path.
23386: ;;
23387: *)
23388: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23389: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23390: for as_dir in $as_dummy
23391: do
23392: IFS=$as_save_IFS
23393: test -z "$as_dir" && as_dir=.
23394: for ac_exec_ext in '' $ac_executable_extensions; do
23395: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23396: ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext"
23397: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23398: break 2
23399: fi
23400: done
23401: done
23402: IFS=$as_save_IFS
23403:
23404: ;;
23405: esac
23406: fi
23407: LCOV=$ac_cv_path_LCOV
23408: if test -n "$LCOV"; then
23409: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
23410: $as_echo "$LCOV" >&6; }
23411: else
23412: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23413: $as_echo "no" >&6; }
23414: fi
23415:
23416:
23417: if test x$LCOV = x; then
23418: as_fn_error $? "lcov not found" "$LINENO" 5
23419: fi
23420: # Extract the first word of "genhtml", so it can be a program name with args.
23421: set dummy genhtml; ac_word=$2
23422: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23423: $as_echo_n "checking for $ac_word... " >&6; }
23424: if ${ac_cv_path_GENHTML+:} false; then :
23425: $as_echo_n "(cached) " >&6
23426: else
23427: case $GENHTML in
23428: [\\/]* | ?:[\\/]*)
23429: ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path.
23430: ;;
23431: *)
23432: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23433: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23434: for as_dir in $as_dummy
23435: do
23436: IFS=$as_save_IFS
23437: test -z "$as_dir" && as_dir=.
23438: for ac_exec_ext in '' $ac_executable_extensions; do
23439: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23440: ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext"
23441: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23442: break 2
23443: fi
23444: done
23445: done
23446: IFS=$as_save_IFS
23447:
23448: ;;
23449: esac
23450: fi
23451: GENHTML=$ac_cv_path_GENHTML
23452: if test -n "$GENHTML"; then
23453: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
23454: $as_echo "$GENHTML" >&6; }
23455: else
23456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23457: $as_echo "no" >&6; }
23458: fi
23459:
23460:
23461: if test x$GENHTML = x; then
23462: as_fn_error $? "genhtml not found" "$LINENO" 5
23463: fi
23464:
23465: COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
23466: COVERAGE_LDFLAGS="-fprofile-arcs"
23467:
23468:
23469: PLUGIN_CFLAGS="$PLUGIN_CFLAGS $COVERAGE_CFLAGS"
23470:
23471: { $as_echo "$as_me:${as_lineno-$LINENO}: coverage enabled, adding \"-g -O0\" to CFLAGS" >&5
23472: $as_echo "$as_me: coverage enabled, adding \"-g -O0\" to CFLAGS" >&6;}
23473: CFLAGS="${CFLAGS} -g -O0"
23474: fi
23475:
23476: if test x$fuzzing = xtrue; then
23477: case "$libfuzzer" in
23478: "")
23479: { $as_echo "$as_me:${as_lineno-$LINENO}: fuzz targets enabled without libFuzzer, using local driver" >&5
23480: $as_echo "$as_me: fuzz targets enabled without libFuzzer, using local driver" >&6;}
23481: CFLAGS="${CFLAGS} -fsanitize=address"
23482: libfuzzer="libFuzzerLocal.a"
23483: ;;
23484: "-fsanitize=fuzzer")
23485: libfuzzer=""
23486: FUZZING_CFLAGS="-fsanitize=fuzzer"
23487:
23488: ;;
23489: *)
23490: # required for libFuzzer
23491: FUZZING_LDFLAGS="-stdlib=libc++ -lstdc++"
23492: if test "$SANITIZER" = "coverage"; then
23493: FUZZING_LDFLAGS="$FUZZING_LDFLAGS -lm"
23494: fi
23495:
23496: ;;
23497: esac
23498: fi
23499:
23500: if test x$ruby_gems = xtrue; then
23501: # Extract the first word of "gem", so it can be a program name with args.
23502: set dummy gem; ac_word=$2
23503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23504: $as_echo_n "checking for $ac_word... " >&6; }
23505: if ${ac_cv_path_GEM+:} false; then :
23506: $as_echo_n "(cached) " >&6
23507: else
23508: case $GEM in
23509: [\\/]* | ?:[\\/]*)
23510: ac_cv_path_GEM="$GEM" # Let the user override the test with a path.
23511: ;;
23512: *)
23513: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23514: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23515: for as_dir in $as_dummy
23516: do
23517: IFS=$as_save_IFS
23518: test -z "$as_dir" && as_dir=.
23519: for ac_exec_ext in '' $ac_executable_extensions; do
23520: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23521: ac_cv_path_GEM="$as_dir/$ac_word$ac_exec_ext"
23522: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23523: break 2
23524: fi
23525: done
23526: done
23527: IFS=$as_save_IFS
23528:
23529: ;;
23530: esac
23531: fi
23532: GEM=$ac_cv_path_GEM
23533: if test -n "$GEM"; then
23534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEM" >&5
23535: $as_echo "$GEM" >&6; }
23536: else
23537: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23538: $as_echo "no" >&6; }
23539: fi
23540:
23541:
23542: if test x$GEM = x; then
23543: as_fn_error $? "RubyGems package manager not found" "$LINENO" 5
23544: fi
23545: if test "x$rubygemdir" = "xgem environment gemdir"; then
23546: rubygemdir=$($GEM environment gemdir)
23547: fi
23548: RUBYGEMDIR="$rubygemdir"
23549:
23550: fi
23551: if test "x$ruby_gems_install" = xtrue; then
23552: RUBY_GEMS_INSTALL_TRUE=
23553: RUBY_GEMS_INSTALL_FALSE='#'
23554: else
23555: RUBY_GEMS_INSTALL_TRUE='#'
23556: RUBY_GEMS_INSTALL_FALSE=
23557: fi
23558:
23559:
23560: if test x$python_eggs = xtrue; then
23561: PYTHON_PACKAGE_VERSION=`echo "$PACKAGE_VERSION" | $SED 's/dr/.dev/'`
23562:
23563: if test x$python_eggs_install = xtrue; then
23564: # Extract the first word of "easy_install", so it can be a program name with args.
23565: set dummy easy_install; ac_word=$2
23566: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23567: $as_echo_n "checking for $ac_word... " >&6; }
23568: if ${ac_cv_path_EASY_INSTALL+:} false; then :
23569: $as_echo_n "(cached) " >&6
23570: else
23571: case $EASY_INSTALL in
23572: [\\/]* | ?:[\\/]*)
23573: ac_cv_path_EASY_INSTALL="$EASY_INSTALL" # Let the user override the test with a path.
23574: ;;
23575: *)
23576: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23577: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23578: for as_dir in $as_dummy
23579: do
23580: IFS=$as_save_IFS
23581: test -z "$as_dir" && as_dir=.
23582: for ac_exec_ext in '' $ac_executable_extensions; do
23583: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23584: ac_cv_path_EASY_INSTALL="$as_dir/$ac_word$ac_exec_ext"
23585: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23586: break 2
23587: fi
23588: done
23589: done
23590: IFS=$as_save_IFS
23591:
23592: ;;
23593: esac
23594: fi
23595: EASY_INSTALL=$ac_cv_path_EASY_INSTALL
23596: if test -n "$EASY_INSTALL"; then
23597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EASY_INSTALL" >&5
23598: $as_echo "$EASY_INSTALL" >&6; }
23599: else
23600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23601: $as_echo "no" >&6; }
23602: fi
23603:
23604:
23605: if test x$EASY_INSTALL = x; then
23606: as_fn_error $? "Python easy_install not found" "$LINENO" 5
23607: fi
23608: fi
23609: if test "x$pythoneggdir" = "xmain site-packages directory"; then
23610: PYTHONEGGINSTALLDIR=""
23611:
23612: else
23613: PYTHONEGGINSTALLDIR="--install-dir $pythoneggdir"
23614:
23615: fi
23616: # Extract the first word of "tox", so it can be a program name with args.
23617: set dummy tox; ac_word=$2
23618: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23619: $as_echo_n "checking for $ac_word... " >&6; }
23620: if ${ac_cv_path_TOX+:} false; then :
23621: $as_echo_n "(cached) " >&6
23622: else
23623: case $TOX in
23624: [\\/]* | ?:[\\/]*)
23625: ac_cv_path_TOX="$TOX" # Let the user override the test with a path.
23626: ;;
23627: *)
23628: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23629: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23630: for as_dir in $as_dummy
23631: do
23632: IFS=$as_save_IFS
23633: test -z "$as_dir" && as_dir=.
23634: for ac_exec_ext in '' $ac_executable_extensions; do
23635: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23636: ac_cv_path_TOX="$as_dir/$ac_word$ac_exec_ext"
23637: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23638: break 2
23639: fi
23640: done
23641: done
23642: IFS=$as_save_IFS
23643:
23644: ;;
23645: esac
23646: fi
23647: TOX=$ac_cv_path_TOX
23648: if test -n "$TOX"; then
23649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOX" >&5
23650: $as_echo "$TOX" >&6; }
23651: else
23652: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23653: $as_echo "no" >&6; }
23654: fi
23655:
23656:
23657: # Extract the first word of "py.test", so it can be a program name with args.
23658: set dummy py.test; ac_word=$2
23659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23660: $as_echo_n "checking for $ac_word... " >&6; }
23661: if ${ac_cv_path_PY_TEST+:} false; then :
23662: $as_echo_n "(cached) " >&6
23663: else
23664: case $PY_TEST in
23665: [\\/]* | ?:[\\/]*)
23666: ac_cv_path_PY_TEST="$PY_TEST" # Let the user override the test with a path.
23667: ;;
23668: *)
23669: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23670: as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
23671: for as_dir in $as_dummy
23672: do
23673: IFS=$as_save_IFS
23674: test -z "$as_dir" && as_dir=.
23675: for ac_exec_ext in '' $ac_executable_extensions; do
23676: if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23677: ac_cv_path_PY_TEST="$as_dir/$ac_word$ac_exec_ext"
23678: $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23679: break 2
23680: fi
23681: done
23682: done
23683: IFS=$as_save_IFS
23684:
23685: ;;
23686: esac
23687: fi
23688: PY_TEST=$ac_cv_path_PY_TEST
23689: if test -n "$PY_TEST"; then
23690: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PY_TEST" >&5
23691: $as_echo "$PY_TEST" >&6; }
23692: else
23693: { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23694: $as_echo "no" >&6; }
23695: fi
23696:
23697:
23698: fi
23699: if test "x$python_eggs_install" = xtrue; then
23700: PYTHON_EGGS_INSTALL_TRUE=
23701: PYTHON_EGGS_INSTALL_FALSE='#'
23702: else
23703: PYTHON_EGGS_INSTALL_TRUE='#'
23704: PYTHON_EGGS_INSTALL_FALSE=
23705: fi
23706:
23707:
23708: if test "x$perl_cpan_install" = xtrue; then
23709: PERL_CPAN_INSTALL_TRUE=
23710: PERL_CPAN_INSTALL_FALSE='#'
23711: else
23712: PERL_CPAN_INSTALL_TRUE='#'
23713: PERL_CPAN_INSTALL_FALSE=
23714: fi
23715:
23716:
23717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if plugin constructors should be resolved statically" >&5
23718: $as_echo_n "checking if plugin constructors should be resolved statically... " >&6; }
23719: if ${ss_cv_static_plugin_constructors+:} false; then :
23720: $as_echo_n "(cached) " >&6
23721: else
23722: if test x$monolithic = xtrue -a x$enable_static = xyes; then
23723: ss_cv_static_plugin_constructors=yes
23724: else
23725: ss_cv_static_plugin_constructors="no (enabled for static, monolithic builds)"
23726: fi
23727:
23728: fi
23729: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ss_cv_static_plugin_constructors" >&5
23730: $as_echo "$ss_cv_static_plugin_constructors" >&6; }
23731: if test "x$ss_cv_static_plugin_constructors" = xyes; then
23732: static_plugin_constructors=true
23733: if test "$PYTHON" = ":"; then
23734: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23735: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23736: as_fn_error $? "Python is required to resolve plugin constructors statically
23737: See \`config.log' for more details" "$LINENO" 5; }
23738: fi
23739: fi
23740:
1.1.1.2 ! misho 23741: { $as_echo "$as_me:${as_lineno-$LINENO}: checking version from Git repository" >&5
! 23742: $as_echo_n "checking version from Git repository... " >&6; }
! 23743: GIT_VERSION=$($srcdir/scripts/git-version "$srcdir")
! 23744:
! 23745: case "$GIT_VERSION" in
! 23746: "$PACKAGE_VERSION"*)
! 23747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT_VERSION" >&5
! 23748: $as_echo "$GIT_VERSION" >&6; }
! 23749: ;;
! 23750: UNKNOWN)
! 23751: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIT_VERSION (could be due to insufficient clone depth)" >&5
! 23752: $as_echo "$GIT_VERSION (could be due to insufficient clone depth)" >&6; }
! 23753: ;;
! 23754: *)
! 23755: as_fn_error $? "$PACKAGE_VERSION is not a prefix of $GIT_VERSION, tag missing?" "$LINENO" 5
! 23756: ;;
! 23757: esac
! 23758:
! 23759: if test x$git_version = xtrue -a "$GIT_VERSION" != "UNKNOWN"; then
! 23760: cat >>confdefs.h <<_ACEOF
! 23761: #define VERSION "$GIT_VERSION"
! 23762: _ACEOF
! 23763:
! 23764: fi
! 23765:
1.1 misho 23766: # ===============================================
23767: # collect plugin list for strongSwan components
23768: # ===============================================
23769:
23770: # ADD_PLUGIN(plugin, category list)
23771: # -----------------------------------
23772: # Append the plugin name $1 to the category list variable $2_plugin
23773:
23774:
23775:
23776: # plugin lists for all components
23777: charon_plugins=
23778: starter_plugins=
23779: pool_plugins=
23780: attest_plugins=
23781: scepclient_plugins=
23782: pki_plugins=
23783: scripts_plugins=
23784: fuzz_plugins=
23785: manager_plugins=
23786: medsrv_plugins=
23787: nm_plugins=
23788: cmd_plugins=
23789: aikgen_plugins=
23790:
23791: # location specific lists for checksumming,
23792: # for src/libcharon, src/libstrongswan, src/libtnccs and src/libtpmtss
23793: c_plugins=
23794: s_plugins=
23795: t_plugins=
23796: p_plugins=
23797:
23798: if test x$test_vectors = xtrue; then
23799: s_plugins=${s_plugins}" test-vectors"
23800: charon_plugins=${charon_plugins}" test-vectors"
23801: scepclient_plugins=${scepclient_plugins}" test-vectors"
23802: pki_plugins=${pki_plugins}" test-vectors"
23803:
23804: fi
23805:
23806: if test x$unbound = xtrue; then
23807: s_plugins=${s_plugins}" unbound"
23808: charon_plugins=${charon_plugins}" unbound"
23809: scripts_plugins=${scripts_plugins}" unbound"
23810:
23811: fi
23812:
23813: if test x$ldap = xtrue; then
23814: s_plugins=${s_plugins}" ldap"
23815: charon_plugins=${charon_plugins}" ldap"
23816: scepclient_plugins=${scepclient_plugins}" ldap"
23817: scripts_plugins=${scripts_plugins}" ldap"
23818: nm_plugins=${nm_plugins}" ldap"
23819: cmd_plugins=${cmd_plugins}" ldap"
23820:
23821: fi
23822:
23823: if test x$pkcs11 = xtrue; then
23824: s_plugins=${s_plugins}" pkcs11"
23825: charon_plugins=${charon_plugins}" pkcs11"
23826: pki_plugins=${pki_plugins}" pkcs11"
23827: nm_plugins=${nm_plugins}" pkcs11"
23828: cmd_plugins=${cmd_plugins}" pkcs11"
23829:
23830: fi
23831:
23832: if test x$tpm = xtrue; then
23833: p_plugins=${p_plugins}" tpm"
23834: charon_plugins=${charon_plugins}" tpm"
23835: pki_plugins=${pki_plugins}" tpm"
23836: nm_plugins=${nm_plugins}" tpm"
23837: cmd_plugins=${cmd_plugins}" tpm"
23838:
23839: fi
23840:
23841: if test x$aesni = xtrue; then
23842: s_plugins=${s_plugins}" aesni"
23843: charon_plugins=${charon_plugins}" aesni"
23844: scepclient_plugins=${scepclient_plugins}" aesni"
23845: pki_plugins=${pki_plugins}" aesni"
23846: scripts_plugins=${scripts_plugins}" aesni"
23847: medsrv_plugins=${medsrv_plugins}" aesni"
23848: attest_plugins=${attest_plugins}" aesni"
23849: nm_plugins=${nm_plugins}" aesni"
23850: cmd_plugins=${cmd_plugins}" aesni"
23851: aikgen_plugins=${aikgen_plugins}" aesni"
23852:
23853: fi
23854:
23855: if test x$aes = xtrue; then
23856: s_plugins=${s_plugins}" aes"
23857: charon_plugins=${charon_plugins}" aes"
23858: scepclient_plugins=${scepclient_plugins}" aes"
23859: pki_plugins=${pki_plugins}" aes"
23860: scripts_plugins=${scripts_plugins}" aes"
23861: nm_plugins=${nm_plugins}" aes"
23862: cmd_plugins=${cmd_plugins}" aes"
23863:
23864: fi
23865:
23866: if test x$des = xtrue; then
23867: s_plugins=${s_plugins}" des"
23868: charon_plugins=${charon_plugins}" des"
23869: scepclient_plugins=${scepclient_plugins}" des"
23870: pki_plugins=${pki_plugins}" des"
23871: scripts_plugins=${scripts_plugins}" des"
23872: nm_plugins=${nm_plugins}" des"
23873: cmd_plugins=${cmd_plugins}" des"
23874:
23875: fi
23876:
23877: if test x$blowfish = xtrue; then
23878: s_plugins=${s_plugins}" blowfish"
23879: charon_plugins=${charon_plugins}" blowfish"
23880: scepclient_plugins=${scepclient_plugins}" blowfish"
23881: pki_plugins=${pki_plugins}" blowfish"
23882: scripts_plugins=${scripts_plugins}" blowfish"
23883: nm_plugins=${nm_plugins}" blowfish"
23884: cmd_plugins=${cmd_plugins}" blowfish"
23885:
23886: fi
23887:
23888: if test x$rc2 = xtrue; then
23889: s_plugins=${s_plugins}" rc2"
23890: charon_plugins=${charon_plugins}" rc2"
23891: scepclient_plugins=${scepclient_plugins}" rc2"
23892: pki_plugins=${pki_plugins}" rc2"
23893: scripts_plugins=${scripts_plugins}" rc2"
23894: nm_plugins=${nm_plugins}" rc2"
23895: cmd_plugins=${cmd_plugins}" rc2"
23896:
23897: fi
23898:
23899: if test x$sha2 = xtrue; then
23900: s_plugins=${s_plugins}" sha2"
23901: charon_plugins=${charon_plugins}" sha2"
23902: scepclient_plugins=${scepclient_plugins}" sha2"
23903: pki_plugins=${pki_plugins}" sha2"
23904: scripts_plugins=${scripts_plugins}" sha2"
23905: medsrv_plugins=${medsrv_plugins}" sha2"
23906: attest_plugins=${attest_plugins}" sha2"
23907: nm_plugins=${nm_plugins}" sha2"
23908: cmd_plugins=${cmd_plugins}" sha2"
23909: aikgen_plugins=${aikgen_plugins}" sha2"
23910: fuzz_plugins=${fuzz_plugins}" sha2"
23911:
23912: fi
23913:
23914: if test x$sha3 = xtrue; then
23915: s_plugins=${s_plugins}" sha3"
23916: charon_plugins=${charon_plugins}" sha3"
23917: scepclient_plugins=${scepclient_plugins}" sha3"
23918: pki_plugins=${pki_plugins}" sha3"
23919: scripts_plugins=${scripts_plugins}" sha3"
23920: medsrv_plugins=${medsrv_plugins}" sha3"
23921: attest_plugins=${attest_plugins}" sha3"
23922: nm_plugins=${nm_plugins}" sha3"
23923: cmd_plugins=${cmd_plugins}" sha3"
23924: aikgen_plugins=${aikgen_plugins}" sha3"
23925: fuzz_plugins=${fuzz_plugins}" sha3"
23926:
23927: fi
23928:
23929: if test x$sha1 = xtrue; then
23930: s_plugins=${s_plugins}" sha1"
23931: charon_plugins=${charon_plugins}" sha1"
23932: scepclient_plugins=${scepclient_plugins}" sha1"
23933: pki_plugins=${pki_plugins}" sha1"
23934: scripts_plugins=${scripts_plugins}" sha1"
23935: manager_plugins=${manager_plugins}" sha1"
23936: medsrv_plugins=${medsrv_plugins}" sha1"
23937: attest_plugins=${attest_plugins}" sha1"
23938: nm_plugins=${nm_plugins}" sha1"
23939: cmd_plugins=${cmd_plugins}" sha1"
23940: aikgen_plugins=${aikgen_plugins}" sha1"
23941: fuzz_plugins=${fuzz_plugins}" sha1"
23942:
23943: fi
23944:
23945: if test x$md4 = xtrue; then
23946: s_plugins=${s_plugins}" md4"
23947: charon_plugins=${charon_plugins}" md4"
23948: scepclient_plugins=${scepclient_plugins}" md4"
23949: pki_plugins=${pki_plugins}" md4"
23950: nm_plugins=${nm_plugins}" md4"
23951: cmd_plugins=${cmd_plugins}" md4"
23952:
23953: fi
23954:
23955: if test x$md5 = xtrue; then
23956: s_plugins=${s_plugins}" md5"
23957: charon_plugins=${charon_plugins}" md5"
23958: scepclient_plugins=${scepclient_plugins}" md5"
23959: pki_plugins=${pki_plugins}" md5"
23960: scripts_plugins=${scripts_plugins}" md5"
23961: attest_plugins=${attest_plugins}" md5"
23962: nm_plugins=${nm_plugins}" md5"
23963: cmd_plugins=${cmd_plugins}" md5"
23964: aikgen_plugins=${aikgen_plugins}" md5"
23965:
23966: fi
23967:
23968: if test x$mgf1 = xtrue; then
23969: s_plugins=${s_plugins}" mgf1"
23970: charon_plugins=${charon_plugins}" mgf1"
23971: scepclient_plugins=${scepclient_plugins}" mgf1"
23972: pki_plugins=${pki_plugins}" mgf1"
23973: scripts_plugins=${scripts_plugins}" mgf1"
23974: medsrv_plugins=${medsrv_plugins}" mgf1"
23975: attest_plugins=${attest_plugins}" mgf1"
23976: nm_plugins=${nm_plugins}" mgf1"
23977: cmd_plugins=${cmd_plugins}" mgf1"
23978: aikgen_plugins=${aikgen_plugins}" mgf1"
23979:
23980: fi
23981:
23982: if test x$rdrand = xtrue; then
23983: s_plugins=${s_plugins}" rdrand"
23984: charon_plugins=${charon_plugins}" rdrand"
23985: scepclient_plugins=${scepclient_plugins}" rdrand"
23986: pki_plugins=${pki_plugins}" rdrand"
23987: scripts_plugins=${scripts_plugins}" rdrand"
23988: medsrv_plugins=${medsrv_plugins}" rdrand"
23989: attest_plugins=${attest_plugins}" rdrand"
23990: nm_plugins=${nm_plugins}" rdrand"
23991: cmd_plugins=${cmd_plugins}" rdrand"
23992: aikgen_plugins=${aikgen_plugins}" rdrand"
23993:
23994: fi
23995:
23996: if test x$random = xtrue; then
23997: s_plugins=${s_plugins}" random"
23998: charon_plugins=${charon_plugins}" random"
23999: scepclient_plugins=${scepclient_plugins}" random"
24000: pki_plugins=${pki_plugins}" random"
24001: scripts_plugins=${scripts_plugins}" random"
24002: manager_plugins=${manager_plugins}" random"
24003: medsrv_plugins=${medsrv_plugins}" random"
24004: attest_plugins=${attest_plugins}" random"
24005: nm_plugins=${nm_plugins}" random"
24006: cmd_plugins=${cmd_plugins}" random"
24007: aikgen_plugins=${aikgen_plugins}" random"
24008:
24009: fi
24010:
24011: if test x$nonce = xtrue; then
24012: s_plugins=${s_plugins}" nonce"
24013: charon_plugins=${charon_plugins}" nonce"
24014: nm_plugins=${nm_plugins}" nonce"
24015: cmd_plugins=${cmd_plugins}" nonce"
24016: aikgen_plugins=${aikgen_plugins}" nonce"
24017:
24018: fi
24019:
24020: if test x$x509 = xtrue; then
24021: s_plugins=${s_plugins}" x509"
24022: charon_plugins=${charon_plugins}" x509"
24023: scepclient_plugins=${scepclient_plugins}" x509"
24024: pki_plugins=${pki_plugins}" x509"
24025: scripts_plugins=${scripts_plugins}" x509"
24026: attest_plugins=${attest_plugins}" x509"
24027: nm_plugins=${nm_plugins}" x509"
24028: cmd_plugins=${cmd_plugins}" x509"
24029: aikgen_plugins=${aikgen_plugins}" x509"
24030: fuzz_plugins=${fuzz_plugins}" x509"
24031:
24032: fi
24033:
24034: if test x$revocation = xtrue; then
24035: s_plugins=${s_plugins}" revocation"
24036: charon_plugins=${charon_plugins}" revocation"
24037: pki_plugins=${pki_plugins}" revocation"
24038: nm_plugins=${nm_plugins}" revocation"
24039: cmd_plugins=${cmd_plugins}" revocation"
24040:
24041: fi
24042:
24043: if test x$constraints = xtrue; then
24044: s_plugins=${s_plugins}" constraints"
24045: charon_plugins=${charon_plugins}" constraints"
24046: nm_plugins=${nm_plugins}" constraints"
24047: cmd_plugins=${cmd_plugins}" constraints"
24048:
24049: fi
24050:
24051: if test x$acert = xtrue; then
24052: s_plugins=${s_plugins}" acert"
24053: charon_plugins=${charon_plugins}" acert"
24054:
24055: fi
24056:
24057: if test x$pubkey = xtrue; then
24058: s_plugins=${s_plugins}" pubkey"
24059: charon_plugins=${charon_plugins}" pubkey"
24060: pki_plugins=${pki_plugins}" pubkey"
24061: cmd_plugins=${cmd_plugins}" pubkey"
24062: aikgen_plugins=${aikgen_plugins}" pubkey"
24063:
24064: fi
24065:
24066: if test x$pkcs1 = xtrue; then
24067: s_plugins=${s_plugins}" pkcs1"
24068: charon_plugins=${charon_plugins}" pkcs1"
24069: scepclient_plugins=${scepclient_plugins}" pkcs1"
24070: pki_plugins=${pki_plugins}" pkcs1"
24071: scripts_plugins=${scripts_plugins}" pkcs1"
24072: manager_plugins=${manager_plugins}" pkcs1"
24073: medsrv_plugins=${medsrv_plugins}" pkcs1"
24074: attest_plugins=${attest_plugins}" pkcs1"
24075: nm_plugins=${nm_plugins}" pkcs1"
24076: cmd_plugins=${cmd_plugins}" pkcs1"
24077: aikgen_plugins=${aikgen_plugins}" pkcs1"
24078: fuzz_plugins=${fuzz_plugins}" pkcs1"
24079:
24080: fi
24081:
24082: if test x$pkcs7 = xtrue; then
24083: s_plugins=${s_plugins}" pkcs7"
24084: charon_plugins=${charon_plugins}" pkcs7"
24085: scepclient_plugins=${scepclient_plugins}" pkcs7"
24086: pki_plugins=${pki_plugins}" pkcs7"
24087: scripts_plugins=${scripts_plugins}" pkcs7"
24088: nm_plugins=${nm_plugins}" pkcs7"
24089: cmd_plugins=${cmd_plugins}" pkcs7"
24090:
24091: fi
24092:
24093: if test x$pkcs8 = xtrue; then
24094: s_plugins=${s_plugins}" pkcs8"
24095: charon_plugins=${charon_plugins}" pkcs8"
24096: scepclient_plugins=${scepclient_plugins}" pkcs8"
24097: pki_plugins=${pki_plugins}" pkcs8"
24098: scripts_plugins=${scripts_plugins}" pkcs8"
24099: manager_plugins=${manager_plugins}" pkcs8"
24100: medsrv_plugins=${medsrv_plugins}" pkcs8"
24101: attest_plugins=${attest_plugins}" pkcs8"
24102: nm_plugins=${nm_plugins}" pkcs8"
24103: cmd_plugins=${cmd_plugins}" pkcs8"
24104:
24105: fi
24106:
24107: if test x$pkcs12 = xtrue; then
24108: s_plugins=${s_plugins}" pkcs12"
24109: charon_plugins=${charon_plugins}" pkcs12"
24110: scepclient_plugins=${scepclient_plugins}" pkcs12"
24111: pki_plugins=${pki_plugins}" pkcs12"
24112: scripts_plugins=${scripts_plugins}" pkcs12"
24113: cmd_plugins=${cmd_plugins}" pkcs12"
24114:
24115: fi
24116:
24117: if test x$pgp = xtrue; then
24118: s_plugins=${s_plugins}" pgp"
24119: charon_plugins=${charon_plugins}" pgp"
24120:
24121: fi
24122:
24123: if test x$dnskey = xtrue; then
24124: s_plugins=${s_plugins}" dnskey"
24125: charon_plugins=${charon_plugins}" dnskey"
24126: pki_plugins=${pki_plugins}" dnskey"
24127:
24128: fi
24129:
24130: if test x$sshkey = xtrue; then
24131: s_plugins=${s_plugins}" sshkey"
24132: charon_plugins=${charon_plugins}" sshkey"
24133: pki_plugins=${pki_plugins}" sshkey"
24134: nm_plugins=${nm_plugins}" sshkey"
24135: cmd_plugins=${cmd_plugins}" sshkey"
24136:
24137: fi
24138:
24139: if test x$dnscert = xtrue; then
24140: c_plugins=${c_plugins}" dnscert"
24141: charon_plugins=${charon_plugins}" dnscert"
24142:
24143: fi
24144:
24145: if test x$ipseckey = xtrue; then
24146: c_plugins=${c_plugins}" ipseckey"
24147: charon_plugins=${charon_plugins}" ipseckey"
24148:
24149: fi
24150:
24151: if test x$pem = xtrue; then
24152: s_plugins=${s_plugins}" pem"
24153: charon_plugins=${charon_plugins}" pem"
24154: scepclient_plugins=${scepclient_plugins}" pem"
24155: pki_plugins=${pki_plugins}" pem"
24156: scripts_plugins=${scripts_plugins}" pem"
24157: manager_plugins=${manager_plugins}" pem"
24158: medsrv_plugins=${medsrv_plugins}" pem"
24159: attest_plugins=${attest_plugins}" pem"
24160: nm_plugins=${nm_plugins}" pem"
24161: cmd_plugins=${cmd_plugins}" pem"
24162: aikgen_plugins=${aikgen_plugins}" pem"
24163: fuzz_plugins=${fuzz_plugins}" pem"
24164:
24165: fi
24166:
24167: if test x$padlock = xtrue; then
24168: s_plugins=${s_plugins}" padlock"
24169: charon_plugins=${charon_plugins}" padlock"
24170:
24171: fi
24172:
24173: if test x$openssl = xtrue; then
24174: s_plugins=${s_plugins}" openssl"
24175: charon_plugins=${charon_plugins}" openssl"
24176: scepclient_plugins=${scepclient_plugins}" openssl"
24177: pki_plugins=${pki_plugins}" openssl"
24178: scripts_plugins=${scripts_plugins}" openssl"
24179: manager_plugins=${manager_plugins}" openssl"
24180: medsrv_plugins=${medsrv_plugins}" openssl"
24181: attest_plugins=${attest_plugins}" openssl"
24182: nm_plugins=${nm_plugins}" openssl"
24183: cmd_plugins=${cmd_plugins}" openssl"
24184: aikgen_plugins=${aikgen_plugins}" openssl"
24185:
24186: fi
24187:
24188: if test x$wolfssl = xtrue; then
24189: s_plugins=${s_plugins}" wolfssl"
24190: charon_plugins=${charon_plugins}" wolfssl"
24191: scepclient_plugins=${scepclient_plugins}" wolfssl"
24192: pki_plugins=${pki_plugins}" wolfssl"
24193: scripts_plugins=${scripts_plugins}" wolfssl"
24194: manager_plugins=${manager_plugins}" wolfssl"
24195: medsrv_plugins=${medsrv_plugins}" wolfssl"
24196: attest_plugins=${attest_plugins}" wolfssl"
24197: nm_plugins=${nm_plugins}" wolfssl"
24198: cmd_plugins=${cmd_plugins}" wolfssl"
24199: aikgen_plugins=${aikgen_plugins}" wolfssl"
24200:
24201: fi
24202:
24203: if test x$gcrypt = xtrue; then
24204: s_plugins=${s_plugins}" gcrypt"
24205: charon_plugins=${charon_plugins}" gcrypt"
24206: scepclient_plugins=${scepclient_plugins}" gcrypt"
24207: pki_plugins=${pki_plugins}" gcrypt"
24208: scripts_plugins=${scripts_plugins}" gcrypt"
24209: manager_plugins=${manager_plugins}" gcrypt"
24210: medsrv_plugins=${medsrv_plugins}" gcrypt"
24211: attest_plugins=${attest_plugins}" gcrypt"
24212: nm_plugins=${nm_plugins}" gcrypt"
24213: cmd_plugins=${cmd_plugins}" gcrypt"
24214: aikgen_plugins=${aikgen_plugins}" gcrypt"
24215:
24216: fi
24217:
24218: if test x$botan = xtrue; then
24219: s_plugins=${s_plugins}" botan"
24220: charon_plugins=${charon_plugins}" botan"
24221: scepclient_plugins=${scepclient_plugins}" botan"
24222: pki_plugins=${pki_plugins}" botan"
24223: scripts_plugins=${scripts_plugins}" botan"
24224: manager_plugins=${manager_plugins}" botan"
24225: medsrv_plugins=${medsrv_plugins}" botan"
24226: attest_plugins=${attest_plugins}" botan"
24227: nm_plugins=${nm_plugins}" botan"
24228: cmd_plugins=${cmd_plugins}" botan"
24229: aikgen_plugins=${aikgen_plugins}" botan"
24230:
24231: fi
24232:
24233: if test x$af_alg = xtrue; then
24234: s_plugins=${s_plugins}" af-alg"
24235: charon_plugins=${charon_plugins}" af-alg"
24236: scepclient_plugins=${scepclient_plugins}" af-alg"
24237: pki_plugins=${pki_plugins}" af-alg"
24238: scripts_plugins=${scripts_plugins}" af-alg"
24239: medsrv_plugins=${medsrv_plugins}" af-alg"
24240: attest_plugins=${attest_plugins}" af-alg"
24241: nm_plugins=${nm_plugins}" af-alg"
24242: cmd_plugins=${cmd_plugins}" af-alg"
24243: aikgen_plugins=${aikgen_plugins}" af-alg"
24244:
24245: fi
24246:
24247: if test x$fips_prf = xtrue; then
24248: s_plugins=${s_plugins}" fips-prf"
24249: charon_plugins=${charon_plugins}" fips-prf"
24250: nm_plugins=${nm_plugins}" fips-prf"
24251: cmd_plugins=${cmd_plugins}" fips-prf"
24252:
24253: fi
24254:
24255: if test x$gmp = xtrue; then
24256: s_plugins=${s_plugins}" gmp"
24257: charon_plugins=${charon_plugins}" gmp"
24258: scepclient_plugins=${scepclient_plugins}" gmp"
24259: pki_plugins=${pki_plugins}" gmp"
24260: scripts_plugins=${scripts_plugins}" gmp"
24261: manager_plugins=${manager_plugins}" gmp"
24262: medsrv_plugins=${medsrv_plugins}" gmp"
24263: attest_plugins=${attest_plugins}" gmp"
24264: nm_plugins=${nm_plugins}" gmp"
24265: cmd_plugins=${cmd_plugins}" gmp"
24266: aikgen_plugins=${aikgen_plugins}" gmp"
24267: fuzz_plugins=${fuzz_plugins}" gmp"
24268:
24269: fi
24270:
24271: if test x$curve25519 = xtrue; then
24272: s_plugins=${s_plugins}" curve25519"
24273: charon_plugins=${charon_plugins}" curve25519"
24274: pki_plugins=${pki_plugins}" curve25519"
24275: scripts_plugins=${scripts_plugins}" curve25519"
24276: nm_plugins=${nm_plugins}" curve25519"
24277: cmd_plugins=${cmd_plugins}" curve25519"
24278:
24279: fi
24280:
24281: if test x$agent = xtrue; then
24282: s_plugins=${s_plugins}" agent"
24283: charon_plugins=${charon_plugins}" agent"
24284: nm_plugins=${nm_plugins}" agent"
24285: cmd_plugins=${cmd_plugins}" agent"
24286:
24287: fi
24288:
24289: if test x$keychain = xtrue; then
24290: s_plugins=${s_plugins}" keychain"
24291: charon_plugins=${charon_plugins}" keychain"
24292: cmd_plugins=${cmd_plugins}" keychain"
24293:
24294: fi
24295:
24296: if test x$chapoly = xtrue; then
24297: s_plugins=${s_plugins}" chapoly"
24298: charon_plugins=${charon_plugins}" chapoly"
24299: scripts_plugins=${scripts_plugins}" chapoly"
24300: nm_plugins=${nm_plugins}" chapoly"
24301: cmd_plugins=${cmd_plugins}" chapoly"
24302:
24303: fi
24304:
24305: if test x$xcbc = xtrue; then
24306: s_plugins=${s_plugins}" xcbc"
24307: charon_plugins=${charon_plugins}" xcbc"
24308: nm_plugins=${nm_plugins}" xcbc"
24309: cmd_plugins=${cmd_plugins}" xcbc"
24310:
24311: fi
24312:
24313: if test x$cmac = xtrue; then
24314: s_plugins=${s_plugins}" cmac"
24315: charon_plugins=${charon_plugins}" cmac"
24316: nm_plugins=${nm_plugins}" cmac"
24317: cmd_plugins=${cmd_plugins}" cmac"
24318:
24319: fi
24320:
24321: if test x$hmac = xtrue; then
24322: s_plugins=${s_plugins}" hmac"
24323: charon_plugins=${charon_plugins}" hmac"
24324: pki_plugins=${pki_plugins}" hmac"
24325: scripts_plugins=${scripts_plugins}" hmac"
24326: nm_plugins=${nm_plugins}" hmac"
24327: cmd_plugins=${cmd_plugins}" hmac"
24328:
24329: fi
24330:
24331: if test x$ctr = xtrue; then
24332: s_plugins=${s_plugins}" ctr"
24333: charon_plugins=${charon_plugins}" ctr"
24334: scripts_plugins=${scripts_plugins}" ctr"
24335: nm_plugins=${nm_plugins}" ctr"
24336: cmd_plugins=${cmd_plugins}" ctr"
24337:
24338: fi
24339:
24340: if test x$ccm = xtrue; then
24341: s_plugins=${s_plugins}" ccm"
24342: charon_plugins=${charon_plugins}" ccm"
24343: scripts_plugins=${scripts_plugins}" ccm"
24344: nm_plugins=${nm_plugins}" ccm"
24345: cmd_plugins=${cmd_plugins}" ccm"
24346:
24347: fi
24348:
24349: if test x$gcm = xtrue; then
24350: s_plugins=${s_plugins}" gcm"
24351: charon_plugins=${charon_plugins}" gcm"
24352: scripts_plugins=${scripts_plugins}" gcm"
24353: nm_plugins=${nm_plugins}" gcm"
24354: cmd_plugins=${cmd_plugins}" gcm"
24355:
24356: fi
24357:
24358: if test x$ntru = xtrue; then
24359: s_plugins=${s_plugins}" ntru"
24360: charon_plugins=${charon_plugins}" ntru"
24361: scripts_plugins=${scripts_plugins}" ntru"
24362: nm_plugins=${nm_plugins}" ntru"
24363: cmd_plugins=${cmd_plugins}" ntru"
24364:
24365: fi
24366:
24367: if test x$drbg = xtrue; then
24368: s_plugins=${s_plugins}" drbg"
24369: charon_plugins=${charon_plugins}" drbg"
24370: pki_plugins=${pki_plugins}" drbg"
24371: scripts_plugins=${scripts_plugins}" drbg"
24372: nm_plugins=${nm_plugins}" drbg"
24373: cmd_plugins=${cmd_plugins}" drbg"
24374:
24375: fi
24376:
24377: if test x$newhope = xtrue; then
24378: s_plugins=${s_plugins}" newhope"
24379: charon_plugins=${charon_plugins}" newhope"
24380: scripts_plugins=${scripts_plugins}" newhope"
24381: nm_plugins=${nm_plugins}" newhope"
24382: cmd_plugins=${cmd_plugins}" newhope"
24383:
24384: fi
24385:
24386: if test x$bliss = xtrue; then
24387: s_plugins=${s_plugins}" bliss"
24388: charon_plugins=${charon_plugins}" bliss"
24389: pki_plugins=${pki_plugins}" bliss"
24390: scripts_plugins=${scripts_plugins}" bliss"
24391: nm_plugins=${nm_plugins}" bliss"
24392: cmd_plugins=${cmd_plugins}" bliss"
24393:
24394: fi
24395:
24396: if test x$curl = xtrue; then
24397: s_plugins=${s_plugins}" curl"
24398: charon_plugins=${charon_plugins}" curl"
24399: scepclient_plugins=${scepclient_plugins}" curl"
24400: pki_plugins=${pki_plugins}" curl"
24401: scripts_plugins=${scripts_plugins}" curl"
24402: nm_plugins=${nm_plugins}" curl"
24403: cmd_plugins=${cmd_plugins}" curl"
24404:
24405: fi
24406:
24407: if test x$files = xtrue; then
24408: s_plugins=${s_plugins}" files"
24409: charon_plugins=${charon_plugins}" files"
24410: scepclient_plugins=${scepclient_plugins}" files"
24411: pki_plugins=${pki_plugins}" files"
24412: scripts_plugins=${scripts_plugins}" files"
24413: nm_plugins=${nm_plugins}" files"
24414: cmd_plugins=${cmd_plugins}" files"
24415:
24416: fi
24417:
24418: if test x$winhttp = xtrue; then
24419: s_plugins=${s_plugins}" winhttp"
24420: charon_plugins=${charon_plugins}" winhttp"
24421: pki_plugins=${pki_plugins}" winhttp"
24422: scripts_plugins=${scripts_plugins}" winhttp"
24423:
24424: fi
24425:
24426: if test x$soup = xtrue; then
24427: s_plugins=${s_plugins}" soup"
24428: charon_plugins=${charon_plugins}" soup"
24429: pki_plugins=${pki_plugins}" soup"
24430: scripts_plugins=${scripts_plugins}" soup"
24431: nm_plugins=${nm_plugins}" soup"
24432: cmd_plugins=${cmd_plugins}" soup"
24433:
24434: fi
24435:
24436: if test x$mysql = xtrue; then
24437: s_plugins=${s_plugins}" mysql"
24438: charon_plugins=${charon_plugins}" mysql"
24439: pool_plugins=${pool_plugins}" mysql"
24440: manager_plugins=${manager_plugins}" mysql"
24441: medsrv_plugins=${medsrv_plugins}" mysql"
24442: attest_plugins=${attest_plugins}" mysql"
24443:
24444: fi
24445:
24446: if test x$sqlite = xtrue; then
24447: s_plugins=${s_plugins}" sqlite"
24448: charon_plugins=${charon_plugins}" sqlite"
24449: pool_plugins=${pool_plugins}" sqlite"
24450: manager_plugins=${manager_plugins}" sqlite"
24451: medsrv_plugins=${medsrv_plugins}" sqlite"
24452: attest_plugins=${attest_plugins}" sqlite"
24453:
24454: fi
24455:
24456: if test x$attr = xtrue; then
24457: c_plugins=${c_plugins}" attr"
24458: charon_plugins=${charon_plugins}" attr"
24459:
24460: fi
24461:
24462: if test x$attr_sql = xtrue; then
24463: c_plugins=${c_plugins}" attr-sql"
24464: charon_plugins=${charon_plugins}" attr-sql"
24465:
24466: fi
24467:
24468: if test x$load_tester = xtrue; then
24469: c_plugins=${c_plugins}" load-tester"
24470: charon_plugins=${charon_plugins}" load-tester"
24471:
24472: fi
24473:
24474: if test x$kernel_libipsec = xtrue; then
24475: c_plugins=${c_plugins}" kernel-libipsec"
24476: charon_plugins=${charon_plugins}" kernel-libipsec"
24477: cmd_plugins=${cmd_plugins}" kernel-libipsec"
24478:
24479: fi
24480:
24481: if test x$kernel_wfp = xtrue; then
24482: c_plugins=${c_plugins}" kernel-wfp"
24483: charon_plugins=${charon_plugins}" kernel-wfp"
24484:
24485: fi
24486:
24487: if test x$kernel_iph = xtrue; then
24488: c_plugins=${c_plugins}" kernel-iph"
24489: charon_plugins=${charon_plugins}" kernel-iph"
24490:
24491: fi
24492:
24493: if test x$kernel_pfkey = xtrue; then
24494: c_plugins=${c_plugins}" kernel-pfkey"
24495: charon_plugins=${charon_plugins}" kernel-pfkey"
24496: starter_plugins=${starter_plugins}" kernel-pfkey"
24497: nm_plugins=${nm_plugins}" kernel-pfkey"
24498: cmd_plugins=${cmd_plugins}" kernel-pfkey"
24499:
24500: fi
24501:
24502: if test x$kernel_pfroute = xtrue; then
24503: c_plugins=${c_plugins}" kernel-pfroute"
24504: charon_plugins=${charon_plugins}" kernel-pfroute"
24505: starter_plugins=${starter_plugins}" kernel-pfroute"
24506: nm_plugins=${nm_plugins}" kernel-pfroute"
24507: cmd_plugins=${cmd_plugins}" kernel-pfroute"
24508:
24509: fi
24510:
24511: if test x$kernel_netlink = xtrue; then
24512: c_plugins=${c_plugins}" kernel-netlink"
24513: charon_plugins=${charon_plugins}" kernel-netlink"
24514: starter_plugins=${starter_plugins}" kernel-netlink"
24515: nm_plugins=${nm_plugins}" kernel-netlink"
24516: cmd_plugins=${cmd_plugins}" kernel-netlink"
24517:
24518: fi
24519:
24520: if test x$resolve = xtrue; then
24521: c_plugins=${c_plugins}" resolve"
24522: charon_plugins=${charon_plugins}" resolve"
24523: cmd_plugins=${cmd_plugins}" resolve"
24524:
24525: fi
24526:
24527: if test x$save_keys = xtrue; then
24528: c_plugins=${c_plugins}" save-keys"
24529:
24530: fi
24531:
24532: if test x$socket_default = xtrue; then
24533: c_plugins=${c_plugins}" socket-default"
24534: charon_plugins=${charon_plugins}" socket-default"
24535: nm_plugins=${nm_plugins}" socket-default"
24536: cmd_plugins=${cmd_plugins}" socket-default"
24537:
24538: fi
24539:
24540: if test x$socket_dynamic = xtrue; then
24541: c_plugins=${c_plugins}" socket-dynamic"
24542: charon_plugins=${charon_plugins}" socket-dynamic"
24543: cmd_plugins=${cmd_plugins}" socket-dynamic"
24544:
24545: fi
24546:
24547: if test x$socket_win = xtrue; then
24548: c_plugins=${c_plugins}" socket-win"
24549: charon_plugins=${charon_plugins}" socket-win"
24550:
24551: fi
24552:
24553: if test x$bypass_lan = xtrue; then
24554: c_plugins=${c_plugins}" bypass-lan"
24555: charon_plugins=${charon_plugins}" bypass-lan"
24556: nm_plugins=${nm_plugins}" bypass-lan"
24557: cmd_plugins=${cmd_plugins}" bypass-lan"
24558:
24559: fi
24560:
24561: if test x$connmark = xtrue; then
24562: c_plugins=${c_plugins}" connmark"
24563: charon_plugins=${charon_plugins}" connmark"
24564:
24565: fi
24566:
24567: if test x$forecast = xtrue; then
24568: c_plugins=${c_plugins}" forecast"
24569: charon_plugins=${charon_plugins}" forecast"
24570:
24571: fi
24572:
24573: if test x$farp = xtrue; then
24574: c_plugins=${c_plugins}" farp"
24575: charon_plugins=${charon_plugins}" farp"
24576:
24577: fi
24578:
24579: if test x$stroke = xtrue; then
24580: c_plugins=${c_plugins}" stroke"
24581: charon_plugins=${charon_plugins}" stroke"
24582:
24583: fi
24584:
24585: if test x$vici = xtrue; then
24586: c_plugins=${c_plugins}" vici"
24587: charon_plugins=${charon_plugins}" vici"
24588:
24589: fi
24590:
24591: if test x$smp = xtrue; then
24592: c_plugins=${c_plugins}" smp"
24593: charon_plugins=${charon_plugins}" smp"
24594:
24595: fi
24596:
24597: if test x$sql = xtrue; then
24598: c_plugins=${c_plugins}" sql"
24599: charon_plugins=${charon_plugins}" sql"
24600:
24601: fi
24602:
24603: if test x$updown = xtrue; then
24604: c_plugins=${c_plugins}" updown"
24605: charon_plugins=${charon_plugins}" updown"
24606:
24607: fi
24608:
24609: if test x$eap_identity = xtrue; then
24610: c_plugins=${c_plugins}" eap-identity"
24611: charon_plugins=${charon_plugins}" eap-identity"
24612: nm_plugins=${nm_plugins}" eap-identity"
24613: cmd_plugins=${cmd_plugins}" eap-identity"
24614:
24615: fi
24616:
24617: if test x$eap_sim = xtrue; then
24618: c_plugins=${c_plugins}" eap-sim"
24619: charon_plugins=${charon_plugins}" eap-sim"
24620:
24621: fi
24622:
24623: if test x$eap_sim_file = xtrue; then
24624: c_plugins=${c_plugins}" eap-sim-file"
24625: charon_plugins=${charon_plugins}" eap-sim-file"
24626:
24627: fi
24628:
24629: if test x$eap_sim_pcsc = xtrue; then
24630: c_plugins=${c_plugins}" eap-sim-pcsc"
24631: charon_plugins=${charon_plugins}" eap-sim-pcsc"
24632:
24633: fi
24634:
24635: if test x$eap_aka = xtrue; then
24636: c_plugins=${c_plugins}" eap-aka"
24637: charon_plugins=${charon_plugins}" eap-aka"
24638:
24639: fi
24640:
24641: if test x$eap_aka_3gpp = xtrue; then
24642: c_plugins=${c_plugins}" eap-aka-3gpp"
24643: charon_plugins=${charon_plugins}" eap-aka-3gpp"
24644:
24645: fi
24646:
24647: if test x$eap_aka_3gpp2 = xtrue; then
24648: c_plugins=${c_plugins}" eap-aka-3gpp2"
24649: charon_plugins=${charon_plugins}" eap-aka-3gpp2"
24650:
24651: fi
24652:
24653: if test x$eap_simaka_sql = xtrue; then
24654: c_plugins=${c_plugins}" eap-simaka-sql"
24655: charon_plugins=${charon_plugins}" eap-simaka-sql"
24656:
24657: fi
24658:
24659: if test x$eap_simaka_pseudonym = xtrue; then
24660: c_plugins=${c_plugins}" eap-simaka-pseudonym"
24661: charon_plugins=${charon_plugins}" eap-simaka-pseudonym"
24662:
24663: fi
24664:
24665: if test x$eap_simaka_reauth = xtrue; then
24666: c_plugins=${c_plugins}" eap-simaka-reauth"
24667: charon_plugins=${charon_plugins}" eap-simaka-reauth"
24668:
24669: fi
24670:
24671: if test x$eap_md5 = xtrue; then
24672: c_plugins=${c_plugins}" eap-md5"
24673: charon_plugins=${charon_plugins}" eap-md5"
24674: nm_plugins=${nm_plugins}" eap-md5"
24675: cmd_plugins=${cmd_plugins}" eap-md5"
24676:
24677: fi
24678:
24679: if test x$eap_gtc = xtrue; then
24680: c_plugins=${c_plugins}" eap-gtc"
24681: charon_plugins=${charon_plugins}" eap-gtc"
24682: nm_plugins=${nm_plugins}" eap-gtc"
24683: cmd_plugins=${cmd_plugins}" eap-gtc"
24684:
24685: fi
24686:
24687: if test x$eap_mschapv2 = xtrue; then
24688: c_plugins=${c_plugins}" eap-mschapv2"
24689: charon_plugins=${charon_plugins}" eap-mschapv2"
24690: nm_plugins=${nm_plugins}" eap-mschapv2"
24691: cmd_plugins=${cmd_plugins}" eap-mschapv2"
24692:
24693: fi
24694:
24695: if test x$eap_dynamic = xtrue; then
24696: c_plugins=${c_plugins}" eap-dynamic"
24697: charon_plugins=${charon_plugins}" eap-dynamic"
24698:
24699: fi
24700:
24701: if test x$eap_radius = xtrue; then
24702: c_plugins=${c_plugins}" eap-radius"
24703: charon_plugins=${charon_plugins}" eap-radius"
24704:
24705: fi
24706:
24707: if test x$eap_tls = xtrue; then
24708: c_plugins=${c_plugins}" eap-tls"
24709: charon_plugins=${charon_plugins}" eap-tls"
24710: nm_plugins=${nm_plugins}" eap-tls"
24711: cmd_plugins=${cmd_plugins}" eap-tls"
24712:
24713: fi
24714:
24715: if test x$eap_ttls = xtrue; then
24716: c_plugins=${c_plugins}" eap-ttls"
24717: charon_plugins=${charon_plugins}" eap-ttls"
24718: nm_plugins=${nm_plugins}" eap-ttls"
24719: cmd_plugins=${cmd_plugins}" eap-ttls"
24720:
24721: fi
24722:
24723: if test x$eap_peap = xtrue; then
24724: c_plugins=${c_plugins}" eap-peap"
24725: charon_plugins=${charon_plugins}" eap-peap"
24726: nm_plugins=${nm_plugins}" eap-peap"
24727: cmd_plugins=${cmd_plugins}" eap-peap"
24728:
24729: fi
24730:
24731: if test x$eap_tnc = xtrue; then
24732: c_plugins=${c_plugins}" eap-tnc"
24733: charon_plugins=${charon_plugins}" eap-tnc"
24734:
24735: fi
24736:
24737: if test x$xauth_generic = xtrue; then
24738: c_plugins=${c_plugins}" xauth-generic"
24739: charon_plugins=${charon_plugins}" xauth-generic"
24740: cmd_plugins=${cmd_plugins}" xauth-generic"
24741:
24742: fi
24743:
24744: if test x$xauth_eap = xtrue; then
24745: c_plugins=${c_plugins}" xauth-eap"
24746: charon_plugins=${charon_plugins}" xauth-eap"
24747:
24748: fi
24749:
24750: if test x$xauth_pam = xtrue; then
24751: c_plugins=${c_plugins}" xauth-pam"
24752: charon_plugins=${charon_plugins}" xauth-pam"
24753:
24754: fi
24755:
24756: if test x$xauth_noauth = xtrue; then
24757: c_plugins=${c_plugins}" xauth-noauth"
24758: charon_plugins=${charon_plugins}" xauth-noauth"
24759:
24760: fi
24761:
24762: if test x$tnc_ifmap = xtrue; then
24763: c_plugins=${c_plugins}" tnc-ifmap"
24764: charon_plugins=${charon_plugins}" tnc-ifmap"
24765:
24766: fi
24767:
24768: if test x$tnc_pdp = xtrue; then
24769: c_plugins=${c_plugins}" tnc-pdp"
24770: charon_plugins=${charon_plugins}" tnc-pdp"
24771:
24772: fi
24773:
24774: if test x$tnc_imc = xtrue; then
24775: t_plugins=${t_plugins}" tnc-imc"
24776: charon_plugins=${charon_plugins}" tnc-imc"
24777:
24778: fi
24779:
24780: if test x$tnc_imv = xtrue; then
24781: t_plugins=${t_plugins}" tnc-imv"
24782: charon_plugins=${charon_plugins}" tnc-imv"
24783:
24784: fi
24785:
24786: if test x$tnc_tnccs = xtrue; then
24787: t_plugins=${t_plugins}" tnc-tnccs"
24788: charon_plugins=${charon_plugins}" tnc-tnccs"
24789:
24790: fi
24791:
24792: if test x$tnccs_20 = xtrue; then
24793: t_plugins=${t_plugins}" tnccs-20"
24794: charon_plugins=${charon_plugins}" tnccs-20"
24795:
24796: fi
24797:
24798: if test x$tnccs_11 = xtrue; then
24799: t_plugins=${t_plugins}" tnccs-11"
24800: charon_plugins=${charon_plugins}" tnccs-11"
24801:
24802: fi
24803:
24804: if test x$tnccs_dynamic = xtrue; then
24805: t_plugins=${t_plugins}" tnccs-dynamic"
24806: charon_plugins=${charon_plugins}" tnccs-dynamic"
24807:
24808: fi
24809:
24810: if test x$medsrv = xtrue; then
24811: c_plugins=${c_plugins}" medsrv"
24812: charon_plugins=${charon_plugins}" medsrv"
24813:
24814: fi
24815:
24816: if test x$medcli = xtrue; then
24817: c_plugins=${c_plugins}" medcli"
24818: charon_plugins=${charon_plugins}" medcli"
24819:
24820: fi
24821:
24822: if test x$dhcp = xtrue; then
24823: c_plugins=${c_plugins}" dhcp"
24824: charon_plugins=${charon_plugins}" dhcp"
24825:
24826: fi
24827:
24828: if test x$osx_attr = xtrue; then
24829: c_plugins=${c_plugins}" osx-attr"
24830: charon_plugins=${charon_plugins}" osx-attr"
24831: cmd_plugins=${cmd_plugins}" osx-attr"
24832:
24833: fi
24834:
24835: if test x$p_cscf = xtrue; then
24836: c_plugins=${c_plugins}" p-cscf"
24837: charon_plugins=${charon_plugins}" p-cscf"
24838: cmd_plugins=${cmd_plugins}" p-cscf"
24839:
24840: fi
24841:
24842: if test x$android_dns = xtrue; then
24843: c_plugins=${c_plugins}" android-dns"
24844: charon_plugins=${charon_plugins}" android-dns"
24845:
24846: fi
24847:
24848: if test x$android_log = xtrue; then
24849: c_plugins=${c_plugins}" android-log"
24850: charon_plugins=${charon_plugins}" android-log"
24851:
24852: fi
24853:
24854: if test x$ha = xtrue; then
24855: c_plugins=${c_plugins}" ha"
24856: charon_plugins=${charon_plugins}" ha"
24857:
24858: fi
24859:
24860: if test x$whitelist = xtrue; then
24861: c_plugins=${c_plugins}" whitelist"
24862: charon_plugins=${charon_plugins}" whitelist"
24863:
24864: fi
24865:
24866: if test x$ext_auth = xtrue; then
24867: c_plugins=${c_plugins}" ext-auth"
24868: charon_plugins=${charon_plugins}" ext-auth"
24869:
24870: fi
24871:
24872: if test x$lookip = xtrue; then
24873: c_plugins=${c_plugins}" lookip"
24874: charon_plugins=${charon_plugins}" lookip"
24875:
24876: fi
24877:
24878: if test x$error_notify = xtrue; then
24879: c_plugins=${c_plugins}" error-notify"
24880: charon_plugins=${charon_plugins}" error-notify"
24881:
24882: fi
24883:
24884: if test x$certexpire = xtrue; then
24885: c_plugins=${c_plugins}" certexpire"
24886: charon_plugins=${charon_plugins}" certexpire"
24887:
24888: fi
24889:
24890: if test x$systime_fix = xtrue; then
24891: c_plugins=${c_plugins}" systime-fix"
24892: charon_plugins=${charon_plugins}" systime-fix"
24893:
24894: fi
24895:
24896: if test x$led = xtrue; then
24897: c_plugins=${c_plugins}" led"
24898: charon_plugins=${charon_plugins}" led"
24899:
24900: fi
24901:
24902: if test x$duplicheck = xtrue; then
24903: c_plugins=${c_plugins}" duplicheck"
24904: charon_plugins=${charon_plugins}" duplicheck"
24905:
24906: fi
24907:
24908: if test x$coupling = xtrue; then
24909: c_plugins=${c_plugins}" coupling"
24910: charon_plugins=${charon_plugins}" coupling"
24911:
24912: fi
24913:
24914: if test x$radattr = xtrue; then
24915: c_plugins=${c_plugins}" radattr"
24916: charon_plugins=${charon_plugins}" radattr"
24917:
24918: fi
24919:
24920: if test x$uci = xtrue; then
24921: c_plugins=${c_plugins}" uci"
24922: charon_plugins=${charon_plugins}" uci"
24923:
24924: fi
24925:
24926: if test x$addrblock = xtrue; then
24927: c_plugins=${c_plugins}" addrblock"
24928: charon_plugins=${charon_plugins}" addrblock"
24929:
24930: fi
24931:
24932: if test x$unity = xtrue; then
24933: c_plugins=${c_plugins}" unity"
24934: charon_plugins=${charon_plugins}" unity"
24935:
24936: fi
24937:
24938: if test x$counters = xtrue; then
24939: c_plugins=${c_plugins}" counters"
24940: charon_plugins=${charon_plugins}" counters"
24941:
24942: fi
24943:
24944:
24945:
24946:
24947:
24948:
24949:
24950:
24951:
24952:
24953:
24954:
24955:
24956:
24957:
24958:
24959:
24960:
24961:
24962:
24963:
24964: # ======================
24965: # set Makefile.am vars
24966: # ======================
24967:
24968: # libstrongswan plugins
24969: # -----------------------
24970: if test x$test_vectors = xtrue; then
24971: USE_TEST_VECTORS_TRUE=
24972: USE_TEST_VECTORS_FALSE='#'
24973: else
24974: USE_TEST_VECTORS_TRUE='#'
24975: USE_TEST_VECTORS_FALSE=
24976: fi
24977:
24978: if test x$curl = xtrue; then
24979: USE_CURL_TRUE=
24980: USE_CURL_FALSE='#'
24981: else
24982: USE_CURL_TRUE='#'
24983: USE_CURL_FALSE=
24984: fi
24985:
24986: if test x$files = xtrue; then
24987: USE_FILES_TRUE=
24988: USE_FILES_FALSE='#'
24989: else
24990: USE_FILES_TRUE='#'
24991: USE_FILES_FALSE=
24992: fi
24993:
24994: if test x$winhttp = xtrue; then
24995: USE_WINHTTP_TRUE=
24996: USE_WINHTTP_FALSE='#'
24997: else
24998: USE_WINHTTP_TRUE='#'
24999: USE_WINHTTP_FALSE=
25000: fi
25001:
25002: if test x$unbound = xtrue; then
25003: USE_UNBOUND_TRUE=
25004: USE_UNBOUND_FALSE='#'
25005: else
25006: USE_UNBOUND_TRUE='#'
25007: USE_UNBOUND_FALSE=
25008: fi
25009:
25010: if test x$soup = xtrue; then
25011: USE_SOUP_TRUE=
25012: USE_SOUP_FALSE='#'
25013: else
25014: USE_SOUP_TRUE='#'
25015: USE_SOUP_FALSE=
25016: fi
25017:
25018: if test x$ldap = xtrue; then
25019: USE_LDAP_TRUE=
25020: USE_LDAP_FALSE='#'
25021: else
25022: USE_LDAP_TRUE='#'
25023: USE_LDAP_FALSE=
25024: fi
25025:
25026: if test x$aes = xtrue; then
25027: USE_AES_TRUE=
25028: USE_AES_FALSE='#'
25029: else
25030: USE_AES_TRUE='#'
25031: USE_AES_FALSE=
25032: fi
25033:
25034: if test x$des = xtrue; then
25035: USE_DES_TRUE=
25036: USE_DES_FALSE='#'
25037: else
25038: USE_DES_TRUE='#'
25039: USE_DES_FALSE=
25040: fi
25041:
25042: if test x$blowfish = xtrue; then
25043: USE_BLOWFISH_TRUE=
25044: USE_BLOWFISH_FALSE='#'
25045: else
25046: USE_BLOWFISH_TRUE='#'
25047: USE_BLOWFISH_FALSE=
25048: fi
25049:
25050: if test x$rc2 = xtrue; then
25051: USE_RC2_TRUE=
25052: USE_RC2_FALSE='#'
25053: else
25054: USE_RC2_TRUE='#'
25055: USE_RC2_FALSE=
25056: fi
25057:
25058: if test x$md4 = xtrue; then
25059: USE_MD4_TRUE=
25060: USE_MD4_FALSE='#'
25061: else
25062: USE_MD4_TRUE='#'
25063: USE_MD4_FALSE=
25064: fi
25065:
25066: if test x$md5 = xtrue; then
25067: USE_MD5_TRUE=
25068: USE_MD5_FALSE='#'
25069: else
25070: USE_MD5_TRUE='#'
25071: USE_MD5_FALSE=
25072: fi
25073:
25074: if test x$sha1 = xtrue; then
25075: USE_SHA1_TRUE=
25076: USE_SHA1_FALSE='#'
25077: else
25078: USE_SHA1_TRUE='#'
25079: USE_SHA1_FALSE=
25080: fi
25081:
25082: if test x$sha2 = xtrue; then
25083: USE_SHA2_TRUE=
25084: USE_SHA2_FALSE='#'
25085: else
25086: USE_SHA2_TRUE='#'
25087: USE_SHA2_FALSE=
25088: fi
25089:
25090: if test x$sha3 = xtrue; then
25091: USE_SHA3_TRUE=
25092: USE_SHA3_FALSE='#'
25093: else
25094: USE_SHA3_TRUE='#'
25095: USE_SHA3_FALSE=
25096: fi
25097:
25098: if test x$mgf1 = xtrue; then
25099: USE_MGF1_TRUE=
25100: USE_MGF1_FALSE='#'
25101: else
25102: USE_MGF1_TRUE='#'
25103: USE_MGF1_FALSE=
25104: fi
25105:
25106: if test x$fips_prf = xtrue; then
25107: USE_FIPS_PRF_TRUE=
25108: USE_FIPS_PRF_FALSE='#'
25109: else
25110: USE_FIPS_PRF_TRUE='#'
25111: USE_FIPS_PRF_FALSE=
25112: fi
25113:
25114: if test x$gmp = xtrue; then
25115: USE_GMP_TRUE=
25116: USE_GMP_FALSE='#'
25117: else
25118: USE_GMP_TRUE='#'
25119: USE_GMP_FALSE=
25120: fi
25121:
25122: if test x$curve25519 = xtrue; then
25123: USE_CURVE25519_TRUE=
25124: USE_CURVE25519_FALSE='#'
25125: else
25126: USE_CURVE25519_TRUE='#'
25127: USE_CURVE25519_FALSE=
25128: fi
25129:
25130: if test x$rdrand = xtrue; then
25131: USE_RDRAND_TRUE=
25132: USE_RDRAND_FALSE='#'
25133: else
25134: USE_RDRAND_TRUE='#'
25135: USE_RDRAND_FALSE=
25136: fi
25137:
25138: if test x$aesni = xtrue; then
25139: USE_AESNI_TRUE=
25140: USE_AESNI_FALSE='#'
25141: else
25142: USE_AESNI_TRUE='#'
25143: USE_AESNI_FALSE=
25144: fi
25145:
25146: if test x$random = xtrue; then
25147: USE_RANDOM_TRUE=
25148: USE_RANDOM_FALSE='#'
25149: else
25150: USE_RANDOM_TRUE='#'
25151: USE_RANDOM_FALSE=
25152: fi
25153:
25154: if test x$nonce = xtrue; then
25155: USE_NONCE_TRUE=
25156: USE_NONCE_FALSE='#'
25157: else
25158: USE_NONCE_TRUE='#'
25159: USE_NONCE_FALSE=
25160: fi
25161:
25162: if test x$x509 = xtrue; then
25163: USE_X509_TRUE=
25164: USE_X509_FALSE='#'
25165: else
25166: USE_X509_TRUE='#'
25167: USE_X509_FALSE=
25168: fi
25169:
25170: if test x$revocation = xtrue; then
25171: USE_REVOCATION_TRUE=
25172: USE_REVOCATION_FALSE='#'
25173: else
25174: USE_REVOCATION_TRUE='#'
25175: USE_REVOCATION_FALSE=
25176: fi
25177:
25178: if test x$constraints = xtrue; then
25179: USE_CONSTRAINTS_TRUE=
25180: USE_CONSTRAINTS_FALSE='#'
25181: else
25182: USE_CONSTRAINTS_TRUE='#'
25183: USE_CONSTRAINTS_FALSE=
25184: fi
25185:
25186: if test x$acert = xtrue; then
25187: USE_ACERT_TRUE=
25188: USE_ACERT_FALSE='#'
25189: else
25190: USE_ACERT_TRUE='#'
25191: USE_ACERT_FALSE=
25192: fi
25193:
25194: if test x$pubkey = xtrue; then
25195: USE_PUBKEY_TRUE=
25196: USE_PUBKEY_FALSE='#'
25197: else
25198: USE_PUBKEY_TRUE='#'
25199: USE_PUBKEY_FALSE=
25200: fi
25201:
25202: if test x$pkcs1 = xtrue; then
25203: USE_PKCS1_TRUE=
25204: USE_PKCS1_FALSE='#'
25205: else
25206: USE_PKCS1_TRUE='#'
25207: USE_PKCS1_FALSE=
25208: fi
25209:
25210: if test x$pkcs7 = xtrue; then
25211: USE_PKCS7_TRUE=
25212: USE_PKCS7_FALSE='#'
25213: else
25214: USE_PKCS7_TRUE='#'
25215: USE_PKCS7_FALSE=
25216: fi
25217:
25218: if test x$pkcs8 = xtrue; then
25219: USE_PKCS8_TRUE=
25220: USE_PKCS8_FALSE='#'
25221: else
25222: USE_PKCS8_TRUE='#'
25223: USE_PKCS8_FALSE=
25224: fi
25225:
25226: if test x$pkcs12 = xtrue; then
25227: USE_PKCS12_TRUE=
25228: USE_PKCS12_FALSE='#'
25229: else
25230: USE_PKCS12_TRUE='#'
25231: USE_PKCS12_FALSE=
25232: fi
25233:
25234: if test x$pgp = xtrue; then
25235: USE_PGP_TRUE=
25236: USE_PGP_FALSE='#'
25237: else
25238: USE_PGP_TRUE='#'
25239: USE_PGP_FALSE=
25240: fi
25241:
25242: if test x$dnskey = xtrue; then
25243: USE_DNSKEY_TRUE=
25244: USE_DNSKEY_FALSE='#'
25245: else
25246: USE_DNSKEY_TRUE='#'
25247: USE_DNSKEY_FALSE=
25248: fi
25249:
25250: if test x$sshkey = xtrue; then
25251: USE_SSHKEY_TRUE=
25252: USE_SSHKEY_FALSE='#'
25253: else
25254: USE_SSHKEY_TRUE='#'
25255: USE_SSHKEY_FALSE=
25256: fi
25257:
25258: if test x$pem = xtrue; then
25259: USE_PEM_TRUE=
25260: USE_PEM_FALSE='#'
25261: else
25262: USE_PEM_TRUE='#'
25263: USE_PEM_FALSE=
25264: fi
25265:
25266: if test x$hmac = xtrue; then
25267: USE_HMAC_TRUE=
25268: USE_HMAC_FALSE='#'
25269: else
25270: USE_HMAC_TRUE='#'
25271: USE_HMAC_FALSE=
25272: fi
25273:
25274: if test x$cmac = xtrue; then
25275: USE_CMAC_TRUE=
25276: USE_CMAC_FALSE='#'
25277: else
25278: USE_CMAC_TRUE='#'
25279: USE_CMAC_FALSE=
25280: fi
25281:
25282: if test x$xcbc = xtrue; then
25283: USE_XCBC_TRUE=
25284: USE_XCBC_FALSE='#'
25285: else
25286: USE_XCBC_TRUE='#'
25287: USE_XCBC_FALSE=
25288: fi
25289:
25290: if test x$mysql = xtrue; then
25291: USE_MYSQL_TRUE=
25292: USE_MYSQL_FALSE='#'
25293: else
25294: USE_MYSQL_TRUE='#'
25295: USE_MYSQL_FALSE=
25296: fi
25297:
25298: if test x$sqlite = xtrue; then
25299: USE_SQLITE_TRUE=
25300: USE_SQLITE_FALSE='#'
25301: else
25302: USE_SQLITE_TRUE='#'
25303: USE_SQLITE_FALSE=
25304: fi
25305:
25306: if test x$padlock = xtrue; then
25307: USE_PADLOCK_TRUE=
25308: USE_PADLOCK_FALSE='#'
25309: else
25310: USE_PADLOCK_TRUE='#'
25311: USE_PADLOCK_FALSE=
25312: fi
25313:
25314: if test x$openssl = xtrue; then
25315: USE_OPENSSL_TRUE=
25316: USE_OPENSSL_FALSE='#'
25317: else
25318: USE_OPENSSL_TRUE='#'
25319: USE_OPENSSL_FALSE=
25320: fi
25321:
25322: if test x$wolfssl = xtrue; then
25323: USE_WOLFSSL_TRUE=
25324: USE_WOLFSSL_FALSE='#'
25325: else
25326: USE_WOLFSSL_TRUE='#'
25327: USE_WOLFSSL_FALSE=
25328: fi
25329:
25330: if test x$gcrypt = xtrue; then
25331: USE_GCRYPT_TRUE=
25332: USE_GCRYPT_FALSE='#'
25333: else
25334: USE_GCRYPT_TRUE='#'
25335: USE_GCRYPT_FALSE=
25336: fi
25337:
25338: if test x$botan = xtrue; then
25339: USE_BOTAN_TRUE=
25340: USE_BOTAN_FALSE='#'
25341: else
25342: USE_BOTAN_TRUE='#'
25343: USE_BOTAN_FALSE=
25344: fi
25345:
25346: if test x$agent = xtrue; then
25347: USE_AGENT_TRUE=
25348: USE_AGENT_FALSE='#'
25349: else
25350: USE_AGENT_TRUE='#'
25351: USE_AGENT_FALSE=
25352: fi
25353:
25354: if test x$keychain = xtrue; then
25355: USE_KEYCHAIN_TRUE=
25356: USE_KEYCHAIN_FALSE='#'
25357: else
25358: USE_KEYCHAIN_TRUE='#'
25359: USE_KEYCHAIN_FALSE=
25360: fi
25361:
25362: if test x$pkcs11 = xtrue; then
25363: USE_PKCS11_TRUE=
25364: USE_PKCS11_FALSE='#'
25365: else
25366: USE_PKCS11_TRUE='#'
25367: USE_PKCS11_FALSE=
25368: fi
25369:
25370: if test x$tpm = xtrue; then
25371: USE_TPM_TRUE=
25372: USE_TPM_FALSE='#'
25373: else
25374: USE_TPM_TRUE='#'
25375: USE_TPM_FALSE=
25376: fi
25377:
25378: if test x$chapoly = xtrue; then
25379: USE_CHAPOLY_TRUE=
25380: USE_CHAPOLY_FALSE='#'
25381: else
25382: USE_CHAPOLY_TRUE='#'
25383: USE_CHAPOLY_FALSE=
25384: fi
25385:
25386: if test x$ctr = xtrue; then
25387: USE_CTR_TRUE=
25388: USE_CTR_FALSE='#'
25389: else
25390: USE_CTR_TRUE='#'
25391: USE_CTR_FALSE=
25392: fi
25393:
25394: if test x$ccm = xtrue; then
25395: USE_CCM_TRUE=
25396: USE_CCM_FALSE='#'
25397: else
25398: USE_CCM_TRUE='#'
25399: USE_CCM_FALSE=
25400: fi
25401:
25402: if test x$gcm = xtrue; then
25403: USE_GCM_TRUE=
25404: USE_GCM_FALSE='#'
25405: else
25406: USE_GCM_TRUE='#'
25407: USE_GCM_FALSE=
25408: fi
25409:
25410: if test x$af_alg = xtrue; then
25411: USE_AF_ALG_TRUE=
25412: USE_AF_ALG_FALSE='#'
25413: else
25414: USE_AF_ALG_TRUE='#'
25415: USE_AF_ALG_FALSE=
25416: fi
25417:
25418: if test x$ntru = xtrue; then
25419: USE_NTRU_TRUE=
25420: USE_NTRU_FALSE='#'
25421: else
25422: USE_NTRU_TRUE='#'
25423: USE_NTRU_FALSE=
25424: fi
25425:
25426: if test x$newhope = xtrue; then
25427: USE_NEWHOPE_TRUE=
25428: USE_NEWHOPE_FALSE='#'
25429: else
25430: USE_NEWHOPE_TRUE='#'
25431: USE_NEWHOPE_FALSE=
25432: fi
25433:
25434: if test x$bliss = xtrue; then
25435: USE_BLISS_TRUE=
25436: USE_BLISS_FALSE='#'
25437: else
25438: USE_BLISS_TRUE='#'
25439: USE_BLISS_FALSE=
25440: fi
25441:
25442: if test x$drbg = xtrue; then
25443: USE_DRBG_TRUE=
25444: USE_DRBG_FALSE='#'
25445: else
25446: USE_DRBG_TRUE='#'
25447: USE_DRBG_FALSE=
25448: fi
25449:
25450:
25451: # charon plugins
25452: # ----------------
25453: if test x$stroke = xtrue; then
25454: USE_STROKE_TRUE=
25455: USE_STROKE_FALSE='#'
25456: else
25457: USE_STROKE_TRUE='#'
25458: USE_STROKE_FALSE=
25459: fi
25460:
25461: if test x$vici = xtrue; then
25462: USE_VICI_TRUE=
25463: USE_VICI_FALSE='#'
25464: else
25465: USE_VICI_TRUE='#'
25466: USE_VICI_FALSE=
25467: fi
25468:
25469: if test x$medsrv = xtrue; then
25470: USE_MEDSRV_TRUE=
25471: USE_MEDSRV_FALSE='#'
25472: else
25473: USE_MEDSRV_TRUE='#'
25474: USE_MEDSRV_FALSE=
25475: fi
25476:
25477: if test x$medcli = xtrue; then
25478: USE_MEDCLI_TRUE=
25479: USE_MEDCLI_FALSE='#'
25480: else
25481: USE_MEDCLI_TRUE='#'
25482: USE_MEDCLI_FALSE=
25483: fi
25484:
25485: if test x$uci = xtrue; then
25486: USE_UCI_TRUE=
25487: USE_UCI_FALSE='#'
25488: else
25489: USE_UCI_TRUE='#'
25490: USE_UCI_FALSE=
25491: fi
25492:
25493: if test x$osx_attr = xtrue; then
25494: USE_OSX_ATTR_TRUE=
25495: USE_OSX_ATTR_FALSE='#'
25496: else
25497: USE_OSX_ATTR_TRUE='#'
25498: USE_OSX_ATTR_FALSE=
25499: fi
25500:
25501: if test x$p_cscf = xtrue; then
25502: USE_P_CSCF_TRUE=
25503: USE_P_CSCF_FALSE='#'
25504: else
25505: USE_P_CSCF_TRUE='#'
25506: USE_P_CSCF_FALSE=
25507: fi
25508:
25509: if test x$android_dns = xtrue; then
25510: USE_ANDROID_DNS_TRUE=
25511: USE_ANDROID_DNS_FALSE='#'
25512: else
25513: USE_ANDROID_DNS_TRUE='#'
25514: USE_ANDROID_DNS_FALSE=
25515: fi
25516:
25517: if test x$android_log = xtrue; then
25518: USE_ANDROID_LOG_TRUE=
25519: USE_ANDROID_LOG_FALSE='#'
25520: else
25521: USE_ANDROID_LOG_TRUE='#'
25522: USE_ANDROID_LOG_FALSE=
25523: fi
25524:
25525: if test x$smp = xtrue; then
25526: USE_SMP_TRUE=
25527: USE_SMP_FALSE='#'
25528: else
25529: USE_SMP_TRUE='#'
25530: USE_SMP_FALSE=
25531: fi
25532:
25533: if test x$sql = xtrue; then
25534: USE_SQL_TRUE=
25535: USE_SQL_FALSE='#'
25536: else
25537: USE_SQL_TRUE='#'
25538: USE_SQL_FALSE=
25539: fi
25540:
25541: if test x$dnscert = xtrue; then
25542: USE_DNSCERT_TRUE=
25543: USE_DNSCERT_FALSE='#'
25544: else
25545: USE_DNSCERT_TRUE='#'
25546: USE_DNSCERT_FALSE=
25547: fi
25548:
25549: if test x$ipseckey = xtrue; then
25550: USE_IPSECKEY_TRUE=
25551: USE_IPSECKEY_FALSE='#'
25552: else
25553: USE_IPSECKEY_TRUE='#'
25554: USE_IPSECKEY_FALSE=
25555: fi
25556:
25557: if test x$updown = xtrue; then
25558: USE_UPDOWN_TRUE=
25559: USE_UPDOWN_FALSE='#'
25560: else
25561: USE_UPDOWN_TRUE='#'
25562: USE_UPDOWN_FALSE=
25563: fi
25564:
25565: if test x$dhcp = xtrue; then
25566: USE_DHCP_TRUE=
25567: USE_DHCP_FALSE='#'
25568: else
25569: USE_DHCP_TRUE='#'
25570: USE_DHCP_FALSE=
25571: fi
25572:
25573: if test x$load_tester = xtrue; then
25574: USE_LOAD_TESTER_TRUE=
25575: USE_LOAD_TESTER_FALSE='#'
25576: else
25577: USE_LOAD_TESTER_TRUE='#'
25578: USE_LOAD_TESTER_FALSE=
25579: fi
25580:
25581: if test x$ha = xtrue; then
25582: USE_HA_TRUE=
25583: USE_HA_FALSE='#'
25584: else
25585: USE_HA_TRUE='#'
25586: USE_HA_FALSE=
25587: fi
25588:
25589: if test x$kernel_netlink = xtrue; then
25590: USE_KERNEL_NETLINK_TRUE=
25591: USE_KERNEL_NETLINK_FALSE='#'
25592: else
25593: USE_KERNEL_NETLINK_TRUE='#'
25594: USE_KERNEL_NETLINK_FALSE=
25595: fi
25596:
25597: if test x$kernel_pfkey = xtrue; then
25598: USE_KERNEL_PFKEY_TRUE=
25599: USE_KERNEL_PFKEY_FALSE='#'
25600: else
25601: USE_KERNEL_PFKEY_TRUE='#'
25602: USE_KERNEL_PFKEY_FALSE=
25603: fi
25604:
25605: if test x$kernel_pfroute = xtrue; then
25606: USE_KERNEL_PFROUTE_TRUE=
25607: USE_KERNEL_PFROUTE_FALSE='#'
25608: else
25609: USE_KERNEL_PFROUTE_TRUE='#'
25610: USE_KERNEL_PFROUTE_FALSE=
25611: fi
25612:
25613: if test x$kernel_libipsec = xtrue; then
25614: USE_KERNEL_LIBIPSEC_TRUE=
25615: USE_KERNEL_LIBIPSEC_FALSE='#'
25616: else
25617: USE_KERNEL_LIBIPSEC_TRUE='#'
25618: USE_KERNEL_LIBIPSEC_FALSE=
25619: fi
25620:
25621: if test x$kernel_wfp = xtrue; then
25622: USE_KERNEL_WFP_TRUE=
25623: USE_KERNEL_WFP_FALSE='#'
25624: else
25625: USE_KERNEL_WFP_TRUE='#'
25626: USE_KERNEL_WFP_FALSE=
25627: fi
25628:
25629: if test x$kernel_iph = xtrue; then
25630: USE_KERNEL_IPH_TRUE=
25631: USE_KERNEL_IPH_FALSE='#'
25632: else
25633: USE_KERNEL_IPH_TRUE='#'
25634: USE_KERNEL_IPH_FALSE=
25635: fi
25636:
25637: if test x$whitelist = xtrue; then
25638: USE_WHITELIST_TRUE=
25639: USE_WHITELIST_FALSE='#'
25640: else
25641: USE_WHITELIST_TRUE='#'
25642: USE_WHITELIST_FALSE=
25643: fi
25644:
25645: if test x$ext_auth = xtrue; then
25646: USE_EXT_AUTH_TRUE=
25647: USE_EXT_AUTH_FALSE='#'
25648: else
25649: USE_EXT_AUTH_TRUE='#'
25650: USE_EXT_AUTH_FALSE=
25651: fi
25652:
25653: if test x$lookip = xtrue; then
25654: USE_LOOKIP_TRUE=
25655: USE_LOOKIP_FALSE='#'
25656: else
25657: USE_LOOKIP_TRUE='#'
25658: USE_LOOKIP_FALSE=
25659: fi
25660:
25661: if test x$error_notify = xtrue; then
25662: USE_ERROR_NOTIFY_TRUE=
25663: USE_ERROR_NOTIFY_FALSE='#'
25664: else
25665: USE_ERROR_NOTIFY_TRUE='#'
25666: USE_ERROR_NOTIFY_FALSE=
25667: fi
25668:
25669: if test x$certexpire = xtrue; then
25670: USE_CERTEXPIRE_TRUE=
25671: USE_CERTEXPIRE_FALSE='#'
25672: else
25673: USE_CERTEXPIRE_TRUE='#'
25674: USE_CERTEXPIRE_FALSE=
25675: fi
25676:
25677: if test x$systime_fix = xtrue; then
25678: USE_SYSTIME_FIX_TRUE=
25679: USE_SYSTIME_FIX_FALSE='#'
25680: else
25681: USE_SYSTIME_FIX_TRUE='#'
25682: USE_SYSTIME_FIX_FALSE=
25683: fi
25684:
25685: if test x$led = xtrue; then
25686: USE_LED_TRUE=
25687: USE_LED_FALSE='#'
25688: else
25689: USE_LED_TRUE='#'
25690: USE_LED_FALSE=
25691: fi
25692:
25693: if test x$duplicheck = xtrue; then
25694: USE_DUPLICHECK_TRUE=
25695: USE_DUPLICHECK_FALSE='#'
25696: else
25697: USE_DUPLICHECK_TRUE='#'
25698: USE_DUPLICHECK_FALSE=
25699: fi
25700:
25701: if test x$coupling = xtrue; then
25702: USE_COUPLING_TRUE=
25703: USE_COUPLING_FALSE='#'
25704: else
25705: USE_COUPLING_TRUE='#'
25706: USE_COUPLING_FALSE=
25707: fi
25708:
25709: if test x$radattr = xtrue; then
25710: USE_RADATTR_TRUE=
25711: USE_RADATTR_FALSE='#'
25712: else
25713: USE_RADATTR_TRUE='#'
25714: USE_RADATTR_FALSE=
25715: fi
25716:
25717: if test x$eap_sim = xtrue; then
25718: USE_EAP_SIM_TRUE=
25719: USE_EAP_SIM_FALSE='#'
25720: else
25721: USE_EAP_SIM_TRUE='#'
25722: USE_EAP_SIM_FALSE=
25723: fi
25724:
25725: if test x$eap_sim_file = xtrue; then
25726: USE_EAP_SIM_FILE_TRUE=
25727: USE_EAP_SIM_FILE_FALSE='#'
25728: else
25729: USE_EAP_SIM_FILE_TRUE='#'
25730: USE_EAP_SIM_FILE_FALSE=
25731: fi
25732:
25733: if test x$eap_sim_pcsc = xtrue; then
25734: USE_EAP_SIM_PCSC_TRUE=
25735: USE_EAP_SIM_PCSC_FALSE='#'
25736: else
25737: USE_EAP_SIM_PCSC_TRUE='#'
25738: USE_EAP_SIM_PCSC_FALSE=
25739: fi
25740:
25741: if test x$eap_simaka_sql = xtrue; then
25742: USE_EAP_SIMAKA_SQL_TRUE=
25743: USE_EAP_SIMAKA_SQL_FALSE='#'
25744: else
25745: USE_EAP_SIMAKA_SQL_TRUE='#'
25746: USE_EAP_SIMAKA_SQL_FALSE=
25747: fi
25748:
25749: if test x$eap_simaka_pseudonym = xtrue; then
25750: USE_EAP_SIMAKA_PSEUDONYM_TRUE=
25751: USE_EAP_SIMAKA_PSEUDONYM_FALSE='#'
25752: else
25753: USE_EAP_SIMAKA_PSEUDONYM_TRUE='#'
25754: USE_EAP_SIMAKA_PSEUDONYM_FALSE=
25755: fi
25756:
25757: if test x$eap_simaka_reauth = xtrue; then
25758: USE_EAP_SIMAKA_REAUTH_TRUE=
25759: USE_EAP_SIMAKA_REAUTH_FALSE='#'
25760: else
25761: USE_EAP_SIMAKA_REAUTH_TRUE='#'
25762: USE_EAP_SIMAKA_REAUTH_FALSE=
25763: fi
25764:
25765: if test x$eap_identity = xtrue; then
25766: USE_EAP_IDENTITY_TRUE=
25767: USE_EAP_IDENTITY_FALSE='#'
25768: else
25769: USE_EAP_IDENTITY_TRUE='#'
25770: USE_EAP_IDENTITY_FALSE=
25771: fi
25772:
25773: if test x$eap_md5 = xtrue; then
25774: USE_EAP_MD5_TRUE=
25775: USE_EAP_MD5_FALSE='#'
25776: else
25777: USE_EAP_MD5_TRUE='#'
25778: USE_EAP_MD5_FALSE=
25779: fi
25780:
25781: if test x$eap_gtc = xtrue; then
25782: USE_EAP_GTC_TRUE=
25783: USE_EAP_GTC_FALSE='#'
25784: else
25785: USE_EAP_GTC_TRUE='#'
25786: USE_EAP_GTC_FALSE=
25787: fi
25788:
25789: if test x$eap_aka = xtrue; then
25790: USE_EAP_AKA_TRUE=
25791: USE_EAP_AKA_FALSE='#'
25792: else
25793: USE_EAP_AKA_TRUE='#'
25794: USE_EAP_AKA_FALSE=
25795: fi
25796:
25797: if test x$eap_aka_3gpp = xtrue; then
25798: USE_EAP_AKA_3GPP_TRUE=
25799: USE_EAP_AKA_3GPP_FALSE='#'
25800: else
25801: USE_EAP_AKA_3GPP_TRUE='#'
25802: USE_EAP_AKA_3GPP_FALSE=
25803: fi
25804:
25805: if test x$eap_aka_3gpp2 = xtrue; then
25806: USE_EAP_AKA_3GPP2_TRUE=
25807: USE_EAP_AKA_3GPP2_FALSE='#'
25808: else
25809: USE_EAP_AKA_3GPP2_TRUE='#'
25810: USE_EAP_AKA_3GPP2_FALSE=
25811: fi
25812:
25813: if test x$eap_mschapv2 = xtrue; then
25814: USE_EAP_MSCHAPV2_TRUE=
25815: USE_EAP_MSCHAPV2_FALSE='#'
25816: else
25817: USE_EAP_MSCHAPV2_TRUE='#'
25818: USE_EAP_MSCHAPV2_FALSE=
25819: fi
25820:
25821: if test x$eap_tls = xtrue; then
25822: USE_EAP_TLS_TRUE=
25823: USE_EAP_TLS_FALSE='#'
25824: else
25825: USE_EAP_TLS_TRUE='#'
25826: USE_EAP_TLS_FALSE=
25827: fi
25828:
25829: if test x$eap_ttls = xtrue; then
25830: USE_EAP_TTLS_TRUE=
25831: USE_EAP_TTLS_FALSE='#'
25832: else
25833: USE_EAP_TTLS_TRUE='#'
25834: USE_EAP_TTLS_FALSE=
25835: fi
25836:
25837: if test x$eap_peap = xtrue; then
25838: USE_EAP_PEAP_TRUE=
25839: USE_EAP_PEAP_FALSE='#'
25840: else
25841: USE_EAP_PEAP_TRUE='#'
25842: USE_EAP_PEAP_FALSE=
25843: fi
25844:
25845: if test x$eap_tnc = xtrue; then
25846: USE_EAP_TNC_TRUE=
25847: USE_EAP_TNC_FALSE='#'
25848: else
25849: USE_EAP_TNC_TRUE='#'
25850: USE_EAP_TNC_FALSE=
25851: fi
25852:
25853: if test x$eap_dynamic = xtrue; then
25854: USE_EAP_DYNAMIC_TRUE=
25855: USE_EAP_DYNAMIC_FALSE='#'
25856: else
25857: USE_EAP_DYNAMIC_TRUE='#'
25858: USE_EAP_DYNAMIC_FALSE=
25859: fi
25860:
25861: if test x$eap_radius = xtrue; then
25862: USE_EAP_RADIUS_TRUE=
25863: USE_EAP_RADIUS_FALSE='#'
25864: else
25865: USE_EAP_RADIUS_TRUE='#'
25866: USE_EAP_RADIUS_FALSE=
25867: fi
25868:
25869: if test x$xauth_generic = xtrue; then
25870: USE_XAUTH_GENERIC_TRUE=
25871: USE_XAUTH_GENERIC_FALSE='#'
25872: else
25873: USE_XAUTH_GENERIC_TRUE='#'
25874: USE_XAUTH_GENERIC_FALSE=
25875: fi
25876:
25877: if test x$xauth_eap = xtrue; then
25878: USE_XAUTH_EAP_TRUE=
25879: USE_XAUTH_EAP_FALSE='#'
25880: else
25881: USE_XAUTH_EAP_TRUE='#'
25882: USE_XAUTH_EAP_FALSE=
25883: fi
25884:
25885: if test x$xauth_pam = xtrue; then
25886: USE_XAUTH_PAM_TRUE=
25887: USE_XAUTH_PAM_FALSE='#'
25888: else
25889: USE_XAUTH_PAM_TRUE='#'
25890: USE_XAUTH_PAM_FALSE=
25891: fi
25892:
25893: if test x$xauth_noauth = xtrue; then
25894: USE_XAUTH_NOAUTH_TRUE=
25895: USE_XAUTH_NOAUTH_FALSE='#'
25896: else
25897: USE_XAUTH_NOAUTH_TRUE='#'
25898: USE_XAUTH_NOAUTH_FALSE=
25899: fi
25900:
25901: if test x$tnc_ifmap = xtrue; then
25902: USE_TNC_IFMAP_TRUE=
25903: USE_TNC_IFMAP_FALSE='#'
25904: else
25905: USE_TNC_IFMAP_TRUE='#'
25906: USE_TNC_IFMAP_FALSE=
25907: fi
25908:
25909: if test x$tnc_pdp = xtrue; then
25910: USE_TNC_PDP_TRUE=
25911: USE_TNC_PDP_FALSE='#'
25912: else
25913: USE_TNC_PDP_TRUE='#'
25914: USE_TNC_PDP_FALSE=
25915: fi
25916:
25917: if test x$tnc_imc = xtrue; then
25918: USE_TNC_IMC_TRUE=
25919: USE_TNC_IMC_FALSE='#'
25920: else
25921: USE_TNC_IMC_TRUE='#'
25922: USE_TNC_IMC_FALSE=
25923: fi
25924:
25925: if test x$tnc_imv = xtrue; then
25926: USE_TNC_IMV_TRUE=
25927: USE_TNC_IMV_FALSE='#'
25928: else
25929: USE_TNC_IMV_TRUE='#'
25930: USE_TNC_IMV_FALSE=
25931: fi
25932:
25933: if test x$tnc_tnccs = xtrue; then
25934: USE_TNC_TNCCS_TRUE=
25935: USE_TNC_TNCCS_FALSE='#'
25936: else
25937: USE_TNC_TNCCS_TRUE='#'
25938: USE_TNC_TNCCS_FALSE=
25939: fi
25940:
25941: if test x$tnccs_11 = xtrue; then
25942: USE_TNCCS_11_TRUE=
25943: USE_TNCCS_11_FALSE='#'
25944: else
25945: USE_TNCCS_11_TRUE='#'
25946: USE_TNCCS_11_FALSE=
25947: fi
25948:
25949: if test x$tnccs_20 = xtrue; then
25950: USE_TNCCS_20_TRUE=
25951: USE_TNCCS_20_FALSE='#'
25952: else
25953: USE_TNCCS_20_TRUE='#'
25954: USE_TNCCS_20_FALSE=
25955: fi
25956:
25957: if test x$tnccs_dynamic = xtrue; then
25958: USE_TNCCS_DYNAMIC_TRUE=
25959: USE_TNCCS_DYNAMIC_FALSE='#'
25960: else
25961: USE_TNCCS_DYNAMIC_TRUE='#'
25962: USE_TNCCS_DYNAMIC_FALSE=
25963: fi
25964:
25965: if test x$imc_test = xtrue; then
25966: USE_IMC_TEST_TRUE=
25967: USE_IMC_TEST_FALSE='#'
25968: else
25969: USE_IMC_TEST_TRUE='#'
25970: USE_IMC_TEST_FALSE=
25971: fi
25972:
25973: if test x$imv_test = xtrue; then
25974: USE_IMV_TEST_TRUE=
25975: USE_IMV_TEST_FALSE='#'
25976: else
25977: USE_IMV_TEST_TRUE='#'
25978: USE_IMV_TEST_FALSE=
25979: fi
25980:
25981: if test x$imc_scanner = xtrue; then
25982: USE_IMC_SCANNER_TRUE=
25983: USE_IMC_SCANNER_FALSE='#'
25984: else
25985: USE_IMC_SCANNER_TRUE='#'
25986: USE_IMC_SCANNER_FALSE=
25987: fi
25988:
25989: if test x$imv_scanner = xtrue; then
25990: USE_IMV_SCANNER_TRUE=
25991: USE_IMV_SCANNER_FALSE='#'
25992: else
25993: USE_IMV_SCANNER_TRUE='#'
25994: USE_IMV_SCANNER_FALSE=
25995: fi
25996:
25997: if test x$imc_os = xtrue; then
25998: USE_IMC_OS_TRUE=
25999: USE_IMC_OS_FALSE='#'
26000: else
26001: USE_IMC_OS_TRUE='#'
26002: USE_IMC_OS_FALSE=
26003: fi
26004:
26005: if test x$imv_os = xtrue; then
26006: USE_IMV_OS_TRUE=
26007: USE_IMV_OS_FALSE='#'
26008: else
26009: USE_IMV_OS_TRUE='#'
26010: USE_IMV_OS_FALSE=
26011: fi
26012:
26013: if test x$imc_attestation = xtrue; then
26014: USE_IMC_ATTESTATION_TRUE=
26015: USE_IMC_ATTESTATION_FALSE='#'
26016: else
26017: USE_IMC_ATTESTATION_TRUE='#'
26018: USE_IMC_ATTESTATION_FALSE=
26019: fi
26020:
26021: if test x$imv_attestation = xtrue; then
26022: USE_IMV_ATTESTATION_TRUE=
26023: USE_IMV_ATTESTATION_FALSE='#'
26024: else
26025: USE_IMV_ATTESTATION_TRUE='#'
26026: USE_IMV_ATTESTATION_FALSE=
26027: fi
26028:
26029: if test x$imc_swima = xtrue; then
26030: USE_IMC_SWIMA_TRUE=
26031: USE_IMC_SWIMA_FALSE='#'
26032: else
26033: USE_IMC_SWIMA_TRUE='#'
26034: USE_IMC_SWIMA_FALSE=
26035: fi
26036:
26037: if test x$imv_swima = xtrue; then
26038: USE_IMV_SWIMA_TRUE=
26039: USE_IMV_SWIMA_FALSE='#'
26040: else
26041: USE_IMV_SWIMA_TRUE='#'
26042: USE_IMV_SWIMA_FALSE=
26043: fi
26044:
26045: if test x$imc_hcd = xtrue; then
26046: USE_IMC_HCD_TRUE=
26047: USE_IMC_HCD_FALSE='#'
26048: else
26049: USE_IMC_HCD_TRUE='#'
26050: USE_IMC_HCD_FALSE=
26051: fi
26052:
26053: if test x$imv_hcd = xtrue; then
26054: USE_IMV_HCD_TRUE=
26055: USE_IMV_HCD_FALSE='#'
26056: else
26057: USE_IMV_HCD_TRUE='#'
26058: USE_IMV_HCD_FALSE=
26059: fi
26060:
26061: if test x$save_keys = xtrue; then
26062: USE_SAVE_KEYS_TRUE=
26063: USE_SAVE_KEYS_FALSE='#'
26064: else
26065: USE_SAVE_KEYS_TRUE='#'
26066: USE_SAVE_KEYS_FALSE=
26067: fi
26068:
26069: if test x$socket_default = xtrue; then
26070: USE_SOCKET_DEFAULT_TRUE=
26071: USE_SOCKET_DEFAULT_FALSE='#'
26072: else
26073: USE_SOCKET_DEFAULT_TRUE='#'
26074: USE_SOCKET_DEFAULT_FALSE=
26075: fi
26076:
26077: if test x$socket_dynamic = xtrue; then
26078: USE_SOCKET_DYNAMIC_TRUE=
26079: USE_SOCKET_DYNAMIC_FALSE='#'
26080: else
26081: USE_SOCKET_DYNAMIC_TRUE='#'
26082: USE_SOCKET_DYNAMIC_FALSE=
26083: fi
26084:
26085: if test x$socket_win = xtrue; then
26086: USE_SOCKET_WIN_TRUE=
26087: USE_SOCKET_WIN_FALSE='#'
26088: else
26089: USE_SOCKET_WIN_TRUE='#'
26090: USE_SOCKET_WIN_FALSE=
26091: fi
26092:
26093: if test x$bypass_lan = xtrue; then
26094: USE_BYPASS_LAN_TRUE=
26095: USE_BYPASS_LAN_FALSE='#'
26096: else
26097: USE_BYPASS_LAN_TRUE='#'
26098: USE_BYPASS_LAN_FALSE=
26099: fi
26100:
26101: if test x$connmark = xtrue; then
26102: USE_CONNMARK_TRUE=
26103: USE_CONNMARK_FALSE='#'
26104: else
26105: USE_CONNMARK_TRUE='#'
26106: USE_CONNMARK_FALSE=
26107: fi
26108:
26109: if test x$forecast = xtrue; then
26110: USE_FORECAST_TRUE=
26111: USE_FORECAST_FALSE='#'
26112: else
26113: USE_FORECAST_TRUE='#'
26114: USE_FORECAST_FALSE=
26115: fi
26116:
26117: if test x$farp = xtrue; then
26118: USE_FARP_TRUE=
26119: USE_FARP_FALSE='#'
26120: else
26121: USE_FARP_TRUE='#'
26122: USE_FARP_FALSE=
26123: fi
26124:
26125: if test x$addrblock = xtrue; then
26126: USE_ADDRBLOCK_TRUE=
26127: USE_ADDRBLOCK_FALSE='#'
26128: else
26129: USE_ADDRBLOCK_TRUE='#'
26130: USE_ADDRBLOCK_FALSE=
26131: fi
26132:
26133: if test x$unity = xtrue; then
26134: USE_UNITY_TRUE=
26135: USE_UNITY_FALSE='#'
26136: else
26137: USE_UNITY_TRUE='#'
26138: USE_UNITY_FALSE=
26139: fi
26140:
26141: if test x$resolve = xtrue; then
26142: USE_RESOLVE_TRUE=
26143: USE_RESOLVE_FALSE='#'
26144: else
26145: USE_RESOLVE_TRUE='#'
26146: USE_RESOLVE_FALSE=
26147: fi
26148:
26149: if test x$attr = xtrue; then
26150: USE_ATTR_TRUE=
26151: USE_ATTR_FALSE='#'
26152: else
26153: USE_ATTR_TRUE='#'
26154: USE_ATTR_FALSE=
26155: fi
26156:
26157: if test x$attr_sql = xtrue; then
26158: USE_ATTR_SQL_TRUE=
26159: USE_ATTR_SQL_FALSE='#'
26160: else
26161: USE_ATTR_SQL_TRUE='#'
26162: USE_ATTR_SQL_FALSE=
26163: fi
26164:
26165: if test x$counters = xtrue; then
26166: USE_COUNTERS_TRUE=
26167: USE_COUNTERS_FALSE='#'
26168: else
26169: USE_COUNTERS_TRUE='#'
26170: USE_COUNTERS_FALSE=
26171: fi
26172:
26173:
26174: # other options
26175: # ---------------
26176: if test x$leak_detective = xtrue; then
26177: USE_LEAK_DETECTIVE_TRUE=
26178: USE_LEAK_DETECTIVE_FALSE='#'
26179: else
26180: USE_LEAK_DETECTIVE_TRUE='#'
26181: USE_LEAK_DETECTIVE_FALSE=
26182: fi
26183:
26184: if test x$lock_profiler = xtrue; then
26185: USE_LOCK_PROFILER_TRUE=
26186: USE_LOCK_PROFILER_FALSE='#'
26187: else
26188: USE_LOCK_PROFILER_TRUE='#'
26189: USE_LOCK_PROFILER_FALSE=
26190: fi
26191:
26192: if test x$fast = xtrue; then
26193: USE_FAST_TRUE=
26194: USE_FAST_FALSE='#'
26195: else
26196: USE_FAST_TRUE='#'
26197: USE_FAST_FALSE=
26198: fi
26199:
26200: if test x$manager = xtrue; then
26201: USE_MANAGER_TRUE=
26202: USE_MANAGER_FALSE='#'
26203: else
26204: USE_MANAGER_TRUE='#'
26205: USE_MANAGER_FALSE=
26206: fi
26207:
26208: if test x$mediation = xtrue; then
26209: USE_ME_TRUE=
26210: USE_ME_FALSE='#'
26211: else
26212: USE_ME_TRUE='#'
26213: USE_ME_FALSE=
26214: fi
26215:
26216: if test x$integrity_test = xtrue; then
26217: USE_INTEGRITY_TEST_TRUE=
26218: USE_INTEGRITY_TEST_FALSE='#'
26219: else
26220: USE_INTEGRITY_TEST_TRUE='#'
26221: USE_INTEGRITY_TEST_FALSE=
26222: fi
26223:
26224: if test x$load_warning = xtrue; then
26225: USE_LOAD_WARNING_TRUE=
26226: USE_LOAD_WARNING_FALSE='#'
26227: else
26228: USE_LOAD_WARNING_TRUE='#'
26229: USE_LOAD_WARNING_FALSE=
26230: fi
26231:
26232: if test x$ikev1 = xtrue; then
26233: USE_IKEV1_TRUE=
26234: USE_IKEV1_FALSE='#'
26235: else
26236: USE_IKEV1_TRUE='#'
26237: USE_IKEV1_FALSE=
26238: fi
26239:
26240: if test x$ikev2 = xtrue; then
26241: USE_IKEV2_TRUE=
26242: USE_IKEV2_FALSE='#'
26243: else
26244: USE_IKEV2_TRUE='#'
26245: USE_IKEV2_FALSE=
26246: fi
26247:
26248: if test x$threads = xtrue; then
26249: USE_THREADS_TRUE=
26250: USE_THREADS_FALSE='#'
26251: else
26252: USE_THREADS_TRUE='#'
26253: USE_THREADS_FALSE=
26254: fi
26255:
26256: if test x$adns = xtrue; then
26257: USE_ADNS_TRUE=
26258: USE_ADNS_FALSE='#'
26259: else
26260: USE_ADNS_TRUE='#'
26261: USE_ADNS_FALSE=
26262: fi
26263:
26264: if test x$charon = xtrue; then
26265: USE_CHARON_TRUE=
26266: USE_CHARON_FALSE='#'
26267: else
26268: USE_CHARON_TRUE='#'
26269: USE_CHARON_FALSE=
26270: fi
26271:
26272: if test x$nm = xtrue; then
26273: USE_NM_TRUE=
26274: USE_NM_FALSE='#'
26275: else
26276: USE_NM_TRUE='#'
26277: USE_NM_FALSE=
26278: fi
26279:
26280: if test x$pki = xtrue; then
26281: USE_PKI_TRUE=
26282: USE_PKI_FALSE='#'
26283: else
26284: USE_PKI_TRUE='#'
26285: USE_PKI_FALSE=
26286: fi
26287:
26288: if test x$scepclient = xtrue; then
26289: USE_SCEPCLIENT_TRUE=
26290: USE_SCEPCLIENT_FALSE='#'
26291: else
26292: USE_SCEPCLIENT_TRUE='#'
26293: USE_SCEPCLIENT_FALSE=
26294: fi
26295:
26296: if test x$scripts = xtrue; then
26297: USE_SCRIPTS_TRUE=
26298: USE_SCRIPTS_FALSE='#'
26299: else
26300: USE_SCRIPTS_TRUE='#'
26301: USE_SCRIPTS_FALSE=
26302: fi
26303:
26304: if test x$fuzzing = xtrue; then
26305: USE_FUZZING_TRUE=
26306: USE_FUZZING_FALSE='#'
26307: else
26308: USE_FUZZING_TRUE='#'
26309: USE_FUZZING_FALSE=
26310: fi
26311:
26312: if test x$conftest = xtrue; then
26313: USE_CONFTEST_TRUE=
26314: USE_CONFTEST_FALSE='#'
26315: else
26316: USE_CONFTEST_TRUE='#'
26317: USE_CONFTEST_FALSE=
26318: fi
26319:
26320: 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
26321: USE_LIBSTRONGSWAN_TRUE=
26322: USE_LIBSTRONGSWAN_FALSE='#'
26323: else
26324: USE_LIBSTRONGSWAN_TRUE='#'
26325: USE_LIBSTRONGSWAN_FALSE=
26326: fi
26327:
26328: 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
26329: USE_LIBCHARON_TRUE=
26330: USE_LIBCHARON_FALSE='#'
26331: else
26332: USE_LIBCHARON_TRUE='#'
26333: USE_LIBCHARON_FALSE=
26334: fi
26335:
26336: if test x$libipsec = xtrue; then
26337: USE_LIBIPSEC_TRUE=
26338: USE_LIBIPSEC_FALSE='#'
26339: else
26340: USE_LIBIPSEC_TRUE='#'
26341: USE_LIBIPSEC_FALSE=
26342: fi
26343:
26344: if test x$bliss = xtrue -o x$newhope = xtrue; then
26345: USE_LIBNTTFFT_TRUE=
26346: USE_LIBNTTFFT_FALSE='#'
26347: else
26348: USE_LIBNTTFFT_TRUE='#'
26349: USE_LIBNTTFFT_FALSE=
26350: fi
26351:
26352: if test x$tnc_tnccs = xtrue -o x$imcv = xtrue; then
26353: USE_LIBTNCIF_TRUE=
26354: USE_LIBTNCIF_FALSE='#'
26355: else
26356: USE_LIBTNCIF_TRUE='#'
26357: USE_LIBTNCIF_FALSE=
26358: fi
26359:
26360: if test x$tnc_tnccs = xtrue; then
26361: USE_LIBTNCCS_TRUE=
26362: USE_LIBTNCCS_FALSE='#'
26363: else
26364: USE_LIBTNCCS_TRUE='#'
26365: USE_LIBTNCCS_FALSE=
26366: fi
26367:
26368: if test x$tnc_tnccs = xtrue; then
26369: USE_LIBPTTLS_TRUE=
26370: USE_LIBPTTLS_FALSE='#'
26371: else
26372: USE_LIBPTTLS_TRUE='#'
26373: USE_LIBPTTLS_FALSE=
26374: fi
26375:
26376: if test x$tss_trousers = xtrue -o x$tss_tss2 = xtrue -o x$tpm = xtrue -o x$aikgen = xtrue -o x$imcv = xtrue; then
26377: USE_LIBTPMTSS_TRUE=
26378: USE_LIBTPMTSS_FALSE='#'
26379: else
26380: USE_LIBTPMTSS_TRUE='#'
26381: USE_LIBTPMTSS_FALSE=
26382: fi
26383:
26384: if test x$stroke = xtrue; then
26385: USE_FILE_CONFIG_TRUE=
26386: USE_FILE_CONFIG_FALSE='#'
26387: else
26388: USE_FILE_CONFIG_TRUE='#'
26389: USE_FILE_CONFIG_FALSE=
26390: fi
26391:
26392: if test x$stroke = xtrue -o x$scepclient = xtrue -o x$conftest = xtrue; then
26393: USE_IPSEC_SCRIPT_TRUE=
26394: USE_IPSEC_SCRIPT_FALSE='#'
26395: else
26396: USE_IPSEC_SCRIPT_TRUE='#'
26397: USE_IPSEC_SCRIPT_FALSE=
26398: fi
26399:
26400: if test x$capabilities = xlibcap; then
26401: USE_LIBCAP_TRUE=
26402: USE_LIBCAP_FALSE='#'
26403: else
26404: USE_LIBCAP_TRUE='#'
26405: USE_LIBCAP_FALSE=
26406: fi
26407:
26408: if test x$printf_hooks = xvstr; then
26409: USE_VSTR_TRUE=
26410: USE_VSTR_FALSE='#'
26411: else
26412: USE_VSTR_TRUE='#'
26413: USE_VSTR_FALSE=
26414: fi
26415:
26416: if test x$printf_hooks = xbuiltin; then
26417: USE_BUILTIN_PRINTF_TRUE=
26418: USE_BUILTIN_PRINTF_FALSE='#'
26419: else
26420: USE_BUILTIN_PRINTF_TRUE='#'
26421: USE_BUILTIN_PRINTF_FALSE=
26422: fi
26423:
26424: if test x$simaka = xtrue; then
26425: USE_SIMAKA_TRUE=
26426: USE_SIMAKA_FALSE='#'
26427: else
26428: USE_SIMAKA_TRUE='#'
26429: USE_SIMAKA_FALSE=
26430: fi
26431:
26432: if test x$tls = xtrue; then
26433: USE_TLS_TRUE=
26434: USE_TLS_FALSE='#'
26435: else
26436: USE_TLS_TRUE='#'
26437: USE_TLS_FALSE=
26438: fi
26439:
26440: if test x$radius = xtrue; then
26441: USE_RADIUS_TRUE=
26442: USE_RADIUS_FALSE='#'
26443: else
26444: USE_RADIUS_TRUE='#'
26445: USE_RADIUS_FALSE=
26446: fi
26447:
26448: if test x$imcv = xtrue; then
26449: USE_IMCV_TRUE=
26450: USE_IMCV_FALSE='#'
26451: else
26452: USE_IMCV_TRUE='#'
26453: USE_IMCV_FALSE=
26454: fi
26455:
26456: if test x$tss_trousers = xtrue; then
26457: USE_TROUSERS_TRUE=
26458: USE_TROUSERS_FALSE='#'
26459: else
26460: USE_TROUSERS_TRUE='#'
26461: USE_TROUSERS_FALSE=
26462: fi
26463:
26464: if test x$tss_tss2 = xtrue; then
26465: USE_TSS2_TRUE=
26466: USE_TSS2_FALSE='#'
26467: else
26468: USE_TSS2_TRUE='#'
26469: USE_TSS2_FALSE=
26470: fi
26471:
26472: if test x$monolithic = xtrue; then
26473: MONOLITHIC_TRUE=
26474: MONOLITHIC_FALSE='#'
26475: else
26476: MONOLITHIC_TRUE='#'
26477: MONOLITHIC_FALSE=
26478: fi
26479:
26480: if test x$static_plugin_constructors = xtrue; then
26481: STATIC_PLUGIN_CONSTRUCTORS_TRUE=
26482: STATIC_PLUGIN_CONSTRUCTORS_FALSE='#'
26483: else
26484: STATIC_PLUGIN_CONSTRUCTORS_TRUE='#'
26485: STATIC_PLUGIN_CONSTRUCTORS_FALSE=
26486: fi
26487:
26488: if test x$enable_silent_rules = xyes; then
26489: USE_SILENT_RULES_TRUE=
26490: USE_SILENT_RULES_FALSE='#'
26491: else
26492: USE_SILENT_RULES_TRUE='#'
26493: USE_SILENT_RULES_FALSE=
26494: fi
26495:
26496: if test x$coverage = xtrue; then
26497: COVERAGE_TRUE=
26498: COVERAGE_FALSE='#'
26499: else
26500: COVERAGE_TRUE='#'
26501: COVERAGE_FALSE=
26502: fi
26503:
26504: if test x$dbghelp_backtraces = xtrue; then
26505: USE_DBGHELP_TRUE=
26506: USE_DBGHELP_FALSE='#'
26507: else
26508: USE_DBGHELP_TRUE='#'
26509: USE_DBGHELP_FALSE=
26510: fi
26511:
26512: if test x$tkm = xtrue; then
26513: USE_TKM_TRUE=
26514: USE_TKM_FALSE='#'
26515: else
26516: USE_TKM_TRUE='#'
26517: USE_TKM_FALSE=
26518: fi
26519:
26520: if test x$cmd = xtrue; then
26521: USE_CMD_TRUE=
26522: USE_CMD_FALSE='#'
26523: else
26524: USE_CMD_TRUE='#'
26525: USE_CMD_FALSE=
26526: fi
26527:
26528: if test x$aikgen = xtrue; then
26529: USE_AIKGEN_TRUE=
26530: USE_AIKGEN_FALSE='#'
26531: else
26532: USE_AIKGEN_TRUE='#'
26533: USE_AIKGEN_FALSE=
26534: fi
26535:
26536: if test x$swanctl = xtrue; then
26537: USE_SWANCTL_TRUE=
26538: USE_SWANCTL_FALSE='#'
26539: else
26540: USE_SWANCTL_TRUE='#'
26541: USE_SWANCTL_FALSE=
26542: fi
26543:
26544: if test x$svc = xtrue; then
26545: USE_SVC_TRUE=
26546: USE_SVC_FALSE='#'
26547: else
26548: USE_SVC_TRUE='#'
26549: USE_SVC_FALSE=
26550: fi
26551:
26552: if test x$systemd = xtrue; then
26553: USE_SYSTEMD_TRUE=
26554: USE_SYSTEMD_FALSE='#'
26555: else
26556: USE_SYSTEMD_TRUE='#'
26557: USE_SYSTEMD_FALSE=
26558: fi
26559:
26560: if test -n "$systemdsystemunitdir" -a "x$systemdsystemunitdir" != xno; then
26561: USE_LEGACY_SYSTEMD_TRUE=
26562: USE_LEGACY_SYSTEMD_FALSE='#'
26563: else
26564: USE_LEGACY_SYSTEMD_TRUE='#'
26565: USE_LEGACY_SYSTEMD_FALSE=
26566: fi
26567:
26568: if test x$ruby_gems = xtrue; then
26569: USE_RUBY_GEMS_TRUE=
26570: USE_RUBY_GEMS_FALSE='#'
26571: else
26572: USE_RUBY_GEMS_TRUE='#'
26573: USE_RUBY_GEMS_FALSE=
26574: fi
26575:
26576: if test x$python_eggs = xtrue; then
26577: USE_PYTHON_EGGS_TRUE=
26578: USE_PYTHON_EGGS_FALSE='#'
26579: else
26580: USE_PYTHON_EGGS_TRUE='#'
26581: USE_PYTHON_EGGS_FALSE=
26582: fi
26583:
26584: if test x$perl_cpan = xtrue; then
26585: USE_PERL_CPAN_TRUE=
26586: USE_PERL_CPAN_FALSE='#'
26587: else
26588: USE_PERL_CPAN_TRUE='#'
26589: USE_PERL_CPAN_FALSE=
26590: fi
26591:
26592: if test "x$TOX" != x; then
26593: USE_TOX_TRUE=
26594: USE_TOX_FALSE='#'
26595: else
26596: USE_TOX_TRUE='#'
26597: USE_TOX_FALSE=
26598: fi
26599:
26600: if test "x$PY_TEST" != x -a "x$TOX" = x; then
26601: USE_PY_TEST_TRUE=
26602: USE_PY_TEST_FALSE='#'
26603: else
26604: USE_PY_TEST_TRUE='#'
26605: USE_PY_TEST_FALSE=
26606: fi
26607:
26608:
26609: # ========================
26610: # set global definitions
26611: # ========================
26612:
26613: if test x$mediation = xtrue; then
26614:
26615: $as_echo "#define ME /**/" >>confdefs.h
26616:
26617: fi
26618: if test x$capabilities = xlibcap -o x$capabilities = xnative; then
26619:
26620: $as_echo "#define CAPABILITIES /**/" >>confdefs.h
26621:
26622: fi
26623: if test x$log_thread_ids = xtrue; then
26624:
26625: $as_echo "#define USE_THREAD_IDS /**/" >>confdefs.h
26626:
26627: fi
26628: if test x$monolithic = xtrue; then
26629:
26630: $as_echo "#define MONOLITHIC /**/" >>confdefs.h
26631:
26632: fi
26633: if test x$static_plugin_constructors = xtrue; then
26634:
26635: $as_echo "#define STATIC_PLUGIN_CONSTRUCTORS /**/" >>confdefs.h
26636:
26637: fi
26638: if test x$ikev1 = xtrue; then
26639:
26640: $as_echo "#define USE_IKEV1 /**/" >>confdefs.h
26641:
26642: fi
26643: if test x$ikev2 = xtrue; then
26644:
26645: $as_echo "#define USE_IKEV2 /**/" >>confdefs.h
26646:
26647: fi
26648: if test x$fuzzing = xtrue; then
26649:
26650: $as_echo "#define USE_FUZZING /**/" >>confdefs.h
26651:
26652: fi
26653: if test x$imc_swima = xtrue -o x$imv_swima = xtrue; then
26654:
26655: $as_echo "#define USE_JSON /**/" >>confdefs.h
26656:
26657: fi
26658:
26659: # ====================================================
26660: # options for enabled modules (see conf/Makefile.am)
26661: # ====================================================
26662:
26663: strongswan_options=
26664:
26665: if test -z "$USE_AIKGEN_TRUE"; then :
26666: strongswan_options=${strongswan_options}" aikgen"
26667: fi
26668: if test -z "$USE_ATTR_SQL_TRUE"; then :
26669: strongswan_options=${strongswan_options}" pool"
26670: fi
26671: if test -z "$USE_CHARON_TRUE"; then :
26672: strongswan_options=${strongswan_options}" charon charon-logging"
26673: fi
26674: if test -z "$USE_FILE_CONFIG_TRUE"; then :
26675: strongswan_options=${strongswan_options}" starter"
26676: fi
26677: if test -z "$USE_IMV_ATTESTATION_TRUE"; then :
26678: strongswan_options=${strongswan_options}" attest"
26679: fi
26680: if test -z "$USE_IMCV_TRUE"; then :
26681: strongswan_options=${strongswan_options}" imcv"
26682: fi
26683: if test -z "$USE_IMV_SWIMA_TRUE"; then :
26684: strongswan_options=${strongswan_options}" sec-updater"
26685: fi
26686: if test -z "$USE_LIBTNCCS_TRUE"; then :
26687: strongswan_options=${strongswan_options}" tnc"
26688: fi
26689: if test -z "$USE_MANAGER_TRUE"; then :
26690: strongswan_options=${strongswan_options}" manager"
26691: fi
26692: if test -z "$USE_MEDSRV_TRUE"; then :
26693: strongswan_options=${strongswan_options}" medsrv"
26694: fi
26695: if test -z "$USE_SCEPCLIENT_TRUE"; then :
26696: strongswan_options=${strongswan_options}" scepclient"
26697: fi
26698: if test -z "$USE_PKI_TRUE"; then :
26699: strongswan_options=${strongswan_options}" pki"
26700: fi
26701: if test -z "$USE_SWANCTL_TRUE"; then :
26702: strongswan_options=${strongswan_options}" swanctl"
26703: fi
26704: if test -z "$USE_SYSTEMD_TRUE"; then :
26705: strongswan_options=${strongswan_options}" charon-systemd"
26706: fi
26707:
26708:
26709:
26710: # =================
26711: # build Makefiles
26712: # =================
26713:
26714: 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"
26715:
26716:
26717: # =================
26718: # build man pages
26719: # =================
26720:
26721: 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"
26722:
26723:
26724: cat >confcache <<\_ACEOF
26725: # This file is a shell script that caches the results of configure
26726: # tests run on this system so they can be shared between configure
26727: # scripts and configure runs, see configure's option --config-cache.
26728: # It is not useful on other systems. If it contains results you don't
26729: # want to keep, you may remove or edit it.
26730: #
26731: # config.status only pays attention to the cache file if you give it
26732: # the --recheck option to rerun configure.
26733: #
26734: # `ac_cv_env_foo' variables (set or unset) will be overridden when
26735: # loading this file, other *unset* `ac_cv_foo' will be assigned the
26736: # following values.
26737:
26738: _ACEOF
26739:
26740: # The following way of writing the cache mishandles newlines in values,
26741: # but we know of no workaround that is simple, portable, and efficient.
26742: # So, we kill variables containing newlines.
26743: # Ultrix sh set writes to stderr and can't be redirected directly,
26744: # and sets the high bit in the cache file unless we assign to the vars.
26745: (
26746: for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26747: eval ac_val=\$$ac_var
26748: case $ac_val in #(
26749: *${as_nl}*)
26750: case $ac_var in #(
26751: *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26752: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26753: esac
26754: case $ac_var in #(
26755: _ | IFS | as_nl) ;; #(
26756: BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26757: *) { eval $ac_var=; unset $ac_var;} ;;
26758: esac ;;
26759: esac
26760: done
26761:
26762: (set) 2>&1 |
26763: case $as_nl`(ac_space=' '; set) 2>&1` in #(
26764: *${as_nl}ac_space=\ *)
26765: # `set' does not quote correctly, so add quotes: double-quote
26766: # substitution turns \\\\ into \\, and sed turns \\ into \.
26767: sed -n \
26768: "s/'/'\\\\''/g;
26769: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26770: ;; #(
26771: *)
26772: # `set' quotes correctly as required by POSIX, so do not add quotes.
26773: sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26774: ;;
26775: esac |
26776: sort
26777: ) |
26778: sed '
26779: /^ac_cv_env_/b end
26780: t clear
26781: :clear
26782: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26783: t end
26784: s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26785: :end' >>confcache
26786: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26787: if test -w "$cache_file"; then
26788: if test "x$cache_file" != "x/dev/null"; then
26789: { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26790: $as_echo "$as_me: updating cache $cache_file" >&6;}
26791: if test ! -f "$cache_file" || test -h "$cache_file"; then
26792: cat confcache >"$cache_file"
26793: else
26794: case $cache_file in #(
26795: */* | ?:*)
26796: mv -f confcache "$cache_file"$$ &&
26797: mv -f "$cache_file"$$ "$cache_file" ;; #(
26798: *)
26799: mv -f confcache "$cache_file" ;;
26800: esac
26801: fi
26802: fi
26803: else
26804: { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26805: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26806: fi
26807: fi
26808: rm -f confcache
26809:
26810: test "x$prefix" = xNONE && prefix=$ac_default_prefix
26811: # Let make expand exec_prefix.
26812: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26813:
26814: DEFS=-DHAVE_CONFIG_H
26815:
26816: ac_libobjs=
26817: ac_ltlibobjs=
26818: U=
26819: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26820: # 1. Remove the extension, and $U if already installed.
26821: ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26822: ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26823: # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26824: # will be set to the directory where LIBOBJS objects are built.
26825: as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26826: as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26827: done
26828: LIBOBJS=$ac_libobjs
26829:
26830: LTLIBOBJS=$ac_ltlibobjs
26831:
26832:
26833: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26834: $as_echo_n "checking that generated files are newer than configure... " >&6; }
26835: if test -n "$am_sleep_pid"; then
26836: # Hide warnings about reused PIDs.
26837: wait $am_sleep_pid 2>/dev/null
26838: fi
26839: { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26840: $as_echo "done" >&6; }
26841: if test -n "$EXEEXT"; then
26842: am__EXEEXT_TRUE=
26843: am__EXEEXT_FALSE='#'
26844: else
26845: am__EXEEXT_TRUE='#'
26846: am__EXEEXT_FALSE=
26847: fi
26848:
26849: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26850: as_fn_error $? "conditional \"AMDEP\" was never defined.
26851: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26852: fi
26853: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26854: as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26855: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26856: fi
26857:
26858: if test -z "${USE_SYSLOG_TRUE}" && test -z "${USE_SYSLOG_FALSE}"; then
26859: as_fn_error $? "conditional \"USE_SYSLOG\" was never defined.
26860: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26861: fi
26862: if test -z "${USE_WINDOWS_TRUE}" && test -z "${USE_WINDOWS_FALSE}"; then
26863: as_fn_error $? "conditional \"USE_WINDOWS\" was never defined.
26864: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26865: fi
26866: if test -z "${USE_X86X64_TRUE}" && test -z "${USE_X86X64_FALSE}"; then
26867: as_fn_error $? "conditional \"USE_X86X64\" was never defined.
26868: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26869: fi
26870: if test -z "${USE_DEV_HEADERS_TRUE}" && test -z "${USE_DEV_HEADERS_FALSE}"; then
26871: as_fn_error $? "conditional \"USE_DEV_HEADERS\" was never defined.
26872: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26873: fi
26874: if test -z "${RUBY_GEMS_INSTALL_TRUE}" && test -z "${RUBY_GEMS_INSTALL_FALSE}"; then
26875: as_fn_error $? "conditional \"RUBY_GEMS_INSTALL\" was never defined.
26876: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26877: fi
26878: if test -z "${PYTHON_EGGS_INSTALL_TRUE}" && test -z "${PYTHON_EGGS_INSTALL_FALSE}"; then
26879: as_fn_error $? "conditional \"PYTHON_EGGS_INSTALL\" was never defined.
26880: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26881: fi
26882: if test -z "${PERL_CPAN_INSTALL_TRUE}" && test -z "${PERL_CPAN_INSTALL_FALSE}"; then
26883: as_fn_error $? "conditional \"PERL_CPAN_INSTALL\" was never defined.
26884: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26885: fi
26886: if test -z "${USE_TEST_VECTORS_TRUE}" && test -z "${USE_TEST_VECTORS_FALSE}"; then
26887: as_fn_error $? "conditional \"USE_TEST_VECTORS\" was never defined.
26888: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26889: fi
26890: if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
26891: as_fn_error $? "conditional \"USE_CURL\" was never defined.
26892: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26893: fi
26894: if test -z "${USE_FILES_TRUE}" && test -z "${USE_FILES_FALSE}"; then
26895: as_fn_error $? "conditional \"USE_FILES\" was never defined.
26896: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26897: fi
26898: if test -z "${USE_WINHTTP_TRUE}" && test -z "${USE_WINHTTP_FALSE}"; then
26899: as_fn_error $? "conditional \"USE_WINHTTP\" was never defined.
26900: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26901: fi
26902: if test -z "${USE_UNBOUND_TRUE}" && test -z "${USE_UNBOUND_FALSE}"; then
26903: as_fn_error $? "conditional \"USE_UNBOUND\" was never defined.
26904: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26905: fi
26906: if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
26907: as_fn_error $? "conditional \"USE_SOUP\" was never defined.
26908: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26909: fi
26910: if test -z "${USE_LDAP_TRUE}" && test -z "${USE_LDAP_FALSE}"; then
26911: as_fn_error $? "conditional \"USE_LDAP\" was never defined.
26912: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26913: fi
26914: if test -z "${USE_AES_TRUE}" && test -z "${USE_AES_FALSE}"; then
26915: as_fn_error $? "conditional \"USE_AES\" was never defined.
26916: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26917: fi
26918: if test -z "${USE_DES_TRUE}" && test -z "${USE_DES_FALSE}"; then
26919: as_fn_error $? "conditional \"USE_DES\" was never defined.
26920: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26921: fi
26922: if test -z "${USE_BLOWFISH_TRUE}" && test -z "${USE_BLOWFISH_FALSE}"; then
26923: as_fn_error $? "conditional \"USE_BLOWFISH\" was never defined.
26924: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26925: fi
26926: if test -z "${USE_RC2_TRUE}" && test -z "${USE_RC2_FALSE}"; then
26927: as_fn_error $? "conditional \"USE_RC2\" was never defined.
26928: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26929: fi
26930: if test -z "${USE_MD4_TRUE}" && test -z "${USE_MD4_FALSE}"; then
26931: as_fn_error $? "conditional \"USE_MD4\" was never defined.
26932: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26933: fi
26934: if test -z "${USE_MD5_TRUE}" && test -z "${USE_MD5_FALSE}"; then
26935: as_fn_error $? "conditional \"USE_MD5\" was never defined.
26936: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26937: fi
26938: if test -z "${USE_SHA1_TRUE}" && test -z "${USE_SHA1_FALSE}"; then
26939: as_fn_error $? "conditional \"USE_SHA1\" was never defined.
26940: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26941: fi
26942: if test -z "${USE_SHA2_TRUE}" && test -z "${USE_SHA2_FALSE}"; then
26943: as_fn_error $? "conditional \"USE_SHA2\" was never defined.
26944: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26945: fi
26946: if test -z "${USE_SHA3_TRUE}" && test -z "${USE_SHA3_FALSE}"; then
26947: as_fn_error $? "conditional \"USE_SHA3\" was never defined.
26948: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26949: fi
26950: if test -z "${USE_MGF1_TRUE}" && test -z "${USE_MGF1_FALSE}"; then
26951: as_fn_error $? "conditional \"USE_MGF1\" was never defined.
26952: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26953: fi
26954: if test -z "${USE_FIPS_PRF_TRUE}" && test -z "${USE_FIPS_PRF_FALSE}"; then
26955: as_fn_error $? "conditional \"USE_FIPS_PRF\" was never defined.
26956: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26957: fi
26958: if test -z "${USE_GMP_TRUE}" && test -z "${USE_GMP_FALSE}"; then
26959: as_fn_error $? "conditional \"USE_GMP\" was never defined.
26960: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26961: fi
26962: if test -z "${USE_CURVE25519_TRUE}" && test -z "${USE_CURVE25519_FALSE}"; then
26963: as_fn_error $? "conditional \"USE_CURVE25519\" was never defined.
26964: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26965: fi
26966: if test -z "${USE_RDRAND_TRUE}" && test -z "${USE_RDRAND_FALSE}"; then
26967: as_fn_error $? "conditional \"USE_RDRAND\" was never defined.
26968: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26969: fi
26970: if test -z "${USE_AESNI_TRUE}" && test -z "${USE_AESNI_FALSE}"; then
26971: as_fn_error $? "conditional \"USE_AESNI\" was never defined.
26972: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26973: fi
26974: if test -z "${USE_RANDOM_TRUE}" && test -z "${USE_RANDOM_FALSE}"; then
26975: as_fn_error $? "conditional \"USE_RANDOM\" was never defined.
26976: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26977: fi
26978: if test -z "${USE_NONCE_TRUE}" && test -z "${USE_NONCE_FALSE}"; then
26979: as_fn_error $? "conditional \"USE_NONCE\" was never defined.
26980: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26981: fi
26982: if test -z "${USE_X509_TRUE}" && test -z "${USE_X509_FALSE}"; then
26983: as_fn_error $? "conditional \"USE_X509\" was never defined.
26984: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26985: fi
26986: if test -z "${USE_REVOCATION_TRUE}" && test -z "${USE_REVOCATION_FALSE}"; then
26987: as_fn_error $? "conditional \"USE_REVOCATION\" was never defined.
26988: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26989: fi
26990: if test -z "${USE_CONSTRAINTS_TRUE}" && test -z "${USE_CONSTRAINTS_FALSE}"; then
26991: as_fn_error $? "conditional \"USE_CONSTRAINTS\" was never defined.
26992: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26993: fi
26994: if test -z "${USE_ACERT_TRUE}" && test -z "${USE_ACERT_FALSE}"; then
26995: as_fn_error $? "conditional \"USE_ACERT\" was never defined.
26996: Usually this means the macro was only invoked conditionally." "$LINENO" 5
26997: fi
26998: if test -z "${USE_PUBKEY_TRUE}" && test -z "${USE_PUBKEY_FALSE}"; then
26999: as_fn_error $? "conditional \"USE_PUBKEY\" was never defined.
27000: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27001: fi
27002: if test -z "${USE_PKCS1_TRUE}" && test -z "${USE_PKCS1_FALSE}"; then
27003: as_fn_error $? "conditional \"USE_PKCS1\" was never defined.
27004: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27005: fi
27006: if test -z "${USE_PKCS7_TRUE}" && test -z "${USE_PKCS7_FALSE}"; then
27007: as_fn_error $? "conditional \"USE_PKCS7\" was never defined.
27008: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27009: fi
27010: if test -z "${USE_PKCS8_TRUE}" && test -z "${USE_PKCS8_FALSE}"; then
27011: as_fn_error $? "conditional \"USE_PKCS8\" was never defined.
27012: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27013: fi
27014: if test -z "${USE_PKCS12_TRUE}" && test -z "${USE_PKCS12_FALSE}"; then
27015: as_fn_error $? "conditional \"USE_PKCS12\" was never defined.
27016: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27017: fi
27018: if test -z "${USE_PGP_TRUE}" && test -z "${USE_PGP_FALSE}"; then
27019: as_fn_error $? "conditional \"USE_PGP\" was never defined.
27020: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27021: fi
27022: if test -z "${USE_DNSKEY_TRUE}" && test -z "${USE_DNSKEY_FALSE}"; then
27023: as_fn_error $? "conditional \"USE_DNSKEY\" was never defined.
27024: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27025: fi
27026: if test -z "${USE_SSHKEY_TRUE}" && test -z "${USE_SSHKEY_FALSE}"; then
27027: as_fn_error $? "conditional \"USE_SSHKEY\" was never defined.
27028: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27029: fi
27030: if test -z "${USE_PEM_TRUE}" && test -z "${USE_PEM_FALSE}"; then
27031: as_fn_error $? "conditional \"USE_PEM\" was never defined.
27032: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27033: fi
27034: if test -z "${USE_HMAC_TRUE}" && test -z "${USE_HMAC_FALSE}"; then
27035: as_fn_error $? "conditional \"USE_HMAC\" was never defined.
27036: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27037: fi
27038: if test -z "${USE_CMAC_TRUE}" && test -z "${USE_CMAC_FALSE}"; then
27039: as_fn_error $? "conditional \"USE_CMAC\" was never defined.
27040: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27041: fi
27042: if test -z "${USE_XCBC_TRUE}" && test -z "${USE_XCBC_FALSE}"; then
27043: as_fn_error $? "conditional \"USE_XCBC\" was never defined.
27044: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27045: fi
27046: if test -z "${USE_MYSQL_TRUE}" && test -z "${USE_MYSQL_FALSE}"; then
27047: as_fn_error $? "conditional \"USE_MYSQL\" was never defined.
27048: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27049: fi
27050: if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
27051: as_fn_error $? "conditional \"USE_SQLITE\" was never defined.
27052: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27053: fi
27054: if test -z "${USE_PADLOCK_TRUE}" && test -z "${USE_PADLOCK_FALSE}"; then
27055: as_fn_error $? "conditional \"USE_PADLOCK\" was never defined.
27056: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27057: fi
27058: if test -z "${USE_OPENSSL_TRUE}" && test -z "${USE_OPENSSL_FALSE}"; then
27059: as_fn_error $? "conditional \"USE_OPENSSL\" was never defined.
27060: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27061: fi
27062: if test -z "${USE_WOLFSSL_TRUE}" && test -z "${USE_WOLFSSL_FALSE}"; then
27063: as_fn_error $? "conditional \"USE_WOLFSSL\" was never defined.
27064: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27065: fi
27066: if test -z "${USE_GCRYPT_TRUE}" && test -z "${USE_GCRYPT_FALSE}"; then
27067: as_fn_error $? "conditional \"USE_GCRYPT\" was never defined.
27068: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27069: fi
27070: if test -z "${USE_BOTAN_TRUE}" && test -z "${USE_BOTAN_FALSE}"; then
27071: as_fn_error $? "conditional \"USE_BOTAN\" was never defined.
27072: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27073: fi
27074: if test -z "${USE_AGENT_TRUE}" && test -z "${USE_AGENT_FALSE}"; then
27075: as_fn_error $? "conditional \"USE_AGENT\" was never defined.
27076: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27077: fi
27078: if test -z "${USE_KEYCHAIN_TRUE}" && test -z "${USE_KEYCHAIN_FALSE}"; then
27079: as_fn_error $? "conditional \"USE_KEYCHAIN\" was never defined.
27080: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27081: fi
27082: if test -z "${USE_PKCS11_TRUE}" && test -z "${USE_PKCS11_FALSE}"; then
27083: as_fn_error $? "conditional \"USE_PKCS11\" was never defined.
27084: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27085: fi
27086: if test -z "${USE_TPM_TRUE}" && test -z "${USE_TPM_FALSE}"; then
27087: as_fn_error $? "conditional \"USE_TPM\" was never defined.
27088: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27089: fi
27090: if test -z "${USE_CHAPOLY_TRUE}" && test -z "${USE_CHAPOLY_FALSE}"; then
27091: as_fn_error $? "conditional \"USE_CHAPOLY\" was never defined.
27092: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27093: fi
27094: if test -z "${USE_CTR_TRUE}" && test -z "${USE_CTR_FALSE}"; then
27095: as_fn_error $? "conditional \"USE_CTR\" was never defined.
27096: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27097: fi
27098: if test -z "${USE_CCM_TRUE}" && test -z "${USE_CCM_FALSE}"; then
27099: as_fn_error $? "conditional \"USE_CCM\" was never defined.
27100: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27101: fi
27102: if test -z "${USE_GCM_TRUE}" && test -z "${USE_GCM_FALSE}"; then
27103: as_fn_error $? "conditional \"USE_GCM\" was never defined.
27104: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27105: fi
27106: if test -z "${USE_AF_ALG_TRUE}" && test -z "${USE_AF_ALG_FALSE}"; then
27107: as_fn_error $? "conditional \"USE_AF_ALG\" was never defined.
27108: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27109: fi
27110: if test -z "${USE_NTRU_TRUE}" && test -z "${USE_NTRU_FALSE}"; then
27111: as_fn_error $? "conditional \"USE_NTRU\" was never defined.
27112: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27113: fi
27114: if test -z "${USE_NEWHOPE_TRUE}" && test -z "${USE_NEWHOPE_FALSE}"; then
27115: as_fn_error $? "conditional \"USE_NEWHOPE\" was never defined.
27116: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27117: fi
27118: if test -z "${USE_BLISS_TRUE}" && test -z "${USE_BLISS_FALSE}"; then
27119: as_fn_error $? "conditional \"USE_BLISS\" was never defined.
27120: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27121: fi
27122: if test -z "${USE_DRBG_TRUE}" && test -z "${USE_DRBG_FALSE}"; then
27123: as_fn_error $? "conditional \"USE_DRBG\" was never defined.
27124: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27125: fi
27126: if test -z "${USE_STROKE_TRUE}" && test -z "${USE_STROKE_FALSE}"; then
27127: as_fn_error $? "conditional \"USE_STROKE\" was never defined.
27128: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27129: fi
27130: if test -z "${USE_VICI_TRUE}" && test -z "${USE_VICI_FALSE}"; then
27131: as_fn_error $? "conditional \"USE_VICI\" was never defined.
27132: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27133: fi
27134: if test -z "${USE_MEDSRV_TRUE}" && test -z "${USE_MEDSRV_FALSE}"; then
27135: as_fn_error $? "conditional \"USE_MEDSRV\" was never defined.
27136: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27137: fi
27138: if test -z "${USE_MEDCLI_TRUE}" && test -z "${USE_MEDCLI_FALSE}"; then
27139: as_fn_error $? "conditional \"USE_MEDCLI\" was never defined.
27140: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27141: fi
27142: if test -z "${USE_UCI_TRUE}" && test -z "${USE_UCI_FALSE}"; then
27143: as_fn_error $? "conditional \"USE_UCI\" was never defined.
27144: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27145: fi
27146: if test -z "${USE_OSX_ATTR_TRUE}" && test -z "${USE_OSX_ATTR_FALSE}"; then
27147: as_fn_error $? "conditional \"USE_OSX_ATTR\" was never defined.
27148: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27149: fi
27150: if test -z "${USE_P_CSCF_TRUE}" && test -z "${USE_P_CSCF_FALSE}"; then
27151: as_fn_error $? "conditional \"USE_P_CSCF\" was never defined.
27152: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27153: fi
27154: if test -z "${USE_ANDROID_DNS_TRUE}" && test -z "${USE_ANDROID_DNS_FALSE}"; then
27155: as_fn_error $? "conditional \"USE_ANDROID_DNS\" was never defined.
27156: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27157: fi
27158: if test -z "${USE_ANDROID_LOG_TRUE}" && test -z "${USE_ANDROID_LOG_FALSE}"; then
27159: as_fn_error $? "conditional \"USE_ANDROID_LOG\" was never defined.
27160: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27161: fi
27162: if test -z "${USE_SMP_TRUE}" && test -z "${USE_SMP_FALSE}"; then
27163: as_fn_error $? "conditional \"USE_SMP\" was never defined.
27164: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27165: fi
27166: if test -z "${USE_SQL_TRUE}" && test -z "${USE_SQL_FALSE}"; then
27167: as_fn_error $? "conditional \"USE_SQL\" was never defined.
27168: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27169: fi
27170: if test -z "${USE_DNSCERT_TRUE}" && test -z "${USE_DNSCERT_FALSE}"; then
27171: as_fn_error $? "conditional \"USE_DNSCERT\" was never defined.
27172: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27173: fi
27174: if test -z "${USE_IPSECKEY_TRUE}" && test -z "${USE_IPSECKEY_FALSE}"; then
27175: as_fn_error $? "conditional \"USE_IPSECKEY\" was never defined.
27176: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27177: fi
27178: if test -z "${USE_UPDOWN_TRUE}" && test -z "${USE_UPDOWN_FALSE}"; then
27179: as_fn_error $? "conditional \"USE_UPDOWN\" was never defined.
27180: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27181: fi
27182: if test -z "${USE_DHCP_TRUE}" && test -z "${USE_DHCP_FALSE}"; then
27183: as_fn_error $? "conditional \"USE_DHCP\" was never defined.
27184: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27185: fi
27186: if test -z "${USE_LOAD_TESTER_TRUE}" && test -z "${USE_LOAD_TESTER_FALSE}"; then
27187: as_fn_error $? "conditional \"USE_LOAD_TESTER\" was never defined.
27188: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27189: fi
27190: if test -z "${USE_HA_TRUE}" && test -z "${USE_HA_FALSE}"; then
27191: as_fn_error $? "conditional \"USE_HA\" was never defined.
27192: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27193: fi
27194: if test -z "${USE_KERNEL_NETLINK_TRUE}" && test -z "${USE_KERNEL_NETLINK_FALSE}"; then
27195: as_fn_error $? "conditional \"USE_KERNEL_NETLINK\" was never defined.
27196: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27197: fi
27198: if test -z "${USE_KERNEL_PFKEY_TRUE}" && test -z "${USE_KERNEL_PFKEY_FALSE}"; then
27199: as_fn_error $? "conditional \"USE_KERNEL_PFKEY\" was never defined.
27200: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27201: fi
27202: if test -z "${USE_KERNEL_PFROUTE_TRUE}" && test -z "${USE_KERNEL_PFROUTE_FALSE}"; then
27203: as_fn_error $? "conditional \"USE_KERNEL_PFROUTE\" was never defined.
27204: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27205: fi
27206: if test -z "${USE_KERNEL_LIBIPSEC_TRUE}" && test -z "${USE_KERNEL_LIBIPSEC_FALSE}"; then
27207: as_fn_error $? "conditional \"USE_KERNEL_LIBIPSEC\" was never defined.
27208: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27209: fi
27210: if test -z "${USE_KERNEL_WFP_TRUE}" && test -z "${USE_KERNEL_WFP_FALSE}"; then
27211: as_fn_error $? "conditional \"USE_KERNEL_WFP\" was never defined.
27212: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27213: fi
27214: if test -z "${USE_KERNEL_IPH_TRUE}" && test -z "${USE_KERNEL_IPH_FALSE}"; then
27215: as_fn_error $? "conditional \"USE_KERNEL_IPH\" was never defined.
27216: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27217: fi
27218: if test -z "${USE_WHITELIST_TRUE}" && test -z "${USE_WHITELIST_FALSE}"; then
27219: as_fn_error $? "conditional \"USE_WHITELIST\" was never defined.
27220: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27221: fi
27222: if test -z "${USE_EXT_AUTH_TRUE}" && test -z "${USE_EXT_AUTH_FALSE}"; then
27223: as_fn_error $? "conditional \"USE_EXT_AUTH\" was never defined.
27224: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27225: fi
27226: if test -z "${USE_LOOKIP_TRUE}" && test -z "${USE_LOOKIP_FALSE}"; then
27227: as_fn_error $? "conditional \"USE_LOOKIP\" was never defined.
27228: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27229: fi
27230: if test -z "${USE_ERROR_NOTIFY_TRUE}" && test -z "${USE_ERROR_NOTIFY_FALSE}"; then
27231: as_fn_error $? "conditional \"USE_ERROR_NOTIFY\" was never defined.
27232: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27233: fi
27234: if test -z "${USE_CERTEXPIRE_TRUE}" && test -z "${USE_CERTEXPIRE_FALSE}"; then
27235: as_fn_error $? "conditional \"USE_CERTEXPIRE\" was never defined.
27236: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27237: fi
27238: if test -z "${USE_SYSTIME_FIX_TRUE}" && test -z "${USE_SYSTIME_FIX_FALSE}"; then
27239: as_fn_error $? "conditional \"USE_SYSTIME_FIX\" was never defined.
27240: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27241: fi
27242: if test -z "${USE_LED_TRUE}" && test -z "${USE_LED_FALSE}"; then
27243: as_fn_error $? "conditional \"USE_LED\" was never defined.
27244: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27245: fi
27246: if test -z "${USE_DUPLICHECK_TRUE}" && test -z "${USE_DUPLICHECK_FALSE}"; then
27247: as_fn_error $? "conditional \"USE_DUPLICHECK\" was never defined.
27248: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27249: fi
27250: if test -z "${USE_COUPLING_TRUE}" && test -z "${USE_COUPLING_FALSE}"; then
27251: as_fn_error $? "conditional \"USE_COUPLING\" was never defined.
27252: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27253: fi
27254: if test -z "${USE_RADATTR_TRUE}" && test -z "${USE_RADATTR_FALSE}"; then
27255: as_fn_error $? "conditional \"USE_RADATTR\" was never defined.
27256: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27257: fi
27258: if test -z "${USE_EAP_SIM_TRUE}" && test -z "${USE_EAP_SIM_FALSE}"; then
27259: as_fn_error $? "conditional \"USE_EAP_SIM\" was never defined.
27260: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27261: fi
27262: if test -z "${USE_EAP_SIM_FILE_TRUE}" && test -z "${USE_EAP_SIM_FILE_FALSE}"; then
27263: as_fn_error $? "conditional \"USE_EAP_SIM_FILE\" was never defined.
27264: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27265: fi
27266: if test -z "${USE_EAP_SIM_PCSC_TRUE}" && test -z "${USE_EAP_SIM_PCSC_FALSE}"; then
27267: as_fn_error $? "conditional \"USE_EAP_SIM_PCSC\" was never defined.
27268: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27269: fi
27270: if test -z "${USE_EAP_SIMAKA_SQL_TRUE}" && test -z "${USE_EAP_SIMAKA_SQL_FALSE}"; then
27271: as_fn_error $? "conditional \"USE_EAP_SIMAKA_SQL\" was never defined.
27272: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27273: fi
27274: if test -z "${USE_EAP_SIMAKA_PSEUDONYM_TRUE}" && test -z "${USE_EAP_SIMAKA_PSEUDONYM_FALSE}"; then
27275: as_fn_error $? "conditional \"USE_EAP_SIMAKA_PSEUDONYM\" was never defined.
27276: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27277: fi
27278: if test -z "${USE_EAP_SIMAKA_REAUTH_TRUE}" && test -z "${USE_EAP_SIMAKA_REAUTH_FALSE}"; then
27279: as_fn_error $? "conditional \"USE_EAP_SIMAKA_REAUTH\" was never defined.
27280: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27281: fi
27282: if test -z "${USE_EAP_IDENTITY_TRUE}" && test -z "${USE_EAP_IDENTITY_FALSE}"; then
27283: as_fn_error $? "conditional \"USE_EAP_IDENTITY\" was never defined.
27284: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27285: fi
27286: if test -z "${USE_EAP_MD5_TRUE}" && test -z "${USE_EAP_MD5_FALSE}"; then
27287: as_fn_error $? "conditional \"USE_EAP_MD5\" was never defined.
27288: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27289: fi
27290: if test -z "${USE_EAP_GTC_TRUE}" && test -z "${USE_EAP_GTC_FALSE}"; then
27291: as_fn_error $? "conditional \"USE_EAP_GTC\" was never defined.
27292: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27293: fi
27294: if test -z "${USE_EAP_AKA_TRUE}" && test -z "${USE_EAP_AKA_FALSE}"; then
27295: as_fn_error $? "conditional \"USE_EAP_AKA\" was never defined.
27296: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27297: fi
27298: if test -z "${USE_EAP_AKA_3GPP_TRUE}" && test -z "${USE_EAP_AKA_3GPP_FALSE}"; then
27299: as_fn_error $? "conditional \"USE_EAP_AKA_3GPP\" was never defined.
27300: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27301: fi
27302: if test -z "${USE_EAP_AKA_3GPP2_TRUE}" && test -z "${USE_EAP_AKA_3GPP2_FALSE}"; then
27303: as_fn_error $? "conditional \"USE_EAP_AKA_3GPP2\" was never defined.
27304: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27305: fi
27306: if test -z "${USE_EAP_MSCHAPV2_TRUE}" && test -z "${USE_EAP_MSCHAPV2_FALSE}"; then
27307: as_fn_error $? "conditional \"USE_EAP_MSCHAPV2\" was never defined.
27308: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27309: fi
27310: if test -z "${USE_EAP_TLS_TRUE}" && test -z "${USE_EAP_TLS_FALSE}"; then
27311: as_fn_error $? "conditional \"USE_EAP_TLS\" was never defined.
27312: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27313: fi
27314: if test -z "${USE_EAP_TTLS_TRUE}" && test -z "${USE_EAP_TTLS_FALSE}"; then
27315: as_fn_error $? "conditional \"USE_EAP_TTLS\" was never defined.
27316: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27317: fi
27318: if test -z "${USE_EAP_PEAP_TRUE}" && test -z "${USE_EAP_PEAP_FALSE}"; then
27319: as_fn_error $? "conditional \"USE_EAP_PEAP\" was never defined.
27320: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27321: fi
27322: if test -z "${USE_EAP_TNC_TRUE}" && test -z "${USE_EAP_TNC_FALSE}"; then
27323: as_fn_error $? "conditional \"USE_EAP_TNC\" was never defined.
27324: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27325: fi
27326: if test -z "${USE_EAP_DYNAMIC_TRUE}" && test -z "${USE_EAP_DYNAMIC_FALSE}"; then
27327: as_fn_error $? "conditional \"USE_EAP_DYNAMIC\" was never defined.
27328: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27329: fi
27330: if test -z "${USE_EAP_RADIUS_TRUE}" && test -z "${USE_EAP_RADIUS_FALSE}"; then
27331: as_fn_error $? "conditional \"USE_EAP_RADIUS\" was never defined.
27332: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27333: fi
27334: if test -z "${USE_XAUTH_GENERIC_TRUE}" && test -z "${USE_XAUTH_GENERIC_FALSE}"; then
27335: as_fn_error $? "conditional \"USE_XAUTH_GENERIC\" was never defined.
27336: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27337: fi
27338: if test -z "${USE_XAUTH_EAP_TRUE}" && test -z "${USE_XAUTH_EAP_FALSE}"; then
27339: as_fn_error $? "conditional \"USE_XAUTH_EAP\" was never defined.
27340: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27341: fi
27342: if test -z "${USE_XAUTH_PAM_TRUE}" && test -z "${USE_XAUTH_PAM_FALSE}"; then
27343: as_fn_error $? "conditional \"USE_XAUTH_PAM\" was never defined.
27344: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27345: fi
27346: if test -z "${USE_XAUTH_NOAUTH_TRUE}" && test -z "${USE_XAUTH_NOAUTH_FALSE}"; then
27347: as_fn_error $? "conditional \"USE_XAUTH_NOAUTH\" was never defined.
27348: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27349: fi
27350: if test -z "${USE_TNC_IFMAP_TRUE}" && test -z "${USE_TNC_IFMAP_FALSE}"; then
27351: as_fn_error $? "conditional \"USE_TNC_IFMAP\" was never defined.
27352: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27353: fi
27354: if test -z "${USE_TNC_PDP_TRUE}" && test -z "${USE_TNC_PDP_FALSE}"; then
27355: as_fn_error $? "conditional \"USE_TNC_PDP\" was never defined.
27356: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27357: fi
27358: if test -z "${USE_TNC_IMC_TRUE}" && test -z "${USE_TNC_IMC_FALSE}"; then
27359: as_fn_error $? "conditional \"USE_TNC_IMC\" was never defined.
27360: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27361: fi
27362: if test -z "${USE_TNC_IMV_TRUE}" && test -z "${USE_TNC_IMV_FALSE}"; then
27363: as_fn_error $? "conditional \"USE_TNC_IMV\" was never defined.
27364: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27365: fi
27366: if test -z "${USE_TNC_TNCCS_TRUE}" && test -z "${USE_TNC_TNCCS_FALSE}"; then
27367: as_fn_error $? "conditional \"USE_TNC_TNCCS\" was never defined.
27368: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27369: fi
27370: if test -z "${USE_TNCCS_11_TRUE}" && test -z "${USE_TNCCS_11_FALSE}"; then
27371: as_fn_error $? "conditional \"USE_TNCCS_11\" was never defined.
27372: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27373: fi
27374: if test -z "${USE_TNCCS_20_TRUE}" && test -z "${USE_TNCCS_20_FALSE}"; then
27375: as_fn_error $? "conditional \"USE_TNCCS_20\" was never defined.
27376: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27377: fi
27378: if test -z "${USE_TNCCS_DYNAMIC_TRUE}" && test -z "${USE_TNCCS_DYNAMIC_FALSE}"; then
27379: as_fn_error $? "conditional \"USE_TNCCS_DYNAMIC\" was never defined.
27380: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27381: fi
27382: if test -z "${USE_IMC_TEST_TRUE}" && test -z "${USE_IMC_TEST_FALSE}"; then
27383: as_fn_error $? "conditional \"USE_IMC_TEST\" was never defined.
27384: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27385: fi
27386: if test -z "${USE_IMV_TEST_TRUE}" && test -z "${USE_IMV_TEST_FALSE}"; then
27387: as_fn_error $? "conditional \"USE_IMV_TEST\" was never defined.
27388: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27389: fi
27390: if test -z "${USE_IMC_SCANNER_TRUE}" && test -z "${USE_IMC_SCANNER_FALSE}"; then
27391: as_fn_error $? "conditional \"USE_IMC_SCANNER\" was never defined.
27392: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27393: fi
27394: if test -z "${USE_IMV_SCANNER_TRUE}" && test -z "${USE_IMV_SCANNER_FALSE}"; then
27395: as_fn_error $? "conditional \"USE_IMV_SCANNER\" was never defined.
27396: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27397: fi
27398: if test -z "${USE_IMC_OS_TRUE}" && test -z "${USE_IMC_OS_FALSE}"; then
27399: as_fn_error $? "conditional \"USE_IMC_OS\" was never defined.
27400: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27401: fi
27402: if test -z "${USE_IMV_OS_TRUE}" && test -z "${USE_IMV_OS_FALSE}"; then
27403: as_fn_error $? "conditional \"USE_IMV_OS\" was never defined.
27404: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27405: fi
27406: if test -z "${USE_IMC_ATTESTATION_TRUE}" && test -z "${USE_IMC_ATTESTATION_FALSE}"; then
27407: as_fn_error $? "conditional \"USE_IMC_ATTESTATION\" was never defined.
27408: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27409: fi
27410: if test -z "${USE_IMV_ATTESTATION_TRUE}" && test -z "${USE_IMV_ATTESTATION_FALSE}"; then
27411: as_fn_error $? "conditional \"USE_IMV_ATTESTATION\" was never defined.
27412: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27413: fi
27414: if test -z "${USE_IMC_SWIMA_TRUE}" && test -z "${USE_IMC_SWIMA_FALSE}"; then
27415: as_fn_error $? "conditional \"USE_IMC_SWIMA\" was never defined.
27416: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27417: fi
27418: if test -z "${USE_IMV_SWIMA_TRUE}" && test -z "${USE_IMV_SWIMA_FALSE}"; then
27419: as_fn_error $? "conditional \"USE_IMV_SWIMA\" was never defined.
27420: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27421: fi
27422: if test -z "${USE_IMC_HCD_TRUE}" && test -z "${USE_IMC_HCD_FALSE}"; then
27423: as_fn_error $? "conditional \"USE_IMC_HCD\" was never defined.
27424: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27425: fi
27426: if test -z "${USE_IMV_HCD_TRUE}" && test -z "${USE_IMV_HCD_FALSE}"; then
27427: as_fn_error $? "conditional \"USE_IMV_HCD\" was never defined.
27428: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27429: fi
27430: if test -z "${USE_SAVE_KEYS_TRUE}" && test -z "${USE_SAVE_KEYS_FALSE}"; then
27431: as_fn_error $? "conditional \"USE_SAVE_KEYS\" was never defined.
27432: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27433: fi
27434: if test -z "${USE_SOCKET_DEFAULT_TRUE}" && test -z "${USE_SOCKET_DEFAULT_FALSE}"; then
27435: as_fn_error $? "conditional \"USE_SOCKET_DEFAULT\" was never defined.
27436: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27437: fi
27438: if test -z "${USE_SOCKET_DYNAMIC_TRUE}" && test -z "${USE_SOCKET_DYNAMIC_FALSE}"; then
27439: as_fn_error $? "conditional \"USE_SOCKET_DYNAMIC\" was never defined.
27440: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27441: fi
27442: if test -z "${USE_SOCKET_WIN_TRUE}" && test -z "${USE_SOCKET_WIN_FALSE}"; then
27443: as_fn_error $? "conditional \"USE_SOCKET_WIN\" was never defined.
27444: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27445: fi
27446: if test -z "${USE_BYPASS_LAN_TRUE}" && test -z "${USE_BYPASS_LAN_FALSE}"; then
27447: as_fn_error $? "conditional \"USE_BYPASS_LAN\" was never defined.
27448: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27449: fi
27450: if test -z "${USE_CONNMARK_TRUE}" && test -z "${USE_CONNMARK_FALSE}"; then
27451: as_fn_error $? "conditional \"USE_CONNMARK\" was never defined.
27452: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27453: fi
27454: if test -z "${USE_FORECAST_TRUE}" && test -z "${USE_FORECAST_FALSE}"; then
27455: as_fn_error $? "conditional \"USE_FORECAST\" was never defined.
27456: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27457: fi
27458: if test -z "${USE_FARP_TRUE}" && test -z "${USE_FARP_FALSE}"; then
27459: as_fn_error $? "conditional \"USE_FARP\" was never defined.
27460: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27461: fi
27462: if test -z "${USE_ADDRBLOCK_TRUE}" && test -z "${USE_ADDRBLOCK_FALSE}"; then
27463: as_fn_error $? "conditional \"USE_ADDRBLOCK\" was never defined.
27464: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27465: fi
27466: if test -z "${USE_UNITY_TRUE}" && test -z "${USE_UNITY_FALSE}"; then
27467: as_fn_error $? "conditional \"USE_UNITY\" was never defined.
27468: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27469: fi
27470: if test -z "${USE_RESOLVE_TRUE}" && test -z "${USE_RESOLVE_FALSE}"; then
27471: as_fn_error $? "conditional \"USE_RESOLVE\" was never defined.
27472: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27473: fi
27474: if test -z "${USE_ATTR_TRUE}" && test -z "${USE_ATTR_FALSE}"; then
27475: as_fn_error $? "conditional \"USE_ATTR\" was never defined.
27476: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27477: fi
27478: if test -z "${USE_ATTR_SQL_TRUE}" && test -z "${USE_ATTR_SQL_FALSE}"; then
27479: as_fn_error $? "conditional \"USE_ATTR_SQL\" was never defined.
27480: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27481: fi
27482: if test -z "${USE_COUNTERS_TRUE}" && test -z "${USE_COUNTERS_FALSE}"; then
27483: as_fn_error $? "conditional \"USE_COUNTERS\" was never defined.
27484: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27485: fi
27486: if test -z "${USE_LEAK_DETECTIVE_TRUE}" && test -z "${USE_LEAK_DETECTIVE_FALSE}"; then
27487: as_fn_error $? "conditional \"USE_LEAK_DETECTIVE\" was never defined.
27488: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27489: fi
27490: if test -z "${USE_LOCK_PROFILER_TRUE}" && test -z "${USE_LOCK_PROFILER_FALSE}"; then
27491: as_fn_error $? "conditional \"USE_LOCK_PROFILER\" was never defined.
27492: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27493: fi
27494: if test -z "${USE_FAST_TRUE}" && test -z "${USE_FAST_FALSE}"; then
27495: as_fn_error $? "conditional \"USE_FAST\" was never defined.
27496: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27497: fi
27498: if test -z "${USE_MANAGER_TRUE}" && test -z "${USE_MANAGER_FALSE}"; then
27499: as_fn_error $? "conditional \"USE_MANAGER\" was never defined.
27500: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27501: fi
27502: if test -z "${USE_ME_TRUE}" && test -z "${USE_ME_FALSE}"; then
27503: as_fn_error $? "conditional \"USE_ME\" was never defined.
27504: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27505: fi
27506: if test -z "${USE_INTEGRITY_TEST_TRUE}" && test -z "${USE_INTEGRITY_TEST_FALSE}"; then
27507: as_fn_error $? "conditional \"USE_INTEGRITY_TEST\" was never defined.
27508: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27509: fi
27510: if test -z "${USE_LOAD_WARNING_TRUE}" && test -z "${USE_LOAD_WARNING_FALSE}"; then
27511: as_fn_error $? "conditional \"USE_LOAD_WARNING\" was never defined.
27512: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27513: fi
27514: if test -z "${USE_IKEV1_TRUE}" && test -z "${USE_IKEV1_FALSE}"; then
27515: as_fn_error $? "conditional \"USE_IKEV1\" was never defined.
27516: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27517: fi
27518: if test -z "${USE_IKEV2_TRUE}" && test -z "${USE_IKEV2_FALSE}"; then
27519: as_fn_error $? "conditional \"USE_IKEV2\" was never defined.
27520: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27521: fi
27522: if test -z "${USE_THREADS_TRUE}" && test -z "${USE_THREADS_FALSE}"; then
27523: as_fn_error $? "conditional \"USE_THREADS\" was never defined.
27524: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27525: fi
27526: if test -z "${USE_ADNS_TRUE}" && test -z "${USE_ADNS_FALSE}"; then
27527: as_fn_error $? "conditional \"USE_ADNS\" was never defined.
27528: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27529: fi
27530: if test -z "${USE_CHARON_TRUE}" && test -z "${USE_CHARON_FALSE}"; then
27531: as_fn_error $? "conditional \"USE_CHARON\" was never defined.
27532: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27533: fi
27534: if test -z "${USE_NM_TRUE}" && test -z "${USE_NM_FALSE}"; then
27535: as_fn_error $? "conditional \"USE_NM\" was never defined.
27536: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27537: fi
27538: if test -z "${USE_PKI_TRUE}" && test -z "${USE_PKI_FALSE}"; then
27539: as_fn_error $? "conditional \"USE_PKI\" was never defined.
27540: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27541: fi
27542: if test -z "${USE_SCEPCLIENT_TRUE}" && test -z "${USE_SCEPCLIENT_FALSE}"; then
27543: as_fn_error $? "conditional \"USE_SCEPCLIENT\" was never defined.
27544: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27545: fi
27546: if test -z "${USE_SCRIPTS_TRUE}" && test -z "${USE_SCRIPTS_FALSE}"; then
27547: as_fn_error $? "conditional \"USE_SCRIPTS\" was never defined.
27548: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27549: fi
27550: if test -z "${USE_FUZZING_TRUE}" && test -z "${USE_FUZZING_FALSE}"; then
27551: as_fn_error $? "conditional \"USE_FUZZING\" was never defined.
27552: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27553: fi
27554: if test -z "${USE_CONFTEST_TRUE}" && test -z "${USE_CONFTEST_FALSE}"; then
27555: as_fn_error $? "conditional \"USE_CONFTEST\" was never defined.
27556: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27557: fi
27558: if test -z "${USE_LIBSTRONGSWAN_TRUE}" && test -z "${USE_LIBSTRONGSWAN_FALSE}"; then
27559: as_fn_error $? "conditional \"USE_LIBSTRONGSWAN\" was never defined.
27560: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27561: fi
27562: if test -z "${USE_LIBCHARON_TRUE}" && test -z "${USE_LIBCHARON_FALSE}"; then
27563: as_fn_error $? "conditional \"USE_LIBCHARON\" was never defined.
27564: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27565: fi
27566: if test -z "${USE_LIBIPSEC_TRUE}" && test -z "${USE_LIBIPSEC_FALSE}"; then
27567: as_fn_error $? "conditional \"USE_LIBIPSEC\" was never defined.
27568: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27569: fi
27570: if test -z "${USE_LIBNTTFFT_TRUE}" && test -z "${USE_LIBNTTFFT_FALSE}"; then
27571: as_fn_error $? "conditional \"USE_LIBNTTFFT\" was never defined.
27572: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27573: fi
27574: if test -z "${USE_LIBTNCIF_TRUE}" && test -z "${USE_LIBTNCIF_FALSE}"; then
27575: as_fn_error $? "conditional \"USE_LIBTNCIF\" was never defined.
27576: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27577: fi
27578: if test -z "${USE_LIBTNCCS_TRUE}" && test -z "${USE_LIBTNCCS_FALSE}"; then
27579: as_fn_error $? "conditional \"USE_LIBTNCCS\" was never defined.
27580: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27581: fi
27582: if test -z "${USE_LIBPTTLS_TRUE}" && test -z "${USE_LIBPTTLS_FALSE}"; then
27583: as_fn_error $? "conditional \"USE_LIBPTTLS\" was never defined.
27584: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27585: fi
27586: if test -z "${USE_LIBTPMTSS_TRUE}" && test -z "${USE_LIBTPMTSS_FALSE}"; then
27587: as_fn_error $? "conditional \"USE_LIBTPMTSS\" was never defined.
27588: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27589: fi
27590: if test -z "${USE_FILE_CONFIG_TRUE}" && test -z "${USE_FILE_CONFIG_FALSE}"; then
27591: as_fn_error $? "conditional \"USE_FILE_CONFIG\" was never defined.
27592: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27593: fi
27594: if test -z "${USE_IPSEC_SCRIPT_TRUE}" && test -z "${USE_IPSEC_SCRIPT_FALSE}"; then
27595: as_fn_error $? "conditional \"USE_IPSEC_SCRIPT\" was never defined.
27596: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27597: fi
27598: if test -z "${USE_LIBCAP_TRUE}" && test -z "${USE_LIBCAP_FALSE}"; then
27599: as_fn_error $? "conditional \"USE_LIBCAP\" was never defined.
27600: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27601: fi
27602: if test -z "${USE_VSTR_TRUE}" && test -z "${USE_VSTR_FALSE}"; then
27603: as_fn_error $? "conditional \"USE_VSTR\" was never defined.
27604: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27605: fi
27606: if test -z "${USE_BUILTIN_PRINTF_TRUE}" && test -z "${USE_BUILTIN_PRINTF_FALSE}"; then
27607: as_fn_error $? "conditional \"USE_BUILTIN_PRINTF\" was never defined.
27608: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27609: fi
27610: if test -z "${USE_SIMAKA_TRUE}" && test -z "${USE_SIMAKA_FALSE}"; then
27611: as_fn_error $? "conditional \"USE_SIMAKA\" was never defined.
27612: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27613: fi
27614: if test -z "${USE_TLS_TRUE}" && test -z "${USE_TLS_FALSE}"; then
27615: as_fn_error $? "conditional \"USE_TLS\" was never defined.
27616: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27617: fi
27618: if test -z "${USE_RADIUS_TRUE}" && test -z "${USE_RADIUS_FALSE}"; then
27619: as_fn_error $? "conditional \"USE_RADIUS\" was never defined.
27620: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27621: fi
27622: if test -z "${USE_IMCV_TRUE}" && test -z "${USE_IMCV_FALSE}"; then
27623: as_fn_error $? "conditional \"USE_IMCV\" was never defined.
27624: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27625: fi
27626: if test -z "${USE_TROUSERS_TRUE}" && test -z "${USE_TROUSERS_FALSE}"; then
27627: as_fn_error $? "conditional \"USE_TROUSERS\" was never defined.
27628: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27629: fi
27630: if test -z "${USE_TSS2_TRUE}" && test -z "${USE_TSS2_FALSE}"; then
27631: as_fn_error $? "conditional \"USE_TSS2\" was never defined.
27632: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27633: fi
27634: if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
27635: as_fn_error $? "conditional \"MONOLITHIC\" was never defined.
27636: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27637: fi
27638: if test -z "${STATIC_PLUGIN_CONSTRUCTORS_TRUE}" && test -z "${STATIC_PLUGIN_CONSTRUCTORS_FALSE}"; then
27639: as_fn_error $? "conditional \"STATIC_PLUGIN_CONSTRUCTORS\" was never defined.
27640: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27641: fi
27642: if test -z "${USE_SILENT_RULES_TRUE}" && test -z "${USE_SILENT_RULES_FALSE}"; then
27643: as_fn_error $? "conditional \"USE_SILENT_RULES\" was never defined.
27644: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27645: fi
27646: if test -z "${COVERAGE_TRUE}" && test -z "${COVERAGE_FALSE}"; then
27647: as_fn_error $? "conditional \"COVERAGE\" was never defined.
27648: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27649: fi
27650: if test -z "${USE_DBGHELP_TRUE}" && test -z "${USE_DBGHELP_FALSE}"; then
27651: as_fn_error $? "conditional \"USE_DBGHELP\" was never defined.
27652: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27653: fi
27654: if test -z "${USE_TKM_TRUE}" && test -z "${USE_TKM_FALSE}"; then
27655: as_fn_error $? "conditional \"USE_TKM\" was never defined.
27656: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27657: fi
27658: if test -z "${USE_CMD_TRUE}" && test -z "${USE_CMD_FALSE}"; then
27659: as_fn_error $? "conditional \"USE_CMD\" was never defined.
27660: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27661: fi
27662: if test -z "${USE_AIKGEN_TRUE}" && test -z "${USE_AIKGEN_FALSE}"; then
27663: as_fn_error $? "conditional \"USE_AIKGEN\" was never defined.
27664: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27665: fi
27666: if test -z "${USE_SWANCTL_TRUE}" && test -z "${USE_SWANCTL_FALSE}"; then
27667: as_fn_error $? "conditional \"USE_SWANCTL\" was never defined.
27668: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27669: fi
27670: if test -z "${USE_SVC_TRUE}" && test -z "${USE_SVC_FALSE}"; then
27671: as_fn_error $? "conditional \"USE_SVC\" was never defined.
27672: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27673: fi
27674: if test -z "${USE_SYSTEMD_TRUE}" && test -z "${USE_SYSTEMD_FALSE}"; then
27675: as_fn_error $? "conditional \"USE_SYSTEMD\" was never defined.
27676: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27677: fi
27678: if test -z "${USE_LEGACY_SYSTEMD_TRUE}" && test -z "${USE_LEGACY_SYSTEMD_FALSE}"; then
27679: as_fn_error $? "conditional \"USE_LEGACY_SYSTEMD\" was never defined.
27680: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27681: fi
27682: if test -z "${USE_RUBY_GEMS_TRUE}" && test -z "${USE_RUBY_GEMS_FALSE}"; then
27683: as_fn_error $? "conditional \"USE_RUBY_GEMS\" was never defined.
27684: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27685: fi
27686: if test -z "${USE_PYTHON_EGGS_TRUE}" && test -z "${USE_PYTHON_EGGS_FALSE}"; then
27687: as_fn_error $? "conditional \"USE_PYTHON_EGGS\" was never defined.
27688: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27689: fi
27690: if test -z "${USE_PERL_CPAN_TRUE}" && test -z "${USE_PERL_CPAN_FALSE}"; then
27691: as_fn_error $? "conditional \"USE_PERL_CPAN\" was never defined.
27692: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27693: fi
27694: if test -z "${USE_TOX_TRUE}" && test -z "${USE_TOX_FALSE}"; then
27695: as_fn_error $? "conditional \"USE_TOX\" was never defined.
27696: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27697: fi
27698: if test -z "${USE_PY_TEST_TRUE}" && test -z "${USE_PY_TEST_FALSE}"; then
27699: as_fn_error $? "conditional \"USE_PY_TEST\" was never defined.
27700: Usually this means the macro was only invoked conditionally." "$LINENO" 5
27701: fi
27702:
27703: : "${CONFIG_STATUS=./config.status}"
27704: ac_write_fail=0
27705: ac_clean_files_save=$ac_clean_files
27706: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27707: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27708: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27709: as_write_fail=0
27710: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27711: #! $SHELL
27712: # Generated by $as_me.
27713: # Run this file to recreate the current configuration.
27714: # Compiler output produced by configure, useful for debugging
27715: # configure, is in config.log if it exists.
27716:
27717: debug=false
27718: ac_cs_recheck=false
27719: ac_cs_silent=false
27720:
27721: SHELL=\${CONFIG_SHELL-$SHELL}
27722: export SHELL
27723: _ASEOF
27724: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27725: ## -------------------- ##
27726: ## M4sh Initialization. ##
27727: ## -------------------- ##
27728:
27729: # Be more Bourne compatible
27730: DUALCASE=1; export DUALCASE # for MKS sh
27731: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27732: emulate sh
27733: NULLCMD=:
27734: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27735: # is contrary to our usage. Disable this feature.
27736: alias -g '${1+"$@"}'='"$@"'
27737: setopt NO_GLOB_SUBST
27738: else
27739: case `(set -o) 2>/dev/null` in #(
27740: *posix*) :
27741: set -o posix ;; #(
27742: *) :
27743: ;;
27744: esac
27745: fi
27746:
27747:
27748: as_nl='
27749: '
27750: export as_nl
27751: # Printing a long string crashes Solaris 7 /usr/bin/printf.
27752: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27753: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27754: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27755: # Prefer a ksh shell builtin over an external printf program on Solaris,
27756: # but without wasting forks for bash or zsh.
27757: if test -z "$BASH_VERSION$ZSH_VERSION" \
27758: && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27759: as_echo='print -r --'
27760: as_echo_n='print -rn --'
27761: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27762: as_echo='printf %s\n'
27763: as_echo_n='printf %s'
27764: else
27765: if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27766: as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27767: as_echo_n='/usr/ucb/echo -n'
27768: else
27769: as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27770: as_echo_n_body='eval
27771: arg=$1;
27772: case $arg in #(
27773: *"$as_nl"*)
27774: expr "X$arg" : "X\\(.*\\)$as_nl";
27775: arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27776: esac;
27777: expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27778: '
27779: export as_echo_n_body
27780: as_echo_n='sh -c $as_echo_n_body as_echo'
27781: fi
27782: export as_echo_body
27783: as_echo='sh -c $as_echo_body as_echo'
27784: fi
27785:
27786: # The user is always right.
27787: if test "${PATH_SEPARATOR+set}" != set; then
27788: PATH_SEPARATOR=:
27789: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27790: (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27791: PATH_SEPARATOR=';'
27792: }
27793: fi
27794:
27795:
27796: # IFS
27797: # We need space, tab and new line, in precisely that order. Quoting is
27798: # there to prevent editors from complaining about space-tab.
27799: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27800: # splitting by setting IFS to empty value.)
27801: IFS=" "" $as_nl"
27802:
27803: # Find who we are. Look in the path if we contain no directory separator.
27804: as_myself=
27805: case $0 in #((
27806: *[\\/]* ) as_myself=$0 ;;
27807: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27808: for as_dir in $PATH
27809: do
27810: IFS=$as_save_IFS
27811: test -z "$as_dir" && as_dir=.
27812: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27813: done
27814: IFS=$as_save_IFS
27815:
27816: ;;
27817: esac
27818: # We did not find ourselves, most probably we were run as `sh COMMAND'
27819: # in which case we are not to be found in the path.
27820: if test "x$as_myself" = x; then
27821: as_myself=$0
27822: fi
27823: if test ! -f "$as_myself"; then
27824: $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27825: exit 1
27826: fi
27827:
27828: # Unset variables that we do not need and which cause bugs (e.g. in
27829: # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27830: # suppresses any "Segmentation fault" message there. '((' could
27831: # trigger a bug in pdksh 5.2.14.
27832: for as_var in BASH_ENV ENV MAIL MAILPATH
27833: do eval test x\${$as_var+set} = xset \
27834: && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27835: done
27836: PS1='$ '
27837: PS2='> '
27838: PS4='+ '
27839:
27840: # NLS nuisances.
27841: LC_ALL=C
27842: export LC_ALL
27843: LANGUAGE=C
27844: export LANGUAGE
27845:
27846: # CDPATH.
27847: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27848:
27849:
27850: # as_fn_error STATUS ERROR [LINENO LOG_FD]
27851: # ----------------------------------------
27852: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27853: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27854: # script with STATUS, using 1 if that was 0.
27855: as_fn_error ()
27856: {
27857: as_status=$1; test $as_status -eq 0 && as_status=1
27858: if test "$4"; then
27859: as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27860: $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27861: fi
27862: $as_echo "$as_me: error: $2" >&2
27863: as_fn_exit $as_status
27864: } # as_fn_error
27865:
27866:
27867: # as_fn_set_status STATUS
27868: # -----------------------
27869: # Set $? to STATUS, without forking.
27870: as_fn_set_status ()
27871: {
27872: return $1
27873: } # as_fn_set_status
27874:
27875: # as_fn_exit STATUS
27876: # -----------------
27877: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27878: as_fn_exit ()
27879: {
27880: set +e
27881: as_fn_set_status $1
27882: exit $1
27883: } # as_fn_exit
27884:
27885: # as_fn_unset VAR
27886: # ---------------
27887: # Portably unset VAR.
27888: as_fn_unset ()
27889: {
27890: { eval $1=; unset $1;}
27891: }
27892: as_unset=as_fn_unset
27893: # as_fn_append VAR VALUE
27894: # ----------------------
27895: # Append the text in VALUE to the end of the definition contained in VAR. Take
27896: # advantage of any shell optimizations that allow amortized linear growth over
27897: # repeated appends, instead of the typical quadratic growth present in naive
27898: # implementations.
27899: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27900: eval 'as_fn_append ()
27901: {
27902: eval $1+=\$2
27903: }'
27904: else
27905: as_fn_append ()
27906: {
27907: eval $1=\$$1\$2
27908: }
27909: fi # as_fn_append
27910:
27911: # as_fn_arith ARG...
27912: # ------------------
27913: # Perform arithmetic evaluation on the ARGs, and store the result in the
27914: # global $as_val. Take advantage of shells that can avoid forks. The arguments
27915: # must be portable across $(()) and expr.
27916: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27917: eval 'as_fn_arith ()
27918: {
27919: as_val=$(( $* ))
27920: }'
27921: else
27922: as_fn_arith ()
27923: {
27924: as_val=`expr "$@" || test $? -eq 1`
27925: }
27926: fi # as_fn_arith
27927:
27928:
27929: if expr a : '\(a\)' >/dev/null 2>&1 &&
27930: test "X`expr 00001 : '.*\(...\)'`" = X001; then
27931: as_expr=expr
27932: else
27933: as_expr=false
27934: fi
27935:
27936: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27937: as_basename=basename
27938: else
27939: as_basename=false
27940: fi
27941:
27942: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27943: as_dirname=dirname
27944: else
27945: as_dirname=false
27946: fi
27947:
27948: as_me=`$as_basename -- "$0" ||
27949: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27950: X"$0" : 'X\(//\)$' \| \
27951: X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27952: $as_echo X/"$0" |
27953: sed '/^.*\/\([^/][^/]*\)\/*$/{
27954: s//\1/
27955: q
27956: }
27957: /^X\/\(\/\/\)$/{
27958: s//\1/
27959: q
27960: }
27961: /^X\/\(\/\).*/{
27962: s//\1/
27963: q
27964: }
27965: s/.*/./; q'`
27966:
27967: # Avoid depending upon Character Ranges.
27968: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27969: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27970: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27971: as_cr_digits='0123456789'
27972: as_cr_alnum=$as_cr_Letters$as_cr_digits
27973:
27974: ECHO_C= ECHO_N= ECHO_T=
27975: case `echo -n x` in #(((((
27976: -n*)
27977: case `echo 'xy\c'` in
27978: *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27979: xy) ECHO_C='\c';;
27980: *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27981: ECHO_T=' ';;
27982: esac;;
27983: *)
27984: ECHO_N='-n';;
27985: esac
27986:
27987: rm -f conf$$ conf$$.exe conf$$.file
27988: if test -d conf$$.dir; then
27989: rm -f conf$$.dir/conf$$.file
27990: else
27991: rm -f conf$$.dir
27992: mkdir conf$$.dir 2>/dev/null
27993: fi
27994: if (echo >conf$$.file) 2>/dev/null; then
27995: if ln -s conf$$.file conf$$ 2>/dev/null; then
27996: as_ln_s='ln -s'
27997: # ... but there are two gotchas:
27998: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27999: # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
28000: # In both cases, we have to default to `cp -pR'.
28001: ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
28002: as_ln_s='cp -pR'
28003: elif ln conf$$.file conf$$ 2>/dev/null; then
28004: as_ln_s=ln
28005: else
28006: as_ln_s='cp -pR'
28007: fi
28008: else
28009: as_ln_s='cp -pR'
28010: fi
28011: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
28012: rmdir conf$$.dir 2>/dev/null
28013:
28014:
28015: # as_fn_mkdir_p
28016: # -------------
28017: # Create "$as_dir" as a directory, including parents if necessary.
28018: as_fn_mkdir_p ()
28019: {
28020:
28021: case $as_dir in #(
28022: -*) as_dir=./$as_dir;;
28023: esac
28024: test -d "$as_dir" || eval $as_mkdir_p || {
28025: as_dirs=
28026: while :; do
28027: case $as_dir in #(
28028: *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28029: *) as_qdir=$as_dir;;
28030: esac
28031: as_dirs="'$as_qdir' $as_dirs"
28032: as_dir=`$as_dirname -- "$as_dir" ||
28033: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28034: X"$as_dir" : 'X\(//\)[^/]' \| \
28035: X"$as_dir" : 'X\(//\)$' \| \
28036: X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28037: $as_echo X"$as_dir" |
28038: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28039: s//\1/
28040: q
28041: }
28042: /^X\(\/\/\)[^/].*/{
28043: s//\1/
28044: q
28045: }
28046: /^X\(\/\/\)$/{
28047: s//\1/
28048: q
28049: }
28050: /^X\(\/\).*/{
28051: s//\1/
28052: q
28053: }
28054: s/.*/./; q'`
28055: test -d "$as_dir" && break
28056: done
28057: test -z "$as_dirs" || eval "mkdir $as_dirs"
28058: } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
28059:
28060:
28061: } # as_fn_mkdir_p
28062: if mkdir -p . 2>/dev/null; then
28063: as_mkdir_p='mkdir -p "$as_dir"'
28064: else
28065: test -d ./-p && rmdir ./-p
28066: as_mkdir_p=false
28067: fi
28068:
28069:
28070: # as_fn_executable_p FILE
28071: # -----------------------
28072: # Test if FILE is an executable regular file.
28073: as_fn_executable_p ()
28074: {
28075: test -f "$1" && test -x "$1"
28076: } # as_fn_executable_p
28077: as_test_x='test -x'
28078: as_executable_p=as_fn_executable_p
28079:
28080: # Sed expression to map a string onto a valid CPP name.
28081: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28082:
28083: # Sed expression to map a string onto a valid variable name.
28084: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28085:
28086:
28087: exec 6>&1
28088: ## ----------------------------------- ##
28089: ## Main body of $CONFIG_STATUS script. ##
28090: ## ----------------------------------- ##
28091: _ASEOF
28092: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
28093:
28094: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28095: # Save the log message, to keep $0 and so on meaningful, and to
28096: # report actual input values of CONFIG_FILES etc. instead of their
28097: # values after options handling.
28098: ac_log="
1.1.1.2 ! misho 28099: This file was extended by strongSwan $as_me 5.9.2, which was
1.1 misho 28100: generated by GNU Autoconf 2.69. Invocation command line was
28101:
28102: CONFIG_FILES = $CONFIG_FILES
28103: CONFIG_HEADERS = $CONFIG_HEADERS
28104: CONFIG_LINKS = $CONFIG_LINKS
28105: CONFIG_COMMANDS = $CONFIG_COMMANDS
28106: $ $0 $@
28107:
28108: on `(hostname || uname -n) 2>/dev/null | sed 1q`
28109: "
28110:
28111: _ACEOF
28112:
28113: case $ac_config_files in *"
28114: "*) set x $ac_config_files; shift; ac_config_files=$*;;
28115: esac
28116:
28117: case $ac_config_headers in *"
28118: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
28119: esac
28120:
28121:
28122: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28123: # Files that config.status was made for.
28124: config_files="$ac_config_files"
28125: config_headers="$ac_config_headers"
28126: config_commands="$ac_config_commands"
28127:
28128: _ACEOF
28129:
28130: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28131: ac_cs_usage="\
28132: \`$as_me' instantiates files and other configuration actions
28133: from templates according to the current configuration. Unless the files
28134: and actions are specified as TAGs, all are instantiated by default.
28135:
28136: Usage: $0 [OPTION]... [TAG]...
28137:
28138: -h, --help print this help, then exit
28139: -V, --version print version number and configuration settings, then exit
28140: --config print configuration, then exit
28141: -q, --quiet, --silent
28142: do not print progress messages
28143: -d, --debug don't remove temporary files
28144: --recheck update $as_me by reconfiguring in the same conditions
28145: --file=FILE[:TEMPLATE]
28146: instantiate the configuration file FILE
28147: --header=FILE[:TEMPLATE]
28148: instantiate the configuration header FILE
28149:
28150: Configuration files:
28151: $config_files
28152:
28153: Configuration headers:
28154: $config_headers
28155:
28156: Configuration commands:
28157: $config_commands
28158:
28159: Report bugs to the package provider."
28160:
28161: _ACEOF
28162: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28163: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
28164: ac_cs_version="\\
1.1.1.2 ! misho 28165: strongSwan config.status 5.9.2
1.1 misho 28166: configured by $0, generated by GNU Autoconf 2.69,
28167: with options \\"\$ac_cs_config\\"
28168:
28169: Copyright (C) 2012 Free Software Foundation, Inc.
28170: This config.status script is free software; the Free Software Foundation
28171: gives unlimited permission to copy, distribute and modify it."
28172:
28173: ac_pwd='$ac_pwd'
28174: srcdir='$srcdir'
28175: INSTALL='$INSTALL'
28176: MKDIR_P='$MKDIR_P'
28177: AWK='$AWK'
28178: test -n "\$AWK" || AWK=awk
28179: _ACEOF
28180:
28181: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28182: # The default lists apply if the user does not specify any file.
28183: ac_need_defaults=:
28184: while test $# != 0
28185: do
28186: case $1 in
28187: --*=?*)
28188: ac_option=`expr "X$1" : 'X\([^=]*\)='`
28189: ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
28190: ac_shift=:
28191: ;;
28192: --*=)
28193: ac_option=`expr "X$1" : 'X\([^=]*\)='`
28194: ac_optarg=
28195: ac_shift=:
28196: ;;
28197: *)
28198: ac_option=$1
28199: ac_optarg=$2
28200: ac_shift=shift
28201: ;;
28202: esac
28203:
28204: case $ac_option in
28205: # Handling of the options.
28206: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
28207: ac_cs_recheck=: ;;
28208: --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
28209: $as_echo "$ac_cs_version"; exit ;;
28210: --config | --confi | --conf | --con | --co | --c )
28211: $as_echo "$ac_cs_config"; exit ;;
28212: --debug | --debu | --deb | --de | --d | -d )
28213: debug=: ;;
28214: --file | --fil | --fi | --f )
28215: $ac_shift
28216: case $ac_optarg in
28217: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28218: '') as_fn_error $? "missing file argument" ;;
28219: esac
28220: as_fn_append CONFIG_FILES " '$ac_optarg'"
28221: ac_need_defaults=false;;
28222: --header | --heade | --head | --hea )
28223: $ac_shift
28224: case $ac_optarg in
28225: *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28226: esac
28227: as_fn_append CONFIG_HEADERS " '$ac_optarg'"
28228: ac_need_defaults=false;;
28229: --he | --h)
28230: # Conflict between --help and --header
28231: as_fn_error $? "ambiguous option: \`$1'
28232: Try \`$0 --help' for more information.";;
28233: --help | --hel | -h )
28234: $as_echo "$ac_cs_usage"; exit ;;
28235: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
28236: | -silent | --silent | --silen | --sile | --sil | --si | --s)
28237: ac_cs_silent=: ;;
28238:
28239: # This is an error.
28240: -*) as_fn_error $? "unrecognized option: \`$1'
28241: Try \`$0 --help' for more information." ;;
28242:
28243: *) as_fn_append ac_config_targets " $1"
28244: ac_need_defaults=false ;;
28245:
28246: esac
28247: shift
28248: done
28249:
28250: ac_configure_extra_args=
28251:
28252: if $ac_cs_silent; then
28253: exec 6>/dev/null
28254: ac_configure_extra_args="$ac_configure_extra_args --silent"
28255: fi
28256:
28257: _ACEOF
28258: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28259: if \$ac_cs_recheck; then
28260: set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28261: shift
28262: \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28263: CONFIG_SHELL='$SHELL'
28264: export CONFIG_SHELL
28265: exec "\$@"
28266: fi
28267:
28268: _ACEOF
28269: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28270: exec 5>>config.log
28271: {
28272: echo
28273: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28274: ## Running $as_me. ##
28275: _ASBOX
28276: $as_echo "$ac_log"
28277: } >&5
28278:
28279: _ACEOF
28280: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28281: #
28282: # INIT-COMMANDS
28283: #
28284: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28285:
28286:
28287: # The HP-UX ksh and POSIX shell print the target directory to stdout
28288: # if CDPATH is set.
28289: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28290:
28291: sed_quote_subst='$sed_quote_subst'
28292: double_quote_subst='$double_quote_subst'
28293: delay_variable_subst='$delay_variable_subst'
28294: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28295: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28296: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28297: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28298: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28299: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28300: shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
28301: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28302: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28303: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
28304: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28305: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28306: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28307: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28308: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28309: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28310: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28311: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28312: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28313: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28314: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28315: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28316: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28317: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28318: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28319: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28320: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28321: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28322: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28323: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28324: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
28325: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
28326: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28327: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28328: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28329: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28330: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28331: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
28332: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
28333: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
28334: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
28335: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28336: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28337: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
28338: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28339: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28340: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28341: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28342: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28343: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28344: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28345: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28346: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28347: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28348: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28349: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28350: lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
28351: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28352: 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"`'
28353: lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
28354: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
28355: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
28356: lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
28357: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28358: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28359: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28360: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28361: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28362: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28363: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28364: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28365: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
28366: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28367: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28368: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28369: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28370: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28371: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28372: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28373: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28374: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28375: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28376: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28377: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28378: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28379: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28380: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28381: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28382: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28383: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28384: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28385: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28386: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28387: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28388: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28389: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28390: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28391: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28392: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28393: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28394: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28395: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28396: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28397: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28398: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28399: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28400: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28401: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28402: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
28403: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28404: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28405: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28406: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28407: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28408: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28409: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28410: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28411: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28412: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28413: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28414: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28415: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28416: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28417: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28418: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28419: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28420: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28421: configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
28422: configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
28423: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28424: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28425: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28426: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28427: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28428: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28429:
28430: LTCC='$LTCC'
28431: LTCFLAGS='$LTCFLAGS'
28432: compiler='$compiler_DEFAULT'
28433:
28434: # A function that is used when there is no print builtin or printf.
28435: func_fallback_echo ()
28436: {
28437: eval 'cat <<_LTECHO_EOF
28438: \$1
28439: _LTECHO_EOF'
28440: }
28441:
28442: # Quote evaled strings.
28443: for var in SHELL \
28444: ECHO \
28445: PATH_SEPARATOR \
28446: SED \
28447: GREP \
28448: EGREP \
28449: FGREP \
28450: LD \
28451: NM \
28452: LN_S \
28453: lt_SP2NL \
28454: lt_NL2SP \
28455: reload_flag \
28456: OBJDUMP \
28457: deplibs_check_method \
28458: file_magic_cmd \
28459: file_magic_glob \
28460: want_nocaseglob \
28461: DLLTOOL \
28462: sharedlib_from_linklib_cmd \
28463: AR \
28464: AR_FLAGS \
28465: archiver_list_spec \
28466: STRIP \
28467: RANLIB \
28468: CC \
28469: CFLAGS \
28470: compiler \
28471: lt_cv_sys_global_symbol_pipe \
28472: lt_cv_sys_global_symbol_to_cdecl \
28473: lt_cv_sys_global_symbol_to_import \
28474: lt_cv_sys_global_symbol_to_c_name_address \
28475: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28476: lt_cv_nm_interface \
28477: nm_file_list_spec \
28478: lt_cv_truncate_bin \
28479: lt_prog_compiler_no_builtin_flag \
28480: lt_prog_compiler_pic \
28481: lt_prog_compiler_wl \
28482: lt_prog_compiler_static \
28483: lt_cv_prog_compiler_c_o \
28484: need_locks \
28485: MANIFEST_TOOL \
28486: DSYMUTIL \
28487: NMEDIT \
28488: LIPO \
28489: OTOOL \
28490: OTOOL64 \
28491: shrext_cmds \
28492: export_dynamic_flag_spec \
28493: whole_archive_flag_spec \
28494: compiler_needs_object \
28495: with_gnu_ld \
28496: allow_undefined_flag \
28497: no_undefined_flag \
28498: hardcode_libdir_flag_spec \
28499: hardcode_libdir_separator \
28500: exclude_expsyms \
28501: include_expsyms \
28502: file_list_spec \
28503: variables_saved_for_relink \
28504: libname_spec \
28505: library_names_spec \
28506: soname_spec \
28507: install_override_mode \
28508: finish_eval \
28509: old_striplib \
28510: striplib; do
28511: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28512: *[\\\\\\\`\\"\\\$]*)
28513: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28514: ;;
28515: *)
28516: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28517: ;;
28518: esac
28519: done
28520:
28521: # Double-quote double-evaled strings.
28522: for var in reload_cmds \
28523: old_postinstall_cmds \
28524: old_postuninstall_cmds \
28525: old_archive_cmds \
28526: extract_expsyms_cmds \
28527: old_archive_from_new_cmds \
28528: old_archive_from_expsyms_cmds \
28529: archive_cmds \
28530: archive_expsym_cmds \
28531: module_cmds \
28532: module_expsym_cmds \
28533: export_symbols_cmds \
28534: prelink_cmds \
28535: postlink_cmds \
28536: postinstall_cmds \
28537: postuninstall_cmds \
28538: finish_cmds \
28539: sys_lib_search_path_spec \
28540: configure_time_dlsearch_path \
28541: configure_time_lt_sys_library_path; do
28542: case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28543: *[\\\\\\\`\\"\\\$]*)
28544: eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
28545: ;;
28546: *)
28547: eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28548: ;;
28549: esac
28550: done
28551:
28552: ac_aux_dir='$ac_aux_dir'
28553:
28554: # See if we are running on zsh, and set the options that allow our
28555: # commands through without removal of \ escapes INIT.
28556: if test -n "\${ZSH_VERSION+set}"; then
28557: setopt NO_GLOB_SUBST
28558: fi
28559:
28560:
28561: PACKAGE='$PACKAGE'
28562: VERSION='$VERSION'
28563: RM='$RM'
28564: ofile='$ofile'
28565:
28566:
28567:
28568:
28569: _ACEOF
28570:
28571: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28572:
28573: # Handling of arguments.
28574: for ac_config_target in $ac_config_targets
28575: do
28576: case $ac_config_target in
28577: "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28578: "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28579: "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28580: "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28581: "conf/Makefile") CONFIG_FILES="$CONFIG_FILES conf/Makefile" ;;
28582: "fuzz/Makefile") CONFIG_FILES="$CONFIG_FILES fuzz/Makefile" ;;
28583: "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
28584: "init/Makefile") CONFIG_FILES="$CONFIG_FILES init/Makefile" ;;
28585: "init/systemd/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd/Makefile" ;;
28586: "init/systemd-starter/Makefile") CONFIG_FILES="$CONFIG_FILES init/systemd-starter/Makefile" ;;
28587: "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
28588: "src/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/include/Makefile" ;;
28589: "src/libstrongswan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/Makefile" ;;
28590: "src/libstrongswan/math/libnttfft/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/Makefile" ;;
28591: "src/libstrongswan/math/libnttfft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/math/libnttfft/tests/Makefile" ;;
28592: "src/libstrongswan/plugins/aes/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aes/Makefile" ;;
28593: "src/libstrongswan/plugins/cmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/cmac/Makefile" ;;
28594: "src/libstrongswan/plugins/des/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/des/Makefile" ;;
28595: "src/libstrongswan/plugins/blowfish/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/blowfish/Makefile" ;;
28596: "src/libstrongswan/plugins/rc2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rc2/Makefile" ;;
28597: "src/libstrongswan/plugins/md4/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md4/Makefile" ;;
28598: "src/libstrongswan/plugins/md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/md5/Makefile" ;;
28599: "src/libstrongswan/plugins/sha1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha1/Makefile" ;;
28600: "src/libstrongswan/plugins/sha2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha2/Makefile" ;;
28601: "src/libstrongswan/plugins/sha3/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sha3/Makefile" ;;
28602: "src/libstrongswan/plugins/mgf1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mgf1/Makefile" ;;
28603: "src/libstrongswan/plugins/fips_prf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/fips_prf/Makefile" ;;
28604: "src/libstrongswan/plugins/gmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gmp/Makefile" ;;
28605: "src/libstrongswan/plugins/curve25519/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curve25519/Makefile" ;;
28606: "src/libstrongswan/plugins/rdrand/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/rdrand/Makefile" ;;
28607: "src/libstrongswan/plugins/aesni/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/aesni/Makefile" ;;
28608: "src/libstrongswan/plugins/random/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/random/Makefile" ;;
28609: "src/libstrongswan/plugins/nonce/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/nonce/Makefile" ;;
28610: "src/libstrongswan/plugins/hmac/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/hmac/Makefile" ;;
28611: "src/libstrongswan/plugins/xcbc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/xcbc/Makefile" ;;
28612: "src/libstrongswan/plugins/x509/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/x509/Makefile" ;;
28613: "src/libstrongswan/plugins/revocation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/revocation/Makefile" ;;
28614: "src/libstrongswan/plugins/constraints/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/constraints/Makefile" ;;
28615: "src/libstrongswan/plugins/acert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/acert/Makefile" ;;
28616: "src/libstrongswan/plugins/pubkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pubkey/Makefile" ;;
28617: "src/libstrongswan/plugins/pkcs1/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs1/Makefile" ;;
28618: "src/libstrongswan/plugins/pkcs7/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs7/Makefile" ;;
28619: "src/libstrongswan/plugins/pkcs8/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs8/Makefile" ;;
28620: "src/libstrongswan/plugins/pkcs12/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs12/Makefile" ;;
28621: "src/libstrongswan/plugins/pgp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pgp/Makefile" ;;
28622: "src/libstrongswan/plugins/dnskey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/dnskey/Makefile" ;;
28623: "src/libstrongswan/plugins/sshkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sshkey/Makefile" ;;
28624: "src/libstrongswan/plugins/pem/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pem/Makefile" ;;
28625: "src/libstrongswan/plugins/curl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/curl/Makefile" ;;
28626: "src/libstrongswan/plugins/files/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/files/Makefile" ;;
28627: "src/libstrongswan/plugins/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/winhttp/Makefile" ;;
28628: "src/libstrongswan/plugins/unbound/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/unbound/Makefile" ;;
28629: "src/libstrongswan/plugins/soup/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/soup/Makefile" ;;
28630: "src/libstrongswan/plugins/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ldap/Makefile" ;;
28631: "src/libstrongswan/plugins/mysql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/mysql/Makefile" ;;
28632: "src/libstrongswan/plugins/sqlite/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/sqlite/Makefile" ;;
28633: "src/libstrongswan/plugins/padlock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/padlock/Makefile" ;;
28634: "src/libstrongswan/plugins/openssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/openssl/Makefile" ;;
28635: "src/libstrongswan/plugins/wolfssl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/wolfssl/Makefile" ;;
28636: "src/libstrongswan/plugins/gcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcrypt/Makefile" ;;
28637: "src/libstrongswan/plugins/botan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/botan/Makefile" ;;
28638: "src/libstrongswan/plugins/agent/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/agent/Makefile" ;;
28639: "src/libstrongswan/plugins/keychain/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/keychain/Makefile" ;;
28640: "src/libstrongswan/plugins/pkcs11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/pkcs11/Makefile" ;;
28641: "src/libstrongswan/plugins/chapoly/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/chapoly/Makefile" ;;
28642: "src/libstrongswan/plugins/ctr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ctr/Makefile" ;;
28643: "src/libstrongswan/plugins/ccm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ccm/Makefile" ;;
28644: "src/libstrongswan/plugins/gcm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/gcm/Makefile" ;;
28645: "src/libstrongswan/plugins/af_alg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/af_alg/Makefile" ;;
28646: "src/libstrongswan/plugins/drbg/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/drbg/Makefile" ;;
28647: "src/libstrongswan/plugins/ntru/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/ntru/Makefile" ;;
28648: "src/libstrongswan/plugins/bliss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/Makefile" ;;
28649: "src/libstrongswan/plugins/bliss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/bliss/tests/Makefile" ;;
28650: "src/libstrongswan/plugins/newhope/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/Makefile" ;;
28651: "src/libstrongswan/plugins/newhope/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/newhope/tests/Makefile" ;;
28652: "src/libstrongswan/plugins/test_vectors/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/plugins/test_vectors/Makefile" ;;
28653: "src/libstrongswan/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libstrongswan/tests/Makefile" ;;
28654: "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
28655: "src/libipsec/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/tests/Makefile" ;;
28656: "src/libsimaka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libsimaka/Makefile" ;;
28657: "src/libtls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/Makefile" ;;
28658: "src/libtls/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtls/tests/Makefile" ;;
28659: "src/libradius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libradius/Makefile" ;;
28660: "src/libtncif/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtncif/Makefile" ;;
28661: "src/libtnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/Makefile" ;;
28662: "src/libtnccs/plugins/tnc_tnccs/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_tnccs/Makefile" ;;
28663: "src/libtnccs/plugins/tnc_imc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imc/Makefile" ;;
28664: "src/libtnccs/plugins/tnc_imv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnc_imv/Makefile" ;;
28665: "src/libtnccs/plugins/tnccs_11/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_11/Makefile" ;;
28666: "src/libtnccs/plugins/tnccs_20/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_20/Makefile" ;;
28667: "src/libtnccs/plugins/tnccs_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtnccs/plugins/tnccs_dynamic/Makefile" ;;
28668: "src/libpttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libpttls/Makefile" ;;
28669: "src/libimcv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/Makefile" ;;
28670: "src/libimcv/plugins/imc_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_test/Makefile" ;;
28671: "src/libimcv/plugins/imv_test/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_test/Makefile" ;;
28672: "src/libimcv/plugins/imc_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_scanner/Makefile" ;;
28673: "src/libimcv/plugins/imv_scanner/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_scanner/Makefile" ;;
28674: "src/libimcv/plugins/imc_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_os/Makefile" ;;
28675: "src/libimcv/plugins/imv_os/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_os/Makefile" ;;
28676: "src/libimcv/plugins/imc_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_attestation/Makefile" ;;
28677: "src/libimcv/plugins/imv_attestation/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_attestation/Makefile" ;;
28678: "src/libimcv/plugins/imc_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_swima/Makefile" ;;
28679: "src/libimcv/plugins/imv_swima/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_swima/Makefile" ;;
28680: "src/libimcv/plugins/imc_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imc_hcd/Makefile" ;;
28681: "src/libimcv/plugins/imv_hcd/Makefile") CONFIG_FILES="$CONFIG_FILES src/libimcv/plugins/imv_hcd/Makefile" ;;
28682: "src/charon/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon/Makefile" ;;
28683: "src/charon-nm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-nm/Makefile" ;;
28684: "src/charon-tkm/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-tkm/Makefile" ;;
28685: "src/charon-cmd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/Makefile" ;;
28686: "src/charon-svc/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-svc/Makefile" ;;
28687: "src/charon-systemd/Makefile") CONFIG_FILES="$CONFIG_FILES src/charon-systemd/Makefile" ;;
28688: "src/libcharon/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/Makefile" ;;
28689: "src/libcharon/plugins/eap_aka/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka/Makefile" ;;
28690: "src/libcharon/plugins/eap_aka_3gpp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/Makefile" ;;
28691: "src/libcharon/plugins/eap_aka_3gpp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp/tests/Makefile" ;;
28692: "src/libcharon/plugins/eap_aka_3gpp2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_aka_3gpp2/Makefile" ;;
28693: "src/libcharon/plugins/eap_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_dynamic/Makefile" ;;
28694: "src/libcharon/plugins/eap_identity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_identity/Makefile" ;;
28695: "src/libcharon/plugins/eap_md5/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_md5/Makefile" ;;
28696: "src/libcharon/plugins/eap_gtc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_gtc/Makefile" ;;
28697: "src/libcharon/plugins/eap_sim/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim/Makefile" ;;
28698: "src/libcharon/plugins/eap_sim_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_file/Makefile" ;;
28699: "src/libcharon/plugins/eap_sim_pcsc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_sim_pcsc/Makefile" ;;
28700: "src/libcharon/plugins/eap_simaka_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_sql/Makefile" ;;
28701: "src/libcharon/plugins/eap_simaka_pseudonym/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_pseudonym/Makefile" ;;
28702: "src/libcharon/plugins/eap_simaka_reauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_simaka_reauth/Makefile" ;;
28703: "src/libcharon/plugins/eap_mschapv2/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_mschapv2/Makefile" ;;
28704: "src/libcharon/plugins/eap_tls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tls/Makefile" ;;
28705: "src/libcharon/plugins/eap_ttls/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_ttls/Makefile" ;;
28706: "src/libcharon/plugins/eap_peap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_peap/Makefile" ;;
28707: "src/libcharon/plugins/eap_tnc/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_tnc/Makefile" ;;
28708: "src/libcharon/plugins/eap_radius/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/eap_radius/Makefile" ;;
28709: "src/libcharon/plugins/xauth_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_generic/Makefile" ;;
28710: "src/libcharon/plugins/xauth_eap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_eap/Makefile" ;;
28711: "src/libcharon/plugins/xauth_pam/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_pam/Makefile" ;;
28712: "src/libcharon/plugins/xauth_noauth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/xauth_noauth/Makefile" ;;
28713: "src/libcharon/plugins/tnc_ifmap/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_ifmap/Makefile" ;;
28714: "src/libcharon/plugins/tnc_pdp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/tnc_pdp/Makefile" ;;
28715: "src/libcharon/plugins/save_keys/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/save_keys/Makefile" ;;
28716: "src/libcharon/plugins/socket_default/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_default/Makefile" ;;
28717: "src/libcharon/plugins/socket_dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_dynamic/Makefile" ;;
28718: "src/libcharon/plugins/socket_win/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/socket_win/Makefile" ;;
28719: "src/libcharon/plugins/bypass_lan/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/bypass_lan/Makefile" ;;
28720: "src/libcharon/plugins/connmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/connmark/Makefile" ;;
28721: "src/libcharon/plugins/counters/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/counters/Makefile" ;;
28722: "src/libcharon/plugins/forecast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/forecast/Makefile" ;;
28723: "src/libcharon/plugins/farp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/farp/Makefile" ;;
28724: "src/libcharon/plugins/smp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/smp/Makefile" ;;
28725: "src/libcharon/plugins/sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/sql/Makefile" ;;
28726: "src/libcharon/plugins/dnscert/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dnscert/Makefile" ;;
28727: "src/libcharon/plugins/ipseckey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ipseckey/Makefile" ;;
28728: "src/libcharon/plugins/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medsrv/Makefile" ;;
28729: "src/libcharon/plugins/medcli/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/medcli/Makefile" ;;
28730: "src/libcharon/plugins/addrblock/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/addrblock/Makefile" ;;
28731: "src/libcharon/plugins/unity/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/unity/Makefile" ;;
28732: "src/libcharon/plugins/uci/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/uci/Makefile" ;;
28733: "src/libcharon/plugins/ha/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ha/Makefile" ;;
28734: "src/libcharon/plugins/kernel_netlink/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_netlink/Makefile" ;;
28735: "src/libcharon/plugins/kernel_pfkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfkey/Makefile" ;;
28736: "src/libcharon/plugins/kernel_pfroute/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_pfroute/Makefile" ;;
28737: "src/libcharon/plugins/kernel_libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_libipsec/Makefile" ;;
28738: "src/libcharon/plugins/kernel_wfp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_wfp/Makefile" ;;
28739: "src/libcharon/plugins/kernel_iph/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/kernel_iph/Makefile" ;;
28740: "src/libcharon/plugins/whitelist/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/whitelist/Makefile" ;;
28741: "src/libcharon/plugins/ext_auth/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/ext_auth/Makefile" ;;
28742: "src/libcharon/plugins/lookip/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/lookip/Makefile" ;;
28743: "src/libcharon/plugins/error_notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/error_notify/Makefile" ;;
28744: "src/libcharon/plugins/certexpire/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/certexpire/Makefile" ;;
28745: "src/libcharon/plugins/systime_fix/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/systime_fix/Makefile" ;;
28746: "src/libcharon/plugins/led/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/led/Makefile" ;;
28747: "src/libcharon/plugins/duplicheck/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/duplicheck/Makefile" ;;
28748: "src/libcharon/plugins/coupling/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/coupling/Makefile" ;;
28749: "src/libcharon/plugins/radattr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/radattr/Makefile" ;;
28750: "src/libcharon/plugins/osx_attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/osx_attr/Makefile" ;;
28751: "src/libcharon/plugins/p_cscf/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/p_cscf/Makefile" ;;
28752: "src/libcharon/plugins/android_dns/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_dns/Makefile" ;;
28753: "src/libcharon/plugins/android_log/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/android_log/Makefile" ;;
28754: "src/libcharon/plugins/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/stroke/Makefile" ;;
28755: "src/libcharon/plugins/vici/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/Makefile" ;;
28756: "src/libcharon/plugins/vici/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/ruby/Makefile" ;;
28757: "src/libcharon/plugins/vici/perl/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/perl/Makefile" ;;
28758: "src/libcharon/plugins/vici/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/vici/python/Makefile" ;;
28759: "src/libcharon/plugins/updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/updown/Makefile" ;;
28760: "src/libcharon/plugins/dhcp/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/dhcp/Makefile" ;;
28761: "src/libcharon/plugins/load_tester/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/load_tester/Makefile" ;;
28762: "src/libcharon/plugins/resolve/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/resolve/Makefile" ;;
28763: "src/libcharon/plugins/attr/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr/Makefile" ;;
28764: "src/libcharon/plugins/attr_sql/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/plugins/attr_sql/Makefile" ;;
28765: "src/libcharon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcharon/tests/Makefile" ;;
28766: "src/libtpmtss/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/Makefile" ;;
28767: "src/libtpmtss/plugins/tpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/libtpmtss/plugins/tpm/Makefile" ;;
28768: "src/stroke/Makefile") CONFIG_FILES="$CONFIG_FILES src/stroke/Makefile" ;;
28769: "src/ipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/ipsec/Makefile" ;;
28770: "src/starter/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/Makefile" ;;
28771: "src/starter/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/starter/tests/Makefile" ;;
28772: "src/_updown/Makefile") CONFIG_FILES="$CONFIG_FILES src/_updown/Makefile" ;;
28773: "src/_copyright/Makefile") CONFIG_FILES="$CONFIG_FILES src/_copyright/Makefile" ;;
28774: "src/scepclient/Makefile") CONFIG_FILES="$CONFIG_FILES src/scepclient/Makefile" ;;
28775: "src/aikgen/Makefile") CONFIG_FILES="$CONFIG_FILES src/aikgen/Makefile" ;;
28776: "src/tpm_extendpcr/Makefile") CONFIG_FILES="$CONFIG_FILES src/tpm_extendpcr/Makefile" ;;
28777: "src/pki/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/Makefile" ;;
28778: "src/pki/man/Makefile") CONFIG_FILES="$CONFIG_FILES src/pki/man/Makefile" ;;
28779: "src/pool/Makefile") CONFIG_FILES="$CONFIG_FILES src/pool/Makefile" ;;
28780: "src/libfast/Makefile") CONFIG_FILES="$CONFIG_FILES src/libfast/Makefile" ;;
28781: "src/manager/Makefile") CONFIG_FILES="$CONFIG_FILES src/manager/Makefile" ;;
28782: "src/medsrv/Makefile") CONFIG_FILES="$CONFIG_FILES src/medsrv/Makefile" ;;
28783: "src/checksum/Makefile") CONFIG_FILES="$CONFIG_FILES src/checksum/Makefile" ;;
28784: "src/conftest/Makefile") CONFIG_FILES="$CONFIG_FILES src/conftest/Makefile" ;;
28785: "src/pt-tls-client/Makefile") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/Makefile" ;;
28786: "src/sw-collector/Makefile") CONFIG_FILES="$CONFIG_FILES src/sw-collector/Makefile" ;;
28787: "src/sec-updater/Makefile") CONFIG_FILES="$CONFIG_FILES src/sec-updater/Makefile" ;;
28788: "src/swanctl/Makefile") CONFIG_FILES="$CONFIG_FILES src/swanctl/Makefile" ;;
28789: "src/xfrmi/Makefile") CONFIG_FILES="$CONFIG_FILES src/xfrmi/Makefile" ;;
28790: "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
28791: "testing/Makefile") CONFIG_FILES="$CONFIG_FILES testing/Makefile" ;;
28792: "conf/strongswan.conf.5.head") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.head" ;;
28793: "conf/strongswan.conf.5.tail") CONFIG_FILES="$CONFIG_FILES conf/strongswan.conf.5.tail" ;;
28794: "man/ipsec.conf.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.conf.5" ;;
28795: "man/ipsec.secrets.5") CONFIG_FILES="$CONFIG_FILES man/ipsec.secrets.5" ;;
28796: "src/charon-cmd/charon-cmd.8") CONFIG_FILES="$CONFIG_FILES src/charon-cmd/charon-cmd.8" ;;
28797: "src/pki/man/pki.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki.1" ;;
28798: "src/pki/man/pki---acert.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---acert.1" ;;
28799: "src/pki/man/pki---dn.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---dn.1" ;;
28800: "src/pki/man/pki---gen.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---gen.1" ;;
28801: "src/pki/man/pki---issue.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---issue.1" ;;
28802: "src/pki/man/pki---keyid.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---keyid.1" ;;
28803: "src/pki/man/pki---pkcs12.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs12.1" ;;
28804: "src/pki/man/pki---pkcs7.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pkcs7.1" ;;
28805: "src/pki/man/pki---print.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---print.1" ;;
28806: "src/pki/man/pki---pub.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---pub.1" ;;
28807: "src/pki/man/pki---req.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---req.1" ;;
28808: "src/pki/man/pki---self.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---self.1" ;;
28809: "src/pki/man/pki---signcrl.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---signcrl.1" ;;
28810: "src/pki/man/pki---verify.1") CONFIG_FILES="$CONFIG_FILES src/pki/man/pki---verify.1" ;;
28811: "src/swanctl/swanctl.8") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.8" ;;
28812: "src/swanctl/swanctl.conf.5.head") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.head" ;;
28813: "src/swanctl/swanctl.conf.5.tail") CONFIG_FILES="$CONFIG_FILES src/swanctl/swanctl.conf.5.tail" ;;
28814: "src/pt-tls-client/pt-tls-client.1") CONFIG_FILES="$CONFIG_FILES src/pt-tls-client/pt-tls-client.1" ;;
28815: "src/sw-collector/sw-collector.8") CONFIG_FILES="$CONFIG_FILES src/sw-collector/sw-collector.8" ;;
28816: "src/sec-updater/sec-updater.8") CONFIG_FILES="$CONFIG_FILES src/sec-updater/sec-updater.8" ;;
28817:
28818: *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28819: esac
28820: done
28821:
28822:
28823: # If the user did not use the arguments to specify the items to instantiate,
28824: # then the envvar interface is used. Set only those that are not.
28825: # We use the long form for the default assignment because of an extremely
28826: # bizarre bug on SunOS 4.1.3.
28827: if $ac_need_defaults; then
28828: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28829: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28830: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28831: fi
28832:
28833: # Have a temporary directory for convenience. Make it in the build tree
28834: # simply because there is no reason against having it here, and in addition,
28835: # creating and moving files from /tmp can sometimes cause problems.
28836: # Hook for its removal unless debugging.
28837: # Note that there is a small window in which the directory will not be cleaned:
28838: # after its creation but before its name has been assigned to `$tmp'.
28839: $debug ||
28840: {
28841: tmp= ac_tmp=
28842: trap 'exit_status=$?
28843: : "${ac_tmp:=$tmp}"
28844: { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28845: ' 0
28846: trap 'as_fn_exit 1' 1 2 13 15
28847: }
28848: # Create a (secure) tmp directory for tmp files.
28849:
28850: {
28851: tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28852: test -d "$tmp"
28853: } ||
28854: {
28855: tmp=./conf$$-$RANDOM
28856: (umask 077 && mkdir "$tmp")
28857: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28858: ac_tmp=$tmp
28859:
28860: # Set up the scripts for CONFIG_FILES section.
28861: # No need to generate them if there are no CONFIG_FILES.
28862: # This happens for instance with `./config.status config.h'.
28863: if test -n "$CONFIG_FILES"; then
28864:
28865:
28866: ac_cr=`echo X | tr X '\015'`
28867: # On cygwin, bash can eat \r inside `` if the user requested igncr.
28868: # But we know of no other shell where ac_cr would be empty at this
28869: # point, so we can use a bashism as a fallback.
28870: if test "x$ac_cr" = x; then
28871: eval ac_cr=\$\'\\r\'
28872: fi
28873: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28874: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28875: ac_cs_awk_cr='\\r'
28876: else
28877: ac_cs_awk_cr=$ac_cr
28878: fi
28879:
28880: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28881: _ACEOF
28882:
28883:
28884: {
28885: echo "cat >conf$$subs.awk <<_ACEOF" &&
28886: echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28887: echo "_ACEOF"
28888: } >conf$$subs.sh ||
28889: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28890: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28891: ac_delim='%!_!# '
28892: for ac_last_try in false false false false false :; do
28893: . ./conf$$subs.sh ||
28894: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28895:
28896: ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28897: if test $ac_delim_n = $ac_delim_num; then
28898: break
28899: elif $ac_last_try; then
28900: as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28901: else
28902: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28903: fi
28904: done
28905: rm -f conf$$subs.sh
28906:
28907: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28908: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28909: _ACEOF
28910: sed -n '
28911: h
28912: s/^/S["/; s/!.*/"]=/
28913: p
28914: g
28915: s/^[^!]*!//
28916: :repl
28917: t repl
28918: s/'"$ac_delim"'$//
28919: t delim
28920: :nl
28921: h
28922: s/\(.\{148\}\)..*/\1/
28923: t more1
28924: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28925: p
28926: n
28927: b repl
28928: :more1
28929: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28930: p
28931: g
28932: s/.\{148\}//
28933: t nl
28934: :delim
28935: h
28936: s/\(.\{148\}\)..*/\1/
28937: t more2
28938: s/["\\]/\\&/g; s/^/"/; s/$/"/
28939: p
28940: b
28941: :more2
28942: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28943: p
28944: g
28945: s/.\{148\}//
28946: t delim
28947: ' <conf$$subs.awk | sed '
28948: /^[^""]/{
28949: N
28950: s/\n//
28951: }
28952: ' >>$CONFIG_STATUS || ac_write_fail=1
28953: rm -f conf$$subs.awk
28954: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28955: _ACAWK
28956: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28957: for (key in S) S_is_set[key] = 1
28958: FS = ""
28959:
28960: }
28961: {
28962: line = $ 0
28963: nfields = split(line, field, "@")
28964: substed = 0
28965: len = length(field[1])
28966: for (i = 2; i < nfields; i++) {
28967: key = field[i]
28968: keylen = length(key)
28969: if (S_is_set[key]) {
28970: value = S[key]
28971: line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28972: len += length(value) + length(field[++i])
28973: substed = 1
28974: } else
28975: len += 1 + keylen
28976: }
28977:
28978: print line
28979: }
28980:
28981: _ACAWK
28982: _ACEOF
28983: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28984: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28985: sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28986: else
28987: cat
28988: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28989: || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28990: _ACEOF
28991:
28992: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28993: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28994: # trailing colons and then remove the whole line if VPATH becomes empty
28995: # (actually we leave an empty line to preserve line numbers).
28996: if test "x$srcdir" = x.; then
28997: ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28998: h
28999: s///
29000: s/^/:/
29001: s/[ ]*$/:/
29002: s/:\$(srcdir):/:/g
29003: s/:\${srcdir}:/:/g
29004: s/:@srcdir@:/:/g
29005: s/^:*//
29006: s/:*$//
29007: x
29008: s/\(=[ ]*\).*/\1/
29009: G
29010: s/\n//
29011: s/^[^=]*=[ ]*$//
29012: }'
29013: fi
29014:
29015: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29016: fi # test -n "$CONFIG_FILES"
29017:
29018: # Set up the scripts for CONFIG_HEADERS section.
29019: # No need to generate them if there are no CONFIG_HEADERS.
29020: # This happens for instance with `./config.status Makefile'.
29021: if test -n "$CONFIG_HEADERS"; then
29022: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
29023: BEGIN {
29024: _ACEOF
29025:
29026: # Transform confdefs.h into an awk script `defines.awk', embedded as
29027: # here-document in config.status, that substitutes the proper values into
29028: # config.h.in to produce config.h.
29029:
29030: # Create a delimiter string that does not exist in confdefs.h, to ease
29031: # handling of long lines.
29032: ac_delim='%!_!# '
29033: for ac_last_try in false false :; do
29034: ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
29035: if test -z "$ac_tt"; then
29036: break
29037: elif $ac_last_try; then
29038: as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
29039: else
29040: ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
29041: fi
29042: done
29043:
29044: # For the awk script, D is an array of macro values keyed by name,
29045: # likewise P contains macro parameters if any. Preserve backslash
29046: # newline sequences.
29047:
29048: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29049: sed -n '
29050: s/.\{148\}/&'"$ac_delim"'/g
29051: t rset
29052: :rset
29053: s/^[ ]*#[ ]*define[ ][ ]*/ /
29054: t def
29055: d
29056: :def
29057: s/\\$//
29058: t bsnl
29059: s/["\\]/\\&/g
29060: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29061: D["\1"]=" \3"/p
29062: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
29063: d
29064: :bsnl
29065: s/["\\]/\\&/g
29066: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
29067: D["\1"]=" \3\\\\\\n"\\/p
29068: t cont
29069: s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
29070: t cont
29071: d
29072: :cont
29073: n
29074: s/.\{148\}/&'"$ac_delim"'/g
29075: t clear
29076: :clear
29077: s/\\$//
29078: t bsnlc
29079: s/["\\]/\\&/g; s/^/"/; s/$/"/p
29080: d
29081: :bsnlc
29082: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
29083: b cont
29084: ' <confdefs.h | sed '
29085: s/'"$ac_delim"'/"\\\
29086: "/g' >>$CONFIG_STATUS || ac_write_fail=1
29087:
29088: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29089: for (key in D) D_is_set[key] = 1
29090: FS = ""
29091: }
29092: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29093: line = \$ 0
29094: split(line, arg, " ")
29095: if (arg[1] == "#") {
29096: defundef = arg[2]
29097: mac1 = arg[3]
29098: } else {
29099: defundef = substr(arg[1], 2)
29100: mac1 = arg[2]
29101: }
29102: split(mac1, mac2, "(") #)
29103: macro = mac2[1]
29104: prefix = substr(line, 1, index(line, defundef) - 1)
29105: if (D_is_set[macro]) {
29106: # Preserve the white space surrounding the "#".
29107: print prefix "define", macro P[macro] D[macro]
29108: next
29109: } else {
29110: # Replace #undef with comments. This is necessary, for example,
29111: # in the case of _POSIX_SOURCE, which is predefined and required
29112: # on some systems where configure will not decide to define it.
29113: if (defundef == "undef") {
29114: print "/*", prefix defundef, macro, "*/"
29115: next
29116: }
29117: }
29118: }
29119: { print }
29120: _ACAWK
29121: _ACEOF
29122: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29123: as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
29124: fi # test -n "$CONFIG_HEADERS"
29125:
29126:
29127: eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29128: shift
29129: for ac_tag
29130: do
29131: case $ac_tag in
29132: :[FHLC]) ac_mode=$ac_tag; continue;;
29133: esac
29134: case $ac_mode$ac_tag in
29135: :[FHL]*:*);;
29136: :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
29137: :[FH]-) ac_tag=-:-;;
29138: :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
29139: esac
29140: ac_save_IFS=$IFS
29141: IFS=:
29142: set x $ac_tag
29143: IFS=$ac_save_IFS
29144: shift
29145: ac_file=$1
29146: shift
29147:
29148: case $ac_mode in
29149: :L) ac_source=$1;;
29150: :[FH])
29151: ac_file_inputs=
29152: for ac_f
29153: do
29154: case $ac_f in
29155: -) ac_f="$ac_tmp/stdin";;
29156: *) # Look for the file first in the build tree, then in the source tree
29157: # (if the path is not absolute). The absolute path cannot be DOS-style,
29158: # because $ac_f cannot contain `:'.
29159: test -f "$ac_f" ||
29160: case $ac_f in
29161: [\\/$]*) false;;
29162: *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
29163: esac ||
29164: as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
29165: esac
29166: case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29167: as_fn_append ac_file_inputs " '$ac_f'"
29168: done
29169:
29170: # Let's still pretend it is `configure' which instantiates (i.e., don't
29171: # use $as_me), people would be surprised to read:
29172: # /* config.h. Generated by config.status. */
29173: configure_input='Generated from '`
29174: $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29175: `' by configure.'
29176: if test x"$ac_file" != x-; then
29177: configure_input="$ac_file. $configure_input"
29178: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
29179: $as_echo "$as_me: creating $ac_file" >&6;}
29180: fi
29181: # Neutralize special characters interpreted by sed in replacement strings.
29182: case $configure_input in #(
29183: *\&* | *\|* | *\\* )
29184: ac_sed_conf_input=`$as_echo "$configure_input" |
29185: sed 's/[\\\\&|]/\\\\&/g'`;; #(
29186: *) ac_sed_conf_input=$configure_input;;
29187: esac
29188:
29189: case $ac_tag in
29190: *:-:* | *:-) cat >"$ac_tmp/stdin" \
29191: || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
29192: esac
29193: ;;
29194: esac
29195:
29196: ac_dir=`$as_dirname -- "$ac_file" ||
29197: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29198: X"$ac_file" : 'X\(//\)[^/]' \| \
29199: X"$ac_file" : 'X\(//\)$' \| \
29200: X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29201: $as_echo X"$ac_file" |
29202: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29203: s//\1/
29204: q
29205: }
29206: /^X\(\/\/\)[^/].*/{
29207: s//\1/
29208: q
29209: }
29210: /^X\(\/\/\)$/{
29211: s//\1/
29212: q
29213: }
29214: /^X\(\/\).*/{
29215: s//\1/
29216: q
29217: }
29218: s/.*/./; q'`
29219: as_dir="$ac_dir"; as_fn_mkdir_p
29220: ac_builddir=.
29221:
29222: case "$ac_dir" in
29223: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
29224: *)
29225: ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
29226: # A ".." for each directory in $ac_dir_suffix.
29227: ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
29228: case $ac_top_builddir_sub in
29229: "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
29230: *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
29231: esac ;;
29232: esac
29233: ac_abs_top_builddir=$ac_pwd
29234: ac_abs_builddir=$ac_pwd$ac_dir_suffix
29235: # for backward compatibility:
29236: ac_top_builddir=$ac_top_build_prefix
29237:
29238: case $srcdir in
29239: .) # We are building in place.
29240: ac_srcdir=.
29241: ac_top_srcdir=$ac_top_builddir_sub
29242: ac_abs_top_srcdir=$ac_pwd ;;
29243: [\\/]* | ?:[\\/]* ) # Absolute name.
29244: ac_srcdir=$srcdir$ac_dir_suffix;
29245: ac_top_srcdir=$srcdir
29246: ac_abs_top_srcdir=$srcdir ;;
29247: *) # Relative name.
29248: ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
29249: ac_top_srcdir=$ac_top_build_prefix$srcdir
29250: ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
29251: esac
29252: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
29253:
29254:
29255: case $ac_mode in
29256: :F)
29257: #
29258: # CONFIG_FILE
29259: #
29260:
29261: case $INSTALL in
29262: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
29263: *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
29264: esac
29265: ac_MKDIR_P=$MKDIR_P
29266: case $MKDIR_P in
29267: [\\/$]* | ?:[\\/]* ) ;;
29268: */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
29269: esac
29270: _ACEOF
29271:
29272: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29273: # If the template does not know about datarootdir, expand it.
29274: # FIXME: This hack should be removed a few years after 2.60.
29275: ac_datarootdir_hack=; ac_datarootdir_seen=
29276: ac_sed_dataroot='
29277: /datarootdir/ {
29278: p
29279: q
29280: }
29281: /@datadir@/p
29282: /@docdir@/p
29283: /@infodir@/p
29284: /@localedir@/p
29285: /@mandir@/p'
29286: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29287: *datarootdir*) ac_datarootdir_seen=yes;;
29288: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
29289: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29290: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29291: _ACEOF
29292: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29293: ac_datarootdir_hack='
29294: s&@datadir@&$datadir&g
29295: s&@docdir@&$docdir&g
29296: s&@infodir@&$infodir&g
29297: s&@localedir@&$localedir&g
29298: s&@mandir@&$mandir&g
29299: s&\\\${datarootdir}&$datarootdir&g' ;;
29300: esac
29301: _ACEOF
29302:
29303: # Neutralize VPATH when `$srcdir' = `.'.
29304: # Shell code in configure.ac might set extrasub.
29305: # FIXME: do we really want to maintain this feature?
29306: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29307: ac_sed_extra="$ac_vpsub
29308: $extrasub
29309: _ACEOF
29310: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29311: :t
29312: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
29313: s|@configure_input@|$ac_sed_conf_input|;t t
29314: s&@top_builddir@&$ac_top_builddir_sub&;t t
29315: s&@top_build_prefix@&$ac_top_build_prefix&;t t
29316: s&@srcdir@&$ac_srcdir&;t t
29317: s&@abs_srcdir@&$ac_abs_srcdir&;t t
29318: s&@top_srcdir@&$ac_top_srcdir&;t t
29319: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
29320: s&@builddir@&$ac_builddir&;t t
29321: s&@abs_builddir@&$ac_abs_builddir&;t t
29322: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
29323: s&@INSTALL@&$ac_INSTALL&;t t
29324: s&@MKDIR_P@&$ac_MKDIR_P&;t t
29325: $ac_datarootdir_hack
29326: "
29327: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
29328: >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29329:
29330: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29331: { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
29332: { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29333: "$ac_tmp/out"`; test -z "$ac_out"; } &&
29334: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29335: which seems to be undefined. Please make sure it is defined" >&5
29336: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
29337: which seems to be undefined. Please make sure it is defined" >&2;}
29338:
29339: rm -f "$ac_tmp/stdin"
29340: case $ac_file in
29341: -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29342: *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29343: esac \
29344: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29345: ;;
29346: :H)
29347: #
29348: # CONFIG_HEADER
29349: #
29350: if test x"$ac_file" != x-; then
29351: {
29352: $as_echo "/* $configure_input */" \
29353: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29354: } >"$ac_tmp/config.h" \
29355: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29356: if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29357: { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29358: $as_echo "$as_me: $ac_file is unchanged" >&6;}
29359: else
29360: rm -f "$ac_file"
29361: mv "$ac_tmp/config.h" "$ac_file" \
29362: || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29363: fi
29364: else
29365: $as_echo "/* $configure_input */" \
29366: && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29367: || as_fn_error $? "could not create -" "$LINENO" 5
29368: fi
29369: # Compute "$ac_file"'s index in $config_headers.
29370: _am_arg="$ac_file"
29371: _am_stamp_count=1
29372: for _am_header in $config_headers :; do
29373: case $_am_header in
29374: $_am_arg | $_am_arg:* )
29375: break ;;
29376: * )
29377: _am_stamp_count=`expr $_am_stamp_count + 1` ;;
29378: esac
29379: done
29380: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29381: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29382: X"$_am_arg" : 'X\(//\)[^/]' \| \
29383: X"$_am_arg" : 'X\(//\)$' \| \
29384: X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29385: $as_echo X"$_am_arg" |
29386: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29387: s//\1/
29388: q
29389: }
29390: /^X\(\/\/\)[^/].*/{
29391: s//\1/
29392: q
29393: }
29394: /^X\(\/\/\)$/{
29395: s//\1/
29396: q
29397: }
29398: /^X\(\/\).*/{
29399: s//\1/
29400: q
29401: }
29402: s/.*/./; q'`/stamp-h$_am_stamp_count
29403: ;;
29404:
29405: :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29406: $as_echo "$as_me: executing $ac_file commands" >&6;}
29407: ;;
29408: esac
29409:
29410:
29411: case $ac_file$ac_mode in
29412: "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
29413: # Older Autoconf quotes --file arguments for eval, but not when files
29414: # are listed without --file. Let's play safe and only enable the eval
29415: # if we detect the quoting.
29416: case $CONFIG_FILES in
29417: *\'*) eval set x "$CONFIG_FILES" ;;
29418: *) set x $CONFIG_FILES ;;
29419: esac
29420: shift
29421: for mf
29422: do
29423: # Strip MF so we end up with the name of the file.
29424: mf=`echo "$mf" | sed -e 's/:.*$//'`
29425: # Check whether this is an Automake generated Makefile or not.
29426: # We used to match only the files named 'Makefile.in', but
29427: # some people rename them; so instead we look at the file content.
29428: # Grep'ing the first line is not enough: some people post-process
29429: # each Makefile.in and add a new line on top of each file to say so.
29430: # Grep'ing the whole file is not good either: AIX grep has a line
29431: # limit of 2048, but all sed's we know have understand at least 4000.
29432: if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
29433: dirpart=`$as_dirname -- "$mf" ||
29434: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29435: X"$mf" : 'X\(//\)[^/]' \| \
29436: X"$mf" : 'X\(//\)$' \| \
29437: X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29438: $as_echo X"$mf" |
29439: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29440: s//\1/
29441: q
29442: }
29443: /^X\(\/\/\)[^/].*/{
29444: s//\1/
29445: q
29446: }
29447: /^X\(\/\/\)$/{
29448: s//\1/
29449: q
29450: }
29451: /^X\(\/\).*/{
29452: s//\1/
29453: q
29454: }
29455: s/.*/./; q'`
29456: else
29457: continue
29458: fi
29459: # Extract the definition of DEPDIR, am__include, and am__quote
29460: # from the Makefile without running 'make'.
29461: DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
29462: test -z "$DEPDIR" && continue
29463: am__include=`sed -n 's/^am__include = //p' < "$mf"`
29464: test -z "$am__include" && continue
29465: am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
29466: # Find all dependency output files, they are included files with
29467: # $(DEPDIR) in their names. We invoke sed twice because it is the
29468: # simplest approach to changing $(DEPDIR) to its actual value in the
29469: # expansion.
29470: for file in `sed -n "
29471: s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29472: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
29473: # Make sure the directory exists.
29474: test -f "$dirpart/$file" && continue
29475: fdir=`$as_dirname -- "$file" ||
29476: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29477: X"$file" : 'X\(//\)[^/]' \| \
29478: X"$file" : 'X\(//\)$' \| \
29479: X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29480: $as_echo X"$file" |
29481: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29482: s//\1/
29483: q
29484: }
29485: /^X\(\/\/\)[^/].*/{
29486: s//\1/
29487: q
29488: }
29489: /^X\(\/\/\)$/{
29490: s//\1/
29491: q
29492: }
29493: /^X\(\/\).*/{
29494: s//\1/
29495: q
29496: }
29497: s/.*/./; q'`
29498: as_dir=$dirpart/$fdir; as_fn_mkdir_p
29499: # echo "creating $dirpart/$file"
29500: echo '# dummy' > "$dirpart/$file"
29501: done
29502: done
29503: }
29504: ;;
29505: "libtool":C)
29506:
29507: # See if we are running on zsh, and set the options that allow our
29508: # commands through without removal of \ escapes.
29509: if test -n "${ZSH_VERSION+set}"; then
29510: setopt NO_GLOB_SUBST
29511: fi
29512:
29513: cfgfile=${ofile}T
29514: trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29515: $RM "$cfgfile"
29516:
29517: cat <<_LT_EOF >> "$cfgfile"
29518: #! $SHELL
29519: # Generated automatically by $as_me ($PACKAGE) $VERSION
29520: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29521: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29522:
29523: # Provide generalized library-building support services.
29524: # Written by Gordon Matzigkeit, 1996
29525:
29526: # Copyright (C) 2014 Free Software Foundation, Inc.
29527: # This is free software; see the source for copying conditions. There is NO
29528: # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
29529:
29530: # GNU Libtool is free software; you can redistribute it and/or modify
29531: # it under the terms of the GNU General Public License as published by
29532: # the Free Software Foundation; either version 2 of of the License, or
29533: # (at your option) any later version.
29534: #
29535: # As a special exception to the GNU General Public License, if you
29536: # distribute this file as part of a program or library that is built
29537: # using GNU Libtool, you may include this file under the same
29538: # distribution terms that you use for the rest of that program.
29539: #
29540: # GNU Libtool is distributed in the hope that it will be useful, but
29541: # WITHOUT ANY WARRANTY; without even the implied warranty of
29542: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29543: # GNU General Public License for more details.
29544: #
29545: # You should have received a copy of the GNU General Public License
29546: # along with this program. If not, see <http://www.gnu.org/licenses/>.
29547:
29548:
29549: # The names of the tagged configurations supported by this script.
29550: available_tags=''
29551:
29552: # Configured defaults for sys_lib_dlsearch_path munging.
29553: : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
29554:
29555: # ### BEGIN LIBTOOL CONFIG
29556:
29557: # Whether or not to build static libraries.
29558: build_old_libs=$enable_static
29559:
29560: # Which release of libtool.m4 was used?
29561: macro_version=$macro_version
29562: macro_revision=$macro_revision
29563:
29564: # Whether or not to build shared libraries.
29565: build_libtool_libs=$enable_shared
29566:
29567: # What type of objects to build.
29568: pic_mode=$pic_mode
29569:
29570: # Whether or not to optimize for fast installation.
29571: fast_install=$enable_fast_install
29572:
29573: # Shared archive member basename,for filename based shared library versioning on AIX.
29574: shared_archive_member_spec=$shared_archive_member_spec
29575:
29576: # Shell to use when invoking shell scripts.
29577: SHELL=$lt_SHELL
29578:
29579: # An echo program that protects backslashes.
29580: ECHO=$lt_ECHO
29581:
29582: # The PATH separator for the build system.
29583: PATH_SEPARATOR=$lt_PATH_SEPARATOR
29584:
29585: # The host system.
29586: host_alias=$host_alias
29587: host=$host
29588: host_os=$host_os
29589:
29590: # The build system.
29591: build_alias=$build_alias
29592: build=$build
29593: build_os=$build_os
29594:
29595: # A sed program that does not truncate output.
29596: SED=$lt_SED
29597:
29598: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29599: Xsed="\$SED -e 1s/^X//"
29600:
29601: # A grep program that handles long lines.
29602: GREP=$lt_GREP
29603:
29604: # An ERE matcher.
29605: EGREP=$lt_EGREP
29606:
29607: # A literal string matcher.
29608: FGREP=$lt_FGREP
29609:
29610: # A BSD- or MS-compatible name lister.
29611: NM=$lt_NM
29612:
29613: # Whether we need soft or hard links.
29614: LN_S=$lt_LN_S
29615:
29616: # What is the maximum length of a command?
29617: max_cmd_len=$max_cmd_len
29618:
29619: # Object file suffix (normally "o").
29620: objext=$ac_objext
29621:
29622: # Executable file suffix (normally "").
29623: exeext=$exeext
29624:
29625: # whether the shell understands "unset".
29626: lt_unset=$lt_unset
29627:
29628: # turn spaces into newlines.
29629: SP2NL=$lt_lt_SP2NL
29630:
29631: # turn newlines into spaces.
29632: NL2SP=$lt_lt_NL2SP
29633:
29634: # convert \$build file names to \$host format.
29635: to_host_file_cmd=$lt_cv_to_host_file_cmd
29636:
29637: # convert \$build files to toolchain format.
29638: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
29639:
29640: # An object symbol dumper.
29641: OBJDUMP=$lt_OBJDUMP
29642:
29643: # Method to check whether dependent libraries are shared objects.
29644: deplibs_check_method=$lt_deplibs_check_method
29645:
29646: # Command to use when deplibs_check_method = "file_magic".
29647: file_magic_cmd=$lt_file_magic_cmd
29648:
29649: # How to find potential files when deplibs_check_method = "file_magic".
29650: file_magic_glob=$lt_file_magic_glob
29651:
29652: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
29653: want_nocaseglob=$lt_want_nocaseglob
29654:
29655: # DLL creation program.
29656: DLLTOOL=$lt_DLLTOOL
29657:
29658: # Command to associate shared and link libraries.
29659: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
29660:
29661: # The archiver.
29662: AR=$lt_AR
29663:
29664: # Flags to create an archive.
29665: AR_FLAGS=$lt_AR_FLAGS
29666:
29667: # How to feed a file listing to the archiver.
29668: archiver_list_spec=$lt_archiver_list_spec
29669:
29670: # A symbol stripping program.
29671: STRIP=$lt_STRIP
29672:
29673: # Commands used to install an old-style archive.
29674: RANLIB=$lt_RANLIB
29675: old_postinstall_cmds=$lt_old_postinstall_cmds
29676: old_postuninstall_cmds=$lt_old_postuninstall_cmds
29677:
29678: # Whether to use a lock for old archive extraction.
29679: lock_old_archive_extraction=$lock_old_archive_extraction
29680:
29681: # A C compiler.
29682: LTCC=$lt_CC
29683:
29684: # LTCC compiler flags.
29685: LTCFLAGS=$lt_CFLAGS
29686:
29687: # Take the output of nm and produce a listing of raw symbols and C names.
29688: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29689:
29690: # Transform the output of nm in a proper C declaration.
29691: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29692:
29693: # Transform the output of nm into a list of symbols to manually relocate.
29694: global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
29695:
29696: # Transform the output of nm in a C name address pair.
29697: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29698:
29699: # Transform the output of nm in a C name address pair when lib prefix is needed.
29700: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29701:
29702: # The name lister interface.
29703: nm_interface=$lt_lt_cv_nm_interface
29704:
29705: # Specify filename containing input files for \$NM.
29706: nm_file_list_spec=$lt_nm_file_list_spec
29707:
29708: # The root where to search for dependent libraries,and where our libraries should be installed.
29709: lt_sysroot=$lt_sysroot
29710:
29711: # Command to truncate a binary pipe.
29712: lt_truncate_bin=$lt_lt_cv_truncate_bin
29713:
29714: # The name of the directory that contains temporary libtool files.
29715: objdir=$objdir
29716:
29717: # Used to examine libraries when file_magic_cmd begins with "file".
29718: MAGIC_CMD=$MAGIC_CMD
29719:
29720: # Must we lock files when doing compilation?
29721: need_locks=$lt_need_locks
29722:
29723: # Manifest tool.
29724: MANIFEST_TOOL=$lt_MANIFEST_TOOL
29725:
29726: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29727: DSYMUTIL=$lt_DSYMUTIL
29728:
29729: # Tool to change global to local symbols on Mac OS X.
29730: NMEDIT=$lt_NMEDIT
29731:
29732: # Tool to manipulate fat objects and archives on Mac OS X.
29733: LIPO=$lt_LIPO
29734:
29735: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29736: OTOOL=$lt_OTOOL
29737:
29738: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29739: OTOOL64=$lt_OTOOL64
29740:
29741: # Old archive suffix (normally "a").
29742: libext=$libext
29743:
29744: # Shared library suffix (normally ".so").
29745: shrext_cmds=$lt_shrext_cmds
29746:
29747: # The commands to extract the exported symbol list from a shared archive.
29748: extract_expsyms_cmds=$lt_extract_expsyms_cmds
29749:
29750: # Variables whose values should be saved in libtool wrapper scripts and
29751: # restored at link time.
29752: variables_saved_for_relink=$lt_variables_saved_for_relink
29753:
29754: # Do we need the "lib" prefix for modules?
29755: need_lib_prefix=$need_lib_prefix
29756:
29757: # Do we need a version for libraries?
29758: need_version=$need_version
29759:
29760: # Library versioning type.
29761: version_type=$version_type
29762:
29763: # Shared library runtime path variable.
29764: runpath_var=$runpath_var
29765:
29766: # Shared library path variable.
29767: shlibpath_var=$shlibpath_var
29768:
29769: # Is shlibpath searched before the hard-coded library search path?
29770: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29771:
29772: # Format of library name prefix.
29773: libname_spec=$lt_libname_spec
29774:
29775: # List of archive names. First name is the real one, the rest are links.
29776: # The last name is the one that the linker finds with -lNAME
29777: library_names_spec=$lt_library_names_spec
29778:
29779: # The coded name of the library, if different from the real name.
29780: soname_spec=$lt_soname_spec
29781:
29782: # Permission mode override for installation of shared libraries.
29783: install_override_mode=$lt_install_override_mode
29784:
29785: # Command to use after installation of a shared archive.
29786: postinstall_cmds=$lt_postinstall_cmds
29787:
29788: # Command to use after uninstallation of a shared archive.
29789: postuninstall_cmds=$lt_postuninstall_cmds
29790:
29791: # Commands used to finish a libtool library installation in a directory.
29792: finish_cmds=$lt_finish_cmds
29793:
29794: # As "finish_cmds", except a single script fragment to be evaled but
29795: # not shown.
29796: finish_eval=$lt_finish_eval
29797:
29798: # Whether we should hardcode library paths into libraries.
29799: hardcode_into_libs=$hardcode_into_libs
29800:
29801: # Compile-time system search path for libraries.
29802: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29803:
29804: # Detected run-time system search path for libraries.
29805: sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
29806:
29807: # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
29808: configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
29809:
29810: # Whether dlopen is supported.
29811: dlopen_support=$enable_dlopen
29812:
29813: # Whether dlopen of programs is supported.
29814: dlopen_self=$enable_dlopen_self
29815:
29816: # Whether dlopen of statically linked programs is supported.
29817: dlopen_self_static=$enable_dlopen_self_static
29818:
29819: # Commands to strip libraries.
29820: old_striplib=$lt_old_striplib
29821: striplib=$lt_striplib
29822:
29823:
29824: # The linker used to build libraries.
29825: LD=$lt_LD
29826:
29827: # How to create reloadable object files.
29828: reload_flag=$lt_reload_flag
29829: reload_cmds=$lt_reload_cmds
29830:
29831: # Commands used to build an old-style archive.
29832: old_archive_cmds=$lt_old_archive_cmds
29833:
29834: # A language specific compiler.
29835: CC=$lt_compiler
29836:
29837: # Is the compiler the GNU compiler?
29838: with_gcc=$GCC
29839:
29840: # Compiler flag to turn off builtin functions.
29841: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29842:
29843: # Additional compiler flags for building library objects.
29844: pic_flag=$lt_lt_prog_compiler_pic
29845:
29846: # How to pass a linker flag through the compiler.
29847: wl=$lt_lt_prog_compiler_wl
29848:
29849: # Compiler flag to prevent dynamic linking.
29850: link_static_flag=$lt_lt_prog_compiler_static
29851:
29852: # Does compiler simultaneously support -c and -o options?
29853: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29854:
29855: # Whether or not to add -lc for building shared libraries.
29856: build_libtool_need_lc=$archive_cmds_need_lc
29857:
29858: # Whether or not to disallow shared libs when runtime libs are static.
29859: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29860:
29861: # Compiler flag to allow reflexive dlopens.
29862: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29863:
29864: # Compiler flag to generate shared objects directly from archives.
29865: whole_archive_flag_spec=$lt_whole_archive_flag_spec
29866:
29867: # Whether the compiler copes with passing no objects directly.
29868: compiler_needs_object=$lt_compiler_needs_object
29869:
29870: # Create an old-style archive from a shared archive.
29871: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29872:
29873: # Create a temporary old-style archive to link instead of a shared archive.
29874: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29875:
29876: # Commands used to build a shared archive.
29877: archive_cmds=$lt_archive_cmds
29878: archive_expsym_cmds=$lt_archive_expsym_cmds
29879:
29880: # Commands used to build a loadable module if different from building
29881: # a shared archive.
29882: module_cmds=$lt_module_cmds
29883: module_expsym_cmds=$lt_module_expsym_cmds
29884:
29885: # Whether we are building with GNU ld or not.
29886: with_gnu_ld=$lt_with_gnu_ld
29887:
29888: # Flag that allows shared libraries with undefined symbols to be built.
29889: allow_undefined_flag=$lt_allow_undefined_flag
29890:
29891: # Flag that enforces no undefined symbols.
29892: no_undefined_flag=$lt_no_undefined_flag
29893:
29894: # Flag to hardcode \$libdir into a binary during linking.
29895: # This must work even if \$libdir does not exist
29896: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29897:
29898: # Whether we need a single "-rpath" flag with a separated argument.
29899: hardcode_libdir_separator=$lt_hardcode_libdir_separator
29900:
29901: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29902: # DIR into the resulting binary.
29903: hardcode_direct=$hardcode_direct
29904:
29905: # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29906: # DIR into the resulting binary and the resulting library dependency is
29907: # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29908: # library is relocated.
29909: hardcode_direct_absolute=$hardcode_direct_absolute
29910:
29911: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29912: # into the resulting binary.
29913: hardcode_minus_L=$hardcode_minus_L
29914:
29915: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29916: # into the resulting binary.
29917: hardcode_shlibpath_var=$hardcode_shlibpath_var
29918:
29919: # Set to "yes" if building a shared library automatically hardcodes DIR
29920: # into the library and all subsequent libraries and executables linked
29921: # against it.
29922: hardcode_automatic=$hardcode_automatic
29923:
29924: # Set to yes if linker adds runtime paths of dependent libraries
29925: # to runtime path list.
29926: inherit_rpath=$inherit_rpath
29927:
29928: # Whether libtool must link a program against all its dependency libraries.
29929: link_all_deplibs=$link_all_deplibs
29930:
29931: # Set to "yes" if exported symbols are required.
29932: always_export_symbols=$always_export_symbols
29933:
29934: # The commands to list exported symbols.
29935: export_symbols_cmds=$lt_export_symbols_cmds
29936:
29937: # Symbols that should not be listed in the preloaded symbols.
29938: exclude_expsyms=$lt_exclude_expsyms
29939:
29940: # Symbols that must always be exported.
29941: include_expsyms=$lt_include_expsyms
29942:
29943: # Commands necessary for linking programs (against libraries) with templates.
29944: prelink_cmds=$lt_prelink_cmds
29945:
29946: # Commands necessary for finishing linking programs.
29947: postlink_cmds=$lt_postlink_cmds
29948:
29949: # Specify filename containing input files.
29950: file_list_spec=$lt_file_list_spec
29951:
29952: # How to hardcode a shared library path into an executable.
29953: hardcode_action=$hardcode_action
29954:
29955: # ### END LIBTOOL CONFIG
29956:
29957: _LT_EOF
29958:
29959: cat <<'_LT_EOF' >> "$cfgfile"
29960:
29961: # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
29962:
29963: # func_munge_path_list VARIABLE PATH
29964: # -----------------------------------
29965: # VARIABLE is name of variable containing _space_ separated list of
29966: # directories to be munged by the contents of PATH, which is string
29967: # having a format:
29968: # "DIR[:DIR]:"
29969: # string "DIR[ DIR]" will be prepended to VARIABLE
29970: # ":DIR[:DIR]"
29971: # string "DIR[ DIR]" will be appended to VARIABLE
29972: # "DIRP[:DIRP]::[DIRA:]DIRA"
29973: # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
29974: # "DIRA[ DIRA]" will be appended to VARIABLE
29975: # "DIR[:DIR]"
29976: # VARIABLE will be replaced by "DIR[ DIR]"
29977: func_munge_path_list ()
29978: {
29979: case x$2 in
29980: x)
29981: ;;
29982: *:)
29983: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
29984: ;;
29985: x:*)
29986: eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
29987: ;;
29988: *::*)
29989: eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
29990: eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
29991: ;;
29992: *)
29993: eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
29994: ;;
29995: esac
29996: }
29997:
29998:
29999: # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
30000: func_cc_basename ()
30001: {
30002: for cc_temp in $*""; do
30003: case $cc_temp in
30004: compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
30005: distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
30006: \-*) ;;
30007: *) break;;
30008: esac
30009: done
30010: func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
30011: }
30012:
30013:
30014: # ### END FUNCTIONS SHARED WITH CONFIGURE
30015:
30016: _LT_EOF
30017:
30018: case $host_os in
30019: aix3*)
30020: cat <<\_LT_EOF >> "$cfgfile"
30021: # AIX sometimes has problems with the GCC collect2 program. For some
30022: # reason, if we set the COLLECT_NAMES environment variable, the problems
30023: # vanish in a puff of smoke.
30024: if test set != "${COLLECT_NAMES+set}"; then
30025: COLLECT_NAMES=
30026: export COLLECT_NAMES
30027: fi
30028: _LT_EOF
30029: ;;
30030: esac
30031:
30032:
30033: ltmain=$ac_aux_dir/ltmain.sh
30034:
30035:
30036: # We use sed instead of cat because bash on DJGPP gets confused if
30037: # if finds mixed CR/LF and LF-only lines. Since sed operates in
30038: # text mode, it properly converts lines to CR/LF. This bash problem
30039: # is reportedly fixed, but why not run on old versions too?
30040: sed '$q' "$ltmain" >> "$cfgfile" \
30041: || (rm -f "$cfgfile"; exit 1)
30042:
30043: mv -f "$cfgfile" "$ofile" ||
30044: (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30045: chmod +x "$ofile"
30046:
30047: ;;
30048:
30049: esac
30050: done # for ac_tag
30051:
30052:
30053: as_fn_exit 0
30054: _ACEOF
30055: ac_clean_files=$ac_clean_files_save
30056:
30057: test $ac_write_fail = 0 ||
30058: as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30059:
30060:
30061: # configure is writing to config.log, and then calls config.status.
30062: # config.status does its own redirection, appending to config.log.
30063: # Unfortunately, on DOS this fails, as config.log is still kept open
30064: # by configure, so config.status won't be able to write to it; its
30065: # output is simply discarded. So we exec the FD to /dev/null,
30066: # effectively closing config.log, so it can be properly (re)opened and
30067: # appended to by config.status. When coming back to configure, we
30068: # need to make the FD available again.
30069: if test "$no_create" != yes; then
30070: ac_cs_success=:
30071: ac_config_status_args=
30072: test "$silent" = yes &&
30073: ac_config_status_args="$ac_config_status_args --quiet"
30074: exec 5>/dev/null
30075: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30076: exec 5>>config.log
30077: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30078: # would make configure fail if this is the last instruction.
30079: $ac_cs_success || as_fn_exit 1
30080: fi
30081: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30082: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30083: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30084: fi
30085:
30086:
30087: # ========================
30088: # report enabled plugins
30089: # ========================
30090:
30091: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
30092: $as_echo "" >&6; }
30093: { $as_echo "$as_me:${as_lineno-$LINENO}: result: strongSwan will be built with the following plugins" >&5
30094: $as_echo " strongSwan will be built with the following plugins" >&6; }
30095: { $as_echo "$as_me:${as_lineno-$LINENO}: result: -----------------------------------------------------" >&5
30096: $as_echo "-----------------------------------------------------" >&6; }
30097:
30098: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libstrongswan:$s_plugins" >&5
30099: $as_echo "libstrongswan:$s_plugins" >&6; }
30100: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libcharon: $c_plugins" >&5
30101: $as_echo "libcharon: $c_plugins" >&6; }
30102: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtnccs: $t_plugins" >&5
30103: $as_echo "libtnccs: $t_plugins" >&6; }
30104: { $as_echo "$as_me:${as_lineno-$LINENO}: result: libtpmtss: $p_plugins" >&5
30105: $as_echo "libtpmtss: $p_plugins" >&6; }
30106: { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
30107: $as_echo "" >&6; }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>