2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for hopm 1.1.11.
5 # Report bugs to <bugs@ircd-hybrid.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \
${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
74 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
81 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself
=$0 ;;
91 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
100 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
120 _as_can_reexec
=no
; export _as_can_reexec
;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
129 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec
=; unset _as_can_reexec
;}
142 if test "x$CONFIG_SHELL" = x
; then
143 as_bourne_compatible
="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required
="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
189 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
190 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
191 PATH=/empty FPATH=/empty; export PATH FPATH
192 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
193 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
194 test \$(( 1 + 1 )) = 2 || exit 1"
195 if (eval "$as_required") 2>/dev
/null
201 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
207 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 *) as_dir
=$as_dir/ ;;
218 for as_base
in sh bash ksh sh5
; do
219 # Try only shells that exist, to save several forks.
220 as_shell
=$as_dir$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if as_run
=a
"$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev
/null
239 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 as_run
=a
"$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev
/null
242 CONFIG_SHELL
=$SHELL as_have_required
=yes
247 if test "x$CONFIG_SHELL" != x
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
258 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x
$as_have_required = xno
272 printf "%s\n" "$0: This script requires a shell more modern than all"
273 printf "%s\n" "$0: the shells that I found on your system."
274 if test ${ZSH_VERSION+y} ; then
275 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
278 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
279 $0: bugs@ircd-hybrid.org about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
307 # as_fn_set_status STATUS
308 # -----------------------
309 # Set $? to STATUS, without forking.
317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Do nothing but, unlike ":", preserve the value of $?.
335 # Create "$as_dir" as a directory, including parents if necessary.
340 -*) as_dir
=.
/$as_dir;;
342 test -d "$as_dir" || eval $as_mkdir_p || {
346 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
349 as_dirs
="'$as_qdir' $as_dirs"
350 as_dir
=`$as_dirname -- "$as_dir" ||
351 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
352 X"$as_dir" : 'X\(//\)[^/]' \| \
353 X"$as_dir" : 'X\(//\)$' \| \
354 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
355 printf "%s\n" X"$as_dir" |
356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
373 test -d "$as_dir" && break
375 test -z "$as_dirs" || eval "mkdir $as_dirs"
376 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
381 # as_fn_executable_p FILE
382 # -----------------------
383 # Test if FILE is an executable regular file.
384 as_fn_executable_p
()
386 test -f "$1" && test -x "$1"
387 } # as_fn_executable_p
388 # as_fn_append VAR VALUE
389 # ----------------------
390 # Append the text in VALUE to the end of the definition contained in VAR. Take
391 # advantage of any shell optimizations that allow amortized linear growth over
392 # repeated appends, instead of the typical quadratic growth present in naive
394 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
396 eval 'as_fn_append ()
409 # Perform arithmetic evaluation on the ARGs, and store the result in the
410 # global $as_val. Take advantage of shells that can avoid forks. The arguments
411 # must be portable across $(()) and expr.
412 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
421 as_val
=`expr "$@" || test $? -eq 1`
427 # Do nothing but, unlike ":", preserve the value of $?.
434 # as_fn_error STATUS ERROR [LINENO LOG_FD]
435 # ----------------------------------------
436 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
437 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
438 # script with STATUS, using 1 if that was 0.
441 as_status
=$1; test $as_status -eq 0 && as_status
=1
443 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
444 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
446 printf "%s\n" "$as_me: error: $2" >&2
447 as_fn_exit
$as_status
450 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
451 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
457 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
463 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
469 as_me
=`$as_basename -- "$0" ||
470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
471 X"$0" : 'X\(//\)$' \| \
472 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
473 printf "%s\n" X/"$0" |
474 sed '/^.*\/\([^/][^/]*\)\/*$/{
488 # Avoid depending upon Character Ranges.
489 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
490 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
491 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
492 as_cr_digits
='0123456789'
493 as_cr_alnum
=$as_cr_Letters$as_cr_digits
496 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
497 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
498 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
499 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
500 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
512 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
516 chmod +x
"$as_me.lineno" ||
517 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
519 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
520 # already done that, so ensure we don't try to do so again and fall
521 # in an infinite loop. This has already happened in practice.
522 _as_can_reexec
=no
; export _as_can_reexec
523 # Don't try to exec as it changes $[0], causing all sort of problems
524 # (the dirname of $[0] is not the place where we might find the
525 # original and so on. Autoconf is especially sensitive to this).
527 # Exit status is that of the last command.
532 # Determine whether it's possible to make 'echo' print without a newline.
533 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
534 # for compatibility with existing Makefiles.
535 ECHO_C
= ECHO_N
= ECHO_T
=
536 case `echo -n x` in #(((((
538 case `echo 'xy\c'` in
539 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
541 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
548 # For backward compatibility with old third-party macros, we provide
549 # the shell variables $as_echo and $as_echo_n. New code should use
550 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
551 as_echo
='printf %s\n'
552 as_echo_n
='printf %s'
555 rm -f conf$$ conf$$.exe conf$$.
file
556 if test -d conf$$.dir
; then
557 rm -f conf$$.dir
/conf$$.
file
560 mkdir conf$$.dir
2>/dev
/null
562 if (echo >conf$$.
file) 2>/dev
/null
; then
563 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
565 # ... but there are two gotchas:
566 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
567 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
568 # In both cases, we have to default to `cp -pR'.
569 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
571 elif ln conf$$.
file conf$$
2>/dev
/null
; then
579 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
580 rmdir conf$$.dir
2>/dev
/null
582 if mkdir -p .
2>/dev
/null
; then
583 as_mkdir_p
='mkdir -p "$as_dir"'
585 test -d .
/-p && rmdir .
/-p
590 as_executable_p
=as_fn_executable_p
592 # Sed expression to map a string onto a valid CPP name.
593 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
595 # Sed expression to map a string onto a valid variable name.
596 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
598 SHELL
=${CONFIG_SHELL-/bin/sh}
601 test -n "$DJDIR" || exec 7<&0 </dev
/null
605 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
606 # so uname gets run too.
607 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
612 ac_default_prefix
=/usr
/local
614 ac_config_libobj_dir
=.
621 # Identity of this package.
623 PACKAGE_TARNAME
='hopm'
624 PACKAGE_VERSION
='1.1.11'
625 PACKAGE_STRING
='hopm 1.1.11'
626 PACKAGE_BUGREPORT
='bugs@ircd-hybrid.org'
629 ac_unique_file
="src/opercmd.h"
630 ac_default_prefix
=\
${HOME}/hopm
631 # Factoring default headers for most tests.
632 ac_includes_default
="\
643 #ifdef HAVE_INTTYPES_H
644 # include <inttypes.h>
649 #ifdef HAVE_STRINGS_H
650 # include <strings.h>
652 #ifdef HAVE_SYS_TYPES_H
653 # include <sys/types.h>
655 #ifdef HAVE_SYS_STAT_H
656 # include <sys/stat.h>
663 ac_subst_vars
='am__EXEEXT_FALSE
720 MAINTAINER_MODE_FALSE
737 INSTALL_STRIP_PROGRAM
780 program_transform_name
794 enable_option_checking
796 enable_maintainer_mode
797 enable_dependency_tracking
811 ac_precious_vars
='build_alias
824 # Initialize some variables set by options.
826 ac_init_version
=false
827 ac_unrecognized_opts
=
829 # The variables have the same names as the options, with
830 # dashes changed to underlines.
838 program_transform_name
=s
,x
,x
,
846 # Installation directory options.
847 # These are left unexpanded so users can "make install exec_prefix=/foo"
848 # and all the variables that are supposed to be based on exec_prefix
849 # by default will actually change.
850 # Use braces instead of parens because sh, perl, etc. also accept them.
851 # (The list follows the same order as the GNU Coding Standards.)
852 bindir
='${exec_prefix}/bin'
853 sbindir
='${exec_prefix}/sbin'
854 libexecdir
='${exec_prefix}/libexec'
855 datarootdir
='${prefix}/share'
856 datadir
='${datarootdir}'
857 sysconfdir
='${prefix}/etc'
858 sharedstatedir
='${prefix}/com'
859 localstatedir
='${prefix}/var'
860 runstatedir
='${localstatedir}/run'
861 includedir
='${prefix}/include'
862 oldincludedir
='/usr/include'
863 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
864 infodir
='${datarootdir}/info'
869 libdir
='${exec_prefix}/lib'
870 localedir
='${datarootdir}/locale'
871 mandir
='${datarootdir}/man'
877 # If the previous option needs an argument, assign it.
878 if test -n "$ac_prev"; then
879 eval $ac_prev=\
$ac_option
885 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
890 case $ac_dashdash$ac_option in
894 -bindir | --bindir | --bindi | --bind | --bin | --bi)
896 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
899 -build | --build | --buil | --bui | --bu)
900 ac_prev
=build_alias
;;
901 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
902 build_alias
=$ac_optarg ;;
904 -cache-file | --cache-file | --cache-fil | --cache-fi \
905 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
906 ac_prev
=cache_file
;;
907 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
908 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
909 cache_file
=$ac_optarg ;;
912 cache_file
=config.cache
;;
914 -datadir | --datadir | --datadi | --datad)
916 -datadir=* | --datadir=* | --datadi=* | --datad=*)
917 datadir
=$ac_optarg ;;
919 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
920 | --dataroo | --dataro | --datar)
921 ac_prev
=datarootdir
;;
922 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
923 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
924 datarootdir
=$ac_optarg ;;
926 -disable-* | --disable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=no
;;
942 -docdir | --docdir | --docdi | --doc | --do)
944 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
947 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
949 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
952 -enable-* | --enable-*)
953 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
956 as_fn_error $?
"invalid feature name: \`$ac_useropt'"
957 ac_useropt_orig
=$ac_useropt
958 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
964 ac_unrecognized_sep
=', ';;
966 eval enable_
$ac_useropt=\
$ac_optarg ;;
968 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
969 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
970 | --exec | --exe | --ex)
971 ac_prev
=exec_prefix
;;
972 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
973 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
974 | --exec=* | --exe=* | --ex=*)
975 exec_prefix
=$ac_optarg ;;
977 -gas | --gas | --ga | --g)
978 # Obsolete; use --with-gas.
981 -help | --help | --hel | --he | -h)
983 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
984 ac_init_help
=recursive
;;
985 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
986 ac_init_help
=short
;;
988 -host | --host | --hos | --ho)
989 ac_prev
=host_alias
;;
990 -host=* | --host=* | --hos=* | --ho=*)
991 host_alias
=$ac_optarg ;;
993 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
995 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
997 htmldir
=$ac_optarg ;;
999 -includedir | --includedir | --includedi | --included | --include \
1000 | --includ | --inclu | --incl | --inc)
1001 ac_prev
=includedir
;;
1002 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1003 | --includ=* | --inclu=* | --incl=* | --inc=*)
1004 includedir
=$ac_optarg ;;
1006 -infodir | --infodir | --infodi | --infod | --info | --inf)
1008 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1009 infodir
=$ac_optarg ;;
1011 -libdir | --libdir | --libdi | --libd)
1013 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1014 libdir
=$ac_optarg ;;
1016 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1017 | --libexe | --libex | --libe)
1018 ac_prev
=libexecdir
;;
1019 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1020 | --libexe=* | --libex=* | --libe=*)
1021 libexecdir
=$ac_optarg ;;
1023 -localedir | --localedir | --localedi | --localed | --locale)
1024 ac_prev
=localedir
;;
1025 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1026 localedir
=$ac_optarg ;;
1028 -localstatedir | --localstatedir | --localstatedi | --localstated \
1029 | --localstate | --localstat | --localsta | --localst | --locals)
1030 ac_prev
=localstatedir
;;
1031 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1032 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1033 localstatedir
=$ac_optarg ;;
1035 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1037 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1038 mandir
=$ac_optarg ;;
1040 -nfp | --nfp | --nf)
1041 # Obsolete; use --without-fp.
1044 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1045 | --no-cr | --no-c | -n)
1048 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1049 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1052 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1053 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1054 | --oldin | --oldi | --old | --ol | --o)
1055 ac_prev
=oldincludedir
;;
1056 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1057 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1058 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1059 oldincludedir
=$ac_optarg ;;
1061 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1063 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1064 prefix
=$ac_optarg ;;
1066 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1067 | --program-pre | --program-pr | --program-p)
1068 ac_prev
=program_prefix
;;
1069 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1070 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1071 program_prefix
=$ac_optarg ;;
1073 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1074 | --program-suf | --program-su | --program-s)
1075 ac_prev
=program_suffix
;;
1076 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1077 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1078 program_suffix
=$ac_optarg ;;
1080 -program-transform-name | --program-transform-name \
1081 | --program-transform-nam | --program-transform-na \
1082 | --program-transform-n | --program-transform- \
1083 | --program-transform | --program-transfor \
1084 | --program-transfo | --program-transf \
1085 | --program-trans | --program-tran \
1086 | --progr-tra | --program-tr | --program-t)
1087 ac_prev
=program_transform_name
;;
1088 -program-transform-name=* | --program-transform-name=* \
1089 | --program-transform-nam=* | --program-transform-na=* \
1090 | --program-transform-n=* | --program-transform-=* \
1091 | --program-transform=* | --program-transfor=* \
1092 | --program-transfo=* | --program-transf=* \
1093 | --program-trans=* | --program-tran=* \
1094 | --progr-tra=* | --program-tr=* | --program-t=*)
1095 program_transform_name
=$ac_optarg ;;
1097 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1099 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1100 pdfdir
=$ac_optarg ;;
1102 -psdir | --psdir | --psdi | --psd | --ps)
1104 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1107 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1108 | -silent | --silent | --silen | --sile | --sil)
1111 -runstatedir | --runstatedir | --runstatedi | --runstated \
1112 | --runstate | --runstat | --runsta | --runst | --runs \
1113 | --run | --ru | --r)
1114 ac_prev
=runstatedir
;;
1115 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1116 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1117 | --run=* | --ru=* | --r=*)
1118 runstatedir
=$ac_optarg ;;
1120 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1127 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1128 | --sharedst | --shareds | --shared | --share | --shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1132 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1133 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site | --site | --sit)
1139 -site=* | --site=* | --sit=*)
1142 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1148 | --syscon | --sysco | --sysc | --sys | --sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1151 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target | --target | --targe | --targ | --tar | --ta | --t)
1155 ac_prev
=target_alias
;;
1156 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1162 -version | --version | --versio | --versi | --vers | -V)
1163 ac_init_version
=: ;;
1166 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=\
$ac_optarg ;;
1181 -without-* | --without-*)
1182 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error $?
"invalid package name: \`$ac_useropt'"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1202 | --x-incl | --x-inc | --x-in | --x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1205 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1209 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1212 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' | [0-9]* | *[!_$as_cr_alnum]* )
1224 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $?
"missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1249 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir runstatedir
1259 eval ac_val
=\$
$ac_var
1260 # Remove trailing slashes.
1263 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\
$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$
]* | ?
:[\\/]* ) continue;;
1269 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1271 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target
=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x
; then
1283 if test "x$build_alias" = x
; then
1284 cross_compiling
=maybe
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1293 test "$silent" = yes && exec 6>/dev
/null
1296 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di
=`ls -di .` &&
1298 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error $?
"working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error $?
"pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted
=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir
=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 printf "%s\n" X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted
=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1340 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 for ac_var
in $ac_precious_vars; do
1357 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1358 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1359 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1360 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1364 # Report the --help message.
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1370 \`configure' configures hopm 1.1.11 to adapt to many kinds of systems.
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1377 Defaults for the options are specified in brackets.
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print \`checking ...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for \`--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1401 For better control, use the options below.
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1411 --libdir=DIR object code libraries [EPREFIX/lib]
1412 --includedir=DIR C header files [PREFIX/include]
1413 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1414 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1415 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1416 --infodir=DIR info documentation [DATAROOTDIR/info]
1417 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1418 --mandir=DIR man documentation [DATAROOTDIR/man]
1419 --docdir=DIR documentation root [DATAROOTDIR/doc/hopm]
1420 --htmldir=DIR html documentation [DOCDIR]
1421 --dvidir=DIR dvi documentation [DOCDIR]
1422 --pdfdir=DIR pdf documentation [DOCDIR]
1423 --psdir=DIR ps documentation [DOCDIR]
1429 --program-prefix=PREFIX prepend PREFIX to installed program names
1430 --program-suffix=SUFFIX append SUFFIX to installed program names
1431 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1439 if test -n "$ac_init_help"; then
1440 case $ac_init_help in
1441 short
| recursive
) echo "Configuration of hopm 1.1.11:";;
1446 --disable-option-checking ignore unrecognized
--enable/--with options
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1450 --disable-silent-rules verbose build output
(undo
: "make V=0")
1451 --enable-maintainer-mode
1452 enable make rules and dependencies not useful
(and
1453 sometimes confusing
) to the casual installer
1454 --enable-dependency-tracking
1455 do not reject slow dependency extractors
1456 --disable-dependency-tracking
1457 speeds up one
-time build
1458 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1459 --enable-static[=PKGS
] build static libraries
[default
=yes]
1460 --enable-fast-install[=PKGS
]
1461 optimize
for fast installation
[default
=yes]
1462 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1463 --enable-openssl=DIR Enable LibreSSL
/OpenSSL support
(DIR optional
).
1464 --disable-openssl Disable LibreSSL
/OpenSSL support.
1465 --enable-assert Enable assert
() statements
1466 --enable-warnings Enable compiler warnings.
1467 --enable-efence Enable linking with Electric Fence
'efence' memory
1471 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1472 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1473 --with-pic[=PKGS
] try to use only PIC
/non
-PIC objects
[default
=use
1475 --with-aix-soname=aix
|svr4
|both
1476 shared library versioning
(aka
"SONAME") variant to
1477 provide on AIX
, [default
=aix
].
1478 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1479 --with-sysroot[=DIR
] Search
for dependent libraries within DIR
(or the
1480 compiler
's sysroot if not specified).
1482 Some influential environment variables:
1483 CC C compiler command
1484 CFLAGS C compiler flags
1485 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1486 nonstandard directory <lib dir>
1487 LIBS libraries to pass to the linker, e.g. -l<library>
1488 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1489 you have headers in a nonstandard directory <include dir>
1491 User-defined run-time library search path.
1492 YACC The `Yet Another Compiler Compiler' implementation to use.
1493 Defaults to the first program found out of
: `bison -y', `byacc
',
1495 YFLAGS The list of arguments that will be passed by default to
$YACC.
1496 This
script will default YFLAGS to the empty string to avoid a
1497 default value of
`-d' given by some make applications.
1499 Use these variables to override the choices made by `configure
' or to help
1500 it to find libraries and programs with nonstandard names/locations.
1502 Report bugs to <bugs@ircd-hybrid.org>.
1507 if test "$ac_init_help" = "recursive"; then
1508 # If there are subdirs, report their specific --help.
1509 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1510 test -d "$ac_dir" ||
1511 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's
|^\.
[\\/]||'`
1519 # A ".." for each directory in $ac_dir_suffix.
1520 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's
|/[^
\\/]*|/..
|g
;s
|/||'`
1521 case $ac_top_builddir_sub in
1522 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1526 ac_abs_top_builddir=$ac_pwd
1527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1528 # for backward compatibility:
1529 ac_top_builddir=$ac_top_build_prefix
1532 .) # We are building in place.
1534 ac_top_srcdir=$ac_top_builddir_sub
1535 ac_abs_top_srcdir=$ac_pwd ;;
1536 [\\/]* | ?:[\\/]* ) # Absolute name.
1537 ac_srcdir=$srcdir$ac_dir_suffix;
1538 ac_top_srcdir=$srcdir
1539 ac_abs_top_srcdir=$srcdir ;;
1541 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1542 ac_top_srcdir=$ac_top_build_prefix$srcdir
1543 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1547 cd "$ac_dir" || { ac_status=$?; continue; }
1548 # Check for configure.gnu first; this name is used for a wrapper for
1549 # Metaconfig's
"Configure" on
case-insensitive file systems.
1550 if test -f "$ac_srcdir/configure.gnu"; then
1552 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1553 elif test -f "$ac_srcdir/configure"; then
1555 $SHELL "$ac_srcdir/configure" --help=recursive
1557 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1559 cd "$ac_pwd" || { ac_status
=$?
; break; }
1563 test -n "$ac_init_help" && exit $ac_status
1564 if $ac_init_version; then
1566 hopm configure
1.1.11
1567 generated by GNU Autoconf
2.71
1569 Copyright
(C
) 2021 Free Software Foundation
, Inc.
1570 This configure
script is free software
; the Free Software Foundation
1571 gives unlimited permission to copy
, distribute and modify it.
1576 ## ------------------------ ##
1577 ## Autoconf initialization. ##
1578 ## ------------------------ ##
1580 # ac_fn_c_try_compile LINENO
1581 # --------------------------
1582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1583 ac_fn_c_try_compile
()
1585 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1586 rm -f conftest.
$ac_objext conftest.beam
1587 if { { ac_try
="$ac_compile"
1589 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1590 *) ac_try_echo=$ac_try;;
1592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1593 printf "%s\n" "$ac_try_echo"; } >&5
1594 (eval "$ac_compile") 2>conftest.err
1596 if test -s conftest.err; then
1597 grep -v '^ *+' conftest.err >conftest.er1
1598 cat conftest.er1 >&5
1599 mv -f conftest.er1 conftest.err
1601 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && {
1603 test -z "$ac_c_werror_flag" ||
1604 test ! -s conftest.err
1605 } && test -s conftest.$ac_objext
1609 printf "%s\n" "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1615 as_fn_set_status $ac_retval
1617 } # ac_fn_c_try_compile
1619 # ac_fn_c_try_link LINENO
1620 # -----------------------
1621 # Try to link conftest.$ac_ext, and return whether this succeeded.
1624 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1626 if { { ac_try="$ac_link"
1628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1629 *) ac_try_echo
=$ac_try;;
1631 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1632 printf "%s\n" "$ac_try_echo"; } >&5
1633 (eval "$ac_link") 2>conftest.err
1635 if test -s conftest.err
; then
1636 grep -v '^ *+' conftest.err
>conftest.er1
1637 cat conftest.er1
>&5
1638 mv -f conftest.er1 conftest.err
1640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1641 test $ac_status = 0; } && {
1642 test -z "$ac_c_werror_flag" ||
1643 test ! -s conftest.err
1644 } && test -s conftest
$ac_exeext && {
1645 test "$cross_compiling" = yes ||
1646 test -x conftest
$ac_exeext
1651 printf "%s\n" "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.
$ac_ext >&5
1656 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1657 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1658 # interfere with the next link command; also delete a directory that is
1659 # left behind by Apple's compiler. We do this before executing the actions.
1660 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status
$ac_retval
1664 } # ac_fn_c_try_link
1666 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists and can be compiled using the include files in
1669 # INCLUDES, setting the cache variable VAR accordingly.
1670 ac_fn_c_check_header_compile
()
1672 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1674 printf %s
"checking for $2... " >&6; }
1675 if eval test \
${$3+y}
1677 printf %s
"(cached) " >&6
1679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1680 /* end confdefs.h. */
1684 if ac_fn_c_try_compile
"$LINENO"
1690 rm -f core conftest.err conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 printf "%s\n" "$ac_res" >&6; }
1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697 } # ac_fn_c_check_header_compile
1699 # ac_fn_c_check_func LINENO FUNC VAR
1700 # ----------------------------------
1701 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1702 ac_fn_c_check_func
()
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 printf %s
"checking for $2... " >&6; }
1707 if eval test \
${$3+y}
1709 printf %s
"(cached) " >&6
1711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1713 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1715 #define $2 innocuous_$2
1717 /* System header to define __stub macros and hopefully few prototypes,
1718 which can conflict with char $2 (); below. */
1723 /* Override any GCC internal prototype to avoid an error.
1724 Use char because int might match the return type of a GCC
1725 builtin and then its argument prototype would still apply. */
1730 /* The GNU C library defines this for functions which it implements
1731 to always fail with ENOSYS. Some functions are actually named
1732 something starting with __ and the normal name is an alias. */
1733 #if defined __stub_$2 || defined __stub___$2
1745 if ac_fn_c_try_link
"$LINENO"
1751 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
1752 conftest
$ac_exeext conftest.
$ac_ext
1755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 printf "%s\n" "$ac_res" >&6; }
1757 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759 } # ac_fn_c_check_func
1761 # ac_fn_c_try_run LINENO
1762 # ----------------------
1763 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1764 # executables *can* be run.
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 if { { ac_try
="$ac_link"
1770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
1771 *) ac_try_echo=$ac_try;;
1773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1774 printf "%s\n" "$ac_try_echo"; } >&5
1775 (eval "$ac_link") 2>&5
1777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1779 { { case "(($ac_try" in
1780 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 printf "%s\n" "$ac_try_echo"; } >&5
1785 (eval "$ac_try") 2>&5
1787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; }; }
1792 printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1793 printf "%s\n" "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.
$ac_ext >&5
1796 ac_retval
=$ac_status
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1800 as_fn_set_status
$ac_retval
1803 ac_configure_args_raw
=
1808 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1810 as_fn_append ac_configure_args_raw
" '$ac_arg'"
1813 case $ac_configure_args_raw in
1817 ac_unsafe_z
='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1818 ac_unsafe_a
="$ac_unsafe_z#~"
1819 ac_safe_unquote
="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1820 ac_configure_args_raw
=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1823 cat >config.log
<<_ACEOF
1824 This file contains any messages produced by compilers while
1825 running configure, to aid debugging if configure makes a mistake.
1827 It was created by hopm $as_me 1.1.11, which was
1828 generated by GNU Autoconf 2.71. Invocation command line was
1830 $ $0$ac_configure_args_raw
1840 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1841 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1842 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1843 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1844 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1846 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1847 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1849 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1850 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1851 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1852 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1853 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1854 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1855 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1863 case $as_dir in #(((
1866 *) as_dir
=$as_dir/ ;;
1868 printf "%s\n" "PATH: $as_dir"
1884 # Keep a trace of the command line.
1885 # Strip out --no-create and --no-recursion so they do not pile up.
1886 # Strip out --silent because we don't want to record it for future runs.
1887 # Also quote any args containing shell meta-characters.
1888 # Make two passes to allow for proper duplicate-argument suppression.
1892 ac_must_keep_next
=false
1898 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1900 | -silent | --silent | --silen | --sile | --sil)
1903 ac_arg
=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1906 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1908 as_fn_append ac_configure_args1
" '$ac_arg'"
1909 if test $ac_must_keep_next = true
; then
1910 ac_must_keep_next
=false
# Got value, back to normal.
1913 *=* | --config-cache | -C | -disable-* | --disable-* \
1914 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1915 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1916 | -with-* | --with-* | -without-* | --without-* | --x)
1917 case "$ac_configure_args0 " in
1918 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1921 -* ) ac_must_keep_next
=true
;;
1924 as_fn_append ac_configure_args
" '$ac_arg'"
1929 { ac_configure_args0
=; unset ac_configure_args0
;}
1930 { ac_configure_args1
=; unset ac_configure_args1
;}
1932 # When interrupted or exit'd, cleanup temporary files, and complete
1933 # config.log. We remove comments because anyway the quotes in there
1934 # would cause problems or look ugly.
1935 # WARNING: Use '\'' to represent an apostrophe within the trap.
1936 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1937 trap 'exit_status=$?
1940 # Save into config.log some information that might help in debugging.
1944 printf "%s\n" "## ---------------- ##
1945 ## Cache variables. ##
1946 ## ---------------- ##"
1948 # The following way of writing the cache mishandles newlines in values,
1950 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1951 eval ac_val=\$$ac_var
1955 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1956 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1959 _ | IFS | as_nl) ;; #(
1960 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1961 *) { eval $ac_var=; unset $ac_var;} ;;
1966 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1967 *${as_nl}ac_space=\ *)
1969 "s/'\''/'\''\\\\'\'''\''/g;
1970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1973 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1980 printf "%s\n" "## ----------------- ##
1981 ## Output variables. ##
1982 ## ----------------- ##"
1984 for ac_var in $ac_subst_vars
1986 eval ac_val=\$$ac_var
1988 *\'\''*) ac_val
=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990 printf "%s\n" "$ac_var='\''$ac_val'\''"
1994 if test -n "$ac_subst_files"; then
1995 printf "%s\n" "## ------------------- ##
1996 ## File substitutions. ##
1997 ## ------------------- ##"
1999 for ac_var
in $ac_subst_files
2001 eval ac_val
=\$
$ac_var
2003 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 printf "%s\n" "$ac_var='\''$ac_val'\''"
2010 if test -s confdefs.h; then
2011 printf "%s\n" "## ----------- ##
2018 test "$ac_signal" != 0 &&
2019 printf "%s\n" "$as_me: caught signal $ac_signal"
2020 printf "%s\n" "$as_me: exit $exit_status"
2022 rm -f core *.core core.conftest.* &&
2023 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2026 for ac_signal
in 1 2 13 15; do
2027 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2031 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2032 rm -f -r conftest
* confdefs.h
2034 printf "%s\n" "/* confdefs.h */" > confdefs.h
2036 # Predefined preprocessor variables.
2038 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2040 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2042 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2044 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2046 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2048 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2051 # Let the site file select an alternate cache file if it wants to.
2052 # Prefer an explicitly selected file to automatically selected ones.
2053 if test -n "$CONFIG_SITE"; then
2054 ac_site_files
="$CONFIG_SITE"
2055 elif test "x$prefix" != xNONE
; then
2056 ac_site_files
="$prefix/share/config.site $prefix/etc/config.site"
2058 ac_site_files
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2061 for ac_site_file
in $ac_site_files
2063 case $ac_site_file in #(
2067 ac_site_file
=.
/$ac_site_file ;;
2069 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2071 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2072 sed 's/^/| /' "$ac_site_file" >&5
2074 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2075 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2076 as_fn_error $?
"failed to load site script $ac_site_file
2077 See \`config.log' for more details" "$LINENO" 5; }
2081 if test -r "$cache_file"; then
2082 # Some versions of bash will fail to source /dev/null (special files
2083 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2084 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2086 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2088 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2089 *) .
"./$cache_file";;
2093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2094 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2098 # Test code for whether the C compiler supports C89 (global declarations)
2099 ac_c_conftest_c89_globals
='
2100 /* Does the compiler advertise C89 conformance?
2101 Do not test the value of __STDC__, because some compilers set it to 0
2102 while being otherwise adequately conformant. */
2103 #if !defined __STDC__
2104 # error "Compiler does not advertise C89 conformance"
2110 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2111 struct buf { int x; };
2112 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2113 static char *e (p, i)
2119 static char *f (char * (*g) (char **, int), char **p, ...)
2124 s = g (p, va_arg (v,int));
2129 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2130 function prototypes and stuff, but not \xHH hex character constants.
2131 These do not provoke an error unfortunately, instead are silently treated
2132 as an "x". The following induces an error, until -std is added to get
2133 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2134 array size at least. It is necessary to write \x00 == 0 to get something
2135 that is true only with -std. */
2136 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2138 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2139 inside strings and character constants. */
2140 #define FOO(x) '\''x'\''
2141 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2143 int test (int i, double x);
2144 struct s1 {int (*f) (int a);};
2145 struct s2 {int (*f) (double a);};
2146 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2149 # Test code for whether the C compiler supports C89 (body of main).
2150 ac_c_conftest_c89_main
='
2151 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2154 # Test code for whether the C compiler supports C99 (global declarations)
2155 ac_c_conftest_c99_globals
='
2156 // Does the compiler advertise C99 conformance?
2157 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2158 # error "Compiler does not advertise C99 conformance"
2161 #include <stdbool.h>
2162 extern int puts (const char *);
2163 extern int printf (const char *, ...);
2164 extern int dprintf (int, const char *, ...);
2165 extern void *malloc (size_t);
2167 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2168 // dprintf is used instead of fprintf to avoid needing to declare
2170 #define debug(...) dprintf (2, __VA_ARGS__)
2171 #define showlist(...) puts (#__VA_ARGS__)
2172 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2174 test_varargs_macros (void)
2179 debug ("X = %d\n", x);
2180 showlist (The first, second, and third items.);
2181 report (x>y, "x is %d but y is %d", x, y);
2184 // Check long long types.
2185 #define BIG64 18446744073709551615ull
2186 #define BIG32 4294967295ul
2187 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2189 #error "your preprocessor is broken"
2193 #error "your preprocessor is broken"
2195 static long long int bignum = -9223372036854775807LL;
2196 static unsigned long long int ubignum = BIG64;
2198 struct incomplete_array
2206 const wchar_t *name;
2210 typedef const char *ccp;
2213 test_restrict (ccp restrict text)
2215 // See if C++-style comments work.
2216 // Iterate through items via the restricted pointer.
2217 // Also check for declarations in for loops.
2218 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2223 // Check varargs and va_copy.
2225 test_varargs (const char *format, ...)
2228 va_start (args, format);
2230 va_copy (args_copy, args);
2232 const char *str = "";
2240 case '\''s'\'': // string
2241 str = va_arg (args_copy, const char *);
2243 case '\''d'\'': // int
2244 number = va_arg (args_copy, int);
2246 case '\''f'\'': // float
2247 fnumber = va_arg (args_copy, double);
2256 return *str && number && fnumber;
2260 # Test code for whether the C compiler supports C99 (body of main).
2261 ac_c_conftest_c99_main
='
2263 _Bool success = false;
2264 success |= (argc != 0);
2267 if (test_restrict ("String literal") == 0)
2269 char *restrict newvar = "Another string";
2272 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2273 test_varargs_macros ();
2275 // Check flexible array members.
2276 struct incomplete_array *ia =
2277 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2279 for (int i = 0; i < ia->datasize; ++i)
2280 ia->data[i] = i * 1.234;
2282 // Check named initializers.
2283 struct named_init ni = {
2285 .name = L"Test wide string",
2286 .average = 543.34343,
2291 int dynamic_array[ni.number];
2292 dynamic_array[0] = argv[0][0];
2293 dynamic_array[ni.number - 1] = 543;
2295 // work around unused variable warnings
2296 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2297 || dynamic_array[ni.number - 1] != 543);
2300 # Test code for whether the C compiler supports C11 (global declarations)
2301 ac_c_conftest_c11_globals
='
2302 // Does the compiler advertise C11 conformance?
2303 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2304 # error "Compiler does not advertise C11 conformance"
2308 char _Alignas (double) aligned_as_double;
2309 char _Alignas (0) no_special_alignment;
2310 extern char aligned_as_int;
2311 char _Alignas (0) _Alignas (int) aligned_as_int;
2316 int_alignment = _Alignof (int),
2317 int_array_alignment = _Alignof (int[100]),
2318 char_alignment = _Alignof (char)
2320 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2323 int _Noreturn does_not_return (void) { for (;;) continue; }
2325 // Check _Static_assert.
2326 struct test_static_assert
2329 _Static_assert (sizeof (int) <= sizeof (long int),
2330 "_Static_assert does not work in struct");
2334 // Check UTF-8 literals.
2335 #define u8 syntax error!
2336 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2338 // Check duplicate typedefs.
2339 typedef long *long_ptr;
2340 typedef long int *long_ptr;
2341 typedef long_ptr long_ptr;
2343 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2347 struct { int i; int j; };
2348 struct { int k; long int l; } w;
2354 # Test code for whether the C compiler supports C11 (body of main).
2355 ac_c_conftest_c11_main
='
2356 _Static_assert ((offsetof (struct anonymous, i)
2357 == offsetof (struct anonymous, w.k)),
2358 "Anonymous union alignment botch");
2364 # Test code for whether the C compiler supports C11 (complete).
2365 ac_c_conftest_c11_program
="${ac_c_conftest_c89_globals}
2366 ${ac_c_conftest_c99_globals}
2367 ${ac_c_conftest_c11_globals}
2370 main (int argc, char **argv)
2373 ${ac_c_conftest_c89_main}
2374 ${ac_c_conftest_c99_main}
2375 ${ac_c_conftest_c11_main}
2380 # Test code for whether the C compiler supports C99 (complete).
2381 ac_c_conftest_c99_program
="${ac_c_conftest_c89_globals}
2382 ${ac_c_conftest_c99_globals}
2385 main (int argc, char **argv)
2388 ${ac_c_conftest_c89_main}
2389 ${ac_c_conftest_c99_main}
2394 # Test code for whether the C compiler supports C89 (complete).
2395 ac_c_conftest_c89_program
="${ac_c_conftest_c89_globals}
2398 main (int argc, char **argv)
2401 ${ac_c_conftest_c89_main}
2406 as_fn_append ac_header_c_list
" stdio.h stdio_h HAVE_STDIO_H"
2407 as_fn_append ac_header_c_list
" stdlib.h stdlib_h HAVE_STDLIB_H"
2408 as_fn_append ac_header_c_list
" string.h string_h HAVE_STRING_H"
2409 as_fn_append ac_header_c_list
" inttypes.h inttypes_h HAVE_INTTYPES_H"
2410 as_fn_append ac_header_c_list
" stdint.h stdint_h HAVE_STDINT_H"
2411 as_fn_append ac_header_c_list
" strings.h strings_h HAVE_STRINGS_H"
2412 as_fn_append ac_header_c_list
" sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2413 as_fn_append ac_header_c_list
" sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2414 as_fn_append ac_header_c_list
" unistd.h unistd_h HAVE_UNISTD_H"
2416 # Auxiliary files required by this configure script.
2417 ac_aux_files
="config.guess config.sub ltmain.sh compile missing install-sh"
2419 # Locations in which to look for auxiliary files.
2420 ac_aux_dir_candidates
="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2422 # Search for a directory containing all of the required auxiliary files,
2423 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2424 # If we don't find one directory that contains all the files we need,
2425 # we report the set of missing files from the *first* directory in
2426 # $ac_aux_dir_candidates and give up.
2427 ac_missing_aux_files
=""
2428 ac_first_candidate
=:
2429 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2432 for as_dir
in $ac_aux_dir_candidates
2435 case $as_dir in #(((
2438 *) as_dir
=$as_dir/ ;;
2442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2443 ac_aux_dir_found
=yes
2445 for ac_aux
in $ac_aux_files
2447 # As a special case, if "install-sh" is required, that requirement
2448 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2449 # and $ac_install_sh is set appropriately for whichever one is found.
2450 if test x
"$ac_aux" = x
"install-sh"
2452 if test -f "${as_dir}install-sh"; then
2453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2454 ac_install_sh
="${as_dir}install-sh -c"
2455 elif test -f "${as_dir}install.sh"; then
2456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2457 ac_install_sh
="${as_dir}install.sh -c"
2458 elif test -f "${as_dir}shtool"; then
2459 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2460 ac_install_sh
="${as_dir}shtool install -c"
2463 if $ac_first_candidate; then
2464 ac_missing_aux_files
="${ac_missing_aux_files} install-sh"
2470 if test -f "${as_dir}${ac_aux}"; then
2471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2474 if $ac_first_candidate; then
2475 ac_missing_aux_files
="${ac_missing_aux_files} ${ac_aux}"
2482 if test "$ac_aux_dir_found" = yes; then
2483 ac_aux_dir
="$as_dir"
2486 ac_first_candidate
=false
2495 as_fn_error $?
"cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2499 # These three variables are undocumented and unsupported,
2500 # and are intended to be withdrawn in a future Autoconf release.
2501 # They can cause serious problems if a builder's source tree is in a directory
2502 # whose full name contains unusual characters.
2503 if test -f "${ac_aux_dir}config.guess"; then
2504 ac_config_guess
="$SHELL ${ac_aux_dir}config.guess"
2506 if test -f "${ac_aux_dir}config.sub"; then
2507 ac_config_sub
="$SHELL ${ac_aux_dir}config.sub"
2509 if test -f "$ac_aux_dir/configure"; then
2510 ac_configure
="$SHELL ${ac_aux_dir}configure"
2513 # Check that the precious variables saved in the cache have kept the same
2515 ac_cache_corrupted
=false
2516 for ac_var
in $ac_precious_vars; do
2517 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2518 eval ac_new_set
=\
$ac_env_${ac_var}_set
2519 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2520 eval ac_new_val
=\
$ac_env_${ac_var}_value
2521 case $ac_old_set,$ac_new_set in
2523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2524 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2525 ac_cache_corrupted
=: ;;
2527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2528 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2529 ac_cache_corrupted
=: ;;
2532 if test "x$ac_old_val" != "x$ac_new_val"; then
2533 # differences in whitespace do not lead to failure.
2534 ac_old_val_w
=`echo x $ac_old_val`
2535 ac_new_val_w
=`echo x $ac_new_val`
2536 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2538 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2539 ac_cache_corrupted
=:
2541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2542 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2543 eval $ac_var=\
$ac_old_val
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2546 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2548 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2551 # Pass precious variables to config.status.
2552 if test "$ac_new_set" = set; then
2554 *\'*) ac_arg
=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2555 *) ac_arg
=$ac_var=$ac_new_val ;;
2557 case " $ac_configure_args " in
2558 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2559 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2563 if $ac_cache_corrupted; then
2564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2565 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2567 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2568 as_fn_error $?
"run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2569 and start over" "$LINENO" 5
2571 ## -------------------- ##
2572 ## Main body of script. ##
2573 ## -------------------- ##
2576 ac_cpp
='$CPP $CPPFLAGS'
2577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2582 am__api_version
='1.16'
2586 # Find a good install program. We prefer a C program (faster),
2587 # so one script is as good as another. But avoid the broken or
2588 # incompatible versions:
2589 # SysV /etc/install, /usr/sbin/install
2590 # SunOS /usr/etc/install
2591 # IRIX /sbin/install
2593 # AmigaOS /C/install, which installs bootblocks on floppy discs
2594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2597 # OS/2's system install, which has a completely different semantic
2598 # ./install, which can be erroneously created by make from ./install.sh.
2599 # Reject install programs that cannot install multiple files.
2600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2601 printf %s
"checking for a BSD-compatible install... " >&6; }
2602 if test -z "$INSTALL"; then
2603 if test ${ac_cv_path_install+y}
2605 printf %s
"(cached) " >&6
2607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2611 case $as_dir in #(((
2614 *) as_dir
=$as_dir/ ;;
2616 # Account for fact that we put trailing slashes in our PATH walk.
2619 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
2620 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2623 # OSF1 and SCO ODT 3.0 have their own names for install.
2624 # Don't use installbsd from OSF since it installs stuff as root
2626 for ac_prog
in ginstall scoinst
install; do
2627 for ac_exec_ext
in '' $ac_executable_extensions; do
2628 if as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext"; then
2629 if test $ac_prog = install &&
2630 grep dspmsg
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2631 # AIX install. It has an incompatible calling convention.
2633 elif test $ac_prog = install &&
2634 grep pwplus
"$as_dir$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2635 # program-specific install script used by HP pwplus--don't use.
2638 rm -rf conftest.one conftest.two conftest.dir
2639 echo one
> conftest.one
2640 echo two
> conftest.two
2642 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir/" &&
2643 test -s conftest.one
&& test -s conftest.two
&&
2644 test -s conftest.dir
/conftest.one
&&
2645 test -s conftest.dir
/conftest.two
2647 ac_cv_path_install
="$as_dir$ac_prog$ac_exec_ext -c"
2660 rm -rf conftest.one conftest.two conftest.dir
2663 if test ${ac_cv_path_install+y}; then
2664 INSTALL
=$ac_cv_path_install
2666 # As a last resort, use the slow shell script. Don't cache a
2667 # value for INSTALL within a source directory, because that will
2668 # break other packages using the cache if that directory is
2669 # removed, or if the value is a relative name.
2670 INSTALL
=$ac_install_sh
2673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2674 printf "%s\n" "$INSTALL" >&6; }
2676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2677 # It thinks the first close brace ends the variable substitution.
2678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2682 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2685 printf %s
"checking whether build environment is sane... " >&6; }
2686 # Reject unsafe characters in $srcdir or the absolute working directory
2687 # name. Accept space and tab only in the latter.
2691 *[\\\"\#\$\&\'\`$am_lf]*)
2692 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2695 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2696 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2699 # Do 'set' in a subshell so we don't clobber the current shell's
2700 # arguments. Must try -L first in case configure is actually a
2701 # symlink; some systems play weird games with the mod time of symlinks
2702 # (eg FreeBSD returns the mod time of the symlink's containing
2706 for am_try
in 1 2; do
2707 echo "timestamp, slept: $am_has_slept" > conftest.
file
2708 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2709 if test "$*" = "X"; then
2711 set X
`ls -t "$srcdir/configure" conftest.file`
2713 if test "$*" != "X $srcdir/configure conftest.file" \
2714 && test "$*" != "X conftest.file $srcdir/configure"; then
2716 # If neither matched, then we have a broken ls. This can happen
2717 # if, for instance, CONFIG_SHELL is bash and it inherits a
2718 # broken ls alias from the environment. This has actually
2719 # happened. Such a system could not be considered "sane".
2720 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2721 alias in your environment" "$LINENO" 5
2723 if test "$2" = conftest.
file || test $am_try -eq 2; then
2730 test "$2" = conftest.
file
2736 as_fn_error $?
"newly created file is older than distributed files!
2737 Check your system clock" "$LINENO" 5
2739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2740 printf "%s\n" "yes" >&6; }
2741 # If we didn't sleep, we still need to ensure time stamps of config.status and
2742 # generated files are strictly newer.
2744 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2751 test "$program_prefix" != NONE
&&
2752 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2753 # Use a double $ so make ignores it.
2754 test "$program_suffix" != NONE
&&
2755 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2756 # Double any \ or $.
2757 # By default was `s,x,x', remove it if useless.
2758 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2759 program_transform_name
=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2762 # Expand $ac_aux_dir to an absolute path.
2763 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2766 if test x
"${MISSING+set}" != xset
; then
2767 MISSING
="\${SHELL} '$am_aux_dir/missing'"
2769 # Use eval to expand $SHELL
2770 if eval "$MISSING --is-lightweight"; then
2771 am_missing_run
="$MISSING "
2774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2775 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2778 if test x
"${install_sh+set}" != xset
; then
2781 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2783 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2787 # Installed binaries are usually stripped using 'strip' when the user
2788 # run "make install-strip". However 'strip' might not be the right
2789 # tool to use in cross-compilation environments, therefore Automake
2790 # will honor the 'STRIP' environment variable to overrule this program.
2791 if test "$cross_compiling" != no
; then
2792 if test -n "$ac_tool_prefix"; then
2793 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2794 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2796 printf %s
"checking for $ac_word... " >&6; }
2797 if test ${ac_cv_prog_STRIP+y}
2799 printf %s
"(cached) " >&6
2801 if test -n "$STRIP"; then
2802 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2808 case $as_dir in #(((
2811 *) as_dir
=$as_dir/ ;;
2813 for ac_exec_ext
in '' $ac_executable_extensions; do
2814 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2816 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2825 STRIP
=$ac_cv_prog_STRIP
2826 if test -n "$STRIP"; then
2827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2828 printf "%s\n" "$STRIP" >&6; }
2830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 printf "%s\n" "no" >&6; }
2836 if test -z "$ac_cv_prog_STRIP"; then
2838 # Extract the first word of "strip", so it can be a program name with args.
2839 set dummy strip
; ac_word
=$2
2840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 printf %s
"checking for $ac_word... " >&6; }
2842 if test ${ac_cv_prog_ac_ct_STRIP+y}
2844 printf %s
"(cached) " >&6
2846 if test -n "$ac_ct_STRIP"; then
2847 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2853 case $as_dir in #(((
2856 *) as_dir
=$as_dir/ ;;
2858 for ac_exec_ext
in '' $ac_executable_extensions; do
2859 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_ac_ct_STRIP
="strip"
2861 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2870 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2871 if test -n "$ac_ct_STRIP"; then
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2873 printf "%s\n" "$ac_ct_STRIP" >&6; }
2875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2876 printf "%s\n" "no" >&6; }
2879 if test "x$ac_ct_STRIP" = x
; then
2882 case $cross_compiling:$ac_tool_warned in
2884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2885 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2886 ac_tool_warned
=yes ;;
2891 STRIP
="$ac_cv_prog_STRIP"
2895 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2899 printf %s
"checking for a race-free mkdir -p... " >&6; }
2900 if test -z "$MKDIR_P"; then
2901 if test ${ac_cv_path_mkdir+y}
2903 printf %s
"(cached) " >&6
2905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2909 case $as_dir in #(((
2912 *) as_dir
=$as_dir/ ;;
2914 for ac_prog
in mkdir gmkdir
; do
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 as_fn_executable_p
"$as_dir$ac_prog$ac_exec_ext" || continue
2917 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2918 'mkdir ('*'coreutils) '* | \
2920 'mkdir (fileutils) '4.1*)
2921 ac_cv_path_mkdir
=$as_dir$ac_prog$ac_exec_ext
2931 test -d .
/--version && rmdir .
/--version
2932 if test ${ac_cv_path_mkdir+y}; then
2933 MKDIR_P
="$ac_cv_path_mkdir -p"
2935 # As a last resort, use the slow shell script. Don't cache a
2936 # value for MKDIR_P within a source directory, because that will
2937 # break other packages using the cache if that directory is
2938 # removed, or if the value is a relative name.
2939 MKDIR_P
="$ac_install_sh -d"
2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2943 printf "%s\n" "$MKDIR_P" >&6; }
2945 for ac_prog
in gawk mawk nawk
awk
2947 # Extract the first word of "$ac_prog", so it can be a program name with args.
2948 set dummy
$ac_prog; ac_word
=$2
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950 printf %s
"checking for $ac_word... " >&6; }
2951 if test ${ac_cv_prog_AWK+y}
2953 printf %s
"(cached) " >&6
2955 if test -n "$AWK"; then
2956 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2962 case $as_dir in #(((
2965 *) as_dir
=$as_dir/ ;;
2967 for ac_exec_ext
in '' $ac_executable_extensions; do
2968 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
2969 ac_cv_prog_AWK
="$ac_prog"
2970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2980 if test -n "$AWK"; then
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2982 printf "%s\n" "$AWK" >&6; }
2984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2985 printf "%s\n" "no" >&6; }
2989 test -n "$AWK" && break
2992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2993 printf %s
"checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2995 ac_make
=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2996 if eval test \
${ac_cv_prog_make_${ac_make}_set+y}
2998 printf %s
"(cached) " >&6
3000 cat >conftest.
make <<\_ACEOF
3003 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3005 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3008 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3010 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3014 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3016 printf "%s\n" "yes" >&6; }
3019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 printf "%s\n" "no" >&6; }
3021 SET_MAKE
="MAKE=${MAKE-make}"
3024 rm -rf .tst
2>/dev
/null
3025 mkdir .tst
2>/dev
/null
3026 if test -d .tst
; then
3031 rmdir .tst
2>/dev
/null
3033 # Check whether --enable-silent-rules was given.
3034 if test ${enable_silent_rules+y}
3036 enableval
=$enable_silent_rules;
3039 case $enable_silent_rules in # (((
3040 yes) AM_DEFAULT_VERBOSITY
=0;;
3041 no
) AM_DEFAULT_VERBOSITY
=1;;
3042 *) AM_DEFAULT_VERBOSITY
=1;;
3044 am_make
=${MAKE-make}
3045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3046 printf %s
"checking whether $am_make supports nested variables... " >&6; }
3047 if test ${am_cv_make_support_nested_variables+y}
3049 printf %s
"(cached) " >&6
3051 if printf "%s\n" 'TRUE=$(BAR$(V))
3057 .PHONY: am__doit' | $am_make -f - >/dev
/null
2>&1; then
3058 am_cv_make_support_nested_variables
=yes
3060 am_cv_make_support_nested_variables
=no
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3064 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3065 if test $am_cv_make_support_nested_variables = yes; then
3067 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3069 AM_V
=$AM_DEFAULT_VERBOSITY
3070 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3074 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3075 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3076 # is not polluted with repeated "-I."
3077 am__isrc
=' -I$(srcdir)'
3078 # test to see if srcdir already configured
3079 if test -f $srcdir/config.status
; then
3080 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3084 # test whether we have cygpath
3085 if test -z "$CYGPATH_W"; then
3086 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3087 CYGPATH_W
='cygpath -w'
3094 # Define the identity of the package.
3099 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3102 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3104 # Some tools Automake needs.
3106 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3109 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3112 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3115 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3118 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3120 # For better backward compatibility. To be removed once Automake 1.9.x
3121 # dies out for good. For more background, see:
3122 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3123 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3124 mkdir_p
='$(MKDIR_P)'
3126 # We need awk for the "check" target (and possibly the TAP driver). The
3127 # system "awk" is bad on some platforms.
3128 # Always define AMTAR for backward compatibility. Yes, it's still used
3129 # in the wild :-( We should find a proper way to deprecate it ...
3133 # We'll loop over all known methods to create a tar archive until one works.
3134 _am_tools
='gnutar pax cpio none'
3136 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3142 # Variables for tags utilities; see am/tags.am
3143 if test -z "$CTAGS"; then
3147 if test -z "$ETAGS"; then
3151 if test -z "$CSCOPE"; then
3157 # POSIX will say in a future version that running "rm -f" with no argument
3158 # is OK; and we want to be able to make that assumption in our Makefile
3159 # recipes. So use an aggressive probe to check that the usage we want is
3160 # actually supported "in the wild" to an acceptable degree.
3161 # See automake bug#10828.
3162 # To make any issue more visible, cause the running configure to be aborted
3163 # by default if the 'rm' program in use doesn't match our expectations; the
3164 # user can still override this though.
3165 if rm -f && rm -fr && rm -rf; then : OK
; else
3169 Your 'rm' program seems unable to run without file operands specified
3170 on the command line, even when the '-f' option is present. This is contrary
3171 to the behaviour of most rm programs out there, and not conforming with
3172 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3174 Please tell bug-automake@gnu.org about your system, including the value
3175 of your $PATH and any error possibly output before this message. This
3176 can help us improve future automake versions.
3179 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3180 echo 'Configuration will proceed anyway, since you have set the' >&2
3181 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3185 Aborting the configuration process, to ensure you take notice of the issue.
3187 You can download and install GNU coreutils to get an 'rm' implementation
3188 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3190 If you want to complete the configuration process using your problematic
3191 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3192 to "yes", and re-run configure.
3195 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3201 printf %s
"checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3202 # Check whether --enable-maintainer-mode was given.
3203 if test ${enable_maintainer_mode+y}
3205 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3207 USE_MAINTAINER_MODE
=no
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3211 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3212 if test $USE_MAINTAINER_MODE = yes; then
3213 MAINTAINER_MODE_TRUE
=
3214 MAINTAINER_MODE_FALSE
='#'
3216 MAINTAINER_MODE_TRUE
='#'
3217 MAINTAINER_MODE_FALSE
=
3220 MAINT
=$MAINTAINER_MODE_TRUE
3224 ac_config_headers
="$ac_config_headers src/setup.h"
3239 ac_cpp
='$CPP $CPPFLAGS'
3240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3243 if test -n "$ac_tool_prefix"; then
3244 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3245 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3247 printf %s
"checking for $ac_word... " >&6; }
3248 if test ${ac_cv_prog_CC+y}
3250 printf %s
"(cached) " >&6
3252 if test -n "$CC"; then
3253 ac_cv_prog_CC
="$CC" # Let the user override the test.
3255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3259 case $as_dir in #(((
3262 *) as_dir
=$as_dir/ ;;
3264 for ac_exec_ext
in '' $ac_executable_extensions; do
3265 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3277 if test -n "$CC"; then
3278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3279 printf "%s\n" "$CC" >&6; }
3281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 printf "%s\n" "no" >&6; }
3287 if test -z "$ac_cv_prog_CC"; then
3289 # Extract the first word of "gcc", so it can be a program name with args.
3290 set dummy gcc
; ac_word
=$2
3291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 printf %s
"checking for $ac_word... " >&6; }
3293 if test ${ac_cv_prog_ac_ct_CC+y}
3295 printf %s
"(cached) " >&6
3297 if test -n "$ac_ct_CC"; then
3298 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3304 case $as_dir in #(((
3307 *) as_dir
=$as_dir/ ;;
3309 for ac_exec_ext
in '' $ac_executable_extensions; do
3310 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3311 ac_cv_prog_ac_ct_CC
="gcc"
3312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3321 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3322 if test -n "$ac_ct_CC"; then
3323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3324 printf "%s\n" "$ac_ct_CC" >&6; }
3326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 printf "%s\n" "no" >&6; }
3330 if test "x$ac_ct_CC" = x
; then
3333 case $cross_compiling:$ac_tool_warned in
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3336 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3337 ac_tool_warned
=yes ;;
3345 if test -z "$CC"; then
3346 if test -n "$ac_tool_prefix"; then
3347 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3348 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3350 printf %s
"checking for $ac_word... " >&6; }
3351 if test ${ac_cv_prog_CC+y}
3353 printf %s
"(cached) " >&6
3355 if test -n "$CC"; then
3356 ac_cv_prog_CC
="$CC" # Let the user override the test.
3358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3362 case $as_dir in #(((
3365 *) as_dir
=$as_dir/ ;;
3367 for ac_exec_ext
in '' $ac_executable_extensions; do
3368 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3370 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 printf "%s\n" "$CC" >&6; }
3384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 printf "%s\n" "no" >&6; }
3391 if test -z "$CC"; then
3392 # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc
; ac_word
=$2
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 printf %s
"checking for $ac_word... " >&6; }
3396 if test ${ac_cv_prog_CC+y}
3398 printf %s
"(cached) " >&6
3400 if test -n "$CC"; then
3401 ac_cv_prog_CC
="$CC" # Let the user override the test.
3404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3408 case $as_dir in #(((
3411 *) as_dir
=$as_dir/ ;;
3413 for ac_exec_ext
in '' $ac_executable_extensions; do
3414 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3415 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3416 ac_prog_rejected
=yes
3420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3427 if test $ac_prog_rejected = yes; then
3428 # We found a bogon in the path, so make sure we never use it.
3429 set dummy
$ac_cv_prog_CC
3431 if test $# != 0; then
3432 # We chose a different compiler from the bogus one.
3433 # However, it has the same basename, so the bogon will be chosen
3434 # first if we set CC to just the basename; use the full file name.
3436 ac_cv_prog_CC
="$as_dir$ac_word${1+' '}$@"
3442 if test -n "$CC"; then
3443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3444 printf "%s\n" "$CC" >&6; }
3446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 printf "%s\n" "no" >&6; }
3452 if test -z "$CC"; then
3453 if test -n "$ac_tool_prefix"; then
3454 for ac_prog
in cl.exe
3456 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3457 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3459 printf %s
"checking for $ac_word... " >&6; }
3460 if test ${ac_cv_prog_CC+y}
3462 printf %s
"(cached) " >&6
3464 if test -n "$CC"; then
3465 ac_cv_prog_CC
="$CC" # Let the user override the test.
3467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3471 case $as_dir in #(((
3474 *) as_dir
=$as_dir/ ;;
3476 for ac_exec_ext
in '' $ac_executable_extensions; do
3477 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3478 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3489 if test -n "$CC"; then
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3491 printf "%s\n" "$CC" >&6; }
3493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3494 printf "%s\n" "no" >&6; }
3498 test -n "$CC" && break
3501 if test -z "$CC"; then
3503 for ac_prog
in cl.exe
3505 # Extract the first word of "$ac_prog", so it can be a program name with args.
3506 set dummy
$ac_prog; ac_word
=$2
3507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 printf %s
"checking for $ac_word... " >&6; }
3509 if test ${ac_cv_prog_ac_ct_CC+y}
3511 printf %s
"(cached) " >&6
3513 if test -n "$ac_ct_CC"; then
3514 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 case $as_dir in #(((
3523 *) as_dir
=$as_dir/ ;;
3525 for ac_exec_ext
in '' $ac_executable_extensions; do
3526 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_CC
="$ac_prog"
3528 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3537 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3538 if test -n "$ac_ct_CC"; then
3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3540 printf "%s\n" "$ac_ct_CC" >&6; }
3542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3543 printf "%s\n" "no" >&6; }
3547 test -n "$ac_ct_CC" && break
3550 if test "x$ac_ct_CC" = x
; then
3553 case $cross_compiling:$ac_tool_warned in
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3557 ac_tool_warned
=yes ;;
3564 if test -z "$CC"; then
3565 if test -n "$ac_tool_prefix"; then
3566 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3567 set dummy
${ac_tool_prefix}clang
; ac_word
=$2
3568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 printf %s
"checking for $ac_word... " >&6; }
3570 if test ${ac_cv_prog_CC+y}
3572 printf %s
"(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC
="$CC" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 case $as_dir in #(((
3584 *) as_dir
=$as_dir/ ;;
3586 for ac_exec_ext
in '' $ac_executable_extensions; do
3587 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_CC
="${ac_tool_prefix}clang"
3589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3599 if test -n "$CC"; then
3600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3601 printf "%s\n" "$CC" >&6; }
3603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 printf "%s\n" "no" >&6; }
3609 if test -z "$ac_cv_prog_CC"; then
3611 # Extract the first word of "clang", so it can be a program name with args.
3612 set dummy clang
; ac_word
=$2
3613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3614 printf %s
"checking for $ac_word... " >&6; }
3615 if test ${ac_cv_prog_ac_ct_CC+y}
3617 printf %s
"(cached) " >&6
3619 if test -n "$ac_ct_CC"; then
3620 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3626 case $as_dir in #(((
3629 *) as_dir
=$as_dir/ ;;
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
3633 ac_cv_prog_ac_ct_CC
="clang"
3634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3644 if test -n "$ac_ct_CC"; then
3645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3646 printf "%s\n" "$ac_ct_CC" >&6; }
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 printf "%s\n" "no" >&6; }
3652 if test "x$ac_ct_CC" = x
; then
3655 case $cross_compiling:$ac_tool_warned in
3657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3658 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3659 ac_tool_warned
=yes ;;
3670 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error $?
"no acceptable C compiler found in \$PATH
3673 See \`config.log' for more details" "$LINENO" 5; }
3675 # Provide some information about the compiler.
3676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3679 for ac_option
in --version -v -V -qversion -version; do
3680 { { ac_try
="$ac_compiler $ac_option >&5"
3682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686 printf "%s\n" "$ac_try_echo"; } >&5
3687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3689 if test -s conftest.err; then
3691 ... rest of stderr output deleted ...
3692 10q' conftest.err >conftest.er1
3693 cat conftest.er1 >&5
3695 rm -f conftest.er1 conftest.err
3696 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697 test $ac_status = 0; }
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3711 ac_clean_files_save=$ac_clean_files
3712 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3713 # Try to create an executable without -o first, disregard a.out.
3714 # It will help us diagnose broken compilers, and finding out an intuition
3716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3717 printf %s "checking whether the C compiler works... " >&6; }
3718 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3720 # The possible output files:
3721 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3724 for ac_file in $ac_files
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3728 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3733 if { { ac_try="$ac_link_default"
3735 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3736 *) ac_try_echo
=$ac_try;;
3738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3739 printf "%s\n" "$ac_try_echo"; } >&5
3740 (eval "$ac_link_default") 2>&5
3742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3743 test $ac_status = 0; }
3745 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3746 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3747 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3748 # so that the user can short-circuit this test for compilers unknown to
3750 for ac_file
in $ac_files ''
3752 test -f "$ac_file" || continue
3754 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
)
3757 # We found the default executable, but exeext='' is most
3761 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no
;
3763 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3765 # We set ac_cv_exeext here because the later test for it is not
3766 # safe: cross compilers may not add the suffix if given an `-o'
3767 # argument, so we may need to know it at that point already.
3768 # Even if this section looks crufty: it has the advantage of
3775 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3780 if test -z "$ac_file"
3782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 printf "%s\n" "no" >&6; }
3784 printf "%s\n" "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.
$ac_ext >&5
3787 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3788 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3789 as_fn_error
77 "C compiler cannot create executables
3790 See \`config.log' for more details" "$LINENO" 5; }
3792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3793 printf "%s\n" "yes" >&6; }
3795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3796 printf %s
"checking for C compiler default output file name... " >&6; }
3797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3798 printf "%s\n" "$ac_file" >&6; }
3799 ac_exeext
=$ac_cv_exeext
3801 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3802 ac_clean_files
=$ac_clean_files_save
3803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3804 printf %s
"checking for suffix of executables... " >&6; }
3805 if { { ac_try
="$ac_link"
3807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;;
3810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3811 printf "%s\n" "$ac_try_echo"; } >&5
3812 (eval "$ac_link") 2>&5
3814 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3815 test $ac_status = 0; }
3817 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3818 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3819 # work properly (i.e., refer to `conftest.exe'), while it won't with
3821 for ac_file
in conftest.exe conftest conftest.
*; do
3822 test -f "$ac_file" || continue
3824 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
| *.o
| *.obj
) ;;
3825 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3831 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3834 See \`config.log' for more details" "$LINENO" 5; }
3836 rm -f conftest conftest
$ac_cv_exeext
3837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3838 printf "%s\n" "$ac_cv_exeext" >&6; }
3840 rm -f conftest.
$ac_ext
3841 EXEEXT
=$ac_cv_exeext
3843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3844 /* end confdefs.h. */
3849 FILE *f = fopen ("conftest.out", "w");
3850 return ferror (f) || fclose (f) != 0;
3856 ac_clean_files
="$ac_clean_files conftest.out"
3857 # Check that the compiler produces executables we can run. If not, either
3858 # the compiler is broken, or we cross compile.
3859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3860 printf %s
"checking whether we are cross compiling... " >&6; }
3861 if test "$cross_compiling" != yes; then
3862 { { ac_try
="$ac_link"
3864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3865 *) ac_try_echo=$ac_try;;
3867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3868 printf "%s\n" "$ac_try_echo"; } >&5
3869 (eval "$ac_link") 2>&5
3871 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3873 if { ac_try='./conftest$ac_cv_exeext'
3874 { { case "(($ac_try" in
3875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3876 *) ac_try_echo
=$ac_try;;
3878 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3879 printf "%s\n" "$ac_try_echo"; } >&5
3880 (eval "$ac_try") 2>&5
3882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }; }; then
3886 if test "$cross_compiling" = maybe
; then
3889 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3890 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3891 as_fn_error
77 "cannot run C compiled programs.
3892 If you meant to cross compile, use \`--host'.
3893 See \`config.log' for more details" "$LINENO" 5; }
3897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3898 printf "%s\n" "$cross_compiling" >&6; }
3900 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3901 ac_clean_files
=$ac_clean_files_save
3902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3903 printf %s
"checking for suffix of object files... " >&6; }
3904 if test ${ac_cv_objext+y}
3906 printf %s
"(cached) " >&6
3908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 rm -f conftest.o conftest.obj
3920 if { { ac_try
="$ac_compile"
3922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 printf "%s\n" "$ac_try_echo"; } >&5
3927 (eval "$ac_compile") 2>&5
3929 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }
3932 for ac_file in conftest.o conftest.obj conftest.*; do
3933 test -f "$ac_file" || continue;
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3936 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3941 printf "%s\n" "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3944 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3945 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3946 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3947 See \
`config.log' for more details" "$LINENO" 5; }
3949 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3951 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3952 printf "%s\n" "$ac_cv_objext" >&6; }
3953 OBJEXT=$ac_cv_objext
3955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3956 printf %s "checking whether the compiler supports GNU C... " >&6; }
3957 if test ${ac_cv_c_compiler_gnu+y}
3959 printf %s "(cached) " >&6
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"
3981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3986 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3989 if test $ac_compiler_gnu = yes; then
3994 ac_test_CFLAGS=${CFLAGS+y}
3995 ac_save_CFLAGS=$CFLAGS
3996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3997 printf %s "checking whether $CC accepts -g... " >&6; }
3998 if test ${ac_cv_prog_cc_g+y}
4000 printf %s "(cached) " >&6
4002 ac_save_c_werror_flag=$ac_c_werror_flag
4003 ac_c_werror_flag=yes
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4017 if ac_fn_c_try_compile "$LINENO"
4022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h. */
4033 if ac_fn_c_try_compile "$LINENO"
4037 ac_c_werror_flag=$ac_save_c_werror_flag
4039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4040 /* end confdefs.h. */
4050 if ac_fn_c_try_compile "$LINENO"
4054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4058 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4059 ac_c_werror_flag=$ac_save_c_werror_flag
4061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4062 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4063 if test $ac_test_CFLAGS; then
4064 CFLAGS=$ac_save_CFLAGS
4065 elif test $ac_cv_prog_cc_g = yes; then
4066 if test "$GCC" = yes; then
4072 if test "$GCC" = yes; then
4079 if test x$ac_prog_cc_stdc = xno
4081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4082 printf %s "checking for $CC option to enable C11 features... " >&6; }
4083 if test ${ac_cv_prog_cc_c11+y}
4085 printf %s "(cached) " >&6
4087 ac_cv_prog_cc_c11=no
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4091 $ac_c_conftest_c11_program
4093 for ac_arg in '' -std=gnu11
4095 CC="$ac_save_CC $ac_arg"
4096 if ac_fn_c_try_compile "$LINENO"
4098 ac_cv_prog_cc_c11=$ac_arg
4100 rm -f core conftest.err conftest.$ac_objext conftest.beam
4101 test "x$ac_cv_prog_cc_c11" != "xno" && break
4103 rm -f conftest.$ac_ext
4107 if test "x$ac_cv_prog_cc_c11" = xno
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4110 printf "%s\n" "unsupported" >&6; }
4112 if test "x$ac_cv_prog_cc_c11" = x
4114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4115 printf "%s\n" "none needed" >&6; }
4117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4118 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4119 CC="$CC $ac_cv_prog_cc_c11"
4121 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4125 if test x$ac_prog_cc_stdc = xno
4127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4128 printf %s "checking for $CC option to enable C99 features... " >&6; }
4129 if test ${ac_cv_prog_cc_c99+y}
4131 printf %s "(cached) " >&6
4133 ac_cv_prog_cc_c99=no
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4137 $ac_c_conftest_c99_program
4139 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4141 CC="$ac_save_CC $ac_arg"
4142 if ac_fn_c_try_compile "$LINENO"
4144 ac_cv_prog_cc_c99=$ac_arg
4146 rm -f core conftest.err conftest.$ac_objext conftest.beam
4147 test "x$ac_cv_prog_cc_c99" != "xno" && break
4149 rm -f conftest.$ac_ext
4153 if test "x$ac_cv_prog_cc_c99" = xno
4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4156 printf "%s\n" "unsupported" >&6; }
4158 if test "x$ac_cv_prog_cc_c99" = x
4160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4161 printf "%s\n" "none needed" >&6; }
4163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4164 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4165 CC="$CC $ac_cv_prog_cc_c99"
4167 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4171 if test x$ac_prog_cc_stdc = xno
4173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4174 printf %s "checking for $CC option to enable C89 features... " >&6; }
4175 if test ${ac_cv_prog_cc_c89+y}
4177 printf %s "(cached) " >&6
4179 ac_cv_prog_cc_c89=no
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183 $ac_c_conftest_c89_program
4185 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4187 CC="$ac_save_CC $ac_arg"
4188 if ac_fn_c_try_compile "$LINENO"
4190 ac_cv_prog_cc_c89=$ac_arg
4192 rm -f core conftest.err conftest.$ac_objext conftest.beam
4193 test "x$ac_cv_prog_cc_c89" != "xno" && break
4195 rm -f conftest.$ac_ext
4199 if test "x$ac_cv_prog_cc_c89" = xno
4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4202 printf "%s\n" "unsupported" >&6; }
4204 if test "x$ac_cv_prog_cc_c89" = x
4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4207 printf "%s\n" "none needed" >&6; }
4209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4210 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4211 CC="$CC $ac_cv_prog_cc_c89"
4213 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4219 ac_cpp='$CPP $CPPFLAGS'
4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4226 ac_cpp='$CPP $CPPFLAGS'
4227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4231 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4232 if test ${am_cv_prog_cc_c_o+y}
4234 printf %s "(cached) " >&6
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 # Make sure it works both with $CC and with simple cc.
4248 # Following AC_PROG_CC_C_O, we do the test twice because some
4249 # compilers refuse to overwrite an existing .o file with -o,
4250 # though they will create one.
4251 am_cv_prog_cc_c_o=yes
4253 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4254 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } \
4258 && test -f conftest2.$ac_objext; then
4261 am_cv_prog_cc_c_o=no
4265 rm -f core conftest*
4268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4269 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4270 if test "$am_cv_prog_cc_c_o" != yes; then
4271 # Losing compiler, so override with the script.
4272 # FIXME: It is wrong to rewrite CC.
4273 # But if we don't then we get into trouble of one sort or another.
4274 # A longer-term fix would be to have automake use am__CC in this case,
4275 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4276 CC="$am_aux_dir/compile $CC"
4279 ac_cpp='$CPP $CPPFLAGS'
4280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4284 DEPDIR="${am__leading_dot}deps"
4286 ac_config_commands="$ac_config_commands depfiles"
4288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4289 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4290 cat > confinc.mk << 'END'
4292 @echo this is the am__doit target >confinc.out
4297 # BSD make does it like this.
4298 echo '.include "confinc.mk" # ignored' > confmf.BSD
4299 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4300 echo 'include confinc.mk # ignored' > confmf.GNU
4302 for s in GNU BSD; do
4303 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4304 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307 (exit $ac_status); }
4308 case $?:`cat confinc.out
2>/dev
/null
` in #(
4309 '0:this is the am__doit target') :
4312 am__include='.include' am__quote='"' ;; #(
4314 am__include='include' am__quote='' ;;
4319 if test "$am__include" != "#"; then
4320 _am_result="yes ($s style)"
4324 rm -f confinc.* confmf.*
4325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4326 printf "%s\n" "${_am_result}" >&6; }
4328 # Check whether --enable-dependency-tracking was given.
4329 if test ${enable_dependency_tracking+y}
4331 enableval=$enable_dependency_tracking;
4334 if test "x$enable_dependency_tracking" != xno; then
4335 am_depcomp="$ac_aux_dir/depcomp"
4339 if test "x$enable_dependency_tracking" != xno; then
4349 depcc="$CC" am_compiler_list=
4351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4352 printf %s "checking dependency style of $depcc... " >&6; }
4353 if test ${am_cv_CC_dependencies_compiler_type+y}
4355 printf %s "(cached) " >&6
4357 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4358 # We make a subdir and do the tests there. Otherwise we can end up
4359 # making bogus files that we don't know about and never remove. For
4360 # instance it was reported that on HP-UX the gcc test will end up
4361 # making a dummy file named 'D' -- because '-MD' means "put the output
4365 # Copy depcomp to subdir because otherwise we won't find it if we're
4366 # using a relative directory.
4367 cp "$am_depcomp" conftest.dir
4369 # We will build objects and dependencies in a subdirectory because
4370 # it helps to detect inapplicable dependency modes. For instance
4371 # both Tru64's cc and ICC support -MD to output dependencies as a
4372 # side effect of compilation, but ICC will put the dependencies in
4373 # the current directory while Tru64 will put them in the object
4377 am_cv_CC_dependencies_compiler_type=none
4378 if test "$am_compiler_list" = ""; then
4379 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4382 case " $depcc " in #(
4383 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4386 for depmode in $am_compiler_list; do
4387 # Setup a source with many dependencies, because some compilers
4388 # like to wrap large dependency lists on column 80 (with \), and
4389 # we should not choose a depcomp mode which is confused by this.
4391 # We need to recreate these files for each test, as the compiler may
4392 # overwrite some of them when testing with obscure command lines.
4393 # This happens at least with the AIX C compiler.
4395 for i in 1 2 3 4 5 6; do
4396 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4397 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4398 # Solaris 10 /bin/sh.
4399 echo '/* dummy */' > sub/conftst$i.h
4401 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4403 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4404 # mode. It turns out that the SunPro C++ compiler does not properly
4405 # handle '-M -o', and we need to detect this. Also, some Intel
4406 # versions had trouble with output in subdirs.
4407 am__obj=sub/conftest.${OBJEXT-o}
4408 am__minus_obj="-o $am__obj"
4411 # This depmode causes a compiler race in universal mode.
4412 test "$am__universal" = false || continue
4415 # After this tag, mechanisms are not by side-effect, so they'll
4416 # only be used when explicitly requested.
4417 if test "x$enable_dependency_tracking" = xyes; then
4423 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4424 # This compiler won't grok '-c -o', but also, the minuso test has
4425 # not run yet. These depmodes are late enough in the game, and
4426 # so weak that their functioning should not be impacted.
4427 am__obj=conftest.${OBJEXT-o}
4432 if depmode=$depmode \
4433 source=sub/conftest.c object=$am__obj \
4434 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4435 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4436 >/dev/null 2>conftest.err &&
4437 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4438 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4439 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4440 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4441 # icc doesn't choke on unknown options, it will just issue warnings
4442 # or remarks (even with -Werror). So we grep stderr for any message
4443 # that says an option was ignored or not supported.
4444 # When given -MP, icc 7.0 and 7.1 complain thusly:
4445 # icc: Command line warning: ignoring option '-M'; no argument required
4446 # The diagnosis changed in icc 8.0:
4447 # icc: Command line remark: option '-MP' not supported
4448 if (grep 'ignoring option' conftest.err ||
4449 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4450 am_cv_CC_dependencies_compiler_type=$depmode
4459 am_cv_CC_dependencies_compiler_type=none
4463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4464 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4465 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4468 test "x$enable_dependency_tracking" != xno \
4469 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4471 am__fastdepCC_FALSE='#'
4473 am__fastdepCC_TRUE='#'
4474 am__fastdepCC_FALSE=
4480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4481 printf "%s\n" "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4486 macro_version='2.4.7'
4487 macro_revision='2.4.7'
4502 ltmain=$ac_aux_dir/ltmain.sh
4506 # Make sure we can run config.sub.
4507 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4508 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4511 printf %s "checking build system type... " >&6; }
4512 if test ${ac_cv_build+y}
4514 printf %s "(cached) " >&6
4516 ac_build_alias=$build_alias
4517 test "x$ac_build_alias" = x &&
4518 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4519 test "x$ac_build_alias" = x &&
4520 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4521 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4522 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4526 printf "%s\n" "$ac_cv_build" >&6; }
4527 case $ac_cv_build in
4529 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4532 ac_save_IFS=$IFS; IFS='-'
4538 # Remember, the first character of IFS is used to create $*,
4539 # except with old shells:
4542 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4546 printf %s "checking host system type... " >&6; }
4547 if test ${ac_cv_host+y}
4549 printf %s "(cached) " >&6
4551 if test "x$host_alias" = x; then
4552 ac_cv_host=$ac_cv_build
4554 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4555 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4560 printf "%s\n" "$ac_cv_host" >&6; }
4563 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4566 ac_save_IFS=$IFS; IFS='-'
4572 # Remember, the first character of IFS is used to create $*,
4573 # except with old shells:
4576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4579 # Backslashify metacharacters that are still active within
4580 # double-quoted strings.
4581 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4583 # Same as above, but do not quote variable references.
4584 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4586 # Sed substitution to delay expansion of an escaped shell variable in a
4587 # double_quote_subst'ed string.
4588 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4590 # Sed substitution to delay expansion of an escaped single quote.
4591 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4593 # Sed substitution to avoid accidental globbing in evaled expressions
4594 no_glob_subst='s/\*/\\\*/g'
4596 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4597 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4598 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4600 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4601 printf %s "checking how to print
strings...
" >&6; }
4602 # Test print first, because it will be a builtin if present.
4603 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4604 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4606 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4609 # Use this function as a fallback that always works.
4610 func_fallback_echo ()
4612 eval 'cat <<_LTECHO_EOF
4616 ECHO='func_fallback_echo'
4619 # func_echo_all arg...
4620 # Invoke $ECHO with all args, space-separated.
4627 printf*) { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4628 printf "%s
\n" "printf" >&6; } ;;
4629 print*) { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4630 printf "%s
\n" "print
-r" >&6; } ;;
4631 *) { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4632 printf "%s
\n" "cat" >&6; } ;;
4648 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4649 printf %s "checking
for a
sed that does not truncate output...
" >&6; }
4650 if test ${ac_cv_path_SED+y}
4652 printf %s "(cached
) " >&6
4654 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4655 for ac_i in 1 2 3 4 5 6 7; do
4656 ac_script="$ac_script$as_nl$ac_script"
4658 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4659 { ac_script=; unset ac_script;}
4660 if test -z "$SED"; then
4661 ac_path_SED_found=false
4662 # Loop through the user's path and test for each of PROGNAME-LIST
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 case $as_dir in #(((
4670 *) as_dir=$as_dir/ ;;
4672 for ac_prog in sed gsed
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4676 as_fn_executable_p "$ac_path_SED" || continue
4677 # Check for GNU ac_path_SED and select it if it is found.
4678 # Check for GNU $ac_path_SED
4679 case `"$ac_path_SED" --version 2>&1` in
4681 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4684 printf %s 0123456789 >"conftest.
in"
4687 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4688 mv "conftest.tmp
" "conftest.
in"
4689 cp "conftest.
in" "conftest.
nl"
4690 printf "%s
\n" '' >> "conftest.
nl"
4691 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4692 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4693 as_fn_arith $ac_count + 1 && ac_count=$as_val
4694 if test $ac_count -gt ${ac_path_SED_max-0}; then
4695 # Best one so far, save it but keep looking for a better one
4696 ac_cv_path_SED="$ac_path_SED"
4697 ac_path_SED_max=$ac_count
4699 # 10*(2^10) chars as input seems more than enough
4700 test $ac_count -gt 10 && break
4702 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4705 $ac_path_SED_found && break 3
4710 if test -z "$ac_cv_path_SED"; then
4711 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4718 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4719 printf "%s
\n" "$ac_cv_path_SED" >&6; }
4720 SED="$ac_cv_path_SED"
4723 test -z "$SED" && SED=sed
4724 Xsed="$SED -e 1s
/^X
//"
4736 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
4737 printf %s "checking
for grep that handles long lines and
-e...
" >&6; }
4738 if test ${ac_cv_path_GREP+y}
4740 printf %s "(cached
) " >&6
4742 if test -z "$GREP"; then
4743 ac_path_GREP_found=false
4744 # Loop through the user's path and test for each of PROGNAME-LIST
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4749 case $as_dir in #(((
4752 *) as_dir=$as_dir/ ;;
4754 for ac_prog in grep ggrep
4756 for ac_exec_ext in '' $ac_executable_extensions; do
4757 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
4758 as_fn_executable_p "$ac_path_GREP" || continue
4759 # Check for GNU ac_path_GREP and select it if it is found.
4760 # Check for GNU $ac_path_GREP
4761 case `"$ac_path_GREP" --version 2>&1` in
4763 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4766 printf %s 0123456789 >"conftest.
in"
4769 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4770 mv "conftest.tmp
" "conftest.
in"
4771 cp "conftest.
in" "conftest.
nl"
4772 printf "%s
\n" 'GREP' >> "conftest.
nl"
4773 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4774 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4775 as_fn_arith $ac_count + 1 && ac_count=$as_val
4776 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4777 # Best one so far, save it but keep looking for a better one
4778 ac_cv_path_GREP="$ac_path_GREP"
4779 ac_path_GREP_max=$ac_count
4781 # 10*(2^10) chars as input seems more than enough
4782 test $ac_count -gt 10 && break
4784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4787 $ac_path_GREP_found && break 3
4792 if test -z "$ac_cv_path_GREP"; then
4793 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4796 ac_cv_path_GREP=$GREP
4800 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
4801 printf "%s
\n" "$ac_cv_path_GREP" >&6; }
4802 GREP="$ac_cv_path_GREP"
4805 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
4806 printf %s "checking
for egrep...
" >&6; }
4807 if test ${ac_cv_path_EGREP+y}
4809 printf %s "(cached
) " >&6
4811 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4812 then ac_cv_path_EGREP="$GREP -E"
4814 if test -z "$EGREP"; then
4815 ac_path_EGREP_found=false
4816 # Loop through the user's path and test for each of PROGNAME-LIST
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 case $as_dir in #(((
4824 *) as_dir=$as_dir/ ;;
4826 for ac_prog in egrep
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
4830 as_fn_executable_p "$ac_path_EGREP" || continue
4831 # Check for GNU ac_path_EGREP and select it if it is found.
4832 # Check for GNU $ac_path_EGREP
4833 case `"$ac_path_EGREP" --version 2>&1` in
4835 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4838 printf %s 0123456789 >"conftest.
in"
4841 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4842 mv "conftest.tmp
" "conftest.
in"
4843 cp "conftest.
in" "conftest.
nl"
4844 printf "%s
\n" 'EGREP' >> "conftest.
nl"
4845 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4846 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4847 as_fn_arith $ac_count + 1 && ac_count=$as_val
4848 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4849 # Best one so far, save it but keep looking for a better one
4850 ac_cv_path_EGREP="$ac_path_EGREP"
4851 ac_path_EGREP_max=$ac_count
4853 # 10*(2^10) chars as input seems more than enough
4854 test $ac_count -gt 10 && break
4856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4859 $ac_path_EGREP_found && break 3
4864 if test -z "$ac_cv_path_EGREP"; then
4865 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4868 ac_cv_path_EGREP=$EGREP
4873 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
4874 printf "%s
\n" "$ac_cv_path_EGREP" >&6; }
4875 EGREP="$ac_cv_path_EGREP"
4878 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
4879 printf %s "checking
for fgrep...
" >&6; }
4880 if test ${ac_cv_path_FGREP+y}
4882 printf %s "(cached
) " >&6
4884 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4885 then ac_cv_path_FGREP="$GREP -F"
4887 if test -z "$FGREP"; then
4888 ac_path_FGREP_found=false
4889 # Loop through the user's path and test for each of PROGNAME-LIST
4890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4894 case $as_dir in #(((
4897 *) as_dir=$as_dir/ ;;
4899 for ac_prog in fgrep
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 ac_path_FGREP="$as_dir$ac_prog$ac_exec_ext"
4903 as_fn_executable_p "$ac_path_FGREP" || continue
4904 # Check for GNU ac_path_FGREP and select it if it is found.
4905 # Check for GNU $ac_path_FGREP
4906 case `"$ac_path_FGREP" --version 2>&1` in
4908 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4911 printf %s 0123456789 >"conftest.
in"
4914 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4915 mv "conftest.tmp
" "conftest.
in"
4916 cp "conftest.
in" "conftest.
nl"
4917 printf "%s
\n" 'FGREP' >> "conftest.
nl"
4918 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4919 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4920 as_fn_arith $ac_count + 1 && ac_count=$as_val
4921 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4922 # Best one so far, save it but keep looking for a better one
4923 ac_cv_path_FGREP="$ac_path_FGREP"
4924 ac_path_FGREP_max=$ac_count
4926 # 10*(2^10) chars as input seems more than enough
4927 test $ac_count -gt 10 && break
4929 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4932 $ac_path_FGREP_found && break 3
4937 if test -z "$ac_cv_path_FGREP"; then
4938 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
4941 ac_cv_path_FGREP=$FGREP
4946 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
4947 printf "%s
\n" "$ac_cv_path_FGREP" >&6; }
4948 FGREP="$ac_cv_path_FGREP"
4951 test -z "$GREP" && GREP=grep
4971 # Check whether --with-gnu-ld was given.
4972 if test ${with_gnu_ld+y}
4974 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4980 if test yes = "$GCC"; then
4981 # Check if gcc -print-prog-name=ld gives a path.
4982 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
4983 printf %s "checking
for ld used by
$CC...
" >&6; }
4986 # gcc leaves a trailing carriage return, which upsets mingw
4987 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4989 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4992 # Accept absolute paths.
4994 re_direlt='/[^/][^/]*/\.\./'
4995 # Canonicalize the pathname of ld
4996 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4997 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4998 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5000 test -z "$LD" && LD=$ac_prog
5003 # If it fails, then pretend we aren't using GCC.
5007 # If it is relative, then search for the first ld in PATH.
5011 elif test yes = "$with_gnu_ld"; then
5012 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5013 printf %s "checking
for GNU ld...
" >&6; }
5015 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for non
-GNU ld
" >&5
5016 printf %s "checking
for non
-GNU ld...
" >&6; }
5018 if test ${lt_cv_path_LD+y}
5020 printf %s "(cached
) " >&6
5022 if test -z "$LD"; then
5023 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5024 for ac_dir in $PATH; do
5026 test -z "$ac_dir" && ac_dir=.
5027 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5028 lt_cv_path_LD=$ac_dir/$ac_prog
5029 # Check to see if the program is GNU ld. I'd rather use --version,
5030 # but apparently some variants of GNU ld only accept -v.
5031 # Break only if it was the GNU/non-GNU ld that we prefer.
5032 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5033 *GNU* | *'with BFD'*)
5034 test no != "$with_gnu_ld" && break
5037 test yes != "$with_gnu_ld" && break
5044 lt_cv_path_LD=$LD # Let the user override the test with a path.
5049 if test -n "$LD"; then
5050 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5051 printf "%s
\n" "$LD" >&6; }
5053 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5054 printf "%s
\n" "no
" >&6; }
5056 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5057 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5058 printf %s "checking
if the linker
($LD) is GNU ld...
" >&6; }
5059 if test ${lt_cv_prog_gnu_ld+y}
5061 printf %s "(cached
) " >&6
5063 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5064 case `$LD -v 2>&1 </dev/null` in
5065 *GNU* | *'with BFD'*)
5066 lt_cv_prog_gnu_ld=yes
5069 lt_cv_prog_gnu_ld=no
5073 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5074 printf "%s
\n" "$lt_cv_prog_gnu_ld" >&6; }
5075 with_gnu_ld=$lt_cv_prog_gnu_ld
5085 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for BSD
- or MS
-compatible name lister
(nm
)" >&5
5086 printf %s "checking
for BSD
- or MS
-compatible name lister
(nm
)...
" >&6; }
5087 if test ${lt_cv_path_NM+y}
5089 printf %s "(cached
) " >&6
5091 if test -n "$NM"; then
5092 # Let the user override the test.
5095 lt_nm_to_check=${ac_tool_prefix}nm
5096 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5097 lt_nm_to_check="$lt_nm_to_check nm
"
5099 for lt_tmp_nm in $lt_nm_to_check; do
5100 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5101 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5103 test -z "$ac_dir" && ac_dir=.
5104 tmp_nm=$ac_dir/$lt_tmp_nm
5105 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5106 # Check to see if the nm accepts a BSD-compat flag.
5107 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5108 # nm: unknown option "B
" ignored
5109 # Tru64's nm complains that /dev/null is an invalid object file
5110 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5112 mingw*) lt_bad_file=conftest.nm/nofile ;;
5113 *) lt_bad_file=/dev/null ;;
5115 case `"$tmp_nm" -B $lt_bad_file 2>&1 | $SED '1q'` in
5116 *$lt_bad_file* | *'Invalid file or object type'*)
5117 lt_cv_path_NM="$tmp_nm -B"
5121 case `"$tmp_nm" -p /dev/null 2>&1 | $SED '1q'` in
5123 lt_cv_path_NM="$tmp_nm -p"
5127 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5128 continue # so that we can try to find one that supports BSD flags
5137 : ${lt_cv_path_NM=no}
5140 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5141 printf "%s
\n" "$lt_cv_path_NM" >&6; }
5142 if test no != "$lt_cv_path_NM"; then
5145 # Didn't find any BSD compatible name lister, look for dumpbin.
5146 if test -n "$DUMPBIN"; then :
5147 # Let the user override the test.
5149 if test -n "$ac_tool_prefix"; then
5150 for ac_prog in dumpbin "link
-dump"
5152 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5153 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5154 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5155 printf %s "checking
for $ac_word...
" >&6; }
5156 if test ${ac_cv_prog_DUMPBIN+y}
5158 printf %s "(cached
) " >&6
5160 if test -n "$DUMPBIN"; then
5161 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 case $as_dir in #(((
5170 *) as_dir=$as_dir/ ;;
5172 for ac_exec_ext in '' $ac_executable_extensions; do
5173 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5175 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5184 DUMPBIN=$ac_cv_prog_DUMPBIN
5185 if test -n "$DUMPBIN"; then
5186 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5187 printf "%s
\n" "$DUMPBIN" >&6; }
5189 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5190 printf "%s
\n" "no
" >&6; }
5194 test -n "$DUMPBIN" && break
5197 if test -z "$DUMPBIN"; then
5198 ac_ct_DUMPBIN=$DUMPBIN
5199 for ac_prog in dumpbin "link
-dump"
5201 # Extract the first word of "$ac_prog", so it can be a program name with args.
5202 set dummy $ac_prog; ac_word=$2
5203 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5204 printf %s "checking
for $ac_word...
" >&6; }
5205 if test ${ac_cv_prog_ac_ct_DUMPBIN+y}
5207 printf %s "(cached
) " >&6
5209 if test -n "$ac_ct_DUMPBIN"; then
5210 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 case $as_dir in #(((
5219 *) as_dir=$as_dir/ ;;
5221 for ac_exec_ext in '' $ac_executable_extensions; do
5222 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5223 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5224 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5233 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5234 if test -n "$ac_ct_DUMPBIN"; then
5235 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5236 printf "%s
\n" "$ac_ct_DUMPBIN" >&6; }
5238 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5239 printf "%s
\n" "no
" >&6; }
5243 test -n "$ac_ct_DUMPBIN" && break
5246 if test "x
$ac_ct_DUMPBIN" = x; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5252 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5253 ac_tool_warned=yes ;;
5255 DUMPBIN=$ac_ct_DUMPBIN
5259 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | $SED '1q'` in
5261 DUMPBIN="$DUMPBIN -symbols -headers"
5269 if test : != "$DUMPBIN"; then
5273 test -z "$NM" && NM=nm
5280 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5281 printf %s "checking the name lister
($NM) interface...
" >&6; }
5282 if test ${lt_cv_nm_interface+y}
5284 printf %s "(cached
) " >&6
5286 lt_cv_nm_interface="BSD nm
"
5287 echo "int some_variable
= 0;" > conftest.$ac_ext
5288 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5289 (eval "$ac_compile" 2>conftest.err)
5290 cat conftest.err >&5
5291 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5292 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5293 cat conftest.err >&5
5294 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5295 cat conftest.out >&5
5296 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5297 lt_cv_nm_interface="MS dumpbin
"
5301 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5302 printf "%s
\n" "$lt_cv_nm_interface" >&6; }
5304 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
5305 printf %s "checking whether
ln -s works...
" >&6; }
5307 if test "$LN_S" = "ln -s"; then
5308 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5309 printf "%s
\n" "yes" >&6; }
5311 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
5312 printf "%s
\n" "no
, using
$LN_S" >&6; }
5315 # find the maximum length of command line arguments
5316 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5317 printf %s "checking the maximum length of
command line arguments...
" >&6; }
5318 if test ${lt_cv_sys_max_cmd_len+y}
5320 printf %s "(cached
) " >&6
5327 # On DJGPP, this test can blow up pretty badly due to problems in libc
5328 # (any single argument exceeding 2000 bytes causes a buffer overrun
5329 # during glob expansion). Even if it were fixed, the result of this
5330 # check would be larger than it should be.
5331 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5335 # Under GNU Hurd, this test is not required because there is
5336 # no limit to the length of command line arguments.
5337 # Libtool will interpret -1 as no limit whatsoever
5338 lt_cv_sys_max_cmd_len=-1;
5341 cygwin* | mingw* | cegcc*)
5342 # On Win9x/ME, this test blows up -- it succeeds, but takes
5343 # about 5 minutes as the teststring grows exponentially.
5344 # Worse, since 9x/ME are not pre-emptively multitasking,
5345 # you end up with a "frozen
" computer, even though with patience
5346 # the test eventually succeeds (with a max line length of 256k).
5347 # Instead, let's just punt: use the minimum linelength reported by
5348 # all of the supported platforms: 8192 (on NT/2K/XP).
5349 lt_cv_sys_max_cmd_len=8192;
5353 # On MiNT this can take a long time and run out of memory.
5354 lt_cv_sys_max_cmd_len=8192;
5358 # On AmigaOS with pdksh, this test takes hours, literally.
5359 # So we just punt and use a minimum line length of 8192.
5360 lt_cv_sys_max_cmd_len=8192;
5363 bitrig* | darwin* | dragonfly* | freebsd* | midnightbsd* | netbsd* | openbsd*)
5364 # This has been around since 386BSD, at least. Likely further.
5365 if test -x /sbin/sysctl; then
5366 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5367 elif test -x /usr/sbin/sysctl; then
5368 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5370 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5372 # And add a safety zone
5373 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5374 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5378 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5379 lt_cv_sys_max_cmd_len=196608
5383 # The test takes a long time on OS/2.
5384 lt_cv_sys_max_cmd_len=8192
5388 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5389 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5390 # nice to cause kernel panics so lets avoid the loop below.
5391 # First set a reasonable default.
5392 lt_cv_sys_max_cmd_len=16384
5394 if test -x /sbin/sysconfig; then
5395 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5396 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5401 lt_cv_sys_max_cmd_len=102400
5403 sysv5* | sco5v6* | sysv4.2uw2*)
5404 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5405 if test -n "$kargmax"; then
5406 lt_cv_sys_max_cmd_len=`echo $kargmax | $SED 's/.*[ ]//'`
5408 lt_cv_sys_max_cmd_len=32768
5412 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5413 if test -n "$lt_cv_sys_max_cmd_len" && \
5414 test undefined != "$lt_cv_sys_max_cmd_len"; then
5415 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5416 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5418 # Make teststring a little bigger before we do anything with it.
5419 # a 1K string should be a reasonable start.
5420 for i in 1 2 3 4 5 6 7 8; do
5421 teststring=$teststring$teststring
5423 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5424 # If test is not a shell built-in, we'll probably end up computing a
5425 # maximum length that is only half of the actual maximum length, but
5427 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5428 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5429 test 17 != "$i" # 1/2 MB should be enough
5432 teststring=$teststring$teststring
5434 # Only check the string length outside the loop.
5435 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5437 # Add a significant safety factor because C++ compilers can tack on
5438 # massive amounts of additional arguments before passing them to the
5439 # linker. It appears as though 1/2 is a usable value.
5440 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5447 if test -n "$lt_cv_sys_max_cmd_len"; then
5448 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5449 printf "%s
\n" "$lt_cv_sys_max_cmd_len" >&6; }
5451 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5452 printf "%s
\n" "none
" >&6; }
5454 max_cmd_len=$lt_cv_sys_max_cmd_len
5465 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5475 # test EBCDIC or ASCII
5476 case `echo X|tr X '\101'` in
5477 A) # ASCII based system
5478 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5479 lt_SP2NL='tr \040 \012'
5480 lt_NL2SP='tr \015\012 \040\040'
5482 *) # EBCDIC based system
5483 lt_SP2NL='tr \100 \n'
5484 lt_NL2SP='tr \r\n \100\100'
5496 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
5497 printf %s "checking how to convert
$build file names to
$host format...
" >&6; }
5498 if test ${lt_cv_to_host_file_cmd+y}
5500 printf %s "(cached
) " >&6
5505 *-*-mingw* ) # actually msys
5506 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5509 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5511 * ) # otherwise, assume *nix
5512 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5518 *-*-mingw* ) # actually msys
5519 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5522 lt_cv_to_host_file_cmd=func_convert_file_noop
5524 * ) # otherwise, assume *nix
5525 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5529 * ) # unhandled hosts (and "normal
" native builds)
5530 lt_cv_to_host_file_cmd=func_convert_file_noop
5536 to_host_file_cmd=$lt_cv_to_host_file_cmd
5537 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
5538 printf "%s
\n" "$lt_cv_to_host_file_cmd" >&6; }
5544 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
5545 printf %s "checking how to convert
$build file names to toolchain format...
" >&6; }
5546 if test ${lt_cv_to_tool_file_cmd+y}
5548 printf %s "(cached
) " >&6
5550 #assume ordinary cross tools, or native build.
5551 lt_cv_to_tool_file_cmd=func_convert_file_noop
5555 *-*-mingw* ) # actually msys
5556 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5564 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5565 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
5566 printf "%s
\n" "$lt_cv_to_tool_file_cmd" >&6; }
5572 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5573 printf %s "checking
for $LD option to reload object files...
" >&6; }
5574 if test ${lt_cv_ld_reload_flag+y}
5576 printf %s "(cached
) " >&6
5578 lt_cv_ld_reload_flag='-r'
5580 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5581 printf "%s
\n" "$lt_cv_ld_reload_flag" >&6; }
5582 reload_flag=$lt_cv_ld_reload_flag
5583 case $reload_flag in
5585 *) reload_flag=" $reload_flag" ;;
5587 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5589 cygwin* | mingw* | pw32* | cegcc*)
5590 if test yes != "$GCC"; then
5595 if test yes = "$GCC"; then
5596 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5598 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5611 if test -n "$ac_tool_prefix"; then
5612 # Extract the first word of "${ac_tool_prefix}file", so it can be a program name with args.
5613 set dummy ${ac_tool_prefix}file; ac_word=$2
5614 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5615 printf %s "checking
for $ac_word...
" >&6; }
5616 if test ${ac_cv_prog_FILECMD+y}
5618 printf %s "(cached
) " >&6
5620 if test -n "$FILECMD"; then
5621 ac_cv_prog_FILECMD="$FILECMD" # Let the user override the test.
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 case $as_dir in #(((
5630 *) as_dir=$as_dir/ ;;
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5634 ac_cv_prog_FILECMD="${ac_tool_prefix}file"
5635 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5644 FILECMD=$ac_cv_prog_FILECMD
5645 if test -n "$FILECMD"; then
5646 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $FILECMD" >&5
5647 printf "%s
\n" "$FILECMD" >&6; }
5649 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5650 printf "%s
\n" "no
" >&6; }
5655 if test -z "$ac_cv_prog_FILECMD"; then
5656 ac_ct_FILECMD=$FILECMD
5657 # Extract the first word of "file", so it can be a program name with args.
5658 set dummy file; ac_word=$2
5659 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5660 printf %s "checking
for $ac_word...
" >&6; }
5661 if test ${ac_cv_prog_ac_ct_FILECMD+y}
5663 printf %s "(cached
) " >&6
5665 if test -n "$ac_ct_FILECMD"; then
5666 ac_cv_prog_ac_ct_FILECMD="$ac_ct_FILECMD" # Let the user override the test.
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 case $as_dir in #(((
5675 *) as_dir=$as_dir/ ;;
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_ac_ct_FILECMD="file"
5680 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5689 ac_ct_FILECMD=$ac_cv_prog_ac_ct_FILECMD
5690 if test -n "$ac_ct_FILECMD"; then
5691 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_FILECMD" >&5
5692 printf "%s
\n" "$ac_ct_FILECMD" >&6; }
5694 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5695 printf "%s
\n" "no
" >&6; }
5698 if test "x
$ac_ct_FILECMD" = x; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5704 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5705 ac_tool_warned=yes ;;
5707 FILECMD=$ac_ct_FILECMD
5710 FILECMD="$ac_cv_prog_FILECMD"
5719 if test -n "$ac_tool_prefix"; then
5720 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5722 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5723 printf %s "checking
for $ac_word...
" >&6; }
5724 if test ${ac_cv_prog_OBJDUMP+y}
5726 printf %s "(cached
) " >&6
5728 if test -n "$OBJDUMP"; then
5729 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 case $as_dir in #(((
5738 *) as_dir=$as_dir/ ;;
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5742 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5743 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5752 OBJDUMP=$ac_cv_prog_OBJDUMP
5753 if test -n "$OBJDUMP"; then
5754 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5755 printf "%s
\n" "$OBJDUMP" >&6; }
5757 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5758 printf "%s
\n" "no
" >&6; }
5763 if test -z "$ac_cv_prog_OBJDUMP"; then
5764 ac_ct_OBJDUMP=$OBJDUMP
5765 # Extract the first word of "objdump
", so it can be a program name with args.
5766 set dummy objdump; ac_word=$2
5767 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5768 printf %s "checking
for $ac_word...
" >&6; }
5769 if test ${ac_cv_prog_ac_ct_OBJDUMP+y}
5771 printf %s "(cached
) " >&6
5773 if test -n "$ac_ct_OBJDUMP"; then
5774 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 case $as_dir in #(((
5783 *) as_dir=$as_dir/ ;;
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5788 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
5797 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5798 if test -n "$ac_ct_OBJDUMP"; then
5799 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5800 printf "%s
\n" "$ac_ct_OBJDUMP" >&6; }
5802 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5803 printf "%s
\n" "no
" >&6; }
5806 if test "x
$ac_ct_OBJDUMP" = x; then
5809 case $cross_compiling:$ac_tool_warned in
5811 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5812 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5813 ac_tool_warned=yes ;;
5815 OBJDUMP=$ac_ct_OBJDUMP
5818 OBJDUMP="$ac_cv_prog_OBJDUMP"
5821 test -z "$OBJDUMP" && OBJDUMP=objdump
5831 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5832 printf %s "checking how to recognize dependent libraries...
" >&6; }
5833 if test ${lt_cv_deplibs_check_method+y}
5835 printf %s "(cached
) " >&6
5837 lt_cv_file_magic_cmd='$MAGIC_CMD'
5838 lt_cv_file_magic_test_file=
5839 lt_cv_deplibs_check_method='unknown'
5840 # Need to set the preceding variable on all platforms that support
5841 # interlibrary dependencies.
5842 # 'none' -- dependencies not supported.
5843 # 'unknown' -- same as none, but documents that we really don't know.
5844 # 'pass_all' -- all dependencies passed with no checks.
5845 # 'test_compile' -- check by making test program.
5846 # 'file_magic [[regex]]' -- check by looking for files in library path
5847 # that responds to the $file_magic_cmd with a given extended regex.
5848 # If you have 'file' or equivalent on your system and you're not sure
5849 # whether 'pass_all' will *always* work, you probably want this one.
5853 lt_cv_deplibs_check_method=pass_all
5857 lt_cv_deplibs_check_method=pass_all
5861 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5862 lt_cv_file_magic_cmd='$FILECMD -L'
5863 lt_cv_file_magic_test_file=/shlib/libc.so
5867 # func_win32_libid is a shell function defined in ltmain.sh
5868 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5869 lt_cv_file_magic_cmd='func_win32_libid'
5873 # Base MSYS/MinGW do not provide the 'file' command needed by
5874 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5875 # unless we find 'file', for example because we are cross-compiling.
5876 if ( file / ) >/dev/null 2>&1; then
5877 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5878 lt_cv_file_magic_cmd='func_win32_libid'
5880 # Keep this pattern in sync with the one in func_win32_libid.
5881 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5882 lt_cv_file_magic_cmd='$OBJDUMP -f'
5887 # use the weaker test based on 'objdump'. See mingw*.
5888 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5889 lt_cv_file_magic_cmd='$OBJDUMP -f'
5892 darwin* | rhapsody*)
5893 lt_cv_deplibs_check_method=pass_all
5896 freebsd* | dragonfly* | midnightbsd*)
5897 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5900 # Not sure whether the presence of OpenBSD here was a mistake.
5901 # Let's accept both of them until this is cleared up.
5902 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5903 lt_cv_file_magic_cmd=$FILECMD
5904 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5908 lt_cv_deplibs_check_method=pass_all
5913 lt_cv_deplibs_check_method=pass_all
5916 hpux10.20* | hpux11*)
5917 lt_cv_file_magic_cmd=$FILECMD
5920 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5921 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5924 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]'
5925 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5928 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5929 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5935 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5936 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5939 irix5* | irix6* | nonstopux*)
5941 *-32|*"-32 ") libmagic=32-bit;;
5942 *-n32|*"-n32 ") libmagic=N32;;
5943 *-64|*"-64 ") libmagic=64-bit;;
5944 *) libmagic=never-match;;
5946 lt_cv_deplibs_check_method=pass_all
5949 # This must be glibc/ELF.
5950 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5951 lt_cv_deplibs_check_method=pass_all
5955 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5956 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5958 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5964 lt_cv_file_magic_cmd=$FILECMD
5965 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5969 lt_cv_deplibs_check_method=pass_all
5973 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5974 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5976 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5980 osf3* | osf4* | osf5*)
5981 lt_cv_deplibs_check_method=pass_all
5985 lt_cv_deplibs_check_method=pass_all
5989 lt_cv_deplibs_check_method=pass_all
5992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5993 lt_cv_deplibs_check_method=pass_all
5997 case $host_vendor in
5999 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]'
6000 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6003 lt_cv_deplibs_check_method=pass_all
6006 lt_cv_file_magic_cmd='/bin/file'
6007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6010 lt_cv_file_magic_cmd='/bin/file'
6011 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6012 lt_cv_file_magic_test_file=/lib/libc.so
6015 lt_cv_deplibs_check_method=pass_all
6018 lt_cv_deplibs_check_method=pass_all
6024 lt_cv_deplibs_check_method=pass_all
6027 lt_cv_deplibs_check_method=pass_all
6032 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6033 printf "%s
\n" "$lt_cv_deplibs_check_method" >&6; }
6037 if test "$build" = "$host"; then
6040 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6043 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
6049 file_magic_cmd=$lt_cv_file_magic_cmd
6050 deplibs_check_method=$lt_cv_deplibs_check_method
6051 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6074 if test -n "$ac_tool_prefix"; then
6075 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
6076 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6077 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6078 printf %s "checking
for $ac_word...
" >&6; }
6079 if test ${ac_cv_prog_DLLTOOL+y}
6081 printf %s "(cached
) " >&6
6083 if test -n "$DLLTOOL"; then
6084 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 case $as_dir in #(((
6093 *) as_dir=$as_dir/ ;;
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
6098 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6107 DLLTOOL=$ac_cv_prog_DLLTOOL
6108 if test -n "$DLLTOOL"; then
6109 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
6110 printf "%s
\n" "$DLLTOOL" >&6; }
6112 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6113 printf "%s
\n" "no
" >&6; }
6118 if test -z "$ac_cv_prog_DLLTOOL"; then
6119 ac_ct_DLLTOOL=$DLLTOOL
6120 # Extract the first word of "dlltool
", so it can be a program name with args.
6121 set dummy dlltool; ac_word=$2
6122 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6123 printf %s "checking
for $ac_word...
" >&6; }
6124 if test ${ac_cv_prog_ac_ct_DLLTOOL+y}
6126 printf %s "(cached
) " >&6
6128 if test -n "$ac_ct_DLLTOOL"; then
6129 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 case $as_dir in #(((
6138 *) as_dir=$as_dir/ ;;
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6142 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
6143 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6152 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6153 if test -n "$ac_ct_DLLTOOL"; then
6154 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
6155 printf "%s
\n" "$ac_ct_DLLTOOL" >&6; }
6157 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6158 printf "%s
\n" "no
" >&6; }
6161 if test "x
$ac_ct_DLLTOOL" = x; then
6164 case $cross_compiling:$ac_tool_warned in
6166 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6167 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6168 ac_tool_warned=yes ;;
6170 DLLTOOL=$ac_ct_DLLTOOL
6173 DLLTOOL="$ac_cv_prog_DLLTOOL"
6176 test -z "$DLLTOOL" && DLLTOOL=dlltool
6187 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
6188 printf %s "checking how to associate runtime and link libraries...
" >&6; }
6189 if test ${lt_cv_sharedlib_from_linklib_cmd+y}
6191 printf %s "(cached
) " >&6
6193 lt_cv_sharedlib_from_linklib_cmd='unknown'
6196 cygwin* | mingw* | pw32* | cegcc*)
6197 # two different shell functions defined in ltmain.sh;
6198 # decide which one to use based on capabilities of $DLLTOOL
6199 case `$DLLTOOL --help 2>&1` in
6200 *--identify-strict*)
6201 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6204 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6209 # fallback: assume linklib IS sharedlib
6210 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6215 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
6216 printf "%s
\n" "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6217 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6218 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6227 if test -n "$ac_tool_prefix"; then
6230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6232 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6233 printf %s "checking
for $ac_word...
" >&6; }
6234 if test ${ac_cv_prog_AR+y}
6236 printf %s "(cached
) " >&6
6238 if test -n "$AR"; then
6239 ac_cv_prog_AR="$AR" # Let the user override the test.
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6245 case $as_dir in #(((
6248 *) as_dir=$as_dir/ ;;
6250 for ac_exec_ext in '' $ac_executable_extensions; do
6251 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6252 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6253 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6263 if test -n "$AR"; then
6264 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6265 printf "%s
\n" "$AR" >&6; }
6267 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6268 printf "%s
\n" "no
" >&6; }
6272 test -n "$AR" && break
6275 if test -z "$AR"; then
6279 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy $ac_prog; ac_word=$2
6281 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6282 printf %s "checking
for $ac_word...
" >&6; }
6283 if test ${ac_cv_prog_ac_ct_AR+y}
6285 printf %s "(cached
) " >&6
6287 if test -n "$ac_ct_AR"; then
6288 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 case $as_dir in #(((
6297 *) as_dir=$as_dir/ ;;
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6301 ac_cv_prog_ac_ct_AR="$ac_prog"
6302 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6311 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6312 if test -n "$ac_ct_AR"; then
6313 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6314 printf "%s
\n" "$ac_ct_AR" >&6; }
6316 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6317 printf "%s
\n" "no
" >&6; }
6321 test -n "$ac_ct_AR" && break
6324 if test "x
$ac_ct_AR" = x; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6330 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6331 ac_tool_warned=yes ;;
6344 # Use ARFLAGS variable as AR's operation code to sync the variable naming with
6345 # Automake. If both AR_FLAGS and ARFLAGS are specified, AR_FLAGS should have
6346 # higher priority because thats what people were doing historically (setting
6347 # ARFLAGS for automake and AR_FLAGS for libtool). FIXME: Make the AR_FLAGS
6348 # variable obsoleted/removed.
6350 test ${AR_FLAGS+y} || AR_FLAGS=${ARFLAGS-cr}
6351 lt_ar_flags=$AR_FLAGS
6358 # Make AR_FLAGS overridable by 'make ARFLAGS='. Don't try to run-time override
6359 # by AR_FLAGS because that was never working and AR_FLAGS is about to die.
6366 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
6367 printf %s "checking
for archiver @FILE support...
" >&6; }
6368 if test ${lt_cv_ar_at_file+y}
6370 printf %s "(cached
) " >&6
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6384 if ac_fn_c_try_compile "$LINENO"
6386 echo conftest.$ac_objext > conftest.lst
6387 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6388 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6389 (eval $lt_ar_try) 2>&5
6391 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6392 test $ac_status = 0; }
6393 if test 0 -eq "$ac_status"; then
6394 # Ensure the archiver fails upon bogus file names.
6395 rm -f conftest.$ac_objext libconftest.a
6396 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6397 (eval $lt_ar_try) 2>&5
6399 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6400 test $ac_status = 0; }
6401 if test 0 -ne "$ac_status"; then
6405 rm -f conftest.* libconftest.a
6408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6411 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
6412 printf "%s
\n" "$lt_cv_ar_at_file" >&6; }
6414 if test no = "$lt_cv_ar_at_file"; then
6417 archiver_list_spec=$lt_cv_ar_at_file
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}strip; ac_word=$2
6429 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6430 printf %s "checking
for $ac_word...
" >&6; }
6431 if test ${ac_cv_prog_STRIP+y}
6433 printf %s "(cached
) " >&6
6435 if test -n "$STRIP"; then
6436 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442 case $as_dir in #(((
6445 *) as_dir=$as_dir/ ;;
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6450 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6459 STRIP=$ac_cv_prog_STRIP
6460 if test -n "$STRIP"; then
6461 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6462 printf "%s
\n" "$STRIP" >&6; }
6464 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6465 printf "%s
\n" "no
" >&6; }
6470 if test -z "$ac_cv_prog_STRIP"; then
6472 # Extract the first word of "strip
", so it can be a program name with args.
6473 set dummy strip; ac_word=$2
6474 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6475 printf %s "checking
for $ac_word...
" >&6; }
6476 if test ${ac_cv_prog_ac_ct_STRIP+y}
6478 printf %s "(cached
) " >&6
6480 if test -n "$ac_ct_STRIP"; then
6481 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 case $as_dir in #(((
6490 *) as_dir=$as_dir/ ;;
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6494 ac_cv_prog_ac_ct_STRIP="strip
"
6495 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6504 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6505 if test -n "$ac_ct_STRIP"; then
6506 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6507 printf "%s
\n" "$ac_ct_STRIP" >&6; }
6509 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6510 printf "%s
\n" "no
" >&6; }
6513 if test "x
$ac_ct_STRIP" = x; then
6516 case $cross_compiling:$ac_tool_warned in
6518 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6519 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6520 ac_tool_warned=yes ;;
6525 STRIP="$ac_cv_prog_STRIP"
6528 test -z "$STRIP" && STRIP=:
6535 if test -n "$ac_tool_prefix"; then
6536 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6537 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6538 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6539 printf %s "checking
for $ac_word...
" >&6; }
6540 if test ${ac_cv_prog_RANLIB+y}
6542 printf %s "(cached
) " >&6
6544 if test -n "$RANLIB"; then
6545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 case $as_dir in #(((
6554 *) as_dir=$as_dir/ ;;
6556 for ac_exec_ext in '' $ac_executable_extensions; do
6557 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6558 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6559 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6568 RANLIB=$ac_cv_prog_RANLIB
6569 if test -n "$RANLIB"; then
6570 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6571 printf "%s
\n" "$RANLIB" >&6; }
6573 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6574 printf "%s
\n" "no
" >&6; }
6579 if test -z "$ac_cv_prog_RANLIB"; then
6580 ac_ct_RANLIB=$RANLIB
6581 # Extract the first word of "ranlib
", so it can be a program name with args.
6582 set dummy ranlib; ac_word=$2
6583 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6584 printf %s "checking
for $ac_word...
" >&6; }
6585 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6587 printf %s "(cached
) " >&6
6589 if test -n "$ac_ct_RANLIB"; then
6590 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 case $as_dir in #(((
6599 *) as_dir=$as_dir/ ;;
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6604 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
6613 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6614 if test -n "$ac_ct_RANLIB"; then
6615 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6616 printf "%s
\n" "$ac_ct_RANLIB" >&6; }
6618 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6619 printf "%s
\n" "no
" >&6; }
6622 if test "x
$ac_ct_RANLIB" = x; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6628 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6629 ac_tool_warned=yes ;;
6631 RANLIB=$ac_ct_RANLIB
6634 RANLIB="$ac_cv_prog_RANLIB"
6637 test -z "$RANLIB" && RANLIB=:
6644 # Determine commands to create old-style static archives.
6645 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6646 old_postinstall_cmds='chmod 644 $oldlib'
6647 old_postuninstall_cmds=
6649 if test -n "$RANLIB"; then
6652 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
6655 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
6658 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
6663 lock_old_archive_extraction=yes ;;
6665 lock_old_archive_extraction=no ;;
6706 # If no C compiler was specified, use CC.
6709 # If no C compiler flags were specified, use CFLAGS.
6710 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6712 # Allow CC to be a program name with arguments.
6716 # Check for command to grab the raw symbol name followed by C symbol from nm.
6717 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6718 printf %s "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6719 if test ${lt_cv_sys_global_symbol_pipe+y}
6721 printf %s "(cached
) " >&6
6724 # These are sane defaults that work on at least a few old systems.
6725 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6727 # Character class describing NM global symbol codes.
6728 symcode='[BCDEGRST]'
6730 # Regexp to match symbols that can be accessed directly from C.
6731 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6733 # Define system-specific variables.
6738 cygwin* | mingw* | pw32* | cegcc*)
6739 symcode='[ABCDGISTW]'
6742 if test ia64 = "$host_cpu"; then
6743 symcode='[ABCDEGRST]'
6747 symcode='[BCDEGRST]'
6750 symcode='[BCDEGQRST]'
6761 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6769 # If we're using GNU nm, then use its standard symbol codes.
6770 case `$NM -V 2>&1` in
6771 *GNU* | *'with BFD'*)
6772 symcode='[ABCDGIRSTW]' ;;
6775 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6776 # Gets list of data symbols to import.
6777 lt_cv_sys_global_symbol_to_import="$SED -n -e 's/^I .* \(.*\)$/\1/p'"
6778 # Adjust the below global symbol transforms to fixup imported variables.
6779 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6780 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6781 lt_c_name_lib_hook="\
6782 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6783 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6785 # Disable hooks by default.
6786 lt_cv_sys_global_symbol_to_import=
6792 # Transform an extracted symbol line into a proper C declaration.
6793 # Some systems (esp. on ia64) link data and code symbols differently,
6794 # so use this general approach.
6795 lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
6797 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6798 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6800 # Transform an extracted symbol line into symbol name and symbol address
6801 lt_cv_sys_global_symbol_to_c_name_address="$SED -n"\
6803 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6804 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6806 # Transform an extracted symbol line into symbol name with lib prefix and
6808 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="$SED -n"\
6809 $lt_c_name_lib_hook\
6810 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6811 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6812 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6814 # Handle CRLF in mingw tool chain
6818 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6822 # Try without a prefix underscore, then with it.
6823 for ac_symprfx in "" "_
"; do
6825 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6826 symxfrm="\\1 $ac_symprfx\\2 \\2"
6828 # Write the raw and C identifiers.
6829 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6830 # Fake it for dumpbin and say T for any non-static function,
6831 # D for any global variable and I for any imported variable.
6832 # Also find C++ and __fastcall symbols from MSVC++ or ICC,
6833 # which start with @ or ?.
6834 lt_cv_sys_global_symbol_pipe="$AWK '"\
6835 " {last_section=section; section=\$ 3};"\
6836 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6837 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6838 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6839 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6840 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6841 " \$ 0!~/External *\|/{next};"\
6842 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6843 " {if(hide[section]) next};"\
6844 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6845 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6846 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6847 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6848 " ' prfx
=^
$ac_symprfx"
6850 lt_cv_sys_global_symbol_pipe="$SED -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6852 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | $SED '/ __gnu_lto/d'"
6854 # Check to see that the pipe works correctly.
6858 cat > conftest.$ac_ext <<_LT_EOF
6863 void nm_test_func(void);
6864 void nm_test_func(void){}
6868 int main(){nm_test_var='a';nm_test_func();return(0);}
6871 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6872 (eval $ac_compile) 2>&5
6874 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6875 test $ac_status = 0; }; then
6876 # Now try to grab the symbols.
6878 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \
| "$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
6879 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6881 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6882 test $ac_status = 0; } && test -s "$nlist"; then
6883 # Try sorting and uniquifying the output.
6884 if sort "$nlist" | uniq > "$nlist"T; then
6885 mv -f "$nlist"T "$nlist"
6890 # Make sure that we snagged all the symbols we need.
6891 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6892 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6893 cat <<_LT_EOF > conftest.$ac_ext
6894 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6895 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6896 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6897 relocations are performed -- see ld's documentation on pseudo-relocs. */
6898 # define LT_DLSYM_CONST
6899 #elif defined __osf__
6900 /* This system does not cope well with relocations in const data. */
6901 # define LT_DLSYM_CONST
6903 # define LT_DLSYM_CONST const
6911 # Now generate the symbol file.
6912 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6914 cat <<_LT_EOF >> conftest.$ac_ext
6916 /* The mapping between symbol names and symbols. */
6917 LT_DLSYM_CONST struct {
6921 lt__PROGRAM__LTX_preloaded_symbols[] =
6923 { "@PROGRAM@
", (void *) 0 },
6925 $SED "s
/^
$symcode$symcode* .
* \
(.
*\
)$
/ {\"\
1\", (void
*) \
&\
1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6926 cat <<\_LT_EOF >> conftest.$ac_ext
6930 /* This works around a problem in FreeBSD linker */
6931 #ifdef FREEBSD_WORKAROUND
6932 static const void *lt_preloaded_setup() {
6933 return lt__PROGRAM__LTX_preloaded_symbols;
6941 # Now try linking the two files.
6942 mv conftest.$ac_objext conftstm.$ac_objext
6943 lt_globsym_save_LIBS=$LIBS
6944 lt_globsym_save_CFLAGS=$CFLAGS
6945 LIBS=conftstm.$ac_objext
6946 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6947 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6948 (eval $ac_link) 2>&5
6950 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6951 test $ac_status = 0; } && test -s conftest$ac_exeext; then
6954 LIBS=$lt_globsym_save_LIBS
6955 CFLAGS=$lt_globsym_save_CFLAGS
6957 echo "cannot
find nm_test_func
in $nlist" >&5
6960 echo "cannot
find nm_test_var
in $nlist" >&5
6963 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6966 echo "$progname: failed program was
:" >&5
6967 cat conftest.$ac_ext >&5
6969 rm -rf conftest* conftst*
6971 # Do not use the global_symbol_pipe unless it works.
6972 if test yes = "$pipe_works"; then
6975 lt_cv_sys_global_symbol_pipe=
6981 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6982 lt_cv_sys_global_symbol_to_cdecl=
6984 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6985 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6986 printf "%s
\n" "failed
" >&6; }
6988 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6989 printf "%s
\n" "ok
" >&6; }
6992 # Response file support.
6993 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6994 nm_file_list_spec='@'
6995 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6996 nm_file_list_spec='@'
7035 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
7036 printf %s "checking
for sysroot...
" >&6; }
7038 # Check whether --with-sysroot was given.
7039 if test ${with_sysroot+y}
7041 withval=$with_sysroot;
7048 case $with_sysroot in #(
7050 if test yes = "$GCC"; then
7051 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7055 lt_sysroot=`echo "$with_sysroot" | $SED -e "$sed_quote_subst"`
7060 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $with_sysroot" >&5
7061 printf "%s
\n" "$with_sysroot" >&6; }
7062 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
7066 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
7067 printf "%s
\n" "${lt_sysroot:-no}" >&6; }
7073 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for a working
dd" >&5
7074 printf %s "checking
for a working
dd...
" >&6; }
7075 if test ${ac_cv_path_lt_DD+y}
7077 printf %s "(cached
) " >&6
7079 printf 0123456789abcdef0123456789abcdef >conftest.i
7080 cat conftest.i conftest.i >conftest2.i
7082 if test -z "$lt_DD"; then
7083 ac_path_lt_DD_found=false
7084 # Loop through the user's path and test for each of PROGNAME-LIST
7085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 case $as_dir in #(((
7092 *) as_dir=$as_dir/ ;;
7096 for ac_exec_ext in '' $ac_executable_extensions; do
7097 ac_path_lt_DD="$as_dir$ac_prog$ac_exec_ext"
7098 as_fn_executable_p "$ac_path_lt_DD" || continue
7099 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7100 cmp -s conftest.i conftest.out \
7101 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7103 $ac_path_lt_DD_found && break 3
7108 if test -z "$ac_cv_path_lt_DD"; then
7112 ac_cv_path_lt_DD=$lt_DD
7115 rm -f conftest.i conftest2.i conftest.out
7117 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_lt_DD" >&5
7118 printf "%s
\n" "$ac_cv_path_lt_DD" >&6; }
7121 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes
" >&5
7122 printf %s "checking how to truncate binary pipes...
" >&6; }
7123 if test ${lt_cv_truncate_bin+y}
7125 printf %s "(cached
) " >&6
7127 printf 0123456789abcdef0123456789abcdef >conftest.i
7128 cat conftest.i conftest.i >conftest2.i
7130 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7131 cmp -s conftest.i conftest.out \
7132 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs
=4096 count
=1"
7134 rm -f conftest.i conftest2.i conftest.out
7135 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q
"
7137 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_truncate_bin" >&5
7138 printf "%s
\n" "$lt_cv_truncate_bin" >&6; }
7146 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7149 for cc_temp in $*""; do
7151 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7152 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7157 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s
%.
*/%%; s
%^
$host_alias-%%"`
7160 # Check whether --enable-libtool-lock was given.
7161 if test ${enable_libtool_lock+y}
7163 enableval=$enable_libtool_lock;
7166 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7168 # Some flags need to be propagated to the compiler or linker for good
7172 # Find out what ABI is being produced by ac_compile, and set mode
7173 # options accordingly.
7174 echo 'int i;' > conftest.$ac_ext
7175 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7176 (eval $ac_compile) 2>&5
7178 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7179 test $ac_status = 0; }; then
7180 case `$FILECMD conftest.$ac_objext` in
7192 # Find out what ABI is being produced by ac_compile, and set linker
7193 # options accordingly.
7194 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7195 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7198 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 if test yes = "$lt_cv_prog_gnu_ld"; then
7201 case `$FILECMD conftest.$ac_objext` in
7203 LD="${LD-ld} -melf32bsmip"
7206 LD="${LD-ld} -melf32bmipn32"
7209 LD="${LD-ld} -melf64bmip"
7213 case `$FILECMD conftest.$ac_objext` in
7230 # Find out what ABI is being produced by ac_compile, and set linker
7231 # options accordingly.
7232 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7233 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7234 (eval $ac_compile) 2>&5
7236 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7237 test $ac_status = 0; }; then
7239 case `$FILECMD conftest.$ac_objext` in
7247 case `$FILECMD conftest.$ac_objext` in
7249 emul="${emul}btsmip
"
7252 emul="${emul}ltsmip
"
7255 case `$FILECMD conftest.$ac_objext` in
7260 LD="${LD-ld} -m $emul"
7265 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7266 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7267 # Find out what ABI is being produced by ac_compile, and set linker
7268 # options accordingly. Note that the listed cases only cover the
7269 # situations where additional linker options are needed (such as when
7270 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7271 # vice versa); the common cases where no linker options are needed do
7272 # not appear in the list.
7273 echo 'int i;' > conftest.$ac_ext
7274 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7275 (eval $ac_compile) 2>&5
7277 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7278 test $ac_status = 0; }; then
7279 case `$FILECMD conftest.o` in
7282 x86_64-*kfreebsd*-gnu)
7283 LD="${LD-ld} -m elf_i386_fbsd
"
7286 case `$FILECMD conftest.o` in
7288 LD="${LD-ld} -m elf32_x86_64
"
7291 LD="${LD-ld} -m elf_i386
"
7295 powerpc64le-*linux*)
7296 LD="${LD-ld} -m elf32lppclinux
"
7299 LD="${LD-ld} -m elf32ppclinux
"
7302 LD="${LD-ld} -m elf_s390
"
7305 LD="${LD-ld} -m elf32_sparc
"
7311 x86_64-*kfreebsd*-gnu)
7312 LD="${LD-ld} -m elf_x86_64_fbsd
"
7315 LD="${LD-ld} -m elf_x86_64
"
7318 LD="${LD-ld} -m elf64lppc
"
7321 LD="${LD-ld} -m elf64ppc
"
7323 s390*-*linux*|s390*-*tpf*)
7324 LD="${LD-ld} -m elf64_s390
"
7327 LD="${LD-ld} -m elf64_sparc
"
7337 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7339 CFLAGS="$CFLAGS -belf"
7340 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7341 printf %s "checking whether the C compiler needs
-belf...
" >&6; }
7342 if test ${lt_cv_cc_needs_belf+y}
7344 printf %s "(cached
) " >&6
7347 ac_cpp='$CPP $CPPFLAGS'
7348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7353 /* end confdefs.h. */
7363 if ac_fn_c_try_link "$LINENO"
7365 lt_cv_cc_needs_belf=yes
7367 lt_cv_cc_needs_belf=no
7369 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7370 conftest$ac_exeext conftest.$ac_ext
7372 ac_cpp='$CPP $CPPFLAGS'
7373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7379 printf "%s
\n" "$lt_cv_cc_needs_belf" >&6; }
7380 if test yes != "$lt_cv_cc_needs_belf"; then
7381 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7386 # Find out what ABI is being produced by ac_compile, and set linker
7387 # options accordingly.
7388 echo 'int i;' > conftest.$ac_ext
7389 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7390 (eval $ac_compile) 2>&5
7392 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7393 test $ac_status = 0; }; then
7394 case `$FILECMD conftest.o` in
7396 case $lt_cv_prog_gnu_ld in
7399 i?86-*-solaris*|x86_64-*-solaris*)
7400 LD="${LD-ld} -m elf_x86_64
"
7403 LD="${LD-ld} -m elf64_sparc
"
7406 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7407 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7412 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7424 need_locks=$enable_libtool_lock
7426 if test -n "$ac_tool_prefix"; then
7427 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}mt; ac_word=$2
7429 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7430 printf %s "checking
for $ac_word...
" >&6; }
7431 if test ${ac_cv_prog_MANIFEST_TOOL+y}
7433 printf %s "(cached
) " >&6
7435 if test -n "$MANIFEST_TOOL"; then
7436 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 case $as_dir in #(((
7445 *) as_dir=$as_dir/ ;;
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7449 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
7450 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7459 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7460 if test -n "$MANIFEST_TOOL"; then
7461 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
7462 printf "%s
\n" "$MANIFEST_TOOL" >&6; }
7464 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7465 printf "%s
\n" "no
" >&6; }
7470 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7471 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7472 # Extract the first word of "mt
", so it can be a program name with args.
7473 set dummy mt; ac_word=$2
7474 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7475 printf %s "checking
for $ac_word...
" >&6; }
7476 if test ${ac_cv_prog_ac_ct_MANIFEST_TOOL+y}
7478 printf %s "(cached
) " >&6
7480 if test -n "$ac_ct_MANIFEST_TOOL"; then
7481 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 case $as_dir in #(((
7490 *) as_dir=$as_dir/ ;;
7492 for ac_exec_ext in '' $ac_executable_extensions; do
7493 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7494 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
7495 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7504 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7505 if test -n "$ac_ct_MANIFEST_TOOL"; then
7506 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
7507 printf "%s
\n" "$ac_ct_MANIFEST_TOOL" >&6; }
7509 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7510 printf "%s
\n" "no
" >&6; }
7513 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
7516 case $cross_compiling:$ac_tool_warned in
7518 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7519 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7520 ac_tool_warned=yes ;;
7522 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7525 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7528 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7529 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
7530 printf %s "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
7531 if test ${lt_cv_path_mainfest_tool+y}
7533 printf %s "(cached
) " >&6
7535 lt_cv_path_mainfest_tool=no
7536 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7537 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7538 cat conftest.err >&5
7539 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7540 lt_cv_path_mainfest_tool=yes
7544 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
7545 printf "%s
\n" "$lt_cv_path_mainfest_tool" >&6; }
7546 if test yes != "$lt_cv_path_mainfest_tool"; then
7556 rhapsody* | darwin*)
7557 if test -n "$ac_tool_prefix"; then
7558 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7559 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7560 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7561 printf %s "checking
for $ac_word...
" >&6; }
7562 if test ${ac_cv_prog_DSYMUTIL+y}
7564 printf %s "(cached
) " >&6
7566 if test -n "$DSYMUTIL"; then
7567 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 case $as_dir in #(((
7576 *) as_dir=$as_dir/ ;;
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7580 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7581 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7590 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7591 if test -n "$DSYMUTIL"; then
7592 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7593 printf "%s
\n" "$DSYMUTIL" >&6; }
7595 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7596 printf "%s
\n" "no
" >&6; }
7601 if test -z "$ac_cv_prog_DSYMUTIL"; then
7602 ac_ct_DSYMUTIL=$DSYMUTIL
7603 # Extract the first word of "dsymutil
", so it can be a program name with args.
7604 set dummy dsymutil; ac_word=$2
7605 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7606 printf %s "checking
for $ac_word...
" >&6; }
7607 if test ${ac_cv_prog_ac_ct_DSYMUTIL+y}
7609 printf %s "(cached
) " >&6
7611 if test -n "$ac_ct_DSYMUTIL"; then
7612 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7618 case $as_dir in #(((
7621 *) as_dir=$as_dir/ ;;
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7626 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7635 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7636 if test -n "$ac_ct_DSYMUTIL"; then
7637 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7638 printf "%s
\n" "$ac_ct_DSYMUTIL" >&6; }
7640 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7641 printf "%s
\n" "no
" >&6; }
7644 if test "x
$ac_ct_DSYMUTIL" = x; then
7647 case $cross_compiling:$ac_tool_warned in
7649 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7650 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7651 ac_tool_warned=yes ;;
7653 DSYMUTIL=$ac_ct_DSYMUTIL
7656 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7659 if test -n "$ac_tool_prefix"; then
7660 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7661 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7662 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7663 printf %s "checking
for $ac_word...
" >&6; }
7664 if test ${ac_cv_prog_NMEDIT+y}
7666 printf %s "(cached
) " >&6
7668 if test -n "$NMEDIT"; then
7669 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 case $as_dir in #(((
7678 *) as_dir=$as_dir/ ;;
7680 for ac_exec_ext in '' $ac_executable_extensions; do
7681 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7682 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7683 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7692 NMEDIT=$ac_cv_prog_NMEDIT
7693 if test -n "$NMEDIT"; then
7694 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7695 printf "%s
\n" "$NMEDIT" >&6; }
7697 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7698 printf "%s
\n" "no
" >&6; }
7703 if test -z "$ac_cv_prog_NMEDIT"; then
7704 ac_ct_NMEDIT=$NMEDIT
7705 # Extract the first word of "nmedit
", so it can be a program name with args.
7706 set dummy nmedit; ac_word=$2
7707 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7708 printf %s "checking
for $ac_word...
" >&6; }
7709 if test ${ac_cv_prog_ac_ct_NMEDIT+y}
7711 printf %s "(cached
) " >&6
7713 if test -n "$ac_ct_NMEDIT"; then
7714 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7720 case $as_dir in #(((
7723 *) as_dir=$as_dir/ ;;
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7727 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7728 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7737 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7738 if test -n "$ac_ct_NMEDIT"; then
7739 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7740 printf "%s
\n" "$ac_ct_NMEDIT" >&6; }
7742 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7743 printf "%s
\n" "no
" >&6; }
7746 if test "x
$ac_ct_NMEDIT" = x; then
7749 case $cross_compiling:$ac_tool_warned in
7751 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7752 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7753 ac_tool_warned=yes ;;
7755 NMEDIT=$ac_ct_NMEDIT
7758 NMEDIT="$ac_cv_prog_NMEDIT"
7761 if test -n "$ac_tool_prefix"; then
7762 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7763 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7764 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7765 printf %s "checking
for $ac_word...
" >&6; }
7766 if test ${ac_cv_prog_LIPO+y}
7768 printf %s "(cached
) " >&6
7770 if test -n "$LIPO"; then
7771 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 case $as_dir in #(((
7780 *) as_dir=$as_dir/ ;;
7782 for ac_exec_ext in '' $ac_executable_extensions; do
7783 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7784 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7785 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7794 LIPO=$ac_cv_prog_LIPO
7795 if test -n "$LIPO"; then
7796 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7797 printf "%s
\n" "$LIPO" >&6; }
7799 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7800 printf "%s
\n" "no
" >&6; }
7805 if test -z "$ac_cv_prog_LIPO"; then
7807 # Extract the first word of "lipo
", so it can be a program name with args.
7808 set dummy lipo; ac_word=$2
7809 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7810 printf %s "checking
for $ac_word...
" >&6; }
7811 if test ${ac_cv_prog_ac_ct_LIPO+y}
7813 printf %s "(cached
) " >&6
7815 if test -n "$ac_ct_LIPO"; then
7816 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7822 case $as_dir in #(((
7825 *) as_dir=$as_dir/ ;;
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_ac_ct_LIPO="lipo
"
7830 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7839 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7840 if test -n "$ac_ct_LIPO"; then
7841 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7842 printf "%s
\n" "$ac_ct_LIPO" >&6; }
7844 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7845 printf "%s
\n" "no
" >&6; }
7848 if test "x
$ac_ct_LIPO" = x; then
7851 case $cross_compiling:$ac_tool_warned in
7853 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7854 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7855 ac_tool_warned=yes ;;
7860 LIPO="$ac_cv_prog_LIPO"
7863 if test -n "$ac_tool_prefix"; then
7864 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7865 set dummy ${ac_tool_prefix}otool; ac_word=$2
7866 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7867 printf %s "checking
for $ac_word...
" >&6; }
7868 if test ${ac_cv_prog_OTOOL+y}
7870 printf %s "(cached
) " >&6
7872 if test -n "$OTOOL"; then
7873 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 case $as_dir in #(((
7882 *) as_dir=$as_dir/ ;;
7884 for ac_exec_ext in '' $ac_executable_extensions; do
7885 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7886 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7887 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7896 OTOOL=$ac_cv_prog_OTOOL
7897 if test -n "$OTOOL"; then
7898 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7899 printf "%s
\n" "$OTOOL" >&6; }
7901 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7902 printf "%s
\n" "no
" >&6; }
7907 if test -z "$ac_cv_prog_OTOOL"; then
7909 # Extract the first word of "otool
", so it can be a program name with args.
7910 set dummy otool; ac_word=$2
7911 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7912 printf %s "checking
for $ac_word...
" >&6; }
7913 if test ${ac_cv_prog_ac_ct_OTOOL+y}
7915 printf %s "(cached
) " >&6
7917 if test -n "$ac_ct_OTOOL"; then
7918 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 case $as_dir in #(((
7927 *) as_dir=$as_dir/ ;;
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_ac_ct_OTOOL="otool
"
7932 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7941 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7942 if test -n "$ac_ct_OTOOL"; then
7943 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7944 printf "%s
\n" "$ac_ct_OTOOL" >&6; }
7946 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7947 printf "%s
\n" "no
" >&6; }
7950 if test "x
$ac_ct_OTOOL" = x; then
7953 case $cross_compiling:$ac_tool_warned in
7955 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7956 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7957 ac_tool_warned=yes ;;
7962 OTOOL="$ac_cv_prog_OTOOL"
7965 if test -n "$ac_tool_prefix"; then
7966 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7967 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7968 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7969 printf %s "checking
for $ac_word...
" >&6; }
7970 if test ${ac_cv_prog_OTOOL64+y}
7972 printf %s "(cached
) " >&6
7974 if test -n "$OTOOL64"; then
7975 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 case $as_dir in #(((
7984 *) as_dir=$as_dir/ ;;
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7989 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
7998 OTOOL64=$ac_cv_prog_OTOOL64
7999 if test -n "$OTOOL64"; then
8000 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8001 printf "%s
\n" "$OTOOL64" >&6; }
8003 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8004 printf "%s
\n" "no
" >&6; }
8009 if test -z "$ac_cv_prog_OTOOL64"; then
8010 ac_ct_OTOOL64=$OTOOL64
8011 # Extract the first word of "otool64
", so it can be a program name with args.
8012 set dummy otool64; ac_word=$2
8013 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8014 printf %s "checking
for $ac_word...
" >&6; }
8015 if test ${ac_cv_prog_ac_ct_OTOOL64+y}
8017 printf %s "(cached
) " >&6
8019 if test -n "$ac_ct_OTOOL64"; then
8020 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 case $as_dir in #(((
8029 *) as_dir=$as_dir/ ;;
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
8033 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8034 printf "%s
\n" "$as_me:${as_lineno-$LINENO}: found
$as_dir$ac_word$ac_exec_ext" >&5
8043 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8044 if test -n "$ac_ct_OTOOL64"; then
8045 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8046 printf "%s
\n" "$ac_ct_OTOOL64" >&6; }
8048 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 printf "%s
\n" "no
" >&6; }
8052 if test "x
$ac_ct_OTOOL64" = x; then
8055 case $cross_compiling:$ac_tool_warned in
8057 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8058 printf "%s
\n" "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8059 ac_tool_warned=yes ;;
8061 OTOOL64=$ac_ct_OTOOL64
8064 OTOOL64="$ac_cv_prog_OTOOL64"
8093 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8094 printf %s "checking
for -single_module linker flag...
" >&6; }
8095 if test ${lt_cv_apple_cc_single_mod+y}
8097 printf %s "(cached
) " >&6
8099 lt_cv_apple_cc_single_mod=no
8100 if test -z "$LT_MULTI_MODULE"; then
8101 # By default we will add the -single_module flag. You can override
8102 # by either setting the environment variable LT_MULTI_MODULE
8103 # non-empty at configure time, or by adding -multi_module to the
8105 rm -rf libconftest.dylib*
8106 echo "int foo
(void
){return 1;}" > conftest.c
8107 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8108 -dynamiclib -Wl,-single_module conftest.c
" >&5
8109 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8110 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8112 # If there is a non-empty error log, and "single_module
"
8113 # appears in it, assume the flag caused a linker warning
8114 if test -s conftest.err && $GREP single_module conftest.err; then
8115 cat conftest.err >&5
8116 # Otherwise, if the output was created with a 0 exit code from
8117 # the compiler, it worked.
8118 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8119 lt_cv_apple_cc_single_mod=yes
8121 cat conftest.err >&5
8123 rm -rf libconftest.dylib*
8127 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8128 printf "%s
\n" "$lt_cv_apple_cc_single_mod" >&6; }
8130 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8131 printf %s "checking
for -exported_symbols_list linker flag...
" >&6; }
8132 if test ${lt_cv_ld_exported_symbols_list+y}
8134 printf %s "(cached
) " >&6
8136 lt_cv_ld_exported_symbols_list=no
8137 save_LDFLAGS=$LDFLAGS
8138 echo "_main
" > conftest.sym
8139 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8141 /* end confdefs.h. */
8151 if ac_fn_c_try_link "$LINENO"
8153 lt_cv_ld_exported_symbols_list=yes
8155 lt_cv_ld_exported_symbols_list=no
8157 rm -f core conftest.err conftest.$ac_objext conftest.beam \
8158 conftest$ac_exeext conftest.$ac_ext
8159 LDFLAGS=$save_LDFLAGS
8162 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8163 printf "%s
\n" "$lt_cv_ld_exported_symbols_list" >&6; }
8165 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8166 printf %s "checking
for -force_load linker flag...
" >&6; }
8167 if test ${lt_cv_ld_force_load+y}
8169 printf %s "(cached
) " >&6
8171 lt_cv_ld_force_load=no
8172 cat > conftest.c << _LT_EOF
8173 int forced_loaded() { return 2;}
8175 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8176 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8177 echo "$AR $AR_FLAGS libconftest.a conftest.o
" >&5
8178 $AR $AR_FLAGS libconftest.a conftest.o 2>&5
8179 echo "$RANLIB libconftest.a
" >&5
8180 $RANLIB libconftest.a 2>&5
8181 cat > conftest.c << _LT_EOF
8182 int main() { return 0;}
8184 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8185 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8187 if test -s conftest.err && $GREP force_load conftest.err; then
8188 cat conftest.err >&5
8189 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8190 lt_cv_ld_force_load=yes
8192 cat conftest.err >&5
8194 rm -f conftest.err libconftest.a conftest conftest.c
8195 rm -rf conftest.dSYM
8198 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8199 printf "%s
\n" "$lt_cv_ld_force_load" >&6; }
8201 rhapsody* | darwin1.[012])
8202 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8204 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8206 case $MACOSX_DEPLOYMENT_TARGET,$host in
8207 10.[012],*|,*powerpc*-darwin[5-8]*)
8208 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8210 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8214 if test yes = "$lt_cv_apple_cc_single_mod"; then
8215 _lt_dar_single_mod='$single_module'
8217 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8218 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8220 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8222 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8223 _lt_dsymutil='~$DSYMUTIL $lib || :'
8230 # func_munge_path_list VARIABLE PATH
8231 # -----------------------------------
8232 # VARIABLE is name of variable containing _space_ separated list of
8233 # directories to be munged by the contents of PATH, which is string
8236 # string "DIR
[ DIR
]" will be prepended to VARIABLE
8238 # string "DIR
[ DIR
]" will be appended to VARIABLE
8239 # "DIRP
[:DIRP
]::[DIRA
:]DIRA
"
8240 # string "DIRP
[ DIRP
]" will be prepended to VARIABLE and string
8241 # "DIRA
[ DIRA
]" will be appended to VARIABLE
8243 # VARIABLE will be replaced by "DIR
[ DIR
]"
8244 func_munge_path_list ()
8250 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8253 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8256 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8257 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8260 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8265 ac_header= ac_cache=
8266 for ac_item in $ac_header_c_list
8268 if test $ac_cache; then
8269 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
8270 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
8271 printf "%s
\n" "#define $ac_item 1" >> confdefs.h
8273 ac_header
= ac_cache
=
8274 elif test $ac_header; then
8288 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
8291 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
8294 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8296 if test "x$ac_cv_header_dlfcn_h" = xyes
8298 printf "%s\n" "#define HAVE_DLFCN_H 1" >>confdefs.h
8316 # Check whether --enable-shared was given.
8317 if test ${enable_shared+y}
8319 enableval
=$enable_shared; p
=${PACKAGE-default}
8321 yes) enable_shared
=yes ;;
8322 no
) enable_shared
=no
;;
8325 # Look at the argument we got. We use all the common list separators.
8326 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8327 for pkg
in $enableval; do
8329 if test "X$pkg" = "X$p"; then
8348 # Check whether --enable-static was given.
8349 if test ${enable_static+y}
8351 enableval
=$enable_static; p
=${PACKAGE-default}
8353 yes) enable_static
=yes ;;
8354 no
) enable_static
=no
;;
8357 # Look at the argument we got. We use all the common list separators.
8358 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8359 for pkg
in $enableval; do
8361 if test "X$pkg" = "X$p"; then
8381 # Check whether --with-pic was given.
8382 if test ${with_pic+y}
8384 withval
=$with_pic; lt_p
=${PACKAGE-default}
8386 yes|no
) pic_mode
=$withval ;;
8389 # Look at the argument we got. We use all the common list separators.
8390 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8391 for lt_pkg
in $withval; do
8393 if test "X$lt_pkg" = "X$lt_p"; then
8411 # Check whether --enable-fast-install was given.
8412 if test ${enable_fast_install+y}
8414 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8416 yes) enable_fast_install
=yes ;;
8417 no
) enable_fast_install
=no
;;
8419 enable_fast_install
=no
8420 # Look at the argument we got. We use all the common list separators.
8421 lt_save_ifs
=$IFS; IFS
=$IFS$PATH_SEPARATOR,
8422 for pkg
in $enableval; do
8424 if test "X$pkg" = "X$p"; then
8425 enable_fast_install
=yes
8432 enable_fast_install
=yes
8442 shared_archive_member_spec
=
8443 case $host,$enable_shared in
8444 power
*-*-aix[5-9]*,yes)
8445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8446 printf %s
"checking which variant of shared library versioning to provide... " >&6; }
8448 # Check whether --with-aix-soname was given.
8449 if test ${with_aix_soname+y}
8451 withval
=$with_aix_soname; case $withval in
8455 as_fn_error $?
"Unknown argument to --with-aix-soname" "$LINENO" 5
8458 lt_cv_with_aix_soname
=$with_aix_soname
8460 if test ${lt_cv_with_aix_soname+y}
8462 printf %s
"(cached) " >&6
8464 lt_cv_with_aix_soname
=aix
8467 with_aix_soname
=$lt_cv_with_aix_soname
8470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8471 printf "%s\n" "$with_aix_soname" >&6; }
8472 if test aix
!= "$with_aix_soname"; then
8473 # For the AIX way of multilib, we name the shared archive member
8474 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8475 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8476 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8477 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8478 if test 64 = "${OBJECT_MODE-32}"; then
8479 shared_archive_member_spec
=shr_64
8481 shared_archive_member_spec
=shr
8499 # This can be used to rebuild libtool when needed
8500 LIBTOOL_DEPS
=$ltmain
8502 # Always use our own libtool.
8503 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8534 test -z "$LN_S" && LN_S
="ln -s"
8549 if test -n "${ZSH_VERSION+set}"; then
8550 setopt NO_GLOB_SUBST
8553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8554 printf %s
"checking for objdir... " >&6; }
8555 if test ${lt_cv_objdir+y}
8557 printf %s
"(cached) " >&6
8559 rm -f .libs
2>/dev
/null
8560 mkdir .libs
2>/dev
/null
8561 if test -d .libs
; then
8564 # MS-DOS does not allow filenames that begin with a dot.
8567 rmdir .libs
2>/dev
/null
8569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8570 printf "%s\n" "$lt_cv_objdir" >&6; }
8571 objdir
=$lt_cv_objdir
8577 printf "%s\n" "#define LT_OBJDIR \"$lt_cv_objdir/\"" >>confdefs.h
8584 # AIX sometimes has problems with the GCC collect2 program. For some
8585 # reason, if we set the COLLECT_NAMES environment variable, the problems
8586 # vanish in a puff of smoke.
8587 if test set != "${COLLECT_NAMES+set}"; then
8589 export COLLECT_NAMES
8596 can_build_shared
=yes
8598 # All known linkers require a '.a' archive for static linking (except MSVC and
8599 # ICC, which need '.lib').
8602 with_gnu_ld
=$lt_cv_prog_gnu_ld
8607 # Set sane defaults for various variables
8608 test -z "$CC" && CC
=cc
8609 test -z "$LTCC" && LTCC
=$CC
8610 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8611 test -z "$LD" && LD
=ld
8612 test -z "$ac_objext" && ac_objext
=o
8614 func_cc_basename
$compiler
8615 cc_basename
=$func_cc_basename_result
8618 # Only perform the check for file, if the check method requires it
8619 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8620 case $deplibs_check_method in
8622 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8624 printf %s
"checking for ${ac_tool_prefix}file... " >&6; }
8625 if test ${lt_cv_path_MAGIC_CMD+y}
8627 printf %s
"(cached) " >&6
8631 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8634 lt_save_MAGIC_CMD
=$MAGIC_CMD
8635 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8636 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8637 for ac_dir
in $ac_dummy; do
8639 test -z "$ac_dir" && ac_dir
=.
8640 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8641 lt_cv_path_MAGIC_CMD
=$ac_dir/"${ac_tool_prefix}file"
8642 if test -n "$file_magic_test_file"; then
8643 case $deplibs_check_method in
8645 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8646 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8647 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8648 $EGREP "$file_magic_regex" > /dev
/null
; then
8653 *** Warning: the command libtool uses to detect shared libraries,
8654 *** $file_magic_cmd, produces output that libtool cannot recognize.
8655 *** The result is that libtool may fail to recognize shared libraries
8656 *** as such. This will affect the creation of libtool libraries that
8657 *** depend on shared libraries, but programs linked with such libtool
8658 *** libraries will work regardless of this problem. Nevertheless, you
8659 *** may want to report the problem to your system manager and/or to
8660 *** bug-libtool@gnu.org
8670 MAGIC_CMD
=$lt_save_MAGIC_CMD
8675 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8676 if test -n "$MAGIC_CMD"; then
8677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8678 printf "%s\n" "$MAGIC_CMD" >&6; }
8680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8681 printf "%s\n" "no" >&6; }
8688 if test -z "$lt_cv_path_MAGIC_CMD"; then
8689 if test -n "$ac_tool_prefix"; then
8690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8691 printf %s
"checking for file... " >&6; }
8692 if test ${lt_cv_path_MAGIC_CMD+y}
8694 printf %s
"(cached) " >&6
8698 lt_cv_path_MAGIC_CMD
=$MAGIC_CMD # Let the user override the test with a path.
8701 lt_save_MAGIC_CMD
=$MAGIC_CMD
8702 lt_save_ifs
=$IFS; IFS
=$PATH_SEPARATOR
8703 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8704 for ac_dir
in $ac_dummy; do
8706 test -z "$ac_dir" && ac_dir
=.
8707 if test -f "$ac_dir/file"; then
8708 lt_cv_path_MAGIC_CMD
=$ac_dir/"file"
8709 if test -n "$file_magic_test_file"; then
8710 case $deplibs_check_method in
8712 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8713 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8714 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null
|
8715 $EGREP "$file_magic_regex" > /dev
/null
; then
8720 *** Warning: the command libtool uses to detect shared libraries,
8721 *** $file_magic_cmd, produces output that libtool cannot recognize.
8722 *** The result is that libtool may fail to recognize shared libraries
8723 *** as such. This will affect the creation of libtool libraries that
8724 *** depend on shared libraries, but programs linked with such libtool
8725 *** libraries will work regardless of this problem. Nevertheless, you
8726 *** may want to report the problem to your system manager and/or to
8727 *** bug-libtool@gnu.org
8737 MAGIC_CMD
=$lt_save_MAGIC_CMD
8742 MAGIC_CMD
=$lt_cv_path_MAGIC_CMD
8743 if test -n "$MAGIC_CMD"; then
8744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8745 printf "%s\n" "$MAGIC_CMD" >&6; }
8747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 printf "%s\n" "no" >&6; }
8761 # Use C for the default configuration in the libtool script
8765 ac_cpp
='$CPP $CPPFLAGS'
8766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8771 # Source file extension for C test sources.
8774 # Object file extension for compiled C test sources.
8778 # Code to be used in simple compile tests
8779 lt_simple_compile_test_code
="int some_variable = 0;"
8781 # Code to be used in simple link tests
8782 lt_simple_link_test_code
='int main(){return(0);}'
8790 # If no C compiler was specified, use CC.
8793 # If no C compiler flags were specified, use CFLAGS.
8794 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8796 # Allow CC to be a program name with arguments.
8799 # Save the default compiler, since it gets overwritten when the other
8800 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8801 compiler_DEFAULT
=$CC
8803 # save warnings/boilerplate of simple test code
8804 ac_outfile
=conftest.
$ac_objext
8805 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8806 eval "$ac_compile" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8807 _lt_compiler_boilerplate
=`cat conftest.err`
8810 ac_outfile
=conftest.
$ac_objext
8811 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8812 eval "$ac_link" 2>&1 >/dev
/null
| $SED '/^$/d; /^ *+/d' >conftest.err
8813 _lt_linker_boilerplate
=`cat conftest.err`
8818 ## There is no encapsulation within the following macros, do not change
8819 ## the running order or otherwise move them around unless you know exactly
8820 ## what you are doing...
8821 if test -n "$compiler"; then
8823 lt_prog_compiler_no_builtin_flag
=
8825 if test yes = "$GCC"; then
8826 case $cc_basename in
8828 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8830 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8834 printf %s
"checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8835 if test ${lt_cv_prog_compiler_rtti_exceptions+y}
8837 printf %s
"(cached) " >&6
8839 lt_cv_prog_compiler_rtti_exceptions
=no
8840 ac_outfile
=conftest.
$ac_objext
8841 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8842 lt_compiler_flag
="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8843 # Insert the option either (1) after the last *FLAGS variable, or
8844 # (2) before a word containing "conftest.", or (3) at the end.
8845 # Note that $ac_compile itself does not contain backslashes and begins
8846 # with a dollar sign (not a hyphen), so the echo should work correctly.
8847 # The option is referenced via a variable to avoid confusing sed.
8848 lt_compile
=`echo "$ac_compile" | $SED \
8849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8851 -e 's:$: $lt_compiler_flag:'`
8852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8853 (eval "$lt_compile" 2>conftest.err
)
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 if (exit $ac_status) && test -s "$ac_outfile"; then
8858 # The compiler can only warn and ignore the option if not recognized
8859 # So say no if there are warnings other than the usual output.
8860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8861 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8862 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
8863 lt_cv_prog_compiler_rtti_exceptions
=yes
8869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8870 printf "%s\n" "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8872 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8873 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8885 lt_prog_compiler_wl
=
8886 lt_prog_compiler_pic
=
8887 lt_prog_compiler_static
=
8890 if test yes = "$GCC"; then
8891 lt_prog_compiler_wl
='-Wl,'
8892 lt_prog_compiler_static
='-static'
8896 # All AIX code is PIC.
8897 if test ia64
= "$host_cpu"; then
8898 # AIX 5 now supports IA64 processor
8899 lt_prog_compiler_static
='-Bstatic'
8901 lt_prog_compiler_pic
='-fPIC'
8907 # see comment about AmigaOS4 .so support
8908 lt_prog_compiler_pic
='-fPIC'
8911 # FIXME: we need at least 68020 code to build shared libraries, but
8912 # adding the '-m68020' flag to GCC prevents building anything better,
8914 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8919 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8920 # PIC is the default for these OSes.
8923 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8924 # This hack is so that the source file can tell whether it is being
8925 # built for inclusion in a dll (and should export symbols for example).
8926 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8927 # (--disable-auto-import) libraries
8928 lt_prog_compiler_pic
='-DDLL_EXPORT'
8931 lt_prog_compiler_static
='$wl-static'
8936 darwin
* | rhapsody
*)
8937 # PIC is the default on this platform
8938 # Common symbols not allowed in MH_DYLIB files
8939 lt_prog_compiler_pic
='-fno-common'
8943 # PIC is the default for Haiku.
8944 # The "-static" flag exists, but is broken.
8945 lt_prog_compiler_static
=
8949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8951 # sets the default TLS model and affects inlining.
8957 lt_prog_compiler_pic
='-fPIC'
8963 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8964 # Instead, we relocate shared libraries at runtime.
8968 # Just because we use GCC doesn't mean we suddenly get shared libraries
8969 # on systems that don't support them.
8970 lt_prog_compiler_can_build_shared
=no
8975 # QNX uses GNU C++, but need to define -shared option too, otherwise
8977 lt_prog_compiler_pic
='-fPIC -shared'
8981 if test -d /usr
/nec
; then
8982 lt_prog_compiler_pic
=-Kconform_pic
8987 lt_prog_compiler_pic
='-fPIC'
8991 case $cc_basename in
8992 nvcc
*) # Cuda Compiler Driver 2.2
8993 lt_prog_compiler_wl
='-Xlinker '
8994 if test -n "$lt_prog_compiler_pic"; then
8995 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9000 # PORTME Check for flag to pass linker flags through the system compiler.
9003 lt_prog_compiler_wl
='-Wl,'
9004 if test ia64
= "$host_cpu"; then
9005 # AIX 5 now supports IA64 processor
9006 lt_prog_compiler_static
='-Bstatic'
9008 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9012 darwin
* | rhapsody
*)
9013 # PIC is the default on this platform
9014 # Common symbols not allowed in MH_DYLIB files
9015 lt_prog_compiler_pic
='-fno-common'
9016 case $cc_basename in
9018 # NAG Fortran compiler
9019 lt_prog_compiler_wl
='-Wl,-Wl,,'
9020 lt_prog_compiler_pic
='-PIC'
9021 lt_prog_compiler_static
='-Bstatic'
9026 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9027 # This hack is so that the source file can tell whether it is being
9028 # built for inclusion in a dll (and should export symbols for example).
9029 lt_prog_compiler_pic
='-DDLL_EXPORT'
9032 lt_prog_compiler_static
='$wl-static'
9037 hpux9
* | hpux10
* | hpux11
*)
9038 lt_prog_compiler_wl
='-Wl,'
9039 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9046 lt_prog_compiler_pic
='+Z'
9049 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9050 lt_prog_compiler_static
='$wl-a ${wl}archive'
9053 irix5
* | irix6
* | nonstopux
*)
9054 lt_prog_compiler_wl
='-Wl,'
9055 # PIC (with -KPIC) is the default.
9056 lt_prog_compiler_static
='-non_shared'
9059 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
9060 case $cc_basename in
9061 # old Intel for x86_64, which still supported -KPIC.
9063 lt_prog_compiler_wl
='-Wl,'
9064 lt_prog_compiler_pic
='-KPIC'
9065 lt_prog_compiler_static
='-static'
9067 # icc used to be incompatible with GCC.
9068 # ICC 10 doesn't accept -KPIC any more.
9070 lt_prog_compiler_wl
='-Wl,'
9071 lt_prog_compiler_pic
='-fPIC'
9072 lt_prog_compiler_static
='-static'
9074 # Lahey Fortran 8.1.
9076 lt_prog_compiler_wl
='-Wl,'
9077 lt_prog_compiler_pic
='--shared'
9078 lt_prog_compiler_static
='--static'
9081 # NAG Fortran compiler
9082 lt_prog_compiler_wl
='-Wl,-Wl,,'
9083 lt_prog_compiler_pic
='-PIC'
9084 lt_prog_compiler_static
='-Bstatic'
9087 # Fabrice Bellard et al's Tiny C Compiler
9088 lt_prog_compiler_wl
='-Wl,'
9089 lt_prog_compiler_pic
='-fPIC'
9090 lt_prog_compiler_static
='-static'
9092 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9093 # Portland Group compilers (*not* the Pentium gcc compiler,
9094 # which looks to be a dead project)
9095 lt_prog_compiler_wl
='-Wl,'
9096 lt_prog_compiler_pic
='-fpic'
9097 lt_prog_compiler_static
='-Bstatic'
9100 lt_prog_compiler_wl
='-Wl,'
9101 # All Alpha code is PIC.
9102 lt_prog_compiler_static
='-non_shared'
9104 xl
* | bgxl
* | bgf
* | mpixl
*)
9105 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9106 lt_prog_compiler_wl
='-Wl,'
9107 lt_prog_compiler_pic
='-qpic'
9108 lt_prog_compiler_static
='-qstaticlink'
9111 case `$CC -V 2>&1 | $SED 5q` in
9112 *Sun\ Ceres\ Fortran
* | *Sun
*Fortran
*\
[1-7].
* | *Sun
*Fortran
*\
8.
[0-3]*)
9113 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9114 lt_prog_compiler_pic
='-KPIC'
9115 lt_prog_compiler_static
='-Bstatic'
9116 lt_prog_compiler_wl
=''
9118 *Sun\ F
* | *Sun
*Fortran
*)
9119 lt_prog_compiler_pic
='-KPIC'
9120 lt_prog_compiler_static
='-Bstatic'
9121 lt_prog_compiler_wl
='-Qoption ld '
9125 lt_prog_compiler_pic
='-KPIC'
9126 lt_prog_compiler_static
='-Bstatic'
9127 lt_prog_compiler_wl
='-Wl,'
9129 *Intel
*\
[CF
]*Compiler
*)
9130 lt_prog_compiler_wl
='-Wl,'
9131 lt_prog_compiler_pic
='-fPIC'
9132 lt_prog_compiler_static
='-static'
9135 lt_prog_compiler_wl
='-Wl,'
9136 lt_prog_compiler_pic
='-fpic'
9137 lt_prog_compiler_static
='-Bstatic'
9145 lt_prog_compiler_pic
='-KPIC'
9146 lt_prog_compiler_static
='-Bstatic'
9150 # QNX uses GNU C++, but need to define -shared option too, otherwise
9152 lt_prog_compiler_pic
='-fPIC -shared'
9155 osf3
* | osf4
* | osf5
*)
9156 lt_prog_compiler_wl
='-Wl,'
9157 # All OSF/1 code is PIC.
9158 lt_prog_compiler_static
='-non_shared'
9162 lt_prog_compiler_static
='-non_shared'
9166 lt_prog_compiler_pic
='-KPIC'
9167 lt_prog_compiler_static
='-Bstatic'
9168 case $cc_basename in
9169 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9170 lt_prog_compiler_wl
='-Qoption ld ';;
9172 lt_prog_compiler_wl
='-Wl,';;
9177 lt_prog_compiler_wl
='-Qoption ld '
9178 lt_prog_compiler_pic
='-PIC'
9179 lt_prog_compiler_static
='-Bstatic'
9182 sysv4
| sysv4.2uw2
* | sysv4.3
*)
9183 lt_prog_compiler_wl
='-Wl,'
9184 lt_prog_compiler_pic
='-KPIC'
9185 lt_prog_compiler_static
='-Bstatic'
9189 if test -d /usr
/nec
; then
9190 lt_prog_compiler_pic
='-Kconform_pic'
9191 lt_prog_compiler_static
='-Bstatic'
9195 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9196 lt_prog_compiler_wl
='-Wl,'
9197 lt_prog_compiler_pic
='-KPIC'
9198 lt_prog_compiler_static
='-Bstatic'
9202 lt_prog_compiler_wl
='-Wl,'
9203 lt_prog_compiler_can_build_shared
=no
9207 lt_prog_compiler_pic
='-pic'
9208 lt_prog_compiler_static
='-Bstatic'
9212 lt_prog_compiler_can_build_shared
=no
9218 # For platforms that do not support PIC, -DPIC is meaningless:
9220 lt_prog_compiler_pic
=
9223 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9228 printf %s
"checking for $compiler option to produce PIC... " >&6; }
9229 if test ${lt_cv_prog_compiler_pic+y}
9231 printf %s
"(cached) " >&6
9233 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9236 printf "%s\n" "$lt_cv_prog_compiler_pic" >&6; }
9237 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9240 # Check to make sure the PIC flag actually works.
9242 if test -n "$lt_prog_compiler_pic"; then
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9244 printf %s
"checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9245 if test ${lt_cv_prog_compiler_pic_works+y}
9247 printf %s
"(cached) " >&6
9249 lt_cv_prog_compiler_pic_works
=no
9250 ac_outfile
=conftest.
$ac_objext
9251 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9252 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9253 # Insert the option either (1) after the last *FLAGS variable, or
9254 # (2) before a word containing "conftest.", or (3) at the end.
9255 # Note that $ac_compile itself does not contain backslashes and begins
9256 # with a dollar sign (not a hyphen), so the echo should work correctly.
9257 # The option is referenced via a variable to avoid confusing sed.
9258 lt_compile
=`echo "$ac_compile" | $SED \
9259 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9261 -e 's:$: $lt_compiler_flag:'`
9262 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9263 (eval "$lt_compile" 2>conftest.err
)
9265 cat conftest.err
>&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 if (exit $ac_status) && test -s "$ac_outfile"; then
9268 # The compiler can only warn and ignore the option if not recognized
9269 # So say no if there are warnings other than the usual output.
9270 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9271 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9272 if test ! -s conftest.er2
|| diff conftest.exp conftest.er2
>/dev
/null
; then
9273 lt_cv_prog_compiler_pic_works
=yes
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9280 printf "%s\n" "$lt_cv_prog_compiler_pic_works" >&6; }
9282 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9283 case $lt_prog_compiler_pic in
9285 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9288 lt_prog_compiler_pic
=
9289 lt_prog_compiler_can_build_shared
=no
9305 # Check to make sure the static flag actually works.
9307 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9309 printf %s
"checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9310 if test ${lt_cv_prog_compiler_static_works+y}
9312 printf %s
"(cached) " >&6
9314 lt_cv_prog_compiler_static_works
=no
9315 save_LDFLAGS
=$LDFLAGS
9316 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9317 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9318 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9319 # The linker can only warn and ignore the option if not recognized
9320 # So say no if there are warnings
9321 if test -s conftest.err
; then
9322 # Append any errors to the config.log.
9323 cat conftest.err
1>&5
9324 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9326 if diff conftest.exp conftest.er2
>/dev
/null
; then
9327 lt_cv_prog_compiler_static_works
=yes
9330 lt_cv_prog_compiler_static_works
=yes
9334 LDFLAGS
=$save_LDFLAGS
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9338 printf "%s\n" "$lt_cv_prog_compiler_static_works" >&6; }
9340 if test yes = "$lt_cv_prog_compiler_static_works"; then
9343 lt_prog_compiler_static
=
9352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9353 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9354 if test ${lt_cv_prog_compiler_c_o+y}
9356 printf %s
"(cached) " >&6
9358 lt_cv_prog_compiler_c_o
=no
9359 $RM -r conftest
2>/dev
/null
9363 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9365 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9366 # Insert the option either (1) after the last *FLAGS variable, or
9367 # (2) before a word containing "conftest.", or (3) at the end.
9368 # Note that $ac_compile itself does not contain backslashes and begins
9369 # with a dollar sign (not a hyphen), so the echo should work correctly.
9370 lt_compile
=`echo "$ac_compile" | $SED \
9371 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9372 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9373 -e 's:$: $lt_compiler_flag:'`
9374 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9375 (eval "$lt_compile" 2>out
/conftest.err
)
9377 cat out
/conftest.err
>&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9381 # The compiler can only warn and ignore the option if not recognized
9382 # So say no if there are warnings
9383 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9384 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9385 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9386 lt_cv_prog_compiler_c_o
=yes
9391 # SGI C++ compiler will create directory out/ii_files/ for
9392 # template instantiation
9393 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9394 $RM out
/* && rmdir out
9400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9401 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9408 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9409 printf %s
"checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9410 if test ${lt_cv_prog_compiler_c_o+y}
9412 printf %s
"(cached) " >&6
9414 lt_cv_prog_compiler_c_o
=no
9415 $RM -r conftest
2>/dev
/null
9419 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9421 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9422 # Insert the option either (1) after the last *FLAGS variable, or
9423 # (2) before a word containing "conftest.", or (3) at the end.
9424 # Note that $ac_compile itself does not contain backslashes and begins
9425 # with a dollar sign (not a hyphen), so the echo should work correctly.
9426 lt_compile
=`echo "$ac_compile" | $SED \
9427 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9428 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9429 -e 's:$: $lt_compiler_flag:'`
9430 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9431 (eval "$lt_compile" 2>out
/conftest.err
)
9433 cat out
/conftest.err
>&5
9434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9435 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9437 # The compiler can only warn and ignore the option if not recognized
9438 # So say no if there are warnings
9439 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out
/conftest.exp
9440 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9441 if test ! -s out
/conftest.er2
|| diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9442 lt_cv_prog_compiler_c_o
=yes
9447 # SGI C++ compiler will create directory out/ii_files/ for
9448 # template instantiation
9449 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9450 $RM out
/* && rmdir out
9456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9457 printf "%s\n" "$lt_cv_prog_compiler_c_o" >&6; }
9462 hard_links
=nottested
9463 if test no
= "$lt_cv_prog_compiler_c_o" && test no
!= "$need_locks"; then
9464 # do not overwrite the value of need_locks provided by the user
9465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9466 printf %s
"checking if we can lock with hard links... " >&6; }
9469 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9471 ln conftest.a conftest.b
2>&5 || hard_links
=no
9472 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9474 printf "%s\n" "$hard_links" >&6; }
9475 if test no
= "$hard_links"; then
9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9477 printf "%s\n" "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9490 printf %s
"checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9493 allow_undefined_flag
=
9494 always_export_symbols
=no
9496 archive_expsym_cmds
=
9497 compiler_needs_object
=no
9498 enable_shared_with_static_runtimes
=no
9499 export_dynamic_flag_spec
=
9500 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9501 hardcode_automatic
=no
9503 hardcode_direct_absolute
=no
9504 hardcode_libdir_flag_spec
=
9505 hardcode_libdir_separator
=
9507 hardcode_shlibpath_var
=unsupported
9509 link_all_deplibs
=unknown
9512 old_archive_from_new_cmds
=
9513 old_archive_from_expsyms_cmds
=
9514 thread_safe_flag_spec
=
9515 whole_archive_flag_spec
=
9516 # include_expsyms should be a list of space-separated symbols to be *always*
9517 # included in the symbol list
9519 # exclude_expsyms can be an extended regexp of symbols to exclude
9520 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9521 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9522 # as well as any symbol that contains 'd'.
9523 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9524 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9525 # platforms (ab)use it in PIC code, but their linkers get confused if
9526 # the symbol is explicitly referenced. Since portable code cannot
9527 # rely on this symbol name, it's probably fine to never include it in
9528 # preloaded symbol tables.
9529 # Exclude shared library initialization/finalization symbols.
9530 extract_expsyms_cmds
=
9533 cygwin
* | mingw
* | pw32
* | cegcc
*)
9534 # FIXME: the MSVC++ and ICC port hasn't been tested in a loooong time
9535 # When not using gcc, we currently assume that we are using
9536 # Microsoft Visual C++ or Intel C++ Compiler.
9537 if test yes != "$GCC"; then
9542 # we just hope/assume this is gcc and not c89 (= MSVC++ or ICC)
9552 # On some targets, GNU ld is compatible enough with the native linker
9553 # that we're better off using the native interface for both.
9554 lt_use_gnu_ld_interface
=no
9555 if test yes = "$with_gnu_ld"; then
9558 # The AIX port of GNU ld has always aspired to compatibility
9559 # with the native linker. However, as the warning in the GNU ld
9560 # block says, versions before 2.19.5* couldn't really create working
9561 # shared libraries, regardless of the interface used.
9562 case `$LD -v 2>&1` in
9563 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9564 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9565 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9567 lt_use_gnu_ld_interface
=yes
9572 lt_use_gnu_ld_interface
=yes
9577 if test yes = "$lt_use_gnu_ld_interface"; then
9578 # If archive_cmds runs LD, not CC, wlarc should be empty
9581 # Set some defaults for GNU ld with shared library support. These
9582 # are reset later if shared libraries are not supported. Putting them
9583 # here allows them to be overridden if necessary.
9584 runpath_var
=LD_RUN_PATH
9585 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9586 export_dynamic_flag_spec
='$wl--export-dynamic'
9587 # ancient GNU ld didn't support --whole-archive et. al.
9588 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev
/null
; then
9589 whole_archive_flag_spec
=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9591 whole_archive_flag_spec
=
9593 supports_anon_versioning
=no
9594 case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
9595 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9596 *\
[01].
* | *\
2.
[0-9].
* | *\
2.10.
*) ;; # catch versions < 2.11
9597 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9598 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9599 *\
2.11.
*) ;; # other 2.11 versions
9600 *) supports_anon_versioning
=yes ;;
9603 # See if GNU ld supports shared libraries.
9606 # On AIX/PPC, the GNU linker is very broken
9607 if test ia64
!= "$host_cpu"; then
9611 *** Warning: the GNU linker, at least up to release 2.19, is reported
9612 *** to be unable to reliably create shared libraries on AIX.
9613 *** Therefore, libtool is disabling shared libraries support. If you
9614 *** really care for shared libraries, you may want to install binutils
9615 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9616 *** You will then need to restart the configuration process.
9625 # see comment about AmigaOS4 .so support
9626 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9627 archive_expsym_cmds
=''
9630 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)'
9631 hardcode_libdir_flag_spec
='-L$libdir'
9632 hardcode_minus_L
=yes
9638 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9639 allow_undefined_flag
=unsupported
9640 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9641 # support --undefined. This deserves some investigation. FIXME
9642 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9648 cygwin
* | mingw
* | pw32
* | cegcc
*)
9649 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9650 # as there is no search path for DLLs.
9651 hardcode_libdir_flag_spec
='-L$libdir'
9652 export_dynamic_flag_spec
='$wl--export-all-symbols'
9653 allow_undefined_flag
=unsupported
9654 always_export_symbols
=no
9655 enable_shared_with_static_runtimes
=yes
9656 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'
9657 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9659 if $LD --help 2>&1 | $GREP 'auto-import' > /dev
/null
; then
9660 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9661 # If the export-symbols file already is a .def file, use it as
9662 # is; otherwise, prepend EXPORTS...
9663 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9664 cp $export_symbols $output_objdir/$soname.def;
9666 echo EXPORTS > $output_objdir/$soname.def;
9667 cat $export_symbols >> $output_objdir/$soname.def;
9669 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9676 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9677 link_all_deplibs
=yes
9681 hardcode_libdir_flag_spec
='-L$libdir'
9682 hardcode_minus_L
=yes
9683 allow_undefined_flag
=unsupported
9685 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9686 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9687 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9688 $ECHO EXPORTS >> $output_objdir/$libname.def~
9689 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9690 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9691 emximp -o $lib $output_objdir/$libname.def'
9692 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9693 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9694 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9695 $ECHO EXPORTS >> $output_objdir/$libname.def~
9697 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9698 prefix_cmds="$prefix_cmds -e 1d";
9700 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9701 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9702 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9703 emximp -o $lib $output_objdir/$libname.def'
9704 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9705 enable_shared_with_static_runtimes
=yes
9711 hardcode_shlibpath_var
=no
9712 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
9713 export_dynamic_flag_spec
='$wl-E'
9714 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9715 # Instead, shared libraries are loaded at an image base (0x10000000 by
9716 # default) and relocated if they conflict, which is a slow very memory
9717 # consuming and fragmenting process. To avoid this, we pick a random,
9718 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9719 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9720 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9721 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'
9724 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9726 if test linux
-dietlibc = "$host_os"; then
9727 case $cc_basename in
9728 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9731 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev
/null \
9732 && test no
= "$tmp_diet"
9734 tmp_addflag
=' $pic_flag'
9735 tmp_sharedflag
='-shared'
9736 case $cc_basename,$host_cpu in
9737 pgcc
*) # Portland Group C compiler
9738 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'
9739 tmp_addflag
=' $pic_flag'
9741 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9742 # Portland Group f77 and f90 compilers
9743 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'
9744 tmp_addflag
=' $pic_flag -Mnomain' ;;
9745 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9746 tmp_addflag
=' -i_dynamic' ;;
9747 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9748 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9749 ifc
* | ifort
*) # Intel Fortran compiler
9750 tmp_addflag
=' -nofor_main' ;;
9751 lf95
*) # Lahey Fortran 8.1
9752 whole_archive_flag_spec
=
9753 tmp_sharedflag
='--shared' ;;
9754 nagfor
*) # NAGFOR 5.3
9755 tmp_sharedflag
='-Wl,-shared' ;;
9756 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9757 tmp_sharedflag
='-qmkshrobj'
9759 nvcc
*) # Cuda Compiler Driver 2.2
9760 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'
9761 compiler_needs_object
=yes
9764 case `$CC -V 2>&1 | $SED 5q` in
9765 *Sun\ C
*) # Sun C 5.9
9766 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'
9767 compiler_needs_object
=yes
9768 tmp_sharedflag
='-G' ;;
9769 *Sun\ F
*) # Sun Fortran 8.3
9770 tmp_sharedflag
='-G' ;;
9772 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9774 if test yes = "$supports_anon_versioning"; then
9775 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9776 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9777 echo "local: *; };" >> $output_objdir/$libname.ver~
9778 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9781 case $cc_basename in
9783 export_dynamic_flag_spec
='-rdynamic'
9785 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9786 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9787 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9788 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9789 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9790 if test yes = "$supports_anon_versioning"; then
9791 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9792 cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9793 echo "local: *; };" >> $output_objdir/$libname.ver~
9794 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9804 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
9805 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9808 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9809 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9814 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev
/null
; then
9818 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9819 *** create shared libraries on Solaris systems. Therefore, libtool
9820 *** is disabling shared libraries support. We urge you to upgrade GNU
9821 *** binutils to release 2.9.1 or newer. Another option is to modify
9822 *** your PATH or compiler configuration so that the native linker is
9823 *** used, and then restart.
9826 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9827 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9828 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9834 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9835 case `$LD -v 2>&1` in
9836 *\
[01].
* | *\
2.
[0-9].
* | *\
2.1[0-5].
*)
9840 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9841 *** reliably create shared libraries on SCO systems. Therefore, libtool
9842 *** is disabling shared libraries support. We urge you to upgrade GNU
9843 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9844 *** your PATH or compiler configuration so that the native linker is
9845 *** used, and then restart.
9850 # For security reasons, it is highly recommended that you always
9851 # use absolute paths for naming shared libraries, and exclude the
9852 # DT_RUNPATH tag from executables and libraries. But doing so
9853 # requires that you compile everything twice, which is a pain.
9854 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9855 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
9856 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9857 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9866 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9869 hardcode_shlibpath_var
=no
9873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev
/null
; then
9874 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9875 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9882 if test no
= "$ld_shlibs"; then
9884 hardcode_libdir_flag_spec
=
9885 export_dynamic_flag_spec
=
9886 whole_archive_flag_spec
=
9889 # PORTME fill in a description of your system's linker (not GNU ld)
9892 allow_undefined_flag
=unsupported
9893 always_export_symbols
=yes
9894 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'
9895 # Note: this linker hardcodes the directories in LIBPATH if there
9896 # are no directories specified by -L.
9897 hardcode_minus_L
=yes
9898 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9899 # Neither direct hardcoding nor static linking is supported with a
9901 hardcode_direct
=unsupported
9906 if test ia64
= "$host_cpu"; then
9907 # On IA64, the linker does run time linking by default, so we don't
9908 # have to do anything special.
9909 aix_use_runtimelinking
=no
9910 exp_sym_flag
='-Bexport'
9913 # If we're using GNU nm, then we don't want the "-C" option.
9914 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
9915 # Without the "-l" option, or with the "-B" option, AIX nm treats
9916 # weak defined symbols like other global defined symbols, whereas
9917 # GNU nm marks them as "W".
9918 # While the 'weak' keyword is ignored in the Export File, we need
9919 # it in the Import File for the 'aix-soname' feature, so we have
9920 # to replace the "-B" option with "-P" for AIX nm.
9921 if $NM -V 2>&1 | $GREP 'GNU' > /dev
/null
; then
9922 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'
9924 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 == "L") || (\$ 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'
9926 aix_use_runtimelinking
=no
9928 # Test if we are trying to use run time linking or normal
9929 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9930 # have runtime linking enabled, and use it for executables.
9931 # For shared libraries, we enable/disable runtime linking
9932 # depending on the kind of the shared library created -
9933 # when "with_aix_soname,aix_use_runtimelinking" is:
9934 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
9935 # "aix,yes" lib.so shared, rtl:yes, for executables
9936 # lib.a static archive
9937 # "both,no" lib.so.V(shr.o) shared, rtl:yes
9938 # lib.a(lib.so.V) shared, rtl:no, for executables
9939 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9940 # lib.a(lib.so.V) shared, rtl:no
9941 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
9942 # lib.a static archive
9943 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9944 for ld_flag
in $LDFLAGS; do
9945 if (test x
-brtl = "x$ld_flag" || test x
-Wl,-brtl = "x$ld_flag"); then
9946 aix_use_runtimelinking
=yes
9950 if test svr4
,no
= "$with_aix_soname,$aix_use_runtimelinking"; then
9951 # With aix-soname=svr4, we create the lib.so.V shared archives only,
9952 # so we don't have lib.a shared libs to link our executables.
9953 # We have to force runtime linking in this case.
9954 aix_use_runtimelinking
=yes
9955 LDFLAGS
="$LDFLAGS -Wl,-brtl"
9960 exp_sym_flag
='-bexport'
9961 no_entry_flag
='-bnoentry'
9964 # When large executables or shared objects are built, AIX ld can
9965 # have problems creating the table of contents. If linking a library
9966 # or program results in "error TOC overflow" add -mminimal-toc to
9967 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9968 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9972 hardcode_direct_absolute
=yes
9973 hardcode_libdir_separator
=':'
9974 link_all_deplibs
=yes
9975 file_list_spec
='$wl-f,'
9976 case $with_aix_soname,$aix_use_runtimelinking in
9977 aix
,*) ;; # traditional, no import file
9978 svr4
,* | *,yes) # use import file
9979 # The Import File defines what to hardcode.
9981 hardcode_direct_absolute
=no
9985 if test yes = "$GCC"; then
9986 case $host_os in aix4.
[012]|aix4.
[012].
*)
9987 # We only want to do this on AIX 4.2 and lower, the check
9988 # below for broken collect2 doesn't work under 4.3+
9989 collect2name
=`$CC -print-prog-name=collect2`
9990 if test -f "$collect2name" &&
9991 strings "$collect2name" | $GREP resolve_lib_name
>/dev
/null
9993 # We have reworked collect2
9996 # We have old collect2
9997 hardcode_direct
=unsupported
9998 # It fails to find uninstalled libraries when the uninstalled
9999 # path is not listed in the libpath. Setting hardcode_minus_L
10000 # to unsupported forces relinking
10001 hardcode_minus_L
=yes
10002 hardcode_libdir_flag_spec
='-L$libdir'
10003 hardcode_libdir_separator
=
10007 shared_flag
='-shared'
10008 if test yes = "$aix_use_runtimelinking"; then
10009 shared_flag
="$shared_flag "'$wl-G'
10011 # Need to ensure runtime linking is disabled for the traditional
10012 # shared library, or the linker may eventually find shared libraries
10013 # /with/ Import File - we do not want to mix them.
10014 shared_flag_aix
='-shared'
10015 shared_flag_svr4
='-shared $wl-G'
10018 if test ia64
= "$host_cpu"; then
10019 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10020 # chokes on -Wl,-G. The following line is correct:
10023 if test yes = "$aix_use_runtimelinking"; then
10024 shared_flag
='$wl-G'
10026 shared_flag
='$wl-bM:SRE'
10028 shared_flag_aix
='$wl-bM:SRE'
10029 shared_flag_svr4
='$wl-G'
10033 export_dynamic_flag_spec
='$wl-bexpall'
10034 # It seems that -bexpall does not export symbols beginning with
10035 # underscore (_), so it is better to generate a list of symbols to export.
10036 always_export_symbols
=yes
10037 if test aix
,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10038 # Warning - without using the other runtime loading flags (-brtl),
10039 # -berok will link without error, but may produce a broken library.
10040 allow_undefined_flag
='-berok'
10041 # Determine the default libpath from the value encoded in an
10042 # empty executable.
10043 if test set = "${lt_cv_aix_libpath+set}"; then
10044 aix_libpath
=$lt_cv_aix_libpath
10046 if test ${lt_cv_aix_libpath_+y}
10048 printf %s
"(cached) " >&6
10050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10061 if ac_fn_c_try_link
"$LINENO"
10064 lt_aix_libpath_sed
='
10065 /Import File Strings/,/^$/ {
10067 s/^0 *\([^ ]*\) *$/\1/
10071 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10072 # Check for a 64-bit object if we didn't find anything.
10073 if test -z "$lt_cv_aix_libpath_"; then
10074 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10077 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
10078 conftest
$ac_exeext conftest.
$ac_ext
10079 if test -z "$lt_cv_aix_libpath_"; then
10080 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10085 aix_libpath
=$lt_cv_aix_libpath_
10088 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10089 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
10091 if test ia64
= "$host_cpu"; then
10092 hardcode_libdir_flag_spec
='$wl-R $libdir:/usr/lib:/lib'
10093 allow_undefined_flag
="-z nodefs"
10094 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"
10096 # Determine the default libpath from the value encoded in an
10097 # empty executable.
10098 if test set = "${lt_cv_aix_libpath+set}"; then
10099 aix_libpath
=$lt_cv_aix_libpath
10101 if test ${lt_cv_aix_libpath_+y}
10103 printf %s
"(cached) " >&6
10105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10106 /* end confdefs.h. */
10116 if ac_fn_c_try_link
"$LINENO"
10119 lt_aix_libpath_sed
='
10120 /Import File Strings/,/^$/ {
10122 s/^0 *\([^ ]*\) *$/\1/
10126 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10127 # Check for a 64-bit object if we didn't find anything.
10128 if test -z "$lt_cv_aix_libpath_"; then
10129 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10132 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
10133 conftest
$ac_exeext conftest.
$ac_ext
10134 if test -z "$lt_cv_aix_libpath_"; then
10135 lt_cv_aix_libpath_
=/usr
/lib
:/lib
10140 aix_libpath
=$lt_cv_aix_libpath_
10143 hardcode_libdir_flag_spec
='$wl-blibpath:$libdir:'"$aix_libpath"
10144 # Warning - without using the other run time loading flags,
10145 # -berok will link without error, but may produce a broken library.
10146 no_undefined_flag
=' $wl-bernotok'
10147 allow_undefined_flag
=' $wl-berok'
10148 if test yes = "$with_gnu_ld"; then
10149 # We only use this code for GNU lds that support --whole-archive.
10150 whole_archive_flag_spec
='$wl--whole-archive$convenience $wl--no-whole-archive'
10152 # Exported symbols can be pulled into shared objects from archives
10153 whole_archive_flag_spec
='$convenience'
10155 archive_cmds_need_lc
=yes
10156 archive_expsym_cmds
='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10157 # -brtl affects multiple linker settings, -berok does not and is overridden later
10158 compiler_flags_filtered
='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10159 if test svr4
!= "$with_aix_soname"; then
10160 # This is similar to how AIX traditionally builds its shared libraries.
10161 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'
10163 if test aix
!= "$with_aix_soname"; then
10164 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'
10166 # used by -dlpreopen to get the symbols
10167 archive_expsym_cmds
="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10169 archive_expsym_cmds
="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10177 # see comment about AmigaOS4 .so support
10178 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10179 archive_expsym_cmds
=''
10182 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)'
10183 hardcode_libdir_flag_spec
='-L$libdir'
10184 hardcode_minus_L
=yes
10190 export_dynamic_flag_spec
=-rdynamic
10193 cygwin
* | mingw
* | pw32
* | cegcc
*)
10194 # When not using gcc, we currently assume that we are using
10195 # Microsoft Visual C++ or Intel C++ Compiler.
10196 # hardcode_libdir_flag_spec is actually meaningless, as there is
10197 # no search path for DLLs.
10198 case $cc_basename in
10200 # Native MSVC or ICC
10201 hardcode_libdir_flag_spec
=' '
10202 allow_undefined_flag
=unsupported
10203 always_export_symbols
=yes
10205 # Tell ltmain to make .lib files, not .a files.
10207 # Tell ltmain to make .dll files, not .so files.
10209 # FIXME: Setting linknames here is a bad hack.
10210 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10211 archive_expsym_cmds
='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10212 cp "$export_symbols" "$output_objdir/$soname.def";
10213 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10215 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10217 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10219 # The linker will not automatically build a static lib if we build a DLL.
10220 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10221 enable_shared_with_static_runtimes
=yes
10222 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10223 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10225 old_postinstall_cmds
='chmod 644 $oldlib'
10226 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10227 lt_tool_outputfile="@TOOL_OUTPUT@"~
10228 case $lt_outputfile in
10231 lt_outputfile=$lt_outputfile.exe
10232 lt_tool_outputfile=$lt_tool_outputfile.exe
10235 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10236 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10237 $RM "$lt_outputfile.manifest";
10241 # Assume MSVC and ICC wrapper
10242 hardcode_libdir_flag_spec
=' '
10243 allow_undefined_flag
=unsupported
10244 # Tell ltmain to make .lib files, not .a files.
10246 # Tell ltmain to make .dll files, not .so files.
10248 # FIXME: Setting linknames here is a bad hack.
10249 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10250 # The linker will automatically build a .lib file if we build a DLL.
10251 old_archive_from_new_cmds
='true'
10252 # FIXME: Should let the user specify the lib program.
10253 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10254 enable_shared_with_static_runtimes
=yes
10259 darwin
* | rhapsody
*)
10262 archive_cmds_need_lc
=no
10264 hardcode_automatic
=yes
10265 hardcode_shlibpath_var
=unsupported
10266 if test yes = "$lt_cv_ld_force_load"; then
10267 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\"`'
10270 whole_archive_flag_spec
=''
10272 link_all_deplibs
=yes
10273 allow_undefined_flag
=$_lt_dar_allow_undefined
10274 case $cc_basename in
10275 ifort
*|nagfor
*) _lt_dar_can_shared
=yes ;;
10276 *) _lt_dar_can_shared
=$GCC ;;
10278 if test yes = "$_lt_dar_can_shared"; then
10279 output_verbose_link_cmd
=func_echo_all
10280 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10281 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10282 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"
10283 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"
10292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10293 hardcode_libdir_flag_spec
='-L$libdir'
10294 hardcode_shlibpath_var
=no
10297 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10298 # support. Future versions do this automatically, but an explicit c++rt0.o
10299 # does not break anything, and helps significantly (at the cost of a little
10302 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10303 hardcode_libdir_flag_spec
='-R$libdir'
10304 hardcode_direct
=yes
10305 hardcode_shlibpath_var
=no
10308 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10310 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10311 hardcode_direct
=yes
10312 hardcode_minus_L
=yes
10313 hardcode_shlibpath_var
=no
10316 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10317 freebsd
* | dragonfly
* | midnightbsd
*)
10318 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10319 hardcode_libdir_flag_spec
='-R$libdir'
10320 hardcode_direct
=yes
10321 hardcode_shlibpath_var
=no
10325 if test yes = "$GCC"; then
10326 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'
10328 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'
10330 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10331 hardcode_libdir_separator
=:
10332 hardcode_direct
=yes
10334 # hardcode_minus_L: Not really in the search PATH,
10335 # but as the default location of the library.
10336 hardcode_minus_L
=yes
10337 export_dynamic_flag_spec
='$wl-E'
10341 if test yes,no
= "$GCC,$with_gnu_ld"; then
10342 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10344 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10346 if test no
= "$with_gnu_ld"; then
10347 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10348 hardcode_libdir_separator
=:
10349 hardcode_direct
=yes
10350 hardcode_direct_absolute
=yes
10351 export_dynamic_flag_spec
='$wl-E'
10352 # hardcode_minus_L: Not really in the search PATH,
10353 # but as the default location of the library.
10354 hardcode_minus_L
=yes
10359 if test yes,no
= "$GCC,$with_gnu_ld"; then
10362 archive_cmds
='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10365 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10368 archive_cmds
='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10374 archive_cmds
='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10377 archive_cmds
='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10381 # Older versions of the 11.00 compiler do not understand -b yet
10382 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10384 printf %s
"checking if $CC understands -b... " >&6; }
10385 if test ${lt_cv_prog_compiler__b+y}
10387 printf %s
"(cached) " >&6
10389 lt_cv_prog_compiler__b
=no
10390 save_LDFLAGS
=$LDFLAGS
10391 LDFLAGS
="$LDFLAGS -b"
10392 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10393 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10394 # The linker can only warn and ignore the option if not recognized
10395 # So say no if there are warnings
10396 if test -s conftest.err
; then
10397 # Append any errors to the config.log.
10398 cat conftest.err
1>&5
10399 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10400 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10401 if diff conftest.exp conftest.er2
>/dev
/null
; then
10402 lt_cv_prog_compiler__b
=yes
10405 lt_cv_prog_compiler__b
=yes
10409 LDFLAGS
=$save_LDFLAGS
10412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10413 printf "%s\n" "$lt_cv_prog_compiler__b" >&6; }
10415 if test yes = "$lt_cv_prog_compiler__b"; then
10416 archive_cmds
='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10424 if test no
= "$with_gnu_ld"; then
10425 hardcode_libdir_flag_spec
='$wl+b $wl$libdir'
10426 hardcode_libdir_separator
=:
10431 hardcode_shlibpath_var
=no
10434 hardcode_direct
=yes
10435 hardcode_direct_absolute
=yes
10436 export_dynamic_flag_spec
='$wl-E'
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L
=yes
10446 irix5
* | irix6
* | nonstopux
*)
10447 if test yes = "$GCC"; then
10448 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'
10449 # Try to use the -exported_symbol ld option, if it does not
10450 # work, assume that -exports_file does not work either and
10451 # implicitly export all symbols.
10452 # This should be the same for all languages, so no per-tag cache variable.
10453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10454 printf %s
"checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10455 if test ${lt_cv_irix_exported_symbol+y}
10457 printf %s
"(cached) " >&6
10459 save_LDFLAGS
=$LDFLAGS
10460 LDFLAGS
="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10462 /* end confdefs.h. */
10463 int foo (void) { return 0; }
10465 if ac_fn_c_try_link
"$LINENO"
10467 lt_cv_irix_exported_symbol
=yes
10469 lt_cv_irix_exported_symbol
=no
10471 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
10472 conftest
$ac_exeext conftest.
$ac_ext
10473 LDFLAGS
=$save_LDFLAGS
10475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10476 printf "%s\n" "$lt_cv_irix_exported_symbol" >&6; }
10477 if test yes = "$lt_cv_irix_exported_symbol"; then
10478 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'
10481 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'
10482 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'
10484 archive_cmds_need_lc
='no'
10485 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10486 hardcode_libdir_separator
=:
10488 link_all_deplibs
=yes
10492 case $cc_basename in
10494 # Fabrice Bellard et al's Tiny C Compiler
10496 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
10503 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10505 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10507 hardcode_libdir_flag_spec
='-R$libdir'
10508 hardcode_direct
=yes
10509 hardcode_shlibpath_var
=no
10513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_direct
=yes
10515 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10516 hardcode_libdir_separator
=:
10517 hardcode_shlibpath_var
=no
10523 openbsd
* | bitrig
*)
10524 if test -f /usr
/libexec
/ld.so
; then
10525 hardcode_direct
=yes
10526 hardcode_shlibpath_var
=no
10527 hardcode_direct_absolute
=yes
10528 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10529 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10530 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10531 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10532 export_dynamic_flag_spec
='$wl-E'
10534 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10535 hardcode_libdir_flag_spec
='$wl-rpath,$libdir'
10543 hardcode_libdir_flag_spec
='-L$libdir'
10544 hardcode_minus_L
=yes
10545 allow_undefined_flag
=unsupported
10547 archive_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10548 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10549 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10550 $ECHO EXPORTS >> $output_objdir/$libname.def~
10551 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10552 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10553 emximp -o $lib $output_objdir/$libname.def'
10554 archive_expsym_cmds
='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10555 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10556 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10557 $ECHO EXPORTS >> $output_objdir/$libname.def~
10558 prefix_cmds="$SED"~
10559 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10560 prefix_cmds="$prefix_cmds -e 1d";
10562 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10563 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10564 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10565 emximp -o $lib $output_objdir/$libname.def'
10566 old_archive_From_new_cmds
='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10567 enable_shared_with_static_runtimes
=yes
10572 if test yes = "$GCC"; then
10573 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10574 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'
10576 allow_undefined_flag
=' -expect_unresolved \*'
10577 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'
10579 archive_cmds_need_lc
='no'
10580 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10581 hardcode_libdir_separator
=:
10584 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10585 if test yes = "$GCC"; then
10586 allow_undefined_flag
=' $wl-expect_unresolved $wl\*'
10587 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'
10588 hardcode_libdir_flag_spec
='$wl-rpath $wl$libdir'
10590 allow_undefined_flag
=' -expect_unresolved \*'
10591 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'
10592 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~
10593 $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'
10595 # Both c and cxx compiler support -rpath directly
10596 hardcode_libdir_flag_spec
='-rpath $libdir'
10598 archive_cmds_need_lc
='no'
10599 hardcode_libdir_separator
=:
10603 no_undefined_flag
=' -z defs'
10604 if test yes = "$GCC"; then
10606 archive_cmds
='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10607 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10608 $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'
10610 case `$CC -V 2>&1` in
10613 archive_cmds
='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10614 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10615 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10619 archive_cmds
='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10620 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10621 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10625 hardcode_libdir_flag_spec
='-R$libdir'
10626 hardcode_shlibpath_var
=no
10628 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10630 # The compiler driver will combine and reorder linker options,
10631 # but understands '-z linker_flag'. GCC discards it without '$wl',
10632 # but is careful enough not to reorder.
10633 # Supported since Solaris 2.6 (maybe 2.5.1?)
10634 if test yes = "$GCC"; then
10635 whole_archive_flag_spec
='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10637 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10641 link_all_deplibs
=yes
10645 if test sequent
= "$host_vendor"; then
10646 # Use $CC to link under sequent, because it throws in some extra .o
10647 # files that make .init and .fini sections work.
10648 archive_cmds
='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10650 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10652 hardcode_libdir_flag_spec
='-L$libdir'
10653 hardcode_direct
=yes
10654 hardcode_minus_L
=yes
10655 hardcode_shlibpath_var
=no
10659 case $host_vendor in
10661 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10662 hardcode_direct
=yes # is this really true???
10665 ## LD is ld it makes a PLAMLIB
10666 ## CC just makes a GrossModule.
10667 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10668 reload_cmds
='$CC -r -o $output$reload_objs'
10672 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10673 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10676 runpath_var
='LD_RUN_PATH'
10677 hardcode_shlibpath_var
=no
10681 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10682 hardcode_shlibpath_var
=no
10683 export_dynamic_flag_spec
='-Bexport'
10687 if test -d /usr
/nec
; then
10688 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10689 hardcode_shlibpath_var
=no
10690 runpath_var
=LD_RUN_PATH
10691 hardcode_runpath_var
=yes
10696 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10697 no_undefined_flag
='$wl-z,text'
10698 archive_cmds_need_lc
=no
10699 hardcode_shlibpath_var
=no
10700 runpath_var
='LD_RUN_PATH'
10702 if test yes = "$GCC"; then
10703 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10706 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10707 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10711 sysv5
* | sco3.2v5
* | sco5v6
*)
10712 # Note: We CANNOT use -z defs as we might desire, because we do not
10713 # link with -lc, and that would cause any symbols used from libc to
10714 # always be unresolved, which means just about no library would
10715 # ever link correctly. If we're not using GNU ld we use -z text
10716 # though, which does catch some bad symbols but isn't as heavy-handed
10718 no_undefined_flag
='$wl-z,text'
10719 allow_undefined_flag
='$wl-z,nodefs'
10720 archive_cmds_need_lc
=no
10721 hardcode_shlibpath_var
=no
10722 hardcode_libdir_flag_spec
='$wl-R,$libdir'
10723 hardcode_libdir_separator
=':'
10724 link_all_deplibs
=yes
10725 export_dynamic_flag_spec
='$wl-Bexport'
10726 runpath_var
='LD_RUN_PATH'
10728 if test yes = "$GCC"; then
10729 archive_cmds
='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10730 archive_expsym_cmds
='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10732 archive_cmds
='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10733 archive_expsym_cmds
='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10738 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10739 hardcode_libdir_flag_spec
='-L$libdir'
10740 hardcode_shlibpath_var
=no
10748 if test sni
= "$host_vendor"; then
10750 sysv4
| sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10751 export_dynamic_flag_spec
='$wl-Blargedynsym'
10757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10758 printf "%s\n" "$ld_shlibs" >&6; }
10759 test no
= "$ld_shlibs" && can_build_shared
=no
10761 with_gnu_ld
=$with_gnu_ld
10778 # Do we need to explicitly link libc?
10780 case "x$archive_cmds_need_lc" in
10782 # Assume -lc should be added
10783 archive_cmds_need_lc
=yes
10785 if test yes,yes = "$GCC,$enable_shared"; then
10786 case $archive_cmds in
10788 # FIXME: we may have to deal with multi-command sequences.
10791 # Test whether the compiler implicitly links with -lc since on some
10792 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10793 # to ld, don't add -lc before -lgcc.
10794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10795 printf %s
"checking whether -lc should be explicitly linked in... " >&6; }
10796 if test ${lt_cv_archive_cmds_need_lc+y}
10798 printf %s
"(cached) " >&6
10801 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10804 (eval $ac_compile) 2>&5
10806 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10807 test $ac_status = 0; } 2>conftest.err
; then
10810 libobjs
=conftest.
$ac_objext
10812 wl
=$lt_prog_compiler_wl
10813 pic_flag
=$lt_prog_compiler_pic
10819 lt_save_allow_undefined_flag
=$allow_undefined_flag
10820 allow_undefined_flag
=
10821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10822 (eval $archive_cmds 2\
>\
&1 \
| $GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10825 test $ac_status = 0; }
10827 lt_cv_archive_cmds_need_lc
=no
10829 lt_cv_archive_cmds_need_lc
=yes
10831 allow_undefined_flag
=$lt_save_allow_undefined_flag
10833 cat conftest.err
1>&5
10838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10839 printf "%s\n" "$lt_cv_archive_cmds_need_lc" >&6; }
10840 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10999 printf %s
"checking dynamic linker characteristics... " >&6; }
11001 if test yes = "$GCC"; then
11003 darwin
*) lt_awk_arg
='/^libraries:/,/LR/' ;;
11004 *) lt_awk_arg
='/^libraries:/' ;;
11007 mingw
* | cegcc
*) lt_sed_strip_eq
='s|=\([A-Za-z]:\)|\1|g' ;;
11008 *) lt_sed_strip_eq
='s|=/|/|g' ;;
11010 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11011 case $lt_search_path_spec in
11013 # if the path contains ";" then we assume it to be the separator
11014 # otherwise default to the standard path separator (i.e. ":") - it is
11015 # assumed that no part of a normal pathname contains ";" but that should
11016 # okay in the real world where ";" in dirpaths is itself problematic.
11017 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11020 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11023 # Ok, now we have the path, separated by spaces, we can step through it
11024 # and add multilib dir if necessary...
11025 lt_tmp_lt_search_path_spec
=
11026 lt_multi_os_dir
=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11027 # ...but if some path component already ends with the multilib dir we assume
11028 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11029 case "$lt_multi_os_dir; $lt_search_path_spec " in
11030 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11034 for lt_sys_path
in $lt_search_path_spec; do
11035 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11036 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11037 elif test -n "$lt_multi_os_dir"; then
11038 test -d "$lt_sys_path" && \
11039 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11042 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11043 BEGIN {RS = " "; FS = "/|\n";} {
11046 for (lt_i = NF; lt_i > 0; lt_i--) {
11047 if ($lt_i != "" && $lt_i != ".") {
11048 if ($lt_i == "..") {
11051 if (lt_count == 0) {
11052 lt_foo = "/" $lt_i lt_foo;
11059 if (lt_foo != "") { lt_freq[lt_foo]++; }
11060 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11062 # AWK program above erroneously prepends '/' to C:/dos/paths
11065 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11066 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11068 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11070 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11072 library_names_spec
=
11073 libname_spec
='lib$name'
11077 postuninstall_cmds
=
11081 shlibpath_overrides_runpath
=unknown
11083 dynamic_linker
="$host_os ld.so"
11084 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11085 need_lib_prefix
=unknown
11086 hardcode_into_libs
=no
11088 # when you set need_version to no, make sure it does not cause -set_version
11089 # flags to be left without arguments
11090 need_version
=unknown
11096 version_type
=linux
# correct to gnu/linux during the next big refactor
11097 library_names_spec
='$libname$release$shared_ext$versuffix $libname.a'
11098 shlibpath_var
=LIBPATH
11100 # AIX 3 has no versioning support, so we append a major version to the name.
11101 soname_spec
='$libname$release$shared_ext$major'
11105 version_type
=linux
# correct to gnu/linux during the next big refactor
11108 hardcode_into_libs
=yes
11109 if test ia64
= "$host_cpu"; then
11110 # AIX 5 supports IA64
11111 library_names_spec
='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11112 shlibpath_var
=LD_LIBRARY_PATH
11114 # With GCC up to 2.95.x, collect2 would create an import file
11115 # for dependence libraries. The import file would start with
11116 # the line '#! .'. This would cause the generated library to
11117 # depend on '.', always an invalid library. This was fixed in
11118 # development snapshots of GCC prior to 3.0.
11120 aix4
| aix4.
[01] | aix4.
[01].
*)
11121 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11123 echo '#endif'; } | $CC -E - | $GREP yes > /dev
/null
; then
11126 can_build_shared
=no
11130 # Using Import Files as archive members, it is possible to support
11131 # filename-based versioning of shared library archives on AIX. While
11132 # this would work for both with and without runtime linking, it will
11133 # prevent static linking of such archives. So we do filename-based
11134 # shared library versioning with .so extension only, which is used
11135 # when both runtime linking and shared linking is enabled.
11136 # Unfortunately, runtime linking may impact performance, so we do
11137 # not want this to be the default eventually. Also, we use the
11138 # versioned .so libs for executables only if there is the -brtl
11139 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11140 # To allow for filename-based versioning support, we need to create
11141 # libNAME.so.V as an archive file, containing:
11142 # *) an Import File, referring to the versioned filename of the
11143 # archive as well as the shared archive member, telling the
11144 # bitwidth (32 or 64) of that shared object, and providing the
11145 # list of exported symbols of that shared object, eventually
11146 # decorated with the 'weak' keyword
11147 # *) the shared object with the F_LOADONLY flag set, to really avoid
11148 # it being seen by the linker.
11149 # At run time we better use the real file rather than another symlink,
11150 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11152 case $with_aix_soname,$aix_use_runtimelinking in
11153 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11154 # soname into executable. Probably we can add versioning support to
11155 # collect2, so additional links can be useful in future.
11156 aix
,yes) # traditional libtool
11157 dynamic_linker
='AIX unversionable lib.so'
11158 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11159 # instead of lib<name>.a to let people know that these are not
11160 # typical AIX shared libraries.
11161 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11163 aix
,no
) # traditional AIX only
11164 dynamic_linker
='AIX lib.a(lib.so.V)'
11165 # We preserve .a as extension for shared libraries through AIX4.2
11166 # and later when we are not doing run time linking.
11167 library_names_spec
='$libname$release.a $libname.a'
11168 soname_spec
='$libname$release$shared_ext$major'
11170 svr4
,*) # full svr4 only
11171 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o)"
11172 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11173 # We do not specify a path in Import Files, so LIBPATH fires.
11174 shlibpath_overrides_runpath
=yes
11176 *,yes) # both, prefer svr4
11177 dynamic_linker
="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11178 library_names_spec
='$libname$release$shared_ext$major $libname$shared_ext'
11179 # unpreferred sharedlib libNAME.a needs extra handling
11180 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"'
11181 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"'
11182 # We do not specify a path in Import Files, so LIBPATH fires.
11183 shlibpath_overrides_runpath
=yes
11185 *,no
) # both, prefer aix
11186 dynamic_linker
="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11187 library_names_spec
='$libname$release.a $libname.a'
11188 soname_spec
='$libname$release$shared_ext$major'
11189 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11190 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)'
11191 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"'
11194 shlibpath_var
=LIBPATH
11201 # Since July 2007 AmigaOS4 officially supports .so libraries.
11202 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11203 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11206 library_names_spec
='$libname.ixlibrary $libname.a'
11207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11208 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'
11214 library_names_spec
='$libname$shared_ext'
11215 dynamic_linker
="$host_os ld.so"
11216 shlibpath_var
=LIBRARY_PATH
11220 version_type
=linux
# correct to gnu/linux during the next big refactor
11222 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11223 soname_spec
='$libname$release$shared_ext$major'
11224 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11225 shlibpath_var
=LD_LIBRARY_PATH
11226 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11227 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11228 # the default ld.so.conf also contains /usr/contrib/lib and
11229 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11230 # libtool to hard-code these into programs
11233 cygwin
* | mingw
* | pw32
* | cegcc
*)
11234 version_type
=windows
11239 case $GCC,$cc_basename in
11242 library_names_spec
='$libname.dll.a'
11243 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11244 postinstall_cmds
='base_file=`basename \$file`~
11245 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11246 dldir=$destdir/`dirname \$dlpath`~
11247 test -d \$dldir || mkdir -p \$dldir~
11248 $install_prog $dir/$dlname \$dldir/$dlname~
11249 chmod a+x \$dldir/$dlname~
11250 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11251 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11253 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11254 dlpath=$dir/\$dldll~
11256 shlibpath_overrides_runpath
=yes
11260 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11261 soname_spec
='`echo $libname | $SED -e 's
/^lib
/cyg
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11263 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11266 # MinGW DLLs use traditional 'lib' prefix
11267 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11270 # pw32 DLLs use 'pw' prefix rather than 'lib'
11271 library_names_spec
='`echo $libname | $SED -e 's
/^lib
/pw
/'``echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11274 dynamic_linker
='Win32 ld.exe'
11278 # Native MSVC or ICC
11279 libname_spec
='$name'
11280 soname_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext'
11281 library_names_spec
='$libname.dll.lib'
11285 sys_lib_search_path_spec
=
11288 for lt_path
in $LIB
11291 # Let DOS variable expansion print the short 8.3 style file name.
11292 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11293 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11296 # Convert to MSYS style.
11297 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11300 # Convert to unix form, then to dos form, then back to unix form
11301 # but this time dos style (no spaces!) so that the unix form looks
11302 # like /cygdrive/c/PROGRA~1:/cygdr...
11303 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11304 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11305 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11308 sys_lib_search_path_spec
=$LIB
11309 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev
/null
; then
11310 # It is most probably a Windows format PATH.
11311 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11313 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11315 # FIXME: find the short name or the path components, as spaces are
11316 # common. (e.g. "Program Files" -> "PROGRA~1")
11320 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11321 postinstall_cmds
='base_file=`basename \$file`~
11322 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11323 dldir=$destdir/`dirname \$dlpath`~
11324 test -d \$dldir || mkdir -p \$dldir~
11325 $install_prog $dir/$dlname \$dldir/$dlname'
11326 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11327 dlpath=$dir/\$dldll~
11329 shlibpath_overrides_runpath
=yes
11330 dynamic_linker
='Win32 link.exe'
11334 # Assume MSVC and ICC wrapper
11335 library_names_spec
='$libname`echo $release | $SED -e 's
/[.
]/-/g
'`$versuffix$shared_ext $libname.lib'
11336 dynamic_linker
='Win32 ld.exe'
11339 # FIXME: first we should search . and the directory the executable is in
11343 darwin
* | rhapsody
*)
11344 dynamic_linker
="$host_os dyld"
11345 version_type
=darwin
11348 library_names_spec
='$libname$release$major$shared_ext $libname$shared_ext'
11349 soname_spec
='$libname$release$major$shared_ext'
11350 shlibpath_overrides_runpath
=yes
11351 shlibpath_var
=DYLD_LIBRARY_PATH
11352 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11354 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11355 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11359 version_type
=linux
# correct to gnu/linux during the next big refactor
11362 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11363 soname_spec
='$libname$release$shared_ext$major'
11364 shlibpath_var
=LD_LIBRARY_PATH
11367 freebsd
* | dragonfly
* | midnightbsd
*)
11368 # DragonFly does not have aout. When/if they implement a new
11369 # versioning mechanism, adjust this.
11370 if test -x /usr
/bin
/objformat
; then
11371 objformat
=`/usr/bin/objformat`
11374 freebsd
[23].
*) objformat
=aout
;;
11375 *) objformat
=elf
;;
11378 version_type
=freebsd
-$objformat
11379 case $version_type in
11381 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11382 soname_spec
='$libname$release$shared_ext$major'
11387 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11391 shlibpath_var
=LD_LIBRARY_PATH
11394 shlibpath_overrides_runpath
=yes
11396 freebsd3.
[01]* | freebsdelf3.
[01]*)
11397 shlibpath_overrides_runpath
=yes
11398 hardcode_into_libs
=yes
11400 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11401 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11402 shlibpath_overrides_runpath
=no
11403 hardcode_into_libs
=yes
11405 *) # from 4.6 on, and DragonFly
11406 shlibpath_overrides_runpath
=yes
11407 hardcode_into_libs
=yes
11413 version_type
=linux
# correct to gnu/linux during the next big refactor
11416 dynamic_linker
="$host_os runtime_loader"
11417 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11418 soname_spec
='$libname$release$shared_ext$major'
11419 shlibpath_var
=LIBRARY_PATH
11420 shlibpath_overrides_runpath
=no
11421 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11422 hardcode_into_libs
=yes
11425 hpux9
* | hpux10
* | hpux11
*)
11426 # Give a soname corresponding to the major version so that dld.sl refuses to
11427 # link against other versions.
11434 hardcode_into_libs
=yes
11435 dynamic_linker
="$host_os dld.so"
11436 shlibpath_var
=LD_LIBRARY_PATH
11437 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11438 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11439 soname_spec
='$libname$release$shared_ext$major'
11440 if test 32 = "$HPUX_IA64_MODE"; then
11441 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11442 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux32
11444 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11445 sys_lib_dlsearch_path_spec
=/usr
/lib
/hpux64
11450 hardcode_into_libs
=yes
11451 dynamic_linker
="$host_os dld.sl"
11452 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11453 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11454 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11455 soname_spec
='$libname$release$shared_ext$major'
11456 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11457 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11461 dynamic_linker
="$host_os dld.sl"
11462 shlibpath_var
=SHLIB_PATH
11463 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11464 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11465 soname_spec
='$libname$release$shared_ext$major'
11468 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11469 postinstall_cmds
='chmod 555 $lib'
11470 # or fails outright, so override atomically:
11471 install_override_mode
=555
11475 version_type
=linux
# correct to gnu/linux during the next big refactor
11478 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11479 soname_spec
='$libname$release$shared_ext$major'
11480 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11481 shlibpath_var
=LD_LIBRARY_PATH
11482 shlibpath_overrides_runpath
=no
11483 hardcode_into_libs
=yes
11486 irix5
* | irix6
* | nonstopux
*)
11488 nonstopux
*) version_type
=nonstopux
;;
11490 if test yes = "$lt_cv_prog_gnu_ld"; then
11491 version_type
=linux
# correct to gnu/linux during the next big refactor
11498 soname_spec
='$libname$release$shared_ext$major'
11499 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11501 irix5
* | nonstopux
*)
11502 libsuff
= shlibsuff
=
11505 case $LD in # libtool.m4 will add one of these switches to LD
11506 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11507 libsuff
= shlibsuff
= libmagic
=32-bit;;
11508 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11509 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11510 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11511 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11512 *) libsuff
= shlibsuff
= libmagic
=never
-match;;
11516 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11517 shlibpath_overrides_runpath
=no
11518 sys_lib_search_path_spec
="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11519 sys_lib_dlsearch_path_spec
="/usr/lib$libsuff /lib$libsuff"
11520 hardcode_into_libs
=yes
11523 # No shared lib support for Linux oldld, aout, or coff.
11524 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11529 version_type
=none
# Android doesn't support versioned libraries.
11532 library_names_spec
='$libname$release$shared_ext'
11533 soname_spec
='$libname$release$shared_ext'
11535 shlibpath_var
=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath
=yes
11538 # This implies no fast_install, which is unacceptable.
11539 # Some rework will be needed to allow for fast_install
11540 # before this can be enabled.
11541 hardcode_into_libs
=yes
11543 dynamic_linker
='Android linker'
11544 # Don't embed -rpath directories since the linker doesn't support them.
11545 hardcode_libdir_flag_spec
='-L$libdir'
11548 # This must be glibc/ELF.
11549 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
*)
11550 version_type
=linux
# correct to gnu/linux during the next big refactor
11553 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11554 soname_spec
='$libname$release$shared_ext$major'
11555 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11556 shlibpath_var
=LD_LIBRARY_PATH
11557 shlibpath_overrides_runpath
=no
11559 # Some binutils ld are patched to set DT_RUNPATH
11560 if test ${lt_cv_shlibpath_overrides_runpath+y}
11562 printf %s
"(cached) " >&6
11564 lt_cv_shlibpath_overrides_runpath
=no
11565 save_LDFLAGS
=$LDFLAGS
11566 save_libdir
=$libdir
11567 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11568 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11580 if ac_fn_c_try_link
"$LINENO"
11582 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null
| grep "RUNPATH.*$libdir" >/dev
/null
11584 lt_cv_shlibpath_overrides_runpath
=yes
11587 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
11588 conftest
$ac_exeext conftest.
$ac_ext
11589 LDFLAGS
=$save_LDFLAGS
11590 libdir
=$save_libdir
11594 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11596 # This implies no fast_install, which is unacceptable.
11597 # Some rework will be needed to allow for fast_install
11598 # before this can be enabled.
11599 hardcode_into_libs
=yes
11601 # Ideally, we could use ldconfig to report *all* directores which are
11602 # searched for libraries, however this is still not possible. Aside from not
11603 # being certain /sbin/ldconfig is available, command
11604 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11605 # even though it is searched at run-time. Try to do the best guess by
11606 # appending ld.so.conf contents (and includes) to the search path.
11607 if test -f /etc
/ld.so.conf
; then
11608 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' ' '`
11609 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11612 # We used to test for /lib/ld.so.1 and disable shared libraries on
11613 # powerpc, because MkLinux only supported shared libraries with the
11614 # GNU dynamic linker. Since this was broken with cross compilers,
11615 # most powerpc-linux boxes support dynamic linking these days and
11616 # people can always --disable-shared, the test was removed, and we
11617 # assume the GNU/Linux dynamic linker is in use.
11618 dynamic_linker
='GNU/Linux ld.so'
11625 if echo __ELF__
| $CC -E - | $GREP __ELF__
>/dev
/null
; then
11626 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11627 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11628 dynamic_linker
='NetBSD (a.out) ld.so'
11630 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11631 soname_spec
='$libname$release$shared_ext$major'
11632 dynamic_linker
='NetBSD ld.elf_so'
11634 shlibpath_var
=LD_LIBRARY_PATH
11635 shlibpath_overrides_runpath
=yes
11636 hardcode_into_libs
=yes
11640 version_type
=linux
# correct to gnu/linux during the next big refactor
11641 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11642 shlibpath_var
=LD_LIBRARY_PATH
11643 shlibpath_overrides_runpath
=yes
11650 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11651 soname_spec
='$libname$release$shared_ext$major'
11652 shlibpath_var
=LD_LIBRARY_PATH
11653 shlibpath_overrides_runpath
=no
11654 hardcode_into_libs
=yes
11655 dynamic_linker
='ldqnx.so'
11658 openbsd
* | bitrig
*)
11660 sys_lib_dlsearch_path_spec
=/usr
/lib
11662 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11667 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11668 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11669 shlibpath_var
=LD_LIBRARY_PATH
11670 shlibpath_overrides_runpath
=yes
11674 libname_spec
='$name'
11675 version_type
=windows
11679 # OS/2 can only load a DLL with a base name of 8 characters or less.
11680 soname_spec
='`test -n "$os2dllname" && libname="$os2dllname";
11681 v=$($ECHO $release$versuffix | tr -d .-);
11682 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11683 $ECHO $n$v`$shared_ext'
11684 library_names_spec
='${libname}_dll.$libext'
11685 dynamic_linker
='OS/2 ld.exe'
11686 shlibpath_var
=BEGINLIBPATH
11687 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11688 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11689 postinstall_cmds
='base_file=`basename \$file`~
11690 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11691 dldir=$destdir/`dirname \$dlpath`~
11692 test -d \$dldir || mkdir -p \$dldir~
11693 $install_prog $dir/$dlname \$dldir/$dlname~
11694 chmod a+x \$dldir/$dlname~
11695 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11696 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11698 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11699 dlpath=$dir/\$dldll~
11703 osf3
* | osf4
* | osf5
*)
11707 soname_spec
='$libname$release$shared_ext$major'
11708 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11709 shlibpath_var
=LD_LIBRARY_PATH
11710 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11711 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11719 version_type
=linux
# correct to gnu/linux during the next big refactor
11722 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11723 soname_spec
='$libname$release$shared_ext$major'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=yes
11726 hardcode_into_libs
=yes
11727 # ldd complains unless libraries are executable
11728 postinstall_cmds
='chmod +x $lib'
11733 library_names_spec
='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11734 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11735 shlibpath_var
=LD_LIBRARY_PATH
11736 shlibpath_overrides_runpath
=yes
11737 if test yes = "$with_gnu_ld"; then
11744 version_type
=linux
# correct to gnu/linux during the next big refactor
11745 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11746 soname_spec
='$libname$release$shared_ext$major'
11747 shlibpath_var
=LD_LIBRARY_PATH
11748 case $host_vendor in
11750 shlibpath_overrides_runpath
=no
11752 runpath_var
=LD_RUN_PATH
11760 shlibpath_overrides_runpath
=no
11761 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11767 if test -d /usr
/nec
; then
11768 version_type
=linux
# correct to gnu/linux during the next big refactor
11769 library_names_spec
='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11770 soname_spec
='$libname$shared_ext.$major'
11771 shlibpath_var
=LD_LIBRARY_PATH
11775 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11779 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11780 soname_spec
='$libname$release$shared_ext$major'
11781 shlibpath_var
=LD_LIBRARY_PATH
11782 shlibpath_overrides_runpath
=yes
11783 hardcode_into_libs
=yes
11784 if test yes = "$with_gnu_ld"; then
11785 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11787 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11790 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11794 sys_lib_dlsearch_path_spec
='/usr/lib'
11798 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11799 version_type
=linux
# correct to gnu/linux during the next big refactor
11802 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11803 shlibpath_var
=LD_LIBRARY_PATH
11804 shlibpath_overrides_runpath
=no
11805 hardcode_into_libs
=yes
11809 version_type
=linux
# correct to gnu/linux during the next big refactor
11810 library_names_spec
='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11811 soname_spec
='$libname$release$shared_ext$major'
11812 shlibpath_var
=LD_LIBRARY_PATH
11819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11820 printf "%s\n" "$dynamic_linker" >&6; }
11821 test no
= "$dynamic_linker" && can_build_shared
=no
11823 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11824 if test yes = "$GCC"; then
11825 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11828 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11829 sys_lib_search_path_spec
=$lt_cv_sys_lib_search_path_spec
11832 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11833 sys_lib_dlsearch_path_spec
=$lt_cv_sys_lib_dlsearch_path_spec
11836 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11837 configure_time_dlsearch_path
=$sys_lib_dlsearch_path_spec
11839 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11840 func_munge_path_list sys_lib_dlsearch_path_spec
"$LT_SYS_LIBRARY_PATH"
11842 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11843 configure_time_lt_sys_library_path
=$LT_SYS_LIBRARY_PATH
11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11942 printf %s
"checking how to hardcode library paths into programs... " >&6; }
11944 if test -n "$hardcode_libdir_flag_spec" ||
11945 test -n "$runpath_var" ||
11946 test yes = "$hardcode_automatic"; then
11948 # We can hardcode non-existent directories.
11949 if test no
!= "$hardcode_direct" &&
11950 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11951 # have to relink, otherwise we might link with an installed library
11952 # when we should be linking with a yet-to-be-installed one
11953 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11954 test no
!= "$hardcode_minus_L"; then
11955 # Linking always hardcodes the temporary library directory.
11956 hardcode_action
=relink
11958 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11959 hardcode_action
=immediate
11962 # We cannot hardcode anything, or else we can only hardcode existing
11964 hardcode_action
=unsupported
11966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11967 printf "%s\n" "$hardcode_action" >&6; }
11969 if test relink
= "$hardcode_action" ||
11970 test yes = "$inherit_rpath"; then
11971 # Fast installation is not supported
11972 enable_fast_install
=no
11973 elif test yes = "$shlibpath_overrides_runpath" ||
11974 test no
= "$enable_shared"; then
11975 # Fast installation is not necessary
11976 enable_fast_install
=needless
11984 if test yes != "$enable_dlopen"; then
11985 enable_dlopen
=unknown
11986 enable_dlopen_self
=unknown
11987 enable_dlopen_self_static
=unknown
11994 lt_cv_dlopen
=load_add_on
11996 lt_cv_dlopen_self
=yes
11999 mingw
* | pw32
* | cegcc
*)
12000 lt_cv_dlopen
=LoadLibrary
12005 lt_cv_dlopen
=dlopen
12010 # if libdl is installed we need to link against it
12011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12012 printf %s
"checking for dlopen in -ldl... " >&6; }
12013 if test ${ac_cv_lib_dl_dlopen+y}
12015 printf %s
"(cached) " >&6
12017 ac_check_lib_save_LIBS
=$LIBS
12019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12020 /* end confdefs.h. */
12022 /* Override any GCC internal prototype to avoid an error.
12023 Use char because int might match the return type of a GCC
12024 builtin and then its argument prototype would still apply. */
12034 if ac_fn_c_try_link
"$LINENO"
12036 ac_cv_lib_dl_dlopen
=yes
12038 ac_cv_lib_dl_dlopen
=no
12040 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12041 conftest
$ac_exeext conftest.
$ac_ext
12042 LIBS
=$ac_check_lib_save_LIBS
12044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12045 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12046 if test "x$ac_cv_lib_dl_dlopen" = xyes
12048 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12053 lt_cv_dlopen_self
=yes
12060 # Don't try to run any link tests for TPF. We know it's impossible
12061 # because TPF is a cross-compiler, and we know how we open DSOs.
12062 lt_cv_dlopen
=dlopen
12064 lt_cv_dlopen_self
=no
12068 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12069 if test "x$ac_cv_func_shl_load" = xyes
12071 lt_cv_dlopen
=shl_load
12073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12074 printf %s
"checking for shl_load in -ldld... " >&6; }
12075 if test ${ac_cv_lib_dld_shl_load+y}
12077 printf %s
"(cached) " >&6
12079 ac_check_lib_save_LIBS
=$LIBS
12081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12091 return shl_load ();
12096 if ac_fn_c_try_link
"$LINENO"
12098 ac_cv_lib_dld_shl_load
=yes
12100 ac_cv_lib_dld_shl_load
=no
12102 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12103 conftest
$ac_exeext conftest.
$ac_ext
12104 LIBS
=$ac_check_lib_save_LIBS
12106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12107 printf "%s\n" "$ac_cv_lib_dld_shl_load" >&6; }
12108 if test "x$ac_cv_lib_dld_shl_load" = xyes
12110 lt_cv_dlopen
=shl_load lt_cv_dlopen_libs
=-ldld
12112 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12113 if test "x$ac_cv_func_dlopen" = xyes
12115 lt_cv_dlopen
=dlopen
12117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12118 printf %s
"checking for dlopen in -ldl... " >&6; }
12119 if test ${ac_cv_lib_dl_dlopen+y}
12121 printf %s
"(cached) " >&6
12123 ac_check_lib_save_LIBS
=$LIBS
12125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12140 if ac_fn_c_try_link
"$LINENO"
12142 ac_cv_lib_dl_dlopen
=yes
12144 ac_cv_lib_dl_dlopen
=no
12146 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12147 conftest
$ac_exeext conftest.
$ac_ext
12148 LIBS
=$ac_check_lib_save_LIBS
12150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12151 printf "%s\n" "$ac_cv_lib_dl_dlopen" >&6; }
12152 if test "x$ac_cv_lib_dl_dlopen" = xyes
12154 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-ldl
12156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12157 printf %s
"checking for dlopen in -lsvld... " >&6; }
12158 if test ${ac_cv_lib_svld_dlopen+y}
12160 printf %s
"(cached) " >&6
12162 ac_check_lib_save_LIBS
=$LIBS
12163 LIBS
="-lsvld $LIBS"
12164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12179 if ac_fn_c_try_link
"$LINENO"
12181 ac_cv_lib_svld_dlopen
=yes
12183 ac_cv_lib_svld_dlopen
=no
12185 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_lib_save_LIBS
12189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12190 printf "%s\n" "$ac_cv_lib_svld_dlopen" >&6; }
12191 if test "x$ac_cv_lib_svld_dlopen" = xyes
12193 lt_cv_dlopen
=dlopen lt_cv_dlopen_libs
=-lsvld
12195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12196 printf %s
"checking for dld_link in -ldld... " >&6; }
12197 if test ${ac_cv_lib_dld_dld_link+y}
12199 printf %s
"(cached) " >&6
12201 ac_check_lib_save_LIBS
=$LIBS
12203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12213 return dld_link ();
12218 if ac_fn_c_try_link
"$LINENO"
12220 ac_cv_lib_dld_dld_link
=yes
12222 ac_cv_lib_dld_dld_link
=no
12224 rm -f core conftest.err conftest.
$ac_objext conftest.beam \
12225 conftest
$ac_exeext conftest.
$ac_ext
12226 LIBS
=$ac_check_lib_save_LIBS
12228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12229 printf "%s\n" "$ac_cv_lib_dld_dld_link" >&6; }
12230 if test "x$ac_cv_lib_dld_dld_link" = xyes
12232 lt_cv_dlopen
=dld_link lt_cv_dlopen_libs
=-ldld
12253 if test no
= "$lt_cv_dlopen"; then
12259 case $lt_cv_dlopen in
12261 save_CPPFLAGS
=$CPPFLAGS
12262 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12264 save_LDFLAGS
=$LDFLAGS
12265 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12268 LIBS
="$lt_cv_dlopen_libs $LIBS"
12270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12271 printf %s
"checking whether a program can dlopen itself... " >&6; }
12272 if test ${lt_cv_dlopen_self+y}
12274 printf %s
"(cached) " >&6
12276 if test yes = "$cross_compiling"; then :
12277 lt_cv_dlopen_self
=cross
12279 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12280 lt_status
=$lt_dlunknown
12281 cat > conftest.
$ac_ext <<_LT_EOF
12282 #line $LINENO "configure"
12283 #include "confdefs.h"
12292 # define LT_DLGLOBAL RTLD_GLOBAL
12295 # define LT_DLGLOBAL DL_GLOBAL
12297 # define LT_DLGLOBAL 0
12301 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12302 find out it does not work in some platform. */
12303 #ifndef LT_DLLAZY_OR_NOW
12305 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12308 # define LT_DLLAZY_OR_NOW DL_LAZY
12311 # define LT_DLLAZY_OR_NOW RTLD_NOW
12314 # define LT_DLLAZY_OR_NOW DL_NOW
12316 # define LT_DLLAZY_OR_NOW 0
12323 /* When -fvisibility=hidden is used, assume the code has been annotated
12324 correspondingly for the symbols needed. */
12325 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12326 int fnord () __attribute__((visibility("default")));
12329 int fnord () { return 42; }
12332 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12333 int status = $lt_dlunknown;
12337 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12340 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12341 else puts (dlerror ());
12343 /* dlclose (self); */
12351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12352 (eval $ac_link) 2>&5
12354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12355 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12356 (.
/conftest
; exit; ) >&5 2>/dev
/null
12358 case x
$lt_status in
12359 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12360 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12361 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12364 # compilation failed
12365 lt_cv_dlopen_self
=no
12372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12373 printf "%s\n" "$lt_cv_dlopen_self" >&6; }
12375 if test yes = "$lt_cv_dlopen_self"; then
12376 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12378 printf %s
"checking whether a statically linked program can dlopen itself... " >&6; }
12379 if test ${lt_cv_dlopen_self_static+y}
12381 printf %s
"(cached) " >&6
12383 if test yes = "$cross_compiling"; then :
12384 lt_cv_dlopen_self_static
=cross
12386 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12387 lt_status
=$lt_dlunknown
12388 cat > conftest.
$ac_ext <<_LT_EOF
12389 #line $LINENO "configure"
12390 #include "confdefs.h"
12399 # define LT_DLGLOBAL RTLD_GLOBAL
12402 # define LT_DLGLOBAL DL_GLOBAL
12404 # define LT_DLGLOBAL 0
12408 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12409 find out it does not work in some platform. */
12410 #ifndef LT_DLLAZY_OR_NOW
12412 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12415 # define LT_DLLAZY_OR_NOW DL_LAZY
12418 # define LT_DLLAZY_OR_NOW RTLD_NOW
12421 # define LT_DLLAZY_OR_NOW DL_NOW
12423 # define LT_DLLAZY_OR_NOW 0
12430 /* When -fvisibility=hidden is used, assume the code has been annotated
12431 correspondingly for the symbols needed. */
12432 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12433 int fnord () __attribute__((visibility("default")));
12436 int fnord () { return 42; }
12439 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12440 int status = $lt_dlunknown;
12444 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12447 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12448 else puts (dlerror ());
12450 /* dlclose (self); */
12458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12459 (eval $ac_link) 2>&5
12461 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12462 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev
/null
; then
12463 (.
/conftest
; exit; ) >&5 2>/dev
/null
12465 case x
$lt_status in
12466 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12467 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12468 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12471 # compilation failed
12472 lt_cv_dlopen_self_static
=no
12479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12480 printf "%s\n" "$lt_cv_dlopen_self_static" >&6; }
12483 CPPFLAGS
=$save_CPPFLAGS
12484 LDFLAGS
=$save_LDFLAGS
12489 case $lt_cv_dlopen_self in
12490 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12491 *) enable_dlopen_self
=unknown
;;
12494 case $lt_cv_dlopen_self_static in
12495 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12496 *) enable_dlopen_self_static
=unknown
;;
12518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12519 printf %s
"checking whether stripping libraries is possible... " >&6; }
12520 if test -z "$STRIP"; then
12521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522 printf "%s\n" "no" >&6; }
12524 if $STRIP -V 2>&1 | $GREP "GNU strip" >/dev
/null
; then
12525 old_striplib
="$STRIP --strip-debug"
12526 striplib
="$STRIP --strip-unneeded"
12527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12528 printf "%s\n" "yes" >&6; }
12532 # FIXME - insert some real tests, host_os isn't really good enough
12533 striplib
="$STRIP -x"
12534 old_striplib
="$STRIP -S"
12535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12536 printf "%s\n" "yes" >&6; }
12539 if $STRIP -V 2>&1 | $GREP "elftoolchain" >/dev
/null
; then
12540 old_striplib
="$STRIP --strip-debug"
12541 striplib
="$STRIP --strip-unneeded"
12542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12543 printf "%s\n" "yes" >&6; }
12545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12546 printf "%s\n" "no" >&6; }
12550 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12551 printf "%s\n" "no" >&6; }
12568 # Report what library types will actually be built
12569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12570 printf %s
"checking if libtool supports shared libraries... " >&6; }
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12572 printf "%s\n" "$can_build_shared" >&6; }
12574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12575 printf %s
"checking whether to build shared libraries... " >&6; }
12576 test no
= "$can_build_shared" && enable_shared
=no
12578 # On AIX, shared libraries and static libraries use the same namespace, and
12579 # are all built from PIC.
12582 test yes = "$enable_shared" && enable_static
=no
12583 if test -n "$RANLIB"; then
12584 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12585 postinstall_cmds
='$RANLIB $lib'
12590 if test ia64
!= "$host_cpu"; then
12591 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12592 yes,aix
,yes) ;; # shared object as lib.so file only
12593 yes,svr4
,*) ;; # shared object as lib.so archive member only
12594 yes,*) enable_static
=no
;; # shared object in lib.a archive as well
12599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12600 printf "%s\n" "$enable_shared" >&6; }
12602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12603 printf %s
"checking whether to build static libraries... " >&6; }
12604 # Make sure either enable_shared or enable_static is yes.
12605 test yes = "$enable_shared" || enable_static
=yes
12606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12607 printf "%s\n" "$enable_static" >&6; }
12614 ac_cpp
='$CPP $CPPFLAGS'
12615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12635 ac_config_commands
="$ac_config_commands libtool"
12640 # Only expand once:
12645 for ac_prog
in 'bison -y' byacc
12647 # Extract the first word of "$ac_prog", so it can be a program name with args.
12648 set dummy
$ac_prog; ac_word
=$2
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12650 printf %s
"checking for $ac_word... " >&6; }
12651 if test ${ac_cv_prog_YACC+y}
12653 printf %s
"(cached) " >&6
12655 if test -n "$YACC"; then
12656 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
12658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12659 for as_dir
in $PATH
12662 case $as_dir in #(((
12665 *) as_dir
=$as_dir/ ;;
12667 for ac_exec_ext
in '' $ac_executable_extensions; do
12668 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
12669 ac_cv_prog_YACC
="$ac_prog"
12670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12679 YACC
=$ac_cv_prog_YACC
12680 if test -n "$YACC"; then
12681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
12682 printf "%s\n" "$YACC" >&6; }
12684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12685 printf "%s\n" "no" >&6; }
12689 test -n "$YACC" && break
12691 test -n "$YACC" || YACC
="yacc"
12694 for ac_prog
in flex
lex
12696 # Extract the first word of "$ac_prog", so it can be a program name with args.
12697 set dummy
$ac_prog; ac_word
=$2
12698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12699 printf %s
"checking for $ac_word... " >&6; }
12700 if test ${ac_cv_prog_LEX+y}
12702 printf %s
"(cached) " >&6
12704 if test -n "$LEX"; then
12705 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
12707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12708 for as_dir
in $PATH
12711 case $as_dir in #(((
12714 *) as_dir
=$as_dir/ ;;
12716 for ac_exec_ext
in '' $ac_executable_extensions; do
12717 if as_fn_executable_p
"$as_dir$ac_word$ac_exec_ext"; then
12718 ac_cv_prog_LEX
="$ac_prog"
12719 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
12728 LEX
=$ac_cv_prog_LEX
12729 if test -n "$LEX"; then
12730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
12731 printf "%s\n" "$LEX" >&6; }
12733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12734 printf "%s\n" "no" >&6; }
12738 test -n "$LEX" && break
12740 test -n "$LEX" || LEX
=":"
12742 if test "x$LEX" != "x:"; then
12743 cat >conftest.l
<<_ACEOF
12755 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
12757 yyless ((yyinput () != 0));
12759 yyless ((input () != 0));
12762 f { unput (yytext[0]); }
12763 . { BEGIN INITIAL; }
12765 #ifdef YYTEXT_POINTER
12766 extern char *yytext;
12779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex output file root" >&5
12780 printf %s
"checking for lex output file root... " >&6; }
12781 if test ${ac_cv_prog_lex_root+y}
12783 printf %s
"(cached) " >&6
12786 ac_cv_prog_lex_root
=unknown
12787 { { ac_try
="$LEX conftest.l"
12788 case "(($ac_try" in
12789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
12790 *) ac_try_echo=$ac_try;;
12792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12793 printf "%s\n" "$ac_try_echo"; } >&5
12794 (eval "$LEX conftest.l") 2>&5
12796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797 test $ac_status = 0; } &&
12798 if test -f lex.yy.c; then
12799 ac_cv_prog_lex_root=lex.yy
12800 elif test -f lexyy.c; then
12801 ac_cv_prog_lex_root=lexyy
12804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
12805 printf "%s\n" "$ac_cv_prog_lex_root" >&6; }
12806 if test "$ac_cv_prog_lex_root" = unknown
12808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cannot find output from $LEX; giving up on $LEX" >&5
12809 printf "%s\n" "$as_me: WARNING: cannot find output from $LEX; giving up on $LEX" >&2;}
12812 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
12814 if test ${LEXLIB+y}
12819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for lex library" >&5
12820 printf %s "checking for lex library... " >&6; }
12821 if test ${ac_cv_lib_lex+y}
12823 printf %s "(cached) " >&6
12826 ac_save_LIBS="$LIBS"
12828 for ac_cv_lib_lex in 'none needed' -lfl -ll 'not found'; do
12829 case $ac_cv_lib_lex in #(
12835 LIBS="$ac_cv_lib_lex $ac_save_LIBS" ;; #(
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12842 `cat $LEX_OUTPUT_ROOT.c
`
12844 if ac_fn_c_try_link "$LINENO"
12848 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12849 conftest$ac_exeext conftest.$ac_ext
12854 LIBS="$ac_save_LIBS"
12857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
12858 printf "%s\n" "$ac_cv_lib_lex" >&6; }
12859 if test "$ac_cv_lib_lex" = 'not found'
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: required lex library not found; giving up on $LEX" >&5
12862 printf "%s\n" "$as_me: WARNING: required lex library not found; giving up on $LEX" >&2;}
12864 elif test "$ac_cv_lib_lex" = 'none needed'
12868 LEXLIB=$ac_cv_lib_lex
12874 if test "$LEX" != :
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
12878 printf %s "checking whether yytext is a pointer... " >&6; }
12879 if test ${ac_cv_prog_lex_yytext_pointer+y}
12881 printf %s "(cached) " >&6
12883 # POSIX says lex can declare yytext either as a pointer or an array; the
12884 # default is implementation-dependent. Figure out which it is, since
12885 # not all implementations provide the %pointer and %array declarations.
12886 ac_cv_prog_lex_yytext_pointer=no
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 #define YYTEXT_POINTER 1
12891 `cat $LEX_OUTPUT_ROOT.c
`
12893 if ac_fn_c_try_compile "$LINENO"
12895 ac_cv_prog_lex_yytext_pointer=yes
12897 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
12901 printf "%s\n" "$ac_cv_prog_lex_yytext_pointer" >&6; }
12902 if test $ac_cv_prog_lex_yytext_pointer = yes; then
12904 printf "%s\n" "#define YYTEXT_POINTER 1" >>confdefs.h
12909 rm -f conftest.l $LEX_OUTPUT_ROOT.c
12915 if test "X$CC" != "X"; then
12916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector-strong" >&5
12917 printf %s "checking whether ${CC} accepts -fstack-protector-strong... " >&6; }
12918 if test ${ssp_cv_cc+y}
12920 printf %s "(cached) " >&6
12922 ssp_old_cflags="$CFLAGS"
12923 CFLAGS="$CFLAGS -fstack-protector-strong"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12935 if ac_fn_c_try_compile "$LINENO"
12941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12942 CFLAGS="$ssp_old_cflags"
12945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12946 printf "%s\n" "$ssp_cv_cc" >&6; }
12947 if test $ssp_cv_cc = yes; then
12948 CFLAGS="$CFLAGS -fstack-protector-strong"
12950 printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h
12954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fstack-protector" >&5
12955 printf %s "checking whether ${CC} accepts -fstack-protector... " >&6; }
12956 if test ${ssp_cv_cc+y}
12958 printf %s "(cached) " >&6
12960 ssp_old_cflags="$CFLAGS"
12961 CFLAGS="$CFLAGS -fstack-protector"
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12973 if ac_fn_c_try_compile "$LINENO"
12979 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12980 CFLAGS="$ssp_old_cflags"
12983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_cc" >&5
12984 printf "%s\n" "$ssp_cv_cc" >&6; }
12985 if test $ssp_cv_cc = yes; then
12986 CFLAGS="$CFLAGS -fstack-protector"
12988 printf "%s\n" "#define ENABLE_SSP_CC 1" >>confdefs.h
12995 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether libssp exists" >&5
12996 printf %s "checking whether libssp exists... " >&6; }
12997 if test ${ssp_cv_lib+y}
12999 printf %s "(cached) " >&6
13001 ssp_old_libs="$LIBS"
13003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13004 /* end confdefs.h. */
13014 if ac_fn_c_try_link "$LINENO"
13020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13021 conftest$ac_exeext conftest.$ac_ext
13022 LIBS="$ssp_old_libs"
13025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ssp_cv_lib" >&5
13026 printf "%s\n" "$ssp_cv_lib" >&6; }
13027 if test $ssp_cv_lib = yes; then
13033 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13034 if test "x$ac_cv_func_getaddrinfo" = xyes
13038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
13039 printf %s "checking for library containing getaddrinfo... " >&6; }
13040 if test ${ac_cv_search_getaddrinfo+y}
13042 printf %s "(cached) " >&6
13044 ac_func_search_save_LIBS=$LIBS
13045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13046 /* end confdefs.h. */
13048 /* Override any GCC internal prototype to avoid an error.
13049 Use char because int might match the return type of a GCC
13050 builtin and then its argument prototype would still apply. */
13051 char getaddrinfo ();
13055 return getaddrinfo ();
13060 for ac_lib in '' nsl
13062 if test -z "$ac_lib"; then
13063 ac_res="none required"
13066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13068 if ac_fn_c_try_link "$LINENO"
13070 ac_cv_search_getaddrinfo=$ac_res
13072 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13074 if test ${ac_cv_search_getaddrinfo+y}
13079 if test ${ac_cv_search_getaddrinfo+y}
13083 ac_cv_search_getaddrinfo=no
13085 rm conftest.$ac_ext
13086 LIBS=$ac_func_search_save_LIBS
13088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getaddrinfo" >&5
13089 printf "%s\n" "$ac_cv_search_getaddrinfo" >&6; }
13090 ac_res=$ac_cv_search_getaddrinfo
13091 if test "$ac_res" != no
13093 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13099 ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
13100 if test "x$ac_cv_func_getnameinfo" = xyes
13104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing getnameinfo" >&5
13105 printf %s "checking for library containing getnameinfo... " >&6; }
13106 if test ${ac_cv_search_getnameinfo+y}
13108 printf %s "(cached) " >&6
13110 ac_func_search_save_LIBS=$LIBS
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 char getnameinfo ();
13121 return getnameinfo ();
13126 for ac_lib in '' nsl
13128 if test -z "$ac_lib"; then
13129 ac_res="none required"
13132 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13134 if ac_fn_c_try_link "$LINENO"
13136 ac_cv_search_getnameinfo=$ac_res
13138 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13140 if test ${ac_cv_search_getnameinfo+y}
13145 if test ${ac_cv_search_getnameinfo+y}
13149 ac_cv_search_getnameinfo=no
13151 rm conftest.$ac_ext
13152 LIBS=$ac_func_search_save_LIBS
13154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getnameinfo" >&5
13155 printf "%s\n" "$ac_cv_search_getnameinfo" >&6; }
13156 ac_res=$ac_cv_search_getnameinfo
13157 if test "$ac_res" != no
13159 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13166 printf %s "checking for library containing socket... " >&6; }
13167 if test ${ac_cv_search_socket+y}
13169 printf %s "(cached) " >&6
13171 ac_func_search_save_LIBS=$LIBS
13172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13175 /* Override any GCC internal prototype to avoid an error.
13176 Use char because int might match the return type of a GCC
13177 builtin and then its argument prototype would still apply. */
13187 for ac_lib in '' socket
13189 if test -z "$ac_lib"; then
13190 ac_res="none required"
13193 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13195 if ac_fn_c_try_link "$LINENO"
13197 ac_cv_search_socket=$ac_res
13199 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13201 if test ${ac_cv_search_socket+y}
13206 if test ${ac_cv_search_socket+y}
13210 ac_cv_search_socket=no
13212 rm conftest.$ac_ext
13213 LIBS=$ac_func_search_save_LIBS
13215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13216 printf "%s\n" "$ac_cv_search_socket" >&6; }
13217 ac_res=$ac_cv_search_socket
13218 if test "$ac_res" != no
13220 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13223 as_fn_error $? "socket library not found" "$LINENO" 5
13228 # Check whether --enable-openssl was given.
13229 if test ${enable_openssl+y}
13231 enableval=$enable_openssl; cf_enable_openssl=$enableval
13233 cf_enable_openssl="auto"
13236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL/OpenSSL" >&5
13237 printf %s "checking for LibreSSL/OpenSSL... " >&6; }
13238 if test "$cf_enable_openssl" != "no"; then
13239 cf_openssl_basedir=""
13240 if test "$cf_enable_openssl" != "auto" &&
13241 test "$cf_enable_openssl" != "yes"; then
13242 cf_openssl_basedir="${cf_enable_openssl}"
13244 for dirs in /usr/local/ssl /usr/pkg /usr/local /usr/lib /usr/lib/ssl\
13245 /opt /opt/openssl /usr/local/openssl; do
13246 if test -f "${dirs}/include/openssl/opensslv.h"; then
13247 cf_openssl_basedir="${dirs}"
13254 if test ! -z "$cf_openssl_basedir"; then
13255 if test -f "${cf_openssl_basedir}/include/openssl/opensslv.h"; then
13256 CPPFLAGS="-I${cf_openssl_basedir}/include $CPPFLAGS"
13257 LDFLAGS="-L${cf_openssl_basedir}/lib $LDFLAGS"
13259 cf_openssl_basedir=""
13262 if test -f "/usr/include/openssl/opensslv.h"; then
13263 cf_openssl_basedir="/usr"
13267 if test ! -z "$cf_openssl_basedir"; then
13268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cf_openssl_basedir" >&5
13269 printf "%s\n" "$cf_openssl_basedir" >&6; }
13270 cf_enable_openssl="yes"
13272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found. Please check your path." >&5
13273 printf "%s\n" "not found. Please check your path." >&6; }
13274 cf_enable_openssl="no"
13276 unset cf_openssl_basedir
13278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
13279 printf "%s\n" "disabled" >&6; }
13282 if test "$cf_enable_openssl" != "no"
13284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for LibreSSL, or OpenSSL 1.1.1 and above" >&5
13285 printf %s "checking for LibreSSL, or OpenSSL 1.1.1 and above... " >&6; }
13286 if test "$cross_compiling" = yes
13288 cf_openssl_version_ok=no
13290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13294 #include <openssl/opensslv.h>
13295 #include <stdlib.h>
13299 exit(!(OPENSSL_VERSION_NUMBER >= 0x1010100fL));
13304 if ac_fn_c_try_run "$LINENO"
13306 cf_openssl_version_ok=yes
13308 cf_openssl_version_ok=no
13310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13311 conftest.$ac_objext conftest.beam conftest.$ac_ext
13315 if test "$cf_openssl_version_ok" = "yes"
13317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
13318 printf "%s\n" "found" >&6; }
13320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for RSA_free in -lcrypto" >&5
13321 printf %s "checking for RSA_free in -lcrypto... " >&6; }
13322 if test ${ac_cv_lib_crypto_RSA_free+y}
13324 printf %s "(cached) " >&6
13326 ac_check_lib_save_LIBS=$LIBS
13327 LIBS="-lcrypto $LIBS"
13328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13329 /* end confdefs.h. */
13331 /* Override any GCC internal prototype to avoid an error.
13332 Use char because int might match the return type of a GCC
13333 builtin and then its argument prototype would still apply. */
13338 return RSA_free ();
13343 if ac_fn_c_try_link "$LINENO"
13345 ac_cv_lib_crypto_RSA_free=yes
13347 ac_cv_lib_crypto_RSA_free=no
13349 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13350 conftest$ac_exeext conftest.$ac_ext
13351 LIBS=$ac_check_lib_save_LIBS
13353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_RSA_free" >&5
13354 printf "%s\n" "$ac_cv_lib_crypto_RSA_free" >&6; }
13355 if test "x$ac_cv_lib_crypto_RSA_free" = xyes
13357 printf "%s\n" "#define HAVE_LIBCRYPTO 1" >>confdefs.h
13359 LIBS="-lcrypto $LIBS"
13363 if test "$ac_cv_lib_crypto_RSA_free" = "yes"
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SSL_connect in -lssl" >&5
13366 printf %s "checking for SSL_connect in -lssl... " >&6; }
13367 if test ${ac_cv_lib_ssl_SSL_connect+y}
13369 printf %s "(cached) " >&6
13371 ac_check_lib_save_LIBS=$LIBS
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13379 char SSL_connect ();
13383 return SSL_connect ();
13388 if ac_fn_c_try_link "$LINENO"
13390 ac_cv_lib_ssl_SSL_connect=yes
13392 ac_cv_lib_ssl_SSL_connect=no
13394 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13395 conftest$ac_exeext conftest.$ac_ext
13396 LIBS=$ac_check_lib_save_LIBS
13398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ssl_SSL_connect" >&5
13399 printf "%s\n" "$ac_cv_lib_ssl_SSL_connect" >&6; }
13400 if test "x$ac_cv_lib_ssl_SSL_connect" = xyes
13402 printf "%s\n" "#define HAVE_LIBSSL 1" >>confdefs.h
13411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no - LibreSSL/OpenSSL support disabled" >&5
13412 printf "%s\n" "no - LibreSSL/OpenSSL support disabled" >&6; }
13413 cf_enable_openssl="no"
13418 # Check whether --enable-assert was given.
13419 if test ${enable_assert+y}
13421 enableval=$enable_assert; assert=$enableval
13427 if test "$assert" = "no"
13430 printf "%s\n" "#define NDEBUG 1" >>confdefs.h
13435 # Check whether --enable-warnings was given.
13436 if test ${enable_warnings+y}
13438 enableval=$enable_warnings; warnings="$enableval"
13444 if test "$warnings" = "yes"
13451 for flag in -Werror=unknown-warning-option; do
13452 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13454 printf %s "checking whether C compiler accepts $flag... " >&6; }
13455 if eval test \${$as_CACHEVAR+y}
13457 printf %s "(cached) " >&6
13460 ax_check_save_flags=$CFLAGS
13461 CFLAGS="$CFLAGS $flag"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13473 if ac_fn_c_try_compile "$LINENO"
13475 eval "$as_CACHEVAR=yes"
13477 eval "$as_CACHEVAR=no"
13479 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13480 CFLAGS=$ax_check_save_flags
13482 eval ac_res=\$$as_CACHEVAR
13483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13484 printf "%s\n" "$ac_res" >&6; }
13485 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13488 if test ${CFLAGS+y}
13491 case " $CFLAGS " in #(
13493 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13494 (: CFLAGS already contains $flag) 2>&5
13496 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13497 test $ac_status = 0; } ;; #(
13500 as_fn_append CFLAGS " $flag"
13501 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13502 (: CFLAGS="$CFLAGS") 2>&5
13504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13505 test $ac_status = 0; }
13512 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13513 (: CFLAGS="$CFLAGS") 2>&5
13515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13516 test $ac_status = 0; }
13531 for flag in -Wall; do
13532 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13534 printf %s "checking whether C compiler accepts $flag... " >&6; }
13535 if eval test \${$as_CACHEVAR+y}
13537 printf %s "(cached) " >&6
13540 ax_check_save_flags=$CFLAGS
13541 CFLAGS="$CFLAGS $flag"
13542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13543 /* end confdefs.h. */
13553 if ac_fn_c_try_compile "$LINENO"
13555 eval "$as_CACHEVAR=yes"
13557 eval "$as_CACHEVAR=no"
13559 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13560 CFLAGS=$ax_check_save_flags
13562 eval ac_res=\$$as_CACHEVAR
13563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13564 printf "%s\n" "$ac_res" >&6; }
13565 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13568 if test ${CFLAGS+y}
13571 case " $CFLAGS " in #(
13573 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13574 (: CFLAGS already contains $flag) 2>&5
13576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13577 test $ac_status = 0; } ;; #(
13580 as_fn_append CFLAGS " $flag"
13581 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13582 (: CFLAGS="$CFLAGS") 2>&5
13584 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13585 test $ac_status = 0; }
13592 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13593 (: CFLAGS="$CFLAGS") 2>&5
13595 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13596 test $ac_status = 0; }
13610 for flag in -Wbad-function-cast; do
13611 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13613 printf %s "checking whether C compiler accepts $flag... " >&6; }
13614 if eval test \${$as_CACHEVAR+y}
13616 printf %s "(cached) " >&6
13619 ax_check_save_flags=$CFLAGS
13620 CFLAGS="$CFLAGS $flag"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13632 if ac_fn_c_try_compile "$LINENO"
13634 eval "$as_CACHEVAR=yes"
13636 eval "$as_CACHEVAR=no"
13638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13639 CFLAGS=$ax_check_save_flags
13641 eval ac_res=\$$as_CACHEVAR
13642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13643 printf "%s\n" "$ac_res" >&6; }
13644 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13647 if test ${CFLAGS+y}
13650 case " $CFLAGS " in #(
13652 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13653 (: CFLAGS already contains $flag) 2>&5
13655 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13656 test $ac_status = 0; } ;; #(
13659 as_fn_append CFLAGS " $flag"
13660 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13661 (: CFLAGS="$CFLAGS") 2>&5
13663 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13664 test $ac_status = 0; }
13671 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13672 (: CFLAGS="$CFLAGS") 2>&5
13674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13675 test $ac_status = 0; }
13689 for flag in -Wcast-align; do
13690 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13692 printf %s "checking whether C compiler accepts $flag... " >&6; }
13693 if eval test \${$as_CACHEVAR+y}
13695 printf %s "(cached) " >&6
13698 ax_check_save_flags=$CFLAGS
13699 CFLAGS="$CFLAGS $flag"
13700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13701 /* end confdefs.h. */
13711 if ac_fn_c_try_compile "$LINENO"
13713 eval "$as_CACHEVAR=yes"
13715 eval "$as_CACHEVAR=no"
13717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13718 CFLAGS=$ax_check_save_flags
13720 eval ac_res=\$$as_CACHEVAR
13721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13722 printf "%s\n" "$ac_res" >&6; }
13723 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13726 if test ${CFLAGS+y}
13729 case " $CFLAGS " in #(
13731 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13732 (: CFLAGS already contains $flag) 2>&5
13734 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13735 test $ac_status = 0; } ;; #(
13738 as_fn_append CFLAGS " $flag"
13739 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13740 (: CFLAGS="$CFLAGS") 2>&5
13742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13743 test $ac_status = 0; }
13750 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13751 (: CFLAGS="$CFLAGS") 2>&5
13753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754 test $ac_status = 0; }
13768 for flag in -Wcast-function-type; do
13769 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13771 printf %s "checking whether C compiler accepts $flag... " >&6; }
13772 if eval test \${$as_CACHEVAR+y}
13774 printf %s "(cached) " >&6
13777 ax_check_save_flags=$CFLAGS
13778 CFLAGS="$CFLAGS $flag"
13779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13790 if ac_fn_c_try_compile "$LINENO"
13792 eval "$as_CACHEVAR=yes"
13794 eval "$as_CACHEVAR=no"
13796 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13797 CFLAGS=$ax_check_save_flags
13799 eval ac_res=\$$as_CACHEVAR
13800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13801 printf "%s\n" "$ac_res" >&6; }
13802 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13805 if test ${CFLAGS+y}
13808 case " $CFLAGS " in #(
13810 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13811 (: CFLAGS already contains $flag) 2>&5
13813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13814 test $ac_status = 0; } ;; #(
13817 as_fn_append CFLAGS " $flag"
13818 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13819 (: CFLAGS="$CFLAGS") 2>&5
13821 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13822 test $ac_status = 0; }
13829 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13830 (: CFLAGS="$CFLAGS") 2>&5
13832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13833 test $ac_status = 0; }
13847 for flag in -Wcast-qual; do
13848 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13850 printf %s "checking whether C compiler accepts $flag... " >&6; }
13851 if eval test \${$as_CACHEVAR+y}
13853 printf %s "(cached) " >&6
13856 ax_check_save_flags=$CFLAGS
13857 CFLAGS="$CFLAGS $flag"
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13869 if ac_fn_c_try_compile "$LINENO"
13871 eval "$as_CACHEVAR=yes"
13873 eval "$as_CACHEVAR=no"
13875 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13876 CFLAGS=$ax_check_save_flags
13878 eval ac_res=\$$as_CACHEVAR
13879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13880 printf "%s\n" "$ac_res" >&6; }
13881 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13884 if test ${CFLAGS+y}
13887 case " $CFLAGS " in #(
13889 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13890 (: CFLAGS already contains $flag) 2>&5
13892 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13893 test $ac_status = 0; } ;; #(
13896 as_fn_append CFLAGS " $flag"
13897 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13898 (: CFLAGS="$CFLAGS") 2>&5
13900 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901 test $ac_status = 0; }
13908 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13909 (: CFLAGS="$CFLAGS") 2>&5
13911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13912 test $ac_status = 0; }
13926 for flag in -Wclobbered; do
13927 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
13928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
13929 printf %s "checking whether C compiler accepts $flag... " >&6; }
13930 if eval test \${$as_CACHEVAR+y}
13932 printf %s "(cached) " >&6
13935 ax_check_save_flags=$CFLAGS
13936 CFLAGS="$CFLAGS $flag"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13948 if ac_fn_c_try_compile "$LINENO"
13950 eval "$as_CACHEVAR=yes"
13952 eval "$as_CACHEVAR=no"
13954 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13955 CFLAGS=$ax_check_save_flags
13957 eval ac_res=\$$as_CACHEVAR
13958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13959 printf "%s\n" "$ac_res" >&6; }
13960 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
13963 if test ${CFLAGS+y}
13966 case " $CFLAGS " in #(
13968 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
13969 (: CFLAGS already contains $flag) 2>&5
13971 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13972 test $ac_status = 0; } ;; #(
13975 as_fn_append CFLAGS " $flag"
13976 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13977 (: CFLAGS="$CFLAGS") 2>&5
13979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980 test $ac_status = 0; }
13987 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
13988 (: CFLAGS="$CFLAGS") 2>&5
13990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13991 test $ac_status = 0; }
14005 for flag in -Wduplicated-cond; do
14006 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14008 printf %s "checking whether C compiler accepts $flag... " >&6; }
14009 if eval test \${$as_CACHEVAR+y}
14011 printf %s "(cached) " >&6
14014 ax_check_save_flags=$CFLAGS
14015 CFLAGS="$CFLAGS $flag"
14016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14017 /* end confdefs.h. */
14027 if ac_fn_c_try_compile "$LINENO"
14029 eval "$as_CACHEVAR=yes"
14031 eval "$as_CACHEVAR=no"
14033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14034 CFLAGS=$ax_check_save_flags
14036 eval ac_res=\$$as_CACHEVAR
14037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14038 printf "%s\n" "$ac_res" >&6; }
14039 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14042 if test ${CFLAGS+y}
14045 case " $CFLAGS " in #(
14047 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14048 (: CFLAGS already contains $flag) 2>&5
14050 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14051 test $ac_status = 0; } ;; #(
14054 as_fn_append CFLAGS " $flag"
14055 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14056 (: CFLAGS="$CFLAGS") 2>&5
14058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059 test $ac_status = 0; }
14066 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14067 (: CFLAGS="$CFLAGS") 2>&5
14069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14070 test $ac_status = 0; }
14084 for flag in -Wempty-body; do
14085 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14087 printf %s "checking whether C compiler accepts $flag... " >&6; }
14088 if eval test \${$as_CACHEVAR+y}
14090 printf %s "(cached) " >&6
14093 ax_check_save_flags=$CFLAGS
14094 CFLAGS="$CFLAGS $flag"
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14106 if ac_fn_c_try_compile "$LINENO"
14108 eval "$as_CACHEVAR=yes"
14110 eval "$as_CACHEVAR=no"
14112 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14113 CFLAGS=$ax_check_save_flags
14115 eval ac_res=\$$as_CACHEVAR
14116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14117 printf "%s\n" "$ac_res" >&6; }
14118 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14121 if test ${CFLAGS+y}
14124 case " $CFLAGS " in #(
14126 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14127 (: CFLAGS already contains $flag) 2>&5
14129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14130 test $ac_status = 0; } ;; #(
14133 as_fn_append CFLAGS " $flag"
14134 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14135 (: CFLAGS="$CFLAGS") 2>&5
14137 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14138 test $ac_status = 0; }
14145 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14146 (: CFLAGS="$CFLAGS") 2>&5
14148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14149 test $ac_status = 0; }
14163 for flag in -Wignored-qualifiers; do
14164 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14166 printf %s "checking whether C compiler accepts $flag... " >&6; }
14167 if eval test \${$as_CACHEVAR+y}
14169 printf %s "(cached) " >&6
14172 ax_check_save_flags=$CFLAGS
14173 CFLAGS="$CFLAGS $flag"
14174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14175 /* end confdefs.h. */
14185 if ac_fn_c_try_compile "$LINENO"
14187 eval "$as_CACHEVAR=yes"
14189 eval "$as_CACHEVAR=no"
14191 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14192 CFLAGS=$ax_check_save_flags
14194 eval ac_res=\$$as_CACHEVAR
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14196 printf "%s\n" "$ac_res" >&6; }
14197 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14200 if test ${CFLAGS+y}
14203 case " $CFLAGS " in #(
14205 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14206 (: CFLAGS already contains $flag) 2>&5
14208 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14209 test $ac_status = 0; } ;; #(
14212 as_fn_append CFLAGS " $flag"
14213 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14214 (: CFLAGS="$CFLAGS") 2>&5
14216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14217 test $ac_status = 0; }
14224 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14225 (: CFLAGS="$CFLAGS") 2>&5
14227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14228 test $ac_status = 0; }
14242 for flag in -Wlogical-op; do
14243 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14245 printf %s "checking whether C compiler accepts $flag... " >&6; }
14246 if eval test \${$as_CACHEVAR+y}
14248 printf %s "(cached) " >&6
14251 ax_check_save_flags=$CFLAGS
14252 CFLAGS="$CFLAGS $flag"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14264 if ac_fn_c_try_compile "$LINENO"
14266 eval "$as_CACHEVAR=yes"
14268 eval "$as_CACHEVAR=no"
14270 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14271 CFLAGS=$ax_check_save_flags
14273 eval ac_res=\$$as_CACHEVAR
14274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14275 printf "%s\n" "$ac_res" >&6; }
14276 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14279 if test ${CFLAGS+y}
14282 case " $CFLAGS " in #(
14284 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14285 (: CFLAGS already contains $flag) 2>&5
14287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14288 test $ac_status = 0; } ;; #(
14291 as_fn_append CFLAGS " $flag"
14292 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14293 (: CFLAGS="$CFLAGS") 2>&5
14295 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14296 test $ac_status = 0; }
14303 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14304 (: CFLAGS="$CFLAGS") 2>&5
14306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14307 test $ac_status = 0; }
14321 for flag in -Wmissing-declarations; do
14322 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14324 printf %s "checking whether C compiler accepts $flag... " >&6; }
14325 if eval test \${$as_CACHEVAR+y}
14327 printf %s "(cached) " >&6
14330 ax_check_save_flags=$CFLAGS
14331 CFLAGS="$CFLAGS $flag"
14332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14333 /* end confdefs.h. */
14343 if ac_fn_c_try_compile "$LINENO"
14345 eval "$as_CACHEVAR=yes"
14347 eval "$as_CACHEVAR=no"
14349 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14350 CFLAGS=$ax_check_save_flags
14352 eval ac_res=\$$as_CACHEVAR
14353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14354 printf "%s\n" "$ac_res" >&6; }
14355 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14358 if test ${CFLAGS+y}
14361 case " $CFLAGS " in #(
14363 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14364 (: CFLAGS already contains $flag) 2>&5
14366 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14367 test $ac_status = 0; } ;; #(
14370 as_fn_append CFLAGS " $flag"
14371 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14372 (: CFLAGS="$CFLAGS") 2>&5
14374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14375 test $ac_status = 0; }
14382 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14383 (: CFLAGS="$CFLAGS") 2>&5
14385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14386 test $ac_status = 0; }
14400 for flag in -Wmissing-field-initializers; do
14401 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14403 printf %s "checking whether C compiler accepts $flag... " >&6; }
14404 if eval test \${$as_CACHEVAR+y}
14406 printf %s "(cached) " >&6
14409 ax_check_save_flags=$CFLAGS
14410 CFLAGS="$CFLAGS $flag"
14411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14412 /* end confdefs.h. */
14422 if ac_fn_c_try_compile "$LINENO"
14424 eval "$as_CACHEVAR=yes"
14426 eval "$as_CACHEVAR=no"
14428 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14429 CFLAGS=$ax_check_save_flags
14431 eval ac_res=\$$as_CACHEVAR
14432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14433 printf "%s\n" "$ac_res" >&6; }
14434 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14437 if test ${CFLAGS+y}
14440 case " $CFLAGS " in #(
14442 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14443 (: CFLAGS already contains $flag) 2>&5
14445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14446 test $ac_status = 0; } ;; #(
14449 as_fn_append CFLAGS " $flag"
14450 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14451 (: CFLAGS="$CFLAGS") 2>&5
14453 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14454 test $ac_status = 0; }
14461 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14462 (: CFLAGS="$CFLAGS") 2>&5
14464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14465 test $ac_status = 0; }
14479 for flag in -Wmissing-include-dirs; do
14480 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14482 printf %s "checking whether C compiler accepts $flag... " >&6; }
14483 if eval test \${$as_CACHEVAR+y}
14485 printf %s "(cached) " >&6
14488 ax_check_save_flags=$CFLAGS
14489 CFLAGS="$CFLAGS $flag"
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14501 if ac_fn_c_try_compile "$LINENO"
14503 eval "$as_CACHEVAR=yes"
14505 eval "$as_CACHEVAR=no"
14507 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14508 CFLAGS=$ax_check_save_flags
14510 eval ac_res=\$$as_CACHEVAR
14511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14512 printf "%s\n" "$ac_res" >&6; }
14513 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14516 if test ${CFLAGS+y}
14519 case " $CFLAGS " in #(
14521 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14522 (: CFLAGS already contains $flag) 2>&5
14524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14525 test $ac_status = 0; } ;; #(
14528 as_fn_append CFLAGS " $flag"
14529 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14530 (: CFLAGS="$CFLAGS") 2>&5
14532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14533 test $ac_status = 0; }
14540 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14541 (: CFLAGS="$CFLAGS") 2>&5
14543 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14544 test $ac_status = 0; }
14558 for flag in -Wmissing-parameter-type; do
14559 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14561 printf %s "checking whether C compiler accepts $flag... " >&6; }
14562 if eval test \${$as_CACHEVAR+y}
14564 printf %s "(cached) " >&6
14567 ax_check_save_flags=$CFLAGS
14568 CFLAGS="$CFLAGS $flag"
14569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14570 /* end confdefs.h. */
14580 if ac_fn_c_try_compile "$LINENO"
14582 eval "$as_CACHEVAR=yes"
14584 eval "$as_CACHEVAR=no"
14586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14587 CFLAGS=$ax_check_save_flags
14589 eval ac_res=\$$as_CACHEVAR
14590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14591 printf "%s\n" "$ac_res" >&6; }
14592 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14595 if test ${CFLAGS+y}
14598 case " $CFLAGS " in #(
14600 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14601 (: CFLAGS already contains $flag) 2>&5
14603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14604 test $ac_status = 0; } ;; #(
14607 as_fn_append CFLAGS " $flag"
14608 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14609 (: CFLAGS="$CFLAGS") 2>&5
14611 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14612 test $ac_status = 0; }
14619 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14620 (: CFLAGS="$CFLAGS") 2>&5
14622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14623 test $ac_status = 0; }
14637 for flag in -Wmissing-prototypes; do
14638 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14640 printf %s "checking whether C compiler accepts $flag... " >&6; }
14641 if eval test \${$as_CACHEVAR+y}
14643 printf %s "(cached) " >&6
14646 ax_check_save_flags=$CFLAGS
14647 CFLAGS="$CFLAGS $flag"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14659 if ac_fn_c_try_compile "$LINENO"
14661 eval "$as_CACHEVAR=yes"
14663 eval "$as_CACHEVAR=no"
14665 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14666 CFLAGS=$ax_check_save_flags
14668 eval ac_res=\$$as_CACHEVAR
14669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14670 printf "%s\n" "$ac_res" >&6; }
14671 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14674 if test ${CFLAGS+y}
14677 case " $CFLAGS " in #(
14679 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14680 (: CFLAGS already contains $flag) 2>&5
14682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14683 test $ac_status = 0; } ;; #(
14686 as_fn_append CFLAGS " $flag"
14687 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14688 (: CFLAGS="$CFLAGS") 2>&5
14690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14691 test $ac_status = 0; }
14698 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14699 (: CFLAGS="$CFLAGS") 2>&5
14701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14702 test $ac_status = 0; }
14716 for flag in -Wnested-externs; do
14717 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14719 printf %s "checking whether C compiler accepts $flag... " >&6; }
14720 if eval test \${$as_CACHEVAR+y}
14722 printf %s "(cached) " >&6
14725 ax_check_save_flags=$CFLAGS
14726 CFLAGS="$CFLAGS $flag"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14738 if ac_fn_c_try_compile "$LINENO"
14740 eval "$as_CACHEVAR=yes"
14742 eval "$as_CACHEVAR=no"
14744 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14745 CFLAGS=$ax_check_save_flags
14747 eval ac_res=\$$as_CACHEVAR
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14749 printf "%s\n" "$ac_res" >&6; }
14750 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14753 if test ${CFLAGS+y}
14756 case " $CFLAGS " in #(
14758 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14759 (: CFLAGS already contains $flag) 2>&5
14761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14762 test $ac_status = 0; } ;; #(
14765 as_fn_append CFLAGS " $flag"
14766 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14767 (: CFLAGS="$CFLAGS") 2>&5
14769 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14770 test $ac_status = 0; }
14777 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14778 (: CFLAGS="$CFLAGS") 2>&5
14780 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14781 test $ac_status = 0; }
14795 for flag in -Wold-style-declaration; do
14796 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14798 printf %s "checking whether C compiler accepts $flag... " >&6; }
14799 if eval test \${$as_CACHEVAR+y}
14801 printf %s "(cached) " >&6
14804 ax_check_save_flags=$CFLAGS
14805 CFLAGS="$CFLAGS $flag"
14806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14807 /* end confdefs.h. */
14817 if ac_fn_c_try_compile "$LINENO"
14819 eval "$as_CACHEVAR=yes"
14821 eval "$as_CACHEVAR=no"
14823 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14824 CFLAGS=$ax_check_save_flags
14826 eval ac_res=\$$as_CACHEVAR
14827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14828 printf "%s\n" "$ac_res" >&6; }
14829 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14832 if test ${CFLAGS+y}
14835 case " $CFLAGS " in #(
14837 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14838 (: CFLAGS already contains $flag) 2>&5
14840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14841 test $ac_status = 0; } ;; #(
14844 as_fn_append CFLAGS " $flag"
14845 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14846 (: CFLAGS="$CFLAGS") 2>&5
14848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14849 test $ac_status = 0; }
14856 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14857 (: CFLAGS="$CFLAGS") 2>&5
14859 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14860 test $ac_status = 0; }
14874 for flag in -Woverride-init; do
14875 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14877 printf %s "checking whether C compiler accepts $flag... " >&6; }
14878 if eval test \${$as_CACHEVAR+y}
14880 printf %s "(cached) " >&6
14883 ax_check_save_flags=$CFLAGS
14884 CFLAGS="$CFLAGS $flag"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14896 if ac_fn_c_try_compile "$LINENO"
14898 eval "$as_CACHEVAR=yes"
14900 eval "$as_CACHEVAR=no"
14902 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14903 CFLAGS=$ax_check_save_flags
14905 eval ac_res=\$$as_CACHEVAR
14906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14907 printf "%s\n" "$ac_res" >&6; }
14908 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14911 if test ${CFLAGS+y}
14914 case " $CFLAGS " in #(
14916 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14917 (: CFLAGS already contains $flag) 2>&5
14919 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14920 test $ac_status = 0; } ;; #(
14923 as_fn_append CFLAGS " $flag"
14924 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14925 (: CFLAGS="$CFLAGS") 2>&5
14927 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928 test $ac_status = 0; }
14935 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
14936 (: CFLAGS="$CFLAGS") 2>&5
14938 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14939 test $ac_status = 0; }
14953 for flag in -Wpointer-arith; do
14954 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
14956 printf %s "checking whether C compiler accepts $flag... " >&6; }
14957 if eval test \${$as_CACHEVAR+y}
14959 printf %s "(cached) " >&6
14962 ax_check_save_flags=$CFLAGS
14963 CFLAGS="$CFLAGS $flag"
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14975 if ac_fn_c_try_compile "$LINENO"
14977 eval "$as_CACHEVAR=yes"
14979 eval "$as_CACHEVAR=no"
14981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
14982 CFLAGS=$ax_check_save_flags
14984 eval ac_res=\$$as_CACHEVAR
14985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14986 printf "%s\n" "$ac_res" >&6; }
14987 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
14990 if test ${CFLAGS+y}
14993 case " $CFLAGS " in #(
14995 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
14996 (: CFLAGS already contains $flag) 2>&5
14998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14999 test $ac_status = 0; } ;; #(
15002 as_fn_append CFLAGS " $flag"
15003 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15004 (: CFLAGS="$CFLAGS") 2>&5
15006 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 test $ac_status = 0; }
15014 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15015 (: CFLAGS="$CFLAGS") 2>&5
15017 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15018 test $ac_status = 0; }
15032 for flag in -Wredundant-decls; do
15033 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15035 printf %s "checking whether C compiler accepts $flag... " >&6; }
15036 if eval test \${$as_CACHEVAR+y}
15038 printf %s "(cached) " >&6
15041 ax_check_save_flags=$CFLAGS
15042 CFLAGS="$CFLAGS $flag"
15043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15044 /* end confdefs.h. */
15054 if ac_fn_c_try_compile "$LINENO"
15056 eval "$as_CACHEVAR=yes"
15058 eval "$as_CACHEVAR=no"
15060 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15061 CFLAGS=$ax_check_save_flags
15063 eval ac_res=\$$as_CACHEVAR
15064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15065 printf "%s\n" "$ac_res" >&6; }
15066 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15069 if test ${CFLAGS+y}
15072 case " $CFLAGS " in #(
15074 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15075 (: CFLAGS already contains $flag) 2>&5
15077 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15078 test $ac_status = 0; } ;; #(
15081 as_fn_append CFLAGS " $flag"
15082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15083 (: CFLAGS="$CFLAGS") 2>&5
15085 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15086 test $ac_status = 0; }
15093 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15094 (: CFLAGS="$CFLAGS") 2>&5
15096 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15097 test $ac_status = 0; }
15111 for flag in -Wshadow; do
15112 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15114 printf %s "checking whether C compiler accepts $flag... " >&6; }
15115 if eval test \${$as_CACHEVAR+y}
15117 printf %s "(cached) " >&6
15120 ax_check_save_flags=$CFLAGS
15121 CFLAGS="$CFLAGS $flag"
15122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15123 /* end confdefs.h. */
15133 if ac_fn_c_try_compile "$LINENO"
15135 eval "$as_CACHEVAR=yes"
15137 eval "$as_CACHEVAR=no"
15139 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15140 CFLAGS=$ax_check_save_flags
15142 eval ac_res=\$$as_CACHEVAR
15143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15144 printf "%s\n" "$ac_res" >&6; }
15145 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15148 if test ${CFLAGS+y}
15151 case " $CFLAGS " in #(
15153 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15154 (: CFLAGS already contains $flag) 2>&5
15156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15157 test $ac_status = 0; } ;; #(
15160 as_fn_append CFLAGS " $flag"
15161 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15162 (: CFLAGS="$CFLAGS") 2>&5
15164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15165 test $ac_status = 0; }
15172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15173 (: CFLAGS="$CFLAGS") 2>&5
15175 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15176 test $ac_status = 0; }
15190 for flag in -Wshift-negative-value; do
15191 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15193 printf %s "checking whether C compiler accepts $flag... " >&6; }
15194 if eval test \${$as_CACHEVAR+y}
15196 printf %s "(cached) " >&6
15199 ax_check_save_flags=$CFLAGS
15200 CFLAGS="$CFLAGS $flag"
15201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15202 /* end confdefs.h. */
15212 if ac_fn_c_try_compile "$LINENO"
15214 eval "$as_CACHEVAR=yes"
15216 eval "$as_CACHEVAR=no"
15218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15219 CFLAGS=$ax_check_save_flags
15221 eval ac_res=\$$as_CACHEVAR
15222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15223 printf "%s\n" "$ac_res" >&6; }
15224 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15227 if test ${CFLAGS+y}
15230 case " $CFLAGS " in #(
15232 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15233 (: CFLAGS already contains $flag) 2>&5
15235 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15236 test $ac_status = 0; } ;; #(
15239 as_fn_append CFLAGS " $flag"
15240 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15241 (: CFLAGS="$CFLAGS") 2>&5
15243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15244 test $ac_status = 0; }
15251 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15252 (: CFLAGS="$CFLAGS") 2>&5
15254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15255 test $ac_status = 0; }
15269 for flag in -Wsign-compare; do
15270 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15272 printf %s "checking whether C compiler accepts $flag... " >&6; }
15273 if eval test \${$as_CACHEVAR+y}
15275 printf %s "(cached) " >&6
15278 ax_check_save_flags=$CFLAGS
15279 CFLAGS="$CFLAGS $flag"
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15291 if ac_fn_c_try_compile "$LINENO"
15293 eval "$as_CACHEVAR=yes"
15295 eval "$as_CACHEVAR=no"
15297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15298 CFLAGS=$ax_check_save_flags
15300 eval ac_res=\$$as_CACHEVAR
15301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15302 printf "%s\n" "$ac_res" >&6; }
15303 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15306 if test ${CFLAGS+y}
15309 case " $CFLAGS " in #(
15311 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15312 (: CFLAGS already contains $flag) 2>&5
15314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15315 test $ac_status = 0; } ;; #(
15318 as_fn_append CFLAGS " $flag"
15319 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15320 (: CFLAGS="$CFLAGS") 2>&5
15322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15323 test $ac_status = 0; }
15330 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15331 (: CFLAGS="$CFLAGS") 2>&5
15333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15334 test $ac_status = 0; }
15348 for flag in -Wtype-limits; do
15349 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15351 printf %s "checking whether C compiler accepts $flag... " >&6; }
15352 if eval test \${$as_CACHEVAR+y}
15354 printf %s "(cached) " >&6
15357 ax_check_save_flags=$CFLAGS
15358 CFLAGS="$CFLAGS $flag"
15359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15360 /* end confdefs.h. */
15370 if ac_fn_c_try_compile "$LINENO"
15372 eval "$as_CACHEVAR=yes"
15374 eval "$as_CACHEVAR=no"
15376 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15377 CFLAGS=$ax_check_save_flags
15379 eval ac_res=\$$as_CACHEVAR
15380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15381 printf "%s\n" "$ac_res" >&6; }
15382 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15385 if test ${CFLAGS+y}
15388 case " $CFLAGS " in #(
15390 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15391 (: CFLAGS already contains $flag) 2>&5
15393 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 test $ac_status = 0; } ;; #(
15397 as_fn_append CFLAGS " $flag"
15398 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15399 (: CFLAGS="$CFLAGS") 2>&5
15401 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15402 test $ac_status = 0; }
15409 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15410 (: CFLAGS="$CFLAGS") 2>&5
15412 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15413 test $ac_status = 0; }
15427 for flag in -Wundef; do
15428 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15430 printf %s "checking whether C compiler accepts $flag... " >&6; }
15431 if eval test \${$as_CACHEVAR+y}
15433 printf %s "(cached) " >&6
15436 ax_check_save_flags=$CFLAGS
15437 CFLAGS="$CFLAGS $flag"
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15449 if ac_fn_c_try_compile "$LINENO"
15451 eval "$as_CACHEVAR=yes"
15453 eval "$as_CACHEVAR=no"
15455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15456 CFLAGS=$ax_check_save_flags
15458 eval ac_res=\$$as_CACHEVAR
15459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15460 printf "%s\n" "$ac_res" >&6; }
15461 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15464 if test ${CFLAGS+y}
15467 case " $CFLAGS " in #(
15469 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15470 (: CFLAGS already contains $flag) 2>&5
15472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15473 test $ac_status = 0; } ;; #(
15476 as_fn_append CFLAGS " $flag"
15477 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15478 (: CFLAGS="$CFLAGS") 2>&5
15480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }
15488 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15489 (: CFLAGS="$CFLAGS") 2>&5
15491 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15492 test $ac_status = 0; }
15506 for flag in -Wuninitialized; do
15507 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15509 printf %s "checking whether C compiler accepts $flag... " >&6; }
15510 if eval test \${$as_CACHEVAR+y}
15512 printf %s "(cached) " >&6
15515 ax_check_save_flags=$CFLAGS
15516 CFLAGS="$CFLAGS $flag"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15528 if ac_fn_c_try_compile "$LINENO"
15530 eval "$as_CACHEVAR=yes"
15532 eval "$as_CACHEVAR=no"
15534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15535 CFLAGS=$ax_check_save_flags
15537 eval ac_res=\$$as_CACHEVAR
15538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15539 printf "%s\n" "$ac_res" >&6; }
15540 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15543 if test ${CFLAGS+y}
15546 case " $CFLAGS " in #(
15548 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15549 (: CFLAGS already contains $flag) 2>&5
15551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15552 test $ac_status = 0; } ;; #(
15555 as_fn_append CFLAGS " $flag"
15556 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15557 (: CFLAGS="$CFLAGS") 2>&5
15559 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15560 test $ac_status = 0; }
15567 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15568 (: CFLAGS="$CFLAGS") 2>&5
15570 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }
15585 for flag in -Wwrite-strings; do
15586 as_CACHEVAR=`printf "%s\n" "ax_cv_check_cflags__$flag" | $as_tr_sh`
15587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $flag" >&5
15588 printf %s "checking whether C compiler accepts $flag... " >&6; }
15589 if eval test \${$as_CACHEVAR+y}
15591 printf %s "(cached) " >&6
15594 ax_check_save_flags=$CFLAGS
15595 CFLAGS="$CFLAGS $flag"
15596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15597 /* end confdefs.h. */
15607 if ac_fn_c_try_compile "$LINENO"
15609 eval "$as_CACHEVAR=yes"
15611 eval "$as_CACHEVAR=no"
15613 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15614 CFLAGS=$ax_check_save_flags
15616 eval ac_res=\$$as_CACHEVAR
15617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15618 printf "%s\n" "$ac_res" >&6; }
15619 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"
15622 if test ${CFLAGS+y}
15625 case " $CFLAGS " in #(
15627 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$flag"; } >&5
15628 (: CFLAGS already contains $flag) 2>&5
15630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15631 test $ac_status = 0; } ;; #(
15634 as_fn_append CFLAGS " $flag"
15635 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15636 (: CFLAGS="$CFLAGS") 2>&5
15638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15639 test $ac_status = 0; }
15646 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5
15647 (: CFLAGS="$CFLAGS") 2>&5
15649 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15650 test $ac_status = 0; }
15664 # Check whether --enable-efence was given.
15665 if test ${enable_efence+y}
15667 enableval=$enable_efence; efence="$enableval"
15673 if test "$efence" = "yes"
15676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing EF_Print" >&5
15677 printf %s "checking for library containing EF_Print... " >&6; }
15678 if test ${ac_cv_search_EF_Print+y}
15680 printf %s "(cached) " >&6
15682 ac_func_search_save_LIBS=$LIBS
15683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15684 /* end confdefs.h. */
15686 /* Override any GCC internal prototype to avoid an error.
15687 Use char because int might match the return type of a GCC
15688 builtin and then its argument prototype would still apply. */
15693 return EF_Print ();
15698 for ac_lib in '' efence
15700 if test -z "$ac_lib"; then
15701 ac_res="none required"
15704 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15706 if ac_fn_c_try_link "$LINENO"
15708 ac_cv_search_EF_Print=$ac_res
15710 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15712 if test ${ac_cv_search_EF_Print+y}
15717 if test ${ac_cv_search_EF_Print+y}
15721 ac_cv_search_EF_Print=no
15723 rm conftest.$ac_ext
15724 LIBS=$ac_func_search_save_LIBS
15726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_EF_Print" >&5
15727 printf "%s\n" "$ac_cv_search_EF_Print" >&6; }
15728 ac_res=$ac_cv_search_EF_Print
15729 if test "$ac_res" != no
15731 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15734 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15735 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
15736 as_fn_error $? "Electric Fence
'efence' library not found
15737 See \
`config.log' for more details" "$LINENO" 5; }
15744 ac_fn_c_check_func "$LINENO" "strlcpy" "ac_cv_func_strlcpy"
15745 if test "x$ac_cv_func_strlcpy" = xyes
15747 printf "%s\n" "#define HAVE_STRLCPY 1" >>confdefs.h
15750 ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
15751 if test "x$ac_cv_func_strlcat" = xyes
15753 printf "%s\n" "#define HAVE_STRLCAT 1" >>confdefs.h
15758 ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/libopm/Makefile src/libopm/src/Makefile"
15760 cat >confcache <<\_ACEOF
15761 # This file is a shell script that caches the results of configure
15762 # tests run on this system so they can be shared between configure
15763 # scripts and configure runs, see configure's option --config-cache.
15764 # It is not useful on other systems. If it contains results you don't
15765 # want to keep, you may remove or edit it.
15767 # config.status only pays attention to the cache file if you give it
15768 # the --recheck option to rerun configure.
15770 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15772 # following values.
15776 # The following way of writing the cache mishandles newlines in values,
15777 # but we know of no workaround that is simple, portable, and efficient.
15778 # So, we kill variables containing newlines.
15779 # Ultrix sh set writes to stderr and can't be redirected directly,
15780 # and sets the high bit in the cache file unless we assign to the vars.
15782 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15783 eval ac_val
=\$
$ac_var
15787 *_cv_
*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15788 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15791 _
| IFS
| as_nl
) ;; #(
15792 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
15793 *) { eval $ac_var=; unset $ac_var;} ;;
15799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15800 *${as_nl}ac_space
=\
*)
15801 # `set' does not quote correctly, so add quotes: double-quote
15802 # substitution turns \\\\ into \\, and sed turns \\ into \.
15805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15808 # `set' quotes correctly as required by POSIX, so do not add quotes.
15809 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15818 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
15820 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15822 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15823 if test -w "$cache_file"; then
15824 if test "x$cache_file" != "x/dev/null"; then
15825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15826 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
15827 if test ! -f "$cache_file" || test -h "$cache_file"; then
15828 cat confcache
>"$cache_file"
15830 case $cache_file in #(
15832 mv -f confcache
"$cache_file"$$
&&
15833 mv -f "$cache_file"$$
"$cache_file" ;; #(
15835 mv -f confcache
"$cache_file" ;;
15840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15841 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
15846 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15847 # Let make expand exec_prefix.
15848 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15850 DEFS
=-DHAVE_CONFIG_H
15855 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15856 # 1. Remove the extension, and $U if already installed.
15857 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15858 ac_i
=`printf "%s\n" "$ac_i" | sed "$ac_script"`
15859 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15860 # will be set to the directory where LIBOBJS objects are built.
15861 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15862 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15864 LIBOBJS
=$ac_libobjs
15866 LTLIBOBJS
=$ac_ltlibobjs
15869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15870 printf %s
"checking that generated files are newer than configure... " >&6; }
15871 if test -n "$am_sleep_pid"; then
15872 # Hide warnings about reused PIDs.
15873 wait $am_sleep_pid 2>/dev
/null
15875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
15876 printf "%s\n" "done" >&6; }
15877 if test -n "$EXEEXT"; then
15879 am__EXEEXT_FALSE
='#'
15881 am__EXEEXT_TRUE
='#'
15885 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15886 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
15887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15889 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15890 as_fn_error $?
"conditional \"AMDEP\" was never defined.
15891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15893 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15894 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
15895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15898 : "${CONFIG_STATUS=./config.status}"
15900 ac_clean_files_save
=$ac_clean_files
15901 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15903 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
15905 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15907 # Generated by $as_me.
15908 # Run this file to recreate the current configuration.
15909 # Compiler output produced by configure, useful for debugging
15910 # configure, is in config.log if it exists.
15913 ac_cs_recheck=false
15916 SHELL=\${CONFIG_SHELL-$SHELL}
15919 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
15920 ## -------------------- ##
15921 ## M4sh Initialization. ##
15922 ## -------------------- ##
15924 # Be more Bourne compatible
15925 DUALCASE
=1; export DUALCASE
# for MKS sh
15927 if test ${ZSH_VERSION+y} && (emulate sh
) >/dev
/null
2>&1
15931 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15932 # is contrary to our usage. Disable this feature.
15933 alias -g '${1+"$@"}'='"$@"'
15934 setopt NO_GLOB_SUBST
15936 case `(set -o) 2>/dev/null` in #(
15946 # Reset variables that may have inherited troublesome values from
15949 # IFS needs to be set, to space, tab, and newline, in precisely that order.
15950 # (If _AS_PATH_WALK were called with IFS unset, it would have the
15951 # side effect of setting IFS to empty, thus disabling word splitting.)
15952 # Quoting is to prevent editors from complaining about space-tab.
15962 # Ensure predictable behavior from utilities with locale-dependent output.
15968 # We cannot yet rely on "unset" to work, but we need these variables
15969 # to be unset--not just set to an empty or harmless value--now, to
15970 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
15971 # also avoids known problems related to "unset" and subshell syntax
15972 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
15973 for as_var
in BASH_ENV ENV MAIL MAILPATH CDPATH
15974 do eval test \
${$as_var+y} \
15975 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
15978 # Ensure that fds 0, 1, and 2 are open.
15979 if (exec 3>&0) 2>/dev
/null
; then :; else exec 0</dev
/null
; fi
15980 if (exec 3>&1) 2>/dev
/null
; then :; else exec 1>/dev
/null
; fi
15981 if (exec 3>&2) ; then :; else exec 2>/dev
/null
; fi
15983 # The user is always right.
15984 if ${PATH_SEPARATOR+false} :; then
15986 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15987 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15993 # Find who we are. Look in the path if we contain no directory separator.
15996 *[\\/]* ) as_myself
=$0 ;;
15997 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15998 for as_dir
in $PATH
16001 case $as_dir in #(((
16004 *) as_dir
=$as_dir/ ;;
16006 test -r "$as_dir$0" && as_myself
=$as_dir$0 && break
16012 # We did not find ourselves, most probably we were run as `sh COMMAND'
16013 # in which case we are not to be found in the path.
16014 if test "x$as_myself" = x
; then
16017 if test ! -f "$as_myself"; then
16018 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16024 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16025 # ----------------------------------------
16026 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16027 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16028 # script with STATUS, using 1 if that was 0.
16031 as_status
=$1; test $as_status -eq 0 && as_status
=1
16033 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16034 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16036 printf "%s\n" "$as_me: error: $2" >&2
16037 as_fn_exit
$as_status
16042 # as_fn_set_status STATUS
16043 # -----------------------
16044 # Set $? to STATUS, without forking.
16045 as_fn_set_status
()
16048 } # as_fn_set_status
16050 # as_fn_exit STATUS
16051 # -----------------
16052 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16056 as_fn_set_status
$1
16062 # Portably unset VAR.
16065 { eval $1=; unset $1;}
16067 as_unset
=as_fn_unset
16069 # as_fn_append VAR VALUE
16070 # ----------------------
16071 # Append the text in VALUE to the end of the definition contained in VAR. Take
16072 # advantage of any shell optimizations that allow amortized linear growth over
16073 # repeated appends, instead of the typical quadratic growth present in naive
16075 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
16077 eval 'as_fn_append ()
16088 # as_fn_arith ARG...
16089 # ------------------
16090 # Perform arithmetic evaluation on the ARGs, and store the result in the
16091 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16092 # must be portable across $(()) and expr.
16093 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
16095 eval 'as_fn_arith ()
16102 as_val
=`expr "$@" || test $? -eq 1`
16107 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16108 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16114 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16115 as_basename
=basename
16120 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16126 as_me
=`$as_basename -- "$0" ||
16127 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16128 X"$0" : 'X\(//\)$' \| \
16129 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16130 printf "%s\n" X/"$0" |
16131 sed '/^.*\/\([^/][^/]*\)\/*$/{
16145 # Avoid depending upon Character Ranges.
16146 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16147 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16148 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16149 as_cr_digits
='0123456789'
16150 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16153 # Determine whether it's possible to make 'echo' print without a newline.
16154 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
16155 # for compatibility with existing Makefiles.
16156 ECHO_C
= ECHO_N
= ECHO_T
=
16157 case `echo -n x` in #(((((
16159 case `echo 'xy\c'` in
16160 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16162 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16169 # For backward compatibility with old third-party macros, we provide
16170 # the shell variables $as_echo and $as_echo_n. New code should use
16171 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
16172 as_echo
='printf %s\n'
16173 as_echo_n
='printf %s'
16175 rm -f conf$$ conf$$.exe conf$$.
file
16176 if test -d conf$$.dir
; then
16177 rm -f conf$$.dir
/conf$$.
file
16180 mkdir conf$$.dir
2>/dev
/null
16182 if (echo >conf$$.
file) 2>/dev
/null
; then
16183 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16185 # ... but there are two gotchas:
16186 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16187 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16188 # In both cases, we have to default to `cp -pR'.
16189 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
16191 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16199 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16200 rmdir conf$$.dir
2>/dev
/null
16205 # Create "$as_dir" as a directory, including parents if necessary.
16210 -*) as_dir
=.
/$as_dir;;
16212 test -d "$as_dir" || eval $as_mkdir_p || {
16216 *\'*) as_qdir
=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16217 *) as_qdir
=$as_dir;;
16219 as_dirs
="'$as_qdir' $as_dirs"
16220 as_dir
=`$as_dirname -- "$as_dir" ||
16221 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16222 X"$as_dir" : 'X\(//\)[^/]' \| \
16223 X"$as_dir" : 'X\(//\)$' \| \
16224 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16225 printf "%s\n" X"$as_dir" |
16226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16230 /^X\(\/\/\)[^/].*/{
16243 test -d "$as_dir" && break
16245 test -z "$as_dirs" || eval "mkdir $as_dirs"
16246 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16250 if mkdir -p .
2>/dev
/null
; then
16251 as_mkdir_p
='mkdir -p "$as_dir"'
16253 test -d .
/-p && rmdir .
/-p
16258 # as_fn_executable_p FILE
16259 # -----------------------
16260 # Test if FILE is an executable regular file.
16261 as_fn_executable_p
()
16263 test -f "$1" && test -x "$1"
16264 } # as_fn_executable_p
16265 as_test_x
='test -x'
16266 as_executable_p
=as_fn_executable_p
16268 # Sed expression to map a string onto a valid CPP name.
16269 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16271 # Sed expression to map a string onto a valid variable name.
16272 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16276 ## ----------------------------------- ##
16277 ## Main body of $CONFIG_STATUS script. ##
16278 ## ----------------------------------- ##
16280 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16282 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16283 # Save the log message, to keep $0 and so on meaningful, and to
16284 # report actual input values of CONFIG_FILES etc. instead of their
16285 # values after options handling.
16287 This file was extended by hopm $as_me 1.1.11, which was
16288 generated by GNU Autoconf 2.71. Invocation command line was
16290 CONFIG_FILES = $CONFIG_FILES
16291 CONFIG_HEADERS = $CONFIG_HEADERS
16292 CONFIG_LINKS = $CONFIG_LINKS
16293 CONFIG_COMMANDS = $CONFIG_COMMANDS
16296 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16301 case $ac_config_files in *"
16302 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16305 case $ac_config_headers in *"
16306 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16311 # Files that config.status was made for.
16312 config_files="$ac_config_files"
16313 config_headers="$ac_config_headers"
16314 config_commands="$ac_config_commands"
16318 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16320 \`$as_me' instantiates files and other configuration actions
16321 from templates according to the current configuration. Unless the files
16322 and actions are specified as TAGs, all are instantiated by default.
16324 Usage: $0 [OPTION]... [TAG]...
16326 -h, --help print this help, then exit
16327 -V, --version print version number and configuration settings, then exit
16328 --config print configuration, then exit
16329 -q, --quiet, --silent
16330 do not print progress messages
16331 -d, --debug don't remove temporary files
16332 --recheck update $as_me by reconfiguring in the same conditions
16333 --file=FILE[:TEMPLATE]
16334 instantiate the configuration file FILE
16335 --header=FILE[:TEMPLATE]
16336 instantiate the configuration header FILE
16338 Configuration files:
16341 Configuration headers:
16344 Configuration commands:
16347 Report bugs to <bugs@ircd-hybrid.org>."
16350 ac_cs_config
=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
16351 ac_cs_config_escaped
=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
16352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16353 ac_cs_config='$ac_cs_config_escaped'
16355 hopm config.status 1.1.11
16356 configured by $0, generated by GNU Autoconf 2.71,
16357 with options \\"\$ac_cs_config\\"
16359 Copyright (C) 2021 Free Software Foundation, Inc.
16360 This config.status script is free software; the Free Software Foundation
16361 gives unlimited permission to copy, distribute and modify it."
16368 test -n "\$AWK" || AWK=awk
16371 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16372 # The default lists apply if the user does not specify any file.
16378 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16379 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16383 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16395 # Handling of the options.
16396 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16398 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16399 printf "%s\n" "$ac_cs_version"; exit ;;
16400 --config | --confi | --conf | --con | --co | --c )
16401 printf "%s\n" "$ac_cs_config"; exit ;;
16402 --debug | --debu | --deb | --de | --d | -d )
16404 --file | --fil | --fi | --f )
16407 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16408 '') as_fn_error $?
"missing file argument" ;;
16410 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16411 ac_need_defaults
=false
;;
16412 --header | --heade | --head | --hea )
16415 *\'*) ac_optarg
=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16417 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16418 ac_need_defaults
=false
;;
16420 # Conflict between --help and --header
16421 as_fn_error $?
"ambiguous option: \`$1'
16422 Try \`$0 --help' for more information.";;
16423 --help | --hel | -h )
16424 printf "%s\n" "$ac_cs_usage"; exit ;;
16425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16426 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16429 # This is an error.
16430 -*) as_fn_error $?
"unrecognized option: \`$1'
16431 Try \`$0 --help' for more information." ;;
16433 *) as_fn_append ac_config_targets
" $1"
16434 ac_need_defaults
=false
;;
16440 ac_configure_extra_args
=
16442 if $ac_cs_silent; then
16444 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16449 if \$ac_cs_recheck; then
16450 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16452 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
16453 CONFIG_SHELL='$SHELL'
16454 export CONFIG_SHELL
16459 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16463 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16464 ## Running $as_me. ##
16466 printf "%s\n" "$ac_log"
16470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16474 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
16477 # The HP-UX ksh and POSIX shell print the target directory to stdout
16478 # if CDPATH is set.
16479 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16481 sed_quote_subst='$sed_quote_subst'
16482 double_quote_subst='$double_quote_subst'
16483 delay_variable_subst='$delay_variable_subst'
16484 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16485 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16486 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16487 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16488 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16489 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16490 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
16491 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16492 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16493 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16494 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16495 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16496 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16497 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16498 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16499 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16500 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16501 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16502 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16503 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16504 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16505 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16506 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16507 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16508 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16509 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16510 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16511 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16512 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16513 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16514 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16515 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16516 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16517 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16518 FILECMD='`$ECHO "$FILECMD" | $SED "$delay_single_quote_subst"`'
16519 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16520 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16521 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16522 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16523 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16524 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16525 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16526 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16527 lt_ar_flags='`$ECHO "$lt_ar_flags" | $SED "$delay_single_quote_subst"`'
16528 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16529 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16530 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16531 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16532 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16533 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16534 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16535 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16536 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16537 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16538 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16539 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16540 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16541 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16542 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
16543 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16544 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"`'
16545 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
16546 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16547 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16548 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
16549 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16550 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16551 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16552 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16553 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16554 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16555 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16556 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16557 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16558 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16559 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16560 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16561 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16562 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16563 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16564 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16565 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16566 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16567 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16568 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16569 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16570 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16571 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16572 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16573 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16574 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16575 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16576 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16577 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16578 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16579 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16580 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16581 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16582 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16583 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16584 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16585 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16586 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16587 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16588 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16589 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16590 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16591 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16592 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16593 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16594 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16595 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16596 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16597 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16598 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16599 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16600 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16601 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16602 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16603 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16604 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16605 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16606 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16607 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16608 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16609 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16610 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16611 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16612 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16613 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
16614 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
16615 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16616 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16617 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16618 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16619 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16620 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16623 LTCFLAGS='$LTCFLAGS'
16624 compiler='$compiler_DEFAULT'
16626 # A function that is used when there is no print builtin or printf.
16627 func_fallback_echo ()
16629 eval 'cat <<_LTECHO_EOF
16634 # Quote evaled strings.
16650 deplibs_check_method \
16655 sharedlib_from_linklib_cmd \
16657 archiver_list_spec \
16663 lt_cv_sys_global_symbol_pipe \
16664 lt_cv_sys_global_symbol_to_cdecl \
16665 lt_cv_sys_global_symbol_to_import \
16666 lt_cv_sys_global_symbol_to_c_name_address \
16667 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16668 lt_cv_nm_interface \
16669 nm_file_list_spec \
16670 lt_cv_truncate_bin \
16671 lt_prog_compiler_no_builtin_flag \
16672 lt_prog_compiler_pic \
16673 lt_prog_compiler_wl \
16674 lt_prog_compiler_static \
16675 lt_cv_prog_compiler_c_o \
16684 export_dynamic_flag_spec \
16685 whole_archive_flag_spec \
16686 compiler_needs_object \
16688 allow_undefined_flag \
16689 no_undefined_flag \
16690 hardcode_libdir_flag_spec \
16691 hardcode_libdir_separator \
16695 variables_saved_for_relink \
16697 library_names_spec \
16699 install_override_mode \
16703 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16704 *[\\\\\\\`\\"\\\$]*)
16705 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16708 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16713 # Double-quote double-evaled strings.
16714 for var in reload_cmds \
16715 old_postinstall_cmds \
16716 old_postuninstall_cmds \
16718 extract_expsyms_cmds \
16719 old_archive_from_new_cmds \
16720 old_archive_from_expsyms_cmds \
16722 archive_expsym_cmds \
16724 module_expsym_cmds \
16725 export_symbols_cmds \
16729 postuninstall_cmds \
16731 sys_lib_search_path_spec \
16732 configure_time_dlsearch_path \
16733 configure_time_lt_sys_library_path; do
16734 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16735 *[\\\\\\\`\\"\\\$]*)
16736 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
16739 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16744 ac_aux_dir='$ac_aux_dir'
16746 # See if we are running on zsh, and set the options that allow our
16747 # commands through without removal of \ escapes INIT.
16748 if test -n "\${ZSH_VERSION+set}"; then
16749 setopt NO_GLOB_SUBST
16763 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
16765 # Handling of arguments.
16766 for ac_config_target
in $ac_config_targets
16768 case $ac_config_target in
16769 "src/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/setup.h" ;;
16770 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16771 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16772 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16773 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
16774 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
16775 "src/libopm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libopm/Makefile" ;;
16776 "src/libopm/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libopm/src/Makefile" ;;
16778 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16783 # If the user did not use the arguments to specify the items to instantiate,
16784 # then the envvar interface is used. Set only those that are not.
16785 # We use the long form for the default assignment because of an extremely
16786 # bizarre bug on SunOS 4.1.3.
16787 if $ac_need_defaults; then
16788 test ${CONFIG_FILES+y} || CONFIG_FILES
=$config_files
16789 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS
=$config_headers
16790 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS
=$config_commands
16793 # Have a temporary directory for convenience. Make it in the build tree
16794 # simply because there is no reason against having it here, and in addition,
16795 # creating and moving files from /tmp can sometimes cause problems.
16796 # Hook for its removal unless debugging.
16797 # Note that there is a small window in which the directory will not be cleaned:
16798 # after its creation but before its name has been assigned to `$tmp'.
16802 trap 'exit_status=$?
16803 : "${ac_tmp:=$tmp}"
16804 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16806 trap 'as_fn_exit 1' 1 2 13 15
16808 # Create a (secure) tmp directory for tmp files.
16811 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16815 tmp
=.
/conf$$
-$RANDOM
16816 (umask 077 && mkdir "$tmp")
16817 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16820 # Set up the scripts for CONFIG_FILES section.
16821 # No need to generate them if there are no CONFIG_FILES.
16822 # This happens for instance with `./config.status config.h'.
16823 if test -n "$CONFIG_FILES"; then
16826 ac_cr
=`echo X | tr X '\015'`
16827 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16828 # But we know of no other shell where ac_cr would be empty at this
16829 # point, so we can use a bashism as a fallback.
16830 if test "x$ac_cr" = x
; then
16831 eval ac_cr
=\$
\'\\r
\'
16833 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16834 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16837 ac_cs_awk_cr
=$ac_cr
16840 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16845 echo "cat >conf$$subs.awk <<_ACEOF" &&
16846 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16848 } >conf$$subs.sh ||
16849 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16850 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16852 for ac_last_try in false false false false false :; do
16853 . ./conf$$subs.sh ||
16854 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16856 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16857 if test $ac_delim_n = $ac_delim_num; then
16859 elif $ac_last_try; then
16860 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16862 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16865 rm -f conf$$subs.sh
16867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16868 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16872 s/^/S["/; s
/!.
*/"]=/
16882 s/\(.\{148\}\)..*/\1/
16884 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16889 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16896 s/\(.\{148\}\)..*/\1/
16898 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16902 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16907 ' <conf$$subs.awk | sed '
16912 ' >>$CONFIG_STATUS || ac_write_fail=1
16913 rm -f conf$$subs.awk
16914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16916 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16917 for (key in S) S_is_set[key] = 1
16923 nfields = split(line, field, "@
")
16925 len = length(field[1])
16926 for (i = 2; i < nfields; i++) {
16928 keylen = length(key)
16929 if (S_is_set[key]) {
16931 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16932 len += length(value) + length(field[++i])
16943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16944 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16945 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16948 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16949 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16952 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16953 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16954 # trailing colons and then remove the whole line if VPATH becomes empty
16955 # (actually we leave an empty line to preserve line numbers).
16956 if test "x
$srcdir" = x.; then
16957 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16976 fi # test -n "$CONFIG_FILES"
16978 # Set up the scripts for CONFIG_HEADERS section.
16979 # No need to generate them if there are no CONFIG_HEADERS.
16980 # This happens for instance with `./config.status Makefile'.
16981 if test -n "$CONFIG_HEADERS"; then
16982 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16986 # Transform confdefs.h into an awk script `defines.awk', embedded as
16987 # here-document in config.status, that substitutes the proper values into
16988 # config.h.in to produce config.h.
16990 # Create a delimiter string that does not exist in confdefs.h, to ease
16991 # handling of long lines.
16993 for ac_last_try in false false :; do
16994 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16995 if test -z "$ac_tt"; then
16997 elif $ac_last_try; then
16998 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17000 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17004 # For the awk script, D is an array of macro values keyed by name,
17005 # likewise P contains macro parameters if any. Preserve backslash
17006 # newline sequences.
17008 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17010 s/.\{148\}/&'"$ac_delim"'/g
17013 s/^[ ]*#[ ]*define[ ][ ]*/ /
17020 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17022 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17026 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17027 D["\
1"]=" \
3\\\\\\n
"\\/p
17029 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17034 s/.\{148\}/&'"$ac_delim"'/g
17039 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17042 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17044 ' <confdefs.h | sed '
17045 s/'"$ac_delim"'/"\\\
17046 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17048 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17049 for (key in D) D_is_set[key] = 1
17052 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17054 split(line, arg, " ")
17055 if (arg[1] == "#") {
17059 defundef
= substr
(arg
[1], 2)
17062 split(mac1
, mac2
, "(") #)
17064 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17065 if (D_is_set
[macro
]) {
17066 # Preserve the white space surrounding the "#".
17067 print prefix
"define", macro P
[macro
] D
[macro
]
17070 # Replace #undef with comments. This is necessary, for example,
17071 # in the case of _POSIX_SOURCE, which is predefined and required
17072 # on some systems where configure will not decide to define it.
17073 if (defundef
== "undef") {
17074 print
"/*", prefix defundef
, macro
, "*/"
17082 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17083 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17084 fi # test -n "$CONFIG_HEADERS"
17087 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17092 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17094 case $ac_mode$ac_tag in
17096 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17097 :[FH
]-) ac_tag
=-:-;;
17098 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17115 -) ac_f
="$ac_tmp/stdin";;
17116 *) # Look for the file first in the build tree, then in the source tree
17117 # (if the path is not absolute). The absolute path cannot be DOS-style,
17118 # because $ac_f cannot contain `:'.
17122 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17124 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17126 case $ac_f in *\'*) ac_f
=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17127 as_fn_append ac_file_inputs
" '$ac_f'"
17130 # Let's still pretend it is `configure' which instantiates (i.e., don't
17131 # use $as_me), people would be surprised to read:
17132 # /* config.h. Generated by config.status. */
17133 configure_input
='Generated from '`
17134 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17136 if test x
"$ac_file" != x
-; then
17137 configure_input
="$ac_file. $configure_input"
17138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17139 printf "%s\n" "$as_me: creating $ac_file" >&6;}
17141 # Neutralize special characters interpreted by sed in replacement strings.
17142 case $configure_input in #(
17143 *\
&* | *\
|* | *\\* )
17144 ac_sed_conf_input
=`printf "%s\n" "$configure_input" |
17145 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17146 *) ac_sed_conf_input
=$configure_input;;
17150 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17151 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17156 ac_dir
=`$as_dirname -- "$ac_file" ||
17157 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17158 X"$ac_file" : 'X\(//\)[^/]' \| \
17159 X"$ac_file" : 'X\(//\)$' \| \
17160 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17161 printf "%s\n" X"$ac_file" |
17162 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17166 /^X\(\/\/\)[^/].*/{
17179 as_dir
="$ac_dir"; as_fn_mkdir_p
17183 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17185 ac_dir_suffix
=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
17186 # A ".." for each directory in $ac_dir_suffix.
17187 ac_top_builddir_sub
=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17188 case $ac_top_builddir_sub in
17189 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17190 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17193 ac_abs_top_builddir
=$ac_pwd
17194 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17195 # for backward compatibility:
17196 ac_top_builddir
=$ac_top_build_prefix
17199 .
) # We are building in place.
17201 ac_top_srcdir
=$ac_top_builddir_sub
17202 ac_abs_top_srcdir
=$ac_pwd ;;
17203 [\\/]* | ?
:[\\/]* ) # Absolute name.
17204 ac_srcdir
=$srcdir$ac_dir_suffix;
17205 ac_top_srcdir
=$srcdir
17206 ac_abs_top_srcdir
=$srcdir ;;
17207 *) # Relative name.
17208 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17209 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17210 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17212 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17222 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17223 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17225 ac_MKDIR_P
=$MKDIR_P
17227 [\\/$
]* | ?
:[\\/]* ) ;;
17228 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17232 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17233 # If the template does not know about datarootdir, expand it.
17234 # FIXME: This hack should be removed a few years after 2.60.
17235 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17246 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17247 *datarootdir
*) ac_datarootdir_seen
=yes;;
17248 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
17249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17250 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17253 ac_datarootdir_hack='
17254 s&@datadir@&$datadir&g
17255 s&@docdir@&$docdir&g
17256 s&@infodir@&$infodir&g
17257 s&@localedir@&$localedir&g
17258 s&@mandir@&$mandir&g
17259 s&\\\${datarootdir}&$datarootdir&g' ;;
17263 # Neutralize VPATH when `$srcdir' = `.'.
17264 # Shell code in configure.ac might set extrasub.
17265 # FIXME: do we really want to maintain this feature?
17266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17267 ac_sed_extra="$ac_vpsub
17270 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
17272 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
17273 s
|@configure_input@
|$ac_sed_conf_input|;t t
17274 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17275 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17276 s
&@srcdir@
&$ac_srcdir&;t t
17277 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17278 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17279 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17280 s
&@builddir@
&$ac_builddir&;t t
17281 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17282 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17283 s
&@INSTALL@
&$ac_INSTALL&;t t
17284 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17285 $ac_datarootdir_hack
17287 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17288 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17290 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17291 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17292 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17293 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17294 { printf "%s
\n" "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17295 which seems to be undefined. Please make sure it is defined" >&5
17296 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17297 which seems to be undefined. Please make sure it is defined" >&2;}
17299 rm -f "$ac_tmp/stdin"
17301 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17302 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17304 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17310 if test x"$ac_file" != x-; then
17312 printf "%s\n" "/* $configure_input */" >&1 \
17313 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17314 } >"$ac_tmp/config.h" \
17315 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17316 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17318 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
17321 mv "$ac_tmp/config.h" "$ac_file" \
17322 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17325 printf "%s\n" "/* $configure_input */" >&1 \
17326 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17327 || as_fn_error $? "could not create -" "$LINENO" 5
17329 # Compute "$ac_file"'s index
in $config_headers.
17332 for _am_header
in $config_headers :; do
17333 case $_am_header in
17334 $_am_arg | $_am_arg:* )
17337 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17340 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17341 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17342 X"$_am_arg" : 'X\(//\)[^/]' \| \
17343 X"$_am_arg" : 'X\(//\)$' \| \
17344 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17345 printf "%s\n" X"$_am_arg" |
17346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17350 /^X\(\/\/\)[^/].*/{
17362 s/.*/./; q'`/stamp
-h$_am_stamp_count
17365 :C
) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17366 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
17371 case $ac_file$ac_mode in
17372 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" || {
17373 # Older Autoconf quotes --file arguments for eval, but not when files
17374 # are listed without --file. Let's play safe and only enable the eval
17375 # if we detect the quoting.
17376 # TODO: see whether this extra hack can be removed once we start
17377 # requiring Autoconf 2.70 or later.
17378 case $CONFIG_FILES in #(
17380 eval set x
"$CONFIG_FILES" ;; #(
17382 set x
$CONFIG_FILES ;; #(
17387 # Used to flag and report bootstrapping failures.
17391 # Strip MF so we end up with the name of the file.
17392 am_mf
=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
17393 # Check whether this is an Automake generated Makefile which includes
17394 # dependency-tracking related rules and includes.
17395 # Grep'ing the whole file directly is not great: AIX grep has a line
17396 # limit of 2048, but all sed's we know have understand at least 4000.
17397 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X
>/dev
/null
2>&1 \
17399 am_dirpart
=`$as_dirname -- "$am_mf" ||
17400 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17401 X"$am_mf" : 'X\(//\)[^/]' \| \
17402 X"$am_mf" : 'X\(//\)$' \| \
17403 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17404 printf "%s\n" X"$am_mf" |
17405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17409 /^X\(\/\/\)[^/].*/{
17422 am_filepart
=`$as_basename -- "$am_mf" ||
17423 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
17424 X"$am_mf" : 'X\(//\)$' \| \
17425 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
17426 printf "%s\n" X/"$am_mf" |
17427 sed '/^.*\/\([^/][^/]*\)\/*$/{
17440 { echo "$as_me:$LINENO: cd "$am_dirpart" \
17441 && sed -e '/# am--include-marker/d' "$am_filepart" \
17442 | $MAKE -f - am--depfiles" >&5
17443 (cd "$am_dirpart" \
17444 && sed -e '/# am--include-marker/d' "$am_filepart" \
17445 | $MAKE -f - am
--depfiles) >&5 2>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } || am_rc
=$?
17450 if test $am_rc -ne 0; then
17451 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17452 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
17453 as_fn_error $?
"Something went wrong bootstrapping makefile fragments
17454 for automatic dependency tracking. If GNU make was not used, consider
17455 re-running the configure script with MAKE=\"gmake\" (or whatever is
17456 necessary). You can also try re-running configure with the
17457 '--disable-dependency-tracking' option to at least be able to build
17458 the package (albeit without support for automatic dependency tracking).
17459 See \`config.log' for more details" "$LINENO" 5; }
17461 { am_dirpart
=; unset am_dirpart
;}
17462 { am_filepart
=; unset am_filepart
;}
17463 { am_mf
=; unset am_mf
;}
17464 { am_rc
=; unset am_rc
;}
17465 rm -f conftest
-deps.mk
17470 # See if we are running on zsh, and set the options that allow our
17471 # commands through without removal of \ escapes.
17472 if test -n "${ZSH_VERSION+set}"; then
17473 setopt NO_GLOB_SUBST
17477 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17480 cat <<_LT_EOF >> "$cfgfile"
17482 # Generated automatically by $as_me ($PACKAGE) $VERSION
17483 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17484 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17486 # Provide generalized library-building support services.
17487 # Written by Gordon Matzigkeit, 1996
17489 # Copyright (C) 2014 Free Software Foundation, Inc.
17490 # This is free software; see the source for copying conditions. There is NO
17491 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17493 # GNU Libtool is free software; you can redistribute it and/or modify
17494 # it under the terms of the GNU General Public License as published by
17495 # the Free Software Foundation; either version 2 of of the License, or
17496 # (at your option) any later version.
17498 # As a special exception to the GNU General Public License, if you
17499 # distribute this file as part of a program or library that is built
17500 # using GNU Libtool, you may include this file under the same
17501 # distribution terms that you use for the rest of that program.
17503 # GNU Libtool is distributed in the hope that it will be useful, but
17504 # WITHOUT ANY WARRANTY; without even the implied warranty of
17505 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17506 # GNU General Public License for more details.
17508 # You should have received a copy of the GNU General Public License
17509 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17512 # The names of the tagged configurations supported by this script.
17515 # Configured defaults for sys_lib_dlsearch_path munging.
17516 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
17518 # ### BEGIN LIBTOOL CONFIG
17520 # Which release of libtool.m4 was used?
17521 macro_version=$macro_version
17522 macro_revision=$macro_revision
17524 # Whether or not to build shared libraries.
17525 build_libtool_libs=$enable_shared
17527 # Whether or not to build static libraries.
17528 build_old_libs=$enable_static
17530 # What type of objects to build.
17533 # Whether or not to optimize for fast installation.
17534 fast_install=$enable_fast_install
17536 # Shared archive member basename,for filename based shared library versioning on AIX.
17537 shared_archive_member_spec=$shared_archive_member_spec
17539 # Shell to use when invoking shell scripts.
17542 # An echo program that protects backslashes.
17545 # The PATH separator for the build system.
17546 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17549 host_alias=$host_alias
17553 # The build system.
17554 build_alias=$build_alias
17558 # A sed program that does not truncate output.
17561 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17562 Xsed="\$SED -e 1s/^X//"
17564 # A grep program that handles long lines.
17570 # A literal string matcher.
17573 # A BSD- or MS-compatible name lister.
17576 # Whether we need soft or hard links.
17579 # What is the maximum length of a command?
17580 max_cmd_len=$max_cmd_len
17582 # Object file suffix (normally "o").
17585 # Executable file suffix (normally "").
17588 # whether the shell understands "unset".
17591 # turn spaces into newlines.
17594 # turn newlines into spaces.
17597 # convert \$build file names to \$host format.
17598 to_host_file_cmd=$lt_cv_to_host_file_cmd
17600 # convert \$build files to toolchain format.
17601 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17603 # A file(cmd) program that detects file types.
17604 FILECMD=$lt_FILECMD
17606 # An object symbol dumper.
17607 OBJDUMP=$lt_OBJDUMP
17609 # Method to check whether dependent libraries are shared objects.
17610 deplibs_check_method=$lt_deplibs_check_method
17612 # Command to use when deplibs_check_method = "file_magic".
17613 file_magic_cmd=$lt_file_magic_cmd
17615 # How to find potential files when deplibs_check_method = "file_magic".
17616 file_magic_glob=$lt_file_magic_glob
17618 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17619 want_nocaseglob=$lt_want_nocaseglob
17621 # DLL creation program.
17622 DLLTOOL=$lt_DLLTOOL
17624 # Command to associate shared and link libraries.
17625 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17630 # Flags to create an archive (by configure).
17631 lt_ar_flags=$lt_ar_flags
17633 # Flags to create an archive.
17634 AR_FLAGS=\${ARFLAGS-"\$lt_ar_flags"}
17636 # How to feed a file listing to the archiver.
17637 archiver_list_spec=$lt_archiver_list_spec
17639 # A symbol stripping program.
17642 # Commands used to install an old-style archive.
17644 old_postinstall_cmds=$lt_old_postinstall_cmds
17645 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17647 # Whether to use a lock for old archive extraction.
17648 lock_old_archive_extraction=$lock_old_archive_extraction
17653 # LTCC compiler flags.
17654 LTCFLAGS=$lt_CFLAGS
17656 # Take the output of nm and produce a listing of raw symbols and C names.
17657 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17659 # Transform the output of nm in a proper C declaration.
17660 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17662 # Transform the output of nm into a list of symbols to manually relocate.
17663 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
17665 # Transform the output of nm in a C name address pair.
17666 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17668 # Transform the output of nm in a C name address pair when lib prefix is needed.
17669 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17671 # The name lister interface.
17672 nm_interface=$lt_lt_cv_nm_interface
17674 # Specify filename containing input files for \$NM.
17675 nm_file_list_spec=$lt_nm_file_list_spec
17677 # The root where to search for dependent libraries,and where our libraries should be installed.
17678 lt_sysroot=$lt_sysroot
17680 # Command to truncate a binary pipe.
17681 lt_truncate_bin=$lt_lt_cv_truncate_bin
17683 # The name of the directory that contains temporary libtool files.
17686 # Used to examine libraries when file_magic_cmd begins with "file".
17687 MAGIC_CMD=$MAGIC_CMD
17689 # Must we lock files when doing compilation?
17690 need_locks=$lt_need_locks
17693 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17695 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17696 DSYMUTIL=$lt_DSYMUTIL
17698 # Tool to change global to local symbols on Mac OS X.
17701 # Tool to manipulate fat objects and archives on Mac OS X.
17704 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17707 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17708 OTOOL64=$lt_OTOOL64
17710 # Old archive suffix (normally "a").
17713 # Shared library suffix (normally ".so").
17714 shrext_cmds=$lt_shrext_cmds
17716 # The commands to extract the exported symbol list from a shared archive.
17717 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17719 # Variables whose values should be saved in libtool wrapper scripts and
17720 # restored at link time.
17721 variables_saved_for_relink=$lt_variables_saved_for_relink
17723 # Do we need the "lib" prefix for modules?
17724 need_lib_prefix=$need_lib_prefix
17726 # Do we need a version for libraries?
17727 need_version=$need_version
17729 # Library versioning type.
17730 version_type=$version_type
17732 # Shared library runtime path variable.
17733 runpath_var=$runpath_var
17735 # Shared library path variable.
17736 shlibpath_var=$shlibpath_var
17738 # Is shlibpath searched before the hard-coded library search path?
17739 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17741 # Format of library name prefix.
17742 libname_spec=$lt_libname_spec
17744 # List of archive names. First name is the real one, the rest are links.
17745 # The last name is the one that the linker finds with -lNAME
17746 library_names_spec=$lt_library_names_spec
17748 # The coded name of the library, if different from the real name.
17749 soname_spec=$lt_soname_spec
17751 # Permission mode override for installation of shared libraries.
17752 install_override_mode=$lt_install_override_mode
17754 # Command to use after installation of a shared archive.
17755 postinstall_cmds=$lt_postinstall_cmds
17757 # Command to use after uninstallation of a shared archive.
17758 postuninstall_cmds=$lt_postuninstall_cmds
17760 # Commands used to finish a libtool library installation in a directory.
17761 finish_cmds=$lt_finish_cmds
17763 # As "finish_cmds", except a single script fragment to be evaled but
17765 finish_eval=$lt_finish_eval
17767 # Whether we should hardcode library paths into libraries.
17768 hardcode_into_libs=$hardcode_into_libs
17770 # Compile-time system search path for libraries.
17771 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17773 # Detected run-time system search path for libraries.
17774 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
17776 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
17777 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
17779 # Whether dlopen is supported.
17780 dlopen_support=$enable_dlopen
17782 # Whether dlopen of programs is supported.
17783 dlopen_self=$enable_dlopen_self
17785 # Whether dlopen of statically linked programs is supported.
17786 dlopen_self_static=$enable_dlopen_self_static
17788 # Commands to strip libraries.
17789 old_striplib=$lt_old_striplib
17790 striplib=$lt_striplib
17793 # The linker used to build libraries.
17796 # How to create reloadable object files.
17797 reload_flag=$lt_reload_flag
17798 reload_cmds=$lt_reload_cmds
17800 # Commands used to build an old-style archive.
17801 old_archive_cmds=$lt_old_archive_cmds
17803 # A language specific compiler.
17806 # Is the compiler the GNU compiler?
17809 # Compiler flag to turn off builtin functions.
17810 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17812 # Additional compiler flags for building library objects.
17813 pic_flag=$lt_lt_prog_compiler_pic
17815 # How to pass a linker flag through the compiler.
17816 wl=$lt_lt_prog_compiler_wl
17818 # Compiler flag to prevent dynamic linking.
17819 link_static_flag=$lt_lt_prog_compiler_static
17821 # Does compiler simultaneously support -c and -o options?
17822 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17824 # Whether or not to add -lc for building shared libraries.
17825 build_libtool_need_lc=$archive_cmds_need_lc
17827 # Whether or not to disallow shared libs when runtime libs are static.
17828 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17830 # Compiler flag to allow reflexive dlopens.
17831 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17833 # Compiler flag to generate shared objects directly from archives.
17834 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17836 # Whether the compiler copes with passing no objects directly.
17837 compiler_needs_object=$lt_compiler_needs_object
17839 # Create an old-style archive from a shared archive.
17840 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17842 # Create a temporary old-style archive to link instead of a shared archive.
17843 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17845 # Commands used to build a shared archive.
17846 archive_cmds=$lt_archive_cmds
17847 archive_expsym_cmds=$lt_archive_expsym_cmds
17849 # Commands used to build a loadable module if different from building
17850 # a shared archive.
17851 module_cmds=$lt_module_cmds
17852 module_expsym_cmds=$lt_module_expsym_cmds
17854 # Whether we are building with GNU ld or not.
17855 with_gnu_ld=$lt_with_gnu_ld
17857 # Flag that allows shared libraries with undefined symbols to be built.
17858 allow_undefined_flag=$lt_allow_undefined_flag
17860 # Flag that enforces no undefined symbols.
17861 no_undefined_flag=$lt_no_undefined_flag
17863 # Flag to hardcode \$libdir into a binary during linking.
17864 # This must work even if \$libdir does not exist
17865 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17867 # Whether we need a single "-rpath" flag with a separated argument.
17868 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17870 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17871 # DIR into the resulting binary.
17872 hardcode_direct=$hardcode_direct
17874 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
17875 # DIR into the resulting binary and the resulting library dependency is
17876 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
17877 # library is relocated.
17878 hardcode_direct_absolute=$hardcode_direct_absolute
17880 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17881 # into the resulting binary.
17882 hardcode_minus_L=$hardcode_minus_L
17884 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17885 # into the resulting binary.
17886 hardcode_shlibpath_var=$hardcode_shlibpath_var
17888 # Set to "yes" if building a shared library automatically hardcodes DIR
17889 # into the library and all subsequent libraries and executables linked
17891 hardcode_automatic=$hardcode_automatic
17893 # Set to yes if linker adds runtime paths of dependent libraries
17894 # to runtime path list.
17895 inherit_rpath=$inherit_rpath
17897 # Whether libtool must link a program against all its dependency libraries.
17898 link_all_deplibs=$link_all_deplibs
17900 # Set to "yes" if exported symbols are required.
17901 always_export_symbols=$always_export_symbols
17903 # The commands to list exported symbols.
17904 export_symbols_cmds=$lt_export_symbols_cmds
17906 # Symbols that should not be listed in the preloaded symbols.
17907 exclude_expsyms=$lt_exclude_expsyms
17909 # Symbols that must always be exported.
17910 include_expsyms=$lt_include_expsyms
17912 # Commands necessary for linking programs (against libraries) with templates.
17913 prelink_cmds=$lt_prelink_cmds
17915 # Commands necessary for finishing linking programs.
17916 postlink_cmds=$lt_postlink_cmds
17918 # Specify filename containing input files.
17919 file_list_spec=$lt_file_list_spec
17921 # How to hardcode a shared library path into an executable.
17922 hardcode_action=$hardcode_action
17924 # ### END LIBTOOL CONFIG
17928 cat <<'_LT_EOF' >> "$cfgfile"
17930 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17932 # func_munge_path_list VARIABLE PATH
17933 # -----------------------------------
17934 # VARIABLE is name of variable containing _space_ separated list of
17935 # directories to be munged by the contents of PATH, which is string
17938 # string "DIR[ DIR]" will be prepended to VARIABLE
17940 # string "DIR[ DIR]" will be appended to VARIABLE
17941 # "DIRP[:DIRP]::[DIRA:]DIRA"
17942 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17943 # "DIRA[ DIRA]" will be appended to VARIABLE
17945 # VARIABLE will be replaced by "DIR[ DIR]"
17946 func_munge_path_list ()
17952 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17955 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17958 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17959 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17962 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17968 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
17969 func_cc_basename ()
17971 for cc_temp in $*""; do
17973 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17974 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17979 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17983 # ### END FUNCTIONS SHARED WITH CONFIGURE
17989 cat <<\_LT_EOF
>> "$cfgfile"
17990 # AIX sometimes has problems with the GCC collect2 program. For some
17991 # reason, if we set the COLLECT_NAMES environment variable, the problems
17992 # vanish in a puff of smoke.
17993 if test set != "${COLLECT_NAMES+set}"; then
17995 export COLLECT_NAMES
18003 ltmain
=$ac_aux_dir/ltmain.sh
18006 # We use sed instead of cat because bash on DJGPP gets confused if
18007 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18008 # text mode, it properly converts lines to CR/LF. This bash problem
18009 # is reportedly fixed, but why not run on old versions too?
18010 $SED '$q' "$ltmain" >> "$cfgfile" \
18011 || (rm -f "$cfgfile"; exit 1)
18013 mv -f "$cfgfile" "$ofile" ||
18014 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18025 ac_clean_files
=$ac_clean_files_save
18027 test $ac_write_fail = 0 ||
18028 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18031 # configure is writing to config.log, and then calls config.status.
18032 # config.status does its own redirection, appending to config.log.
18033 # Unfortunately, on DOS this fails, as config.log is still kept open
18034 # by configure, so config.status won't be able to write to it; its
18035 # output is simply discarded. So we exec the FD to /dev/null,
18036 # effectively closing config.log, so it can be properly (re)opened and
18037 # appended to by config.status. When coming back to configure, we
18038 # need to make the FD available again.
18039 if test "$no_create" != yes; then
18041 ac_config_status_args
=
18042 test "$silent" = yes &&
18043 ac_config_status_args
="$ac_config_status_args --quiet"
18045 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18047 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18048 # would make configure fail if this is the last instruction.
18049 $ac_cs_success || as_fn_exit
1
18051 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18053 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18058 echo "###############################################################################"
18059 echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
18061 echo "HOPM will be installed in ${prefix}. To change this, run:"
18062 echo " ./configure --prefix=DIRECTORY"
18063 echo "###############################################################################"