2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for mod_chxj 0.13.1.
5 # Report bugs to <konn@users.sourceforge.jp>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: konn@users.sourceforge.jp about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: under such a shell if you do have one."
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Unset more variables known to interfere with behavior of common tools.
262 CLICOLOR_FORCE= GREP_OPTIONS=
263 unset CLICOLOR_FORCE GREP_OPTIONS
265 ## --------------------- ##
266 ## M4sh Shell Functions. ##
267 ## --------------------- ##
270 # Portably unset VAR.
273 { eval $1=; unset $1;}
277 # as_fn_set_status STATUS
278 # -----------------------
279 # Set $? to STATUS, without forking.
287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297 # Create "$as_dir" as a directory, including parents if necessary.
302 -*) as_dir=./$as_dir;;
304 test -d "$as_dir" || eval $as_mkdir_p || {
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317 $as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 test -d "$as_dir" && break
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342 # as_fn_append VAR VALUE
343 # ----------------------
344 # Append the text in VALUE to the end of the definition contained in VAR. Take
345 # advantage of any shell optimizations that allow amortized linear growth over
346 # repeated appends, instead of the typical quadratic growth present in naive
348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
362 # Perform arithmetic evaluation on the ARGs, and store the result in the
363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
364 # must be portable across $(()) and expr.
365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373 as_val=`expr "$@" || test $? -eq 1`
378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
379 # ----------------------------------------
380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382 # script with STATUS, using 1 if that was 0.
385 as_status=$1; test $as_status -eq 0 && as_status=1
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390 $as_echo "$as_me: error: $2" >&2
391 as_fn_exit $as_status
394 if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413 as_me=`$as_basename -- "$0" ||
414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
432 # Avoid depending upon Character Ranges.
433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436 as_cr_digits='0123456789'
437 as_cr_alnum=$as_cr_Letters$as_cr_digits
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
467 # Exit status is that of the last command.
471 ECHO_C= ECHO_N= ECHO_T=
472 case `echo -n x` in #(((((
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484 rm -f conf$$ conf$$.exe conf$$.file
485 if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
489 mkdir conf$$.dir 2>/dev/null
491 if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500 elif ln conf$$.file conf$$ 2>/dev/null; then
508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509 rmdir conf$$.dir 2>/dev/null
511 if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
514 test -d ./-p && rmdir ./-p
518 if test -x / >/dev/null 2>&1; then
521 if ls -dL / >/dev/null 2>&1; then
528 if test -d "$1"; then
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
539 as_executable_p=$as_test_x
541 # Sed expression to map a string onto a valid CPP name.
542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544 # Sed expression to map a string onto a valid variable name.
545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547 SHELL=${CONFIG_SHELL-/bin/sh}
550 test -n "$DJDIR" || exec 7<&0 </dev/null
554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555 # so uname gets run too.
556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561 ac_default_prefix=/usr/local
563 ac_config_libobj_dir=.
570 # Identity of this package.
571 PACKAGE_NAME='mod_chxj'
572 PACKAGE_TARNAME='mod_chxj'
573 PACKAGE_VERSION='0.13.1'
574 PACKAGE_STRING='mod_chxj 0.13.1'
575 PACKAGE_BUGREPORT='konn@users.sourceforge.jp'
578 ac_unique_file="src/mod_chxj.c"
579 # Factoring default headers for most tests.
580 ac_includes_default="\
582 #ifdef HAVE_SYS_TYPES_H
583 # include <sys/types.h>
585 #ifdef HAVE_SYS_STAT_H
586 # include <sys/stat.h>
592 # ifdef HAVE_STDLIB_H
597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 #ifdef HAVE_STRINGS_H
603 # include <strings.h>
605 #ifdef HAVE_INTTYPES_H
606 # include <inttypes.h>
615 ac_subst_vars='am__EXEEXT_FALSE
679 INSTALL_STRIP_PROGRAM
733 program_transform_name
746 enable_option_checking
747 enable_dependency_tracking
761 enable_memcache_cookie
762 enable_memcached_static
763 with_memcached_header
764 with_memcached_lib_dir
771 ac_precious_vars='build_alias
783 # Initialize some variables set by options.
785 ac_init_version=false
786 ac_unrecognized_opts=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name=s,x,x,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\$ac_option
843 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
859 -build | --build | --buil | --bui | --bu)
860 ac_prev=build_alias ;;
861 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862 build_alias=$ac_optarg ;;
864 -cache-file | --cache-file | --cache-fil | --cache-fi \
865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866 ac_prev=cache_file ;;
867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869 cache_file=$ac_optarg ;;
872 cache_file=config.cache ;;
874 -datadir | --datadir | --datadi | --datad)
876 -datadir=* | --datadir=* | --datadi=* | --datad=*)
877 datadir=$ac_optarg ;;
879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880 | --dataroo | --dataro | --datar)
881 ac_prev=datarootdir ;;
882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884 datarootdir=$ac_optarg ;;
886 -disable-* | --disable-*)
887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890 as_fn_error $? "invalid feature name: $ac_useropt"
891 ac_useropt_orig=$ac_useropt
892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
900 eval enable_$ac_useropt=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 as_fn_error $? "invalid feature name: $ac_useropt"
917 ac_useropt_orig=$ac_useropt
918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep=', ';;
926 eval enable_$ac_useropt=\$ac_optarg ;;
928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930 | --exec | --exe | --ex)
931 ac_prev=exec_prefix ;;
932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934 | --exec=* | --exe=* | --ex=*)
935 exec_prefix=$ac_optarg ;;
937 -gas | --gas | --ga | --g)
938 # Obsolete; use --with-gas.
941 -help | --help | --hel | --he | -h)
943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
944 ac_init_help=recursive ;;
945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946 ac_init_help=short ;;
948 -host | --host | --hos | --ho)
949 ac_prev=host_alias ;;
950 -host=* | --host=* | --hos=* | --ho=*)
951 host_alias=$ac_optarg ;;
953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 htmldir=$ac_optarg ;;
959 -includedir | --includedir | --includedi | --included | --include \
960 | --includ | --inclu | --incl | --inc)
961 ac_prev=includedir ;;
962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 includedir=$ac_optarg ;;
966 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 infodir=$ac_optarg ;;
971 -libdir | --libdir | --libdi | --libd)
973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977 | --libexe | --libex | --libe)
978 ac_prev=libexecdir ;;
979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980 | --libexe=* | --libex=* | --libe=*)
981 libexecdir=$ac_optarg ;;
983 -localedir | --localedir | --localedi | --localed | --locale)
985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 localedir=$ac_optarg ;;
988 -localstatedir | --localstatedir | --localstatedi | --localstated \
989 | --localstate | --localstat | --localsta | --localst | --locals)
990 ac_prev=localstatedir ;;
991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 localstatedir=$ac_optarg ;;
995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 -nfp | --nfp | --nf)
1001 # Obsolete; use --without-fp.
1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005 | --no-cr | --no-c | -n)
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014 | --oldin | --oldi | --old | --ol | --o)
1015 ac_prev=oldincludedir ;;
1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 oldincludedir=$ac_optarg ;;
1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 prefix=$ac_optarg ;;
1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027 | --program-pre | --program-pr | --program-p)
1028 ac_prev=program_prefix ;;
1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 program_prefix=$ac_optarg ;;
1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034 | --program-suf | --program-su | --program-s)
1035 ac_prev=program_suffix ;;
1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 program_suffix=$ac_optarg ;;
1040 -program-transform-name | --program-transform-name \
1041 | --program-transform-nam | --program-transform-na \
1042 | --program-transform-n | --program-transform- \
1043 | --program-transform | --program-transfor \
1044 | --program-transfo | --program-transf \
1045 | --program-trans | --program-tran \
1046 | --progr-tra | --program-tr | --program-t)
1047 ac_prev=program_transform_name ;;
1048 -program-transform-name=* | --program-transform-name=* \
1049 | --program-transform-nam=* | --program-transform-na=* \
1050 | --program-transform-n=* | --program-transform-=* \
1051 | --program-transform=* | --program-transfor=* \
1052 | --program-transfo=* | --program-transf=* \
1053 | --program-trans=* | --program-tran=* \
1054 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 program_transform_name=$ac_optarg ;;
1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 pdfdir=$ac_optarg ;;
1062 -psdir | --psdir | --psdi | --psd | --ps)
1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 sbindir=$ac_optarg ;;
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1081 ac_prev=sharedstatedir ;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 sharedstatedir=$ac_optarg ;;
1088 -site | --site | --sit)
1090 -site=* | --site=* | --sit=*)
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir=$ac_optarg ;;
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev=sysconfdir ;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir=$ac_optarg ;;
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev=target_alias ;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias=$ac_optarg ;;
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version=: ;;
1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval with_$ac_useropt=\$ac_optarg ;;
1132 -without-* | --without-*)
1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136 as_fn_error $? "invalid package name: $ac_useropt"
1137 ac_useropt_orig=$ac_useropt
1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep=', ';;
1146 eval with_$ac_useropt=no ;;
1149 # Obsolete; use --with-x.
1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153 | --x-incl | --x-inc | --x-in | --x-i)
1154 ac_prev=x_includes ;;
1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 x_includes=$ac_optarg ;;
1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161 ac_prev=x_libraries ;;
1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 x_libraries=$ac_optarg ;;
1166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1191 if test -n "$ac_prev"; then
1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $? "missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val=\$$ac_var
1211 # Remove trailing slashes.
1214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$]* | ?:[\\/]* ) continue;;
1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x; then
1234 if test "x$build_alias" = x; then
1235 cross_compiling=maybe
1236 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1237 If a cross compiler is detected then cross compile mode will be used" >&2
1238 elif test "x$build_alias" != "x$host_alias"; then
1244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1246 test "$silent" = yes && exec 6>/dev/null
1249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1250 ac_ls_di=`ls -di .` &&
1251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1252 as_fn_error $? "working directory cannot be determined"
1253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1254 as_fn_error $? "pwd does not report name of working directory"
1257 # Find the source files, if location was not specified.
1258 if test -z "$srcdir"; then
1259 ac_srcdir_defaulted=yes
1260 # Try the directory containing this script, then the parent directory.
1261 ac_confdir=`$as_dirname -- "$as_myself" ||
1262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1263 X"$as_myself" : 'X\(//\)[^/]' \| \
1264 X"$as_myself" : 'X\(//\)$' \| \
1265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1266 $as_echo X"$as_myself" |
1267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1289 ac_srcdir_defaulted=no
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var in $ac_precious_vars; do
1310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_${ac_var}_value=\$${ac_var}
1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures mod_chxj 0.13.1 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking ...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_chxj]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --program-prefix=PREFIX prepend PREFIX to installed program names
1382 --program-suffix=SUFFIX append SUFFIX to installed program names
1383 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1386 --build=BUILD configure for building on BUILD [guessed]
1387 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1388 --target=TARGET configure for building compilers for TARGET [HOST]
1392 if test -n "$ac_init_help"; then
1393 case $ac_init_help in
1394 short | recursive ) echo "Configuration of mod_chxj 0.13.1:";;
1399 --disable-option-checking ignore unrecognized --enable/--with options
1400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1402 --disable-dependency-tracking speeds up one-time build
1403 --enable-dependency-tracking do not reject slow dependency extractors
1404 --enable-shared[=PKGS] build shared libraries [default=yes]
1405 --enable-static[=PKGS] build static libraries [default=yes]
1406 --enable-fast-install[=PKGS]
1407 optimize for fast installation [default=yes]
1408 --disable-libtool-lock avoid locking (might break parallel builds)
1409 --enable-img-conv-f Please specify it when you change the file name of the image being written in the
1410 source by the automatic operation.
1411 --enable-memcache-cookie Please specify it when you save Cookie in memcached.
1412 --enable-memcached-static use static link.
1413 --enable-mysql-cookie Please specify it when you save Cookie in MySQL.
1414 --enable-dump-log When the log of conversion is output, it specifies it with the output file.
1417 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1418 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1419 --with-pic try to use only PIC/non-PIC objects [default=use
1421 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1422 --with-sysroot=DIR Search for dependent libraries within DIR
1423 (or the compiler's sysroot if not specified).
1424 --with-apache-header=ARG The directory with the header file of apache2.0 is specified.
1425 --with-apxs=ARG Path of apxs program file.
1426 --with-apr-config=ARG Path of apr-config program file.
1427 --with-apu-config=ARG Path of apu-config program file.
1428 --with-pcre-config=ARG Path of pcre-config program file.
1429 --with-memcached-header Path of "memcached.h"
1430 --with-memcached-lib-dir Path of "libmemcached.so"
1431 --with-mysql-header=ARG Path of "mysql.h"
1432 --with-mysql-lib-dir=ARG Path of libmysqlclient
1433 APR_HELP_STRING(--with-openssl=PATH,Path to OpenSSL (eg. /usr/local/ssl))
1435 Some influential environment variables:
1436 CC C compiler command
1437 CFLAGS C compiler flags
1438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1439 nonstandard directory <lib dir>
1440 LIBS libraries to pass to the linker, e.g. -l<library>
1441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1442 you have headers in a nonstandard directory <include dir>
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to <konn@users.sourceforge.jp>.
1453 if test "$ac_init_help" = "recursive"; then
1454 # If there are subdirs, report their specific --help.
1455 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1456 test -d "$ac_dir" ||
1457 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1462 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1465 # A ".." for each directory in $ac_dir_suffix.
1466 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1467 case $ac_top_builddir_sub in
1468 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472 ac_abs_top_builddir=$ac_pwd
1473 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1474 # for backward compatibility:
1475 ac_top_builddir=$ac_top_build_prefix
1478 .) # We are building in place.
1480 ac_top_srcdir=$ac_top_builddir_sub
1481 ac_abs_top_srcdir=$ac_pwd ;;
1482 [\\/]* | ?:[\\/]* ) # Absolute name.
1483 ac_srcdir=$srcdir$ac_dir_suffix;
1484 ac_top_srcdir=$srcdir
1485 ac_abs_top_srcdir=$srcdir ;;
1487 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1488 ac_top_srcdir=$ac_top_build_prefix$srcdir
1489 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1491 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1493 cd "$ac_dir" || { ac_status=$?; continue; }
1494 # Check for guested configure.
1495 if test -f "$ac_srcdir/configure.gnu"; then
1497 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1498 elif test -f "$ac_srcdir/configure"; then
1500 $SHELL "$ac_srcdir/configure" --help=recursive
1502 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1504 cd "$ac_pwd" || { ac_status=$?; break; }
1508 test -n "$ac_init_help" && exit $ac_status
1509 if $ac_init_version; then
1511 mod_chxj configure 0.13.1
1512 generated by GNU Autoconf 2.68
1514 Copyright (C) 2010 Free Software Foundation, Inc.
1515 This configure script is free software; the Free Software Foundation
1516 gives unlimited permission to copy, distribute and modify it.
1521 ## ------------------------ ##
1522 ## Autoconf initialization. ##
1523 ## ------------------------ ##
1525 # ac_fn_c_try_compile LINENO
1526 # --------------------------
1527 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1528 ac_fn_c_try_compile ()
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 rm -f conftest.$ac_objext
1532 if { { ac_try="$ac_compile"
1534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1535 *) ac_try_echo=$ac_try;;
1537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1538 $as_echo "$ac_try_echo"; } >&5
1539 (eval "$ac_compile") 2>conftest.err
1541 if test -s conftest.err; then
1542 grep -v '^ *+' conftest.err >conftest.er1
1543 cat conftest.er1 >&5
1544 mv -f conftest.er1 conftest.err
1546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1547 test $ac_status = 0; } && {
1548 test -z "$ac_c_werror_flag" ||
1549 test ! -s conftest.err
1550 } && test -s conftest.$ac_objext; then :
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1559 as_fn_set_status $ac_retval
1561 } # ac_fn_c_try_compile
1563 # ac_fn_c_try_link LINENO
1564 # -----------------------
1565 # Try to link conftest.$ac_ext, and return whether this succeeded.
1568 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1569 rm -f conftest.$ac_objext conftest$ac_exeext
1570 if { { ac_try="$ac_link"
1572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1573 *) ac_try_echo=$ac_try;;
1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1576 $as_echo "$ac_try_echo"; } >&5
1577 (eval "$ac_link") 2>conftest.err
1579 if test -s conftest.err; then
1580 grep -v '^ *+' conftest.err >conftest.er1
1581 cat conftest.er1 >&5
1582 mv -f conftest.er1 conftest.err
1584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1585 test $ac_status = 0; } && {
1586 test -z "$ac_c_werror_flag" ||
1587 test ! -s conftest.err
1588 } && test -s conftest$ac_exeext && {
1589 test "$cross_compiling" = yes ||
1590 $as_test_x conftest$ac_exeext
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1600 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1601 # interfere with the next link command; also delete a directory that is
1602 # left behind by Apple's compiler. We do this before executing the actions.
1603 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1604 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605 as_fn_set_status $ac_retval
1607 } # ac_fn_c_try_link
1609 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists and can be compiled using the include files in
1612 # INCLUDES, setting the cache variable VAR accordingly.
1613 ac_fn_c_check_header_compile ()
1615 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if eval \${$3+:} false; then :
1619 $as_echo_n "(cached) " >&6
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1626 if ac_fn_c_try_compile "$LINENO"; then :
1631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1635 $as_echo "$ac_res" >&6; }
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1638 } # ac_fn_c_check_header_compile
1640 # ac_fn_c_try_cpp LINENO
1641 # ----------------------
1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } > conftest.i && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1677 # ac_fn_c_try_run LINENO
1678 # ----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1680 # that executables *can* be run.
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { { ac_try="$ac_link"
1686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>&5
1693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1694 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1695 { { case "(($ac_try" in
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_try") 2>&5
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; }; }; then :
1707 $as_echo "$as_me: program exited with status $ac_status" >&5
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1711 ac_retval=$ac_status
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1719 # ac_fn_c_check_func LINENO FUNC VAR
1720 # ----------------------------------
1721 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1722 ac_fn_c_check_func ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1726 $as_echo_n "checking for $2... " >&6; }
1727 if eval \${$3+:} false; then :
1728 $as_echo_n "(cached) " >&6
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1732 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1734 #define $2 innocuous_$2
1736 /* System header to define __stub macros and hopefully few prototypes,
1737 which can conflict with char $2 (); below.
1738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1739 <limits.h> exists even on freestanding compilers. */
1742 # include <limits.h>
1744 # include <assert.h>
1749 /* Override any GCC internal prototype to avoid an error.
1750 Use char because int might match the return type of a GCC
1751 builtin and then its argument prototype would still apply. */
1756 /* The GNU C library defines this for functions which it implements
1757 to always fail with ENOSYS. Some functions are actually named
1758 something starting with __ and the normal name is an alias. */
1759 #if defined __stub_$2 || defined __stub___$2
1771 if ac_fn_c_try_link "$LINENO"; then :
1776 rm -f core conftest.err conftest.$ac_objext \
1777 conftest$ac_exeext conftest.$ac_ext
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1781 $as_echo "$ac_res" >&6; }
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1784 } # ac_fn_c_check_func
1786 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1787 # -------------------------------------------------------
1788 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1789 # the include files in INCLUDES and setting the cache variable VAR
1791 ac_fn_c_check_header_mongrel ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if eval \${$3+:} false; then :
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1796 $as_echo_n "checking for $2... " >&6; }
1797 if eval \${$3+:} false; then :
1798 $as_echo_n "(cached) " >&6
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1804 # Is the header compilable?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1806 $as_echo_n "checking $2 usability... " >&6; }
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1813 ac_header_compiler=yes
1815 ac_header_compiler=no
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1819 $as_echo "$ac_header_compiler" >&6; }
1821 # Is the header present?
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1823 $as_echo_n "checking $2 presence... " >&6; }
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1828 if ac_fn_c_try_cpp "$LINENO"; then :
1829 ac_header_preproc=yes
1831 ac_header_preproc=no
1833 rm -f conftest.err conftest.i conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1835 $as_echo "$ac_header_preproc" >&6; }
1837 # So? What about this header?
1838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1841 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1843 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1847 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1849 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1851 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1853 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1855 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1856 ( $as_echo "## ---------------------------------------- ##
1857 ## Report this to konn@users.sourceforge.jp ##
1858 ## ---------------------------------------- ##"
1859 ) | sed "s/^/$as_me: WARNING: /" >&2
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1863 $as_echo_n "checking for $2... " >&6; }
1864 if eval \${$3+:} false; then :
1865 $as_echo_n "(cached) " >&6
1867 eval "$3=\$ac_header_compiler"
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1871 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1875 } # ac_fn_c_check_header_mongrel
1876 cat >config.log <<_ACEOF
1877 This file contains any messages produced by compilers while
1878 running configure, to aid debugging if configure makes a mistake.
1880 It was created by mod_chxj $as_me 0.13.1, which was
1881 generated by GNU Autoconf 2.68. Invocation command line was
1893 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1894 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1895 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1896 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1897 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1899 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1900 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1902 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1903 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1904 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1905 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1906 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1907 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1908 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 $as_echo "PATH: $as_dir"
1933 # Keep a trace of the command line.
1934 # Strip out --no-create and --no-recursion so they do not pile up.
1935 # Strip out --silent because we don't want to record it for future runs.
1936 # Also quote any args containing shell meta-characters.
1937 # Make two passes to allow for proper duplicate-argument suppression.
1941 ac_must_keep_next=false
1947 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1949 | -silent | --silent | --silen | --sile | --sil)
1952 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1955 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1957 as_fn_append ac_configure_args1 " '$ac_arg'"
1958 if test $ac_must_keep_next = true; then
1959 ac_must_keep_next=false # Got value, back to normal.
1962 *=* | --config-cache | -C | -disable-* | --disable-* \
1963 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1964 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1965 | -with-* | --with-* | -without-* | --without-* | --x)
1966 case "$ac_configure_args0 " in
1967 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1970 -* ) ac_must_keep_next=true ;;
1973 as_fn_append ac_configure_args " '$ac_arg'"
1978 { ac_configure_args0=; unset ac_configure_args0;}
1979 { ac_configure_args1=; unset ac_configure_args1;}
1981 # When interrupted or exit'd, cleanup temporary files, and complete
1982 # config.log. We remove comments because anyway the quotes in there
1983 # would cause problems or look ugly.
1984 # WARNING: Use '\'' to represent an apostrophe within the trap.
1985 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1986 trap 'exit_status=$?
1987 # Save into config.log some information that might help in debugging.
1991 $as_echo "## ---------------- ##
1992 ## Cache variables. ##
1993 ## ---------------- ##"
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2027 $as_echo "## ----------------- ##
2028 ## Output variables. ##
2029 ## ----------------- ##"
2031 for ac_var in $ac_subst_vars
2033 eval ac_val=\$$ac_var
2035 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2037 $as_echo "$ac_var='\''$ac_val'\''"
2041 if test -n "$ac_subst_files"; then
2042 $as_echo "## ------------------- ##
2043 ## File substitutions. ##
2044 ## ------------------- ##"
2046 for ac_var in $ac_subst_files
2048 eval ac_val=\$$ac_var
2050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -s confdefs.h; then
2058 $as_echo "## ----------- ##
2065 test "$ac_signal" != 0 &&
2066 $as_echo "$as_me: caught signal $ac_signal"
2067 $as_echo "$as_me: exit $exit_status"
2069 rm -f core *.core core.conftest.* &&
2070 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2073 for ac_signal in 1 2 13 15; do
2074 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2078 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2079 rm -f -r conftest* confdefs.h
2081 $as_echo "/* confdefs.h */" > confdefs.h
2083 # Predefined preprocessor variables.
2085 cat >>confdefs.h <<_ACEOF
2086 #define PACKAGE_NAME "$PACKAGE_NAME"
2089 cat >>confdefs.h <<_ACEOF
2090 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2093 cat >>confdefs.h <<_ACEOF
2094 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2097 cat >>confdefs.h <<_ACEOF
2098 #define PACKAGE_STRING "$PACKAGE_STRING"
2101 cat >>confdefs.h <<_ACEOF
2102 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_URL "$PACKAGE_URL"
2110 # Let the site file select an alternate cache file if it wants to.
2111 # Prefer an explicitly selected file to automatically selected ones.
2114 if test -n "$CONFIG_SITE"; then
2115 # We do not want a PATH search for config.site.
2116 case $CONFIG_SITE in #((
2117 -*) ac_site_file1=./$CONFIG_SITE;;
2118 */*) ac_site_file1=$CONFIG_SITE;;
2119 *) ac_site_file1=./$CONFIG_SITE;;
2121 elif test "x$prefix" != xNONE; then
2122 ac_site_file1=$prefix/share/config.site
2123 ac_site_file2=$prefix/etc/config.site
2125 ac_site_file1=$ac_default_prefix/share/config.site
2126 ac_site_file2=$ac_default_prefix/etc/config.site
2128 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2130 test "x$ac_site_file" = xNONE && continue
2131 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2133 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2134 sed 's/^/| /' "$ac_site_file" >&5
2136 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2138 as_fn_error $? "failed to load site script $ac_site_file
2139 See \`config.log' for more details" "$LINENO" 5; }
2143 if test -r "$cache_file"; then
2144 # Some versions of bash will fail to source /dev/null (special files
2145 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2146 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
2150 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2151 *) . "./$cache_file";;
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
2160 # Check that the precious variables saved in the cache have kept the same
2162 ac_cache_corrupted=false
2163 for ac_var in $ac_precious_vars; do
2164 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2165 eval ac_new_set=\$ac_env_${ac_var}_set
2166 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2167 eval ac_new_val=\$ac_env_${ac_var}_value
2168 case $ac_old_set,$ac_new_set in
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172 ac_cache_corrupted=: ;;
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176 ac_cache_corrupted=: ;;
2179 if test "x$ac_old_val" != "x$ac_new_val"; then
2180 # differences in whitespace do not lead to failure.
2181 ac_old_val_w=`echo x $ac_old_val`
2182 ac_new_val_w=`echo x $ac_new_val`
2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186 ac_cache_corrupted=:
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190 eval $ac_var=\$ac_old_val
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2193 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2198 # Pass precious variables to config.status.
2199 if test "$ac_new_set" = set; then
2201 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202 *) ac_arg=$ac_var=$ac_new_val ;;
2204 case " $ac_configure_args " in
2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2206 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2210 if $ac_cache_corrupted; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2217 ## -------------------- ##
2218 ## Main body of script. ##
2219 ## -------------------- ##
2222 ac_cpp='$CPP $CPPFLAGS'
2223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2232 if test -f "$ac_dir/install-sh"; then
2234 ac_install_sh="$ac_aux_dir/install-sh -c"
2236 elif test -f "$ac_dir/install.sh"; then
2238 ac_install_sh="$ac_aux_dir/install.sh -c"
2240 elif test -f "$ac_dir/shtool"; then
2242 ac_install_sh="$ac_aux_dir/shtool install -c"
2246 if test -z "$ac_aux_dir"; then
2247 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2250 # These three variables are undocumented and unsupported,
2251 # and are intended to be withdrawn in a future Autoconf release.
2252 # They can cause serious problems if a builder's source tree is in a directory
2253 # whose full name contains unusual characters.
2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2256 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2259 # Make sure we can run config.sub.
2260 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2261 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2264 $as_echo_n "checking build system type... " >&6; }
2265 if ${ac_cv_build+:} false; then :
2266 $as_echo_n "(cached) " >&6
2268 ac_build_alias=$build_alias
2269 test "x$ac_build_alias" = x &&
2270 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2271 test "x$ac_build_alias" = x &&
2272 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2273 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2274 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2278 $as_echo "$ac_cv_build" >&6; }
2279 case $ac_cv_build in
2281 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2284 ac_save_IFS=$IFS; IFS='-'
2290 # Remember, the first character of IFS is used to create $*,
2291 # except with old shells:
2294 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2298 $as_echo_n "checking host system type... " >&6; }
2299 if ${ac_cv_host+:} false; then :
2300 $as_echo_n "(cached) " >&6
2302 if test "x$host_alias" = x; then
2303 ac_cv_host=$ac_cv_build
2305 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2306 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2311 $as_echo "$ac_cv_host" >&6; }
2314 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2317 ac_save_IFS=$IFS; IFS='-'
2323 # Remember, the first character of IFS is used to create $*,
2324 # except with old shells:
2327 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2331 $as_echo_n "checking target system type... " >&6; }
2332 if ${ac_cv_target+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 if test "x$target_alias" = x; then
2336 ac_cv_target=$ac_cv_host
2338 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2339 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2344 $as_echo "$ac_cv_target" >&6; }
2345 case $ac_cv_target in
2347 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2349 target=$ac_cv_target
2350 ac_save_IFS=$IFS; IFS='-'
2356 # Remember, the first character of IFS is used to create $*,
2357 # except with old shells:
2360 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2363 # The aliases save the names the user supplied, while $host etc.
2364 # will get canonicalized.
2365 test -n "$target_alias" &&
2366 test "$program_prefix$program_suffix$program_transform_name" = \
2368 program_prefix=${target_alias}-
2369 am__api_version='1.11'
2371 # Find a good install program. We prefer a C program (faster),
2372 # so one script is as good as another. But avoid the broken or
2373 # incompatible versions:
2374 # SysV /etc/install, /usr/sbin/install
2375 # SunOS /usr/etc/install
2376 # IRIX /sbin/install
2378 # AmigaOS /C/install, which installs bootblocks on floppy discs
2379 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2380 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2381 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2382 # OS/2's system install, which has a completely different semantic
2383 # ./install, which can be erroneously created by make from ./install.sh.
2384 # Reject install programs that cannot install multiple files.
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2386 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2387 if test -z "$INSTALL"; then
2388 if ${ac_cv_path_install+:} false; then :
2389 $as_echo_n "(cached) " >&6
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 # Account for people who put trailing slashes in PATH elements.
2397 case $as_dir/ in #((
2398 ./ | .// | /[cC]/* | \
2399 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2400 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2403 # OSF1 and SCO ODT 3.0 have their own names for install.
2404 # Don't use installbsd from OSF since it installs stuff as root
2406 for ac_prog in ginstall scoinst install; do
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2409 if test $ac_prog = install &&
2410 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2411 # AIX install. It has an incompatible calling convention.
2413 elif test $ac_prog = install &&
2414 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2415 # program-specific install script used by HP pwplus--don't use.
2418 rm -rf conftest.one conftest.two conftest.dir
2419 echo one > conftest.one
2420 echo two > conftest.two
2422 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2423 test -s conftest.one && test -s conftest.two &&
2424 test -s conftest.dir/conftest.one &&
2425 test -s conftest.dir/conftest.two
2427 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2440 rm -rf conftest.one conftest.two conftest.dir
2443 if test "${ac_cv_path_install+set}" = set; then
2444 INSTALL=$ac_cv_path_install
2446 # As a last resort, use the slow shell script. Don't cache a
2447 # value for INSTALL within a source directory, because that will
2448 # break other packages using the cache if that directory is
2449 # removed, or if the value is a relative name.
2450 INSTALL=$ac_install_sh
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2454 $as_echo "$INSTALL" >&6; }
2456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2457 # It thinks the first close brace ends the variable substitution.
2458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2465 $as_echo_n "checking whether build environment is sane... " >&6; }
2468 echo timestamp > conftest.file
2469 # Reject unsafe characters in $srcdir or the absolute working directory
2470 # name. Accept space and tab only in the latter.
2474 *[\\\"\#\$\&\'\`$am_lf]*)
2475 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2478 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2479 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2482 # Do `set' in a subshell so we don't clobber the current shell's
2483 # arguments. Must try -L first in case configure is actually a
2484 # symlink; some systems play weird games with the mod time of symlinks
2485 # (eg FreeBSD returns the mod time of the symlink's containing
2488 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2489 if test "$*" = "X"; then
2491 set X `ls -t "$srcdir/configure" conftest.file`
2494 if test "$*" != "X $srcdir/configure conftest.file" \
2495 && test "$*" != "X conftest.file $srcdir/configure"; then
2497 # If neither matched, then we have a broken ls. This can happen
2498 # if, for instance, CONFIG_SHELL is bash and it inherits a
2499 # broken ls alias from the environment. This has actually
2500 # happened. Such a system could not be considered "sane".
2501 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2502 alias in your environment" "$LINENO" 5
2505 test "$2" = conftest.file
2511 as_fn_error $? "newly created file is older than distributed files!
2512 Check your system clock" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2515 $as_echo "yes" >&6; }
2516 test "$program_prefix" != NONE &&
2517 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2518 # Use a double $ so make ignores it.
2519 test "$program_suffix" != NONE &&
2520 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2521 # Double any \ or $.
2522 # By default was `s,x,x', remove it if useless.
2523 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2524 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2526 # expand $ac_aux_dir to an absolute path
2527 am_aux_dir=`cd $ac_aux_dir && pwd`
2529 if test x"${MISSING+set}" != xset; then
2532 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2534 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2537 # Use eval to expand $SHELL
2538 if eval "$MISSING --run true"; then
2539 am_missing_run="$MISSING --run "
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2543 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2546 if test x"${install_sh}" != xset; then
2549 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2551 install_sh="\${SHELL} $am_aux_dir/install-sh"
2555 # Installed binaries are usually stripped using `strip' when the user
2556 # run `make install-strip'. However `strip' might not be the right
2557 # tool to use in cross-compilation environments, therefore Automake
2558 # will honor the `STRIP' environment variable to overrule this program.
2559 if test "$cross_compiling" != no; then
2560 if test -n "$ac_tool_prefix"; then
2561 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2562 set dummy ${ac_tool_prefix}strip; ac_word=$2
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2564 $as_echo_n "checking for $ac_word... " >&6; }
2565 if ${ac_cv_prog_STRIP+:} false; then :
2566 $as_echo_n "(cached) " >&6
2568 if test -n "$STRIP"; then
2569 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 test -z "$as_dir" && as_dir=.
2576 for ac_exec_ext in '' $ac_executable_extensions; do
2577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2578 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588 STRIP=$ac_cv_prog_STRIP
2589 if test -n "$STRIP"; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2591 $as_echo "$STRIP" >&6; }
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2594 $as_echo "no" >&6; }
2599 if test -z "$ac_cv_prog_STRIP"; then
2601 # Extract the first word of "strip", so it can be a program name with args.
2602 set dummy strip; ac_word=$2
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604 $as_echo_n "checking for $ac_word... " >&6; }
2605 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2606 $as_echo_n "(cached) " >&6
2608 if test -n "$ac_ct_STRIP"; then
2609 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2615 test -z "$as_dir" && as_dir=.
2616 for ac_exec_ext in '' $ac_executable_extensions; do
2617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2618 ac_cv_prog_ac_ct_STRIP="strip"
2619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2629 if test -n "$ac_ct_STRIP"; then
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2631 $as_echo "$ac_ct_STRIP" >&6; }
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2634 $as_echo "no" >&6; }
2637 if test "x$ac_ct_STRIP" = x; then
2640 case $cross_compiling:$ac_tool_warned in
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2644 ac_tool_warned=yes ;;
2649 STRIP="$ac_cv_prog_STRIP"
2653 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2656 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2657 if test -z "$MKDIR_P"; then
2658 if ${ac_cv_path_mkdir+:} false; then :
2659 $as_echo_n "(cached) " >&6
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2662 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2665 test -z "$as_dir" && as_dir=.
2666 for ac_prog in mkdir gmkdir; do
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2669 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2670 'mkdir (GNU coreutils) '* | \
2671 'mkdir (coreutils) '* | \
2672 'mkdir (fileutils) '4.1*)
2673 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2683 test -d ./--version && rmdir ./--version
2684 if test "${ac_cv_path_mkdir+set}" = set; then
2685 MKDIR_P="$ac_cv_path_mkdir -p"
2687 # As a last resort, use the slow shell script. Don't cache a
2688 # value for MKDIR_P within a source directory, because that will
2689 # break other packages using the cache if that directory is
2690 # removed, or if the value is a relative name.
2691 MKDIR_P="$ac_install_sh -d"
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2695 $as_echo "$MKDIR_P" >&6; }
2699 [\\/$]* | ?:[\\/]*) ;;
2700 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2703 for ac_prog in gawk mawk nawk awk
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy $ac_prog; ac_word=$2
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if ${ac_cv_prog_AWK+:} false; then :
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$AWK"; then
2713 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir=.
2720 for ac_exec_ext in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_AWK="$ac_prog"
2723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733 if test -n "$AWK"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2735 $as_echo "$AWK" >&6; }
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$AWK" && break
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2746 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2749 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2750 $as_echo_n "(cached) " >&6
2752 cat >conftest.make <<\_ACEOF
2755 @echo '@@@%%%=$(MAKE)=@@@%%%'
2757 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2758 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760 eval ac_cv_prog_make_${ac_make}_set=yes;;
2762 eval ac_cv_prog_make_${ac_make}_set=no;;
2766 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2773 SET_MAKE="MAKE=${MAKE-make}"
2776 rm -rf .tst 2>/dev/null
2777 mkdir .tst 2>/dev/null
2778 if test -d .tst; then
2783 rmdir .tst 2>/dev/null
2785 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2786 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2787 # is not polluted with repeated "-I."
2788 am__isrc=' -I$(srcdir)'
2789 # test to see if srcdir already configured
2790 if test -f $srcdir/config.status; then
2791 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2795 # test whether we have cygpath
2796 if test -z "$CYGPATH_W"; then
2797 if (cygpath --version) >/dev/null 2>/dev/null; then
2798 CYGPATH_W='cygpath -w'
2805 # Define the identity of the package.
2810 cat >>confdefs.h <<_ACEOF
2811 #define PACKAGE "$PACKAGE"
2815 cat >>confdefs.h <<_ACEOF
2816 #define VERSION "$VERSION"
2819 # Some tools Automake needs.
2821 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2824 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2827 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2830 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2833 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2835 # We need awk for the "check" target. The system "awk" is bad on
2837 # Always define AMTAR for backward compatibility.
2839 AMTAR=${AMTAR-"${am_missing_run}tar"}
2841 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2847 ac_config_headers="$ac_config_headers include/config.h"
2851 # Checks for programs.
2853 ac_cpp='$CPP $CPPFLAGS'
2854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2857 if test -n "$ac_tool_prefix"; then
2858 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2859 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2861 $as_echo_n "checking for $ac_word... " >&6; }
2862 if ${ac_cv_prog_CC+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 if test -n "$CC"; then
2866 ac_cv_prog_CC="$CC" # Let the user override the test.
2868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2872 test -z "$as_dir" && as_dir=.
2873 for ac_exec_ext in '' $ac_executable_extensions; do
2874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2875 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 if test -n "$CC"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2888 $as_echo "$CC" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2896 if test -z "$ac_cv_prog_CC"; then
2898 # Extract the first word of "gcc", so it can be a program name with args.
2899 set dummy gcc; ac_word=$2
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2901 $as_echo_n "checking for $ac_word... " >&6; }
2902 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2903 $as_echo_n "(cached) " >&6
2905 if test -n "$ac_ct_CC"; then
2906 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2915 ac_cv_prog_ac_ct_CC="gcc"
2916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2926 if test -n "$ac_ct_CC"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2928 $as_echo "$ac_ct_CC" >&6; }
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2931 $as_echo "no" >&6; }
2934 if test "x$ac_ct_CC" = x; then
2937 case $cross_compiling:$ac_tool_warned in
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2941 ac_tool_warned=yes ;;
2949 if test -z "$CC"; then
2950 if test -n "$ac_tool_prefix"; then
2951 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2952 set dummy ${ac_tool_prefix}cc; ac_word=$2
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2954 $as_echo_n "checking for $ac_word... " >&6; }
2955 if ${ac_cv_prog_CC+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 if test -n "$CC"; then
2959 ac_cv_prog_CC="$CC" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2968 ac_cv_prog_CC="${ac_tool_prefix}cc"
2969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 if test -n "$CC"; then
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2981 $as_echo "$CC" >&6; }
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2984 $as_echo "no" >&6; }
2990 if test -z "$CC"; then
2991 # Extract the first word of "cc", so it can be a program name with args.
2992 set dummy cc; ac_word=$2
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2994 $as_echo_n "checking for $ac_word... " >&6; }
2995 if ${ac_cv_prog_CC+:} false; then :
2996 $as_echo_n "(cached) " >&6
2998 if test -n "$CC"; then
2999 ac_cv_prog_CC="$CC" # Let the user override the test.
3002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006 test -z "$as_dir" && as_dir=.
3007 for ac_exec_ext in '' $ac_executable_extensions; do
3008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3009 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3010 ac_prog_rejected=yes
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 if test $ac_prog_rejected = yes; then
3022 # We found a bogon in the path, so make sure we never use it.
3023 set dummy $ac_cv_prog_CC
3025 if test $# != 0; then
3026 # We chose a different compiler from the bogus one.
3027 # However, it has the same basename, so the bogon will be chosen
3028 # first if we set CC to just the basename; use the full file name.
3030 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3036 if test -n "$CC"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3038 $as_echo "$CC" >&6; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3041 $as_echo "no" >&6; }
3046 if test -z "$CC"; then
3047 if test -n "$ac_tool_prefix"; then
3048 for ac_prog in cl.exe
3050 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3053 $as_echo_n "checking for $ac_word... " >&6; }
3054 if ${ac_cv_prog_CC+:} false; then :
3055 $as_echo_n "(cached) " >&6
3057 if test -n "$CC"; then
3058 ac_cv_prog_CC="$CC" # Let the user override the test.
3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064 test -z "$as_dir" && as_dir=.
3065 for ac_exec_ext in '' $ac_executable_extensions; do
3066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3067 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078 if test -n "$CC"; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3080 $as_echo "$CC" >&6; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3087 test -n "$CC" && break
3090 if test -z "$CC"; then
3092 for ac_prog in cl.exe
3094 # Extract the first word of "$ac_prog", so it can be a program name with args.
3095 set dummy $ac_prog; ac_word=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$ac_ct_CC"; then
3102 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir=.
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 ac_cv_prog_ac_ct_CC="$ac_prog"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3122 if test -n "$ac_ct_CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3124 $as_echo "$ac_ct_CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3131 test -n "$ac_ct_CC" && break
3134 if test "x$ac_ct_CC" = x; then
3137 case $cross_compiling:$ac_tool_warned in
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3141 ac_tool_warned=yes ;;
3150 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3152 as_fn_error $? "no acceptable C compiler found in \$PATH
3153 See \`config.log' for more details" "$LINENO" 5; }
3155 # Provide some information about the compiler.
3156 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3159 for ac_option in --version -v -V -qversion; do
3160 { { ac_try="$ac_compiler $ac_option >&5"
3162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163 *) ac_try_echo=$ac_try;;
3165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3166 $as_echo "$ac_try_echo"; } >&5
3167 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3169 if test -s conftest.err; then
3171 ... rest of stderr output deleted ...
3172 10q' conftest.err >conftest.er1
3173 cat conftest.er1 >&5
3175 rm -f conftest.er1 conftest.err
3176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3177 test $ac_status = 0; }
3180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3181 /* end confdefs.h. */
3191 ac_clean_files_save=$ac_clean_files
3192 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3193 # Try to create an executable without -o first, disregard a.out.
3194 # It will help us diagnose broken compilers, and finding out an intuition
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3197 $as_echo_n "checking whether the C compiler works... " >&6; }
3198 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3200 # The possible output files:
3201 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3204 for ac_file in $ac_files
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3213 if { { ac_try="$ac_link_default"
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3219 $as_echo "$ac_try_echo"; } >&5
3220 (eval "$ac_link_default") 2>&5
3222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3223 test $ac_status = 0; }; then :
3224 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3225 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3226 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3227 # so that the user can short-circuit this test for compilers unknown to
3229 for ac_file in $ac_files ''
3231 test -f "$ac_file" || continue
3233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3236 # We found the default executable, but exeext='' is most
3240 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3242 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3244 # We set ac_cv_exeext here because the later test for it is not
3245 # safe: cross compilers may not add the suffix if given an `-o'
3246 # argument, so we may need to know it at that point already.
3247 # Even if this section looks crufty: it has the advantage of
3254 test "$ac_cv_exeext" = no && ac_cv_exeext=
3259 if test -z "$ac_file"; then :
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 $as_echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267 as_fn_error 77 "C compiler cannot create executables
3268 See \`config.log' for more details" "$LINENO" 5; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3271 $as_echo "yes" >&6; }
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3274 $as_echo_n "checking for C compiler default output file name... " >&6; }
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3276 $as_echo "$ac_file" >&6; }
3277 ac_exeext=$ac_cv_exeext
3279 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3280 ac_clean_files=$ac_clean_files_save
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3282 $as_echo_n "checking for suffix of executables... " >&6; }
3283 if { { ac_try="$ac_link"
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_link") 2>&5
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }; then :
3294 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3295 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3296 # work properly (i.e., refer to `conftest.exe'), while it won't with
3298 for ac_file in conftest.exe conftest conftest.*; do
3299 test -f "$ac_file" || continue
3301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3302 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3311 See \`config.log' for more details" "$LINENO" 5; }
3313 rm -f conftest conftest$ac_cv_exeext
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3315 $as_echo "$ac_cv_exeext" >&6; }
3317 rm -f conftest.$ac_ext
3318 EXEEXT=$ac_cv_exeext
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3326 FILE *f = fopen ("conftest.out", "w");
3327 return ferror (f) || fclose (f) != 0;
3333 ac_clean_files="$ac_clean_files conftest.out"
3334 # Check that the compiler produces executables we can run. If not, either
3335 # the compiler is broken, or we cross compile.
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3337 $as_echo_n "checking whether we are cross compiling... " >&6; }
3338 if test "$cross_compiling" != yes; then
3339 { { ac_try="$ac_link"
3341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3345 $as_echo "$ac_try_echo"; } >&5
3346 (eval "$ac_link") 2>&5
3348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3349 test $ac_status = 0; }
3350 if { ac_try='./conftest$ac_cv_exeext'
3351 { { case "(($ac_try" in
3352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353 *) ac_try_echo=$ac_try;;
3355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356 $as_echo "$ac_try_echo"; } >&5
3357 (eval "$ac_try") 2>&5
3359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360 test $ac_status = 0; }; }; then
3363 if test "$cross_compiling" = maybe; then
3366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368 as_fn_error $? "cannot run C compiled programs.
3369 If you meant to cross compile, use \`--host'.
3370 See \`config.log' for more details" "$LINENO" 5; }
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3375 $as_echo "$cross_compiling" >&6; }
3377 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3378 ac_clean_files=$ac_clean_files_save
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3380 $as_echo_n "checking for suffix of object files... " >&6; }
3381 if ${ac_cv_objext+:} false; then :
3382 $as_echo_n "(cached) " >&6
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3395 rm -f conftest.o conftest.obj
3396 if { { ac_try="$ac_compile"
3398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3399 *) ac_try_echo=$ac_try;;
3401 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3402 $as_echo "$ac_try_echo"; } >&5
3403 (eval "$ac_compile") 2>&5
3405 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3406 test $ac_status = 0; }; then :
3407 for ac_file in conftest.o conftest.obj conftest.*; do
3408 test -f "$ac_file" || continue;
3410 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3411 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3416 $as_echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 as_fn_error $? "cannot compute suffix of object files: cannot compile
3422 See \`config.log' for more details" "$LINENO" 5; }
3424 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3427 $as_echo "$ac_cv_objext" >&6; }
3428 OBJEXT=$ac_cv_objext
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3431 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3432 if ${ac_cv_c_compiler_gnu+:} false; then :
3433 $as_echo_n "(cached) " >&6
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3449 if ac_fn_c_try_compile "$LINENO"; then :
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3459 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3460 if test $ac_compiler_gnu = yes; then
3465 ac_test_CFLAGS=${CFLAGS+set}
3466 ac_save_CFLAGS=$CFLAGS
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3468 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3469 if ${ac_cv_prog_cc_g+:} false; then :
3470 $as_echo_n "(cached) " >&6
3472 ac_save_c_werror_flag=$ac_c_werror_flag
3473 ac_c_werror_flag=yes
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3487 if ac_fn_c_try_compile "$LINENO"; then :
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3502 if ac_fn_c_try_compile "$LINENO"; then :
3505 ac_c_werror_flag=$ac_save_c_werror_flag
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3518 if ac_fn_c_try_compile "$LINENO"; then :
3521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3526 ac_c_werror_flag=$ac_save_c_werror_flag
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3529 $as_echo "$ac_cv_prog_cc_g" >&6; }
3530 if test "$ac_test_CFLAGS" = set; then
3531 CFLAGS=$ac_save_CFLAGS
3532 elif test $ac_cv_prog_cc_g = yes; then
3533 if test "$GCC" = yes; then
3539 if test "$GCC" = yes; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3546 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3547 if ${ac_cv_prog_cc_c89+:} false; then :
3548 $as_echo_n "(cached) " >&6
3550 ac_cv_prog_cc_c89=no
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3556 #include <sys/types.h>
3557 #include <sys/stat.h>
3558 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3559 struct buf { int x; };
3560 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3561 static char *e (p, i)
3567 static char *f (char * (*g) (char **, int), char **p, ...)
3572 s = g (p, va_arg (v,int));
3577 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3578 function prototypes and stuff, but not '\xHH' hex character constants.
3579 These don't provoke an error unfortunately, instead are silently treated
3580 as 'x'. The following induces an error, until -std is added to get
3581 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3582 array size at least. It's necessary to write '\x00'==0 to get something
3583 that's true only with -std. */
3584 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3586 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3587 inside strings and character constants. */
3589 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3591 int test (int i, double x);
3592 struct s1 {int (*f) (int a);};
3593 struct s2 {int (*f) (double a);};
3594 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3600 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3605 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3606 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3608 CC="$ac_save_CC $ac_arg"
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610 ac_cv_prog_cc_c89=$ac_arg
3612 rm -f core conftest.err conftest.$ac_objext
3613 test "x$ac_cv_prog_cc_c89" != "xno" && break
3615 rm -f conftest.$ac_ext
3620 case "x$ac_cv_prog_cc_c89" in
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3623 $as_echo "none needed" >&6; } ;;
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3626 $as_echo "unsupported" >&6; } ;;
3628 CC="$CC $ac_cv_prog_cc_c89"
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3630 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3632 if test "x$ac_cv_prog_cc_c89" != xno; then :
3637 ac_cpp='$CPP $CPPFLAGS'
3638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3641 DEPDIR="${am__leading_dot}deps"
3643 ac_config_commands="$ac_config_commands depfiles"
3646 am_make=${MAKE-make}
3647 cat > confinc << 'END'
3649 @echo this is the am__doit target
3652 # If we don't find an include directive, just comment out the code.
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3654 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3658 # First try GNU make style include.
3659 echo "include confinc" > confmf
3660 # Ignore all kinds of additional output from `make'.
3661 case `$am_make -s -f confmf 2> /dev/null` in #(
3662 *the\ am__doit\ target*)
3668 # Now try BSD make style include.
3669 if test "$am__include" = "#"; then
3670 echo '.include "confinc"' > confmf
3671 case `$am_make -s -f confmf 2> /dev/null` in #(
3672 *the\ am__doit\ target*)
3673 am__include=.include
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3682 $as_echo "$_am_result" >&6; }
3683 rm -f confinc confmf
3685 # Check whether --enable-dependency-tracking was given.
3686 if test "${enable_dependency_tracking+set}" = set; then :
3687 enableval=$enable_dependency_tracking;
3690 if test "x$enable_dependency_tracking" != xno; then
3691 am_depcomp="$ac_aux_dir/depcomp"
3694 if test "x$enable_dependency_tracking" != xno; then
3704 depcc="$CC" am_compiler_list=
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3707 $as_echo_n "checking dependency style of $depcc... " >&6; }
3708 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3712 # We make a subdir and do the tests there. Otherwise we can end up
3713 # making bogus files that we don't know about and never remove. For
3714 # instance it was reported that on HP-UX the gcc test will end up
3715 # making a dummy file named `D' -- because `-MD' means `put the output
3718 # Copy depcomp to subdir because otherwise we won't find it if we're
3719 # using a relative directory.
3720 cp "$am_depcomp" conftest.dir
3722 # We will build objects and dependencies in a subdirectory because
3723 # it helps to detect inapplicable dependency modes. For instance
3724 # both Tru64's cc and ICC support -MD to output dependencies as a
3725 # side effect of compilation, but ICC will put the dependencies in
3726 # the current directory while Tru64 will put them in the object
3730 am_cv_CC_dependencies_compiler_type=none
3731 if test "$am_compiler_list" = ""; then
3732 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3735 case " $depcc " in #(
3736 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3739 for depmode in $am_compiler_list; do
3740 # Setup a source with many dependencies, because some compilers
3741 # like to wrap large dependency lists on column 80 (with \), and
3742 # we should not choose a depcomp mode which is confused by this.
3744 # We need to recreate these files for each test, as the compiler may
3745 # overwrite some of them when testing with obscure command lines.
3746 # This happens at least with the AIX C compiler.
3748 for i in 1 2 3 4 5 6; do
3749 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3750 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3751 # Solaris 8's {/usr,}/bin/sh.
3752 touch sub/conftst$i.h
3754 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3756 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3757 # mode. It turns out that the SunPro C++ compiler does not properly
3758 # handle `-M -o', and we need to detect this. Also, some Intel
3759 # versions had trouble with output in subdirs
3760 am__obj=sub/conftest.${OBJEXT-o}
3761 am__minus_obj="-o $am__obj"
3764 # This depmode causes a compiler race in universal mode.
3765 test "$am__universal" = false || continue
3768 # after this tag, mechanisms are not by side-effect, so they'll
3769 # only be used when explicitly requested
3770 if test "x$enable_dependency_tracking" = xyes; then
3776 msvisualcpp | msvcmsys)
3777 # This compiler won't grok `-c -o', but also, the minuso test has
3778 # not run yet. These depmodes are late enough in the game, and
3779 # so weak that their functioning should not be impacted.
3780 am__obj=conftest.${OBJEXT-o}
3785 if depmode=$depmode \
3786 source=sub/conftest.c object=$am__obj \
3787 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3788 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3789 >/dev/null 2>conftest.err &&
3790 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3791 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3792 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3793 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3794 # icc doesn't choke on unknown options, it will just issue warnings
3795 # or remarks (even with -Werror). So we grep stderr for any message
3796 # that says an option was ignored or not supported.
3797 # When given -MP, icc 7.0 and 7.1 complain thusly:
3798 # icc: Command line warning: ignoring option '-M'; no argument required
3799 # The diagnosis changed in icc 8.0:
3800 # icc: Command line remark: option '-MP' not supported
3801 if (grep 'ignoring option' conftest.err ||
3802 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3803 am_cv_CC_dependencies_compiler_type=$depmode
3812 am_cv_CC_dependencies_compiler_type=none
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3817 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3818 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3821 test "x$enable_dependency_tracking" != xno \
3822 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3824 am__fastdepCC_FALSE='#'
3826 am__fastdepCC_TRUE='#'
3827 am__fastdepCC_FALSE=
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3837 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3843 macro_revision='1.3293'
3857 ltmain="$ac_aux_dir/ltmain.sh"
3859 # Backslashify metacharacters that are still active within
3860 # double-quoted strings.
3861 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3863 # Same as above, but do not quote variable references.
3864 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3866 # Sed substitution to delay expansion of an escaped shell variable in a
3867 # double_quote_subst'ed string.
3868 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3870 # Sed substitution to delay expansion of an escaped single quote.
3871 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3873 # Sed substitution to avoid accidental globbing in evaled expressions
3874 no_glob_subst='s/\*/\\\*/g'
3876 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3877 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3878 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3881 $as_echo_n "checking how to print strings... " >&6; }
3882 # Test print first, because it will be a builtin if present.
3883 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3884 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3886 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3889 # Use this function as a fallback that always works.
3890 func_fallback_echo ()
3892 eval 'cat <<_LTECHO_EOF
3896 ECHO='func_fallback_echo'
3899 # func_echo_all arg...
3900 # Invoke $ECHO with all args, space-separated.
3907 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3908 $as_echo "printf" >&6; } ;;
3909 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3910 $as_echo "print -r" >&6; } ;;
3911 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3912 $as_echo "cat" >&6; } ;;
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3929 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3930 if ${ac_cv_path_SED+:} false; then :
3931 $as_echo_n "(cached) " >&6
3933 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3934 for ac_i in 1 2 3 4 5 6 7; do
3935 ac_script="$ac_script$as_nl$ac_script"
3937 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3938 { ac_script=; unset ac_script;}
3939 if test -z "$SED"; then
3940 ac_path_SED_found=false
3941 # Loop through the user's path and test for each of PROGNAME-LIST
3942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir=.
3947 for ac_prog in sed gsed; do
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3950 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3951 # Check for GNU ac_path_SED and select it if it is found.
3952 # Check for GNU $ac_path_SED
3953 case `"$ac_path_SED" --version 2>&1` in
3955 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3958 $as_echo_n 0123456789 >"conftest.in"
3961 cat "conftest.in" "conftest.in" >"conftest.tmp"
3962 mv "conftest.tmp" "conftest.in"
3963 cp "conftest.in" "conftest.nl"
3964 $as_echo '' >> "conftest.nl"
3965 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3966 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3967 as_fn_arith $ac_count + 1 && ac_count=$as_val
3968 if test $ac_count -gt ${ac_path_SED_max-0}; then
3969 # Best one so far, save it but keep looking for a better one
3970 ac_cv_path_SED="$ac_path_SED"
3971 ac_path_SED_max=$ac_count
3973 # 10*(2^10) chars as input seems more than enough
3974 test $ac_count -gt 10 && break
3976 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3979 $ac_path_SED_found && break 3
3984 if test -z "$ac_cv_path_SED"; then
3985 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3993 $as_echo "$ac_cv_path_SED" >&6; }
3994 SED="$ac_cv_path_SED"
3997 test -z "$SED" && SED=sed
3998 Xsed="$SED -e 1s/^X//"
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4011 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4012 if ${ac_cv_path_GREP+:} false; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -z "$GREP"; then
4016 ac_path_GREP_found=false
4017 # Loop through the user's path and test for each of PROGNAME-LIST
4018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4019 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4022 test -z "$as_dir" && as_dir=.
4023 for ac_prog in grep ggrep; do
4024 for ac_exec_ext in '' $ac_executable_extensions; do
4025 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4026 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4027 # Check for GNU ac_path_GREP and select it if it is found.
4028 # Check for GNU $ac_path_GREP
4029 case `"$ac_path_GREP" --version 2>&1` in
4031 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4034 $as_echo_n 0123456789 >"conftest.in"
4037 cat "conftest.in" "conftest.in" >"conftest.tmp"
4038 mv "conftest.tmp" "conftest.in"
4039 cp "conftest.in" "conftest.nl"
4040 $as_echo 'GREP' >> "conftest.nl"
4041 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4042 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4043 as_fn_arith $ac_count + 1 && ac_count=$as_val
4044 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4045 # Best one so far, save it but keep looking for a better one
4046 ac_cv_path_GREP="$ac_path_GREP"
4047 ac_path_GREP_max=$ac_count
4049 # 10*(2^10) chars as input seems more than enough
4050 test $ac_count -gt 10 && break
4052 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4055 $ac_path_GREP_found && break 3
4060 if test -z "$ac_cv_path_GREP"; then
4061 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4064 ac_cv_path_GREP=$GREP
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4069 $as_echo "$ac_cv_path_GREP" >&6; }
4070 GREP="$ac_cv_path_GREP"
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4074 $as_echo_n "checking for egrep... " >&6; }
4075 if ${ac_cv_path_EGREP+:} false; then :
4076 $as_echo_n "(cached) " >&6
4078 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4079 then ac_cv_path_EGREP="$GREP -E"
4081 if test -z "$EGREP"; then
4082 ac_path_EGREP_found=false
4083 # Loop through the user's path and test for each of PROGNAME-LIST
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4088 test -z "$as_dir" && as_dir=.
4089 for ac_prog in egrep; do
4090 for ac_exec_ext in '' $ac_executable_extensions; do
4091 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4092 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4093 # Check for GNU ac_path_EGREP and select it if it is found.
4094 # Check for GNU $ac_path_EGREP
4095 case `"$ac_path_EGREP" --version 2>&1` in
4097 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4100 $as_echo_n 0123456789 >"conftest.in"
4103 cat "conftest.in" "conftest.in" >"conftest.tmp"
4104 mv "conftest.tmp" "conftest.in"
4105 cp "conftest.in" "conftest.nl"
4106 $as_echo 'EGREP' >> "conftest.nl"
4107 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4109 as_fn_arith $ac_count + 1 && ac_count=$as_val
4110 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4111 # Best one so far, save it but keep looking for a better one
4112 ac_cv_path_EGREP="$ac_path_EGREP"
4113 ac_path_EGREP_max=$ac_count
4115 # 10*(2^10) chars as input seems more than enough
4116 test $ac_count -gt 10 && break
4118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4121 $ac_path_EGREP_found && break 3
4126 if test -z "$ac_cv_path_EGREP"; then
4127 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4130 ac_cv_path_EGREP=$EGREP
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4136 $as_echo "$ac_cv_path_EGREP" >&6; }
4137 EGREP="$ac_cv_path_EGREP"
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4141 $as_echo_n "checking for fgrep... " >&6; }
4142 if ${ac_cv_path_FGREP+:} false; then :
4143 $as_echo_n "(cached) " >&6
4145 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4146 then ac_cv_path_FGREP="$GREP -F"
4148 if test -z "$FGREP"; then
4149 ac_path_FGREP_found=false
4150 # Loop through the user's path and test for each of PROGNAME-LIST
4151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4155 test -z "$as_dir" && as_dir=.
4156 for ac_prog in fgrep; do
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4158 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4159 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4160 # Check for GNU ac_path_FGREP and select it if it is found.
4161 # Check for GNU $ac_path_FGREP
4162 case `"$ac_path_FGREP" --version 2>&1` in
4164 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4167 $as_echo_n 0123456789 >"conftest.in"
4170 cat "conftest.in" "conftest.in" >"conftest.tmp"
4171 mv "conftest.tmp" "conftest.in"
4172 cp "conftest.in" "conftest.nl"
4173 $as_echo 'FGREP' >> "conftest.nl"
4174 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4175 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4176 as_fn_arith $ac_count + 1 && ac_count=$as_val
4177 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4178 # Best one so far, save it but keep looking for a better one
4179 ac_cv_path_FGREP="$ac_path_FGREP"
4180 ac_path_FGREP_max=$ac_count
4182 # 10*(2^10) chars as input seems more than enough
4183 test $ac_count -gt 10 && break
4185 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4188 $ac_path_FGREP_found && break 3
4193 if test -z "$ac_cv_path_FGREP"; then
4194 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4197 ac_cv_path_FGREP=$FGREP
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4203 $as_echo "$ac_cv_path_FGREP" >&6; }
4204 FGREP="$ac_cv_path_FGREP"
4207 test -z "$GREP" && GREP=grep
4227 # Check whether --with-gnu-ld was given.
4228 if test "${with_gnu_ld+set}" = set; then :
4229 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4235 if test "$GCC" = yes; then
4236 # Check if gcc -print-prog-name=ld gives a path.
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4238 $as_echo_n "checking for ld used by $CC... " >&6; }
4241 # gcc leaves a trailing carriage return which upsets mingw
4242 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4244 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4247 # Accept absolute paths.
4249 re_direlt='/[^/][^/]*/\.\./'
4250 # Canonicalize the pathname of ld
4251 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4252 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4253 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4255 test -z "$LD" && LD="$ac_prog"
4258 # If it fails, then pretend we aren't using GCC.
4262 # If it is relative, then search for the first ld in PATH.
4266 elif test "$with_gnu_ld" = yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4268 $as_echo_n "checking for GNU ld... " >&6; }
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4271 $as_echo_n "checking for non-GNU ld... " >&6; }
4273 if ${lt_cv_path_LD+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 if test -z "$LD"; then
4277 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4278 for ac_dir in $PATH; do
4280 test -z "$ac_dir" && ac_dir=.
4281 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4282 lt_cv_path_LD="$ac_dir/$ac_prog"
4283 # Check to see if the program is GNU ld. I'd rather use --version,
4284 # but apparently some variants of GNU ld only accept -v.
4285 # Break only if it was the GNU/non-GNU ld that we prefer.
4286 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4287 *GNU* | *'with BFD'*)
4288 test "$with_gnu_ld" != no && break
4291 test "$with_gnu_ld" != yes && break
4298 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4303 if test -n "$LD"; then
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4305 $as_echo "$LD" >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4308 $as_echo "no" >&6; }
4310 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4312 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4313 if ${lt_cv_prog_gnu_ld+:} false; then :
4314 $as_echo_n "(cached) " >&6
4316 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4317 case `$LD -v 2>&1 </dev/null` in
4318 *GNU* | *'with BFD'*)
4319 lt_cv_prog_gnu_ld=yes
4322 lt_cv_prog_gnu_ld=no
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4327 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4328 with_gnu_ld=$lt_cv_prog_gnu_ld
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4339 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4340 if ${lt_cv_path_NM+:} false; then :
4341 $as_echo_n "(cached) " >&6
4343 if test -n "$NM"; then
4344 # Let the user override the test.
4347 lt_nm_to_check="${ac_tool_prefix}nm"
4348 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4349 lt_nm_to_check="$lt_nm_to_check nm"
4351 for lt_tmp_nm in $lt_nm_to_check; do
4352 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4353 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4355 test -z "$ac_dir" && ac_dir=.
4356 tmp_nm="$ac_dir/$lt_tmp_nm"
4357 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4358 # Check to see if the nm accepts a BSD-compat flag.
4359 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4360 # nm: unknown option "B" ignored
4361 # Tru64's nm complains that /dev/null is an invalid object file
4362 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4363 */dev/null* | *'Invalid file or object type'*)
4364 lt_cv_path_NM="$tmp_nm -B"
4368 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4370 lt_cv_path_NM="$tmp_nm -p"
4374 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4375 continue # so that we can try to find one that supports BSD flags
4384 : ${lt_cv_path_NM=no}
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4388 $as_echo "$lt_cv_path_NM" >&6; }
4389 if test "$lt_cv_path_NM" != "no"; then
4392 # Didn't find any BSD compatible name lister, look for dumpbin.
4393 if test -n "$DUMPBIN"; then :
4394 # Let the user override the test.
4396 if test -n "$ac_tool_prefix"; then
4397 for ac_prog in dumpbin "link -dump"
4399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if ${ac_cv_prog_DUMPBIN+:} false; then :
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$DUMPBIN"; then
4407 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir=.
4414 for ac_exec_ext in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 DUMPBIN=$ac_cv_prog_DUMPBIN
4427 if test -n "$DUMPBIN"; then
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4429 $as_echo "$DUMPBIN" >&6; }
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4436 test -n "$DUMPBIN" && break
4439 if test -z "$DUMPBIN"; then
4440 ac_ct_DUMPBIN=$DUMPBIN
4441 for ac_prog in dumpbin "link -dump"
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy $ac_prog; ac_word=$2
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446 $as_echo_n "checking for $ac_word... " >&6; }
4447 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 if test -n "$ac_ct_DUMPBIN"; then
4451 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 test -z "$as_dir" && as_dir=.
4458 for ac_exec_ext in '' $ac_executable_extensions; do
4459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4460 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4471 if test -n "$ac_ct_DUMPBIN"; then
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4473 $as_echo "$ac_ct_DUMPBIN" >&6; }
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4476 $as_echo "no" >&6; }
4480 test -n "$ac_ct_DUMPBIN" && break
4483 if test "x$ac_ct_DUMPBIN" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4492 DUMPBIN=$ac_ct_DUMPBIN
4496 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4498 DUMPBIN="$DUMPBIN -symbols"
4506 if test "$DUMPBIN" != ":"; then
4510 test -z "$NM" && NM=nm
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4518 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4519 if ${lt_cv_nm_interface+:} false; then :
4520 $as_echo_n "(cached) " >&6
4522 lt_cv_nm_interface="BSD nm"
4523 echo "int some_variable = 0;" > conftest.$ac_ext
4524 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4525 (eval "$ac_compile" 2>conftest.err)
4526 cat conftest.err >&5
4527 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4528 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4529 cat conftest.err >&5
4530 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4531 cat conftest.out >&5
4532 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4533 lt_cv_nm_interface="MS dumpbin"
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4538 $as_echo "$lt_cv_nm_interface" >&6; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4541 $as_echo_n "checking whether ln -s works... " >&6; }
4543 if test "$LN_S" = "ln -s"; then
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4545 $as_echo "yes" >&6; }
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4548 $as_echo "no, using $LN_S" >&6; }
4551 # find the maximum length of command line arguments
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4553 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4554 if ${lt_cv_sys_max_cmd_len+:} false; then :
4555 $as_echo_n "(cached) " >&6
4562 # On DJGPP, this test can blow up pretty badly due to problems in libc
4563 # (any single argument exceeding 2000 bytes causes a buffer overrun
4564 # during glob expansion). Even if it were fixed, the result of this
4565 # check would be larger than it should be.
4566 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4570 # Under GNU Hurd, this test is not required because there is
4571 # no limit to the length of command line arguments.
4572 # Libtool will interpret -1 as no limit whatsoever
4573 lt_cv_sys_max_cmd_len=-1;
4576 cygwin* | mingw* | cegcc*)
4577 # On Win9x/ME, this test blows up -- it succeeds, but takes
4578 # about 5 minutes as the teststring grows exponentially.
4579 # Worse, since 9x/ME are not pre-emptively multitasking,
4580 # you end up with a "frozen" computer, even though with patience
4581 # the test eventually succeeds (with a max line length of 256k).
4582 # Instead, let's just punt: use the minimum linelength reported by
4583 # all of the supported platforms: 8192 (on NT/2K/XP).
4584 lt_cv_sys_max_cmd_len=8192;
4588 # On MiNT this can take a long time and run out of memory.
4589 lt_cv_sys_max_cmd_len=8192;
4593 # On AmigaOS with pdksh, this test takes hours, literally.
4594 # So we just punt and use a minimum line length of 8192.
4595 lt_cv_sys_max_cmd_len=8192;
4598 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4599 # This has been around since 386BSD, at least. Likely further.
4600 if test -x /sbin/sysctl; then
4601 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4602 elif test -x /usr/sbin/sysctl; then
4603 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4605 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4607 # And add a safety zone
4608 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4609 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4613 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4614 lt_cv_sys_max_cmd_len=196608
4618 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4619 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4620 # nice to cause kernel panics so lets avoid the loop below.
4621 # First set a reasonable default.
4622 lt_cv_sys_max_cmd_len=16384
4624 if test -x /sbin/sysconfig; then
4625 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4626 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4631 lt_cv_sys_max_cmd_len=102400
4633 sysv5* | sco5v6* | sysv4.2uw2*)
4634 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4635 if test -n "$kargmax"; then
4636 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4638 lt_cv_sys_max_cmd_len=32768
4642 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4643 if test -n "$lt_cv_sys_max_cmd_len"; then
4644 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4645 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4647 # Make teststring a little bigger before we do anything with it.
4648 # a 1K string should be a reasonable start.
4649 for i in 1 2 3 4 5 6 7 8 ; do
4650 teststring=$teststring$teststring
4652 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4653 # If test is not a shell built-in, we'll probably end up computing a
4654 # maximum length that is only half of the actual maximum length, but
4656 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4657 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4658 test $i != 17 # 1/2 MB should be enough
4661 teststring=$teststring$teststring
4663 # Only check the string length outside the loop.
4664 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4666 # Add a significant safety factor because C++ compilers can tack on
4667 # massive amounts of additional arguments before passing them to the
4668 # linker. It appears as though 1/2 is a usable value.
4669 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4676 if test -n $lt_cv_sys_max_cmd_len ; then
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4678 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4681 $as_echo "none" >&6; }
4683 max_cmd_len=$lt_cv_sys_max_cmd_len
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4695 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4696 # Try some XSI features
4699 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4701 && eval 'test $(( 1 + 1 )) -eq 2 \
4702 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4705 $as_echo "$xsi_shell" >&6; }
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4709 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4711 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4713 && lt_shell_append=yes
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4715 $as_echo "$lt_shell_append" >&6; }
4718 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4728 # test EBCDIC or ASCII
4729 case `echo X|tr X '\101'` in
4730 A) # ASCII based system
4731 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4732 lt_SP2NL='tr \040 \012'
4733 lt_NL2SP='tr \015\012 \040\040'
4735 *) # EBCDIC based system
4736 lt_SP2NL='tr \100 \n'
4737 lt_NL2SP='tr \r\n \100\100'
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4750 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4751 if ${lt_cv_to_host_file_cmd+:} false; then :
4752 $as_echo_n "(cached) " >&6
4757 *-*-mingw* ) # actually msys
4758 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4761 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4763 * ) # otherwise, assume *nix
4764 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4770 *-*-mingw* ) # actually msys
4771 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4774 lt_cv_to_host_file_cmd=func_convert_file_noop
4776 * ) # otherwise, assume *nix
4777 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4781 * ) # unhandled hosts (and "normal" native builds)
4782 lt_cv_to_host_file_cmd=func_convert_file_noop
4788 to_host_file_cmd=$lt_cv_to_host_file_cmd
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4790 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4797 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4798 if ${lt_cv_to_tool_file_cmd+:} false; then :
4799 $as_echo_n "(cached) " >&6
4801 #assume ordinary cross tools, or native build.
4802 lt_cv_to_tool_file_cmd=func_convert_file_noop
4806 *-*-mingw* ) # actually msys
4807 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4815 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4817 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4824 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4825 if ${lt_cv_ld_reload_flag+:} false; then :
4826 $as_echo_n "(cached) " >&6
4828 lt_cv_ld_reload_flag='-r'
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4831 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4832 reload_flag=$lt_cv_ld_reload_flag
4833 case $reload_flag in
4835 *) reload_flag=" $reload_flag" ;;
4837 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4839 cygwin* | mingw* | pw32* | cegcc*)
4840 if test "$GCC" != yes; then
4845 if test "$GCC" = yes; then
4846 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4848 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4861 if test -n "$ac_tool_prefix"; then
4862 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4863 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_OBJDUMP+:} false; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$OBJDUMP"; then
4870 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 OBJDUMP=$ac_cv_prog_OBJDUMP
4890 if test -n "$OBJDUMP"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4892 $as_echo "$OBJDUMP" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4900 if test -z "$ac_cv_prog_OBJDUMP"; then
4901 ac_ct_OBJDUMP=$OBJDUMP
4902 # Extract the first word of "objdump", so it can be a program name with args.
4903 set dummy objdump; ac_word=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$ac_ct_OBJDUMP"; then
4910 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir=.
4917 for ac_exec_ext in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4930 if test -n "$ac_ct_OBJDUMP"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4932 $as_echo "$ac_ct_OBJDUMP" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4938 if test "x$ac_ct_OBJDUMP" = x; then
4941 case $cross_compiling:$ac_tool_warned in
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4944 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4945 ac_tool_warned=yes ;;
4947 OBJDUMP=$ac_ct_OBJDUMP
4950 OBJDUMP="$ac_cv_prog_OBJDUMP"
4953 test -z "$OBJDUMP" && OBJDUMP=objdump
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4964 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4965 if ${lt_cv_deplibs_check_method+:} false; then :
4966 $as_echo_n "(cached) " >&6
4968 lt_cv_file_magic_cmd='$MAGIC_CMD'
4969 lt_cv_file_magic_test_file=
4970 lt_cv_deplibs_check_method='unknown'
4971 # Need to set the preceding variable on all platforms that support
4972 # interlibrary dependencies.
4973 # 'none' -- dependencies not supported.
4974 # `unknown' -- same as none, but documents that we really don't know.
4975 # 'pass_all' -- all dependencies passed with no checks.
4976 # 'test_compile' -- check by making test program.
4977 # 'file_magic [[regex]]' -- check by looking for files in library path
4978 # which responds to the $file_magic_cmd with a given extended regex.
4979 # If you have `file' or equivalent on your system and you're not sure
4980 # whether `pass_all' will *always* work, you probably want this one.
4984 lt_cv_deplibs_check_method=pass_all
4988 lt_cv_deplibs_check_method=pass_all
4992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4993 lt_cv_file_magic_cmd='/usr/bin/file -L'
4994 lt_cv_file_magic_test_file=/shlib/libc.so
4998 # func_win32_libid is a shell function defined in ltmain.sh
4999 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5000 lt_cv_file_magic_cmd='func_win32_libid'
5004 # Base MSYS/MinGW do not provide the 'file' command needed by
5005 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5006 # unless we find 'file', for example because we are cross-compiling.
5007 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5008 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5009 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5010 lt_cv_file_magic_cmd='func_win32_libid'
5012 # Keep this pattern in sync with the one in func_win32_libid.
5013 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5014 lt_cv_file_magic_cmd='$OBJDUMP -f'
5019 # use the weaker test based on 'objdump'. See mingw*.
5020 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5021 lt_cv_file_magic_cmd='$OBJDUMP -f'
5024 darwin* | rhapsody*)
5025 lt_cv_deplibs_check_method=pass_all
5028 freebsd* | dragonfly*)
5029 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5032 # Not sure whether the presence of OpenBSD here was a mistake.
5033 # Let's accept both of them until this is cleared up.
5034 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5035 lt_cv_file_magic_cmd=/usr/bin/file
5036 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5040 lt_cv_deplibs_check_method=pass_all
5045 lt_cv_deplibs_check_method=pass_all
5049 lt_cv_deplibs_check_method=pass_all
5052 hpux10.20* | hpux11*)
5053 lt_cv_file_magic_cmd=/usr/bin/file
5056 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5057 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5060 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]'
5061 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5064 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5065 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5071 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5072 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5075 irix5* | irix6* | nonstopux*)
5077 *-32|*"-32 ") libmagic=32-bit;;
5078 *-n32|*"-n32 ") libmagic=N32;;
5079 *-64|*"-64 ") libmagic=64-bit;;
5080 *) libmagic=never-match;;
5082 lt_cv_deplibs_check_method=pass_all
5085 # This must be Linux ELF.
5086 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5087 lt_cv_deplibs_check_method=pass_all
5091 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5094 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5099 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5100 lt_cv_file_magic_cmd=/usr/bin/file
5101 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5105 lt_cv_deplibs_check_method=pass_all
5109 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5110 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5112 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5116 osf3* | osf4* | osf5*)
5117 lt_cv_deplibs_check_method=pass_all
5121 lt_cv_deplibs_check_method=pass_all
5125 lt_cv_deplibs_check_method=pass_all
5128 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5129 lt_cv_deplibs_check_method=pass_all
5133 case $host_vendor in
5135 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]'
5136 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5139 lt_cv_deplibs_check_method=pass_all
5142 lt_cv_file_magic_cmd='/bin/file'
5143 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5146 lt_cv_file_magic_cmd='/bin/file'
5147 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5148 lt_cv_file_magic_test_file=/lib/libc.so
5151 lt_cv_deplibs_check_method=pass_all
5154 lt_cv_deplibs_check_method=pass_all
5160 lt_cv_deplibs_check_method=pass_all
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5166 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5170 if test "$build" = "$host"; then
5173 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5176 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5182 file_magic_cmd=$lt_cv_file_magic_cmd
5183 deplibs_check_method=$lt_cv_deplibs_check_method
5184 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5209 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_DLLTOOL+:} false; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$DLLTOOL"; then
5216 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 DLLTOOL=$ac_cv_prog_DLLTOOL
5236 if test -n "$DLLTOOL"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5238 $as_echo "$DLLTOOL" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_DLLTOOL"; then
5247 ac_ct_DLLTOOL=$DLLTOOL
5248 # Extract the first word of "dlltool", so it can be a program name with args.
5249 set dummy dlltool; ac_word=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$ac_ct_DLLTOOL"; then
5256 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir=.
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5276 if test -n "$ac_ct_DLLTOOL"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5278 $as_echo "$ac_ct_DLLTOOL" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_DLLTOOL" = x; then
5287 case $cross_compiling:$ac_tool_warned in
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned=yes ;;
5293 DLLTOOL=$ac_ct_DLLTOOL
5296 DLLTOOL="$ac_cv_prog_DLLTOOL"
5299 test -z "$DLLTOOL" && DLLTOOL=dlltool
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5311 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5312 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5313 $as_echo_n "(cached) " >&6
5315 lt_cv_sharedlib_from_linklib_cmd='unknown'
5318 cygwin* | mingw* | pw32* | cegcc*)
5319 # two different shell functions defined in ltmain.sh
5320 # decide which to use based on capabilities of $DLLTOOL
5321 case `$DLLTOOL --help 2>&1` in
5322 *--identify-strict*)
5323 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5326 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5331 # fallback: assume linklib IS sharedlib
5332 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5338 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5339 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5340 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5349 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_AR+:} false; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$AR"; then
5360 ac_cv_prog_AR="$AR" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 if test -n "$AR"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5382 $as_echo "$AR" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5389 test -n "$AR" && break
5392 if test -z "$AR"; then
5396 # Extract the first word of "$ac_prog", so it can be a program name with args.
5397 set dummy $ac_prog; ac_word=$2
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5399 $as_echo_n "checking for $ac_word... " >&6; }
5400 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5401 $as_echo_n "(cached) " >&6
5403 if test -n "$ac_ct_AR"; then
5404 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 test -z "$as_dir" && as_dir=.
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5413 ac_cv_prog_ac_ct_AR="$ac_prog"
5414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5424 if test -n "$ac_ct_AR"; then
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5426 $as_echo "$ac_ct_AR" >&6; }
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5429 $as_echo "no" >&6; }
5433 test -n "$ac_ct_AR" && break
5436 if test "x$ac_ct_AR" = x; then
5439 case $cross_compiling:$ac_tool_warned in
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5443 ac_tool_warned=yes ;;
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5463 $as_echo_n "checking for archiver @FILE support... " >&6; }
5464 if ${lt_cv_ar_at_file+:} false; then :
5465 $as_echo_n "(cached) " >&6
5468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5479 if ac_fn_c_try_compile "$LINENO"; then :
5480 echo conftest.$ac_objext > conftest.lst
5481 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5482 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5483 (eval $lt_ar_try) 2>&5
5485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5486 test $ac_status = 0; }
5487 if test "$ac_status" -eq 0; then
5488 # Ensure the archiver fails upon bogus file names.
5489 rm -f conftest.$ac_objext libconftest.a
5490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5491 (eval $lt_ar_try) 2>&5
5493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5494 test $ac_status = 0; }
5495 if test "$ac_status" -ne 0; then
5499 rm -f conftest.* libconftest.a
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5506 $as_echo "$lt_cv_ar_at_file" >&6; }
5508 if test "x$lt_cv_ar_at_file" = xno; then
5511 archiver_list_spec=$lt_cv_ar_at_file
5520 if test -n "$ac_tool_prefix"; then
5521 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5522 set dummy ${ac_tool_prefix}strip; ac_word=$2
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524 $as_echo_n "checking for $ac_word... " >&6; }
5525 if ${ac_cv_prog_STRIP+:} false; then :
5526 $as_echo_n "(cached) " >&6
5528 if test -n "$STRIP"; then
5529 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 test -z "$as_dir" && as_dir=.
5536 for ac_exec_ext in '' $ac_executable_extensions; do
5537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5538 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 STRIP=$ac_cv_prog_STRIP
5549 if test -n "$STRIP"; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5551 $as_echo "$STRIP" >&6; }
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554 $as_echo "no" >&6; }
5559 if test -z "$ac_cv_prog_STRIP"; then
5561 # Extract the first word of "strip", so it can be a program name with args.
5562 set dummy strip; ac_word=$2
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5564 $as_echo_n "checking for $ac_word... " >&6; }
5565 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5566 $as_echo_n "(cached) " >&6
5568 if test -n "$ac_ct_STRIP"; then
5569 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575 test -z "$as_dir" && as_dir=.
5576 for ac_exec_ext in '' $ac_executable_extensions; do
5577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5578 ac_cv_prog_ac_ct_STRIP="strip"
5579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5588 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5589 if test -n "$ac_ct_STRIP"; then
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5591 $as_echo "$ac_ct_STRIP" >&6; }
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5594 $as_echo "no" >&6; }
5597 if test "x$ac_ct_STRIP" = x; then
5600 case $cross_compiling:$ac_tool_warned in
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5604 ac_tool_warned=yes ;;
5609 STRIP="$ac_cv_prog_STRIP"
5612 test -z "$STRIP" && STRIP=:
5619 if test -n "$ac_tool_prefix"; then
5620 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5623 $as_echo_n "checking for $ac_word... " >&6; }
5624 if ${ac_cv_prog_RANLIB+:} false; then :
5625 $as_echo_n "(cached) " >&6
5627 if test -n "$RANLIB"; then
5628 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 test -z "$as_dir" && as_dir=.
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5650 $as_echo "$RANLIB" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659 ac_ct_RANLIB=$RANLIB
5660 # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5665 $as_echo_n "(cached) " >&6
5667 if test -n "$ac_ct_RANLIB"; then
5668 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_exec_ext in '' $ac_executable_extensions; do
5676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677 ac_cv_prog_ac_ct_RANLIB="ranlib"
5678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5690 $as_echo "$ac_ct_RANLIB" >&6; }
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5696 if test "x$ac_ct_RANLIB" = x; then
5699 case $cross_compiling:$ac_tool_warned in
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5703 ac_tool_warned=yes ;;
5705 RANLIB=$ac_ct_RANLIB
5708 RANLIB="$ac_cv_prog_RANLIB"
5711 test -z "$RANLIB" && RANLIB=:
5718 # Determine commands to create old-style static archives.
5719 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5720 old_postinstall_cmds='chmod 644 $oldlib'
5721 old_postuninstall_cmds=
5723 if test -n "$RANLIB"; then
5726 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5729 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5732 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5737 lock_old_archive_extraction=yes ;;
5739 lock_old_archive_extraction=no ;;
5780 # If no C compiler was specified, use CC.
5783 # If no C compiler flags were specified, use CFLAGS.
5784 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5786 # Allow CC to be a program name with arguments.
5790 # Check for command to grab the raw symbol name followed by C symbol from nm.
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5792 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5793 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5794 $as_echo_n "(cached) " >&6
5797 # These are sane defaults that work on at least a few old systems.
5798 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5800 # Character class describing NM global symbol codes.
5801 symcode='[BCDEGRST]'
5803 # Regexp to match symbols that can be accessed directly from C.
5804 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5806 # Define system-specific variables.
5811 cygwin* | mingw* | pw32* | cegcc*)
5812 symcode='[ABCDGISTW]'
5815 if test "$host_cpu" = ia64; then
5816 symcode='[ABCDEGRST]'
5820 symcode='[BCDEGRST]'
5823 symcode='[BCDEGQRST]'
5834 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5842 # If we're using GNU nm, then use its standard symbol codes.
5843 case `$NM -V 2>&1` in
5844 *GNU* | *'with BFD'*)
5845 symcode='[ABCDGIRSTW]' ;;
5848 # Transform an extracted symbol line into a proper C declaration.
5849 # Some systems (esp. on ia64) link data and code symbols differently,
5850 # so use this general approach.
5851 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5853 # Transform an extracted symbol line into symbol name and symbol address
5854 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5855 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5857 # Handle CRLF in mingw tool chain
5861 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5865 # Try without a prefix underscore, then with it.
5866 for ac_symprfx in "" "_"; do
5868 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5869 symxfrm="\\1 $ac_symprfx\\2 \\2"
5871 # Write the raw and C identifiers.
5872 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5873 # Fake it for dumpbin and say T for any non-static function
5874 # and D for any global variable.
5875 # Also find C++ and __fastcall symbols from MSVC++,
5876 # which start with @ or ?.
5877 lt_cv_sys_global_symbol_pipe="$AWK '"\
5878 " {last_section=section; section=\$ 3};"\
5879 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5880 " \$ 0!~/External *\|/{next};"\
5881 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5882 " {if(hide[section]) next};"\
5883 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5884 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5885 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5886 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5887 " ' prfx=^$ac_symprfx"
5889 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5891 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5893 # Check to see that the pipe works correctly.
5897 cat > conftest.$ac_ext <<_LT_EOF
5902 void nm_test_func(void);
5903 void nm_test_func(void){}
5907 int main(){nm_test_var='a';nm_test_func();return(0);}
5910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5911 (eval $ac_compile) 2>&5
5913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5914 test $ac_status = 0; }; then
5915 # Now try to grab the symbols.
5917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5921 test $ac_status = 0; } && test -s "$nlist"; then
5922 # Try sorting and uniquifying the output.
5923 if sort "$nlist" | uniq > "$nlist"T; then
5924 mv -f "$nlist"T "$nlist"
5929 # Make sure that we snagged all the symbols we need.
5930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5932 cat <<_LT_EOF > conftest.$ac_ext
5933 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5934 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5935 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5936 relocations are performed -- see ld's documentation on pseudo-relocs. */
5937 # define LT_DLSYM_CONST
5938 #elif defined(__osf__)
5939 /* This system does not cope well with relocations in const data. */
5940 # define LT_DLSYM_CONST
5942 # define LT_DLSYM_CONST const
5950 # Now generate the symbol file.
5951 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5953 cat <<_LT_EOF >> conftest.$ac_ext
5955 /* The mapping between symbol names and symbols. */
5956 LT_DLSYM_CONST struct {
5960 lt__PROGRAM__LTX_preloaded_symbols[] =
5962 { "@PROGRAM@", (void *) 0 },
5964 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5965 cat <<\_LT_EOF >> conftest.$ac_ext
5969 /* This works around a problem in FreeBSD linker */
5970 #ifdef FREEBSD_WORKAROUND
5971 static const void *lt_preloaded_setup() {
5972 return lt__PROGRAM__LTX_preloaded_symbols;
5980 # Now try linking the two files.
5981 mv conftest.$ac_objext conftstm.$ac_objext
5982 lt_globsym_save_LIBS=$LIBS
5983 lt_globsym_save_CFLAGS=$CFLAGS
5984 LIBS="conftstm.$ac_objext"
5985 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5987 (eval $ac_link) 2>&5
5989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5990 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5993 LIBS=$lt_globsym_save_LIBS
5994 CFLAGS=$lt_globsym_save_CFLAGS
5996 echo "cannot find nm_test_func in $nlist" >&5
5999 echo "cannot find nm_test_var in $nlist" >&5
6002 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6005 echo "$progname: failed program was:" >&5
6006 cat conftest.$ac_ext >&5
6008 rm -rf conftest* conftst*
6010 # Do not use the global_symbol_pipe unless it works.
6011 if test "$pipe_works" = yes; then
6014 lt_cv_sys_global_symbol_pipe=
6020 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6021 lt_cv_sys_global_symbol_to_cdecl=
6023 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6025 $as_echo "failed" >&6; }
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6028 $as_echo "ok" >&6; }
6031 # Response file support.
6032 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6033 nm_file_list_spec='@'
6034 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6035 nm_file_list_spec='@'
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6065 $as_echo_n "checking for sysroot... " >&6; }
6067 # Check whether --with-sysroot was given.
6068 if test "${with_sysroot+set}" = set; then :
6069 withval=$with_sysroot;
6076 case ${with_sysroot} in #(
6078 if test "$GCC" = yes; then
6079 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6083 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6089 $as_echo "${with_sysroot}" >&6; }
6090 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6095 $as_echo "${lt_sysroot:-no}" >&6; }
6101 # Check whether --enable-libtool-lock was given.
6102 if test "${enable_libtool_lock+set}" = set; then :
6103 enableval=$enable_libtool_lock;
6106 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6108 # Some flags need to be propagated to the compiler or linker for good
6112 # Find out which ABI we are using.
6113 echo 'int i;' > conftest.$ac_ext
6114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6115 (eval $ac_compile) 2>&5
6117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6118 test $ac_status = 0; }; then
6119 case `/usr/bin/file conftest.$ac_objext` in
6131 # Find out which ABI we are using.
6132 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6134 (eval $ac_compile) 2>&5
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6137 test $ac_status = 0; }; then
6138 if test "$lt_cv_prog_gnu_ld" = yes; then
6139 case `/usr/bin/file conftest.$ac_objext` in
6141 LD="${LD-ld} -melf32bsmip"
6144 LD="${LD-ld} -melf32bmipn32"
6147 LD="${LD-ld} -melf64bmip"
6151 case `/usr/bin/file conftest.$ac_objext` in
6167 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6168 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6169 # Find out which ABI we are using.
6170 echo 'int i;' > conftest.$ac_ext
6171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6172 (eval $ac_compile) 2>&5
6174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6175 test $ac_status = 0; }; then
6176 case `/usr/bin/file conftest.o` in
6179 x86_64-*kfreebsd*-gnu)
6180 LD="${LD-ld} -m elf_i386_fbsd"
6183 LD="${LD-ld} -m elf_i386"
6185 ppc64-*linux*|powerpc64-*linux*)
6186 LD="${LD-ld} -m elf32ppclinux"
6189 LD="${LD-ld} -m elf_s390"
6192 LD="${LD-ld} -m elf32_sparc"
6198 x86_64-*kfreebsd*-gnu)
6199 LD="${LD-ld} -m elf_x86_64_fbsd"
6202 LD="${LD-ld} -m elf_x86_64"
6204 ppc*-*linux*|powerpc*-*linux*)
6205 LD="${LD-ld} -m elf64ppc"
6207 s390*-*linux*|s390*-*tpf*)
6208 LD="${LD-ld} -m elf64_s390"
6211 LD="${LD-ld} -m elf64_sparc"
6221 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6222 SAVE_CFLAGS="$CFLAGS"
6223 CFLAGS="$CFLAGS -belf"
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6225 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6226 if ${lt_cv_cc_needs_belf+:} false; then :
6227 $as_echo_n "(cached) " >&6
6230 ac_cpp='$CPP $CPPFLAGS'
6231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6236 /* end confdefs.h. */
6246 if ac_fn_c_try_link "$LINENO"; then :
6247 lt_cv_cc_needs_belf=yes
6249 lt_cv_cc_needs_belf=no
6251 rm -f core conftest.err conftest.$ac_objext \
6252 conftest$ac_exeext conftest.$ac_ext
6254 ac_cpp='$CPP $CPPFLAGS'
6255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6261 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6262 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6263 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6264 CFLAGS="$SAVE_CFLAGS"
6268 # Find out which ABI we are using.
6269 echo 'int i;' > conftest.$ac_ext
6270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6271 (eval $ac_compile) 2>&5
6273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6274 test $ac_status = 0; }; then
6275 case `/usr/bin/file conftest.o` in
6277 case $lt_cv_prog_gnu_ld in
6278 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6280 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6292 need_locks="$enable_libtool_lock"
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6296 set dummy ${ac_tool_prefix}mt; ac_word=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$MANIFEST_TOOL"; then
6303 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir=.
6310 for ac_exec_ext in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6323 if test -n "$MANIFEST_TOOL"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6325 $as_echo "$MANIFEST_TOOL" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6333 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6334 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6335 # Extract the first word of "mt", so it can be a program name with args.
6336 set dummy mt; ac_word=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$ac_ct_MANIFEST_TOOL"; then
6343 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir=.
6350 for ac_exec_ext in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6363 if test -n "$ac_ct_MANIFEST_TOOL"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6365 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6371 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6374 case $cross_compiling:$ac_tool_warned in
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6378 ac_tool_warned=yes ;;
6380 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6383 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6386 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6388 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6389 if ${lt_cv_path_mainfest_tool+:} false; then :
6390 $as_echo_n "(cached) " >&6
6392 lt_cv_path_mainfest_tool=no
6393 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6394 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6395 cat conftest.err >&5
6396 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6397 lt_cv_path_mainfest_tool=yes
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6402 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6403 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6413 rhapsody* | darwin*)
6414 if test -n "$ac_tool_prefix"; then
6415 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6416 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6420 $as_echo_n "(cached) " >&6
6422 if test -n "$DSYMUTIL"; then
6423 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir=.
6430 for ac_exec_ext in '' $ac_executable_extensions; do
6431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6443 if test -n "$DSYMUTIL"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6445 $as_echo "$DSYMUTIL" >&6; }
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6453 if test -z "$ac_cv_prog_DSYMUTIL"; then
6454 ac_ct_DSYMUTIL=$DSYMUTIL
6455 # Extract the first word of "dsymutil", so it can be a program name with args.
6456 set dummy dsymutil; ac_word=$2
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6458 $as_echo_n "checking for $ac_word... " >&6; }
6459 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6460 $as_echo_n "(cached) " >&6
6462 if test -n "$ac_ct_DSYMUTIL"; then
6463 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 test -z "$as_dir" && as_dir=.
6470 for ac_exec_ext in '' $ac_executable_extensions; do
6471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6483 if test -n "$ac_ct_DSYMUTIL"; then
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6485 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6488 $as_echo "no" >&6; }
6491 if test "x$ac_ct_DSYMUTIL" = x; then
6494 case $cross_compiling:$ac_tool_warned in
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6498 ac_tool_warned=yes ;;
6500 DSYMUTIL=$ac_ct_DSYMUTIL
6503 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6506 if test -n "$ac_tool_prefix"; then
6507 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6508 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_NMEDIT+:} false; then :
6512 $as_echo_n "(cached) " >&6
6514 if test -n "$NMEDIT"; then
6515 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534 NMEDIT=$ac_cv_prog_NMEDIT
6535 if test -n "$NMEDIT"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6537 $as_echo "$NMEDIT" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 if test -z "$ac_cv_prog_NMEDIT"; then
6546 ac_ct_NMEDIT=$NMEDIT
6547 # Extract the first word of "nmedit", so it can be a program name with args.
6548 set dummy nmedit; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6552 $as_echo_n "(cached) " >&6
6554 if test -n "$ac_ct_NMEDIT"; then
6555 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6574 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6575 if test -n "$ac_ct_NMEDIT"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6577 $as_echo "$ac_ct_NMEDIT" >&6; }
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6583 if test "x$ac_ct_NMEDIT" = x; then
6586 case $cross_compiling:$ac_tool_warned in
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6590 ac_tool_warned=yes ;;
6592 NMEDIT=$ac_ct_NMEDIT
6595 NMEDIT="$ac_cv_prog_NMEDIT"
6598 if test -n "$ac_tool_prefix"; then
6599 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6600 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_LIPO+:} false; then :
6604 $as_echo_n "(cached) " >&6
6606 if test -n "$LIPO"; then
6607 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 LIPO=$ac_cv_prog_LIPO
6627 if test -n "$LIPO"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6629 $as_echo "$LIPO" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6637 if test -z "$ac_cv_prog_LIPO"; then
6639 # Extract the first word of "lipo", so it can be a program name with args.
6640 set dummy lipo; ac_word=$2
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6642 $as_echo_n "checking for $ac_word... " >&6; }
6643 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6644 $as_echo_n "(cached) " >&6
6646 if test -n "$ac_ct_LIPO"; then
6647 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 test -z "$as_dir" && as_dir=.
6654 for ac_exec_ext in '' $ac_executable_extensions; do
6655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6656 ac_cv_prog_ac_ct_LIPO="lipo"
6657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6667 if test -n "$ac_ct_LIPO"; then
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6669 $as_echo "$ac_ct_LIPO" >&6; }
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6672 $as_echo "no" >&6; }
6675 if test "x$ac_ct_LIPO" = x; then
6678 case $cross_compiling:$ac_tool_warned in
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6682 ac_tool_warned=yes ;;
6687 LIPO="$ac_cv_prog_LIPO"
6690 if test -n "$ac_tool_prefix"; then
6691 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6692 set dummy ${ac_tool_prefix}otool; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if ${ac_cv_prog_OTOOL+:} false; then :
6696 $as_echo_n "(cached) " >&6
6698 if test -n "$OTOOL"; then
6699 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 test -z "$as_dir" && as_dir=.
6706 for ac_exec_ext in '' $ac_executable_extensions; do
6707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718 OTOOL=$ac_cv_prog_OTOOL
6719 if test -n "$OTOOL"; then
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6721 $as_echo "$OTOOL" >&6; }
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6729 if test -z "$ac_cv_prog_OTOOL"; then
6731 # Extract the first word of "otool", so it can be a program name with args.
6732 set dummy otool; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6736 $as_echo_n "(cached) " >&6
6738 if test -n "$ac_ct_OTOOL"; then
6739 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6748 ac_cv_prog_ac_ct_OTOOL="otool"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6758 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6759 if test -n "$ac_ct_OTOOL"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6761 $as_echo "$ac_ct_OTOOL" >&6; }
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6767 if test "x$ac_ct_OTOOL" = x; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6774 ac_tool_warned=yes ;;
6779 OTOOL="$ac_cv_prog_OTOOL"
6782 if test -n "$ac_tool_prefix"; then
6783 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6784 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6786 $as_echo_n "checking for $ac_word... " >&6; }
6787 if ${ac_cv_prog_OTOOL64+:} false; then :
6788 $as_echo_n "(cached) " >&6
6790 if test -n "$OTOOL64"; then
6791 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 test -z "$as_dir" && as_dir=.
6798 for ac_exec_ext in '' $ac_executable_extensions; do
6799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6800 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810 OTOOL64=$ac_cv_prog_OTOOL64
6811 if test -n "$OTOOL64"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6813 $as_echo "$OTOOL64" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6816 $as_echo "no" >&6; }
6821 if test -z "$ac_cv_prog_OTOOL64"; then
6822 ac_ct_OTOOL64=$OTOOL64
6823 # Extract the first word of "otool64", so it can be a program name with args.
6824 set dummy otool64; ac_word=$2
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826 $as_echo_n "checking for $ac_word... " >&6; }
6827 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6828 $as_echo_n "(cached) " >&6
6830 if test -n "$ac_ct_OTOOL64"; then
6831 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 test -z "$as_dir" && as_dir=.
6838 for ac_exec_ext in '' $ac_executable_extensions; do
6839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6840 ac_cv_prog_ac_ct_OTOOL64="otool64"
6841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6851 if test -n "$ac_ct_OTOOL64"; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6853 $as_echo "$ac_ct_OTOOL64" >&6; }
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856 $as_echo "no" >&6; }
6859 if test "x$ac_ct_OTOOL64" = x; then
6862 case $cross_compiling:$ac_tool_warned in
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6866 ac_tool_warned=yes ;;
6868 OTOOL64=$ac_ct_OTOOL64
6871 OTOOL64="$ac_cv_prog_OTOOL64"
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6901 $as_echo_n "checking for -single_module linker flag... " >&6; }
6902 if ${lt_cv_apple_cc_single_mod+:} false; then :
6903 $as_echo_n "(cached) " >&6
6905 lt_cv_apple_cc_single_mod=no
6906 if test -z "${LT_MULTI_MODULE}"; then
6907 # By default we will add the -single_module flag. You can override
6908 # by either setting the environment variable LT_MULTI_MODULE
6909 # non-empty at configure time, or by adding -multi_module to the
6911 rm -rf libconftest.dylib*
6912 echo "int foo(void){return 1;}" > conftest.c
6913 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6914 -dynamiclib -Wl,-single_module conftest.c" >&5
6915 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6916 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6918 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6919 lt_cv_apple_cc_single_mod=yes
6921 cat conftest.err >&5
6923 rm -rf libconftest.dylib*
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6928 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6930 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6931 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6932 $as_echo_n "(cached) " >&6
6934 lt_cv_ld_exported_symbols_list=no
6935 save_LDFLAGS=$LDFLAGS
6936 echo "_main" > conftest.sym
6937 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 lt_cv_ld_exported_symbols_list=yes
6952 lt_cv_ld_exported_symbols_list=no
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6956 LDFLAGS="$save_LDFLAGS"
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6960 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6962 $as_echo_n "checking for -force_load linker flag... " >&6; }
6963 if ${lt_cv_ld_force_load+:} false; then :
6964 $as_echo_n "(cached) " >&6
6966 lt_cv_ld_force_load=no
6967 cat > conftest.c << _LT_EOF
6968 int forced_loaded() { return 2;}
6970 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6971 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6972 echo "$AR cru libconftest.a conftest.o" >&5
6973 $AR cru libconftest.a conftest.o 2>&5
6974 echo "$RANLIB libconftest.a" >&5
6975 $RANLIB libconftest.a 2>&5
6976 cat > conftest.c << _LT_EOF
6977 int main() { return 0;}
6979 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6980 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6982 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6983 lt_cv_ld_force_load=yes
6985 cat conftest.err >&5
6987 rm -f conftest.err libconftest.a conftest conftest.c
6988 rm -rf conftest.dSYM
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6992 $as_echo "$lt_cv_ld_force_load" >&6; }
6994 rhapsody* | darwin1.[012])
6995 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6997 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6998 darwin*) # darwin 5.x on
6999 # if running on 10.5 or later, the deployment target defaults
7000 # to the OS version, if on x86, and 10.4, the deployment
7001 # target defaults to 10.4. Don't you love it?
7002 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7003 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7004 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7006 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7008 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7012 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7013 _lt_dar_single_mod='$single_module'
7015 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7016 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7018 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7020 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7021 _lt_dsymutil='~$DSYMUTIL $lib || :'
7029 ac_cpp='$CPP $CPPFLAGS'
7030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7034 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7035 # On Suns, sometimes $CPP names a directory.
7036 if test -n "$CPP" && test -d "$CPP"; then
7039 if test -z "$CPP"; then
7040 if ${ac_cv_prog_CPP+:} false; then :
7041 $as_echo_n "(cached) " >&6
7043 # Double quotes because CPP needs to be expanded
7044 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7047 for ac_c_preproc_warn_flag in '' yes
7049 # Use a header file that comes with gcc, so configuring glibc
7050 # with a fresh cross-compiler works.
7051 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7052 # <limits.h> exists even on freestanding compilers.
7053 # On the NeXT, cc -E runs the code through the compiler's parser,
7054 # not just through cpp. "Syntax error" is here to catch this case.
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7058 # include <limits.h>
7060 # include <assert.h>
7064 if ac_fn_c_try_cpp "$LINENO"; then :
7067 # Broken: fails on valid input.
7070 rm -f conftest.err conftest.i conftest.$ac_ext
7072 # OK, works on sane cases. Now check whether nonexistent headers
7073 # can be detected and how.
7074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7075 /* end confdefs.h. */
7076 #include <ac_nonexistent.h>
7078 if ac_fn_c_try_cpp "$LINENO"; then :
7079 # Broken: success on invalid input.
7082 # Passes both tests.
7086 rm -f conftest.err conftest.i conftest.$ac_ext
7089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7090 rm -f conftest.i conftest.err conftest.$ac_ext
7091 if $ac_preproc_ok; then :
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7104 $as_echo "$CPP" >&6; }
7106 for ac_c_preproc_warn_flag in '' yes
7108 # Use a header file that comes with gcc, so configuring glibc
7109 # with a fresh cross-compiler works.
7110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7111 # <limits.h> exists even on freestanding compilers.
7112 # On the NeXT, cc -E runs the code through the compiler's parser,
7113 # not just through cpp. "Syntax error" is here to catch this case.
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7117 # include <limits.h>
7119 # include <assert.h>
7123 if ac_fn_c_try_cpp "$LINENO"; then :
7126 # Broken: fails on valid input.
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 # OK, works on sane cases. Now check whether nonexistent headers
7132 # can be detected and how.
7133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7134 /* end confdefs.h. */
7135 #include <ac_nonexistent.h>
7137 if ac_fn_c_try_cpp "$LINENO"; then :
7138 # Broken: success on invalid input.
7141 # Passes both tests.
7145 rm -f conftest.err conftest.i conftest.$ac_ext
7148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7149 rm -f conftest.i conftest.err conftest.$ac_ext
7150 if $ac_preproc_ok; then :
7153 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7155 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7156 See \`config.log' for more details" "$LINENO" 5; }
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7167 $as_echo_n "checking for ANSI C header files... " >&6; }
7168 if ${ac_cv_header_stdc+:} false; then :
7169 $as_echo_n "(cached) " >&6
7171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7172 /* end confdefs.h. */
7186 if ac_fn_c_try_compile "$LINENO"; then :
7187 ac_cv_header_stdc=yes
7189 ac_cv_header_stdc=no
7191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7193 if test $ac_cv_header_stdc = yes; then
7194 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h. */
7200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7201 $EGREP "memchr" >/dev/null 2>&1; then :
7204 ac_cv_header_stdc=no
7210 if test $ac_cv_header_stdc = yes; then
7211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213 /* end confdefs.h. */
7217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7218 $EGREP "free" >/dev/null 2>&1; then :
7221 ac_cv_header_stdc=no
7227 if test $ac_cv_header_stdc = yes; then
7228 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7229 if test "$cross_compiling" = yes; then :
7232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7233 /* end confdefs.h. */
7236 #if ((' ' & 0x0FF) == 0x020)
7237 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7238 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7240 # define ISLOWER(c) \
7241 (('a' <= (c) && (c) <= 'i') \
7242 || ('j' <= (c) && (c) <= 'r') \
7243 || ('s' <= (c) && (c) <= 'z'))
7244 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7247 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7252 for (i = 0; i < 256; i++)
7253 if (XOR (islower (i), ISLOWER (i))
7254 || toupper (i) != TOUPPER (i))
7259 if ac_fn_c_try_run "$LINENO"; then :
7262 ac_cv_header_stdc=no
7264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7265 conftest.$ac_objext conftest.beam conftest.$ac_ext
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7271 $as_echo "$ac_cv_header_stdc" >&6; }
7272 if test $ac_cv_header_stdc = yes; then
7274 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7278 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7279 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7280 inttypes.h stdint.h unistd.h
7282 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7285 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7286 cat >>confdefs.h <<_ACEOF
7287 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7295 for ac_header in dlfcn.h
7297 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7299 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7300 cat >>confdefs.h <<_ACEOF
7301 #define HAVE_DLFCN_H 1
7322 # Check whether --enable-shared was given.
7323 if test "${enable_shared+set}" = set; then :
7324 enableval=$enable_shared; p=${PACKAGE-default}
7326 yes) enable_shared=yes ;;
7327 no) enable_shared=no ;;
7330 # Look at the argument we got. We use all the common list separators.
7331 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7332 for pkg in $enableval; do
7334 if test "X$pkg" = "X$p"; then
7353 # Check whether --enable-static was given.
7354 if test "${enable_static+set}" = set; then :
7355 enableval=$enable_static; p=${PACKAGE-default}
7357 yes) enable_static=yes ;;
7358 no) enable_static=no ;;
7361 # Look at the argument we got. We use all the common list separators.
7362 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7363 for pkg in $enableval; do
7365 if test "X$pkg" = "X$p"; then
7385 # Check whether --with-pic was given.
7386 if test "${with_pic+set}" = set; then :
7387 withval=$with_pic; pic_mode="$withval"
7393 test -z "$pic_mode" && pic_mode=default
7401 # Check whether --enable-fast-install was given.
7402 if test "${enable_fast_install+set}" = set; then :
7403 enableval=$enable_fast_install; p=${PACKAGE-default}
7405 yes) enable_fast_install=yes ;;
7406 no) enable_fast_install=no ;;
7408 enable_fast_install=no
7409 # Look at the argument we got. We use all the common list separators.
7410 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7411 for pkg in $enableval; do
7413 if test "X$pkg" = "X$p"; then
7414 enable_fast_install=yes
7421 enable_fast_install=yes
7434 # This can be used to rebuild libtool when needed
7435 LIBTOOL_DEPS="$ltmain"
7437 # Always use our own libtool.
7438 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7465 test -z "$LN_S" && LN_S="ln -s"
7480 if test -n "${ZSH_VERSION+set}" ; then
7481 setopt NO_GLOB_SUBST
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7485 $as_echo_n "checking for objdir... " >&6; }
7486 if ${lt_cv_objdir+:} false; then :
7487 $as_echo_n "(cached) " >&6
7489 rm -f .libs 2>/dev/null
7490 mkdir .libs 2>/dev/null
7491 if test -d .libs; then
7494 # MS-DOS does not allow filenames that begin with a dot.
7497 rmdir .libs 2>/dev/null
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7500 $as_echo "$lt_cv_objdir" >&6; }
7501 objdir=$lt_cv_objdir
7507 cat >>confdefs.h <<_ACEOF
7508 #define LT_OBJDIR "$lt_cv_objdir/"
7516 # AIX sometimes has problems with the GCC collect2 program. For some
7517 # reason, if we set the COLLECT_NAMES environment variable, the problems
7518 # vanish in a puff of smoke.
7519 if test "X${COLLECT_NAMES+set}" != Xset; then
7521 export COLLECT_NAMES
7528 can_build_shared=yes
7530 # All known linkers require a `.a' archive for static linking (except MSVC,
7531 # which needs '.lib').
7534 with_gnu_ld="$lt_cv_prog_gnu_ld"
7537 old_CFLAGS="$CFLAGS"
7539 # Set sane defaults for various variables
7540 test -z "$CC" && CC=cc
7541 test -z "$LTCC" && LTCC=$CC
7542 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7543 test -z "$LD" && LD=ld
7544 test -z "$ac_objext" && ac_objext=o
7546 for cc_temp in $compiler""; do
7548 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7549 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7554 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7557 # Only perform the check for file, if the check method requires it
7558 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7559 case $deplibs_check_method in
7561 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7563 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7564 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7565 $as_echo_n "(cached) " >&6
7569 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7572 lt_save_MAGIC_CMD="$MAGIC_CMD"
7573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7574 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7575 for ac_dir in $ac_dummy; do
7577 test -z "$ac_dir" && ac_dir=.
7578 if test -f $ac_dir/${ac_tool_prefix}file; then
7579 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7580 if test -n "$file_magic_test_file"; then
7581 case $deplibs_check_method in
7583 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7584 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7585 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7586 $EGREP "$file_magic_regex" > /dev/null; then
7591 *** Warning: the command libtool uses to detect shared libraries,
7592 *** $file_magic_cmd, produces output that libtool cannot recognize.
7593 *** The result is that libtool may fail to recognize shared libraries
7594 *** as such. This will affect the creation of libtool libraries that
7595 *** depend on shared libraries, but programs linked with such libtool
7596 *** libraries will work regardless of this problem. Nevertheless, you
7597 *** may want to report the problem to your system manager and/or to
7598 *** bug-libtool@gnu.org
7608 MAGIC_CMD="$lt_save_MAGIC_CMD"
7613 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7614 if test -n "$MAGIC_CMD"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7616 $as_echo "$MAGIC_CMD" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619 $as_echo "no" >&6; }
7626 if test -z "$lt_cv_path_MAGIC_CMD"; then
7627 if test -n "$ac_tool_prefix"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7629 $as_echo_n "checking for file... " >&6; }
7630 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7631 $as_echo_n "(cached) " >&6
7635 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7638 lt_save_MAGIC_CMD="$MAGIC_CMD"
7639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7640 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7641 for ac_dir in $ac_dummy; do
7643 test -z "$ac_dir" && ac_dir=.
7644 if test -f $ac_dir/file; then
7645 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7646 if test -n "$file_magic_test_file"; then
7647 case $deplibs_check_method in
7649 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7650 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7651 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7652 $EGREP "$file_magic_regex" > /dev/null; then
7657 *** Warning: the command libtool uses to detect shared libraries,
7658 *** $file_magic_cmd, produces output that libtool cannot recognize.
7659 *** The result is that libtool may fail to recognize shared libraries
7660 *** as such. This will affect the creation of libtool libraries that
7661 *** depend on shared libraries, but programs linked with such libtool
7662 *** libraries will work regardless of this problem. Nevertheless, you
7663 *** may want to report the problem to your system manager and/or to
7664 *** bug-libtool@gnu.org
7674 MAGIC_CMD="$lt_save_MAGIC_CMD"
7679 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7680 if test -n "$MAGIC_CMD"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7682 $as_echo "$MAGIC_CMD" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7698 # Use C for the default configuration in the libtool script
7702 ac_cpp='$CPP $CPPFLAGS'
7703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7708 # Source file extension for C test sources.
7711 # Object file extension for compiled C test sources.
7715 # Code to be used in simple compile tests
7716 lt_simple_compile_test_code="int some_variable = 0;"
7718 # Code to be used in simple link tests
7719 lt_simple_link_test_code='int main(){return(0);}'
7727 # If no C compiler was specified, use CC.
7730 # If no C compiler flags were specified, use CFLAGS.
7731 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7733 # Allow CC to be a program name with arguments.
7736 # Save the default compiler, since it gets overwritten when the other
7737 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7738 compiler_DEFAULT=$CC
7740 # save warnings/boilerplate of simple test code
7741 ac_outfile=conftest.$ac_objext
7742 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7743 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7744 _lt_compiler_boilerplate=`cat conftest.err`
7747 ac_outfile=conftest.$ac_objext
7748 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7749 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7750 _lt_linker_boilerplate=`cat conftest.err`
7754 if test -n "$compiler"; then
7756 lt_prog_compiler_no_builtin_flag=
7758 if test "$GCC" = yes; then
7759 case $cc_basename in
7761 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7763 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7767 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7768 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7769 $as_echo_n "(cached) " >&6
7771 lt_cv_prog_compiler_rtti_exceptions=no
7772 ac_outfile=conftest.$ac_objext
7773 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7774 lt_compiler_flag="-fno-rtti -fno-exceptions"
7775 # Insert the option either (1) after the last *FLAGS variable, or
7776 # (2) before a word containing "conftest.", or (3) at the end.
7777 # Note that $ac_compile itself does not contain backslashes and begins
7778 # with a dollar sign (not a hyphen), so the echo should work correctly.
7779 # The option is referenced via a variable to avoid confusing sed.
7780 lt_compile=`echo "$ac_compile" | $SED \
7781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7783 -e 's:$: $lt_compiler_flag:'`
7784 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7785 (eval "$lt_compile" 2>conftest.err)
7787 cat conftest.err >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 if (exit $ac_status) && test -s "$ac_outfile"; then
7790 # The compiler can only warn and ignore the option if not recognized
7791 # So say no if there are warnings other than the usual output.
7792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7794 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7795 lt_cv_prog_compiler_rtti_exceptions=yes
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7802 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7804 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7805 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7817 lt_prog_compiler_wl=
7818 lt_prog_compiler_pic=
7819 lt_prog_compiler_static=
7822 if test "$GCC" = yes; then
7823 lt_prog_compiler_wl='-Wl,'
7824 lt_prog_compiler_static='-static'
7828 # All AIX code is PIC.
7829 if test "$host_cpu" = ia64; then
7830 # AIX 5 now supports IA64 processor
7831 lt_prog_compiler_static='-Bstatic'
7838 # see comment about AmigaOS4 .so support
7839 lt_prog_compiler_pic='-fPIC'
7842 # FIXME: we need at least 68020 code to build shared libraries, but
7843 # adding the `-m68020' flag to GCC prevents building anything better,
7845 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7850 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7851 # PIC is the default for these OSes.
7854 mingw* | cygwin* | pw32* | os2* | cegcc*)
7855 # This hack is so that the source file can tell whether it is being
7856 # built for inclusion in a dll (and should export symbols for example).
7857 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7858 # (--disable-auto-import) libraries
7859 lt_prog_compiler_pic='-DDLL_EXPORT'
7862 darwin* | rhapsody*)
7863 # PIC is the default on this platform
7864 # Common symbols not allowed in MH_DYLIB files
7865 lt_prog_compiler_pic='-fno-common'
7869 # PIC is the default for Haiku.
7870 # The "-static" flag exists, but is broken.
7871 lt_prog_compiler_static=
7875 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7876 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7877 # sets the default TLS model and affects inlining.
7883 lt_prog_compiler_pic='-fPIC'
7889 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7890 # Instead, we relocate shared libraries at runtime.
7894 # Just because we use GCC doesn't mean we suddenly get shared libraries
7895 # on systems that don't support them.
7896 lt_prog_compiler_can_build_shared=no
7901 # QNX uses GNU C++, but need to define -shared option too, otherwise
7903 lt_prog_compiler_pic='-fPIC -shared'
7907 if test -d /usr/nec; then
7908 lt_prog_compiler_pic=-Kconform_pic
7913 lt_prog_compiler_pic='-fPIC'
7917 case $cc_basename in
7918 nvcc*) # Cuda Compiler Driver 2.2
7919 lt_prog_compiler_wl='-Xlinker '
7920 lt_prog_compiler_pic='-Xcompiler -fPIC'
7924 # PORTME Check for flag to pass linker flags through the system compiler.
7927 lt_prog_compiler_wl='-Wl,'
7928 if test "$host_cpu" = ia64; then
7929 # AIX 5 now supports IA64 processor
7930 lt_prog_compiler_static='-Bstatic'
7932 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7936 mingw* | cygwin* | pw32* | os2* | cegcc*)
7937 # This hack is so that the source file can tell whether it is being
7938 # built for inclusion in a dll (and should export symbols for example).
7939 lt_prog_compiler_pic='-DDLL_EXPORT'
7942 hpux9* | hpux10* | hpux11*)
7943 lt_prog_compiler_wl='-Wl,'
7944 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7951 lt_prog_compiler_pic='+Z'
7954 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7955 lt_prog_compiler_static='${wl}-a ${wl}archive'
7958 irix5* | irix6* | nonstopux*)
7959 lt_prog_compiler_wl='-Wl,'
7960 # PIC (with -KPIC) is the default.
7961 lt_prog_compiler_static='-non_shared'
7964 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7965 case $cc_basename in
7966 # old Intel for x86_64 which still supported -KPIC.
7968 lt_prog_compiler_wl='-Wl,'
7969 lt_prog_compiler_pic='-KPIC'
7970 lt_prog_compiler_static='-static'
7972 # icc used to be incompatible with GCC.
7973 # ICC 10 doesn't accept -KPIC any more.
7975 lt_prog_compiler_wl='-Wl,'
7976 lt_prog_compiler_pic='-fPIC'
7977 lt_prog_compiler_static='-static'
7979 # Lahey Fortran 8.1.
7981 lt_prog_compiler_wl='-Wl,'
7982 lt_prog_compiler_pic='--shared'
7983 lt_prog_compiler_static='--static'
7986 # NAG Fortran compiler
7987 lt_prog_compiler_wl='-Wl,-Wl,,'
7988 lt_prog_compiler_pic='-PIC'
7989 lt_prog_compiler_static='-Bstatic'
7991 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7992 # Portland Group compilers (*not* the Pentium gcc compiler,
7993 # which looks to be a dead project)
7994 lt_prog_compiler_wl='-Wl,'
7995 lt_prog_compiler_pic='-fpic'
7996 lt_prog_compiler_static='-Bstatic'
7999 lt_prog_compiler_wl='-Wl,'
8000 # All Alpha code is PIC.
8001 lt_prog_compiler_static='-non_shared'
8003 xl* | bgxl* | bgf* | mpixl*)
8004 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8005 lt_prog_compiler_wl='-Wl,'
8006 lt_prog_compiler_pic='-qpic'
8007 lt_prog_compiler_static='-qstaticlink'
8010 case `$CC -V 2>&1 | sed 5q` in
8011 *Sun\ F* | *Sun*Fortran*)
8012 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8013 lt_prog_compiler_pic='-KPIC'
8014 lt_prog_compiler_static='-Bstatic'
8015 lt_prog_compiler_wl=''
8019 lt_prog_compiler_pic='-KPIC'
8020 lt_prog_compiler_static='-Bstatic'
8021 lt_prog_compiler_wl='-Wl,'
8029 lt_prog_compiler_pic='-KPIC'
8030 lt_prog_compiler_static='-Bstatic'
8034 # QNX uses GNU C++, but need to define -shared option too, otherwise
8036 lt_prog_compiler_pic='-fPIC -shared'
8039 osf3* | osf4* | osf5*)
8040 lt_prog_compiler_wl='-Wl,'
8041 # All OSF/1 code is PIC.
8042 lt_prog_compiler_static='-non_shared'
8046 lt_prog_compiler_static='-non_shared'
8050 lt_prog_compiler_pic='-KPIC'
8051 lt_prog_compiler_static='-Bstatic'
8052 case $cc_basename in
8053 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8054 lt_prog_compiler_wl='-Qoption ld ';;
8056 lt_prog_compiler_wl='-Wl,';;
8061 lt_prog_compiler_wl='-Qoption ld '
8062 lt_prog_compiler_pic='-PIC'
8063 lt_prog_compiler_static='-Bstatic'
8066 sysv4 | sysv4.2uw2* | sysv4.3*)
8067 lt_prog_compiler_wl='-Wl,'
8068 lt_prog_compiler_pic='-KPIC'
8069 lt_prog_compiler_static='-Bstatic'
8073 if test -d /usr/nec ;then
8074 lt_prog_compiler_pic='-Kconform_pic'
8075 lt_prog_compiler_static='-Bstatic'
8079 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8080 lt_prog_compiler_wl='-Wl,'
8081 lt_prog_compiler_pic='-KPIC'
8082 lt_prog_compiler_static='-Bstatic'
8086 lt_prog_compiler_wl='-Wl,'
8087 lt_prog_compiler_can_build_shared=no
8091 lt_prog_compiler_pic='-pic'
8092 lt_prog_compiler_static='-Bstatic'
8096 lt_prog_compiler_can_build_shared=no
8102 # For platforms which do not support PIC, -DPIC is meaningless:
8104 lt_prog_compiler_pic=
8107 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8112 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8113 if ${lt_cv_prog_compiler_pic+:} false; then :
8114 $as_echo_n "(cached) " >&6
8116 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8119 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8120 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8123 # Check to make sure the PIC flag actually works.
8125 if test -n "$lt_prog_compiler_pic"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8127 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8128 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8129 $as_echo_n "(cached) " >&6
8131 lt_cv_prog_compiler_pic_works=no
8132 ac_outfile=conftest.$ac_objext
8133 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8134 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8135 # Insert the option either (1) after the last *FLAGS variable, or
8136 # (2) before a word containing "conftest.", or (3) at the end.
8137 # Note that $ac_compile itself does not contain backslashes and begins
8138 # with a dollar sign (not a hyphen), so the echo should work correctly.
8139 # The option is referenced via a variable to avoid confusing sed.
8140 lt_compile=`echo "$ac_compile" | $SED \
8141 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8142 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8143 -e 's:$: $lt_compiler_flag:'`
8144 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8145 (eval "$lt_compile" 2>conftest.err)
8147 cat conftest.err >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 if (exit $ac_status) && test -s "$ac_outfile"; then
8150 # The compiler can only warn and ignore the option if not recognized
8151 # So say no if there are warnings other than the usual output.
8152 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8154 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8155 lt_cv_prog_compiler_pic_works=yes
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8162 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8164 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8165 case $lt_prog_compiler_pic in
8167 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8170 lt_prog_compiler_pic=
8171 lt_prog_compiler_can_build_shared=no
8187 # Check to make sure the static flag actually works.
8189 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8191 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8192 if ${lt_cv_prog_compiler_static_works+:} false; then :
8193 $as_echo_n "(cached) " >&6
8195 lt_cv_prog_compiler_static_works=no
8196 save_LDFLAGS="$LDFLAGS"
8197 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8198 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8199 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8200 # The linker can only warn and ignore the option if not recognized
8201 # So say no if there are warnings
8202 if test -s conftest.err; then
8203 # Append any errors to the config.log.
8204 cat conftest.err 1>&5
8205 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8206 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8207 if diff conftest.exp conftest.er2 >/dev/null; then
8208 lt_cv_prog_compiler_static_works=yes
8211 lt_cv_prog_compiler_static_works=yes
8215 LDFLAGS="$save_LDFLAGS"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8219 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8221 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8224 lt_prog_compiler_static=
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8234 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8235 if ${lt_cv_prog_compiler_c_o+:} false; then :
8236 $as_echo_n "(cached) " >&6
8238 lt_cv_prog_compiler_c_o=no
8239 $RM -r conftest 2>/dev/null
8243 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8245 lt_compiler_flag="-o out/conftest2.$ac_objext"
8246 # Insert the option either (1) after the last *FLAGS variable, or
8247 # (2) before a word containing "conftest.", or (3) at the end.
8248 # Note that $ac_compile itself does not contain backslashes and begins
8249 # with a dollar sign (not a hyphen), so the echo should work correctly.
8250 lt_compile=`echo "$ac_compile" | $SED \
8251 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8252 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8253 -e 's:$: $lt_compiler_flag:'`
8254 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8255 (eval "$lt_compile" 2>out/conftest.err)
8257 cat out/conftest.err >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8261 # The compiler can only warn and ignore the option if not recognized
8262 # So say no if there are warnings
8263 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8264 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8265 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8266 lt_cv_prog_compiler_c_o=yes
8271 # SGI C++ compiler will create directory out/ii_files/ for
8272 # template instantiation
8273 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8274 $RM out/* && rmdir out
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8281 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8289 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8290 if ${lt_cv_prog_compiler_c_o+:} false; then :
8291 $as_echo_n "(cached) " >&6
8293 lt_cv_prog_compiler_c_o=no
8294 $RM -r conftest 2>/dev/null
8298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8300 lt_compiler_flag="-o out/conftest2.$ac_objext"
8301 # Insert the option either (1) after the last *FLAGS variable, or
8302 # (2) before a word containing "conftest.", or (3) at the end.
8303 # Note that $ac_compile itself does not contain backslashes and begins
8304 # with a dollar sign (not a hyphen), so the echo should work correctly.
8305 lt_compile=`echo "$ac_compile" | $SED \
8306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8308 -e 's:$: $lt_compiler_flag:'`
8309 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8310 (eval "$lt_compile" 2>out/conftest.err)
8312 cat out/conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8316 # The compiler can only warn and ignore the option if not recognized
8317 # So say no if there are warnings
8318 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8319 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8320 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8321 lt_cv_prog_compiler_c_o=yes
8326 # SGI C++ compiler will create directory out/ii_files/ for
8327 # template instantiation
8328 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8329 $RM out/* && rmdir out
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8336 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8341 hard_links="nottested"
8342 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8343 # do not overwrite the value of need_locks provided by the user
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8345 $as_echo_n "checking if we can lock with hard links... " >&6; }
8348 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8350 ln conftest.a conftest.b 2>&5 || hard_links=no
8351 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8353 $as_echo "$hard_links" >&6; }
8354 if test "$hard_links" = no; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8356 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8369 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8372 allow_undefined_flag=
8373 always_export_symbols=no
8375 archive_expsym_cmds=
8376 compiler_needs_object=no
8377 enable_shared_with_static_runtimes=no
8378 export_dynamic_flag_spec=
8379 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8380 hardcode_automatic=no
8382 hardcode_direct_absolute=no
8383 hardcode_libdir_flag_spec=
8384 hardcode_libdir_flag_spec_ld=
8385 hardcode_libdir_separator=
8387 hardcode_shlibpath_var=unsupported
8389 link_all_deplibs=unknown
8392 old_archive_from_new_cmds=
8393 old_archive_from_expsyms_cmds=
8394 thread_safe_flag_spec=
8395 whole_archive_flag_spec=
8396 # include_expsyms should be a list of space-separated symbols to be *always*
8397 # included in the symbol list
8399 # exclude_expsyms can be an extended regexp of symbols to exclude
8400 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8401 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8402 # as well as any symbol that contains `d'.
8403 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8404 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8405 # platforms (ab)use it in PIC code, but their linkers get confused if
8406 # the symbol is explicitly referenced. Since portable code cannot
8407 # rely on this symbol name, it's probably fine to never include it in
8408 # preloaded symbol tables.
8409 # Exclude shared library initialization/finalization symbols.
8410 extract_expsyms_cmds=
8413 cygwin* | mingw* | pw32* | cegcc*)
8414 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8415 # When not using gcc, we currently assume that we are using
8416 # Microsoft Visual C++.
8417 if test "$GCC" != yes; then
8422 # we just hope/assume this is gcc and not c89 (= MSVC++)
8432 # On some targets, GNU ld is compatible enough with the native linker
8433 # that we're better off using the native interface for both.
8434 lt_use_gnu_ld_interface=no
8435 if test "$with_gnu_ld" = yes; then
8438 # The AIX port of GNU ld has always aspired to compatibility
8439 # with the native linker. However, as the warning in the GNU ld
8440 # block says, versions before 2.19.5* couldn't really create working
8441 # shared libraries, regardless of the interface used.
8442 case `$LD -v 2>&1` in
8443 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8444 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8445 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8447 lt_use_gnu_ld_interface=yes
8452 lt_use_gnu_ld_interface=yes
8457 if test "$lt_use_gnu_ld_interface" = yes; then
8458 # If archive_cmds runs LD, not CC, wlarc should be empty
8461 # Set some defaults for GNU ld with shared library support. These
8462 # are reset later if shared libraries are not supported. Putting them
8463 # here allows them to be overridden if necessary.
8464 runpath_var=LD_RUN_PATH
8465 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8466 export_dynamic_flag_spec='${wl}--export-dynamic'
8467 # ancient GNU ld didn't support --whole-archive et. al.
8468 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8469 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8471 whole_archive_flag_spec=
8473 supports_anon_versioning=no
8474 case `$LD -v 2>&1` in
8475 *GNU\ gold*) supports_anon_versioning=yes ;;
8476 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8477 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8478 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8479 *\ 2.11.*) ;; # other 2.11 versions
8480 *) supports_anon_versioning=yes ;;
8483 # See if GNU ld supports shared libraries.
8486 # On AIX/PPC, the GNU linker is very broken
8487 if test "$host_cpu" != ia64; then
8491 *** Warning: the GNU linker, at least up to release 2.19, is reported
8492 *** to be unable to reliably create shared libraries on AIX.
8493 *** Therefore, libtool is disabling shared libraries support. If you
8494 *** really care for shared libraries, you may want to install binutils
8495 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8496 *** You will then need to restart the configuration process.
8505 # see comment about AmigaOS4 .so support
8506 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8507 archive_expsym_cmds=''
8510 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)'
8511 hardcode_libdir_flag_spec='-L$libdir'
8512 hardcode_minus_L=yes
8518 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8519 allow_undefined_flag=unsupported
8520 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8521 # support --undefined. This deserves some investigation. FIXME
8522 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8528 cygwin* | mingw* | pw32* | cegcc*)
8529 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8530 # as there is no search path for DLLs.
8531 hardcode_libdir_flag_spec='-L$libdir'
8532 export_dynamic_flag_spec='${wl}--export-all-symbols'
8533 allow_undefined_flag=unsupported
8534 always_export_symbols=no
8535 enable_shared_with_static_runtimes=yes
8536 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'
8537 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8539 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8540 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8541 # If the export-symbols file already is a .def file (1st line
8542 # is EXPORTS), use it as is; otherwise, prepend...
8543 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8544 cp $export_symbols $output_objdir/$soname.def;
8546 echo EXPORTS > $output_objdir/$soname.def;
8547 cat $export_symbols >> $output_objdir/$soname.def;
8549 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8556 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8557 link_all_deplibs=yes
8562 hardcode_shlibpath_var=no
8563 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8564 export_dynamic_flag_spec='${wl}-E'
8565 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8566 # Instead, shared libraries are loaded at an image base (0x10000000 by
8567 # default) and relocated if they conflict, which is a slow very memory
8568 # consuming and fragmenting process. To avoid this, we pick a random,
8569 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8570 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8571 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8572 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'
8575 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8577 if test "$host_os" = linux-dietlibc; then
8578 case $cc_basename in
8579 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8582 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8583 && test "$tmp_diet" = no
8585 tmp_addflag=' $pic_flag'
8586 tmp_sharedflag='-shared'
8587 case $cc_basename,$host_cpu in
8588 pgcc*) # Portland Group C compiler
8589 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'
8590 tmp_addflag=' $pic_flag'
8592 pgf77* | pgf90* | pgf95* | pgfortran*)
8593 # Portland Group f77 and f90 compilers
8594 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'
8595 tmp_addflag=' $pic_flag -Mnomain' ;;
8596 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8597 tmp_addflag=' -i_dynamic' ;;
8598 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8599 tmp_addflag=' -i_dynamic -nofor_main' ;;
8600 ifc* | ifort*) # Intel Fortran compiler
8601 tmp_addflag=' -nofor_main' ;;
8602 lf95*) # Lahey Fortran 8.1
8603 whole_archive_flag_spec=
8604 tmp_sharedflag='--shared' ;;
8605 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8606 tmp_sharedflag='-qmkshrobj'
8608 nvcc*) # Cuda Compiler Driver 2.2
8609 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'
8610 compiler_needs_object=yes
8613 case `$CC -V 2>&1 | sed 5q` in
8614 *Sun\ C*) # Sun C 5.9
8615 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'
8616 compiler_needs_object=yes
8617 tmp_sharedflag='-G' ;;
8618 *Sun\ F*) # Sun Fortran 8.3
8619 tmp_sharedflag='-G' ;;
8621 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8623 if test "x$supports_anon_versioning" = xyes; then
8624 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8625 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8626 echo "local: *; };" >> $output_objdir/$libname.ver~
8627 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8630 case $cc_basename in
8631 xlf* | bgf* | bgxlf* | mpixlf*)
8632 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8633 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8634 hardcode_libdir_flag_spec=
8635 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8636 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8637 if test "x$supports_anon_versioning" = xyes; then
8638 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8639 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8640 echo "local: *; };" >> $output_objdir/$libname.ver~
8641 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8651 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8652 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8655 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8656 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8661 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8665 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8666 *** create shared libraries on Solaris systems. Therefore, libtool
8667 *** is disabling shared libraries support. We urge you to upgrade GNU
8668 *** binutils to release 2.9.1 or newer. Another option is to modify
8669 *** your PATH or compiler configuration so that the native linker is
8670 *** used, and then restart.
8673 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8674 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8675 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8681 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8682 case `$LD -v 2>&1` in
8683 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8687 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8688 *** reliably create shared libraries on SCO systems. Therefore, libtool
8689 *** is disabling shared libraries support. We urge you to upgrade GNU
8690 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8691 *** your PATH or compiler configuration so that the native linker is
8692 *** used, and then restart.
8697 # For security reasons, it is highly recommended that you always
8698 # use absolute paths for naming shared libraries, and exclude the
8699 # DT_RUNPATH tag from executables and libraries. But doing so
8700 # requires that you compile everything twice, which is a pain.
8701 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8702 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8713 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8716 hardcode_shlibpath_var=no
8720 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8721 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8722 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8729 if test "$ld_shlibs" = no; then
8731 hardcode_libdir_flag_spec=
8732 export_dynamic_flag_spec=
8733 whole_archive_flag_spec=
8736 # PORTME fill in a description of your system's linker (not GNU ld)
8739 allow_undefined_flag=unsupported
8740 always_export_symbols=yes
8741 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'
8742 # Note: this linker hardcodes the directories in LIBPATH if there
8743 # are no directories specified by -L.
8744 hardcode_minus_L=yes
8745 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8746 # Neither direct hardcoding nor static linking is supported with a
8748 hardcode_direct=unsupported
8753 if test "$host_cpu" = ia64; then
8754 # On IA64, the linker does run time linking by default, so we don't
8755 # have to do anything special.
8756 aix_use_runtimelinking=no
8757 exp_sym_flag='-Bexport'
8760 # If we're using GNU nm, then we don't want the "-C" option.
8761 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8762 # Also, AIX nm treats weak defined symbols like other global
8763 # defined symbols, whereas GNU nm marks them as "W".
8764 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8765 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8767 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8769 aix_use_runtimelinking=no
8771 # Test if we are trying to use run time linking or normal
8772 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8773 # need to do runtime linking.
8774 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8775 for ld_flag in $LDFLAGS; do
8776 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8777 aix_use_runtimelinking=yes
8784 exp_sym_flag='-bexport'
8785 no_entry_flag='-bnoentry'
8788 # When large executables or shared objects are built, AIX ld can
8789 # have problems creating the table of contents. If linking a library
8790 # or program results in "error TOC overflow" add -mminimal-toc to
8791 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8792 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8796 hardcode_direct_absolute=yes
8797 hardcode_libdir_separator=':'
8798 link_all_deplibs=yes
8799 file_list_spec='${wl}-f,'
8801 if test "$GCC" = yes; then
8802 case $host_os in aix4.[012]|aix4.[012].*)
8803 # We only want to do this on AIX 4.2 and lower, the check
8804 # below for broken collect2 doesn't work under 4.3+
8805 collect2name=`${CC} -print-prog-name=collect2`
8806 if test -f "$collect2name" &&
8807 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8809 # We have reworked collect2
8812 # We have old collect2
8813 hardcode_direct=unsupported
8814 # It fails to find uninstalled libraries when the uninstalled
8815 # path is not listed in the libpath. Setting hardcode_minus_L
8816 # to unsupported forces relinking
8817 hardcode_minus_L=yes
8818 hardcode_libdir_flag_spec='-L$libdir'
8819 hardcode_libdir_separator=
8823 shared_flag='-shared'
8824 if test "$aix_use_runtimelinking" = yes; then
8825 shared_flag="$shared_flag "'${wl}-G'
8829 if test "$host_cpu" = ia64; then
8830 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8831 # chokes on -Wl,-G. The following line is correct:
8834 if test "$aix_use_runtimelinking" = yes; then
8835 shared_flag='${wl}-G'
8837 shared_flag='${wl}-bM:SRE'
8842 export_dynamic_flag_spec='${wl}-bexpall'
8843 # It seems that -bexpall does not export symbols beginning with
8844 # underscore (_), so it is better to generate a list of symbols to export.
8845 always_export_symbols=yes
8846 if test "$aix_use_runtimelinking" = yes; then
8847 # Warning - without using the other runtime loading flags (-brtl),
8848 # -berok will link without error, but may produce a broken library.
8849 allow_undefined_flag='-berok'
8850 # Determine the default libpath from the value encoded in an
8852 if test "${lt_cv_aix_libpath+set}" = set; then
8853 aix_libpath=$lt_cv_aix_libpath
8855 if ${lt_cv_aix_libpath_+:} false; then :
8856 $as_echo_n "(cached) " >&6
8858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8859 /* end confdefs.h. */
8869 if ac_fn_c_try_link "$LINENO"; then :
8871 lt_aix_libpath_sed='
8872 /Import File Strings/,/^$/ {
8874 s/^0 *\([^ ]*\) *$/\1/
8878 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8879 # Check for a 64-bit object if we didn't find anything.
8880 if test -z "$lt_cv_aix_libpath_"; then
8881 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8884 rm -f core conftest.err conftest.$ac_objext \
8885 conftest$ac_exeext conftest.$ac_ext
8886 if test -z "$lt_cv_aix_libpath_"; then
8887 lt_cv_aix_libpath_="/usr/lib:/lib"
8892 aix_libpath=$lt_cv_aix_libpath_
8895 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8896 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8898 if test "$host_cpu" = ia64; then
8899 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8900 allow_undefined_flag="-z nodefs"
8901 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"
8903 # Determine the default libpath from the value encoded in an
8905 if test "${lt_cv_aix_libpath+set}" = set; then
8906 aix_libpath=$lt_cv_aix_libpath
8908 if ${lt_cv_aix_libpath_+:} false; then :
8909 $as_echo_n "(cached) " >&6
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8922 if ac_fn_c_try_link "$LINENO"; then :
8924 lt_aix_libpath_sed='
8925 /Import File Strings/,/^$/ {
8927 s/^0 *\([^ ]*\) *$/\1/
8931 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8932 # Check for a 64-bit object if we didn't find anything.
8933 if test -z "$lt_cv_aix_libpath_"; then
8934 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8937 rm -f core conftest.err conftest.$ac_objext \
8938 conftest$ac_exeext conftest.$ac_ext
8939 if test -z "$lt_cv_aix_libpath_"; then
8940 lt_cv_aix_libpath_="/usr/lib:/lib"
8945 aix_libpath=$lt_cv_aix_libpath_
8948 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8949 # Warning - without using the other run time loading flags,
8950 # -berok will link without error, but may produce a broken library.
8951 no_undefined_flag=' ${wl}-bernotok'
8952 allow_undefined_flag=' ${wl}-berok'
8953 if test "$with_gnu_ld" = yes; then
8954 # We only use this code for GNU lds that support --whole-archive.
8955 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8957 # Exported symbols can be pulled into shared objects from archives
8958 whole_archive_flag_spec='$convenience'
8960 archive_cmds_need_lc=yes
8961 # This is similar to how AIX traditionally builds its shared libraries.
8962 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8970 # see comment about AmigaOS4 .so support
8971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8972 archive_expsym_cmds=''
8975 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)'
8976 hardcode_libdir_flag_spec='-L$libdir'
8977 hardcode_minus_L=yes
8983 export_dynamic_flag_spec=-rdynamic
8986 cygwin* | mingw* | pw32* | cegcc*)
8987 # When not using gcc, we currently assume that we are using
8988 # Microsoft Visual C++.
8989 # hardcode_libdir_flag_spec is actually meaningless, as there is
8990 # no search path for DLLs.
8991 case $cc_basename in
8994 hardcode_libdir_flag_spec=' '
8995 allow_undefined_flag=unsupported
8996 always_export_symbols=yes
8998 # Tell ltmain to make .lib files, not .a files.
9000 # Tell ltmain to make .dll files, not .so files.
9002 # FIXME: Setting linknames here is a bad hack.
9003 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9004 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9005 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9007 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9009 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9011 # The linker will not automatically build a static lib if we build a DLL.
9012 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9013 enable_shared_with_static_runtimes=yes
9014 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9016 old_postinstall_cmds='chmod 644 $oldlib'
9017 postlink_cmds='lt_outputfile="@OUTPUT@"~
9018 lt_tool_outputfile="@TOOL_OUTPUT@"~
9019 case $lt_outputfile in
9022 lt_outputfile="$lt_outputfile.exe"
9023 lt_tool_outputfile="$lt_tool_outputfile.exe"
9026 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9027 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9028 $RM "$lt_outputfile.manifest";
9032 # Assume MSVC wrapper
9033 hardcode_libdir_flag_spec=' '
9034 allow_undefined_flag=unsupported
9035 # Tell ltmain to make .lib files, not .a files.
9037 # Tell ltmain to make .dll files, not .so files.
9039 # FIXME: Setting linknames here is a bad hack.
9040 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9041 # The linker will automatically build a .lib file if we build a DLL.
9042 old_archive_from_new_cmds='true'
9043 # FIXME: Should let the user specify the lib program.
9044 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9045 enable_shared_with_static_runtimes=yes
9050 darwin* | rhapsody*)
9053 archive_cmds_need_lc=no
9055 hardcode_automatic=yes
9056 hardcode_shlibpath_var=unsupported
9057 if test "$lt_cv_ld_force_load" = "yes"; then
9058 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\"`'
9060 whole_archive_flag_spec=''
9062 link_all_deplibs=yes
9063 allow_undefined_flag="$_lt_dar_allow_undefined"
9064 case $cc_basename in
9065 ifort*) _lt_dar_can_shared=yes ;;
9066 *) _lt_dar_can_shared=$GCC ;;
9068 if test "$_lt_dar_can_shared" = "yes"; then
9069 output_verbose_link_cmd=func_echo_all
9070 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9071 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9072 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}"
9073 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}"
9082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9083 hardcode_libdir_flag_spec='-L$libdir'
9084 hardcode_shlibpath_var=no
9091 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9092 # support. Future versions do this automatically, but an explicit c++rt0.o
9093 # does not break anything, and helps significantly (at the cost of a little
9096 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9097 hardcode_libdir_flag_spec='-R$libdir'
9099 hardcode_shlibpath_var=no
9102 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9104 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9106 hardcode_minus_L=yes
9107 hardcode_shlibpath_var=no
9110 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9111 freebsd* | dragonfly*)
9112 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9113 hardcode_libdir_flag_spec='-R$libdir'
9115 hardcode_shlibpath_var=no
9119 if test "$GCC" = yes; then
9120 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9122 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9124 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9125 hardcode_libdir_separator=:
9128 # hardcode_minus_L: Not really in the search PATH,
9129 # but as the default location of the library.
9130 hardcode_minus_L=yes
9131 export_dynamic_flag_spec='${wl}-E'
9135 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9136 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9138 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9140 if test "$with_gnu_ld" = no; then
9141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9142 hardcode_libdir_flag_spec_ld='+b $libdir'
9143 hardcode_libdir_separator=:
9145 hardcode_direct_absolute=yes
9146 export_dynamic_flag_spec='${wl}-E'
9147 # hardcode_minus_L: Not really in the search PATH,
9148 # but as the default location of the library.
9149 hardcode_minus_L=yes
9154 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9157 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9160 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9163 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9169 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9172 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9176 # Older versions of the 11.00 compiler do not understand -b yet
9177 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9179 $as_echo_n "checking if $CC understands -b... " >&6; }
9180 if ${lt_cv_prog_compiler__b+:} false; then :
9181 $as_echo_n "(cached) " >&6
9183 lt_cv_prog_compiler__b=no
9184 save_LDFLAGS="$LDFLAGS"
9185 LDFLAGS="$LDFLAGS -b"
9186 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9187 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9188 # The linker can only warn and ignore the option if not recognized
9189 # So say no if there are warnings
9190 if test -s conftest.err; then
9191 # Append any errors to the config.log.
9192 cat conftest.err 1>&5
9193 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9194 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9195 if diff conftest.exp conftest.er2 >/dev/null; then
9196 lt_cv_prog_compiler__b=yes
9199 lt_cv_prog_compiler__b=yes
9203 LDFLAGS="$save_LDFLAGS"
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9207 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9209 if test x"$lt_cv_prog_compiler__b" = xyes; then
9210 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9212 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9218 if test "$with_gnu_ld" = no; then
9219 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9220 hardcode_libdir_separator=:
9225 hardcode_shlibpath_var=no
9229 hardcode_direct_absolute=yes
9230 export_dynamic_flag_spec='${wl}-E'
9232 # hardcode_minus_L: Not really in the search PATH,
9233 # but as the default location of the library.
9234 hardcode_minus_L=yes
9240 irix5* | irix6* | nonstopux*)
9241 if test "$GCC" = yes; then
9242 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'
9243 # Try to use the -exported_symbol ld option, if it does not
9244 # work, assume that -exports_file does not work either and
9245 # implicitly export all symbols.
9246 # This should be the same for all languages, so no per-tag cache variable.
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9248 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9249 if ${lt_cv_irix_exported_symbol+:} false; then :
9250 $as_echo_n "(cached) " >&6
9252 save_LDFLAGS="$LDFLAGS"
9253 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9256 int foo (void) { return 0; }
9258 if ac_fn_c_try_link "$LINENO"; then :
9259 lt_cv_irix_exported_symbol=yes
9261 lt_cv_irix_exported_symbol=no
9263 rm -f core conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LDFLAGS="$save_LDFLAGS"
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9268 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9269 if test "$lt_cv_irix_exported_symbol" = yes; then
9270 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'
9273 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'
9274 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'
9276 archive_cmds_need_lc='no'
9277 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9278 hardcode_libdir_separator=:
9280 link_all_deplibs=yes
9284 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9285 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9287 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9289 hardcode_libdir_flag_spec='-R$libdir'
9291 hardcode_shlibpath_var=no
9295 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9297 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9298 hardcode_libdir_separator=:
9299 hardcode_shlibpath_var=no
9306 if test -f /usr/libexec/ld.so; then
9308 hardcode_shlibpath_var=no
9309 hardcode_direct_absolute=yes
9310 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9311 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9312 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9313 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9314 export_dynamic_flag_spec='${wl}-E'
9317 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9318 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9319 hardcode_libdir_flag_spec='-R$libdir'
9322 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9323 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9333 hardcode_libdir_flag_spec='-L$libdir'
9334 hardcode_minus_L=yes
9335 allow_undefined_flag=unsupported
9336 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9337 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9341 if test "$GCC" = yes; then
9342 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9343 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'
9345 allow_undefined_flag=' -expect_unresolved \*'
9346 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'
9348 archive_cmds_need_lc='no'
9349 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9350 hardcode_libdir_separator=:
9353 osf4* | osf5*) # as osf3* with the addition of -msym flag
9354 if test "$GCC" = yes; then
9355 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9356 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'
9357 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9359 allow_undefined_flag=' -expect_unresolved \*'
9360 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'
9361 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~
9362 $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'
9364 # Both c and cxx compiler support -rpath directly
9365 hardcode_libdir_flag_spec='-rpath $libdir'
9367 archive_cmds_need_lc='no'
9368 hardcode_libdir_separator=:
9372 no_undefined_flag=' -z defs'
9373 if test "$GCC" = yes; then
9375 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9376 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9377 $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'
9379 case `$CC -V 2>&1` in
9382 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9388 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9389 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9390 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9394 hardcode_libdir_flag_spec='-R$libdir'
9395 hardcode_shlibpath_var=no
9397 solaris2.[0-5] | solaris2.[0-5].*) ;;
9399 # The compiler driver will combine and reorder linker options,
9400 # but understands `-z linker_flag'. GCC discards it without `$wl',
9401 # but is careful enough not to reorder.
9402 # Supported since Solaris 2.6 (maybe 2.5.1?)
9403 if test "$GCC" = yes; then
9404 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9406 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9410 link_all_deplibs=yes
9414 if test "x$host_vendor" = xsequent; then
9415 # Use $CC to link under sequent, because it throws in some extra .o
9416 # files that make .init and .fini sections work.
9417 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9419 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9421 hardcode_libdir_flag_spec='-L$libdir'
9423 hardcode_minus_L=yes
9424 hardcode_shlibpath_var=no
9428 case $host_vendor in
9430 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9431 hardcode_direct=yes # is this really true???
9434 ## LD is ld it makes a PLAMLIB
9435 ## CC just makes a GrossModule.
9436 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9437 reload_cmds='$CC -r -o $output$reload_objs'
9441 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9442 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9445 runpath_var='LD_RUN_PATH'
9446 hardcode_shlibpath_var=no
9450 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9451 hardcode_shlibpath_var=no
9452 export_dynamic_flag_spec='-Bexport'
9456 if test -d /usr/nec; then
9457 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9458 hardcode_shlibpath_var=no
9459 runpath_var=LD_RUN_PATH
9460 hardcode_runpath_var=yes
9465 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9466 no_undefined_flag='${wl}-z,text'
9467 archive_cmds_need_lc=no
9468 hardcode_shlibpath_var=no
9469 runpath_var='LD_RUN_PATH'
9471 if test "$GCC" = yes; then
9472 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9473 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9475 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9476 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9480 sysv5* | sco3.2v5* | sco5v6*)
9481 # Note: We can NOT use -z defs as we might desire, because we do not
9482 # link with -lc, and that would cause any symbols used from libc to
9483 # always be unresolved, which means just about no library would
9484 # ever link correctly. If we're not using GNU ld we use -z text
9485 # though, which does catch some bad symbols but isn't as heavy-handed
9487 no_undefined_flag='${wl}-z,text'
9488 allow_undefined_flag='${wl}-z,nodefs'
9489 archive_cmds_need_lc=no
9490 hardcode_shlibpath_var=no
9491 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9492 hardcode_libdir_separator=':'
9493 link_all_deplibs=yes
9494 export_dynamic_flag_spec='${wl}-Bexport'
9495 runpath_var='LD_RUN_PATH'
9497 if test "$GCC" = yes; then
9498 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9501 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9502 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9507 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9508 hardcode_libdir_flag_spec='-L$libdir'
9509 hardcode_shlibpath_var=no
9517 if test x$host_vendor = xsni; then
9519 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9520 export_dynamic_flag_spec='${wl}-Blargedynsym'
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9527 $as_echo "$ld_shlibs" >&6; }
9528 test "$ld_shlibs" = no && can_build_shared=no
9530 with_gnu_ld=$with_gnu_ld
9547 # Do we need to explicitly link libc?
9549 case "x$archive_cmds_need_lc" in
9551 # Assume -lc should be added
9552 archive_cmds_need_lc=yes
9554 if test "$enable_shared" = yes && test "$GCC" = yes; then
9555 case $archive_cmds in
9557 # FIXME: we may have to deal with multi-command sequences.
9560 # Test whether the compiler implicitly links with -lc since on some
9561 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9562 # to ld, don't add -lc before -lgcc.
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9564 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9565 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9566 $as_echo_n "(cached) " >&6
9569 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9572 (eval $ac_compile) 2>&5
9574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9575 test $ac_status = 0; } 2>conftest.err; then
9578 libobjs=conftest.$ac_objext
9580 wl=$lt_prog_compiler_wl
9581 pic_flag=$lt_prog_compiler_pic
9587 lt_save_allow_undefined_flag=$allow_undefined_flag
9588 allow_undefined_flag=
9589 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9590 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9593 test $ac_status = 0; }
9595 lt_cv_archive_cmds_need_lc=no
9597 lt_cv_archive_cmds_need_lc=yes
9599 allow_undefined_flag=$lt_save_allow_undefined_flag
9601 cat conftest.err 1>&5
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9607 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9608 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9772 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9774 if test "$GCC" = yes; then
9776 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9777 *) lt_awk_arg="/^libraries:/" ;;
9780 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9781 *) lt_sed_strip_eq="s,=/,/,g" ;;
9783 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9784 case $lt_search_path_spec in
9786 # if the path contains ";" then we assume it to be the separator
9787 # otherwise default to the standard path separator (i.e. ":") - it is
9788 # assumed that no part of a normal pathname contains ";" but that should
9789 # okay in the real world where ";" in dirpaths is itself problematic.
9790 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9793 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9796 # Ok, now we have the path, separated by spaces, we can step through it
9797 # and add multilib dir if necessary.
9798 lt_tmp_lt_search_path_spec=
9799 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9800 for lt_sys_path in $lt_search_path_spec; do
9801 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9802 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9804 test -d "$lt_sys_path" && \
9805 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9808 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9809 BEGIN {RS=" "; FS="/|\n";} {
9812 for (lt_i = NF; lt_i > 0; lt_i--) {
9813 if ($lt_i != "" && $lt_i != ".") {
9814 if ($lt_i == "..") {
9817 if (lt_count == 0) {
9818 lt_foo="/" $lt_i lt_foo;
9825 if (lt_foo != "") { lt_freq[lt_foo]++; }
9826 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9828 # AWK program above erroneously prepends '/' to C:/dos/paths
9831 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9832 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9834 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9836 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9839 libname_spec='lib$name'
9847 shlibpath_overrides_runpath=unknown
9849 dynamic_linker="$host_os ld.so"
9850 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9851 need_lib_prefix=unknown
9852 hardcode_into_libs=no
9854 # when you set need_version to no, make sure it does not cause -set_version
9855 # flags to be left without arguments
9856 need_version=unknown
9861 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9862 shlibpath_var=LIBPATH
9864 # AIX 3 has no versioning support, so we append a major version to the name.
9865 soname_spec='${libname}${release}${shared_ext}$major'
9872 hardcode_into_libs=yes
9873 if test "$host_cpu" = ia64; then
9874 # AIX 5 supports IA64
9875 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9876 shlibpath_var=LD_LIBRARY_PATH
9878 # With GCC up to 2.95.x, collect2 would create an import file
9879 # for dependence libraries. The import file would start with
9880 # the line `#! .'. This would cause the generated library to
9881 # depend on `.', always an invalid library. This was fixed in
9882 # development snapshots of GCC prior to 3.0.
9884 aix4 | aix4.[01] | aix4.[01].*)
9885 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9887 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9894 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9895 # soname into executable. Probably we can add versioning support to
9896 # collect2, so additional links can be useful in future.
9897 if test "$aix_use_runtimelinking" = yes; then
9898 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9899 # instead of lib<name>.a to let people know that these are not
9900 # typical AIX shared libraries.
9901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9903 # We preserve .a as extension for shared libraries through AIX4.2
9904 # and later when we are not doing run time linking.
9905 library_names_spec='${libname}${release}.a $libname.a'
9906 soname_spec='${libname}${release}${shared_ext}$major'
9908 shlibpath_var=LIBPATH
9915 # Since July 2007 AmigaOS4 officially supports .so libraries.
9916 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9920 library_names_spec='$libname.ixlibrary $libname.a'
9921 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9922 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
9928 library_names_spec='${libname}${shared_ext}'
9929 dynamic_linker="$host_os ld.so"
9930 shlibpath_var=LIBRARY_PATH
9936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9937 soname_spec='${libname}${release}${shared_ext}$major'
9938 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9939 shlibpath_var=LD_LIBRARY_PATH
9940 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9941 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9942 # the default ld.so.conf also contains /usr/contrib/lib and
9943 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9944 # libtool to hard-code these into programs
9947 cygwin* | mingw* | pw32* | cegcc*)
9948 version_type=windows
9953 case $GCC,$cc_basename in
9956 library_names_spec='$libname.dll.a'
9957 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9958 postinstall_cmds='base_file=`basename \${file}`~
9959 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9960 dldir=$destdir/`dirname \$dlpath`~
9961 test -d \$dldir || mkdir -p \$dldir~
9962 $install_prog $dir/$dlname \$dldir/$dlname~
9963 chmod a+x \$dldir/$dlname~
9964 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9965 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9967 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9968 dlpath=$dir/\$dldll~
9970 shlibpath_overrides_runpath=yes
9974 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9975 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9977 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9980 # MinGW DLLs use traditional 'lib' prefix
9981 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9984 # pw32 DLLs use 'pw' prefix rather than 'lib'
9985 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9988 dynamic_linker='Win32 ld.exe'
9993 libname_spec='$name'
9994 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9995 library_names_spec='${libname}.dll.lib'
9999 sys_lib_search_path_spec=
10002 for lt_path in $LIB
10005 # Let DOS variable expansion print the short 8.3 style file name.
10006 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10007 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10010 # Convert to MSYS style.
10011 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10014 # Convert to unix form, then to dos form, then back to unix form
10015 # but this time dos style (no spaces!) so that the unix form looks
10016 # like /cygdrive/c/PROGRA~1:/cygdr...
10017 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10018 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10019 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10022 sys_lib_search_path_spec="$LIB"
10023 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10024 # It is most probably a Windows format PATH.
10025 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10027 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10029 # FIXME: find the short name or the path components, as spaces are
10030 # common. (e.g. "Program Files" -> "PROGRA~1")
10034 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10035 postinstall_cmds='base_file=`basename \${file}`~
10036 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10037 dldir=$destdir/`dirname \$dlpath`~
10038 test -d \$dldir || mkdir -p \$dldir~
10039 $install_prog $dir/$dlname \$dldir/$dlname'
10040 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10041 dlpath=$dir/\$dldll~
10043 shlibpath_overrides_runpath=yes
10044 dynamic_linker='Win32 link.exe'
10048 # Assume MSVC wrapper
10049 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10050 dynamic_linker='Win32 ld.exe'
10053 # FIXME: first we should search . and the directory the executable is in
10057 darwin* | rhapsody*)
10058 dynamic_linker="$host_os dyld"
10059 version_type=darwin
10062 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10063 soname_spec='${libname}${release}${major}$shared_ext'
10064 shlibpath_overrides_runpath=yes
10065 shlibpath_var=DYLD_LIBRARY_PATH
10066 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10068 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10069 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10077 soname_spec='${libname}${release}${shared_ext}$major'
10078 shlibpath_var=LD_LIBRARY_PATH
10085 freebsd* | dragonfly*)
10086 # DragonFly does not have aout. When/if they implement a new
10087 # versioning mechanism, adjust this.
10088 if test -x /usr/bin/objformat; then
10089 objformat=`/usr/bin/objformat`
10092 freebsd[123]*) objformat=aout ;;
10093 *) objformat=elf ;;
10096 version_type=freebsd-$objformat
10097 case $version_type in
10099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10108 shlibpath_var=LD_LIBRARY_PATH
10111 shlibpath_overrides_runpath=yes
10113 freebsd3.[01]* | freebsdelf3.[01]*)
10114 shlibpath_overrides_runpath=yes
10115 hardcode_into_libs=yes
10117 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10118 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10119 shlibpath_overrides_runpath=no
10120 hardcode_into_libs=yes
10122 *) # from 4.6 on, and DragonFly
10123 shlibpath_overrides_runpath=yes
10124 hardcode_into_libs=yes
10133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10134 soname_spec='${libname}${release}${shared_ext}$major'
10135 shlibpath_var=LD_LIBRARY_PATH
10136 hardcode_into_libs=yes
10143 dynamic_linker="$host_os runtime_loader"
10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10145 soname_spec='${libname}${release}${shared_ext}$major'
10146 shlibpath_var=LIBRARY_PATH
10147 shlibpath_overrides_runpath=yes
10148 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10149 hardcode_into_libs=yes
10152 hpux9* | hpux10* | hpux11*)
10153 # Give a soname corresponding to the major version so that dld.sl refuses to
10154 # link against other versions.
10161 hardcode_into_libs=yes
10162 dynamic_linker="$host_os dld.so"
10163 shlibpath_var=LD_LIBRARY_PATH
10164 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10166 soname_spec='${libname}${release}${shared_ext}$major'
10167 if test "X$HPUX_IA64_MODE" = X32; then
10168 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10170 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10172 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10176 hardcode_into_libs=yes
10177 dynamic_linker="$host_os dld.sl"
10178 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10179 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10181 soname_spec='${libname}${release}${shared_ext}$major'
10182 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10183 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10187 dynamic_linker="$host_os dld.sl"
10188 shlibpath_var=SHLIB_PATH
10189 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10191 soname_spec='${libname}${release}${shared_ext}$major'
10194 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10195 postinstall_cmds='chmod 555 $lib'
10196 # or fails outright, so override atomically:
10197 install_override_mode=555
10204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10205 soname_spec='${libname}${release}${shared_ext}$major'
10206 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10207 shlibpath_var=LD_LIBRARY_PATH
10208 shlibpath_overrides_runpath=no
10209 hardcode_into_libs=yes
10212 irix5* | irix6* | nonstopux*)
10214 nonstopux*) version_type=nonstopux ;;
10216 if test "$lt_cv_prog_gnu_ld" = yes; then
10224 soname_spec='${libname}${release}${shared_ext}$major'
10225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10227 irix5* | nonstopux*)
10228 libsuff= shlibsuff=
10231 case $LD in # libtool.m4 will add one of these switches to LD
10232 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10233 libsuff= shlibsuff= libmagic=32-bit;;
10234 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10235 libsuff=32 shlibsuff=N32 libmagic=N32;;
10236 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10237 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10238 *) libsuff= shlibsuff= libmagic=never-match;;
10242 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10243 shlibpath_overrides_runpath=no
10244 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10245 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10246 hardcode_into_libs=yes
10249 # No shared lib support for Linux oldld, aout, or coff.
10250 linux*oldld* | linux*aout* | linux*coff*)
10254 # This must be Linux ELF.
10255 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10260 soname_spec='${libname}${release}${shared_ext}$major'
10261 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10262 shlibpath_var=LD_LIBRARY_PATH
10263 shlibpath_overrides_runpath=no
10265 # Some binutils ld are patched to set DT_RUNPATH
10266 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10267 $as_echo_n "(cached) " >&6
10269 lt_cv_shlibpath_overrides_runpath=no
10270 save_LDFLAGS=$LDFLAGS
10271 save_libdir=$libdir
10272 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10273 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10287 lt_cv_shlibpath_overrides_runpath=yes
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 LDFLAGS=$save_LDFLAGS
10293 libdir=$save_libdir
10297 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10299 # This implies no fast_install, which is unacceptable.
10300 # Some rework will be needed to allow for fast_install
10301 # before this can be enabled.
10302 hardcode_into_libs=yes
10304 # Append ld.so.conf contents to the search path
10305 if test -f /etc/ld.so.conf; then
10306 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' ' '`
10307 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10310 # We used to test for /lib/ld.so.1 and disable shared libraries on
10311 # powerpc, because MkLinux only supported shared libraries with the
10312 # GNU dynamic linker. Since this was broken with cross compilers,
10313 # most powerpc-linux boxes support dynamic linking these days and
10314 # people can always --disable-shared, the test was removed, and we
10315 # assume the GNU/Linux dynamic linker is in use.
10316 dynamic_linker='GNU/Linux ld.so'
10323 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10325 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10326 dynamic_linker='NetBSD (a.out) ld.so'
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10329 soname_spec='${libname}${release}${shared_ext}$major'
10330 dynamic_linker='NetBSD ld.elf_so'
10332 shlibpath_var=LD_LIBRARY_PATH
10333 shlibpath_overrides_runpath=yes
10334 hardcode_into_libs=yes
10339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10340 shlibpath_var=LD_LIBRARY_PATH
10341 shlibpath_overrides_runpath=yes
10348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10349 soname_spec='${libname}${release}${shared_ext}$major'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 shlibpath_overrides_runpath=no
10352 hardcode_into_libs=yes
10353 dynamic_linker='ldqnx.so'
10358 sys_lib_dlsearch_path_spec="/usr/lib"
10360 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10362 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10363 *) need_version=no ;;
10365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10366 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10367 shlibpath_var=LD_LIBRARY_PATH
10368 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10370 openbsd2.[89] | openbsd2.[89].*)
10371 shlibpath_overrides_runpath=no
10374 shlibpath_overrides_runpath=yes
10378 shlibpath_overrides_runpath=yes
10383 libname_spec='$name'
10386 library_names_spec='$libname${shared_ext} $libname.a'
10387 dynamic_linker='OS/2 ld.exe'
10388 shlibpath_var=LIBPATH
10391 osf3* | osf4* | osf5*)
10395 soname_spec='${libname}${release}${shared_ext}$major'
10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397 shlibpath_var=LD_LIBRARY_PATH
10398 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10399 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10411 soname_spec='${libname}${release}${shared_ext}$major'
10412 shlibpath_var=LD_LIBRARY_PATH
10413 shlibpath_overrides_runpath=yes
10414 hardcode_into_libs=yes
10415 # ldd complains unless libraries are executable
10416 postinstall_cmds='chmod +x $lib'
10421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10422 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10423 shlibpath_var=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath=yes
10425 if test "$with_gnu_ld" = yes; then
10433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434 soname_spec='${libname}${release}${shared_ext}$major'
10435 shlibpath_var=LD_LIBRARY_PATH
10436 case $host_vendor in
10438 shlibpath_overrides_runpath=no
10440 runpath_var=LD_RUN_PATH
10448 shlibpath_overrides_runpath=no
10449 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10455 if test -d /usr/nec ;then
10457 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10458 soname_spec='$libname${shared_ext}.$major'
10459 shlibpath_var=LD_LIBRARY_PATH
10463 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10464 version_type=freebsd-elf
10467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10468 soname_spec='${libname}${release}${shared_ext}$major'
10469 shlibpath_var=LD_LIBRARY_PATH
10470 shlibpath_overrides_runpath=yes
10471 hardcode_into_libs=yes
10472 if test "$with_gnu_ld" = yes; then
10473 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10475 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10478 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10482 sys_lib_dlsearch_path_spec='/usr/lib'
10486 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 shlibpath_var=LD_LIBRARY_PATH
10492 shlibpath_overrides_runpath=no
10493 hardcode_into_libs=yes
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10499 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LD_LIBRARY_PATH
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10508 $as_echo "$dynamic_linker" >&6; }
10509 test "$dynamic_linker" = no && can_build_shared=no
10511 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10512 if test "$GCC" = yes; then
10513 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10516 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10517 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10519 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10520 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10615 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10617 if test -n "$hardcode_libdir_flag_spec" ||
10618 test -n "$runpath_var" ||
10619 test "X$hardcode_automatic" = "Xyes" ; then
10621 # We can hardcode non-existent directories.
10622 if test "$hardcode_direct" != no &&
10623 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10624 # have to relink, otherwise we might link with an installed library
10625 # when we should be linking with a yet-to-be-installed one
10626 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10627 test "$hardcode_minus_L" != no; then
10628 # Linking always hardcodes the temporary library directory.
10629 hardcode_action=relink
10631 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10632 hardcode_action=immediate
10635 # We cannot hardcode anything, or else we can only hardcode existing
10637 hardcode_action=unsupported
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10640 $as_echo "$hardcode_action" >&6; }
10642 if test "$hardcode_action" = relink ||
10643 test "$inherit_rpath" = yes; then
10644 # Fast installation is not supported
10645 enable_fast_install=no
10646 elif test "$shlibpath_overrides_runpath" = yes ||
10647 test "$enable_shared" = no; then
10648 # Fast installation is not necessary
10649 enable_fast_install=needless
10657 if test "x$enable_dlopen" != xyes; then
10658 enable_dlopen=unknown
10659 enable_dlopen_self=unknown
10660 enable_dlopen_self_static=unknown
10667 lt_cv_dlopen="load_add_on"
10669 lt_cv_dlopen_self=yes
10672 mingw* | pw32* | cegcc*)
10673 lt_cv_dlopen="LoadLibrary"
10678 lt_cv_dlopen="dlopen"
10683 # if libdl is installed we need to link against it
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10685 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10686 if ${ac_cv_lib_dl_dlopen+:} false; then :
10687 $as_echo_n "(cached) " >&6
10689 ac_check_lib_save_LIBS=$LIBS
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h. */
10694 /* Override any GCC internal prototype to avoid an error.
10695 Use char because int might match the return type of a GCC
10696 builtin and then its argument prototype would still apply. */
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_lib_dl_dlopen=yes
10712 ac_cv_lib_dl_dlopen=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 LIBS=$ac_check_lib_save_LIBS
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10719 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10720 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10721 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10724 lt_cv_dlopen="dyld"
10726 lt_cv_dlopen_self=yes
10733 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10734 if test "x$ac_cv_func_shl_load" = xyes; then :
10735 lt_cv_dlopen="shl_load"
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10738 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10739 if ${ac_cv_lib_dld_shl_load+:} false; then :
10740 $as_echo_n "(cached) " >&6
10742 ac_check_lib_save_LIBS=$LIBS
10744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10745 /* end confdefs.h. */
10747 /* Override any GCC internal prototype to avoid an error.
10748 Use char because int might match the return type of a GCC
10749 builtin and then its argument prototype would still apply. */
10757 return shl_load ();
10762 if ac_fn_c_try_link "$LINENO"; then :
10763 ac_cv_lib_dld_shl_load=yes
10765 ac_cv_lib_dld_shl_load=no
10767 rm -f core conftest.err conftest.$ac_objext \
10768 conftest$ac_exeext conftest.$ac_ext
10769 LIBS=$ac_check_lib_save_LIBS
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10772 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10773 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10774 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10776 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10777 if test "x$ac_cv_func_dlopen" = xyes; then :
10778 lt_cv_dlopen="dlopen"
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10781 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10782 if ${ac_cv_lib_dl_dlopen+:} false; then :
10783 $as_echo_n "(cached) " >&6
10785 ac_check_lib_save_LIBS=$LIBS
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10790 /* Override any GCC internal prototype to avoid an error.
10791 Use char because int might match the return type of a GCC
10792 builtin and then its argument prototype would still apply. */
10805 if ac_fn_c_try_link "$LINENO"; then :
10806 ac_cv_lib_dl_dlopen=yes
10808 ac_cv_lib_dl_dlopen=no
10810 rm -f core conftest.err conftest.$ac_objext \
10811 conftest$ac_exeext conftest.$ac_ext
10812 LIBS=$ac_check_lib_save_LIBS
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10815 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10816 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10817 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10820 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10821 if ${ac_cv_lib_svld_dlopen+:} false; then :
10822 $as_echo_n "(cached) " >&6
10824 ac_check_lib_save_LIBS=$LIBS
10825 LIBS="-lsvld $LIBS"
10826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10827 /* end confdefs.h. */
10829 /* Override any GCC internal prototype to avoid an error.
10830 Use char because int might match the return type of a GCC
10831 builtin and then its argument prototype would still apply. */
10844 if ac_fn_c_try_link "$LINENO"; then :
10845 ac_cv_lib_svld_dlopen=yes
10847 ac_cv_lib_svld_dlopen=no
10849 rm -f core conftest.err conftest.$ac_objext \
10850 conftest$ac_exeext conftest.$ac_ext
10851 LIBS=$ac_check_lib_save_LIBS
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10854 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10855 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10856 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10859 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10860 if ${ac_cv_lib_dld_dld_link+:} false; then :
10861 $as_echo_n "(cached) " >&6
10863 ac_check_lib_save_LIBS=$LIBS
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10878 return dld_link ();
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_dld_dld_link=yes
10886 ac_cv_lib_dld_dld_link=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10893 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10894 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10895 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10916 if test "x$lt_cv_dlopen" != xno; then
10922 case $lt_cv_dlopen in
10924 save_CPPFLAGS="$CPPFLAGS"
10925 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10927 save_LDFLAGS="$LDFLAGS"
10928 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10931 LIBS="$lt_cv_dlopen_libs $LIBS"
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10934 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10935 if ${lt_cv_dlopen_self+:} false; then :
10936 $as_echo_n "(cached) " >&6
10938 if test "$cross_compiling" = yes; then :
10939 lt_cv_dlopen_self=cross
10941 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10942 lt_status=$lt_dlunknown
10943 cat > conftest.$ac_ext <<_LT_EOF
10944 #line $LINENO "configure"
10945 #include "confdefs.h"
10954 # define LT_DLGLOBAL RTLD_GLOBAL
10957 # define LT_DLGLOBAL DL_GLOBAL
10959 # define LT_DLGLOBAL 0
10963 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10964 find out it does not work in some platform. */
10965 #ifndef LT_DLLAZY_OR_NOW
10967 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10970 # define LT_DLLAZY_OR_NOW DL_LAZY
10973 # define LT_DLLAZY_OR_NOW RTLD_NOW
10976 # define LT_DLLAZY_OR_NOW DL_NOW
10978 # define LT_DLLAZY_OR_NOW 0
10985 /* When -fvisbility=hidden is used, assume the code has been annotated
10986 correspondingly for the symbols needed. */
10987 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10988 int fnord () __attribute__((visibility("default")));
10991 int fnord () { return 42; }
10994 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10995 int status = $lt_dlunknown;
10999 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11002 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11003 else puts (dlerror ());
11005 /* dlclose (self); */
11013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11014 (eval $ac_link) 2>&5
11016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11017 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11018 (./conftest; exit; ) >&5 2>/dev/null
11020 case x$lt_status in
11021 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11022 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11023 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11026 # compilation failed
11027 lt_cv_dlopen_self=no
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11035 $as_echo "$lt_cv_dlopen_self" >&6; }
11037 if test "x$lt_cv_dlopen_self" = xyes; then
11038 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11040 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11041 if ${lt_cv_dlopen_self_static+:} false; then :
11042 $as_echo_n "(cached) " >&6
11044 if test "$cross_compiling" = yes; then :
11045 lt_cv_dlopen_self_static=cross
11047 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11048 lt_status=$lt_dlunknown
11049 cat > conftest.$ac_ext <<_LT_EOF
11050 #line $LINENO "configure"
11051 #include "confdefs.h"
11060 # define LT_DLGLOBAL RTLD_GLOBAL
11063 # define LT_DLGLOBAL DL_GLOBAL
11065 # define LT_DLGLOBAL 0
11069 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11070 find out it does not work in some platform. */
11071 #ifndef LT_DLLAZY_OR_NOW
11073 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11076 # define LT_DLLAZY_OR_NOW DL_LAZY
11079 # define LT_DLLAZY_OR_NOW RTLD_NOW
11082 # define LT_DLLAZY_OR_NOW DL_NOW
11084 # define LT_DLLAZY_OR_NOW 0
11091 /* When -fvisbility=hidden is used, assume the code has been annotated
11092 correspondingly for the symbols needed. */
11093 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11094 int fnord () __attribute__((visibility("default")));
11097 int fnord () { return 42; }
11100 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11101 int status = $lt_dlunknown;
11105 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11108 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11109 else puts (dlerror ());
11111 /* dlclose (self); */
11119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11120 (eval $ac_link) 2>&5
11122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11123 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11124 (./conftest; exit; ) >&5 2>/dev/null
11126 case x$lt_status in
11127 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11128 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11129 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11132 # compilation failed
11133 lt_cv_dlopen_self_static=no
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11141 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11144 CPPFLAGS="$save_CPPFLAGS"
11145 LDFLAGS="$save_LDFLAGS"
11150 case $lt_cv_dlopen_self in
11151 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11152 *) enable_dlopen_self=unknown ;;
11155 case $lt_cv_dlopen_self_static in
11156 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11157 *) enable_dlopen_self_static=unknown ;;
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11180 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11181 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11182 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11183 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11185 $as_echo "yes" >&6; }
11187 # FIXME - insert some real tests, host_os isn't really good enough
11190 if test -n "$STRIP" ; then
11191 striplib="$STRIP -x"
11192 old_striplib="$STRIP -S"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11194 $as_echo "yes" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11197 $as_echo "no" >&6; }
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11202 $as_echo "no" >&6; }
11218 # Report which library types will actually be built
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11220 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11222 $as_echo "$can_build_shared" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11225 $as_echo_n "checking whether to build shared libraries... " >&6; }
11226 test "$can_build_shared" = "no" && enable_shared=no
11228 # On AIX, shared libraries and static libraries use the same namespace, and
11229 # are all built from PIC.
11232 test "$enable_shared" = yes && enable_static=no
11233 if test -n "$RANLIB"; then
11234 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11235 postinstall_cmds='$RANLIB $lib'
11240 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11241 test "$enable_shared" = yes && enable_static=no
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11246 $as_echo "$enable_shared" >&6; }
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11249 $as_echo_n "checking whether to build static libraries... " >&6; }
11250 # Make sure either enable_shared or enable_static is yes.
11251 test "$enable_shared" = yes || enable_static=yes
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11253 $as_echo "$enable_static" >&6; }
11260 ac_cpp='$CPP $CPPFLAGS'
11261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11279 ac_config_commands="$ac_config_commands libtool"
11284 # Only expand once:
11290 # Checks for libraries.
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lapr-1" >&5
11292 $as_echo_n "checking for main in -lapr-1... " >&6; }
11293 if ${ac_cv_lib_apr_1_main+:} false; then :
11294 $as_echo_n "(cached) " >&6
11296 ac_check_lib_save_LIBS=$LIBS
11297 LIBS="-lapr-1 $LIBS"
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11310 if ac_fn_c_try_link "$LINENO"; then :
11311 ac_cv_lib_apr_1_main=yes
11313 ac_cv_lib_apr_1_main=no
11315 rm -f core conftest.err conftest.$ac_objext \
11316 conftest$ac_exeext conftest.$ac_ext
11317 LIBS=$ac_check_lib_save_LIBS
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_1_main" >&5
11320 $as_echo "$ac_cv_lib_apr_1_main" >&6; }
11321 if test "x$ac_cv_lib_apr_1_main" = xyes; then :
11322 cat >>confdefs.h <<_ACEOF
11323 #define HAVE_LIBAPR_1 1
11326 LIBS="-lapr-1 $LIBS"
11332 # Check whether --with-apache-header was given.
11333 if test "${with_apache_header+set}" = set; then :
11334 withval=$with_apache_header;
11337 if test "x$with_apache_header" = "xyes"; then
11339 Please specify the --with-apache-header option. And, please specify the place of the header file.
11345 # Check whether --with-apxs was given.
11346 if test "${with_apxs+set}" = set; then :
11347 withval=$with_apxs;
11350 if test "x$with_apxs" = "x" ; then
11353 if test "x$with_apxs" = "xyes" ; then
11355 Please specify the --with-apxs option. And, please specify the place of the apxs program.
11360 # Check whether --with-apr-config was given.
11361 if test "${with_apr_config+set}" = set; then :
11362 withval=$with_apr_config;
11365 if test "x$with_apr_config" = "xyes" ; then
11367 Please specify the --with-apr-config option. And, please specify the place of the apr-config program.
11372 # Check whether --with-apu-config was given.
11373 if test "${with_apu_config+set}" = set; then :
11374 withval=$with_apu_config;
11377 if test "x$with_apu_config" = "xyes" ; then
11379 Please specify the --with-apu-config option. And, please specify the place of the apu-config program.
11384 # Check whether --with-pcre-config was given.
11385 if test "${with_pcre_config+set}" = set; then :
11386 withval=$with_pcre_config;
11389 if test "x$with_pcre_config" = "xyes" ; then
11391 Please specify the --with-pcre-config option. And, please specify the place of the pcre-config program.
11397 # Check whether --enable-img-conv-f was given.
11398 if test "${enable_img_conv_f+set}" = set; then :
11399 enableval=$enable_img_conv_f;
11402 if test "x$enable_img_conv_f" = "xyes"; then
11405 QDEFS="-DIMG_NOT_CONVERT_FILENAME"
11409 # Check whether --enable-memcache-cookie was given.
11410 if test "${enable_memcache_cookie+set}" = set; then :
11411 enableval=$enable_memcache_cookie;
11414 # Check whether --enable-memcached-static was given.
11415 if test "${enable_memcached_static+set}" = set; then :
11416 enableval=$enable_memcached_static;
11420 # Check whether --with-memcached-header was given.
11421 if test "${with_memcached_header+set}" = set; then :
11422 withval=$with_memcached_header;
11426 # Check whether --with-memcached-lib-dir was given.
11427 if test "${with_memcached_lib_dir+set}" = set; then :
11428 withval=$with_memcached_lib_dir;
11431 if test "x$enable_memcache_cookie" = "xyes" ; then
11432 if test "x${with_memcached_header}" = "x" -o "x${with_memcached_header}" = "xyes" ; then
11434 Please specify the --with-memcached-header And, please specify the place of the \"memcached.h\" header file directory.
11437 if test "x${with_memcached_lib_dir}" = "x" -o "x${with_memcached_lib_dir}" = "xyes" ; then
11439 Please specify the --with-memcached-lib-dir And, please specify the place of libmemcached library directory.
11442 if test "x$enable_memcached_static" = "xyes" ; then
11443 MEMCACHE_COOKIE_DEFS="-DUSE_MEMCACHE_COOKIE -I${with_memcached_header} "
11444 MEMCACHE_COOKIE_LIBS=" ${with_memcached_lib_dir}/libmemcached.a "
11446 MEMCACHE_COOKIE_DEFS="-DUSE_MEMCACHE_COOKIE -I${with_memcached_header} "
11447 MEMCACHE_COOKIE_LIBS="-L${with_memcached_lib_dir} -lmemcached "
11450 MEMCACHE_COOKIE_DEFS=""
11451 MEMCACHE_COOKIE_LIBS=""
11453 # Check whether --enable-mysql-cookie was given.
11454 if test "${enable_mysql_cookie+set}" = set; then :
11455 enableval=$enable_mysql_cookie;
11459 # Check whether --with-mysql-header was given.
11460 if test "${with_mysql_header+set}" = set; then :
11461 withval=$with_mysql_header;
11465 # Check whether --with-mysql-lib-dir was given.
11466 if test "${with_mysql_lib_dir+set}" = set; then :
11467 withval=$with_mysql_lib_dir;
11470 if test "x$enable_mysql_cookie" = "xyes"; then
11471 if test "x$with_mysql_header" = "x" -o "x$with_mysql_header" = "xyes" ; then
11473 Please specify the --with-mysql-header And, please specify the place of the \"mysql.h\" header file.
11476 if test "x$with_mysql_lib_dir" = "x" -o "x$with_mysql_lib_dir" = "xyes" ; then
11478 Please specify the --with-mysql-lib-dir And, please specify the place of mysql library directory.
11481 MYSQL_COOKIE_DEFS="-DUSE_MYSQL_COOKIE -I${with_mysql_header}"
11482 MYSQL_COOKIE_LIBS="-L${with_mysql_lib_dir} -lmysqlclient_r"
11484 MYSQL_COOKIE_DEFS=""
11485 MYSQL_COOKIE_LIBS=""
11490 # Check whether --with-openssl was given.
11491 if test "${with_openssl+set}" = set; then :
11492 withval=$with_openssl;
11493 if test "$withval" = "yes"; then
11494 as_fn_error $? "--with-openssl requires a path" "$LINENO" 5
11496 openssl_prefix=$withval
11498 if test "x$openssl_prefix" != "x" -a ! -d "$openssl_prefix"; then
11499 as_fn_error $? "'--with-openssl requires a path to a directory'" "$LINENO" 5
11502 CPPFLAGS="${CPPFLAGS} -I${openssl_prefix}/include"
11503 LDFLAGS="${LDFLAGS} -L${openssl_prefix}/lib"
11504 LDFLAGS="${LDFLAGS} -R${openssl_prefix}/lib"
11505 OPENSSL_PATH="--with-openssl=${openssl_prefix}"
11511 ac_fn_c_check_header_mongrel "$LINENO" "openssl/opensslv.h" "ac_cv_header_openssl_opensslv_h" "$ac_includes_default"
11512 if test "x$ac_cv_header_openssl_opensslv_h" = xyes; then :
11515 as_fn_error $? "We require OpenSSL; try --with-openssl" "$LINENO" 5
11520 # Check whether --enable-dump-log was given.
11521 if test "${enable_dump_log+set}" = set; then :
11522 enableval=$enable_dump_log;
11525 if test "x$enable_dump_log" = "xyes"; then
11526 DDEFS="-DDUMP_LOG=\\\"/tmp/dump.log\\\""
11528 if test "x$enable_dump_log" != "x" ; then
11529 DDEFS="-DDUMP_LOG=\\\"${enable_dump_log}\\\""
11534 if test "x$with_apxs" = "x" ; then
11535 # Extract the first word of "apxs2", so it can be a program name with args.
11536 set dummy apxs2; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11538 $as_echo_n "checking for $ac_word... " >&6; }
11539 if ${ac_cv_path_APXS2+:} false; then :
11540 $as_echo_n "(cached) " >&6
11544 ac_cv_path_APXS2="$APXS2" # Let the user override the test with a path.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/apache/bin"
11549 for as_dir in $as_dummy
11552 test -z "$as_dir" && as_dir=.
11553 for ac_exec_ext in '' $ac_executable_extensions; do
11554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11555 ac_cv_path_APXS2="$as_dir/$ac_word$ac_exec_ext"
11556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11563 test -z "$ac_cv_path_APXS2" && ac_cv_path_APXS2="no"
11567 APXS2=$ac_cv_path_APXS2
11568 if test -n "$APXS2"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS2" >&5
11570 $as_echo "$APXS2" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11577 if test "x$APXS2" = "xno"; then
11578 # Extract the first word of "apxs", so it can be a program name with args.
11579 set dummy apxs; ac_word=$2
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11581 $as_echo_n "checking for $ac_word... " >&6; }
11582 if ${ac_cv_path_APXS+:} false; then :
11583 $as_echo_n "(cached) " >&6
11587 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
11590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11591 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local/apache/bin"
11592 for as_dir in $as_dummy
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11598 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
11599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11606 test -z "$ac_cv_path_APXS" && ac_cv_path_APXS="no"
11610 APXS=$ac_cv_path_APXS
11611 if test -n "$APXS"; then
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
11613 $as_echo "$APXS" >&6; }
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11616 $as_echo "no" >&6; }
11620 if test "x$APXS" = "xno" ; then
11621 as_fn_error $? "apxs not found." "$LINENO" 5
11627 if test "x$with_apxs" != "x" ; then
11631 # Extract the first word of "libtool", so it can be a program name with args.
11632 set dummy libtool; ac_word=$2
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11634 $as_echo_n "checking for $ac_word... " >&6; }
11635 if ${ac_cv_path_LIBTOOL+:} false; then :
11636 $as_echo_n "(cached) " >&6
11640 ac_cv_path_LIBTOOL="$LIBTOOL" # Let the user override the test with a path.
11643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11645 for as_dir in $as_dummy
11648 test -z "$as_dir" && as_dir=.
11649 for ac_exec_ext in '' $ac_executable_extensions; do
11650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11651 ac_cv_path_LIBTOOL="$as_dir/$ac_word$ac_exec_ext"
11652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11659 test -z "$ac_cv_path_LIBTOOL" && ac_cv_path_LIBTOOL="no"
11663 LIBTOOL=$ac_cv_path_LIBTOOL
11664 if test -n "$LIBTOOL"; then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBTOOL" >&5
11666 $as_echo "$LIBTOOL" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11669 $as_echo "no" >&6; }
11673 if test "x$LIBTOOL" = "xno"; then
11674 as_fn_error $? "libtool not found." "$LINENO" 5
11678 # Extract the first word of "Wand-config", so it can be a program name with args.
11679 set dummy Wand-config; ac_word=$2
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11681 $as_echo_n "checking for $ac_word... " >&6; }
11682 if ${ac_cv_path_WAND_CONFIG+:} false; then :
11683 $as_echo_n "(cached) " >&6
11685 case $WAND_CONFIG in
11687 ac_cv_path_WAND_CONFIG="$WAND_CONFIG" # Let the user override the test with a path.
11690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11691 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11692 for as_dir in $as_dummy
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_path_WAND_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11706 test -z "$ac_cv_path_WAND_CONFIG" && ac_cv_path_WAND_CONFIG="no"
11710 WAND_CONFIG=$ac_cv_path_WAND_CONFIG
11711 if test -n "$WAND_CONFIG"; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WAND_CONFIG" >&5
11713 $as_echo "$WAND_CONFIG" >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716 $as_echo "no" >&6; }
11720 if test "x$WAND_CONFIG" = "xno" ; then
11721 as_fn_error $? "wand-config not found." "$LINENO" 5
11724 if test "x$with_apr_config" = "x" ; then
11725 # Extract the first word of "apr-config", so it can be a program name with args.
11726 set dummy apr-config; ac_word=$2
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11728 $as_echo_n "checking for $ac_word... " >&6; }
11729 if ${ac_cv_path_APR_CONFIG+:} false; then :
11730 $as_echo_n "(cached) " >&6
11732 case $APR_CONFIG in
11734 ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
11737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11738 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11739 for as_dir in $as_dummy
11742 test -z "$as_dir" && as_dir=.
11743 for ac_exec_ext in '' $ac_executable_extensions; do
11744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11745 ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11753 test -z "$ac_cv_path_APR_CONFIG" && ac_cv_path_APR_CONFIG="no"
11757 APR_CONFIG=$ac_cv_path_APR_CONFIG
11758 if test -n "$APR_CONFIG"; then
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
11760 $as_echo "$APR_CONFIG" >&6; }
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11763 $as_echo "no" >&6; }
11767 if test "x$APR_CONFIG" = "xno" ; then
11768 # Extract the first word of "apr-1-config", so it can be a program name with args.
11769 set dummy apr-1-config; ac_word=$2
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11771 $as_echo_n "checking for $ac_word... " >&6; }
11772 if ${ac_cv_path_APR_1_CONFIG+:} false; then :
11773 $as_echo_n "(cached) " >&6
11775 case $APR_1_CONFIG in
11777 ac_cv_path_APR_1_CONFIG="$APR_1_CONFIG" # Let the user override the test with a path.
11780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11781 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11782 for as_dir in $as_dummy
11785 test -z "$as_dir" && as_dir=.
11786 for ac_exec_ext in '' $ac_executable_extensions; do
11787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11788 ac_cv_path_APR_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11796 test -z "$ac_cv_path_APR_1_CONFIG" && ac_cv_path_APR_1_CONFIG="no"
11800 APR_1_CONFIG=$ac_cv_path_APR_1_CONFIG
11801 if test -n "$APR_1_CONFIG"; then
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_1_CONFIG" >&5
11803 $as_echo "$APR_1_CONFIG" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11806 $as_echo "no" >&6; }
11810 if test "x$APR_1_CONFIG" = "xno" ; then
11811 as_fn_error $? "apr-config and apr-1-config not found." "$LINENO" 5
11813 APR_CONFIG="$APR_1_CONFIG"
11817 if test "x$with_apr_config" != "x" ; then
11818 APR_CONFIG=$with_apr_config
11820 if test "x$with_apu_config" = "x" ; then
11821 # Extract the first word of "apu-config", so it can be a program name with args.
11822 set dummy apu-config; ac_word=$2
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11824 $as_echo_n "checking for $ac_word... " >&6; }
11825 if ${ac_cv_path_APU_CONFIG+:} false; then :
11826 $as_echo_n "(cached) " >&6
11828 case $APU_CONFIG in
11830 ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
11833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11834 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11835 for as_dir in $as_dummy
11838 test -z "$as_dir" && as_dir=.
11839 for ac_exec_ext in '' $ac_executable_extensions; do
11840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11841 ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11849 test -z "$ac_cv_path_APU_CONFIG" && ac_cv_path_APU_CONFIG="no"
11853 APU_CONFIG=$ac_cv_path_APU_CONFIG
11854 if test -n "$APU_CONFIG"; then
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
11856 $as_echo "$APU_CONFIG" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11859 $as_echo "no" >&6; }
11863 if test "x$APU_CONFIG" = "xno" ; then
11864 # Extract the first word of "apu-1-config", so it can be a program name with args.
11865 set dummy apu-1-config; ac_word=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if ${ac_cv_path_APU_1_CONFIG+:} false; then :
11869 $as_echo_n "(cached) " >&6
11871 case $APU_1_CONFIG in
11873 ac_cv_path_APU_1_CONFIG="$APU_1_CONFIG" # Let the user override the test with a path.
11876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11877 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
11878 for as_dir in $as_dummy
11881 test -z "$as_dir" && as_dir=.
11882 for ac_exec_ext in '' $ac_executable_extensions; do
11883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11884 ac_cv_path_APU_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 test -z "$ac_cv_path_APU_1_CONFIG" && ac_cv_path_APU_1_CONFIG="no"
11896 APU_1_CONFIG=$ac_cv_path_APU_1_CONFIG
11897 if test -n "$APU_1_CONFIG"; then
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_1_CONFIG" >&5
11899 $as_echo "$APU_1_CONFIG" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11902 $as_echo "no" >&6; }
11906 if test "x$APU_1_CONFIG" = "xno" ; then
11907 as_fn_error $? "apu-config and apu-1-config not found." "$LINENO" 5
11909 APU_CONFIG="$APU_1_CONFIG"
11913 if test "x$with_apu_config" != "x" ; then
11914 APU_CONFIG=$with_apu_config
11917 CFLAGS="${CFLAGS} -DLIBICONV_PLUG "
11920 CFLAGS="${CFLAGS} -I/usr/local/include "
11924 if test "x${with_apache_header}" = "x" ; then
11925 with_apache_header=`${APXS} -q includedir`
11928 # Checks for library functions.
11929 for ac_header in stdlib.h
11931 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
11932 if test "x$ac_cv_header_stdlib_h" = xyes; then :
11933 cat >>confdefs.h <<_ACEOF
11934 #define HAVE_STDLIB_H 1
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
11942 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11943 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
11944 $as_echo_n "(cached) " >&6
11946 if test "$cross_compiling" = yes; then :
11947 ac_cv_func_malloc_0_nonnull=no
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11952 # include <stdlib.h>
11960 return ! malloc (0);
11965 if ac_fn_c_try_run "$LINENO"; then :
11966 ac_cv_func_malloc_0_nonnull=yes
11968 ac_cv_func_malloc_0_nonnull=no
11970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11971 conftest.$ac_objext conftest.beam conftest.$ac_ext
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
11976 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
11977 if test $ac_cv_func_malloc_0_nonnull = yes; then :
11979 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
11982 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
11984 case " $LIBOBJS " in
11985 *" malloc.$ac_objext "* ) ;;
11986 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
11991 $as_echo "#define malloc rpl_malloc" >>confdefs.h
11996 for ac_func in open mmap close memset memcpy strcasecmp strncasecmp strstr
11998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12000 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12001 cat >>confdefs.h <<_ACEOF
12002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12009 LIBS="${LIBS} `${WAND_CONFIG} --ldflags` `${WAND_CONFIG} --libs | sed -e s/-ldpstk//` "
12010 LIBS="${LIBS} `${APR_CONFIG} --ldflags` `${APR_CONFIG} --libs` "
12011 LIBS="${LIBS} `${APU_CONFIG} --ldflags` `${APU_CONFIG} --libs` "
12012 LIBS="${LIBS} ${MYSQL_COOKIE_LIBS}"
12013 LIBS="${LIBS} ${MEMCACHE_COOKIE_LIBS} "
12014 LIBS="${LIBS} css/src/.libs/libscss.a"
12015 LIBS="${LIBS} -lcrypto -lssl "
12016 CFLAGS="${CFLAGS} `${WAND_CONFIG} --cppflags` `${WAND_CONFIG} --cflags`"
12017 CFLAGS="${CFLAGS} `${APR_CONFIG} --includes` `${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags`"
12018 CFLAGS="${CFLAGS} `${APU_CONFIG} --includes`"
12019 CFLAGS="${CFLAGS} ${MYSQL_COOKIE_DEFS}"
12020 CFLAGS="${CFLAGS} ${MEMCACHE_COOKIE_DEFS}"
12021 CPPFLAGS="${CPPFLAGS} `${APR_CONFIG} --includes` -I${with_apache_header}"
12022 CPPFLAGS="${CPPFLAGS} ${MYSQL_COOKIE_DEFS}"
12023 CPPFLAGS="${CPPFLAGS} ${MEMCACHE_COOKIE_DEFS}"
12025 # Checks for header files.
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12027 $as_echo_n "checking for ANSI C header files... " >&6; }
12028 if ${ac_cv_header_stdc+:} false; then :
12029 $as_echo_n "(cached) " >&6
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12033 #include <stdlib.h>
12034 #include <stdarg.h>
12035 #include <string.h>
12046 if ac_fn_c_try_compile "$LINENO"; then :
12047 ac_cv_header_stdc=yes
12049 ac_cv_header_stdc=no
12051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12053 if test $ac_cv_header_stdc = yes; then
12054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12057 #include <string.h>
12060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12061 $EGREP "memchr" >/dev/null 2>&1; then :
12064 ac_cv_header_stdc=no
12070 if test $ac_cv_header_stdc = yes; then
12071 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12074 #include <stdlib.h>
12077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12078 $EGREP "free" >/dev/null 2>&1; then :
12081 ac_cv_header_stdc=no
12087 if test $ac_cv_header_stdc = yes; then
12088 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12089 if test "$cross_compiling" = yes; then :
12092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12095 #include <stdlib.h>
12096 #if ((' ' & 0x0FF) == 0x020)
12097 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12098 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12100 # define ISLOWER(c) \
12101 (('a' <= (c) && (c) <= 'i') \
12102 || ('j' <= (c) && (c) <= 'r') \
12103 || ('s' <= (c) && (c) <= 'z'))
12104 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12112 for (i = 0; i < 256; i++)
12113 if (XOR (islower (i), ISLOWER (i))
12114 || toupper (i) != TOUPPER (i))
12119 if ac_fn_c_try_run "$LINENO"; then :
12122 ac_cv_header_stdc=no
12124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12125 conftest.$ac_objext conftest.beam conftest.$ac_ext
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12131 $as_echo "$ac_cv_header_stdc" >&6; }
12132 if test $ac_cv_header_stdc = yes; then
12134 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12138 for ac_header in string.h strings.h unistd.h fcntl.h sys/types.h sys/stat.h sys/mman.h libgen.h
12140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12141 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12143 cat >>confdefs.h <<_ACEOF
12144 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12151 APR_HEADER_DIR="`${APR_CONFIG} --includes | sed -e 's/-I//g' | sed -e 's/ //g'`"
12152 for ac_header in apr_shm.h apr_global_mutex.h
12154 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12155 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12156 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12157 cat >>confdefs.h <<_ACEOF
12158 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12165 for ac_header in apr.h
12167 ac_fn_c_check_header_mongrel "$LINENO" "apr.h" "ac_cv_header_apr_h" "$ac_includes_default"
12168 if test "x$ac_cv_header_apr_h" = xyes; then :
12169 cat >>confdefs.h <<_ACEOF
12170 #define HAVE_APR_H 1
12177 for ac_header in ap_config.h
12179 ac_fn_c_check_header_mongrel "$LINENO" "ap_config.h" "ac_cv_header_ap_config_h" "$ac_includes_default"
12180 if test "x$ac_cv_header_ap_config_h" = xyes; then :
12181 cat >>confdefs.h <<_ACEOF
12182 #define HAVE_AP_CONFIG_H 1
12189 for ac_header in libgen.h
12191 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
12192 if test "x$ac_cv_header_libgen_h" = xyes; then :
12193 cat >>confdefs.h <<_ACEOF
12194 #define HAVE_LIBGEN_H 1
12201 #AC_CHECK_HEADERS([ap_regex.h],
12202 # AC_DEFINE([HAVE_AP_REGEX_H], [], [Define to 1 if you have the <ap_regex.h> header file.]),[],
12207 ##ifdef HAVE_AP_CONFIG_H
12208 ##include "ap_config.h"
12211 for ac_header in ap_regex.h
12213 ac_fn_c_check_header_compile "$LINENO" "ap_regex.h" "ac_cv_header_ap_regex_h" "#ifdef HAVE_APR_H
12214 # include \"apr.h\"
12216 #ifdef HAVE_AP_CONFIG_H
12217 # include \"ap_config.h\"
12221 if test "x$ac_cv_header_ap_regex_h" = xyes; then :
12222 cat >>confdefs.h <<_ACEOF
12223 #define HAVE_AP_REGEX_H 1
12227 use_pcre_flag="yes"
12232 if test "x$use_pcre_flag" = "xyes" ; then
12233 if test "x$with_pcre_config" = "x" ; then
12234 # Extract the first word of "pcre-config", so it can be a program name with args.
12235 set dummy pcre-config; ac_word=$2
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12237 $as_echo_n "checking for $ac_word... " >&6; }
12238 if ${ac_cv_path_PCRE_CONFIG+:} false; then :
12239 $as_echo_n "(cached) " >&6
12241 case $PCRE_CONFIG in
12243 ac_cv_path_PCRE_CONFIG="$PCRE_CONFIG" # Let the user override the test with a path.
12246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12247 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12248 for as_dir in $as_dummy
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_path_PCRE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12262 test -z "$ac_cv_path_PCRE_CONFIG" && ac_cv_path_PCRE_CONFIG="no"
12266 PCRE_CONFIG=$ac_cv_path_PCRE_CONFIG
12267 if test -n "$PCRE_CONFIG"; then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_CONFIG" >&5
12269 $as_echo "$PCRE_CONFIG" >&6; }
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12272 $as_echo "no" >&6; }
12276 if test "x$PCRE_CONFIG" = "xno" ; then
12277 # Extract the first word of "pcre-1-config", so it can be a program name with args.
12278 set dummy pcre-1-config; ac_word=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280 $as_echo_n "checking for $ac_word... " >&6; }
12281 if ${ac_cv_path_PCRE_1_CONFIG+:} false; then :
12282 $as_echo_n "(cached) " >&6
12284 case $PCRE_1_CONFIG in
12286 ac_cv_path_PCRE_1_CONFIG="$PCRE_1_CONFIG" # Let the user override the test with a path.
12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12291 for as_dir in $as_dummy
12294 test -z "$as_dir" && as_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12297 ac_cv_path_PCRE_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12305 test -z "$ac_cv_path_PCRE_1_CONFIG" && ac_cv_path_PCRE_1_CONFIG="no"
12309 PCRE_1_CONFIG=$ac_cv_path_PCRE_1_CONFIG
12310 if test -n "$PCRE_1_CONFIG"; then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_1_CONFIG" >&5
12312 $as_echo "$PCRE_1_CONFIG" >&6; }
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315 $as_echo "no" >&6; }
12319 if test "x$PCRE_1_CONFIG" = "xno" ; then
12320 as_fn_error $? "pcre-config and pcre-1-config not found." "$LINENO" 5
12322 PCRE_CONFIG="$PCRE_1_CONFIG"
12326 if test "x$with_pcre_config" != "x" ; then
12327 PCRE_CONFIG=$with_pcre_config
12329 CFLAGS="${CFLAGS} `${PCRE_CONFIG} --cflags`"
12332 $as_echo "#define HAVE_AP_REGEX_H 1" >>confdefs.h
12336 # Checks for typedefs, structures, and compiler characteristics.
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12338 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12339 if ${ac_cv_c_const+:} false; then :
12340 $as_echo_n "(cached) " >&6
12342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12343 /* end confdefs.h. */
12348 /* FIXME: Include the comments suggested by Paul. */
12349 #ifndef __cplusplus
12350 /* Ultrix mips cc rejects this. */
12351 typedef int charset[2];
12353 /* SunOS 4.1.1 cc rejects this. */
12354 char const *const *pcpcc;
12356 /* NEC SVR4.0.2 mips cc rejects this. */
12357 struct point {int x, y;};
12358 static struct point const zero = {0,0};
12359 /* AIX XL C 1.02.0.0 rejects this.
12360 It does not let you subtract one const X* pointer from another in
12361 an arm of an if-expression whose if-part is not a constant
12363 const char *g = "string";
12364 pcpcc = &g + (g ? g-g : 0);
12365 /* HPUX 7.0 cc rejects these. */
12367 ppc = (char**) pcpcc;
12368 pcpcc = (char const *const *) ppc;
12369 { /* SCO 3.2v4 cc rejects this. */
12371 char const *s = 0 ? (char *) 0 : (char const *) 0;
12376 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12377 int x[] = {25, 17};
12378 const int *foo = &x[0];
12381 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12382 typedef const int *iptr;
12386 { /* AIX XL C 1.02.0.0 rejects this saying
12387 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12388 struct s { int j; const int *ap[3]; };
12389 struct s *b; b->j = 5;
12391 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12392 const int foo = 10;
12393 if (!foo) return 0;
12395 return !cs[0] && !zero.x;
12402 if ac_fn_c_try_compile "$LINENO"; then :
12407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12410 $as_echo "$ac_cv_c_const" >&6; }
12411 if test $ac_cv_c_const = no; then
12413 $as_echo "#define const /**/" >>confdefs.h
12430 ac_config_files="$ac_config_files Makefile src/Makefile support/centos/mod-chxj.spec support/freebsd/Makefile"
12432 cat >confcache <<\_ACEOF
12433 # This file is a shell script that caches the results of configure
12434 # tests run on this system so they can be shared between configure
12435 # scripts and configure runs, see configure's option --config-cache.
12436 # It is not useful on other systems. If it contains results you don't
12437 # want to keep, you may remove or edit it.
12439 # config.status only pays attention to the cache file if you give it
12440 # the --recheck option to rerun configure.
12442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12444 # following values.
12448 # The following way of writing the cache mishandles newlines in values,
12449 # but we know of no workaround that is simple, portable, and efficient.
12450 # So, we kill variables containing newlines.
12451 # Ultrix sh set writes to stderr and can't be redirected directly,
12452 # and sets the high bit in the cache file unless we assign to the vars.
12454 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12455 eval ac_val=\$$ac_var
12459 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12460 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12463 _ | IFS | as_nl) ;; #(
12464 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12465 *) { eval $ac_var=; unset $ac_var;} ;;
12471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12472 *${as_nl}ac_space=\ *)
12473 # `set' does not quote correctly, so add quotes: double-quote
12474 # substitution turns \\\\ into \\, and sed turns \\ into \.
12477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12480 # `set' quotes correctly as required by POSIX, so do not add quotes.
12481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12495 if test -w "$cache_file"; then
12496 if test "x$cache_file" != "x/dev/null"; then
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12498 $as_echo "$as_me: updating cache $cache_file" >&6;}
12499 if test ! -f "$cache_file" || test -h "$cache_file"; then
12500 cat confcache >"$cache_file"
12502 case $cache_file in #(
12504 mv -f confcache "$cache_file"$$ &&
12505 mv -f "$cache_file"$$ "$cache_file" ;; #(
12507 mv -f confcache "$cache_file" ;;
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12513 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12518 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12519 # Let make expand exec_prefix.
12520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12522 DEFS=-DHAVE_CONFIG_H
12527 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12528 # 1. Remove the extension, and $U if already installed.
12529 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12530 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12531 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12532 # will be set to the directory where LIBOBJS objects are built.
12533 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12534 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12536 LIBOBJS=$ac_libobjs
12538 LTLIBOBJS=$ac_ltlibobjs
12541 if test -n "$EXEEXT"; then
12543 am__EXEEXT_FALSE='#'
12545 am__EXEEXT_TRUE='#'
12549 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12550 as_fn_error $? "conditional \"AMDEP\" was never defined.
12551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12553 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12554 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12558 : "${CONFIG_STATUS=./config.status}"
12560 ac_clean_files_save=$ac_clean_files
12561 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12563 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12565 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12567 # Generated by $as_me.
12568 # Run this file to recreate the current configuration.
12569 # Compiler output produced by configure, useful for debugging
12570 # configure, is in config.log if it exists.
12573 ac_cs_recheck=false
12576 SHELL=\${CONFIG_SHELL-$SHELL}
12579 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12580 ## -------------------- ##
12581 ## M4sh Initialization. ##
12582 ## -------------------- ##
12584 # Be more Bourne compatible
12585 DUALCASE=1; export DUALCASE # for MKS sh
12586 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12589 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12590 # is contrary to our usage. Disable this feature.
12591 alias -g '${1+"$@"}'='"$@"'
12592 setopt NO_GLOB_SUBST
12594 case `(set -o) 2>/dev/null` in #(
12606 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12607 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12608 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12609 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12610 # Prefer a ksh shell builtin over an external printf program on Solaris,
12611 # but without wasting forks for bash or zsh.
12612 if test -z "$BASH_VERSION$ZSH_VERSION" \
12613 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12614 as_echo='print -r --'
12615 as_echo_n='print -rn --'
12616 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12617 as_echo='printf %s\n'
12618 as_echo_n='printf %s'
12620 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12621 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12622 as_echo_n='/usr/ucb/echo -n'
12624 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12625 as_echo_n_body='eval
12629 expr "X$arg" : "X\\(.*\\)$as_nl";
12630 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12632 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12634 export as_echo_n_body
12635 as_echo_n='sh -c $as_echo_n_body as_echo'
12637 export as_echo_body
12638 as_echo='sh -c $as_echo_body as_echo'
12641 # The user is always right.
12642 if test "${PATH_SEPARATOR+set}" != set; then
12644 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12645 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12652 # We need space, tab and new line, in precisely that order. Quoting is
12653 # there to prevent editors from complaining about space-tab.
12654 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12655 # splitting by setting IFS to empty value.)
12658 # Find who we are. Look in the path if we contain no directory separator.
12661 *[\\/]* ) as_myself=$0 ;;
12662 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12663 for as_dir in $PATH
12666 test -z "$as_dir" && as_dir=.
12667 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12673 # We did not find ourselves, most probably we were run as `sh COMMAND'
12674 # in which case we are not to be found in the path.
12675 if test "x$as_myself" = x; then
12678 if test ! -f "$as_myself"; then
12679 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12683 # Unset variables that we do not need and which cause bugs (e.g. in
12684 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12685 # suppresses any "Segmentation fault" message there. '((' could
12686 # trigger a bug in pdksh 5.2.14.
12687 for as_var in BASH_ENV ENV MAIL MAILPATH
12688 do eval test x\${$as_var+set} = xset \
12689 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12702 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12705 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12706 # ----------------------------------------
12707 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12708 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12709 # script with STATUS, using 1 if that was 0.
12712 as_status=$1; test $as_status -eq 0 && as_status=1
12714 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12715 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12717 $as_echo "$as_me: error: $2" >&2
12718 as_fn_exit $as_status
12722 # as_fn_set_status STATUS
12723 # -----------------------
12724 # Set $? to STATUS, without forking.
12725 as_fn_set_status ()
12728 } # as_fn_set_status
12730 # as_fn_exit STATUS
12731 # -----------------
12732 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12736 as_fn_set_status $1
12742 # Portably unset VAR.
12745 { eval $1=; unset $1;}
12747 as_unset=as_fn_unset
12748 # as_fn_append VAR VALUE
12749 # ----------------------
12750 # Append the text in VALUE to the end of the definition contained in VAR. Take
12751 # advantage of any shell optimizations that allow amortized linear growth over
12752 # repeated appends, instead of the typical quadratic growth present in naive
12754 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12755 eval 'as_fn_append ()
12766 # as_fn_arith ARG...
12767 # ------------------
12768 # Perform arithmetic evaluation on the ARGs, and store the result in the
12769 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12770 # must be portable across $(()) and expr.
12771 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12772 eval 'as_fn_arith ()
12779 as_val=`expr "$@" || test $? -eq 1`
12784 if expr a : '\(a\)' >/dev/null 2>&1 &&
12785 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12791 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12792 as_basename=basename
12797 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12803 as_me=`$as_basename -- "$0" ||
12804 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12805 X"$0" : 'X\(//\)$' \| \
12806 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12808 sed '/^.*\/\([^/][^/]*\)\/*$/{
12822 # Avoid depending upon Character Ranges.
12823 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12824 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12825 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12826 as_cr_digits='0123456789'
12827 as_cr_alnum=$as_cr_Letters$as_cr_digits
12829 ECHO_C= ECHO_N= ECHO_T=
12830 case `echo -n x` in #(((((
12832 case `echo 'xy\c'` in
12833 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12835 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12842 rm -f conf$$ conf$$.exe conf$$.file
12843 if test -d conf$$.dir; then
12844 rm -f conf$$.dir/conf$$.file
12847 mkdir conf$$.dir 2>/dev/null
12849 if (echo >conf$$.file) 2>/dev/null; then
12850 if ln -s conf$$.file conf$$ 2>/dev/null; then
12852 # ... but there are two gotchas:
12853 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12854 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12855 # In both cases, we have to default to `cp -p'.
12856 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12858 elif ln conf$$.file conf$$ 2>/dev/null; then
12866 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12867 rmdir conf$$.dir 2>/dev/null
12872 # Create "$as_dir" as a directory, including parents if necessary.
12877 -*) as_dir=./$as_dir;;
12879 test -d "$as_dir" || eval $as_mkdir_p || {
12883 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12884 *) as_qdir=$as_dir;;
12886 as_dirs="'$as_qdir' $as_dirs"
12887 as_dir=`$as_dirname -- "$as_dir" ||
12888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12889 X"$as_dir" : 'X\(//\)[^/]' \| \
12890 X"$as_dir" : 'X\(//\)$' \| \
12891 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12892 $as_echo X"$as_dir" |
12893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12897 /^X\(\/\/\)[^/].*/{
12910 test -d "$as_dir" && break
12912 test -z "$as_dirs" || eval "mkdir $as_dirs"
12913 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12917 if mkdir -p . 2>/dev/null; then
12918 as_mkdir_p='mkdir -p "$as_dir"'
12920 test -d ./-p && rmdir ./-p
12924 if test -x / >/dev/null 2>&1; then
12925 as_test_x='test -x'
12927 if ls -dL / >/dev/null 2>&1; then
12934 if test -d "$1"; then
12940 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12941 ???[sx]*):;;*)false;;esac;fi
12945 as_executable_p=$as_test_x
12947 # Sed expression to map a string onto a valid CPP name.
12948 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12950 # Sed expression to map a string onto a valid variable name.
12951 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12955 ## ----------------------------------- ##
12956 ## Main body of $CONFIG_STATUS script. ##
12957 ## ----------------------------------- ##
12959 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12962 # Save the log message, to keep $0 and so on meaningful, and to
12963 # report actual input values of CONFIG_FILES etc. instead of their
12964 # values after options handling.
12966 This file was extended by mod_chxj $as_me 0.13.1, which was
12967 generated by GNU Autoconf 2.68. Invocation command line was
12969 CONFIG_FILES = $CONFIG_FILES
12970 CONFIG_HEADERS = $CONFIG_HEADERS
12971 CONFIG_LINKS = $CONFIG_LINKS
12972 CONFIG_COMMANDS = $CONFIG_COMMANDS
12975 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12980 case $ac_config_files in *"
12981 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12984 case $ac_config_headers in *"
12985 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12990 # Files that config.status was made for.
12991 config_files="$ac_config_files"
12992 config_headers="$ac_config_headers"
12993 config_commands="$ac_config_commands"
12997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12999 \`$as_me' instantiates files and other configuration actions
13000 from templates according to the current configuration. Unless the files
13001 and actions are specified as TAGs, all are instantiated by default.
13003 Usage: $0 [OPTION]... [TAG]...
13005 -h, --help print this help, then exit
13006 -V, --version print version number and configuration settings, then exit
13007 --config print configuration, then exit
13008 -q, --quiet, --silent
13009 do not print progress messages
13010 -d, --debug don't remove temporary files
13011 --recheck update $as_me by reconfiguring in the same conditions
13012 --file=FILE[:TEMPLATE]
13013 instantiate the configuration file FILE
13014 --header=FILE[:TEMPLATE]
13015 instantiate the configuration header FILE
13017 Configuration files:
13020 Configuration headers:
13023 Configuration commands:
13026 Report bugs to <konn@users.sourceforge.jp>."
13029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13030 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13032 mod_chxj config.status 0.13.1
13033 configured by $0, generated by GNU Autoconf 2.68,
13034 with options \\"\$ac_cs_config\\"
13036 Copyright (C) 2010 Free Software Foundation, Inc.
13037 This config.status script is free software; the Free Software Foundation
13038 gives unlimited permission to copy, distribute and modify it."
13045 test -n "\$AWK" || AWK=awk
13048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13049 # The default lists apply if the user does not specify any file.
13055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13056 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13060 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13072 # Handling of the options.
13073 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13075 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13076 $as_echo "$ac_cs_version"; exit ;;
13077 --config | --confi | --conf | --con | --co | --c )
13078 $as_echo "$ac_cs_config"; exit ;;
13079 --debug | --debu | --deb | --de | --d | -d )
13081 --file | --fil | --fi | --f )
13084 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13085 '') as_fn_error $? "missing file argument" ;;
13087 as_fn_append CONFIG_FILES " '$ac_optarg'"
13088 ac_need_defaults=false;;
13089 --header | --heade | --head | --hea )
13092 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13094 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13095 ac_need_defaults=false;;
13097 # Conflict between --help and --header
13098 as_fn_error $? "ambiguous option: \`$1'
13099 Try \`$0 --help' for more information.";;
13100 --help | --hel | -h )
13101 $as_echo "$ac_cs_usage"; exit ;;
13102 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13103 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13106 # This is an error.
13107 -*) as_fn_error $? "unrecognized option: \`$1'
13108 Try \`$0 --help' for more information." ;;
13110 *) as_fn_append ac_config_targets " $1"
13111 ac_need_defaults=false ;;
13117 ac_configure_extra_args=
13119 if $ac_cs_silent; then
13121 ac_configure_extra_args="$ac_configure_extra_args --silent"
13125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13126 if \$ac_cs_recheck; then
13127 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13129 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13130 CONFIG_SHELL='$SHELL'
13131 export CONFIG_SHELL
13136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13140 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13141 ## Running $as_me. ##
13147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13151 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13154 # The HP-UX ksh and POSIX shell print the target directory to stdout
13155 # if CDPATH is set.
13156 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13158 sed_quote_subst='$sed_quote_subst'
13159 double_quote_subst='$double_quote_subst'
13160 delay_variable_subst='$delay_variable_subst'
13161 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13162 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13163 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13164 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13165 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13166 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13167 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13168 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13169 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13170 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13171 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13172 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13173 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13174 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13175 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13176 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13177 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13178 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13179 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13180 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13181 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13182 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13183 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13184 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13185 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13186 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13187 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13188 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13189 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13190 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13191 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13192 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13193 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13194 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13195 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13196 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13197 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13198 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13199 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13200 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13201 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13202 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13203 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13204 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13205 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13206 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13207 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13208 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13209 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13210 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13211 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13212 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13213 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13214 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13215 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13216 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"`'
13217 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13218 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13219 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13220 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13221 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13222 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13223 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13224 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13225 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13226 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13227 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13228 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13229 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13230 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13231 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13232 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13233 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13234 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13235 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13236 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13237 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13238 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13239 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13240 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13241 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13242 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13243 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13244 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13245 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13246 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13247 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13248 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13249 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13250 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13251 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13252 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13253 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13254 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13255 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13256 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13257 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13258 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13259 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13260 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13261 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13262 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13263 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13264 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13265 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13266 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13267 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13268 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13269 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13270 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13271 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13272 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13273 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13274 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13275 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13276 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13277 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13278 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13279 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13280 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13281 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13282 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13283 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13284 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13285 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13286 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13287 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13288 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13289 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13290 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13293 LTCFLAGS='$LTCFLAGS'
13294 compiler='$compiler_DEFAULT'
13296 # A function that is used when there is no print builtin or printf.
13297 func_fallback_echo ()
13299 eval 'cat <<_LTECHO_EOF
13304 # Quote evaled strings.
13318 deplibs_check_method \
13323 sharedlib_from_linklib_cmd \
13326 archiver_list_spec \
13332 lt_cv_sys_global_symbol_pipe \
13333 lt_cv_sys_global_symbol_to_cdecl \
13334 lt_cv_sys_global_symbol_to_c_name_address \
13335 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13336 nm_file_list_spec \
13337 lt_prog_compiler_no_builtin_flag \
13338 lt_prog_compiler_pic \
13339 lt_prog_compiler_wl \
13340 lt_prog_compiler_static \
13341 lt_cv_prog_compiler_c_o \
13350 export_dynamic_flag_spec \
13351 whole_archive_flag_spec \
13352 compiler_needs_object \
13354 allow_undefined_flag \
13355 no_undefined_flag \
13356 hardcode_libdir_flag_spec \
13357 hardcode_libdir_flag_spec_ld \
13358 hardcode_libdir_separator \
13362 variables_saved_for_relink \
13364 library_names_spec \
13366 install_override_mode \
13370 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13371 *[\\\\\\\`\\"\\\$]*)
13372 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13375 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13380 # Double-quote double-evaled strings.
13381 for var in reload_cmds \
13382 old_postinstall_cmds \
13383 old_postuninstall_cmds \
13385 extract_expsyms_cmds \
13386 old_archive_from_new_cmds \
13387 old_archive_from_expsyms_cmds \
13389 archive_expsym_cmds \
13391 module_expsym_cmds \
13392 export_symbols_cmds \
13396 postuninstall_cmds \
13398 sys_lib_search_path_spec \
13399 sys_lib_dlsearch_path_spec; do
13400 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13401 *[\\\\\\\`\\"\\\$]*)
13402 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13405 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13410 ac_aux_dir='$ac_aux_dir'
13411 xsi_shell='$xsi_shell'
13412 lt_shell_append='$lt_shell_append'
13414 # See if we are running on zsh, and set the options which allow our
13415 # commands through without removal of \ escapes INIT.
13416 if test -n "\${ZSH_VERSION+set}" ; then
13417 setopt NO_GLOB_SUBST
13423 TIMESTAMP='$TIMESTAMP'
13432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13434 # Handling of arguments.
13435 for ac_config_target in $ac_config_targets
13437 case $ac_config_target in
13438 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13439 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13440 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13441 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13442 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13443 "support/centos/mod-chxj.spec") CONFIG_FILES="$CONFIG_FILES support/centos/mod-chxj.spec" ;;
13444 "support/freebsd/Makefile") CONFIG_FILES="$CONFIG_FILES support/freebsd/Makefile" ;;
13446 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13451 # If the user did not use the arguments to specify the items to instantiate,
13452 # then the envvar interface is used. Set only those that are not.
13453 # We use the long form for the default assignment because of an extremely
13454 # bizarre bug on SunOS 4.1.3.
13455 if $ac_need_defaults; then
13456 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13457 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13458 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13461 # Have a temporary directory for convenience. Make it in the build tree
13462 # simply because there is no reason against having it here, and in addition,
13463 # creating and moving files from /tmp can sometimes cause problems.
13464 # Hook for its removal unless debugging.
13465 # Note that there is a small window in which the directory will not be cleaned:
13466 # after its creation but before its name has been assigned to `$tmp'.
13470 trap 'exit_status=$?
13471 : "${ac_tmp:=$tmp}"
13472 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13474 trap 'as_fn_exit 1' 1 2 13 15
13476 # Create a (secure) tmp directory for tmp files.
13479 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13483 tmp=./conf$$-$RANDOM
13484 (umask 077 && mkdir "$tmp")
13485 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13488 # Set up the scripts for CONFIG_FILES section.
13489 # No need to generate them if there are no CONFIG_FILES.
13490 # This happens for instance with `./config.status config.h'.
13491 if test -n "$CONFIG_FILES"; then
13494 ac_cr=`echo X | tr X '\015'`
13495 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13496 # But we know of no other shell where ac_cr would be empty at this
13497 # point, so we can use a bashism as a fallback.
13498 if test "x$ac_cr" = x; then
13499 eval ac_cr=\$\'\\r\'
13501 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13502 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13505 ac_cs_awk_cr=$ac_cr
13508 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13513 echo "cat >conf$$subs.awk <<_ACEOF" &&
13514 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13516 } >conf$$subs.sh ||
13517 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13518 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13520 for ac_last_try in false false false false false :; do
13521 . ./conf$$subs.sh ||
13522 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13524 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13525 if test $ac_delim_n = $ac_delim_num; then
13527 elif $ac_last_try; then
13528 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13530 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13533 rm -f conf$$subs.sh
13535 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13536 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13540 s/^/S["/; s/!.*/"]=/
13550 s/\(.\{148\}\)..*/\1/
13552 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13557 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13564 s/\(.\{148\}\)..*/\1/
13566 s/["\\]/\\&/g; s/^/"/; s/$/"/
13570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13575 ' <conf$$subs.awk | sed '
13580 ' >>$CONFIG_STATUS || ac_write_fail=1
13581 rm -f conf$$subs.awk
13582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13584 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13585 for (key in S) S_is_set[key] = 1
13591 nfields = split(line, field, "@")
13593 len = length(field[1])
13594 for (i = 2; i < nfields; i++) {
13596 keylen = length(key)
13597 if (S_is_set[key]) {
13599 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13600 len += length(value) + length(field[++i])
13611 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13612 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13613 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13616 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13617 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13620 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13621 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13622 # trailing colons and then remove the whole line if VPATH becomes empty
13623 # (actually we leave an empty line to preserve line numbers).
13624 if test "x$srcdir" = x.; then
13625 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13644 fi # test -n "$CONFIG_FILES"
13646 # Set up the scripts for CONFIG_HEADERS section.
13647 # No need to generate them if there are no CONFIG_HEADERS.
13648 # This happens for instance with `./config.status Makefile'.
13649 if test -n "$CONFIG_HEADERS"; then
13650 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13654 # Transform confdefs.h into an awk script `defines.awk', embedded as
13655 # here-document in config.status, that substitutes the proper values into
13656 # config.h.in to produce config.h.
13658 # Create a delimiter string that does not exist in confdefs.h, to ease
13659 # handling of long lines.
13661 for ac_last_try in false false :; do
13662 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13663 if test -z "$ac_tt"; then
13665 elif $ac_last_try; then
13666 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13668 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13672 # For the awk script, D is an array of macro values keyed by name,
13673 # likewise P contains macro parameters if any. Preserve backslash
13674 # newline sequences.
13676 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13678 s/.\{148\}/&'"$ac_delim"'/g
13681 s/^[ ]*#[ ]*define[ ][ ]*/ /
13688 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13690 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13694 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13695 D["\1"]=" \3\\\\\\n"\\/p
13697 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13702 s/.\{148\}/&'"$ac_delim"'/g
13707 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13710 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13712 ' <confdefs.h | sed '
13713 s/'"$ac_delim"'/"\\\
13714 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13717 for (key in D) D_is_set[key] = 1
13720 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13722 split(line, arg, " ")
13723 if (arg[1] == "#") {
13727 defundef = substr(arg[1], 2)
13730 split(mac1, mac2, "(") #)
13732 prefix = substr(line, 1, index(line, defundef) - 1)
13733 if (D_is_set[macro]) {
13734 # Preserve the white space surrounding the "#".
13735 print prefix "define", macro P[macro] D[macro]
13738 # Replace #undef with comments. This is necessary, for example,
13739 # in the case of _POSIX_SOURCE, which is predefined and required
13740 # on some systems where configure will not decide to define it.
13741 if (defundef == "undef") {
13742 print "/*", prefix defundef, macro, "*/"
13750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13751 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13752 fi # test -n "$CONFIG_HEADERS"
13755 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13760 :[FHLC]) ac_mode=$ac_tag; continue;;
13762 case $ac_mode$ac_tag in
13764 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13765 :[FH]-) ac_tag=-:-;;
13766 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13783 -) ac_f="$ac_tmp/stdin";;
13784 *) # Look for the file first in the build tree, then in the source tree
13785 # (if the path is not absolute). The absolute path cannot be DOS-style,
13786 # because $ac_f cannot contain `:'.
13790 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13792 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13794 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13795 as_fn_append ac_file_inputs " '$ac_f'"
13798 # Let's still pretend it is `configure' which instantiates (i.e., don't
13799 # use $as_me), people would be surprised to read:
13800 # /* config.h. Generated by config.status. */
13801 configure_input='Generated from '`
13802 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13804 if test x"$ac_file" != x-; then
13805 configure_input="$ac_file. $configure_input"
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13807 $as_echo "$as_me: creating $ac_file" >&6;}
13809 # Neutralize special characters interpreted by sed in replacement strings.
13810 case $configure_input in #(
13811 *\&* | *\|* | *\\* )
13812 ac_sed_conf_input=`$as_echo "$configure_input" |
13813 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13814 *) ac_sed_conf_input=$configure_input;;
13818 *:-:* | *:-) cat >"$ac_tmp/stdin" \
13819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13824 ac_dir=`$as_dirname -- "$ac_file" ||
13825 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13826 X"$ac_file" : 'X\(//\)[^/]' \| \
13827 X"$ac_file" : 'X\(//\)$' \| \
13828 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13829 $as_echo X"$ac_file" |
13830 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13834 /^X\(\/\/\)[^/].*/{
13847 as_dir="$ac_dir"; as_fn_mkdir_p
13851 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13853 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13854 # A ".." for each directory in $ac_dir_suffix.
13855 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13856 case $ac_top_builddir_sub in
13857 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13858 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13861 ac_abs_top_builddir=$ac_pwd
13862 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13863 # for backward compatibility:
13864 ac_top_builddir=$ac_top_build_prefix
13867 .) # We are building in place.
13869 ac_top_srcdir=$ac_top_builddir_sub
13870 ac_abs_top_srcdir=$ac_pwd ;;
13871 [\\/]* | ?:[\\/]* ) # Absolute name.
13872 ac_srcdir=$srcdir$ac_dir_suffix;
13873 ac_top_srcdir=$srcdir
13874 ac_abs_top_srcdir=$srcdir ;;
13875 *) # Relative name.
13876 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13877 ac_top_srcdir=$ac_top_build_prefix$srcdir
13878 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13880 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13890 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13891 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13893 ac_MKDIR_P=$MKDIR_P
13895 [\\/$]* | ?:[\\/]* ) ;;
13896 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13901 # If the template does not know about datarootdir, expand it.
13902 # FIXME: This hack should be removed a few years after 2.60.
13903 ac_datarootdir_hack=; ac_datarootdir_seen=
13914 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13915 *datarootdir*) ac_datarootdir_seen=yes;;
13916 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13918 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13921 ac_datarootdir_hack='
13922 s&@datadir@&$datadir&g
13923 s&@docdir@&$docdir&g
13924 s&@infodir@&$infodir&g
13925 s&@localedir@&$localedir&g
13926 s&@mandir@&$mandir&g
13927 s&\\\${datarootdir}&$datarootdir&g' ;;
13931 # Neutralize VPATH when `$srcdir' = `.'.
13932 # Shell code in configure.ac might set extrasub.
13933 # FIXME: do we really want to maintain this feature?
13934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13935 ac_sed_extra="$ac_vpsub
13938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13941 s|@configure_input@|$ac_sed_conf_input|;t t
13942 s&@top_builddir@&$ac_top_builddir_sub&;t t
13943 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13944 s&@srcdir@&$ac_srcdir&;t t
13945 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13946 s&@top_srcdir@&$ac_top_srcdir&;t t
13947 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13948 s&@builddir@&$ac_builddir&;t t
13949 s&@abs_builddir@&$ac_abs_builddir&;t t
13950 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13951 s&@INSTALL@&$ac_INSTALL&;t t
13952 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13953 $ac_datarootdir_hack
13955 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13956 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13958 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13959 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13960 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13961 "$ac_tmp/out"`; test -z "$ac_out"; } &&
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13963 which seems to be undefined. Please make sure it is defined" >&5
13964 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13965 which seems to be undefined. Please make sure it is defined" >&2;}
13967 rm -f "$ac_tmp/stdin"
13969 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13970 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13972 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13978 if test x"$ac_file" != x-; then
13980 $as_echo "/* $configure_input */" \
13981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
13982 } >"$ac_tmp/config.h" \
13983 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13984 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13986 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13989 mv "$ac_tmp/config.h" "$ac_file" \
13990 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13993 $as_echo "/* $configure_input */" \
13994 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
13995 || as_fn_error $? "could not create -" "$LINENO" 5
13997 # Compute "$ac_file"'s index in $config_headers.
14000 for _am_header in $config_headers :; do
14001 case $_am_header in
14002 $_am_arg | $_am_arg:* )
14005 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14008 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14009 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14010 X"$_am_arg" : 'X\(//\)[^/]' \| \
14011 X"$_am_arg" : 'X\(//\)$' \| \
14012 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14013 $as_echo X"$_am_arg" |
14014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14018 /^X\(\/\/\)[^/].*/{
14030 s/.*/./; q'`/stamp-h$_am_stamp_count
14033 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14034 $as_echo "$as_me: executing $ac_file commands" >&6;}
14039 case $ac_file$ac_mode in
14040 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14041 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14042 # are listed without --file. Let's play safe and only enable the eval
14043 # if we detect the quoting.
14044 case $CONFIG_FILES in
14045 *\'*) eval set x "$CONFIG_FILES" ;;
14046 *) set x $CONFIG_FILES ;;
14051 # Strip MF so we end up with the name of the file.
14052 mf=`echo "$mf" | sed -e 's/:.*$//'`
14053 # Check whether this is an Automake generated Makefile or not.
14054 # We used to match only the files named `Makefile.in', but
14055 # some people rename them; so instead we look at the file content.
14056 # Grep'ing the first line is not enough: some people post-process
14057 # each Makefile.in and add a new line on top of each file to say so.
14058 # Grep'ing the whole file is not good either: AIX grep has a line
14059 # limit of 2048, but all sed's we know have understand at least 4000.
14060 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14061 dirpart=`$as_dirname -- "$mf" ||
14062 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14063 X"$mf" : 'X\(//\)[^/]' \| \
14064 X"$mf" : 'X\(//\)$' \| \
14065 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14071 /^X\(\/\/\)[^/].*/{
14087 # Extract the definition of DEPDIR, am__include, and am__quote
14088 # from the Makefile without running `make'.
14089 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14090 test -z "$DEPDIR" && continue
14091 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14092 test -z "am__include" && continue
14093 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14094 # When using ansi2knr, U may be empty or an underscore; expand it
14095 U=`sed -n 's/^U = //p' < "$mf"`
14096 # Find all dependency output files, they are included files with
14097 # $(DEPDIR) in their names. We invoke sed twice because it is the
14098 # simplest approach to changing $(DEPDIR) to its actual value in the
14100 for file in `sed -n "
14101 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14102 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14103 # Make sure the directory exists.
14104 test -f "$dirpart/$file" && continue
14105 fdir=`$as_dirname -- "$file" ||
14106 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14107 X"$file" : 'X\(//\)[^/]' \| \
14108 X"$file" : 'X\(//\)$' \| \
14109 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14110 $as_echo X"$file" |
14111 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14115 /^X\(\/\/\)[^/].*/{
14128 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14129 # echo "creating $dirpart/$file"
14130 echo '# dummy' > "$dirpart/$file"
14137 # See if we are running on zsh, and set the options which allow our
14138 # commands through without removal of \ escapes.
14139 if test -n "${ZSH_VERSION+set}" ; then
14140 setopt NO_GLOB_SUBST
14143 cfgfile="${ofile}T"
14144 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14147 cat <<_LT_EOF >> "$cfgfile"
14150 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14151 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14152 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14153 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14155 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14156 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14158 # Written by Gordon Matzigkeit, 1996
14160 # This file is part of GNU Libtool.
14162 # GNU Libtool is free software; you can redistribute it and/or
14163 # modify it under the terms of the GNU General Public License as
14164 # published by the Free Software Foundation; either version 2 of
14165 # the License, or (at your option) any later version.
14167 # As a special exception to the GNU General Public License,
14168 # if you distribute this file as part of a program or library that
14169 # is built using GNU Libtool, you may include this file under the
14170 # same distribution terms that you use for the rest of that program.
14172 # GNU Libtool is distributed in the hope that it will be useful,
14173 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14174 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14175 # GNU General Public License for more details.
14177 # You should have received a copy of the GNU General Public License
14178 # along with GNU Libtool; see the file COPYING. If not, a copy
14179 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14180 # obtained by writing to the Free Software Foundation, Inc.,
14181 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14184 # The names of the tagged configurations supported by this script.
14187 # ### BEGIN LIBTOOL CONFIG
14189 # Which release of libtool.m4 was used?
14190 macro_version=$macro_version
14191 macro_revision=$macro_revision
14193 # Whether or not to build shared libraries.
14194 build_libtool_libs=$enable_shared
14196 # Whether or not to build static libraries.
14197 build_old_libs=$enable_static
14199 # What type of objects to build.
14202 # Whether or not to optimize for fast installation.
14203 fast_install=$enable_fast_install
14205 # Shell to use when invoking shell scripts.
14208 # An echo program that protects backslashes.
14212 host_alias=$host_alias
14216 # The build system.
14217 build_alias=$build_alias
14221 # A sed program that does not truncate output.
14224 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14225 Xsed="\$SED -e 1s/^X//"
14227 # A grep program that handles long lines.
14233 # A literal string matcher.
14236 # A BSD- or MS-compatible name lister.
14239 # Whether we need soft or hard links.
14242 # What is the maximum length of a command?
14243 max_cmd_len=$max_cmd_len
14245 # Object file suffix (normally "o").
14248 # Executable file suffix (normally "").
14251 # whether the shell understands "unset".
14254 # turn spaces into newlines.
14257 # turn newlines into spaces.
14260 # convert \$build file names to \$host format.
14261 to_host_file_cmd=$lt_cv_to_host_file_cmd
14263 # convert \$build files to toolchain format.
14264 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14266 # An object symbol dumper.
14267 OBJDUMP=$lt_OBJDUMP
14269 # Method to check whether dependent libraries are shared objects.
14270 deplibs_check_method=$lt_deplibs_check_method
14272 # Command to use when deplibs_check_method = "file_magic".
14273 file_magic_cmd=$lt_file_magic_cmd
14275 # How to find potential files when deplibs_check_method = "file_magic".
14276 file_magic_glob=$lt_file_magic_glob
14278 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14279 want_nocaseglob=$lt_want_nocaseglob
14281 # DLL creation program.
14282 DLLTOOL=$lt_DLLTOOL
14284 # Command to associate shared and link libraries.
14285 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14290 # Flags to create an archive.
14291 AR_FLAGS=$lt_AR_FLAGS
14293 # How to feed a file listing to the archiver.
14294 archiver_list_spec=$lt_archiver_list_spec
14296 # A symbol stripping program.
14299 # Commands used to install an old-style archive.
14301 old_postinstall_cmds=$lt_old_postinstall_cmds
14302 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14304 # Whether to use a lock for old archive extraction.
14305 lock_old_archive_extraction=$lock_old_archive_extraction
14310 # LTCC compiler flags.
14311 LTCFLAGS=$lt_CFLAGS
14313 # Take the output of nm and produce a listing of raw symbols and C names.
14314 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14316 # Transform the output of nm in a proper C declaration.
14317 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14319 # Transform the output of nm in a C name address pair.
14320 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14322 # Transform the output of nm in a C name address pair when lib prefix is needed.
14323 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14325 # Specify filename containing input files for \$NM.
14326 nm_file_list_spec=$lt_nm_file_list_spec
14328 # The root where to search for dependent libraries,and in which our libraries should be installed.
14329 lt_sysroot=$lt_sysroot
14331 # The name of the directory that contains temporary libtool files.
14334 # Used to examine libraries when file_magic_cmd begins with "file".
14335 MAGIC_CMD=$MAGIC_CMD
14337 # Must we lock files when doing compilation?
14338 need_locks=$lt_need_locks
14341 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14343 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14344 DSYMUTIL=$lt_DSYMUTIL
14346 # Tool to change global to local symbols on Mac OS X.
14349 # Tool to manipulate fat objects and archives on Mac OS X.
14352 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14355 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14356 OTOOL64=$lt_OTOOL64
14358 # Old archive suffix (normally "a").
14361 # Shared library suffix (normally ".so").
14362 shrext_cmds=$lt_shrext_cmds
14364 # The commands to extract the exported symbol list from a shared archive.
14365 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14367 # Variables whose values should be saved in libtool wrapper scripts and
14368 # restored at link time.
14369 variables_saved_for_relink=$lt_variables_saved_for_relink
14371 # Do we need the "lib" prefix for modules?
14372 need_lib_prefix=$need_lib_prefix
14374 # Do we need a version for libraries?
14375 need_version=$need_version
14377 # Library versioning type.
14378 version_type=$version_type
14380 # Shared library runtime path variable.
14381 runpath_var=$runpath_var
14383 # Shared library path variable.
14384 shlibpath_var=$shlibpath_var
14386 # Is shlibpath searched before the hard-coded library search path?
14387 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14389 # Format of library name prefix.
14390 libname_spec=$lt_libname_spec
14392 # List of archive names. First name is the real one, the rest are links.
14393 # The last name is the one that the linker finds with -lNAME
14394 library_names_spec=$lt_library_names_spec
14396 # The coded name of the library, if different from the real name.
14397 soname_spec=$lt_soname_spec
14399 # Permission mode override for installation of shared libraries.
14400 install_override_mode=$lt_install_override_mode
14402 # Command to use after installation of a shared archive.
14403 postinstall_cmds=$lt_postinstall_cmds
14405 # Command to use after uninstallation of a shared archive.
14406 postuninstall_cmds=$lt_postuninstall_cmds
14408 # Commands used to finish a libtool library installation in a directory.
14409 finish_cmds=$lt_finish_cmds
14411 # As "finish_cmds", except a single script fragment to be evaled but
14413 finish_eval=$lt_finish_eval
14415 # Whether we should hardcode library paths into libraries.
14416 hardcode_into_libs=$hardcode_into_libs
14418 # Compile-time system search path for libraries.
14419 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14421 # Run-time system search path for libraries.
14422 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14424 # Whether dlopen is supported.
14425 dlopen_support=$enable_dlopen
14427 # Whether dlopen of programs is supported.
14428 dlopen_self=$enable_dlopen_self
14430 # Whether dlopen of statically linked programs is supported.
14431 dlopen_self_static=$enable_dlopen_self_static
14433 # Commands to strip libraries.
14434 old_striplib=$lt_old_striplib
14435 striplib=$lt_striplib
14438 # The linker used to build libraries.
14441 # How to create reloadable object files.
14442 reload_flag=$lt_reload_flag
14443 reload_cmds=$lt_reload_cmds
14445 # Commands used to build an old-style archive.
14446 old_archive_cmds=$lt_old_archive_cmds
14448 # A language specific compiler.
14451 # Is the compiler the GNU compiler?
14454 # Compiler flag to turn off builtin functions.
14455 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14457 # Additional compiler flags for building library objects.
14458 pic_flag=$lt_lt_prog_compiler_pic
14460 # How to pass a linker flag through the compiler.
14461 wl=$lt_lt_prog_compiler_wl
14463 # Compiler flag to prevent dynamic linking.
14464 link_static_flag=$lt_lt_prog_compiler_static
14466 # Does compiler simultaneously support -c and -o options?
14467 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14469 # Whether or not to add -lc for building shared libraries.
14470 build_libtool_need_lc=$archive_cmds_need_lc
14472 # Whether or not to disallow shared libs when runtime libs are static.
14473 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14475 # Compiler flag to allow reflexive dlopens.
14476 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14478 # Compiler flag to generate shared objects directly from archives.
14479 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14481 # Whether the compiler copes with passing no objects directly.
14482 compiler_needs_object=$lt_compiler_needs_object
14484 # Create an old-style archive from a shared archive.
14485 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14487 # Create a temporary old-style archive to link instead of a shared archive.
14488 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14490 # Commands used to build a shared archive.
14491 archive_cmds=$lt_archive_cmds
14492 archive_expsym_cmds=$lt_archive_expsym_cmds
14494 # Commands used to build a loadable module if different from building
14495 # a shared archive.
14496 module_cmds=$lt_module_cmds
14497 module_expsym_cmds=$lt_module_expsym_cmds
14499 # Whether we are building with GNU ld or not.
14500 with_gnu_ld=$lt_with_gnu_ld
14502 # Flag that allows shared libraries with undefined symbols to be built.
14503 allow_undefined_flag=$lt_allow_undefined_flag
14505 # Flag that enforces no undefined symbols.
14506 no_undefined_flag=$lt_no_undefined_flag
14508 # Flag to hardcode \$libdir into a binary during linking.
14509 # This must work even if \$libdir does not exist
14510 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14512 # If ld is used when linking, flag to hardcode \$libdir into a binary
14513 # during linking. This must work even if \$libdir does not exist.
14514 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14516 # Whether we need a single "-rpath" flag with a separated argument.
14517 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14519 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14520 # DIR into the resulting binary.
14521 hardcode_direct=$hardcode_direct
14523 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14524 # DIR into the resulting binary and the resulting library dependency is
14525 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14526 # library is relocated.
14527 hardcode_direct_absolute=$hardcode_direct_absolute
14529 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14530 # into the resulting binary.
14531 hardcode_minus_L=$hardcode_minus_L
14533 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14534 # into the resulting binary.
14535 hardcode_shlibpath_var=$hardcode_shlibpath_var
14537 # Set to "yes" if building a shared library automatically hardcodes DIR
14538 # into the library and all subsequent libraries and executables linked
14540 hardcode_automatic=$hardcode_automatic
14542 # Set to yes if linker adds runtime paths of dependent libraries
14543 # to runtime path list.
14544 inherit_rpath=$inherit_rpath
14546 # Whether libtool must link a program against all its dependency libraries.
14547 link_all_deplibs=$link_all_deplibs
14549 # Set to "yes" if exported symbols are required.
14550 always_export_symbols=$always_export_symbols
14552 # The commands to list exported symbols.
14553 export_symbols_cmds=$lt_export_symbols_cmds
14555 # Symbols that should not be listed in the preloaded symbols.
14556 exclude_expsyms=$lt_exclude_expsyms
14558 # Symbols that must always be exported.
14559 include_expsyms=$lt_include_expsyms
14561 # Commands necessary for linking programs (against libraries) with templates.
14562 prelink_cmds=$lt_prelink_cmds
14564 # Commands necessary for finishing linking programs.
14565 postlink_cmds=$lt_postlink_cmds
14567 # Specify filename containing input files.
14568 file_list_spec=$lt_file_list_spec
14570 # How to hardcode a shared library path into an executable.
14571 hardcode_action=$hardcode_action
14573 # ### END LIBTOOL CONFIG
14579 cat <<\_LT_EOF >> "$cfgfile"
14580 # AIX sometimes has problems with the GCC collect2 program. For some
14581 # reason, if we set the COLLECT_NAMES environment variable, the problems
14582 # vanish in a puff of smoke.
14583 if test "X${COLLECT_NAMES+set}" != Xset; then
14585 export COLLECT_NAMES
14592 ltmain="$ac_aux_dir/ltmain.sh"
14595 # We use sed instead of cat because bash on DJGPP gets confused if
14596 # if finds mixed CR/LF and LF-only lines. Since sed operates in
14597 # text mode, it properly converts lines to CR/LF. This bash problem
14598 # is reportedly fixed, but why not run on old versions too?
14599 sed '$q' "$ltmain" >> "$cfgfile" \
14600 || (rm -f "$cfgfile"; exit 1)
14602 if test x"$xsi_shell" = xyes; then
14603 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14607 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14608 \ * ) func_dirname_result="${3}" ;;\
14610 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14611 && mv -f "$cfgfile.tmp" "$cfgfile" \
14612 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14613 test 0 -eq $? || _lt_function_replace_fail=:
14616 sed -e '/^func_basename ()$/,/^} # func_basename /c\
14619 \ func_basename_result="${1##*/}"\
14620 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14621 && mv -f "$cfgfile.tmp" "$cfgfile" \
14622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14623 test 0 -eq $? || _lt_function_replace_fail=:
14626 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14627 func_dirname_and_basename ()\
14630 \ */*) func_dirname_result="${1%/*}${2}" ;;\
14631 \ * ) func_dirname_result="${3}" ;;\
14633 \ func_basename_result="${1##*/}"\
14634 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14635 && mv -f "$cfgfile.tmp" "$cfgfile" \
14636 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14637 test 0 -eq $? || _lt_function_replace_fail=:
14640 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14643 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14644 \ # positional parameters, so assign one to ordinary parameter first.\
14645 \ func_stripname_result=${3}\
14646 \ func_stripname_result=${func_stripname_result#"${1}"}\
14647 \ func_stripname_result=${func_stripname_result%"${2}"}\
14648 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14649 && mv -f "$cfgfile.tmp" "$cfgfile" \
14650 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14651 test 0 -eq $? || _lt_function_replace_fail=:
14654 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14655 func_split_long_opt ()\
14657 \ func_split_long_opt_name=${1%%=*}\
14658 \ func_split_long_opt_arg=${1#*=}\
14659 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14660 && mv -f "$cfgfile.tmp" "$cfgfile" \
14661 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14662 test 0 -eq $? || _lt_function_replace_fail=:
14665 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14666 func_split_short_opt ()\
14668 \ func_split_short_opt_arg=${1#??}\
14669 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14670 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14671 && mv -f "$cfgfile.tmp" "$cfgfile" \
14672 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14673 test 0 -eq $? || _lt_function_replace_fail=:
14676 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14680 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14681 \ *) func_lo2o_result=${1} ;;\
14683 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14684 && mv -f "$cfgfile.tmp" "$cfgfile" \
14685 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14686 test 0 -eq $? || _lt_function_replace_fail=:
14689 sed -e '/^func_xform ()$/,/^} # func_xform /c\
14692 func_xform_result=${1%.*}.lo\
14693 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14694 && mv -f "$cfgfile.tmp" "$cfgfile" \
14695 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14696 test 0 -eq $? || _lt_function_replace_fail=:
14699 sed -e '/^func_arith ()$/,/^} # func_arith /c\
14702 func_arith_result=$(( $* ))\
14703 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14704 && mv -f "$cfgfile.tmp" "$cfgfile" \
14705 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14706 test 0 -eq $? || _lt_function_replace_fail=:
14709 sed -e '/^func_len ()$/,/^} # func_len /c\
14712 func_len_result=${#1}\
14713 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14714 && mv -f "$cfgfile.tmp" "$cfgfile" \
14715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14716 test 0 -eq $? || _lt_function_replace_fail=:
14720 if test x"$lt_shell_append" = xyes; then
14721 sed -e '/^func_append ()$/,/^} # func_append /c\
14724 eval "${1}+=\\${2}"\
14725 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14726 && mv -f "$cfgfile.tmp" "$cfgfile" \
14727 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14728 test 0 -eq $? || _lt_function_replace_fail=:
14731 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14732 func_append_quoted ()\
14734 \ func_quote_for_eval "${2}"\
14735 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14736 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14737 && mv -f "$cfgfile.tmp" "$cfgfile" \
14738 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14739 test 0 -eq $? || _lt_function_replace_fail=:
14742 # Save a `func_append' function call where possible by direct use of '+='
14743 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14744 && mv -f "$cfgfile.tmp" "$cfgfile" \
14745 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14746 test 0 -eq $? || _lt_function_replace_fail=:
14748 # Save a `func_append' function call even when '+=' is not available
14749 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14750 && mv -f "$cfgfile.tmp" "$cfgfile" \
14751 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14752 test 0 -eq $? || _lt_function_replace_fail=:
14755 if test x"$_lt_function_replace_fail" = x":"; then
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14757 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14761 mv -f "$cfgfile" "$ofile" ||
14762 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14773 ac_clean_files=$ac_clean_files_save
14775 test $ac_write_fail = 0 ||
14776 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14779 # configure is writing to config.log, and then calls config.status.
14780 # config.status does its own redirection, appending to config.log.
14781 # Unfortunately, on DOS this fails, as config.log is still kept open
14782 # by configure, so config.status won't be able to write to it; its
14783 # output is simply discarded. So we exec the FD to /dev/null,
14784 # effectively closing config.log, so it can be properly (re)opened and
14785 # appended to by config.status. When coming back to configure, we
14786 # need to make the FD available again.
14787 if test "$no_create" != yes; then
14789 ac_config_status_args=
14790 test "$silent" = yes &&
14791 ac_config_status_args="$ac_config_status_args --quiet"
14793 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14795 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14796 # would make configure fail if this is the last instruction.
14797 $ac_cs_success || as_fn_exit 1
14799 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14801 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}