2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for EXIF library 0.6.19.
5 # Report bugs to <libexif-devel@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org and
232 $0: libexif-devel@lists.sourceforge.net about your system,
233 $0: including any error possibly output before this
234 $0: message. Then install a modern shell, or manually run
235 $0: the script under such a shell if you do have one."
241 SHELL
=${CONFIG_SHELL-/bin/sh}
243 # Unset more variables known to interfere with behavior of common tools.
244 CLICOLOR_FORCE
= GREP_OPTIONS
=
245 unset CLICOLOR_FORCE GREP_OPTIONS
247 ## --------------------- ##
248 ## M4sh Shell Functions. ##
249 ## --------------------- ##
252 # Portably unset VAR.
255 { eval $1=; unset $1;}
259 # as_fn_set_status STATUS
260 # -----------------------
261 # Set $? to STATUS, without forking.
269 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279 # Create "$as_dir" as a directory, including parents if necessary.
284 -*) as_dir
=.
/$as_dir;;
286 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
290 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 as_dirs
="'$as_qdir' $as_dirs"
294 as_dir
=`$as_dirname -- "$as_dir" ||
295 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296 X"$as_dir" : 'X\(//\)[^/]' \| \
297 X"$as_dir" : 'X\(//\)$' \| \
298 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299 $as_echo X"$as_dir" |
300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317 test -d "$as_dir" && break
319 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
320 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
324 # as_fn_append VAR VALUE
325 # ----------------------
326 # Append the text in VALUE to the end of the definition contained in VAR. Take
327 # advantage of any shell optimizations that allow amortized linear growth over
328 # repeated appends, instead of the typical quadratic growth present in naive
330 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
331 eval 'as_fn_append ()
344 # Perform arithmetic evaluation on the ARGs, and store the result in the
345 # global $as_val. Take advantage of shells that can avoid forks. The arguments
346 # must be portable across $(()) and expr.
347 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
355 as_val
=`expr "$@" || test $? -eq 1`
360 # as_fn_error ERROR [LINENO LOG_FD]
361 # ---------------------------------
362 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364 # script with status $?, using 1 if that was 0.
367 as_status
=$?
; test $as_status -eq 0 && as_status
=1
369 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
370 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 $as_echo "$as_me: error: $1" >&2
373 as_fn_exit
$as_status
376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
383 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
395 as_me
=`$as_basename -- "$0" ||
396 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397 X"$0" : 'X\(//\)$' \| \
398 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400 sed '/^.*\/\([^/][^/]*\)\/*$/{
414 # Avoid depending upon Character Ranges.
415 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
416 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
418 as_cr_digits
='0123456789'
419 as_cr_alnum
=$as_cr_Letters$as_cr_digits
422 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
423 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
424 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
426 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 chmod +x
"$as_me.lineno" ||
443 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
445 # Don't try to exec as it changes $[0], causing all sort of problems
446 # (the dirname of $[0] is not the place where we might find the
447 # original and so on. Autoconf is especially sensitive to this).
449 # Exit status is that of the last command.
453 ECHO_C
= ECHO_N
= ECHO_T
=
454 case `echo -n x` in #(((((
456 case `echo 'xy\c'` in
457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
466 rm -f conf$$ conf$$.exe conf$$.
file
467 if test -d conf$$.dir
; then
468 rm -f conf$$.dir
/conf$$.
file
471 mkdir conf$$.dir
2>/dev
/null
473 if (echo >conf$$.
file) 2>/dev
/null
; then
474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
476 # ... but there are two gotchas:
477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
479 # In both cases, we have to default to `cp -p'.
480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
491 rmdir conf$$.dir
2>/dev
/null
493 if mkdir
-p .
2>/dev
/null
; then
494 as_mkdir_p
='mkdir -p "$as_dir"'
496 test -d .
/-p && rmdir .
/-p
500 if test -x / >/dev
/null
2>&1; then
503 if ls -dL / >/dev
/null
2>&1; then
510 if test -d "$1"; then
516 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
517 ???[sx]*):;;*)false;;esac;fi
521 as_executable_p
=$as_test_x
523 # Sed expression to map a string onto a valid CPP name.
524 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526 # Sed expression to map a string onto a valid variable name.
527 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531 # Check that we are running under the correct shell.
532 SHELL
=${CONFIG_SHELL-/bin/sh}
536 # Remove one level of quotation (which was required for Make).
537 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
542 if test "X$1" = X--no-reexec
; then
543 # Discard the --no-reexec flag, and continue.
545 elif test "X$1" = X--fallback-echo
; then
546 # Avoid inline document here, it may be left over
548 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
549 # Yippee, $ECHO works!
552 # Restart under the correct shell.
553 exec $SHELL "$0" --no-reexec ${1+"$@"}
556 if test "X$1" = X--fallback-echo
; then
557 # used as fallback echo
565 # The HP-UX ksh and POSIX shell print the target directory to stdout
567 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
569 if test -z "$lt_ECHO"; then
570 if test "X${echo_test_string+set}" != Xset
; then
571 # find a string as large as possible, as long as the shell can cope with it
572 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
573 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
574 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
575 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
582 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
583 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
584 test "X$echo_testing_string" = "X$echo_test_string"; then
587 # The Solaris, AIX, and Digital Unix default echo programs unquote
588 # backslashes. This makes it impossible to quote backslashes using
589 # echo "$something" | sed 's/\\/\\\\/g'
591 # So, first we look for a working echo in the user's PATH.
593 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
594 for dir
in $PATH /usr
/ucb
; do
596 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
597 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
598 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
599 test "X$echo_testing_string" = "X$echo_test_string"; then
606 if test "X$ECHO" = Xecho
; then
607 # We didn't find a better echo, so look for alternatives.
608 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
609 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
610 test "X$echo_testing_string" = "X$echo_test_string"; then
611 # This shell has a builtin print -r that does the trick.
613 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
614 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
615 # If we have ksh, try running configure again with it.
616 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
617 export ORIGINAL_CONFIG_SHELL
618 CONFIG_SHELL
=/bin
/ksh
620 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
624 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
625 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
626 test "X$echo_testing_string" = "X$echo_test_string"; then
629 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
630 test "X$echo_testing_string" = 'X\t' &&
631 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
633 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
635 SHELL
="$CONFIG_SHELL"
637 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
638 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
639 test "X$echo_testing_string" = 'X\t' &&
640 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
644 # maybe with a smaller string...
647 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
648 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
655 if test "$prev" != 'sed 50q "$0"'; then
656 echo_test_string
=`eval $prev`
657 export echo_test_string
658 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
660 # Oops. We lost completely, so just stick with echo.
669 # Copy echo and quote the copy suitably for passing to libtool from
670 # the Makefile, instead of quoting the original, which is used later.
672 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
673 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
679 exec 7<&0 </dev
/null
6>&1
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix
=/usr
/local
691 ac_config_libobj_dir
=.
698 # Identity of this package.
699 PACKAGE_NAME
='EXIF library'
700 PACKAGE_TARNAME
='libexif'
701 PACKAGE_VERSION
='0.6.19'
702 PACKAGE_STRING
='EXIF library 0.6.19'
703 PACKAGE_BUGREPORT
='libexif-devel@lists.sourceforge.net'
706 ac_unique_file
="libexif/exif-data.h"
707 # Factoring default headers for most tests.
708 ac_includes_default
="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars
='am__EXEEXT_FALSE
762 ENABLE_INTERNAL_DOCS_FALSE
763 ENABLE_INTERNAL_DOCS_TRUE
764 HTML_APIDOC_INTERNALS_DIR
828 MAINTAINER_MODE_FALSE
838 INSTALL_STRIP_PROGRAM
880 program_transform_name
893 enable_option_checking
894 enable_maintainer_mode
895 enable_dependency_tracking
911 ac_precious_vars
='build_alias
922 # Initialize some variables set by options.
924 ac_init_version
=false
925 ac_unrecognized_opts
=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name
=s
,x
,x
,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir
='${exec_prefix}/bin'
951 sbindir
='${exec_prefix}/sbin'
952 libexecdir
='${exec_prefix}/libexec'
953 datarootdir
='${prefix}/share'
954 datadir
='${datarootdir}'
955 sysconfdir
='${prefix}/etc'
956 sharedstatedir
='${prefix}/com'
957 localstatedir
='${prefix}/var'
958 includedir
='${prefix}/include'
959 oldincludedir
='/usr/include'
960 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir
='${datarootdir}/info'
966 libdir
='${exec_prefix}/lib'
967 localedir
='${datarootdir}/locale'
968 mandir
='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\
$ac_option
982 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
986 # Accept the important Cygnus configure options, so we can diagnose typos.
988 case $ac_dashdash$ac_option in
992 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
994 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
997 -build |
--build |
--buil |
--bui |
--bu)
998 ac_prev
=build_alias
;;
999 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1000 build_alias
=$ac_optarg ;;
1002 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1003 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1004 ac_prev
=cache_file
;;
1005 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1006 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1007 cache_file
=$ac_optarg ;;
1009 --config-cache |
-C)
1010 cache_file
=config.cache
;;
1012 -datadir |
--datadir |
--datadi |
--datad)
1014 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1015 datadir
=$ac_optarg ;;
1017 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1018 |
--dataroo |
--dataro |
--datar)
1019 ac_prev
=datarootdir
;;
1020 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1021 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1022 datarootdir
=$ac_optarg ;;
1024 -disable-* |
--disable-*)
1025 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1028 as_fn_error
"invalid feature name: $ac_useropt"
1029 ac_useropt_orig
=$ac_useropt
1030 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1033 "enable_
$ac_useropt"
1035 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1036 ac_unrecognized_sep
=', ';;
1038 eval enable_
$ac_useropt=no
;;
1040 -docdir |
--docdir |
--docdi |
--doc |
--do)
1042 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1043 docdir
=$ac_optarg ;;
1045 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1047 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1048 dvidir
=$ac_optarg ;;
1050 -enable-* |
--enable-*)
1051 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1054 as_fn_error
"invalid feature name: $ac_useropt"
1055 ac_useropt_orig
=$ac_useropt
1056 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1057 case $ac_user_opts in
1059 "enable_
$ac_useropt"
1061 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1062 ac_unrecognized_sep
=', ';;
1064 eval enable_
$ac_useropt=\
$ac_optarg ;;
1066 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1067 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1068 |
--exec |
--exe |
--ex)
1069 ac_prev
=exec_prefix
;;
1070 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1071 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1072 |
--exec=* |
--exe=* |
--ex=*)
1073 exec_prefix
=$ac_optarg ;;
1075 -gas |
--gas |
--ga |
--g)
1076 # Obsolete; use --with-gas.
1079 -help |
--help |
--hel |
--he |
-h)
1080 ac_init_help
=long
;;
1081 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1082 ac_init_help
=recursive
;;
1083 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1084 ac_init_help
=short
;;
1086 -host |
--host |
--hos |
--ho)
1087 ac_prev
=host_alias
;;
1088 -host=* |
--host=* |
--hos=* |
--ho=*)
1089 host_alias
=$ac_optarg ;;
1091 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1093 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1095 htmldir
=$ac_optarg ;;
1097 -includedir |
--includedir |
--includedi |
--included |
--include \
1098 |
--includ |
--inclu |
--incl |
--inc)
1099 ac_prev
=includedir
;;
1100 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1101 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1102 includedir
=$ac_optarg ;;
1104 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1106 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1107 infodir
=$ac_optarg ;;
1109 -libdir |
--libdir |
--libdi |
--libd)
1111 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1112 libdir
=$ac_optarg ;;
1114 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1115 |
--libexe |
--libex |
--libe)
1116 ac_prev
=libexecdir
;;
1117 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1118 |
--libexe=* |
--libex=* |
--libe=*)
1119 libexecdir
=$ac_optarg ;;
1121 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1122 ac_prev
=localedir
;;
1123 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1124 localedir
=$ac_optarg ;;
1126 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1127 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1128 ac_prev
=localstatedir
;;
1129 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1130 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1131 localstatedir
=$ac_optarg ;;
1133 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1135 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1136 mandir
=$ac_optarg ;;
1138 -nfp |
--nfp |
--nf)
1139 # Obsolete; use --without-fp.
1142 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1143 |
--no-cr |
--no-c |
-n)
1146 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1147 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1150 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1151 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1152 |
--oldin |
--oldi |
--old |
--ol |
--o)
1153 ac_prev
=oldincludedir
;;
1154 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1155 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1156 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1157 oldincludedir
=$ac_optarg ;;
1159 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1161 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1162 prefix
=$ac_optarg ;;
1164 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1165 |
--program-pre |
--program-pr |
--program-p)
1166 ac_prev
=program_prefix
;;
1167 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1168 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1169 program_prefix
=$ac_optarg ;;
1171 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1172 |
--program-suf |
--program-su |
--program-s)
1173 ac_prev
=program_suffix
;;
1174 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1175 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1176 program_suffix
=$ac_optarg ;;
1178 -program-transform-name |
--program-transform-name \
1179 |
--program-transform-nam |
--program-transform-na \
1180 |
--program-transform-n |
--program-transform- \
1181 |
--program-transform |
--program-transfor \
1182 |
--program-transfo |
--program-transf \
1183 |
--program-trans |
--program-tran \
1184 |
--progr-tra |
--program-tr |
--program-t)
1185 ac_prev
=program_transform_name
;;
1186 -program-transform-name=* |
--program-transform-name=* \
1187 |
--program-transform-nam=* |
--program-transform-na=* \
1188 |
--program-transform-n=* |
--program-transform-=* \
1189 |
--program-transform=* |
--program-transfor=* \
1190 |
--program-transfo=* |
--program-transf=* \
1191 |
--program-trans=* |
--program-tran=* \
1192 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1193 program_transform_name
=$ac_optarg ;;
1195 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1197 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1198 pdfdir
=$ac_optarg ;;
1200 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1202 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1206 |
-silent |
--silent |
--silen |
--sile |
--sil)
1209 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1211 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1213 sbindir
=$ac_optarg ;;
1215 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1216 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1217 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1219 ac_prev
=sharedstatedir
;;
1220 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1221 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1222 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1224 sharedstatedir
=$ac_optarg ;;
1226 -site |
--site |
--sit)
1228 -site=* |
--site=* |
--sit=*)
1231 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1233 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1234 srcdir
=$ac_optarg ;;
1236 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1237 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1238 ac_prev
=sysconfdir
;;
1239 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1240 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1241 sysconfdir
=$ac_optarg ;;
1243 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1244 ac_prev
=target_alias
;;
1245 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1246 target_alias
=$ac_optarg ;;
1248 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1251 -version |
--version |
--versio |
--versi |
--vers |
-V)
1252 ac_init_version
=: ;;
1255 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1258 as_fn_error
"invalid package name: $ac_useropt"
1259 ac_useropt_orig
=$ac_useropt
1260 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1265 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1266 ac_unrecognized_sep
=', ';;
1268 eval with_
$ac_useropt=\
$ac_optarg ;;
1270 -without-* |
--without-*)
1271 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 as_fn_error
"invalid package name: $ac_useropt"
1275 ac_useropt_orig
=$ac_useropt
1276 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1282 ac_unrecognized_sep
=', ';;
1284 eval with_
$ac_useropt=no
;;
1287 # Obsolete; use --with-x.
1290 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1291 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1292 ac_prev
=x_includes
;;
1293 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1294 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1295 x_includes
=$ac_optarg ;;
1297 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1298 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1299 ac_prev
=x_libraries
;;
1300 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1301 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1302 x_libraries
=$ac_optarg ;;
1304 -*) as_fn_error
"unrecognized option: \`$ac_option'
1305 Try \`$0 --help' for more information."
1309 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1310 # Reject names that are not valid shell variable names.
1311 case $ac_envvar in #(
1312 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1313 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1315 eval $ac_envvar=\
$ac_optarg
1316 export $ac_envvar ;;
1319 # FIXME: should be removed in autoconf 3.0.
1320 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1321 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1322 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1323 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1329 if test -n "$ac_prev"; then
1330 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1331 as_fn_error
"missing argument to $ac_option"
1334 if test -n "$ac_unrecognized_opts"; then
1335 case $enable_option_checking in
1337 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1338 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342 # Check all directory arguments for consistency.
1343 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344 datadir sysconfdir sharedstatedir localstatedir includedir \
1345 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346 libdir localedir mandir
1348 eval ac_val
=\$
$ac_var
1349 # Remove trailing slashes.
1352 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353 eval $ac_var=\
$ac_val;;
1355 # Be sure to have absolute directory names.
1357 [\\/$
]* | ?
:[\\/]* ) continue;;
1358 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1360 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1363 # There might be people who depend on the old broken behavior: `$host'
1364 # used to hold the argument of --host etc.
1365 # FIXME: To remove some day.
1368 target
=$target_alias
1370 # FIXME: To remove some day.
1371 if test "x$host_alias" != x
; then
1372 if test "x$build_alias" = x
; then
1373 cross_compiling
=maybe
1374 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1375 If a cross compiler is detected then cross compile mode will be used." >&2
1376 elif test "x$build_alias" != "x$host_alias"; then
1382 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1384 test "$silent" = yes && exec 6>/dev
/null
1387 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1388 ac_ls_di
=`ls -di .` &&
1389 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1390 as_fn_error
"working directory cannot be determined"
1391 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1392 as_fn_error
"pwd does not report name of working directory"
1395 # Find the source files, if location was not specified.
1396 if test -z "$srcdir"; then
1397 ac_srcdir_defaulted
=yes
1398 # Try the directory containing this script, then the parent directory.
1399 ac_confdir
=`$as_dirname -- "$as_myself" ||
1400 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1401 X"$as_myself" : 'X\(//\)[^/]' \| \
1402 X"$as_myself" : 'X\(//\)$' \| \
1403 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1404 $as_echo X"$as_myself" |
1405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1427 ac_srcdir_defaulted
=no
1429 if test ! -r "$srcdir/$ac_unique_file"; then
1430 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1431 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1433 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1435 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1437 # When building in place, set srcdir=.
1438 if test "$ac_abs_confdir" = "$ac_pwd"; then
1441 # Remove unnecessary trailing slashes from srcdir.
1442 # Double slashes in file names in object file debugging info
1443 # mess up M-x gdb in Emacs.
1445 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1447 for ac_var
in $ac_precious_vars; do
1448 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1449 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1450 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1451 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1455 # Report the --help message.
1457 if test "$ac_init_help" = "long"; then
1458 # Omit some internal or obsolete options to make the list less imposing.
1459 # This message is too long to be a string in the A/UX 3.1 sh.
1461 \`configure' configures EXIF library 0.6.19 to adapt to many kinds of systems.
1463 Usage: $0 [OPTION]... [VAR=VALUE]...
1465 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1466 VAR=VALUE. See below for descriptions of some of the useful variables.
1468 Defaults for the options are specified in brackets.
1471 -h, --help display this help and exit
1472 --help=short display options specific to this package
1473 --help=recursive display the short help of all the included packages
1474 -V, --version display version information and exit
1475 -q, --quiet, --silent do not print \`checking...' messages
1476 --cache-file=FILE cache test results in FILE [disabled]
1477 -C, --config-cache alias for \`--cache-file=config.cache'
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1481 Installation directories:
1482 --prefix=PREFIX install architecture-independent files in PREFIX
1483 [$ac_default_prefix]
1484 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1487 By default, \`make install' will install all the files in
1488 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1489 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1490 for instance \`--prefix=\$HOME'.
1492 For better control, use the options below.
1494 Fine tuning of the installation directories:
1495 --bindir=DIR user executables [EPREFIX/bin]
1496 --sbindir=DIR system admin executables [EPREFIX/sbin]
1497 --libexecdir=DIR program executables [EPREFIX/libexec]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1505 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1506 --infodir=DIR info documentation [DATAROOTDIR/info]
1507 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1508 --mandir=DIR man documentation [DATAROOTDIR/man]
1509 --docdir=DIR documentation root [DATAROOTDIR/doc/libexif]
1510 --htmldir=DIR html documentation [DOCDIR]
1511 --dvidir=DIR dvi documentation [DOCDIR]
1512 --pdfdir=DIR pdf documentation [DOCDIR]
1513 --psdir=DIR ps documentation [DOCDIR]
1519 --program-prefix=PREFIX prepend PREFIX to installed program names
1520 --program-suffix=SUFFIX append SUFFIX to installed program names
1521 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1524 --build=BUILD configure
for building on BUILD
[guessed
]
1525 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1529 if test -n "$ac_init_help"; then
1530 case $ac_init_help in
1531 short | recursive
) echo "Configuration of EXIF library 0.6.19:";;
1536 --disable-option-checking ignore unrecognized
--enable/--with options
1537 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1538 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1539 --enable-maintainer-mode enable make rules and dependencies not useful
1540 (and sometimes confusing
) to the casual installer
1541 --disable-dependency-tracking speeds up one-time build
1542 --enable-dependency-tracking do not reject slow dependency extractors
1543 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1544 --enable-static[=PKGS
] build static libraries
[default
=yes]
1545 --enable-fast-install[=PKGS
]
1546 optimize
for fast installation
[default
=yes]
1547 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1548 --enable-ship-binaries Whether to ship binaries
in the tarball
[default
=no
]
1549 --disable-docs whether to create any documentation
1550 --enable-internal-docs Build internal code docs
if doxygen available
1551 --disable-nls do not use Native Language Support
1552 --disable-rpath do not hardcode runtime library paths
1555 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1556 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1557 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1559 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1560 --with-doc-dir=PATH Where to
install docs
[default
=autodetect
]
1561 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1562 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1563 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1564 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1565 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1577 Use these variables to override the choices made by
`configure' or to help
1578 it to find libraries and programs with nonstandard names/locations.
1580 Report bugs to <libexif-devel@lists.sourceforge.net>.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" ||
1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1597 # A ".." for each directory in $ac_dir_suffix.
1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1599 case $ac_top_builddir_sub in
1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604 ac_abs_top_builddir=$ac_pwd
1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606 # for backward compatibility:
1607 ac_top_builddir=$ac_top_build_prefix
1610 .) # We are building in place.
1612 ac_top_srcdir=$ac_top_builddir_sub
1613 ac_abs_top_srcdir=$ac_pwd ;;
1614 [\\/]* | ?:[\\/]* ) # Absolute name.
1615 ac_srcdir=$srcdir$ac_dir_suffix;
1616 ac_top_srcdir=$srcdir
1617 ac_abs_top_srcdir=$srcdir ;;
1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620 ac_top_srcdir=$ac_top_build_prefix$srcdir
1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625 cd "$ac_dir" || { ac_status=$?; continue; }
1626 # Check for guested configure.
1627 if test -f "$ac_srcdir/configure.gnu"; then
1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630 elif test -f "$ac_srcdir/configure"; then
1632 $SHELL "$ac_srcdir/configure" --help=recursive
1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636 cd "$ac_pwd" || { ac_status=$?; break; }
1640 test -n "$ac_init_help" && exit $ac_status
1641 if $ac_init_version; then
1643 EXIF library configure 0.6.19
1644 generated by GNU Autoconf 2.64
1646 Copyright (C) 2009 Free Software Foundation, Inc.
1647 This configure script is free software; the Free Software Foundation
1648 gives unlimited permission to copy, distribute and modify it.
1653 ## ------------------------ ##
1654 ## Autoconf initialization. ##
1655 ## ------------------------ ##
1657 # ac_fn_c_try_compile LINENO
1658 # --------------------------
1659 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1660 ac_fn_c_try_compile ()
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 rm -f conftest.$ac_objext
1664 if { { ac_try="$ac_compile"
1666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1667 *) ac_try_echo
=$ac_try;;
1669 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_compile") 2>conftest.err
1673 if test -s conftest.err
; then
1674 grep -v '^ *+' conftest.err
>conftest.er1
1675 cat conftest.er1
>&5
1676 mv -f conftest.er1 conftest.err
1678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679 test $ac_status = 0; } && {
1680 test -z "$ac_c_werror_flag" ||
1681 test ! -s conftest.err
1682 } && test -s conftest.
$ac_objext; then :
1685 $as_echo "$as_me: failed program was:" >&5
1686 sed 's/^/| /' conftest.
$ac_ext >&5
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1693 } # ac_fn_c_try_compile
1695 # ac_fn_c_try_link LINENO
1696 # -----------------------
1697 # Try to link conftest.$ac_ext, and return whether this succeeded.
1700 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1701 rm -f conftest.
$ac_objext conftest
$ac_exeext
1702 if { { ac_try
="$ac_link"
1704 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1705 *) ac_try_echo=$ac_try;;
1707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708 $as_echo "$ac_try_echo"; } >&5
1709 (eval "$ac_link") 2>conftest.err
1711 if test -s conftest.err; then
1712 grep -v '^ *+' conftest.err >conftest.er1
1713 cat conftest.er1 >&5
1714 mv -f conftest.er1 conftest.err
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && {
1718 test -z "$ac_c_werror_flag" ||
1719 test ! -s conftest.err
1720 } && test -s conftest$ac_exeext && {
1721 test "$cross_compiling" = yes ||
1722 $as_test_x conftest$ac_exeext
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1732 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1733 # interfere with the next link command; also delete a directory that is
1734 # left behind by Apple's compiler. We do this before executing the actions.
1735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 } # ac_fn_c_try_link
1741 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1742 # -------------------------------------------------------
1743 # Tests whether HEADER exists and can be compiled using the include files in
1744 # INCLUDES, setting the cache variable VAR accordingly.
1745 ac_fn_c_check_header_compile ()
1747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1751 $as_echo_n "(cached) " >&6
1753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754 /* end confdefs.h. */
1758 if ac_fn_c_try_compile "$LINENO"; then :
1763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767 $as_echo "$ac_res" >&6; }
1768 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 } # ac_fn_c_check_header_compile
1772 # ac_fn_c_try_cpp LINENO
1773 # ----------------------
1774 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if { { ac_try="$ac_cpp conftest.$ac_ext"
1780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1781 *) ac_try_echo
=$ac_try;;
1783 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1784 $as_echo "$ac_try_echo"; } >&5
1785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1787 if test -s conftest.err
; then
1788 grep -v '^ *+' conftest.err
>conftest.er1
1789 cat conftest.er1
>&5
1790 mv -f conftest.er1 conftest.err
1792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793 test $ac_status = 0; } >/dev
/null
&& {
1794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1795 test ! -s conftest.err
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.
$ac_ext >&5
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1809 # ac_fn_c_try_run LINENO
1810 # ----------------------
1811 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1812 # that executables *can* be run.
1815 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1816 if { { ac_try
="$ac_link"
1818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_link") 2>&5
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1827 { { case "(($ac_try" in
1828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1829 *) ac_try_echo
=$ac_try;;
1831 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_try") 2>&5
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836 test $ac_status = 0; }; }; then :
1839 $as_echo "$as_me: program exited with status $ac_status" >&5
1840 $as_echo "$as_me: failed program was:" >&5
1841 sed 's/^/| /' conftest.
$ac_ext >&5
1843 ac_retval
=$ac_status
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1851 # ac_fn_c_check_func LINENO FUNC VAR
1852 # ----------------------------------
1853 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1854 ac_fn_c_check_func
()
1856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1866 #define $2 innocuous_$2
1868 /* System header to define __stub macros and hopefully few prototypes,
1869 which can conflict with char $2 (); below.
1870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1871 <limits.h> exists even on freestanding compilers. */
1874 # include <limits.h>
1876 # include <assert.h>
1881 /* Override any GCC internal prototype to avoid an error.
1882 Use char because int might match the return type of a GCC
1883 builtin and then its argument prototype would still apply. */
1888 /* The GNU C library defines this for functions which it implements
1889 to always fail with ENOSYS. Some functions are actually named
1890 something starting with __ and the normal name is an alias. */
1891 #if defined __stub_$2 || defined __stub___$2
1903 if ac_fn_c_try_link
"$LINENO"; then :
1908 rm -f core conftest.err conftest.
$ac_objext \
1909 conftest
$ac_exeext conftest.
$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1916 } # ac_fn_c_check_func
1917 cat >config.log
<<_ACEOF
1918 This file contains any messages produced by compilers while
1919 running configure, to aid debugging if configure makes a mistake.
1921 It was created by EXIF library $as_me 0.6.19, which was
1922 generated by GNU Autoconf 2.64. Invocation command line was
1934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1946 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir
=.
1958 $as_echo "PATH: $as_dir"
1974 # Keep a trace of the command line.
1975 # Strip out --no-create and --no-recursion so they do not pile up.
1976 # Strip out --silent because we don't want to record it for future runs.
1977 # Also quote any args containing shell meta-characters.
1978 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_must_keep_next
=false
1988 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1989 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1990 |
-silent |
--silent |
--silen |
--sile |
--sil)
1993 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1998 as_fn_append ac_configure_args1
" '$ac_arg'"
1999 if test $ac_must_keep_next = true
; then
2000 ac_must_keep_next
=false
# Got value, back to normal.
2003 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2004 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2005 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2006 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2007 case "$ac_configure_args0 " in
2008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2011 -* ) ac_must_keep_next
=true
;;
2014 as_fn_append ac_configure_args
" '$ac_arg'"
2019 { ac_configure_args0
=; unset ac_configure_args0
;}
2020 { ac_configure_args1
=; unset ac_configure_args1
;}
2022 # When interrupted or exit'd, cleanup temporary files, and complete
2023 # config.log. We remove comments because anyway the quotes in there
2024 # would cause problems or look ugly.
2025 # WARNING: Use '\'' to represent an apostrophe within the trap.
2026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2027 trap 'exit_status=$?
2028 # Save into config.log some information that might help in debugging.
2033 ## ---------------- ##
2034 ## Cache variables. ##
2035 ## ---------------- ##
2038 # The following way of writing the cache mishandles newlines in values,
2040 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2041 eval ac_val=\$$ac_var
2045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2049 _ | IFS | as_nl) ;; #(
2050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2051 *) { eval $ac_var=; unset $ac_var;} ;;
2056 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2057 *${as_nl}ac_space=\ *)
2059 "s/'\''/'\''\\\\'\'''\''/g;
2060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2063 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2071 ## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##
2076 for ac_var in $ac_subst_vars
2078 eval ac_val=\$$ac_var
2080 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 $as_echo "$ac_var='\''$ac_val'\''"
2086 if test -n "$ac_subst_files"; then
2088 ## ------------------- ##
2089 ## File substitutions. ##
2090 ## ------------------- ##
2093 for ac_var
in $ac_subst_files
2095 eval ac_val
=\$
$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -s confdefs.h; then
2114 test "$ac_signal" != 0 &&
2115 $as_echo "$as_me: caught signal $ac_signal"
2116 $as_echo "$as_me: exit $exit_status"
2118 rm -f core *.core core.conftest.* &&
2119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2122 for ac_signal
in 1 2 13 15; do
2123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2128 rm -f -r conftest
* confdefs.h
2130 $as_echo "/* confdefs.h */" > confdefs.h
2132 # Predefined preprocessor variables.
2134 cat >>confdefs.h
<<_ACEOF
2135 #define PACKAGE_NAME "$PACKAGE_NAME"
2138 cat >>confdefs.h
<<_ACEOF
2139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2142 cat >>confdefs.h
<<_ACEOF
2143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2146 cat >>confdefs.h
<<_ACEOF
2147 #define PACKAGE_STRING "$PACKAGE_STRING"
2150 cat >>confdefs.h
<<_ACEOF
2151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2154 cat >>confdefs.h
<<_ACEOF
2155 #define PACKAGE_URL "$PACKAGE_URL"
2159 # Let the site file select an alternate cache file if it wants to.
2160 # Prefer an explicitly selected file to automatically selected ones.
2163 if test -n "$CONFIG_SITE"; then
2164 ac_site_file1
=$CONFIG_SITE
2165 elif test "x$prefix" != xNONE
; then
2166 ac_site_file1
=$prefix/share
/config.site
2167 ac_site_file2
=$prefix/etc
/config.site
2169 ac_site_file1
=$ac_default_prefix/share
/config.site
2170 ac_site_file2
=$ac_default_prefix/etc
/config.site
2172 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2174 test "x$ac_site_file" = xNONE
&& continue
2175 if test -r "$ac_site_file"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178 sed 's/^/| /' "$ac_site_file" >&5
2183 if test -r "$cache_file"; then
2184 # Some versions of bash will fail to source /dev/null (special
2185 # files actually), so we avoid doing that.
2186 if test -f "$cache_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2188 $as_echo "$as_me: loading cache $cache_file" >&6;}
2190 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2191 *) .
"./$cache_file";;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2196 $as_echo "$as_me: creating cache $cache_file" >&6;}
2200 # Check that the precious variables saved in the cache have kept the same
2202 ac_cache_corrupted
=false
2203 for ac_var
in $ac_precious_vars; do
2204 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2205 eval ac_new_set
=\
$ac_env_${ac_var}_set
2206 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2207 eval ac_new_val
=\
$ac_env_${ac_var}_value
2208 case $ac_old_set,$ac_new_set in
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2211 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2212 ac_cache_corrupted
=: ;;
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2216 ac_cache_corrupted
=: ;;
2219 if test "x$ac_old_val" != "x$ac_new_val"; then
2220 # differences in whitespace do not lead to failure.
2221 ac_old_val_w
=`echo x $ac_old_val`
2222 ac_new_val_w
=`echo x $ac_new_val`
2223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2226 ac_cache_corrupted
=:
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2230 eval $ac_var=\
$ac_old_val
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2233 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2238 # Pass precious variables to config.status.
2239 if test "$ac_new_set" = set; then
2241 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2242 *) ac_arg
=$ac_var=$ac_new_val ;;
2244 case " $ac_configure_args " in
2245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2246 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2250 if $ac_cache_corrupted; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2255 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2257 ## -------------------- ##
2258 ## Main body of script. ##
2259 ## -------------------- ##
2262 ac_cpp
='$CPP $CPPFLAGS'
2263 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2269 ac_config_headers
="$ac_config_headers config.h"
2272 am__api_version
='1.11'
2275 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2276 for ac_t
in install-sh
install.sh shtool
; do
2277 if test -f "$ac_dir/$ac_t"; then
2279 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2284 if test -z "$ac_aux_dir"; then
2285 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2288 # These three variables are undocumented and unsupported,
2289 # and are intended to be withdrawn in a future Autoconf release.
2290 # They can cause serious problems if a builder's source tree is in a directory
2291 # whose full name contains unusual characters.
2292 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2293 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2294 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2297 # Find a good install program. We prefer a C program (faster),
2298 # so one script is as good as another. But avoid the broken or
2299 # incompatible versions:
2300 # SysV /etc/install, /usr/sbin/install
2301 # SunOS /usr/etc/install
2302 # IRIX /sbin/install
2304 # AmigaOS /C/install, which installs bootblocks on floppy discs
2305 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2306 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2307 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2308 # OS/2's system install, which has a completely different semantic
2309 # ./install, which can be erroneously created by make from ./install.sh.
2310 # Reject install programs that cannot install multiple files.
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2312 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2313 if test -z "$INSTALL"; then
2314 if test "${ac_cv_path_install+set}" = set; then :
2315 $as_echo_n "(cached) " >&6
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 # Account for people who put trailing slashes in PATH elements.
2323 case $as_dir/ in #((
2324 .
/ | .
// |
/[cC
]/* | \
2325 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2326 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2329 # OSF1 and SCO ODT 3.0 have their own names for install.
2330 # Don't use installbsd from OSF since it installs stuff as root
2332 for ac_prog
in ginstall scoinst
install; do
2333 for ac_exec_ext
in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2335 if test $ac_prog = install &&
2336 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2337 # AIX install. It has an incompatible calling convention.
2339 elif test $ac_prog = install &&
2340 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2341 # program-specific install script used by HP pwplus--don't use.
2344 rm -rf conftest.one conftest.two conftest.dir
2345 echo one
> conftest.one
2346 echo two
> conftest.two
2348 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2349 test -s conftest.one
&& test -s conftest.two
&&
2350 test -s conftest.dir
/conftest.one
&&
2351 test -s conftest.dir
/conftest.two
2353 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2366 rm -rf conftest.one conftest.two conftest.dir
2369 if test "${ac_cv_path_install+set}" = set; then
2370 INSTALL
=$ac_cv_path_install
2372 # As a last resort, use the slow shell script. Don't cache a
2373 # value for INSTALL within a source directory, because that will
2374 # break other packages using the cache if that directory is
2375 # removed, or if the value is a relative name.
2376 INSTALL
=$ac_install_sh
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2380 $as_echo "$INSTALL" >&6; }
2382 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2383 # It thinks the first close brace ends the variable substitution.
2384 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2386 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2388 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2391 $as_echo_n "checking whether build environment is sane... " >&6; }
2394 echo timestamp
> conftest.
file
2395 # Reject unsafe characters in $srcdir or the absolute working directory
2396 # name. Accept space and tab only in the latter.
2400 *[\\\"\
#\$\&\'\`$am_lf]*)
2401 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2404 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2405 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2408 # Do `set' in a subshell so we don't clobber the current shell's
2409 # arguments. Must try -L first in case configure is actually a
2410 # symlink; some systems play weird games with the mod time of symlinks
2411 # (eg FreeBSD returns the mod time of the symlink's containing
2414 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2415 if test "$*" = "X"; then
2417 set X
`ls -t "$srcdir/configure" conftest.file`
2420 if test "$*" != "X $srcdir/configure conftest.file" \
2421 && test "$*" != "X conftest.file $srcdir/configure"; then
2423 # If neither matched, then we have a broken ls. This can happen
2424 # if, for instance, CONFIG_SHELL is bash and it inherits a
2425 # broken ls alias from the environment. This has actually
2426 # happened. Such a system could not be considered "sane".
2427 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2428 alias in your environment" "$LINENO" 5
2431 test "$2" = conftest.
file
2437 as_fn_error
"newly created file is older than distributed files!
2438 Check your system clock" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2441 $as_echo "yes" >&6; }
2442 test "$program_prefix" != NONE
&&
2443 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2444 # Use a double $ so make ignores it.
2445 test "$program_suffix" != NONE
&&
2446 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2447 # Double any \ or $.
2448 # By default was `s,x,x', remove it if useless.
2449 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2450 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2452 # expand $ac_aux_dir to an absolute path
2453 am_aux_dir
=`cd $ac_aux_dir && pwd`
2455 if test x
"${MISSING+set}" != xset
; then
2458 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2460 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2463 # Use eval to expand $SHELL
2464 if eval "$MISSING --run true"; then
2465 am_missing_run
="$MISSING --run "
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2469 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2472 if test x
"${install_sh}" != xset
; then
2475 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2477 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2481 # Installed binaries are usually stripped using `strip' when the user
2482 # run `make install-strip'. However `strip' might not be the right
2483 # tool to use in cross-compilation environments, therefore Automake
2484 # will honor the `STRIP' environment variable to overrule this program.
2485 if test "$cross_compiling" != no
; then
2486 if test -n "$ac_tool_prefix"; then
2487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2488 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2490 $as_echo_n "checking for $ac_word... " >&6; }
2491 if test "${ac_cv_prog_STRIP+set}" = set; then :
2492 $as_echo_n "(cached) " >&6
2494 if test -n "$STRIP"; then
2495 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir
=.
2502 for ac_exec_ext
in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 STRIP
=$ac_cv_prog_STRIP
2515 if test -n "$STRIP"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2517 $as_echo "$STRIP" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2525 if test -z "$ac_cv_prog_STRIP"; then
2527 # Extract the first word of "strip", so it can be a program name with args.
2528 set dummy strip
; ac_word
=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2532 $as_echo_n "(cached) " >&6
2534 if test -n "$ac_ct_STRIP"; then
2535 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir
=.
2542 for ac_exec_ext
in '' $ac_executable_extensions; do
2543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544 ac_cv_prog_ac_ct_STRIP
="strip"
2545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2555 if test -n "$ac_ct_STRIP"; then
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2557 $as_echo "$ac_ct_STRIP" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2563 if test "x$ac_ct_STRIP" = x
; then
2566 case $cross_compiling:$ac_tool_warned in
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2570 ac_tool_warned
=yes ;;
2575 STRIP
="$ac_cv_prog_STRIP"
2579 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2582 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2583 if test -z "$MKDIR_P"; then
2584 if test "${ac_cv_path_mkdir+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2591 test -z "$as_dir" && as_dir
=.
2592 for ac_prog
in mkdir gmkdir
; do
2593 for ac_exec_ext
in '' $ac_executable_extensions; do
2594 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2595 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2596 'mkdir (GNU coreutils) '* | \
2597 'mkdir (coreutils) '* | \
2598 'mkdir (fileutils) '4.1*)
2599 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2609 if test "${ac_cv_path_mkdir+set}" = set; then
2610 MKDIR_P
="$ac_cv_path_mkdir -p"
2612 # As a last resort, use the slow shell script. Don't cache a
2613 # value for MKDIR_P within a source directory, because that will
2614 # break other packages using the cache if that directory is
2615 # removed, or if the value is a relative name.
2616 test -d .
/--version && rmdir .
/--version
2617 MKDIR_P
="$ac_install_sh -d"
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2621 $as_echo "$MKDIR_P" >&6; }
2625 [\\/$
]* | ?
:[\\/]*) ;;
2626 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2629 for ac_prog
in gawk mawk nawk
awk
2631 # Extract the first word of "$ac_prog", so it can be a program name with args.
2632 set dummy
$ac_prog; ac_word
=$2
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2634 $as_echo_n "checking for $ac_word... " >&6; }
2635 if test "${ac_cv_prog_AWK+set}" = set; then :
2636 $as_echo_n "(cached) " >&6
2638 if test -n "$AWK"; then
2639 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2645 test -z "$as_dir" && as_dir
=.
2646 for ac_exec_ext
in '' $ac_executable_extensions; do
2647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2648 ac_cv_prog_AWK
="$ac_prog"
2649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 if test -n "$AWK"; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2661 $as_echo "$AWK" >&6; }
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2664 $as_echo "no" >&6; }
2668 test -n "$AWK" && break
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2672 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2674 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2675 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2676 $as_echo_n "(cached) " >&6
2678 cat >conftest.
make <<\_ACEOF
2681 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2683 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2684 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2686 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2688 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2692 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2694 $as_echo "yes" >&6; }
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2698 $as_echo "no" >&6; }
2699 SET_MAKE
="MAKE=${MAKE-make}"
2702 rm -rf .tst
2>/dev
/null
2703 mkdir .tst
2>/dev
/null
2704 if test -d .tst
; then
2709 rmdir .tst
2>/dev
/null
2711 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2712 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2713 # is not polluted with repeated "-I."
2714 am__isrc
=' -I$(srcdir)'
2715 # test to see if srcdir already configured
2716 if test -f $srcdir/config.status
; then
2717 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2721 # test whether we have cygpath
2722 if test -z "$CYGPATH_W"; then
2723 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2724 CYGPATH_W
='cygpath -w'
2731 # Define the identity of the package.
2736 cat >>confdefs.h
<<_ACEOF
2737 #define PACKAGE "$PACKAGE"
2741 cat >>confdefs.h
<<_ACEOF
2742 #define VERSION "$VERSION"
2745 # Some tools Automake needs.
2747 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2750 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2753 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2756 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2759 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2761 # We need awk for the "check" target. The system "awk" is bad on
2763 # Always define AMTAR for backward compatibility.
2765 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2767 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2775 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2776 # Check whether --enable-maintainer-mode was given.
2777 if test "${enable_maintainer_mode+set}" = set; then :
2778 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2780 USE_MAINTAINER_MODE
=no
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2784 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2785 if test $USE_MAINTAINER_MODE = yes; then
2786 MAINTAINER_MODE_TRUE
=
2787 MAINTAINER_MODE_FALSE
='#'
2789 MAINTAINER_MODE_TRUE
='#'
2790 MAINTAINER_MODE_FALSE
=
2793 MAINT
=$MAINTAINER_MODE_TRUE
2797 if test ! -d "$srcdir/m4m"; then
2799 You are missing the m4m/ directory in your top
2800 $PACKAGE_TARNAME source directory.
2802 You are probably using an ill-maintained CVS tree.
2808 and re-running autogen.sh might help.
2813 # make sure "cd" doesn't print anything on stdout
2814 if test x
"${CDPATH+set}" = xset
2820 # make sure $() command substitution works
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX sh \$() command substitution" >&5
2822 $as_echo_n "checking for POSIX sh \$() command substitution... " >&6; }
2823 if test "x$(pwd)" = "x`pwd`" && test "y$(echo "foobar
")" = "y`echo foobar`" # ''''
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2826 $as_echo "yes" >&6; }
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
2830 uname
=`uname 2>&1` # ''
2831 uname_a
=`uname -a 2>&1` # ''
2834 * POSIX sh \$() command substition does not work with this shell.
2836 * You are running a very rare species of shell. Please report this
2837 * sighting to <${PACKAGE_BUGREPORT}>:
2840 * uname-a=${uname_a}
2841 * Please also include your OS and version.
2843 * Run this configure script using a better (i.e. POSIX compliant) shell.
2851 gp_config_len3
="$(expr "$gp_config_len" - 3)"
2853 while test "$n" -gt 0; do
2854 gp_config_empty
="${gp_config_empty} "
2855 n
="$(expr "$n" - 1)"
2858 Configuration (${PACKAGE_TARNAME} ${PACKAGE_VERSION}):
2862 gp_config_msg
="${gp_config_msg}
2867 gp_config_msg_len
="$(expr "Source code location
" : '.*')"
2868 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
2869 gp_config_msg_lhs
="$(expr "Source code location
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
2871 gp_config_msg_lhs
="$(expr "Source code location
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
2873 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} ${srcdir}
2883 LIBEXIF_CURRENT_MIN
=`expr $LIBEXIF_CURRENT - $LIBEXIF_AGE`
2885 LIBEXIF_VERSION_INFO
="$LIBEXIF_CURRENT:$LIBEXIF_REVISION:$LIBEXIF_AGE"
2889 ac_cpp
='$CPP $CPPFLAGS'
2890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2893 if test -n "$ac_tool_prefix"; then
2894 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2895 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2897 $as_echo_n "checking for $ac_word... " >&6; }
2898 if test "${ac_cv_prog_CC+set}" = set; then :
2899 $as_echo_n "(cached) " >&6
2901 if test -n "$CC"; then
2902 ac_cv_prog_CC
="$CC" # Let the user override the test.
2904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2908 test -z "$as_dir" && as_dir
=.
2909 for ac_exec_ext
in '' $ac_executable_extensions; do
2910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2911 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 if test -n "$CC"; then
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2924 $as_echo "$CC" >&6; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2932 if test -z "$ac_cv_prog_CC"; then
2934 # Extract the first word of "gcc", so it can be a program name with args.
2935 set dummy gcc
; ac_word
=$2
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2937 $as_echo_n "checking for $ac_word... " >&6; }
2938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2939 $as_echo_n "(cached) " >&6
2941 if test -n "$ac_ct_CC"; then
2942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2948 test -z "$as_dir" && as_dir
=.
2949 for ac_exec_ext
in '' $ac_executable_extensions; do
2950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2951 ac_cv_prog_ac_ct_CC
="gcc"
2952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2961 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2962 if test -n "$ac_ct_CC"; then
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2964 $as_echo "$ac_ct_CC" >&6; }
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2967 $as_echo "no" >&6; }
2970 if test "x$ac_ct_CC" = x
; then
2973 case $cross_compiling:$ac_tool_warned in
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2976 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2977 ac_tool_warned
=yes ;;
2985 if test -z "$CC"; then
2986 if test -n "$ac_tool_prefix"; then
2987 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2988 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2990 $as_echo_n "checking for $ac_word... " >&6; }
2991 if test "${ac_cv_prog_CC+set}" = set; then :
2992 $as_echo_n "(cached) " >&6
2994 if test -n "$CC"; then
2995 ac_cv_prog_CC
="$CC" # Let the user override the test.
2997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3001 test -z "$as_dir" && as_dir
=.
3002 for ac_exec_ext
in '' $ac_executable_extensions; do
3003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3004 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 if test -n "$CC"; then
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3017 $as_echo "$CC" >&6; }
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3020 $as_echo "no" >&6; }
3026 if test -z "$CC"; then
3027 # Extract the first word of "cc", so it can be a program name with args.
3028 set dummy cc
; ac_word
=$2
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3030 $as_echo_n "checking for $ac_word... " >&6; }
3031 if test "${ac_cv_prog_CC+set}" = set; then :
3032 $as_echo_n "(cached) " >&6
3034 if test -n "$CC"; then
3035 ac_cv_prog_CC
="$CC" # Let the user override the test.
3038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir
=.
3043 for ac_exec_ext
in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3046 ac_prog_rejected
=yes
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 if test $ac_prog_rejected = yes; then
3058 # We found a bogon in the path, so make sure we never use it.
3059 set dummy
$ac_cv_prog_CC
3061 if test $# != 0; then
3062 # We chose a different compiler from the bogus one.
3063 # However, it has the same basename, so the bogon will be chosen
3064 # first if we set CC to just the basename; use the full file name.
3066 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3072 if test -n "$CC"; then
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3074 $as_echo "$CC" >&6; }
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3082 if test -z "$CC"; then
3083 if test -n "$ac_tool_prefix"; then
3084 for ac_prog
in cl.exe
3086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3087 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3089 $as_echo_n "checking for $ac_word... " >&6; }
3090 if test "${ac_cv_prog_CC+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if test -n "$CC"; then
3094 ac_cv_prog_CC
="$CC" # Let the user override the test.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3103 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 if test -n "$CC"; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3116 $as_echo "$CC" >&6; }
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3119 $as_echo "no" >&6; }
3123 test -n "$CC" && break
3126 if test -z "$CC"; then
3128 for ac_prog
in cl.exe
3130 # Extract the first word of "$ac_prog", so it can be a program name with args.
3131 set dummy
$ac_prog; ac_word
=$2
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133 $as_echo_n "checking for $ac_word... " >&6; }
3134 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3135 $as_echo_n "(cached) " >&6
3137 if test -n "$ac_ct_CC"; then
3138 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir
=.
3145 for ac_exec_ext
in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_ac_ct_CC
="$ac_prog"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3158 if test -n "$ac_ct_CC"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3160 $as_echo "$ac_ct_CC" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3167 test -n "$ac_ct_CC" && break
3170 if test "x$ac_ct_CC" = x
; then
3173 case $cross_compiling:$ac_tool_warned in
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3177 ac_tool_warned
=yes ;;
3186 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error
"no acceptable C compiler found in \$PATH
3189 See \`config.log' for more details." "$LINENO" 5; }
3191 # Provide some information about the compiler.
3192 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3195 for ac_option
in --version -v -V -qversion; do
3196 { { ac_try
="$ac_compiler $ac_option >&5"
3198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3199 *) ac_try_echo=$ac_try;;
3201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3202 $as_echo "$ac_try_echo"; } >&5
3203 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3205 if test -s conftest.err; then
3207 ... rest of stderr output deleted ...
3208 10q' conftest.err >conftest.er1
3209 cat conftest.er1 >&5
3210 rm -f conftest.er1 conftest.err
3212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3213 test $ac_status = 0; }
3216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217 /* end confdefs.h. */
3222 FILE *f = fopen ("conftest.out", "w");
3223 return ferror (f) || fclose (f) != 0;
3229 ac_clean_files_save=$ac_clean_files
3230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3231 # Try to create an executable without -o first, disregard a.out.
3232 # It will help us diagnose broken compilers, and finding out an intuition
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3235 $as_echo_n "checking for C compiler default output file name... " >&6; }
3236 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3238 # The possible output files:
3239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3242 for ac_file in $ac_files
3245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3251 if { { ac_try="$ac_link_default"
3253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_link_default") 2>&5
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
3262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3263 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3265 # so that the user can short-circuit this test for compilers unknown to
3267 for ac_file
in $ac_files ''
3269 test -f "$ac_file" ||
continue
3271 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3274 # We found the default executable, but exeext='' is most
3278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3280 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3282 # We set ac_cv_exeext here because the later test for it is not
3283 # safe: cross compilers may not add the suffix if given an `-o'
3284 # argument, so we may need to know it at that point already.
3285 # Even if this section looks crufty: it has the advantage of
3292 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3298 $as_echo "$ac_file" >&6; }
3299 if test -z "$ac_file"; then :
3300 $as_echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.
$ac_ext >&5
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 { as_fn_set_status
77
3306 as_fn_error
"C compiler cannot create executables
3307 See \`config.log' for more details." "$LINENO" 5; }; }
3309 ac_exeext
=$ac_cv_exeext
3311 # Check that the compiler produces executables we can run. If not, either
3312 # the compiler is broken, or we cross compile.
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3314 $as_echo_n "checking whether the C compiler works... " >&6; }
3315 # If not cross compiling, check that we can run a simple program.
3316 if test "$cross_compiling" != yes; then
3317 if { ac_try
='./$ac_file'
3318 { { case "(($ac_try" in
3319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_try") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; }; then
3330 if test "$cross_compiling" = maybe; then
3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335 as_fn_error "cannot run C compiled programs.
3336 If you meant to cross compile
, use \
`--host'.
3337 See \`config.log
' for more details." "$LINENO" 5; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3342 $as_echo "yes" >&6; }
3344 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3345 ac_clean_files=$ac_clean_files_save
3346 # Check that the compiler produces executables we can run. If not, either
3347 # the compiler is broken, or we cross compile.
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3349 $as_echo_n "checking whether we are cross compiling... " >&6; }
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3351 $as_echo "$cross_compiling" >&6; }
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3354 $as_echo_n "checking for suffix of executables... " >&6; }
3355 if { { ac_try="$ac_link"
3357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_link") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3367 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3368 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3370 for ac_file
in conftest.exe conftest conftest.
*; do
3371 test -f "$ac_file" ||
continue
3373 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3374 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details." "$LINENO" 5; }
3385 rm -f conftest
$ac_cv_exeext
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3387 $as_echo "$ac_cv_exeext" >&6; }
3389 rm -f conftest.
$ac_ext
3390 EXEEXT
=$ac_cv_exeext
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3393 $as_echo_n "checking for suffix of object files... " >&6; }
3394 if test "${ac_cv_objext+set}" = set; then :
3395 $as_echo_n "(cached) " >&6
3397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 rm -f conftest.o conftest.obj
3409 if { { ac_try
="$ac_compile"
3411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415 $as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_compile") 2>&5
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }; then :
3420 for ac_file in conftest.o conftest.obj conftest.*; do
3421 test -f "$ac_file" || continue;
3423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3424 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3429 $as_echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 as_fn_error "cannot compute suffix of object files
: cannot compile
3435 See \
`config.log' for more details." "$LINENO" 5; }
3437 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3440 $as_echo "$ac_cv_objext" >&6; }
3441 OBJEXT=$ac_cv_objext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3444 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3445 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449 /* end confdefs.h. */
3462 if ac_fn_c_try_compile "$LINENO"; then :
3467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3472 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3473 if test $ac_compiler_gnu = yes; then
3478 ac_test_CFLAGS=${CFLAGS+set}
3479 ac_save_CFLAGS=$CFLAGS
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3481 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3482 if test "${ac_cv_prog_cc_g+set}" = set; then :
3483 $as_echo_n "(cached) " >&6
3485 ac_save_c_werror_flag=$ac_c_werror_flag
3486 ac_c_werror_flag=yes
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3500 if ac_fn_c_try_compile "$LINENO"; then :
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 if ac_fn_c_try_compile "$LINENO"; then :
3518 ac_c_werror_flag=$ac_save_c_werror_flag
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 ac_c_werror_flag=$ac_save_c_werror_flag
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3542 $as_echo "$ac_cv_prog_cc_g" >&6; }
3543 if test "$ac_test_CFLAGS" = set; then
3544 CFLAGS=$ac_save_CFLAGS
3545 elif test $ac_cv_prog_cc_g = yes; then
3546 if test "$GCC" = yes; then
3552 if test "$GCC" = yes; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3559 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3560 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3563 ac_cv_prog_cc_c89=no
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3569 #include <sys/types.h>
3570 #include <sys/stat.h>
3571 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3572 struct buf { int x; };
3573 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3574 static char *e (p, i)
3580 static char *f (char * (*g) (char **, int), char **p, ...)
3585 s = g (p, va_arg (v,int));
3590 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3591 function prototypes and stuff, but not '\xHH' hex character constants.
3592 These don't provoke an error unfortunately, instead are silently treated
3593 as 'x'. The following induces an error, until -std is added to get
3594 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3595 array size at least. It's necessary to write '\x00'==0 to get something
3596 that's true only with -std. */
3597 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3599 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3600 inside strings and character constants. */
3602 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3604 int test (int i, double x);
3605 struct s1 {int (*f) (int a);};
3606 struct s2 {int (*f) (double a);};
3607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3618 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3619 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3621 CC="$ac_save_CC $ac_arg"
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623 ac_cv_prog_cc_c89=$ac_arg
3625 rm -f core conftest.err conftest.$ac_objext
3626 test "x$ac_cv_prog_cc_c89" != "xno" && break
3628 rm -f conftest.$ac_ext
3633 case "x$ac_cv_prog_cc_c89" in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3636 $as_echo "none needed" >&6; } ;;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3639 $as_echo "unsupported" >&6; } ;;
3641 CC="$CC $ac_cv_prog_cc_c89"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3643 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3645 if test "x$ac_cv_prog_cc_c89" != xno; then :
3650 ac_cpp='$CPP $CPPFLAGS'
3651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3654 DEPDIR="${am__leading_dot}deps"
3656 ac_config_commands="$ac_config_commands depfiles"
3659 am_make=${MAKE-make}
3660 cat > confinc << 'END'
3662 @echo this is the am__doit target
3665 # If we don't find an include directive, just comment out the code.
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3667 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3671 # First try GNU make style include.
3672 echo "include confinc" > confmf
3673 # Ignore all kinds of additional output from `make'.
3674 case `$am_make -s -f confmf 2> /dev/null` in #(
3675 *the\ am__doit\ target*)
3681 # Now try BSD make style include.
3682 if test "$am__include" = "#"; then
3683 echo '.include
"confinc"' > confmf
3684 case `$am_make -s -f confmf 2> /dev/null` in #(
3685 *the\ am__doit\ target*)
3686 am__include=.include
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3695 $as_echo "$_am_result" >&6; }
3696 rm -f confinc confmf
3698 # Check whether --enable-dependency-tracking was given.
3699 if test "${enable_dependency_tracking+set}" = set; then :
3700 enableval=$enable_dependency_tracking;
3703 if test "x$enable_dependency_tracking" != xno; then
3704 am_depcomp="$ac_aux_dir/depcomp"
3707 if test "x$enable_dependency_tracking" != xno
; then
3717 depcc
="$CC" am_compiler_list
=
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3720 $as_echo_n "checking dependency style of $depcc... " >&6; }
3721 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3722 $as_echo_n "(cached) " >&6
3724 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3725 # We make a subdir and do the tests there. Otherwise we can end up
3726 # making bogus files that we don't know about and never remove. For
3727 # instance it was reported that on HP-UX the gcc test will end up
3728 # making a dummy file named `D' -- because `-MD' means `put the output
3731 # Copy depcomp to subdir because otherwise we won't find it if we're
3732 # using a relative directory.
3733 cp "$am_depcomp" conftest.dir
3735 # We will build objects and dependencies in a subdirectory because
3736 # it helps to detect inapplicable dependency modes. For instance
3737 # both Tru64's cc and ICC support -MD to output dependencies as a
3738 # side effect of compilation, but ICC will put the dependencies in
3739 # the current directory while Tru64 will put them in the object
3743 am_cv_CC_dependencies_compiler_type
=none
3744 if test "$am_compiler_list" = ""; then
3745 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3748 case " $depcc " in #(
3749 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3752 for depmode
in $am_compiler_list; do
3753 # Setup a source with many dependencies, because some compilers
3754 # like to wrap large dependency lists on column 80 (with \), and
3755 # we should not choose a depcomp mode which is confused by this.
3757 # We need to recreate these files for each test, as the compiler may
3758 # overwrite some of them when testing with obscure command lines.
3759 # This happens at least with the AIX C compiler.
3761 for i
in 1 2 3 4 5 6; do
3762 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3763 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3764 # Solaris 8's {/usr,}/bin/sh.
3765 touch sub
/conftst
$i.h
3767 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3769 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3770 # mode. It turns out that the SunPro C++ compiler does not properly
3771 # handle `-M -o', and we need to detect this. Also, some Intel
3772 # versions had trouble with output in subdirs
3773 am__obj
=sub
/conftest.
${OBJEXT-o}
3774 am__minus_obj
="-o $am__obj"
3777 # This depmode causes a compiler race in universal mode.
3778 test "$am__universal" = false ||
continue
3781 # after this tag, mechanisms are not by side-effect, so they'll
3782 # only be used when explicitly requested
3783 if test "x$enable_dependency_tracking" = xyes
; then
3789 msvisualcpp | msvcmsys
)
3790 # This compiler won't grok `-c -o', but also, the minuso test has
3791 # not run yet. These depmodes are late enough in the game, and
3792 # so weak that their functioning should not be impacted.
3793 am__obj
=conftest.
${OBJEXT-o}
3798 if depmode
=$depmode \
3799 source=sub
/conftest.c object
=$am__obj \
3800 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3801 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3802 >/dev
/null
2>conftest.err
&&
3803 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3804 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3805 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3806 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3807 # icc doesn't choke on unknown options, it will just issue warnings
3808 # or remarks (even with -Werror). So we grep stderr for any message
3809 # that says an option was ignored or not supported.
3810 # When given -MP, icc 7.0 and 7.1 complain thusly:
3811 # icc: Command line warning: ignoring option '-M'; no argument required
3812 # The diagnosis changed in icc 8.0:
3813 # icc: Command line remark: option '-MP' not supported
3814 if (grep 'ignoring option' conftest.err ||
3815 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3816 am_cv_CC_dependencies_compiler_type
=$depmode
3825 am_cv_CC_dependencies_compiler_type
=none
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3830 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3831 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3834 test "x$enable_dependency_tracking" != xno \
3835 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3837 am__fastdepCC_FALSE
='#'
3839 am__fastdepCC_TRUE
='#'
3840 am__fastdepCC_FALSE
=
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3846 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
3847 if test "${ac_cv_c_const+set}" = set; then :
3848 $as_echo_n "(cached) " >&6
3850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h. */
3856 /* FIXME: Include the comments suggested by Paul. */
3858 /* Ultrix mips cc rejects this. */
3859 typedef int charset[2];
3861 /* SunOS 4.1.1 cc rejects this. */
3862 char const *const *pcpcc;
3864 /* NEC SVR4.0.2 mips cc rejects this. */
3865 struct point {int x, y;};
3866 static struct point const zero = {0,0};
3867 /* AIX XL C 1.02.0.0 rejects this.
3868 It does not let you subtract one const X* pointer from another in
3869 an arm of an if-expression whose if-part is not a constant
3871 const char *g = "string";
3872 pcpcc = &g + (g ? g-g : 0);
3873 /* HPUX 7.0 cc rejects these. */
3875 ppc = (char**) pcpcc;
3876 pcpcc = (char const *const *) ppc;
3877 { /* SCO 3.2v4 cc rejects this. */
3879 char const *s = 0 ? (char *) 0 : (char const *) 0;
3884 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3886 const int *foo = &x[0];
3889 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3890 typedef const int *iptr;
3894 { /* AIX XL C 1.02.0.0 rejects this saying
3895 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3896 struct s { int j; const int *ap[3]; };
3897 struct s *b; b->j = 5;
3899 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3903 return !cs[0] && !zero.x;
3910 if ac_fn_c_try_compile
"$LINENO"; then :
3915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3918 $as_echo "$ac_cv_c_const" >&6; }
3919 if test $ac_cv_c_const = no
; then
3921 $as_echo "#define const /**/" >>confdefs.h
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
3926 $as_echo_n "checking for inline... " >&6; }
3927 if test "${ac_cv_c_inline+set}" = set; then :
3928 $as_echo_n "(cached) " >&6
3931 for ac_kw
in inline __inline__ __inline
; do
3932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3933 /* end confdefs.h. */
3936 static $ac_kw foo_t static_foo () {return 0; }
3937 $ac_kw foo_t foo () {return 0; }
3941 if ac_fn_c_try_compile
"$LINENO"; then :
3942 ac_cv_c_inline
=$ac_kw
3944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3945 test "$ac_cv_c_inline" != no
&& break
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
3950 $as_echo "$ac_cv_c_inline" >&6; }
3952 case $ac_cv_c_inline in
3955 case $ac_cv_c_inline in
3957 *) ac_val
=$ac_cv_c_inline;;
3959 cat >>confdefs.h
<<_ACEOF
3961 #define inline $ac_val
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3970 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3975 macro_version
='2.2.6'
3976 macro_revision
='1.3012'
3990 ltmain
="$ac_aux_dir/ltmain.sh"
3992 # Make sure we can run config.sub.
3993 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3994 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3997 $as_echo_n "checking build system type... " >&6; }
3998 if test "${ac_cv_build+set}" = set; then :
3999 $as_echo_n "(cached) " >&6
4001 ac_build_alias
=$build_alias
4002 test "x$ac_build_alias" = x
&&
4003 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4004 test "x$ac_build_alias" = x
&&
4005 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
4006 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4007 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4011 $as_echo "$ac_cv_build" >&6; }
4012 case $ac_cv_build in
4014 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
4017 ac_save_IFS
=$IFS; IFS
='-'
4023 # Remember, the first character of IFS is used to create $*,
4024 # except with old shells:
4027 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4031 $as_echo_n "checking host system type... " >&6; }
4032 if test "${ac_cv_host+set}" = set; then :
4033 $as_echo_n "(cached) " >&6
4035 if test "x$host_alias" = x
; then
4036 ac_cv_host
=$ac_cv_build
4038 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4039 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4044 $as_echo "$ac_cv_host" >&6; }
4047 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
4050 ac_save_IFS
=$IFS; IFS
='-'
4056 # Remember, the first character of IFS is used to create $*,
4057 # except with old shells:
4060 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4064 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4065 if test "${ac_cv_path_SED+set}" = set; then :
4066 $as_echo_n "(cached) " >&6
4068 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
4069 for ac_i
in 1 2 3 4 5 6 7; do
4070 ac_script
="$ac_script$as_nl$ac_script"
4072 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
4073 { ac_script
=; unset ac_script
;}
4074 if test -z "$SED"; then
4075 ac_path_SED_found
=false
4076 # Loop through the user's path and test for each of PROGNAME-LIST
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_prog
in sed gsed
; do
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
4085 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
4086 # Check for GNU ac_path_SED and select it if it is found.
4087 # Check for GNU $ac_path_SED
4088 case `"$ac_path_SED" --version 2>&1` in
4090 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
4093 $as_echo_n 0123456789 >"conftest.in"
4096 cat "conftest.in" "conftest.in" >"conftest.tmp"
4097 mv "conftest.tmp" "conftest.in"
4098 cp "conftest.in" "conftest.nl"
4099 $as_echo '' >> "conftest.nl"
4100 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4101 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4102 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4103 if test $ac_count -gt ${ac_path_SED_max-0}; then
4104 # Best one so far, save it but keep looking for a better one
4105 ac_cv_path_SED
="$ac_path_SED"
4106 ac_path_SED_max
=$ac_count
4108 # 10*(2^10) chars as input seems more than enough
4109 test $ac_count -gt 10 && break
4111 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4114 $ac_path_SED_found && break 3
4119 if test -z "$ac_cv_path_SED"; then
4120 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4128 $as_echo "$ac_cv_path_SED" >&6; }
4129 SED
="$ac_cv_path_SED"
4132 test -z "$SED" && SED
=sed
4133 Xsed
="$SED -e 1s/^X//"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4146 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4147 if test "${ac_cv_path_GREP+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4150 if test -z "$GREP"; then
4151 ac_path_GREP_found
=false
4152 # Loop through the user's path and test for each of PROGNAME-LIST
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_prog
in grep ggrep
; do
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4161 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4162 # Check for GNU ac_path_GREP and select it if it is found.
4163 # Check for GNU $ac_path_GREP
4164 case `"$ac_path_GREP" --version 2>&1` in
4166 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4169 $as_echo_n 0123456789 >"conftest.in"
4172 cat "conftest.in" "conftest.in" >"conftest.tmp"
4173 mv "conftest.tmp" "conftest.in"
4174 cp "conftest.in" "conftest.nl"
4175 $as_echo 'GREP' >> "conftest.nl"
4176 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4177 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4178 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4179 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4180 # Best one so far, save it but keep looking for a better one
4181 ac_cv_path_GREP
="$ac_path_GREP"
4182 ac_path_GREP_max
=$ac_count
4184 # 10*(2^10) chars as input seems more than enough
4185 test $ac_count -gt 10 && break
4187 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4190 $ac_path_GREP_found && break 3
4195 if test -z "$ac_cv_path_GREP"; then
4196 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4199 ac_cv_path_GREP
=$GREP
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4204 $as_echo "$ac_cv_path_GREP" >&6; }
4205 GREP
="$ac_cv_path_GREP"
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4209 $as_echo_n "checking for egrep... " >&6; }
4210 if test "${ac_cv_path_EGREP+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4213 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4214 then ac_cv_path_EGREP
="$GREP -E"
4216 if test -z "$EGREP"; then
4217 ac_path_EGREP_found
=false
4218 # Loop through the user's path and test for each of PROGNAME-LIST
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_prog
in egrep; do
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4227 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4228 # Check for GNU ac_path_EGREP and select it if it is found.
4229 # Check for GNU $ac_path_EGREP
4230 case `"$ac_path_EGREP" --version 2>&1` in
4232 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4235 $as_echo_n 0123456789 >"conftest.in"
4238 cat "conftest.in" "conftest.in" >"conftest.tmp"
4239 mv "conftest.tmp" "conftest.in"
4240 cp "conftest.in" "conftest.nl"
4241 $as_echo 'EGREP' >> "conftest.nl"
4242 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4243 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4244 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4245 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4246 # Best one so far, save it but keep looking for a better one
4247 ac_cv_path_EGREP
="$ac_path_EGREP"
4248 ac_path_EGREP_max
=$ac_count
4250 # 10*(2^10) chars as input seems more than enough
4251 test $ac_count -gt 10 && break
4253 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4256 $ac_path_EGREP_found && break 3
4261 if test -z "$ac_cv_path_EGREP"; then
4262 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4265 ac_cv_path_EGREP
=$EGREP
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4271 $as_echo "$ac_cv_path_EGREP" >&6; }
4272 EGREP
="$ac_cv_path_EGREP"
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4276 $as_echo_n "checking for fgrep... " >&6; }
4277 if test "${ac_cv_path_FGREP+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
4281 then ac_cv_path_FGREP
="$GREP -F"
4283 if test -z "$FGREP"; then
4284 ac_path_FGREP_found
=false
4285 # Loop through the user's path and test for each of PROGNAME-LIST
4286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4290 test -z "$as_dir" && as_dir
=.
4291 for ac_prog
in fgrep
; do
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
4294 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
4295 # Check for GNU ac_path_FGREP and select it if it is found.
4296 # Check for GNU $ac_path_FGREP
4297 case `"$ac_path_FGREP" --version 2>&1` in
4299 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
4302 $as_echo_n 0123456789 >"conftest.in"
4305 cat "conftest.in" "conftest.in" >"conftest.tmp"
4306 mv "conftest.tmp" "conftest.in"
4307 cp "conftest.in" "conftest.nl"
4308 $as_echo 'FGREP' >> "conftest.nl"
4309 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4310 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4311 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4312 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4313 # Best one so far, save it but keep looking for a better one
4314 ac_cv_path_FGREP
="$ac_path_FGREP"
4315 ac_path_FGREP_max
=$ac_count
4317 # 10*(2^10) chars as input seems more than enough
4318 test $ac_count -gt 10 && break
4320 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4323 $ac_path_FGREP_found && break 3
4328 if test -z "$ac_cv_path_FGREP"; then
4329 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4332 ac_cv_path_FGREP
=$FGREP
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4338 $as_echo "$ac_cv_path_FGREP" >&6; }
4339 FGREP
="$ac_cv_path_FGREP"
4342 test -z "$GREP" && GREP
=grep
4362 # Check whether --with-gnu-ld was given.
4363 if test "${with_gnu_ld+set}" = set; then :
4364 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4370 if test "$GCC" = yes; then
4371 # Check if gcc -print-prog-name=ld gives a path.
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4373 $as_echo_n "checking for ld used by $CC... " >&6; }
4376 # gcc leaves a trailing carriage return which upsets mingw
4377 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4379 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4382 # Accept absolute paths.
4384 re_direlt
='/[^/][^/]*/\.\./'
4385 # Canonicalize the pathname of ld
4386 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4387 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4388 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4390 test -z "$LD" && LD
="$ac_prog"
4393 # If it fails, then pretend we aren't using GCC.
4397 # If it is relative, then search for the first ld in PATH.
4401 elif test "$with_gnu_ld" = yes; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4403 $as_echo_n "checking for GNU ld... " >&6; }
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4406 $as_echo_n "checking for non-GNU ld... " >&6; }
4408 if test "${lt_cv_path_LD+set}" = set; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -z "$LD"; then
4412 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4413 for ac_dir
in $PATH; do
4415 test -z "$ac_dir" && ac_dir
=.
4416 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4417 lt_cv_path_LD
="$ac_dir/$ac_prog"
4418 # Check to see if the program is GNU ld. I'd rather use --version,
4419 # but apparently some variants of GNU ld only accept -v.
4420 # Break only if it was the GNU/non-GNU ld that we prefer.
4421 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4422 *GNU
* |
*'with BFD'*)
4423 test "$with_gnu_ld" != no
&& break
4426 test "$with_gnu_ld" != yes && break
4433 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4438 if test -n "$LD"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4440 $as_echo "$LD" >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4445 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4447 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4448 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4449 $as_echo_n "(cached) " >&6
4451 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4452 case `$LD -v 2>&1 </dev/null` in
4453 *GNU
* |
*'with BFD'*)
4454 lt_cv_prog_gnu_ld
=yes
4457 lt_cv_prog_gnu_ld
=no
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4462 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4463 with_gnu_ld
=$lt_cv_prog_gnu_ld
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4474 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4475 if test "${lt_cv_path_NM+set}" = set; then :
4476 $as_echo_n "(cached) " >&6
4478 if test -n "$NM"; then
4479 # Let the user override the test.
4482 lt_nm_to_check
="${ac_tool_prefix}nm"
4483 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4484 lt_nm_to_check
="$lt_nm_to_check nm"
4486 for lt_tmp_nm
in $lt_nm_to_check; do
4487 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4488 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4490 test -z "$ac_dir" && ac_dir
=.
4491 tmp_nm
="$ac_dir/$lt_tmp_nm"
4492 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4493 # Check to see if the nm accepts a BSD-compat flag.
4494 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4495 # nm: unknown option "B" ignored
4496 # Tru64's nm complains that /dev/null is an invalid object file
4497 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4498 */dev
/null
* |
*'Invalid file or object type'*)
4499 lt_cv_path_NM
="$tmp_nm -B"
4503 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4505 lt_cv_path_NM
="$tmp_nm -p"
4509 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4510 continue # so that we can try to find one that supports BSD flags
4519 : ${lt_cv_path_NM=no}
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4523 $as_echo "$lt_cv_path_NM" >&6; }
4524 if test "$lt_cv_path_NM" != "no"; then
4527 # Didn't find any BSD compatible name lister, look for dumpbin.
4528 if test -n "$ac_tool_prefix"; then
4529 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
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 test "${ac_cv_prog_DUMPBIN+set}" = set; 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 -symbols" "link -dump -symbols"
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 test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; 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
4629 if test "$DUMPBIN" != ":"; then
4633 test -z "$NM" && NM
=nm
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4641 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4642 if test "${lt_cv_nm_interface+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 lt_cv_nm_interface
="BSD nm"
4646 echo "int some_variable = 0;" > conftest.
$ac_ext
4647 (eval echo "\"\$as_me:4647: $ac_compile\"" >&5)
4648 (eval "$ac_compile" 2>conftest.err
)
4649 cat conftest.err
>&5
4650 (eval echo "\"\$as_me:4650: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4651 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4652 cat conftest.err
>&5
4653 (eval echo "\"\$as_me:4653: output\"" >&5)
4654 cat conftest.out
>&5
4655 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4656 lt_cv_nm_interface
="MS dumpbin"
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4661 $as_echo "$lt_cv_nm_interface" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4664 $as_echo_n "checking whether ln -s works... " >&6; }
4666 if test "$LN_S" = "ln -s"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4668 $as_echo "yes" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4671 $as_echo "no, using $LN_S" >&6; }
4674 # find the maximum length of command line arguments
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4676 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4677 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4685 # On DJGPP, this test can blow up pretty badly due to problems in libc
4686 # (any single argument exceeding 2000 bytes causes a buffer overrun
4687 # during glob expansion). Even if it were fixed, the result of this
4688 # check would be larger than it should be.
4689 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4693 # Under GNU Hurd, this test is not required because there is
4694 # no limit to the length of command line arguments.
4695 # Libtool will interpret -1 as no limit whatsoever
4696 lt_cv_sys_max_cmd_len
=-1;
4699 cygwin
* | mingw
* | cegcc
*)
4700 # On Win9x/ME, this test blows up -- it succeeds, but takes
4701 # about 5 minutes as the teststring grows exponentially.
4702 # Worse, since 9x/ME are not pre-emptively multitasking,
4703 # you end up with a "frozen" computer, even though with patience
4704 # the test eventually succeeds (with a max line length of 256k).
4705 # Instead, let's just punt: use the minimum linelength reported by
4706 # all of the supported platforms: 8192 (on NT/2K/XP).
4707 lt_cv_sys_max_cmd_len
=8192;
4711 # On AmigaOS with pdksh, this test takes hours, literally.
4712 # So we just punt and use a minimum line length of 8192.
4713 lt_cv_sys_max_cmd_len
=8192;
4716 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4717 # This has been around since 386BSD, at least. Likely further.
4718 if test -x /sbin
/sysctl
; then
4719 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4720 elif test -x /usr
/sbin
/sysctl
; then
4721 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4723 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4725 # And add a safety zone
4726 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4727 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4731 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4732 lt_cv_sys_max_cmd_len
=196608
4736 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4737 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4738 # nice to cause kernel panics so lets avoid the loop below.
4739 # First set a reasonable default.
4740 lt_cv_sys_max_cmd_len
=16384
4742 if test -x /sbin
/sysconfig
; then
4743 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4744 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4749 lt_cv_sys_max_cmd_len
=102400
4751 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4752 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4753 if test -n "$kargmax"; then
4754 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4756 lt_cv_sys_max_cmd_len
=32768
4760 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4761 if test -n "$lt_cv_sys_max_cmd_len"; then
4762 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4763 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4765 # Make teststring a little bigger before we do anything with it.
4766 # a 1K string should be a reasonable start.
4767 for i
in 1 2 3 4 5 6 7 8 ; do
4768 teststring
=$teststring$teststring
4770 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4771 # If test is not a shell built-in, we'll probably end up computing a
4772 # maximum length that is only half of the actual maximum length, but
4774 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4775 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4776 test $i != 17 # 1/2 MB should be enough
4779 teststring
=$teststring$teststring
4781 # Only check the string length outside the loop.
4782 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4784 # Add a significant safety factor because C++ compilers can tack on
4785 # massive amounts of additional arguments before passing them to the
4786 # linker. It appears as though 1/2 is a usable value.
4787 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4794 if test -n $lt_cv_sys_max_cmd_len ; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4796 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4799 $as_echo "none" >&6; }
4801 max_cmd_len
=$lt_cv_sys_max_cmd_len
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4813 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4814 # Try some XSI features
4817 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4819 && eval 'test $(( 1 + 1 )) -eq 2 \
4820 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
4823 $as_echo "$xsi_shell" >&6; }
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
4827 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
4829 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4831 && lt_shell_append=yes
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
4833 $as_echo "$lt_shell_append" >&6; }
4836 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4846 # test EBCDIC or ASCII
4847 case `echo X|tr X '\101'` in
4848 A) # ASCII based system
4849 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4850 lt_SP2NL='tr \040 \012'
4851 lt_NL2SP='tr \015\012 \040\040'
4853 *) # EBCDIC based system
4854 lt_SP2NL='tr \100 \n'
4855 lt_NL2SP='tr \r\n \100\100'
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
4868 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
4869 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4870 $as_echo_n "(cached
) " >&6
4872 lt_cv_ld_reload_flag='-r'
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
4875 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4876 reload_flag=$lt_cv_ld_reload_flag
4877 case $reload_flag in
4879 *) reload_flag=" $reload_flag" ;;
4881 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4884 if test "$GCC" = yes; then
4885 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4887 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4900 if test -n "$ac_tool_prefix"; then
4901 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4902 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4904 $as_echo_n "checking
for $ac_word...
" >&6; }
4905 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4906 $as_echo_n "(cached
) " >&6
4908 if test -n "$OBJDUMP"; then
4909 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir=.
4916 for ac_exec_ext in '' $ac_executable_extensions; do
4917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4918 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4928 OBJDUMP=$ac_cv_prog_OBJDUMP
4929 if test -n "$OBJDUMP"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
4931 $as_echo "$OBJDUMP" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4934 $as_echo "no
" >&6; }
4939 if test -z "$ac_cv_prog_OBJDUMP"; then
4940 ac_ct_OBJDUMP=$OBJDUMP
4941 # Extract the first word of "objdump
", so it can be a program name with args.
4942 set dummy objdump; ac_word=$2
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
4944 $as_echo_n "checking
for $ac_word...
" >&6; }
4945 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4946 $as_echo_n "(cached
) " >&6
4948 if test -n "$ac_ct_OBJDUMP"; then
4949 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir=.
4956 for ac_exec_ext in '' $ac_executable_extensions; do
4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4958 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
4968 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4969 if test -n "$ac_ct_OBJDUMP"; then
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
4971 $as_echo "$ac_ct_OBJDUMP" >&6; }
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4974 $as_echo "no
" >&6; }
4977 if test "x
$ac_ct_OBJDUMP" = x; then
4980 case $cross_compiling:$ac_tool_warned in
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
4983 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
4984 ac_tool_warned=yes ;;
4986 OBJDUMP=$ac_ct_OBJDUMP
4989 OBJDUMP="$ac_cv_prog_OBJDUMP"
4992 test -z "$OBJDUMP" && OBJDUMP=objdump
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5003 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5004 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5005 $as_echo_n "(cached
) " >&6
5007 lt_cv_file_magic_cmd='$MAGIC_CMD'
5008 lt_cv_file_magic_test_file=
5009 lt_cv_deplibs_check_method='unknown'
5010 # Need to set the preceding variable on all platforms that support
5011 # interlibrary dependencies.
5012 # 'none' -- dependencies not supported.
5013 # `unknown' -- same as none, but documents that we really don't know.
5014 # 'pass_all' -- all dependencies passed with no checks.
5015 # 'test_compile' -- check by making test program.
5016 # 'file_magic [[regex]]' -- check by looking for files in library path
5017 # which responds to the $file_magic_cmd with a given extended regex.
5018 # If you have `file' or equivalent on your system and you're not sure
5019 # whether `pass_all' will *always* work, you probably want this one.
5023 lt_cv_deplibs_check_method=pass_all
5027 lt_cv_deplibs_check_method=pass_all
5031 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5032 lt_cv_file_magic_cmd='/usr/bin/file -L'
5033 lt_cv_file_magic_test_file=/shlib/libc.so
5037 # func_win32_libid is a shell function defined in ltmain.sh
5038 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5039 lt_cv_file_magic_cmd='func_win32_libid'
5043 # Base MSYS/MinGW do not provide the 'file' command needed by
5044 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5045 # unless we find 'file', for example because we are cross-compiling.
5046 if ( file / ) >/dev/null 2>&1; then
5047 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5048 lt_cv_file_magic_cmd='func_win32_libid'
5050 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5051 lt_cv_file_magic_cmd='$OBJDUMP -f'
5056 # use the weaker test based on 'objdump'. See mingw*.
5057 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5058 lt_cv_file_magic_cmd='$OBJDUMP -f'
5061 darwin* | rhapsody*)
5062 lt_cv_deplibs_check_method=pass_all
5065 freebsd* | dragonfly*)
5066 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5069 # Not sure whether the presence of OpenBSD here was a mistake.
5070 # Let's accept both of them until this is cleared up.
5071 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5072 lt_cv_file_magic_cmd=/usr/bin/file
5073 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5077 lt_cv_deplibs_check_method=pass_all
5082 lt_cv_deplibs_check_method=pass_all
5085 hpux10.20* | hpux11*)
5086 lt_cv_file_magic_cmd=/usr/bin/file
5089 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5090 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5093 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5094 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5097 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5098 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5104 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5105 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5108 irix5* | irix6* | nonstopux*)
5110 *-32|*"-32 ") libmagic=32-bit;;
5111 *-n32|*"-n32 ") libmagic=N32;;
5112 *-64|*"-64 ") libmagic=64-bit;;
5113 *) libmagic=never-match;;
5115 lt_cv_deplibs_check_method=pass_all
5118 # This must be Linux ELF.
5119 linux* | k*bsd*-gnu)
5120 lt_cv_deplibs_check_method=pass_all
5124 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5125 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5127 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5132 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5133 lt_cv_file_magic_cmd=/usr/bin/file
5134 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5138 lt_cv_deplibs_check_method=pass_all
5142 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
5143 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5145 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5149 osf3* | osf4* | osf5*)
5150 lt_cv_deplibs_check_method=pass_all
5154 lt_cv_deplibs_check_method=pass_all
5158 lt_cv_deplibs_check_method=pass_all
5161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5162 lt_cv_deplibs_check_method=pass_all
5166 case $host_vendor in
5168 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]'
5169 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5172 lt_cv_deplibs_check_method=pass_all
5175 lt_cv_file_magic_cmd='/bin/file'
5176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5179 lt_cv_file_magic_cmd='/bin/file'
5180 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
5181 lt_cv_file_magic_test_file=/lib/libc.so
5184 lt_cv_deplibs_check_method=pass_all
5187 lt_cv_deplibs_check_method=pass_all
5193 lt_cv_deplibs_check_method=pass_all
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
5199 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5200 file_magic_cmd=$lt_cv_file_magic_cmd
5201 deplibs_check_method=$lt_cv_deplibs_check_method
5202 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5215 if test -n "$ac_tool_prefix"; then
5216 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5217 set dummy ${ac_tool_prefix}ar; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5219 $as_echo_n "checking
for $ac_word...
" >&6; }
5220 if test "${ac_cv_prog_AR+set}" = set; then :
5221 $as_echo_n "(cached
) " >&6
5223 if test -n "$AR"; then
5224 ac_cv_prog_AR="$AR" # Let the user override the test.
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5233 ac_cv_prog_AR="${ac_tool_prefix}ar"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5244 if test -n "$AR"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
5246 $as_echo "$AR" >&6; }
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5249 $as_echo "no
" >&6; }
5254 if test -z "$ac_cv_prog_AR"; then
5256 # Extract the first word of "ar", so it can be a program name with args.
5257 set dummy ar; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5259 $as_echo_n "checking
for $ac_word...
" >&6; }
5260 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5261 $as_echo_n "(cached
) " >&6
5263 if test -n "$ac_ct_AR"; then
5264 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_ac_ct_AR="ar"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5283 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5284 if test -n "$ac_ct_AR"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
5286 $as_echo "$ac_ct_AR" >&6; }
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5289 $as_echo "no
" >&6; }
5292 if test "x
$ac_ct_AR" = x; then
5295 case $cross_compiling:$ac_tool_warned in
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5298 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5299 ac_tool_warned=yes ;;
5307 test -z "$AR" && AR=ar
5308 test -z "$AR_FLAGS" && AR_FLAGS=cru
5320 if test -n "$ac_tool_prefix"; then
5321 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
5322 set dummy ${ac_tool_prefix}strip; ac_word=$2
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5324 $as_echo_n "checking
for $ac_word...
" >&6; }
5325 if test "${ac_cv_prog_STRIP+set}" = set; then :
5326 $as_echo_n "(cached
) " >&6
5328 if test -n "$STRIP"; then
5329 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 test -z "$as_dir" && as_dir=.
5336 for ac_exec_ext in '' $ac_executable_extensions; do
5337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5338 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
5339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5348 STRIP=$ac_cv_prog_STRIP
5349 if test -n "$STRIP"; then
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
5351 $as_echo "$STRIP" >&6; }
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5354 $as_echo "no
" >&6; }
5359 if test -z "$ac_cv_prog_STRIP"; then
5361 # Extract the first word of "strip
", so it can be a program name with args.
5362 set dummy strip; ac_word=$2
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5364 $as_echo_n "checking
for $ac_word...
" >&6; }
5365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5366 $as_echo_n "(cached
) " >&6
5368 if test -n "$ac_ct_STRIP"; then
5369 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir=.
5376 for ac_exec_ext in '' $ac_executable_extensions; do
5377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5378 ac_cv_prog_ac_ct_STRIP="strip
"
5379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5388 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5389 if test -n "$ac_ct_STRIP"; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
5391 $as_echo "$ac_ct_STRIP" >&6; }
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5394 $as_echo "no
" >&6; }
5397 if test "x
$ac_ct_STRIP" = x; then
5400 case $cross_compiling:$ac_tool_warned in
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5403 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5404 ac_tool_warned=yes ;;
5409 STRIP="$ac_cv_prog_STRIP"
5412 test -z "$STRIP" && STRIP=:
5419 if test -n "$ac_tool_prefix"; then
5420 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5423 $as_echo_n "checking
for $ac_word...
" >&6; }
5424 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5425 $as_echo_n "(cached
) " >&6
5427 if test -n "$RANLIB"; then
5428 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 test -z "$as_dir" && as_dir=.
5435 for ac_exec_ext in '' $ac_executable_extensions; do
5436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5437 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5447 RANLIB=$ac_cv_prog_RANLIB
5448 if test -n "$RANLIB"; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
5450 $as_echo "$RANLIB" >&6; }
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5453 $as_echo "no
" >&6; }
5458 if test -z "$ac_cv_prog_RANLIB"; then
5459 ac_ct_RANLIB=$RANLIB
5460 # Extract the first word of "ranlib
", so it can be a program name with args.
5461 set dummy ranlib; ac_word=$2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5463 $as_echo_n "checking
for $ac_word...
" >&6; }
5464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5465 $as_echo_n "(cached
) " >&6
5467 if test -n "$ac_ct_RANLIB"; then
5468 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5474 test -z "$as_dir" && as_dir=.
5475 for ac_exec_ext in '' $ac_executable_extensions; do
5476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5477 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5488 if test -n "$ac_ct_RANLIB"; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
5490 $as_echo "$ac_ct_RANLIB" >&6; }
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5493 $as_echo "no
" >&6; }
5496 if test "x
$ac_ct_RANLIB" = x; then
5499 case $cross_compiling:$ac_tool_warned in
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5502 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5503 ac_tool_warned=yes ;;
5505 RANLIB=$ac_ct_RANLIB
5508 RANLIB="$ac_cv_prog_RANLIB"
5511 test -z "$RANLIB" && RANLIB=:
5518 # Determine commands to create old-style static archives.
5519 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5520 old_postinstall_cmds='chmod 644 $oldlib'
5521 old_postuninstall_cmds=
5523 if test -n "$RANLIB"; then
5526 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5529 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5532 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5568 # If no C compiler was specified, use CC.
5571 # If no C compiler flags were specified, use CFLAGS.
5572 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5574 # Allow CC to be a program name with arguments.
5578 # Check for command to grab the raw symbol name followed by C symbol from nm.
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
5580 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
5581 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5582 $as_echo_n "(cached
) " >&6
5585 # These are sane defaults that work on at least a few old systems.
5586 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5588 # Character class describing NM global symbol codes.
5589 symcode='[BCDEGRST]'
5591 # Regexp to match symbols that can be accessed directly from C.
5592 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5594 # Define system-specific variables.
5599 cygwin* | mingw* | pw32* | cegcc*)
5600 symcode='[ABCDGISTW]'
5603 if test "$host_cpu" = ia64; then
5604 symcode='[ABCDEGRST]'
5608 symcode='[BCDEGRST]'
5611 symcode='[BCDEGQRST]'
5622 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5630 # If we're using GNU nm, then use its standard symbol codes.
5631 case `$NM -V 2>&1` in
5632 *GNU* | *'with BFD'*)
5633 symcode='[ABCDGIRSTW]' ;;
5636 # Transform an extracted symbol line into a proper C declaration.
5637 # Some systems (esp. on ia64) link data and code symbols differently,
5638 # so use this general approach.
5639 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5641 # Transform an extracted symbol line into symbol name and symbol address
5642 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5643 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'"
5645 # Handle CRLF in mingw tool chain
5649 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5653 # Try without a prefix underscore, then with it.
5654 for ac_symprfx in "" "_
"; do
5656 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5657 symxfrm="\\1 $ac_symprfx\\2 \\2"
5659 # Write the raw and C identifiers.
5660 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5661 # Fake it for dumpbin and say T for any non-static function
5662 # and D for any global variable.
5663 # Also find C++ and __fastcall symbols from MSVC++,
5664 # which start with @ or ?.
5665 lt_cv_sys_global_symbol_pipe="$AWK '"\
5666 " {last_section=section; section=\$ 3};"\
5667 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5668 " \$ 0!~/External *\|/{next};"\
5669 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5670 " {if(hide[section]) next};"\
5671 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5672 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5673 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5674 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5675 " ' prfx
=^
$ac_symprfx"
5677 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5680 # Check to see that the pipe works correctly.
5684 cat > conftest.$ac_ext <<_LT_EOF
5689 void nm_test_func(void);
5690 void nm_test_func(void){}
5694 int main(){nm_test_var='a';nm_test_func();return(0);}
5697 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5698 (eval $ac_compile) 2>&5
5700 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5701 test $ac_status = 0; }; then
5702 # Now try to grab the symbols.
5704 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
5705 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5707 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5708 test $ac_status = 0; } && test -s "$nlist"; then
5709 # Try sorting and uniquifying the output.
5710 if sort "$nlist" | uniq > "$nlist"T; then
5711 mv -f "$nlist"T "$nlist"
5716 # Make sure that we snagged all the symbols we need.
5717 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5718 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5719 cat <<_LT_EOF > conftest.$ac_ext
5725 # Now generate the symbol file.
5726 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5728 cat <<_LT_EOF >> conftest.$ac_ext
5730 /* The mapping between symbol names and symbols. */
5735 lt__PROGRAM__LTX_preloaded_symbols[] =
5737 { "@PROGRAM@
", (void *) 0 },
5739 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5740 cat <<\_LT_EOF >> conftest.$ac_ext
5744 /* This works around a problem in FreeBSD linker */
5745 #ifdef FREEBSD_WORKAROUND
5746 static const void *lt_preloaded_setup() {
5747 return lt__PROGRAM__LTX_preloaded_symbols;
5755 # Now try linking the two files.
5756 mv conftest.$ac_objext conftstm.$ac_objext
5757 lt_save_LIBS="$LIBS"
5758 lt_save_CFLAGS="$CFLAGS"
5759 LIBS="conftstm.
$ac_objext"
5760 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5761 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5762 (eval $ac_link) 2>&5
5764 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5765 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5768 LIBS="$lt_save_LIBS"
5769 CFLAGS="$lt_save_CFLAGS"
5771 echo "cannot
find nm_test_func
in $nlist" >&5
5774 echo "cannot
find nm_test_var
in $nlist" >&5
5777 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5780 echo "$progname: failed program was
:" >&5
5781 cat conftest.$ac_ext >&5
5783 rm -rf conftest* conftst*
5785 # Do not use the global_symbol_pipe unless it works.
5786 if test "$pipe_works" = yes; then
5789 lt_cv_sys_global_symbol_pipe=
5795 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5796 lt_cv_sys_global_symbol_to_cdecl=
5798 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
5800 $as_echo "failed
" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
5803 $as_echo "ok
" >&6; }
5827 # Check whether --enable-libtool-lock was given.
5828 if test "${enable_libtool_lock+set}" = set; then :
5829 enableval=$enable_libtool_lock;
5832 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5834 # Some flags need to be propagated to the compiler or linker for good
5838 # Find out which ABI we are using.
5839 echo 'int i;' > conftest.$ac_ext
5840 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5841 (eval $ac_compile) 2>&5
5843 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5844 test $ac_status = 0; }; then
5845 case `/usr/bin/file conftest.$ac_objext` in
5857 # Find out which ABI we are using.
5858 echo '#line 5858 "configure
"' > conftest.$ac_ext
5859 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5860 (eval $ac_compile) 2>&5
5862 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5863 test $ac_status = 0; }; then
5864 if test "$lt_cv_prog_gnu_ld" = yes; then
5865 case `/usr/bin/file conftest.$ac_objext` in
5867 LD="${LD-ld} -melf32bsmip"
5870 LD="${LD-ld} -melf32bmipn32"
5873 LD="${LD-ld} -melf64bmip"
5877 case `/usr/bin/file conftest.$ac_objext` in
5893 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5894 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5895 # Find out which ABI we are using.
5896 echo 'int i;' > conftest.$ac_ext
5897 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5898 (eval $ac_compile) 2>&5
5900 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
5901 test $ac_status = 0; }; then
5902 case `/usr/bin/file conftest.o` in
5905 x86_64-*kfreebsd*-gnu)
5906 LD="${LD-ld} -m elf_i386_fbsd
"
5909 LD="${LD-ld} -m elf_i386
"
5911 ppc64-*linux*|powerpc64-*linux*)
5912 LD="${LD-ld} -m elf32ppclinux
"
5915 LD="${LD-ld} -m elf_s390
"
5918 LD="${LD-ld} -m elf32_sparc
"
5924 x86_64-*kfreebsd*-gnu)
5925 LD="${LD-ld} -m elf_x86_64_fbsd
"
5928 LD="${LD-ld} -m elf_x86_64
"
5930 ppc*-*linux*|powerpc*-*linux*)
5931 LD="${LD-ld} -m elf64ppc
"
5933 s390*-*linux*|s390*-*tpf*)
5934 LD="${LD-ld} -m elf64_s390
"
5937 LD="${LD-ld} -m elf64_sparc
"
5947 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5948 SAVE_CFLAGS="$CFLAGS"
5949 CFLAGS="$CFLAGS -belf"
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
5951 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
5952 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5953 $as_echo_n "(cached
) " >&6
5956 ac_cpp='$CPP $CPPFLAGS'
5957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5972 if ac_fn_c_try_link "$LINENO"; then :
5973 lt_cv_cc_needs_belf=yes
5975 lt_cv_cc_needs_belf=no
5977 rm -f core conftest.err conftest.$ac_objext \
5978 conftest$ac_exeext conftest.$ac_ext
5980 ac_cpp='$CPP $CPPFLAGS'
5981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
5987 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5988 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5989 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5990 CFLAGS="$SAVE_CFLAGS"
5994 # Find out which ABI we are using.
5995 echo 'int i;' > conftest.$ac_ext
5996 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5997 (eval $ac_compile) 2>&5
5999 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6000 test $ac_status = 0; }; then
6001 case `/usr/bin/file conftest.o` in
6003 case $lt_cv_prog_gnu_ld in
6004 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6006 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6018 need_locks="$enable_libtool_lock"
6022 rhapsody* | darwin*)
6023 if test -n "$ac_tool_prefix"; then
6024 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6025 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6027 $as_echo_n "checking
for $ac_word...
" >&6; }
6028 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6029 $as_echo_n "(cached
) " >&6
6031 if test -n "$DSYMUTIL"; then
6032 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6041 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6051 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6052 if test -n "$DSYMUTIL"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6054 $as_echo "$DSYMUTIL" >&6; }
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6057 $as_echo "no
" >&6; }
6062 if test -z "$ac_cv_prog_DSYMUTIL"; then
6063 ac_ct_DSYMUTIL=$DSYMUTIL
6064 # Extract the first word of "dsymutil
", so it can be a program name with args.
6065 set dummy dsymutil; ac_word=$2
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6067 $as_echo_n "checking
for $ac_word...
" >&6; }
6068 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6069 $as_echo_n "(cached
) " >&6
6071 if test -n "$ac_ct_DSYMUTIL"; then
6072 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 test -z "$as_dir" && as_dir=.
6079 for ac_exec_ext in '' $ac_executable_extensions; do
6080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6081 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
6082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6091 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6092 if test -n "$ac_ct_DSYMUTIL"; then
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
6094 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6097 $as_echo "no
" >&6; }
6100 if test "x
$ac_ct_DSYMUTIL" = x; then
6103 case $cross_compiling:$ac_tool_warned in
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6106 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6107 ac_tool_warned=yes ;;
6109 DSYMUTIL=$ac_ct_DSYMUTIL
6112 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6115 if test -n "$ac_tool_prefix"; then
6116 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
6117 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6119 $as_echo_n "checking
for $ac_word...
" >&6; }
6120 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6121 $as_echo_n "(cached
) " >&6
6123 if test -n "$NMEDIT"; then
6124 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 test -z "$as_dir" && as_dir=.
6131 for ac_exec_ext in '' $ac_executable_extensions; do
6132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6133 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
6134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6143 NMEDIT=$ac_cv_prog_NMEDIT
6144 if test -n "$NMEDIT"; then
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
6146 $as_echo "$NMEDIT" >&6; }
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6149 $as_echo "no
" >&6; }
6154 if test -z "$ac_cv_prog_NMEDIT"; then
6155 ac_ct_NMEDIT=$NMEDIT
6156 # Extract the first word of "nmedit
", so it can be a program name with args.
6157 set dummy nmedit; ac_word=$2
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6159 $as_echo_n "checking
for $ac_word...
" >&6; }
6160 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6161 $as_echo_n "(cached
) " >&6
6163 if test -n "$ac_ct_NMEDIT"; then
6164 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6170 test -z "$as_dir" && as_dir=.
6171 for ac_exec_ext in '' $ac_executable_extensions; do
6172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6173 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
6174 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6183 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6184 if test -n "$ac_ct_NMEDIT"; then
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
6186 $as_echo "$ac_ct_NMEDIT" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6189 $as_echo "no
" >&6; }
6192 if test "x
$ac_ct_NMEDIT" = x; then
6195 case $cross_compiling:$ac_tool_warned in
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6198 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6199 ac_tool_warned=yes ;;
6201 NMEDIT=$ac_ct_NMEDIT
6204 NMEDIT="$ac_cv_prog_NMEDIT"
6207 if test -n "$ac_tool_prefix"; then
6208 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
6209 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6211 $as_echo_n "checking
for $ac_word...
" >&6; }
6212 if test "${ac_cv_prog_LIPO+set}" = set; then :
6213 $as_echo_n "(cached
) " >&6
6215 if test -n "$LIPO"; then
6216 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6222 test -z "$as_dir" && as_dir=.
6223 for ac_exec_ext in '' $ac_executable_extensions; do
6224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6225 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
6226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6235 LIPO=$ac_cv_prog_LIPO
6236 if test -n "$LIPO"; then
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
6238 $as_echo "$LIPO" >&6; }
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6241 $as_echo "no
" >&6; }
6246 if test -z "$ac_cv_prog_LIPO"; then
6248 # Extract the first word of "lipo
", so it can be a program name with args.
6249 set dummy lipo; ac_word=$2
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6251 $as_echo_n "checking
for $ac_word...
" >&6; }
6252 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6253 $as_echo_n "(cached
) " >&6
6255 if test -n "$ac_ct_LIPO"; then
6256 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 ac_cv_prog_ac_ct_LIPO="lipo
"
6266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6275 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6276 if test -n "$ac_ct_LIPO"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
6278 $as_echo "$ac_ct_LIPO" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6281 $as_echo "no
" >&6; }
6284 if test "x
$ac_ct_LIPO" = x; then
6287 case $cross_compiling:$ac_tool_warned in
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6290 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6291 ac_tool_warned=yes ;;
6296 LIPO="$ac_cv_prog_LIPO"
6299 if test -n "$ac_tool_prefix"; then
6300 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
6301 set dummy ${ac_tool_prefix}otool; ac_word=$2
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6303 $as_echo_n "checking
for $ac_word...
" >&6; }
6304 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6305 $as_echo_n "(cached
) " >&6
6307 if test -n "$OTOOL"; then
6308 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6314 test -z "$as_dir" && as_dir=.
6315 for ac_exec_ext in '' $ac_executable_extensions; do
6316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6317 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
6318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6327 OTOOL=$ac_cv_prog_OTOOL
6328 if test -n "$OTOOL"; then
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
6330 $as_echo "$OTOOL" >&6; }
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6333 $as_echo "no
" >&6; }
6338 if test -z "$ac_cv_prog_OTOOL"; then
6340 # Extract the first word of "otool
", so it can be a program name with args.
6341 set dummy otool; ac_word=$2
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6343 $as_echo_n "checking
for $ac_word...
" >&6; }
6344 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6345 $as_echo_n "(cached
) " >&6
6347 if test -n "$ac_ct_OTOOL"; then
6348 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6354 test -z "$as_dir" && as_dir=.
6355 for ac_exec_ext in '' $ac_executable_extensions; do
6356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6357 ac_cv_prog_ac_ct_OTOOL="otool
"
6358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6367 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6368 if test -n "$ac_ct_OTOOL"; then
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
6370 $as_echo "$ac_ct_OTOOL" >&6; }
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6373 $as_echo "no
" >&6; }
6376 if test "x
$ac_ct_OTOOL" = x; then
6379 case $cross_compiling:$ac_tool_warned in
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6382 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6383 ac_tool_warned=yes ;;
6388 OTOOL="$ac_cv_prog_OTOOL"
6391 if test -n "$ac_tool_prefix"; then
6392 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
6393 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6395 $as_echo_n "checking
for $ac_word...
" >&6; }
6396 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6397 $as_echo_n "(cached
) " >&6
6399 if test -n "$OTOOL64"; then
6400 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6419 OTOOL64=$ac_cv_prog_OTOOL64
6420 if test -n "$OTOOL64"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
6422 $as_echo "$OTOOL64" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6425 $as_echo "no
" >&6; }
6430 if test -z "$ac_cv_prog_OTOOL64"; then
6431 ac_ct_OTOOL64=$OTOOL64
6432 # Extract the first word of "otool64
", so it can be a program name with args.
6433 set dummy otool64; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6435 $as_echo_n "checking
for $ac_word...
" >&6; }
6436 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6437 $as_echo_n "(cached
) " >&6
6439 if test -n "$ac_ct_OTOOL64"; then
6440 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6459 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6460 if test -n "$ac_ct_OTOOL64"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
6462 $as_echo "$ac_ct_OTOOL64" >&6; }
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6465 $as_echo "no
" >&6; }
6468 if test "x
$ac_ct_OTOOL64" = x; then
6471 case $cross_compiling:$ac_tool_warned in
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6474 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6475 ac_tool_warned=yes ;;
6477 OTOOL64=$ac_ct_OTOOL64
6480 OTOOL64="$ac_cv_prog_OTOOL64"
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
6510 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
6511 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6512 $as_echo_n "(cached
) " >&6
6514 lt_cv_apple_cc_single_mod=no
6515 if test -z "${LT_MULTI_MODULE}"; then
6516 # By default we will add the -single_module flag. You can override
6517 # by either setting the environment variable LT_MULTI_MODULE
6518 # non-empty at configure time, or by adding -multi_module to the
6520 rm -rf libconftest.dylib*
6521 echo "int foo
(void
){return 1;}" > conftest.c
6522 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6523 -dynamiclib -Wl,-single_module conftest.c
" >&5
6524 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6525 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6527 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6528 lt_cv_apple_cc_single_mod=yes
6530 cat conftest.err >&5
6532 rm -rf libconftest.dylib*
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
6537 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
6539 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
6540 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6541 $as_echo_n "(cached
) " >&6
6543 lt_cv_ld_exported_symbols_list=no
6544 save_LDFLAGS=$LDFLAGS
6545 echo "_main
" > conftest.sym
6546 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6548 /* end confdefs.h. */
6558 if ac_fn_c_try_link "$LINENO"; then :
6559 lt_cv_ld_exported_symbols_list=yes
6561 lt_cv_ld_exported_symbols_list=no
6563 rm -f core conftest.err conftest.$ac_objext \
6564 conftest$ac_exeext conftest.$ac_ext
6565 LDFLAGS="$save_LDFLAGS"
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
6569 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6571 rhapsody* | darwin1.[012])
6572 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6574 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6575 darwin*) # darwin 5.x on
6576 # if running on 10.5 or later, the deployment target defaults
6577 # to the OS version, if on x86, and 10.4, the deployment
6578 # target defaults to 10.4. Don't you love it?
6579 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6580 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6581 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6583 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6585 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6589 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6590 _lt_dar_single_mod='$single_module'
6592 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6593 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6595 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6597 if test "$DSYMUTIL" != ":"; then
6598 _lt_dsymutil='~$DSYMUTIL $lib || :'
6606 ac_cpp='$CPP $CPPFLAGS'
6607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
6611 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
6612 # On Suns, sometimes $CPP names a directory.
6613 if test -n "$CPP" && test -d "$CPP"; then
6616 if test -z "$CPP"; then
6617 if test "${ac_cv_prog_CPP+set}" = set; then :
6618 $as_echo_n "(cached
) " >&6
6620 # Double quotes because CPP needs to be expanded
6621 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6624 for ac_c_preproc_warn_flag in '' yes
6626 # Use a header file that comes with gcc, so configuring glibc
6627 # with a fresh cross-compiler works.
6628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6629 # <limits.h> exists even on freestanding compilers.
6630 # On the NeXT, cc -E runs the code through the compiler's parser,
6631 # not just through cpp. "Syntax error
" is here to catch this case.
6632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6633 /* end confdefs.h. */
6635 # include <limits.h>
6637 # include <assert.h>
6641 if ac_fn_c_try_cpp "$LINENO"; then :
6644 # Broken: fails on valid input.
6647 rm -f conftest.err conftest.$ac_ext
6649 # OK, works on sane cases. Now check whether nonexistent headers
6650 # can be detected and how.
6651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6653 #include <ac_nonexistent.h>
6655 if ac_fn_c_try_cpp "$LINENO"; then :
6656 # Broken: success on invalid input.
6659 # Passes both tests.
6663 rm -f conftest.err conftest.$ac_ext
6666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6667 rm -f conftest.err conftest.$ac_ext
6668 if $ac_preproc_ok; then :
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
6681 $as_echo "$CPP" >&6; }
6683 for ac_c_preproc_warn_flag in '' yes
6685 # Use a header file that comes with gcc, so configuring glibc
6686 # with a fresh cross-compiler works.
6687 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6688 # <limits.h> exists even on freestanding compilers.
6689 # On the NeXT, cc -E runs the code through the compiler's parser,
6690 # not just through cpp. "Syntax error
" is here to catch this case.
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6694 # include <limits.h>
6696 # include <assert.h>
6700 if ac_fn_c_try_cpp "$LINENO"; then :
6703 # Broken: fails on valid input.
6706 rm -f conftest.err conftest.$ac_ext
6708 # OK, works on sane cases. Now check whether nonexistent headers
6709 # can be detected and how.
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #include <ac_nonexistent.h>
6714 if ac_fn_c_try_cpp "$LINENO"; then :
6715 # Broken: success on invalid input.
6718 # Passes both tests.
6722 rm -f conftest.err conftest.$ac_ext
6725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6726 rm -f conftest.err conftest.$ac_ext
6727 if $ac_preproc_ok; then :
6730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
6731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6732 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6733 See \`config.log' for more details.
" "$LINENO" 5; }
6737 ac_cpp='$CPP $CPPFLAGS'
6738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
6744 $as_echo_n "checking
for ANSI C header files...
" >&6; }
6745 if test "${ac_cv_header_stdc+set}" = set; then :
6746 $as_echo_n "(cached
) " >&6
6748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6749 /* end confdefs.h. */
6763 if ac_fn_c_try_compile "$LINENO"; then :
6764 ac_cv_header_stdc=yes
6766 ac_cv_header_stdc=no
6768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6770 if test $ac_cv_header_stdc = yes; then
6771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h. */
6777 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6778 $EGREP "memchr
" >/dev/null 2>&1; then :
6781 ac_cv_header_stdc=no
6787 if test $ac_cv_header_stdc = yes; then
6788 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6790 /* end confdefs.h. */
6794 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
6795 $EGREP "free
" >/dev/null 2>&1; then :
6798 ac_cv_header_stdc=no
6804 if test $ac_cv_header_stdc = yes; then
6805 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6806 if test "$cross_compiling" = yes; then :
6809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6813 #if ((' ' & 0x0FF) == 0x020)
6814 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6815 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6817 # define ISLOWER(c) \
6818 (('a' <= (c) && (c) <= 'i') \
6819 || ('j' <= (c) && (c) <= 'r') \
6820 || ('s' <= (c) && (c) <= 'z'))
6821 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6824 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6829 for (i = 0; i < 256; i++)
6830 if (XOR (islower (i), ISLOWER (i))
6831 || toupper (i) != TOUPPER (i))
6836 if ac_fn_c_try_run "$LINENO"; then :
6839 ac_cv_header_stdc=no
6841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6842 conftest.$ac_objext conftest.beam conftest.$ac_ext
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
6848 $as_echo "$ac_cv_header_stdc" >&6; }
6849 if test $ac_cv_header_stdc = yes; then
6851 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6856 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6857 inttypes.h stdint.h unistd.h
6859 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6860 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6862 eval as_val
=\$
$as_ac_Header
6863 if test "x$as_val" = x
""yes; then :
6864 cat >>confdefs.h
<<_ACEOF
6865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 for ac_header
in dlfcn.h
6875 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6877 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
6878 cat >>confdefs.h
<<_ACEOF
6879 #define HAVE_DLFCN_H 1
6898 # Check whether --enable-shared was given.
6899 if test "${enable_shared+set}" = set; then :
6900 enableval
=$enable_shared; p
=${PACKAGE-default}
6902 yes) enable_shared
=yes ;;
6903 no
) enable_shared
=no
;;
6906 # Look at the argument we got. We use all the common list separators.
6907 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6908 for pkg
in $enableval; do
6910 if test "X$pkg" = "X$p"; then
6929 # Check whether --enable-static was given.
6930 if test "${enable_static+set}" = set; then :
6931 enableval
=$enable_static; p
=${PACKAGE-default}
6933 yes) enable_static
=yes ;;
6934 no
) enable_static
=no
;;
6937 # Look at the argument we got. We use all the common list separators.
6938 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6939 for pkg
in $enableval; do
6941 if test "X$pkg" = "X$p"; then
6961 # Check whether --with-pic was given.
6962 if test "${with_pic+set}" = set; then :
6963 withval
=$with_pic; pic_mode
="$withval"
6969 test -z "$pic_mode" && pic_mode
=default
6977 # Check whether --enable-fast-install was given.
6978 if test "${enable_fast_install+set}" = set; then :
6979 enableval
=$enable_fast_install; p
=${PACKAGE-default}
6981 yes) enable_fast_install
=yes ;;
6982 no
) enable_fast_install
=no
;;
6984 enable_fast_install
=no
6985 # Look at the argument we got. We use all the common list separators.
6986 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
6987 for pkg
in $enableval; do
6989 if test "X$pkg" = "X$p"; then
6990 enable_fast_install
=yes
6997 enable_fast_install
=yes
7010 # This can be used to rebuild libtool when needed
7011 LIBTOOL_DEPS
="$ltmain"
7013 # Always use our own libtool.
7014 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7040 test -z "$LN_S" && LN_S
="ln -s"
7055 if test -n "${ZSH_VERSION+set}" ; then
7056 setopt NO_GLOB_SUBST
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7060 $as_echo_n "checking for objdir... " >&6; }
7061 if test "${lt_cv_objdir+set}" = set; then :
7062 $as_echo_n "(cached) " >&6
7064 rm -f .libs
2>/dev
/null
7065 mkdir .libs
2>/dev
/null
7066 if test -d .libs
; then
7069 # MS-DOS does not allow filenames that begin with a dot.
7072 rmdir .libs
2>/dev
/null
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7075 $as_echo "$lt_cv_objdir" >&6; }
7076 objdir
=$lt_cv_objdir
7082 cat >>confdefs.h
<<_ACEOF
7083 #define LT_OBJDIR "$lt_cv_objdir/"
7104 # AIX sometimes has problems with the GCC collect2 program. For some
7105 # reason, if we set the COLLECT_NAMES environment variable, the problems
7106 # vanish in a puff of smoke.
7107 if test "X${COLLECT_NAMES+set}" != Xset
; then
7109 export COLLECT_NAMES
7114 # Sed substitution that helps us do robust quoting. It backslashifies
7115 # metacharacters that are still active within double-quoted strings.
7116 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
7118 # Same as above, but do not quote variable references.
7119 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
7121 # Sed substitution to delay expansion of an escaped shell variable in a
7122 # double_quote_subst'ed string.
7123 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7125 # Sed substitution to delay expansion of an escaped single quote.
7126 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7128 # Sed substitution to avoid accidental globbing in evaled expressions
7129 no_glob_subst
='s/\*/\\\*/g'
7133 can_build_shared
=yes
7135 # All known linkers require a `.a' archive for static linking (except MSVC,
7136 # which needs '.lib').
7139 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7142 old_CFLAGS
="$CFLAGS"
7144 # Set sane defaults for various variables
7145 test -z "$CC" && CC
=cc
7146 test -z "$LTCC" && LTCC
=$CC
7147 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7148 test -z "$LD" && LD
=ld
7149 test -z "$ac_objext" && ac_objext
=o
7151 for cc_temp
in $compiler""; do
7153 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7154 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7159 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7162 # Only perform the check for file, if the check method requires it
7163 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7164 case $deplibs_check_method in
7166 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7168 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7169 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7174 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7177 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7178 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7179 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7180 for ac_dir
in $ac_dummy; do
7182 test -z "$ac_dir" && ac_dir
=.
7183 if test -f $ac_dir/${ac_tool_prefix}file; then
7184 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7185 if test -n "$file_magic_test_file"; then
7186 case $deplibs_check_method in
7188 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7190 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7191 $EGREP "$file_magic_regex" > /dev
/null
; then
7196 *** Warning: the command libtool uses to detect shared libraries,
7197 *** $file_magic_cmd, produces output that libtool cannot recognize.
7198 *** The result is that libtool may fail to recognize shared libraries
7199 *** as such. This will affect the creation of libtool libraries that
7200 *** depend on shared libraries, but programs linked with such libtool
7201 *** libraries will work regardless of this problem. Nevertheless, you
7202 *** may want to report the problem to your system manager and/or to
7203 *** bug-libtool@gnu.org
7213 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7218 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7219 if test -n "$MAGIC_CMD"; then
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7221 $as_echo "$MAGIC_CMD" >&6; }
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224 $as_echo "no" >&6; }
7231 if test -z "$lt_cv_path_MAGIC_CMD"; then
7232 if test -n "$ac_tool_prefix"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7234 $as_echo_n "checking for file... " >&6; }
7235 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7240 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7243 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7244 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7245 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7246 for ac_dir
in $ac_dummy; do
7248 test -z "$ac_dir" && ac_dir
=.
7249 if test -f $ac_dir/file; then
7250 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7251 if test -n "$file_magic_test_file"; then
7252 case $deplibs_check_method in
7254 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7255 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7256 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7257 $EGREP "$file_magic_regex" > /dev
/null
; then
7262 *** Warning: the command libtool uses to detect shared libraries,
7263 *** $file_magic_cmd, produces output that libtool cannot recognize.
7264 *** The result is that libtool may fail to recognize shared libraries
7265 *** as such. This will affect the creation of libtool libraries that
7266 *** depend on shared libraries, but programs linked with such libtool
7267 *** libraries will work regardless of this problem. Nevertheless, you
7268 *** may want to report the problem to your system manager and/or to
7269 *** bug-libtool@gnu.org
7279 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7284 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7285 if test -n "$MAGIC_CMD"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7287 $as_echo "$MAGIC_CMD" >&6; }
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7303 # Use C for the default configuration in the libtool script
7307 ac_cpp
='$CPP $CPPFLAGS'
7308 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7309 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7310 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7313 # Source file extension for C test sources.
7316 # Object file extension for compiled C test sources.
7320 # Code to be used in simple compile tests
7321 lt_simple_compile_test_code
="int some_variable = 0;"
7323 # Code to be used in simple link tests
7324 lt_simple_link_test_code
='int main(){return(0);}'
7332 # If no C compiler was specified, use CC.
7335 # If no C compiler flags were specified, use CFLAGS.
7336 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7338 # Allow CC to be a program name with arguments.
7341 # Save the default compiler, since it gets overwritten when the other
7342 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7343 compiler_DEFAULT
=$CC
7345 # save warnings/boilerplate of simple test code
7346 ac_outfile
=conftest.
$ac_objext
7347 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7348 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7349 _lt_compiler_boilerplate
=`cat conftest.err`
7352 ac_outfile
=conftest.
$ac_objext
7353 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7354 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7355 _lt_linker_boilerplate
=`cat conftest.err`
7360 ## There is no encapsulation within the following macros, do not change
7361 ## the running order or otherwise move them around unless you know exactly
7362 ## what you are doing...
7363 if test -n "$compiler"; then
7365 lt_prog_compiler_no_builtin_flag
=
7367 if test "$GCC" = yes; then
7368 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7371 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7372 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7373 $as_echo_n "(cached) " >&6
7375 lt_cv_prog_compiler_rtti_exceptions
=no
7376 ac_outfile
=conftest.
$ac_objext
7377 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7378 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7379 # Insert the option either (1) after the last *FLAGS variable, or
7380 # (2) before a word containing "conftest.", or (3) at the end.
7381 # Note that $ac_compile itself does not contain backslashes and begins
7382 # with a dollar sign (not a hyphen), so the echo should work correctly.
7383 # The option is referenced via a variable to avoid confusing sed.
7384 lt_compile
=`echo "$ac_compile" | $SED \
7385 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7386 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7387 -e 's:$: $lt_compiler_flag:'`
7388 (eval echo "\"\$as_me:7388: $lt_compile\"" >&5)
7389 (eval "$lt_compile" 2>conftest.err
)
7391 cat conftest.err
>&5
7392 echo "$as_me:7392: \$? = $ac_status" >&5
7393 if (exit $ac_status) && test -s "$ac_outfile"; then
7394 # The compiler can only warn and ignore the option if not recognized
7395 # So say no if there are warnings other than the usual output.
7396 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7397 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7398 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7399 lt_cv_prog_compiler_rtti_exceptions
=yes
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7406 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7408 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7409 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7421 lt_prog_compiler_wl
=
7422 lt_prog_compiler_pic
=
7423 lt_prog_compiler_static
=
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7426 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7428 if test "$GCC" = yes; then
7429 lt_prog_compiler_wl
='-Wl,'
7430 lt_prog_compiler_static
='-static'
7434 # All AIX code is PIC.
7435 if test "$host_cpu" = ia64
; then
7436 # AIX 5 now supports IA64 processor
7437 lt_prog_compiler_static
='-Bstatic'
7444 # see comment about AmigaOS4 .so support
7445 lt_prog_compiler_pic
='-fPIC'
7448 # FIXME: we need at least 68020 code to build shared libraries, but
7449 # adding the `-m68020' flag to GCC prevents building anything better,
7451 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7456 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7457 # PIC is the default for these OSes.
7460 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7461 # This hack is so that the source file can tell whether it is being
7462 # built for inclusion in a dll (and should export symbols for example).
7463 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7464 # (--disable-auto-import) libraries
7465 lt_prog_compiler_pic
='-DDLL_EXPORT'
7468 darwin
* | rhapsody
*)
7469 # PIC is the default on this platform
7470 # Common symbols not allowed in MH_DYLIB files
7471 lt_prog_compiler_pic
='-fno-common'
7475 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7476 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7477 # sets the default TLS model and affects inlining.
7483 lt_prog_compiler_pic
='-fPIC'
7489 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7490 # Instead, we relocate shared libraries at runtime.
7494 # Just because we use GCC doesn't mean we suddenly get shared libraries
7495 # on systems that don't support them.
7496 lt_prog_compiler_can_build_shared
=no
7501 # QNX uses GNU C++, but need to define -shared option too, otherwise
7503 lt_prog_compiler_pic
='-fPIC -shared'
7507 if test -d /usr
/nec
; then
7508 lt_prog_compiler_pic
=-Kconform_pic
7513 lt_prog_compiler_pic
='-fPIC'
7517 # PORTME Check for flag to pass linker flags through the system compiler.
7520 lt_prog_compiler_wl
='-Wl,'
7521 if test "$host_cpu" = ia64
; then
7522 # AIX 5 now supports IA64 processor
7523 lt_prog_compiler_static
='-Bstatic'
7525 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7529 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
7530 # This hack is so that the source file can tell whether it is being
7531 # built for inclusion in a dll (and should export symbols for example).
7532 lt_prog_compiler_pic
='-DDLL_EXPORT'
7535 hpux9
* | hpux10
* | hpux11
*)
7536 lt_prog_compiler_wl
='-Wl,'
7537 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7544 lt_prog_compiler_pic
='+Z'
7547 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7548 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7551 irix5
* | irix6
* | nonstopux
*)
7552 lt_prog_compiler_wl
='-Wl,'
7553 # PIC (with -KPIC) is the default.
7554 lt_prog_compiler_static
='-non_shared'
7557 linux
* | k
*bsd
*-gnu)
7558 case $cc_basename in
7559 # old Intel for x86_64 which still supported -KPIC.
7561 lt_prog_compiler_wl
='-Wl,'
7562 lt_prog_compiler_pic
='-KPIC'
7563 lt_prog_compiler_static
='-static'
7565 # icc used to be incompatible with GCC.
7566 # ICC 10 doesn't accept -KPIC any more.
7568 lt_prog_compiler_wl
='-Wl,'
7569 lt_prog_compiler_pic
='-fPIC'
7570 lt_prog_compiler_static
='-static'
7572 # Lahey Fortran 8.1.
7574 lt_prog_compiler_wl
='-Wl,'
7575 lt_prog_compiler_pic
='--shared'
7576 lt_prog_compiler_static
='--static'
7578 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7579 # Portland Group compilers (*not* the Pentium gcc compiler,
7580 # which looks to be a dead project)
7581 lt_prog_compiler_wl
='-Wl,'
7582 lt_prog_compiler_pic
='-fpic'
7583 lt_prog_compiler_static
='-Bstatic'
7586 lt_prog_compiler_wl
='-Wl,'
7587 # All Alpha code is PIC.
7588 lt_prog_compiler_static
='-non_shared'
7591 # IBM XL C 8.0/Fortran 10.1 on PPC
7592 lt_prog_compiler_wl
='-Wl,'
7593 lt_prog_compiler_pic
='-qpic'
7594 lt_prog_compiler_static
='-qstaticlink'
7597 case `$CC -V 2>&1 | sed 5q` in
7600 lt_prog_compiler_pic
='-KPIC'
7601 lt_prog_compiler_static
='-Bstatic'
7602 lt_prog_compiler_wl
='-Wl,'
7605 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7606 lt_prog_compiler_pic
='-KPIC'
7607 lt_prog_compiler_static
='-Bstatic'
7608 lt_prog_compiler_wl
=''
7616 lt_prog_compiler_pic
='-KPIC'
7617 lt_prog_compiler_static
='-Bstatic'
7621 # QNX uses GNU C++, but need to define -shared option too, otherwise
7623 lt_prog_compiler_pic
='-fPIC -shared'
7626 osf3
* | osf4
* | osf5
*)
7627 lt_prog_compiler_wl
='-Wl,'
7628 # All OSF/1 code is PIC.
7629 lt_prog_compiler_static
='-non_shared'
7633 lt_prog_compiler_static
='-non_shared'
7637 lt_prog_compiler_pic
='-KPIC'
7638 lt_prog_compiler_static
='-Bstatic'
7639 case $cc_basename in
7641 lt_prog_compiler_wl
='-Qoption ld ';;
7643 lt_prog_compiler_wl
='-Wl,';;
7648 lt_prog_compiler_wl
='-Qoption ld '
7649 lt_prog_compiler_pic
='-PIC'
7650 lt_prog_compiler_static
='-Bstatic'
7653 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7654 lt_prog_compiler_wl
='-Wl,'
7655 lt_prog_compiler_pic
='-KPIC'
7656 lt_prog_compiler_static
='-Bstatic'
7660 if test -d /usr
/nec
;then
7661 lt_prog_compiler_pic
='-Kconform_pic'
7662 lt_prog_compiler_static
='-Bstatic'
7666 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7667 lt_prog_compiler_wl
='-Wl,'
7668 lt_prog_compiler_pic
='-KPIC'
7669 lt_prog_compiler_static
='-Bstatic'
7673 lt_prog_compiler_wl
='-Wl,'
7674 lt_prog_compiler_can_build_shared
=no
7678 lt_prog_compiler_pic
='-pic'
7679 lt_prog_compiler_static
='-Bstatic'
7683 lt_prog_compiler_can_build_shared
=no
7689 # For platforms which do not support PIC, -DPIC is meaningless:
7691 lt_prog_compiler_pic
=
7694 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7698 $as_echo "$lt_prog_compiler_pic" >&6; }
7706 # Check to make sure the PIC flag actually works.
7708 if test -n "$lt_prog_compiler_pic"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7710 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7711 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7714 lt_cv_prog_compiler_pic_works
=no
7715 ac_outfile
=conftest.
$ac_objext
7716 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7717 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7718 # Insert the option either (1) after the last *FLAGS variable, or
7719 # (2) before a word containing "conftest.", or (3) at the end.
7720 # Note that $ac_compile itself does not contain backslashes and begins
7721 # with a dollar sign (not a hyphen), so the echo should work correctly.
7722 # The option is referenced via a variable to avoid confusing sed.
7723 lt_compile
=`echo "$ac_compile" | $SED \
7724 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7725 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7726 -e 's:$: $lt_compiler_flag:'`
7727 (eval echo "\"\$as_me:7727: $lt_compile\"" >&5)
7728 (eval "$lt_compile" 2>conftest.err
)
7730 cat conftest.err
>&5
7731 echo "$as_me:7731: \$? = $ac_status" >&5
7732 if (exit $ac_status) && test -s "$ac_outfile"; then
7733 # The compiler can only warn and ignore the option if not recognized
7734 # So say no if there are warnings other than the usual output.
7735 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7736 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7737 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7738 lt_cv_prog_compiler_pic_works
=yes
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7745 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7747 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7748 case $lt_prog_compiler_pic in
7750 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7753 lt_prog_compiler_pic
=
7754 lt_prog_compiler_can_build_shared
=no
7765 # Check to make sure the static flag actually works.
7767 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7769 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7770 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7771 $as_echo_n "(cached) " >&6
7773 lt_cv_prog_compiler_static_works
=no
7774 save_LDFLAGS
="$LDFLAGS"
7775 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7776 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7777 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7778 # The linker can only warn and ignore the option if not recognized
7779 # So say no if there are warnings
7780 if test -s conftest.err
; then
7781 # Append any errors to the config.log.
7782 cat conftest.err
1>&5
7783 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7784 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7785 if diff conftest.exp conftest.er2
>/dev
/null
; then
7786 lt_cv_prog_compiler_static_works
=yes
7789 lt_cv_prog_compiler_static_works
=yes
7793 LDFLAGS
="$save_LDFLAGS"
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7797 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7799 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
7802 lt_prog_compiler_static
=
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7813 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7814 $as_echo_n "(cached) " >&6
7816 lt_cv_prog_compiler_c_o
=no
7817 $RM -r conftest
2>/dev
/null
7821 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7823 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7824 # Insert the option either (1) after the last *FLAGS variable, or
7825 # (2) before a word containing "conftest.", or (3) at the end.
7826 # Note that $ac_compile itself does not contain backslashes and begins
7827 # with a dollar sign (not a hyphen), so the echo should work correctly.
7828 lt_compile
=`echo "$ac_compile" | $SED \
7829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7831 -e 's:$: $lt_compiler_flag:'`
7832 (eval echo "\"\$as_me:7832: $lt_compile\"" >&5)
7833 (eval "$lt_compile" 2>out
/conftest.err
)
7835 cat out
/conftest.err
>&5
7836 echo "$as_me:7836: \$? = $ac_status" >&5
7837 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7839 # The compiler can only warn and ignore the option if not recognized
7840 # So say no if there are warnings
7841 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7842 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7843 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7844 lt_cv_prog_compiler_c_o
=yes
7849 # SGI C++ compiler will create directory out/ii_files/ for
7850 # template instantiation
7851 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7852 $RM out
/* && rmdir out
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7867 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7868 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7869 $as_echo_n "(cached) " >&6
7871 lt_cv_prog_compiler_c_o
=no
7872 $RM -r conftest
2>/dev
/null
7876 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7878 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7879 # Insert the option either (1) after the last *FLAGS variable, or
7880 # (2) before a word containing "conftest.", or (3) at the end.
7881 # Note that $ac_compile itself does not contain backslashes and begins
7882 # with a dollar sign (not a hyphen), so the echo should work correctly.
7883 lt_compile
=`echo "$ac_compile" | $SED \
7884 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7885 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7886 -e 's:$: $lt_compiler_flag:'`
7887 (eval echo "\"\$as_me:7887: $lt_compile\"" >&5)
7888 (eval "$lt_compile" 2>out
/conftest.err
)
7890 cat out
/conftest.err
>&5
7891 echo "$as_me:7891: \$? = $ac_status" >&5
7892 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7894 # The compiler can only warn and ignore the option if not recognized
7895 # So say no if there are warnings
7896 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7897 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7898 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7899 lt_cv_prog_compiler_c_o
=yes
7904 # SGI C++ compiler will create directory out/ii_files/ for
7905 # template instantiation
7906 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
7907 $RM out
/* && rmdir out
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7914 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7919 hard_links
="nottested"
7920 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7921 # do not overwrite the value of need_locks provided by the user
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7923 $as_echo_n "checking if we can lock with hard links... " >&6; }
7926 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7928 ln conftest.a conftest.b
2>&5 || hard_links
=no
7929 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7931 $as_echo "$hard_links" >&6; }
7932 if test "$hard_links" = no
; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7934 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7947 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7950 allow_undefined_flag
=
7951 always_export_symbols
=no
7953 archive_expsym_cmds
=
7954 compiler_needs_object
=no
7955 enable_shared_with_static_runtimes
=no
7956 export_dynamic_flag_spec
=
7957 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7958 hardcode_automatic
=no
7960 hardcode_direct_absolute
=no
7961 hardcode_libdir_flag_spec
=
7962 hardcode_libdir_flag_spec_ld
=
7963 hardcode_libdir_separator
=
7965 hardcode_shlibpath_var
=unsupported
7967 link_all_deplibs
=unknown
7970 old_archive_from_new_cmds
=
7971 old_archive_from_expsyms_cmds
=
7972 thread_safe_flag_spec
=
7973 whole_archive_flag_spec
=
7974 # include_expsyms should be a list of space-separated symbols to be *always*
7975 # included in the symbol list
7977 # exclude_expsyms can be an extended regexp of symbols to exclude
7978 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7979 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7980 # as well as any symbol that contains `d'.
7981 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7982 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7983 # platforms (ab)use it in PIC code, but their linkers get confused if
7984 # the symbol is explicitly referenced. Since portable code cannot
7985 # rely on this symbol name, it's probably fine to never include it in
7986 # preloaded symbol tables.
7987 # Exclude shared library initialization/finalization symbols.
7988 extract_expsyms_cmds
=
7991 cygwin
* | mingw
* | pw32
* | cegcc
*)
7992 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7993 # When not using gcc, we currently assume that we are using
7994 # Microsoft Visual C++.
7995 if test "$GCC" != yes; then
8000 # we just hope/assume this is gcc and not c89 (= MSVC++)
8009 if test "$with_gnu_ld" = yes; then
8010 # If archive_cmds runs LD, not CC, wlarc should be empty
8013 # Set some defaults for GNU ld with shared library support. These
8014 # are reset later if shared libraries are not supported. Putting them
8015 # here allows them to be overridden if necessary.
8016 runpath_var
=LD_RUN_PATH
8017 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8018 export_dynamic_flag_spec
='${wl}--export-dynamic'
8019 # ancient GNU ld didn't support --whole-archive et. al.
8020 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8021 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8023 whole_archive_flag_spec
=
8025 supports_anon_versioning
=no
8026 case `$LD -v 2>&1` in
8027 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8028 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8029 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8030 *\
2.11.
*) ;; # other 2.11 versions
8031 *) supports_anon_versioning
=yes ;;
8034 # See if GNU ld supports shared libraries.
8037 # On AIX/PPC, the GNU linker is very broken
8038 if test "$host_cpu" != ia64
; then
8042 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8043 *** to be unable to reliably create shared libraries on AIX.
8044 *** Therefore, libtool is disabling shared libraries support. If you
8045 *** really care for shared libraries, you may want to modify your PATH
8046 *** so that a non-GNU linker is found, and then restart.
8055 # see comment about AmigaOS4 .so support
8056 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8057 archive_expsym_cmds
=''
8060 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)'
8061 hardcode_libdir_flag_spec
='-L$libdir'
8062 hardcode_minus_L
=yes
8068 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8069 allow_undefined_flag
=unsupported
8070 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8071 # support --undefined. This deserves some investigation. FIXME
8072 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8078 cygwin
* | mingw
* | pw32
* | cegcc
*)
8079 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8080 # as there is no search path for DLLs.
8081 hardcode_libdir_flag_spec
='-L$libdir'
8082 allow_undefined_flag
=unsupported
8083 always_export_symbols
=no
8084 enable_shared_with_static_runtimes
=yes
8085 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8087 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8088 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8089 # If the export-symbols file already is a .def file (1st line
8090 # is EXPORTS), use it as is; otherwise, prepend...
8091 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8092 cp $export_symbols $output_objdir/$soname.def;
8094 echo EXPORTS > $output_objdir/$soname.def;
8095 cat $export_symbols >> $output_objdir/$soname.def;
8097 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8105 hardcode_shlibpath_var
=no
8106 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8107 export_dynamic_flag_spec
='${wl}-E'
8108 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8109 # Instead, shared libraries are loaded at an image base (0x10000000 by
8110 # default) and relocated if they conflict, which is a slow very memory
8111 # consuming and fragmenting process. To avoid this, we pick a random,
8112 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8113 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8114 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8115 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'
8118 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
8120 if test "$host_os" = linux-dietlibc
; then
8121 case $cc_basename in
8122 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8125 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8126 && test "$tmp_diet" = no
8129 tmp_sharedflag
='-shared'
8130 case $cc_basename,$host_cpu in
8131 pgcc
*) # Portland Group C compiler
8132 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8133 tmp_addflag
=' $pic_flag'
8135 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8136 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8137 tmp_addflag
=' $pic_flag -Mnomain' ;;
8138 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8139 tmp_addflag
=' -i_dynamic' ;;
8140 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8141 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8142 ifc
* | ifort
*) # Intel Fortran compiler
8143 tmp_addflag
=' -nofor_main' ;;
8144 lf95
*) # Lahey Fortran 8.1
8145 whole_archive_flag_spec
=
8146 tmp_sharedflag
='--shared' ;;
8147 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8148 tmp_sharedflag
='-qmkshrobj'
8151 case `$CC -V 2>&1 | sed 5q` in
8152 *Sun\ C
*) # Sun C 5.9
8153 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8154 compiler_needs_object
=yes
8155 tmp_sharedflag
='-G' ;;
8156 *Sun\ F
*) # Sun Fortran 8.3
8157 tmp_sharedflag
='-G' ;;
8159 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8161 if test "x$supports_anon_versioning" = xyes
; then
8162 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8163 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8164 echo "local: *; };" >> $output_objdir/$libname.ver~
8165 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8168 case $cc_basename in
8170 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8171 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8172 hardcode_libdir_flag_spec
=
8173 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8174 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8175 if test "x$supports_anon_versioning" = xyes
; then
8176 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8177 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8178 echo "local: *; };" >> $output_objdir/$libname.ver~
8179 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8189 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8190 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8193 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8194 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8199 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8203 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8204 *** create shared libraries on Solaris systems. Therefore, libtool
8205 *** is disabling shared libraries support. We urge you to upgrade GNU
8206 *** binutils to release 2.9.1 or newer. Another option is to modify
8207 *** your PATH or compiler configuration so that the native linker is
8208 *** used, and then restart.
8211 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8212 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8213 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8219 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8220 case `$LD -v 2>&1` in
8221 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8225 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8226 *** reliably create shared libraries on SCO systems. Therefore, libtool
8227 *** is disabling shared libraries support. We urge you to upgrade GNU
8228 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8229 *** your PATH or compiler configuration so that the native linker is
8230 *** used, and then restart.
8235 # For security reasons, it is highly recommended that you always
8236 # use absolute paths for naming shared libraries, and exclude the
8237 # DT_RUNPATH tag from executables and libraries. But doing so
8238 # requires that you compile everything twice, which is a pain.
8239 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8240 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8242 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8251 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8254 hardcode_shlibpath_var
=no
8258 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8259 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8260 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8267 if test "$ld_shlibs" = no
; then
8269 hardcode_libdir_flag_spec
=
8270 export_dynamic_flag_spec
=
8271 whole_archive_flag_spec
=
8274 # PORTME fill in a description of your system's linker (not GNU ld)
8277 allow_undefined_flag
=unsupported
8278 always_export_symbols
=yes
8279 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'
8280 # Note: this linker hardcodes the directories in LIBPATH if there
8281 # are no directories specified by -L.
8282 hardcode_minus_L
=yes
8283 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8284 # Neither direct hardcoding nor static linking is supported with a
8286 hardcode_direct
=unsupported
8291 if test "$host_cpu" = ia64
; then
8292 # On IA64, the linker does run time linking by default, so we don't
8293 # have to do anything special.
8294 aix_use_runtimelinking
=no
8295 exp_sym_flag
='-Bexport'
8298 # If we're using GNU nm, then we don't want the "-C" option.
8299 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8300 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8301 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8303 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'
8305 aix_use_runtimelinking
=no
8307 # Test if we are trying to use run time linking or normal
8308 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8309 # need to do runtime linking.
8310 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8311 for ld_flag
in $LDFLAGS; do
8312 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8313 aix_use_runtimelinking
=yes
8320 exp_sym_flag
='-bexport'
8321 no_entry_flag
='-bnoentry'
8324 # When large executables or shared objects are built, AIX ld can
8325 # have problems creating the table of contents. If linking a library
8326 # or program results in "error TOC overflow" add -mminimal-toc to
8327 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8328 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8332 hardcode_direct_absolute
=yes
8333 hardcode_libdir_separator
=':'
8334 link_all_deplibs
=yes
8335 file_list_spec
='${wl}-f,'
8337 if test "$GCC" = yes; then
8338 case $host_os in aix4.
[012]|aix4.
[012].
*)
8339 # We only want to do this on AIX 4.2 and lower, the check
8340 # below for broken collect2 doesn't work under 4.3+
8341 collect2name
=`${CC} -print-prog-name=collect2`
8342 if test -f "$collect2name" &&
8343 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8345 # We have reworked collect2
8348 # We have old collect2
8349 hardcode_direct
=unsupported
8350 # It fails to find uninstalled libraries when the uninstalled
8351 # path is not listed in the libpath. Setting hardcode_minus_L
8352 # to unsupported forces relinking
8353 hardcode_minus_L
=yes
8354 hardcode_libdir_flag_spec
='-L$libdir'
8355 hardcode_libdir_separator
=
8359 shared_flag
='-shared'
8360 if test "$aix_use_runtimelinking" = yes; then
8361 shared_flag
="$shared_flag "'${wl}-G'
8366 if test "$host_cpu" = ia64
; then
8367 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8368 # chokes on -Wl,-G. The following line is correct:
8371 if test "$aix_use_runtimelinking" = yes; then
8372 shared_flag
='${wl}-G'
8374 shared_flag
='${wl}-bM:SRE'
8379 export_dynamic_flag_spec
='${wl}-bexpall'
8380 # It seems that -bexpall does not export symbols beginning with
8381 # underscore (_), so it is better to generate a list of symbols to export.
8382 always_export_symbols
=yes
8383 if test "$aix_use_runtimelinking" = yes; then
8384 # Warning - without using the other runtime loading flags (-brtl),
8385 # -berok will link without error, but may produce a broken library.
8386 allow_undefined_flag
='-berok'
8387 # Determine the default libpath from the value encoded in an
8389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8400 if ac_fn_c_try_link
"$LINENO"; then :
8402 lt_aix_libpath_sed
='
8403 /Import File Strings/,/^$/ {
8409 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8410 # Check for a 64-bit object if we didn't find anything.
8411 if test -z "$aix_libpath"; then
8412 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8415 rm -f core conftest.err conftest.
$ac_objext \
8416 conftest
$ac_exeext conftest.
$ac_ext
8417 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8419 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8420 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8422 if test "$host_cpu" = ia64
; then
8423 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8424 allow_undefined_flag
="-z nodefs"
8425 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"
8427 # Determine the default libpath from the value encoded in an
8429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8430 /* end confdefs.h. */
8440 if ac_fn_c_try_link
"$LINENO"; then :
8442 lt_aix_libpath_sed
='
8443 /Import File Strings/,/^$/ {
8449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8450 # Check for a 64-bit object if we didn't find anything.
8451 if test -z "$aix_libpath"; then
8452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8455 rm -f core conftest.err conftest.
$ac_objext \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8459 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8460 # Warning - without using the other run time loading flags,
8461 # -berok will link without error, but may produce a broken library.
8462 no_undefined_flag
=' ${wl}-bernotok'
8463 allow_undefined_flag
=' ${wl}-berok'
8464 # Exported symbols can be pulled into shared objects from archives
8465 whole_archive_flag_spec
='$convenience'
8466 archive_cmds_need_lc
=yes
8467 # This is similar to how AIX traditionally builds its shared libraries.
8468 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'
8476 # see comment about AmigaOS4 .so support
8477 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8478 archive_expsym_cmds
=''
8481 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)'
8482 hardcode_libdir_flag_spec
='-L$libdir'
8483 hardcode_minus_L
=yes
8489 export_dynamic_flag_spec
=-rdynamic
8492 cygwin
* | mingw
* | pw32
* | cegcc
*)
8493 # When not using gcc, we currently assume that we are using
8494 # Microsoft Visual C++.
8495 # hardcode_libdir_flag_spec is actually meaningless, as there is
8496 # no search path for DLLs.
8497 hardcode_libdir_flag_spec
=' '
8498 allow_undefined_flag
=unsupported
8499 # Tell ltmain to make .lib files, not .a files.
8501 # Tell ltmain to make .dll files, not .so files.
8503 # FIXME: Setting linknames here is a bad hack.
8504 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8505 # The linker will automatically build a .lib file if we build a DLL.
8506 old_archive_from_new_cmds
='true'
8507 # FIXME: Should let the user specify the lib program.
8508 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8509 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8510 enable_shared_with_static_runtimes
=yes
8513 darwin
* | rhapsody
*)
8516 archive_cmds_need_lc
=no
8518 hardcode_automatic
=yes
8519 hardcode_shlibpath_var
=unsupported
8520 whole_archive_flag_spec
=''
8521 link_all_deplibs
=yes
8522 allow_undefined_flag
="$_lt_dar_allow_undefined"
8523 case $cc_basename in
8524 ifort
*) _lt_dar_can_shared
=yes ;;
8525 *) _lt_dar_can_shared
=$GCC ;;
8527 if test "$_lt_dar_can_shared" = "yes"; then
8528 output_verbose_link_cmd
=echo
8529 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8530 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8531 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}"
8532 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}"
8541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8542 hardcode_libdir_flag_spec
='-L$libdir'
8543 hardcode_shlibpath_var
=no
8550 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8551 # support. Future versions do this automatically, but an explicit c++rt0.o
8552 # does not break anything, and helps significantly (at the cost of a little
8555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8556 hardcode_libdir_flag_spec
='-R$libdir'
8558 hardcode_shlibpath_var
=no
8561 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8565 hardcode_minus_L
=yes
8566 hardcode_shlibpath_var
=no
8569 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8570 freebsd
* | dragonfly
*)
8571 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8572 hardcode_libdir_flag_spec
='-R$libdir'
8574 hardcode_shlibpath_var
=no
8578 if test "$GCC" = yes; then
8579 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8581 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'
8583 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8584 hardcode_libdir_separator
=:
8587 # hardcode_minus_L: Not really in the search PATH,
8588 # but as the default location of the library.
8589 hardcode_minus_L
=yes
8590 export_dynamic_flag_spec
='${wl}-E'
8594 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8595 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8597 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8599 if test "$with_gnu_ld" = no
; then
8600 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8601 hardcode_libdir_flag_spec_ld
='+b $libdir'
8602 hardcode_libdir_separator
=:
8604 hardcode_direct_absolute
=yes
8605 export_dynamic_flag_spec
='${wl}-E'
8606 # hardcode_minus_L: Not really in the search PATH,
8607 # but as the default location of the library.
8608 hardcode_minus_L
=yes
8613 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8616 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8619 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8622 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8628 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8631 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8634 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8638 if test "$with_gnu_ld" = no
; then
8639 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8640 hardcode_libdir_separator
=:
8645 hardcode_shlibpath_var
=no
8649 hardcode_direct_absolute
=yes
8650 export_dynamic_flag_spec
='${wl}-E'
8652 # hardcode_minus_L: Not really in the search PATH,
8653 # but as the default location of the library.
8654 hardcode_minus_L
=yes
8660 irix5
* | irix6
* | nonstopux
*)
8661 if test "$GCC" = yes; then
8662 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8663 # Try to use the -exported_symbol ld option, if it does not
8664 # work, assume that -exports_file does not work either and
8665 # implicitly export all symbols.
8666 save_LDFLAGS
="$LDFLAGS"
8667 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8672 if ac_fn_c_try_link
"$LINENO"; then :
8673 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8676 rm -f core conftest.err conftest.
$ac_objext \
8677 conftest
$ac_exeext conftest.
$ac_ext
8678 LDFLAGS
="$save_LDFLAGS"
8680 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8681 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8683 archive_cmds_need_lc
='no'
8684 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8685 hardcode_libdir_separator
=:
8687 link_all_deplibs
=yes
8691 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8692 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8694 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8696 hardcode_libdir_flag_spec
='-R$libdir'
8698 hardcode_shlibpath_var
=no
8702 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8705 hardcode_libdir_separator
=:
8706 hardcode_shlibpath_var
=no
8713 if test -f /usr
/libexec
/ld.so
; then
8715 hardcode_shlibpath_var
=no
8716 hardcode_direct_absolute
=yes
8717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8718 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8719 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8720 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8721 export_dynamic_flag_spec
='${wl}-E'
8724 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8725 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8726 hardcode_libdir_flag_spec
='-R$libdir'
8729 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8730 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8740 hardcode_libdir_flag_spec
='-L$libdir'
8741 hardcode_minus_L
=yes
8742 allow_undefined_flag
=unsupported
8743 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'
8744 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8748 if test "$GCC" = yes; then
8749 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8750 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8752 allow_undefined_flag
=' -expect_unresolved \*'
8753 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8755 archive_cmds_need_lc
='no'
8756 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8757 hardcode_libdir_separator
=:
8760 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8761 if test "$GCC" = yes; then
8762 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8763 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8764 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8766 allow_undefined_flag
=' -expect_unresolved \*'
8767 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8768 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~
8769 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8771 # Both c and cxx compiler support -rpath directly
8772 hardcode_libdir_flag_spec
='-rpath $libdir'
8774 archive_cmds_need_lc
='no'
8775 hardcode_libdir_separator
=:
8779 no_undefined_flag
=' -z defs'
8780 if test "$GCC" = yes; then
8782 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8783 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8784 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8786 case `$CC -V 2>&1` in
8789 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8790 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8791 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8795 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8796 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8797 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8801 hardcode_libdir_flag_spec
='-R$libdir'
8802 hardcode_shlibpath_var
=no
8804 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8806 # The compiler driver will combine and reorder linker options,
8807 # but understands `-z linker_flag'. GCC discards it without `$wl',
8808 # but is careful enough not to reorder.
8809 # Supported since Solaris 2.6 (maybe 2.5.1?)
8810 if test "$GCC" = yes; then
8811 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8813 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8817 link_all_deplibs
=yes
8821 if test "x$host_vendor" = xsequent
; then
8822 # Use $CC to link under sequent, because it throws in some extra .o
8823 # files that make .init and .fini sections work.
8824 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8826 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8828 hardcode_libdir_flag_spec
='-L$libdir'
8830 hardcode_minus_L
=yes
8831 hardcode_shlibpath_var
=no
8835 case $host_vendor in
8837 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8838 hardcode_direct
=yes # is this really true???
8841 ## LD is ld it makes a PLAMLIB
8842 ## CC just makes a GrossModule.
8843 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8844 reload_cmds
='$CC -r -o $output$reload_objs'
8848 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8849 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8852 runpath_var
='LD_RUN_PATH'
8853 hardcode_shlibpath_var
=no
8857 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858 hardcode_shlibpath_var
=no
8859 export_dynamic_flag_spec
='-Bexport'
8863 if test -d /usr
/nec
; then
8864 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_shlibpath_var
=no
8866 runpath_var
=LD_RUN_PATH
8867 hardcode_runpath_var
=yes
8872 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8873 no_undefined_flag
='${wl}-z,text'
8874 archive_cmds_need_lc
=no
8875 hardcode_shlibpath_var
=no
8876 runpath_var
='LD_RUN_PATH'
8878 if test "$GCC" = yes; then
8879 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8880 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8882 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8883 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8887 sysv5
* | sco3.2v5
* | sco5v6
*)
8888 # Note: We can NOT use -z defs as we might desire, because we do not
8889 # link with -lc, and that would cause any symbols used from libc to
8890 # always be unresolved, which means just about no library would
8891 # ever link correctly. If we're not using GNU ld we use -z text
8892 # though, which does catch some bad symbols but isn't as heavy-handed
8894 no_undefined_flag
='${wl}-z,text'
8895 allow_undefined_flag
='${wl}-z,nodefs'
8896 archive_cmds_need_lc
=no
8897 hardcode_shlibpath_var
=no
8898 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8899 hardcode_libdir_separator
=':'
8900 link_all_deplibs
=yes
8901 export_dynamic_flag_spec
='${wl}-Bexport'
8902 runpath_var
='LD_RUN_PATH'
8904 if test "$GCC" = yes; then
8905 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8906 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8908 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8909 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8915 hardcode_libdir_flag_spec
='-L$libdir'
8916 hardcode_shlibpath_var
=no
8924 if test x
$host_vendor = xsni
; then
8926 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8927 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8934 $as_echo "$ld_shlibs" >&6; }
8935 test "$ld_shlibs" = no
&& can_build_shared
=no
8937 with_gnu_ld
=$with_gnu_ld
8954 # Do we need to explicitly link libc?
8956 case "x$archive_cmds_need_lc" in
8958 # Assume -lc should be added
8959 archive_cmds_need_lc
=yes
8961 if test "$enable_shared" = yes && test "$GCC" = yes; then
8962 case $archive_cmds in
8964 # FIXME: we may have to deal with multi-command sequences.
8967 # Test whether the compiler implicitly links with -lc since on some
8968 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8969 # to ld, don't add -lc before -lgcc.
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8971 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8973 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8976 (eval $ac_compile) 2>&5
8978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8979 test $ac_status = 0; } 2>conftest.err
; then
8982 libobjs
=conftest.
$ac_objext
8984 wl
=$lt_prog_compiler_wl
8985 pic_flag
=$lt_prog_compiler_pic
8991 lt_save_allow_undefined_flag
=$allow_undefined_flag
8992 allow_undefined_flag
=
8993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8994 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8997 test $ac_status = 0; }
8999 archive_cmds_need_lc
=no
9001 archive_cmds_need_lc
=yes
9003 allow_undefined_flag
=$lt_save_allow_undefined_flag
9005 cat conftest.err
1>&5
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9009 $as_echo "$archive_cmds_need_lc" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9173 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9175 if test "$GCC" = yes; then
9177 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9178 *) lt_awk_arg
="/^libraries:/" ;;
9180 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9181 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9182 # if the path contains ";" then we assume it to be the separator
9183 # otherwise default to the standard path separator (i.e. ":") - it is
9184 # assumed that no part of a normal pathname contains ";" but that should
9185 # okay in the real world where ";" in dirpaths is itself problematic.
9186 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9188 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9190 # Ok, now we have the path, separated by spaces, we can step through it
9191 # and add multilib dir if necessary.
9192 lt_tmp_lt_search_path_spec
=
9193 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9194 for lt_sys_path
in $lt_search_path_spec; do
9195 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9196 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9198 test -d "$lt_sys_path" && \
9199 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9202 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9203 BEGIN {RS=" "; FS="/|\n";} {
9206 for (lt_i = NF; lt_i > 0; lt_i--) {
9207 if ($lt_i != "" && $lt_i != ".") {
9208 if ($lt_i == "..") {
9211 if (lt_count == 0) {
9212 lt_foo="/" $lt_i lt_foo;
9219 if (lt_foo != "") { lt_freq[lt_foo]++; }
9220 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9222 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9224 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9227 libname_spec
='lib$name'
9235 shlibpath_overrides_runpath
=unknown
9237 dynamic_linker
="$host_os ld.so"
9238 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9239 need_lib_prefix
=unknown
9240 hardcode_into_libs
=no
9242 # when you set need_version to no, make sure it does not cause -set_version
9243 # flags to be left without arguments
9244 need_version
=unknown
9249 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9250 shlibpath_var
=LIBPATH
9252 # AIX 3 has no versioning support, so we append a major version to the name.
9253 soname_spec
='${libname}${release}${shared_ext}$major'
9260 hardcode_into_libs
=yes
9261 if test "$host_cpu" = ia64
; then
9262 # AIX 5 supports IA64
9263 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9264 shlibpath_var
=LD_LIBRARY_PATH
9266 # With GCC up to 2.95.x, collect2 would create an import file
9267 # for dependence libraries. The import file would start with
9268 # the line `#! .'. This would cause the generated library to
9269 # depend on `.', always an invalid library. This was fixed in
9270 # development snapshots of GCC prior to 3.0.
9272 aix4 | aix4.
[01] | aix4.
[01].
*)
9273 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9275 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9282 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9283 # soname into executable. Probably we can add versioning support to
9284 # collect2, so additional links can be useful in future.
9285 if test "$aix_use_runtimelinking" = yes; then
9286 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9287 # instead of lib<name>.a to let people know that these are not
9288 # typical AIX shared libraries.
9289 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9291 # We preserve .a as extension for shared libraries through AIX4.2
9292 # and later when we are not doing run time linking.
9293 library_names_spec
='${libname}${release}.a $libname.a'
9294 soname_spec
='${libname}${release}${shared_ext}$major'
9296 shlibpath_var
=LIBPATH
9303 # Since July 2007 AmigaOS4 officially supports .so libraries.
9304 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9305 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9308 library_names_spec
='$libname.ixlibrary $libname.a'
9309 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9310 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9316 library_names_spec
='${libname}${shared_ext}'
9317 dynamic_linker
="$host_os ld.so"
9318 shlibpath_var
=LIBRARY_PATH
9324 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9325 soname_spec
='${libname}${release}${shared_ext}$major'
9326 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9327 shlibpath_var
=LD_LIBRARY_PATH
9328 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9329 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9330 # the default ld.so.conf also contains /usr/contrib/lib and
9331 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9332 # libtool to hard-code these into programs
9335 cygwin
* | mingw
* | pw32
* | cegcc
*)
9336 version_type
=windows
9341 case $GCC,$host_os in
9342 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9343 library_names_spec
='$libname.dll.a'
9344 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9345 postinstall_cmds
='base_file=`basename \${file}`~
9346 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9347 dldir=$destdir/`dirname \$dlpath`~
9348 test -d \$dldir || mkdir -p \$dldir~
9349 $install_prog $dir/$dlname \$dldir/$dlname~
9350 chmod a+x \$dldir/$dlname~
9351 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9352 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9354 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9355 dlpath=$dir/\$dldll~
9357 shlibpath_overrides_runpath
=yes
9361 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9362 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9363 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9366 # MinGW DLLs use traditional 'lib' prefix
9367 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9368 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9369 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9370 # It is most probably a Windows format PATH printed by
9371 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9372 # path with ; separators, and with drive letters. We can handle the
9373 # drive letters (cygwin fileutils understands them), so leave them,
9374 # especially as we might pass files found there to a mingw objdump,
9375 # which wouldn't understand a cygwinified path. Ahh.
9376 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9378 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9382 # pw32 DLLs use 'pw' prefix rather than 'lib'
9383 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9389 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9392 dynamic_linker
='Win32 ld.exe'
9393 # FIXME: first we should search . and the directory the executable is in
9397 darwin
* | rhapsody
*)
9398 dynamic_linker
="$host_os dyld"
9402 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9403 soname_spec
='${libname}${release}${major}$shared_ext'
9404 shlibpath_overrides_runpath
=yes
9405 shlibpath_var
=DYLD_LIBRARY_PATH
9406 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9408 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9409 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9417 soname_spec
='${libname}${release}${shared_ext}$major'
9418 shlibpath_var
=LD_LIBRARY_PATH
9425 freebsd
* | dragonfly
*)
9426 # DragonFly does not have aout. When/if they implement a new
9427 # versioning mechanism, adjust this.
9428 if test -x /usr
/bin
/objformat
; then
9429 objformat
=`/usr/bin/objformat`
9432 freebsd
[123]*) objformat
=aout
;;
9436 version_type
=freebsd-
$objformat
9437 case $version_type in
9439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9444 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9448 shlibpath_var
=LD_LIBRARY_PATH
9451 shlibpath_overrides_runpath
=yes
9453 freebsd3.
[01]* | freebsdelf3.
[01]*)
9454 shlibpath_overrides_runpath
=yes
9455 hardcode_into_libs
=yes
9457 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9458 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9459 shlibpath_overrides_runpath
=no
9460 hardcode_into_libs
=yes
9462 *) # from 4.6 on, and DragonFly
9463 shlibpath_overrides_runpath
=yes
9464 hardcode_into_libs
=yes
9473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9474 soname_spec
='${libname}${release}${shared_ext}$major'
9475 shlibpath_var
=LD_LIBRARY_PATH
9476 hardcode_into_libs
=yes
9479 hpux9
* | hpux10
* | hpux11
*)
9480 # Give a soname corresponding to the major version so that dld.sl refuses to
9481 # link against other versions.
9488 hardcode_into_libs
=yes
9489 dynamic_linker
="$host_os dld.so"
9490 shlibpath_var
=LD_LIBRARY_PATH
9491 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9493 soname_spec
='${libname}${release}${shared_ext}$major'
9494 if test "X$HPUX_IA64_MODE" = X32
; then
9495 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9497 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9499 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9503 hardcode_into_libs
=yes
9504 dynamic_linker
="$host_os dld.sl"
9505 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9506 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9508 soname_spec
='${libname}${release}${shared_ext}$major'
9509 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9510 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9514 dynamic_linker
="$host_os dld.sl"
9515 shlibpath_var
=SHLIB_PATH
9516 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9518 soname_spec
='${libname}${release}${shared_ext}$major'
9521 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9522 postinstall_cmds
='chmod 555 $lib'
9529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9530 soname_spec
='${libname}${release}${shared_ext}$major'
9531 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9532 shlibpath_var
=LD_LIBRARY_PATH
9533 shlibpath_overrides_runpath
=no
9534 hardcode_into_libs
=yes
9537 irix5
* | irix6
* | nonstopux
*)
9539 nonstopux
*) version_type
=nonstopux
;;
9541 if test "$lt_cv_prog_gnu_ld" = yes; then
9549 soname_spec
='${libname}${release}${shared_ext}$major'
9550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9552 irix5
* | nonstopux
*)
9556 case $LD in # libtool.m4 will add one of these switches to LD
9557 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9558 libsuff
= shlibsuff
= libmagic
=32-bit;;
9559 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9560 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9561 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9562 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9563 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9567 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9568 shlibpath_overrides_runpath
=no
9569 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9570 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9571 hardcode_into_libs
=yes
9574 # No shared lib support for Linux oldld, aout, or coff.
9575 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9579 # This must be Linux ELF.
9580 linux
* | k
*bsd
*-gnu)
9584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9585 soname_spec
='${libname}${release}${shared_ext}$major'
9586 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9587 shlibpath_var
=LD_LIBRARY_PATH
9588 shlibpath_overrides_runpath
=no
9589 # Some binutils ld are patched to set DT_RUNPATH
9590 save_LDFLAGS
=$LDFLAGS
9592 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9593 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9605 if ac_fn_c_try_link
"$LINENO"; then :
9606 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
9607 shlibpath_overrides_runpath
=yes
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 LDFLAGS
=$save_LDFLAGS
9615 # This implies no fast_install, which is unacceptable.
9616 # Some rework will be needed to allow for fast_install
9617 # before this can be enabled.
9618 hardcode_into_libs
=yes
9620 # find out which ABI we are using
9623 x86_64
*|s390x
*|powerpc64
*)
9624 echo '#line 9624 "configure"' > conftest.
$ac_ext
9625 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9626 (eval $ac_compile) 2>&5
9628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9629 test $ac_status = 0; }; then
9630 case `/usr/bin/file conftest.$ac_objext` in
9640 sys_lib_dlsearch_path_spec
="/lib${libsuff} /usr/lib${libsuff}"
9642 # Append ld.so.conf contents to the search path
9643 if test -f /etc
/ld.so.conf
; then
9644 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;/^$/d' | tr '\n' ' '`
9645 sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec $lt_ld_extra"
9648 # We used to test for /lib/ld.so.1 and disable shared libraries on
9649 # powerpc, because MkLinux only supported shared libraries with the
9650 # GNU dynamic linker. Since this was broken with cross compilers,
9651 # most powerpc-linux boxes support dynamic linking these days and
9652 # people can always --disable-shared, the test was removed, and we
9653 # assume the GNU/Linux dynamic linker is in use.
9654 dynamic_linker
='GNU/Linux ld.so'
9661 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9663 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9664 dynamic_linker
='NetBSD (a.out) ld.so'
9666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9667 soname_spec
='${libname}${release}${shared_ext}$major'
9668 dynamic_linker
='NetBSD ld.elf_so'
9670 shlibpath_var
=LD_LIBRARY_PATH
9671 shlibpath_overrides_runpath
=yes
9672 hardcode_into_libs
=yes
9677 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9678 shlibpath_var
=LD_LIBRARY_PATH
9679 shlibpath_overrides_runpath
=yes
9686 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9687 soname_spec
='${libname}${release}${shared_ext}$major'
9688 shlibpath_var
=LD_LIBRARY_PATH
9689 shlibpath_overrides_runpath
=no
9690 hardcode_into_libs
=yes
9691 dynamic_linker
='ldqnx.so'
9696 sys_lib_dlsearch_path_spec
="/usr/lib"
9698 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9700 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9701 *) need_version
=no
;;
9703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9704 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9705 shlibpath_var
=LD_LIBRARY_PATH
9706 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9708 openbsd2.
[89] | openbsd2.
[89].
*)
9709 shlibpath_overrides_runpath
=no
9712 shlibpath_overrides_runpath
=yes
9716 shlibpath_overrides_runpath
=yes
9721 libname_spec
='$name'
9724 library_names_spec
='$libname${shared_ext} $libname.a'
9725 dynamic_linker
='OS/2 ld.exe'
9726 shlibpath_var
=LIBPATH
9729 osf3
* | osf4
* | osf5
*)
9733 soname_spec
='${libname}${release}${shared_ext}$major'
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 shlibpath_var
=LD_LIBRARY_PATH
9736 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9737 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9748 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749 soname_spec
='${libname}${release}${shared_ext}$major'
9750 shlibpath_var
=LD_LIBRARY_PATH
9751 shlibpath_overrides_runpath
=yes
9752 hardcode_into_libs
=yes
9753 # ldd complains unless libraries are executable
9754 postinstall_cmds
='chmod +x $lib'
9759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9760 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9761 shlibpath_var
=LD_LIBRARY_PATH
9762 shlibpath_overrides_runpath
=yes
9763 if test "$with_gnu_ld" = yes; then
9771 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9772 soname_spec
='${libname}${release}${shared_ext}$major'
9773 shlibpath_var
=LD_LIBRARY_PATH
9774 case $host_vendor in
9776 shlibpath_overrides_runpath
=no
9778 runpath_var
=LD_RUN_PATH
9786 shlibpath_overrides_runpath
=no
9787 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9793 if test -d /usr
/nec
;then
9795 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9796 soname_spec
='$libname${shared_ext}.$major'
9797 shlibpath_var
=LD_LIBRARY_PATH
9801 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9802 version_type
=freebsd-elf
9805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9806 soname_spec
='${libname}${release}${shared_ext}$major'
9807 shlibpath_var
=LD_LIBRARY_PATH
9808 shlibpath_overrides_runpath
=yes
9809 hardcode_into_libs
=yes
9810 if test "$with_gnu_ld" = yes; then
9811 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9813 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9816 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9820 sys_lib_dlsearch_path_spec
='/usr/lib'
9824 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9829 shlibpath_var
=LD_LIBRARY_PATH
9830 shlibpath_overrides_runpath
=no
9831 hardcode_into_libs
=yes
9836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9837 soname_spec
='${libname}${release}${shared_ext}$major'
9838 shlibpath_var
=LD_LIBRARY_PATH
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9846 $as_echo "$dynamic_linker" >&6; }
9847 test "$dynamic_linker" = no
&& can_build_shared
=no
9849 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9850 if test "$GCC" = yes; then
9851 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9854 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9855 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9857 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9858 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9948 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9950 if test -n "$hardcode_libdir_flag_spec" ||
9951 test -n "$runpath_var" ||
9952 test "X$hardcode_automatic" = "Xyes" ; then
9954 # We can hardcode non-existent directories.
9955 if test "$hardcode_direct" != no
&&
9956 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9957 # have to relink, otherwise we might link with an installed library
9958 # when we should be linking with a yet-to-be-installed one
9959 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9960 test "$hardcode_minus_L" != no
; then
9961 # Linking always hardcodes the temporary library directory.
9962 hardcode_action
=relink
9964 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9965 hardcode_action
=immediate
9968 # We cannot hardcode anything, or else we can only hardcode existing
9970 hardcode_action
=unsupported
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9973 $as_echo "$hardcode_action" >&6; }
9975 if test "$hardcode_action" = relink ||
9976 test "$inherit_rpath" = yes; then
9977 # Fast installation is not supported
9978 enable_fast_install
=no
9979 elif test "$shlibpath_overrides_runpath" = yes ||
9980 test "$enable_shared" = no
; then
9981 # Fast installation is not necessary
9982 enable_fast_install
=needless
9990 if test "x$enable_dlopen" != xyes
; then
9991 enable_dlopen
=unknown
9992 enable_dlopen_self
=unknown
9993 enable_dlopen_self_static
=unknown
10000 lt_cv_dlopen
="load_add_on"
10002 lt_cv_dlopen_self
=yes
10005 mingw
* | pw32
* | cegcc
*)
10006 lt_cv_dlopen
="LoadLibrary"
10011 lt_cv_dlopen
="dlopen"
10016 # if libdl is installed we need to link against it
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10019 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10020 $as_echo_n "(cached) " >&6
10022 ac_check_lib_save_LIBS
=$LIBS
10024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10025 /* end confdefs.h. */
10027 /* Override any GCC internal prototype to avoid an error.
10028 Use char because int might match the return type of a GCC
10029 builtin and then its argument prototype would still apply. */
10042 if ac_fn_c_try_link
"$LINENO"; then :
10043 ac_cv_lib_dl_dlopen
=yes
10045 ac_cv_lib_dl_dlopen
=no
10047 rm -f core conftest.err conftest.
$ac_objext \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_lib_save_LIBS
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10052 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10053 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10054 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10057 lt_cv_dlopen
="dyld"
10059 lt_cv_dlopen_self
=yes
10066 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10067 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10068 lt_cv_dlopen
="shl_load"
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10071 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10072 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10073 $as_echo_n "(cached) " >&6
10075 ac_check_lib_save_LIBS
=$LIBS
10077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10078 /* end confdefs.h. */
10080 /* Override any GCC internal prototype to avoid an error.
10081 Use char because int might match the return type of a GCC
10082 builtin and then its argument prototype would still apply. */
10090 return shl_load ();
10095 if ac_fn_c_try_link
"$LINENO"; then :
10096 ac_cv_lib_dld_shl_load
=yes
10098 ac_cv_lib_dld_shl_load
=no
10100 rm -f core conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10102 LIBS
=$ac_check_lib_save_LIBS
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10105 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10106 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10107 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10109 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10110 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10111 lt_cv_dlopen
="dlopen"
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10114 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10115 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10116 $as_echo_n "(cached) " >&6
10118 ac_check_lib_save_LIBS
=$LIBS
10120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10123 /* Override any GCC internal prototype to avoid an error.
10124 Use char because int might match the return type of a GCC
10125 builtin and then its argument prototype would still apply. */
10138 if ac_fn_c_try_link
"$LINENO"; then :
10139 ac_cv_lib_dl_dlopen
=yes
10141 ac_cv_lib_dl_dlopen
=no
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_lib_save_LIBS
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10148 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10149 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10150 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10153 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10154 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10155 $as_echo_n "(cached) " >&6
10157 ac_check_lib_save_LIBS
=$LIBS
10158 LIBS
="-lsvld $LIBS"
10159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10162 /* Override any GCC internal prototype to avoid an error.
10163 Use char because int might match the return type of a GCC
10164 builtin and then its argument prototype would still apply. */
10177 if ac_fn_c_try_link
"$LINENO"; then :
10178 ac_cv_lib_svld_dlopen
=yes
10180 ac_cv_lib_svld_dlopen
=no
10182 rm -f core conftest.err conftest.
$ac_objext \
10183 conftest
$ac_exeext conftest.
$ac_ext
10184 LIBS
=$ac_check_lib_save_LIBS
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10187 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10188 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10189 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10192 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10193 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10194 $as_echo_n "(cached) " >&6
10196 ac_check_lib_save_LIBS
=$LIBS
10198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10201 /* Override any GCC internal prototype to avoid an error.
10202 Use char because int might match the return type of a GCC
10203 builtin and then its argument prototype would still apply. */
10211 return dld_link ();
10216 if ac_fn_c_try_link
"$LINENO"; then :
10217 ac_cv_lib_dld_dld_link
=yes
10219 ac_cv_lib_dld_dld_link
=no
10221 rm -f core conftest.err conftest.
$ac_objext \
10222 conftest
$ac_exeext conftest.
$ac_ext
10223 LIBS
=$ac_check_lib_save_LIBS
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10226 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10227 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10228 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10249 if test "x$lt_cv_dlopen" != xno
; then
10255 case $lt_cv_dlopen in
10257 save_CPPFLAGS
="$CPPFLAGS"
10258 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10260 save_LDFLAGS
="$LDFLAGS"
10261 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10264 LIBS
="$lt_cv_dlopen_libs $LIBS"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10267 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10268 if test "${lt_cv_dlopen_self+set}" = set; then :
10269 $as_echo_n "(cached) " >&6
10271 if test "$cross_compiling" = yes; then :
10272 lt_cv_dlopen_self
=cross
10274 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10275 lt_status
=$lt_dlunknown
10276 cat > conftest.
$ac_ext <<_LT_EOF
10277 #line 10277 "configure"
10278 #include "confdefs.h"
10287 # define LT_DLGLOBAL RTLD_GLOBAL
10290 # define LT_DLGLOBAL DL_GLOBAL
10292 # define LT_DLGLOBAL 0
10296 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10297 find out it does not work in some platform. */
10298 #ifndef LT_DLLAZY_OR_NOW
10300 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10303 # define LT_DLLAZY_OR_NOW DL_LAZY
10306 # define LT_DLLAZY_OR_NOW RTLD_NOW
10309 # define LT_DLLAZY_OR_NOW DL_NOW
10311 # define LT_DLLAZY_OR_NOW 0
10318 void fnord() { int i=42;}
10321 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10322 int status = $lt_dlunknown;
10326 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10327 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10328 /* dlclose (self); */
10336 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10337 (eval $ac_link) 2>&5
10339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10340 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10341 (.
/conftest
; exit; ) >&5 2>/dev
/null
10343 case x
$lt_status in
10344 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10345 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10346 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10349 # compilation failed
10350 lt_cv_dlopen_self
=no
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10358 $as_echo "$lt_cv_dlopen_self" >&6; }
10360 if test "x$lt_cv_dlopen_self" = xyes
; then
10361 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10363 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10364 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10365 $as_echo_n "(cached) " >&6
10367 if test "$cross_compiling" = yes; then :
10368 lt_cv_dlopen_self_static
=cross
10370 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10371 lt_status
=$lt_dlunknown
10372 cat > conftest.
$ac_ext <<_LT_EOF
10373 #line 10373 "configure"
10374 #include "confdefs.h"
10383 # define LT_DLGLOBAL RTLD_GLOBAL
10386 # define LT_DLGLOBAL DL_GLOBAL
10388 # define LT_DLGLOBAL 0
10392 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10393 find out it does not work in some platform. */
10394 #ifndef LT_DLLAZY_OR_NOW
10396 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10399 # define LT_DLLAZY_OR_NOW DL_LAZY
10402 # define LT_DLLAZY_OR_NOW RTLD_NOW
10405 # define LT_DLLAZY_OR_NOW DL_NOW
10407 # define LT_DLLAZY_OR_NOW 0
10414 void fnord() { int i=42;}
10417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10418 int status = $lt_dlunknown;
10422 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10423 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10424 /* dlclose (self); */
10432 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10433 (eval $ac_link) 2>&5
10435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10436 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10437 (.
/conftest
; exit; ) >&5 2>/dev
/null
10439 case x
$lt_status in
10440 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10441 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10442 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10445 # compilation failed
10446 lt_cv_dlopen_self_static
=no
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10454 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10457 CPPFLAGS
="$save_CPPFLAGS"
10458 LDFLAGS
="$save_LDFLAGS"
10463 case $lt_cv_dlopen_self in
10464 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10465 *) enable_dlopen_self
=unknown
;;
10468 case $lt_cv_dlopen_self_static in
10469 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10470 *) enable_dlopen_self_static
=unknown
;;
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10493 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10494 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10495 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10496 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10498 $as_echo "yes" >&6; }
10500 # FIXME - insert some real tests, host_os isn't really good enough
10503 if test -n "$STRIP" ; then
10504 striplib
="$STRIP -x"
10505 old_striplib
="$STRIP -S"
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10507 $as_echo "yes" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10510 $as_echo "no" >&6; }
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10515 $as_echo "no" >&6; }
10531 # Report which library types will actually be built
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10533 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10535 $as_echo "$can_build_shared" >&6; }
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10538 $as_echo_n "checking whether to build shared libraries... " >&6; }
10539 test "$can_build_shared" = "no" && enable_shared
=no
10541 # On AIX, shared libraries and static libraries use the same namespace, and
10542 # are all built from PIC.
10545 test "$enable_shared" = yes && enable_static
=no
10546 if test -n "$RANLIB"; then
10547 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10548 postinstall_cmds
='$RANLIB $lib'
10553 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10554 test "$enable_shared" = yes && enable_static
=no
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10559 $as_echo "$enable_shared" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10562 $as_echo_n "checking whether to build static libraries... " >&6; }
10563 # Make sure either enable_shared or enable_static is yes.
10564 test "$enable_shared" = yes || enable_static
=yes
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10566 $as_echo "$enable_static" >&6; }
10573 ac_cpp
='$CPP $CPPFLAGS'
10574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10592 ac_config_commands
="$ac_config_commands libtool"
10597 # Only expand once:
10600 AM_CPPFLAGS
="$CPPFLAGS"
10602 gp_config_msg_len
="$(expr "Compiler
" : '.*')"
10603 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
10604 gp_config_msg_lhs
="$(expr "Compiler
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
10606 gp_config_msg_lhs
="$(expr "Compiler
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
10608 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} ${CC}
10614 ac_dir
=`echo "libexif/_stdint.h"|sed 's%/[^/][^/]*$%%'`
10615 if test "$ac_dir" != "libexif/_stdint.h" && test "$ac_dir" != .
; then
10616 # The file is in a subdirectory.
10617 test ! -d "$ac_dir" && mkdir
"$ac_dir"
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in stdint.h" >&5
10621 $as_echo_n "checking for uint8_t in stdint.h... " >&6; }
10622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 #include <stdint.h>
10626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10627 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
10628 ac_cv_type_uint8_t
=yes
10630 ac_cv_type_uint8_t
=no
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
10634 $as_echo "$ac_cv_type_uint8_t" >&6; }
10635 if test $ac_cv_type_uint8_t = yes; then
10637 cat > "libexif/_stdint.h" <<EOF
10638 /* This file is generated automatically by configure */
10639 #include <stdint.h>
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in inttypes.h" >&5
10643 $as_echo_n "checking for uint8_t in inttypes.h... " >&6; }
10644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10646 #include <inttypes.h>
10648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10649 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
10650 ac_cv_type_uint8_t
=yes
10652 ac_cv_type_uint8_t
=no
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
10656 $as_echo "$ac_cv_type_uint8_t" >&6; }
10657 if test $ac_cv_type_uint8_t = yes; then
10658 cat > "libexif/_stdint.h" <<EOF
10659 /* This file is generated automatically by configure */
10660 #include <inttypes.h>
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint8_t in sys/types.h" >&5
10664 $as_echo_n "checking for uint8_t in sys/types.h... " >&6; }
10665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 #include <sys/types.h>
10669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10670 $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
10671 ac_cv_type_uint8_t
=yes
10673 ac_cv_type_uint8_t
=no
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uint8_t" >&5
10677 $as_echo "$ac_cv_type_uint8_t" >&6; }
10678 if test $ac_cv_type_uint8_t = yes; then
10679 cat > "libexif/_stdint.h" <<EOF
10680 /* This file is generated automatically by configure */
10681 #include <sys/types.h>
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int8_t in sys/types.h" >&5
10685 $as_echo_n "checking for u_int8_t in sys/types.h... " >&6; }
10686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 #include <sys/types.h>
10690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10691 $EGREP "(^|[^a-zA-Z_0-9])u_int8_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
10692 ac_cv_type_u_int8_t
=yes
10694 ac_cv_type_u_int8_t
=no
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int8_t" >&5
10698 $as_echo "$ac_cv_type_u_int8_t" >&6; }
10699 if test $ac_cv_type_u_int8_t = yes; then
10700 cat > "libexif/_stdint.h" <<EOF
10701 /* This file is generated automatically by configure */
10704 #include <sys/types.h>
10705 typedef u_int8_t uint8_t;
10706 typedef u_int16_t uint16_t;
10707 typedef u_int32_t uint32_t;
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for u_int64_t in sys/types.h" >&5
10711 $as_echo_n "checking for u_int64_t in sys/types.h... " >&6; }
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10714 #include <sys/types.h>
10716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10717 $EGREP "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then :
10718 ac_cv_type_u_int64_t
=yes
10720 ac_cv_type_u_int64_t
=no
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_u_int64_t" >&5
10724 $as_echo "$ac_cv_type_u_int64_t" >&6; }
10725 if test $ac_cv_type_u_int64_t = yes; then
10726 cat >> "libexif/_stdint.h" <<EOF
10727 typedef u_int64_t uint64_t;
10728 #endif /*!__STDINT_H*/
10731 cat >> "libexif/_stdint.h" <<EOF
10732 /* 64-bit types are not available on this system */
10733 /* typedef u_int64_t uint64_t; */
10734 #endif /*!__STDINT_H*/
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I can't find size-specific integer definitions on this system" >&5
10742 $as_echo "$as_me: WARNING: I can't find size-specific integer definitions on this system" >&2;}
10743 if test -e "libexif/_stdint.h" ; then
10744 rm -f "libexif/_stdint.h"
10758 ship_binaries
=false
10759 # Check whether --enable-ship-binaries was given.
10760 if test "${enable_ship_binaries+set}" = set; then :
10761 enableval
=$enable_ship_binaries;
10762 if test x
$enableval = xyes
; then
10768 if $ship_binaries; then
10769 SHIP_BINARIES_TRUE
=
10770 SHIP_BINARIES_FALSE
='#'
10772 SHIP_BINARIES_TRUE
='#'
10773 SHIP_BINARIES_FALSE
=
10777 gp_config_msg_len
="$(expr "Ship binaries
in tarball
" : '.*')"
10778 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
10779 gp_config_msg_lhs
="$(expr "Ship binaries
in tarball
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
10781 gp_config_msg_lhs
="$(expr "Ship binaries
in tarball
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
10783 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} $ship_binaries
10789 # we need sqrt and pow which may be in libm
10790 # We cannot use AC_CHECK_FUNC because if CFLAGS contains
10791 # -Wall -Werror here the check fails because
10792 # char *sqrt() conflicts with double sqrt(double xx)
10794 # Start by assuming -lm is needed, because it's possible that the little
10795 # test program below will be optimized to in-line floating point code that
10796 # doesn't require -lm, whereas the library itself cannot be so optimized
10797 # (this actually seems to be the case on x86 with gcc 4.2). Assuming the
10798 # reverse means that -lm could be needed but wouldn't be detected below.
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions in libm" >&5
10803 $as_echo_n "checking for math functions in libm... " >&6; }
10804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10809 double s = sqrt(0);
10810 double p = pow(s,s);
10815 if ac_fn_c_try_link
"$LINENO"; then :
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10817 $as_echo "yes" >&6; }
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10821 $as_echo "no" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math functions without libm" >&5
10824 $as_echo_n "checking for math functions without libm... " >&6; }
10825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10830 double s = sqrt(0);
10831 double p = pow(s,s);
10836 if ac_fn_c_try_link
"$LINENO"; then :
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10839 $as_echo "yes" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10844 $as_echo "no" >&6; }
10845 as_fn_error
"*** Could not find sqrt() & pow() functions" "$LINENO" 5
10848 rm -f core conftest.err conftest.
$ac_objext \
10849 conftest
$ac_exeext conftest.
$ac_ext
10852 rm -f core conftest.err conftest.
$ac_objext \
10853 conftest
$ac_exeext conftest.
$ac_ext
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build any docs" >&5
10857 $as_echo_n "checking whether to build any docs... " >&6; }
10858 # Check whether --enable-docs was given.
10859 if test "${enable_docs+set}" = set; then :
10860 enableval
=$enable_docs; case "$enableval" in
10861 yes|true|on
) gp_build_docs
="yes" ;;
10862 *) gp_build_docs
="no" ;;
10866 gp_build_docs
="yes"
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${gp_build_docs}" >&5
10870 $as_echo "${gp_build_docs}" >&6; }
10871 if test "x${gp_build_docs}" = "xyes"; then
10873 BUILD_DOCS_FALSE
='#'
10875 BUILD_DOCS_TRUE
='#'
10883 # Check whether --with-doc-dir was given.
10884 if test "${with_doc_dir+set}" = set; then :
10885 withval
=$with_doc_dir;
10889 # check for the main ("root") documentation directory
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking main docdir" >&5
10891 $as_echo_n "checking main docdir... " >&6; }
10893 if test "x${with_doc_dir}" != "x"
10894 then # docdir is given as parameter
10895 docdir
="${with_doc_dir}"
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (from parameter)" >&5
10897 $as_echo "${docdir} (from parameter)" >&6; }
10898 else # otherwise invent a docdir hopefully compatible with system policy
10899 if test -d "/usr/share/doc"
10901 maindocdir
='${prefix}/share/doc'
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (FHS style)" >&5
10903 $as_echo "${maindocdir} (FHS style)" >&6; }
10904 elif test -d "/usr/doc"
10906 maindocdir
='${prefix}/doc'
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (old style)" >&5
10908 $as_echo "${maindocdir} (old style)" >&6; }
10910 maindocdir
='${datadir}/doc'
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${maindocdir} (default value)" >&5
10912 $as_echo "${maindocdir} (default value)" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking package docdir" >&5
10915 $as_echo_n "checking package docdir... " >&6; }
10916 # check whether to include package version into documentation path
10917 # FIXME: doesn't work properly.
10918 if ls -d /usr
/{share
/,}doc
/make-0-9
* > /dev
/null
2>&1
10920 docdir
="${maindocdir}/${PACKAGE}-${VERSION}"
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (redhat style)" >&5
10922 $as_echo "${docdir} (redhat style)" >&6; }
10924 docdir
="${maindocdir}/${PACKAGE}"
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${docdir} (default style)" >&5
10926 $as_echo "${docdir} (default style)" >&6; }
10932 # Extract the first word of "dot", so it can be a program name with args.
10933 set dummy dot
; ac_word
=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10935 $as_echo_n "checking for $ac_word... " >&6; }
10936 if test "${ac_cv_path_DOT+set}" = set; then :
10937 $as_echo_n "(cached) " >&6
10941 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
10944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10945 for as_dir
in $PATH
10948 test -z "$as_dir" && as_dir
=.
10949 for ac_exec_ext
in '' $ac_executable_extensions; do
10950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10951 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
10952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10959 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
="false"
10963 DOT
=$ac_cv_path_DOT
10964 if test -n "$DOT"; then
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
10966 $as_echo "$DOT" >&6; }
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10969 $as_echo "no" >&6; }
10973 # Extract the first word of "doxygen", so it can be a program name with args.
10974 set dummy doxygen
; ac_word
=$2
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10976 $as_echo_n "checking for $ac_word... " >&6; }
10977 if test "${ac_cv_path_DOXYGEN+set}" = set; then :
10978 $as_echo_n "(cached) " >&6
10982 ac_cv_path_DOXYGEN
="$DOXYGEN" # Let the user override the test with a path.
10985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10986 for as_dir
in $PATH
10989 test -z "$as_dir" && as_dir
=.
10990 for ac_exec_ext
in '' $ac_executable_extensions; do
10991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10992 ac_cv_path_DOXYGEN
="$as_dir/$ac_word$ac_exec_ext"
10993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11000 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN
="false"
11004 DOXYGEN
=$ac_cv_path_DOXYGEN
11005 if test -n "$DOXYGEN"; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11007 $as_echo "$DOXYGEN" >&6; }
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11010 $as_echo "no" >&6; }
11014 if test "x$DOXYGEN" != "xfalse"; then
11016 HAVE_DOXYGEN_FALSE
='#'
11018 HAVE_DOXYGEN_TRUE
='#'
11019 HAVE_DOXYGEN_FALSE
=
11022 if test "x$DOT" != "xfalse"; then
11030 if test "x$DOT" != "xfalse"; then
11037 HTML_APIDOC_DIR
="${PACKAGE_TARNAME}-api.html"
11039 DOXYGEN_OUTPUT_DIR
=doxygen-output
11041 HTML_APIDOC_INTERNALS_DIR
="${PACKAGE_TARNAME}-internals.html"
11045 # Whether to enable the internal docs build.
11047 # This takes quite some time due to the generation of lots of call
11048 # graphs, so it is disabled by default.
11049 set_enable_internal_docs
=no
11050 # Check whether --enable-internal-docs was given.
11051 if test "${enable_internal_docs+set}" = set; then :
11052 enableval
=$enable_internal_docs; if test "x$enableval" = xno \
11053 ||
test "x$enableval" = xoff \
11054 ||
test "x$enableval" = xfalse
;
11056 set_enable_internal_docs
=no
11057 elif test "x$enableval" = xyes \
11058 ||
test "x$enableval" = xon \
11059 ||
test "x$enableval" = xtrue
11061 set_enable_internal_docs
=yes
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to create internal code docs" >&5
11067 $as_echo_n "checking whether to create internal code docs... " >&6; }
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${set_enable_internal_docs}" >&5
11069 $as_echo "${set_enable_internal_docs}" >&6; }
11070 if test "x${set_enable_internal_docs}" = "xyes"; then
11071 ENABLE_INTERNAL_DOCS_TRUE
=
11072 ENABLE_INTERNAL_DOCS_FALSE
='#'
11074 ENABLE_INTERNAL_DOCS_TRUE
='#'
11075 ENABLE_INTERNAL_DOCS_FALSE
=
11080 # ---------------------------------------------------------------------------
11082 # ---------------------------------------------------------------------------
11083 ALL_LINGUAS
="be cs da de en_CA en_GB es fr it ja nl pl pt pt_BR ru sk sq sr sv vi zh_CN"
11086 if test -n "$ac_aux_dir"; then
11087 case "$ac_aux_dir" in
11088 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
11089 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11092 if test -z "$MKINSTALLDIRS"; then
11093 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11099 $as_echo_n "checking whether NLS is requested... " >&6; }
11100 # Check whether --enable-nls was given.
11101 if test "${enable_nls+set}" = set; then :
11102 enableval
=$enable_nls; USE_NLS
=$enableval
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11108 $as_echo "$USE_NLS" >&6; }
11115 # Prepare PATH_SEPARATOR.
11116 # The user is always right.
11117 if test "${PATH_SEPARATOR+set}" != set; then
11118 echo "#! /bin/sh" >conf$$.sh
11119 echo "exit 0" >>conf$$.sh
11121 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11129 # Find out how to test for executable files. Don't use a zero-byte file,
11130 # as systems may use methods other than mode bits to determine executability.
11131 cat >conf$$.
file <<_ASEOF
11135 chmod +x conf$$.
file
11136 if test -x conf$$.
file >/dev
/null
2>&1; then
11137 ac_executable_p
="test -x"
11139 ac_executable_p
="test -f"
11143 # Extract the first word of "msgfmt", so it can be a program name with args.
11144 set dummy msgfmt
; ac_word
=$2
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11146 $as_echo_n "checking for $ac_word... " >&6; }
11147 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11148 $as_echo_n "(cached) " >&6
11152 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11155 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11156 for ac_dir
in $PATH; do
11158 test -z "$ac_dir" && ac_dir
=.
11159 for ac_exec_ext
in '' $ac_executable_extensions; do
11160 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11161 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
11162 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11163 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11170 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11174 MSGFMT
="$ac_cv_path_MSGFMT"
11175 if test "$MSGFMT" != ":"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11177 $as_echo "$MSGFMT" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180 $as_echo "no" >&6; }
11183 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11184 set dummy gmsgfmt
; ac_word
=$2
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11186 $as_echo_n "checking for $ac_word... " >&6; }
11187 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11188 $as_echo_n "(cached) " >&6
11192 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11196 for as_dir
in $PATH
11199 test -z "$as_dir" && as_dir
=.
11200 for ac_exec_ext
in '' $ac_executable_extensions; do
11201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11202 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11210 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11214 GMSGFMT
=$ac_cv_path_GMSGFMT
11215 if test -n "$GMSGFMT"; then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11217 $as_echo "$GMSGFMT" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11220 $as_echo "no" >&6; }
11226 # Prepare PATH_SEPARATOR.
11227 # The user is always right.
11228 if test "${PATH_SEPARATOR+set}" != set; then
11229 echo "#! /bin/sh" >conf$$.sh
11230 echo "exit 0" >>conf$$.sh
11232 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11240 # Find out how to test for executable files. Don't use a zero-byte file,
11241 # as systems may use methods other than mode bits to determine executability.
11242 cat >conf$$.
file <<_ASEOF
11246 chmod +x conf$$.
file
11247 if test -x conf$$.
file >/dev
/null
2>&1; then
11248 ac_executable_p
="test -x"
11250 ac_executable_p
="test -f"
11254 # Extract the first word of "xgettext", so it can be a program name with args.
11255 set dummy xgettext
; ac_word
=$2
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11257 $as_echo_n "checking for $ac_word... " >&6; }
11258 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11259 $as_echo_n "(cached) " >&6
11261 case "$XGETTEXT" in
11263 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11266 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11267 for ac_dir
in $PATH; do
11269 test -z "$ac_dir" && ac_dir
=.
11270 for ac_exec_ext
in '' $ac_executable_extensions; do
11271 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11272 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11273 (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
11274 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11281 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
11285 XGETTEXT
="$ac_cv_path_XGETTEXT"
11286 if test "$XGETTEXT" != ":"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11288 $as_echo "$XGETTEXT" >&6; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11297 # Prepare PATH_SEPARATOR.
11298 # The user is always right.
11299 if test "${PATH_SEPARATOR+set}" != set; then
11300 echo "#! /bin/sh" >conf$$.sh
11301 echo "exit 0" >>conf$$.sh
11303 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11311 # Find out how to test for executable files. Don't use a zero-byte file,
11312 # as systems may use methods other than mode bits to determine executability.
11313 cat >conf$$.
file <<_ASEOF
11317 chmod +x conf$$.
file
11318 if test -x conf$$.
file >/dev
/null
2>&1; then
11319 ac_executable_p
="test -x"
11321 ac_executable_p
="test -f"
11325 # Extract the first word of "msgmerge", so it can be a program name with args.
11326 set dummy msgmerge
; ac_word
=$2
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11328 $as_echo_n "checking for $ac_word... " >&6; }
11329 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11330 $as_echo_n "(cached) " >&6
11332 case "$MSGMERGE" in
11334 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
11337 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11338 for ac_dir
in $PATH; do
11340 test -z "$ac_dir" && ac_dir
=.
11341 for ac_exec_ext
in '' $ac_executable_extensions; do
11342 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11343 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
11344 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
11351 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
11355 MSGMERGE
="$ac_cv_path_MSGMERGE"
11356 if test "$MSGMERGE" != ":"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11358 $as_echo "$MSGMERGE" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11361 $as_echo "no" >&6; }
11365 if test "$GMSGFMT" != ":"; then
11366 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
11367 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11370 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11372 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11377 if test "$XGETTEXT" != ":"; then
11378 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
11379 (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
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11383 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11389 ac_config_commands
="$ac_config_commands default-1"
11393 GETTEXT_PACKAGE
="${PACKAGE}-${LIBEXIF_CURRENT_MIN}"
11394 # The gettext domain we're using
11395 AM_CPPFLAGS
="$AM_CPPFLAGS -DGETTEXT_PACKAGE=\\\"${GETTEXT_PACKAGE}\\\""
11397 sed_cmds
="s|^DOMAIN.*|DOMAIN = ${GETTEXT_PACKAGE}|"
11398 sed_cmds
="${sed_cmds};s|^COPYRIGHT_HOLDER.*|COPYRIGHT_HOLDER = Lutz Mueller and others|"
11400 if test -n "$PACKAGE_BUGREPORT"; then
11401 sed_mb
="${PACKAGE_BUGREPORT}"
11404 *** Your configure.{ac,in} is wrong.
11405 *** Either define PACKAGE_BUGREPORT (by using the 4-parameter AC INIT syntax)
11406 *** or give GP_GETTEXT_HACK the third parameter.
11411 sed_cmds
="${sed_cmds};s|^MSGID_BUGS_ADDRESS.*|MSGID_BUGS_ADDRESS = ${sed_mb}|"
11412 # Not so sure whether this hack is all *that* evil...
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po/Makevars requiring hack" >&5
11414 $as_echo_n "checking for po/Makevars requiring hack... " >&6; }
11415 if test -f "${srcdir}/po/Makevars.template"; then
11416 sed "$sed_cmds" < "${srcdir}/po/Makevars.template" > "${srcdir}/po/Makevars"
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, done." >&5
11418 $as_echo "yes, done." >&6; }
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11421 $as_echo "no" >&6; }
11426 if test "X$prefix" = "XNONE"; then
11427 acl_final_prefix
="$ac_default_prefix"
11429 acl_final_prefix
="$prefix"
11431 if test "X$exec_prefix" = "XNONE"; then
11432 acl_final_exec_prefix
='${prefix}'
11434 acl_final_exec_prefix
="$exec_prefix"
11436 acl_save_prefix
="$prefix"
11437 prefix
="$acl_final_prefix"
11438 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
11439 prefix
="$acl_save_prefix"
11442 # Check whether --with-gnu-ld was given.
11443 if test "${with_gnu_ld+set}" = set; then :
11444 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
11449 # Prepare PATH_SEPARATOR.
11450 # The user is always right.
11451 if test "${PATH_SEPARATOR+set}" != set; then
11452 echo "#! /bin/sh" >conf$$.sh
11453 echo "exit 0" >>conf$$.sh
11455 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11463 if test "$GCC" = yes; then
11464 # Check if gcc -print-prog-name=ld gives a path.
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
11466 $as_echo_n "checking for ld used by GCC... " >&6; }
11469 # gcc leaves a trailing carriage return which upsets mingw
11470 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11472 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
11475 # Accept absolute paths.
11476 [\\/]* |
[A-Za-z
]:[\\/]*)
11477 re_direlt
='/[^/][^/]*/\.\./'
11478 # Canonicalize the path of ld
11479 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
11480 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
11481 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
11483 test -z "$LD" && LD
="$ac_prog"
11486 # If it fails, then pretend we aren't using GCC.
11490 # If it is relative, then search for the first ld in PATH.
11491 with_gnu_ld
=unknown
11494 elif test "$with_gnu_ld" = yes; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11496 $as_echo_n "checking for GNU ld... " >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11499 $as_echo_n "checking for non-GNU ld... " >&6; }
11501 if test "${acl_cv_path_LD+set}" = set; then :
11502 $as_echo_n "(cached) " >&6
11504 if test -z "$LD"; then
11505 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11506 for ac_dir
in $PATH; do
11507 test -z "$ac_dir" && ac_dir
=.
11508 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
11509 acl_cv_path_LD
="$ac_dir/$ac_prog"
11510 # Check to see if the program is GNU ld. I'd rather use --version,
11511 # but apparently some GNU ld's only accept -v.
11512 # Break only if it was the GNU/non-GNU ld that we prefer.
11513 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
11514 *GNU
* |
*'with BFD'*)
11515 test "$with_gnu_ld" != no
&& break ;;
11517 test "$with_gnu_ld" != yes && break ;;
11523 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
11527 LD
="$acl_cv_path_LD"
11528 if test -n "$LD"; then
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11530 $as_echo "$LD" >&6; }
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11533 $as_echo "no" >&6; }
11535 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11537 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11538 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
11539 $as_echo_n "(cached) " >&6
11541 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11542 case `$LD -v 2>&1 </dev/null` in
11543 *GNU
* |
*'with BFD'*)
11544 acl_cv_prog_gnu_ld
=yes ;;
11546 acl_cv_prog_gnu_ld
=no
;;
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
11550 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
11551 with_gnu_ld
=$acl_cv_prog_gnu_ld
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
11556 $as_echo_n "checking for shared library run path origin... " >&6; }
11557 if test "${acl_cv_rpath+set}" = set; then :
11558 $as_echo_n "(cached) " >&6
11561 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
11562 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
11564 rm -f .
/conftest.sh
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
11569 $as_echo "$acl_cv_rpath" >&6; }
11571 libext
="$acl_cv_libext"
11572 shlibext
="$acl_cv_shlibext"
11573 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
11574 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
11575 hardcode_direct
="$acl_cv_hardcode_direct"
11576 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
11577 # Check whether --enable-rpath was given.
11578 if test "${enable_rpath+set}" = set; then :
11579 enableval
=$enable_rpath; :
11593 acl_save_prefix
="$prefix"
11594 prefix
="$acl_final_prefix"
11595 acl_save_exec_prefix
="$exec_prefix"
11596 exec_prefix
="$acl_final_exec_prefix"
11598 eval additional_includedir
=\"$includedir\"
11599 eval additional_libdir
=\"$libdir\"
11601 exec_prefix
="$acl_save_exec_prefix"
11602 prefix
="$acl_save_prefix"
11605 # Check whether --with-libiconv-prefix was given.
11606 if test "${with_libiconv_prefix+set}" = set; then :
11607 withval
=$with_libiconv_prefix;
11608 if test "X$withval" = "Xno"; then
11611 if test "X$withval" = "X"; then
11613 acl_save_prefix
="$prefix"
11614 prefix
="$acl_final_prefix"
11615 acl_save_exec_prefix
="$exec_prefix"
11616 exec_prefix
="$acl_final_exec_prefix"
11618 eval additional_includedir
=\"$includedir\"
11619 eval additional_libdir
=\"$libdir\"
11621 exec_prefix
="$acl_save_exec_prefix"
11622 prefix
="$acl_save_prefix"
11625 additional_includedir
="$withval/include"
11626 additional_libdir
="$withval/lib"
11637 names_already_handled
=
11638 names_next_round
='iconv '
11639 while test -n "$names_next_round"; do
11640 names_this_round
="$names_next_round"
11642 for name
in $names_this_round; do
11644 for n
in $names_already_handled; do
11645 if test "$n" = "$name"; then
11646 already_handled
=yes
11650 if test -z "$already_handled"; then
11651 names_already_handled
="$names_already_handled $name"
11652 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11653 eval value
=\"\
$HAVE_LIB$uppername\"
11654 if test -n "$value"; then
11655 if test "$value" = yes; then
11656 eval value
=\"\
$LIB$uppername\"
11657 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
11658 eval value
=\"\
$LTLIB$uppername\"
11659 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
11668 if test $use_additional = yes; then
11669 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
11670 found_dir
="$additional_libdir"
11671 found_so
="$additional_libdir/lib$name.$shlibext"
11672 if test -f "$additional_libdir/lib$name.la"; then
11673 found_la
="$additional_libdir/lib$name.la"
11676 if test -f "$additional_libdir/lib$name.$libext"; then
11677 found_dir
="$additional_libdir"
11678 found_a
="$additional_libdir/lib$name.$libext"
11679 if test -f "$additional_libdir/lib$name.la"; then
11680 found_la
="$additional_libdir/lib$name.la"
11685 if test "X$found_dir" = "X"; then
11686 for x
in $LDFLAGS $LTLIBICONV; do
11688 acl_save_prefix
="$prefix"
11689 prefix
="$acl_final_prefix"
11690 acl_save_exec_prefix
="$exec_prefix"
11691 exec_prefix
="$acl_final_exec_prefix"
11693 exec_prefix
="$acl_save_exec_prefix"
11694 prefix
="$acl_save_prefix"
11698 dir
=`echo "X$x" | sed -e 's/^X-L//'`
11699 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11701 found_so
="$dir/lib$name.$shlibext"
11702 if test -f "$dir/lib$name.la"; then
11703 found_la
="$dir/lib$name.la"
11706 if test -f "$dir/lib$name.$libext"; then
11708 found_a
="$dir/lib$name.$libext"
11709 if test -f "$dir/lib$name.la"; then
11710 found_la
="$dir/lib$name.la"
11716 if test "X$found_dir" != "X"; then
11721 if test "X$found_dir" != "X"; then
11722 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11723 if test "X$found_so" != "X"; then
11724 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
11725 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11728 for x
in $ltrpathdirs; do
11729 if test "X$x" = "X$found_dir"; then
11734 if test -z "$haveit"; then
11735 ltrpathdirs
="$ltrpathdirs $found_dir"
11737 if test "$hardcode_direct" = yes; then
11738 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11740 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
11741 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11743 for x
in $rpathdirs; do
11744 if test "X$x" = "X$found_dir"; then
11749 if test -z "$haveit"; then
11750 rpathdirs
="$rpathdirs $found_dir"
11754 for x
in $LDFLAGS $LIBICONV; do
11756 acl_save_prefix
="$prefix"
11757 prefix
="$acl_final_prefix"
11758 acl_save_exec_prefix
="$exec_prefix"
11759 exec_prefix
="$acl_final_exec_prefix"
11761 exec_prefix
="$acl_save_exec_prefix"
11762 prefix
="$acl_save_prefix"
11764 if test "X$x" = "X-L$found_dir"; then
11769 if test -z "$haveit"; then
11770 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11772 if test "$hardcode_minus_L" != no
; then
11773 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
11775 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
11781 if test "X$found_a" != "X"; then
11782 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
11784 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11787 additional_includedir
=
11788 case "$found_dir" in
11790 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11791 additional_includedir
="$basedir/include"
11794 if test "X$additional_includedir" != "X"; then
11795 if test "X$additional_includedir" != "X/usr/include"; then
11797 if test "X$additional_includedir" = "X/usr/local/include"; then
11798 if test -n "$GCC"; then
11800 linux
*) haveit
=yes;;
11804 if test -z "$haveit"; then
11805 for x
in $CPPFLAGS $INCICONV; do
11807 acl_save_prefix
="$prefix"
11808 prefix
="$acl_final_prefix"
11809 acl_save_exec_prefix
="$exec_prefix"
11810 exec_prefix
="$acl_final_exec_prefix"
11812 exec_prefix
="$acl_save_exec_prefix"
11813 prefix
="$acl_save_prefix"
11815 if test "X$x" = "X-I$additional_includedir"; then
11820 if test -z "$haveit"; then
11821 if test -d "$additional_includedir"; then
11822 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11828 if test -n "$found_la"; then
11829 save_libdir
="$libdir"
11830 case "$found_la" in
11831 */* |
*\\*) .
"$found_la" ;;
11832 *) .
"./$found_la" ;;
11834 libdir
="$save_libdir"
11835 for dep
in $dependency_libs; do
11838 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
11839 if test "X$additional_libdir" != "X/usr/lib"; then
11841 if test "X$additional_libdir" = "X/usr/local/lib"; then
11842 if test -n "$GCC"; then
11844 linux
*) haveit
=yes;;
11848 if test -z "$haveit"; then
11850 for x
in $LDFLAGS $LIBICONV; do
11852 acl_save_prefix
="$prefix"
11853 prefix
="$acl_final_prefix"
11854 acl_save_exec_prefix
="$exec_prefix"
11855 exec_prefix
="$acl_final_exec_prefix"
11857 exec_prefix
="$acl_save_exec_prefix"
11858 prefix
="$acl_save_prefix"
11860 if test "X$x" = "X-L$additional_libdir"; then
11865 if test -z "$haveit"; then
11866 if test -d "$additional_libdir"; then
11867 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11871 for x
in $LDFLAGS $LTLIBICONV; do
11873 acl_save_prefix
="$prefix"
11874 prefix
="$acl_final_prefix"
11875 acl_save_exec_prefix
="$exec_prefix"
11876 exec_prefix
="$acl_final_exec_prefix"
11878 exec_prefix
="$acl_save_exec_prefix"
11879 prefix
="$acl_save_prefix"
11881 if test "X$x" = "X-L$additional_libdir"; then
11886 if test -z "$haveit"; then
11887 if test -d "$additional_libdir"; then
11888 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11895 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
11896 if test "$enable_rpath" != no
; then
11898 for x
in $rpathdirs; do
11899 if test "X$x" = "X$dir"; then
11904 if test -z "$haveit"; then
11905 rpathdirs
="$rpathdirs $dir"
11908 for x
in $ltrpathdirs; do
11909 if test "X$x" = "X$dir"; then
11914 if test -z "$haveit"; then
11915 ltrpathdirs
="$ltrpathdirs $dir"
11920 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11923 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11926 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
11927 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11933 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
11934 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11940 if test "X$rpathdirs" != "X"; then
11941 if test -n "$hardcode_libdir_separator"; then
11943 for found_dir
in $rpathdirs; do
11944 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11946 acl_save_libdir
="$libdir"
11948 eval flag
=\"$hardcode_libdir_flag_spec\"
11949 libdir
="$acl_save_libdir"
11950 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
11952 for found_dir
in $rpathdirs; do
11953 acl_save_libdir
="$libdir"
11954 libdir
="$found_dir"
11955 eval flag
=\"$hardcode_libdir_flag_spec\"
11956 libdir
="$acl_save_libdir"
11957 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
11961 if test "X$ltrpathdirs" != "X"; then
11962 for found_dir
in $ltrpathdirs; do
11963 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11985 $as_echo_n "checking whether NLS is requested... " >&6; }
11986 # Check whether --enable-nls was given.
11987 if test "${enable_nls+set}" = set; then :
11988 enableval
=$enable_nls; USE_NLS
=$enableval
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11994 $as_echo "$USE_NLS" >&6; }
12003 if test "$USE_NLS" = "yes"; then
12004 gt_use_preinstalled_gnugettext
=no
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12012 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12013 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12018 #include <libintl.h>
12019 extern int _nl_msg_cat_cntr;
12020 extern int *_nl_domain_bindings;
12024 bindtextdomain ("", "");
12025 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
12030 if ac_fn_c_try_link
"$LINENO"; then :
12031 gt_cv_func_gnugettext1_libc
=yes
12033 gt_cv_func_gnugettext1_libc
=no
12035 rm -f core conftest.err conftest.
$ac_objext \
12036 conftest
$ac_exeext conftest.
$ac_ext
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libc" >&5
12039 $as_echo "$gt_cv_func_gnugettext1_libc" >&6; }
12041 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
12047 am_save_CPPFLAGS
="$CPPFLAGS"
12049 for element
in $INCICONV; do
12051 for x
in $CPPFLAGS; do
12053 acl_save_prefix
="$prefix"
12054 prefix
="$acl_final_prefix"
12055 acl_save_exec_prefix
="$exec_prefix"
12056 exec_prefix
="$acl_final_exec_prefix"
12058 exec_prefix
="$acl_save_exec_prefix"
12059 prefix
="$acl_save_prefix"
12061 if test "X$x" = "X$element"; then
12066 if test -z "$haveit"; then
12067 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12073 $as_echo_n "checking for iconv... " >&6; }
12074 if test "${am_cv_func_iconv+set}" = set; then :
12075 $as_echo_n "(cached) " >&6
12078 am_cv_func_iconv
="no, consider installing GNU libiconv"
12080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12081 /* end confdefs.h. */
12082 #include <stdlib.h>
12087 iconv_t cd = iconv_open("","");
12088 iconv(cd,NULL,NULL,NULL,NULL);
12094 if ac_fn_c_try_link
"$LINENO"; then :
12095 am_cv_func_iconv
=yes
12097 rm -f core conftest.err conftest.
$ac_objext \
12098 conftest
$ac_exeext conftest.
$ac_ext
12099 if test "$am_cv_func_iconv" != yes; then
12100 am_save_LIBS
="$LIBS"
12101 LIBS
="$LIBS $LIBICONV"
12102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12104 #include <stdlib.h>
12109 iconv_t cd = iconv_open("","");
12110 iconv(cd,NULL,NULL,NULL,NULL);
12116 if ac_fn_c_try_link
"$LINENO"; then :
12117 am_cv_lib_iconv
=yes
12118 am_cv_func_iconv
=yes
12120 rm -f core conftest.err conftest.
$ac_objext \
12121 conftest
$ac_exeext conftest.
$ac_ext
12122 LIBS
="$am_save_LIBS"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12127 $as_echo "$am_cv_func_iconv" >&6; }
12128 if test "$am_cv_func_iconv" = yes; then
12130 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12133 if test "$am_cv_lib_iconv" = yes; then
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12135 $as_echo_n "checking how to link with libiconv... " >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12137 $as_echo "$LIBICONV" >&6; }
12139 CPPFLAGS
="$am_save_CPPFLAGS"
12151 acl_save_prefix
="$prefix"
12152 prefix
="$acl_final_prefix"
12153 acl_save_exec_prefix
="$exec_prefix"
12154 exec_prefix
="$acl_final_exec_prefix"
12156 eval additional_includedir
=\"$includedir\"
12157 eval additional_libdir
=\"$libdir\"
12159 exec_prefix
="$acl_save_exec_prefix"
12160 prefix
="$acl_save_prefix"
12163 # Check whether --with-libintl-prefix was given.
12164 if test "${with_libintl_prefix+set}" = set; then :
12165 withval
=$with_libintl_prefix;
12166 if test "X$withval" = "Xno"; then
12169 if test "X$withval" = "X"; then
12171 acl_save_prefix
="$prefix"
12172 prefix
="$acl_final_prefix"
12173 acl_save_exec_prefix
="$exec_prefix"
12174 exec_prefix
="$acl_final_exec_prefix"
12176 eval additional_includedir
=\"$includedir\"
12177 eval additional_libdir
=\"$libdir\"
12179 exec_prefix
="$acl_save_exec_prefix"
12180 prefix
="$acl_save_prefix"
12183 additional_includedir
="$withval/include"
12184 additional_libdir
="$withval/lib"
12195 names_already_handled
=
12196 names_next_round
='intl '
12197 while test -n "$names_next_round"; do
12198 names_this_round
="$names_next_round"
12200 for name
in $names_this_round; do
12202 for n
in $names_already_handled; do
12203 if test "$n" = "$name"; then
12204 already_handled
=yes
12208 if test -z "$already_handled"; then
12209 names_already_handled
="$names_already_handled $name"
12210 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12211 eval value
=\"\
$HAVE_LIB$uppername\"
12212 if test -n "$value"; then
12213 if test "$value" = yes; then
12214 eval value
=\"\
$LIB$uppername\"
12215 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
12216 eval value
=\"\
$LTLIB$uppername\"
12217 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
12226 if test $use_additional = yes; then
12227 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12228 found_dir
="$additional_libdir"
12229 found_so
="$additional_libdir/lib$name.$shlibext"
12230 if test -f "$additional_libdir/lib$name.la"; then
12231 found_la
="$additional_libdir/lib$name.la"
12234 if test -f "$additional_libdir/lib$name.$libext"; then
12235 found_dir
="$additional_libdir"
12236 found_a
="$additional_libdir/lib$name.$libext"
12237 if test -f "$additional_libdir/lib$name.la"; then
12238 found_la
="$additional_libdir/lib$name.la"
12243 if test "X$found_dir" = "X"; then
12244 for x
in $LDFLAGS $LTLIBINTL; do
12246 acl_save_prefix
="$prefix"
12247 prefix
="$acl_final_prefix"
12248 acl_save_exec_prefix
="$exec_prefix"
12249 exec_prefix
="$acl_final_exec_prefix"
12251 exec_prefix
="$acl_save_exec_prefix"
12252 prefix
="$acl_save_prefix"
12256 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12257 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12259 found_so
="$dir/lib$name.$shlibext"
12260 if test -f "$dir/lib$name.la"; then
12261 found_la
="$dir/lib$name.la"
12264 if test -f "$dir/lib$name.$libext"; then
12266 found_a
="$dir/lib$name.$libext"
12267 if test -f "$dir/lib$name.la"; then
12268 found_la
="$dir/lib$name.la"
12274 if test "X$found_dir" != "X"; then
12279 if test "X$found_dir" != "X"; then
12280 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
12281 if test "X$found_so" != "X"; then
12282 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
12283 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12286 for x
in $ltrpathdirs; do
12287 if test "X$x" = "X$found_dir"; then
12292 if test -z "$haveit"; then
12293 ltrpathdirs
="$ltrpathdirs $found_dir"
12295 if test "$hardcode_direct" = yes; then
12296 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12298 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12299 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12301 for x
in $rpathdirs; do
12302 if test "X$x" = "X$found_dir"; then
12307 if test -z "$haveit"; then
12308 rpathdirs
="$rpathdirs $found_dir"
12312 for x
in $LDFLAGS $LIBINTL; do
12314 acl_save_prefix
="$prefix"
12315 prefix
="$acl_final_prefix"
12316 acl_save_exec_prefix
="$exec_prefix"
12317 exec_prefix
="$acl_final_exec_prefix"
12319 exec_prefix
="$acl_save_exec_prefix"
12320 prefix
="$acl_save_prefix"
12322 if test "X$x" = "X-L$found_dir"; then
12327 if test -z "$haveit"; then
12328 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
12330 if test "$hardcode_minus_L" != no
; then
12331 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
12333 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
12339 if test "X$found_a" != "X"; then
12340 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
12342 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
12345 additional_includedir
=
12346 case "$found_dir" in
12348 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12349 additional_includedir
="$basedir/include"
12352 if test "X$additional_includedir" != "X"; then
12353 if test "X$additional_includedir" != "X/usr/include"; then
12355 if test "X$additional_includedir" = "X/usr/local/include"; then
12356 if test -n "$GCC"; then
12358 linux
*) haveit
=yes;;
12362 if test -z "$haveit"; then
12363 for x
in $CPPFLAGS $INCINTL; do
12365 acl_save_prefix
="$prefix"
12366 prefix
="$acl_final_prefix"
12367 acl_save_exec_prefix
="$exec_prefix"
12368 exec_prefix
="$acl_final_exec_prefix"
12370 exec_prefix
="$acl_save_exec_prefix"
12371 prefix
="$acl_save_prefix"
12373 if test "X$x" = "X-I$additional_includedir"; then
12378 if test -z "$haveit"; then
12379 if test -d "$additional_includedir"; then
12380 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
12386 if test -n "$found_la"; then
12387 save_libdir
="$libdir"
12388 case "$found_la" in
12389 */* |
*\\*) .
"$found_la" ;;
12390 *) .
"./$found_la" ;;
12392 libdir
="$save_libdir"
12393 for dep
in $dependency_libs; do
12396 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12397 if test "X$additional_libdir" != "X/usr/lib"; then
12399 if test "X$additional_libdir" = "X/usr/local/lib"; then
12400 if test -n "$GCC"; then
12402 linux
*) haveit
=yes;;
12406 if test -z "$haveit"; then
12408 for x
in $LDFLAGS $LIBINTL; do
12410 acl_save_prefix
="$prefix"
12411 prefix
="$acl_final_prefix"
12412 acl_save_exec_prefix
="$exec_prefix"
12413 exec_prefix
="$acl_final_exec_prefix"
12415 exec_prefix
="$acl_save_exec_prefix"
12416 prefix
="$acl_save_prefix"
12418 if test "X$x" = "X-L$additional_libdir"; then
12423 if test -z "$haveit"; then
12424 if test -d "$additional_libdir"; then
12425 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
12429 for x
in $LDFLAGS $LTLIBINTL; do
12431 acl_save_prefix
="$prefix"
12432 prefix
="$acl_final_prefix"
12433 acl_save_exec_prefix
="$exec_prefix"
12434 exec_prefix
="$acl_final_exec_prefix"
12436 exec_prefix
="$acl_save_exec_prefix"
12437 prefix
="$acl_save_prefix"
12439 if test "X$x" = "X-L$additional_libdir"; then
12444 if test -z "$haveit"; then
12445 if test -d "$additional_libdir"; then
12446 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
12453 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12454 if test "$enable_rpath" != no
; then
12456 for x
in $rpathdirs; do
12457 if test "X$x" = "X$dir"; then
12462 if test -z "$haveit"; then
12463 rpathdirs
="$rpathdirs $dir"
12466 for x
in $ltrpathdirs; do
12467 if test "X$x" = "X$dir"; then
12472 if test -z "$haveit"; then
12473 ltrpathdirs
="$ltrpathdirs $dir"
12478 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12481 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12484 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
12485 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
12491 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
12492 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
12498 if test "X$rpathdirs" != "X"; then
12499 if test -n "$hardcode_libdir_separator"; then
12501 for found_dir
in $rpathdirs; do
12502 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12504 acl_save_libdir
="$libdir"
12506 eval flag
=\"$hardcode_libdir_flag_spec\"
12507 libdir
="$acl_save_libdir"
12508 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
12510 for found_dir
in $rpathdirs; do
12511 acl_save_libdir
="$libdir"
12512 libdir
="$found_dir"
12513 eval flag
=\"$hardcode_libdir_flag_spec\"
12514 libdir
="$acl_save_libdir"
12515 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
12519 if test "X$ltrpathdirs" != "X"; then
12520 for found_dir
in $ltrpathdirs; do
12521 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
12526 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
12527 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then :
12528 $as_echo_n "(cached) " >&6
12530 gt_save_CPPFLAGS
="$CPPFLAGS"
12531 CPPFLAGS
="$CPPFLAGS $INCINTL"
12532 gt_save_LIBS
="$LIBS"
12533 LIBS
="$LIBS $LIBINTL"
12534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12535 /* end confdefs.h. */
12536 #include <libintl.h>
12537 extern int _nl_msg_cat_cntr;
12542 const char *_nl_expand_alias ();
12546 bindtextdomain ("", "");
12547 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
12552 if ac_fn_c_try_link
"$LINENO"; then :
12553 gt_cv_func_gnugettext1_libintl
=yes
12555 gt_cv_func_gnugettext1_libintl
=no
12557 rm -f core conftest.err conftest.
$ac_objext \
12558 conftest
$ac_exeext conftest.
$ac_ext
12559 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
12560 LIBS
="$LIBS $LIBICONV"
12561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12563 #include <libintl.h>
12564 extern int _nl_msg_cat_cntr;
12569 const char *_nl_expand_alias ();
12573 bindtextdomain ("", "");
12574 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
12579 if ac_fn_c_try_link
"$LINENO"; then :
12580 LIBINTL
="$LIBINTL $LIBICONV"
12581 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
12582 gt_cv_func_gnugettext1_libintl
=yes
12585 rm -f core conftest.err conftest.
$ac_objext \
12586 conftest
$ac_exeext conftest.
$ac_ext
12588 CPPFLAGS
="$gt_save_CPPFLAGS"
12589 LIBS
="$gt_save_LIBS"
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext1_libintl" >&5
12592 $as_echo "$gt_cv_func_gnugettext1_libintl" >&6; }
12595 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
12596 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
12597 && test "$PACKAGE" != gettext-runtime \
12598 && test "$PACKAGE" != gettext-tools
; }; then
12599 gt_use_preinstalled_gnugettext
=yes
12608 if test "$gt_use_preinstalled_gnugettext" = "yes" \
12609 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
12611 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
12619 $as_echo_n "checking whether to use NLS... " >&6; }
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12621 $as_echo "$USE_NLS" >&6; }
12622 if test "$USE_NLS" = "yes"; then
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
12624 $as_echo_n "checking where the gettext function comes from... " >&6; }
12625 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12626 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
12627 gt_source
="external libintl"
12632 gt_source
="included intl directory"
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
12635 $as_echo "$gt_source" >&6; }
12638 if test "$USE_NLS" = "yes"; then
12640 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12641 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
12643 $as_echo_n "checking how to link with libintl... " >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
12645 $as_echo "$LIBINTL" >&6; }
12647 for element
in $INCINTL; do
12649 for x
in $CPPFLAGS; do
12651 acl_save_prefix
="$prefix"
12652 prefix
="$acl_final_prefix"
12653 acl_save_exec_prefix
="$exec_prefix"
12654 exec_prefix
="$acl_final_exec_prefix"
12656 exec_prefix
="$acl_save_exec_prefix"
12657 prefix
="$acl_save_prefix"
12659 if test "X$x" = "X$element"; then
12664 if test -z "$haveit"; then
12665 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12672 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12675 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
12684 INTLLIBS
="$LIBINTL"
12696 am_save_CPPFLAGS
="$CPPFLAGS"
12698 for element
in $INCICONV; do
12700 for x
in $CPPFLAGS; do
12702 acl_save_prefix
="$prefix"
12703 prefix
="$acl_final_prefix"
12704 acl_save_exec_prefix
="$exec_prefix"
12705 exec_prefix
="$acl_final_exec_prefix"
12707 exec_prefix
="$acl_save_exec_prefix"
12708 prefix
="$acl_save_prefix"
12710 if test "X$x" = "X$element"; then
12715 if test -z "$haveit"; then
12716 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12722 $as_echo_n "checking for iconv... " >&6; }
12723 if test "${am_cv_func_iconv+set}" = set; then :
12724 $as_echo_n "(cached) " >&6
12727 am_cv_func_iconv
="no, consider installing GNU libiconv"
12729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12731 #include <stdlib.h>
12736 iconv_t cd = iconv_open("","");
12737 iconv(cd,NULL,NULL,NULL,NULL);
12743 if ac_fn_c_try_link
"$LINENO"; then :
12744 am_cv_func_iconv
=yes
12746 rm -f core conftest.err conftest.
$ac_objext \
12747 conftest
$ac_exeext conftest.
$ac_ext
12748 if test "$am_cv_func_iconv" != yes; then
12749 am_save_LIBS
="$LIBS"
12750 LIBS
="$LIBS $LIBICONV"
12751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 #include <stdlib.h>
12758 iconv_t cd = iconv_open("","");
12759 iconv(cd,NULL,NULL,NULL,NULL);
12765 if ac_fn_c_try_link
"$LINENO"; then :
12766 am_cv_lib_iconv
=yes
12767 am_cv_func_iconv
=yes
12769 rm -f core conftest.err conftest.
$ac_objext \
12770 conftest
$ac_exeext conftest.
$ac_ext
12771 LIBS
="$am_save_LIBS"
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12776 $as_echo "$am_cv_func_iconv" >&6; }
12777 if test "$am_cv_func_iconv" = yes; then
12779 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12782 if test "$am_cv_lib_iconv" = yes; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12784 $as_echo_n "checking how to link with libiconv... " >&6; }
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12786 $as_echo "$LIBICONV" >&6; }
12788 CPPFLAGS
="$am_save_CPPFLAGS"
12795 if test "$am_cv_func_iconv" = yes; then
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
12797 $as_echo_n "checking for iconv declaration... " >&6; }
12798 if test "${am_cv_proto_iconv+set}" = set; then :
12799 $as_echo_n "(cached) " >&6
12802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 #include <stdlib.h>
12811 #if defined(__STDC__) || defined(__cplusplus)
12812 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12825 if ac_fn_c_try_compile
"$LINENO"; then :
12826 am_cv_proto_iconv_arg1
=""
12828 am_cv_proto_iconv_arg1
="const"
12830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12831 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);"
12834 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
12836 }$am_cv_proto_iconv" >&5
12838 }$am_cv_proto_iconv" >&6; }
12840 cat >>confdefs.h
<<_ACEOF
12841 #define ICONV_CONST $am_cv_proto_iconv_arg1
12849 if test "x${BUILD_INCLUDED_LIBINTL}" = "xyes"; then
12850 AM_CFLAGS
="${AM_CFLAGS} -I\$(top_srcdir)/intl"
12853 gp_config_msg_len
="$(expr "Use translations
" : '.*')"
12854 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
12855 gp_config_msg_lhs
="$(expr "Use translations
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
12857 gp_config_msg_lhs
="$(expr "Use translations
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
12859 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} ${USE_NLS}
12862 if test "x$USE_NLS" = "xyes" && test "${BUILD_INCLUDED_LIBINTL}"; then
12864 gp_config_msg_len
="$(expr "Use included libintl
" : '.*')"
12865 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
12866 gp_config_msg_lhs
="$(expr "Use included libintl
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
12868 gp_config_msg_lhs
="$(expr "Use included libintl
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
12870 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} ${BUILD_INCLUDED_LIBINTL}
12874 localedir
='$(datadir)/locale'
12876 AM_CPPFLAGS
="$AM_CPPFLAGS -DLOCALEDIR=\\\"${localedir}\\\""
12880 for ac_func
in localtime_r
12882 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
12883 if test "x$ac_cv_func_localtime_r" = x
""yes; then :
12884 cat >>confdefs.h
<<_ACEOF
12885 #define HAVE_LOCALTIME_R 1
12892 AM_CPPFLAGS
="$AM_CPPFLAGS -I\$(top_srcdir)"
12893 AM_CPPFLAGS
="$AM_CPPFLAGS -I\$(top_builddir)"
12894 AM_LDFLAGS
="$LDFLAGS"
12895 if test "x$GCC" = "xyes"; then
12896 AM_CFLAGS
="$AM_CFLAGS -ansi -pedantic-error"
12897 AM_CXXFLAGS
="$AM_CXXFLAGS -ansi -pedantic-error"
12898 AM_CPPFLAGS
="$AM_CPPFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes"
12899 AM_LDFLAGS
="$AM_LDFLAGS -g -Wall"
12908 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"
12910 cat >confcache
<<\_ACEOF
12911 # This file is a shell script that caches the results of configure
12912 # tests run on this system so they can be shared between configure
12913 # scripts and configure runs, see configure's option --config-cache.
12914 # It is not useful on other systems. If it contains results you don't
12915 # want to keep, you may remove or edit it.
12917 # config.status only pays attention to the cache file if you give it
12918 # the --recheck option to rerun configure.
12920 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12921 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12922 # following values.
12926 # The following way of writing the cache mishandles newlines in values,
12927 # but we know of no workaround that is simple, portable, and efficient.
12928 # So, we kill variables containing newlines.
12929 # Ultrix sh set writes to stderr and can't be redirected directly,
12930 # and sets the high bit in the cache file unless we assign to the vars.
12932 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12933 eval ac_val
=\$
$ac_var
12937 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12938 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12941 _ | IFS | as_nl
) ;; #(
12942 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12943 *) { eval $ac_var=; unset $ac_var;} ;;
12949 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12950 *${as_nl}ac_space
=\
*)
12951 # `set' does not quote correctly, so add quotes: double-quote
12952 # substitution turns \\\\ into \\, and sed turns \\ into \.
12955 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12958 # `set' quotes correctly as required by POSIX, so do not add quotes.
12959 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12968 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12970 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12972 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12973 if test -w "$cache_file"; then
12974 test "x$cache_file" != "x/dev/null" &&
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12976 $as_echo "$as_me: updating cache $cache_file" >&6;}
12977 cat confcache
>$cache_file
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12980 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12985 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12986 # Let make expand exec_prefix.
12987 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12989 DEFS
=-DHAVE_CONFIG_H
12993 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12994 # 1. Remove the extension, and $U if already installed.
12995 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12996 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12997 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12998 # will be set to the directory where LIBOBJS objects are built.
12999 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13000 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
13002 LIBOBJS
=$ac_libobjs
13004 LTLIBOBJS
=$ac_ltlibobjs
13007 if test -n "$EXEEXT"; then
13009 am__EXEEXT_FALSE
='#'
13011 am__EXEEXT_TRUE
='#'
13015 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13016 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
13017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13019 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13020 as_fn_error
"conditional \"AMDEP\" was never defined.
13021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13023 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13024 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
13025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13027 if test -z "${SHIP_BINARIES_TRUE}" && test -z "${SHIP_BINARIES_FALSE}"; then
13028 as_fn_error
"conditional \"SHIP_BINARIES\" was never defined.
13029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13031 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13032 as_fn_error
"conditional \"BUILD_DOCS\" was never defined.
13033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13035 if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
13036 as_fn_error
"conditional \"HAVE_DOXYGEN\" was never defined.
13037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13039 if test -z "${HAVE_DOT_TRUE}" && test -z "${HAVE_DOT_FALSE}"; then
13040 as_fn_error
"conditional \"HAVE_DOT\" was never defined.
13041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13043 if test -z "${ENABLE_INTERNAL_DOCS_TRUE}" && test -z "${ENABLE_INTERNAL_DOCS_FALSE}"; then
13044 as_fn_error
"conditional \"ENABLE_INTERNAL_DOCS\" was never defined.
13045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13048 : ${CONFIG_STATUS=./config.status}
13050 ac_clean_files_save
=$ac_clean_files
13051 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13053 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13055 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13057 # Generated by $as_me.
13058 # Run this file to recreate the current configuration.
13059 # Compiler output produced by configure, useful for debugging
13060 # configure, is in config.log if it exists.
13063 ac_cs_recheck=false
13066 SHELL=\${CONFIG_SHELL-$SHELL}
13069 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
13070 ## -------------------- ##
13071 ## M4sh Initialization. ##
13072 ## -------------------- ##
13074 # Be more Bourne compatible
13075 DUALCASE
=1; export DUALCASE
# for MKS sh
13076 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
13079 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13080 # is contrary to our usage. Disable this feature.
13081 alias -g '${1+"$@"}'='"$@"'
13082 setopt NO_GLOB_SUBST
13084 case `(set -o) 2>/dev/null` in #(
13096 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13097 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13098 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13099 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13100 # Prefer a ksh shell builtin over an external printf program on Solaris,
13101 # but without wasting forks for bash or zsh.
13102 if test -z "$BASH_VERSION$ZSH_VERSION" \
13103 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13104 as_echo='print
-r --'
13105 as_echo_n='print
-rn --'
13106 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13107 as_echo='printf %s
\n'
13108 as_echo_n='printf %s
'
13110 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13111 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13112 as_echo_n='/usr
/ucb
/echo -n'
13114 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13115 as_echo_n_body='eval
13119 expr "X$arg" : "X\\(.*\\)$as_nl";
13120 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13122 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13124 export as_echo_n_body
13125 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13127 export as_echo_body
13128 as_echo='sh
-c $as_echo_body as_echo
'
13131 # The user is always right.
13132 if test "${PATH_SEPARATOR+set}" != set; then
13134 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13135 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13142 # We need space, tab and new line, in precisely that order. Quoting is
13143 # there to prevent editors from complaining about space-tab.
13144 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13145 # splitting by setting IFS to empty value.)
13148 # Find who we are. Look in the path if we contain no directory separator.
13150 *[\\/]* ) as_myself=$0 ;;
13151 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13152 for as_dir in $PATH
13155 test -z "$as_dir" && as_dir=.
13156 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13162 # We did not find ourselves, most probably we were run as `sh COMMAND'
13163 # in which case we are not to be found in the path.
13164 if test "x$as_myself" = x
; then
13167 if test ! -f "$as_myself"; then
13168 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13172 # Unset variables that we do not need and which cause bugs (e.g. in
13173 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13174 # suppresses any "Segmentation fault" message there. '((' could
13175 # trigger a bug in pdksh 5.2.14.
13176 for as_var
in BASH_ENV ENV MAIL MAILPATH
13177 do eval test x\
${$as_var+set} = xset \
13178 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13191 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13194 # as_fn_error ERROR [LINENO LOG_FD]
13195 # ---------------------------------
13196 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13197 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13198 # script with status $?, using 1 if that was 0.
13201 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13203 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13204 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13206 $as_echo "$as_me: error: $1" >&2
13207 as_fn_exit
$as_status
13211 # as_fn_set_status STATUS
13212 # -----------------------
13213 # Set $? to STATUS, without forking.
13214 as_fn_set_status
()
13217 } # as_fn_set_status
13219 # as_fn_exit STATUS
13220 # -----------------
13221 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13225 as_fn_set_status
$1
13231 # Portably unset VAR.
13234 { eval $1=; unset $1;}
13236 as_unset
=as_fn_unset
13237 # as_fn_append VAR VALUE
13238 # ----------------------
13239 # Append the text in VALUE to the end of the definition contained in VAR. Take
13240 # advantage of any shell optimizations that allow amortized linear growth over
13241 # repeated appends, instead of the typical quadratic growth present in naive
13243 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13244 eval 'as_fn_append ()
13255 # as_fn_arith ARG...
13256 # ------------------
13257 # Perform arithmetic evaluation on the ARGs, and store the result in the
13258 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13259 # must be portable across $(()) and expr.
13260 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13261 eval 'as_fn_arith ()
13268 as_val
=`expr "$@" || test $? -eq 1`
13273 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13274 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13280 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13281 as_basename
=basename
13286 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13292 as_me
=`$as_basename -- "$0" ||
13293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13294 X"$0" : 'X\(//\)$' \| \
13295 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13297 sed '/^.*\/\([^/][^/]*\)\/*$/{
13311 # Avoid depending upon Character Ranges.
13312 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13313 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13314 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13315 as_cr_digits
='0123456789'
13316 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13318 ECHO_C
= ECHO_N
= ECHO_T
=
13319 case `echo -n x` in #(((((
13321 case `echo 'xy\c'` in
13322 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13324 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13331 rm -f conf$$ conf$$.exe conf$$.
file
13332 if test -d conf$$.dir
; then
13333 rm -f conf$$.dir
/conf$$.
file
13336 mkdir conf$$.dir
2>/dev
/null
13338 if (echo >conf$$.
file) 2>/dev
/null
; then
13339 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13341 # ... but there are two gotchas:
13342 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13343 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13344 # In both cases, we have to default to `cp -p'.
13345 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13347 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13355 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13356 rmdir conf$$.dir
2>/dev
/null
13361 # Create "$as_dir" as a directory, including parents if necessary.
13366 -*) as_dir
=.
/$as_dir;;
13368 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13372 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13373 *) as_qdir
=$as_dir;;
13375 as_dirs
="'$as_qdir' $as_dirs"
13376 as_dir
=`$as_dirname -- "$as_dir" ||
13377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13378 X"$as_dir" : 'X\(//\)[^/]' \| \
13379 X"$as_dir" : 'X\(//\)$' \| \
13380 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13381 $as_echo X"$as_dir" |
13382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13386 /^X\(\/\/\)[^/].*/{
13399 test -d "$as_dir" && break
13401 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13402 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13406 if mkdir
-p .
2>/dev
/null
; then
13407 as_mkdir_p
='mkdir -p "$as_dir"'
13409 test -d .
/-p && rmdir .
/-p
13413 if test -x / >/dev
/null
2>&1; then
13414 as_test_x
='test -x'
13416 if ls -dL / >/dev
/null
2>&1; then
13423 if test -d "$1"; then
13429 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13430 ???[sx]*):;;*)false;;esac;fi
13434 as_executable_p
=$as_test_x
13436 # Sed expression to map a string onto a valid CPP name.
13437 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13439 # Sed expression to map a string onto a valid variable name.
13440 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13444 ## ----------------------------------- ##
13445 ## Main body of $CONFIG_STATUS script. ##
13446 ## ----------------------------------- ##
13448 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13451 # Save the log message, to keep $0 and so on meaningful, and to
13452 # report actual input values of CONFIG_FILES etc. instead of their
13453 # values after options handling.
13455 This file was extended by EXIF library $as_me 0.6.19, which was
13456 generated by GNU Autoconf 2.64. Invocation command line was
13458 CONFIG_FILES = $CONFIG_FILES
13459 CONFIG_HEADERS = $CONFIG_HEADERS
13460 CONFIG_LINKS = $CONFIG_LINKS
13461 CONFIG_COMMANDS = $CONFIG_COMMANDS
13464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13469 case $ac_config_files in *"
13470 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13473 case $ac_config_headers in *"
13474 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13479 # Files that config.status was made for.
13480 config_files="`echo $ac_config_files`"
13481 config_headers="`echo $ac_config_headers`"
13482 config_commands="`echo $ac_config_commands`"
13486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13488 \`$as_me' instantiates files and other configuration actions
13489 from templates according to the current configuration. Unless the files
13490 and actions are specified as TAGs, all are instantiated by default.
13492 Usage: $0 [OPTION]... [TAG]...
13494 -h, --help print this help, then exit
13495 -V, --version print version number and configuration settings, then exit
13496 -q, --quiet, --silent
13497 do not print progress messages
13498 -d, --debug don't remove temporary files
13499 --recheck update $as_me by reconfiguring in the same conditions
13500 --file=FILE[:TEMPLATE]
13501 instantiate the configuration file FILE
13502 --header=FILE[:TEMPLATE]
13503 instantiate the configuration header FILE
13505 Configuration files:
13508 Configuration headers:
13511 Configuration commands:
13514 Report bugs to <libexif-devel@lists.sourceforge.net>."
13517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13519 EXIF library config.status 0.6.19
13520 configured by $0, generated by GNU Autoconf 2.64,
13521 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13523 Copyright (C) 2009 Free Software Foundation, Inc.
13524 This config.status script is free software; the Free Software Foundation
13525 gives unlimited permission to copy, distribute and modify it."
13532 test -n "\$AWK" || AWK=awk
13535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13536 # The default lists apply if the user does not specify any file.
13542 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13543 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13554 # Handling of the options.
13555 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13557 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13558 $as_echo "$ac_cs_version"; exit ;;
13559 --debug |
--debu |
--deb |
--de |
--d |
-d )
13561 --file |
--fil |
--fi |
--f )
13564 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13566 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13567 ac_need_defaults
=false
;;
13568 --header |
--heade |
--head |
--hea )
13571 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13573 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13574 ac_need_defaults
=false
;;
13576 # Conflict between --help and --header
13577 as_fn_error
"ambiguous option: \`$1'
13578 Try \`$0 --help' for more information.";;
13579 --help |
--hel |
-h )
13580 $as_echo "$ac_cs_usage"; exit ;;
13581 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13582 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13585 # This is an error.
13586 -*) as_fn_error
"unrecognized option: \`$1'
13587 Try \`$0 --help' for more information." ;;
13589 *) as_fn_append ac_config_targets
" $1"
13590 ac_need_defaults
=false
;;
13596 ac_configure_extra_args
=
13598 if $ac_cs_silent; then
13600 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13605 if \$ac_cs_recheck; then
13606 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13608 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13609 CONFIG_SHELL='$SHELL'
13610 export CONFIG_SHELL
13615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13620 ## Running $as_me. ##
13626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13630 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13633 # The HP-UX ksh and POSIX shell print the target directory to stdout
13634 # if CDPATH is set.
13635 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13637 sed_quote_subst='$sed_quote_subst'
13638 double_quote_subst='$double_quote_subst'
13639 delay_variable_subst='$delay_variable_subst'
13640 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13641 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13642 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13643 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13644 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13645 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13646 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13647 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13648 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13649 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13650 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13651 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13652 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13653 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13654 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13655 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13656 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13657 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13658 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13659 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13660 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13661 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13662 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13663 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13664 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13665 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13666 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13667 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13668 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13669 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13670 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13671 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13672 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13673 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13674 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13675 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13676 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13677 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13678 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13679 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13680 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13681 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13682 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13683 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13684 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13685 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13686 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13687 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13688 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13689 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13690 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13691 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13692 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13693 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13694 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13695 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13696 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13697 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13698 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13699 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13700 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13701 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13702 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13703 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13704 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13705 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13706 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13707 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13708 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13709 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13710 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13711 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13712 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13713 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13714 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13715 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13716 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13717 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13718 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13719 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13720 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13721 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13722 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13723 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13724 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13725 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13726 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13727 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13728 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13729 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13730 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13731 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13732 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13733 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13734 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13735 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13736 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13737 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13738 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13739 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13740 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13741 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13742 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13743 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13744 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13745 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13746 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13747 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13748 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13749 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13750 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13751 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13752 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13753 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13754 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13755 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13756 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13757 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13760 LTCFLAGS='$LTCFLAGS'
13761 compiler='$compiler_DEFAULT'
13763 # Quote evaled strings.
13775 deplibs_check_method \
13784 lt_cv_sys_global_symbol_pipe \
13785 lt_cv_sys_global_symbol_to_cdecl \
13786 lt_cv_sys_global_symbol_to_c_name_address \
13787 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13790 lt_prog_compiler_no_builtin_flag \
13791 lt_prog_compiler_wl \
13792 lt_prog_compiler_pic \
13793 lt_prog_compiler_static \
13794 lt_cv_prog_compiler_c_o \
13802 export_dynamic_flag_spec \
13803 whole_archive_flag_spec \
13804 compiler_needs_object \
13806 allow_undefined_flag \
13807 no_undefined_flag \
13808 hardcode_libdir_flag_spec \
13809 hardcode_libdir_flag_spec_ld \
13810 hardcode_libdir_separator \
13815 variables_saved_for_relink \
13817 library_names_spec \
13822 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13823 *[\\\\\\\`\\"\\\$]*)
13824 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13827 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13832 # Double-quote double-evaled strings.
13833 for var in reload_cmds \
13834 old_postinstall_cmds \
13835 old_postuninstall_cmds \
13837 extract_expsyms_cmds \
13838 old_archive_from_new_cmds \
13839 old_archive_from_expsyms_cmds \
13841 archive_expsym_cmds \
13843 module_expsym_cmds \
13844 export_symbols_cmds \
13847 postuninstall_cmds \
13849 sys_lib_search_path_spec \
13850 sys_lib_dlsearch_path_spec; do
13851 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13852 *[\\\\\\\`\\"\\\$]*)
13853 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13856 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13861 # Fix-up fallback echo if it was mangled by the above quoting rules.
13863 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13867 ac_aux_dir='$ac_aux_dir'
13868 xsi_shell='$xsi_shell'
13869 lt_shell_append='$lt_shell_append'
13871 # See if we are running on zsh, and set the options which allow our
13872 # commands through without removal of \ escapes INIT.
13873 if test -n "\${ZSH_VERSION+set}" ; then
13874 setopt NO_GLOB_SUBST
13880 TIMESTAMP='$TIMESTAMP'
13886 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
13887 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13889 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13890 # Capture the value of LINGUAS because we need it to compute CATALOGS.
13891 LINGUAS="${LINGUAS-%UNSET%}"
13896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13898 # Handling of arguments.
13899 for ac_config_target
in $ac_config_targets
13901 case $ac_config_target in
13902 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
13903 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13904 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13905 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
13906 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
13907 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13908 "libexif.spec") CONFIG_FILES
="$CONFIG_FILES libexif.spec" ;;
13909 "libexif/Makefile") CONFIG_FILES
="$CONFIG_FILES libexif/Makefile" ;;
13910 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
13911 "test/nls/Makefile") CONFIG_FILES
="$CONFIG_FILES test/nls/Makefile" ;;
13912 "m4m/Makefile") CONFIG_FILES
="$CONFIG_FILES m4m/Makefile" ;;
13913 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13914 "doc/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile" ;;
13915 "doc/Doxyfile-internals") CONFIG_FILES
="$CONFIG_FILES doc/Doxyfile-internals" ;;
13916 "libexif.pc") CONFIG_FILES
="$CONFIG_FILES libexif.pc" ;;
13917 "libexif-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES libexif-uninstalled.pc" ;;
13918 "binary/Makefile") CONFIG_FILES
="$CONFIG_FILES binary/Makefile" ;;
13919 "contrib/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/Makefile" ;;
13920 "contrib/examples/Makefile") CONFIG_FILES
="$CONFIG_FILES contrib/examples/Makefile" ;;
13922 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13927 # If the user did not use the arguments to specify the items to instantiate,
13928 # then the envvar interface is used. Set only those that are not.
13929 # We use the long form for the default assignment because of an extremely
13930 # bizarre bug on SunOS 4.1.3.
13931 if $ac_need_defaults; then
13932 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13933 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13934 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13937 # Have a temporary directory for convenience. Make it in the build tree
13938 # simply because there is no reason against having it here, and in addition,
13939 # creating and moving files from /tmp can sometimes cause problems.
13940 # Hook for its removal unless debugging.
13941 # Note that there is a small window in which the directory will not be cleaned:
13942 # after its creation but before its name has been assigned to `$tmp'.
13946 trap 'exit_status=$?
13947 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13949 trap 'as_fn_exit 1' 1 2 13 15
13951 # Create a (secure) tmp directory for tmp files.
13954 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13955 test -n "$tmp" && test -d "$tmp"
13958 tmp
=.
/conf$$
-$RANDOM
13959 (umask 077 && mkdir
"$tmp")
13960 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
13962 # Set up the scripts for CONFIG_FILES section.
13963 # No need to generate them if there are no CONFIG_FILES.
13964 # This happens for instance with `./config.status config.h'.
13965 if test -n "$CONFIG_FILES"; then
13968 ac_cr
=`echo X | tr X '\015'`
13969 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13970 # But we know of no other shell where ac_cr would be empty at this
13971 # point, so we can use a bashism as a fallback.
13972 if test "x$ac_cr" = x
; then
13973 eval ac_cr
=\$
\'\\r
\'
13975 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13976 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13979 ac_cs_awk_cr
=$ac_cr
13982 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13987 echo "cat >conf$$subs.awk <<_ACEOF" &&
13988 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13990 } >conf$$subs.sh ||
13991 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13992 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13994 for ac_last_try in false false false false false :; do
13995 . ./conf$$subs.sh ||
13996 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
13998 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13999 if test $ac_delim_n = $ac_delim_num; then
14001 elif $ac_last_try; then
14002 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14004 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14007 rm -f conf$$subs.sh
14009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14010 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14014 s/^/S["/; s
/!.
*/"]=/
14024 s/\(.\{148\}\).*/\1/
14026 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14031 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14038 s/\(.\{148\}\).*/\1/
14040 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14044 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14049 ' <conf$$subs.awk | sed '
14054 ' >>$CONFIG_STATUS || ac_write_fail=1
14055 rm -f conf$$subs.awk
14056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14058 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14059 for (key in S) S_is_set[key] = 1
14065 nfields = split(line, field, "@
")
14067 len = length(field[1])
14068 for (i = 2; i < nfields; i++) {
14070 keylen = length(key)
14071 if (S_is_set[key]) {
14073 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14074 len += length(value) + length(field[++i])
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14087 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14090 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14091 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14094 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14095 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14096 # trailing colons and then remove the whole line if VPATH becomes empty
14097 # (actually we leave an empty line to preserve line numbers).
14098 if test "x
$srcdir" = x.; then
14099 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14100 s/:*\$(srcdir):*/:/
14101 s/:*\${srcdir}:*/:/
14103 s/^\([^=]*=[ ]*\):*/\1/
14109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14110 fi # test -n "$CONFIG_FILES"
14112 # Set up the scripts for CONFIG_HEADERS section.
14113 # No need to generate them if there are no CONFIG_HEADERS.
14114 # This happens for instance with `./config.status Makefile'.
14115 if test -n "$CONFIG_HEADERS"; then
14116 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14120 # Transform confdefs.h into an awk script `defines.awk', embedded as
14121 # here-document in config.status, that substitutes the proper values into
14122 # config.h.in to produce config.h.
14124 # Create a delimiter string that does not exist in confdefs.h, to ease
14125 # handling of long lines.
14127 for ac_last_try in false false :; do
14128 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14129 if test -z "$ac_t"; then
14131 elif $ac_last_try; then
14132 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
14134 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14138 # For the awk script, D is an array of macro values keyed by name,
14139 # likewise P contains macro parameters if any. Preserve backslash
14140 # newline sequences.
14142 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14144 s/.\{148\}/&'"$ac_delim"'/g
14147 s/^[ ]*#[ ]*define[ ][ ]*/ /
14154 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14156 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14160 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14161 D["\
1"]=" \
3\\\\\\n
"\\/p
14163 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14168 s/.\{148\}/&'"$ac_delim"'/g
14173 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14176 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14178 ' <confdefs.h | sed '
14179 s/'"$ac_delim"'/"\\\
14180 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14183 for (key in D) D_is_set[key] = 1
14186 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14188 split(line, arg, " ")
14189 if (arg[1] == "#") {
14193 defundef
= substr
(arg
[1], 2)
14196 split(mac1
, mac2
, "(") #)
14198 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14199 if (D_is_set
[macro
]) {
14200 # Preserve the white space surrounding the "#".
14201 print prefix
"define", macro P
[macro
] D
[macro
]
14204 # Replace #undef with comments. This is necessary, for example,
14205 # in the case of _POSIX_SOURCE, which is predefined and required
14206 # on some systems where configure will not decide to define it.
14207 if (defundef
== "undef") {
14208 print
"/*", prefix defundef
, macro
, "*/"
14216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14217 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
14218 fi # test -n "$CONFIG_HEADERS"
14221 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14226 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14228 case $ac_mode$ac_tag in
14230 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
14231 :[FH
]-) ac_tag
=-:-;;
14232 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14249 -) ac_f
="$tmp/stdin";;
14250 *) # Look for the file first in the build tree, then in the source tree
14251 # (if the path is not absolute). The absolute path cannot be DOS-style,
14252 # because $ac_f cannot contain `:'.
14256 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14258 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
14260 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14261 as_fn_append ac_file_inputs
" '$ac_f'"
14264 # Let's still pretend it is `configure' which instantiates (i.e., don't
14265 # use $as_me), people would be surprised to read:
14266 # /* config.h. Generated by config.status. */
14267 configure_input
='Generated from '`
14268 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14270 if test x
"$ac_file" != x-
; then
14271 configure_input
="$ac_file. $configure_input"
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14273 $as_echo "$as_me: creating $ac_file" >&6;}
14275 # Neutralize special characters interpreted by sed in replacement strings.
14276 case $configure_input in #(
14277 *\
&* |
*\|
* |
*\\* )
14278 ac_sed_conf_input
=`$as_echo "$configure_input" |
14279 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14280 *) ac_sed_conf_input
=$configure_input;;
14284 *:-:* |
*:-) cat >"$tmp/stdin" \
14285 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
14290 ac_dir
=`$as_dirname -- "$ac_file" ||
14291 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14292 X"$ac_file" : 'X\(//\)[^/]' \| \
14293 X"$ac_file" : 'X\(//\)$' \| \
14294 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14295 $as_echo X"$ac_file" |
14296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14300 /^X\(\/\/\)[^/].*/{
14313 as_dir
="$ac_dir"; as_fn_mkdir_p
14317 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14319 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14320 # A ".." for each directory in $ac_dir_suffix.
14321 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14322 case $ac_top_builddir_sub in
14323 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14324 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14327 ac_abs_top_builddir
=$ac_pwd
14328 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14329 # for backward compatibility:
14330 ac_top_builddir
=$ac_top_build_prefix
14333 .
) # We are building in place.
14335 ac_top_srcdir
=$ac_top_builddir_sub
14336 ac_abs_top_srcdir
=$ac_pwd ;;
14337 [\\/]* | ?
:[\\/]* ) # Absolute name.
14338 ac_srcdir
=$srcdir$ac_dir_suffix;
14339 ac_top_srcdir
=$srcdir
14340 ac_abs_top_srcdir
=$srcdir ;;
14341 *) # Relative name.
14342 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14343 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14344 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14346 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14356 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14357 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14359 ac_MKDIR_P
=$MKDIR_P
14361 [\\/$
]* | ?
:[\\/]* ) ;;
14362 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14367 # If the template does not know about datarootdir, expand it.
14368 # FIXME: This hack should be removed a few years after 2.60.
14369 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14380 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14381 *datarootdir
*) ac_datarootdir_seen
=yes;;
14382 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14384 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14387 ac_datarootdir_hack='
14388 s&@datadir@&$datadir&g
14389 s&@docdir@&$docdir&g
14390 s&@infodir@&$infodir&g
14391 s&@localedir@&$localedir&g
14392 s&@mandir@&$mandir&g
14393 s&\\\${datarootdir}&$datarootdir&g' ;;
14397 # Neutralize VPATH when `$srcdir' = `.'.
14398 # Shell code in configure.ac might set extrasub.
14399 # FIXME: do we really want to maintain this feature?
14400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14401 ac_sed_extra="$ac_vpsub
14404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14406 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14407 s|@configure_input@|
$ac_sed_conf_input|
;t t
14408 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14409 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14410 s
&@srcdir@
&$ac_srcdir&;t t
14411 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14412 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14413 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14414 s
&@builddir@
&$ac_builddir&;t t
14415 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14416 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14417 s
&@INSTALL@
&$ac_INSTALL&;t t
14418 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14419 $ac_datarootdir_hack
14421 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14422 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14424 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14425 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14426 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14428 which seems to be undefined. Please make sure it is defined." >&5
14429 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14430 which seems to be undefined. Please make sure it is defined." >&2;}
14434 -) cat "$tmp/out" && rm -f "$tmp/out";;
14435 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14437 || as_fn_error "could not create $ac_file" "$LINENO" 5
14443 if test x"$ac_file" != x-; then
14445 $as_echo "/* $configure_input */" \
14446 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14447 } >"$tmp/config.h" \
14448 || as_fn_error "could not create $ac_file" "$LINENO" 5
14449 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14451 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14454 mv "$tmp/config.h" "$ac_file" \
14455 || as_fn_error "could not create $ac_file" "$LINENO" 5
14458 $as_echo "/* $configure_input */" \
14459 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14460 || as_fn_error "could not create -" "$LINENO" 5
14462 # Compute "$ac_file"'s index
in $config_headers.
14465 for _am_header
in $config_headers :; do
14466 case $_am_header in
14467 $_am_arg |
$_am_arg:* )
14470 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14473 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14474 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14475 X"$_am_arg" : 'X\(//\)[^/]' \| \
14476 X"$_am_arg" : 'X\(//\)$' \| \
14477 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14478 $as_echo X"$_am_arg" |
14479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14483 /^X\(\/\/\)[^/].*/{
14495 s/.*/./; q'`/stamp-h
$_am_stamp_count
14498 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14499 $as_echo "$as_me: executing $ac_file commands" >&6;}
14504 case $ac_file$ac_mode in
14505 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14506 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14507 # are listed without --file. Let's play safe and only enable the eval
14508 # if we detect the quoting.
14509 case $CONFIG_FILES in
14510 *\'*) eval set x
"$CONFIG_FILES" ;;
14511 *) set x
$CONFIG_FILES ;;
14516 # Strip MF so we end up with the name of the file.
14517 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14518 # Check whether this is an Automake generated Makefile or not.
14519 # We used to match only the files named `Makefile.in', but
14520 # some people rename them; so instead we look at the file content.
14521 # Grep'ing the first line is not enough: some people post-process
14522 # each Makefile.in and add a new line on top of each file to say so.
14523 # Grep'ing the whole file is not good either: AIX grep has a line
14524 # limit of 2048, but all sed's we know have understand at least 4000.
14525 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14526 dirpart
=`$as_dirname -- "$mf" ||
14527 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14528 X"$mf" : 'X\(//\)[^/]' \| \
14529 X"$mf" : 'X\(//\)$' \| \
14530 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14536 /^X\(\/\/\)[^/].*/{
14552 # Extract the definition of DEPDIR, am__include, and am__quote
14553 # from the Makefile without running `make'.
14554 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14555 test -z "$DEPDIR" && continue
14556 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14557 test -z "am__include" && continue
14558 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14559 # When using ansi2knr, U may be empty or an underscore; expand it
14560 U
=`sed -n 's/^U = //p' < "$mf"`
14561 # Find all dependency output files, they are included files with
14562 # $(DEPDIR) in their names. We invoke sed twice because it is the
14563 # simplest approach to changing $(DEPDIR) to its actual value in the
14565 for file in `sed -n "
14566 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14567 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14568 # Make sure the directory exists.
14569 test -f "$dirpart/$file" && continue
14570 fdir
=`$as_dirname -- "$file" ||
14571 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14572 X"$file" : 'X\(//\)[^/]' \| \
14573 X"$file" : 'X\(//\)$' \| \
14574 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14575 $as_echo X"$file" |
14576 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14580 /^X\(\/\/\)[^/].*/{
14593 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14594 # echo "creating $dirpart/$file"
14595 echo '# dummy' > "$dirpart/$file"
14602 # See if we are running on zsh, and set the options which allow our
14603 # commands through without removal of \ escapes.
14604 if test -n "${ZSH_VERSION+set}" ; then
14605 setopt NO_GLOB_SUBST
14608 cfgfile
="${ofile}T"
14609 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14612 cat <<_LT_EOF >> "$cfgfile"
14615 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14616 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14617 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14618 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14620 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14621 # 2006, 2007, 2008 Free Software Foundation, Inc.
14622 # Written by Gordon Matzigkeit, 1996
14624 # This file is part of GNU Libtool.
14626 # GNU Libtool is free software; you can redistribute it and/or
14627 # modify it under the terms of the GNU General Public License as
14628 # published by the Free Software Foundation; either version 2 of
14629 # the License, or (at your option) any later version.
14631 # As a special exception to the GNU General Public License,
14632 # if you distribute this file as part of a program or library that
14633 # is built using GNU Libtool, you may include this file under the
14634 # same distribution terms that you use for the rest of that program.
14636 # GNU Libtool is distributed in the hope that it will be useful,
14637 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14638 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14639 # GNU General Public License for more details.
14641 # You should have received a copy of the GNU General Public License
14642 # along with GNU Libtool; see the file COPYING. If not, a copy
14643 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14644 # obtained by writing to the Free Software Foundation, Inc.,
14645 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14648 # The names of the tagged configurations supported by this script.
14651 # ### BEGIN LIBTOOL CONFIG
14653 # Which release of libtool.m4 was used?
14654 macro_version=$macro_version
14655 macro_revision=$macro_revision
14657 # Whether or not to build shared libraries.
14658 build_libtool_libs=$enable_shared
14660 # Whether or not to build static libraries.
14661 build_old_libs=$enable_static
14663 # What type of objects to build.
14666 # Whether or not to optimize for fast installation.
14667 fast_install=$enable_fast_install
14670 host_alias=$host_alias
14674 # The build system.
14675 build_alias=$build_alias
14679 # A sed program that does not truncate output.
14682 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14683 Xsed="\$SED -e 1s/^X//"
14685 # A grep program that handles long lines.
14691 # A literal string matcher.
14694 # A BSD- or MS-compatible name lister.
14697 # Whether we need soft or hard links.
14700 # What is the maximum length of a command?
14701 max_cmd_len=$max_cmd_len
14703 # Object file suffix (normally "o").
14706 # Executable file suffix (normally "").
14709 # whether the shell understands "unset".
14712 # turn spaces into newlines.
14715 # turn newlines into spaces.
14718 # How to create reloadable object files.
14719 reload_flag=$lt_reload_flag
14720 reload_cmds=$lt_reload_cmds
14722 # An object symbol dumper.
14723 OBJDUMP=$lt_OBJDUMP
14725 # Method to check whether dependent libraries are shared objects.
14726 deplibs_check_method=$lt_deplibs_check_method
14728 # Command to use when deplibs_check_method == "file_magic".
14729 file_magic_cmd=$lt_file_magic_cmd
14733 AR_FLAGS=$lt_AR_FLAGS
14735 # A symbol stripping program.
14738 # Commands used to install an old-style archive.
14740 old_postinstall_cmds=$lt_old_postinstall_cmds
14741 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14746 # LTCC compiler flags.
14747 LTCFLAGS=$lt_CFLAGS
14749 # Take the output of nm and produce a listing of raw symbols and C names.
14750 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14752 # Transform the output of nm in a proper C declaration.
14753 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14755 # Transform the output of nm in a C name address pair.
14756 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14758 # Transform the output of nm in a C name address pair when lib prefix is needed.
14759 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14761 # The name of the directory that contains temporary libtool files.
14764 # Shell to use when invoking shell scripts.
14767 # An echo program that does not interpret backslashes.
14770 # Used to examine libraries when file_magic_cmd begins with "file".
14771 MAGIC_CMD=$MAGIC_CMD
14773 # Must we lock files when doing compilation?
14774 need_locks=$lt_need_locks
14776 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14777 DSYMUTIL=$lt_DSYMUTIL
14779 # Tool to change global to local symbols on Mac OS X.
14782 # Tool to manipulate fat objects and archives on Mac OS X.
14785 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14788 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14789 OTOOL64=$lt_OTOOL64
14791 # Old archive suffix (normally "a").
14794 # Shared library suffix (normally ".so").
14795 shrext_cmds=$lt_shrext_cmds
14797 # The commands to extract the exported symbol list from a shared archive.
14798 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14800 # Variables whose values should be saved in libtool wrapper scripts and
14801 # restored at link time.
14802 variables_saved_for_relink=$lt_variables_saved_for_relink
14804 # Do we need the "lib" prefix for modules?
14805 need_lib_prefix=$need_lib_prefix
14807 # Do we need a version for libraries?
14808 need_version=$need_version
14810 # Library versioning type.
14811 version_type=$version_type
14813 # Shared library runtime path variable.
14814 runpath_var=$runpath_var
14816 # Shared library path variable.
14817 shlibpath_var=$shlibpath_var
14819 # Is shlibpath searched before the hard-coded library search path?
14820 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14822 # Format of library name prefix.
14823 libname_spec=$lt_libname_spec
14825 # List of archive names. First name is the real one, the rest are links.
14826 # The last name is the one that the linker finds with -lNAME
14827 library_names_spec=$lt_library_names_spec
14829 # The coded name of the library, if different from the real name.
14830 soname_spec=$lt_soname_spec
14832 # Command to use after installation of a shared archive.
14833 postinstall_cmds=$lt_postinstall_cmds
14835 # Command to use after uninstallation of a shared archive.
14836 postuninstall_cmds=$lt_postuninstall_cmds
14838 # Commands used to finish a libtool library installation in a directory.
14839 finish_cmds=$lt_finish_cmds
14841 # As "finish_cmds", except a single script fragment to be evaled but
14843 finish_eval=$lt_finish_eval
14845 # Whether we should hardcode library paths into libraries.
14846 hardcode_into_libs=$hardcode_into_libs
14848 # Compile-time system search path for libraries.
14849 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14851 # Run-time system search path for libraries.
14852 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14854 # Whether dlopen is supported.
14855 dlopen_support=$enable_dlopen
14857 # Whether dlopen of programs is supported.
14858 dlopen_self=$enable_dlopen_self
14860 # Whether dlopen of statically linked programs is supported.
14861 dlopen_self_static=$enable_dlopen_self_static
14863 # Commands to strip libraries.
14864 old_striplib=$lt_old_striplib
14865 striplib=$lt_striplib
14868 # The linker used to build libraries.
14871 # Commands used to build an old-style archive.
14872 old_archive_cmds=$lt_old_archive_cmds
14874 # A language specific compiler.
14877 # Is the compiler the GNU compiler?
14880 # Compiler flag to turn off builtin functions.
14881 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14883 # How to pass a linker flag through the compiler.
14884 wl=$lt_lt_prog_compiler_wl
14886 # Additional compiler flags for building library objects.
14887 pic_flag=$lt_lt_prog_compiler_pic
14889 # Compiler flag to prevent dynamic linking.
14890 link_static_flag=$lt_lt_prog_compiler_static
14892 # Does compiler simultaneously support -c and -o options?
14893 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14895 # Whether or not to add -lc for building shared libraries.
14896 build_libtool_need_lc=$archive_cmds_need_lc
14898 # Whether or not to disallow shared libs when runtime libs are static.
14899 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14901 # Compiler flag to allow reflexive dlopens.
14902 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14904 # Compiler flag to generate shared objects directly from archives.
14905 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14907 # Whether the compiler copes with passing no objects directly.
14908 compiler_needs_object=$lt_compiler_needs_object
14910 # Create an old-style archive from a shared archive.
14911 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14913 # Create a temporary old-style archive to link instead of a shared archive.
14914 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14916 # Commands used to build a shared archive.
14917 archive_cmds=$lt_archive_cmds
14918 archive_expsym_cmds=$lt_archive_expsym_cmds
14920 # Commands used to build a loadable module if different from building
14921 # a shared archive.
14922 module_cmds=$lt_module_cmds
14923 module_expsym_cmds=$lt_module_expsym_cmds
14925 # Whether we are building with GNU ld or not.
14926 with_gnu_ld=$lt_with_gnu_ld
14928 # Flag that allows shared libraries with undefined symbols to be built.
14929 allow_undefined_flag=$lt_allow_undefined_flag
14931 # Flag that enforces no undefined symbols.
14932 no_undefined_flag=$lt_no_undefined_flag
14934 # Flag to hardcode \$libdir into a binary during linking.
14935 # This must work even if \$libdir does not exist
14936 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14938 # If ld is used when linking, flag to hardcode \$libdir into a binary
14939 # during linking. This must work even if \$libdir does not exist.
14940 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14942 # Whether we need a single "-rpath" flag with a separated argument.
14943 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14945 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14946 # DIR into the resulting binary.
14947 hardcode_direct=$hardcode_direct
14949 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14950 # DIR into the resulting binary and the resulting library dependency is
14951 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14952 # library is relocated.
14953 hardcode_direct_absolute=$hardcode_direct_absolute
14955 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14956 # into the resulting binary.
14957 hardcode_minus_L=$hardcode_minus_L
14959 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14960 # into the resulting binary.
14961 hardcode_shlibpath_var=$hardcode_shlibpath_var
14963 # Set to "yes" if building a shared library automatically hardcodes DIR
14964 # into the library and all subsequent libraries and executables linked
14966 hardcode_automatic=$hardcode_automatic
14968 # Set to yes if linker adds runtime paths of dependent libraries
14969 # to runtime path list.
14970 inherit_rpath=$inherit_rpath
14972 # Whether libtool must link a program against all its dependency libraries.
14973 link_all_deplibs=$link_all_deplibs
14975 # Fix the shell variable \$srcfile for the compiler.
14976 fix_srcfile_path=$lt_fix_srcfile_path
14978 # Set to "yes" if exported symbols are required.
14979 always_export_symbols=$always_export_symbols
14981 # The commands to list exported symbols.
14982 export_symbols_cmds=$lt_export_symbols_cmds
14984 # Symbols that should not be listed in the preloaded symbols.
14985 exclude_expsyms=$lt_exclude_expsyms
14987 # Symbols that must always be exported.
14988 include_expsyms=$lt_include_expsyms
14990 # Commands necessary for linking programs (against libraries) with templates.
14991 prelink_cmds=$lt_prelink_cmds
14993 # Specify filename containing input files.
14994 file_list_spec=$lt_file_list_spec
14996 # How to hardcode a shared library path into an executable.
14997 hardcode_action=$hardcode_action
14999 # ### END LIBTOOL CONFIG
15005 cat <<\_LT_EOF
>> "$cfgfile"
15006 # AIX sometimes has problems with the GCC collect2 program. For some
15007 # reason, if we set the COLLECT_NAMES environment variable, the problems
15008 # vanish in a puff of smoke.
15009 if test "X${COLLECT_NAMES+set}" != Xset
; then
15011 export COLLECT_NAMES
15018 ltmain
="$ac_aux_dir/ltmain.sh"
15021 # We use sed instead of cat because bash on DJGPP gets confused if
15022 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15023 # text mode, it properly converts lines to CR/LF. This bash problem
15024 # is reportedly fixed, but why not run on old versions too?
15025 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15026 ||
(rm -f "$cfgfile"; exit 1)
15030 cat << \_LT_EOF
>> "$cfgfile"
15032 # func_dirname file append nondir_replacement
15033 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15034 # otherwise set result to NONDIR_REPLACEMENT.
15038 */*) func_dirname_result
="${1%/*}${2}" ;;
15039 * ) func_dirname_result
="${3}" ;;
15043 # func_basename file
15046 func_basename_result
="${1##*/}"
15049 # func_dirname_and_basename file append nondir_replacement
15050 # perform func_basename and func_dirname in a single function
15052 # dirname: Compute the dirname of FILE. If nonempty,
15053 # add APPEND to the result, otherwise set result
15054 # to NONDIR_REPLACEMENT.
15055 # value returned in "$func_dirname_result"
15056 # basename: Compute filename of FILE.
15057 # value retuned in "$func_basename_result"
15058 # Implementation must be kept synchronized with func_dirname
15059 # and func_basename. For efficiency, we do not delegate to
15060 # those functions but instead duplicate the functionality here.
15061 func_dirname_and_basename
()
15064 */*) func_dirname_result
="${1%/*}${2}" ;;
15065 * ) func_dirname_result
="${3}" ;;
15067 func_basename_result
="${1##*/}"
15070 # func_stripname prefix suffix name
15071 # strip PREFIX and SUFFIX off of NAME.
15072 # PREFIX and SUFFIX must not contain globbing or regex special
15073 # characters, hashes, percent signs, but SUFFIX may contain a leading
15074 # dot (in which case that matches only a dot).
15077 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15078 # positional parameters, so assign one to ordinary parameter first.
15079 func_stripname_result
=${3}
15080 func_stripname_result
=${func_stripname_result#"${1}"}
15081 func_stripname_result
=${func_stripname_result%"${2}"}
15087 func_opt_split_opt
=${1%%=*}
15088 func_opt_split_arg
=${1#*=}
15095 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15096 *) func_lo2o_result
=${1} ;;
15100 # func_xform libobj-or-source
15103 func_xform_result
=${1%.*}.lo
15106 # func_arith arithmetic-term...
15109 func_arith_result
=$
(( $
* ))
15113 # STRING may not start with a hyphen.
15116 func_len_result
=${#1}
15121 *) # Bourne compatible functions.
15122 cat << \_LT_EOF
>> "$cfgfile"
15124 # func_dirname file append nondir_replacement
15125 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15126 # otherwise set result to NONDIR_REPLACEMENT.
15129 # Extract subdirectory from the argument.
15130 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15131 if test "X$func_dirname_result" = "X${1}"; then
15132 func_dirname_result
="${3}"
15134 func_dirname_result
="$func_dirname_result${2}"
15138 # func_basename file
15141 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15145 # func_stripname prefix suffix name
15146 # strip PREFIX and SUFFIX off of NAME.
15147 # PREFIX and SUFFIX must not contain globbing or regex special
15148 # characters, hashes, percent signs, but SUFFIX may contain a leading
15149 # dot (in which case that matches only a dot).
15150 # func_strip_suffix prefix name
15154 .
*) func_stripname_result
=`$ECHO "X${3}" \
15155 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15156 *) func_stripname_result
=`$ECHO "X${3}" \
15157 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15162 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15163 my_sed_long_arg
='1s/^-[^=]*=//'
15168 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15169 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15175 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15178 # func_xform libobj-or-source
15181 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15184 # func_arith arithmetic-term...
15187 func_arith_result
=`expr "$@"`
15191 # STRING may not start with a hyphen.
15194 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15200 case $lt_shell_append in
15202 cat << \_LT_EOF
>> "$cfgfile"
15204 # func_append var value
15205 # Append VALUE to the end of shell variable VAR.
15213 cat << \_LT_EOF
>> "$cfgfile"
15215 # func_append var value
15216 # Append VALUE to the end of shell variable VAR.
15227 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15228 ||
(rm -f "$cfgfile"; exit 1)
15230 mv -f "$cfgfile" "$ofile" ||
15231 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15236 for ac_file
in $CONFIG_FILES; do
15237 # Support "outfile[:infile[:infile...]]"
15239 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15241 # PO directories have a Makefile.in generated from Makefile.in.in.
15242 case "$ac_file" in */Makefile.
in)
15243 # Adjust a relative srcdir.
15244 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
15245 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
15246 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
15247 # In autoconf-2.13 it is called $ac_given_srcdir.
15248 # In autoconf-2.50 it is called $srcdir.
15249 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
15250 case "$ac_given_srcdir" in
15251 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
15252 /*) top_srcdir
="$ac_given_srcdir" ;;
15253 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15255 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
15256 rm -f "$ac_dir/POTFILES"
15257 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
15258 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
15259 POMAKEFILEDEPS
="POTFILES.in"
15260 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
15261 # on $ac_dir but don't depend on user-specified configuration
15263 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
15264 # The LINGUAS file contains the set of available languages.
15265 if test -n "$OBSOLETE_ALL_LINGUAS"; then
15266 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
15268 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
15269 # Hide the ALL_LINGUAS assigment from automake.
15270 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
15271 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
15273 # The set of available languages was given in configure.in.
15274 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
15277 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
15278 # Compute UPDATEPOFILES
15279 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
15280 # Compute DUMMYPOFILES
15281 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
15283 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
15284 case "$ac_given_srcdir" in
15286 *) srcdirpre
='$(srcdir)/' ;;
15292 for lang
in $ALL_LINGUAS; do
15293 POFILES
="$POFILES $srcdirpre$lang.po"
15294 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
15295 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
15296 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
15298 # CATALOGS depends on both $ac_dir and the user's LINGUAS
15299 # environment variable.
15301 if test -n "$ALL_LINGUAS"; then
15302 for presentlang
in $ALL_LINGUAS; do
15304 if test "%UNSET%" != "$LINGUAS"; then
15305 desiredlanguages
="$LINGUAS"
15307 desiredlanguages
="$ALL_LINGUAS"
15309 for desiredlang
in $desiredlanguages; do
15310 # Use the presentlang catalog if desiredlang is
15311 # a. equal to presentlang, or
15312 # b. a variant of presentlang (because in this case,
15313 # presentlang can be used as a fallback for messages
15314 # which are not translated in the desiredlang catalog).
15315 case "$desiredlang" in
15316 "$presentlang"*) useit
=yes;;
15319 if test $useit = yes; then
15320 INST_LINGUAS
="$INST_LINGUAS $presentlang"
15325 if test -n "$INST_LINGUAS"; then
15326 for lang
in $INST_LINGUAS; do
15327 CATALOGS
="$CATALOGS $lang.gmo"
15330 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
15331 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"
15332 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
15333 if test -f "$f"; then
15335 *.orig |
*.bak |
*~
) ;;
15336 *) cat "$f" >> "$ac_dir/Makefile" ;;
15351 ac_clean_files
=$ac_clean_files_save
15353 test $ac_write_fail = 0 ||
15354 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15357 # configure is writing to config.log, and then calls config.status.
15358 # config.status does its own redirection, appending to config.log.
15359 # Unfortunately, on DOS this fails, as config.log is still kept open
15360 # by configure, so config.status won't be able to write to it; its
15361 # output is simply discarded. So we exec the FD to /dev/null,
15362 # effectively closing config.log, so it can be properly (re)opened and
15363 # appended to by config.status. When coming back to configure, we
15364 # need to make the FD available again.
15365 if test "$no_create" != yes; then
15367 ac_config_status_args
=
15368 test "$silent" = yes &&
15369 ac_config_status_args
="$ac_config_status_args --quiet"
15371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15374 # would make configure fail if this is the last instruction.
15375 $ac_cs_success || as_fn_exit $?
15377 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15379 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15383 # Message about configured subprojects
15384 if test "x$subdirs" != "x"; then
15386 gp_config_msg
="${gp_config_msg}
15389 for sd
in $subdirs; do
15390 ssd
="$(basename "$sd")"
15391 if test "x$_subdirs" = "x"; then
15394 _subdirs
="$_subdirs $ssd"
15398 gp_config_msg_len
="$(expr "Subprojects
" : '.*')"
15399 if test "$gp_config_msg_len" -ge "$gp_config_len"; then
15400 gp_config_msg_lhs
="$(expr "Subprojects
" : "\
(.\
{0,${gp_config_len3}\
}\
)")..:"
15402 gp_config_msg_lhs
="$(expr "Subprojects
:${gp_config_empty}" : "\(.\{0,${gp_config_len}\}\
)")"
15404 gp_config_msg
="${gp_config_msg} ${gp_config_msg_lhs} ${_subdirs}
15408 echo "${gp_config_msg}
15409 You may run \"make\" and \"make install\" now."