2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for EXIF library 0.6.21.
5 # Report bugs to <libexif-devel@lists.sourceforge.net>.
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: libexif-devel@lists.sourceforge.net about your system,
251 $0: including any error possibly output before this
252 $0: message. Then install a modern shell, or manually run
253 $0: the script 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='EXIF library'
572 PACKAGE_TARNAME='libexif'
573 PACKAGE_VERSION='0.6.21'
574 PACKAGE_STRING='EXIF library 0.6.21'
575 PACKAGE_BUGREPORT='libexif-devel@lists.sourceforge.net'
578 ac_unique_file="libexif/exif-data.h"
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
634 ENABLE_INTERNAL_DOCS_FALSE
635 ENABLE_INTERNAL_DOCS_TRUE
636 HTML_APIDOC_INTERNALS_DIR
704 MAINTAINER_MODE_FALSE
714 INSTALL_STRIP_PROGRAM
756 program_transform_name
769 enable_option_checking
770 enable_maintainer_mode
772 enable_dependency_tracking
789 ac_precious_vars='build_alias
800 # Initialize some variables set by options.
802 ac_init_version=false
803 ac_unrecognized_opts=
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name=s,x,x,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir='${exec_prefix}/bin'
829 sbindir='${exec_prefix}/sbin'
830 libexecdir='${exec_prefix}/libexec'
831 datarootdir='${prefix}/share'
832 datadir='${datarootdir}'
833 sysconfdir='${prefix}/etc'
834 sharedstatedir='${prefix}/com'
835 localstatedir='${prefix}/var'
836 includedir='${prefix}/include'
837 oldincludedir='/usr/include'
838 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir='${datarootdir}/info'
844 libdir='${exec_prefix}/lib'
845 localedir='${datarootdir}/locale'
846 mandir='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\$ac_option
860 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
865 # Accept the important Cygnus configure options, so we can diagnose typos.
867 case $ac_dashdash$ac_option in
871 -bindir | --bindir | --bindi | --bind | --bin | --bi)
873 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
876 -build | --build | --buil | --bui | --bu)
877 ac_prev=build_alias ;;
878 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
879 build_alias=$ac_optarg ;;
881 -cache-file | --cache-file | --cache-fil | --cache-fi \
882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
883 ac_prev=cache_file ;;
884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
886 cache_file=$ac_optarg ;;
889 cache_file=config.cache ;;
891 -datadir | --datadir | --datadi | --datad)
893 -datadir=* | --datadir=* | --datadi=* | --datad=*)
894 datadir=$ac_optarg ;;
896 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
897 | --dataroo | --dataro | --datar)
898 ac_prev=datarootdir ;;
899 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
900 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
901 datarootdir=$ac_optarg ;;
903 -disable-* | --disable-*)
904 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907 as_fn_error $? "invalid feature name: $ac_useropt"
908 ac_useropt_orig=$ac_useropt
909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
915 ac_unrecognized_sep=', ';;
917 eval enable_$ac_useropt=no ;;
919 -docdir | --docdir | --docdi | --doc | --do)
921 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
924 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
926 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
929 -enable-* | --enable-*)
930 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
931 # Reject names that are not valid shell variable names.
932 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
933 as_fn_error $? "invalid feature name: $ac_useropt"
934 ac_useropt_orig=$ac_useropt
935 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
936 case $ac_user_opts in
940 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
941 ac_unrecognized_sep=', ';;
943 eval enable_$ac_useropt=\$ac_optarg ;;
945 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
946 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
947 | --exec | --exe | --ex)
948 ac_prev=exec_prefix ;;
949 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
950 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
951 | --exec=* | --exe=* | --ex=*)
952 exec_prefix=$ac_optarg ;;
954 -gas | --gas | --ga | --g)
955 # Obsolete; use --with-gas.
958 -help | --help | --hel | --he | -h)
960 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
961 ac_init_help=recursive ;;
962 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
963 ac_init_help=short ;;
965 -host | --host | --hos | --ho)
966 ac_prev=host_alias ;;
967 -host=* | --host=* | --hos=* | --ho=*)
968 host_alias=$ac_optarg ;;
970 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
972 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
974 htmldir=$ac_optarg ;;
976 -includedir | --includedir | --includedi | --included | --include \
977 | --includ | --inclu | --incl | --inc)
978 ac_prev=includedir ;;
979 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
980 | --includ=* | --inclu=* | --incl=* | --inc=*)
981 includedir=$ac_optarg ;;
983 -infodir | --infodir | --infodi | --infod | --info | --inf)
985 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
986 infodir=$ac_optarg ;;
988 -libdir | --libdir | --libdi | --libd)
990 -libdir=* | --libdir=* | --libdi=* | --libd=*)
993 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
994 | --libexe | --libex | --libe)
995 ac_prev=libexecdir ;;
996 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
997 | --libexe=* | --libex=* | --libe=*)
998 libexecdir=$ac_optarg ;;
1000 -localedir | --localedir | --localedi | --localed | --locale)
1001 ac_prev=localedir ;;
1002 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1003 localedir=$ac_optarg ;;
1005 -localstatedir | --localstatedir | --localstatedi | --localstated \
1006 | --localstate | --localstat | --localsta | --localst | --locals)
1007 ac_prev=localstatedir ;;
1008 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1009 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1010 localstatedir=$ac_optarg ;;
1012 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1014 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1015 mandir=$ac_optarg ;;
1017 -nfp | --nfp | --nf)
1018 # Obsolete; use --without-fp.
1021 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1022 | --no-cr | --no-c | -n)
1025 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1026 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1029 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1030 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1031 | --oldin | --oldi | --old | --ol | --o)
1032 ac_prev=oldincludedir ;;
1033 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1034 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1035 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1036 oldincludedir=$ac_optarg ;;
1038 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1040 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1041 prefix=$ac_optarg ;;
1043 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1044 | --program-pre | --program-pr | --program-p)
1045 ac_prev=program_prefix ;;
1046 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1047 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1048 program_prefix=$ac_optarg ;;
1050 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1051 | --program-suf | --program-su | --program-s)
1052 ac_prev=program_suffix ;;
1053 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1054 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1055 program_suffix=$ac_optarg ;;
1057 -program-transform-name | --program-transform-name \
1058 | --program-transform-nam | --program-transform-na \
1059 | --program-transform-n | --program-transform- \
1060 | --program-transform | --program-transfor \
1061 | --program-transfo | --program-transf \
1062 | --program-trans | --program-tran \
1063 | --progr-tra | --program-tr | --program-t)
1064 ac_prev=program_transform_name ;;
1065 -program-transform-name=* | --program-transform-name=* \
1066 | --program-transform-nam=* | --program-transform-na=* \
1067 | --program-transform-n=* | --program-transform-=* \
1068 | --program-transform=* | --program-transfor=* \
1069 | --program-transfo=* | --program-transf=* \
1070 | --program-trans=* | --program-tran=* \
1071 | --progr-tra=* | --program-tr=* | --program-t=*)
1072 program_transform_name=$ac_optarg ;;
1074 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1076 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1077 pdfdir=$ac_optarg ;;
1079 -psdir | --psdir | --psdi | --psd | --ps)
1081 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 | -silent | --silent | --silen | --sile | --sil)
1088 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1090 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1092 sbindir=$ac_optarg ;;
1094 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1095 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1096 | --sharedst | --shareds | --shared | --share | --shar \
1098 ac_prev=sharedstatedir ;;
1099 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1100 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1101 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1103 sharedstatedir=$ac_optarg ;;
1105 -site | --site | --sit)
1107 -site=* | --site=* | --sit=*)
1110 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1112 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1113 srcdir=$ac_optarg ;;
1115 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1116 | --syscon | --sysco | --sysc | --sys | --sy)
1117 ac_prev=sysconfdir ;;
1118 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1119 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1120 sysconfdir=$ac_optarg ;;
1122 -target | --target | --targe | --targ | --tar | --ta | --t)
1123 ac_prev=target_alias ;;
1124 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1125 target_alias=$ac_optarg ;;
1127 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1130 -version | --version | --versio | --versi | --vers | -V)
1131 ac_init_version=: ;;
1134 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval with_$ac_useropt=\$ac_optarg ;;
1149 -without-* | --without-*)
1150 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1153 as_fn_error $? "invalid package name: $ac_useropt"
1154 ac_useropt_orig=$ac_useropt
1155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1156 case $ac_user_opts in
1160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1161 ac_unrecognized_sep=', ';;
1163 eval with_$ac_useropt=no ;;
1166 # Obsolete; use --with-x.
1169 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1170 | --x-incl | --x-inc | --x-in | --x-i)
1171 ac_prev=x_includes ;;
1172 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1173 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1174 x_includes=$ac_optarg ;;
1176 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1177 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1178 ac_prev=x_libraries ;;
1179 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1180 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1181 x_libraries=$ac_optarg ;;
1183 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1184 Try \`$0 --help' for more information"
1188 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1189 # Reject names that are not valid shell variable names.
1190 case $ac_envvar in #(
1191 '' | [0-9]* | *[!_$as_cr_alnum]* )
1192 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1194 eval $ac_envvar=\$ac_optarg
1195 export $ac_envvar ;;
1198 # FIXME: should be removed in autoconf 3.0.
1199 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1200 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1201 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1202 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1208 if test -n "$ac_prev"; then
1209 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1210 as_fn_error $? "missing argument to $ac_option"
1213 if test -n "$ac_unrecognized_opts"; then
1214 case $enable_option_checking in
1216 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1217 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1221 # Check all directory arguments for consistency.
1222 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1223 datadir sysconfdir sharedstatedir localstatedir includedir \
1224 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1225 libdir localedir mandir
1227 eval ac_val=\$$ac_var
1228 # Remove trailing slashes.
1231 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1232 eval $ac_var=\$ac_val;;
1234 # Be sure to have absolute directory names.
1236 [\\/$]* | ?:[\\/]* ) continue;;
1237 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1239 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x; then
1251 if test "x$build_alias" = x; then
1252 cross_compiling=maybe
1253 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used" >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1263 test "$silent" = yes && exec 6>/dev/null
1266 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di=`ls -di .` &&
1268 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1269 as_fn_error $? "working directory cannot be determined"
1270 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1271 as_fn_error $? "pwd does not report name of working directory"
1274 # Find the source files, if location was not specified.
1275 if test -z "$srcdir"; then
1276 ac_srcdir_defaulted=yes
1277 # Try the directory containing this script, then the parent directory.
1278 ac_confdir=`$as_dirname -- "$as_myself" ||
1279 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1280 X"$as_myself" : 'X\(//\)[^/]' \| \
1281 X"$as_myself" : 'X\(//\)$' \| \
1282 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1283 $as_echo X"$as_myself" |
1284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302 if test ! -r "$srcdir/$ac_unique_file"; then
1306 ac_srcdir_defaulted=no
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1309 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1310 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1312 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1314 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var in $ac_precious_vars; do
1327 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_${ac_var}_value=\$${ac_var}
1329 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures EXIF library 0.6.21 to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking ...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/libexif]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --program-prefix=PREFIX prepend PREFIX to installed program names
1399 --program-suffix=SUFFIX append SUFFIX to installed program names
1400 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1403 --build=BUILD configure for building on BUILD [guessed]
1404 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1408 if test -n "$ac_init_help"; then
1409 case $ac_init_help in
1410 short | recursive ) echo "Configuration of EXIF library 0.6.21:";;
1415 --disable-option-checking ignore unrecognized --enable/--with options
1416 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1417 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1418 --enable-maintainer-mode enable make rules and dependencies not useful
1419 (and sometimes confusing) to the casual installer
1420 --enable-silent-rules less verbose build output (undo: `make V=1')
1421 --disable-silent-rules verbose build output (undo: `make V=0')
1422 --disable-dependency-tracking speeds up one-time build
1423 --enable-dependency-tracking do not reject slow dependency extractors
1424 --enable-shared[=PKGS] build shared libraries [default=yes]
1425 --enable-static[=PKGS] build static libraries [default=yes]
1426 --enable-fast-install[=PKGS]
1427 optimize for fast installation [default=yes]
1428 --disable-libtool-lock avoid locking (might break parallel builds)
1429 --enable-ship-binaries Whether to ship binaries in the tarball [default=no]
1430 --disable-docs whether to create any documentation
1431 --enable-internal-docs Build internal code docs if doxygen available
1432 --disable-nls do not use Native Language Support
1433 --disable-rpath do not hardcode runtime library paths
1436 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1437 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1438 --with-pic try to use only PIC/non-PIC objects [default=use
1440 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1441 --with-sysroot=DIR Search for dependent libraries within DIR
1442 (or the compiler's sysroot if not specified).
1443 --with-doc-dir=PATH Where to install docs [default=autodetect]
1444 --with-gnu-ld assume the C compiler uses GNU ld default=no
1445 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1446 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1447 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1448 --without-libintl-prefix don't search for libintl in includedir and libdir
1450 Some influential environment variables:
1451 CC C compiler command
1452 CFLAGS C compiler flags
1453 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1454 nonstandard directory <lib dir>
1455 LIBS libraries to pass to the linker, e.g. -l<library>
1456 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1457 you have headers in a nonstandard directory <include dir>
1460 Use these variables to override the choices made by `configure' or to help
1461 it to find libraries and programs with nonstandard names/locations.
1463 Report bugs to <libexif-devel@lists.sourceforge.net>.
1468 if test "$ac_init_help" = "recursive"; then
1469 # If there are subdirs, report their specific --help.
1470 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1471 test -d "$ac_dir" ||
1472 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1479 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1480 # A ".." for each directory in $ac_dir_suffix.
1481 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1482 case $ac_top_builddir_sub in
1483 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1487 ac_abs_top_builddir=$ac_pwd
1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1489 # for backward compatibility:
1490 ac_top_builddir=$ac_top_build_prefix
1493 .) # We are building in place.
1495 ac_top_srcdir=$ac_top_builddir_sub
1496 ac_abs_top_srcdir=$ac_pwd ;;
1497 [\\/]* | ?:[\\/]* ) # Absolute name.
1498 ac_srcdir=$srcdir$ac_dir_suffix;
1499 ac_top_srcdir=$srcdir
1500 ac_abs_top_srcdir=$srcdir ;;
1502 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1503 ac_top_srcdir=$ac_top_build_prefix$srcdir
1504 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1508 cd "$ac_dir" || { ac_status=$?; continue; }
1509 # Check for guested configure.
1510 if test -f "$ac_srcdir/configure.gnu"; then
1512 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1513 elif test -f "$ac_srcdir/configure"; then
1515 $SHELL "$ac_srcdir/configure" --help=recursive
1517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1519 cd "$ac_pwd" || { ac_status=$?; break; }
1523 test -n "$ac_init_help" && exit $ac_status
1524 if $ac_init_version; then
1526 EXIF library configure 0.6.21
1527 generated by GNU Autoconf 2.68
1529 Copyright (C) 2010 Free Software Foundation, Inc.
1530 This configure script is free software; the Free Software Foundation
1531 gives unlimited permission to copy, distribute and modify it.
1536 ## ------------------------ ##
1537 ## Autoconf initialization. ##
1538 ## ------------------------ ##
1540 # ac_fn_c_try_compile LINENO
1541 # --------------------------
1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1543 ac_fn_c_try_compile ()
1545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1546 rm -f conftest.$ac_objext
1547 if { { ac_try="$ac_compile"
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_compile") 2>conftest.err
1556 if test -s conftest.err; then
1557 grep -v '^ *+' conftest.err >conftest.er1
1558 cat conftest.er1 >&5
1559 mv -f conftest.er1 conftest.err
1561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1562 test $ac_status = 0; } && {
1563 test -z "$ac_c_werror_flag" ||
1564 test ! -s conftest.err
1565 } && test -s conftest.$ac_objext; then :
1568 $as_echo "$as_me: failed program was:" >&5
1569 sed 's/^/| /' conftest.$ac_ext >&5
1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1574 as_fn_set_status $ac_retval
1576 } # ac_fn_c_try_compile
1578 # ac_fn_c_try_link LINENO
1579 # -----------------------
1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
1583 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584 rm -f conftest.$ac_objext conftest$ac_exeext
1585 if { { ac_try="$ac_link"
1587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_link") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } && {
1601 test -z "$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1603 } && test -s conftest$ac_exeext && {
1604 test "$cross_compiling" = yes ||
1605 $as_test_x conftest$ac_exeext
1609 $as_echo "$as_me: failed program was:" >&5
1610 sed 's/^/| /' conftest.$ac_ext >&5
1614 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1615 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1616 # interfere with the next link command; also delete a directory that is
1617 # left behind by Apple's compiler. We do this before executing the actions.
1618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 as_fn_set_status $ac_retval
1622 } # ac_fn_c_try_link
1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1625 # -------------------------------------------------------
1626 # Tests whether HEADER exists and can be compiled using the include files in
1627 # INCLUDES, setting the cache variable VAR accordingly.
1628 ac_fn_c_check_header_compile ()
1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1632 $as_echo_n "checking for $2... " >&6; }
1633 if eval \${$3+:} false; then :
1634 $as_echo_n "(cached) " >&6
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1641 if ac_fn_c_try_compile "$LINENO"; then :
1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1651 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1653 } # ac_fn_c_check_header_compile
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 if { { ac_try="$ac_cpp conftest.$ac_ext"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } > conftest.i && {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1692 # ac_fn_c_try_run LINENO
1693 # ----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695 # that executables *can* be run.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>&5
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710 { { case "(($ac_try" in
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_try") 2>&5
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; }; }; then :
1722 $as_echo "$as_me: program exited with status $ac_status" >&5
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1726 ac_retval=$ac_status
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1734 # ac_fn_c_check_func LINENO FUNC VAR
1735 # ----------------------------------
1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1737 ac_fn_c_check_func ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1749 #define $2 innocuous_$2
1751 /* System header to define __stub macros and hopefully few prototypes,
1752 which can conflict with char $2 (); below.
1753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1754 <limits.h> exists even on freestanding compilers. */
1757 # include <limits.h>
1759 # include <assert.h>
1764 /* Override any GCC internal prototype to avoid an error.
1765 Use char because int might match the return type of a GCC
1766 builtin and then its argument prototype would still apply. */
1771 /* The GNU C library defines this for functions which it implements
1772 to always fail with ENOSYS. Some functions are actually named
1773 something starting with __ and the normal name is an alias. */
1774 #if defined __stub_$2 || defined __stub___$2
1786 if ac_fn_c_try_link "$LINENO"; then :
1791 rm -f core conftest.err conftest.$ac_objext \
1792 conftest$ac_exeext conftest.$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796 $as_echo "$ac_res" >&6; }
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1799 } # ac_fn_c_check_func
1800 cat >config.log <<_ACEOF
1801 This file contains any messages produced by compilers while
1802 running configure, to aid debugging if configure makes a mistake.
1804 It was created by EXIF library $as_me 0.6.21, which was
1805 generated by GNU Autoconf 2.68. Invocation command line was
1817 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1818 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1819 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1820 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1821 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1823 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1824 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1826 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1827 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1828 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1829 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1830 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1831 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1832 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 test -z "$as_dir" && as_dir=.
1841 $as_echo "PATH: $as_dir"
1857 # Keep a trace of the command line.
1858 # Strip out --no-create and --no-recursion so they do not pile up.
1859 # Strip out --silent because we don't want to record it for future runs.
1860 # Also quote any args containing shell meta-characters.
1861 # Make two passes to allow for proper duplicate-argument suppression.
1865 ac_must_keep_next=false
1871 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1872 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1873 | -silent | --silent | --silen | --sile | --sil)
1876 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1879 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1881 as_fn_append ac_configure_args1 " '$ac_arg'"
1882 if test $ac_must_keep_next = true; then
1883 ac_must_keep_next=false # Got value, back to normal.
1886 *=* | --config-cache | -C | -disable-* | --disable-* \
1887 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1888 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1889 | -with-* | --with-* | -without-* | --without-* | --x)
1890 case "$ac_configure_args0 " in
1891 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1894 -* ) ac_must_keep_next=true ;;
1897 as_fn_append ac_configure_args " '$ac_arg'"
1902 { ac_configure_args0=; unset ac_configure_args0;}
1903 { ac_configure_args1=; unset ac_configure_args1;}
1905 # When interrupted or exit'd, cleanup temporary files, and complete
1906 # config.log. We remove comments because anyway the quotes in there
1907 # would cause problems or look ugly.
1908 # WARNING: Use '\'' to represent an apostrophe within the trap.
1909 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1910 trap 'exit_status=$?
1911 # Save into config.log some information that might help in debugging.
1915 $as_echo "## ---------------- ##
1916 ## Cache variables. ##
1917 ## ---------------- ##"
1919 # The following way of writing the cache mishandles newlines in values,
1921 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1922 eval ac_val=\$$ac_var
1926 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1927 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1930 _ | IFS | as_nl) ;; #(
1931 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1932 *) { eval $ac_var=; unset $ac_var;} ;;
1937 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1938 *${as_nl}ac_space=\ *)
1940 "s/'\''/'\''\\\\'\'''\''/g;
1941 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1944 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1951 $as_echo "## ----------------- ##
1952 ## Output variables. ##
1953 ## ----------------- ##"
1955 for ac_var in $ac_subst_vars
1957 eval ac_val=\$$ac_var
1959 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1961 $as_echo "$ac_var='\''$ac_val'\''"
1965 if test -n "$ac_subst_files"; then
1966 $as_echo "## ------------------- ##
1967 ## File substitutions. ##
1968 ## ------------------- ##"
1970 for ac_var in $ac_subst_files
1972 eval ac_val=\$$ac_var
1974 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1976 $as_echo "$ac_var='\''$ac_val'\''"
1981 if test -s confdefs.h; then
1982 $as_echo "## ----------- ##
1989 test "$ac_signal" != 0 &&
1990 $as_echo "$as_me: caught signal $ac_signal"
1991 $as_echo "$as_me: exit $exit_status"
1993 rm -f core *.core core.conftest.* &&
1994 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1997 for ac_signal in 1 2 13 15; do
1998 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2002 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2003 rm -f -r conftest* confdefs.h
2005 $as_echo "/* confdefs.h */" > confdefs.h
2007 # Predefined preprocessor variables.
2009 cat >>confdefs.h <<_ACEOF
2010 #define PACKAGE_NAME "$PACKAGE_NAME"
2013 cat >>confdefs.h <<_ACEOF
2014 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2017 cat >>confdefs.h <<_ACEOF
2018 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2021 cat >>confdefs.h <<_ACEOF
2022 #define PACKAGE_STRING "$PACKAGE_STRING"
2025 cat >>confdefs.h <<_ACEOF
2026 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2029 cat >>confdefs.h <<_ACEOF
2030 #define PACKAGE_URL "$PACKAGE_URL"
2034 # Let the site file select an alternate cache file if it wants to.
2035 # Prefer an explicitly selected file to automatically selected ones.
2038 if test -n "$CONFIG_SITE"; then
2039 # We do not want a PATH search for config.site.
2040 case $CONFIG_SITE in #((
2041 -*) ac_site_file1=./$CONFIG_SITE;;
2042 */*) ac_site_file1=$CONFIG_SITE;;
2043 *) ac_site_file1=./$CONFIG_SITE;;
2045 elif test "x$prefix" != xNONE; then
2046 ac_site_file1=$prefix/share/config.site
2047 ac_site_file2=$prefix/etc/config.site
2049 ac_site_file1=$ac_default_prefix/share/config.site
2050 ac_site_file2=$ac_default_prefix/etc/config.site
2052 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2054 test "x$ac_site_file" = xNONE && continue
2055 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2057 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2058 sed 's/^/| /' "$ac_site_file" >&5
2060 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2062 as_fn_error $? "failed to load site script $ac_site_file
2063 See \`config.log' for more details" "$LINENO" 5; }
2067 if test -r "$cache_file"; then
2068 # Some versions of bash will fail to source /dev/null (special files
2069 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2070 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2072 $as_echo "$as_me: loading cache $cache_file" >&6;}
2074 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2075 *) . "./$cache_file";;
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2080 $as_echo "$as_me: creating cache $cache_file" >&6;}
2084 # Check that the precious variables saved in the cache have kept the same
2086 ac_cache_corrupted=false
2087 for ac_var in $ac_precious_vars; do
2088 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2089 eval ac_new_set=\$ac_env_${ac_var}_set
2090 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2091 eval ac_new_val=\$ac_env_${ac_var}_value
2092 case $ac_old_set,$ac_new_set in
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2095 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2096 ac_cache_corrupted=: ;;
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2099 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2100 ac_cache_corrupted=: ;;
2103 if test "x$ac_old_val" != "x$ac_new_val"; then
2104 # differences in whitespace do not lead to failure.
2105 ac_old_val_w=`echo x $ac_old_val`
2106 ac_new_val_w=`echo x $ac_new_val`
2107 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2109 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2110 ac_cache_corrupted=:
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2113 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2114 eval $ac_var=\$ac_old_val
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2117 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2119 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2122 # Pass precious variables to config.status.
2123 if test "$ac_new_set" = set; then
2125 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2126 *) ac_arg=$ac_var=$ac_new_val ;;
2128 case " $ac_configure_args " in
2129 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2130 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2134 if $ac_cache_corrupted; then
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2138 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2139 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2141 ## -------------------- ##
2142 ## Main body of script. ##
2143 ## -------------------- ##
2146 ac_cpp='$CPP $CPPFLAGS'
2147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 ac_config_headers="$ac_config_headers config.h"
2156 am__api_version='1.11'
2159 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2160 if test -f "$ac_dir/install-sh"; then
2162 ac_install_sh="$ac_aux_dir/install-sh -c"
2164 elif test -f "$ac_dir/install.sh"; then
2166 ac_install_sh="$ac_aux_dir/install.sh -c"
2168 elif test -f "$ac_dir/shtool"; then
2170 ac_install_sh="$ac_aux_dir/shtool install -c"
2174 if test -z "$ac_aux_dir"; then
2175 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2178 # These three variables are undocumented and unsupported,
2179 # and are intended to be withdrawn in a future Autoconf release.
2180 # They can cause serious problems if a builder's source tree is in a directory
2181 # whose full name contains unusual characters.
2182 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2183 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2184 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2187 # Find a good install program. We prefer a C program (faster),
2188 # so one script is as good as another. But avoid the broken or
2189 # incompatible versions:
2190 # SysV /etc/install, /usr/sbin/install
2191 # SunOS /usr/etc/install
2192 # IRIX /sbin/install
2194 # AmigaOS /C/install, which installs bootblocks on floppy discs
2195 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2196 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2197 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2198 # OS/2's system install, which has a completely different semantic
2199 # ./install, which can be erroneously created by make from ./install.sh.
2200 # Reject install programs that cannot install multiple files.
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2202 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2203 if test -z "$INSTALL"; then
2204 if ${ac_cv_path_install+:} false; then :
2205 $as_echo_n "(cached) " >&6
2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2211 test -z "$as_dir" && as_dir=.
2212 # Account for people who put trailing slashes in PATH elements.
2213 case $as_dir/ in #((
2214 ./ | .// | /[cC]/* | \
2215 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2216 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2219 # OSF1 and SCO ODT 3.0 have their own names for install.
2220 # Don't use installbsd from OSF since it installs stuff as root
2222 for ac_prog in ginstall scoinst install; do
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2225 if test $ac_prog = install &&
2226 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2227 # AIX install. It has an incompatible calling convention.
2229 elif test $ac_prog = install &&
2230 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2231 # program-specific install script used by HP pwplus--don't use.
2234 rm -rf conftest.one conftest.two conftest.dir
2235 echo one > conftest.one
2236 echo two > conftest.two
2238 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2239 test -s conftest.one && test -s conftest.two &&
2240 test -s conftest.dir/conftest.one &&
2241 test -s conftest.dir/conftest.two
2243 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2256 rm -rf conftest.one conftest.two conftest.dir
2259 if test "${ac_cv_path_install+set}" = set; then
2260 INSTALL=$ac_cv_path_install
2262 # As a last resort, use the slow shell script. Don't cache a
2263 # value for INSTALL within a source directory, because that will
2264 # break other packages using the cache if that directory is
2265 # removed, or if the value is a relative name.
2266 INSTALL=$ac_install_sh
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2270 $as_echo "$INSTALL" >&6; }
2272 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2273 # It thinks the first close brace ends the variable substitution.
2274 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2276 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2278 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2281 $as_echo_n "checking whether build environment is sane... " >&6; }
2284 echo timestamp > conftest.file
2285 # Reject unsafe characters in $srcdir or the absolute working directory
2286 # name. Accept space and tab only in the latter.
2290 *[\\\"\#\$\&\'\`$am_lf]*)
2291 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2294 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2295 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2298 # Do `set' in a subshell so we don't clobber the current shell's
2299 # arguments. Must try -L first in case configure is actually a
2300 # symlink; some systems play weird games with the mod time of symlinks
2301 # (eg FreeBSD returns the mod time of the symlink's containing
2304 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2305 if test "$*" = "X"; then
2307 set X `ls -t "$srcdir/configure" conftest.file`
2310 if test "$*" != "X $srcdir/configure conftest.file" \
2311 && test "$*" != "X conftest.file $srcdir/configure"; then
2313 # If neither matched, then we have a broken ls. This can happen
2314 # if, for instance, CONFIG_SHELL is bash and it inherits a
2315 # broken ls alias from the environment. This has actually
2316 # happened. Such a system could not be considered "sane".
2317 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2318 alias in your environment" "$LINENO" 5
2321 test "$2" = conftest.file
2327 as_fn_error $? "newly created file is older than distributed files!
2328 Check your system clock" "$LINENO" 5
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2331 $as_echo "yes" >&6; }
2332 test "$program_prefix" != NONE &&
2333 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2334 # Use a double $ so make ignores it.
2335 test "$program_suffix" != NONE &&
2336 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2337 # Double any \ or $.
2338 # By default was `s,x,x', remove it if useless.
2339 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2340 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2342 # expand $ac_aux_dir to an absolute path
2343 am_aux_dir=`cd $ac_aux_dir && pwd`
2345 if test x"${MISSING+set}" != xset; then
2348 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2350 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2353 # Use eval to expand $SHELL
2354 if eval "$MISSING --run true"; then
2355 am_missing_run="$MISSING --run "
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2359 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2362 if test x"${install_sh}" != xset; then
2365 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2367 install_sh="\${SHELL} $am_aux_dir/install-sh"
2371 # Installed binaries are usually stripped using `strip' when the user
2372 # run `make install-strip'. However `strip' might not be the right
2373 # tool to use in cross-compilation environments, therefore Automake
2374 # will honor the `STRIP' environment variable to overrule this program.
2375 if test "$cross_compiling" != no; then
2376 if test -n "$ac_tool_prefix"; then
2377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2378 set dummy ${ac_tool_prefix}strip; ac_word=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if ${ac_cv_prog_STRIP+:} false; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$STRIP"; then
2385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir=.
2392 for ac_exec_ext in '' $ac_executable_extensions; do
2393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2394 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 STRIP=$ac_cv_prog_STRIP
2405 if test -n "$STRIP"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2407 $as_echo "$STRIP" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2415 if test -z "$ac_cv_prog_STRIP"; then
2417 # Extract the first word of "strip", so it can be a program name with args.
2418 set dummy strip; ac_word=$2
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2420 $as_echo_n "checking for $ac_word... " >&6; }
2421 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2422 $as_echo_n "(cached) " >&6
2424 if test -n "$ac_ct_STRIP"; then
2425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2431 test -z "$as_dir" && as_dir=.
2432 for ac_exec_ext in '' $ac_executable_extensions; do
2433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2434 ac_cv_prog_ac_ct_STRIP="strip"
2435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2444 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2445 if test -n "$ac_ct_STRIP"; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2447 $as_echo "$ac_ct_STRIP" >&6; }
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2450 $as_echo "no" >&6; }
2453 if test "x$ac_ct_STRIP" = x; then
2456 case $cross_compiling:$ac_tool_warned in
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2460 ac_tool_warned=yes ;;
2465 STRIP="$ac_cv_prog_STRIP"
2469 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2472 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2473 if test -z "$MKDIR_P"; then
2474 if ${ac_cv_path_mkdir+:} false; then :
2475 $as_echo_n "(cached) " >&6
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2481 test -z "$as_dir" && as_dir=.
2482 for ac_prog in mkdir gmkdir; do
2483 for ac_exec_ext in '' $ac_executable_extensions; do
2484 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2485 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2486 'mkdir (GNU coreutils) '* | \
2487 'mkdir (coreutils) '* | \
2488 'mkdir (fileutils) '4.1*)
2489 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2499 test -d ./--version && rmdir ./--version
2500 if test "${ac_cv_path_mkdir+set}" = set; then
2501 MKDIR_P="$ac_cv_path_mkdir -p"
2503 # As a last resort, use the slow shell script. Don't cache a
2504 # value for MKDIR_P within a source directory, because that will
2505 # break other packages using the cache if that directory is
2506 # removed, or if the value is a relative name.
2507 MKDIR_P="$ac_install_sh -d"
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2511 $as_echo "$MKDIR_P" >&6; }
2515 [\\/$]* | ?:[\\/]*) ;;
2516 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2519 for ac_prog in gawk mawk nawk awk
2521 # Extract the first word of "$ac_prog", so it can be a program name with args.
2522 set dummy $ac_prog; ac_word=$2
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2524 $as_echo_n "checking for $ac_word... " >&6; }
2525 if ${ac_cv_prog_AWK+:} false; then :
2526 $as_echo_n "(cached) " >&6
2528 if test -n "$AWK"; then
2529 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2535 test -z "$as_dir" && as_dir=.
2536 for ac_exec_ext in '' $ac_executable_extensions; do
2537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2538 ac_cv_prog_AWK="$ac_prog"
2539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2549 if test -n "$AWK"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2551 $as_echo "$AWK" >&6; }
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2554 $as_echo "no" >&6; }
2558 test -n "$AWK" && break
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2562 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2564 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2565 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2566 $as_echo_n "(cached) " >&6
2568 cat >conftest.make <<\_ACEOF
2571 @echo '@@@%%%=$(MAKE)=@@@%%%'
2573 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2574 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2576 eval ac_cv_prog_make_${ac_make}_set=yes;;
2578 eval ac_cv_prog_make_${ac_make}_set=no;;
2582 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2584 $as_echo "yes" >&6; }
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2588 $as_echo "no" >&6; }
2589 SET_MAKE="MAKE=${MAKE-make}"
2592 rm -rf .tst 2>/dev/null
2593 mkdir .tst 2>/dev/null
2594 if test -d .tst; then
2599 rmdir .tst 2>/dev/null
2601 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2602 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2603 # is not polluted with repeated "-I."
2604 am__isrc=' -I$(srcdir)'
2605 # test to see if srcdir already configured
2606 if test -f $srcdir/config.status; then
2607 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2611 # test whether we have cygpath
2612 if test -z "$CYGPATH_W"; then
2613 if (cygpath --version) >/dev/null 2>/dev/null; then
2614 CYGPATH_W='cygpath -w'
2621 # Define the identity of the package.
2626 cat >>confdefs.h <<_ACEOF
2627 #define PACKAGE "$PACKAGE"
2631 cat >>confdefs.h <<_ACEOF
2632 #define VERSION "$VERSION"
2635 # Some tools Automake needs.
2637 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2640 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2643 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2646 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2649 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2651 # We need awk for the "check" target. The system "awk" is bad on
2653 # Always define AMTAR for backward compatibility.
2655 AMTAR=${AMTAR-"${am_missing_run}tar"}
2657 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2665 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2666 # Check whether --enable-maintainer-mode was given.
2667 if test "${enable_maintainer_mode+set}" = set; then :
2668 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2670 USE_MAINTAINER_MODE=no
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2674 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2675 if test $USE_MAINTAINER_MODE = yes; then
2676 MAINTAINER_MODE_TRUE=
2677 MAINTAINER_MODE_FALSE='#'
2679 MAINTAINER_MODE_TRUE='#'
2680 MAINTAINER_MODE_FALSE=
2683 MAINT=$MAINTAINER_MODE_TRUE
2687 # Use the silent-rules feature when possible.
2689 # Check whether --enable-silent-rules was given.
2690 if test "${enable_silent_rules+set}" = set; then :
2691 enableval=$enable_silent_rules;
2694 case $enable_silent_rules in
2695 yes) AM_DEFAULT_VERBOSITY=0;;
2696 no) AM_DEFAULT_VERBOSITY=1;;
2697 *) AM_DEFAULT_VERBOSITY=1;;
2702 if test ! -d "$srcdir/m4m"; then
2704 You are missing the m4m/ directory in your top
2705 $PACKAGE_TARNAME source directory.
2707 You are probably using an ill-maintained CVS tree.
2713 and re-running autogen.sh might help.
2718 # make sure "cd" doesn't print anything on stdout
2719 if test x"${CDPATH+set}" = xset
2725 # make sure $() command substitution works
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX sh \$() command substitution" >&5
2727 $as_echo_n "checking for POSIX sh \$() command substitution... " >&6; }
2728 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar")" = "y`echo foobar`" # ''''
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2731 $as_echo "yes" >&6; }
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2734 $as_echo "no" >&6; }
2735 uname=`uname 2>&1` # ''
2736 uname_a=`uname -a 2>&1` # ''
2739 * POSIX sh \$() command substition does not work with this shell.
2741 * You are running a very rare species of shell. Please report this
2742 * sighting to <${PACKAGE_BUGREPORT}>:
2745 * uname-a=${uname_a}
2746 * Please also include your OS and version.
2748 * Run this configure script using a better (i.e. POSIX compliant) shell.
2756 gp_config_len3="$(expr "$gp_config_len" - 3)"
2758 while test "$n" -gt 0; do
2759 gp_config_empty="${gp_config_empty} "
2760 n="$(expr "$n" - 1)"
2763 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
2767 gp_config_msg="${gp_config_msg}
2772 gp_config_msg_len="$(expr "Source code location" : '.*')"
2773 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
2774 gp_config_msg_lhs="$(expr "Source code location" : "\(.\{0,${gp_config_len3}\}\)")..:"
2776 gp_config_msg_lhs="$(expr "Source code location:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
2778 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${srcdir}
2788 LIBEXIF_CURRENT_MIN=`expr $LIBEXIF_CURRENT - $LIBEXIF_AGE`
2790 LIBEXIF_VERSION_INFO="$LIBEXIF_CURRENT:$LIBEXIF_REVISION:$LIBEXIF_AGE"
2794 ac_cpp='$CPP $CPPFLAGS'
2795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2798 if test -n "$ac_tool_prefix"; then
2799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2800 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2802 $as_echo_n "checking for $ac_word... " >&6; }
2803 if ${ac_cv_prog_CC+:} false; then :
2804 $as_echo_n "(cached) " >&6
2806 if test -n "$CC"; then
2807 ac_cv_prog_CC="$CC" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2816 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$ac_cv_prog_CC"; then
2839 # Extract the first word of "gcc", so it can be a program name with args.
2840 set dummy gcc; ac_word=$2
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2842 $as_echo_n "checking for $ac_word... " >&6; }
2843 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2844 $as_echo_n "(cached) " >&6
2846 if test -n "$ac_ct_CC"; then
2847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2853 test -z "$as_dir" && as_dir=.
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2856 ac_cv_prog_ac_ct_CC="gcc"
2857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2867 if test -n "$ac_ct_CC"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2869 $as_echo "$ac_ct_CC" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2875 if test "x$ac_ct_CC" = x; then
2878 case $cross_compiling:$ac_tool_warned in
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2882 ac_tool_warned=yes ;;
2890 if test -z "$CC"; then
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2893 set dummy ${ac_tool_prefix}cc; ac_word=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if ${ac_cv_prog_CC+:} false; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC="$CC" # Let the user override the test.
2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir=.
2907 for ac_exec_ext in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC="${ac_tool_prefix}cc"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2931 if test -z "$CC"; then
2932 # Extract the first word of "cc", so it can be a program name with args.
2933 set dummy cc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if ${ac_cv_prog_CC+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$CC"; then
2940 ac_cv_prog_CC="$CC" # Let the user override the test.
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir=.
2948 for ac_exec_ext in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2951 ac_prog_rejected=yes
2955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 if test $ac_prog_rejected = yes; then
2963 # We found a bogon in the path, so make sure we never use it.
2964 set dummy $ac_cv_prog_CC
2966 if test $# != 0; then
2967 # We chose a different compiler from the bogus one.
2968 # However, it has the same basename, so the bogon will be chosen
2969 # first if we set CC to just the basename; use the full file name.
2971 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2977 if test -n "$CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979 $as_echo "$CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 for ac_prog in cl.exe
2991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2992 set dummy $ac_tool_prefix$ac_prog; 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.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3019 if test -n "$CC"; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3021 $as_echo "$CC" >&6; }
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3024 $as_echo "no" >&6; }
3028 test -n "$CC" && break
3031 if test -z "$CC"; then
3033 for ac_prog in cl.exe
3035 # Extract the first word of "$ac_prog", so it can be a program name with args.
3036 set dummy $ac_prog; ac_word=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$ac_ct_CC"; then
3043 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 ac_cv_prog_ac_ct_CC="$ac_prog"
3053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3063 if test -n "$ac_ct_CC"; then
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065 $as_echo "$ac_ct_CC" >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068 $as_echo "no" >&6; }
3072 test -n "$ac_ct_CC" && break
3075 if test "x$ac_ct_CC" = x; then
3078 case $cross_compiling:$ac_tool_warned in
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3082 ac_tool_warned=yes ;;
3091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093 as_fn_error $? "no acceptable C compiler found in \$PATH
3094 See \`config.log' for more details" "$LINENO" 5; }
3096 # Provide some information about the compiler.
3097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3100 for ac_option in --version -v -V -qversion; do
3101 { { ac_try="$ac_compiler $ac_option >&5"
3103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3107 $as_echo "$ac_try_echo"; } >&5
3108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3110 if test -s conftest.err; then
3112 ... rest of stderr output deleted ...
3113 10q' conftest.err >conftest.er1
3114 cat conftest.er1 >&5
3116 rm -f conftest.er1 conftest.err
3117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3118 test $ac_status = 0; }
3121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3122 /* end confdefs.h. */
3132 ac_clean_files_save=$ac_clean_files
3133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3134 # Try to create an executable without -o first, disregard a.out.
3135 # It will help us diagnose broken compilers, and finding out an intuition
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3138 $as_echo_n "checking whether the C compiler works... " >&6; }
3139 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3141 # The possible output files:
3142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3145 for ac_file in $ac_files
3148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3154 if { { ac_try="$ac_link_default"
3156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link_default") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }; then :
3165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3168 # so that the user can short-circuit this test for compilers unknown to
3170 for ac_file in $ac_files ''
3172 test -f "$ac_file" || continue
3174 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3177 # We found the default executable, but exeext='' is most
3181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3183 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3185 # We set ac_cv_exeext here because the later test for it is not
3186 # safe: cross compilers may not add the suffix if given an `-o'
3187 # argument, so we may need to know it at that point already.
3188 # Even if this section looks crufty: it has the advantage of
3195 test "$ac_cv_exeext" = no && ac_cv_exeext=
3200 if test -z "$ac_file"; then :
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3208 as_fn_error 77 "C compiler cannot create executables
3209 See \`config.log' for more details" "$LINENO" 5; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3212 $as_echo "yes" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3215 $as_echo_n "checking for C compiler default output file name... " >&6; }
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3217 $as_echo "$ac_file" >&6; }
3218 ac_exeext=$ac_cv_exeext
3220 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3221 ac_clean_files=$ac_clean_files_save
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3223 $as_echo_n "checking for suffix of executables... " >&6; }
3224 if { { ac_try="$ac_link"
3226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3227 *) ac_try_echo=$ac_try;;
3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3230 $as_echo "$ac_try_echo"; } >&5
3231 (eval "$ac_link") 2>&5
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; }; then :
3235 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3236 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3237 # work properly (i.e., refer to `conftest.exe'), while it won't with
3239 for ac_file in conftest.exe conftest conftest.*; do
3240 test -f "$ac_file" || continue
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3251 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3252 See \`config.log' for more details" "$LINENO" 5; }
3254 rm -f conftest conftest$ac_cv_exeext
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3256 $as_echo "$ac_cv_exeext" >&6; }
3258 rm -f conftest.$ac_ext
3259 EXEEXT=$ac_cv_exeext
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3267 FILE *f = fopen ("conftest.out", "w");
3268 return ferror (f) || fclose (f) != 0;
3274 ac_clean_files="$ac_clean_files conftest.out"
3275 # Check that the compiler produces executables we can run. If not, either
3276 # the compiler is broken, or we cross compile.
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3278 $as_echo_n "checking whether we are cross compiling... " >&6; }
3279 if test "$cross_compiling" != yes; then
3280 { { ac_try="$ac_link"
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_link") 2>&5
3289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3290 test $ac_status = 0; }
3291 if { ac_try='./conftest$ac_cv_exeext'
3292 { { case "(($ac_try" in
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_try") 2>&5
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; }; }; then
3304 if test "$cross_compiling" = maybe; then
3307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3309 as_fn_error $? "cannot run C compiled programs.
3310 If you meant to cross compile, use \`--host'.
3311 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3316 $as_echo "$cross_compiling" >&6; }
3318 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3319 ac_clean_files=$ac_clean_files_save
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3321 $as_echo_n "checking for suffix of object files... " >&6; }
3322 if ${ac_cv_objext+:} false; then :
3323 $as_echo_n "(cached) " >&6
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3336 rm -f conftest.o conftest.obj
3337 if { { ac_try="$ac_compile"
3339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343 $as_echo "$ac_try_echo"; } >&5
3344 (eval "$ac_compile") 2>&5
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }; then :
3348 for ac_file in conftest.o conftest.obj conftest.*; do
3349 test -f "$ac_file" || continue;
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3352 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3357 $as_echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "cannot compute suffix of object files: cannot compile
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3368 $as_echo "$ac_cv_objext" >&6; }
3369 OBJEXT=$ac_cv_objext
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3372 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3373 if ${ac_cv_c_compiler_gnu+:} false; then :
3374 $as_echo_n "(cached) " >&6
3376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3377 /* end confdefs.h. */
3390 if ac_fn_c_try_compile "$LINENO"; then :
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3400 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3401 if test $ac_compiler_gnu = yes; then
3406 ac_test_CFLAGS=${CFLAGS+set}
3407 ac_save_CFLAGS=$CFLAGS
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3409 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3410 if ${ac_cv_prog_cc_g+:} false; then :
3411 $as_echo_n "(cached) " >&6
3413 ac_save_c_werror_flag=$ac_c_werror_flag
3414 ac_c_werror_flag=yes
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 if ac_fn_c_try_compile "$LINENO"; then :
3432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3433 /* end confdefs.h. */
3443 if ac_fn_c_try_compile "$LINENO"; then :
3446 ac_c_werror_flag=$ac_save_c_werror_flag
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3459 if ac_fn_c_try_compile "$LINENO"; then :
3462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3467 ac_c_werror_flag=$ac_save_c_werror_flag
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3470 $as_echo "$ac_cv_prog_cc_g" >&6; }
3471 if test "$ac_test_CFLAGS" = set; then
3472 CFLAGS=$ac_save_CFLAGS
3473 elif test $ac_cv_prog_cc_g = yes; then
3474 if test "$GCC" = yes; then
3480 if test "$GCC" = yes; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3487 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3488 if ${ac_cv_prog_cc_c89+:} false; then :
3489 $as_echo_n "(cached) " >&6
3491 ac_cv_prog_cc_c89=no
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3497 #include <sys/types.h>
3498 #include <sys/stat.h>
3499 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3500 struct buf { int x; };
3501 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3502 static char *e (p, i)
3508 static char *f (char * (*g) (char **, int), char **p, ...)
3513 s = g (p, va_arg (v,int));
3518 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3519 function prototypes and stuff, but not '\xHH' hex character constants.
3520 These don't provoke an error unfortunately, instead are silently treated
3521 as 'x'. The following induces an error, until -std is added to get
3522 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3523 array size at least. It's necessary to write '\x00'==0 to get something
3524 that's true only with -std. */
3525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3527 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3528 inside strings and character constants. */
3530 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3532 int test (int i, double x);
3533 struct s1 {int (*f) (int a);};
3534 struct s2 {int (*f) (double a);};
3535 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3541 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3546 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3547 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3549 CC="$ac_save_CC $ac_arg"
3550 if ac_fn_c_try_compile "$LINENO"; then :
3551 ac_cv_prog_cc_c89=$ac_arg
3553 rm -f core conftest.err conftest.$ac_objext
3554 test "x$ac_cv_prog_cc_c89" != "xno" && break
3556 rm -f conftest.$ac_ext
3561 case "x$ac_cv_prog_cc_c89" in
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3564 $as_echo "none needed" >&6; } ;;
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3567 $as_echo "unsupported" >&6; } ;;
3569 CC="$CC $ac_cv_prog_cc_c89"
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3571 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3573 if test "x$ac_cv_prog_cc_c89" != xno; then :
3578 ac_cpp='$CPP $CPPFLAGS'
3579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3582 DEPDIR="${am__leading_dot}deps"
3584 ac_config_commands="$ac_config_commands depfiles"
3587 am_make=${MAKE-make}
3588 cat > confinc << 'END'
3590 @echo this is the am__doit target
3593 # If we don't find an include directive, just comment out the code.
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3595 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3599 # First try GNU make style include.
3600 echo "include confinc" > confmf
3601 # Ignore all kinds of additional output from `make'.
3602 case `$am_make -s -f confmf 2> /dev/null` in #(
3603 *the\ am__doit\ target*)
3609 # Now try BSD make style include.
3610 if test "$am__include" = "#"; then
3611 echo '.include "confinc"' > confmf
3612 case `$am_make -s -f confmf 2> /dev/null` in #(
3613 *the\ am__doit\ target*)
3614 am__include=.include
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3623 $as_echo "$_am_result" >&6; }
3624 rm -f confinc confmf
3626 # Check whether --enable-dependency-tracking was given.
3627 if test "${enable_dependency_tracking+set}" = set; then :
3628 enableval=$enable_dependency_tracking;
3631 if test "x$enable_dependency_tracking" != xno; then
3632 am_depcomp="$ac_aux_dir/depcomp"
3635 if test "x$enable_dependency_tracking" != xno; then
3645 depcc="$CC" am_compiler_list=
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3648 $as_echo_n "checking dependency style of $depcc... " >&6; }
3649 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3653 # We make a subdir and do the tests there. Otherwise we can end up
3654 # making bogus files that we don't know about and never remove. For
3655 # instance it was reported that on HP-UX the gcc test will end up
3656 # making a dummy file named `D' -- because `-MD' means `put the output
3659 # Copy depcomp to subdir because otherwise we won't find it if we're
3660 # using a relative directory.
3661 cp "$am_depcomp" conftest.dir
3663 # We will build objects and dependencies in a subdirectory because
3664 # it helps to detect inapplicable dependency modes. For instance
3665 # both Tru64's cc and ICC support -MD to output dependencies as a
3666 # side effect of compilation, but ICC will put the dependencies in
3667 # the current directory while Tru64 will put them in the object
3671 am_cv_CC_dependencies_compiler_type=none
3672 if test "$am_compiler_list" = ""; then
3673 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3676 case " $depcc " in #(
3677 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3680 for depmode in $am_compiler_list; do
3681 # Setup a source with many dependencies, because some compilers
3682 # like to wrap large dependency lists on column 80 (with \), and
3683 # we should not choose a depcomp mode which is confused by this.
3685 # We need to recreate these files for each test, as the compiler may
3686 # overwrite some of them when testing with obscure command lines.
3687 # This happens at least with the AIX C compiler.
3689 for i in 1 2 3 4 5 6; do
3690 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3691 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3692 # Solaris 8's {/usr,}/bin/sh.
3693 touch sub/conftst$i.h
3695 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3697 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3698 # mode. It turns out that the SunPro C++ compiler does not properly
3699 # handle `-M -o', and we need to detect this. Also, some Intel
3700 # versions had trouble with output in subdirs
3701 am__obj=sub/conftest.${OBJEXT-o}
3702 am__minus_obj="-o $am__obj"
3705 # This depmode causes a compiler race in universal mode.
3706 test "$am__universal" = false || continue
3709 # after this tag, mechanisms are not by side-effect, so they'll
3710 # only be used when explicitly requested
3711 if test "x$enable_dependency_tracking" = xyes; then
3717 msvisualcpp | msvcmsys)
3718 # This compiler won't grok `-c -o', but also, the minuso test has
3719 # not run yet. These depmodes are late enough in the game, and
3720 # so weak that their functioning should not be impacted.
3721 am__obj=conftest.${OBJEXT-o}
3726 if depmode=$depmode \
3727 source=sub/conftest.c object=$am__obj \
3728 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3729 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3730 >/dev/null 2>conftest.err &&
3731 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3732 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3733 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3734 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3735 # icc doesn't choke on unknown options, it will just issue warnings
3736 # or remarks (even with -Werror). So we grep stderr for any message
3737 # that says an option was ignored or not supported.
3738 # When given -MP, icc 7.0 and 7.1 complain thusly:
3739 # icc: Command line warning: ignoring option '-M'; no argument required
3740 # The diagnosis changed in icc 8.0:
3741 # icc: Command line remark: option '-MP' not supported
3742 if (grep 'ignoring option' conftest.err ||
3743 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3744 am_cv_CC_dependencies_compiler_type=$depmode
3753 am_cv_CC_dependencies_compiler_type=none
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3758 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3759 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3762 test "x$enable_dependency_tracking" != xno \
3763 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3765 am__fastdepCC_FALSE='#'
3767 am__fastdepCC_TRUE='#'
3768 am__fastdepCC_FALSE=
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3774 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3775 if ${ac_cv_c_const+:} false; then :
3776 $as_echo_n "(cached) " >&6
3778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3784 /* FIXME: Include the comments suggested by Paul. */
3786 /* Ultrix mips cc rejects this. */
3787 typedef int charset[2];
3789 /* SunOS 4.1.1 cc rejects this. */
3790 char const *const *pcpcc;
3792 /* NEC SVR4.0.2 mips cc rejects this. */
3793 struct point {int x, y;};
3794 static struct point const zero = {0,0};
3795 /* AIX XL C 1.02.0.0 rejects this.
3796 It does not let you subtract one const X* pointer from another in
3797 an arm of an if-expression whose if-part is not a constant
3799 const char *g = "string";
3800 pcpcc = &g + (g ? g-g : 0);
3801 /* HPUX 7.0 cc rejects these. */
3803 ppc = (char**) pcpcc;
3804 pcpcc = (char const *const *) ppc;
3805 { /* SCO 3.2v4 cc rejects this. */
3807 char const *s = 0 ? (char *) 0 : (char const *) 0;
3812 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3814 const int *foo = &x[0];
3817 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3818 typedef const int *iptr;
3822 { /* AIX XL C 1.02.0.0 rejects this saying
3823 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3824 struct s { int j; const int *ap[3]; };
3825 struct s *b; b->j = 5;
3827 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3831 return !cs[0] && !zero.x;
3838 if ac_fn_c_try_compile "$LINENO"; then :
3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3846 $as_echo "$ac_cv_c_const" >&6; }
3847 if test $ac_cv_c_const = no; then
3849 $as_echo "#define const /**/" >>confdefs.h
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3854 $as_echo_n "checking for inline... " >&6; }
3855 if ${ac_cv_c_inline+:} false; then :
3856 $as_echo_n "(cached) " >&6
3859 for ac_kw in inline __inline__ __inline; do
3860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3864 static $ac_kw foo_t static_foo () {return 0; }
3865 $ac_kw foo_t foo () {return 0; }
3869 if ac_fn_c_try_compile "$LINENO"; then :
3870 ac_cv_c_inline=$ac_kw
3872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3873 test "$ac_cv_c_inline" != no && break
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3878 $as_echo "$ac_cv_c_inline" >&6; }
3880 case $ac_cv_c_inline in
3883 case $ac_cv_c_inline in
3885 *) ac_val=$ac_cv_c_inline;;
3887 cat >>confdefs.h <<_ACEOF
3889 #define inline $ac_val
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3898 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3904 macro_revision='1.3293'
3918 ltmain="$ac_aux_dir/ltmain.sh"
3920 # Make sure we can run config.sub.
3921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3922 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3925 $as_echo_n "checking build system type... " >&6; }
3926 if ${ac_cv_build+:} false; then :
3927 $as_echo_n "(cached) " >&6
3929 ac_build_alias=$build_alias
3930 test "x$ac_build_alias" = x &&
3931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3932 test "x$ac_build_alias" = x &&
3933 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3939 $as_echo "$ac_cv_build" >&6; }
3940 case $ac_cv_build in
3942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3945 ac_save_IFS=$IFS; IFS='-'
3951 # Remember, the first character of IFS is used to create $*,
3952 # except with old shells:
3955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3959 $as_echo_n "checking host system type... " >&6; }
3960 if ${ac_cv_host+:} false; then :
3961 $as_echo_n "(cached) " >&6
3963 if test "x$host_alias" = x; then
3964 ac_cv_host=$ac_cv_build
3966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3967 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3972 $as_echo "$ac_cv_host" >&6; }
3975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3978 ac_save_IFS=$IFS; IFS='-'
3984 # Remember, the first character of IFS is used to create $*,
3985 # except with old shells:
3988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3991 # Backslashify metacharacters that are still active within
3992 # double-quoted strings.
3993 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3995 # Same as above, but do not quote variable references.
3996 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3998 # Sed substitution to delay expansion of an escaped shell variable in a
3999 # double_quote_subst'ed string.
4000 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4002 # Sed substitution to delay expansion of an escaped single quote.
4003 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4005 # Sed substitution to avoid accidental globbing in evaled expressions
4006 no_glob_subst='s/\*/\\\*/g'
4008 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4009 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4010 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4013 $as_echo_n "checking how to print strings... " >&6; }
4014 # Test print first, because it will be a builtin if present.
4015 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4016 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4018 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4021 # Use this function as a fallback that always works.
4022 func_fallback_echo ()
4024 eval 'cat <<_LTECHO_EOF
4028 ECHO='func_fallback_echo'
4031 # func_echo_all arg...
4032 # Invoke $ECHO with all args, space-separated.
4039 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4040 $as_echo "printf" >&6; } ;;
4041 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4042 $as_echo "print -r" >&6; } ;;
4043 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4044 $as_echo "cat" >&6; } ;;
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4061 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4062 if ${ac_cv_path_SED+:} false; then :
4063 $as_echo_n "(cached) " >&6
4065 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4066 for ac_i in 1 2 3 4 5 6 7; do
4067 ac_script="$ac_script$as_nl$ac_script"
4069 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4070 { ac_script=; unset ac_script;}
4071 if test -z "$SED"; then
4072 ac_path_SED_found=false
4073 # Loop through the user's path and test for each of PROGNAME-LIST
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir=.
4079 for ac_prog in sed gsed; do
4080 for ac_exec_ext in '' $ac_executable_extensions; do
4081 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4082 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4083 # Check for GNU ac_path_SED and select it if it is found.
4084 # Check for GNU $ac_path_SED
4085 case `"$ac_path_SED" --version 2>&1` in
4087 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4090 $as_echo_n 0123456789 >"conftest.in"
4093 cat "conftest.in" "conftest.in" >"conftest.tmp"
4094 mv "conftest.tmp" "conftest.in"
4095 cp "conftest.in" "conftest.nl"
4096 $as_echo '' >> "conftest.nl"
4097 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4098 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4099 as_fn_arith $ac_count + 1 && ac_count=$as_val
4100 if test $ac_count -gt ${ac_path_SED_max-0}; then
4101 # Best one so far, save it but keep looking for a better one
4102 ac_cv_path_SED="$ac_path_SED"
4103 ac_path_SED_max=$ac_count
4105 # 10*(2^10) chars as input seems more than enough
4106 test $ac_count -gt 10 && break
4108 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4111 $ac_path_SED_found && break 3
4116 if test -z "$ac_cv_path_SED"; then
4117 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4125 $as_echo "$ac_cv_path_SED" >&6; }
4126 SED="$ac_cv_path_SED"
4129 test -z "$SED" && SED=sed
4130 Xsed="$SED -e 1s/^X//"
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4143 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4144 if ${ac_cv_path_GREP+:} false; then :
4145 $as_echo_n "(cached) " >&6
4147 if test -z "$GREP"; then
4148 ac_path_GREP_found=false
4149 # Loop through the user's path and test for each of PROGNAME-LIST
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4154 test -z "$as_dir" && as_dir=.
4155 for ac_prog in grep ggrep; do
4156 for ac_exec_ext in '' $ac_executable_extensions; do
4157 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4158 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4159 # Check for GNU ac_path_GREP and select it if it is found.
4160 # Check for GNU $ac_path_GREP
4161 case `"$ac_path_GREP" --version 2>&1` in
4163 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4166 $as_echo_n 0123456789 >"conftest.in"
4169 cat "conftest.in" "conftest.in" >"conftest.tmp"
4170 mv "conftest.tmp" "conftest.in"
4171 cp "conftest.in" "conftest.nl"
4172 $as_echo 'GREP' >> "conftest.nl"
4173 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4174 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4175 as_fn_arith $ac_count + 1 && ac_count=$as_val
4176 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4177 # Best one so far, save it but keep looking for a better one
4178 ac_cv_path_GREP="$ac_path_GREP"
4179 ac_path_GREP_max=$ac_count
4181 # 10*(2^10) chars as input seems more than enough
4182 test $ac_count -gt 10 && break
4184 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4187 $ac_path_GREP_found && break 3
4192 if test -z "$ac_cv_path_GREP"; then
4193 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4196 ac_cv_path_GREP=$GREP
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4201 $as_echo "$ac_cv_path_GREP" >&6; }
4202 GREP="$ac_cv_path_GREP"
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4206 $as_echo_n "checking for egrep... " >&6; }
4207 if ${ac_cv_path_EGREP+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4211 then ac_cv_path_EGREP="$GREP -E"
4213 if test -z "$EGREP"; then
4214 ac_path_EGREP_found=false
4215 # Loop through the user's path and test for each of PROGNAME-LIST
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4217 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4220 test -z "$as_dir" && as_dir=.
4221 for ac_prog in egrep; do
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4224 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4225 # Check for GNU ac_path_EGREP and select it if it is found.
4226 # Check for GNU $ac_path_EGREP
4227 case `"$ac_path_EGREP" --version 2>&1` in
4229 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4232 $as_echo_n 0123456789 >"conftest.in"
4235 cat "conftest.in" "conftest.in" >"conftest.tmp"
4236 mv "conftest.tmp" "conftest.in"
4237 cp "conftest.in" "conftest.nl"
4238 $as_echo 'EGREP' >> "conftest.nl"
4239 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4240 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4241 as_fn_arith $ac_count + 1 && ac_count=$as_val
4242 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4243 # Best one so far, save it but keep looking for a better one
4244 ac_cv_path_EGREP="$ac_path_EGREP"
4245 ac_path_EGREP_max=$ac_count
4247 # 10*(2^10) chars as input seems more than enough
4248 test $ac_count -gt 10 && break
4250 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4253 $ac_path_EGREP_found && break 3
4258 if test -z "$ac_cv_path_EGREP"; then
4259 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4262 ac_cv_path_EGREP=$EGREP
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4268 $as_echo "$ac_cv_path_EGREP" >&6; }
4269 EGREP="$ac_cv_path_EGREP"
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4273 $as_echo_n "checking for fgrep... " >&6; }
4274 if ${ac_cv_path_FGREP+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4278 then ac_cv_path_FGREP="$GREP -F"
4280 if test -z "$FGREP"; then
4281 ac_path_FGREP_found=false
4282 # Loop through the user's path and test for each of PROGNAME-LIST
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4287 test -z "$as_dir" && as_dir=.
4288 for ac_prog in fgrep; do
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4291 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4292 # Check for GNU ac_path_FGREP and select it if it is found.
4293 # Check for GNU $ac_path_FGREP
4294 case `"$ac_path_FGREP" --version 2>&1` in
4296 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4299 $as_echo_n 0123456789 >"conftest.in"
4302 cat "conftest.in" "conftest.in" >"conftest.tmp"
4303 mv "conftest.tmp" "conftest.in"
4304 cp "conftest.in" "conftest.nl"
4305 $as_echo 'FGREP' >> "conftest.nl"
4306 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4308 as_fn_arith $ac_count + 1 && ac_count=$as_val
4309 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4310 # Best one so far, save it but keep looking for a better one
4311 ac_cv_path_FGREP="$ac_path_FGREP"
4312 ac_path_FGREP_max=$ac_count
4314 # 10*(2^10) chars as input seems more than enough
4315 test $ac_count -gt 10 && break
4317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4320 $ac_path_FGREP_found && break 3
4325 if test -z "$ac_cv_path_FGREP"; then
4326 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4329 ac_cv_path_FGREP=$FGREP
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4335 $as_echo "$ac_cv_path_FGREP" >&6; }
4336 FGREP="$ac_cv_path_FGREP"
4339 test -z "$GREP" && GREP=grep
4359 # Check whether --with-gnu-ld was given.
4360 if test "${with_gnu_ld+set}" = set; then :
4361 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4367 if test "$GCC" = yes; then
4368 # Check if gcc -print-prog-name=ld gives a path.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4370 $as_echo_n "checking for ld used by $CC... " >&6; }
4373 # gcc leaves a trailing carriage return which upsets mingw
4374 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4376 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4379 # Accept absolute paths.
4381 re_direlt='/[^/][^/]*/\.\./'
4382 # Canonicalize the pathname of ld
4383 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4384 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4385 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4387 test -z "$LD" && LD="$ac_prog"
4390 # If it fails, then pretend we aren't using GCC.
4394 # If it is relative, then search for the first ld in PATH.
4398 elif test "$with_gnu_ld" = yes; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4400 $as_echo_n "checking for GNU ld... " >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4403 $as_echo_n "checking for non-GNU ld... " >&6; }
4405 if ${lt_cv_path_LD+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -z "$LD"; then
4409 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4410 for ac_dir in $PATH; do
4412 test -z "$ac_dir" && ac_dir=.
4413 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4414 lt_cv_path_LD="$ac_dir/$ac_prog"
4415 # Check to see if the program is GNU ld. I'd rather use --version,
4416 # but apparently some variants of GNU ld only accept -v.
4417 # Break only if it was the GNU/non-GNU ld that we prefer.
4418 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4419 *GNU* | *'with BFD'*)
4420 test "$with_gnu_ld" != no && break
4423 test "$with_gnu_ld" != yes && break
4430 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4435 if test -n "$LD"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4437 $as_echo "$LD" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4442 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4444 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4445 if ${lt_cv_prog_gnu_ld+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4449 case `$LD -v 2>&1 </dev/null` in
4450 *GNU* | *'with BFD'*)
4451 lt_cv_prog_gnu_ld=yes
4454 lt_cv_prog_gnu_ld=no
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4459 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4460 with_gnu_ld=$lt_cv_prog_gnu_ld
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4471 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4472 if ${lt_cv_path_NM+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 if test -n "$NM"; then
4476 # Let the user override the test.
4479 lt_nm_to_check="${ac_tool_prefix}nm"
4480 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4481 lt_nm_to_check="$lt_nm_to_check nm"
4483 for lt_tmp_nm in $lt_nm_to_check; do
4484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4485 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4487 test -z "$ac_dir" && ac_dir=.
4488 tmp_nm="$ac_dir/$lt_tmp_nm"
4489 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4490 # Check to see if the nm accepts a BSD-compat flag.
4491 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4492 # nm: unknown option "B" ignored
4493 # Tru64's nm complains that /dev/null is an invalid object file
4494 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4495 */dev/null* | *'Invalid file or object type'*)
4496 lt_cv_path_NM="$tmp_nm -B"
4500 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4502 lt_cv_path_NM="$tmp_nm -p"
4506 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4507 continue # so that we can try to find one that supports BSD flags
4516 : ${lt_cv_path_NM=no}
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4520 $as_echo "$lt_cv_path_NM" >&6; }
4521 if test "$lt_cv_path_NM" != "no"; then
4524 # Didn't find any BSD compatible name lister, look for dumpbin.
4525 if test -n "$DUMPBIN"; then :
4526 # Let the user override the test.
4528 if test -n "$ac_tool_prefix"; then
4529 for ac_prog in dumpbin "link -dump"
4531 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4532 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4534 $as_echo_n "checking for $ac_word... " >&6; }
4535 if ${ac_cv_prog_DUMPBIN+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 if test -n "$DUMPBIN"; then
4539 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir=.
4546 for ac_exec_ext in '' $ac_executable_extensions; do
4547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4548 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 DUMPBIN=$ac_cv_prog_DUMPBIN
4559 if test -n "$DUMPBIN"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4561 $as_echo "$DUMPBIN" >&6; }
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4568 test -n "$DUMPBIN" && break
4571 if test -z "$DUMPBIN"; then
4572 ac_ct_DUMPBIN=$DUMPBIN
4573 for ac_prog in dumpbin "link -dump"
4575 # Extract the first word of "$ac_prog", so it can be a program name with args.
4576 set dummy $ac_prog; ac_word=$2
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4578 $as_echo_n "checking for $ac_word... " >&6; }
4579 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 if test -n "$ac_ct_DUMPBIN"; then
4583 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4589 test -z "$as_dir" && as_dir=.
4590 for ac_exec_ext in '' $ac_executable_extensions; do
4591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4592 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4603 if test -n "$ac_ct_DUMPBIN"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4605 $as_echo "$ac_ct_DUMPBIN" >&6; }
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4612 test -n "$ac_ct_DUMPBIN" && break
4615 if test "x$ac_ct_DUMPBIN" = x; then
4618 case $cross_compiling:$ac_tool_warned in
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4622 ac_tool_warned=yes ;;
4624 DUMPBIN=$ac_ct_DUMPBIN
4628 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4630 DUMPBIN="$DUMPBIN -symbols"
4638 if test "$DUMPBIN" != ":"; then
4642 test -z "$NM" && NM=nm
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4650 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4651 if ${lt_cv_nm_interface+:} false; then :
4652 $as_echo_n "(cached) " >&6
4654 lt_cv_nm_interface="BSD nm"
4655 echo "int some_variable = 0;" > conftest.$ac_ext
4656 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4657 (eval "$ac_compile" 2>conftest.err)
4658 cat conftest.err >&5
4659 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4660 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4661 cat conftest.err >&5
4662 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4663 cat conftest.out >&5
4664 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4665 lt_cv_nm_interface="MS dumpbin"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4670 $as_echo "$lt_cv_nm_interface" >&6; }
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4673 $as_echo_n "checking whether ln -s works... " >&6; }
4675 if test "$LN_S" = "ln -s"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4677 $as_echo "yes" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4680 $as_echo "no, using $LN_S" >&6; }
4683 # find the maximum length of command line arguments
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4685 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4686 if ${lt_cv_sys_max_cmd_len+:} false; then :
4687 $as_echo_n "(cached) " >&6
4694 # On DJGPP, this test can blow up pretty badly due to problems in libc
4695 # (any single argument exceeding 2000 bytes causes a buffer overrun
4696 # during glob expansion). Even if it were fixed, the result of this
4697 # check would be larger than it should be.
4698 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4702 # Under GNU Hurd, this test is not required because there is
4703 # no limit to the length of command line arguments.
4704 # Libtool will interpret -1 as no limit whatsoever
4705 lt_cv_sys_max_cmd_len=-1;
4708 cygwin* | mingw* | cegcc*)
4709 # On Win9x/ME, this test blows up -- it succeeds, but takes
4710 # about 5 minutes as the teststring grows exponentially.
4711 # Worse, since 9x/ME are not pre-emptively multitasking,
4712 # you end up with a "frozen" computer, even though with patience
4713 # the test eventually succeeds (with a max line length of 256k).
4714 # Instead, let's just punt: use the minimum linelength reported by
4715 # all of the supported platforms: 8192 (on NT/2K/XP).
4716 lt_cv_sys_max_cmd_len=8192;
4720 # On MiNT this can take a long time and run out of memory.
4721 lt_cv_sys_max_cmd_len=8192;
4725 # On AmigaOS with pdksh, this test takes hours, literally.
4726 # So we just punt and use a minimum line length of 8192.
4727 lt_cv_sys_max_cmd_len=8192;
4730 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4731 # This has been around since 386BSD, at least. Likely further.
4732 if test -x /sbin/sysctl; then
4733 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4734 elif test -x /usr/sbin/sysctl; then
4735 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4737 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4739 # And add a safety zone
4740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4741 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4745 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4746 lt_cv_sys_max_cmd_len=196608
4750 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4751 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4752 # nice to cause kernel panics so lets avoid the loop below.
4753 # First set a reasonable default.
4754 lt_cv_sys_max_cmd_len=16384
4756 if test -x /sbin/sysconfig; then
4757 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4758 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4763 lt_cv_sys_max_cmd_len=102400
4765 sysv5* | sco5v6* | sysv4.2uw2*)
4766 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4767 if test -n "$kargmax"; then
4768 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4770 lt_cv_sys_max_cmd_len=32768
4774 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4775 if test -n "$lt_cv_sys_max_cmd_len"; then
4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4777 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4779 # Make teststring a little bigger before we do anything with it.
4780 # a 1K string should be a reasonable start.
4781 for i in 1 2 3 4 5 6 7 8 ; do
4782 teststring=$teststring$teststring
4784 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4785 # If test is not a shell built-in, we'll probably end up computing a
4786 # maximum length that is only half of the actual maximum length, but
4788 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4789 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4790 test $i != 17 # 1/2 MB should be enough
4793 teststring=$teststring$teststring
4795 # Only check the string length outside the loop.
4796 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4798 # Add a significant safety factor because C++ compilers can tack on
4799 # massive amounts of additional arguments before passing them to the
4800 # linker. It appears as though 1/2 is a usable value.
4801 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4808 if test -n $lt_cv_sys_max_cmd_len ; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4810 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4813 $as_echo "none" >&6; }
4815 max_cmd_len=$lt_cv_sys_max_cmd_len
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4827 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4828 # Try some XSI features
4831 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4833 && eval 'test $(( 1 + 1 )) -eq 2 \
4834 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4837 $as_echo "$xsi_shell" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4841 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4843 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4845 && lt_shell_append=yes
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4847 $as_echo "$lt_shell_append" >&6; }
4850 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4860 # test EBCDIC or ASCII
4861 case `echo X|tr X '\101'` in
4862 A) # ASCII based system
4863 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4864 lt_SP2NL='tr \040 \012'
4865 lt_NL2SP='tr \015\012 \040\040'
4867 *) # EBCDIC based system
4868 lt_SP2NL='tr \100 \n'
4869 lt_NL2SP='tr \r\n \100\100'
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4882 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4883 if ${lt_cv_to_host_file_cmd+:} false; then :
4884 $as_echo_n "(cached) " >&6
4889 *-*-mingw* ) # actually msys
4890 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4893 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4895 * ) # otherwise, assume *nix
4896 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4902 *-*-mingw* ) # actually msys
4903 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4906 lt_cv_to_host_file_cmd=func_convert_file_noop
4908 * ) # otherwise, assume *nix
4909 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4913 * ) # unhandled hosts (and "normal" native builds)
4914 lt_cv_to_host_file_cmd=func_convert_file_noop
4920 to_host_file_cmd=$lt_cv_to_host_file_cmd
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4922 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4929 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4930 if ${lt_cv_to_tool_file_cmd+:} false; then :
4931 $as_echo_n "(cached) " >&6
4933 #assume ordinary cross tools, or native build.
4934 lt_cv_to_tool_file_cmd=func_convert_file_noop
4938 *-*-mingw* ) # actually msys
4939 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4947 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4949 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4956 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4957 if ${lt_cv_ld_reload_flag+:} false; then :
4958 $as_echo_n "(cached) " >&6
4960 lt_cv_ld_reload_flag='-r'
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4963 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4964 reload_flag=$lt_cv_ld_reload_flag
4965 case $reload_flag in
4967 *) reload_flag=" $reload_flag" ;;
4969 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4971 cygwin* | mingw* | pw32* | cegcc*)
4972 if test "$GCC" != yes; then
4977 if test "$GCC" = yes; then
4978 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4980 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4993 if test -n "$ac_tool_prefix"; then
4994 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4995 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if ${ac_cv_prog_OBJDUMP+:} false; then :
4999 $as_echo_n "(cached) " >&6
5001 if test -n "$OBJDUMP"; then
5002 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 OBJDUMP=$ac_cv_prog_OBJDUMP
5022 if test -n "$OBJDUMP"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5024 $as_echo "$OBJDUMP" >&6; }
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5032 if test -z "$ac_cv_prog_OBJDUMP"; then
5033 ac_ct_OBJDUMP=$OBJDUMP
5034 # Extract the first word of "objdump", so it can be a program name with args.
5035 set dummy objdump; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$ac_ct_OBJDUMP"; then
5042 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5062 if test -n "$ac_ct_OBJDUMP"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5064 $as_echo "$ac_ct_OBJDUMP" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5070 if test "x$ac_ct_OBJDUMP" = x; then
5073 case $cross_compiling:$ac_tool_warned in
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5077 ac_tool_warned=yes ;;
5079 OBJDUMP=$ac_ct_OBJDUMP
5082 OBJDUMP="$ac_cv_prog_OBJDUMP"
5085 test -z "$OBJDUMP" && OBJDUMP=objdump
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5096 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5097 if ${lt_cv_deplibs_check_method+:} false; then :
5098 $as_echo_n "(cached) " >&6
5100 lt_cv_file_magic_cmd='$MAGIC_CMD'
5101 lt_cv_file_magic_test_file=
5102 lt_cv_deplibs_check_method='unknown'
5103 # Need to set the preceding variable on all platforms that support
5104 # interlibrary dependencies.
5105 # 'none' -- dependencies not supported.
5106 # `unknown' -- same as none, but documents that we really don't know.
5107 # 'pass_all' -- all dependencies passed with no checks.
5108 # 'test_compile' -- check by making test program.
5109 # 'file_magic [[regex]]' -- check by looking for files in library path
5110 # which responds to the $file_magic_cmd with a given extended regex.
5111 # If you have `file' or equivalent on your system and you're not sure
5112 # whether `pass_all' will *always* work, you probably want this one.
5116 lt_cv_deplibs_check_method=pass_all
5120 lt_cv_deplibs_check_method=pass_all
5124 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5125 lt_cv_file_magic_cmd='/usr/bin/file -L'
5126 lt_cv_file_magic_test_file=/shlib/libc.so
5130 # func_win32_libid is a shell function defined in ltmain.sh
5131 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5132 lt_cv_file_magic_cmd='func_win32_libid'
5136 # Base MSYS/MinGW do not provide the 'file' command needed by
5137 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5138 # unless we find 'file', for example because we are cross-compiling.
5139 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5140 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5141 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5142 lt_cv_file_magic_cmd='func_win32_libid'
5144 # Keep this pattern in sync with the one in func_win32_libid.
5145 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5146 lt_cv_file_magic_cmd='$OBJDUMP -f'
5151 # use the weaker test based on 'objdump'. See mingw*.
5152 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5153 lt_cv_file_magic_cmd='$OBJDUMP -f'
5156 darwin* | rhapsody*)
5157 lt_cv_deplibs_check_method=pass_all
5160 freebsd* | dragonfly*)
5161 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5164 # Not sure whether the presence of OpenBSD here was a mistake.
5165 # Let's accept both of them until this is cleared up.
5166 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5167 lt_cv_file_magic_cmd=/usr/bin/file
5168 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5172 lt_cv_deplibs_check_method=pass_all
5177 lt_cv_deplibs_check_method=pass_all
5181 lt_cv_deplibs_check_method=pass_all
5184 hpux10.20* | hpux11*)
5185 lt_cv_file_magic_cmd=/usr/bin/file
5188 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5189 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5192 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]'
5193 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5196 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5197 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5203 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5204 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5207 irix5* | irix6* | nonstopux*)
5209 *-32|*"-32 ") libmagic=32-bit;;
5210 *-n32|*"-n32 ") libmagic=N32;;
5211 *-64|*"-64 ") libmagic=64-bit;;
5212 *) libmagic=never-match;;
5214 lt_cv_deplibs_check_method=pass_all
5217 # This must be Linux ELF.
5218 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5219 lt_cv_deplibs_check_method=pass_all
5223 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5224 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5226 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5231 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5232 lt_cv_file_magic_cmd=/usr/bin/file
5233 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5237 lt_cv_deplibs_check_method=pass_all
5241 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5242 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5244 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5248 osf3* | osf4* | osf5*)
5249 lt_cv_deplibs_check_method=pass_all
5253 lt_cv_deplibs_check_method=pass_all
5257 lt_cv_deplibs_check_method=pass_all
5260 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5261 lt_cv_deplibs_check_method=pass_all
5265 case $host_vendor in
5267 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]'
5268 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5271 lt_cv_deplibs_check_method=pass_all
5274 lt_cv_file_magic_cmd='/bin/file'
5275 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5278 lt_cv_file_magic_cmd='/bin/file'
5279 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5280 lt_cv_file_magic_test_file=/lib/libc.so
5283 lt_cv_deplibs_check_method=pass_all
5286 lt_cv_deplibs_check_method=pass_all
5292 lt_cv_deplibs_check_method=pass_all
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5298 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5302 if test "$build" = "$host"; then
5305 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5308 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5314 file_magic_cmd=$lt_cv_file_magic_cmd
5315 deplibs_check_method=$lt_cv_deplibs_check_method
5316 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5339 if test -n "$ac_tool_prefix"; then
5340 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5341 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_DLLTOOL+:} false; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$DLLTOOL"; then
5348 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 DLLTOOL=$ac_cv_prog_DLLTOOL
5368 if test -n "$DLLTOOL"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5370 $as_echo "$DLLTOOL" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5378 if test -z "$ac_cv_prog_DLLTOOL"; then
5379 ac_ct_DLLTOOL=$DLLTOOL
5380 # Extract the first word of "dlltool", so it can be a program name with args.
5381 set dummy dlltool; ac_word=$2
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383 $as_echo_n "checking for $ac_word... " >&6; }
5384 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5385 $as_echo_n "(cached) " >&6
5387 if test -n "$ac_ct_DLLTOOL"; then
5388 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir=.
5395 for ac_exec_ext in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5407 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5408 if test -n "$ac_ct_DLLTOOL"; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5410 $as_echo "$ac_ct_DLLTOOL" >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413 $as_echo "no" >&6; }
5416 if test "x$ac_ct_DLLTOOL" = x; then
5419 case $cross_compiling:$ac_tool_warned in
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5423 ac_tool_warned=yes ;;
5425 DLLTOOL=$ac_ct_DLLTOOL
5428 DLLTOOL="$ac_cv_prog_DLLTOOL"
5431 test -z "$DLLTOOL" && DLLTOOL=dlltool
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5443 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5444 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5445 $as_echo_n "(cached) " >&6
5447 lt_cv_sharedlib_from_linklib_cmd='unknown'
5450 cygwin* | mingw* | pw32* | cegcc*)
5451 # two different shell functions defined in ltmain.sh
5452 # decide which to use based on capabilities of $DLLTOOL
5453 case `$DLLTOOL --help 2>&1` in
5454 *--identify-strict*)
5455 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5458 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5463 # fallback: assume linklib IS sharedlib
5464 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5470 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5471 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5472 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5480 if test -n "$ac_tool_prefix"; then
5483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5486 $as_echo_n "checking for $ac_word... " >&6; }
5487 if ${ac_cv_prog_AR+:} false; then :
5488 $as_echo_n "(cached) " >&6
5490 if test -n "$AR"; then
5491 ac_cv_prog_AR="$AR" # Let the user override the test.
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 test -z "$as_dir" && as_dir=.
5498 for ac_exec_ext in '' $ac_executable_extensions; do
5499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5500 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 if test -n "$AR"; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5513 $as_echo "$AR" >&6; }
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5516 $as_echo "no" >&6; }
5520 test -n "$AR" && break
5523 if test -z "$AR"; then
5527 # Extract the first word of "$ac_prog", so it can be a program name with args.
5528 set dummy $ac_prog; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$ac_ct_AR"; then
5535 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_AR="$ac_prog"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5555 if test -n "$ac_ct_AR"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5557 $as_echo "$ac_ct_AR" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5564 test -n "$ac_ct_AR" && break
5567 if test "x$ac_ct_AR" = x; then
5570 case $cross_compiling:$ac_tool_warned in
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5574 ac_tool_warned=yes ;;
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5594 $as_echo_n "checking for archiver @FILE support... " >&6; }
5595 if ${lt_cv_ar_at_file+:} false; then :
5596 $as_echo_n "(cached) " >&6
5599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5610 if ac_fn_c_try_compile "$LINENO"; then :
5611 echo conftest.$ac_objext > conftest.lst
5612 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5614 (eval $lt_ar_try) 2>&5
5616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5617 test $ac_status = 0; }
5618 if test "$ac_status" -eq 0; then
5619 # Ensure the archiver fails upon bogus file names.
5620 rm -f conftest.$ac_objext libconftest.a
5621 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5622 (eval $lt_ar_try) 2>&5
5624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5625 test $ac_status = 0; }
5626 if test "$ac_status" -ne 0; then
5630 rm -f conftest.* libconftest.a
5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5637 $as_echo "$lt_cv_ar_at_file" >&6; }
5639 if test "x$lt_cv_ar_at_file" = xno; then
5642 archiver_list_spec=$lt_cv_ar_at_file
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}strip; ac_word=$2
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5655 $as_echo_n "checking for $ac_word... " >&6; }
5656 if ${ac_cv_prog_STRIP+:} false; then :
5657 $as_echo_n "(cached) " >&6
5659 if test -n "$STRIP"; then
5660 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5669 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679 STRIP=$ac_cv_prog_STRIP
5680 if test -n "$STRIP"; then
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5682 $as_echo "$STRIP" >&6; }
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 $as_echo "no" >&6; }
5690 if test -z "$ac_cv_prog_STRIP"; then
5692 # Extract the first word of "strip", so it can be a program name with args.
5693 set dummy strip; ac_word=$2
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5695 $as_echo_n "checking for $ac_word... " >&6; }
5696 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5697 $as_echo_n "(cached) " >&6
5699 if test -n "$ac_ct_STRIP"; then
5700 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5709 ac_cv_prog_ac_ct_STRIP="strip"
5710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5720 if test -n "$ac_ct_STRIP"; then
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5722 $as_echo "$ac_ct_STRIP" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5725 $as_echo "no" >&6; }
5728 if test "x$ac_ct_STRIP" = x; then
5731 case $cross_compiling:$ac_tool_warned in
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5735 ac_tool_warned=yes ;;
5740 STRIP="$ac_cv_prog_STRIP"
5743 test -z "$STRIP" && STRIP=:
5750 if test -n "$ac_tool_prefix"; then
5751 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5752 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5754 $as_echo_n "checking for $ac_word... " >&6; }
5755 if ${ac_cv_prog_RANLIB+:} false; then :
5756 $as_echo_n "(cached) " >&6
5758 if test -n "$RANLIB"; then
5759 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5768 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 RANLIB=$ac_cv_prog_RANLIB
5779 if test -n "$RANLIB"; then
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5781 $as_echo "$RANLIB" >&6; }
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5784 $as_echo "no" >&6; }
5789 if test -z "$ac_cv_prog_RANLIB"; then
5790 ac_ct_RANLIB=$RANLIB
5791 # Extract the first word of "ranlib", so it can be a program name with args.
5792 set dummy ranlib; ac_word=$2
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5794 $as_echo_n "checking for $ac_word... " >&6; }
5795 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5796 $as_echo_n "(cached) " >&6
5798 if test -n "$ac_ct_RANLIB"; then
5799 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 test -z "$as_dir" && as_dir=.
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5808 ac_cv_prog_ac_ct_RANLIB="ranlib"
5809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5819 if test -n "$ac_ct_RANLIB"; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5821 $as_echo "$ac_ct_RANLIB" >&6; }
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5824 $as_echo "no" >&6; }
5827 if test "x$ac_ct_RANLIB" = x; then
5830 case $cross_compiling:$ac_tool_warned in
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5834 ac_tool_warned=yes ;;
5836 RANLIB=$ac_ct_RANLIB
5839 RANLIB="$ac_cv_prog_RANLIB"
5842 test -z "$RANLIB" && RANLIB=:
5849 # Determine commands to create old-style static archives.
5850 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5851 old_postinstall_cmds='chmod 644 $oldlib'
5852 old_postuninstall_cmds=
5854 if test -n "$RANLIB"; then
5857 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5860 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5863 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5868 lock_old_archive_extraction=yes ;;
5870 lock_old_archive_extraction=no ;;
5911 # If no C compiler was specified, use CC.
5914 # If no C compiler flags were specified, use CFLAGS.
5915 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5917 # Allow CC to be a program name with arguments.
5921 # Check for command to grab the raw symbol name followed by C symbol from nm.
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5923 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5924 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5925 $as_echo_n "(cached) " >&6
5928 # These are sane defaults that work on at least a few old systems.
5929 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5931 # Character class describing NM global symbol codes.
5932 symcode='[BCDEGRST]'
5934 # Regexp to match symbols that can be accessed directly from C.
5935 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5937 # Define system-specific variables.
5942 cygwin* | mingw* | pw32* | cegcc*)
5943 symcode='[ABCDGISTW]'
5946 if test "$host_cpu" = ia64; then
5947 symcode='[ABCDEGRST]'
5951 symcode='[BCDEGRST]'
5954 symcode='[BCDEGQRST]'
5965 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5973 # If we're using GNU nm, then use its standard symbol codes.
5974 case `$NM -V 2>&1` in
5975 *GNU* | *'with BFD'*)
5976 symcode='[ABCDGIRSTW]' ;;
5979 # Transform an extracted symbol line into a proper C declaration.
5980 # Some systems (esp. on ia64) link data and code symbols differently,
5981 # so use this general approach.
5982 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5984 # Transform an extracted symbol line into symbol name and symbol address
5985 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5986 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'"
5988 # Handle CRLF in mingw tool chain
5992 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5996 # Try without a prefix underscore, then with it.
5997 for ac_symprfx in "" "_"; do
5999 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6000 symxfrm="\\1 $ac_symprfx\\2 \\2"
6002 # Write the raw and C identifiers.
6003 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6004 # Fake it for dumpbin and say T for any non-static function
6005 # and D for any global variable.
6006 # Also find C++ and __fastcall symbols from MSVC++,
6007 # which start with @ or ?.
6008 lt_cv_sys_global_symbol_pipe="$AWK '"\
6009 " {last_section=section; section=\$ 3};"\
6010 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6011 " \$ 0!~/External *\|/{next};"\
6012 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6013 " {if(hide[section]) next};"\
6014 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6015 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6016 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6017 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6018 " ' prfx=^$ac_symprfx"
6020 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6022 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6024 # Check to see that the pipe works correctly.
6028 cat > conftest.$ac_ext <<_LT_EOF
6033 void nm_test_func(void);
6034 void nm_test_func(void){}
6038 int main(){nm_test_var='a';nm_test_func();return(0);}
6041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6042 (eval $ac_compile) 2>&5
6044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6045 test $ac_status = 0; }; then
6046 # Now try to grab the symbols.
6048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6049 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6052 test $ac_status = 0; } && test -s "$nlist"; then
6053 # Try sorting and uniquifying the output.
6054 if sort "$nlist" | uniq > "$nlist"T; then
6055 mv -f "$nlist"T "$nlist"
6060 # Make sure that we snagged all the symbols we need.
6061 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6062 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6063 cat <<_LT_EOF > conftest.$ac_ext
6064 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6065 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6066 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6067 relocations are performed -- see ld's documentation on pseudo-relocs. */
6068 # define LT_DLSYM_CONST
6069 #elif defined(__osf__)
6070 /* This system does not cope well with relocations in const data. */
6071 # define LT_DLSYM_CONST
6073 # define LT_DLSYM_CONST const
6081 # Now generate the symbol file.
6082 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6084 cat <<_LT_EOF >> conftest.$ac_ext
6086 /* The mapping between symbol names and symbols. */
6087 LT_DLSYM_CONST struct {
6091 lt__PROGRAM__LTX_preloaded_symbols[] =
6093 { "@PROGRAM@", (void *) 0 },
6095 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6096 cat <<\_LT_EOF >> conftest.$ac_ext
6100 /* This works around a problem in FreeBSD linker */
6101 #ifdef FREEBSD_WORKAROUND
6102 static const void *lt_preloaded_setup() {
6103 return lt__PROGRAM__LTX_preloaded_symbols;
6111 # Now try linking the two files.
6112 mv conftest.$ac_objext conftstm.$ac_objext
6113 lt_globsym_save_LIBS=$LIBS
6114 lt_globsym_save_CFLAGS=$CFLAGS
6115 LIBS="conftstm.$ac_objext"
6116 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6118 (eval $ac_link) 2>&5
6120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6124 LIBS=$lt_globsym_save_LIBS
6125 CFLAGS=$lt_globsym_save_CFLAGS
6127 echo "cannot find nm_test_func in $nlist" >&5
6130 echo "cannot find nm_test_var in $nlist" >&5
6133 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6136 echo "$progname: failed program was:" >&5
6137 cat conftest.$ac_ext >&5
6139 rm -rf conftest* conftst*
6141 # Do not use the global_symbol_pipe unless it works.
6142 if test "$pipe_works" = yes; then
6145 lt_cv_sys_global_symbol_pipe=
6151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6152 lt_cv_sys_global_symbol_to_cdecl=
6154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6156 $as_echo "failed" >&6; }
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6159 $as_echo "ok" >&6; }
6162 # Response file support.
6163 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6164 nm_file_list_spec='@'
6165 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6166 nm_file_list_spec='@'
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6196 $as_echo_n "checking for sysroot... " >&6; }
6198 # Check whether --with-sysroot was given.
6199 if test "${with_sysroot+set}" = set; then :
6200 withval=$with_sysroot;
6207 case ${with_sysroot} in #(
6209 if test "$GCC" = yes; then
6210 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6214 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6220 $as_echo "${with_sysroot}" >&6; }
6221 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6226 $as_echo "${lt_sysroot:-no}" >&6; }
6232 # Check whether --enable-libtool-lock was given.
6233 if test "${enable_libtool_lock+set}" = set; then :
6234 enableval=$enable_libtool_lock;
6237 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6239 # Some flags need to be propagated to the compiler or linker for good
6243 # Find out which ABI we are using.
6244 echo 'int i;' > conftest.$ac_ext
6245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6246 (eval $ac_compile) 2>&5
6248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6249 test $ac_status = 0; }; then
6250 case `/usr/bin/file conftest.$ac_objext` in
6262 # Find out which ABI we are using.
6263 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6264 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6265 (eval $ac_compile) 2>&5
6267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6268 test $ac_status = 0; }; then
6269 if test "$lt_cv_prog_gnu_ld" = yes; then
6270 case `/usr/bin/file conftest.$ac_objext` in
6272 LD="${LD-ld} -melf32bsmip"
6275 LD="${LD-ld} -melf32bmipn32"
6278 LD="${LD-ld} -melf64bmip"
6282 case `/usr/bin/file conftest.$ac_objext` in
6298 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6299 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6300 # Find out which ABI we are using.
6301 echo 'int i;' > conftest.$ac_ext
6302 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6303 (eval $ac_compile) 2>&5
6305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6306 test $ac_status = 0; }; then
6307 case `/usr/bin/file conftest.o` in
6310 x86_64-*kfreebsd*-gnu)
6311 LD="${LD-ld} -m elf_i386_fbsd"
6314 LD="${LD-ld} -m elf_i386"
6316 ppc64-*linux*|powerpc64-*linux*)
6317 LD="${LD-ld} -m elf32ppclinux"
6320 LD="${LD-ld} -m elf_s390"
6323 LD="${LD-ld} -m elf32_sparc"
6329 x86_64-*kfreebsd*-gnu)
6330 LD="${LD-ld} -m elf_x86_64_fbsd"
6333 LD="${LD-ld} -m elf_x86_64"
6335 ppc*-*linux*|powerpc*-*linux*)
6336 LD="${LD-ld} -m elf64ppc"
6338 s390*-*linux*|s390*-*tpf*)
6339 LD="${LD-ld} -m elf64_s390"
6342 LD="${LD-ld} -m elf64_sparc"
6352 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6353 SAVE_CFLAGS="$CFLAGS"
6354 CFLAGS="$CFLAGS -belf"
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6356 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6357 if ${lt_cv_cc_needs_belf+:} false; then :
6358 $as_echo_n "(cached) " >&6
6361 ac_cpp='$CPP $CPPFLAGS'
6362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6377 if ac_fn_c_try_link "$LINENO"; then :
6378 lt_cv_cc_needs_belf=yes
6380 lt_cv_cc_needs_belf=no
6382 rm -f core conftest.err conftest.$ac_objext \
6383 conftest$ac_exeext conftest.$ac_ext
6385 ac_cpp='$CPP $CPPFLAGS'
6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6392 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6393 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6394 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6395 CFLAGS="$SAVE_CFLAGS"
6399 # Find out which ABI we are using.
6400 echo 'int i;' > conftest.$ac_ext
6401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6402 (eval $ac_compile) 2>&5
6404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6405 test $ac_status = 0; }; then
6406 case `/usr/bin/file conftest.o` in
6408 case $lt_cv_prog_gnu_ld in
6409 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6411 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6423 need_locks="$enable_libtool_lock"
6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}mt; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6431 $as_echo_n "(cached) " >&6
6433 if test -n "$MANIFEST_TOOL"; then
6434 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6443 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6453 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6454 if test -n "$MANIFEST_TOOL"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6456 $as_echo "$MANIFEST_TOOL" >&6; }
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6464 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6465 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6466 # Extract the first word of "mt", so it can be a program name with args.
6467 set dummy mt; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6471 $as_echo_n "(cached) " >&6
6473 if test -n "$ac_ct_MANIFEST_TOOL"; then
6474 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6483 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6493 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6494 if test -n "$ac_ct_MANIFEST_TOOL"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6496 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6502 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6505 case $cross_compiling:$ac_tool_warned in
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned=yes ;;
6511 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6514 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6517 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6519 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6520 if ${lt_cv_path_mainfest_tool+:} false; then :
6521 $as_echo_n "(cached) " >&6
6523 lt_cv_path_mainfest_tool=no
6524 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6525 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6526 cat conftest.err >&5
6527 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6528 lt_cv_path_mainfest_tool=yes
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6533 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6534 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6544 rhapsody* | darwin*)
6545 if test -n "$ac_tool_prefix"; then
6546 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6547 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6551 $as_echo_n "(cached) " >&6
6553 if test -n "$DSYMUTIL"; then
6554 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6563 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6573 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6574 if test -n "$DSYMUTIL"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6576 $as_echo "$DSYMUTIL" >&6; }
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if test -z "$ac_cv_prog_DSYMUTIL"; then
6585 ac_ct_DSYMUTIL=$DSYMUTIL
6586 # Extract the first word of "dsymutil", so it can be a program name with args.
6587 set dummy dsymutil; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6591 $as_echo_n "(cached) " >&6
6593 if test -n "$ac_ct_DSYMUTIL"; then
6594 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6603 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6613 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6614 if test -n "$ac_ct_DSYMUTIL"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6616 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6622 if test "x$ac_ct_DSYMUTIL" = x; then
6625 case $cross_compiling:$ac_tool_warned in
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6629 ac_tool_warned=yes ;;
6631 DSYMUTIL=$ac_ct_DSYMUTIL
6634 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6637 if test -n "$ac_tool_prefix"; then
6638 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6639 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_NMEDIT+:} false; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$NMEDIT"; then
6646 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6665 NMEDIT=$ac_cv_prog_NMEDIT
6666 if test -n "$NMEDIT"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6668 $as_echo "$NMEDIT" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6676 if test -z "$ac_cv_prog_NMEDIT"; then
6677 ac_ct_NMEDIT=$NMEDIT
6678 # Extract the first word of "nmedit", so it can be a program name with args.
6679 set dummy nmedit; ac_word=$2
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681 $as_echo_n "checking for $ac_word... " >&6; }
6682 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6683 $as_echo_n "(cached) " >&6
6685 if test -n "$ac_ct_NMEDIT"; then
6686 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6706 if test -n "$ac_ct_NMEDIT"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6708 $as_echo "$ac_ct_NMEDIT" >&6; }
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711 $as_echo "no" >&6; }
6714 if test "x$ac_ct_NMEDIT" = x; then
6717 case $cross_compiling:$ac_tool_warned in
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6721 ac_tool_warned=yes ;;
6723 NMEDIT=$ac_ct_NMEDIT
6726 NMEDIT="$ac_cv_prog_NMEDIT"
6729 if test -n "$ac_tool_prefix"; then
6730 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6731 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if ${ac_cv_prog_LIPO+:} false; then :
6735 $as_echo_n "(cached) " >&6
6737 if test -n "$LIPO"; then
6738 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6747 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757 LIPO=$ac_cv_prog_LIPO
6758 if test -n "$LIPO"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6760 $as_echo "$LIPO" >&6; }
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6768 if test -z "$ac_cv_prog_LIPO"; then
6770 # Extract the first word of "lipo", so it can be a program name with args.
6771 set dummy lipo; ac_word=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6775 $as_echo_n "(cached) " >&6
6777 if test -n "$ac_ct_LIPO"; then
6778 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_prog_ac_ct_LIPO="lipo"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6798 if test -n "$ac_ct_LIPO"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6800 $as_echo "$ac_ct_LIPO" >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6806 if test "x$ac_ct_LIPO" = x; then
6809 case $cross_compiling:$ac_tool_warned in
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6813 ac_tool_warned=yes ;;
6818 LIPO="$ac_cv_prog_LIPO"
6821 if test -n "$ac_tool_prefix"; then
6822 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6823 set dummy ${ac_tool_prefix}otool; ac_word=$2
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6825 $as_echo_n "checking for $ac_word... " >&6; }
6826 if ${ac_cv_prog_OTOOL+:} false; then :
6827 $as_echo_n "(cached) " >&6
6829 if test -n "$OTOOL"; then
6830 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 test -z "$as_dir" && as_dir=.
6837 for ac_exec_ext in '' $ac_executable_extensions; do
6838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6849 OTOOL=$ac_cv_prog_OTOOL
6850 if test -n "$OTOOL"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6852 $as_echo "$OTOOL" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6860 if test -z "$ac_cv_prog_OTOOL"; then
6862 # Extract the first word of "otool", so it can be a program name with args.
6863 set dummy otool; ac_word=$2
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6865 $as_echo_n "checking for $ac_word... " >&6; }
6866 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6867 $as_echo_n "(cached) " >&6
6869 if test -n "$ac_ct_OTOOL"; then
6870 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6876 test -z "$as_dir" && as_dir=.
6877 for ac_exec_ext in '' $ac_executable_extensions; do
6878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879 ac_cv_prog_ac_ct_OTOOL="otool"
6880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6890 if test -n "$ac_ct_OTOOL"; then
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6892 $as_echo "$ac_ct_OTOOL" >&6; }
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6895 $as_echo "no" >&6; }
6898 if test "x$ac_ct_OTOOL" = x; then
6901 case $cross_compiling:$ac_tool_warned in
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6905 ac_tool_warned=yes ;;
6910 OTOOL="$ac_cv_prog_OTOOL"
6913 if test -n "$ac_tool_prefix"; then
6914 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6915 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6917 $as_echo_n "checking for $ac_word... " >&6; }
6918 if ${ac_cv_prog_OTOOL64+:} false; then :
6919 $as_echo_n "(cached) " >&6
6921 if test -n "$OTOOL64"; then
6922 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6928 test -z "$as_dir" && as_dir=.
6929 for ac_exec_ext in '' $ac_executable_extensions; do
6930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6931 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6941 OTOOL64=$ac_cv_prog_OTOOL64
6942 if test -n "$OTOOL64"; then
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6944 $as_echo "$OTOOL64" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947 $as_echo "no" >&6; }
6952 if test -z "$ac_cv_prog_OTOOL64"; then
6953 ac_ct_OTOOL64=$OTOOL64
6954 # Extract the first word of "otool64", so it can be a program name with args.
6955 set dummy otool64; ac_word=$2
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6957 $as_echo_n "checking for $ac_word... " >&6; }
6958 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6959 $as_echo_n "(cached) " >&6
6961 if test -n "$ac_ct_OTOOL64"; then
6962 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6968 test -z "$as_dir" && as_dir=.
6969 for ac_exec_ext in '' $ac_executable_extensions; do
6970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6971 ac_cv_prog_ac_ct_OTOOL64="otool64"
6972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6982 if test -n "$ac_ct_OTOOL64"; then
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6984 $as_echo "$ac_ct_OTOOL64" >&6; }
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6987 $as_echo "no" >&6; }
6990 if test "x$ac_ct_OTOOL64" = x; then
6993 case $cross_compiling:$ac_tool_warned in
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6997 ac_tool_warned=yes ;;
6999 OTOOL64=$ac_ct_OTOOL64
7002 OTOOL64="$ac_cv_prog_OTOOL64"
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7032 $as_echo_n "checking for -single_module linker flag... " >&6; }
7033 if ${lt_cv_apple_cc_single_mod+:} false; then :
7034 $as_echo_n "(cached) " >&6
7036 lt_cv_apple_cc_single_mod=no
7037 if test -z "${LT_MULTI_MODULE}"; then
7038 # By default we will add the -single_module flag. You can override
7039 # by either setting the environment variable LT_MULTI_MODULE
7040 # non-empty at configure time, or by adding -multi_module to the
7042 rm -rf libconftest.dylib*
7043 echo "int foo(void){return 1;}" > conftest.c
7044 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7045 -dynamiclib -Wl,-single_module conftest.c" >&5
7046 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7047 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7049 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7050 lt_cv_apple_cc_single_mod=yes
7052 cat conftest.err >&5
7054 rm -rf libconftest.dylib*
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7059 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7061 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7062 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7063 $as_echo_n "(cached) " >&6
7065 lt_cv_ld_exported_symbols_list=no
7066 save_LDFLAGS=$LDFLAGS
7067 echo "_main" > conftest.sym
7068 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h. */
7080 if ac_fn_c_try_link "$LINENO"; then :
7081 lt_cv_ld_exported_symbols_list=yes
7083 lt_cv_ld_exported_symbols_list=no
7085 rm -f core conftest.err conftest.$ac_objext \
7086 conftest$ac_exeext conftest.$ac_ext
7087 LDFLAGS="$save_LDFLAGS"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7091 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7093 $as_echo_n "checking for -force_load linker flag... " >&6; }
7094 if ${lt_cv_ld_force_load+:} false; then :
7095 $as_echo_n "(cached) " >&6
7097 lt_cv_ld_force_load=no
7098 cat > conftest.c << _LT_EOF
7099 int forced_loaded() { return 2;}
7101 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7102 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7103 echo "$AR cru libconftest.a conftest.o" >&5
7104 $AR cru libconftest.a conftest.o 2>&5
7105 echo "$RANLIB libconftest.a" >&5
7106 $RANLIB libconftest.a 2>&5
7107 cat > conftest.c << _LT_EOF
7108 int main() { return 0;}
7110 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7111 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7113 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7114 lt_cv_ld_force_load=yes
7116 cat conftest.err >&5
7118 rm -f conftest.err libconftest.a conftest conftest.c
7119 rm -rf conftest.dSYM
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7123 $as_echo "$lt_cv_ld_force_load" >&6; }
7125 rhapsody* | darwin1.[012])
7126 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7128 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7129 darwin*) # darwin 5.x on
7130 # if running on 10.5 or later, the deployment target defaults
7131 # to the OS version, if on x86, and 10.4, the deployment
7132 # target defaults to 10.4. Don't you love it?
7133 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7134 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7135 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7137 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7139 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7143 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7144 _lt_dar_single_mod='$single_module'
7146 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7147 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7149 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7151 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7152 _lt_dsymutil='~$DSYMUTIL $lib || :'
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
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7165 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7166 # On Suns, sometimes $CPP names a directory.
7167 if test -n "$CPP" && test -d "$CPP"; then
7170 if test -z "$CPP"; then
7171 if ${ac_cv_prog_CPP+:} false; then :
7172 $as_echo_n "(cached) " >&6
7174 # Double quotes because CPP needs to be expanded
7175 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7178 for ac_c_preproc_warn_flag in '' yes
7180 # Use a header file that comes with gcc, so configuring glibc
7181 # with a fresh cross-compiler works.
7182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7183 # <limits.h> exists even on freestanding compilers.
7184 # On the NeXT, cc -E runs the code through the compiler's parser,
7185 # not just through cpp. "Syntax error" is here to catch this case.
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7189 # include <limits.h>
7191 # include <assert.h>
7195 if ac_fn_c_try_cpp "$LINENO"; then :
7198 # Broken: fails on valid input.
7201 rm -f conftest.err conftest.i conftest.$ac_ext
7203 # OK, works on sane cases. Now check whether nonexistent headers
7204 # can be detected and how.
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207 #include <ac_nonexistent.h>
7209 if ac_fn_c_try_cpp "$LINENO"; then :
7210 # Broken: success on invalid input.
7213 # Passes both tests.
7217 rm -f conftest.err conftest.i conftest.$ac_ext
7220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7221 rm -f conftest.i conftest.err conftest.$ac_ext
7222 if $ac_preproc_ok; then :
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7235 $as_echo "$CPP" >&6; }
7237 for ac_c_preproc_warn_flag in '' yes
7239 # Use a header file that comes with gcc, so configuring glibc
7240 # with a fresh cross-compiler works.
7241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7242 # <limits.h> exists even on freestanding compilers.
7243 # On the NeXT, cc -E runs the code through the compiler's parser,
7244 # not just through cpp. "Syntax error" is here to catch this case.
7245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7248 # include <limits.h>
7250 # include <assert.h>
7254 if ac_fn_c_try_cpp "$LINENO"; then :
7257 # Broken: fails on valid input.
7260 rm -f conftest.err conftest.i conftest.$ac_ext
7262 # OK, works on sane cases. Now check whether nonexistent headers
7263 # can be detected and how.
7264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7265 /* end confdefs.h. */
7266 #include <ac_nonexistent.h>
7268 if ac_fn_c_try_cpp "$LINENO"; then :
7269 # Broken: success on invalid input.
7272 # Passes both tests.
7276 rm -f conftest.err conftest.i conftest.$ac_ext
7279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7280 rm -f conftest.i conftest.err conftest.$ac_ext
7281 if $ac_preproc_ok; then :
7284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7286 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7287 See \`config.log' for more details" "$LINENO" 5; }
7291 ac_cpp='$CPP $CPPFLAGS'
7292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7298 $as_echo_n "checking for ANSI C header files... " >&6; }
7299 if ${ac_cv_header_stdc+:} false; then :
7300 $as_echo_n "(cached) " >&6
7302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7303 /* end confdefs.h. */
7317 if ac_fn_c_try_compile "$LINENO"; then :
7318 ac_cv_header_stdc=yes
7320 ac_cv_header_stdc=no
7322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7324 if test $ac_cv_header_stdc = yes; then
7325 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327 /* end confdefs.h. */
7331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7332 $EGREP "memchr" >/dev/null 2>&1; then :
7335 ac_cv_header_stdc=no
7341 if test $ac_cv_header_stdc = yes; then
7342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7344 /* end confdefs.h. */
7348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7349 $EGREP "free" >/dev/null 2>&1; then :
7352 ac_cv_header_stdc=no
7358 if test $ac_cv_header_stdc = yes; then
7359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7360 if test "$cross_compiling" = yes; then :
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7367 #if ((' ' & 0x0FF) == 0x020)
7368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7371 # define ISLOWER(c) \
7372 (('a' <= (c) && (c) <= 'i') \
7373 || ('j' <= (c) && (c) <= 'r') \
7374 || ('s' <= (c) && (c) <= 'z'))
7375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7383 for (i = 0; i < 256; i++)
7384 if (XOR (islower (i), ISLOWER (i))
7385 || toupper (i) != TOUPPER (i))
7390 if ac_fn_c_try_run "$LINENO"; then :
7393 ac_cv_header_stdc=no
7395 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7396 conftest.$ac_objext conftest.beam conftest.$ac_ext
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7402 $as_echo "$ac_cv_header_stdc" >&6; }
7403 if test $ac_cv_header_stdc = yes; then
7405 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7409 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7411 inttypes.h stdint.h unistd.h
7413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7417 cat >>confdefs.h <<_ACEOF
7418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7426 for ac_header in dlfcn.h
7428 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7430 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7431 cat >>confdefs.h <<_ACEOF
7432 #define HAVE_DLFCN_H 1
7453 # Check whether --enable-shared was given.
7454 if test "${enable_shared+set}" = set; then :
7455 enableval=$enable_shared; p=${PACKAGE-default}
7457 yes) enable_shared=yes ;;
7458 no) enable_shared=no ;;
7461 # Look at the argument we got. We use all the common list separators.
7462 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7463 for pkg in $enableval; do
7465 if test "X$pkg" = "X$p"; then
7484 # Check whether --enable-static was given.
7485 if test "${enable_static+set}" = set; then :
7486 enableval=$enable_static; p=${PACKAGE-default}
7488 yes) enable_static=yes ;;
7489 no) enable_static=no ;;
7492 # Look at the argument we got. We use all the common list separators.
7493 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7494 for pkg in $enableval; do
7496 if test "X$pkg" = "X$p"; then
7516 # Check whether --with-pic was given.
7517 if test "${with_pic+set}" = set; then :
7518 withval=$with_pic; pic_mode="$withval"
7524 test -z "$pic_mode" && pic_mode=default
7532 # Check whether --enable-fast-install was given.
7533 if test "${enable_fast_install+set}" = set; then :
7534 enableval=$enable_fast_install; p=${PACKAGE-default}
7536 yes) enable_fast_install=yes ;;
7537 no) enable_fast_install=no ;;
7539 enable_fast_install=no
7540 # Look at the argument we got. We use all the common list separators.
7541 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7542 for pkg in $enableval; do
7544 if test "X$pkg" = "X$p"; then
7545 enable_fast_install=yes
7552 enable_fast_install=yes
7565 # This can be used to rebuild libtool when needed
7566 LIBTOOL_DEPS="$ltmain"
7568 # Always use our own libtool.
7569 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7596 test -z "$LN_S" && LN_S="ln -s"
7611 if test -n "${ZSH_VERSION+set}" ; then
7612 setopt NO_GLOB_SUBST
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7616 $as_echo_n "checking for objdir... " >&6; }
7617 if ${lt_cv_objdir+:} false; then :
7618 $as_echo_n "(cached) " >&6
7620 rm -f .libs 2>/dev/null
7621 mkdir .libs 2>/dev/null
7622 if test -d .libs; then
7625 # MS-DOS does not allow filenames that begin with a dot.
7628 rmdir .libs 2>/dev/null
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7631 $as_echo "$lt_cv_objdir" >&6; }
7632 objdir=$lt_cv_objdir
7638 cat >>confdefs.h <<_ACEOF
7639 #define LT_OBJDIR "$lt_cv_objdir/"
7647 # AIX sometimes has problems with the GCC collect2 program. For some
7648 # reason, if we set the COLLECT_NAMES environment variable, the problems
7649 # vanish in a puff of smoke.
7650 if test "X${COLLECT_NAMES+set}" != Xset; then
7652 export COLLECT_NAMES
7659 can_build_shared=yes
7661 # All known linkers require a `.a' archive for static linking (except MSVC,
7662 # which needs '.lib').
7665 with_gnu_ld="$lt_cv_prog_gnu_ld"
7668 old_CFLAGS="$CFLAGS"
7670 # Set sane defaults for various variables
7671 test -z "$CC" && CC=cc
7672 test -z "$LTCC" && LTCC=$CC
7673 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7674 test -z "$LD" && LD=ld
7675 test -z "$ac_objext" && ac_objext=o
7677 for cc_temp in $compiler""; do
7679 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7680 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7685 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7688 # Only perform the check for file, if the check method requires it
7689 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7690 case $deplibs_check_method in
7692 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7694 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7695 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7696 $as_echo_n "(cached) " >&6
7700 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7703 lt_save_MAGIC_CMD="$MAGIC_CMD"
7704 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7705 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7706 for ac_dir in $ac_dummy; do
7708 test -z "$ac_dir" && ac_dir=.
7709 if test -f $ac_dir/${ac_tool_prefix}file; then
7710 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7711 if test -n "$file_magic_test_file"; then
7712 case $deplibs_check_method in
7714 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7715 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7716 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7717 $EGREP "$file_magic_regex" > /dev/null; then
7722 *** Warning: the command libtool uses to detect shared libraries,
7723 *** $file_magic_cmd, produces output that libtool cannot recognize.
7724 *** The result is that libtool may fail to recognize shared libraries
7725 *** as such. This will affect the creation of libtool libraries that
7726 *** depend on shared libraries, but programs linked with such libtool
7727 *** libraries will work regardless of this problem. Nevertheless, you
7728 *** may want to report the problem to your system manager and/or to
7729 *** bug-libtool@gnu.org
7739 MAGIC_CMD="$lt_save_MAGIC_CMD"
7744 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7745 if test -n "$MAGIC_CMD"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7747 $as_echo "$MAGIC_CMD" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750 $as_echo "no" >&6; }
7757 if test -z "$lt_cv_path_MAGIC_CMD"; then
7758 if test -n "$ac_tool_prefix"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7760 $as_echo_n "checking for file... " >&6; }
7761 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7762 $as_echo_n "(cached) " >&6
7766 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7769 lt_save_MAGIC_CMD="$MAGIC_CMD"
7770 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7771 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7772 for ac_dir in $ac_dummy; do
7774 test -z "$ac_dir" && ac_dir=.
7775 if test -f $ac_dir/file; then
7776 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7777 if test -n "$file_magic_test_file"; then
7778 case $deplibs_check_method in
7780 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7781 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7782 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7783 $EGREP "$file_magic_regex" > /dev/null; then
7788 *** Warning: the command libtool uses to detect shared libraries,
7789 *** $file_magic_cmd, produces output that libtool cannot recognize.
7790 *** The result is that libtool may fail to recognize shared libraries
7791 *** as such. This will affect the creation of libtool libraries that
7792 *** depend on shared libraries, but programs linked with such libtool
7793 *** libraries will work regardless of this problem. Nevertheless, you
7794 *** may want to report the problem to your system manager and/or to
7795 *** bug-libtool@gnu.org
7805 MAGIC_CMD="$lt_save_MAGIC_CMD"
7810 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7811 if test -n "$MAGIC_CMD"; then
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7813 $as_echo "$MAGIC_CMD" >&6; }
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7816 $as_echo "no" >&6; }
7829 # Use C for the default configuration in the libtool script
7833 ac_cpp='$CPP $CPPFLAGS'
7834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7839 # Source file extension for C test sources.
7842 # Object file extension for compiled C test sources.
7846 # Code to be used in simple compile tests
7847 lt_simple_compile_test_code="int some_variable = 0;"
7849 # Code to be used in simple link tests
7850 lt_simple_link_test_code='int main(){return(0);}'
7858 # If no C compiler was specified, use CC.
7861 # If no C compiler flags were specified, use CFLAGS.
7862 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7864 # Allow CC to be a program name with arguments.
7867 # Save the default compiler, since it gets overwritten when the other
7868 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7869 compiler_DEFAULT=$CC
7871 # save warnings/boilerplate of simple test code
7872 ac_outfile=conftest.$ac_objext
7873 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7874 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7875 _lt_compiler_boilerplate=`cat conftest.err`
7878 ac_outfile=conftest.$ac_objext
7879 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7880 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7881 _lt_linker_boilerplate=`cat conftest.err`
7886 ## There is no encapsulation within the following macros, do not change
7887 ## the running order or otherwise move them around unless you know exactly
7888 ## what you are doing...
7889 if test -n "$compiler"; then
7891 lt_prog_compiler_no_builtin_flag=
7893 if test "$GCC" = yes; then
7894 case $cc_basename in
7896 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7898 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7902 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7903 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7904 $as_echo_n "(cached) " >&6
7906 lt_cv_prog_compiler_rtti_exceptions=no
7907 ac_outfile=conftest.$ac_objext
7908 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7909 lt_compiler_flag="-fno-rtti -fno-exceptions"
7910 # Insert the option either (1) after the last *FLAGS variable, or
7911 # (2) before a word containing "conftest.", or (3) at the end.
7912 # Note that $ac_compile itself does not contain backslashes and begins
7913 # with a dollar sign (not a hyphen), so the echo should work correctly.
7914 # The option is referenced via a variable to avoid confusing sed.
7915 lt_compile=`echo "$ac_compile" | $SED \
7916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7918 -e 's:$: $lt_compiler_flag:'`
7919 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7920 (eval "$lt_compile" 2>conftest.err)
7922 cat conftest.err >&5
7923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924 if (exit $ac_status) && test -s "$ac_outfile"; then
7925 # The compiler can only warn and ignore the option if not recognized
7926 # So say no if there are warnings other than the usual output.
7927 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7928 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7929 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7930 lt_cv_prog_compiler_rtti_exceptions=yes
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7937 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7939 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7940 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7952 lt_prog_compiler_wl=
7953 lt_prog_compiler_pic=
7954 lt_prog_compiler_static=
7957 if test "$GCC" = yes; then
7958 lt_prog_compiler_wl='-Wl,'
7959 lt_prog_compiler_static='-static'
7963 # All AIX code is PIC.
7964 if test "$host_cpu" = ia64; then
7965 # AIX 5 now supports IA64 processor
7966 lt_prog_compiler_static='-Bstatic'
7973 # see comment about AmigaOS4 .so support
7974 lt_prog_compiler_pic='-fPIC'
7977 # FIXME: we need at least 68020 code to build shared libraries, but
7978 # adding the `-m68020' flag to GCC prevents building anything better,
7980 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7985 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7986 # PIC is the default for these OSes.
7989 mingw* | cygwin* | pw32* | os2* | cegcc*)
7990 # This hack is so that the source file can tell whether it is being
7991 # built for inclusion in a dll (and should export symbols for example).
7992 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7993 # (--disable-auto-import) libraries
7994 lt_prog_compiler_pic='-DDLL_EXPORT'
7997 darwin* | rhapsody*)
7998 # PIC is the default on this platform
7999 # Common symbols not allowed in MH_DYLIB files
8000 lt_prog_compiler_pic='-fno-common'
8004 # PIC is the default for Haiku.
8005 # The "-static" flag exists, but is broken.
8006 lt_prog_compiler_static=
8010 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8011 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8012 # sets the default TLS model and affects inlining.
8018 lt_prog_compiler_pic='-fPIC'
8024 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8025 # Instead, we relocate shared libraries at runtime.
8029 # Just because we use GCC doesn't mean we suddenly get shared libraries
8030 # on systems that don't support them.
8031 lt_prog_compiler_can_build_shared=no
8036 # QNX uses GNU C++, but need to define -shared option too, otherwise
8038 lt_prog_compiler_pic='-fPIC -shared'
8042 if test -d /usr/nec; then
8043 lt_prog_compiler_pic=-Kconform_pic
8048 lt_prog_compiler_pic='-fPIC'
8052 case $cc_basename in
8053 nvcc*) # Cuda Compiler Driver 2.2
8054 lt_prog_compiler_wl='-Xlinker '
8055 lt_prog_compiler_pic='-Xcompiler -fPIC'
8059 # PORTME Check for flag to pass linker flags through the system compiler.
8062 lt_prog_compiler_wl='-Wl,'
8063 if test "$host_cpu" = ia64; then
8064 # AIX 5 now supports IA64 processor
8065 lt_prog_compiler_static='-Bstatic'
8067 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8071 mingw* | cygwin* | pw32* | os2* | cegcc*)
8072 # This hack is so that the source file can tell whether it is being
8073 # built for inclusion in a dll (and should export symbols for example).
8074 lt_prog_compiler_pic='-DDLL_EXPORT'
8077 hpux9* | hpux10* | hpux11*)
8078 lt_prog_compiler_wl='-Wl,'
8079 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8086 lt_prog_compiler_pic='+Z'
8089 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8090 lt_prog_compiler_static='${wl}-a ${wl}archive'
8093 irix5* | irix6* | nonstopux*)
8094 lt_prog_compiler_wl='-Wl,'
8095 # PIC (with -KPIC) is the default.
8096 lt_prog_compiler_static='-non_shared'
8099 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8100 case $cc_basename in
8101 # old Intel for x86_64 which still supported -KPIC.
8103 lt_prog_compiler_wl='-Wl,'
8104 lt_prog_compiler_pic='-KPIC'
8105 lt_prog_compiler_static='-static'
8107 # icc used to be incompatible with GCC.
8108 # ICC 10 doesn't accept -KPIC any more.
8110 lt_prog_compiler_wl='-Wl,'
8111 lt_prog_compiler_pic='-fPIC'
8112 lt_prog_compiler_static='-static'
8114 # Lahey Fortran 8.1.
8116 lt_prog_compiler_wl='-Wl,'
8117 lt_prog_compiler_pic='--shared'
8118 lt_prog_compiler_static='--static'
8121 # NAG Fortran compiler
8122 lt_prog_compiler_wl='-Wl,-Wl,,'
8123 lt_prog_compiler_pic='-PIC'
8124 lt_prog_compiler_static='-Bstatic'
8126 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8127 # Portland Group compilers (*not* the Pentium gcc compiler,
8128 # which looks to be a dead project)
8129 lt_prog_compiler_wl='-Wl,'
8130 lt_prog_compiler_pic='-fpic'
8131 lt_prog_compiler_static='-Bstatic'
8134 lt_prog_compiler_wl='-Wl,'
8135 # All Alpha code is PIC.
8136 lt_prog_compiler_static='-non_shared'
8138 xl* | bgxl* | bgf* | mpixl*)
8139 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8140 lt_prog_compiler_wl='-Wl,'
8141 lt_prog_compiler_pic='-qpic'
8142 lt_prog_compiler_static='-qstaticlink'
8145 case `$CC -V 2>&1 | sed 5q` in
8146 *Sun\ F* | *Sun*Fortran*)
8147 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8148 lt_prog_compiler_pic='-KPIC'
8149 lt_prog_compiler_static='-Bstatic'
8150 lt_prog_compiler_wl=''
8154 lt_prog_compiler_pic='-KPIC'
8155 lt_prog_compiler_static='-Bstatic'
8156 lt_prog_compiler_wl='-Wl,'
8164 lt_prog_compiler_pic='-KPIC'
8165 lt_prog_compiler_static='-Bstatic'
8169 # QNX uses GNU C++, but need to define -shared option too, otherwise
8171 lt_prog_compiler_pic='-fPIC -shared'
8174 osf3* | osf4* | osf5*)
8175 lt_prog_compiler_wl='-Wl,'
8176 # All OSF/1 code is PIC.
8177 lt_prog_compiler_static='-non_shared'
8181 lt_prog_compiler_static='-non_shared'
8185 lt_prog_compiler_pic='-KPIC'
8186 lt_prog_compiler_static='-Bstatic'
8187 case $cc_basename in
8188 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8189 lt_prog_compiler_wl='-Qoption ld ';;
8191 lt_prog_compiler_wl='-Wl,';;
8196 lt_prog_compiler_wl='-Qoption ld '
8197 lt_prog_compiler_pic='-PIC'
8198 lt_prog_compiler_static='-Bstatic'
8201 sysv4 | sysv4.2uw2* | sysv4.3*)
8202 lt_prog_compiler_wl='-Wl,'
8203 lt_prog_compiler_pic='-KPIC'
8204 lt_prog_compiler_static='-Bstatic'
8208 if test -d /usr/nec ;then
8209 lt_prog_compiler_pic='-Kconform_pic'
8210 lt_prog_compiler_static='-Bstatic'
8214 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8215 lt_prog_compiler_wl='-Wl,'
8216 lt_prog_compiler_pic='-KPIC'
8217 lt_prog_compiler_static='-Bstatic'
8221 lt_prog_compiler_wl='-Wl,'
8222 lt_prog_compiler_can_build_shared=no
8226 lt_prog_compiler_pic='-pic'
8227 lt_prog_compiler_static='-Bstatic'
8231 lt_prog_compiler_can_build_shared=no
8237 # For platforms which do not support PIC, -DPIC is meaningless:
8239 lt_prog_compiler_pic=
8242 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8247 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8248 if ${lt_cv_prog_compiler_pic+:} false; then :
8249 $as_echo_n "(cached) " >&6
8251 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8254 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8255 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8258 # Check to make sure the PIC flag actually works.
8260 if test -n "$lt_prog_compiler_pic"; then
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8262 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8263 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8264 $as_echo_n "(cached) " >&6
8266 lt_cv_prog_compiler_pic_works=no
8267 ac_outfile=conftest.$ac_objext
8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8269 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8270 # Insert the option either (1) after the last *FLAGS variable, or
8271 # (2) before a word containing "conftest.", or (3) at the end.
8272 # Note that $ac_compile itself does not contain backslashes and begins
8273 # with a dollar sign (not a hyphen), so the echo should work correctly.
8274 # The option is referenced via a variable to avoid confusing sed.
8275 lt_compile=`echo "$ac_compile" | $SED \
8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278 -e 's:$: $lt_compiler_flag:'`
8279 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8280 (eval "$lt_compile" 2>conftest.err)
8282 cat conftest.err >&5
8283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284 if (exit $ac_status) && test -s "$ac_outfile"; then
8285 # The compiler can only warn and ignore the option if not recognized
8286 # So say no if there are warnings other than the usual output.
8287 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8289 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8290 lt_cv_prog_compiler_pic_works=yes
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8297 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8299 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8300 case $lt_prog_compiler_pic in
8302 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8305 lt_prog_compiler_pic=
8306 lt_prog_compiler_can_build_shared=no
8322 # Check to make sure the static flag actually works.
8324 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8326 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8327 if ${lt_cv_prog_compiler_static_works+:} false; then :
8328 $as_echo_n "(cached) " >&6
8330 lt_cv_prog_compiler_static_works=no
8331 save_LDFLAGS="$LDFLAGS"
8332 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8333 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8334 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8335 # The linker can only warn and ignore the option if not recognized
8336 # So say no if there are warnings
8337 if test -s conftest.err; then
8338 # Append any errors to the config.log.
8339 cat conftest.err 1>&5
8340 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8341 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8342 if diff conftest.exp conftest.er2 >/dev/null; then
8343 lt_cv_prog_compiler_static_works=yes
8346 lt_cv_prog_compiler_static_works=yes
8350 LDFLAGS="$save_LDFLAGS"
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8354 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8356 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8359 lt_prog_compiler_static=
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8369 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8370 if ${lt_cv_prog_compiler_c_o+:} false; then :
8371 $as_echo_n "(cached) " >&6
8373 lt_cv_prog_compiler_c_o=no
8374 $RM -r conftest 2>/dev/null
8378 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8380 lt_compiler_flag="-o out/conftest2.$ac_objext"
8381 # Insert the option either (1) after the last *FLAGS variable, or
8382 # (2) before a word containing "conftest.", or (3) at the end.
8383 # Note that $ac_compile itself does not contain backslashes and begins
8384 # with a dollar sign (not a hyphen), so the echo should work correctly.
8385 lt_compile=`echo "$ac_compile" | $SED \
8386 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8387 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8388 -e 's:$: $lt_compiler_flag:'`
8389 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8390 (eval "$lt_compile" 2>out/conftest.err)
8392 cat out/conftest.err >&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8396 # The compiler can only warn and ignore the option if not recognized
8397 # So say no if there are warnings
8398 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8399 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8400 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8401 lt_cv_prog_compiler_c_o=yes
8406 # SGI C++ compiler will create directory out/ii_files/ for
8407 # template instantiation
8408 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8409 $RM out/* && rmdir out
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8416 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8424 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8425 if ${lt_cv_prog_compiler_c_o+:} false; then :
8426 $as_echo_n "(cached) " >&6
8428 lt_cv_prog_compiler_c_o=no
8429 $RM -r conftest 2>/dev/null
8433 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8435 lt_compiler_flag="-o out/conftest2.$ac_objext"
8436 # Insert the option either (1) after the last *FLAGS variable, or
8437 # (2) before a word containing "conftest.", or (3) at the end.
8438 # Note that $ac_compile itself does not contain backslashes and begins
8439 # with a dollar sign (not a hyphen), so the echo should work correctly.
8440 lt_compile=`echo "$ac_compile" | $SED \
8441 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8442 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8443 -e 's:$: $lt_compiler_flag:'`
8444 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8445 (eval "$lt_compile" 2>out/conftest.err)
8447 cat out/conftest.err >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8451 # The compiler can only warn and ignore the option if not recognized
8452 # So say no if there are warnings
8453 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8454 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8455 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8456 lt_cv_prog_compiler_c_o=yes
8461 # SGI C++ compiler will create directory out/ii_files/ for
8462 # template instantiation
8463 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8464 $RM out/* && rmdir out
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8471 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8476 hard_links="nottested"
8477 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8478 # do not overwrite the value of need_locks provided by the user
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8480 $as_echo_n "checking if we can lock with hard links... " >&6; }
8483 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8485 ln conftest.a conftest.b 2>&5 || hard_links=no
8486 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8488 $as_echo "$hard_links" >&6; }
8489 if test "$hard_links" = no; then
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8491 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8504 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8507 allow_undefined_flag=
8508 always_export_symbols=no
8510 archive_expsym_cmds=
8511 compiler_needs_object=no
8512 enable_shared_with_static_runtimes=no
8513 export_dynamic_flag_spec=
8514 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8515 hardcode_automatic=no
8517 hardcode_direct_absolute=no
8518 hardcode_libdir_flag_spec=
8519 hardcode_libdir_flag_spec_ld=
8520 hardcode_libdir_separator=
8522 hardcode_shlibpath_var=unsupported
8524 link_all_deplibs=unknown
8527 old_archive_from_new_cmds=
8528 old_archive_from_expsyms_cmds=
8529 thread_safe_flag_spec=
8530 whole_archive_flag_spec=
8531 # include_expsyms should be a list of space-separated symbols to be *always*
8532 # included in the symbol list
8534 # exclude_expsyms can be an extended regexp of symbols to exclude
8535 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8536 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8537 # as well as any symbol that contains `d'.
8538 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8539 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8540 # platforms (ab)use it in PIC code, but their linkers get confused if
8541 # the symbol is explicitly referenced. Since portable code cannot
8542 # rely on this symbol name, it's probably fine to never include it in
8543 # preloaded symbol tables.
8544 # Exclude shared library initialization/finalization symbols.
8545 extract_expsyms_cmds=
8548 cygwin* | mingw* | pw32* | cegcc*)
8549 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8550 # When not using gcc, we currently assume that we are using
8551 # Microsoft Visual C++.
8552 if test "$GCC" != yes; then
8557 # we just hope/assume this is gcc and not c89 (= MSVC++)
8567 # On some targets, GNU ld is compatible enough with the native linker
8568 # that we're better off using the native interface for both.
8569 lt_use_gnu_ld_interface=no
8570 if test "$with_gnu_ld" = yes; then
8573 # The AIX port of GNU ld has always aspired to compatibility
8574 # with the native linker. However, as the warning in the GNU ld
8575 # block says, versions before 2.19.5* couldn't really create working
8576 # shared libraries, regardless of the interface used.
8577 case `$LD -v 2>&1` in
8578 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8579 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8580 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8582 lt_use_gnu_ld_interface=yes
8587 lt_use_gnu_ld_interface=yes
8592 if test "$lt_use_gnu_ld_interface" = yes; then
8593 # If archive_cmds runs LD, not CC, wlarc should be empty
8596 # Set some defaults for GNU ld with shared library support. These
8597 # are reset later if shared libraries are not supported. Putting them
8598 # here allows them to be overridden if necessary.
8599 runpath_var=LD_RUN_PATH
8600 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8601 export_dynamic_flag_spec='${wl}--export-dynamic'
8602 # ancient GNU ld didn't support --whole-archive et. al.
8603 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8604 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8606 whole_archive_flag_spec=
8608 supports_anon_versioning=no
8609 case `$LD -v 2>&1` in
8610 *GNU\ gold*) supports_anon_versioning=yes ;;
8611 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8612 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8613 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8614 *\ 2.11.*) ;; # other 2.11 versions
8615 *) supports_anon_versioning=yes ;;
8618 # See if GNU ld supports shared libraries.
8621 # On AIX/PPC, the GNU linker is very broken
8622 if test "$host_cpu" != ia64; then
8626 *** Warning: the GNU linker, at least up to release 2.19, is reported
8627 *** to be unable to reliably create shared libraries on AIX.
8628 *** Therefore, libtool is disabling shared libraries support. If you
8629 *** really care for shared libraries, you may want to install binutils
8630 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8631 *** You will then need to restart the configuration process.
8640 # see comment about AmigaOS4 .so support
8641 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8642 archive_expsym_cmds=''
8645 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)'
8646 hardcode_libdir_flag_spec='-L$libdir'
8647 hardcode_minus_L=yes
8653 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8654 allow_undefined_flag=unsupported
8655 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8656 # support --undefined. This deserves some investigation. FIXME
8657 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8663 cygwin* | mingw* | pw32* | cegcc*)
8664 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8665 # as there is no search path for DLLs.
8666 hardcode_libdir_flag_spec='-L$libdir'
8667 export_dynamic_flag_spec='${wl}--export-all-symbols'
8668 allow_undefined_flag=unsupported
8669 always_export_symbols=no
8670 enable_shared_with_static_runtimes=yes
8671 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'
8672 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8674 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8675 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8676 # If the export-symbols file already is a .def file (1st line
8677 # is EXPORTS), use it as is; otherwise, prepend...
8678 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8679 cp $export_symbols $output_objdir/$soname.def;
8681 echo EXPORTS > $output_objdir/$soname.def;
8682 cat $export_symbols >> $output_objdir/$soname.def;
8684 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8691 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8692 link_all_deplibs=yes
8697 hardcode_shlibpath_var=no
8698 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8699 export_dynamic_flag_spec='${wl}-E'
8700 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8701 # Instead, shared libraries are loaded at an image base (0x10000000 by
8702 # default) and relocated if they conflict, which is a slow very memory
8703 # consuming and fragmenting process. To avoid this, we pick a random,
8704 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8705 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8706 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8707 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'
8710 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8712 if test "$host_os" = linux-dietlibc; then
8713 case $cc_basename in
8714 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8717 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8718 && test "$tmp_diet" = no
8720 tmp_addflag=' $pic_flag'
8721 tmp_sharedflag='-shared'
8722 case $cc_basename,$host_cpu in
8723 pgcc*) # Portland Group C compiler
8724 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'
8725 tmp_addflag=' $pic_flag'
8727 pgf77* | pgf90* | pgf95* | pgfortran*)
8728 # Portland Group f77 and f90 compilers
8729 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'
8730 tmp_addflag=' $pic_flag -Mnomain' ;;
8731 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8732 tmp_addflag=' -i_dynamic' ;;
8733 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8734 tmp_addflag=' -i_dynamic -nofor_main' ;;
8735 ifc* | ifort*) # Intel Fortran compiler
8736 tmp_addflag=' -nofor_main' ;;
8737 lf95*) # Lahey Fortran 8.1
8738 whole_archive_flag_spec=
8739 tmp_sharedflag='--shared' ;;
8740 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8741 tmp_sharedflag='-qmkshrobj'
8743 nvcc*) # Cuda Compiler Driver 2.2
8744 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'
8745 compiler_needs_object=yes
8748 case `$CC -V 2>&1 | sed 5q` in
8749 *Sun\ C*) # Sun C 5.9
8750 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'
8751 compiler_needs_object=yes
8752 tmp_sharedflag='-G' ;;
8753 *Sun\ F*) # Sun Fortran 8.3
8754 tmp_sharedflag='-G' ;;
8756 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8758 if test "x$supports_anon_versioning" = xyes; then
8759 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8760 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8761 echo "local: *; };" >> $output_objdir/$libname.ver~
8762 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8765 case $cc_basename in
8766 xlf* | bgf* | bgxlf* | mpixlf*)
8767 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8768 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8769 hardcode_libdir_flag_spec=
8770 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8771 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8772 if test "x$supports_anon_versioning" = xyes; then
8773 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8774 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8775 echo "local: *; };" >> $output_objdir/$libname.ver~
8776 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8786 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8787 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8790 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8791 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8796 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8800 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8801 *** create shared libraries on Solaris systems. Therefore, libtool
8802 *** is disabling shared libraries support. We urge you to upgrade GNU
8803 *** binutils to release 2.9.1 or newer. Another option is to modify
8804 *** your PATH or compiler configuration so that the native linker is
8805 *** used, and then restart.
8808 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8809 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8810 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8816 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8817 case `$LD -v 2>&1` in
8818 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8822 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8823 *** reliably create shared libraries on SCO systems. Therefore, libtool
8824 *** is disabling shared libraries support. We urge you to upgrade GNU
8825 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8826 *** your PATH or compiler configuration so that the native linker is
8827 *** used, and then restart.
8832 # For security reasons, it is highly recommended that you always
8833 # use absolute paths for naming shared libraries, and exclude the
8834 # DT_RUNPATH tag from executables and libraries. But doing so
8835 # requires that you compile everything twice, which is a pain.
8836 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8838 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8839 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8848 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8851 hardcode_shlibpath_var=no
8855 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8856 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8857 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8864 if test "$ld_shlibs" = no; then
8866 hardcode_libdir_flag_spec=
8867 export_dynamic_flag_spec=
8868 whole_archive_flag_spec=
8871 # PORTME fill in a description of your system's linker (not GNU ld)
8874 allow_undefined_flag=unsupported
8875 always_export_symbols=yes
8876 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'
8877 # Note: this linker hardcodes the directories in LIBPATH if there
8878 # are no directories specified by -L.
8879 hardcode_minus_L=yes
8880 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8881 # Neither direct hardcoding nor static linking is supported with a
8883 hardcode_direct=unsupported
8888 if test "$host_cpu" = ia64; then
8889 # On IA64, the linker does run time linking by default, so we don't
8890 # have to do anything special.
8891 aix_use_runtimelinking=no
8892 exp_sym_flag='-Bexport'
8895 # If we're using GNU nm, then we don't want the "-C" option.
8896 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8897 # Also, AIX nm treats weak defined symbols like other global
8898 # defined symbols, whereas GNU nm marks them as "W".
8899 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8900 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'
8902 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'
8904 aix_use_runtimelinking=no
8906 # Test if we are trying to use run time linking or normal
8907 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8908 # need to do runtime linking.
8909 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8910 for ld_flag in $LDFLAGS; do
8911 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8912 aix_use_runtimelinking=yes
8919 exp_sym_flag='-bexport'
8920 no_entry_flag='-bnoentry'
8923 # When large executables or shared objects are built, AIX ld can
8924 # have problems creating the table of contents. If linking a library
8925 # or program results in "error TOC overflow" add -mminimal-toc to
8926 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8927 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8931 hardcode_direct_absolute=yes
8932 hardcode_libdir_separator=':'
8933 link_all_deplibs=yes
8934 file_list_spec='${wl}-f,'
8936 if test "$GCC" = yes; then
8937 case $host_os in aix4.[012]|aix4.[012].*)
8938 # We only want to do this on AIX 4.2 and lower, the check
8939 # below for broken collect2 doesn't work under 4.3+
8940 collect2name=`${CC} -print-prog-name=collect2`
8941 if test -f "$collect2name" &&
8942 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8944 # We have reworked collect2
8947 # We have old collect2
8948 hardcode_direct=unsupported
8949 # It fails to find uninstalled libraries when the uninstalled
8950 # path is not listed in the libpath. Setting hardcode_minus_L
8951 # to unsupported forces relinking
8952 hardcode_minus_L=yes
8953 hardcode_libdir_flag_spec='-L$libdir'
8954 hardcode_libdir_separator=
8958 shared_flag='-shared'
8959 if test "$aix_use_runtimelinking" = yes; then
8960 shared_flag="$shared_flag "'${wl}-G'
8965 if test "$host_cpu" = ia64; then
8966 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8967 # chokes on -Wl,-G. The following line is correct:
8970 if test "$aix_use_runtimelinking" = yes; then
8971 shared_flag='${wl}-G'
8973 shared_flag='${wl}-bM:SRE'
8978 export_dynamic_flag_spec='${wl}-bexpall'
8979 # It seems that -bexpall does not export symbols beginning with
8980 # underscore (_), so it is better to generate a list of symbols to export.
8981 always_export_symbols=yes
8982 if test "$aix_use_runtimelinking" = yes; then
8983 # Warning - without using the other runtime loading flags (-brtl),
8984 # -berok will link without error, but may produce a broken library.
8985 allow_undefined_flag='-berok'
8986 # Determine the default libpath from the value encoded in an
8988 if test "${lt_cv_aix_libpath+set}" = set; then
8989 aix_libpath=$lt_cv_aix_libpath
8991 if ${lt_cv_aix_libpath_+:} false; then :
8992 $as_echo_n "(cached) " >&6
8994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8995 /* end confdefs.h. */
9005 if ac_fn_c_try_link "$LINENO"; then :
9007 lt_aix_libpath_sed='
9008 /Import File Strings/,/^$/ {
9010 s/^0 *\([^ ]*\) *$/\1/
9014 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9015 # Check for a 64-bit object if we didn't find anything.
9016 if test -z "$lt_cv_aix_libpath_"; then
9017 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9020 rm -f core conftest.err conftest.$ac_objext \
9021 conftest$ac_exeext conftest.$ac_ext
9022 if test -z "$lt_cv_aix_libpath_"; then
9023 lt_cv_aix_libpath_="/usr/lib:/lib"
9028 aix_libpath=$lt_cv_aix_libpath_
9031 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9032 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"
9034 if test "$host_cpu" = ia64; then
9035 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9036 allow_undefined_flag="-z nodefs"
9037 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"
9039 # Determine the default libpath from the value encoded in an
9041 if test "${lt_cv_aix_libpath+set}" = set; then
9042 aix_libpath=$lt_cv_aix_libpath
9044 if ${lt_cv_aix_libpath_+:} false; then :
9045 $as_echo_n "(cached) " >&6
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9058 if ac_fn_c_try_link "$LINENO"; then :
9060 lt_aix_libpath_sed='
9061 /Import File Strings/,/^$/ {
9063 s/^0 *\([^ ]*\) *$/\1/
9067 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9068 # Check for a 64-bit object if we didn't find anything.
9069 if test -z "$lt_cv_aix_libpath_"; then
9070 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9073 rm -f core conftest.err conftest.$ac_objext \
9074 conftest$ac_exeext conftest.$ac_ext
9075 if test -z "$lt_cv_aix_libpath_"; then
9076 lt_cv_aix_libpath_="/usr/lib:/lib"
9081 aix_libpath=$lt_cv_aix_libpath_
9084 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9085 # Warning - without using the other run time loading flags,
9086 # -berok will link without error, but may produce a broken library.
9087 no_undefined_flag=' ${wl}-bernotok'
9088 allow_undefined_flag=' ${wl}-berok'
9089 if test "$with_gnu_ld" = yes; then
9090 # We only use this code for GNU lds that support --whole-archive.
9091 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9093 # Exported symbols can be pulled into shared objects from archives
9094 whole_archive_flag_spec='$convenience'
9096 archive_cmds_need_lc=yes
9097 # This is similar to how AIX traditionally builds its shared libraries.
9098 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'
9106 # see comment about AmigaOS4 .so support
9107 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108 archive_expsym_cmds=''
9111 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)'
9112 hardcode_libdir_flag_spec='-L$libdir'
9113 hardcode_minus_L=yes
9119 export_dynamic_flag_spec=-rdynamic
9122 cygwin* | mingw* | pw32* | cegcc*)
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 # hardcode_libdir_flag_spec is actually meaningless, as there is
9126 # no search path for DLLs.
9127 case $cc_basename in
9130 hardcode_libdir_flag_spec=' '
9131 allow_undefined_flag=unsupported
9132 always_export_symbols=yes
9134 # Tell ltmain to make .lib files, not .a files.
9136 # Tell ltmain to make .dll files, not .so files.
9138 # FIXME: Setting linknames here is a bad hack.
9139 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9140 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9141 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9143 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9145 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9147 # The linker will not automatically build a static lib if we build a DLL.
9148 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9149 enable_shared_with_static_runtimes=yes
9150 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9152 old_postinstall_cmds='chmod 644 $oldlib'
9153 postlink_cmds='lt_outputfile="@OUTPUT@"~
9154 lt_tool_outputfile="@TOOL_OUTPUT@"~
9155 case $lt_outputfile in
9158 lt_outputfile="$lt_outputfile.exe"
9159 lt_tool_outputfile="$lt_tool_outputfile.exe"
9162 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9163 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9164 $RM "$lt_outputfile.manifest";
9168 # Assume MSVC wrapper
9169 hardcode_libdir_flag_spec=' '
9170 allow_undefined_flag=unsupported
9171 # Tell ltmain to make .lib files, not .a files.
9173 # Tell ltmain to make .dll files, not .so files.
9175 # FIXME: Setting linknames here is a bad hack.
9176 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9177 # The linker will automatically build a .lib file if we build a DLL.
9178 old_archive_from_new_cmds='true'
9179 # FIXME: Should let the user specify the lib program.
9180 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9181 enable_shared_with_static_runtimes=yes
9186 darwin* | rhapsody*)
9189 archive_cmds_need_lc=no
9191 hardcode_automatic=yes
9192 hardcode_shlibpath_var=unsupported
9193 if test "$lt_cv_ld_force_load" = "yes"; then
9194 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\"`'
9196 whole_archive_flag_spec=''
9198 link_all_deplibs=yes
9199 allow_undefined_flag="$_lt_dar_allow_undefined"
9200 case $cc_basename in
9201 ifort*) _lt_dar_can_shared=yes ;;
9202 *) _lt_dar_can_shared=$GCC ;;
9204 if test "$_lt_dar_can_shared" = "yes"; then
9205 output_verbose_link_cmd=func_echo_all
9206 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9207 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9208 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}"
9209 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}"
9218 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_shlibpath_var=no
9227 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9228 # support. Future versions do this automatically, but an explicit c++rt0.o
9229 # does not break anything, and helps significantly (at the cost of a little
9232 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9233 hardcode_libdir_flag_spec='-R$libdir'
9235 hardcode_shlibpath_var=no
9238 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9240 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9242 hardcode_minus_L=yes
9243 hardcode_shlibpath_var=no
9246 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9247 freebsd* | dragonfly*)
9248 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9249 hardcode_libdir_flag_spec='-R$libdir'
9251 hardcode_shlibpath_var=no
9255 if test "$GCC" = yes; then
9256 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'
9258 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'
9260 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9261 hardcode_libdir_separator=:
9264 # hardcode_minus_L: Not really in the search PATH,
9265 # but as the default location of the library.
9266 hardcode_minus_L=yes
9267 export_dynamic_flag_spec='${wl}-E'
9271 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9272 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9274 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9276 if test "$with_gnu_ld" = no; then
9277 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9278 hardcode_libdir_flag_spec_ld='+b $libdir'
9279 hardcode_libdir_separator=:
9281 hardcode_direct_absolute=yes
9282 export_dynamic_flag_spec='${wl}-E'
9283 # hardcode_minus_L: Not really in the search PATH,
9284 # but as the default location of the library.
9285 hardcode_minus_L=yes
9290 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9293 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9296 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9299 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9305 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9308 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9312 # Older versions of the 11.00 compiler do not understand -b yet
9313 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9315 $as_echo_n "checking if $CC understands -b... " >&6; }
9316 if ${lt_cv_prog_compiler__b+:} false; then :
9317 $as_echo_n "(cached) " >&6
9319 lt_cv_prog_compiler__b=no
9320 save_LDFLAGS="$LDFLAGS"
9321 LDFLAGS="$LDFLAGS -b"
9322 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9323 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9324 # The linker can only warn and ignore the option if not recognized
9325 # So say no if there are warnings
9326 if test -s conftest.err; then
9327 # Append any errors to the config.log.
9328 cat conftest.err 1>&5
9329 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9330 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9331 if diff conftest.exp conftest.er2 >/dev/null; then
9332 lt_cv_prog_compiler__b=yes
9335 lt_cv_prog_compiler__b=yes
9339 LDFLAGS="$save_LDFLAGS"
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9343 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9345 if test x"$lt_cv_prog_compiler__b" = xyes; then
9346 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9348 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9354 if test "$with_gnu_ld" = no; then
9355 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9356 hardcode_libdir_separator=:
9361 hardcode_shlibpath_var=no
9365 hardcode_direct_absolute=yes
9366 export_dynamic_flag_spec='${wl}-E'
9368 # hardcode_minus_L: Not really in the search PATH,
9369 # but as the default location of the library.
9370 hardcode_minus_L=yes
9376 irix5* | irix6* | nonstopux*)
9377 if test "$GCC" = yes; then
9378 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'
9379 # Try to use the -exported_symbol ld option, if it does not
9380 # work, assume that -exports_file does not work either and
9381 # implicitly export all symbols.
9382 # This should be the same for all languages, so no per-tag cache variable.
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9384 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9385 if ${lt_cv_irix_exported_symbol+:} false; then :
9386 $as_echo_n "(cached) " >&6
9388 save_LDFLAGS="$LDFLAGS"
9389 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9392 int foo (void) { return 0; }
9394 if ac_fn_c_try_link "$LINENO"; then :
9395 lt_cv_irix_exported_symbol=yes
9397 lt_cv_irix_exported_symbol=no
9399 rm -f core conftest.err conftest.$ac_objext \
9400 conftest$ac_exeext conftest.$ac_ext
9401 LDFLAGS="$save_LDFLAGS"
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9404 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9405 if test "$lt_cv_irix_exported_symbol" = yes; then
9406 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'
9409 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'
9410 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'
9412 archive_cmds_need_lc='no'
9413 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9414 hardcode_libdir_separator=:
9416 link_all_deplibs=yes
9420 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9421 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9423 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9425 hardcode_libdir_flag_spec='-R$libdir'
9427 hardcode_shlibpath_var=no
9431 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9433 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9434 hardcode_libdir_separator=:
9435 hardcode_shlibpath_var=no
9442 if test -f /usr/libexec/ld.so; then
9444 hardcode_shlibpath_var=no
9445 hardcode_direct_absolute=yes
9446 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9447 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9448 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9449 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9450 export_dynamic_flag_spec='${wl}-E'
9453 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9454 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9455 hardcode_libdir_flag_spec='-R$libdir'
9458 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9459 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9469 hardcode_libdir_flag_spec='-L$libdir'
9470 hardcode_minus_L=yes
9471 allow_undefined_flag=unsupported
9472 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'
9473 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9477 if test "$GCC" = yes; then
9478 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9479 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'
9481 allow_undefined_flag=' -expect_unresolved \*'
9482 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'
9484 archive_cmds_need_lc='no'
9485 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9486 hardcode_libdir_separator=:
9489 osf4* | osf5*) # as osf3* with the addition of -msym flag
9490 if test "$GCC" = yes; then
9491 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9492 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'
9493 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9495 allow_undefined_flag=' -expect_unresolved \*'
9496 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'
9497 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~
9498 $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'
9500 # Both c and cxx compiler support -rpath directly
9501 hardcode_libdir_flag_spec='-rpath $libdir'
9503 archive_cmds_need_lc='no'
9504 hardcode_libdir_separator=:
9508 no_undefined_flag=' -z defs'
9509 if test "$GCC" = yes; then
9511 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9512 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9513 $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'
9515 case `$CC -V 2>&1` in
9518 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9519 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9520 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9524 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9525 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9526 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9530 hardcode_libdir_flag_spec='-R$libdir'
9531 hardcode_shlibpath_var=no
9533 solaris2.[0-5] | solaris2.[0-5].*) ;;
9535 # The compiler driver will combine and reorder linker options,
9536 # but understands `-z linker_flag'. GCC discards it without `$wl',
9537 # but is careful enough not to reorder.
9538 # Supported since Solaris 2.6 (maybe 2.5.1?)
9539 if test "$GCC" = yes; then
9540 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9542 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9546 link_all_deplibs=yes
9550 if test "x$host_vendor" = xsequent; then
9551 # Use $CC to link under sequent, because it throws in some extra .o
9552 # files that make .init and .fini sections work.
9553 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9555 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9557 hardcode_libdir_flag_spec='-L$libdir'
9559 hardcode_minus_L=yes
9560 hardcode_shlibpath_var=no
9564 case $host_vendor in
9566 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9567 hardcode_direct=yes # is this really true???
9570 ## LD is ld it makes a PLAMLIB
9571 ## CC just makes a GrossModule.
9572 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9573 reload_cmds='$CC -r -o $output$reload_objs'
9577 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9578 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9581 runpath_var='LD_RUN_PATH'
9582 hardcode_shlibpath_var=no
9586 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9587 hardcode_shlibpath_var=no
9588 export_dynamic_flag_spec='-Bexport'
9592 if test -d /usr/nec; then
9593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9594 hardcode_shlibpath_var=no
9595 runpath_var=LD_RUN_PATH
9596 hardcode_runpath_var=yes
9601 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9602 no_undefined_flag='${wl}-z,text'
9603 archive_cmds_need_lc=no
9604 hardcode_shlibpath_var=no
9605 runpath_var='LD_RUN_PATH'
9607 if test "$GCC" = yes; then
9608 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9612 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9616 sysv5* | sco3.2v5* | sco5v6*)
9617 # Note: We can NOT use -z defs as we might desire, because we do not
9618 # link with -lc, and that would cause any symbols used from libc to
9619 # always be unresolved, which means just about no library would
9620 # ever link correctly. If we're not using GNU ld we use -z text
9621 # though, which does catch some bad symbols but isn't as heavy-handed
9623 no_undefined_flag='${wl}-z,text'
9624 allow_undefined_flag='${wl}-z,nodefs'
9625 archive_cmds_need_lc=no
9626 hardcode_shlibpath_var=no
9627 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9628 hardcode_libdir_separator=':'
9629 link_all_deplibs=yes
9630 export_dynamic_flag_spec='${wl}-Bexport'
9631 runpath_var='LD_RUN_PATH'
9633 if test "$GCC" = yes; then
9634 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9635 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9637 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9638 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9643 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9644 hardcode_libdir_flag_spec='-L$libdir'
9645 hardcode_shlibpath_var=no
9653 if test x$host_vendor = xsni; then
9655 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9656 export_dynamic_flag_spec='${wl}-Blargedynsym'
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9663 $as_echo "$ld_shlibs" >&6; }
9664 test "$ld_shlibs" = no && can_build_shared=no
9666 with_gnu_ld=$with_gnu_ld
9683 # Do we need to explicitly link libc?
9685 case "x$archive_cmds_need_lc" in
9687 # Assume -lc should be added
9688 archive_cmds_need_lc=yes
9690 if test "$enable_shared" = yes && test "$GCC" = yes; then
9691 case $archive_cmds in
9693 # FIXME: we may have to deal with multi-command sequences.
9696 # Test whether the compiler implicitly links with -lc since on some
9697 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9698 # to ld, don't add -lc before -lgcc.
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9700 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9701 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9702 $as_echo_n "(cached) " >&6
9705 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9707 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9708 (eval $ac_compile) 2>&5
9710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9711 test $ac_status = 0; } 2>conftest.err; then
9714 libobjs=conftest.$ac_objext
9716 wl=$lt_prog_compiler_wl
9717 pic_flag=$lt_prog_compiler_pic
9723 lt_save_allow_undefined_flag=$allow_undefined_flag
9724 allow_undefined_flag=
9725 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9726 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9729 test $ac_status = 0; }
9731 lt_cv_archive_cmds_need_lc=no
9733 lt_cv_archive_cmds_need_lc=yes
9735 allow_undefined_flag=$lt_save_allow_undefined_flag
9737 cat conftest.err 1>&5
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9743 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9744 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9908 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9910 if test "$GCC" = yes; then
9912 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9913 *) lt_awk_arg="/^libraries:/" ;;
9916 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9917 *) lt_sed_strip_eq="s,=/,/,g" ;;
9919 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9920 case $lt_search_path_spec in
9922 # if the path contains ";" then we assume it to be the separator
9923 # otherwise default to the standard path separator (i.e. ":") - it is
9924 # assumed that no part of a normal pathname contains ";" but that should
9925 # okay in the real world where ";" in dirpaths is itself problematic.
9926 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9929 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9932 # Ok, now we have the path, separated by spaces, we can step through it
9933 # and add multilib dir if necessary.
9934 lt_tmp_lt_search_path_spec=
9935 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9936 for lt_sys_path in $lt_search_path_spec; do
9937 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9938 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9940 test -d "$lt_sys_path" && \
9941 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9944 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9945 BEGIN {RS=" "; FS="/|\n";} {
9948 for (lt_i = NF; lt_i > 0; lt_i--) {
9949 if ($lt_i != "" && $lt_i != ".") {
9950 if ($lt_i == "..") {
9953 if (lt_count == 0) {
9954 lt_foo="/" $lt_i lt_foo;
9961 if (lt_foo != "") { lt_freq[lt_foo]++; }
9962 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9964 # AWK program above erroneously prepends '/' to C:/dos/paths
9967 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9968 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9970 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9972 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9975 libname_spec='lib$name'
9983 shlibpath_overrides_runpath=unknown
9985 dynamic_linker="$host_os ld.so"
9986 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9987 need_lib_prefix=unknown
9988 hardcode_into_libs=no
9990 # when you set need_version to no, make sure it does not cause -set_version
9991 # flags to be left without arguments
9992 need_version=unknown
9997 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9998 shlibpath_var=LIBPATH
10000 # AIX 3 has no versioning support, so we append a major version to the name.
10001 soname_spec='${libname}${release}${shared_ext}$major'
10008 hardcode_into_libs=yes
10009 if test "$host_cpu" = ia64; then
10010 # AIX 5 supports IA64
10011 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10012 shlibpath_var=LD_LIBRARY_PATH
10014 # With GCC up to 2.95.x, collect2 would create an import file
10015 # for dependence libraries. The import file would start with
10016 # the line `#! .'. This would cause the generated library to
10017 # depend on `.', always an invalid library. This was fixed in
10018 # development snapshots of GCC prior to 3.0.
10020 aix4 | aix4.[01] | aix4.[01].*)
10021 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10023 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10026 can_build_shared=no
10030 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10031 # soname into executable. Probably we can add versioning support to
10032 # collect2, so additional links can be useful in future.
10033 if test "$aix_use_runtimelinking" = yes; then
10034 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10035 # instead of lib<name>.a to let people know that these are not
10036 # typical AIX shared libraries.
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10039 # We preserve .a as extension for shared libraries through AIX4.2
10040 # and later when we are not doing run time linking.
10041 library_names_spec='${libname}${release}.a $libname.a'
10042 soname_spec='${libname}${release}${shared_ext}$major'
10044 shlibpath_var=LIBPATH
10051 # Since July 2007 AmigaOS4 officially supports .so libraries.
10052 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10053 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10056 library_names_spec='$libname.ixlibrary $libname.a'
10057 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10058 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'
10064 library_names_spec='${libname}${shared_ext}'
10065 dynamic_linker="$host_os ld.so"
10066 shlibpath_var=LIBRARY_PATH
10072 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10073 soname_spec='${libname}${release}${shared_ext}$major'
10074 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10075 shlibpath_var=LD_LIBRARY_PATH
10076 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10077 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10078 # the default ld.so.conf also contains /usr/contrib/lib and
10079 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10080 # libtool to hard-code these into programs
10083 cygwin* | mingw* | pw32* | cegcc*)
10084 version_type=windows
10089 case $GCC,$cc_basename in
10092 library_names_spec='$libname.dll.a'
10093 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10094 postinstall_cmds='base_file=`basename \${file}`~
10095 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10096 dldir=$destdir/`dirname \$dlpath`~
10097 test -d \$dldir || mkdir -p \$dldir~
10098 $install_prog $dir/$dlname \$dldir/$dlname~
10099 chmod a+x \$dldir/$dlname~
10100 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10101 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10103 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10104 dlpath=$dir/\$dldll~
10106 shlibpath_overrides_runpath=yes
10110 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10111 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10113 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10116 # MinGW DLLs use traditional 'lib' prefix
10117 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10120 # pw32 DLLs use 'pw' prefix rather than 'lib'
10121 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10124 dynamic_linker='Win32 ld.exe'
10129 libname_spec='$name'
10130 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10131 library_names_spec='${libname}.dll.lib'
10135 sys_lib_search_path_spec=
10138 for lt_path in $LIB
10141 # Let DOS variable expansion print the short 8.3 style file name.
10142 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10143 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10146 # Convert to MSYS style.
10147 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10150 # Convert to unix form, then to dos form, then back to unix form
10151 # but this time dos style (no spaces!) so that the unix form looks
10152 # like /cygdrive/c/PROGRA~1:/cygdr...
10153 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10154 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10155 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10158 sys_lib_search_path_spec="$LIB"
10159 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10160 # It is most probably a Windows format PATH.
10161 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10165 # FIXME: find the short name or the path components, as spaces are
10166 # common. (e.g. "Program Files" -> "PROGRA~1")
10170 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10171 postinstall_cmds='base_file=`basename \${file}`~
10172 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10173 dldir=$destdir/`dirname \$dlpath`~
10174 test -d \$dldir || mkdir -p \$dldir~
10175 $install_prog $dir/$dlname \$dldir/$dlname'
10176 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10177 dlpath=$dir/\$dldll~
10179 shlibpath_overrides_runpath=yes
10180 dynamic_linker='Win32 link.exe'
10184 # Assume MSVC wrapper
10185 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10186 dynamic_linker='Win32 ld.exe'
10189 # FIXME: first we should search . and the directory the executable is in
10193 darwin* | rhapsody*)
10194 dynamic_linker="$host_os dyld"
10195 version_type=darwin
10198 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10199 soname_spec='${libname}${release}${major}$shared_ext'
10200 shlibpath_overrides_runpath=yes
10201 shlibpath_var=DYLD_LIBRARY_PATH
10202 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10204 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10205 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10213 soname_spec='${libname}${release}${shared_ext}$major'
10214 shlibpath_var=LD_LIBRARY_PATH
10221 freebsd* | dragonfly*)
10222 # DragonFly does not have aout. When/if they implement a new
10223 # versioning mechanism, adjust this.
10224 if test -x /usr/bin/objformat; then
10225 objformat=`/usr/bin/objformat`
10228 freebsd[123]*) objformat=aout ;;
10229 *) objformat=elf ;;
10232 version_type=freebsd-$objformat
10233 case $version_type in
10235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10240 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10244 shlibpath_var=LD_LIBRARY_PATH
10247 shlibpath_overrides_runpath=yes
10249 freebsd3.[01]* | freebsdelf3.[01]*)
10250 shlibpath_overrides_runpath=yes
10251 hardcode_into_libs=yes
10253 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10254 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10255 shlibpath_overrides_runpath=no
10256 hardcode_into_libs=yes
10258 *) # from 4.6 on, and DragonFly
10259 shlibpath_overrides_runpath=yes
10260 hardcode_into_libs=yes
10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10270 soname_spec='${libname}${release}${shared_ext}$major'
10271 shlibpath_var=LD_LIBRARY_PATH
10272 hardcode_into_libs=yes
10279 dynamic_linker="$host_os runtime_loader"
10280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10281 soname_spec='${libname}${release}${shared_ext}$major'
10282 shlibpath_var=LIBRARY_PATH
10283 shlibpath_overrides_runpath=yes
10284 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10285 hardcode_into_libs=yes
10288 hpux9* | hpux10* | hpux11*)
10289 # Give a soname corresponding to the major version so that dld.sl refuses to
10290 # link against other versions.
10297 hardcode_into_libs=yes
10298 dynamic_linker="$host_os dld.so"
10299 shlibpath_var=LD_LIBRARY_PATH
10300 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 if test "X$HPUX_IA64_MODE" = X32; then
10304 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10306 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10308 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10312 hardcode_into_libs=yes
10313 dynamic_linker="$host_os dld.sl"
10314 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 soname_spec='${libname}${release}${shared_ext}$major'
10318 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10323 dynamic_linker="$host_os dld.sl"
10324 shlibpath_var=SHLIB_PATH
10325 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327 soname_spec='${libname}${release}${shared_ext}$major'
10330 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10331 postinstall_cmds='chmod 555 $lib'
10332 # or fails outright, so override atomically:
10333 install_override_mode=555
10340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10341 soname_spec='${libname}${release}${shared_ext}$major'
10342 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10343 shlibpath_var=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath=no
10345 hardcode_into_libs=yes
10348 irix5* | irix6* | nonstopux*)
10350 nonstopux*) version_type=nonstopux ;;
10352 if test "$lt_cv_prog_gnu_ld" = yes; then
10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10363 irix5* | nonstopux*)
10364 libsuff= shlibsuff=
10367 case $LD in # libtool.m4 will add one of these switches to LD
10368 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10369 libsuff= shlibsuff= libmagic=32-bit;;
10370 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10371 libsuff=32 shlibsuff=N32 libmagic=N32;;
10372 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10373 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10374 *) libsuff= shlibsuff= libmagic=never-match;;
10378 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10379 shlibpath_overrides_runpath=no
10380 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10381 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10382 hardcode_into_libs=yes
10385 # No shared lib support for Linux oldld, aout, or coff.
10386 linux*oldld* | linux*aout* | linux*coff*)
10390 # This must be Linux ELF.
10391 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396 soname_spec='${libname}${release}${shared_ext}$major'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 shlibpath_overrides_runpath=no
10401 # Some binutils ld are patched to set DT_RUNPATH
10402 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10403 $as_echo_n "(cached) " >&6
10405 lt_cv_shlibpath_overrides_runpath=no
10406 save_LDFLAGS=$LDFLAGS
10407 save_libdir=$libdir
10408 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10409 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10411 /* end confdefs.h. */
10421 if ac_fn_c_try_link "$LINENO"; then :
10422 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10423 lt_cv_shlibpath_overrides_runpath=yes
10426 rm -f core conftest.err conftest.$ac_objext \
10427 conftest$ac_exeext conftest.$ac_ext
10428 LDFLAGS=$save_LDFLAGS
10429 libdir=$save_libdir
10433 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10435 # This implies no fast_install, which is unacceptable.
10436 # Some rework will be needed to allow for fast_install
10437 # before this can be enabled.
10438 hardcode_into_libs=yes
10440 # find out which ABI we are using
10442 case "$host_cpu" in
10443 x86_64*|s390x*|powerpc64*)
10444 echo '#line 10444 "configure"' > conftest.$ac_ext
10445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10446 (eval $ac_compile) 2>&5
10448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10449 test $ac_status = 0; }; then
10450 case `/usr/bin/file conftest.$ac_objext` in
10460 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
10462 # Append ld.so.conf contents to the search path
10463 if test -f /etc/ld.so.conf; then
10464 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' ' '`
10465 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10468 # We used to test for /lib/ld.so.1 and disable shared libraries on
10469 # powerpc, because MkLinux only supported shared libraries with the
10470 # GNU dynamic linker. Since this was broken with cross compilers,
10471 # most powerpc-linux boxes support dynamic linking these days and
10472 # people can always --disable-shared, the test was removed, and we
10473 # assume the GNU/Linux dynamic linker is in use.
10474 dynamic_linker='GNU/Linux ld.so'
10481 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10483 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10484 dynamic_linker='NetBSD (a.out) ld.so'
10486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10487 soname_spec='${libname}${release}${shared_ext}$major'
10488 dynamic_linker='NetBSD ld.elf_so'
10490 shlibpath_var=LD_LIBRARY_PATH
10491 shlibpath_overrides_runpath=yes
10492 hardcode_into_libs=yes
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10498 shlibpath_var=LD_LIBRARY_PATH
10499 shlibpath_overrides_runpath=yes
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 shlibpath_var=LD_LIBRARY_PATH
10509 shlibpath_overrides_runpath=no
10510 hardcode_into_libs=yes
10511 dynamic_linker='ldqnx.so'
10516 sys_lib_dlsearch_path_spec="/usr/lib"
10518 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10520 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10521 *) need_version=no ;;
10523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10524 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10525 shlibpath_var=LD_LIBRARY_PATH
10526 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10528 openbsd2.[89] | openbsd2.[89].*)
10529 shlibpath_overrides_runpath=no
10532 shlibpath_overrides_runpath=yes
10536 shlibpath_overrides_runpath=yes
10541 libname_spec='$name'
10544 library_names_spec='$libname${shared_ext} $libname.a'
10545 dynamic_linker='OS/2 ld.exe'
10546 shlibpath_var=LIBPATH
10549 osf3* | osf4* | osf5*)
10553 soname_spec='${libname}${release}${shared_ext}$major'
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 shlibpath_var=LD_LIBRARY_PATH
10556 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10557 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10569 soname_spec='${libname}${release}${shared_ext}$major'
10570 shlibpath_var=LD_LIBRARY_PATH
10571 shlibpath_overrides_runpath=yes
10572 hardcode_into_libs=yes
10573 # ldd complains unless libraries are executable
10574 postinstall_cmds='chmod +x $lib'
10579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10580 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10581 shlibpath_var=LD_LIBRARY_PATH
10582 shlibpath_overrides_runpath=yes
10583 if test "$with_gnu_ld" = yes; then
10591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592 soname_spec='${libname}${release}${shared_ext}$major'
10593 shlibpath_var=LD_LIBRARY_PATH
10594 case $host_vendor in
10596 shlibpath_overrides_runpath=no
10598 runpath_var=LD_RUN_PATH
10606 shlibpath_overrides_runpath=no
10607 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10613 if test -d /usr/nec ;then
10615 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10616 soname_spec='$libname${shared_ext}.$major'
10617 shlibpath_var=LD_LIBRARY_PATH
10621 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10622 version_type=freebsd-elf
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 shlibpath_var=LD_LIBRARY_PATH
10628 shlibpath_overrides_runpath=yes
10629 hardcode_into_libs=yes
10630 if test "$with_gnu_ld" = yes; then
10631 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10633 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10636 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10640 sys_lib_dlsearch_path_spec='/usr/lib'
10644 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 shlibpath_overrides_runpath=no
10651 hardcode_into_libs=yes
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 shlibpath_var=LD_LIBRARY_PATH
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10666 $as_echo "$dynamic_linker" >&6; }
10667 test "$dynamic_linker" = no && can_build_shared=no
10669 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10670 if test "$GCC" = yes; then
10671 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10674 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10675 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10677 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10678 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10775 if test -n "$hardcode_libdir_flag_spec" ||
10776 test -n "$runpath_var" ||
10777 test "X$hardcode_automatic" = "Xyes" ; then
10779 # We can hardcode non-existent directories.
10780 if test "$hardcode_direct" != no &&
10781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10782 # have to relink, otherwise we might link with an installed library
10783 # when we should be linking with a yet-to-be-installed one
10784 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10785 test "$hardcode_minus_L" != no; then
10786 # Linking always hardcodes the temporary library directory.
10787 hardcode_action=relink
10789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10790 hardcode_action=immediate
10793 # We cannot hardcode anything, or else we can only hardcode existing
10795 hardcode_action=unsupported
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10798 $as_echo "$hardcode_action" >&6; }
10800 if test "$hardcode_action" = relink ||
10801 test "$inherit_rpath" = yes; then
10802 # Fast installation is not supported
10803 enable_fast_install=no
10804 elif test "$shlibpath_overrides_runpath" = yes ||
10805 test "$enable_shared" = no; then
10806 # Fast installation is not necessary
10807 enable_fast_install=needless
10815 if test "x$enable_dlopen" != xyes; then
10816 enable_dlopen=unknown
10817 enable_dlopen_self=unknown
10818 enable_dlopen_self_static=unknown
10825 lt_cv_dlopen="load_add_on"
10827 lt_cv_dlopen_self=yes
10830 mingw* | pw32* | cegcc*)
10831 lt_cv_dlopen="LoadLibrary"
10836 lt_cv_dlopen="dlopen"
10841 # if libdl is installed we need to link against it
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10843 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10844 if ${ac_cv_lib_dl_dlopen+:} false; then :
10845 $as_echo_n "(cached) " >&6
10847 ac_check_lib_save_LIBS=$LIBS
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10867 if ac_fn_c_try_link "$LINENO"; then :
10868 ac_cv_lib_dl_dlopen=yes
10870 ac_cv_lib_dl_dlopen=no
10872 rm -f core conftest.err conftest.$ac_objext \
10873 conftest$ac_exeext conftest.$ac_ext
10874 LIBS=$ac_check_lib_save_LIBS
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10877 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10878 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10879 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10882 lt_cv_dlopen="dyld"
10884 lt_cv_dlopen_self=yes
10891 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10892 if test "x$ac_cv_func_shl_load" = xyes; then :
10893 lt_cv_dlopen="shl_load"
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10896 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10897 if ${ac_cv_lib_dld_shl_load+:} false; then :
10898 $as_echo_n "(cached) " >&6
10900 ac_check_lib_save_LIBS=$LIBS
10902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10905 /* Override any GCC internal prototype to avoid an error.
10906 Use char because int might match the return type of a GCC
10907 builtin and then its argument prototype would still apply. */
10915 return shl_load ();
10920 if ac_fn_c_try_link "$LINENO"; then :
10921 ac_cv_lib_dld_shl_load=yes
10923 ac_cv_lib_dld_shl_load=no
10925 rm -f core conftest.err conftest.$ac_objext \
10926 conftest$ac_exeext conftest.$ac_ext
10927 LIBS=$ac_check_lib_save_LIBS
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10930 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10931 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10932 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10934 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10935 if test "x$ac_cv_func_dlopen" = xyes; then :
10936 lt_cv_dlopen="dlopen"
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10939 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10940 if ${ac_cv_lib_dl_dlopen+:} false; then :
10941 $as_echo_n "(cached) " >&6
10943 ac_check_lib_save_LIBS=$LIBS
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10963 if ac_fn_c_try_link "$LINENO"; then :
10964 ac_cv_lib_dl_dlopen=yes
10966 ac_cv_lib_dl_dlopen=no
10968 rm -f core conftest.err conftest.$ac_objext \
10969 conftest$ac_exeext conftest.$ac_ext
10970 LIBS=$ac_check_lib_save_LIBS
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10973 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10974 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10975 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10978 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10979 if ${ac_cv_lib_svld_dlopen+:} false; then :
10980 $as_echo_n "(cached) " >&6
10982 ac_check_lib_save_LIBS=$LIBS
10983 LIBS="-lsvld $LIBS"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10987 /* Override any GCC internal prototype to avoid an error.
10988 Use char because int might match the return type of a GCC
10989 builtin and then its argument prototype would still apply. */
11002 if ac_fn_c_try_link "$LINENO"; then :
11003 ac_cv_lib_svld_dlopen=yes
11005 ac_cv_lib_svld_dlopen=no
11007 rm -f core conftest.err conftest.$ac_objext \
11008 conftest$ac_exeext conftest.$ac_ext
11009 LIBS=$ac_check_lib_save_LIBS
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11012 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11013 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11014 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11017 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11018 if ${ac_cv_lib_dld_dld_link+:} false; then :
11019 $as_echo_n "(cached) " >&6
11021 ac_check_lib_save_LIBS=$LIBS
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11036 return dld_link ();
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_dld_dld_link=yes
11044 ac_cv_lib_dld_dld_link=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11051 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11052 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11053 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11074 if test "x$lt_cv_dlopen" != xno; then
11080 case $lt_cv_dlopen in
11082 save_CPPFLAGS="$CPPFLAGS"
11083 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11085 save_LDFLAGS="$LDFLAGS"
11086 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11089 LIBS="$lt_cv_dlopen_libs $LIBS"
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11092 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11093 if ${lt_cv_dlopen_self+:} false; then :
11094 $as_echo_n "(cached) " >&6
11096 if test "$cross_compiling" = yes; then :
11097 lt_cv_dlopen_self=cross
11099 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11100 lt_status=$lt_dlunknown
11101 cat > conftest.$ac_ext <<_LT_EOF
11102 #line $LINENO "configure"
11103 #include "confdefs.h"
11112 # define LT_DLGLOBAL RTLD_GLOBAL
11115 # define LT_DLGLOBAL DL_GLOBAL
11117 # define LT_DLGLOBAL 0
11121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11122 find out it does not work in some platform. */
11123 #ifndef LT_DLLAZY_OR_NOW
11125 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11128 # define LT_DLLAZY_OR_NOW DL_LAZY
11131 # define LT_DLLAZY_OR_NOW RTLD_NOW
11134 # define LT_DLLAZY_OR_NOW DL_NOW
11136 # define LT_DLLAZY_OR_NOW 0
11143 /* When -fvisbility=hidden is used, assume the code has been annotated
11144 correspondingly for the symbols needed. */
11145 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11146 int fnord () __attribute__((visibility("default")));
11149 int fnord () { return 42; }
11152 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11153 int status = $lt_dlunknown;
11157 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11160 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11161 else puts (dlerror ());
11163 /* dlclose (self); */
11171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11172 (eval $ac_link) 2>&5
11174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11175 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11176 (./conftest; exit; ) >&5 2>/dev/null
11178 case x$lt_status in
11179 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11180 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11181 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11184 # compilation failed
11185 lt_cv_dlopen_self=no
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11193 $as_echo "$lt_cv_dlopen_self" >&6; }
11195 if test "x$lt_cv_dlopen_self" = xyes; then
11196 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11198 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11199 if ${lt_cv_dlopen_self_static+:} false; then :
11200 $as_echo_n "(cached) " >&6
11202 if test "$cross_compiling" = yes; then :
11203 lt_cv_dlopen_self_static=cross
11205 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11206 lt_status=$lt_dlunknown
11207 cat > conftest.$ac_ext <<_LT_EOF
11208 #line $LINENO "configure"
11209 #include "confdefs.h"
11218 # define LT_DLGLOBAL RTLD_GLOBAL
11221 # define LT_DLGLOBAL DL_GLOBAL
11223 # define LT_DLGLOBAL 0
11227 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11228 find out it does not work in some platform. */
11229 #ifndef LT_DLLAZY_OR_NOW
11231 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11234 # define LT_DLLAZY_OR_NOW DL_LAZY
11237 # define LT_DLLAZY_OR_NOW RTLD_NOW
11240 # define LT_DLLAZY_OR_NOW DL_NOW
11242 # define LT_DLLAZY_OR_NOW 0
11249 /* When -fvisbility=hidden is used, assume the code has been annotated
11250 correspondingly for the symbols needed. */
11251 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11252 int fnord () __attribute__((visibility("default")));
11255 int fnord () { return 42; }
11258 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11259 int status = $lt_dlunknown;
11263 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11266 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11267 else puts (dlerror ());
11269 /* dlclose (self); */
11277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11278 (eval $ac_link) 2>&5
11280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11281 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11282 (./conftest; exit; ) >&5 2>/dev/null
11284 case x$lt_status in
11285 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11286 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11287 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11290 # compilation failed
11291 lt_cv_dlopen_self_static=no
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11299 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11302 CPPFLAGS="$save_CPPFLAGS"
11303 LDFLAGS="$save_LDFLAGS"
11308 case $lt_cv_dlopen_self in
11309 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11310 *) enable_dlopen_self=unknown ;;
11313 case $lt_cv_dlopen_self_static in
11314 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11315 *) enable_dlopen_self_static=unknown ;;
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11338 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11339 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11340 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11341 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11343 $as_echo "yes" >&6; }
11345 # FIXME - insert some real tests, host_os isn't really good enough
11348 if test -n "$STRIP" ; then
11349 striplib="$STRIP -x"
11350 old_striplib="$STRIP -S"
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11352 $as_echo "yes" >&6; }
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355 $as_echo "no" >&6; }
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11360 $as_echo "no" >&6; }
11376 # Report which library types will actually be built
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11378 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11380 $as_echo "$can_build_shared" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11383 $as_echo_n "checking whether to build shared libraries... " >&6; }
11384 test "$can_build_shared" = "no" && enable_shared=no
11386 # On AIX, shared libraries and static libraries use the same namespace, and
11387 # are all built from PIC.
11390 test "$enable_shared" = yes && enable_static=no
11391 if test -n "$RANLIB"; then
11392 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11393 postinstall_cmds='$RANLIB $lib'
11398 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11399 test "$enable_shared" = yes && enable_static=no
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11404 $as_echo "$enable_shared" >&6; }
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11407 $as_echo_n "checking whether to build static libraries... " >&6; }
11408 # Make sure either enable_shared or enable_static is yes.
11409 test "$enable_shared" = yes || enable_static=yes
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11411 $as_echo "$enable_static" >&6; }
11418 ac_cpp='$CPP $CPPFLAGS'
11419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11437 ac_config_commands="$ac_config_commands libtool"
11442 # Only expand once:
11445 AM_CPPFLAGS="$CPPFLAGS"
11447 gp_config_msg_len="$(expr "Compiler" : '.*')"
11448 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
11449 gp_config_msg_lhs="$(expr "Compiler" : "\(.\{0,${gp_config_len3}\}\)")..:"
11451 gp_config_msg_lhs="$(expr "Compiler:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
11453 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${CC}
11459 ac_dir=`echo "libexif/_stdint.h"|sed 's%/[^/][^/]*$%%'`
11460 if test "$ac_dir" != "libexif/_stdint.h" && test "$ac_dir" != .; then
11461 # The file is in a subdirectory.
11462 test ! -d "$ac_dir" && mkdir "$ac_dir"
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in stdint.h" >&5
11466 $as_echo_n "checking for uint8_t in stdint.h... " >&6; }
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11469 #include <stdint.h>
11471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11472 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
11473 ac_cv_type_uint8_t=yes
11475 ac_cv_type_uint8_t=no
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
11479 $as_echo "$ac_cv_type_uint8_t" >&6; }
11480 if test $ac_cv_type_uint8_t = yes; then
11482 cat > "libexif/_stdint.h" <<EOF
11483 /* This file is generated automatically by configure */
11484 #include <stdint.h>
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in inttypes.h" >&5
11488 $as_echo_n "checking for uint8_t in inttypes.h... " >&6; }
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11491 #include <inttypes.h>
11493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11494 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
11495 ac_cv_type_uint8_t=yes
11497 ac_cv_type_uint8_t=no
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
11501 $as_echo "$ac_cv_type_uint8_t" >&6; }
11502 if test $ac_cv_type_uint8_t = yes; then
11503 cat > "libexif/_stdint.h" <<EOF
11504 /* This file is generated automatically by configure */
11505 #include <inttypes.h>
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in sys/types.h" >&5
11509 $as_echo_n "checking for uint8_t in sys/types.h... " >&6; }
11510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11511 /* end confdefs.h. */
11512 #include <sys/types.h>
11514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11515 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
11516 ac_cv_type_uint8_t=yes
11518 ac_cv_type_uint8_t=no
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
11522 $as_echo "$ac_cv_type_uint8_t" >&6; }
11523 if test $ac_cv_type_uint8_t = yes; then
11524 cat > "libexif/_stdint.h" <<EOF
11525 /* This file is generated automatically by configure */
11526 #include <sys/types.h>
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int8_t in sys/types.h" >&5
11530 $as_echo_n "checking for u_int8_t in sys/types.h... " >&6; }
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11533 #include <sys/types.h>
11535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11536 $EGREP "(^|[^a-zA-Z_0-9])u_int8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
11537 ac_cv_type_u_int8_t=yes
11539 ac_cv_type_u_int8_t=no
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int8_t" >&5
11543 $as_echo "$ac_cv_type_u_int8_t" >&6; }
11544 if test $ac_cv_type_u_int8_t = yes; then
11545 cat > "libexif/_stdint.h" <<EOF
11546 /* This file is generated automatically by configure */
11549 #include <sys/types.h>
11550 typedef u_int8_t uint8_t;
11551 typedef u_int16_t uint16_t;
11552 typedef u_int32_t uint32_t;
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t in sys/types.h" >&5
11556 $as_echo_n "checking for u_int64_t in sys/types.h... " >&6; }
11557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11558 /* end confdefs.h. */
11559 #include <sys/types.h>
11561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11562 $EGREP "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then :
11563 ac_cv_type_u_int64_t=yes
11565 ac_cv_type_u_int64_t=no
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int64_t" >&5
11569 $as_echo "$ac_cv_type_u_int64_t" >&6; }
11570 if test $ac_cv_type_u_int64_t = yes; then
11571 cat >> "libexif/_stdint.h" <<EOF
11572 typedef u_int64_t uint64_t;
11573 #endif /*!__STDINT_H*/
11576 cat >> "libexif/_stdint.h" <<EOF
11577 /* 64-bit types are not available on this system */
11578 /* typedef u_int64_t uint64_t; */
11579 #endif /*!__STDINT_H*/
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I can't find size-specific integer definitions on this system" >&5
11587 $as_echo "$as_me: WARNING: I can't find size-specific integer definitions on this system" >&2;}
11588 if test -e "libexif/_stdint.h" ; then
11589 rm -f "libexif/_stdint.h"
11603 ship_binaries=false
11604 # Check whether --enable-ship-binaries was given.
11605 if test "${enable_ship_binaries+set}" = set; then :
11606 enableval=$enable_ship_binaries;
11607 if test x$enableval = xyes; then
11613 if $ship_binaries; then
11614 SHIP_BINARIES_TRUE=
11615 SHIP_BINARIES_FALSE='#'
11617 SHIP_BINARIES_TRUE='#'
11618 SHIP_BINARIES_FALSE=
11622 gp_config_msg_len="$(expr "Ship binaries in tarball" : '.*')"
11623 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
11624 gp_config_msg_lhs="$(expr "Ship binaries in tarball" : "\(.\{0,${gp_config_len3}\}\)")..:"
11626 gp_config_msg_lhs="$(expr "Ship binaries in tarball:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
11628 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} $ship_binaries
11634 # we need sqrt and pow which may be in libm
11635 # We cannot use AC_CHECK_FUNC because if CFLAGS contains
11636 # -Wall -Werror here the check fails because
11637 # char *sqrt() conflicts with double sqrt(double xx)
11639 # Start by assuming -lm is needed, because it's possible that the little
11640 # test program below will be optimized to in-line floating point code that
11641 # doesn't require -lm, whereas the library itself cannot be so optimized
11642 # (this actually seems to be the case on x86 with gcc 4.2). Assuming the
11643 # reverse means that -lm could be needed but wouldn't be detected below.
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions in libm" >&5
11648 $as_echo_n "checking for math functions in libm... " >&6; }
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11654 double s = sqrt(0);
11655 double p = pow(s,s);
11660 if ac_fn_c_try_link "$LINENO"; then :
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11662 $as_echo "yes" >&6; }
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions without libm" >&5
11669 $as_echo_n "checking for math functions without libm... " >&6; }
11670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11675 double s = sqrt(0);
11676 double p = pow(s,s);
11681 if ac_fn_c_try_link "$LINENO"; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11684 $as_echo "yes" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11689 $as_echo "no" >&6; }
11690 as_fn_error $? "*** Could not find sqrt() & pow() functions" "$LINENO" 5
11693 rm -f core conftest.err conftest.$ac_objext \
11694 conftest$ac_exeext conftest.$ac_ext
11697 rm -f core conftest.err conftest.$ac_objext \
11698 conftest$ac_exeext conftest.$ac_ext
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build any docs" >&5
11702 $as_echo_n "checking whether to build any docs... " >&6; }
11703 # Check whether --enable-docs was given.
11704 if test "${enable_docs+set}" = set; then :
11705 enableval=$enable_docs; case "$enableval" in
11706 yes|true|on) gp_build_docs="yes" ;;
11707 *) gp_build_docs="no" ;;
11711 gp_build_docs="yes"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gp_build_docs}" >&5
11715 $as_echo "${gp_build_docs}" >&6; }
11716 if test "x${gp_build_docs}" = "xyes"; then
11718 BUILD_DOCS_FALSE='#'
11720 BUILD_DOCS_TRUE='#'
11728 # Check whether --with-doc-dir was given.
11729 if test "${with_doc_dir+set}" = set; then :
11730 withval=$with_doc_dir;
11734 # check for the main ("root") documentation directory
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking main docdir" >&5
11736 $as_echo_n "checking main docdir... " >&6; }
11738 if test "x${with_doc_dir}" != "x"
11739 then # docdir is given as parameter
11740 docdir="${with_doc_dir}"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (from parameter)" >&5
11742 $as_echo "${docdir} (from parameter)" >&6; }
11743 else # otherwise invent a docdir hopefully compatible with system policy
11744 if test -d "/usr/share/doc"
11746 maindocdir='${prefix}/share/doc'
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (FHS style)" >&5
11748 $as_echo "${maindocdir} (FHS style)" >&6; }
11749 elif test -d "/usr/doc"
11751 maindocdir='${prefix}/doc'
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (old style)" >&5
11753 $as_echo "${maindocdir} (old style)" >&6; }
11755 maindocdir='${datadir}/doc'
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (default value)" >&5
11757 $as_echo "${maindocdir} (default value)" >&6; }
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking package docdir" >&5
11760 $as_echo_n "checking package docdir... " >&6; }
11761 # check whether to include package version into documentation path
11762 # FIXME: doesn't work properly.
11763 if ls -d /usr/{share/,}doc/make-0-9* > /dev/null 2>&1
11765 docdir="${maindocdir}/${PACKAGE}-${VERSION}"
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (redhat style)" >&5
11767 $as_echo "${docdir} (redhat style)" >&6; }
11769 docdir="${maindocdir}/${PACKAGE}"
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (default style)" >&5
11771 $as_echo "${docdir} (default style)" >&6; }
11777 # Extract the first word of "dot", so it can be a program name with args.
11778 set dummy dot; ac_word=$2
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11780 $as_echo_n "checking for $ac_word... " >&6; }
11781 if ${ac_cv_path_DOT+:} false; then :
11782 $as_echo_n "(cached) " >&6
11786 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
11789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11790 for as_dir in $PATH
11793 test -z "$as_dir" && as_dir=.
11794 for ac_exec_ext in '' $ac_executable_extensions; do
11795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11796 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
11797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11804 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
11808 DOT=$ac_cv_path_DOT
11809 if test -n "$DOT"; then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
11811 $as_echo "$DOT" >&6; }
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11814 $as_echo "no" >&6; }
11818 # Extract the first word of "doxygen", so it can be a program name with args.
11819 set dummy doxygen; ac_word=$2
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11821 $as_echo_n "checking for $ac_word... " >&6; }
11822 if ${ac_cv_path_DOXYGEN+:} false; then :
11823 $as_echo_n "(cached) " >&6
11827 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
11830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11831 for as_dir in $PATH
11834 test -z "$as_dir" && as_dir=.
11835 for ac_exec_ext in '' $ac_executable_extensions; do
11836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11837 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
11838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11845 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="false"
11849 DOXYGEN=$ac_cv_path_DOXYGEN
11850 if test -n "$DOXYGEN"; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11852 $as_echo "$DOXYGEN" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11859 if test "x$DOXYGEN" != "xfalse"; then
11861 HAVE_DOXYGEN_FALSE='#'
11863 HAVE_DOXYGEN_TRUE='#'
11864 HAVE_DOXYGEN_FALSE=
11867 if test "x$DOT" != "xfalse"; then
11875 if test "x$DOT" != "xfalse"; then
11882 HTML_APIDOC_DIR="${PACKAGE_TARNAME}-api.html"
11884 DOXYGEN_OUTPUT_DIR=doxygen-output
11886 HTML_APIDOC_INTERNALS_DIR="${PACKAGE_TARNAME}-internals.html"
11890 # Whether to enable the internal docs build.
11892 # This takes quite some time due to the generation of lots of call
11893 # graphs, so it is disabled by default.
11894 set_enable_internal_docs=no
11895 # Check whether --enable-internal-docs was given.
11896 if test "${enable_internal_docs+set}" = set; then :
11897 enableval=$enable_internal_docs; if test "x$enableval" = xno \
11898 || test "x$enableval" = xoff \
11899 || test "x$enableval" = xfalse;
11901 set_enable_internal_docs=no
11902 elif test "x$enableval" = xyes \
11903 || test "x$enableval" = xon \
11904 || test "x$enableval" = xtrue
11906 set_enable_internal_docs=yes
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to create internal code docs" >&5
11912 $as_echo_n "checking whether to create internal code docs... " >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${set_enable_internal_docs}" >&5
11914 $as_echo "${set_enable_internal_docs}" >&6; }
11915 if test "x${set_enable_internal_docs}" = "xyes"; then
11916 ENABLE_INTERNAL_DOCS_TRUE=
11917 ENABLE_INTERNAL_DOCS_FALSE='#'
11919 ENABLE_INTERNAL_DOCS_TRUE='#'
11920 ENABLE_INTERNAL_DOCS_FALSE=
11925 # ---------------------------------------------------------------------------
11927 # ---------------------------------------------------------------------------
11928 ALL_LINGUAS="be bs cs da de en_AU en_CA en_GB es fr it ja nl pl pt pt_BR ru sk sq sr sv tr uk vi zh_CN"
11931 if test -n "$ac_aux_dir"; then
11932 case "$ac_aux_dir" in
11933 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11934 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11937 if test -z "$MKINSTALLDIRS"; then
11938 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11944 $as_echo_n "checking whether NLS is requested... " >&6; }
11945 # Check whether --enable-nls was given.
11946 if test "${enable_nls+set}" = set; then :
11947 enableval=$enable_nls; USE_NLS=$enableval
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11953 $as_echo "$USE_NLS" >&6; }
11960 # Prepare PATH_SEPARATOR.
11961 # The user is always right.
11962 if test "${PATH_SEPARATOR+set}" != set; then
11963 echo "#! /bin/sh" >conf$$.sh
11964 echo "exit 0" >>conf$$.sh
11966 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11974 # Find out how to test for executable files. Don't use a zero-byte file,
11975 # as systems may use methods other than mode bits to determine executability.
11976 cat >conf$$.file <<_ASEOF
11980 chmod +x conf$$.file
11981 if test -x conf$$.file >/dev/null 2>&1; then
11982 ac_executable_p="test -x"
11984 ac_executable_p="test -f"
11988 # Extract the first word of "msgfmt", so it can be a program name with args.
11989 set dummy msgfmt; ac_word=$2
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11991 $as_echo_n "checking for $ac_word... " >&6; }
11992 if ${ac_cv_path_MSGFMT+:} false; then :
11993 $as_echo_n "(cached) " >&6
11997 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12000 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12001 for ac_dir in $PATH; do
12003 test -z "$ac_dir" && ac_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12006 if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
12007 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12008 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12015 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12019 MSGFMT="$ac_cv_path_MSGFMT"
12020 if test "$MSGFMT" != ":"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12022 $as_echo "$MSGFMT" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12028 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12029 set dummy gmsgfmt; ac_word=$2
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12031 $as_echo_n "checking for $ac_word... " >&6; }
12032 if ${ac_cv_path_GMSGFMT+:} false; then :
12033 $as_echo_n "(cached) " >&6
12037 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12055 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12059 GMSGFMT=$ac_cv_path_GMSGFMT
12060 if test -n "$GMSGFMT"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12062 $as_echo "$GMSGFMT" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12071 # Prepare PATH_SEPARATOR.
12072 # The user is always right.
12073 if test "${PATH_SEPARATOR+set}" != set; then
12074 echo "#! /bin/sh" >conf$$.sh
12075 echo "exit 0" >>conf$$.sh
12077 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12085 # Find out how to test for executable files. Don't use a zero-byte file,
12086 # as systems may use methods other than mode bits to determine executability.
12087 cat >conf$$.file <<_ASEOF
12091 chmod +x conf$$.file
12092 if test -x conf$$.file >/dev/null 2>&1; then
12093 ac_executable_p="test -x"
12095 ac_executable_p="test -f"
12099 # Extract the first word of "xgettext", so it can be a program name with args.
12100 set dummy xgettext; ac_word=$2
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12102 $as_echo_n "checking for $ac_word... " >&6; }
12103 if ${ac_cv_path_XGETTEXT+:} false; then :
12104 $as_echo_n "(cached) " >&6
12106 case "$XGETTEXT" in
12108 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12111 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12112 for ac_dir in $PATH; do
12114 test -z "$ac_dir" && ac_dir=.
12115 for ac_exec_ext in '' $ac_executable_extensions; do
12116 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12117 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12118 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12119 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12126 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12130 XGETTEXT="$ac_cv_path_XGETTEXT"
12131 if test "$XGETTEXT" != ":"; then
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12133 $as_echo "$XGETTEXT" >&6; }
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12136 $as_echo "no" >&6; }
12142 # Prepare PATH_SEPARATOR.
12143 # The user is always right.
12144 if test "${PATH_SEPARATOR+set}" != set; then
12145 echo "#! /bin/sh" >conf$$.sh
12146 echo "exit 0" >>conf$$.sh
12148 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12156 # Find out how to test for executable files. Don't use a zero-byte file,
12157 # as systems may use methods other than mode bits to determine executability.
12158 cat >conf$$.file <<_ASEOF
12162 chmod +x conf$$.file
12163 if test -x conf$$.file >/dev/null 2>&1; then
12164 ac_executable_p="test -x"
12166 ac_executable_p="test -f"
12170 # Extract the first word of "msgmerge", so it can be a program name with args.
12171 set dummy msgmerge; ac_word=$2
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12173 $as_echo_n "checking for $ac_word... " >&6; }
12174 if ${ac_cv_path_MSGMERGE+:} false; then :
12175 $as_echo_n "(cached) " >&6
12177 case "$MSGMERGE" in
12179 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12182 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12183 for ac_dir in $PATH; do
12185 test -z "$ac_dir" && ac_dir=.
12186 for ac_exec_ext in '' $ac_executable_extensions; do
12187 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12188 if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
12189 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12196 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12200 MSGMERGE="$ac_cv_path_MSGMERGE"
12201 if test "$MSGMERGE" != ":"; then
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12203 $as_echo "$MSGMERGE" >&6; }
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12206 $as_echo "no" >&6; }
12210 if test "$GMSGFMT" != ":"; then
12211 if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
12212 (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12215 GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
12217 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
12222 if test "$XGETTEXT" != ":"; then
12223 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
12224 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12228 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12234 ac_config_commands="$ac_config_commands default-1"
12238 GETTEXT_PACKAGE="${PACKAGE}-${LIBEXIF_CURRENT_MIN}"
12239 # The gettext domain we're using
12240 AM_CPPFLAGS="$AM_CPPFLAGS -DGETTEXT_PACKAGE=\\\"${GETTEXT_PACKAGE}\\\""
12242 sed_cmds="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
12243 sed_cmds="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = Lutz Mueller and others|"
12245 if test -n "$PACKAGE_BUGREPORT"; then
12246 sed_mb="${PACKAGE_BUGREPORT}"
12249 *** Your configure.{ac,in} is wrong.
12250 *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax)
12251 *** or give GP_GETTEXT_HACK the third parameter.
12256 sed_cmds="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
12257 # Not so sure whether this hack is all *that* evil...
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po/Makevars requiring hack" >&5
12259 $as_echo_n "checking for po/Makevars requiring hack... " >&6; }
12260 if test -f "${srcdir}/po/Makevars.template"; then
12261 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, done." >&5
12263 $as_echo "yes, done." >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12266 $as_echo "no" >&6; }
12271 if test "X$prefix" = "XNONE"; then
12272 acl_final_prefix="$ac_default_prefix"
12274 acl_final_prefix="$prefix"
12276 if test "X$exec_prefix" = "XNONE"; then
12277 acl_final_exec_prefix='${prefix}'
12279 acl_final_exec_prefix="$exec_prefix"
12281 acl_save_prefix="$prefix"
12282 prefix="$acl_final_prefix"
12283 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12284 prefix="$acl_save_prefix"
12287 # Check whether --with-gnu-ld was given.
12288 if test "${with_gnu_ld+set}" = set; then :
12289 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12294 # Prepare PATH_SEPARATOR.
12295 # The user is always right.
12296 if test "${PATH_SEPARATOR+set}" != set; then
12297 echo "#! /bin/sh" >conf$$.sh
12298 echo "exit 0" >>conf$$.sh
12300 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12308 if test "$GCC" = yes; then
12309 # Check if gcc -print-prog-name=ld gives a path.
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12311 $as_echo_n "checking for ld used by GCC... " >&6; }
12314 # gcc leaves a trailing carriage return which upsets mingw
12315 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12317 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12320 # Accept absolute paths.
12321 [\\/]* | [A-Za-z]:[\\/]*)
12322 re_direlt='/[^/][^/]*/\.\./'
12323 # Canonicalize the path of ld
12324 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12325 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12326 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12328 test -z "$LD" && LD="$ac_prog"
12331 # If it fails, then pretend we aren't using GCC.
12335 # If it is relative, then search for the first ld in PATH.
12336 with_gnu_ld=unknown
12339 elif test "$with_gnu_ld" = yes; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12341 $as_echo_n "checking for GNU ld... " >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12344 $as_echo_n "checking for non-GNU ld... " >&6; }
12346 if ${acl_cv_path_LD+:} false; then :
12347 $as_echo_n "(cached) " >&6
12349 if test -z "$LD"; then
12350 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12351 for ac_dir in $PATH; do
12352 test -z "$ac_dir" && ac_dir=.
12353 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12354 acl_cv_path_LD="$ac_dir/$ac_prog"
12355 # Check to see if the program is GNU ld. I'd rather use --version,
12356 # but apparently some GNU ld's only accept -v.
12357 # Break only if it was the GNU/non-GNU ld that we prefer.
12358 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12359 *GNU* | *'with BFD'*)
12360 test "$with_gnu_ld" != no && break ;;
12362 test "$with_gnu_ld" != yes && break ;;
12368 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12372 LD="$acl_cv_path_LD"
12373 if test -n "$LD"; then
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12375 $as_echo "$LD" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12378 $as_echo "no" >&6; }
12380 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12382 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12383 if ${acl_cv_prog_gnu_ld+:} false; then :
12384 $as_echo_n "(cached) " >&6
12386 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12387 case `$LD -v 2>&1 </dev/null` in
12388 *GNU* | *'with BFD'*)
12389 acl_cv_prog_gnu_ld=yes ;;
12391 acl_cv_prog_gnu_ld=no ;;
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12395 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12396 with_gnu_ld=$acl_cv_prog_gnu_ld
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12401 $as_echo_n "checking for shared library run path origin... " >&6; }
12402 if ${acl_cv_rpath+:} false; then :
12403 $as_echo_n "(cached) " >&6
12406 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12407 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12409 rm -f ./conftest.sh
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12414 $as_echo "$acl_cv_rpath" >&6; }
12416 libext="$acl_cv_libext"
12417 shlibext="$acl_cv_shlibext"
12418 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12419 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12420 hardcode_direct="$acl_cv_hardcode_direct"
12421 hardcode_minus_L="$acl_cv_hardcode_minus_L"
12422 # Check whether --enable-rpath was given.
12423 if test "${enable_rpath+set}" = set; then :
12424 enableval=$enable_rpath; :
12438 acl_save_prefix="$prefix"
12439 prefix="$acl_final_prefix"
12440 acl_save_exec_prefix="$exec_prefix"
12441 exec_prefix="$acl_final_exec_prefix"
12443 eval additional_includedir=\"$includedir\"
12444 eval additional_libdir=\"$libdir\"
12446 exec_prefix="$acl_save_exec_prefix"
12447 prefix="$acl_save_prefix"
12450 # Check whether --with-libiconv-prefix was given.
12451 if test "${with_libiconv_prefix+set}" = set; then :
12452 withval=$with_libiconv_prefix;
12453 if test "X$withval" = "Xno"; then
12456 if test "X$withval" = "X"; then
12458 acl_save_prefix="$prefix"
12459 prefix="$acl_final_prefix"
12460 acl_save_exec_prefix="$exec_prefix"
12461 exec_prefix="$acl_final_exec_prefix"
12463 eval additional_includedir=\"$includedir\"
12464 eval additional_libdir=\"$libdir\"
12466 exec_prefix="$acl_save_exec_prefix"
12467 prefix="$acl_save_prefix"
12470 additional_includedir="$withval/include"
12471 additional_libdir="$withval/lib"
12482 names_already_handled=
12483 names_next_round='iconv '
12484 while test -n "$names_next_round"; do
12485 names_this_round="$names_next_round"
12487 for name in $names_this_round; do
12489 for n in $names_already_handled; do
12490 if test "$n" = "$name"; then
12491 already_handled=yes
12495 if test -z "$already_handled"; then
12496 names_already_handled="$names_already_handled $name"
12497 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12498 eval value=\"\$HAVE_LIB$uppername\"
12499 if test -n "$value"; then
12500 if test "$value" = yes; then
12501 eval value=\"\$LIB$uppername\"
12502 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12503 eval value=\"\$LTLIB$uppername\"
12504 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12513 if test $use_additional = yes; then
12514 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12515 found_dir="$additional_libdir"
12516 found_so="$additional_libdir/lib$name.$shlibext"
12517 if test -f "$additional_libdir/lib$name.la"; then
12518 found_la="$additional_libdir/lib$name.la"
12521 if test -f "$additional_libdir/lib$name.$libext"; then
12522 found_dir="$additional_libdir"
12523 found_a="$additional_libdir/lib$name.$libext"
12524 if test -f "$additional_libdir/lib$name.la"; then
12525 found_la="$additional_libdir/lib$name.la"
12530 if test "X$found_dir" = "X"; then
12531 for x in $LDFLAGS $LTLIBICONV; do
12533 acl_save_prefix="$prefix"
12534 prefix="$acl_final_prefix"
12535 acl_save_exec_prefix="$exec_prefix"
12536 exec_prefix="$acl_final_exec_prefix"
12538 exec_prefix="$acl_save_exec_prefix"
12539 prefix="$acl_save_prefix"
12543 dir=`echo "X$x" | sed -e 's/^X-L//'`
12544 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12546 found_so="$dir/lib$name.$shlibext"
12547 if test -f "$dir/lib$name.la"; then
12548 found_la="$dir/lib$name.la"
12551 if test -f "$dir/lib$name.$libext"; then
12553 found_a="$dir/lib$name.$libext"
12554 if test -f "$dir/lib$name.la"; then
12555 found_la="$dir/lib$name.la"
12561 if test "X$found_dir" != "X"; then
12566 if test "X$found_dir" != "X"; then
12567 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12568 if test "X$found_so" != "X"; then
12569 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
12570 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12573 for x in $ltrpathdirs; do
12574 if test "X$x" = "X$found_dir"; then
12579 if test -z "$haveit"; then
12580 ltrpathdirs="$ltrpathdirs $found_dir"
12582 if test "$hardcode_direct" = yes; then
12583 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12585 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
12586 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12588 for x in $rpathdirs; do
12589 if test "X$x" = "X$found_dir"; then
12594 if test -z "$haveit"; then
12595 rpathdirs="$rpathdirs $found_dir"
12599 for x in $LDFLAGS $LIBICONV; do
12601 acl_save_prefix="$prefix"
12602 prefix="$acl_final_prefix"
12603 acl_save_exec_prefix="$exec_prefix"
12604 exec_prefix="$acl_final_exec_prefix"
12606 exec_prefix="$acl_save_exec_prefix"
12607 prefix="$acl_save_prefix"
12609 if test "X$x" = "X-L$found_dir"; then
12614 if test -z "$haveit"; then
12615 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12617 if test "$hardcode_minus_L" != no; then
12618 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12620 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12626 if test "X$found_a" != "X"; then
12627 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12629 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12632 additional_includedir=
12633 case "$found_dir" in
12635 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12636 additional_includedir="$basedir/include"
12639 if test "X$additional_includedir" != "X"; then
12640 if test "X$additional_includedir" != "X/usr/include"; then
12642 if test "X$additional_includedir" = "X/usr/local/include"; then
12643 if test -n "$GCC"; then
12645 linux*) haveit=yes;;
12649 if test -z "$haveit"; then
12650 for x in $CPPFLAGS $INCICONV; do
12652 acl_save_prefix="$prefix"
12653 prefix="$acl_final_prefix"
12654 acl_save_exec_prefix="$exec_prefix"
12655 exec_prefix="$acl_final_exec_prefix"
12657 exec_prefix="$acl_save_exec_prefix"
12658 prefix="$acl_save_prefix"
12660 if test "X$x" = "X-I$additional_includedir"; then
12665 if test -z "$haveit"; then
12666 if test -d "$additional_includedir"; then
12667 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12673 if test -n "$found_la"; then
12674 save_libdir="$libdir"
12675 case "$found_la" in
12676 */* | *\\*) . "$found_la" ;;
12677 *) . "./$found_la" ;;
12679 libdir="$save_libdir"
12680 for dep in $dependency_libs; do
12683 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12684 if test "X$additional_libdir" != "X/usr/lib"; then
12686 if test "X$additional_libdir" = "X/usr/local/lib"; then
12687 if test -n "$GCC"; then
12689 linux*) haveit=yes;;
12693 if test -z "$haveit"; then
12695 for x in $LDFLAGS $LIBICONV; do
12697 acl_save_prefix="$prefix"
12698 prefix="$acl_final_prefix"
12699 acl_save_exec_prefix="$exec_prefix"
12700 exec_prefix="$acl_final_exec_prefix"
12702 exec_prefix="$acl_save_exec_prefix"
12703 prefix="$acl_save_prefix"
12705 if test "X$x" = "X-L$additional_libdir"; then
12710 if test -z "$haveit"; then
12711 if test -d "$additional_libdir"; then
12712 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12716 for x in $LDFLAGS $LTLIBICONV; do
12718 acl_save_prefix="$prefix"
12719 prefix="$acl_final_prefix"
12720 acl_save_exec_prefix="$exec_prefix"
12721 exec_prefix="$acl_final_exec_prefix"
12723 exec_prefix="$acl_save_exec_prefix"
12724 prefix="$acl_save_prefix"
12726 if test "X$x" = "X-L$additional_libdir"; then
12731 if test -z "$haveit"; then
12732 if test -d "$additional_libdir"; then
12733 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12740 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12741 if test "$enable_rpath" != no; then
12743 for x in $rpathdirs; do
12744 if test "X$x" = "X$dir"; then
12749 if test -z "$haveit"; then
12750 rpathdirs="$rpathdirs $dir"
12753 for x in $ltrpathdirs; do
12754 if test "X$x" = "X$dir"; then
12759 if test -z "$haveit"; then
12760 ltrpathdirs="$ltrpathdirs $dir"
12765 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12768 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12771 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12772 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12778 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12779 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12785 if test "X$rpathdirs" != "X"; then
12786 if test -n "$hardcode_libdir_separator"; then
12788 for found_dir in $rpathdirs; do
12789 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12791 acl_save_libdir="$libdir"
12793 eval flag=\"$hardcode_libdir_flag_spec\"
12794 libdir="$acl_save_libdir"
12795 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12797 for found_dir in $rpathdirs; do
12798 acl_save_libdir="$libdir"
12799 libdir="$found_dir"
12800 eval flag=\"$hardcode_libdir_flag_spec\"
12801 libdir="$acl_save_libdir"
12802 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12806 if test "X$ltrpathdirs" != "X"; then
12807 for found_dir in $ltrpathdirs; do
12808 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12830 $as_echo_n "checking whether NLS is requested... " >&6; }
12831 # Check whether --enable-nls was given.
12832 if test "${enable_nls+set}" = set; then :
12833 enableval=$enable_nls; USE_NLS=$enableval
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12839 $as_echo "$USE_NLS" >&6; }
12848 if test "$USE_NLS" = "yes"; then
12849 gt_use_preinstalled_gnugettext=no
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12857 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12858 if ${gt_cv_func_gnugettext1_libc+:} false; then :
12859 $as_echo_n "(cached) " >&6
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12863 #include <libintl.h>
12864 extern int _nl_msg_cat_cntr;
12865 extern int *_nl_domain_bindings;
12869 bindtextdomain ("", "");
12870 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
12875 if ac_fn_c_try_link "$LINENO"; then :
12876 gt_cv_func_gnugettext1_libc=yes
12878 gt_cv_func_gnugettext1_libc=no
12880 rm -f core conftest.err conftest.$ac_objext \
12881 conftest$ac_exeext conftest.$ac_ext
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
12884 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
12886 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
12892 am_save_CPPFLAGS="$CPPFLAGS"
12894 for element in $INCICONV; do
12896 for x in $CPPFLAGS; do
12898 acl_save_prefix="$prefix"
12899 prefix="$acl_final_prefix"
12900 acl_save_exec_prefix="$exec_prefix"
12901 exec_prefix="$acl_final_exec_prefix"
12903 exec_prefix="$acl_save_exec_prefix"
12904 prefix="$acl_save_prefix"
12906 if test "X$x" = "X$element"; then
12911 if test -z "$haveit"; then
12912 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12918 $as_echo_n "checking for iconv... " >&6; }
12919 if ${am_cv_func_iconv+:} false; then :
12920 $as_echo_n "(cached) " >&6
12923 am_cv_func_iconv="no, consider installing GNU libiconv"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12927 #include <stdlib.h>
12932 iconv_t cd = iconv_open("","");
12933 iconv(cd,NULL,NULL,NULL,NULL);
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 am_cv_func_iconv=yes
12942 rm -f core conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12944 if test "$am_cv_func_iconv" != yes; then
12945 am_save_LIBS="$LIBS"
12946 LIBS="$LIBS $LIBICONV"
12947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948 /* end confdefs.h. */
12949 #include <stdlib.h>
12954 iconv_t cd = iconv_open("","");
12955 iconv(cd,NULL,NULL,NULL,NULL);
12961 if ac_fn_c_try_link "$LINENO"; then :
12962 am_cv_lib_iconv=yes
12963 am_cv_func_iconv=yes
12965 rm -f core conftest.err conftest.$ac_objext \
12966 conftest$ac_exeext conftest.$ac_ext
12967 LIBS="$am_save_LIBS"
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12972 $as_echo "$am_cv_func_iconv" >&6; }
12973 if test "$am_cv_func_iconv" = yes; then
12975 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12978 if test "$am_cv_lib_iconv" = yes; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12980 $as_echo_n "checking how to link with libiconv... " >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12982 $as_echo "$LIBICONV" >&6; }
12984 CPPFLAGS="$am_save_CPPFLAGS"
12996 acl_save_prefix="$prefix"
12997 prefix="$acl_final_prefix"
12998 acl_save_exec_prefix="$exec_prefix"
12999 exec_prefix="$acl_final_exec_prefix"
13001 eval additional_includedir=\"$includedir\"
13002 eval additional_libdir=\"$libdir\"
13004 exec_prefix="$acl_save_exec_prefix"
13005 prefix="$acl_save_prefix"
13008 # Check whether --with-libintl-prefix was given.
13009 if test "${with_libintl_prefix+set}" = set; then :
13010 withval=$with_libintl_prefix;
13011 if test "X$withval" = "Xno"; then
13014 if test "X$withval" = "X"; then
13016 acl_save_prefix="$prefix"
13017 prefix="$acl_final_prefix"
13018 acl_save_exec_prefix="$exec_prefix"
13019 exec_prefix="$acl_final_exec_prefix"
13021 eval additional_includedir=\"$includedir\"
13022 eval additional_libdir=\"$libdir\"
13024 exec_prefix="$acl_save_exec_prefix"
13025 prefix="$acl_save_prefix"
13028 additional_includedir="$withval/include"
13029 additional_libdir="$withval/lib"
13040 names_already_handled=
13041 names_next_round='intl '
13042 while test -n "$names_next_round"; do
13043 names_this_round="$names_next_round"
13045 for name in $names_this_round; do
13047 for n in $names_already_handled; do
13048 if test "$n" = "$name"; then
13049 already_handled=yes
13053 if test -z "$already_handled"; then
13054 names_already_handled="$names_already_handled $name"
13055 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13056 eval value=\"\$HAVE_LIB$uppername\"
13057 if test -n "$value"; then
13058 if test "$value" = yes; then
13059 eval value=\"\$LIB$uppername\"
13060 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13061 eval value=\"\$LTLIB$uppername\"
13062 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13071 if test $use_additional = yes; then
13072 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13073 found_dir="$additional_libdir"
13074 found_so="$additional_libdir/lib$name.$shlibext"
13075 if test -f "$additional_libdir/lib$name.la"; then
13076 found_la="$additional_libdir/lib$name.la"
13079 if test -f "$additional_libdir/lib$name.$libext"; then
13080 found_dir="$additional_libdir"
13081 found_a="$additional_libdir/lib$name.$libext"
13082 if test -f "$additional_libdir/lib$name.la"; then
13083 found_la="$additional_libdir/lib$name.la"
13088 if test "X$found_dir" = "X"; then
13089 for x in $LDFLAGS $LTLIBINTL; do
13091 acl_save_prefix="$prefix"
13092 prefix="$acl_final_prefix"
13093 acl_save_exec_prefix="$exec_prefix"
13094 exec_prefix="$acl_final_exec_prefix"
13096 exec_prefix="$acl_save_exec_prefix"
13097 prefix="$acl_save_prefix"
13101 dir=`echo "X$x" | sed -e 's/^X-L//'`
13102 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13104 found_so="$dir/lib$name.$shlibext"
13105 if test -f "$dir/lib$name.la"; then
13106 found_la="$dir/lib$name.la"
13109 if test -f "$dir/lib$name.$libext"; then
13111 found_a="$dir/lib$name.$libext"
13112 if test -f "$dir/lib$name.la"; then
13113 found_la="$dir/lib$name.la"
13119 if test "X$found_dir" != "X"; then
13124 if test "X$found_dir" != "X"; then
13125 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13126 if test "X$found_so" != "X"; then
13127 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
13128 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13131 for x in $ltrpathdirs; do
13132 if test "X$x" = "X$found_dir"; then
13137 if test -z "$haveit"; then
13138 ltrpathdirs="$ltrpathdirs $found_dir"
13140 if test "$hardcode_direct" = yes; then
13141 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13143 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
13144 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13146 for x in $rpathdirs; do
13147 if test "X$x" = "X$found_dir"; then
13152 if test -z "$haveit"; then
13153 rpathdirs="$rpathdirs $found_dir"
13157 for x in $LDFLAGS $LIBINTL; do
13159 acl_save_prefix="$prefix"
13160 prefix="$acl_final_prefix"
13161 acl_save_exec_prefix="$exec_prefix"
13162 exec_prefix="$acl_final_exec_prefix"
13164 exec_prefix="$acl_save_exec_prefix"
13165 prefix="$acl_save_prefix"
13167 if test "X$x" = "X-L$found_dir"; then
13172 if test -z "$haveit"; then
13173 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13175 if test "$hardcode_minus_L" != no; then
13176 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13178 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13184 if test "X$found_a" != "X"; then
13185 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13187 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13190 additional_includedir=
13191 case "$found_dir" in
13193 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13194 additional_includedir="$basedir/include"
13197 if test "X$additional_includedir" != "X"; then
13198 if test "X$additional_includedir" != "X/usr/include"; then
13200 if test "X$additional_includedir" = "X/usr/local/include"; then
13201 if test -n "$GCC"; then
13203 linux*) haveit=yes;;
13207 if test -z "$haveit"; then
13208 for x in $CPPFLAGS $INCINTL; do
13210 acl_save_prefix="$prefix"
13211 prefix="$acl_final_prefix"
13212 acl_save_exec_prefix="$exec_prefix"
13213 exec_prefix="$acl_final_exec_prefix"
13215 exec_prefix="$acl_save_exec_prefix"
13216 prefix="$acl_save_prefix"
13218 if test "X$x" = "X-I$additional_includedir"; then
13223 if test -z "$haveit"; then
13224 if test -d "$additional_includedir"; then
13225 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13231 if test -n "$found_la"; then
13232 save_libdir="$libdir"
13233 case "$found_la" in
13234 */* | *\\*) . "$found_la" ;;
13235 *) . "./$found_la" ;;
13237 libdir="$save_libdir"
13238 for dep in $dependency_libs; do
13241 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13242 if test "X$additional_libdir" != "X/usr/lib"; then
13244 if test "X$additional_libdir" = "X/usr/local/lib"; then
13245 if test -n "$GCC"; then
13247 linux*) haveit=yes;;
13251 if test -z "$haveit"; then
13253 for x in $LDFLAGS $LIBINTL; do
13255 acl_save_prefix="$prefix"
13256 prefix="$acl_final_prefix"
13257 acl_save_exec_prefix="$exec_prefix"
13258 exec_prefix="$acl_final_exec_prefix"
13260 exec_prefix="$acl_save_exec_prefix"
13261 prefix="$acl_save_prefix"
13263 if test "X$x" = "X-L$additional_libdir"; then
13268 if test -z "$haveit"; then
13269 if test -d "$additional_libdir"; then
13270 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13274 for x in $LDFLAGS $LTLIBINTL; do
13276 acl_save_prefix="$prefix"
13277 prefix="$acl_final_prefix"
13278 acl_save_exec_prefix="$exec_prefix"
13279 exec_prefix="$acl_final_exec_prefix"
13281 exec_prefix="$acl_save_exec_prefix"
13282 prefix="$acl_save_prefix"
13284 if test "X$x" = "X-L$additional_libdir"; then
13289 if test -z "$haveit"; then
13290 if test -d "$additional_libdir"; then
13291 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13298 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13299 if test "$enable_rpath" != no; then
13301 for x in $rpathdirs; do
13302 if test "X$x" = "X$dir"; then
13307 if test -z "$haveit"; then
13308 rpathdirs="$rpathdirs $dir"
13311 for x in $ltrpathdirs; do
13312 if test "X$x" = "X$dir"; then
13317 if test -z "$haveit"; then
13318 ltrpathdirs="$ltrpathdirs $dir"
13323 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13326 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13329 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13330 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13336 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13337 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13343 if test "X$rpathdirs" != "X"; then
13344 if test -n "$hardcode_libdir_separator"; then
13346 for found_dir in $rpathdirs; do
13347 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13349 acl_save_libdir="$libdir"
13351 eval flag=\"$hardcode_libdir_flag_spec\"
13352 libdir="$acl_save_libdir"
13353 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13355 for found_dir in $rpathdirs; do
13356 acl_save_libdir="$libdir"
13357 libdir="$found_dir"
13358 eval flag=\"$hardcode_libdir_flag_spec\"
13359 libdir="$acl_save_libdir"
13360 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13364 if test "X$ltrpathdirs" != "X"; then
13365 for found_dir in $ltrpathdirs; do
13366 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13371 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13372 if ${gt_cv_func_gnugettext1_libintl+:} false; then :
13373 $as_echo_n "(cached) " >&6
13375 gt_save_CPPFLAGS="$CPPFLAGS"
13376 CPPFLAGS="$CPPFLAGS $INCINTL"
13377 gt_save_LIBS="$LIBS"
13378 LIBS="$LIBS $LIBINTL"
13379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 #include <libintl.h>
13382 extern int _nl_msg_cat_cntr;
13387 const char *_nl_expand_alias ();
13391 bindtextdomain ("", "");
13392 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13397 if ac_fn_c_try_link "$LINENO"; then :
13398 gt_cv_func_gnugettext1_libintl=yes
13400 gt_cv_func_gnugettext1_libintl=no
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13404 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
13405 LIBS="$LIBS $LIBICONV"
13406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13407 /* end confdefs.h. */
13408 #include <libintl.h>
13409 extern int _nl_msg_cat_cntr;
13414 const char *_nl_expand_alias ();
13418 bindtextdomain ("", "");
13419 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13424 if ac_fn_c_try_link "$LINENO"; then :
13425 LIBINTL="$LIBINTL $LIBICONV"
13426 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13427 gt_cv_func_gnugettext1_libintl=yes
13430 rm -f core conftest.err conftest.$ac_objext \
13431 conftest$ac_exeext conftest.$ac_ext
13433 CPPFLAGS="$gt_save_CPPFLAGS"
13434 LIBS="$gt_save_LIBS"
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
13437 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
13440 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
13441 || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
13442 && test "$PACKAGE" != gettext-runtime \
13443 && test "$PACKAGE" != gettext-tools; }; then
13444 gt_use_preinstalled_gnugettext=yes
13453 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13454 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13456 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13464 $as_echo_n "checking whether to use NLS... " >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13466 $as_echo "$USE_NLS" >&6; }
13467 if test "$USE_NLS" = "yes"; then
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13469 $as_echo_n "checking where the gettext function comes from... " >&6; }
13470 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13471 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13472 gt_source="external libintl"
13477 gt_source="included intl directory"
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13480 $as_echo "$gt_source" >&6; }
13483 if test "$USE_NLS" = "yes"; then
13485 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13486 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13488 $as_echo_n "checking how to link with libintl... " >&6; }
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13490 $as_echo "$LIBINTL" >&6; }
13492 for element in $INCINTL; do
13494 for x in $CPPFLAGS; do
13496 acl_save_prefix="$prefix"
13497 prefix="$acl_final_prefix"
13498 acl_save_exec_prefix="$exec_prefix"
13499 exec_prefix="$acl_final_exec_prefix"
13501 exec_prefix="$acl_save_exec_prefix"
13502 prefix="$acl_save_prefix"
13504 if test "X$x" = "X$element"; then
13509 if test -z "$haveit"; then
13510 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13517 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13520 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13529 INTLLIBS="$LIBINTL"
13541 am_save_CPPFLAGS="$CPPFLAGS"
13543 for element in $INCICONV; do
13545 for x in $CPPFLAGS; do
13547 acl_save_prefix="$prefix"
13548 prefix="$acl_final_prefix"
13549 acl_save_exec_prefix="$exec_prefix"
13550 exec_prefix="$acl_final_exec_prefix"
13552 exec_prefix="$acl_save_exec_prefix"
13553 prefix="$acl_save_prefix"
13555 if test "X$x" = "X$element"; then
13560 if test -z "$haveit"; then
13561 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13567 $as_echo_n "checking for iconv... " >&6; }
13568 if ${am_cv_func_iconv+:} false; then :
13569 $as_echo_n "(cached) " >&6
13572 am_cv_func_iconv="no, consider installing GNU libiconv"
13574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13575 /* end confdefs.h. */
13576 #include <stdlib.h>
13581 iconv_t cd = iconv_open("","");
13582 iconv(cd,NULL,NULL,NULL,NULL);
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 am_cv_func_iconv=yes
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 if test "$am_cv_func_iconv" != yes; then
13594 am_save_LIBS="$LIBS"
13595 LIBS="$LIBS $LIBICONV"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 #include <stdlib.h>
13603 iconv_t cd = iconv_open("","");
13604 iconv(cd,NULL,NULL,NULL,NULL);
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 am_cv_lib_iconv=yes
13612 am_cv_func_iconv=yes
13614 rm -f core conftest.err conftest.$ac_objext \
13615 conftest$ac_exeext conftest.$ac_ext
13616 LIBS="$am_save_LIBS"
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13621 $as_echo "$am_cv_func_iconv" >&6; }
13622 if test "$am_cv_func_iconv" = yes; then
13624 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13627 if test "$am_cv_lib_iconv" = yes; then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13629 $as_echo_n "checking how to link with libiconv... " >&6; }
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13631 $as_echo "$LIBICONV" >&6; }
13633 CPPFLAGS="$am_save_CPPFLAGS"
13640 if test "$am_cv_func_iconv" = yes; then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
13642 $as_echo_n "checking for iconv declaration... " >&6; }
13643 if ${am_cv_proto_iconv+:} false; then :
13644 $as_echo_n "(cached) " >&6
13647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13650 #include <stdlib.h>
13656 #if defined(__STDC__) || defined(__cplusplus)
13657 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
13670 if ac_fn_c_try_compile "$LINENO"; then :
13671 am_cv_proto_iconv_arg1=""
13673 am_cv_proto_iconv_arg1="const"
13675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13676 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
13679 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
13681 }$am_cv_proto_iconv" >&5
13683 }$am_cv_proto_iconv" >&6; }
13685 cat >>confdefs.h <<_ACEOF
13686 #define ICONV_CONST $am_cv_proto_iconv_arg1
13694 if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then
13695 AM_CFLAGS="${AM_CFLAGS} -I\$(top_srcdir)/intl"
13698 gp_config_msg_len="$(expr "Use translations" : '.*')"
13699 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
13700 gp_config_msg_lhs="$(expr "Use translations" : "\(.\{0,${gp_config_len3}\}\)")..:"
13702 gp_config_msg_lhs="$(expr "Use translations:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
13704 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${USE_NLS}
13707 if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then
13709 gp_config_msg_len="$(expr "Use included libintl" : '.*')"
13710 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
13711 gp_config_msg_lhs="$(expr "Use included libintl" : "\(.\{0,${gp_config_len3}\}\)")..:"
13713 gp_config_msg_lhs="$(expr "Use included libintl:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
13715 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${BUILD_INCLUDED_LIBINTL}
13719 localedir='$(datadir)/locale'
13721 AM_CPPFLAGS="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
13725 for ac_func in localtime_r
13727 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
13728 if test "x$ac_cv_func_localtime_r" = xyes; then :
13729 cat >>confdefs.h <<_ACEOF
13730 #define HAVE_LOCALTIME_R 1
13737 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_srcdir)"
13738 AM_CPPFLAGS="$AM_CPPFLAGS -I\$(top_builddir)"
13739 AM_LDFLAGS="$LDFLAGS"
13740 if test "x$GCC" = "xyes"; then
13741 AM_CFLAGS="$AM_CFLAGS -ansi -pedantic-error"
13742 AM_CXXFLAGS="$AM_CXXFLAGS -ansi -pedantic-error"
13743 AM_CPPFLAGS="$AM_CPPFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes"
13744 AM_LDFLAGS="$AM_LDFLAGS -g -Wall"
13753 ac_config_files="$ac_config_files po/Makefile.in Makefile libexif.spec libexif/Makefile test/Makefile test/nls/Makefile m4m/Makefile doc/Makefile doc/Doxyfile doc/Doxyfile-internals libexif.pc libexif-uninstalled.pc binary/Makefile contrib/Makefile contrib/examples/Makefile"
13755 cat >confcache <<\_ACEOF
13756 # This file is a shell script that caches the results of configure
13757 # tests run on this system so they can be shared between configure
13758 # scripts and configure runs, see configure's option --config-cache.
13759 # It is not useful on other systems. If it contains results you don't
13760 # want to keep, you may remove or edit it.
13762 # config.status only pays attention to the cache file if you give it
13763 # the --recheck option to rerun configure.
13765 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13766 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13767 # following values.
13771 # The following way of writing the cache mishandles newlines in values,
13772 # but we know of no workaround that is simple, portable, and efficient.
13773 # So, we kill variables containing newlines.
13774 # Ultrix sh set writes to stderr and can't be redirected directly,
13775 # and sets the high bit in the cache file unless we assign to the vars.
13777 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13778 eval ac_val=\$$ac_var
13782 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13783 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13786 _ | IFS | as_nl) ;; #(
13787 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13788 *) { eval $ac_var=; unset $ac_var;} ;;
13794 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13795 *${as_nl}ac_space=\ *)
13796 # `set' does not quote correctly, so add quotes: double-quote
13797 # substitution turns \\\\ into \\, and sed turns \\ into \.
13800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13803 # `set' quotes correctly as required by POSIX, so do not add quotes.
13804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13817 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13818 if test -w "$cache_file"; then
13819 if test "x$cache_file" != "x/dev/null"; then
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13821 $as_echo "$as_me: updating cache $cache_file" >&6;}
13822 if test ! -f "$cache_file" || test -h "$cache_file"; then
13823 cat confcache >"$cache_file"
13825 case $cache_file in #(
13827 mv -f confcache "$cache_file"$$ &&
13828 mv -f "$cache_file"$$ "$cache_file" ;; #(
13830 mv -f confcache "$cache_file" ;;
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13836 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13841 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13842 # Let make expand exec_prefix.
13843 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13845 DEFS=-DHAVE_CONFIG_H
13850 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13851 # 1. Remove the extension, and $U if already installed.
13852 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13853 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13854 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13855 # will be set to the directory where LIBOBJS objects are built.
13856 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13857 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13859 LIBOBJS=$ac_libobjs
13861 LTLIBOBJS=$ac_ltlibobjs
13864 if test -n "$EXEEXT"; then
13866 am__EXEEXT_FALSE='#'
13868 am__EXEEXT_TRUE='#'
13872 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13873 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13876 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13877 as_fn_error $? "conditional \"AMDEP\" was never defined.
13878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13880 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13881 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13884 if test -z "${SHIP_BINARIES_TRUE}" && test -z "${SHIP_BINARIES_FALSE}"; then
13885 as_fn_error $? "conditional \"SHIP_BINARIES\" was never defined.
13886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13888 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13889 as_fn_error $? "conditional \"BUILD_DOCS\" was never defined.
13890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13892 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
13893 as_fn_error $? "conditional \"HAVE_DOXYGEN\" was never defined.
13894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13896 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
13897 as_fn_error $? "conditional \"HAVE_DOT\" was never defined.
13898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13900 if test -z "${ENABLE_INTERNAL_DOCS_TRUE}" && test -z "${ENABLE_INTERNAL_DOCS_FALSE}"; then
13901 as_fn_error $? "conditional \"ENABLE_INTERNAL_DOCS\" was never defined.
13902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13905 : "${CONFIG_STATUS=./config.status}"
13907 ac_clean_files_save=$ac_clean_files
13908 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13910 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13912 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13914 # Generated by $as_me.
13915 # Run this file to recreate the current configuration.
13916 # Compiler output produced by configure, useful for debugging
13917 # configure, is in config.log if it exists.
13920 ac_cs_recheck=false
13923 SHELL=\${CONFIG_SHELL-$SHELL}
13926 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13927 ## -------------------- ##
13928 ## M4sh Initialization. ##
13929 ## -------------------- ##
13931 # Be more Bourne compatible
13932 DUALCASE=1; export DUALCASE # for MKS sh
13933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13936 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13937 # is contrary to our usage. Disable this feature.
13938 alias -g '${1+"$@"}'='"$@"'
13939 setopt NO_GLOB_SUBST
13941 case `(set -o) 2>/dev/null` in #(
13953 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13954 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13955 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13956 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13957 # Prefer a ksh shell builtin over an external printf program on Solaris,
13958 # but without wasting forks for bash or zsh.
13959 if test -z "$BASH_VERSION$ZSH_VERSION" \
13960 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13961 as_echo='print -r --'
13962 as_echo_n='print -rn --'
13963 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13964 as_echo='printf %s\n'
13965 as_echo_n='printf %s'
13967 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13968 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13969 as_echo_n='/usr/ucb/echo -n'
13971 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13972 as_echo_n_body='eval
13976 expr "X$arg" : "X\\(.*\\)$as_nl";
13977 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13979 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13981 export as_echo_n_body
13982 as_echo_n='sh -c $as_echo_n_body as_echo'
13984 export as_echo_body
13985 as_echo='sh -c $as_echo_body as_echo'
13988 # The user is always right.
13989 if test "${PATH_SEPARATOR+set}" != set; then
13991 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13992 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13999 # We need space, tab and new line, in precisely that order. Quoting is
14000 # there to prevent editors from complaining about space-tab.
14001 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14002 # splitting by setting IFS to empty value.)
14005 # Find who we are. Look in the path if we contain no directory separator.
14008 *[\\/]* ) as_myself=$0 ;;
14009 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14013 test -z "$as_dir" && as_dir=.
14014 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14020 # We did not find ourselves, most probably we were run as `sh COMMAND'
14021 # in which case we are not to be found in the path.
14022 if test "x$as_myself" = x; then
14025 if test ! -f "$as_myself"; then
14026 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14030 # Unset variables that we do not need and which cause bugs (e.g. in
14031 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14032 # suppresses any "Segmentation fault" message there. '((' could
14033 # trigger a bug in pdksh 5.2.14.
14034 for as_var in BASH_ENV ENV MAIL MAILPATH
14035 do eval test x\${$as_var+set} = xset \
14036 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14049 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14052 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14053 # ----------------------------------------
14054 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14055 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14056 # script with STATUS, using 1 if that was 0.
14059 as_status=$1; test $as_status -eq 0 && as_status=1
14061 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14062 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14064 $as_echo "$as_me: error: $2" >&2
14065 as_fn_exit $as_status
14069 # as_fn_set_status STATUS
14070 # -----------------------
14071 # Set $? to STATUS, without forking.
14072 as_fn_set_status ()
14075 } # as_fn_set_status
14077 # as_fn_exit STATUS
14078 # -----------------
14079 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14083 as_fn_set_status $1
14089 # Portably unset VAR.
14092 { eval $1=; unset $1;}
14094 as_unset=as_fn_unset
14095 # as_fn_append VAR VALUE
14096 # ----------------------
14097 # Append the text in VALUE to the end of the definition contained in VAR. Take
14098 # advantage of any shell optimizations that allow amortized linear growth over
14099 # repeated appends, instead of the typical quadratic growth present in naive
14101 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14102 eval 'as_fn_append ()
14113 # as_fn_arith ARG...
14114 # ------------------
14115 # Perform arithmetic evaluation on the ARGs, and store the result in the
14116 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14117 # must be portable across $(()) and expr.
14118 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14119 eval 'as_fn_arith ()
14126 as_val=`expr "$@" || test $? -eq 1`
14131 if expr a : '\(a\)' >/dev/null 2>&1 &&
14132 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14138 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14139 as_basename=basename
14144 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14150 as_me=`$as_basename -- "$0" ||
14151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14152 X"$0" : 'X\(//\)$' \| \
14153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14155 sed '/^.*\/\([^/][^/]*\)\/*$/{
14169 # Avoid depending upon Character Ranges.
14170 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14171 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14172 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14173 as_cr_digits='0123456789'
14174 as_cr_alnum=$as_cr_Letters$as_cr_digits
14176 ECHO_C= ECHO_N= ECHO_T=
14177 case `echo -n x` in #(((((
14179 case `echo 'xy\c'` in
14180 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14182 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14189 rm -f conf$$ conf$$.exe conf$$.file
14190 if test -d conf$$.dir; then
14191 rm -f conf$$.dir/conf$$.file
14194 mkdir conf$$.dir 2>/dev/null
14196 if (echo >conf$$.file) 2>/dev/null; then
14197 if ln -s conf$$.file conf$$ 2>/dev/null; then
14199 # ... but there are two gotchas:
14200 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14201 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14202 # In both cases, we have to default to `cp -p'.
14203 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14205 elif ln conf$$.file conf$$ 2>/dev/null; then
14213 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14214 rmdir conf$$.dir 2>/dev/null
14219 # Create "$as_dir" as a directory, including parents if necessary.
14224 -*) as_dir=./$as_dir;;
14226 test -d "$as_dir" || eval $as_mkdir_p || {
14230 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14231 *) as_qdir=$as_dir;;
14233 as_dirs="'$as_qdir' $as_dirs"
14234 as_dir=`$as_dirname -- "$as_dir" ||
14235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14236 X"$as_dir" : 'X\(//\)[^/]' \| \
14237 X"$as_dir" : 'X\(//\)$' \| \
14238 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14239 $as_echo X"$as_dir" |
14240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14244 /^X\(\/\/\)[^/].*/{
14257 test -d "$as_dir" && break
14259 test -z "$as_dirs" || eval "mkdir $as_dirs"
14260 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14264 if mkdir -p . 2>/dev/null; then
14265 as_mkdir_p='mkdir -p "$as_dir"'
14267 test -d ./-p && rmdir ./-p
14271 if test -x / >/dev/null 2>&1; then
14272 as_test_x='test -x'
14274 if ls -dL / >/dev/null 2>&1; then
14281 if test -d "$1"; then
14287 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14288 ???[sx]*):;;*)false;;esac;fi
14292 as_executable_p=$as_test_x
14294 # Sed expression to map a string onto a valid CPP name.
14295 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14297 # Sed expression to map a string onto a valid variable name.
14298 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14302 ## ----------------------------------- ##
14303 ## Main body of $CONFIG_STATUS script. ##
14304 ## ----------------------------------- ##
14306 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14308 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14309 # Save the log message, to keep $0 and so on meaningful, and to
14310 # report actual input values of CONFIG_FILES etc. instead of their
14311 # values after options handling.
14313 This file was extended by EXIF library $as_me 0.6.21, which was
14314 generated by GNU Autoconf 2.68. Invocation command line was
14316 CONFIG_FILES = $CONFIG_FILES
14317 CONFIG_HEADERS = $CONFIG_HEADERS
14318 CONFIG_LINKS = $CONFIG_LINKS
14319 CONFIG_COMMANDS = $CONFIG_COMMANDS
14322 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14327 case $ac_config_files in *"
14328 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14331 case $ac_config_headers in *"
14332 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14337 # Files that config.status was made for.
14338 config_files="`echo $ac_config_files`"
14339 config_headers="`echo $ac_config_headers`"
14340 config_commands="`echo $ac_config_commands`"
14344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14346 \`$as_me' instantiates files and other configuration actions
14347 from templates according to the current configuration. Unless the files
14348 and actions are specified as TAGs, all are instantiated by default.
14350 Usage: $0 [OPTION]... [TAG]...
14352 -h, --help print this help, then exit
14353 -V, --version print version number and configuration settings, then exit
14354 --config print configuration, then exit
14355 -q, --quiet, --silent
14356 do not print progress messages
14357 -d, --debug don't remove temporary files
14358 --recheck update $as_me by reconfiguring in the same conditions
14359 --file=FILE[:TEMPLATE]
14360 instantiate the configuration file FILE
14361 --header=FILE[:TEMPLATE]
14362 instantiate the configuration header FILE
14364 Configuration files:
14367 Configuration headers:
14370 Configuration commands:
14373 Report bugs to <libexif-devel@lists.sourceforge.net>."
14376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14377 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14379 EXIF library config.status 0.6.21
14380 configured by $0, generated by GNU Autoconf 2.68,
14381 with options \\"\$ac_cs_config\\"
14383 Copyright (C) 2010 Free Software Foundation, Inc.
14384 This config.status script is free software; the Free Software Foundation
14385 gives unlimited permission to copy, distribute and modify it."
14392 test -n "\$AWK" || AWK=awk
14395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14396 # The default lists apply if the user does not specify any file.
14402 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14403 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14407 ac_option=`expr "X$1" : 'X\([^=]*\)='`
14419 # Handling of the options.
14420 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14422 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14423 $as_echo "$ac_cs_version"; exit ;;
14424 --config | --confi | --conf | --con | --co | --c )
14425 $as_echo "$ac_cs_config"; exit ;;
14426 --debug | --debu | --deb | --de | --d | -d )
14428 --file | --fil | --fi | --f )
14431 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14432 '') as_fn_error $? "missing file argument" ;;
14434 as_fn_append CONFIG_FILES " '$ac_optarg'"
14435 ac_need_defaults=false;;
14436 --header | --heade | --head | --hea )
14439 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14441 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14442 ac_need_defaults=false;;
14444 # Conflict between --help and --header
14445 as_fn_error $? "ambiguous option: \`$1'
14446 Try \`$0 --help' for more information.";;
14447 --help | --hel | -h )
14448 $as_echo "$ac_cs_usage"; exit ;;
14449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14450 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14453 # This is an error.
14454 -*) as_fn_error $? "unrecognized option: \`$1'
14455 Try \`$0 --help' for more information." ;;
14457 *) as_fn_append ac_config_targets " $1"
14458 ac_need_defaults=false ;;
14464 ac_configure_extra_args=
14466 if $ac_cs_silent; then
14468 ac_configure_extra_args="$ac_configure_extra_args --silent"
14472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14473 if \$ac_cs_recheck; then
14474 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14476 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14477 CONFIG_SHELL='$SHELL'
14478 export CONFIG_SHELL
14483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14487 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14488 ## Running $as_me. ##
14494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14498 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14501 # The HP-UX ksh and POSIX shell print the target directory to stdout
14502 # if CDPATH is set.
14503 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14505 sed_quote_subst='$sed_quote_subst'
14506 double_quote_subst='$double_quote_subst'
14507 delay_variable_subst='$delay_variable_subst'
14508 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14509 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14510 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14511 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14512 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14513 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14514 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14515 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14516 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14517 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14518 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14519 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14520 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14521 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14522 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14523 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14524 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14525 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14526 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14527 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14528 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14529 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14530 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14531 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14532 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14533 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14534 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14535 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14536 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14537 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14538 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14539 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14540 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14541 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14542 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14543 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14544 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14545 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14546 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14547 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14548 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14549 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14550 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14551 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14552 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14553 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14554 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14555 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14556 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14557 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14558 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14559 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14560 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14561 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14562 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14563 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"`'
14564 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14565 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14566 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14567 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14568 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14569 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14570 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14571 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14572 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14573 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14574 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14575 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14576 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14577 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14578 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14579 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14580 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14581 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14582 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14583 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14584 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14585 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14586 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14587 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14588 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14589 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14590 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14591 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14592 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14593 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14594 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14595 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14596 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14597 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14598 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14599 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14600 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14601 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14602 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14603 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14604 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14605 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14606 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14607 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14608 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14609 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14610 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14611 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14612 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14613 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14614 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14615 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14616 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14617 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14618 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14619 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14620 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14621 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14622 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14623 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14624 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14625 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14626 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14627 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14628 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14629 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14630 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14631 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14632 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14633 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14634 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14635 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14636 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14637 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14640 LTCFLAGS='$LTCFLAGS'
14641 compiler='$compiler_DEFAULT'
14643 # A function that is used when there is no print builtin or printf.
14644 func_fallback_echo ()
14646 eval 'cat <<_LTECHO_EOF
14651 # Quote evaled strings.
14665 deplibs_check_method \
14670 sharedlib_from_linklib_cmd \
14673 archiver_list_spec \
14679 lt_cv_sys_global_symbol_pipe \
14680 lt_cv_sys_global_symbol_to_cdecl \
14681 lt_cv_sys_global_symbol_to_c_name_address \
14682 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14683 nm_file_list_spec \
14684 lt_prog_compiler_no_builtin_flag \
14685 lt_prog_compiler_pic \
14686 lt_prog_compiler_wl \
14687 lt_prog_compiler_static \
14688 lt_cv_prog_compiler_c_o \
14697 export_dynamic_flag_spec \
14698 whole_archive_flag_spec \
14699 compiler_needs_object \
14701 allow_undefined_flag \
14702 no_undefined_flag \
14703 hardcode_libdir_flag_spec \
14704 hardcode_libdir_flag_spec_ld \
14705 hardcode_libdir_separator \
14709 variables_saved_for_relink \
14711 library_names_spec \
14713 install_override_mode \
14717 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14718 *[\\\\\\\`\\"\\\$]*)
14719 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14722 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14727 # Double-quote double-evaled strings.
14728 for var in reload_cmds \
14729 old_postinstall_cmds \
14730 old_postuninstall_cmds \
14732 extract_expsyms_cmds \
14733 old_archive_from_new_cmds \
14734 old_archive_from_expsyms_cmds \
14736 archive_expsym_cmds \
14738 module_expsym_cmds \
14739 export_symbols_cmds \
14743 postuninstall_cmds \
14745 sys_lib_search_path_spec \
14746 sys_lib_dlsearch_path_spec; do
14747 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14748 *[\\\\\\\`\\"\\\$]*)
14749 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14752 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14757 ac_aux_dir='$ac_aux_dir'
14758 xsi_shell='$xsi_shell'
14759 lt_shell_append='$lt_shell_append'
14761 # See if we are running on zsh, and set the options which allow our
14762 # commands through without removal of \ escapes INIT.
14763 if test -n "\${ZSH_VERSION+set}" ; then
14764 setopt NO_GLOB_SUBST
14770 TIMESTAMP='$TIMESTAMP'
14776 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
14777 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
14779 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
14780 # Capture the value of LINGUAS because we need it to compute CATALOGS.
14781 LINGUAS="${LINGUAS-%UNSET%}"
14786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14788 # Handling of arguments.
14789 for ac_config_target in $ac_config_targets
14791 case $ac_config_target in
14792 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14793 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14794 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14795 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14796 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14797 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14798 "libexif.spec") CONFIG_FILES="$CONFIG_FILES libexif.spec" ;;
14799 "libexif/Makefile") CONFIG_FILES="$CONFIG_FILES libexif/Makefile" ;;
14800 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14801 "test/nls/Makefile") CONFIG_FILES="$CONFIG_FILES test/nls/Makefile" ;;
14802 "m4m/Makefile") CONFIG_FILES="$CONFIG_FILES m4m/Makefile" ;;
14803 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14804 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14805 "doc/Doxyfile-internals") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile-internals" ;;
14806 "libexif.pc") CONFIG_FILES="$CONFIG_FILES libexif.pc" ;;
14807 "libexif-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libexif-uninstalled.pc" ;;
14808 "binary/Makefile") CONFIG_FILES="$CONFIG_FILES binary/Makefile" ;;
14809 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
14810 "contrib/examples/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/examples/Makefile" ;;
14812 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14817 # If the user did not use the arguments to specify the items to instantiate,
14818 # then the envvar interface is used. Set only those that are not.
14819 # We use the long form for the default assignment because of an extremely
14820 # bizarre bug on SunOS 4.1.3.
14821 if $ac_need_defaults; then
14822 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14823 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14824 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14827 # Have a temporary directory for convenience. Make it in the build tree
14828 # simply because there is no reason against having it here, and in addition,
14829 # creating and moving files from /tmp can sometimes cause problems.
14830 # Hook for its removal unless debugging.
14831 # Note that there is a small window in which the directory will not be cleaned:
14832 # after its creation but before its name has been assigned to `$tmp'.
14836 trap 'exit_status=$?
14837 : "${ac_tmp:=$tmp}"
14838 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14840 trap 'as_fn_exit 1' 1 2 13 15
14842 # Create a (secure) tmp directory for tmp files.
14845 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14849 tmp=./conf$$-$RANDOM
14850 (umask 077 && mkdir "$tmp")
14851 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14854 # Set up the scripts for CONFIG_FILES section.
14855 # No need to generate them if there are no CONFIG_FILES.
14856 # This happens for instance with `./config.status config.h'.
14857 if test -n "$CONFIG_FILES"; then
14860 ac_cr=`echo X | tr X '\015'`
14861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14862 # But we know of no other shell where ac_cr would be empty at this
14863 # point, so we can use a bashism as a fallback.
14864 if test "x$ac_cr" = x; then
14865 eval ac_cr=\$\'\\r\'
14867 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14871 ac_cs_awk_cr=$ac_cr
14874 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14879 echo "cat >conf$$subs.awk <<_ACEOF" &&
14880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14882 } >conf$$subs.sh ||
14883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14886 for ac_last_try in false false false false false :; do
14887 . ./conf$$subs.sh ||
14888 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14890 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14891 if test $ac_delim_n = $ac_delim_num; then
14893 elif $ac_last_try; then
14894 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14899 rm -f conf$$subs.sh
14901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14902 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14906 s/^/S["/; s/!.*/"]=/
14916 s/\(.\{148\}\)..*/\1/
14918 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14930 s/\(.\{148\}\)..*/\1/
14932 s/["\\]/\\&/g; s/^/"/; s/$/"/
14936 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14941 ' <conf$$subs.awk | sed '
14946 ' >>$CONFIG_STATUS || ac_write_fail=1
14947 rm -f conf$$subs.awk
14948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14950 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14951 for (key in S) S_is_set[key] = 1
14957 nfields = split(line, field, "@")
14959 len = length(field[1])
14960 for (i = 2; i < nfields; i++) {
14962 keylen = length(key)
14963 if (S_is_set[key]) {
14965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14966 len += length(value) + length(field[++i])
14977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14978 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14979 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14982 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14983 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14986 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14987 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14988 # trailing colons and then remove the whole line if VPATH becomes empty
14989 # (actually we leave an empty line to preserve line numbers).
14990 if test "x$srcdir" = x.; then
14991 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15010 fi # test -n "$CONFIG_FILES"
15012 # Set up the scripts for CONFIG_HEADERS section.
15013 # No need to generate them if there are no CONFIG_HEADERS.
15014 # This happens for instance with `./config.status Makefile'.
15015 if test -n "$CONFIG_HEADERS"; then
15016 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15020 # Transform confdefs.h into an awk script `defines.awk', embedded as
15021 # here-document in config.status, that substitutes the proper values into
15022 # config.h.in to produce config.h.
15024 # Create a delimiter string that does not exist in confdefs.h, to ease
15025 # handling of long lines.
15027 for ac_last_try in false false :; do
15028 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15029 if test -z "$ac_tt"; then
15031 elif $ac_last_try; then
15032 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15038 # For the awk script, D is an array of macro values keyed by name,
15039 # likewise P contains macro parameters if any. Preserve backslash
15040 # newline sequences.
15042 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15044 s/.\{148\}/&'"$ac_delim"'/g
15047 s/^[ ]*#[ ]*define[ ][ ]*/ /
15054 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15056 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15060 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15061 D["\1"]=" \3\\\\\\n"\\/p
15063 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15068 s/.\{148\}/&'"$ac_delim"'/g
15073 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15076 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15078 ' <confdefs.h | sed '
15079 s/'"$ac_delim"'/"\\\
15080 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15083 for (key in D) D_is_set[key] = 1
15086 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15088 split(line, arg, " ")
15089 if (arg[1] == "#") {
15093 defundef = substr(arg[1], 2)
15096 split(mac1, mac2, "(") #)
15098 prefix = substr(line, 1, index(line, defundef) - 1)
15099 if (D_is_set[macro]) {
15100 # Preserve the white space surrounding the "#".
15101 print prefix "define", macro P[macro] D[macro]
15104 # Replace #undef with comments. This is necessary, for example,
15105 # in the case of _POSIX_SOURCE, which is predefined and required
15106 # on some systems where configure will not decide to define it.
15107 if (defundef == "undef") {
15108 print "/*", prefix defundef, macro, "*/"
15116 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15117 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15118 fi # test -n "$CONFIG_HEADERS"
15121 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15126 :[FHLC]) ac_mode=$ac_tag; continue;;
15128 case $ac_mode$ac_tag in
15130 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15131 :[FH]-) ac_tag=-:-;;
15132 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15149 -) ac_f="$ac_tmp/stdin";;
15150 *) # Look for the file first in the build tree, then in the source tree
15151 # (if the path is not absolute). The absolute path cannot be DOS-style,
15152 # because $ac_f cannot contain `:'.
15156 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15158 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15160 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15161 as_fn_append ac_file_inputs " '$ac_f'"
15164 # Let's still pretend it is `configure' which instantiates (i.e., don't
15165 # use $as_me), people would be surprised to read:
15166 # /* config.h. Generated by config.status. */
15167 configure_input='Generated from '`
15168 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15170 if test x"$ac_file" != x-; then
15171 configure_input="$ac_file. $configure_input"
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15173 $as_echo "$as_me: creating $ac_file" >&6;}
15175 # Neutralize special characters interpreted by sed in replacement strings.
15176 case $configure_input in #(
15177 *\&* | *\|* | *\\* )
15178 ac_sed_conf_input=`$as_echo "$configure_input" |
15179 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15180 *) ac_sed_conf_input=$configure_input;;
15184 *:-:* | *:-) cat >"$ac_tmp/stdin" \
15185 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15190 ac_dir=`$as_dirname -- "$ac_file" ||
15191 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15192 X"$ac_file" : 'X\(//\)[^/]' \| \
15193 X"$ac_file" : 'X\(//\)$' \| \
15194 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15195 $as_echo X"$ac_file" |
15196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15200 /^X\(\/\/\)[^/].*/{
15213 as_dir="$ac_dir"; as_fn_mkdir_p
15217 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15219 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15220 # A ".." for each directory in $ac_dir_suffix.
15221 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15222 case $ac_top_builddir_sub in
15223 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15224 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15227 ac_abs_top_builddir=$ac_pwd
15228 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15229 # for backward compatibility:
15230 ac_top_builddir=$ac_top_build_prefix
15233 .) # We are building in place.
15235 ac_top_srcdir=$ac_top_builddir_sub
15236 ac_abs_top_srcdir=$ac_pwd ;;
15237 [\\/]* | ?:[\\/]* ) # Absolute name.
15238 ac_srcdir=$srcdir$ac_dir_suffix;
15239 ac_top_srcdir=$srcdir
15240 ac_abs_top_srcdir=$srcdir ;;
15241 *) # Relative name.
15242 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15243 ac_top_srcdir=$ac_top_build_prefix$srcdir
15244 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15246 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15256 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15257 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15259 ac_MKDIR_P=$MKDIR_P
15261 [\\/$]* | ?:[\\/]* ) ;;
15262 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15267 # If the template does not know about datarootdir, expand it.
15268 # FIXME: This hack should be removed a few years after 2.60.
15269 ac_datarootdir_hack=; ac_datarootdir_seen=
15280 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15281 *datarootdir*) ac_datarootdir_seen=yes;;
15282 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15284 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15287 ac_datarootdir_hack='
15288 s&@datadir@&$datadir&g
15289 s&@docdir@&$docdir&g
15290 s&@infodir@&$infodir&g
15291 s&@localedir@&$localedir&g
15292 s&@mandir@&$mandir&g
15293 s&\\\${datarootdir}&$datarootdir&g' ;;
15297 # Neutralize VPATH when `$srcdir' = `.'.
15298 # Shell code in configure.ac might set extrasub.
15299 # FIXME: do we really want to maintain this feature?
15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 ac_sed_extra="$ac_vpsub
15304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15307 s|@configure_input@|$ac_sed_conf_input|;t t
15308 s&@top_builddir@&$ac_top_builddir_sub&;t t
15309 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15310 s&@srcdir@&$ac_srcdir&;t t
15311 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15312 s&@top_srcdir@&$ac_top_srcdir&;t t
15313 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15314 s&@builddir@&$ac_builddir&;t t
15315 s&@abs_builddir@&$ac_abs_builddir&;t t
15316 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15317 s&@INSTALL@&$ac_INSTALL&;t t
15318 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15319 $ac_datarootdir_hack
15321 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15322 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15325 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15326 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15327 "$ac_tmp/out"`; test -z "$ac_out"; } &&
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15329 which seems to be undefined. Please make sure it is defined" >&5
15330 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15331 which seems to be undefined. Please make sure it is defined" >&2;}
15333 rm -f "$ac_tmp/stdin"
15335 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15336 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15344 if test x"$ac_file" != x-; then
15346 $as_echo "/* $configure_input */" \
15347 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15348 } >"$ac_tmp/config.h" \
15349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15350 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15352 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15355 mv "$ac_tmp/config.h" "$ac_file" \
15356 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15359 $as_echo "/* $configure_input */" \
15360 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15361 || as_fn_error $? "could not create -" "$LINENO" 5
15363 # Compute "$ac_file"'s index in $config_headers.
15366 for _am_header in $config_headers :; do
15367 case $_am_header in
15368 $_am_arg | $_am_arg:* )
15371 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15374 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15375 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15376 X"$_am_arg" : 'X\(//\)[^/]' \| \
15377 X"$_am_arg" : 'X\(//\)$' \| \
15378 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15379 $as_echo X"$_am_arg" |
15380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15384 /^X\(\/\/\)[^/].*/{
15396 s/.*/./; q'`/stamp-h$_am_stamp_count
15399 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15400 $as_echo "$as_me: executing $ac_file commands" >&6;}
15405 case $ac_file$ac_mode in
15406 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15407 # Autoconf 2.62 quotes --file arguments for eval, but not when files
15408 # are listed without --file. Let's play safe and only enable the eval
15409 # if we detect the quoting.
15410 case $CONFIG_FILES in
15411 *\'*) eval set x "$CONFIG_FILES" ;;
15412 *) set x $CONFIG_FILES ;;
15417 # Strip MF so we end up with the name of the file.
15418 mf=`echo "$mf" | sed -e 's/:.*$//'`
15419 # Check whether this is an Automake generated Makefile or not.
15420 # We used to match only the files named `Makefile.in', but
15421 # some people rename them; so instead we look at the file content.
15422 # Grep'ing the first line is not enough: some people post-process
15423 # each Makefile.in and add a new line on top of each file to say so.
15424 # Grep'ing the whole file is not good either: AIX grep has a line
15425 # limit of 2048, but all sed's we know have understand at least 4000.
15426 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15427 dirpart=`$as_dirname -- "$mf" ||
15428 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15429 X"$mf" : 'X\(//\)[^/]' \| \
15430 X"$mf" : 'X\(//\)$' \| \
15431 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15433 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15437 /^X\(\/\/\)[^/].*/{
15453 # Extract the definition of DEPDIR, am__include, and am__quote
15454 # from the Makefile without running `make'.
15455 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15456 test -z "$DEPDIR" && continue
15457 am__include=`sed -n 's/^am__include = //p' < "$mf"`
15458 test -z "am__include" && continue
15459 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15460 # When using ansi2knr, U may be empty or an underscore; expand it
15461 U=`sed -n 's/^U = //p' < "$mf"`
15462 # Find all dependency output files, they are included files with
15463 # $(DEPDIR) in their names. We invoke sed twice because it is the
15464 # simplest approach to changing $(DEPDIR) to its actual value in the
15466 for file in `sed -n "
15467 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15468 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15469 # Make sure the directory exists.
15470 test -f "$dirpart/$file" && continue
15471 fdir=`$as_dirname -- "$file" ||
15472 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15473 X"$file" : 'X\(//\)[^/]' \| \
15474 X"$file" : 'X\(//\)$' \| \
15475 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15476 $as_echo X"$file" |
15477 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15481 /^X\(\/\/\)[^/].*/{
15494 as_dir=$dirpart/$fdir; as_fn_mkdir_p
15495 # echo "creating $dirpart/$file"
15496 echo '# dummy' > "$dirpart/$file"
15503 # See if we are running on zsh, and set the options which allow our
15504 # commands through without removal of \ escapes.
15505 if test -n "${ZSH_VERSION+set}" ; then
15506 setopt NO_GLOB_SUBST
15509 cfgfile="${ofile}T"
15510 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15513 cat <<_LT_EOF >> "$cfgfile"
15516 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15517 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15518 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15519 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15521 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15522 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15524 # Written by Gordon Matzigkeit, 1996
15526 # This file is part of GNU Libtool.
15528 # GNU Libtool is free software; you can redistribute it and/or
15529 # modify it under the terms of the GNU General Public License as
15530 # published by the Free Software Foundation; either version 2 of
15531 # the License, or (at your option) any later version.
15533 # As a special exception to the GNU General Public License,
15534 # if you distribute this file as part of a program or library that
15535 # is built using GNU Libtool, you may include this file under the
15536 # same distribution terms that you use for the rest of that program.
15538 # GNU Libtool is distributed in the hope that it will be useful,
15539 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15540 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15541 # GNU General Public License for more details.
15543 # You should have received a copy of the GNU General Public License
15544 # along with GNU Libtool; see the file COPYING. If not, a copy
15545 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15546 # obtained by writing to the Free Software Foundation, Inc.,
15547 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15550 # The names of the tagged configurations supported by this script.
15553 # ### BEGIN LIBTOOL CONFIG
15555 # Which release of libtool.m4 was used?
15556 macro_version=$macro_version
15557 macro_revision=$macro_revision
15559 # Whether or not to build shared libraries.
15560 build_libtool_libs=$enable_shared
15562 # Whether or not to build static libraries.
15563 build_old_libs=$enable_static
15565 # What type of objects to build.
15568 # Whether or not to optimize for fast installation.
15569 fast_install=$enable_fast_install
15571 # Shell to use when invoking shell scripts.
15574 # An echo program that protects backslashes.
15578 host_alias=$host_alias
15582 # The build system.
15583 build_alias=$build_alias
15587 # A sed program that does not truncate output.
15590 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15591 Xsed="\$SED -e 1s/^X//"
15593 # A grep program that handles long lines.
15599 # A literal string matcher.
15602 # A BSD- or MS-compatible name lister.
15605 # Whether we need soft or hard links.
15608 # What is the maximum length of a command?
15609 max_cmd_len=$max_cmd_len
15611 # Object file suffix (normally "o").
15614 # Executable file suffix (normally "").
15617 # whether the shell understands "unset".
15620 # turn spaces into newlines.
15623 # turn newlines into spaces.
15626 # convert \$build file names to \$host format.
15627 to_host_file_cmd=$lt_cv_to_host_file_cmd
15629 # convert \$build files to toolchain format.
15630 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15632 # An object symbol dumper.
15633 OBJDUMP=$lt_OBJDUMP
15635 # Method to check whether dependent libraries are shared objects.
15636 deplibs_check_method=$lt_deplibs_check_method
15638 # Command to use when deplibs_check_method = "file_magic".
15639 file_magic_cmd=$lt_file_magic_cmd
15641 # How to find potential files when deplibs_check_method = "file_magic".
15642 file_magic_glob=$lt_file_magic_glob
15644 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15645 want_nocaseglob=$lt_want_nocaseglob
15647 # DLL creation program.
15648 DLLTOOL=$lt_DLLTOOL
15650 # Command to associate shared and link libraries.
15651 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15656 # Flags to create an archive.
15657 AR_FLAGS=$lt_AR_FLAGS
15659 # How to feed a file listing to the archiver.
15660 archiver_list_spec=$lt_archiver_list_spec
15662 # A symbol stripping program.
15665 # Commands used to install an old-style archive.
15667 old_postinstall_cmds=$lt_old_postinstall_cmds
15668 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15670 # Whether to use a lock for old archive extraction.
15671 lock_old_archive_extraction=$lock_old_archive_extraction
15676 # LTCC compiler flags.
15677 LTCFLAGS=$lt_CFLAGS
15679 # Take the output of nm and produce a listing of raw symbols and C names.
15680 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15682 # Transform the output of nm in a proper C declaration.
15683 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15685 # Transform the output of nm in a C name address pair.
15686 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15688 # Transform the output of nm in a C name address pair when lib prefix is needed.
15689 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15691 # Specify filename containing input files for \$NM.
15692 nm_file_list_spec=$lt_nm_file_list_spec
15694 # The root where to search for dependent libraries,and in which our libraries should be installed.
15695 lt_sysroot=$lt_sysroot
15697 # The name of the directory that contains temporary libtool files.
15700 # Used to examine libraries when file_magic_cmd begins with "file".
15701 MAGIC_CMD=$MAGIC_CMD
15703 # Must we lock files when doing compilation?
15704 need_locks=$lt_need_locks
15707 MANIFEST_TOOL=$lt_MANIFEST_TOOL
15709 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15710 DSYMUTIL=$lt_DSYMUTIL
15712 # Tool to change global to local symbols on Mac OS X.
15715 # Tool to manipulate fat objects and archives on Mac OS X.
15718 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15721 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15722 OTOOL64=$lt_OTOOL64
15724 # Old archive suffix (normally "a").
15727 # Shared library suffix (normally ".so").
15728 shrext_cmds=$lt_shrext_cmds
15730 # The commands to extract the exported symbol list from a shared archive.
15731 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15733 # Variables whose values should be saved in libtool wrapper scripts and
15734 # restored at link time.
15735 variables_saved_for_relink=$lt_variables_saved_for_relink
15737 # Do we need the "lib" prefix for modules?
15738 need_lib_prefix=$need_lib_prefix
15740 # Do we need a version for libraries?
15741 need_version=$need_version
15743 # Library versioning type.
15744 version_type=$version_type
15746 # Shared library runtime path variable.
15747 runpath_var=$runpath_var
15749 # Shared library path variable.
15750 shlibpath_var=$shlibpath_var
15752 # Is shlibpath searched before the hard-coded library search path?
15753 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15755 # Format of library name prefix.
15756 libname_spec=$lt_libname_spec
15758 # List of archive names. First name is the real one, the rest are links.
15759 # The last name is the one that the linker finds with -lNAME
15760 library_names_spec=$lt_library_names_spec
15762 # The coded name of the library, if different from the real name.
15763 soname_spec=$lt_soname_spec
15765 # Permission mode override for installation of shared libraries.
15766 install_override_mode=$lt_install_override_mode
15768 # Command to use after installation of a shared archive.
15769 postinstall_cmds=$lt_postinstall_cmds
15771 # Command to use after uninstallation of a shared archive.
15772 postuninstall_cmds=$lt_postuninstall_cmds
15774 # Commands used to finish a libtool library installation in a directory.
15775 finish_cmds=$lt_finish_cmds
15777 # As "finish_cmds", except a single script fragment to be evaled but
15779 finish_eval=$lt_finish_eval
15781 # Whether we should hardcode library paths into libraries.
15782 hardcode_into_libs=$hardcode_into_libs
15784 # Compile-time system search path for libraries.
15785 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15787 # Run-time system search path for libraries.
15788 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15790 # Whether dlopen is supported.
15791 dlopen_support=$enable_dlopen
15793 # Whether dlopen of programs is supported.
15794 dlopen_self=$enable_dlopen_self
15796 # Whether dlopen of statically linked programs is supported.
15797 dlopen_self_static=$enable_dlopen_self_static
15799 # Commands to strip libraries.
15800 old_striplib=$lt_old_striplib
15801 striplib=$lt_striplib
15804 # The linker used to build libraries.
15807 # How to create reloadable object files.
15808 reload_flag=$lt_reload_flag
15809 reload_cmds=$lt_reload_cmds
15811 # Commands used to build an old-style archive.
15812 old_archive_cmds=$lt_old_archive_cmds
15814 # A language specific compiler.
15817 # Is the compiler the GNU compiler?
15820 # Compiler flag to turn off builtin functions.
15821 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15823 # Additional compiler flags for building library objects.
15824 pic_flag=$lt_lt_prog_compiler_pic
15826 # How to pass a linker flag through the compiler.
15827 wl=$lt_lt_prog_compiler_wl
15829 # Compiler flag to prevent dynamic linking.
15830 link_static_flag=$lt_lt_prog_compiler_static
15832 # Does compiler simultaneously support -c and -o options?
15833 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15835 # Whether or not to add -lc for building shared libraries.
15836 build_libtool_need_lc=$archive_cmds_need_lc
15838 # Whether or not to disallow shared libs when runtime libs are static.
15839 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15841 # Compiler flag to allow reflexive dlopens.
15842 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15844 # Compiler flag to generate shared objects directly from archives.
15845 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15847 # Whether the compiler copes with passing no objects directly.
15848 compiler_needs_object=$lt_compiler_needs_object
15850 # Create an old-style archive from a shared archive.
15851 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15853 # Create a temporary old-style archive to link instead of a shared archive.
15854 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15856 # Commands used to build a shared archive.
15857 archive_cmds=$lt_archive_cmds
15858 archive_expsym_cmds=$lt_archive_expsym_cmds
15860 # Commands used to build a loadable module if different from building
15861 # a shared archive.
15862 module_cmds=$lt_module_cmds
15863 module_expsym_cmds=$lt_module_expsym_cmds
15865 # Whether we are building with GNU ld or not.
15866 with_gnu_ld=$lt_with_gnu_ld
15868 # Flag that allows shared libraries with undefined symbols to be built.
15869 allow_undefined_flag=$lt_allow_undefined_flag
15871 # Flag that enforces no undefined symbols.
15872 no_undefined_flag=$lt_no_undefined_flag
15874 # Flag to hardcode \$libdir into a binary during linking.
15875 # This must work even if \$libdir does not exist
15876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15878 # If ld is used when linking, flag to hardcode \$libdir into a binary
15879 # during linking. This must work even if \$libdir does not exist.
15880 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15882 # Whether we need a single "-rpath" flag with a separated argument.
15883 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15885 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15886 # DIR into the resulting binary.
15887 hardcode_direct=$hardcode_direct
15889 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15890 # DIR into the resulting binary and the resulting library dependency is
15891 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15892 # library is relocated.
15893 hardcode_direct_absolute=$hardcode_direct_absolute
15895 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15896 # into the resulting binary.
15897 hardcode_minus_L=$hardcode_minus_L
15899 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15900 # into the resulting binary.
15901 hardcode_shlibpath_var=$hardcode_shlibpath_var
15903 # Set to "yes" if building a shared library automatically hardcodes DIR
15904 # into the library and all subsequent libraries and executables linked
15906 hardcode_automatic=$hardcode_automatic
15908 # Set to yes if linker adds runtime paths of dependent libraries
15909 # to runtime path list.
15910 inherit_rpath=$inherit_rpath
15912 # Whether libtool must link a program against all its dependency libraries.
15913 link_all_deplibs=$link_all_deplibs
15915 # Set to "yes" if exported symbols are required.
15916 always_export_symbols=$always_export_symbols
15918 # The commands to list exported symbols.
15919 export_symbols_cmds=$lt_export_symbols_cmds
15921 # Symbols that should not be listed in the preloaded symbols.
15922 exclude_expsyms=$lt_exclude_expsyms
15924 # Symbols that must always be exported.
15925 include_expsyms=$lt_include_expsyms
15927 # Commands necessary for linking programs (against libraries) with templates.
15928 prelink_cmds=$lt_prelink_cmds
15930 # Commands necessary for finishing linking programs.
15931 postlink_cmds=$lt_postlink_cmds
15933 # Specify filename containing input files.
15934 file_list_spec=$lt_file_list_spec
15936 # How to hardcode a shared library path into an executable.
15937 hardcode_action=$hardcode_action
15939 # ### END LIBTOOL CONFIG
15945 cat <<\_LT_EOF >> "$cfgfile"
15946 # AIX sometimes has problems with the GCC collect2 program. For some
15947 # reason, if we set the COLLECT_NAMES environment variable, the problems
15948 # vanish in a puff of smoke.
15949 if test "X${COLLECT_NAMES+set}" != Xset; then
15951 export COLLECT_NAMES
15958 ltmain="$ac_aux_dir/ltmain.sh"
15961 # We use sed instead of cat because bash on DJGPP gets confused if
15962 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15963 # text mode, it properly converts lines to CR/LF. This bash problem
15964 # is reportedly fixed, but why not run on old versions too?
15965 sed '$q' "$ltmain" >> "$cfgfile" \
15966 || (rm -f "$cfgfile"; exit 1)
15968 if test x"$xsi_shell" = xyes; then
15969 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15973 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15974 \ * ) func_dirname_result="${3}" ;;\
15976 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15977 && mv -f "$cfgfile.tmp" "$cfgfile" \
15978 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15979 test 0 -eq $? || _lt_function_replace_fail=:
15982 sed -e '/^func_basename ()$/,/^} # func_basename /c\
15985 \ func_basename_result="${1##*/}"\
15986 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15987 && mv -f "$cfgfile.tmp" "$cfgfile" \
15988 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15989 test 0 -eq $? || _lt_function_replace_fail=:
15992 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15993 func_dirname_and_basename ()\
15996 \ */*) func_dirname_result="${1%/*}${2}" ;;\
15997 \ * ) func_dirname_result="${3}" ;;\
15999 \ func_basename_result="${1##*/}"\
16000 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16001 && mv -f "$cfgfile.tmp" "$cfgfile" \
16002 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16003 test 0 -eq $? || _lt_function_replace_fail=:
16006 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16009 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16010 \ # positional parameters, so assign one to ordinary parameter first.\
16011 \ func_stripname_result=${3}\
16012 \ func_stripname_result=${func_stripname_result#"${1}"}\
16013 \ func_stripname_result=${func_stripname_result%"${2}"}\
16014 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16015 && mv -f "$cfgfile.tmp" "$cfgfile" \
16016 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16017 test 0 -eq $? || _lt_function_replace_fail=:
16020 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16021 func_split_long_opt ()\
16023 \ func_split_long_opt_name=${1%%=*}\
16024 \ func_split_long_opt_arg=${1#*=}\
16025 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16026 && mv -f "$cfgfile.tmp" "$cfgfile" \
16027 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16028 test 0 -eq $? || _lt_function_replace_fail=:
16031 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16032 func_split_short_opt ()\
16034 \ func_split_short_opt_arg=${1#??}\
16035 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16036 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16037 && mv -f "$cfgfile.tmp" "$cfgfile" \
16038 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16039 test 0 -eq $? || _lt_function_replace_fail=:
16042 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16046 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16047 \ *) func_lo2o_result=${1} ;;\
16049 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16050 && mv -f "$cfgfile.tmp" "$cfgfile" \
16051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16052 test 0 -eq $? || _lt_function_replace_fail=:
16055 sed -e '/^func_xform ()$/,/^} # func_xform /c\
16058 func_xform_result=${1%.*}.lo\
16059 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16060 && mv -f "$cfgfile.tmp" "$cfgfile" \
16061 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16062 test 0 -eq $? || _lt_function_replace_fail=:
16065 sed -e '/^func_arith ()$/,/^} # func_arith /c\
16068 func_arith_result=$(( $* ))\
16069 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16070 && mv -f "$cfgfile.tmp" "$cfgfile" \
16071 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16072 test 0 -eq $? || _lt_function_replace_fail=:
16075 sed -e '/^func_len ()$/,/^} # func_len /c\
16078 func_len_result=${#1}\
16079 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16080 && mv -f "$cfgfile.tmp" "$cfgfile" \
16081 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16082 test 0 -eq $? || _lt_function_replace_fail=:
16086 if test x"$lt_shell_append" = xyes; then
16087 sed -e '/^func_append ()$/,/^} # func_append /c\
16090 eval "${1}+=\\${2}"\
16091 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16092 && mv -f "$cfgfile.tmp" "$cfgfile" \
16093 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16094 test 0 -eq $? || _lt_function_replace_fail=:
16097 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16098 func_append_quoted ()\
16100 \ func_quote_for_eval "${2}"\
16101 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16102 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16103 && mv -f "$cfgfile.tmp" "$cfgfile" \
16104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16105 test 0 -eq $? || _lt_function_replace_fail=:
16108 # Save a `func_append' function call where possible by direct use of '+='
16109 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16110 && mv -f "$cfgfile.tmp" "$cfgfile" \
16111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16112 test 0 -eq $? || _lt_function_replace_fail=:
16114 # Save a `func_append' function call even when '+=' is not available
16115 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16116 && mv -f "$cfgfile.tmp" "$cfgfile" \
16117 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16118 test 0 -eq $? || _lt_function_replace_fail=:
16121 if test x"$_lt_function_replace_fail" = x":"; then
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16123 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16127 mv -f "$cfgfile" "$ofile" ||
16128 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16133 for ac_file in $CONFIG_FILES; do
16134 # Support "outfile[:infile[:infile...]]"
16136 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
16138 # PO directories have a Makefile.in generated from Makefile.in.in.
16139 case "$ac_file" in */Makefile.in)
16140 # Adjust a relative srcdir.
16141 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16142 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
16143 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16144 # In autoconf-2.13 it is called $ac_given_srcdir.
16145 # In autoconf-2.50 it is called $srcdir.
16146 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
16147 case "$ac_given_srcdir" in
16148 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
16149 /*) top_srcdir="$ac_given_srcdir" ;;
16150 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
16152 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16153 rm -f "$ac_dir/POTFILES"
16154 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
16155 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16156 POMAKEFILEDEPS="POTFILES.in"
16157 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
16158 # on $ac_dir but don't depend on user-specified configuration
16160 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16161 # The LINGUAS file contains the set of available languages.
16162 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16163 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
16165 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16166 # Hide the ALL_LINGUAS assigment from automake.
16167 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16168 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
16170 # The set of available languages was given in configure.in.
16171 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16174 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
16175 # Compute UPDATEPOFILES
16176 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
16177 # Compute DUMMYPOFILES
16178 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
16180 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
16181 case "$ac_given_srcdir" in
16183 *) srcdirpre='$(srcdir)/' ;;
16189 for lang in $ALL_LINGUAS; do
16190 POFILES="$POFILES $srcdirpre$lang.po"
16191 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
16192 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
16193 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
16195 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16196 # environment variable.
16198 if test -n "$ALL_LINGUAS"; then
16199 for presentlang in $ALL_LINGUAS; do
16201 if test "%UNSET%" != "$LINGUAS"; then
16202 desiredlanguages="$LINGUAS"
16204 desiredlanguages="$ALL_LINGUAS"
16206 for desiredlang in $desiredlanguages; do
16207 # Use the presentlang catalog if desiredlang is
16208 # a. equal to presentlang, or
16209 # b. a variant of presentlang (because in this case,
16210 # presentlang can be used as a fallback for messages
16211 # which are not translated in the desiredlang catalog).
16212 case "$desiredlang" in
16213 "$presentlang"*) useit=yes;;
16216 if test $useit = yes; then
16217 INST_LINGUAS="$INST_LINGUAS $presentlang"
16222 if test -n "$INST_LINGUAS"; then
16223 for lang in $INST_LINGUAS; do
16224 CATALOGS="$CATALOGS $lang.gmo"
16227 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
16228 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16229 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
16230 if test -f "$f"; then
16232 *.orig | *.bak | *~) ;;
16233 *) cat "$f" >> "$ac_dir/Makefile" ;;
16248 ac_clean_files=$ac_clean_files_save
16250 test $ac_write_fail = 0 ||
16251 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16254 # configure is writing to config.log, and then calls config.status.
16255 # config.status does its own redirection, appending to config.log.
16256 # Unfortunately, on DOS this fails, as config.log is still kept open
16257 # by configure, so config.status won't be able to write to it; its
16258 # output is simply discarded. So we exec the FD to /dev/null,
16259 # effectively closing config.log, so it can be properly (re)opened and
16260 # appended to by config.status. When coming back to configure, we
16261 # need to make the FD available again.
16262 if test "$no_create" != yes; then
16264 ac_config_status_args=
16265 test "$silent" = yes &&
16266 ac_config_status_args="$ac_config_status_args --quiet"
16268 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16270 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16271 # would make configure fail if this is the last instruction.
16272 $ac_cs_success || as_fn_exit 1
16274 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16276 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16280 # Message about configured subprojects
16281 if test "x$subdirs" != "x"; then
16283 gp_config_msg="${gp_config_msg}
16286 for sd in $subdirs; do
16287 ssd="$(basename "$sd")"
16288 if test "x$_subdirs" = "x"; then
16291 _subdirs="$_subdirs $ssd"
16295 gp_config_msg_len="$(expr "Subprojects" : '.*')"
16296 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
16297 gp_config_msg_lhs="$(expr "Subprojects" : "\(.\{0,${gp_config_len3}\}\)")..:"
16299 gp_config_msg_lhs="$(expr "Subprojects:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\)")"
16301 gp_config_msg="${gp_config_msg} ${gp_config_msg_lhs} ${_subdirs}
16305 echo "${gp_config_msg}
16306 You may run \"make\" and \"make install\" now."